/* Generated from the approved cabinet. Do not hand-edit. */
:root{--base:#E8EDF5;--white:#fff;--blue:#2041DF;--subtle:#D3DDF9;--ink:#10141F;--secondary:#5A6478;--line:rgba(16,20,31,.10);--radius:16px;--nav:248px}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;color:var(--ink);background:var(--base);font:500 16px/1.5 Onest,Arial,sans-serif}
button,input,textarea{font:inherit}
button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
h1,h2,h3,p{margin:0}
h1{font-size:36px;line-height:1.17;letter-spacing:-.005em;font-weight:700}
h2{font-size:20px;line-height:1.3;font-weight:700}
h3{font-size:16px;line-height:1.4;font-weight:700}
svg.icon{width:22px;height:22px;flex:none;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.sidebar{width:var(--nav);height:100dvh;position:fixed;inset:0 auto 0 0;background:var(--white);padding:44px 24px 24px;display:flex;flex-direction:column;border-right:1px solid var(--line);z-index:3}
.brand{display:inline-flex;margin-left:12px;width:max-content}
.nav-link{display:flex;align-items:center;gap:14px;padding:15px 18px;min-height:54px;border-radius:12px;margin-bottom:8px;color:var(--secondary);font-size:15px;transition:background .16s,color .16s}
.nav-link:hover{background:var(--base);color:var(--ink)}
.nav-link[aria-current=page]{background:var(--ink);color:var(--white)}
.nav-link[aria-current=page] .icon{stroke-width:2}
.mobile-header,.mobile-nav{display:none}
main{margin-left:var(--nav);padding:48px;min-height:100dvh;outline:0}
.page{max-width:1200px;margin:0 auto}
.page-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:38px}
.title-line{display:flex;align-items:center;gap:14px}
.surface{background:var(--white);border-radius:var(--radius)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border-radius:8px;border:1px solid transparent;line-height:1.35;font-size:14px;font-weight:500;background:var(--blue);color:var(--white);transition:background .16s}
.btn:hover{background:#1734BE}
.btn:active{transform:translateY(1px)}
.btn.secondary{background:var(--white);color:var(--ink);border-color:var(--line)}
.btn.secondary:hover{background:var(--base)}
.btn:disabled{background:var(--base);color:var(--secondary);border-color:transparent;opacity:.8}
.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:14px;min-height:32px}
.text-link:hover{text-decoration:underline}
.text-link .icon{width:16px;height:16px}
.icon-btn{border:0;background:transparent;display:grid;place-items:center;border-radius:8px;width:44px;height:44px;padding:10px;flex:none}
.icon-btn:hover{background:var(--base)}
.icon-btn:disabled{color:var(--secondary)}
.tabs{display:flex;gap:28px;margin-top:28px;border-bottom:1px solid rgba(16,20,31,.15);margin-bottom:28px}
.tab{display:flex;gap:8px;align-items:center;padding:14px 0;color:var(--secondary);font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px}
.tab[aria-current=page]{border-color:var(--blue);color:var(--blue)}
.account-details{background:var(--white);border-radius:16px;margin-top:24px}
.account-details summary{cursor:pointer;padding:24px 28px;list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:14px}
.account-details summary::-webkit-details-marker{display:none}
.account-details summary .icon{width:18px;height:18px}
.account-details[open] summary .icon{transform:rotate(180deg)}
.account-options{padding:0 28px 28px}
.chat-page{display:flex;flex-direction:column;height:calc(100dvh - 96px);min-height:560px}
.chat-page .page-top{margin-bottom:28px}
.chat-shell{background:var(--white);border-radius:16px;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.chat-heading{padding:20px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}
.manager-avatar{height:38px;width:38px;background:var(--base);border-radius:12px;display:grid;place-items:center;color:var(--blue)}
.chat-heading strong{display:block;font-weight:500;font-size:14px}
.chat-heading p{font-size:12px;color:var(--secondary);margin-top:2px}
.messages{overflow:auto;padding:20px 32px 28px;flex:1;min-height:0;overscroll-behavior:contain}
.message{display:flex;margin-top:16px;justify-content:flex-start}
.message.client{justify-content:flex-end}
.bubble{background:var(--base);border-radius:12px 12px 12px 3px;max-width:72%;padding:13px 16px}
.composer{padding:16px 24px 20px;border-top:1px solid var(--line);background:white;flex:none}
.compose-line{display:flex;align-items:flex-end;gap:10px}
.compose-line textarea{flex:1;min-width:0;min-height:44px;max-height:130px;resize:none;border:0;outline:none!important;line-height:1.5;font-size:16px;padding:10px 6px;background:transparent}
.compose-line:focus-within{box-shadow:0 0 0 2px var(--blue);border-radius:10px}
.send{background:var(--blue);color:white;border-radius:10px}
.send:hover{background:#1734BE}
.send:disabled{background:var(--base);color:var(--secondary)}
.send .icon{height:19px;width:19px}
.pending-file{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 12px;border-radius:8px;background:var(--base);font-size:12px;max-width:100%}
.pending-file span{overflow-wrap:anywhere}
.pending-file img{height:32px;width:32px;object-fit:cover;border-radius:4px}
.pending-file .icon-btn{height:32px;width:32px;padding:6px}
.pending-file .icon{height:16px;width:16px}
.form-label{display:block;font-size:13px;margin:20px 0 7px}
.field{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--secondary);border-radius:8px;background:white;font-size:16px}
.field[aria-invalid=true]{border-width:2px}
.field-error{font-size:12px;margin-top:8px;min-height:18px;line-height:1.5}
@media(max-width:1190px){main{padding:40px 28px}}
@media(max-width:900px){:root{--nav:210px}
.sidebar{padding-left:16px;padding-right:16px}
.brand{margin-left:8px}
.brand img{width:140px}
.nav-link{padding-left:14px;gap:12px}
.chat-page{height:calc(100dvh - 80px)}
.bubble{max-width:85%}}
@media(max-width:650px){:root{--nav:0px}
.sidebar{display:none}
.mobile-header{display:flex;justify-content:space-between;align-items:center;height:76px;padding:22px 20px;background:var(--white)}
.mobile-header span{font-size:11px;color:var(--secondary)}
main{margin:0;padding:28px 16px calc(100px + env(safe-area-inset-bottom));min-height:calc(100dvh - 76px)}
h1{font-size:28px;line-height:1.2}
.page-top{margin-bottom:24px}
.title-line{gap:10px}
.mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--white);z-index:4}
.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--secondary);font-size:10px;min-height:48px;border-radius:10px}
.mobile-nav a[aria-current=page]{background:var(--subtle);color:var(--blue)}
.mobile-nav .icon{height:20px;width:20px}
.tabs{gap:24px;margin-top:20px;margin-bottom:20px}
.tab{font-size:13px}
.account-details summary{padding:22px 20px}
.account-options{padding:0 20px 20px}
.chat-page{height:calc(var(--app-height,100dvh) - 76px - 100px - env(safe-area-inset-bottom));min-height:0}
.chat-page .page-top{margin-bottom:20px}
.chat-heading{padding:16px 18px}
.messages{padding:16px}
.bubble{max-width:88%;padding:11px 13px}
.message{margin-top:12px}
.composer{padding:12px 12px 14px}
.compose-line{gap:6px}
.compose-line textarea{padding:10px 2px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.sidebar .brand{margin-bottom:44px}
.new-order-btn{gap:10px;background:var(--blue);color:var(--white);min-height:48px;white-space:nowrap}
.sidebar>.new-order-btn{margin-top:24px;width:100%;padding:13px 12px;font-size:14px}
.new-order-btn .icon{height:20px;width:20px;stroke-width:2}
.manager-state{display:inline-flex;align-items:center;gap:6px}
.manager-state.typing{color:var(--blue)}
.manager-state.typing .manager-state-dot{background:var(--blue);animation:typing-pulse 1s ease-in-out infinite}
.message-state{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:1.4}
.message-state .icon{width:13px;height:13px;stroke-width:1.7}
.message-state.read{color:var(--blue)}
.message-state.failed{color:var(--ink)}
.message.failed .bubble{outline:1px solid var(--secondary);outline-offset:-1px}
@keyframes typing-pulse{0%,100%{opacity:1}50%{opacity:.25}}
@media(max-width:650px){.mobile-header{gap:12px;padding-left:16px;padding-right:16px}
.mobile-header>a{flex:none}
.mobile-header>a img{width:114px;height:auto}
.mobile-header .new-order-btn{font-size:12px;min-height:44px;padding:10px 12px;gap:6px;border-radius:8px}
.mobile-header .new-order-btn span{color:var(--white);font-size:12px}
.mobile-header .new-order-btn .icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.manager-state.typing .manager-state-dot{animation:none}}
.tabs{gap:6px;border:0;background:var(--subtle);padding:6px;border-radius:12px;width:max-content;max-width:100%;margin:26px 0}
.tab{border:0!important;padding:11px 20px;border-radius:8px;color:var(--secondary);white-space:nowrap}
.tab[aria-current=page]{background:var(--white);color:var(--ink)}
.field{width:100%;min-width:0;max-width:100%;background:white}
.account-options>.note{margin:12px 0 20px;max-width:65ch}
.pending-file .icon-btn{width:44px;height:44px;min-width:44px;padding:12px}
.pending-file{max-width:100%;min-width:0}
.pending-file>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compose-line{border:1px solid var(--line);border-radius:12px;padding:8px;align-items:flex-end}
.compose-line:focus-within{outline:2px solid var(--blue);outline-offset:1px}
.compose-line textarea{min-width:0;outline:0!important}
.compose-line .send{margin:0;width:44px;height:44px;border-radius:8px}
.compose-help{color:var(--secondary);font-size:11px;margin:8px 0 0;line-height:1.4}
.chat-shell{min-height:0}
.messages{overscroll-behavior:contain;overflow-anchor:none}
.field-error{margin:8px 0;font-size:13px}
@media(max-width:650px){.tabs{width:100%;gap:4px;padding:5px}
.tab{flex:1;text-align:center;padding:10px 8px;font-size:12px}
.compose-line{gap:2px;padding:6px}
.compose-line .icon-btn{width:40px;min-width:40px;padding:10px}
.compose-line .send{width:44px;min-width:44px}
.composer{padding:12px}
.chat-page{height:calc(var(--app-height,100dvh) - 76px - 110px - env(safe-area-inset-bottom));min-height:350px}
.bubble{max-width:92%}}
.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:560px;background:#dde3ee;gap:4px;padding:5px}
.tabs .tab{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:10px 12px}

@font-face{font-family:Onest;src:url('/assets/fonts/Onest.ttf');font-weight:100 900;font-display:swap}
/* Auth-specific layout only. Buttons, fields and tokens come from shared-ui.css. */
.auth-shell{margin:0;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px}.auth-logo{display:block;width:156px;height:auto;margin:0 0 36px}.card{width:100%;max-width:440px;background:var(--white);border-radius:var(--radius);padding:36px}.card h1{text-align:center;margin:0 0 28px}.card .btn{width:100%}.card form{display:flex;flex-direction:column;gap:20px;margin:0}.field-group label{display:block;font-size:13px;margin:0 0 8px;font-weight:500}.field-group .field{display:block;color:var(--ink)}.card .separator{display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:500;line-height:1.5;color:var(--secondary);margin:22px 0}.separator:before,.separator:after{content:'';height:1px;background:var(--line);flex:1}.card .secondary svg{width:22px;height:22px;fill:var(--blue);flex:none}.switch{text-align:center;font-size:14px;line-height:1.5;margin:24px 0 0;color:var(--secondary)}.switch a{font-weight:700;color:var(--blue)}.step-symbol{display:grid;place-items:center;width:52px;height:52px;background:var(--base);border-radius:16px;margin:0 auto 20px;color:var(--blue)}.step-symbol svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.intro{color:var(--secondary);text-align:center;margin:0 0 24px;font-size:14px;line-height:1.5}.intro strong{display:block;color:var(--ink);overflow-wrap:anywhere;font-weight:500;margin-top:4px}.error{color:#b42318;font-size:13px;line-height:1.5;margin:0}.error:empty{display:none}.otp-wrap{position:relative;margin:0;padding:0}.otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;pointer-events:none}.otp-boxes span{height:58px;border:1px solid var(--secondary);border-radius:8px;display:grid;place-items:center;font-size:25px;font-weight:500}.otp-boxes span.active{border:2px solid var(--blue);background:#f7f9ff}.otp-input{position:absolute;inset:0;width:100%;height:100%;opacity:.01;color:transparent;caret-color:transparent;border:0;font-size:16px;z-index:1}.otp-wrap:focus-within .active{box-shadow:0 0 0 3px #2041df18}.text-btn{display:block;border:0;background:transparent;color:var(--blue);margin:16px auto 0;font-size:14px;min-height:36px;padding:4px 12px}.text-btn:disabled{color:var(--secondary);opacity:1}.support{margin:24px 0 0;text-align:center;font-size:13px;color:var(--secondary)}.support summary{cursor:pointer;list-style:none}.support summary::-webkit-details-marker{display:none}.support summary:hover{color:var(--blue)}.support-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin-top:12px}.support-links a{color:var(--blue)}.demo{max-width:440px;font-size:11px;color:var(--secondary);margin-top:28px;text-align:center}.demo summary{cursor:pointer}.demo p{margin:8px 0}.demo button{font-size:12px;margin-top:8px}.success-note{text-align:center;color:var(--secondary);margin:0 0 24px;overflow-wrap:anywhere}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:650px){.auth-shell{margin:0;min-height:100svh;justify-content:flex-start;padding:38px 20px 26px}.auth-logo{width:140px;margin-bottom:32px}.card{padding:28px 24px}.otp-boxes{gap:6px}.otp-boxes span{height:52px}.support{margin-top:22px}}@media(max-width:360px){.auth-shell{padding-left:16px;padding-right:16px}.card{padding:24px 20px}.otp-boxes{gap:5px}.otp-boxes span{height:48px;font-size:22px}}@media(prefers-reduced-motion:no-preference){.text-btn{transition:color .15s}}
