/* Minha PROXITI: identidade visual compartilhada, sem alterar a lógica dos atendimentos. */
:root{
 color-scheme:light;--bg:#f6f7f9;--surface:#fff;--surface2:#eef1f5;--line:#d9e0e9;
 --text:#0b1220;--muted:#5b6475;--blue:#2f6df6;--focus:#f28c45;--green:#1f8f63;
 --control:#fff;--control-border:#b9c3d0;--soft-blue:#e8efff;--foot:#eef1f5;--brand-blue:#2f6df6;
 --shadow:0 24px 66px rgba(11,18,32,.09);
 font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
html[data-theme="dark"]{
 color-scheme:dark;--bg:#0b1220;--surface:#141f31;--surface2:#111a2a;--line:#25344a;
 --text:#f7f8fa;--muted:#a5b0c0;--blue:#8bb8ff;--focus:#ffad73;--green:#54c997;
 --control:#101a29;--control-border:#3b4c66;--soft-blue:#15294a;--foot:#0e192a;--brand-blue:#67a2ff;
 --shadow:0 26px 75px rgba(0,0,0,.24);
}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{min-width:320px;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
a{color:var(--blue)}.eyebrow{color:var(--blue)}
.customer-header{min-height:76px;padding:14px clamp(18px,5vw,70px);background:var(--surface);border-color:var(--line);box-shadow:0 4px 22px rgba(11,18,32,.035)}
.customer-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);font-size:.98rem;font-weight:880;letter-spacing:.11em}
.customer-brand .brand-mark{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#0b1220;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.customer-brand .brand-mark span{background:linear-gradient(135deg,#67a2ff,#f28c45);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:1.35rem;font-weight:900;letter-spacing:-.06em}
.customer-brand .brand-ti{color:var(--brand-blue)}
.customer-brand .brand-name{display:inline-flex}
.customer-header-actions{display:flex;align-items:center;gap:14px}
.customer-header .customer-back{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;color:var(--text);border-radius:9px;text-decoration:none;font-size:.82rem;font-weight:750;transition:background-color .18s ease}
.customer-header .customer-back:hover{background:var(--surface2);color:var(--blue)}
.customer-theme-toggle{display:grid;place-items:center;width:41px;height:41px;padding:0;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--surface);transition:background-color .18s ease,border-color .18s ease}
.customer-theme-toggle:hover{background:var(--surface2);border-color:var(--blue)}
.customer-theme-toggle svg{display:block;width:19px;height:19px}
.customer-theme-sun{display:none!important}
html[data-theme="dark"] .customer-theme-sun{display:block!important}
html[data-theme="dark"] .customer-theme-moon{display:none!important}
.primary,.secondary{border-radius:10px;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.primary{background:#205ed9;color:#fff;border-color:#205ed9}
.primary:hover{background:#174ab2;border-color:#174ab2;transform:translateY(-1px)}
.secondary{background:var(--surface);color:var(--text);border-color:var(--control-border)}
.secondary:hover{background:var(--surface2);border-color:var(--blue)}
.text-button{color:var(--blue)}
.status{color:var(--muted)}.status.error{color:#bf3f46}.status.success{color:var(--green)}
html[data-theme="dark"] .status.error{color:#ffacaa}
.auth-shell{max-width:1240px;min-height:calc(100vh - 160px);grid-template-columns:minmax(0,1.03fr) minmax(340px,.9fr);gap:clamp(30px,5vw,88px);padding:clamp(40px,5vw,72px) 26px;align-items:center}
.auth-visual{min-width:0}
.auth-visual .eyebrow{display:inline-flex;gap:10px;align-items:center;letter-spacing:.11em;font-size:.7rem}
.auth-visual .eyebrow:before{content:"";width:9px;height:9px;background:#f28c45;border-radius:3px}
.auth-visual h1{max-width:12ch;margin:17px 0 21px;font-size:clamp(2.8rem,4.6vw,4.9rem);font-weight:780;letter-spacing:-.062em;line-height:1.02}
.auth-visual h1 span{color:var(--blue)}
.auth-visual>p{max-width:54ch;color:var(--muted);font-size:clamp(.95rem,1.35vw,1.06rem);line-height:1.75}
.auth-preview{width:min(100%,580px);margin:30px 0 21px;overflow:hidden;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--shadow)}
.auth-preview-bar{display:flex;align-items:center;gap:12px;padding:13px 16px;background:var(--surface2);border-bottom:1px solid var(--line);font-size:.63rem;letter-spacing:.11em}
.auth-preview-bar strong{font-weight:850}.auth-preview-bar small{margin-left:auto;color:var(--muted);letter-spacing:0;font-size:.65rem}
.auth-preview-dots{display:flex;gap:5px}.auth-preview-dots i{width:7px;height:7px;border-radius:50%;background:#f28c45}.auth-preview-dots i:nth-child(2){background:#8bb8ff}.auth-preview-dots i:nth-child(3){background:#54c997}
.auth-preview-body{padding:23px;background:linear-gradient(145deg,var(--surface),var(--surface2))}
.auth-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.auth-preview-heading>div{display:grid;gap:3px}.auth-preview-heading small,.auth-preview-ticket small,.auth-preview-tile small{color:var(--muted);font-size:.61rem;letter-spacing:.09em;font-weight:820}
.auth-preview-heading strong{font-size:1.01rem;letter-spacing:-.025em}
.auth-preview-avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:var(--soft-blue);color:var(--blue);font-weight:850}
.auth-preview-ticket{display:flex;justify-content:space-between;align-items:flex-start;gap:13px;padding:19px 18px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
.auth-preview-ticket>div,.auth-preview-tile{display:grid;gap:5px}
.auth-preview-ticket strong,.auth-preview-tile strong{font-size:.82rem;line-height:1.4}
.auth-preview-ticket div>span,.auth-preview-tile>span{color:var(--muted);font-size:.7rem}
.auth-preview-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e7f6ef;color:#176b4c;font-size:.6rem;font-weight:800;white-space:nowrap}
html[data-theme="dark"] .auth-preview-status{background:#14352a;color:#9be4b9}
.auth-preview-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.auth-preview-tile{min-width:0;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.auth-points{gap:8px}.auth-points span{border-color:var(--line);background:var(--surface);color:var(--muted);font-size:.7rem;font-weight:680}
.auth-points span:before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;background:var(--green);border-radius:50%;vertical-align:2px}
.auth-panel{min-width:0;padding:clamp(23px,3.1vw,37px);border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--shadow)}
.auth-switch{background:var(--surface2);border:1px solid var(--line);border-radius:11px;gap:3px;margin-bottom:27px}
.auth-switch button{color:var(--muted);border-radius:8px;font-size:.81rem}
.auth-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 3px 9px rgba(11,18,32,.1)}
.customer-form{gap:14px}.customer-form h2{font-size:clamp(1.5rem,2.2vw,1.75rem);letter-spacing:-.04em}
.customer-form>p{font-size:.84rem;line-height:1.65;color:var(--muted);margin:0 0 6px}
.customer-form label{color:var(--text);font-size:.81rem;gap:6px}
.customer-form input:not([type=checkbox]),.customer-form select,.customer-form textarea{background:var(--control);border-color:var(--control-border);color:var(--text);border-radius:10px;min-height:46px}
.customer-form input:focus-visible,.customer-form textarea:focus-visible{border-color:var(--blue)}
.customer-form input::placeholder,.customer-form textarea::placeholder{color:var(--muted);opacity:.85}
.customer-form .check{color:var(--muted)}.customer-form .check input{accent-color:#2f6df6}
.customer-form .check a{font-weight:750;text-underline-offset:3px}
.customer-auth-submit{width:max-content;min-width:122px;min-height:43px;justify-self:start;margin-top:5px;padding:10px 21px;font-size:.87rem}
.customer-password-help{font-size:.74rem!important;line-height:1.55!important;margin:-6px 0 0!important;color:var(--muted)!important}
.customer-password-rules{display:flex;flex-wrap:wrap;gap:7px;margin:-2px 0 2px}
.customer-password-rules span{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:5px 8px;color:var(--muted);font-size:.68rem;font-weight:690;background:var(--surface2)}
.customer-password-rules span:before{content:"";width:6px;height:6px;flex:none;border:1px solid var(--control-border);border-radius:50%}
.customer-password-rules span.is-met{border-color:color-mix(in srgb,var(--green) 45%,var(--line));color:var(--green);background:color-mix(in srgb,var(--green) 8%,var(--surface))}
.customer-password-rules span.is-met:before{background:var(--green);border-color:var(--green)}
.auth-foot{color:var(--muted);border-color:var(--line);font-size:.77rem}
.auth-foot a{font-weight:760;text-underline-offset:3px}
.customer-verify{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
.customer-verify p{color:var(--muted)}
.customer-sidebar{background:var(--surface);border-color:var(--line)}
.customer-nav button.active{background:var(--soft-blue);border-color:var(--line);color:var(--text)}
.customer-nav button:hover{background:var(--surface2)}
.sidebar-link{color:var(--blue)}
.welcome-hero{background:linear-gradient(110deg,#12365b,#164b80);border-color:#386b9b;color:#fff}
.welcome-hero h1 span{color:#a7c9ff}.welcome-hero p{color:#d9e5f5}
.customer-thread{background:var(--surface2)}
.customer-bubble{background:var(--soft-blue);border-color:var(--line)}.customer-bubble.mine{background:#e7f6ef;border-color:#a9d6c2}
.customer-bubble small{color:var(--muted)}.customer-bubble div{color:var(--text)}
html[data-theme="dark"] .customer-bubble.mine{background:#16483d;border-color:#32796c}
.status-pill{background:var(--soft-blue);border-color:var(--line);color:var(--text)}
.status-pill.good{background:#e7f6ef;border-color:#a9d6c2;color:#176b4c}
html[data-theme="dark"] .status-pill.good{background:#184438;border-color:#387560;color:#b6ebd3}
.customer-footer{display:block;padding:0;background:var(--foot);border-color:var(--line);color:var(--muted)}
.customer-footer-inner{width:min(100% - 48px,1180px);margin:auto;display:flex;justify-content:space-between;align-items:start;gap:30px;padding:35px 0 28px}
.customer-footer-about{max-width:660px}.customer-footer-about p{max-width:66ch;margin:12px 0 0;color:var(--muted);font-size:.79rem;line-height:1.7}
.customer-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:13px 23px;padding-top:12px}
.customer-footer nav a{color:var(--text);font-size:.77rem;font-weight:690}
.customer-footer nav a:hover{color:var(--blue)}
.customer-footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;width:min(100% - 48px,1180px);margin:auto;padding:14px 0 19px;border-top:1px solid var(--line);font-size:.72rem}
@media(max-width:1020px){.auth-shell{grid-template-columns:1fr;max-width:780px;gap:27px;min-height:0}.auth-visual h1{max-width:16ch}.auth-preview{margin:22px 0}.auth-panel{max-width:760px}}
@media(max-width:720px){.customer-header{min-height:64px;padding:11px 16px}.customer-brand{font-size:.84rem;gap:8px}.customer-brand .brand-mark{width:35px;height:35px;border-radius:10px}.customer-header-actions{gap:6px}.customer-header .customer-back{font-size:.78rem;padding:7px 8px}.auth-shell{padding:30px 16px 40px;gap:24px}.auth-visual h1{font-size:clamp(2.5rem,10vw,3.5rem)}.auth-preview{display:block}.auth-preview-body{padding:15px}.auth-preview-ticket{padding:13px;display:grid}.auth-preview-status{justify-self:start}.auth-preview-tiles{gap:7px}.auth-preview-tile{padding:12px}.auth-panel{padding:19px}.customer-auth-submit{min-width:118px}.customer-footer-inner{display:grid;gap:13px;padding:27px 0}.customer-footer nav{justify-content:flex-start;padding:0}.customer-footer-bottom{padding:14px 0}}
@media(max-width:400px){.auth-preview-tiles{grid-template-columns:1fr}.auth-preview-bar small{display:none}.customer-brand .brand-name{font-size:.79rem}}
@media(prefers-reduced-motion:reduce){.primary,.secondary,.customer-theme-toggle,.customer-header .customer-back{transition:none}}
