/* v12 · shared glass form system. Native fields, shared tokens, no external assets. */
:root{
 --form-panel:#111b29;--form-panel-deep:#0c1420;--form-field:#162538;--form-field-top:#1b2d43;
 --form-text:#edf4ff;--form-label:#b4c6df;--form-muted:#9eafc7;--form-placeholder:#a5b6cf;
 --form-line:#8ba8ce36;--form-edge:linear-gradient(135deg,#819fc6b3,#6080a7b3 45%,#6688b3b3);
 --form-orange:#ff914d;--form-orange-soft:#ff914d0c;--form-green:#66dda5;--form-red:#ff8795;
 --form-focus:#83b9ff;--form-shadow:0 1px 0 #deedff17 inset,0 -1px 0 #02091250 inset,0 4px 12px #02081124;
 --form-glint:#a8d0ff25;--form-glow:#3f91ff14;
}
[data-theme=light]{
 --form-panel:#fbfdff;--form-panel-deep:#eff5fc;--form-field:#f1f6fc;--form-field-top:#ffffff;
 --form-text:#15263d;--form-label:#405875;--form-muted:#536b88;--form-placeholder:#59718c;
 --form-line:#7b96b64a;--form-edge:linear-gradient(135deg,#59779ccc,#6b87a8b3 45%,#5d7ea6cc);
 --form-orange:#b3551c;--form-orange-soft:#ff914d0a;--form-green:#247e53;--form-red:#b52a4b;
 --form-focus:#275f9f;--form-shadow:0 1px 0 #ffffff inset,0 2px 9px #123b680c;
 --form-glint:#ffffffb3;--form-glow:#386faf0c;
}
:is(.t-form,.t-auth-experience,.t-access-panel,.t-settings-card,.t-editor,.t-input,#turbo-checkout){
 --t-text:var(--form-text);--t-muted:var(--form-muted);--t-accent:var(--form-orange);
 --t-input:var(--form-field);--t-line:var(--form-line);--t-card:var(--form-panel);
 font-family:TurboInter,Inter,Arial,sans-serif;color:var(--form-text);
}
/* One field language across settings, customer data, authentication and installation. */
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-form,
.t-form{gap:14px!important;min-width:0}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) label:not(.t-check){color:var(--form-label);font-size:12px;line-height:1.5;font-weight:400;gap:6px;min-width:0}
.t-field-label{display:inline-flex;align-items:baseline;gap:4px;color:var(--form-label);font-size:12px;line-height:1.5;font-weight:400}
.t-required{font-size:12px;color:var(--form-red);font-style:normal;font-weight:650;margin-left:2px}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) select,
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) textarea,
.t-input,.t-editor{
 width:100%;min-width:0;min-height:44px;height:44px;max-height:none;margin:0;padding:11px 13px;
 border:1px solid transparent;border-radius:11px;outline:0;
 background:linear-gradient(120deg,var(--form-field-top),var(--form-field)) padding-box,var(--form-edge) border-box;
 color:var(--form-text);font:400 14px/20px TurboInter,Inter,Arial,sans-serif;
 box-shadow:var(--form-shadow);caret-color:var(--form-focus);color-scheme:dark;
 transition:background-color .18s,border-color .18s,box-shadow .18s;
}
[data-theme=light] :is(.t-form input,.t-form select,.t-form textarea,.t-input,.t-editor){color-scheme:light}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input::placeholder,
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) textarea::placeholder,.t-input::placeholder{color:var(--form-placeholder);opacity:1;font-size:inherit;font-weight:400}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) :is(input,select,textarea):focus,
.t-input:focus,.t-editor:focus{border-color:color-mix(in srgb,var(--form-focus) 70%,transparent);box-shadow:0 0 0 3px #ff991b12,0 1px 0 #ffffff08 inset;background:var(--form-field-top)}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input:user-invalid{border-color:var(--form-red)}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input:-webkit-autofill{-webkit-text-fill-color:var(--form-text);box-shadow:0 0 0 100px var(--form-field) inset;caret-color:var(--form-focus)}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input:disabled{opacity:.6;cursor:not-allowed}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) textarea,.t-editor{height:auto;min-height:112px;line-height:1.7;resize:vertical;padding:12px 14px}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) select{appearance:auto;padding-right:10px;cursor:pointer}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input[type=file]{height:auto;min-height:44px;padding:7px 9px;font-size:11px;line-height:28px}
.t-form input[type=file]::file-selector-button{border:1px solid var(--form-line);border-radius:7px;background:#8aa6cb12;color:var(--form-text);font:500 11px/1.4 TurboInter,Inter,sans-serif;padding:7px 9px;margin-right:9px;cursor:pointer}
.t-form small,.t-auth-field>small{color:var(--form-muted);font-size:10px;line-height:1.6;font-weight:400}
.t-form :is(button,a).t-btn{font-weight:550;border-radius:10px;font-size:12px;min-height:38px;padding:9px 12px}
.t-form .t-btn:not(.primary):not(.danger):not(.green){background:#8aa6cb0c;border-color:var(--form-line);color:var(--form-text);box-shadow:var(--form-shadow)}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-btn.primary{
 border:1px solid #ffd48b45;border-radius:12px;background:linear-gradient(165deg,#ffa85d,#ff853e 58%,#ff7835);
 color:#28170c;font-weight:650;box-shadow:0 9px 25px #ff8e1b16,0 1px 0 #ffe6c04d inset;
 transition:filter .16s,box-shadow .16s,transform .16s;
}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-btn.primary:hover{filter:brightness(1.05);box-shadow:0 10px 28px #ff8e1b24}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-btn:active{transform:translateY(1px)}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-btn:disabled{opacity:.6;cursor:wait;transform:none}
.t-form :is(button,a,input[type=checkbox],input[type=radio]):focus-visible,.t-auth-close:focus-visible{outline:2px solid var(--form-focus);outline-offset:3px}
/* Small native controls with a consistent checked state. */
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) label.t-check{display:flex;align-items:flex-start;gap:8px!important;color:var(--form-label);font-size:11px!important;font-weight:400;line-height:1.65;margin:0;min-width:0;cursor:pointer}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-check input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 15px;width:15px;min-width:15px;height:15px;min-height:15px;max-height:15px;margin:2px 0 0;padding:0;border:1px solid #b4c8e266;border-radius:4px;background:#e5ebf221;box-shadow:0 1px 0 #ffffff0c inset;cursor:pointer;accent-color:#ff9c23}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-check input:checked{background:#ffae40;border-color:#ffb958}
:is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) .t-check input:checked::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #281c07;border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
.t-form .t-check>span{min-width:0}.t-form .t-check a{color:#ffb743;text-underline-offset:3px;text-decoration-thickness:1px}
[data-theme=light] .t-form .t-check a{color:#a35810}
/* Settings and edit forms share the same softly reflected surface. Read-only sales cards stay independent. */
.t-settings-card,.t-card:has(>.t-form),#turbo-detail:has(.t-form){
 --t-text:var(--form-text);--t-muted:var(--form-muted);--t-card:var(--form-panel);--t-line:var(--form-line);
 background:linear-gradient(155deg,var(--form-panel),var(--form-panel-deep));border:1px solid var(--form-line);
 box-shadow:0 12px 34px #030a1418,0 1px 0 #ffffff05 inset;
}
.t-settings-card :is(h2,h3),#turbo-detail:has(.t-form) :is(h2,h3){color:var(--form-text)}
#turbo-detail:has(.t-form) .t-dialog-inner{padding:24px}
#turbo-detail:has(.t-form) .t-close{width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;color:var(--form-muted);background:#c5d6ed0a;border:1px solid var(--form-line)}
.t-mail-editor-wrap{border-color:var(--form-line);border-radius:11px;background:var(--form-panel)}
.t-mail-editor-wrap .t-editor{background:linear-gradient(120deg,var(--form-field-top),var(--form-field));color:var(--form-text);font-size:14px;line-height:1.8;border:0;border-radius:0}
.t-editor-toolbar{background:#9ab2d10a;border-color:var(--form-line);gap:5px;padding:8px}
.t-editor-toolbar .t-btn{background:#9ab2d10a;color:var(--form-label);border-color:var(--form-line);min-height:30px;padding:6px 8px;font-size:10px}
.t-copy-input input{min-width:0}.t-copy-input .t-btn{font-size:11px;border-radius:10px;min-height:40px}
/* New authentication layout: the same reference card, without a separate illustration or competing frame. */
.t-access-page{background:radial-gradient(ellipse at 20% 25%,#29446817,transparent 55%),#070c13;color:var(--form-text)}
.t-access-page>.t-top{position:relative;inset:auto;min-height:68px;padding:12px max(20px,calc((100vw - 1120px)/2));background:#0b121b;border-bottom:1px solid #8ba4c51a;backdrop-filter:none}
.t-access-page>.t-top .t-brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.t-access-page>.t-top .t-brand img{width:145px;max-height:30px;object-fit:contain}
.t-access-page>.t-top .t-brand>span{font-size:9px;color:var(--form-muted)}
.t-access-page>.t-top .t-btn{font-size:11px;min-height:36px;padding:8px 12px;border-radius:10px;font-weight:550;background:linear-gradient(165deg,#ffa85d,#ff853e 58%,#ff7835);color:#28170c;border:1px solid #ffd48b45;box-shadow:0 5px 16px #ff951b10}
.t-access-page>#t-root{display:grid;align-items:start;min-height:calc(100svh - 68px);max-width:none;padding:36px 20px 44px}
.t-access-layout{display:block;width:100%;max-width:480px;margin:auto}
.t-access-panel{width:100%;min-width:0;position:relative;overflow:hidden;border:1px solid var(--form-line);border-radius:20px;background:linear-gradient(155deg,var(--form-panel),var(--form-panel-deep));box-shadow:0 22px 65px #030a1438,0 1px 0 #ffffff07 inset}
.t-access-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:15px 22px 7px;background:transparent;border:0;flex:none}
.t-form-kicker{display:flex;align-items:center;gap:8px;color:var(--form-orange);font-size:11px;line-height:1.4;font-weight:650;letter-spacing:.12em;min-width:0}
.t-form-kicker>.t-icon{width:17px;height:17px;flex:none;color:var(--form-muted);opacity:.7;stroke-width:1.5}
.t-access-panel-body{min-width:0;padding:0 22px 23px}
.t-auth-heading{margin-bottom:21px;min-width:0}
.t-access-panel .t-auth-heading h2,#turbo-auth .t-auth-heading h2{font-size:24px;line-height:1.25;font-weight:650;letter-spacing:-.035em;color:var(--form-text);margin:0 0 9px}
.t-auth-heading p,#turbo-auth .t-auth-heading p{font-size:13px;line-height:1.6;color:var(--form-muted);margin:0}
:is(#turbo-auth,.t-auth-experience,.t-access-panel) .t-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 18px;border:1px solid var(--form-line);border-radius:10px;background:#a3bfe306}
:is(#turbo-auth,.t-auth-experience,.t-access-panel) .t-auth-tabs .t-btn{height:34px;min-height:34px;padding:7px 10px;margin:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--form-muted);box-shadow:none;font-size:11px;font-weight:500;gap:6px}
:is(#turbo-auth,.t-auth-experience,.t-access-panel) .t-auth-tabs .t-btn.active{color:var(--form-text);border-color:#a3c3ee28;background:linear-gradient(125deg,#a9c7ee12,#a9c7ee07);box-shadow:0 1px 0 #ffffff07 inset}
:is(#turbo-auth,.t-auth-experience,.t-access-panel) .t-auth-tabs .t-icon{width:14px;height:14px;color:inherit;stroke-width:1.5}
:is(#turbo-auth,.t-auth-experience,.t-access-panel) .t-auth-tabs .active .t-icon{color:var(--form-orange)}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-field{display:grid;gap:6px;min-width:0}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-field>label{display:block;margin:0;color:var(--form-label);font-weight:400;line-height:1.5}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-field-control{position:relative;display:block;min-width:0}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-field-control>input{padding-left:13px;padding-right:13px;max-height:44px;font-weight:400}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-field-control:has(.t-password-toggle)>input{padding-right:43px}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-field-control>.t-icon{display:none}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-toggle{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;min-width:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--form-muted);box-shadow:none;cursor:pointer}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-toggle .t-icon{width:17px;height:17px;stroke-width:1.5;pointer-events:none}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-toggle:hover{color:var(--form-text);background:#c2d5ef09}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-phone{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-phone select{font-size:12px;padding-left:9px}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-field>small{font-size:9px;line-height:1.55;color:var(--form-muted);margin:0}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-rules{display:flex!important;flex-wrap:wrap;gap:4px 10px;padding:0;margin:-4px 0 0;font-size:9px;line-height:1.5}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-rules>span{font-size:9px;line-height:1.5;white-space:nowrap;color:var(--form-muted);font-weight:400}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-password-rules>span.valid{color:var(--form-green)}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-options{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;margin:-3px 0 -1px}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-options .t-check{align-items:center!important;font-size:10px!important;gap:7px!important}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-options .t-check input{margin-top:0}
.t-auth-forgot,.t-auth-back{display:inline-flex;align-items:center;min-height:30px;padding:4px 0;background:transparent;color:var(--form-orange);border:0;border-radius:5px;font:500 10px/1.5 TurboInter,Inter,sans-serif;white-space:nowrap;cursor:pointer}
.t-auth-forgot:hover,.t-auth-back:hover{text-decoration:underline;text-underline-offset:3px}
:is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-auth-submit.t-btn{width:100%;height:46px;min-height:46px;padding:12px 14px;margin:2px 0 0;font-size:13px;font-weight:650;gap:9px}
.t-auth-submit>.t-icon{width:16px;height:16px}
.t-access-assurance{display:flex;align-items:center;justify-content:center;gap:6px;padding-top:18px;font-size:10px;line-height:1.5;color:var(--form-muted);text-align:center}
.t-access-assurance>.t-icon{width:13px;height:13px;flex:none;color:var(--form-muted)}
.t-auth-experience[data-auth-mode=register] .t-access-assurance{display:none}
.t-auth-error:empty{display:none}.t-auth-error{outline:0}
.t-auth-error .t-error{margin:0;padding:10px 12px;font-size:11px;line-height:1.6;border-radius:10px;background:#d94a7610;border-color:#e5758d40;color:var(--form-red)}
.t-access-spinner{display:inline-block;width:14px;height:14px;border:1.5px solid #281c0740;border-top-color:#28170c;border-radius:50%;animation:t-form-spin .75s linear infinite}
.t-auth-recovery h3{font-size:20px;line-height:1.3;letter-spacing:-.025em;margin:0 0 7px;color:var(--form-text);font-weight:650}
.t-auth-recovery>p{font-size:12px;line-height:1.7;color:var(--form-muted);margin:0 0 18px}
.t-auth-recovery [role=status]{font-size:11px;line-height:1.7;color:var(--form-muted)}
.t-access-panel-body:has(.t-auth-recovery) .t-auth-heading{display:none}
/* Shared circular close: 36 visual pixels and a larger hit area, in a dedicated row. */
:is(#turbo-auth,.t-access-panel) .t-auth-close{position:relative;float:none;inset:auto;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;flex:none;padding:0;border-radius:50%;border:1px solid #9cb8dd21;background:linear-gradient(135deg,#c4d7ef0b,#8aa0bd0b);color:var(--form-muted);box-shadow:0 1px 0 #ffffff06 inset;cursor:pointer;text-decoration:none}
.t-auth-close::before{content:"";position:absolute;inset:-4px;border-radius:50%}
:is(#turbo-auth,.t-access-panel) .t-auth-close>.t-icon{width:17px;height:17px;stroke-width:1.7;pointer-events:none}
:is(#turbo-auth,.t-access-panel) .t-auth-close:hover{background:#c4d7ef14;color:var(--form-text);border-color:#9cb8dd45}
#turbo-auth.t-react-modal{width:calc(100% - 24px);max-width:480px;max-height:calc(100dvh - 24px);border:0;border-radius:20px;background:transparent;box-shadow:0 26px 90px #03091066;overflow:hidden}
#turbo-auth .t-dialog-inner{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
#turbo-auth .t-access-panel-modal{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 24px)}
#turbo-auth .t-access-panel-top{flex:none}
#turbo-auth .t-access-panel-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:14px;scrollbar-width:thin;scrollbar-color:#627b9c70 transparent}
[data-theme=light] .t-access-page{background:#edf1f7}
[data-theme=light] .t-access-page>.t-top{background:#f8fbff;border-color:var(--form-line)}
@media(max-width:760px){
 :is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=range]):not([type=color]),
 :is(#turbo-auth,#turbo-checkout,#turbo-detail,.t-form,.t-settings-card,.t-auth-experience) textarea,.t-input{font-size:16px}
 .t-access-page>.t-top{padding:11px 17px;min-height:68px}
 .t-access-page>#t-root{padding:22px 13px 32px}
 .t-access-layout{max-width:480px;margin:0 auto}
 .t-access-panel-top{padding:14px 20px 7px;min-height:60px}
 .t-access-panel-body{padding:0 20px 22px}
 .t-access-panel .t-auth-heading h2,#turbo-auth .t-auth-heading h2{font-size:23px}
}
@media(max-width:360px){
 .t-access-page>.t-top .t-brand img{width:125px}
 .t-access-page>.t-top .t-btn{font-size:10px;padding:8px 9px}
 .t-access-panel-top{padding-left:16px;padding-right:16px}
 .t-access-panel-body{padding-left:16px;padding-right:16px}
 .t-form-kicker{font-size:10px;gap:6px;letter-spacing:.09em}
 .t-access-panel .t-auth-heading h2,#turbo-auth .t-auth-heading h2{font-size:21px}
 :is(#turbo-auth,#turbo-checkout,.t-auth-experience,.t-access-panel) .t-phone{grid-template-columns:83px minmax(0,1fr);gap:7px}
 .t-auth-options .t-auth-forgot{font-size:9px}
 #turbo-detail:has(.t-form) .t-dialog-inner{padding:19px}
}
@media(prefers-reduced-motion:reduce){.t-form *,#turbo-auth *,#turbo-checkout *{transition:none!important;animation:none!important}}
@media(forced-colors:active){.t-form input,.t-form select,.t-input,.t-access-panel{border-color:CanvasText}.t-form .t-check input[type=checkbox]{appearance:auto}.t-form .t-check input:checked::after{display:none}}
@keyframes t-form-spin{to{transform:rotate(360deg)}}
/* Editing dialogs retain a quiet internal scrollbar rather than a bright native gutter. */
#turbo-detail:has(.t-form){scrollbar-width:thin;scrollbar-color:#627b9c70 transparent}
