/* BEGIN styles.css */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55;color:#15283d;background:#f5f8fc;color-scheme:light;--bg:#f5f8fc;--paper:#fff;--text:#15283d;--muted:#61748b;--line:#dbe5f0;--accent:#1769e0;--accent-soft:#edf4ff;--field:#fbfdff;--shadow:0 7px 28px rgba(30,60,95,.07);--green:#14805c;--red:#bb3241}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0c1420;--paper:#142233;--text:#e9f0f9;--muted:#9fb0c5;--line:#2c3e54;--accent:#78adff;--accent-soft:#1f334e;--field:#142334;--shadow:0 8px 30px rgba(0,0,0,.18);--green:#68dab0;--red:#ff9da7}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #80affd;outline-offset:2px}
.topbar{height:72px;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.bar-inner{max-width:1170px;margin:auto;padding:0 22px;height:100%;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:11px;color:var(--text);text-align:left}.brand-icon{width:38px;height:38px;border-radius:11px;background:linear-gradient(130deg,#3c8bff,#0c4cae);color:#fff;font-size:30px;display:grid;place-items:center;line-height:1}.brand strong{font-size:18px;letter-spacing:-.5px}.brand small{font-size:10px;letter-spacing:3px;color:var(--muted);display:block;margin-top:-6px}.top-actions{display:flex;align-items:center;gap:9px}.connection{font-size:12px;color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:7px}
.dot.offline{background:#d14a62}.dot.unchecked{background:#9299a6}.backend-check{border-top:1px solid var(--line);padding-top:14px}.backend-check .hint{line-height:1.7;overflow-wrap:anywhere}
.app{max-width:1170px;min-height:calc(100vh - 130px);margin:auto;padding:38px 22px 72px}.footer{text-align:center;padding:24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}h1,h2,h3,h4{line-height:1.26;margin:0;letter-spacing:-.65px}h1{font-size:clamp(28px,4vw,42px)}h2{font-size:25px}h3{font-size:19px}p{margin:8px 0 0}.muted,.hint{color:var(--muted)}.hint{font-size:12px}.eyebrow{text-transform:uppercase;font-size:11px;color:var(--accent);font-weight:800;letter-spacing:1.4px;margin-bottom:9px}.hero{text-align:center;padding:45px 0 32px;max-width:750px;margin:auto}.hero p{font-size:16px;color:var(--muted);margin-top:15px}
.panel,.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.panel{padding:26px}.card{padding:23px}.hero-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:790px;margin:18px auto 26px}.choice{display:flex;flex-direction:column;gap:11px}.choice-icon{font-size:28px;color:var(--accent)}.choice p{min-height:50px;font-size:13px;color:var(--muted)}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.end{justify-content:flex-end}.grow{flex:1}.stack{display:flex;flex-direction:column;gap:15px}.tight{gap:8px}.grid{display:grid;gap:15px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.spaced{margin-top:25px}.mb{margin-bottom:19px}
button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;background:var(--accent);color:#fff;padding:10px 15px;font-weight:650;border-radius:10px;text-decoration:none;min-height:40px}button:hover,.button:hover{filter:brightness(.95);text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}.button.sec,.sec{background:var(--accent-soft);color:var(--accent);border:1px solid var(--line)}.ghost{color:var(--text);background:transparent;border:1px solid var(--line)}.bare{border:0;background:none;padding:0}.danger{color:var(--red)!important}.small{padding:7px 11px;min-height:34px;font-size:12px}.full{width:100%}.badge{display:inline-flex;border:1px solid var(--line);border-radius:999px;background:var(--accent-soft);padding:3px 9px;font-size:11px;color:var(--accent);font-weight:700}.badge.green{color:var(--green)}.badge.gray{color:var(--muted);background:var(--bg)}
label{display:block;font-size:13px;font-weight:660;margin:0 0 6px}.field{width:100%;display:block;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--field);color:var(--text);outline:none;min-height:43px}.field:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}textarea.field{min-height:95px;resize:vertical}select.field{cursor:pointer}input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:16px;height:16px}.check{display:flex;gap:9px;align-items:center;cursor:pointer;margin:5px 0;color:var(--text);font-weight:450}.field-group{margin-bottom:15px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hr{border:0;border-top:1px solid var(--line);margin:20px 0}.hidden{display:none!important}.required{color:var(--red)}.info{padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--accent-soft);color:var(--text);font-size:13px}.good{color:var(--green)}.error{color:var(--red)}
.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px;flex-wrap:wrap}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.side{position:sticky;top:95px;align-self:start}.nav-btn{width:100%;display:flex;justify-content:flex-start;color:var(--text);background:transparent;border:0;padding:11px 13px;border-radius:9px;font-size:14px;font-weight:530}.nav-btn.active{color:var(--accent);background:var(--accent-soft);font-weight:750}.kpi strong{font-size:27px;display:block;line-height:1.4}.kpi p{font-size:12px;color:var(--muted)}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid var(--line);padding:11px 10px;text-align:left;vertical-align:top}th{color:var(--muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.55px}td{overflow-wrap:anywhere}.form-tile{display:flex;gap:15px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:17px;margin-top:12px}.tile-name{font-weight:700}.tile-meta{font-size:12px;color:var(--muted)}
.builder-field{padding:17px;border:1px solid var(--line);border-radius:13px;margin-bottom:12px;background:var(--field)}.builder-head{display:flex;gap:7px;align-items:center;justify-content:space-between;margin-bottom:12px}.builder-head .move{min-width:34px;padding:7px}.builder-field .subgrid{display:grid;grid-template-columns:1fr 180px;gap:12px}.builder-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.form-main{max-width:790px;margin:auto}.form-top{border-top:6px solid var(--accent)}.question{border:1px solid var(--line);border-radius:12px;padding:19px;background:var(--paper);margin-top:14px}.question h3{font-size:16px;letter-spacing:0}.question .hint{margin:6px 0 12px}.section-head{margin-top:24px;background:var(--accent-soft);border-left:4px solid var(--accent);border-radius:10px;padding:17px}.section-head h3{font-size:18px}.progress-track{height:5px;border-radius:6px;background:var(--line);overflow:hidden}.progress-bar{height:100%;background:var(--accent);transition:width .2s}.chart{display:flex;align-items:flex-end;gap:7px;height:165px;padding:12px 4px 0;border-bottom:1px solid var(--line)}.bar{flex:1;background:linear-gradient(180deg,#69b3ff,#2373ec);border-radius:5px 5px 0 0;min-height:2px;position:relative}.barscale{display:flex;justify-content:space-between;gap:3px;font-size:10px;color:var(--muted);margin-top:6px}.stat-item{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;margin:11px 0}.stat-line{height:9px;background:var(--line);border-radius:9px;overflow:hidden;margin-top:4px}.stat-line span{height:100%;display:block;background:#448cf2}.toast{position:fixed;bottom:24px;right:24px;max-width:min(420px,calc(100vw - 48px));padding:12px 18px;border-radius:12px;background:#193756;color:#fff;box-shadow:0 10px 30px #0004;z-index:100;display:none}.toast.show{display:block}.loading{min-height:150px;display:flex;justify-content:center;align-items:center;gap:10px;color:var(--muted)}.spinner{width:21px;height:21px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:100%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.shell{grid-template-columns:1fr}.side{position:static;display:flex;flex-wrap:wrap;gap:4px}.nav-btn{width:auto}.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.app{padding:21px 13px 50px}.bar-inner{padding:0 13px}.topbar{height:64px}.hero{padding:24px 0}.hero-grid,.two,.three,.field-row,.builder-field .subgrid{grid-template-columns:1fr}.card,.panel{padding:17px}.four{grid-template-columns:repeat(2,minmax(0,1fr))}.form-tile{flex-direction:column;align-items:stretch}.connection{display:none}.pagehead h2{font-size:21px}.side{padding:10px}.nav-btn{font-size:12px;padding:9px 10px}.kpi strong{font-size:21px}}

/* V1.6.4: single-owner professional portal cards */
.admin-home{padding:54px 0 28px;text-align:center;max-width:860px;margin:auto}
.admin-home h1{font-size:clamp(29px,4.5vw,42px);line-height:1.14;letter-spacing:-.035em;margin:10px 0 9px}
.admin-home p{max-width:520px;margin:auto;font-size:14px;line-height:1.5}
.admin-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:840px;margin:0 auto}
.admin-home-grid>.portal-card{display:flex;align-items:flex-start;flex-direction:column;gap:0;min-width:0;min-height:236px;padding:28px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);text-align:left;transition:transform .2s,box-shadow .2s}
.admin-home-grid>.portal-card:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(29,60,99,.12)}
.portal-icon{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:12px;width:44px;height:44px;font-size:25px;font-weight:800}
.portal-icon.admin{background:var(--bg);color:var(--text)}
.admin-home-grid>.portal-card h2{font-size:20px;line-height:1.2;margin:17px 0 5px}
.admin-home-grid>.portal-card p.muted{font-size:13px;line-height:1.5;margin:0 0 22px}
.admin-home-grid>.portal-card .full{min-height:44px;margin-top:auto}
.portal-footnote{font-size:12px;line-height:1.6;text-align:center;margin:20px auto;color:var(--muted)}
.auth-form{max-width:100%}
.public-entry-lead{margin:18px 0}
.public-entry-lead p{margin-top:12px}
@media(max-width:700px){.admin-home{padding:31px 10px 23px}.admin-home-grid{grid-template-columns:1fr;gap:13px;max-width:510px}.admin-home-grid>.portal-card{min-height:185px;padding:21px}.admin-home-grid>.portal-card h2{font-size:19px;margin:12px 0 4px}.admin-home-grid>.portal-card p.muted{margin-bottom:14px}.portal-icon{width:39px;height:39px}.portal-footnote{padding:0 18px}}
@media(max-width:360px){.admin-home-grid>.portal-card{padding:16px}}

/* V1.5: Consumer-inspired OmniSight workspace; fixed nontransparent header, no horizontal overflow */
.omni-hero{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px;box-shadow:var(--shadow)}
.omni-header-left{display:flex;gap:15px;align-items:center;min-width:0}.omni-header-left h2{font-size:26px}.omni-header-left p{font-size:12px;color:var(--muted);margin-top:3px}.omni-glow-logo{height:57px;width:57px;flex-shrink:0;border:1px solid var(--line);background:linear-gradient(135deg,#1167e2,#103870);color:#fff;display:grid;place-items:center;font-size:30px;border-radius:16px;position:relative;box-shadow:0 0 17px rgba(54,141,255,.3)}.omni-glow-logo:after{content:'';position:absolute;inset:-2px;border-radius:18px;box-shadow:0 0 15px rgba(51,142,251,.35);animation:omniGlow 3.8s ease-in-out infinite;pointer-events:none}@keyframes omniGlow{0%,100%{opacity:.35}50%{opacity:1}}
.omni-kpis{margin-bottom:18px}.omni-section{max-width:100%;overflow:hidden}.omni-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 14px}.omni-tabs button{background:transparent;color:var(--muted);border:1px solid var(--line);font-size:12px;min-height:34px;padding:7px 12px}.omni-tabs button.current{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.omni-search-row{max-width:420px;margin-bottom:14px}.omni-section table{min-width:750px}.omni-footnote{margin-top:15px}.topbar{background:var(--paper)}
@media(max-width:600px){.omni-hero{padding:16px}.omni-header-left h2{font-size:22px}.omni-glow-logo{height:44px;width:44px;font-size:25px}.omni-actions{width:100%}.omni-actions button{flex:1;padding:8px 9px;font-size:12px}.omni-section{padding:14px}}
@media(prefers-reduced-motion:reduce){.omni-glow-logo:after{animation:none}}

/* Auth controls */
.omni-owner-account{margin-bottom:16px}
.omni-shield{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;border:1px solid var(--line);color:var(--accent);background:var(--accent-soft);font-size:30px}
.auth-links{gap:7px;flex-wrap:wrap}
.auth-links button{font-size:12px}

/* V1.6 editor clarity patch: independent, color-coded blocks, responsive actions */
.form-editor-panel{min-width:0}
.editor-subtitle{margin:5px 0 0}
.editor-form-meta{padding:19px 19px 3px;border:1px solid var(--line);background:var(--bg);border-radius:14px;margin-bottom:23px}
.editor-section-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.editor-section-toolbar .hint{margin-top:6px}
.editor-add-primary{box-shadow:0 4px 14px rgba(20,98,207,.2)}
.element-quickadd{display:flex;gap:8px;flex-wrap:wrap;padding:13px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin-bottom:16px}
.element-quickadd .quickadd-btn{border:1px solid var(--line);background:var(--paper);color:var(--text);font-size:12px;min-height:35px;padding:7px 11px;border-radius:9px;white-space:nowrap}
.element-quickadd .quickadd-btn:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.builder-field{--element-accent:#2675de;--element-wash:#eff6ff;background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--element-accent);border-radius:15px;padding:0;margin-bottom:15px;box-shadow:0 3px 12px rgba(18,55,87,.045);overflow:hidden;scroll-margin:100px}
.builder-field.element-structure{--element-accent:#7060d2;--element-wash:#f3f0ff}
.builder-field.element-text{--element-accent:#2675de;--element-wash:#eff6ff}
.builder-field.element-choice{--element-accent:#0c8c83;--element-wash:#eafaf7}
.builder-field.element-numeric{--element-accent:#b97925;--element-wash:#fff6e7}
.builder-field.element-upload{--element-accent:#b65985;--element-wash:#fff0f6}
.builder-head{padding:12px 14px;gap:12px;background:var(--element-wash);border-bottom:1px solid var(--line);margin-bottom:0}
.element-heading{display:flex;gap:10px;align-items:center;min-width:0;flex-wrap:wrap}
.element-icon{width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:var(--paper);border:1px solid var(--line);color:var(--element-accent);display:grid;place-items:center;font-size:17px;font-weight:800}
.element-meta{display:flex;flex-direction:column;line-height:1.25;gap:2px}.element-meta strong{font-size:13px;color:#182c42}.element-number{font-size:10px;color:#66788f;font-weight:700}
.element-category{font-size:10px;color:var(--element-accent);background:var(--paper);border:1px solid var(--line);padding:4px 8px;border-radius:30px;font-weight:700}
.builder-actions{margin-left:auto;gap:5px}.builder-actions button{min-width:32px;min-height:32px;padding:5px 7px;border-radius:8px;background:var(--paper);color:#23384e}
.element-body{padding:16px}.element-body .subgrid{grid-template-columns:minmax(0,1fr) minmax(165px,210px)}
.element-validation{padding:12px;background:var(--bg);border-radius:10px;margin-top:8px}
.element-conditional{border-top:1px dashed var(--line);padding-top:12px}
.editor-bottom-add{padding:10px 0 18px;text-align:center}
.editor-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:13px}
.editor-unsaved{background:#fff5db!important;color:#855a0c!important;border-color:#e6c982!important}
.editor-empty{border:1px dashed var(--line);border-radius:14px;text-align:center;padding:28px;color:var(--muted);margin-bottom:12px}
:root[data-theme="dark"] .builder-field{--element-wash:#1c344c}
:root[data-theme="dark"] .builder-field.element-structure{--element-wash:#292641}
:root[data-theme="dark"] .builder-field.element-choice{--element-wash:#193c3a}
:root[data-theme="dark"] .builder-field.element-numeric{--element-wash:#373020}
:root[data-theme="dark"] .builder-field.element-upload{--element-wash:#3a2636}
:root[data-theme="dark"] .element-meta strong,:root[data-theme="dark"] .builder-actions button{color:var(--text)}
:root[data-theme="dark"] .element-number{color:var(--muted)}
@media(max-width:750px){.element-body .subgrid{grid-template-columns:1fr}.builder-head{flex-wrap:wrap}.builder-actions{margin-left:0;width:100%;justify-content:flex-end}.element-quickadd{gap:6px;padding:9px}.element-quickadd .quickadd-btn{flex:1 1 calc(50% - 6px)}.editor-footer{flex-direction:column;align-items:stretch}.editor-footer .row{justify-content:stretch}.editor-footer button{flex:1}}

/* V1.6.5 Premium Minimalist — two distinct cards, light and dark, no blocking loaders. */
.premium-home{max-width:940px;margin:0 auto;padding:clamp(28px,7vh,78px) 12px 34px}
.premium-heading{text-align:center;margin:0 auto 32px}
.premium-overline{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:2.8px;color:var(--accent)}
.premium-heading h1{font-size:clamp(30px,4.8vw,45px);letter-spacing:-1.55px;margin:11px 0 7px;font-weight:780}
.premium-heading p{font-size:14px;color:var(--muted);margin:0}
.premium-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.premium-choice{position:relative;isolation:isolate;min-width:0;min-height:286px;display:flex;flex-direction:column;padding:29px;border:1px solid var(--line);border-radius:21px;background:var(--paper);box-shadow:0 12px 36px rgba(30,59,91,.065);overflow:hidden;transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}
.premium-choice:before{position:absolute;left:0;right:0;top:0;content:"";height:3px;background:linear-gradient(90deg,#1769e0,#7fbaff)}
.premium-admin:before{background:linear-gradient(90deg,#567492,#9db1c7)}
.premium-choice:hover{transform:translateY(-2px);box-shadow:0 17px 40px rgba(30,59,91,.12);border-color:color-mix(in srgb,var(--accent) 34%,var(--line))}
.premium-choice-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.premium-symbol{display:grid;place-items:center;width:49px;height:49px;background:var(--accent-soft);border:1px solid var(--line);color:var(--accent);border-radius:15px;font-size:28px;line-height:1}
.premium-symbol.premium-shield{background:var(--bg);color:var(--text)}
.premium-category{font-size:9px;font-weight:800;letter-spacing:1.1px;color:var(--muted)}
.premium-choice h2{font-size:24px;letter-spacing:-.8px;margin:23px 0 5px}
.premium-choice>p{font-size:13px;color:var(--muted);margin:0 0 26px;line-height:1.5}
.premium-choice button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:48px;margin-top:auto;border-radius:12px;font-size:14px;font-weight:700;transition:background .15s ease,border-color .15s ease}
.premium-choice button span{font-size:17px;line-height:1}
.premium-primary{background:#1769e0;color:#fff;border:1px solid #1769e0}
.premium-primary:hover{background:#0e58c9}
.premium-secondary{background:var(--accent-soft);color:var(--accent);border:1px solid var(--line)}
.premium-secondary:hover{border-color:var(--accent);background:var(--paper)}
.premium-help{text-align:center;font-size:12px;color:var(--muted);margin:22px 0 0}
.quiet-placeholder{min-height:185px;background:transparent}
.quiet-list-placeholder{height:60px;border-top:1px solid var(--line);margin-top:18px}
.quiet-data-placeholder{height:180px;box-shadow:none;min-height:0}
:root[data-theme="dark"] .premium-choice{box-shadow:0 14px 38px rgba(0,0,0,.17)}
:root[data-theme="dark"] .premium-primary{background:#226bdb;border-color:#226bdb;color:#fff}
:root[data-theme="dark"] .premium-secondary{background:#243650;color:#d8e7ff}
@media(max-width:660px){.premium-home{padding:25px 1px 18px}.premium-heading{margin-bottom:24px}.premium-choices{grid-template-columns:1fr;gap:13px;max-width:520px;margin:0 auto}.premium-choice{padding:22px;min-height:212px;border-radius:19px}.premium-choice h2{font-size:21px;margin-top:15px}.premium-choice>p{margin-bottom:17px}.premium-choice button{min-height:46px}.premium-symbol{width:43px;height:43px;font-size:24px}.premium-help{font-size:11px;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.premium-choice,.premium-choice button{transition:none}.premium-choice:hover{transform:none}}

/* V1.6.6: Auth form fits mobile viewport; never cause horizontal scrolling. */
html, body {width:100%;max-width:100%;overflow-x:clip}
#app, .app, .form-main, .form-main .panel {min-width:0;max-width:100%}
.form-main{width:100%;max-width:790px;margin:0 auto}
.auth-form,.auth-form>div,.auth-form .field{min-width:0;max-width:100%}
.auth-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.auth-links button{white-space:normal}
@media(max-width:600px){
  .bar-inner{min-width:0;width:100%;padding-inline:14px}
  .brand{min-width:0;flex-shrink:0}
  .brand strong{font-size:16px}
  .brand small{font-size:9px}
  .top-actions{min-width:0}
  .app{width:100%;padding:18px 13px 56px}
  .form-main{width:100%}
  .form-main .panel{padding:20px 16px;border-radius:17px}
  .form-main .panel h2{font-size:clamp(21px,6vw,26px)}
  .auth-links button{flex:0 1 auto;min-height:38px}
  .auth-form .field{font-size:16px}
}

/* v1.6.8 — required control at right, expanded catalog, instant editor interactions */
.element-validation{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.element-validation>.grow{flex:1 1 260px;min-width:0}
.element-validation .validation-spacer{flex:1 1 40px}
.element-validation .required-check{margin:0 0 5px auto;color:#c32237!important;font-weight:800;white-space:nowrap;min-height:43px;display:inline-flex;align-items:center;gap:10px;padding:8px 13px;border:1px solid rgba(195,34,55,.30);border-radius:10px;background:rgba(224,45,63,.07)}
.element-validation .required-check strong{color:#cf2538!important;font-weight:800}
.element-validation .required-check input{accent-color:#d62b41;width:18px;height:18px}
.element-catalog{margin:0 0 18px;padding:15px;border-radius:15px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.catalog-toggle{width:100%;margin:0 0 14px;border-radius:10px;font-size:13px}
.catalog-category{margin:0 0 16px}.catalog-category:last-child{margin-bottom:0}
.catalog-category>strong{display:block;font-size:12px;color:var(--muted);margin:0 0 8px}
.catalog-items{display:flex;flex-wrap:wrap;gap:8px}
.catalog-items .quickadd-btn{min-height:38px;padding:8px 12px;white-space:normal;text-align:left}
.catalog-symbol{color:var(--accent);font-weight:800}
.range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.range-fields label{font-size:12px}
.range-slider{display:flex;gap:15px;align-items:center}.range-slider input{width:100%;accent-color:var(--accent)}.range-slider output{min-width:60px;text-align:right;color:var(--accent);font-weight:750}
.rating-options{display:flex;flex-wrap:wrap;gap:9px}.rating-pill{border:1px solid var(--line);border-radius:9px;display:flex;gap:6px;align-items:center;padding:8px 11px;cursor:pointer}.rating-pill input{accent-color:var(--accent)}
.color-picker{display:flex;align-items:center;gap:10px}.color-picker input{width:72px;height:42px;padding:2px;border:1px solid var(--line);background:var(--field);border-radius:8px}
.form-divider{margin:22px 0 10px;padding:12px 0;border-bottom:2px solid var(--line);font-size:12px;color:var(--muted);font-weight:800;letter-spacing:.3px}
.geo-btn{margin-top:9px}.consent-line{padding:11px 13px;background:var(--accent-soft);border-radius:10px}
@media(max-width:600px){.range-fields{grid-template-columns:1fr}.element-validation .required-check{margin-left:auto}.catalog-items .quickadd-btn{flex:1 1 calc(50% - 8px)}}
:root[data-theme="dark"] .element-validation .required-check{background:rgba(240,75,94,.10);border-color:rgba(255,110,125,.4)}
:root[data-theme="dark"] .element-validation .required-check strong{color:#ff8998!important}

/* v1.6.8 — required control at right, expanded catalog, instant editor interactions */
.element-validation{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.element-validation>.grow{flex:1 1 260px;min-width:0}
.element-validation .validation-spacer{flex:1 1 40px}
.element-validation .required-check{margin:0 0 5px auto;color:#c32237!important;font-weight:800;white-space:nowrap;min-height:43px;display:inline-flex;align-items:center;gap:10px;padding:8px 13px;border:1px solid rgba(195,34,55,.30);border-radius:10px;background:rgba(224,45,63,.07)}
.element-validation .required-check strong{color:#cf2538!important;font-weight:800}
.element-validation .required-check input{accent-color:#d62b41;width:18px;height:18px}
.element-catalog{margin:0 0 18px;padding:15px;border-radius:15px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.catalog-toggle{width:100%;margin:0 0 14px;border-radius:10px;font-size:13px}
.catalog-category{margin:0 0 16px}.catalog-category:last-child{margin-bottom:0}
.catalog-category>strong{display:block;font-size:12px;color:var(--muted);margin:0 0 8px}
.catalog-items{display:flex;flex-wrap:wrap;gap:8px}
.catalog-items .quickadd-btn{min-height:38px;padding:8px 12px;white-space:normal;text-align:left}
.catalog-symbol{color:var(--accent);font-weight:800}
.range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.range-fields label{font-size:12px}
.range-slider{display:flex;gap:15px;align-items:center}.range-slider input{width:100%;accent-color:var(--accent)}.range-slider output{min-width:60px;text-align:right;color:var(--accent);font-weight:750}
.rating-options{display:flex;flex-wrap:wrap;gap:9px}.rating-pill{border:1px solid var(--line);border-radius:9px;display:flex;gap:6px;align-items:center;padding:8px 11px;cursor:pointer}.rating-pill input{accent-color:var(--accent)}
.color-picker{display:flex;align-items:center;gap:10px}.color-picker input{width:72px;height:42px;padding:2px;border:1px solid var(--line);background:var(--field);border-radius:8px}
.form-divider{margin:22px 0 10px;padding:12px 0;border-bottom:2px solid var(--line);font-size:12px;color:var(--muted);font-weight:800;letter-spacing:.3px}
.geo-btn{margin-top:9px}.consent-line{padding:11px 13px;background:var(--accent-soft);border-radius:10px}
@media(max-width:600px){.range-fields{grid-template-columns:1fr}.element-validation .required-check{margin-left:auto}.catalog-items .quickadd-btn{flex:1 1 calc(50% - 8px)}}
:root[data-theme="dark"] .element-validation .required-check{background:rgba(240,75,94,.10);border-color:rgba(255,110,125,.4)}
:root[data-theme="dark"] .element-validation .required-check strong{color:#ff8998!important}
/* V1.6.9 per-user Drive configuration */
.storage-tree{border:1px solid var(--border,#d3dfeb);border-radius:14px;padding:14px 16px;background:var(--surface-alt,rgba(88,145,200,.08));line-height:1.85;overflow-wrap:anywhere;font-size:.93rem}
@media(max-width:640px){.storage-tree{font-size:.85rem;padding:12px}}

/* V1.7.0: immediate profile navigation and responsive back control */
.profile-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.profile-back{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 16px;border:1px solid var(--line);background:var(--paper);color:var(--text);border-radius:12px;font-weight:700;cursor:pointer}
.profile-back span:first-child{font-size:23px;line-height:1}
.profile-back:hover{border-color:var(--accent);color:var(--accent)}
.profile-card{padding:25px}
.profile-card h2{margin-top:0}
.profile-summary{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:16px;min-width:0}
.profile-summary strong,.profile-detail strong{overflow-wrap:anywhere}
.profile-summary p{margin:4px 0 0}
.profile-avatar{display:grid;place-items:center;width:55px;height:55px;min-width:55px;border-radius:16px;background:var(--accent-soft);color:var(--accent);font-size:24px;font-weight:800}
.profile-detail{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.profile-detail>span{color:var(--muted)}
.editor-instant-shell{min-height:220px}
.editor-placeholder-fields{margin:20px 0}
.editor-placeholder-line{height:42px;margin:11px 0;border:1px solid var(--line);border-radius:11px;background:var(--field)}
.editor-placeholder-line.short{width:65%}
@media(max-width:600px){.profile-card{padding:20px 16px}.profile-detail{flex-direction:column;gap:4px}.profile-back{min-height:42px}}

/* V1.7.1 dashboard: cached snapshot renders in first frame, refresh is silent */
.cache-freshness{font-size:11px;color:var(--muted);margin-left:auto}
.dashboard-first-visit{max-width:520px;margin:15vh auto 0;padding:24px;text-align:center;color:var(--text)}
.dashboard-first-visit h2{font-size:23px;margin:0 0 8px}
.dashboard-first-visit p{font-size:12px;color:var(--muted)}

/* v1.7.1 — compact, accessible required switch and mandatory publication destination */
.required-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-height:40px;margin-left:auto;white-space:nowrap;cursor:pointer;color:var(--muted);font-size:13px;font-weight:700}
.required-toggle.is-on .required-label{color:#c42b40}
.required-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.required-track{width:40px;height:23px;min-width:40px;border-radius:20px;background:#a3afbd;position:relative;transition:background .15s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.required-track:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 4px #0002}
.required-toggle.is-on .required-track{background:#d53d51}
.required-toggle.is-on .required-track:before{transform:translateX(17px)}
.required-toggle:has(input:focus-visible) .required-track{outline:3px solid var(--accent);outline-offset:3px}
.publication-destination{border:1px solid var(--line);border-radius:16px;padding:18px;margin:18px 0 14px;background:var(--paper)}
.publication-heading{margin-bottom:15px}.publication-heading h3{margin:0 0 5px}.publication-heading p{margin:0}
.publication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.publication-grid .field-group,.publication-grid input,.publication-grid select{min-width:0;width:100%}
.destination-folder-preview{border:1px solid var(--line);background:var(--field);padding:11px 13px;border-radius:11px;margin:12px 0;overflow-wrap:anywhere;font-size:12px}
.destination-folder-preview .hint{display:block;margin:5px 0 0}
.publication-warning{background:rgba(213,61,81,.08);border:1px solid rgba(213,61,81,.28);padding:12px 14px;border-radius:10px;margin:12px 0;font-size:13px}
.publication-destination .row.between{align-items:center;flex-wrap:wrap;gap:12px}.publication-destination .row.between p{flex:1 1 230px}
@media(max-width:650px){.publication-grid{grid-template-columns:1fr}.publication-destination{padding:14px}.required-toggle{margin-left:auto}.publication-heading .badge{margin-left:0}}
@media(max-width:360px){.publication-destination{padding:12px}.publication-heading h3{font-size:17px}}
:root[data-theme="dark"] .required-toggle.is-on .required-label{color:#ff7b90}

/* V1.7.2: text selection is independent from drag reorder. */
.builder-field,.builder-field .element-body,.builder-field label,.builder-field .element-meta{user-select:text;-webkit-user-select:text}
.builder-field input,.builder-field textarea,.builder-field select{user-select:text;-webkit-user-select:text;touch-action:auto}
.builder-field .builder-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;border:1px dashed var(--line);border-radius:9px;color:var(--muted);background:var(--paper);font-size:22px;line-height:1;flex-shrink:0}
.builder-field .builder-drag-handle:active{cursor:grabbing}
.builder-field .builder-drag-handle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* V1.7.3: jelas bedakan pertanyaan dengan elemen tampilan, contoh respons live. */
.editor-purpose{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;border-radius:11px;padding:11px 13px;margin-bottom:16px;font-size:12px;line-height:1.5;background:var(--bg);border:1px solid var(--line);color:var(--text)}
.purpose-tag{font-size:10px;letter-spacing:.65px;font-weight:800;flex-shrink:0;border-radius:6px;padding:3px 7px}
.purpose-question .purpose-tag{background:rgba(19,151,127,.12);color:var(--green)}
.purpose-layout .purpose-tag{background:rgba(125,96,211,.13);color:#a58aff}
.editor-fields{margin-bottom:4px}
.editor-live-preview{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:16px 0 13px;background:var(--field);color:var(--text)}
.editor-preview-caption{display:flex;align-items:center;gap:6px;background:var(--bg);padding:9px 12px;border-bottom:1px solid var(--line);font-size:11px;font-weight:750}
.preview-eye{color:var(--accent)}.preview-only{font-size:9px;letter-spacing:.6px;color:var(--muted);margin-left:auto;font-weight:700}
.editor-preview-sample{padding:16px;pointer-events:none;user-select:text;-webkit-user-select:text}
.editor-preview-sample .sample-question{display:flex;flex-direction:column;gap:10px}
.editor-preview-sample .sample-question strong{font-size:13px}.sample-options{display:flex;gap:8px;flex-wrap:wrap;font-size:12px}.sample-options span{background:var(--paper);padding:7px 11px;border:1px solid var(--line);border-radius:8px}
.sample-control{display:block;border:1px solid var(--line);color:var(--muted);background:var(--paper);border-radius:9px;padding:9px 11px;width:min(100%,450px);font-size:12px}.sample-long{min-height:55px}
.sample-section{border-left:4px solid var(--accent);border-radius:7px;background:var(--accent-soft);padding:12px 15px}.sample-section strong{font-size:15px}
.sample-info{padding:4px}.sample-info p{font-size:12px;color:var(--muted);margin-top:5px}
.sample-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.sample-divider:before,.sample-divider:after{content:'';height:1px;flex:1;background:var(--line)}
.editor-choice-options{margin-top:15px}.editor-choice-options .hint{margin:5px 0 8px}
.editor-advanced{border-top:1px dashed var(--line);padding-top:12px;margin-top:13px}
.editor-advanced summary{cursor:pointer;font-size:12px;font-weight:750;color:var(--muted);user-select:none;padding:5px 0;list-style:revert}
.editor-advanced summary .hint{font-weight:400}.editor-advanced[open] summary{color:var(--accent)}
.editor-advanced .element-conditional{border-top:0;padding-top:0}
:root[data-theme="light"] .purpose-layout .purpose-tag{color:#654ac5}
@media(max-width:600px){.editor-purpose{flex-direction:column;gap:6px}.editor-preview-caption{font-size:10px}.editor-preview-sample{padding:12px}.editor-advanced summary .hint{display:block;margin-top:4px}.element-body{padding:13px}}

/* Type first, question second: consistent with steps in editor. */
.element-body .subgrid.editor-fields{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:13px}
@media(max-width:750px){.element-body .subgrid.editor-fields{grid-template-columns:1fr}}

/* V1.7.4 — Professional Minimalist: focus on the question, not instructions. */
.form-editor-panel{max-width:860px;margin-inline:auto;padding:22px;box-shadow:none}
.form-editor-panel .editor-subtitle{font-size:13px;margin-top:4px}
.form-editor-panel .editor-form-meta{background:transparent;border:0;border-radius:0;padding:0 0 8px;margin-bottom:22px}
.form-editor-panel .editor-form-meta .field-group{margin-bottom:12px}
.form-editor-panel .editor-form-meta input{font-size:20px;font-weight:650;letter-spacing:-.4px}
.form-editor-panel .editor-form-meta textarea{min-height:65px;font-size:15px}
.form-editor-panel .editor-section-toolbar{margin-bottom:12px}
.form-editor-panel .editor-section-toolbar h3{font-size:18px;letter-spacing:-.35px}
.form-editor-panel .editor-section-toolbar .hint{font-size:12px;margin-top:2px}
.form-editor-panel .editor-add-primary{font-size:13px}
.form-editor-panel .element-catalog{margin-bottom:14px}
.form-editor-panel .element-catalog .catalog-items{gap:7px}
.clean-builder-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;border-left:1px solid var(--line);margin:0 0 10px;box-shadow:none;overflow:visible;scroll-margin:90px}
.clean-builder-card.is-selected{border-left:4px solid var(--accent);box-shadow:0 4px 14px rgba(38,84,134,.045)}
.clean-editor-head{background:transparent;border:0;margin:0;padding:12px 13px;gap:7px;flex-wrap:nowrap}
.clean-builder-card.is-selected>.clean-editor-head{border-bottom:1px solid var(--line)}
.clean-question-toggle{display:flex;min-width:0;flex:1;gap:10px;align-items:center;justify-content:flex-start;background:transparent;border:0;padding:3px 4px;text-align:left;min-height:34px;color:var(--text);font-size:15px;font-weight:600;white-space:normal}
.clean-question-toggle:hover{filter:none;color:var(--accent)}
.clean-number{font-size:11px;font-weight:650;color:var(--muted);min-width:17px}
.clean-question-name{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.3}
.clean-question-type{font-size:12px;color:var(--muted);font-weight:450;white-space:nowrap;max-width:34%;overflow:hidden;text-overflow:ellipsis}
.clean-chevron{color:var(--muted);font-size:16px}
.clean-builder-card .builder-drag-handle{border:0;width:24px;height:28px;font-size:20px;opacity:.65}
.clean-builder-card .builder-actions{gap:4px;margin-left:5px;flex:0 0 auto;width:auto}
.clean-builder-card .builder-actions button{padding:4px;min-width:30px;min-height:30px;background:transparent;border:0;font-size:13px;color:var(--muted)}
.clean-builder-card .builder-actions button:hover{color:var(--accent);background:var(--accent-soft)}
.clean-builder-card .clean-question-body{padding:19px 20px 16px}
.clean-builder-card .editor-fields{grid-template-columns:minmax(0,1fr) minmax(155px,225px);gap:13px;margin-bottom:12px}
.clean-builder-card .field{background:var(--paper);font-size:15px;padding:11px 12px}
.clean-builder-card .clean-question-main input{font-size:16px}
.clean-builder-card label{font-size:13px;font-weight:600}
.clean-builder-card .editor-choice-options{margin:14px 0}
.clean-builder-card .editor-choice-options textarea{min-height:78px}
.clean-layout-note{font-size:12px;color:var(--muted);margin:6px 0 11px}
.clean-fixed-choice{display:flex;gap:21px;padding:13px 0;font-size:14px;color:var(--text)}
.clean-settings-row{display:flex;align-items:center;justify-content:space-between;gap:13px;border-top:1px solid var(--line);padding-top:9px;flex-wrap:wrap}
.clean-settings-row>.editor-advanced,.clean-settings-row>.editor-preview-collapsible{margin:0;border:0;padding:0;min-width:max-content}
.clean-settings-row details summary{cursor:pointer;color:var(--muted);font-size:12px;padding:8px 5px;font-weight:550;list-style:none;user-select:none}
.clean-settings-row details summary::-webkit-details-marker{display:none}
.clean-settings-row details[open] summary{color:var(--accent)}
.clean-settings-row .editor-advanced{order:1}
.clean-settings-row .editor-preview-collapsible{order:2;margin-right:auto}
.clean-settings-row>.required-toggle{order:3;margin-left:auto;font-size:13px;min-height:34px}
.clean-settings-row>.editor-advanced[open],.clean-settings-row>.editor-preview-collapsible[open]{flex:1 1 100%;order:4;min-width:0}
.clean-settings-content{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:10px;margin-top:5px}
.clean-settings-content .field-group:last-child{margin-bottom:0}
.clean-settings-row .editor-live-preview{margin:4px 0 8px}
.form-editor-panel .editor-bottom-add{padding:6px 0 22px}
.form-editor-panel .editor-bottom-add button{background:transparent;color:var(--accent);border-style:dashed}
.form-editor-panel .publication-destination{margin-top:12px}
:root[data-theme="dark"] .clean-builder-card{background:var(--paper);border-color:var(--line)}
:root[data-theme="dark"] .clean-builder-card .builder-actions button{color:var(--muted)}
:root[data-theme="dark"] .clean-builder-card .builder-actions button:hover{color:var(--accent)}
@media(max-width:680px){
 .form-editor-panel{padding:13px}
 .clean-editor-head{flex-wrap:wrap;gap:3px;padding:9px 10px}
 .clean-question-toggle{order:1;min-width:calc(100% - 35px);padding:4px 2px}
 .clean-builder-card .builder-drag-handle{order:0}
 .clean-builder-card .builder-actions{order:2;width:100%;justify-content:flex-end;margin:0;border-top:1px solid var(--line);padding-top:4px}
 .clean-builder-card .clean-question-body{padding:13px}
 .clean-builder-card .editor-fields{grid-template-columns:1fr}
 .clean-question-type{max-width:35%}
 .clean-settings-row{gap:5px}
 .clean-settings-row>.required-toggle{order:3;margin-left:auto}
 .form-editor-panel .editor-form-meta input{font-size:18px}
}
@media(max-width:360px){.clean-question-type{max-width:30%;font-size:11px}.clean-question-toggle{gap:5px}.clean-builder-card .builder-actions button{min-width:30px}.clean-settings-row>.editor-preview-collapsible{margin-right:0}}
/* Quiet add menu: neutral surfaces instead of a wall of primary buttons. */
.form-editor-panel .element-catalog{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px}
.form-editor-panel .element-catalog .catalog-category{margin-bottom:17px}
.form-editor-panel .element-catalog .catalog-category:last-child{margin-bottom:0}
.form-editor-panel .element-catalog .catalog-items .quickadd-btn{background:var(--paper)!important;color:var(--text)!important;border:1px solid var(--line);font-weight:550;box-shadow:none;min-height:37px}
.form-editor-panel .element-catalog .catalog-items .quickadd-btn:hover{background:var(--accent-soft)!important;color:var(--accent)!important;border-color:var(--accent)}
.form-editor-panel .element-catalog .catalog-symbol{color:var(--accent)}
.form-editor-panel .catalog-search-wrap{margin-bottom:15px}
.form-editor-panel .catalog-search-wrap input{font-size:14px;background:var(--paper)}
.form-editor-panel .element-catalog{max-height:360px;overflow-y:auto;overscroll-behavior:contain}
.form-editor-panel [data-add-type][hidden],.form-editor-panel .catalog-category[hidden]{display:none!important}
.clean-builder-card .element-body .subgrid.editor-fields{grid-template-columns:minmax(0,1fr) minmax(155px,225px)}
@media(max-width:680px){.clean-builder-card .element-body .subgrid.editor-fields{grid-template-columns:1fr}}

/* v1.7.5: saved editor renders immediately from per-tab cache; no loading shell */


/* V1.7.8 — Professional public form: concise copy, clear spacing, quiet surface */
.public-entry-page{max-width:670px;margin:0 auto}
.public-entry-panel{padding:34px 36px 29px;border-radius:16px;box-shadow:0 10px 32px rgba(24,55,97,.055)}
.public-intro{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:23px}
.public-intro h1{font-size:clamp(23px,3vw,31px);line-height:1.28;font-weight:650;letter-spacing:-.025em;overflow-wrap:break-word}
.public-intro-description{color:var(--muted);font-size:15px;line-height:1.55;margin:12px 0 0}
.public-entry-form{display:flex;flex-direction:column;gap:17px;margin:0}
.public-email-field label{font-size:14px;font-weight:600;margin:0 0 9px}
.public-email-field .field{font-size:16px;min-height:48px;background:var(--paper);padding:11px 14px}
.public-entry-form .public-recovery{margin:0;padding:0;border:0}
.public-recovery summary{cursor:pointer;display:inline-block;list-style:none;color:var(--accent);font-size:13px;line-height:1.5;font-weight:560;padding:3px 0;user-select:none}
.public-recovery summary::-webkit-details-marker{display:none}
.public-recovery summary:before{content:'▸';margin-right:7px;color:var(--muted);display:inline-block;transition:transform .15s}
.public-recovery[open] summary:before{transform:rotate(90deg)}
.public-recovery-inner{margin-top:10px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.public-recovery-inner label{font-size:13px;font-weight:600}
.public-recovery-inner .field{min-height:75px;background:var(--paper);font-size:13px}
.public-recovery-inner .hint{line-height:1.5;margin:7px 0 0}
.public-start-button{min-height:49px;font-size:15px;font-weight:650;letter-spacing:0;align-self:stretch}
.public-entry-note{border-top:1px solid var(--line);padding-top:16px;margin-top:23px;color:var(--muted);font-size:12px;line-height:1.6}
.public-form-title{font-size:clamp(23px,4vw,30px)!important;line-height:1.3;margin-top:10px!important;font-weight:650}
.public-form-description{font-size:14px;line-height:1.55;margin-top:9px}
.public-form-identity{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.public-form-identity .hint{font-size:13px;overflow-wrap:anywhere}
@media(max-width:600px){
 .public-entry-page{max-width:100%}
 .public-entry-panel{padding:25px 21px 23px;border-radius:16px}
 .public-intro{padding-bottom:17px;margin-bottom:20px}
 .public-intro h1{font-size:clamp(23px,6.2vw,28px);line-height:1.27}
 .public-intro-description{font-size:14px;margin-top:9px}
 .public-email-field .field{font-size:16px}
 .public-entry-note{font-size:12px;margin-top:20px}
}
@media(max-width:360px){.public-entry-panel{padding:22px 16px}.public-intro h1{font-size:23px}}

/* V1.7.9: quiet public identity, all content rendered as a complete frame */
.public-form-identity{min-height:32px}
.public-device-status{color:var(--muted);font-size:12px}
.public-entry-note{margin-top:18px}
@media(max-width:600px){.public-form-identity{gap:8px}.public-device-status{font-size:11px}}

/* V1.8.0: checking state is neutral, not a false Drive failure */
.destination-folder-check {padding: 12px 14px; border: 1px solid var(--border,#dce4ee); background: var(--surface-2,#f5f8fc); border-radius: 11px; font-size: 13px; color: var(--muted,#64748b); margin: 12px 0;}

/* V1.8.2 — concise, responsive Google identity entry */
.public-google-entry{border-top:1px solid var(--line,#e2e8f0);margin-top:20px;padding-top:23px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.public-google-label{margin:0;color:var(--ink,#17273b);font-size:15px;font-weight:600}
.google-login-mount{min-width:min(100%,260px);min-height:42px;display:flex;align-items:center;max-width:100%;overflow:hidden}
.public-google-entry .public-entry-note{font-size:12px;margin:0;line-height:1.5}
@media(max-width:450px){.public-google-entry{gap:12px}.google-login-mount{width:100%}.public-google-label{font-size:14px}}

/* V1.8.3 — multiple independent records, compact tabs and file attachments */
.entry-tabs-panel{padding:15px 18px;margin:12px 0 16px}
.entry-tabs{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:1px 2px 9px}
.entry-tab,.entry-add{flex:0 0 auto;max-width:310px;border-radius:10px;padding:11px 15px;font-size:13px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:1px solid var(--line);background:var(--paper);color:var(--text);font-weight:600}
.entry-tab.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.entry-add{color:var(--accent);border-style:dashed}
.entry-tab:focus-visible,.entry-add:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.entry-subtitle{font-size:12px;color:var(--muted);margin:1px 0 0}
.entry-uploads{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
.entry-file{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--bg);padding:7px 11px;border-radius:10px;min-width:0}
.entry-file a{display:block;min-width:0;overflow-wrap:anywhere;font-size:13px}
.entry-file button{flex:0 0 auto;min-width:32px}
@media(max-width:600px){.entry-tabs-panel{padding:12px}.entry-tab,.entry-add{padding:10px 12px;font-size:12px}.entry-subtitle{font-size:11px}}

/* V1.8.4 — batch template actions & editor public entry link */
.entry-copy{background:var(--accent-soft);border-style:solid;font-weight:600}
.entry-tabs-panel .entry-copy:hover{filter:brightness(.97)}
.editor-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
@media(max-width:600px){.editor-header-actions{width:100%;justify-content:flex-start}.entry-add{min-height:40px}}
.entry-tab-wrap{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;min-width:0}
.entry-tab-wrap .entry-tab{max-width:min(260px,65vw)}
.entry-tab-wrap .entry-delete{width:25px;min-width:25px;min-height:25px;height:25px;padding:0;flex:0 0 25px;border-radius:7px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:17px;font-weight:400;line-height:1}
.entry-tab-wrap .entry-delete:hover{border-color:var(--red);color:var(--red)}

/* V1.8.5 - editor-defined tab workflow */
.builder-tab-panel{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:18px;margin:22px 0 18px;min-width:0}
.builder-tab-header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.builder-tab-header h3{font-size:17px;font-weight:660;margin:0}
.builder-tab-header .hint{font-size:12px;margin:0}
.builder-tab-strip{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding:3px 0 11px;scrollbar-width:thin;max-width:100%}
.builder-tab-strip button{flex:0 0 auto;font-size:13px;font-weight:600;min-height:38px;white-space:nowrap;border-radius:9px}
.builder-tab-chip{background:var(--bg);border:1px solid var(--line);color:var(--text);padding:9px 13px}
.builder-tab-chip.selected{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
.builder-tab-create{padding:9px 12px;border:1px dashed var(--line);background:var(--paper);color:var(--accent)}
.builder-tab-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}
.builder-tab-controls .field-group{min-width:0;margin:0}
.builder-tab-controls .field{min-height:43px;font-size:15px}
.builder-tab-moves{display:flex;gap:6px;flex-wrap:nowrap}
.builder-tab-moves button{white-space:nowrap;min-height:39px}
.builder-tab-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:14px;margin-top:14px;border-top:1px solid var(--line)}
.builder-tab-options .check{font-size:13px;color:var(--text);display:flex;gap:7px;align-items:center;margin:0}
.builder-tab-options input{accent-color:var(--accent);width:17px;height:17px}
.public-entry-tab-title{font-size:17px;font-weight:650;line-height:1.4;margin:8px 0 15px;padding:0 4px}
.google-offline-state{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:12px;padding:15px 17px;display:grid;gap:6px;max-width:100%;font-size:14px;line-height:1.5}
.google-offline-state strong{font-size:14px;font-weight:650}
.google-offline-state span{font-size:13px;color:var(--muted)}
@media(max-width:620px){.builder-tab-panel{padding:13px}.builder-tab-controls{grid-template-columns:1fr}.builder-tab-moves{justify-content:flex-start}.builder-tab-options{gap:10px}.builder-tab-header{display:block}.builder-tab-header .hint{display:block;margin-top:3px}.public-entry-tab-title{font-size:16px}}

/* V1.8.5: discrete destructive action in forms listing */
.form-delete-action{color:var(--red);border-color:var(--line);background:transparent}
.form-delete-action:hover{border-color:var(--red)}
.form-tile .row{flex-wrap:wrap;gap:7px}
@media(max-width:620px){.form-tile{flex-wrap:wrap;gap:12px}.form-tile .row{width:100%;justify-content:flex-start}}

/* V1.8.7: retain readable Google login label on dark/light themes. */
.public-google-label{color:var(--text,inherit);opacity:1}

/* V1.8.9 — public links, accessible form-list actions, and immediate first paint */
.form-list-heading{gap:10px}
.form-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 20px;border-radius:14px;background:var(--paper);transition:border-color .12s ease,box-shadow .12s ease}
.form-tile:hover{border-color:color-mix(in srgb,var(--accent) 26%,var(--line));box-shadow:0 5px 18px rgba(20,60,120,.055)}
.form-tile-info{min-width:0}
.form-tile .tile-name{font-size:15px;line-height:1.35;letter-spacing:-.13px;font-weight:700;color:var(--text)}
.form-tile .tile-meta{font-size:12px;margin-top:5px;line-height:1.45}
.form-tile .tile-public-url{display:block;max-width:100%;width:fit-content;margin-top:10px;color:var(--accent);font-weight:550;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none;border-bottom:1px solid transparent}
.form-tile .tile-public-url:hover{text-decoration:none;border-color:currentColor}
.form-tile .form-tile-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap}
.form-tile-actions .button,.form-tile-actions button{min-height:37px;padding:8px 12px;font-size:12px;font-weight:650;white-space:nowrap}
.form-tile-actions .public-open-link{background:var(--accent);border:1px solid var(--accent);color:#fff;border-radius:9px;box-shadow:0 3px 11px rgba(25,99,215,.13)}
.form-tile-actions .public-open-link:hover,.form-tile-actions .public-open-link:focus-visible{color:#fff;text-decoration:none}
.public-entry-page .public-intro{margin-bottom:0}
.public-entry-page .public-google-entry{border-top:0;margin-top:0;padding-top:24px}
.public-entry-page .public-google-label{font-size:15px;color:var(--text);font-weight:650;letter-spacing:0}
.public-entry-page .public-intro h1{letter-spacing:-.55px}
.public-opening-body{padding-top:22px;color:var(--muted);font-size:13px;line-height:1.5}
.public-opening{min-height:180px}
:root[data-theme="dark"] .form-tile:hover{box-shadow:0 4px 14px rgba(0,0,0,.13)}
@media(max-width:1150px){.form-tile{grid-template-columns:1fr}.form-tile .form-tile-actions{justify-content:flex-start}}
@media(max-width:620px){
 .form-tile{display:flex;flex-direction:column;align-items:stretch;padding:15px;gap:13px}
 .form-tile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
 .form-tile-actions .button,.form-tile-actions button{width:100%;min-width:0;min-height:41px;white-space:normal;text-align:center}
 .form-tile-actions .public-open-link{grid-column:1/-1;min-height:44px}
 .form-tile .tile-public-url{font-size:12px;max-width:100%}
 .public-entry-page .public-google-entry{padding-top:19px}
}

/* V1.9.0 — stable menu switches, concise Google sign-in, accessible focus */
.shell > section{min-width:0;min-height:calc(100svh - 260px)}
.nav-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.data-wait-panel{min-height:220px;display:flex;flex-direction:column;justify-content:flex-start;gap:6px}
.data-wait-panel .hint{margin-top:6px}
.public-google-entry{align-items:center;text-align:center}
.public-google-label{font-size:15px;font-weight:650;color:var(--text);letter-spacing:0}
.google-login-mount{display:flex;justify-content:center;width:100%;min-height:40px}
.public-google-entry .public-entry-note{max-width:390px;text-align:center;margin:0 auto}
@media(max-width:600px){.shell > section{min-height:calc(100svh - 245px)}.data-wait-panel{min-height:160px}}


/* mySIMAN Forms V1.9.0 — portal & theme alignment with Consumer. UI-only. */
:root[data-theme="dark"]{
 --bg:#061b2e;--paper:#0d273e;--text:#e9f5ff;--muted:#a4bacb;
 --line:#20516d;--accent:#46d4e6;--accent-soft:#123b53;--field:#09243a;
 --shadow:0 14px 38px rgba(0,0,0,.22);--green:#66e0bb;--red:#ff98a7;
}
:root[data-theme="dark"] body{background:radial-gradient(ellipse at 50% 33%,#113857 0%,#061b2e 56%,#041222 100%)}
:root[data-theme="dark"] .topbar{background:rgba(5,21,37,.98);border-bottom-color:rgba(78,215,232,.18)}
:root[data-theme="dark"] .footer{border-top-color:rgba(78,215,232,.16)}
:root[data-theme="dark"] .brand-icon{background:linear-gradient(130deg,#144868,#087d97)}
.brand-icon img{width:31px;height:35px;object-fit:contain;display:block}
:root[data-theme="dark"] .panel,:root[data-theme="dark"] .card{background:#0d273e;border-color:#20516d}
:root[data-theme="dark"] .field{background:#082237;border-color:#20516d;color:#e9f5ff}
:root[data-theme="dark"] .field::placeholder{color:#8ca9bf}
:root[data-theme="dark"] .button.sec,:root[data-theme="dark"] .sec{background:#133751;color:#e6faff;border-color:#285a77}
:root[data-theme="dark"] .ghost{color:#e9f5ff;background:#0b273d;border-color:#275672}
:root[data-theme="dark"] button:not(.ghost):not(.sec):not(.bare):not(.nav-btn):not(.forms-access-button):not(.forms-portal-theme):not(.entry-tab):not(.entry-add):not(.entry-delete):not(.builder-tab-chip):not(.builder-tab-create):not(.builder-tab-moves button){background-color:#0a7894}
:root[data-theme="dark"] .form-tile-actions .public-open-link{background:#087c99;border-color:#17b7cb;color:#fff}
/* Landing: no dashboard chrome; preserve it on editor, public forms and owner. */
body:has(.forms-entry) .topbar,body:has(.forms-entry) .footer,
body:has(.forms-auth-shell) .topbar,body:has(.forms-auth-shell) .footer{display:none}
body:has(.forms-entry) .app{max-width:none;width:100%;min-height:100dvh;display:flex;justify-content:center;align-items:center;padding:24px clamp(14px,3vw,32px);margin:0}
body:has(.forms-auth-shell) .app{max-width:none;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px 16px}
.forms-entry{position:relative;isolation:isolate;width:100%;max-width:1168px;margin:auto;text-align:center;padding:30px 0 14px;color:var(--text)}
.forms-entry-brand{max-width:780px;margin:0 auto 23px}
.forms-logo-wrap{position:relative;display:block;width:132px;margin:0 auto 18px;isolation:isolate}
.forms-entry-logo{width:100%;height:auto;display:block;position:relative;z-index:1;filter:drop-shadow(0 0 8px rgba(30,227,246,.15))}
/* Glow is subtle and alpha-clipped to the logo, never a sweeping rectangle. */
.forms-logo-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
 background:linear-gradient(115deg,transparent 27%,rgba(97,249,255,.02) 42%,rgba(132,253,255,.56) 50%,rgba(97,249,255,.04) 58%,transparent 74%);
 background-size:290% 100%;background-position:140% 0;
 -webkit-mask-image:url('/forms-mysiman-logo.png');mask-image:url('/forms-mysiman-logo.png');
 -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 animation:forms-logo-sweep 5.8s ease-in-out infinite}
@keyframes forms-logo-sweep{0%,18%{background-position:140% 0}58%,100%{background-position:-45% 0}}
.forms-entry-kicker{text-transform:uppercase;font-size:12px;font-weight:850;letter-spacing:3px;color:var(--accent);margin-bottom:8px}
.forms-entry-brand h1{font-size:clamp(30px,4vw,43px);font-weight:800;letter-spacing:-1.2px;margin:0 0 7px;color:var(--text)}
.forms-entry-brand p{font-size:15px;color:var(--muted);margin:0}
.forms-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:850px;margin:auto}
.forms-access-card{position:relative;min-width:0;min-height:290px;display:flex;flex-direction:column;align-items:center;
 border:1px solid var(--line);border-radius:23px;padding:33px 26px;background:var(--paper);color:var(--text);
 box-shadow:0 12px 34px rgba(0,0,0,.14);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
 animation:forms-card-in .45s ease both}
.forms-access-card:nth-child(2){animation-delay:.09s}
@keyframes forms-card-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.forms-access-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 15px 34px rgba(0,0,0,.18)}
:root[data-theme="dark"] .forms-access-card{background:linear-gradient(180deg,#112f48 0%,#092238 100%);border-color:#205674}
:root[data-theme="dark"] .forms-access-card:hover{border-color:#3d94ae}
.forms-access-icon{width:61px;height:61px;border-radius:18px;display:grid;place-items:center;flex:none;margin:0 auto 20px;
 color:var(--accent);background:var(--accent-soft);border:1px solid var(--line)}
.forms-access-card h2{font-size:24px;font-weight:800;letter-spacing:-.7px;margin:0 0 11px;color:var(--text)}
.forms-access-card p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 28px;max-width:270px}
.forms-access-card .forms-access-button{margin:auto auto 0;width:auto;min-width:137px;min-height:46px;padding:9px 17px;
 border-radius:999px;border:1px solid var(--line);background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:750;gap:8px;box-shadow:none}
.forms-access-card .forms-access-button:hover{border-color:var(--accent);filter:brightness(1.1)}
.forms-entry-note{margin:21px auto 0;font-size:12px;color:var(--muted);max-width:700px}
.forms-portal-theme{position:fixed;right:28px;top:24px;width:41px;height:41px;min-height:0;padding:0;display:grid;place-items:center;z-index:10;
 border-radius:11px;border:1px solid var(--line);background:var(--paper);color:var(--accent)}
.forms-portal-theme:hover{border-color:var(--accent)}
/* Forms User and Administrator: same branding as landing; no authentication changes. */
.forms-auth-shell{width:100%;max-width:500px;margin:auto}
.forms-auth-card{padding:29px 32px;border-radius:23px}
.forms-auth-brand{text-align:center;margin:0 auto 23px}
.forms-auth-logo-wrap{width:111px;margin-bottom:12px}
.forms-auth-brand h2{font-size:29px;margin:0 0 8px;line-height:1.2;color:var(--text)}
.forms-auth-brand p{margin:0;color:var(--muted);font-size:13px}
.forms-auth-brand .forms-entry-kicker{font-size:10px;letter-spacing:2.4px}
.forms-auth-card .auth-links{justify-content:center}
.forms-auth-card .auth-form>button[type=submit]{min-height:46px}
@media(max-width:650px){
 body:has(.forms-entry) .app{align-items:flex-start;padding:15px 17px 25px}
 .forms-entry{padding:10px 0 12px}
 .forms-logo-wrap{width:106px;margin-bottom:9px}
 .forms-entry-brand{margin-bottom:17px}
 .forms-entry-brand h1{font-size:clamp(28px,8.4vw,37px)}
 .forms-entry-brand p{font-size:13px}
 .forms-access-grid{grid-template-columns:1fr;gap:12px;max-width:470px}
 .forms-access-card{min-height:200px;padding:19px 18px;border-radius:19px}
 .forms-access-icon{width:45px;height:45px;margin-bottom:8px;border-radius:14px}
 .forms-access-icon svg{height:24px;width:24px}
 .forms-access-card h2{font-size:20px;margin-bottom:5px}
 .forms-access-card p{font-size:12px;margin-bottom:13px}
 .forms-access-card .forms-access-button{min-height:36px;padding:7px 15px}
 .forms-entry-note{margin-top:12px;font-size:11px}
 .forms-portal-theme{top:12px;right:13px;width:35px;height:35px}
 .forms-auth-card{padding:22px 18px}
 .forms-auth-logo-wrap{width:91px}
 .forms-auth-brand h2{font-size:25px}
}
@media(max-width:650px) and (max-height:680px){
 .forms-logo-wrap{width:82px;margin-bottom:4px}
 .forms-entry-brand{margin-bottom:9px}
 .forms-entry-brand h1{font-size:28px;margin:0 0 3px}
 .forms-entry-brand p{font-size:12px}
 .forms-access-card{min-height:160px;padding:10px 14px}
 .forms-access-icon{width:38px;height:38px;margin-bottom:4px}
 .forms-access-icon svg{width:20px;height:20px}
 .forms-access-card h2{font-size:18px;margin-bottom:3px}
 .forms-access-card p{margin-bottom:7px}
 .forms-access-card .forms-access-button{min-height:32px;padding:4px 12px}
 .forms-entry-note{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.forms-access-card{animation:none;transition:none}.forms-logo-wrap:after{animation:none}}
@media(min-width:651px) and (max-height:760px){
 .forms-entry{padding:6px 0}
 .forms-logo-wrap{width:113px;margin-bottom:9px}
 .forms-entry-brand{margin-bottom:15px}
 .forms-entry-brand h1{font-size:37px;margin-bottom:5px}
 .forms-access-card{min-height:269px;padding:26px 22px}
 .forms-access-icon{width:54px;height:54px;margin-bottom:15px}
 .forms-entry-note{margin-top:12px}
}


/* FORMS V1.9.0-P2: visual parity to Consumer H277C163 portal. No auth/backend change. */
:root[data-theme="dark"] body:has(.forms-entry),
:root[data-theme="dark"] body:has(.forms-auth-shell){
 background:radial-gradient(ellipse at 12% 5%,#17435466,transparent 52%),
            radial-gradient(ellipse at 95% 100%,#173b5b55,transparent 52%),#061522;
}
:root[data-theme="dark"] .forms-entry,:root[data-theme="dark"] .forms-auth-shell{color:#edf7fc}
body:has(.forms-entry) .app{padding:28px 16px;min-height:100dvh;align-items:center}
.forms-entry{max-width:1080px;padding:clamp(8px,2dvh,24px) 6px;}
.forms-entry-brand{display:flex;align-items:center;flex-direction:column;gap:6px;margin-bottom:clamp(12px,2.5dvh,26px)}
.forms-logo-wrap{position:relative;display:block;flex:none;isolation:isolate;width:calc(clamp(70px,16dvh,138px)*.8002853);height:clamp(70px,16dvh,138px);margin:0 auto;line-height:0}
.forms-entry-logo{display:block;width:100%;height:100%;max-width:none;object-fit:fill;position:relative;z-index:1;filter:drop-shadow(0 0 11px rgba(68,233,245,.12))}
.forms-logo-wrap::after{display:none!important}
.forms-logo-glow-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;isolation:isolate;z-index:2}
.forms-logo-glow-window{position:absolute;top:0;bottom:0;left:0;width:18%;height:100%;overflow:hidden;contain:strict;opacity:.98;mix-blend-mode:screen;
 -webkit-mask-image:linear-gradient(90deg,transparent,#0003 9%,#0009 23%,#000 38%,#000 62%,#0009 77%,#0003 91%,transparent);
 mask-image:linear-gradient(90deg,transparent,#0003 9%,#0009 23%,#000 38%,#000 62%,#0009 77%,#0003 91%,transparent);
 animation:formsC163GlowWindow 3.72s linear infinite;
}
.forms-logo-glow-window>img{position:absolute;top:0;left:0;width:555.555556%;max-width:none;height:100%;max-height:none;object-fit:fill;filter:none;animation:formsC163GlowCounter 3.72s linear infinite;pointer-events:none}
@keyframes formsC163GlowWindow{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(555.555556%,0,0)}}
@keyframes formsC163GlowCounter{from{transform:translate3d(18%,0,0)}to{transform:translate3d(-100%,0,0)}}
.forms-entry-kicker{font-size:11px;font-weight:800;letter-spacing:.2em;line-height:1.5;text-transform:uppercase;color:#65e6ee;margin:0}
.forms-entry-brand h1{font-size:clamp(23px,3.5vw,36px);font-weight:740;letter-spacing:-.04em;line-height:1.2;margin:0;color:#edf7fc}
.forms-entry-brand p{color:#a8c3d0;font-size:clamp(12px,1.5vw,14px);line-height:1.5;margin:0}
.forms-access-grid{max-width:790px;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(9px,1.8vw,18px);width:100%}
.forms-access-card, :root[data-theme="dark"] .forms-access-card{min-height:0;height:clamp(200px,35dvh,315px);padding:clamp(16px,2.4vw,30px);gap:clamp(9px,2dvh,18px);
 display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
 border:1px solid rgba(78,186,217,.34);border-radius:20px;background:linear-gradient(165deg,#103049,#092036);
 box-shadow:0 12px 30px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.05);
 transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
 animation:formsC163CardIn .38s ease-out both;color:#effbff}
.forms-access-card:nth-child(2){animation-delay:55ms}
@keyframes formsC163CardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.forms-access-card:hover,:root[data-theme="dark"] .forms-access-card:hover{transform:translateY(-4px);border-color:#57e9eb;box-shadow:0 15px 34px rgba(0,0,0,.21),0 0 0 1px rgba(50,233,229,.11)}
.forms-access-card:active{transform:translateY(-1px) scale(.99)}
.forms-access-card:focus-within{outline:2px solid #55eff2;outline-offset:3px}
.forms-access-icon{width:clamp(48px,7dvh,70px);height:clamp(48px,7dvh,70px);border-radius:17px;display:grid;place-items:center;flex:none;margin:0;color:#75f5f2;background:#103f51;border:1px solid rgba(81,233,232,.24)}
.forms-access-icon svg{width:31px;height:31px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.forms-access-card h2{font-size:clamp(17px,2vw,22px);font-weight:750;line-height:1.3;letter-spacing:-.025em;margin:0;color:#effbff}
.forms-access-card p{min-height:2.8em;max-width:200px;color:#abc5d2;font-size:13px;line-height:1.45;margin:0}
.forms-access-card .forms-access-button{width:auto;min-width:0;min-height:0;padding:8px 18px;margin:0;
 font-size:12px;font-weight:750;color:#83f0ed;border-radius:999px;border:1px solid rgba(89,236,239,.26);background:#0d3445;box-shadow:none;line-height:1.55}
.forms-access-card .forms-access-button span{font-size:17px;vertical-align:-1px;line-height:1}
.forms-entry-note{margin:2px 0 0;color:#8daab9;font-size:11px;line-height:1.5;max-width:none}
.forms-portal-theme{width:36px;height:36px;top:clamp(12px,2.2dvh,24px);right:clamp(12px,2vw,26px);border-radius:11px;
 border:1px solid rgba(87,192,223,.36);background:#0b293e;color:#b5f4f7}
.forms-portal-theme:hover{background:#17425a;border-color:#5debe9}
.forms-auth-logo-wrap{width:calc(clamp(65px,14dvh,120px)*.8002853);height:clamp(65px,14dvh,120px);margin-bottom:12px}
.forms-auth-logo{height:100%;width:100%}
@media(max-width:650px){
 body:has(.forms-entry) .app{align-items:center;padding:12px 14px 20px}
 .forms-entry{padding:8px 6px}
 .forms-logo-wrap{height:clamp(45px,10dvh,70px);width:calc(clamp(45px,10dvh,70px)*.8002853)}
 .forms-entry-brand{margin-bottom:12px;gap:5px}
 .forms-entry-brand h1{font-size:clamp(23px,6.6vw,30px)}
 .forms-access-grid{grid-template-columns:1fr;gap:9px;max-width:430px}
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(114px,24dvh,152px);padding:11px 15px;gap:7px;border-radius:17px}
 .forms-access-icon{width:38px;height:38px;min-width:38px;min-height:38px;border-radius:12px}
 .forms-access-icon svg{width:21px;height:21px}
 .forms-access-card h2{font-size:17px}
 .forms-access-card p{min-height:0;font-size:11px}
 .forms-access-card .forms-access-button{padding:5px 14px;font-size:11px}
 .forms-entry-note{margin-top:4px;font-size:10px}
}
@media(max-width:650px) and (max-height:590px){
 .forms-logo-wrap{height:48px;width:38.4px}
 .forms-entry-brand{gap:2px;margin-bottom:6px}
 .forms-entry-brand h1{font-size:22px}
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(86px,21dvh,112px);padding:8px 12px;gap:3px}
 .forms-access-icon{width:30px;height:30px;min-width:30px;min-height:30px}
 .forms-access-icon svg{width:17px;height:17px}
 .forms-access-card h2{font-size:14px}
 .forms-access-card p{font-size:10px}
 .forms-access-card .forms-access-button{font-size:10px;padding:3px 11px}
 .forms-entry-note{font-size:9px}
}
@media(min-width:651px) and (max-height:690px){
 .forms-entry-brand{margin-bottom:15px}
 .forms-logo-wrap{height:95px;width:76px}
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(200px,35dvh,280px)}
}
@media(prefers-reduced-motion:reduce){
 .forms-access-card{animation:none!important;transition:none!important}
 .forms-logo-glow-window,.forms-logo-glow-window>img{animation:none!important;opacity:0!important}
}


/* Forms Consumer visual parity: mobile cards use same horizontal row pattern as Consumer. */
.forms-access-card{cursor:pointer}
.forms-entry-note{margin-top:18px}
@media(min-width:651px){.forms-entry{transform:translateY(17px)}}
@media(max-width:650px){
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{
  flex-direction:row;text-align:left;justify-content:flex-start;flex-wrap:wrap;align-content:center;
  height:clamp(100px,18dvh,148px);gap:10px;padding:clamp(11px,2dvh,20px);border-radius:15px;
 }
 .forms-access-icon{width:46px;height:46px;min-width:46px;min-height:46px;flex:0 0 46px;border-radius:12px}
 .forms-access-icon svg{width:24px;height:24px}
 .forms-access-card h2{flex:1 1 calc(100% - 76px);font-size:17px}
 .forms-access-card p{font-size:12px;flex:1 1 55%;min-height:0;margin-left:60px}
 .forms-access-card .forms-access-button{display:none}
 .forms-entry-note{margin-top:12px}
}
@media(max-width:650px) and (max-height:630px){
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(66px,17dvh,98px);gap:6px}
 .forms-access-icon{width:35px;height:35px;min-width:35px;min-height:35px;flex-basis:35px}
 .forms-access-card h2{font-size:14px;flex-basis:calc(100% - 55px)}
 .forms-access-card p{font-size:11px;margin-left:41px}
 .forms-entry-note{display:none}
}
@media(max-width:650px) and (max-height:430px){
 .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:60px;padding:8px 12px}
 .forms-access-card p{display:none}
}

/* Keep the existing light/dark switch useful on the Forms welcome screen. */
:root[data-theme="light"] body:has(.forms-entry),:root[data-theme="light"] body:has(.forms-auth-shell){background:radial-gradient(ellipse at 50% 22%,#edf8ff 0%,#f5f9fe 65%,#eaf2f9 100%)}
:root[data-theme="light"] .forms-entry-brand h1{color:#14314b}
:root[data-theme="light"] .forms-entry-brand p{color:#5c7891}
:root[data-theme="light"] .forms-entry-kicker{color:#087c9e}
:root[data-theme="light"] .forms-access-card{background:linear-gradient(165deg,#ffffff,#edf6fc);border-color:#c4dce9;box-shadow:0 12px 30px #123a4d13,inset 0 1px #ffffffbf;color:#153d51}
:root[data-theme="light"] .forms-access-card h2{color:#16364a}
:root[data-theme="light"] .forms-access-card p{color:#52738b}
:root[data-theme="light"] .forms-access-icon{color:#087c9e;background:#dff4f6;border-color:#a6e4eb}
:root[data-theme="light"] .forms-access-card .forms-access-button{color:#067894;background:#e4f5f9;border-color:#b3dee7}
:root[data-theme="light"] .forms-entry-note{color:#5c7891}
:root[data-theme="light"] .forms-portal-theme{background:#edf8fc;color:#087c9e;border-color:#b2dce9}


/* Forms Consumer visual parity v3: portal layout now follows Consumer more closely. */
body:has(.forms-entry) .app{
  padding:clamp(8px,2dvh,24px) 16px!important;
  min-height:100dvh!important;
  align-items:center!important;
}
.forms-entry{
  max-width:1080px!important;
  width:100%!important;
  padding:clamp(8px,2dvh,24px) 6px 0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(12px,2.5dvh,26px)!important;
  transform:none!important;
}
.forms-entry-brand{
  width:100%!important;
  max-width:780px!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
}
.forms-entry-kicker{font-size:11px!important;font-weight:800!important;letter-spacing:.2em!important;line-height:1.5!important;color:#65e6ee!important;margin:0!important}
.forms-entry-brand h1{font-size:clamp(23px,3.5vw,36px)!important;font-weight:740!important;letter-spacing:-.04em!important;line-height:1.2!important;margin:0!important;color:#edf7fc!important}
.forms-entry-brand p{font-size:clamp(12px,1.5vw,14px)!important;line-height:1.5!important;color:#a8c3d0!important;margin:0!important}
.forms-access-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(320px,430px))!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:clamp(18px,1.8vw,22px)!important;
  width:100%!important;
  max-width:878px!important;
  margin:0 auto!important;
}
.forms-access-card, :root[data-theme="dark"] .forms-access-card{
  appearance:none;-webkit-appearance:none;color:#effbff;min-width:0;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;gap:clamp(9px,2dvh,18px)!important;padding:clamp(16px,2.4vw,30px)!important;
  height:clamp(200px,35dvh,315px)!important;border-radius:20px!important;
  border:1px solid rgba(78,186,217,.34)!important;background:linear-gradient(165deg,#103049,#092036)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.05)!important;
  cursor:pointer!important;transform:translateY(0)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease!important;
}
.forms-access-card:nth-child(2){animation-delay:55ms!important}
.forms-access-card:hover,:root[data-theme="dark"] .forms-access-card:hover{transform:translateY(-4px)!important;border-color:#57e9eb!important;box-shadow:0 15px 34px rgba(0,0,0,.21),0 0 0 1px rgba(50,233,229,.11)!important}
.forms-access-card:active{transform:translateY(-1px) scale(.99)!important}
.forms-access-card:focus-visible,.forms-access-card:focus-within{outline:2px solid #55eff2!important;outline-offset:3px!important}
.forms-access-icon{width:clamp(48px,7dvh,70px)!important;height:clamp(48px,7dvh,70px)!important;border-radius:17px!important;display:grid!important;place-items:center!important;flex:none!important;margin:0!important;color:#75f5f2!important;background:#103f51!important;border:1px solid rgba(81,233,232,.24)!important}
.forms-access-icon svg{width:31px!important;height:31px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.forms-access-card h2{font-size:clamp(17px,2vw,22px)!important;line-height:1.3!important;letter-spacing:-.025em!important;font-weight:750!important;margin:0!important;color:#effbff!important;flex:0 0 auto!important}
.forms-access-card p{min-height:2.8em!important;max-width:200px!important;color:#abc5d2!important;font-size:13px!important;line-height:1.45!important;margin:0!important;flex:0 0 auto!important}
.forms-access-card .forms-access-button{width:auto!important;min-width:0!important;min-height:0!important;padding:8px 18px!important;margin:0!important;border-radius:999px!important;border:1px solid rgba(89,236,239,.26)!important;background:#0d3445!important;color:#83f0ed!important;font-size:12px!important;font-weight:750!important;display:inline-flex!important}
.forms-access-card .forms-access-button span{font-size:17px!important;vertical-align:-1px!important;line-height:1!important;margin-left:5px!important}
.forms-entry-note{margin:2px 0 0!important;color:#8daab9!important;font-size:11px!important;line-height:1.5!important;max-width:none!important;text-align:center!important}
.forms-portal-theme{position:fixed!important;top:clamp(12px,2.2dvh,24px)!important;right:clamp(12px,2vw,26px)!important;width:36px!important;height:36px!important;min-height:0!important;padding:0!important;display:grid!important;place-items:center!important;z-index:20!important;border:1px solid rgba(87,192,223,.36)!important;border-radius:11px!important;background:#0b293e!important;color:#b5f4f7!important;transition:background-color .16s ease,border-color .16s ease!important}
.forms-portal-theme:hover{background:#17425a!important;border-color:#5debe9!important}
@media(max-width:930px){
  .forms-access-grid{grid-template-columns:repeat(2,minmax(280px,1fr))!important;max-width:860px!important}
}
@media(max-width:650px){
  body:has(.forms-entry) .app{align-items:center!important;padding:12px 14px 20px!important}
  .forms-entry{max-width:480px!important;padding:8px 6px 0!important;gap:12px!important}
  .forms-logo-wrap{height:clamp(45px,10dvh,70px)!important;width:calc(clamp(45px,10dvh,70px)*.8002853)!important}
  .forms-entry-brand{margin-bottom:0!important;gap:5px!important}
  .forms-entry-brand h1{font-size:clamp(23px,6.6vw,30px)!important}
  .forms-access-grid{grid-template-columns:1fr!important;gap:7px!important;max-width:430px!important;width:100%!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{
    flex-direction:row!important;text-align:left!important;justify-content:flex-start!important;flex-wrap:wrap!important;align-content:center!important;
    height:clamp(100px,18dvh,148px)!important;gap:10px!important;padding:clamp(11px,2dvh,20px)!important;border-radius:15px!important;
  }
  .forms-access-icon{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;flex:0 0 46px!important;border-radius:12px!important}
  .forms-access-icon svg{width:24px!important;height:24px!important}
  .forms-access-card h2{flex:1 1 calc(100% - 76px)!important;font-size:17px!important}
  .forms-access-card p{font-size:12px!important;flex:1 1 55%!important;min-height:0!important;max-width:none!important;margin-left:60px!important}
  .forms-access-card .forms-access-button{display:none!important}
  .forms-entry-note{margin-top:12px!important;font-size:10px!important}
}
@media(max-width:650px) and (max-height:630px){
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(66px,17dvh,98px)!important;gap:6px!important}
  .forms-access-icon{width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;flex-basis:35px!important}
  .forms-access-card h2{font-size:14px!important;flex-basis:calc(100% - 55px)!important}
  .forms-access-card p{font-size:11px!important;margin-left:41px!important}
  .forms-entry-note{display:none!important}
}
@media(max-width:650px) and (max-height:430px){
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:60px!important;padding:8px 12px!important}
  .forms-access-card p{display:none!important}
}
:root[data-theme="light"] .forms-entry-brand h1{color:#14314b!important}
:root[data-theme="light"] .forms-entry-brand p{color:#5c7891!important}
:root[data-theme="light"] .forms-entry-kicker{color:#087c9e!important}
:root[data-theme="light"] .forms-access-card{background:linear-gradient(165deg,#ffffff,#edf6fc)!important;border-color:#c4dce9!important;box-shadow:0 12px 30px #123a4d13,inset 0 1px #ffffffbf!important;color:#153d51!important}
:root[data-theme="light"] .forms-access-card h2{color:#16364a!important}
:root[data-theme="light"] .forms-access-card p{color:#52738b!important}
:root[data-theme="light"] .forms-access-icon{color:#087c9e!important;background:#dff4f6!important;border-color:#a6e4eb!important}
:root[data-theme="light"] .forms-access-card .forms-access-button{color:#067894!important;background:#e4f5f9!important;border-color:#b3dee7!important}
:root[data-theme="light"] .forms-entry-note{color:#5c7891!important}
:root[data-theme="light"] .forms-portal-theme{background:#edf8fc!important;color:#087c9e!important;border-color:#b2dce9!important}


/* Consumer-template parity final override */
body:has(.forms-entry) .topbar,body:has(.forms-entry) .footer{display:none!important}
:root[data-theme="dark"] body:has(.forms-entry){background:
  radial-gradient(circle at 50% 28%,rgba(33,81,123,.68) 0%,rgba(12,40,67,.92) 34%,rgba(3,17,31,1) 74%)!important;color:#eaf7fc!important}
body:has(.forms-entry) .app{padding:18px 16px 24px!important;min-height:100dvh!important;display:flex!important;align-items:center!important;justify-content:center!important;max-width:none!important;width:100%!important;margin:0!important}
.forms-entry{position:relative!important;max-width:1220px!important;width:100%!important;min-height:min(800px,100dvh - 42px)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:20px 0 18px!important;text-align:center!important;color:#edf7fc!important;transform:none!important}
.forms-entry-brand{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;max-width:780px!important;margin:0 auto 24px!important}
.forms-logo-wrap{width:83px!important;height:104px!important;margin:0 auto 10px!important}
.forms-entry-logo{filter:drop-shadow(0 0 10px rgba(65,231,245,.15))!important}
.forms-entry-kicker{text-transform:uppercase!important;font-size:11px!important;font-weight:800!important;letter-spacing:.24em!important;color:#64e8ef!important;margin:0 0 10px!important}
.forms-entry-brand h1{font-size:clamp(30px,4vw,39px)!important;line-height:1.08!important;letter-spacing:-.045em!important;font-weight:780!important;color:#edf7fc!important;margin:0 0 8px!important}
.forms-entry-brand p{font-size:13px!important;line-height:1.45!important;color:#a8c3d0!important;margin:0!important}
.forms-access-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,380px))!important;justify-content:center!important;align-items:stretch!important;gap:20px!important;max-width:780px!important;width:100%!important;margin:8px auto 0!important}
.forms-access-card,:root[data-theme="dark"] .forms-access-card{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-width:0!important;width:100%!important;height:294px!important;min-height:294px!important;padding:28px 24px!important;border-radius:22px!important;border:1px solid rgba(79,188,219,.35)!important;background:linear-gradient(180deg,#12324b 0%,#0a2338 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 22px rgba(0,0,0,.12)!important;cursor:pointer!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.forms-access-card:hover,:root[data-theme="dark"] .forms-access-card:hover{transform:translateY(-3px)!important;border-color:#57e9eb!important;box-shadow:0 14px 30px rgba(0,0,0,.18),0 0 0 1px rgba(87,233,235,.08)!important}
.forms-access-icon{width:60px!important;height:60px!important;display:grid!important;place-items:center!important;margin:0 0 18px!important;border-radius:18px!important;background:#103a50!important;border:1px solid rgba(82,233,233,.2)!important;color:#72f4f1!important;flex:none!important}
.forms-access-icon svg{width:30px!important;height:30px!important;stroke-width:1.7!important;stroke:currentColor!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.forms-access-card h2{font-size:25px!important;line-height:1.15!important;letter-spacing:-.035em!important;font-weight:770!important;color:#edf7fc!important;margin:0 0 14px!important}
.forms-access-card p{font-size:14px!important;line-height:1.5!important;color:#a8c3d0!important;max-width:240px!important;min-height:auto!important;margin:0 0 34px!important}
.forms-access-card .forms-access-button{margin:0!important;min-width:130px!important;height:44px!important;padding:9px 18px!important;border-radius:999px!important;border:1px solid rgba(90,236,239,.26)!important;background:#0d3747!important;color:#84f0ed!important;font-size:12px!important;font-weight:760!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:none!important}
.forms-access-card .forms-access-button span{font-size:17px!important;line-height:1!important;margin-left:0!important}
.forms-entry-note{margin:22px auto 0!important;font-size:12px!important;color:#a3bac7!important;line-height:1.45!important;text-align:center!important;max-width:none!important}
.forms-portal-theme{position:fixed!important;top:14px!important;right:18px!important;width:36px!important;height:36px!important;border-radius:12px!important;background:#0e3044!important;color:#b9f4f7!important;border:1px solid rgba(87,192,223,.36)!important;box-shadow:0 4px 14px rgba(0,0,0,.12)!important}
.forms-portal-theme:hover{background:#173c53!important;border-color:#5debe9!important}
@media (max-width:900px){
  .forms-entry{max-width:860px!important}
  .forms-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:760px!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:280px!important;min-height:280px!important}
}
@media (max-width:650px){
  body:has(.forms-entry) .app{padding:12px 14px 18px!important;align-items:center!important}
  .forms-entry{max-width:480px!important;min-height:auto!important;padding:8px 0 10px!important}
  .forms-logo-wrap{width:64px!important;height:80px!important;margin:0 auto 8px!important}
  .forms-entry-brand{margin-bottom:14px!important}
  .forms-entry-kicker{font-size:10px!important;letter-spacing:.22em!important;margin-bottom:8px!important}
  .forms-entry-brand h1{font-size:clamp(28px,8.6vw,36px)!important;margin-bottom:5px!important}
  .forms-entry-brand p{font-size:13px!important}
  .forms-access-grid{grid-template-columns:1fr!important;max-width:430px!important;gap:10px!important;margin-top:6px!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:auto!important;min-height:112px!important;padding:16px 16px 16px 16px!important;border-radius:18px!important;display:grid!important;grid-template-columns:52px 1fr auto!important;grid-template-rows:auto auto!important;align-items:center!important;justify-items:start!important;text-align:left!important;column-gap:12px!important;row-gap:4px!important}
  .forms-access-icon{grid-column:1;grid-row:1 / span 2;width:46px!important;height:46px!important;margin:0!important;border-radius:14px!important}
  .forms-access-icon svg{width:24px!important;height:24px!important}
  .forms-access-card h2{grid-column:2;grid-row:1;font-size:18px!important;margin:0!important}
  .forms-access-card p{grid-column:2;grid-row:2;max-width:none!important;margin:0!important;font-size:12px!important}
  .forms-access-card .forms-access-button{grid-column:3;grid-row:1 / span 2;min-width:0!important;height:38px!important;padding:0 14px!important;white-space:nowrap!important}
  .forms-entry-note{margin-top:14px!important;font-size:11px!important}
}
@media (max-width:650px) and (max-height:520px){
  .forms-entry-brand{margin-bottom:8px!important}
  .forms-entry-brand h1{font-size:26px!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{min-height:92px!important;padding:12px!important;column-gap:10px!important}
  .forms-access-icon{width:40px!important;height:40px!important}
  .forms-access-card h2{font-size:15px!important}
  .forms-access-card p{font-size:11px!important}
  .forms-access-card .forms-access-button{height:34px!important;padding:0 10px!important;font-size:11px!important}
  .forms-entry-note{display:none!important}
}
:root[data-theme="light"] body:has(.forms-entry){background:radial-gradient(circle at 50% 28%,#edf8ff 0%,#f5f9fe 62%,#eaf2f9 100%)!important}
:root[data-theme="light"] .forms-entry-brand h1{color:#16364a!important}
:root[data-theme="light"] .forms-entry-brand p{color:#57738b!important}
:root[data-theme="light"] .forms-entry-kicker{color:#0a7f9d!important}
:root[data-theme="light"] .forms-access-card{background:linear-gradient(180deg,#ffffff,#edf6fc)!important;border-color:#c4dce9!important;box-shadow:inset 0 1px rgba(255,255,255,.8),0 8px 22px rgba(18,58,77,.08)!important}
:root[data-theme="light"] .forms-access-card h2{color:#17364a!important}
:root[data-theme="light"] .forms-access-card p{color:#55738b!important}
:root[data-theme="light"] .forms-access-icon{background:#dff4f6!important;border-color:#a6e4eb!important;color:#087c9e!important}
:root[data-theme="light"] .forms-access-card .forms-access-button{color:#087a96!important;background:#e4f5f9!important;border-color:#b3dee7!important}
:root[data-theme="light"] .forms-entry-note{color:#5d7891!important}
:root[data-theme="light"] .forms-portal-theme{background:#edf8fc!important;color:#087c9e!important;border-color:#b2dce9!important}

/* Forms Login Parity C164: identical layout for User and Administrator.
   Scoped to login only; Form Manager, Editor and respondent pages remain unchanged. */
body:has(.forms-auth-shell) .app{
  width:100%!important;max-width:none!important;
  min-height:100dvh!important;padding:16px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.forms-auth-shell{width:100%!important;max-width:510px!important;margin:auto!important;min-width:0!important;}
.forms-auth-card.panel{
  position:relative!important;isolation:isolate!important;
  width:100%!important;min-width:0!important;min-height:638px!important;
  max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;
  scrollbar-width:thin!important;display:flex!important;flex-direction:column!important;
  background:linear-gradient(165deg,#0e2940,#0b2237)!important;
  color:#edf7fc!important;border:1px solid rgba(78,186,217,.28)!important;
  border-radius:26px!important;padding:30px 34px 24px!important;
  box-shadow:0 16px 48px rgba(0,0,0,.25)!important;
}
.forms-auth-back{
  position:absolute!important;top:17px!important;left:18px!important;
  width:auto!important;min-height:39px!important;padding:7px 12px!important;
  border:1px solid #265e7b!important;border-radius:12px!important;
  background:#0b3147!important;color:#e4f6ff!important;
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  font-size:12px!important;font-weight:700!important;line-height:1.2!important;
  box-shadow:none!important;z-index:3!important;
}
.forms-auth-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.forms-auth-back:hover{background:#15425a!important;border-color:#57e9eb!important;filter:none!important}
.forms-auth-brand{
  flex:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;
  text-align:center!important;justify-content:flex-end!important;
  min-height:236px!important;margin:0 0 20px!important;gap:7px!important;
}
.forms-auth-logo-wrap{width:91px!important;height:114px!important;flex:none!important;margin:0 auto 7px!important;}
.forms-auth-logo{width:100%!important;height:100%!important;object-fit:fill!important;}
.forms-auth-brand .forms-entry-kicker{
  font-size:11px!important;letter-spacing:.16em!important;font-weight:800!important;
  line-height:1.2!important;margin:0!important;color:#70ecf5!important;
}
.forms-auth-brand h2{
  font-size:32px!important;line-height:1.15!important;min-height:38px!important;
  letter-spacing:-.045em!important;font-weight:770!important;color:#edf7fc!important;margin:0!important;
}
.forms-auth-brand p{
  font-size:13px!important;line-height:1.45!important;margin:0!important;
  color:#b2c9d6!important;min-height:38px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  max-width:370px!important;
}
.forms-auth-card .auth-form{
  flex:none!important;display:grid!important;grid-template-columns:1fr!important;
  grid-template-rows:72px 72px 48px!important;
  margin:0!important;gap:13px!important;
}
.forms-auth-card .auth-form>div{min-width:0!important;align-self:start!important;margin:0!important;}
.forms-auth-card .auth-form label{
  display:block!important;font-size:12px!important;line-height:1.3!important;
  font-weight:700!important;margin:0 0 7px!important;color:#e9f6ff!important;
}
.forms-auth-card .auth-form input.field{
  height:44px!important;min-height:44px!important;width:100%!important;
  padding:10px 13px!important;border-radius:11px!important;
  background:#071d30!important;border:1px solid #275b79!important;
  color:#edf7fc!important;font-size:14px!important;box-shadow:none!important;
}
.forms-auth-card .auth-form input.field::placeholder{color:#809eb5!important;}
.forms-auth-card .auth-form input.field:focus{
  border-color:#63e6ee!important;box-shadow:0 0 0 2px rgba(88,232,238,.14)!important;
}
.forms-auth-card .auth-form>button[type=submit]{
  align-self:stretch!important;width:100%!important;min-height:48px!important;height:48px!important;
  border:1px solid #6be8ef!important;border-radius:12px!important;
  background:linear-gradient(100deg,#66e2e7,#43cfeb)!important;color:#062b39!important;
  font-size:14px!important;font-weight:800!important;padding:9px 14px!important;
}
.forms-auth-card .auth-form>button[type=submit]:not(:disabled):hover{filter:brightness(1.05)!important;}
.forms-auth-card .forms-auth-secondary{
  min-height:43px!important;flex:none!important;margin:17px 0 0!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  gap:7px!important;padding:0!important;
}
.forms-auth-card .forms-auth-secondary button{
  min-height:38px!important;min-width:95px!important;padding:6px 11px!important;
  border:1px solid #235470!important;border-radius:10px!important;
  background:#0a263c!important;color:#b5d2df!important;
  font-size:12px!important;font-weight:650!important;
}
.forms-auth-card .forms-auth-secondary button.sec{
  background:#123c50!important;color:#81eef0!important;border-color:#3a93a4!important;
}
.forms-auth-card .forms-auth-secondary-note{
  color:#9ab6c7!important;font-size:12px!important;line-height:1.3!important;
}
.forms-auth-footer{
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
  margin-top:auto!important;min-height:52px!important;padding-top:16px!important;
  font-size:11px!important;color:#8faabb!important;text-align:center!important;
  border-top:1px solid rgba(91,155,184,.15)!important;
}
/* Register/recovery have more fields; keep them all reachable. */
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card .auth-form,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card .auth-form{
  display:flex!important;flex-direction:column!important;gap:11px!important;
}
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card .auth-form>div,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card .auth-form>div{
  width:100%!important;flex:none!important;
}
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card{
  min-height:0!important;
}
.forms-auth-recovery{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:8px!important;text-align:center}
.forms-auth-recovery .small{width:auto;max-width:100%;}
.forms-auth-recovery p{font-size:11px;margin:0;}
@media(max-width:540px){
 body:has(.forms-auth-shell) .app{padding:10px!important;}
 .forms-auth-card.panel{min-height:0!important;max-height:calc(100dvh - 14px)!important;border-radius:22px!important;padding:28px 20px 18px!important;}
 .forms-auth-back{top:12px!important;left:12px!important;min-height:35px!important;padding:7px 10px!important;}
 .forms-auth-brand{min-height:224px!important;margin-bottom:18px!important;}
 .forms-auth-logo-wrap{width:84px!important;height:105px!important;}
 .forms-auth-brand h2{font-size:29px!important;}
 .forms-auth-brand p{max-width:315px!important;}
 .forms-auth-card .auth-form{gap:10px!important;grid-template-rows:69px 69px 46px!important;}
 .forms-auth-card .auth-form input.field{height:42px!important;min-height:42px!important;font-size:16px!important;}
 .forms-auth-card .auth-form>button[type=submit]{height:46px!important;min-height:46px!important;}
 .forms-auth-card .forms-auth-secondary{margin-top:12px!important;}
 .forms-auth-card .forms-auth-secondary button{min-width:0!important;flex:1!important;padding:6px!important;}
 .forms-auth-footer{min-height:42px!important;padding-top:10px!important;}
}
@media(max-height:690px){
 .forms-auth-card.panel{min-height:0!important;max-height:calc(100dvh - 12px)!important;padding-top:24px!important;}
 .forms-auth-brand{min-height:174px!important;margin-bottom:12px!important;gap:4px!important;}
 .forms-auth-logo-wrap{height:76px!important;width:61px!important;margin-bottom:2px!important;}
 .forms-auth-brand h2{font-size:26px!important;min-height:30px!important;}
 .forms-auth-brand p{min-height:29px!important;}
 .forms-auth-card .auth-form{grid-template-rows:64px 64px 43px!important;gap:8px!important;}
 .forms-auth-card .auth-form input.field{height:38px!important;min-height:38px!important;}
 .forms-auth-card .auth-form>button[type=submit]{height:43px!important;min-height:43px!important;}
 .forms-auth-card .forms-auth-secondary{margin-top:9px!important;min-height:37px!important;}
 .forms-auth-card .forms-auth-secondary button{min-height:35px!important;}
 .forms-auth-footer{min-height:34px!important;padding-top:8px!important;}
}
:root[data-theme="light"] .forms-auth-card.panel{background:linear-gradient(155deg,#ffffff,#eef6fb)!important;color:#16354b!important;border-color:#b9dbe9!important;}
:root[data-theme="light"] .forms-auth-brand h2{color:#19384f!important;}
:root[data-theme="light"] .forms-auth-brand p{color:#55748b!important;}
:root[data-theme="light"] .forms-auth-brand .forms-entry-kicker{color:#0a8aa6!important;}
:root[data-theme="light"] .forms-auth-back{background:#e6f3f8!important;color:#1a526c!important;border-color:#bedfe9!important;}
:root[data-theme="light"] .forms-auth-card .auth-form label{color:#254961!important;}
:root[data-theme="light"] .forms-auth-card .auth-form input.field{background:#ffffff!important;border-color:#b9d5e4!important;color:#17354b!important;}
:root[data-theme="light"] .forms-auth-card .auth-form input.field::placeholder{color:#7896ac!important;}
:root[data-theme="light"] .forms-auth-card .forms-auth-secondary button{background:#f0f7fa!important;border-color:#c6dfe9!important;color:#476779!important;}
:root[data-theme="light"] .forms-auth-card .forms-auth-secondary button.sec{background:#dff5f8!important;border-color:#79c8d9!important;color:#0c7893!important;}
:root[data-theme="light"] .forms-auth-card .forms-auth-secondary-note,:root[data-theme="light"] .forms-auth-footer{color:#66869b!important;}
@media(prefers-reduced-motion:reduce){.forms-logo-glow-window,.forms-logo-glow-window>img{animation:none!important;opacity:0!important}}

/* Final parity and viewport safeguards; CSS-only, Forms landing/login. */
:root[data-theme="dark"] body:has(.forms-entry){
 background:radial-gradient(ellipse at 12% 5%,#17435466,transparent 52%),
            radial-gradient(ellipse at 95% 100%,#173b5b55,transparent 52%),#061522!important;
}
body:has(.forms-auth-shell) .app{
 height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{
 height:min(642px,calc(100dvh - 24px))!important;
 min-height:0!important;
 max-height:calc(100dvh - 24px)!important;
 overflow-y:auto!important;
}
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card.panel,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel{
 max-height:calc(100dvh - 24px)!important;
 overflow-y:auto!important;
}

/* C165 final parity tune: make Forms landing/login follow Consumer spacing, padding, and card sizing
   while keeping Forms identity and functionality (2 portal cards, User/Admin flows). */
body:has(.forms-entry) .app{
  max-width:none!important;
  min-height:100dvh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:28px 16px!important;
}
.forms-entry{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(1080px,100%)!important;
  max-height:100%!important;
  min-height:0!important;
  gap:clamp(12px,2.5dvh,26px)!important;
  padding:clamp(8px,2dvh,24px) 6px!important;
  box-sizing:border-box!important;
}
.forms-entry-brand{
  text-align:center!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:0!important;
  margin:0!important;
  max-width:780px!important;
}
.forms-logo-wrap{
  width:clamp(56px,13dvh,110px)!important;
  height:clamp(70px,16dvh,138px)!important;
  margin:0!important;
}
.forms-entry-kicker{
  margin:0!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:800!important;
  letter-spacing:.2em!important;
  text-transform:uppercase!important;
  color:#65e6ee!important;
}
.forms-entry-brand h1{
  margin:0!important;
  font-size:clamp(23px,3.5vw,36px)!important;
  font-weight:740!important;
  letter-spacing:-.04em!important;
  line-height:1.2!important;
  color:#edf7fc!important;
}
.forms-entry-brand p{
  margin:0!important;
  font-size:clamp(12px,1.5vw,14px)!important;
  line-height:1.5!important;
  color:#a8c3d0!important;
}
.forms-access-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(9px,1.8vw,18px)!important;
  width:min(730px,100%)!important;
  max-width:730px!important;
  margin:0 auto!important;
  align-items:stretch!important;
}
.forms-access-card,:root[data-theme="dark"] .forms-access-card{
  appearance:none!important;
  -webkit-appearance:none!important;
  color:#effbff!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:clamp(9px,2dvh,18px)!important;
  padding:clamp(16px,2.4vw,30px)!important;
  height:clamp(200px,35dvh,315px)!important;
  min-height:0!important;
  border-radius:20px!important;
  border:1px solid rgba(78,186,217,.34)!important;
  background:linear-gradient(165deg,#103049,#092036)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.05)!important;
  cursor:pointer!important;
  transform:translateY(0)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease!important;
}
.forms-access-card:hover,:root[data-theme="dark"] .forms-access-card:hover{
  transform:translateY(-4px)!important;
  border-color:#57e9eb!important;
  box-shadow:0 15px 34px rgba(0,0,0,.21),0 0 0 1px rgba(50,233,229,.11)!important;
}
.forms-access-card:active{transform:translateY(-1px) scale(.99)!important}
.forms-access-card:focus-visible,.forms-access-card:focus-within{outline:2px solid #55eff2!important;outline-offset:3px!important}
.forms-access-icon{
  width:clamp(48px,7dvh,70px)!important;
  height:clamp(48px,7dvh,70px)!important;
  border-radius:17px!important;
  display:grid!important;
  place-items:center!important;
  color:#75f5f2!important;
  background:#103f51!important;
  border:1px solid rgba(81,233,232,.24)!important;
  margin:0!important;
}
.forms-access-icon svg{width:31px!important;height:31px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.forms-access-card h2{
  font-size:clamp(17px,2vw,22px)!important;
  line-height:1.3!important;
  letter-spacing:-.025em!important;
  font-weight:750!important;
  margin:0!important;
  color:#effbff!important;
}
.forms-access-card p{
  min-height:2.8em!important;
  max-width:200px!important;
  color:#abc5d2!important;
  font-size:13px!important;
  line-height:1.45!important;
  margin:0!important;
}
.forms-access-card .forms-access-button{
  font-size:12px!important;
  font-weight:750!important;
  color:#83f0ed!important;
  border-radius:999px!important;
  border:1px solid rgba(89,236,239,.26)!important;
  padding:8px 18px!important;
  background:#0d3445!important;
  min-height:0!important;
  min-width:0!important;
  box-shadow:none!important;
}
.forms-access-card .forms-access-button span{font-size:17px!important;vertical-align:-1px!important;margin-left:5px!important}
.forms-entry-note{
  text-align:center!important;
  color:#8daab9!important;
  font-size:11px!important;
  margin:2px 0 0!important;
  line-height:1.45!important;
}
.forms-portal-theme{
  position:absolute!important;
  top:clamp(12px,2.2dvh,24px)!important;
  right:clamp(12px,2vw,26px)!important;
  width:36px!important;
  height:36px!important;
  border:1px solid rgba(87,192,223,.36)!important;
  border-radius:11px!important;
  background:#0b293e!important;
  color:#b5f4f7!important;
  box-shadow:none!important;
}
.forms-portal-theme:hover{background:#17425a!important;border-color:#5debe9!important}

body:has(.forms-auth-shell) .app{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:28px 16px!important;
  overflow:hidden!important;
}
.forms-auth-shell{
  width:min(440px,100%)!important;
  max-width:440px!important;
  margin:auto!important;
  min-width:0!important;
}
.forms-auth-card.panel{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:440px!important;
  height:min(730px,calc(100dvh - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  min-height:0!important;
  margin:auto!important;
  padding:clamp(14px,3dvh,30px)!important;
  overflow:auto!important;
  background:linear-gradient(165deg,#103049,#092036)!important;
  border:1px solid rgba(78,186,217,.34)!important;
  border-radius:24px!important;
  box-shadow:0 18px 40px rgba(0,0,0,.20), inset 0 1px rgba(255,255,255,.05)!important;
}
.forms-auth-back{
  top:clamp(12px,2.2dvh,20px)!important;
  left:clamp(12px,2vw,20px)!important;
  min-height:36px!important;
  padding:7px 12px!important;
  border-radius:11px!important;
  border:1px solid rgba(87,192,223,.36)!important;
  background:#0b293e!important;
}
.forms-auth-brand{
  flex:0 0 auto!important;
  min-height:clamp(94px,20dvh,162px)!important;
  justify-content:center!important;
  margin:0 0 8px!important;
  gap:6px!important;
}
.forms-auth-logo-wrap{
  width:calc(clamp(56px,13dvh,110px)*.8002853)!important;
  height:clamp(70px,16dvh,138px)!important;
  margin:0 auto 2px!important;
}
.forms-auth-brand .forms-entry-kicker{min-height:17px!important;margin:0 0 4px!important;line-height:17px!important;font-size:11px!important;letter-spacing:.19em!important}
.forms-auth-brand h2{min-height:clamp(26px,4.2dvh,38px)!important;display:grid!important;place-items:center!important;font-size:clamp(28px,5vw,32px)!important;line-height:1.15!important;margin:0!important}
.forms-auth-brand p{min-height:clamp(26px,5.2dvh,44px)!important;margin:0 0 10px!important;display:grid!important;place-items:center!important;max-width:340px!important;font-size:13px!important}
.forms-auth-card .auth-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:72px 72px 48px!important;
  gap:12px!important;
  align-items:stretch!important;
}
.forms-auth-card .auth-form>div{min-height:0!important;align-self:start!important;margin:0!important}
.forms-auth-card .auth-form label{display:block!important;margin:0 0 6px!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important}
.forms-auth-card .auth-form input.field{
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:10px 13px!important;
  border-radius:11px!important;
  background:#071d30!important;
  border:1px solid #275b79!important;
  color:#edf7fc!important;
  font-size:14px!important;
}
.forms-auth-card .auth-form>button[type=submit]{
  width:100%!important;
  min-height:48px!important;
  height:48px!important;
  margin:0!important;
  border-radius:12px!important;
  border:1px solid #6be8ef!important;
  background:linear-gradient(100deg,#66e2e7,#43cfeb)!important;
  color:#062b39!important;
  font-size:14px!important;
  font-weight:800!important;
}
.forms-auth-card .forms-auth-secondary{margin:12px 0 0!important;gap:7px!important}
.forms-auth-card .forms-auth-secondary button{min-height:36px!important;padding:6px 11px!important;border-radius:10px!important}
.forms-auth-footer{margin-top:auto!important;padding-top:8px!important;min-height:34px!important;border-top:none!important}
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card.panel,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel{height:auto!important;max-height:calc(100dvh - 24px)!important}
.forms-auth-shell[data-auth-mode="register"] .forms-auth-card .auth-form,
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card .auth-form{display:flex!important;flex-direction:column!important;gap:11px!important}

@media(max-width:700px){
  .forms-access-grid{grid-template-columns:1fr!important;gap:clamp(7px,1.2dvh,12px)!important;max-width:480px!important;width:100%!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{
    height:clamp(100px,18dvh,148px)!important;
    flex-direction:row!important;
    text-align:left!important;
    justify-content:flex-start!important;
    gap:14px!important;
    padding:clamp(11px,2dvh,20px)!important;
    border-radius:15px!important;
    flex-wrap:wrap!important;
    align-content:center!important;
  }
  .forms-access-card h2{flex:1 1 calc(100% - 83px)!important;font-size:17px!important}
  .forms-access-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:12px!important}
  .forms-access-icon svg{width:24px!important;height:24px!important}
  .forms-access-card p{font-size:12px!important;flex:1 1 55%!important;min-height:0!important;margin-left:60px!important;max-width:none!important}
  .forms-access-card .forms-access-button{display:none!important}
  .forms-entry{gap:clamp(7px,1.7dvh,14px)!important;padding:8px 0!important}
}
@media(max-height:630px){
  .forms-logo-wrap{height:clamp(45px,10dvh,70px)!important;width:clamp(38px,8dvh,56px)!important}
  .forms-entry-brand{gap:2px!important}
  .forms-entry-brand h1{font-size:clamp(19px,3dvh,26px)!important}
  .forms-access-grid{gap:7px!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:clamp(66px,17dvh,98px)!important;gap:6px!important}
  .forms-access-icon{width:35px!important;height:35px!important;flex-basis:35px!important}
  .forms-access-card h2{font-size:14px!important;flex-basis:calc(100% - 55px)!important}
  .forms-access-card p{font-size:11px!important;margin-left:41px!important}
  .forms-entry-note{display:none!important}

  .forms-auth-card.panel{padding:clamp(8px,1.3dvh,14px)!important}
  .forms-auth-brand{min-height:68px!important;margin:0 0 2px!important}
  .forms-auth-logo-wrap{width:21px!important;height:26px!important;margin:-5px auto 0!important}
  .forms-auth-brand .forms-entry-kicker{min-height:12px!important;font-size:8px!important;line-height:12px!important;margin:0!important}
  .forms-auth-brand h2{font-size:21px!important;min-height:25px!important;line-height:1.1!important}
  .forms-auth-brand p{display:none!important}
  .forms-auth-card .auth-form{grid-template-rows:64px 64px 43px!important;gap:5px!important}
  .forms-auth-card .auth-form input.field{height:38px!important;min-height:38px!important}
  .forms-auth-card .auth-form>button[type=submit]{height:43px!important;min-height:43px!important}
}
@media(max-height:430px){
  .forms-entry-brand p{display:none!important}
  .forms-entry{gap:6px!important}
  .forms-access-card,:root[data-theme="dark"] .forms-access-card{height:60px!important;padding:8px 12px!important}
  .forms-access-card p{display:none!important}
  .forms-portal-theme{width:30px!important;height:30px!important;right:8px!important;top:8px!important}
}

/* END styles.css */

/* BEGIN forms-consumer-contract-c166.css */
/* mySIMAN Forms C166 — visual-contract alignment with Consumer H277C163.
   Layout only: all selectors are scoped to Forms landing and Forms login.
   The original Forms theme, business logic and Worker remain untouched. */

/* The reference portal is an edge-to-edge login view, not a page panel. */
:root[data-theme="dark"] body:has(.forms-entry),
:root[data-theme="dark"] body:has(.forms-auth-shell) {
  background:radial-gradient(ellipse at 12% 5%,#17435466,transparent 52%),
             radial-gradient(ellipse at 95% 100%,#173b5b55,transparent 52%),#061522!important;
}
body:has(.forms-entry) .app,
body:has(.forms-auth-shell) .app {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  padding:28px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.forms-entry {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(1080px,100%)!important;
  max-width:1080px!important;
  min-height:0!important;
  padding:clamp(8px,2dvh,24px) 6px!important;
  gap:clamp(12px,2.5dvh,26px)!important;
  margin:auto!important;
  transform:none!important;
}
.forms-entry .forms-entry-brand {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
.forms-entry .forms-entry-brand .forms-logo-wrap {
  box-sizing:border-box!important;
  display:block!important;
  flex:none!important;
  width:calc(clamp(70px,16dvh,138px)*.8002853)!important;
  height:clamp(70px,16dvh,138px)!important;
  margin:0!important;
  padding:0!important;
}
.forms-entry .forms-entry-kicker {
  margin:0!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.2em!important;
}
.forms-entry .forms-entry-brand h1 {
  margin:0!important;
  font-size:clamp(23px,3.5vw,36px)!important;
  font-weight:740!important;
  line-height:1.2!important;
  letter-spacing:-.04em!important;
}
.forms-entry .forms-entry-brand p {
  margin:0!important;
  font-size:clamp(12px,1.5vw,14px)!important;
  line-height:1.5!important;
}
/* Exactly the Consumer card width, padding and vertical rhythm.
   Two Forms cards preserve the width of individual Consumer cards. */
.forms-entry .forms-access-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(9px,1.8vw,18px)!important;
  width:min(706px,100%)!important;
  max-width:706px!important;
  padding:0!important;
  margin:0 auto!important;
}
.forms-entry .forms-access-grid .forms-access-card,
:root[data-theme="dark"] .forms-entry .forms-access-grid .forms-access-card {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  height:clamp(200px,35dvh,315px)!important;
  min-height:0!important;
  gap:clamp(9px,2dvh,18px)!important;
  padding:clamp(16px,2.4vw,30px)!important;
  border-radius:20px!important;
  border:1px solid rgba(78,186,217,.34)!important;
  background:linear-gradient(165deg,#103049,#092036)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.05)!important;
  transform:none!important;
  cursor:pointer!important;
}
.forms-entry .forms-access-icon {
  flex:none!important;
  width:clamp(48px,7dvh,70px)!important;
  height:clamp(48px,7dvh,70px)!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  border-radius:17px!important;
}
.forms-entry .forms-access-icon svg {width:31px!important;height:31px!important}
.forms-entry .forms-access-card h2 {
  flex:none!important;
  margin:0!important;
  font-size:clamp(17px,2vw,22px)!important;
  line-height:1.3!important;
  letter-spacing:-.025em!important;
  font-weight:750!important;
}
.forms-entry .forms-access-card p {
  flex:none!important;
  min-height:2.8em!important;
  max-width:200px!important;
  margin:0!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.forms-entry .forms-access-card .forms-access-button {
  box-sizing:border-box!important;
  flex:none!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:8px 18px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.55!important;
  font-weight:750!important;
}
.forms-entry .forms-entry-note {
  margin:2px 0 0!important;
  font-size:11px!important;
  line-height:1.5!important;
}
.forms-entry .forms-portal-theme {
  position:fixed!important;
  top:clamp(12px,2.2dvh,24px)!important;
  right:clamp(12px,2vw,26px)!important;
  left:auto!important;
  width:36px!important;
  height:36px!important;
  padding:0!important;
  z-index:20!important;
  border-radius:11px!important;
}

/* Consumer login-card contract — stable width, height, padding and slots. */
body:has(.forms-auth-shell) .app {
  height:100dvh!important;
  overflow:hidden!important;
}
.forms-auth-shell {
  box-sizing:border-box!important;
  width:min(440px,100%)!important;
  max-width:440px!important;
  margin:auto!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:min(730px,calc(100dvh - 24px))!important;
  min-height:0!important;
  max-height:calc(100dvh - 24px)!important;
  margin:auto!important;
  overflow-y:auto!important;
  scrollbar-width:thin!important;
  padding:clamp(14px,3dvh,30px)!important;
  border-radius:24px!important;
  border:1px solid rgba(78,186,217,.34)!important;
  background:#0c2235!important;
  box-shadow:0 30px 90px #0005,0 1px 0 #fff08 inset!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand {
  flex:none!important;
  min-height:clamp(94px,20dvh,162px)!important;
  gap:6px!important;
  margin:0 0 8px!important;
  justify-content:center!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap {
  width:calc(clamp(70px,16dvh,138px)*.8002853)!important;
  height:clamp(70px,16dvh,138px)!important;
  max-height:138px!important;
  margin:0 auto 2px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2 {
  margin:0!important;
  min-height:clamp(26px,4.2dvh,38px)!important;
  line-height:1.15!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p {
  margin:0 0 10px!important;
  min-height:clamp(26px,5.2dvh,44px)!important;
  max-width:340px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:72px 72px 48px!important;
  gap:12px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>div {margin:0!important;min-height:0!important}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form input.field {
  height:44px!important;min-height:44px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>button[type=submit] {
  height:48px!important;min-height:48px!important;margin:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-secondary {margin:12px 0 0!important}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-footer {margin-top:auto!important}

@media (max-width:700px) {
  body:has(.forms-entry) .app {
    padding:12px 14px 18px!important;
    justify-content:flex-start!important;
  }
  .forms-entry {
    flex:0 0 auto!important;
    width:min(480px,100%)!important;
    padding:8px 0!important;
    gap:clamp(7px,1.7dvh,14px)!important;
    margin:clamp(30px,6.8dvh,55px) auto 0!important;
  }
  .forms-entry .forms-entry-brand .forms-logo-wrap {
    width:calc(clamp(45px,10dvh,70px)*.8002853)!important;
    height:clamp(45px,10dvh,70px)!important;
  }
  .forms-entry .forms-access-grid {
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:480px!important;
    gap:clamp(7px,1.2dvh,12px)!important;
  }
  .forms-entry .forms-access-grid .forms-access-card,
  :root[data-theme="dark"] .forms-entry .forms-access-grid .forms-access-card {
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-content:center!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    height:clamp(100px,18dvh,148px)!important;
    min-height:0!important;
    gap:14px!important;
    padding:clamp(11px,2dvh,20px)!important;
    border-radius:15px!important;
    text-align:left!important;
  }
  .forms-entry .forms-access-icon {
    flex:0 0 46px!important;
    width:46px!important;height:46px!important;
    border-radius:12px!important;
    margin:0!important;
  }
  .forms-entry .forms-access-icon svg {width:24px!important;height:24px!important}
  .forms-entry .forms-access-card h2 {
    flex:1 1 calc(100% - 83px)!important;
    font-size:17px!important;
  }
  .forms-entry .forms-access-card p {
    flex:1 1 55%!important;
    min-height:0!important;
    max-width:200px!important;
    margin:0 0 0 60px!important;
    font-size:12px!important;
  }
  .forms-entry .forms-access-card .forms-access-button {display:none!important}
  .forms-entry .forms-entry-note {font-size:10px!important}
}
@media (max-height:630px){
  .forms-entry .forms-entry-brand .forms-logo-wrap {
    height:clamp(45px,10dvh,70px)!important;
    width:calc(clamp(45px,10dvh,70px)*.8002853)!important;
  }
  .forms-entry .forms-entry-brand h1 {font-size:clamp(19px,3dvh,26px)!important}
  .forms-entry .forms-access-grid {gap:7px!important}
  .forms-entry .forms-access-grid .forms-access-card,
  :root[data-theme="dark"] .forms-entry .forms-access-grid .forms-access-card {
    height:clamp(66px,17dvh,98px)!important;
    gap:6px!important;
  }
  .forms-entry .forms-access-icon {width:35px!important;height:35px!important;flex-basis:35px!important}
  .forms-entry .forms-access-card h2 {font-size:14px!important;flex-basis:calc(100% - 55px)!important}
  .forms-entry .forms-access-card p {font-size:11px!important;margin-left:41px!important}
  .forms-entry .forms-entry-note {display:none!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel {
    padding:clamp(8px,1.3dvh,14px)!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand {
    min-height:68px!important;margin:0 0 2px!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap {width:21px!important;height:26px!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2 {font-size:21px!important;min-height:25px!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p {display:none!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form {
    grid-template-rows:64px 64px 43px!important;gap:5px!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form input.field {height:38px!important;min-height:38px!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>button[type=submit] {height:43px!important;min-height:43px!important}
}
@media(max-width:700px) and (max-height:430px){
  .forms-entry .forms-entry-brand p{display:none!important}
  .forms-entry .forms-access-grid .forms-access-card,
  :root[data-theme="dark"] .forms-entry .forms-access-grid .forms-access-card {height:60px!important;padding:8px 12px!important}
  .forms-entry .forms-access-card p {display:none!important}
  .forms-entry {margin-top:14px!important}
}
/* Preserve Forms' light mode rather than force Consumer's dark-only styling. */
:root[data-theme="light"] .forms-entry .forms-access-grid .forms-access-card {
  background:linear-gradient(165deg,#fff,#edf6fc)!important;
  color:#16364a!important;
  border-color:#c4dce9!important;
}
:root[data-theme="light"] .forms-entry .forms-entry-brand h1,
:root[data-theme="light"] .forms-entry .forms-access-card h2 {color:#16364a!important}
:root[data-theme="light"] .forms-entry .forms-entry-brand p,
:root[data-theme="light"] .forms-entry .forms-access-card p {color:#57738b!important}
:root[data-theme="light"] .forms-entry .forms-access-grid .forms-access-card .forms-access-button {
  background:#e4f5f9!important;color:#067894!important;border-color:#b3dee7!important;
}
/* The source Forms .app defaults to a row flex direction. Consumer's landing
   is laid out vertically; force that direction to avoid mobile centering drift. */
body:has(.forms-entry) .app,
body:has(.forms-auth-shell) .app {flex-direction:column!important}
/* Forms retains a genuine light theme; reference Consumer is dark-only. */
:root[data-theme="light"] .forms-entry .forms-entry-kicker {color:#087c9e!important}
:root[data-theme="light"] .forms-entry .forms-entry-brand h1,
:root[data-theme="light"] .forms-entry .forms-access-card h2 {color:#16364a!important}
:root[data-theme="light"] .forms-entry .forms-entry-brand p,
:root[data-theme="light"] .forms-entry .forms-entry-note,
:root[data-theme="light"] .forms-entry .forms-access-card p {color:#57738b!important}
:root[data-theme="light"] .forms-entry .forms-access-icon {
  color:#087c9e!important;
  background:#dff4f6!important;
  border-color:#a6e4eb!important;
}
:root[data-theme="light"] .forms-entry .forms-portal-theme {
  color:#087c9e!important;background:#edf8fc!important;border-color:#b2dce9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel {
  background:linear-gradient(155deg,#fff,#eef6fb)!important;
  color:#16354b!important;
  border-color:#b9dbe9!important;
  box-shadow:0 18px 46px rgba(12,58,83,.11)!important;
}

/* END forms-consumer-contract-c166.css */

/* BEGIN forms-visual-alignment-c167.css */
/* C167 — align the Forms portal with Consumer H277C163.
   Consumer's portal uses a 15px scrollbar gutter; Forms does not.
   The center of the portal is therefore shifted by half that difference.
   Keep Forms' two access cards, text, and full login workflows untouched. */
@media (min-width:701px) {
  .forms-entry {
    position:relative!important;
    left:-7.5px!important;
    top:0!important;
    transform:none!important;
  }
  .forms-entry .forms-portal-theme {
    right:calc(clamp(12px,2vw,26px) + 15px)!important;
  }
}
@media (max-width:700px) {
  .forms-entry {left:0!important;top:0!important;transform:none!important}
}

/* END forms-visual-alignment-c167.css */

/* BEGIN forms-consumer-parity-c168.css */
/* C168 — Consumer-aligned background + login card geometry. Forms-specific content and behavior preserved. */
/* Only landing and User/Admin login use the Consumer-style background. */
:root[data-theme="dark"] body:has(.forms-entry),
:root[data-theme="dark"] body:has(.forms-auth-shell) {
  background:
    radial-gradient(ellipse 54% 70% at 26% 53%, rgba(23,69,112,.57), transparent 78%),
    radial-gradient(ellipse 100% 100% at 60% 42%, rgba(13,36,67,.25), transparent 82%),
    radial-gradient(ellipse at 12% 5%, #17435422, transparent 52%),
    radial-gradient(ellipse at 95% 100%, #173b5b55, transparent 52%),
    #061522!important;
  background-attachment:fixed!important;
}
/* No duplicate backgrounds from the historic Forms theme rules. */
:root[data-theme="dark"] body:has(.forms-entry) .app,
:root[data-theme="dark"] body:has(.forms-auth-shell) .app {
  background:transparent!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel {
  width:100%!important;
  max-width:440px!important;
  height:min(730px,calc(100dvh - 24px))!important;
  box-sizing:border-box!important;
  padding:clamp(14px,3dvh,30px)!important;
  background:#0c2235!important;
  border:1px solid #b9e9f21f!important;
  box-shadow:0 30px 90px #0005,0 1px 0 #fff08 inset!important;
}
/* Put Forms inputs and submit on the Consumer identity/password/button slots.
   Forms has no Satker selector; its empty first slot is visual spacing, not an input. */
@media(min-height:701px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form{
   grid-template-rows:72px 72px 72px 48px!important;
   gap:12px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form::before {
   content:"";display:block!important;grid-row:1;visibility:hidden;pointer-events:none;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>div:nth-child(1) {grid-row:2!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>div:nth-child(2) {grid-row:3!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form>button[type=submit] {grid-row:4!important}
}
/* SS1 card's 128px logo instead of the earlier Forms 138px, while keeping title centered. */
@media(min-height:701px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{
   height:128px!important;width:calc(128px * .8002853)!important;
   margin:0 auto 2px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand {
   gap:6px!important;
   margin-bottom:8px!important;
 }
}
/* Icon sized, positioned and bordered like Consumer's top-right control. */
.forms-portal-theme,.forms-auth-shell .forms-login-theme{
  position:fixed!important;z-index:100!important;
  top:clamp(12px,2.2dvh,24px)!important;
  right:clamp(12px,2vw,26px)!important;
  width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  padding:0!important;
  border:1px solid rgba(87,192,223,.36)!important;
  border-radius:11px!important;
  background:#0b293e!important;
  color:#b5f4f7!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.forms-portal-theme svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.forms-portal-theme:hover{background:#17425a!important;border-color:#5debe9!important}
.forms-portal-theme:focus-visible{outline:2px solid #55eff2!important;outline-offset:3px!important}
:root[data-theme="dark"] .forms-theme-sun{display:block!important}
:root[data-theme="dark"] .forms-theme-moon{display:none!important}
:root[data-theme="light"] .forms-theme-moon{display:block!important}
:root[data-theme="light"] .forms-theme-sun{display:none!important}
@media(min-width:701px){
 /* The Consumer screen retains a right-side gutter; align corner control with that visual. */
 .forms-entry .forms-portal-theme {right:calc(clamp(12px,2vw,26px) + 15px)!important}
}
/* The light variant must affect actual login surfaces, not only the page background. */
:root[data-theme="light"] body:has(.forms-entry),
:root[data-theme="light"] body:has(.forms-auth-shell) {
 background:radial-gradient(ellipse 66% 83% at 25% 50%,#cfe9fa,transparent 80%),radial-gradient(ellipse at 95% 100%,#d9e9f7,transparent 55%),#f1f7fc!important;
 background-attachment:fixed!important;
}
:root[data-theme="light"] body:has(.forms-entry) .app,
:root[data-theme="light"] body:has(.forms-auth-shell) .app{background:transparent!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-card.panel{
 background:#ffffff!important;border:1px solid #b9dbe9!important;
 box-shadow:0 20px 60px #17486a16,0 1px 0 #fff inset!important;
 color:#14354b!important;
}
:root[data-theme="light"] .forms-auth-shell .forms-auth-brand h2 {color:#19384f!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-brand p {color:#55748b!important}
:root[data-theme="light"] .forms-auth-shell .forms-entry-kicker {color:#0a8aa6!important}
:root[data-theme="light"] .forms-auth-shell .auth-form label {color:#254961!important}
:root[data-theme="light"] .forms-auth-shell .auth-form input.field {background:#f6fafc!important;color:#17354b!important;border-color:#b9d5e4!important}
:root[data-theme="light"] .forms-auth-shell .auth-form input.field::placeholder {color:#7896ac!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-back {background:#e6f3f8!important;color:#1a526c!important;border-color:#bedfe9!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-secondary button{background:#f0f7fa!important;color:#476779!important;border-color:#c6dfe9!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-secondary button.sec{background:#dff5f8!important;color:#0c7893!important;border-color:#79c8d9!important}
:root[data-theme="light"] .forms-auth-shell .forms-auth-secondary-note,
:root[data-theme="light"] .forms-auth-shell .forms-auth-footer {color:#66869b!important}
:root[data-theme="light"] .forms-portal-theme {background:#edf8fc!important;color:#087c9e!important;border-color:#b2dce9!important}
/* Keep mobile buttons, forms and small screens usable; no new body-level scroll. */
@media(max-height:700px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card .auth-form::before{display:none!important}
}
@media(prefers-reduced-motion:reduce){.forms-portal-theme{transition:none!important}}

/* END forms-consumer-parity-c168.css */

/* BEGIN forms-consumer-parity-c171.css */
/* C171 Forms — measured visual parity with Consumer H277C163 login.
   Only standard User / Administrator login (not registration or password recovery).
   The original Forms portal, auth workflow, and backend remain unchanged. */
:root[data-theme="dark"] body:has(.forms-auth-shell){
 background:radial-gradient(ellipse at 12% 5%,#17435466,transparent 52%),
            radial-gradient(ellipse at 95% 100%,#173b5b55,transparent 52%),#061522!important;
}
/* Consumer centers within a viewport with a scrollbar gutter. */
@media(min-width:701px){
  .forms-auth-shell[data-auth-mode="login"]{transform:translateX(-7.5px)!important;}
}
body:has(.forms-auth-shell) .app{
 min-height:100dvh!important;height:100dvh!important;width:100%!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:28px 16px!important;overflow:hidden!important;
}
.forms-auth-shell[data-auth-mode="login"]{
 box-sizing:border-box!important;display:block!important;
 width:min(440px,100%)!important;max-width:440px!important;min-width:0!important;
 margin:auto!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{
 box-sizing:border-box!important;position:relative!important;
 display:flex!important;flex-direction:column!important;
 width:100%!important;max-width:440px!important;
 height:min(730px,calc(100dvh - 24px))!important;
 min-height:0!important;max-height:calc(100dvh - 24px)!important;
 padding:clamp(14px,3dvh,30px)!important;
 margin:0!important;border-radius:24px!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 background:#0c2235!important;color:#edf7fc!important;
 border:1px solid #b9e9f21f!important;
 box-shadow:0 30px 90px #0005,0 1px 0 #fff08 inset!important;
 font-size:14px!important;
}
/* Back button is an overlay, so its size never changes header alignment. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-back{
 position:absolute!important;top:16px!important;left:20px!important;
 width:auto!important;min-width:0!important;max-width:max-content!important;
 height:38px!important;min-height:38px!important;
 margin:0!important;padding:0 12px!important;
 font-size:12px!important;font-weight:700!important;
 line-height:1.2!important;border-radius:12px!important;
 display:inline-flex!important;align-items:center!important;gap:7px!important;
 background:#0b293e!important;color:#edf7fc!important;
 border:1px solid rgba(87,192,223,.36)!important;z-index:2!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-back svg{width:15px!important;height:15px!important;flex:none!important;}
/* Mirror Consumer's 128px logo, headline and description vertical contract. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:flex-start!important;
 width:100%!important;max-width:none!important;height:auto!important;
 min-height:0!important;flex:none!important;gap:0!important;
 padding:0!important;margin:0!important;text-align:center!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{
 display:block!important;flex:none!important;
 width:102.4px!important;height:128px!important;
 margin:-8px auto 4px!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap .forms-entry-logo,
.forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap .forms-logo-glow-layer{
 width:100%!important;height:100%!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand .forms-entry-kicker{
 display:block!important;min-height:17px!important;height:17px!important;
 font-size:10px!important;font-weight:700!important;line-height:17px!important;
 letter-spacing:.18em!important;margin:0 0 4px!important;padding:0!important;
 color:#65e6ee!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2{
 display:grid!important;place-items:center!important;
 height:auto!important;min-height:clamp(26px,4.2dvh,38px)!important;
 margin:0 0 8px!important;padding:0!important;
 font-size:28px!important;font-weight:650!important;line-height:1.25!important;
 letter-spacing:-.035em!important;color:#edf7fc!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p{
 display:grid!important;place-items:center!important;
 width:100%!important;max-width:100%!important;
 height:clamp(42px,5.35dvh,46.2px)!important;
 min-height:clamp(42px,5.35dvh,46.2px)!important;
 padding:0!important;margin:0 0 10px!important;
 color:#9eb7c8!important;font-size:14px!important;line-height:1.65!important;
 text-align:center!important;
}
/* Forms has two input fields, Consumer has three. Keep Consumer's first and
   third row positions, leaving the middle slot empty but noninteractive. */
.forms-auth-shell[data-auth-mode="login"][data-auth-type="user"] .auth-form,
.forms-auth-shell[data-auth-mode="login"][data-auth-type="administrator"] .auth-form{
 box-sizing:border-box!important;display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:clamp(56px,10dvh,76px) clamp(66px,11dvh,85px) clamp(56px,10dvh,76px) clamp(44px,7.6dvh,54px)!important;
 gap:clamp(6px,1.5dvh,12px)!important;
 width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;
 align-content:start!important;align-items:stretch!important;
}
.forms-auth-shell[data-auth-mode="login"] .auth-form>div,
.forms-auth-shell[data-auth-mode="login"] .auth-form>button[type="submit"]{
 grid-column:1!important;box-sizing:border-box!important;
 min-width:0!important;max-width:100%!important;
 justify-self:stretch!important;margin:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .auth-form>div:nth-of-type(1){grid-row:1!important;align-self:start!important;}
.forms-auth-shell[data-auth-mode="login"] .auth-form>div:nth-of-type(2){grid-row:3!important;align-self:start!important;}
.forms-auth-shell[data-auth-mode="login"] .auth-form>div{
 display:flex!important;flex-direction:column!important;gap:4px!important;
 width:100%!important;height:auto!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .auth-form label{
 box-sizing:border-box!important;display:block!important;
 width:100%!important;min-height:0!important;
 margin:0!important;padding:0!important;
 font-size:12px!important;font-weight:600!important;
 line-height:1.4!important;letter-spacing:.01em!important;
 color:#edf7fc!important;text-align:left!important;
}
.forms-auth-shell[data-auth-mode="login"] .auth-form input.field{
 box-sizing:border-box!important;display:block!important;
 width:100%!important;max-width:100%!important;
 height:52px!important;min-height:52px!important;
 margin:0!important;padding:0 14px!important;
 border:1px solid #bad8eb30!important;border-radius:12px!important;
 background:#0002!important;color:#edf7fc!important;
 font-size:16px!important;line-height:normal!important;
 box-shadow:none!important;
}
.forms-auth-shell[data-auth-mode="login"] .auth-form>button[type="submit"]{
 grid-row:4!important;align-self:stretch!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:100%!important;min-height:0!important;
 padding:12px 18px!important;margin:0!important;
 border-radius:12px!important;background:#65e6ee!important;
 color:#06232e!important;border:1px solid transparent!important;
 font-size:14px!important;font-weight:750!important;
 line-height:1.4!important;letter-spacing:.02em!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-secondary{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;flex:none!important;width:100%!important;
 height:40px!important;min-height:40px!important;
 padding:0!important;margin:12px 0 0!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-secondary button{
 box-sizing:border-box!important;flex:0 1 auto!important;
 width:auto!important;min-width:0!important;
 min-height:36px!important;height:36px!important;
 padding:6px 11px!important;border-radius:10px!important;
 font-size:12px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-secondary-note{
 font-size:12px!important;color:#9eb7c8!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-footer{
 box-sizing:border-box!important;flex:0 0 auto!important;
 display:flex!important;align-items:flex-end!important;justify-content:center!important;
 width:100%!important;max-width:100%!important;
 height:25px!important;min-height:25px!important;
 margin-top:auto!important;padding:8px 0 0!important;
 border-top:1px solid #bad8eb20!important;
 color:#9eb7c8!important;font-size:10px!important;
}
/* Keep the Forms controls available; avoid changing their action handlers. */
.forms-login-theme,.forms-auth-shell .forms-login-theme{
 position:fixed!important;top:18px!important;right:18px!important;
 width:38px!important;height:38px!important;z-index:40!important;
}
@media(max-width:480px){
  body:has(.forms-auth-shell) .app{padding:20px 16px!important;}
  .forms-auth-shell[data-auth-mode="login"]{width:100%!important;max-width:440px!important;transform:none!important;}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{
    padding:min(24px,3dvh)!important;border-radius:22px!important;
    height:min(730px,calc(100dvh - 24px))!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{
    width:89.6px!important;height:112px!important;
  }
}
@media(max-height:630px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{padding:clamp(8px,1.3dvh,14px)!important}
 .forms-auth-shell[data-auth-mode="login"] .auth-form{gap:5px!important}
}
@media(max-height:520px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand{height:68px!important;overflow:hidden!important;margin-bottom:4px!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{height:26px!important;width:21px!important;margin:-5px auto 0!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand .forms-entry-kicker{height:12px!important;min-height:12px!important;font-size:8px!important;line-height:12px!important;margin:0!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2{font-size:21px!important;min-height:25px!important;line-height:1.1!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p{display:none!important}
 .forms-auth-shell[data-auth-mode="login"] .auth-form{grid-template-rows:48px 50px 48px 39px!important;gap:4px!important}
 .forms-auth-shell[data-auth-mode="login"] .auth-form label{font-size:10px!important;line-height:1.2!important}
 .forms-auth-shell[data-auth-mode="login"] .auth-form input.field{height:34px!important;min-height:34px!important;font-size:12px!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-footer{display:none!important}
}
/* Retain light-theme support with identical geometry. */
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{
  background:linear-gradient(155deg,#ffffff,#eef6fb)!important;color:#17364a!important;border-color:#b9dbe9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2,
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .auth-form label{
  color:#17364a!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p,
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-footer{color:#57768d!important}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .auth-form input.field{
  background:#ffffff!important;color:#17364a!important;border-color:#b9d5e4!important;
}
/* More-specific overrides: earlier Forms CSS pinned login Grid rows and 44px controls. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form > div:nth-of-type(1){
  grid-row:1!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form > div:nth-of-type(2){
  grid-row:3!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form input.field{
  width:100%!important;max-width:100%!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  padding:0 14px!important;box-sizing:border-box!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form > button[type="submit"]{
  grid-row:4!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  align-self:stretch!important;justify-self:stretch!important;
  width:100%!important;max-width:100%!important;
}
/* An outer transform makes the fixed theme button relative to the card. Use
   asymmetrical viewport padding instead to match Consumer's scroll gutter. */
@media(min-width:481px){
 .forms-auth-shell[data-auth-mode="login"]{transform:none!important}
 body:has(.forms-auth-shell[data-auth-mode="login"]) .app{
   padding:28px 31px 28px 16px!important;
 }
}
@media(max-width:480px){
 body:has(.forms-auth-shell[data-auth-mode="login"]) .app{
   padding:20px 25px 20px 10px!important;
 }
 .forms-auth-shell[data-auth-mode="login"]{transform:none!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel{max-width:100%!important;}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form input.field{
   height:52px!important;min-height:52px!important;max-height:52px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form > button[type="submit"]{
   height:54px!important;min-height:54px!important;max-height:54px!important;
 }
}
/* Remove the invisible synthetic slot from C168. It otherwise creates an
   implicit second grid column and shrinks all Forms input widths by 12px. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form::before{
 content:none!important;display:none!important;
}
/* The mobile form's single-line Forms description reserves the same two-line
   space as Consumer, so all field and button coordinates stay aligned. */
@media(min-width:1px) and (max-height:7000px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p{
  min-height:46.2px!important;height:46.2px!important;max-height:46.2px!important;
 }
}
@media(max-height:520px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p{display:none!important}
}
/* Consumer's short-screen rules also shrink the logo and input height. */
@media (max-width:480px) and (min-height:521px) and (max-height:700px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{
  width:51.2px!important;height:64px!important;margin:3.5px auto 1px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand h2{
  font-size:25.6px!important;line-height:1.25!important;min-height:32px!important;margin-bottom:15.5px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-brand p{
  min-height:39.8px!important;height:39.8px!important;max-height:39.8px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form input.field{
  height:clamp(34px,5.8dvh,52px)!important;
  min-height:clamp(34px,5.8dvh,52px)!important;
  max-height:clamp(34px,5.8dvh,52px)!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel .auth-form>button[type="submit"]{
  height:clamp(39px,7.6dvh,54px)!important;
  min-height:clamp(39px,7.6dvh,54px)!important;
  max-height:clamp(39px,7.6dvh,54px)!important;
 }
}
@media (max-width:330px) and (max-height:520px){
 body:has(.forms-auth-shell[data-auth-mode="login"]) .app{
  padding:12px 28.5px 12px 13.5px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-logo-wrap{
  margin:0 auto 0!important;
 }
}

/* END forms-consumer-parity-c171.css */

/* BEGIN forms-consumer-back-button-c172.css */
/* C172: exact Consumer H277C163 Back button geometry; Forms auth unchanged. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back {
  box-sizing:border-box!important;
  position:absolute!important;
  top:clamp(10px,2dvh,19px)!important;
  left:clamp(10px,1.7vw,19px)!important;
  right:auto!important;
  bottom:auto!important;
  z-index:8!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid rgba(94,203,224,.31)!important;
  border-radius:10px!important;
  background:#0c3044!important;
  color:#defbff!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:normal!important;
  box-shadow:none!important;
  filter:none!important;
  cursor:pointer!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back:hover {
  background:#164659!important;
  border-color:#56eee8!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back:focus-visible {
  outline:2px solid #5df0ef!important;
  outline-offset:2px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back svg {
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  flex:none!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
@media(max-height:520px){
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back{
    height:27px!important;min-height:27px!important;max-height:27px!important;
    padding:0 7px!important;font-size:10px!important;top:7px!important;left:7px!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back svg{
    width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back{transition:none!important}
}
/* Keep Forms light theme readable without changing button geometry. */
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back{
  background:#e6f3f8!important;color:#1a526c!important;border-color:#bedfe9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel > button.forms-auth-back:hover{
  background:#d8f3f8!important;border-color:#56bbce!important;
}

/* END forms-consumer-back-button-c172.css */

/* BEGIN forms-consumer-login-tabs-c173.css */
/* C173: user-auth segmented tabs + top-right theme placement parity */
.forms-auth-shell .forms-login-theme{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  z-index:40!important;
}
.forms-auth-shell .forms-login-theme svg{
  width:18px!important;
  height:18px!important;
}

.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:center!important;
  gap:6px!important;
  padding:4px!important;
  margin:12px 0 12px!important;
  border:1px solid rgba(63,109,139,.46)!important;
  border-radius:16px!important;
  background:rgba(4,26,44,.32)!important;
  min-height:52px!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:10px 10px!important;
  border-radius:12px!important;
  border:0!important;
  background:transparent!important;
  color:#9fb6c9!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  filter:none!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button.sec,
.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button[aria-current="true"]{
  background:#173a52!important;
  color:#edf9ff!important;
  border:1px solid rgba(41,123,147,.72)!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button:hover{
  filter:none!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs + .auth-form{
  margin-top:8px!important;
}
.forms-auth-shell[data-auth-type="user"] .auth-form + .forms-auth-recovery{margin-top:10px!important}
.forms-auth-shell[data-auth-type="user"] .forms-auth-recovery .hint{margin-top:8px!important}

:root[data-theme="light"] .forms-auth-shell .forms-login-theme{
  background:#eef7fb!important;
  color:#17506a!important;
  border-color:#bedae6!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs{
  background:#f7fbfd!important;
  border-color:#cadfe8!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button{
  color:#5b7488!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button.sec{
  background:#dff2f7!important;
  color:#124f69!important;
  border-color:#7cc8d8!important;
}

@media (max-width: 600px){
  .forms-auth-shell .forms-login-theme{
    top:18px!important;
    right:18px!important;
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
    border-radius:13px!important;
  }
  .forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs{
    margin:12px 0 10px!important;
    gap:4px!important;
    padding:3px!important;
    min-height:48px!important;
    border-radius:15px!important;
  }
  .forms-auth-shell[data-auth-type="user"] .forms-auth-secondary.forms-auth-secondary-tabs button{
    min-height:42px!important;
    padding:8px 6px!important;
    font-size:11px!important;
    border-radius:11px!important;
  }
}

/* END forms-consumer-login-tabs-c173.css */
/* mySIMAN Forms C174 - stable login tab and theme control contract. */
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:100%!important;flex:0 0 auto!important;min-width:0!important;
 align-items:stretch!important;justify-content:stretch!important;
 gap:4px!important;height:52px!important;min-height:52px!important;
 margin:0 0 12px!important;padding:4px!important;
 border:1px solid #214259!important;border-radius:15px!important;
 background:#071e32!important;box-sizing:border-box!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:100%!important;max-width:none!important;min-width:0!important;
 height:42px!important;min-height:42px!important;max-height:42px!important;
 margin:0!important;padding:0 4px!important;flex:none!important;
 color:#a7bdcb!important;background:transparent!important;
 border:1px solid transparent!important;border-radius:11px!important;
 box-shadow:none!important;font-size:12px!important;font-weight:650!important;
 white-space:nowrap!important;line-height:1.2!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button.sec{
 background:#173a52!important;color:#edf7fc!important;border-color:#1f536c!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs + form.auth-form{
 margin-top:0!important;
}
.forms-auth-shell .forms-login-theme{
 position:fixed!important;top:18px!important;right:18px!important;
 width:42px!important;height:42px!important;min-height:42px!important;
 padding:0!important;border-radius:13px!important;z-index:30!important;
 display:grid!important;place-items:center!important;
 background:#0b293e!important;border:1px solid rgba(87,192,223,.36)!important;
}
.forms-auth-shell .forms-login-theme svg{width:19px!important;height:19px!important;}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
 background:#f1f9fc!important;border-color:#bdd8e3!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
 color:#5c788b!important;background:transparent!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button.sec{
 color:#12536e!important;background:#d7f0f6!important;border-color:#a2dae5!important;
}
@media(max-width:480px){
 .forms-auth-shell .forms-login-theme{top:14px!important;right:14px!important;width:40px!important;height:40px!important;min-height:40px!important;}
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{height:49px!important;min-height:49px!important;gap:3px!important;padding:3px!important;margin-bottom:10px!important;}
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{height:41px!important;min-height:41px!important;max-height:41px!important;font-size:11px!important;}
}

/* mySIMAN Forms C175: one stable Consumer-aligned auth layout for Login, Daftar, Lupa Password.
   Scope: public entry and authenticated app deliberately remain unchanged. */
body:has(.forms-auth-shell) .app{
  width:100%!important;max-width:none!important;min-height:100dvh!important;
  height:100dvh!important;box-sizing:border-box!important;
  padding:clamp(8px,2dvh,18px) 8px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;
}
.forms-auth-shell[data-auth-mode]{
  width:min(440px,100%)!important;max-width:440px!important;min-width:0!important;
  padding:0!important;margin:auto!important;box-sizing:border-box!important;
}
@media(min-width:701px){
 .forms-auth-shell[data-auth-mode]{transform:translateX(-7.5px)!important}
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel{
  width:100%!important;max-width:440px!important;box-sizing:border-box!important;
  height:min(730px,calc(100dvh - 24px))!important;
  min-height:0!important;max-height:calc(100dvh - 24px)!important;
  margin:0!important;padding:clamp(14px,3dvh,30px)!important;
  display:flex!important;flex-direction:column!important;
  position:relative!important;overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-width:thin!important;scrollbar-color:#34637d transparent!important;
  border-radius:24px!important;border:1px solid #b9e9f21f!important;
  color:#edf7fc!important;background:#0c2235!important;
  box-shadow:0 30px 90px #0005,0 1px 0 #fff08 inset!important;
}
/* Make the same logo box and brand header across ALL three User modes. */
.forms-auth-shell[data-auth-mode] .forms-auth-brand{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;
  width:100%!important;max-width:none!important;height:auto!important;
  flex:0 0 auto!important;min-height:0!important;gap:0!important;
  margin:0!important;padding:0!important;text-align:center!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{
  display:block!important;flex:0 0 auto!important;
  width:102.4px!important;height:128px!important;
  margin:-8px auto 4px!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap .forms-entry-logo,
.forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap .forms-logo-glow-layer{
  width:100%!important;height:100%!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand .forms-entry-kicker{
  display:block!important;min-height:17px!important;height:17px!important;
  margin:0 0 4px!important;padding:0!important;
  font-size:10px!important;font-weight:700!important;
  line-height:17px!important;letter-spacing:.18em!important;color:#65e6ee!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand h2{
  display:grid!important;place-items:center!important;
  height:auto!important;min-height:clamp(26px,4.2dvh,38px)!important;
  margin:0 0 8px!important;padding:0!important;
  font-size:28px!important;font-weight:750!important;line-height:1.25!important;
  color:#edf7fc!important;letter-spacing:-.035em!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand p{
  display:grid!important;place-items:center!important;
  width:100%!important;max-width:none!important;
  min-height:clamp(26px,5.2dvh,44px)!important;height:auto!important;
  margin:0 0 10px!important;padding:0!important;
  text-align:center!important;font-size:14px!important;
  line-height:1.65!important;color:#abc5d2!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back{
  position:absolute!important;top:16px!important;left:20px!important;
  height:34px!important;min-height:34px!important;
  width:auto!important;min-width:0!important;max-width:max-content!important;
  margin:0!important;padding:0 10px!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  font-size:12px!important;font-weight:700!important;line-height:1.2!important;
  border-radius:10px!important;color:#edf7fc!important;
  border:1px solid rgba(87,192,223,.36)!important;background:#0b293e!important;
  z-index:2!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back svg{
  width:16px!important;height:16px!important;flex:0 0 16px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:2!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
/* Exact same corner offset and dimensions as Consumer's corner control. */
.forms-auth-shell .forms-portal-theme.forms-login-theme{
  position:fixed!important;top:clamp(12px,2.2dvh,24px)!important;
  right:clamp(12px,2vw,26px)!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:0!important;box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  background:#0b293e!important;color:#b5f4f7!important;
  border:1px solid rgba(87,192,223,.36)!important;border-radius:11px!important;
  box-shadow:none!important;z-index:40!important;
}
.forms-auth-shell .forms-portal-theme.forms-login-theme svg{
  width:18px!important;height:18px!important;stroke:currentColor!important;
  stroke-width:1.8!important;fill:none!important;
}
/* Segmented tabs: visual contract identical for Login / Daftar / Lupa Password. */
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
  flex:0 0 auto!important;
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;
  height:52px!important;min-height:52px!important;
  margin:0 0 12px!important;padding:4px!important;gap:4px!important;
  align-items:center!important;
  background:#071d31!important;border:1px solid #23506b!important;border-radius:13px!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  min-width:0!important;width:100%!important;
  margin:0!important;padding:0 5px!important;
  border-radius:9px!important;border:1px solid transparent!important;
  box-shadow:none!important;
  white-space:nowrap!important;
  background:transparent!important;color:#a6bdce!important;
  font-size:12px!important;font-weight:700!important;line-height:1.2!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button.sec{
  background:#173a52!important;border-color:#1f536c!important;color:#edf7fc!important;
}
/* Login forms use the same slot positions for both User and Administrator.
   User Login retains its two mandatory inputs; no fictional Satker field is inserted. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{
  flex:0 0 auto!important;display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:72px 102px 73px 54px!important;
  gap:12px!important;align-items:stretch!important;
  width:100%!important;margin:0!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > div{
  grid-column:1!important;width:100%!important;min-height:0!important;
  align-self:start!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > div:first-child{grid-row:1!important}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > div:nth-of-type(2){grid-row:3!important}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form label{
  width:100%!important;display:block!important;
  font-size:12px!important;line-height:16.8px!important;font-weight:600!important;
  margin:0 0 4px!important;text-align:left!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form input.field{
  width:100%!important;max-width:none!important;height:52px!important;min-height:52px!important;
  margin:0!important;padding:0 14px!important;border-radius:12px!important;
  box-sizing:border-box!important;font-size:16px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > button[type="submit"]{
  grid-column:1!important;grid-row:4!important;
  width:100%!important;max-width:none!important;
  height:54px!important;min-height:54px!important;margin:0!important;padding:12px 18px!important;
  border-radius:12px!important;font-size:14px!important;font-weight:800!important;
}
/* Daftar and Lupa Password use the SAME shell/brand/tabs as Login,
   with all real inputs in order; excess content scrolls inside card only. */
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form{
  flex:0 0 auto!important;width:100%!important;
  display:flex!important;flex-direction:column!important;
  gap:9px!important;align-items:stretch!important;
  margin:0!important;padding:0!important;
}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form > div{
  flex:0 0 auto!important;display:flex!important;flex-direction:column!important;
  width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;align-self:stretch!important;
}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form label{
  display:block!important;font-size:12px!important;line-height:17px!important;
  font-weight:700!important;margin:0 0 4px!important;text-align:left!important;
}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form input.field{
  display:block!important;width:100%!important;max-width:none!important;
  height:42px!important;min-height:42px!important;
  padding:0 14px!important;border-radius:11px!important;font-size:15px!important;
}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form > button[type="submit"]{
  width:100%!important;height:46px!important;min-height:46px!important;
  margin:6px 0 0!important;flex:0 0 auto!important;border-radius:12px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-footer{
  flex:0 0 auto!important;width:100%!important;
  margin-top:auto!important;padding:8px 0 0!important;
  min-height:25px!important;border-top:1px solid rgba(185,233,242,.10)!important;
  color:#8daab9!important;text-align:center!important;font-size:10px!important;
}
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-recovery{
  flex:0 0 auto!important;margin-top:10px!important;padding-bottom:10px!important;
}
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-recovery .hint{
  font-size:11px!important;margin:6px 0 0!important;
}
/* Light surfaces while preserving light/dark toggle function. */
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-card.panel{
  background:#fff!important;color:#19384f!important;border-color:#b9dbe9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-brand h2{
  color:#19384f!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-brand p,
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-footer{color:#57768d!important}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-entry-kicker{color:#0a8aa6!important}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] form.auth-form label{color:#254961!important}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] form.auth-form input.field{
  background:#f6fafc!important;color:#17354b!important;border-color:#b9d5e4!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] > .forms-login-theme{
  background:#edf8fc!important;color:#087c9e!important;border-color:#b2dce9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
  background:#f1f9fc!important;border-color:#bdd8e3!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
  color:#5c788b!important;background:transparent!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button.sec{
  color:#12536e!important;background:#d7f0f6!important;border-color:#a2dae5!important;
}
@media(max-width:700px){
 body:has(.forms-auth-shell) .app{padding:4px!important;width:100vw!important;min-height:100dvh!important;}
 .forms-auth-shell[data-auth-mode]{width:min(440px,100%)!important;max-width:440px!important;transform:none!important;}
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel{
  width:100%!important;max-width:none!important;height:min(730px,calc(100dvh - 8px))!important;
  max-height:calc(100dvh - 8px)!important;
  padding:clamp(12px,3dvh,24px)!important;
 }
 .forms-auth-shell .forms-portal-theme.forms-login-theme{
  top:clamp(12px,2.2dvh,24px)!important;right:clamp(12px,2vw,26px)!important;
  width:36px!important;height:36px!important;min-height:36px!important;
 }
}
@media(max-height:690px){
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel{padding:clamp(9px,2dvh,15px)!important;}
 .forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{
  width:calc(clamp(45px,10dvh,70px)*.8002853)!important;
  height:clamp(45px,10dvh,70px)!important;margin:0 auto 2px!important;
 }
 .forms-auth-shell[data-auth-mode] .forms-auth-brand .forms-entry-kicker{
  height:14px!important;min-height:14px!important;font-size:9px!important;line-height:14px!important;
 }
 .forms-auth-shell[data-auth-mode] .forms-auth-brand h2{
  min-height:27px!important;font-size:22px!important;margin:0 0 4px!important;
 }
 .forms-auth-shell[data-auth-mode] .forms-auth-brand p{
  display:grid!important;min-height:24px!important;font-size:11px!important;
  line-height:1.3!important;margin:0 0 6px!important;
 }
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
  height:40px!important;min-height:40px!important;margin-bottom:7px!important;padding:3px!important;
 }
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
  height:32px!important;min-height:32px!important;max-height:32px!important;font-size:10px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{
  grid-template-rows:56px 32px 56px 44px!important;gap:6px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form input.field{
  height:37px!important;min-height:37px!important;font-size:13px!important;
 }
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > button[type="submit"]{
  height:44px!important;min-height:44px!important;
 }
 .forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
  .forms-auth-card.panel form.auth-form{gap:6px!important;}
 .forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
  .forms-auth-card.panel form.auth-form input.field{height:36px!important;min-height:36px!important;font-size:13px!important;}
 .forms-auth-shell[data-auth-mode] .forms-auth-footer{padding-top:5px!important;}
}
@media(max-height:430px){
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel{overflow-y:auto!important;}
 .forms-auth-shell[data-auth-mode] .forms-auth-brand p{display:none!important;}
 .forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{
  width:35px!important;height:44px!important;margin:0 auto!important;
 }
 .forms-auth-shell[data-auth-mode] .forms-auth-footer{display:none!important;}
}
/* C175 final cascade correction: override legacy login-specific .app padding
   without a transformed ancestor, so the theme icon is viewport-anchored. */
@media(min-width:701px){
 body:has(.forms-auth-shell[data-auth-mode]) > main.app{
   padding:28px 31px 28px 16px!important;
   width:100%!important;max-width:none!important;
 }
 .forms-auth-shell[data-auth-mode]{transform:none!important;left:auto!important;}
}
@media(max-width:700px){
 body:has(.forms-auth-shell[data-auth-mode]) > main.app{
   padding:4px!important;width:100vw!important;max-width:none!important;
 }
 .forms-auth-shell[data-auth-mode]{transform:none!important;left:auto!important;}
}
/* Remove oversized invisible grid spacer that displaced the Password / Masuk
   controls relative to the Consumer login reference. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{
  grid-template-rows:72px 50px 73px 54px!important;
}
@media(max-height:690px){
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{
   grid-template-rows:56px 16px 56px 44px!important;
 }
}


/* C176 — normalize the User login flow to the supplied SS2 reference.
   Tab and first field stay locked. The Password moves up 50px and the submit
   moves into its lower slot. Admin, Daftar and Recover retain their baseline. */
.forms-auth-shell[data-auth-type="user"][data-auth-mode="login"]
.forms-auth-card.panel form.auth-form{
  grid-template-rows:72px 0px 73px 71px 54px!important;
  row-gap:12px!important;
}
.forms-auth-shell[data-auth-type="user"][data-auth-mode="login"]
.forms-auth-card.panel form.auth-form > div:first-child{grid-row:1!important}
.forms-auth-shell[data-auth-type="user"][data-auth-mode="login"]
.forms-auth-card.panel form.auth-form > div:nth-of-type(2){grid-row:3!important}
.forms-auth-shell[data-auth-type="user"][data-auth-mode="login"]
.forms-auth-card.panel form.auth-form > button[type="submit"]{grid-row:5!important}
@media(max-height:690px){
  .forms-auth-shell[data-auth-type="user"][data-auth-mode="login"]
  .forms-auth-card.panel form.auth-form{
    grid-template-rows:56px 0px 56px 52px 44px!important;
    row-gap:6px!important;
  }
}


/* C177: SINGLE AUTHORITATIVE BACK BUTTON CONTRACT.
   The older C175 rule above was overriding C172. This final rule is a literal
   match of H277C163 Consumer c161-back-button on ALL Forms auth screens.
   Keep card, brand, fields, and login logic unchanged. */
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back {
  box-sizing:border-box!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  position:absolute!important;
  top:clamp(10px,2dvh,19px)!important;
  left:clamp(10px,1.7vw,19px)!important;
  right:auto!important;
  bottom:auto!important;
  z-index:8!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  gap:6px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid rgba(94,203,224,.31)!important;
  border-radius:10px!important;
  background:#0c3044!important;
  color:#defbff!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  cursor:pointer!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back:hover {
  background:#164659!important;
  border-color:#56eee8!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back:focus-visible {
  outline:2px solid #5df0ef!important;
  outline-offset:2px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back svg {
  display:block!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  flex:none!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
@media(max-height:520px){
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back{
  top:7px!important;
  left:7px!important;
  height:27px!important;
  min-height:27px!important;
  max-height:27px!important;
  padding:0 7px!important;
  font-size:10px!important;
 }
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back svg{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  min-height:13px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back{
  transition:none!important;
 }
}
/* Forms retains an accessible light theme without sacrificing contrast. */
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back{
  background:#e6f3f8!important;
  color:#1a526c!important;
  border-color:#bedfe9!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back:hover{
  background:#d7edf5!important;
  border-color:#79c8d9!important;
}

/* C179: Port verified Forms-specific visual corrections on top of locked C177 baseline. */
/* mySIMAN Forms C178. Presentation only; preserve V1.9.0 backend endpoints. */
:root{--forms-auth-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body:has(.forms-auth-shell) .app {font-family:var(--forms-auth-font)!important}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel{
  width:100%!important;max-width:440px!important;box-sizing:border-box!important;
  height:min(730px,calc(100dvh - 16px))!important;
  max-height:calc(100dvh - 16px)!important;
  min-height:0!important;
  display:flex!important;flex-direction:column!important;
  padding:clamp(13px,2.5dvh,25px)!important;
  overflow:hidden!important;
  background:#0c2235!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand{flex:0 0 auto!important;margin:0!important;gap:0!important}
.forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{
  width:102.4px!important;height:128px!important;
  margin:-8px auto 4px!important;flex:0 0 auto!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand .forms-entry-kicker{
  font-family:var(--forms-auth-font)!important;font-size:10px!important;
  font-weight:700!important;letter-spacing:.18em!important;line-height:17px!important;
  min-height:17px!important;height:17px!important;margin:0 0 4px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand h2{
  font-family:var(--forms-auth-font)!important;font-size:28px!important;
  font-weight:750!important;line-height:1.25!important;
  min-height:35px!important;height:auto!important;margin:0 0 8px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-brand p{
  font-family:var(--forms-auth-font)!important;font-size:14px!important;
  font-weight:400!important;line-height:1.5!important;
  min-height:32px!important;height:auto!important;margin:0 0 8px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > button.forms-auth-back{
  box-sizing:border-box!important;position:absolute!important;
  top:clamp(10px,2dvh,19px)!important;
  left:clamp(10px,1.7vw,19px)!important;
  height:34px!important;min-height:34px!important;max-height:34px!important;
  gap:6px!important;padding:0 10px!important;margin:0!important;
  font-family:var(--forms-auth-font)!important;font-size:12px!important;font-weight:700!important;
  color:#defbff!important;background:#0c3044!important;
  border:1px solid rgba(94,203,224,.31)!important;border-radius:10px!important;
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
}
.forms-auth-shell .forms-portal-theme.forms-login-theme{
  position:fixed!important;top:clamp(12px,2.2dvh,24px)!important;
  right:clamp(12px,2vw,26px)!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  border-radius:11px!important;z-index:99!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:4px!important;flex:none!important;
  width:100%!important;min-height:52px!important;height:52px!important;
  padding:4px!important;margin:0 0 12px!important;border-radius:13px!important;
}
.forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
  height:42px!important;min-height:42px!important;max-height:42px!important;
  font-family:var(--forms-auth-font)!important;font-weight:700!important;font-size:12px!important;
  white-space:nowrap!important;min-width:0!important;padding:0 3px!important;
}
/* Equal, full-width fields in all modes. */
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  margin:0!important;padding:0!important;flex:0 0 auto!important;
  display:flex!important;flex-direction:column!important;gap:15px!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form > div:not(.forms-recovery-actions){
  display:flex!important;flex-direction:column!important;min-width:0!important;
  width:100%!important;min-height:0!important;height:auto!important;
  align-self:stretch!important;flex:0 0 auto!important;margin:0!important;padding:0!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form label{
  display:block!important;font-family:var(--forms-auth-font)!important;
  font-size:12px!important;font-weight:650!important;line-height:17px!important;
  margin:0 0 4px!important;text-align:left!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{
  display:block!important;box-sizing:border-box!important;width:100%!important;
  min-width:0!important;max-width:100%!important;height:52px!important;min-height:52px!important;
  border-radius:12px!important;padding:0 14px!important;
  font-family:var(--forms-auth-font)!important;font-size:15px!important;font-weight:450!important;
  background:#243c56!important;color:#f1f8ff!important;border:1px solid #395a72!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field:focus{
  border-color:#56e1ed!important;outline:2px solid rgba(82,220,235,.25)!important;outline-offset:0!important;
}
/* Keep the two login inputs together, but position Masuk consistently lower in the card. */
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{
  display:flex!important;flex-direction:column!important;gap:19px!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > div{
  grid-row:auto!important;grid-column:auto!important;
}
.forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > button[type="submit"]{
  display:block!important;grid-row:auto!important;grid-column:auto!important;
  width:100%!important;min-height:54px!important;height:54px!important;
  margin:35px 0 0!important;padding:0 14px!important;
  border-radius:12px!important;font-size:15px!important;font-weight:800!important;
}
/* More compact register and recovery inputs to fit in the standard card. */
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form{gap:7px!important}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form label{line-height:15px!important;margin:0 0 3px!important;font-size:12px!important}
.forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
 .forms-auth-card.panel form.auth-form input.field{
  height:39px!important;min-height:39px!important;border-radius:10px!important;font-size:13px!important;
}
.forms-auth-shell[data-auth-type="user"][data-auth-mode="register"]
 .forms-auth-card.panel form.auth-form > button[type="submit"]{
  display:block!important;width:100%!important;min-height:45px!important;height:45px!important;
  margin:6px 0 0!important;flex:0 0 auto!important;border-radius:11px!important;
  font-size:14px!important;font-weight:800!important;
}
/* Recovery: two real actions in a single row, each with its own existing handler. */
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;width:100%!important;min-width:0!important;margin:9px 0 0!important;
  align-items:stretch!important;flex:none!important;
}
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions > button{
  display:flex!important;justify-content:center!important;align-items:center!important;
  min-width:0!important;width:100%!important;height:45px!important;min-height:45px!important;
  border-radius:11px!important;padding:5px 6px!important;
  font-family:var(--forms-auth-font)!important;font-size:11px!important;font-weight:750!important;
  line-height:1.1!important;text-align:center!important;overflow-wrap:anywhere!important;
  white-space:normal!important;box-shadow:none!important;
}
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions > button[type="submit"]{
  color:#072a36!important;background:linear-gradient(100deg,#65e2e7,#45d2ec)!important;
  border:1px solid rgba(87,233,239,.65)!important;
}
.forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions > button#sendResetBtn{
  color:#dff7ff!important;background:#113248!important;border:1px solid #28617b!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel > .forms-auth-footer{
  flex:none!important;width:100%!important;min-height:22px!important;
  margin-top:auto!important;padding-top:8px!important;
  font-size:10px!important;line-height:1.4!important;
  border-top:1px solid rgba(185,233,242,.10)!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{
  background:#f2f7fb!important;color:#12364d!important;border-color:#aacddd!important;
}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode="recover"] .forms-recovery-actions > button#sendResetBtn{
  background:#ebf7fb!important;color:#16465e!important;border-color:#aacddd!important;
}
@media(max-width:480px){
  .forms-auth-shell[data-auth-mode] .forms-auth-card.panel{padding:clamp(11px,2.2dvh,17px)!important}
  .forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{
    width:86.4px!important;height:108px!important;margin:-5px auto 2px!important;
  }
  .forms-auth-shell[data-auth-mode] .forms-auth-brand h2{font-size:27px!important;min-height:34px!important;margin-bottom:5px!important}
  .forms-auth-shell[data-auth-mode] .forms-auth-brand p{font-size:12px!important;min-height:27px!important;margin-bottom:8px!important}
  .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{
    height:48px!important;min-height:48px!important;padding:3px!important;margin-bottom:10px!important;
  }
  .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{
    height:40px!important;min-height:40px!important;max-height:40px!important;font-size:11px!important;
  }
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form{gap:15px!important}
  .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > button[type="submit"]{
    margin-top:32px!important;height:52px!important;min-height:52px!important;
  }
  .forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{
    height:49px!important;min-height:49px!important;
  }
  .forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
   .forms-auth-card.panel form.auth-form input.field{height:38px!important;min-height:38px!important}
  .forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions > button{
    font-size:10px!important;height:44px!important;min-height:44px!important;
  }
}
@media(max-height:650px){
 .forms-auth-shell[data-auth-mode] .forms-auth-logo-wrap{width:64px!important;height:80px!important;margin:-4px auto 0!important}
 .forms-auth-shell[data-auth-mode] .forms-auth-brand h2{font-size:22px!important;min-height:27px!important;margin-bottom:2px!important}
 .forms-auth-shell[data-auth-mode] .forms-auth-brand p{font-size:11px!important;min-height:20px!important;margin-bottom:5px!important}
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs{height:41px!important;min-height:41px!important;margin-bottom:5px!important}
 .forms-auth-shell[data-auth-type="user"] .forms-auth-card.panel > nav.forms-auth-secondary-tabs > button{height:33px!important;min-height:33px!important;max-height:33px!important;font-size:10px!important}
 .forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{height:37px!important;min-height:37px!important}
 .forms-auth-shell[data-auth-mode="login"] .forms-auth-card.panel form.auth-form > button[type="submit"]{margin-top:13px!important;height:43px!important;min-height:43px!important}
 .forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
  .forms-auth-card.panel form.auth-form{gap:5px!important}
 .forms-auth-shell[data-auth-type="user"]:is([data-auth-mode="register"],[data-auth-mode="recover"])
  .forms-auth-card.panel form.auth-form input.field{height:34px!important;min-height:34px!important}
 .forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions{margin-top:4px!important}
 .forms-auth-shell[data-auth-mode="recover"] .forms-auth-card.panel .forms-recovery-actions > button{height:38px!important;min-height:38px!important}
}

@media(max-width:360px) and (max-height:560px){
 .forms-auth-shell[data-auth-type="user"][data-auth-mode="register"] .forms-auth-card.panel form.auth-form{gap:4px!important}
 .forms-auth-shell[data-auth-type="user"][data-auth-mode="register"] .forms-auth-card.panel form.auth-form>button[type="submit"]{margin-top:4px!important}
}


/* C179 consistency: all User/Administrator input boxes use the same material and type. */
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 font-weight:450!important;
 border:1px solid #395a72!important;
 background:#243c56!important;
 color:#f1f8ff!important;
 box-shadow:none!important;
}
.forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field::placeholder{color:#a6bed0!important;opacity:1!important}
:root[data-theme="light"] .forms-auth-shell[data-auth-mode] .forms-auth-card.panel form.auth-form input.field{
 background:#f2f7fb!important;color:#12364d!important;border-color:#aacddd!important;
}
/* Preserve identical Consumer-style back button and viewport-anchored theme icon from C177. */

/* C179 recovery: override legacy auth flex layout so both actions share one real row. */
.forms-auth-shell[data-auth-type="user"][data-auth-mode="recover"]
 .forms-auth-card.panel form#userAuthForm.auth-form > div.forms-recovery-actions {
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-auto-flow:column!important;
 align-items:stretch!important;
 gap:8px!important;
 flex-direction:unset!important;
 width:100%!important;
 min-width:0!important;
}
.forms-auth-shell[data-auth-type="user"][data-auth-mode="recover"]
 .forms-auth-card.panel form#userAuthForm.auth-form > div.forms-recovery-actions > button{
 grid-column:auto!important;
 min-width:0!important;
 width:100%!important;
 max-width:100%!important;
}
