@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-ext-wght-normal.1zrieox9119mb.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-wght-normal.2whpih27xg_2r.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-ext-wght-normal.1xlj4-0oa5zql.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-wght-normal.1fxkn-ggzj93z.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-vietnamese-wght-normal.1ahvy37o8m5gt.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-ext-wght-normal.2ktx6yqc-sbf1.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-wght-normal.0rpdhg_4ubdtf.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--background:#f6f7f9;--foreground:#101828;--muted:#475467;--accent:#1d4ed8;--surface:#fff;--border:#e4e7ec;--border-strong:#98a2b3;--danger:#b42318}*{box-sizing:border-box}html,body{max-width:100vw;margin:0;overflow-x:hidden}body{min-height:100vh;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;font-family:Inter Variable,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:var(--accent)}button,input{font:inherit}.card-page{place-items:center;min-height:100vh;padding:24px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:100%;max-width:400px;padding:32px}.card h1{margin:0 0 8px;font-size:24px}.card-lead{color:var(--muted);margin:0 0 24px;line-height:1.5}.form{flex-direction:column;gap:8px;display:flex}.form label{font-size:14px;font-weight:600}.form input{border:1px solid var(--border-strong);background:var(--surface);color:var(--foreground);border-radius:8px;padding:10px 12px}.form input:focus-visible,.form button:focus-visible,.link-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.form button[type=submit]{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;margin-top:8px;padding:10px 12px;font-weight:600}.form button[type=submit]:disabled{opacity:.6;cursor:default}.form-note{color:var(--muted);margin:0 0 8px;line-height:1.5}.form-error{color:var(--danger);margin:0 0 8px;font-size:14px;line-height:1.4}.link-button{color:var(--accent);cursor:pointer;text-align:left;background:0 0;border:0;margin-top:12px;padding:0;font-size:14px}.loading{color:var(--muted);margin:0;padding:40px}.portal{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;padding:20px 16px;display:flex}.sidebar-brand{font-size:18px;font-weight:700}.sidebar-agency{color:var(--muted);margin:2px 0 20px;font-size:14px}.sidebar ul{margin:0;padding:0;list-style:none}.nav-item{color:var(--muted);border-radius:8px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.nav-link{color:var(--foreground);text-decoration:none}.nav-link:hover,.nav-link[aria-current=page]{background:var(--background)}.nav-link[aria-current=page]{font-weight:600}.nav-soon{background:var(--background);border-radius:999px;padding:2px 6px;font-size:11px}.sidebar-user{border-top:1px solid var(--border);margin-top:auto;padding-top:16px;font-size:14px}.sidebar-email{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.sidebar-role{color:var(--muted)}.portal-main{min-width:0;padding:40px}.page{max-width:720px}.page h1{margin:0 0 8px;font-size:28px}.page-lead{color:var(--muted);margin:0 0 24px}.section-list{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:0;padding:0;list-style:none}.section-list li{border-bottom:1px solid var(--border);gap:16px;padding:14px 16px;display:flex}.section-list li:last-child{border-bottom:0}.section-list strong{flex:0 0 96px}.section-list span{color:var(--muted)}.page-wide{max-width:1040px}.page h2{margin:32px 0 12px;font-size:18px}.hint{color:var(--muted);margin:0;font-size:14px}.price-list .hint+.hint{margin-top:4px}.price-list h3{margin:20px 0 8px;font-size:14px;font-weight:600}.price-list .table-wrap+.hint{margin-top:12px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px}.upload{flex-direction:column;gap:8px;display:flex}.upload label{font-size:14px;font-weight:600}.upload-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.upload-row input[type=file]{flex:260px;min-width:0}.upload-row button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:10px 20px;font-weight:600}.upload-row button:disabled{opacity:.6;cursor:default}.upload-row button:focus-visible,.upload-row input:focus-visible,.nav-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.notice{border-radius:8px;margin:16px 0 0;padding:12px 14px;font-size:14px;line-height:1.5}.notice p{margin:0}.notice ul{margin:8px 0 0;padding-left:20px}.notice-error{color:var(--danger);background:#fef3f2}.notice-ok{color:#05603a;background:#ecfdf3}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid var(--border);padding:10px 14px}th{color:var(--muted);font-weight:600}tbody tr:last-child td{border-bottom:0}.number{text-align:right;font-variant-numeric:tabular-nums}.row-muted td{color:var(--muted)}.page .hint{margin-bottom:12px}.match-list{flex-direction:column;gap:12px;display:flex}.match,.manual{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}.match-accounts{margin:0 0 12px;padding:0;font-size:14px;list-style:none}.match-accounts li{flex-wrap:wrap;gap:12px;padding:4px 0;display:flex}.match-maker{color:var(--muted);flex:0 0 96px}.match-code{color:var(--muted)}.match-confirm{flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;display:flex}.match-confirm input{border:1px solid var(--border-strong);background:var(--surface);min-width:0;color:var(--foreground);border-radius:8px;flex:240px;padding:8px 12px}.match-confirm label:has(input){flex:240px;display:flex}.match-confirm button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:8px 16px;font-weight:600}.match-confirm button:disabled{opacity:.6;cursor:default}.match-confirm input:focus-visible,.match-confirm button:focus-visible,.manual input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.manual-list{max-height:420px;margin-bottom:12px;overflow-y:auto}.table-button{margin-top:0}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.assistant{grid-template-columns:220px minmax(0,1fr);gap:32px;max-width:1040px;height:calc(100vh - 80px);display:grid}.assistant-main{flex-direction:column;min-height:0;display:flex}.assistant-main h1{margin:0 0 12px;font-size:28px}.chat-list{font-size:14px;overflow-y:auto}.chat-list ul{margin:12px 0 0;padding:0;list-style:none}.chat-list a{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:8px 10px;text-decoration:none;display:block;overflow:hidden}.chat-list a:hover,.chat-list a[aria-current=page]{background:var(--surface)}.chat-list .chat-new{border:1px solid var(--border-strong);text-align:center;font-weight:600}.chat-list .hint{margin-top:12px}.chat-menu{display:none}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.chat-thread{flex-direction:column;flex:1;gap:12px;padding:4px 4px 16px;display:flex;overflow-y:auto}.chat-empty{color:var(--muted)}.chat-empty ul{flex-direction:column;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.chat-empty button{border:1px solid var(--border);background:var(--surface);color:var(--foreground);text-align:left;cursor:pointer;border-radius:8px;padding:10px 14px}.chat-empty button:hover{border-color:var(--border-strong)}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;max-width:85%;padding:10px 14px;line-height:1.5}.bubble-user{background:var(--accent);color:#fff;align-self:flex-end}.bubble-assistant{background:var(--surface);border:1px solid var(--border);align-self:flex-start}.bubble-waiting{color:var(--muted)}.chat-input{border-top:1px solid var(--border);align-items:flex-end;gap:12px;padding-top:12px;display:flex}.chat-input textarea{border:1px solid var(--border-strong);background:var(--surface);color:var(--foreground);font:inherit;resize:none;border-radius:8px;flex:1;padding:10px 12px}.chat-input button{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:8px;padding:10px 20px;font-weight:600}.chat-input button:disabled{opacity:.6;cursor:default}.chat-input textarea:focus-visible,.chat-input button:focus-visible,.chat-empty button:focus-visible,.chat-list a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:720px){.portal{flex-direction:column;min-height:100dvh;display:flex}.sidebar{z-index:10;padding:6px 12px;padding-top:calc(6px + env(safe-area-inset-top));border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:8px;position:sticky;top:0}.sidebar-brand{font-size:16px}.sidebar-agency,.sidebar-email,.sidebar-role,.sidebar li.nav-item{display:none}.sidebar nav{flex:1;min-width:0;overflow-x:auto}.sidebar ul{gap:2px;display:flex}.nav-link{white-space:nowrap;align-items:center;min-height:44px;padding:0 10px;display:flex}.sidebar-user{border:0;margin:0;padding:0}.sidebar-user .link-button{white-space:nowrap;min-height:44px;margin:0}.portal-main{min-height:0;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}.page h1,.assistant-main h1{font-size:22px}.assistant{max-width:none;height:calc(100dvh - 57px - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;gap:12px;display:flex}.assistant-main h1{display:none}.chat-list{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative;overflow:visible}.chat-list .chat-items,.chat-list .hint{display:none}.chat-list .chat-new{box-sizing:border-box;flex:none;order:2;min-height:44px;padding:0 16px;line-height:42px}.chat-menu{flex:1;min-width:0;display:block}.chat-menu summary{min-height:44px;color:var(--foreground);cursor:pointer;align-items:center;gap:8px;padding:0 4px;font-weight:600;list-style:none;display:inline-flex}.chat-menu summary::-webkit-details-marker{display:none}.chat-menu summary:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:8px;height:8px;margin-top:-4px;transform:rotate(45deg)}.chat-menu[open] summary:after{margin-top:4px;transform:rotate(225deg)}.chat-menu summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-menu ul{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:12px;max-height:60dvh;margin:4px 0 0;padding:6px;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #1018281f}.chat-menu a{box-sizing:border-box;min-height:44px;line-height:28px}.chat-thread{min-height:0}.bubble{max-width:92%}.chat-input textarea,.form input,.match-confirm input{font-size:16px}.chat-input button{min-height:48px}}.landing a{color:#1d4ed8}.landing a:hover{color:#1e3a8a}.landing a:focus-visible,.landing button:focus-visible,.landing input:focus-visible{outline-offset:2px;outline:2px solid #1d4ed8}.landing section[id]{scroll-margin-top:16px}@media (max-width:720px){.landing header>div{justify-content:space-between;flex-wrap:nowrap!important;gap:8px!important;padding:8px 16px!important}.landing header nav{display:none!important}.landing header nav+div{flex:none;gap:4px!important}.landing header nav+div a{white-space:nowrap;padding:0 12px!important}.landing header nav+div a:last-child{min-height:40px!important;padding:0 16px!important}}@media (max-width:360px){.landing header>div>a{font-size:21px!important}.landing header nav+div a{padding:0 8px!important;font-size:14px!important}.landing header nav+div a:last-child{padding:0 12px!important}}@media (max-width:720px){.landing main h1{font-size:min(52px,11vw)!important}.landing main section>div{min-width:0}}
