*{box-sizing:border-box}body{margin:0;background:#eef3f8;color:#101827;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}select,input{width:100%;border:1px solid #dde5ef;border-radius:16px;padding:13px 14px;background:#fff;color:#172033;font-weight:800}label{display:block;margin:14px 0 7px;color:#697586;font-size:13px;font-weight:900}.app{max-width:980px;margin:0 auto;padding:22px}.hero{background:linear-gradient(135deg,#0f766e,#0d9488);color:#fff;border-radius:32px;padding:28px;box-shadow:0 22px 55px #0f766e47}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:1000}.brand span{width:42px;height:42px;border-radius:16px;background:#ffffff2e;display:grid;place-items:center}.heroText h1{font-size:42px;line-height:1.02;margin:28px 0 12px;letter-spacing:-1.6px}.heroText p{max-width:680px;font-size:17px;line-height:1.5;opacity:.94}.heroBtn,.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0f766e;color:#fff;border-radius:18px;padding:14px 18px;font-weight:1000;box-shadow:0 12px 24px #0f766e40}.heroBtn{background:#fff;color:#0f766e;margin-top:12px}.privacyNote{display:block;margin-top:16px;opacity:.86;font-weight:800}.content{display:grid;gap:18px;margin-top:18px}.panel{background:#fff;border:1px solid #dde5ef;border-radius:28px;padding:22px;box-shadow:0 12px 40px #0f172a0f}.panel h2{margin:0 0 12px;display:flex;align-items:center;gap:9px;letter-spacing:-.4px}.searchPanel{display:block}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary{margin-top:16px}.center{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.resultHero{border:2px solid #b7efe5}.resultTop{display:flex;align-items:center;justify-content:space-between}.badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#ecfdf5;color:#0f766e;padding:8px 12px;font-weight:1000}.resultTop b{font-size:36px;color:#0f766e}.resultHero h2{font-size:30px;margin:14px 0 8px}.reason{color:#475569;font-size:16px;line-height:1.55}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.metrics div{background:#f8fafc;border:1px solid #e5edf5;border-radius:20px;padding:14px}.metrics span{display:block;color:#64748b;font-size:12px;font-weight:900;margin:8px 0 4px}.metrics b{font-size:18px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.columns h3{display:flex;align-items:center;gap:8px;margin:0 0 10px}.line{border-radius:14px;padding:10px 12px;margin:8px 0;background:#f8fafc;color:#334155;font-weight:800}.line.good{background:#ecfdf5;color:#166534}.line.warn{background:#fffbeb;color:#92400e}.rankList{display:grid;gap:10px}.rank{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;border:1px solid #e5edf5;background:#f8fafc;border-radius:18px;padding:12px}.pos{width:36px;height:36px;border-radius:14px;background:#0f766e;color:#fff;display:grid;place-items:center;font-weight:1000}.rank b{display:block}.rank small{display:block;color:#64748b;font-weight:800;margin-top:3px}.rank strong{color:#0f766e;font-size:20px}footer{text-align:center;color:#64748b;font-size:12px;line-height:1.5;margin:22px 0}.adminWrap{min-height:100vh;display:grid;place-items:center;padding:22px}.loginBox{width:min(420px,100%);background:#fff;border:1px solid #dde5ef;border-radius:28px;padding:24px;box-shadow:0 16px 45px #0f172a14}.adminBrand span{background:#ecfdf5;color:#0f766e}.loginBox h1{margin:22px 0 8px}.loginBox p{color:#64748b}.loginBox input{margin-top:14px}.adminPage{min-height:100vh;display:grid;grid-template-columns:260px 1fr;background:#eef3f8}aside{background:#0f172a;color:#fff;padding:18px;display:flex;flex-direction:column;gap:10px}aside .brand{margin-bottom:16px}aside button{display:flex;align-items:center;gap:8px;text-align:left;background:#ffffff14;color:#fff;border-radius:14px;padding:12px;font-weight:900}aside button.sel{background:#0f766e}.adminPage main{padding:22px}.adminTop{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px}.adminTop h1{margin:0}.adminTop p{margin:6px 0 0;color:#64748b}.csvEditor{width:100%;min-height:70vh;border:1px solid #dde5ef;border-radius:22px;background:#fff;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.45}.msg{font-weight:900;color:#0f766e}.msg.error{color:#b91c1c}@media (max-width:720px){.app{padding:14px}.hero{border-radius:24px;padding:22px}.heroText h1{font-size:31px}.grid2,.metrics,.columns,.adminPage{grid-template-columns:1fr}aside{position:static}.adminTop{display:block}.adminTop .primary{width:100%}}.topNav{display:flex;align-items:center;justify-content:space-between;gap:14px}.navActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.langSwitch{display:flex;gap:4px;background:#ffffff29;padding:4px;border-radius:999px}.langSwitch button{background:transparent;color:#fff;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:1000}.langSwitch button.active{background:#fff;color:#0f766e}.supportBtn{display:inline-flex;align-items:center;gap:7px;background:#ffffff2e;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:10px 13px;font-weight:1000}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a9e;display:grid;place-items:center;padding:18px;z-index:50}.modalCard{width:min(430px,100%);background:#fff;border-radius:28px;padding:24px;position:relative;box-shadow:0 25px 80px #00000047}.modalClose{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:14px;background:#f1f5f9;color:#0f172a;display:grid;place-items:center}.modalIcon{width:54px;height:54px;border-radius:20px;background:#ecfdf5;color:#0f766e;display:grid;place-items:center;margin-bottom:14px}.modalCard h2{margin:0 0 8px;font-size:26px}.modalCard p{color:#64748b;line-height:1.5}.pixBox{border:1px solid #dbe6ef;background:#f8fafc;border-radius:18px;padding:14px;margin:16px 0}.pixBox span{display:block;color:#64748b;font-size:12px;font-weight:1000;margin-bottom:6px}.pixBox b{display:block;word-break:break-word;color:#0f172a}.full{width:100%}@media (max-width:720px){.topNav{align-items:flex-start;flex-direction:column}.navActions{width:100%;justify-content:flex-start}.supportBtn{padding:9px 11px}.langSwitch button{padding:8px 9px}}.editorWrap{display:grid;gap:14px}.editorHint{background:#fff;border:1px solid #dbe6ef;border-radius:18px;padding:14px;display:grid;gap:4px;color:#334155}.editorHint span{color:#64748b;font-weight:800;font-size:13px}.editorToolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border:1px solid #dbe6ef;border-radius:20px;padding:14px}.editorToolbar b{display:block;color:#0f172a}.editorToolbar span{display:block;color:#64748b;font-size:13px;font-weight:800;margin-top:3px}.toolbarActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mini{display:inline-flex;align-items:center;gap:6px;background:#eef3f8;color:#334155;border-radius:13px;padding:10px 12px;font-weight:1000}.mini.active{background:#0f766e;color:#fff}.mini.good{background:#ecfdf5;color:#0f766e}.tableEditor{overflow:auto;background:#fff;border:1px solid #dbe6ef;border-radius:22px;max-height:72vh}.tableEditor table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.tableEditor th{position:sticky;top:0;background:#f8fafc;z-index:2;color:#334155;font-size:12px;text-align:left;border-bottom:1px solid #dbe6ef;padding:10px;white-space:nowrap}.tableEditor td{border-bottom:1px solid #edf2f7;border-right:1px solid #edf2f7;padding:8px;vertical-align:middle}.tableEditor input{min-width:150px;border:1px solid #e3ebf3;border-radius:12px;padding:10px 11px;font-size:13px;font-weight:800;background:#fff}.tableEditor .rowActions{position:sticky;left:0;z-index:3;background:#f8fafc;min-width:72px;text-align:center}.tableEditor td.rowActions{background:#fff;z-index:1}.thContent{display:flex;align-items:center;justify-content:space-between;gap:8px}.thContent button,.deleteRow{width:30px;height:30px;border-radius:10px;background:#eef3f8;color:#64748b;display:inline-grid;place-items:center}.deleteRow{background:#fef2f2;color:#b91c1c}.emptyTable{text-align:center;color:#64748b;font-weight:900;padding:24px!important}@media (max-width:720px){.editorToolbar{display:block}.toolbarActions{justify-content:flex-start;margin-top:10px}.tableEditor{max-height:65vh}.tableEditor input{min-width:140px}}.subMenu{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.subMenu button{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:10px 13px;background:#ffffff29;color:#fff;font-weight:1000;border:1px solid rgba(255,255,255,.22)}.subMenu button.active{background:#fff;color:#0f766e}@media (max-width:720px){.menuGrid{grid-template-columns:1fr}.subMenu button{font-size:13px;padding:9px 11px}}.publicSubmenus{max-width:980px;margin:16px auto 0;padding:0 22px;display:flex;gap:10px;flex-wrap:wrap}.publicSubmenus button{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:12px 15px;background:#fff;color:#334155;border:1px solid #dbe6ef;font-weight:1000;box-shadow:0 8px 22px #0f172a0d}.publicSubmenus button.active{background:#0f766e;color:#fff;border-color:#0f766e}.menuPanel h2{margin-bottom:16px}.menuGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.menuCard{background:#f8fafc;border:1px solid #dbe6ef;border-radius:22px;padding:16px}.menuCard.wide{grid-column:1/-1}.menuCard h3{display:flex;align-items:center;gap:8px;margin:0 0 12px}.menuCard p,.menuLead{color:#64748b;font-weight:800;line-height:1.5}.choiceRow{display:flex;gap:10px;flex-wrap:wrap}.choice{display:inline-flex;align-items:center;gap:7px;border-radius:14px;padding:11px 13px;background:#eef3f8;color:#334155;font-weight:1000}.choice.active{background:#0f766e;color:#fff}.featureList{display:grid;gap:10px;margin-top:16px}.featureList p{display:flex;align-items:flex-start;gap:9px;margin:0;background:#f8fafc;border:1px solid #dbe6ef;border-radius:16px;padding:13px;font-weight:900;color:#334155}.darkApp{background:#0f172a;color:#e5eef7}.darkApp .panel,.darkApp .menuCard,.darkApp .featureList p,.darkApp .editorToolbar,.darkApp .editorHint{background:#111c2f;border-color:#24334a;color:#e5eef7}.darkApp .panel p,.darkApp .menuCard p,.darkApp .menuLead,.darkApp .rank small,.darkApp label{color:#aab8cb}.darkApp input,.darkApp select{background:#0f172a;border-color:#2a3a52;color:#e5eef7}.darkApp .rank,.darkApp .metrics div,.darkApp .line{background:#0f172a;border-color:#26364f;color:#e5eef7}.darkApp footer{color:#aab8cb}@media (max-width:720px){.publicSubmenus{padding:0 14px}.publicSubmenus button{font-size:13px;padding:10px 12px}.menuGrid{grid-template-columns:1fr}}
