




/* Scoped account profile/export additions; the existing screen remains unchanged. */
.admin-user-profile{margin-top:18px;padding:16px 0;border-top:1px solid #efd3d8;border-bottom:1px solid #efd3d8;color:#47131c}
.admin-user-profile label{display:block;font-weight:600;margin-bottom:8px}
.admin-user-profile-name,.admin-user-profile-pin{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.admin-user-profile input{min-width:0;width:100%;min-height:48px;border:1px solid #ddb9c1;border-radius:12px;padding:10px 12px;font:inherit;background:white;color:#47131c}
.admin-user-profile button,.admin-users-export button{min-height:48px;border:1px solid #861b2e;border-radius:12px;padding:10px 16px;background:#861b2e;color:white;font:inherit;font-weight:600;cursor:pointer}
.admin-user-profile button:disabled,.admin-users-export button:disabled{opacity:.55;cursor:not-allowed}
.admin-user-profile input:focus-visible,.admin-user-profile button:focus-visible,.admin-users-export button:focus-visible{outline:3px solid #e99aa8;outline-offset:2px}
.admin-user-profile p,.admin-users-export p{font-size:.875rem;line-height:1.6;color:#6f5960;margin:8px 0 16px}
.admin-user-profile .admin-user-profile-notice{display:block;color:#861b2e;margin-bottom:0;min-height:1.5em;font-weight:600}
.admin-users-export{margin:16px 0 20px;padding:16px;background:#fff0f2;border:1px solid #efd3d8;border-radius:14px}
.admin-users-export button+button{margin-left:8px;background:white;color:#861b2e}
.admin-users-export p:last-child{margin-bottom:0}
.admin-users-export output{display:block;font-size:.875rem;line-height:1.6;color:#861b2e;font-weight:600}
@media(max-width:760px){.admin-user-profile-name,.admin-user-profile-pin{grid-template-columns:1fr}.admin-users-export button{width:100%}.admin-users-export button+button{margin:8px 0 0}.admin-user-profile .admin-pin-field{display:grid;grid-template-columns:minmax(0,1fr) auto}}

:root { --background:#f6f7f9;--foreground:#1f2937;--card:#fff;--primary:#c9151b;--primary-dark:#8f0f14;--secondary:#fff0f1;--muted:#f2f4f7;--muted-foreground:#5c6676;--border:#d7dde6;--accent:#f2b705;--navy:#122b73;--wine:#003e92;--success:#12715b;--pending:#8c5b0a;--font-thai:"Noto Sans Thai","Leelawadee UI",Tahoma,Arial,sans-serif; }
*{box-sizing:border-box}html{font-size:16px;background:var(--background)}body{margin:0;min-width:320px;background:var(--background);color:var(--foreground);font-family:var(--font-thai);font-size:1rem;line-height:1.65}button,input,select,textarea{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.app-shell{min-height:100dvh;display:grid;grid-template-columns:278px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:20px 16px;color:#fff;background:radial-gradient(circle at 12% 3%,#b73c50 0,transparent 29%),linear-gradient(160deg,#3f0d18,#003e92 55%,#2c0911);z-index:40}.brand-block{display:flex;align-items:center;gap:12px;padding:0 4px 18px;border-bottom:1px solid #ffffff2a}.brand-block img{width:80px;height:54px;object-fit:contain;padding:4px;border-radius:10px;background:#fff}.brand-block strong,.brand-block span{display:block}.brand-block strong{font-size:1rem;line-height:1.35}.brand-block span{margin-top:2px;color:#f0cdd3;font-size:.82rem}.mobile-close{display:none;margin-left:auto;border:0;background:transparent;color:#fff}.mobile-close svg,.menu-button svg{width:24px;height:24px}.tenant-chip{margin:14px 4px 10px;color:#f2d5da;font-size:.78rem;font-weight:800;letter-spacing:.04em}.sidebar nav{min-height:0;flex:1;overflow:auto;padding:4px 0 16px}.sidebar nav button{width:100%;min-height:46px;display:flex;align-items:center;gap:12px;margin:3px 0;padding:10px 12px;border:0;border-radius:11px;color:#f8e8eb;background:transparent;text-align:left;cursor:pointer}.sidebar nav button:hover{background:#ffffff12}.sidebar nav button.active{color:var(--primary-dark);background:#fff;font-weight:800;box-shadow:0 10px 26px #22040c4d}.sidebar nav svg{width:20px;height:20px;flex:0 0 auto}.sidebar-foot{padding:14px 4px 0;border-top:1px solid #ffffff25}.sidebar-foot p{margin:8px 0 0;color:#efd3d8;font-size:.82rem;line-height:1.55}.pending-badge{min-height:28px;gap:6px;border:1px solid #e7c26a;color:#5a3a00;background:#fff2c8;font-size:.78rem}.pending-badge svg{width:14px;height:14px}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:20;min-height:86px;display:flex;align-items:center;gap:16px;padding:14px 32px;border-bottom:1px solid var(--border);background:#ffffffed;backdrop-filter:blur(14px)}.topbar h1{margin:1px 0 0;font-size:1.45rem;line-height:1.3}.eyebrow{color:var(--primary);font-size:.78rem;font-weight:900;letter-spacing:.07em}.topbar-status{margin-left:auto;display:flex;align-items:center;gap:10px}.role-chip{padding:6px 11px;border:1px solid var(--border);border-radius:999px;color:var(--muted-foreground);background:#fff;font-size:.82rem}.menu-button{display:none;width:44px;height:44px;place-content:center;flex:0 0 auto;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--wine)}.content{width:min(1440px,100%);margin:0 auto;padding:28px 32px 52px}
.status-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 34px;border-radius:22px;color:#fff;background:radial-gradient(circle at 91% 24%,#ffffff18 0 12%,transparent 13%),linear-gradient(125deg,#430d18,#861b2e 60%,#b34557);box-shadow:0 18px 46px #53152224}.status-banner h2{margin:12px 0 7px;font-size:clamp(1.7rem,4vw,2.55rem);line-height:1.25}.status-banner p{max-width:840px;margin:0;color:#f7e7ea;font-size:1rem;line-height:1.75}.banner-badge{min-height:28px;color:#5b3a00;background:#ffe79a;font-size:.78rem}.primary-action{min-height:48px;padding-inline:18px;color:var(--primary-dark);background:#fff;font-size:.95rem;font-weight:900}.primary-action:hover{background:#fff3f4}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:32px 0 16px}.section-heading h2{margin:3px 0 0;font-size:1.55rem}.last-sync{color:var(--muted-foreground);font-size:.88rem}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi-card{border-top:4px solid var(--primary);box-shadow:0 8px 26px #2811170a}.kpi-card [data-slot=card-title]{color:var(--wine);font-size:2.35rem;font-weight:900}.kpi-card [data-slot=card-description]{color:#3e4653;font-size:.95rem;font-weight:700}.kpi-card p{margin:0;color:var(--muted-foreground);font-size:.86rem;line-height:1.55}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr);gap:16px;margin-top:18px}.empty-panel{min-height:300px;box-shadow:0 8px 26px #2811170a}.empty-panel [data-slot=card-title]{font-size:1.1rem;font-weight:800}.empty-panel [data-slot=card-description]{font-size:.9rem;line-height:1.55}.empty-state{min-height:175px;display:grid;place-items:center;align-content:center;text-align:center}.empty-state>span{width:54px;height:54px;display:grid;place-content:center;border-radius:16px;color:var(--wine);background:#fff0f1}.empty-state svg{width:25px;height:25px}.empty-state strong{margin-top:13px;font-size:1rem}.empty-state p{max-width:520px;margin:5px 0 0;color:var(--muted-foreground);font-size:.9rem;line-height:1.6}.adapter-list{display:grid;gap:12px}.adapter-list>div{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--border);border-radius:12px}.adapter-list strong,.adapter-list small{display:block}.adapter-list strong{font-size:.92rem}.adapter-list small{color:var(--muted-foreground);font-size:.82rem}.dot{width:11px;height:11px;flex:0 0 auto;border-radius:50%;background:#c68a24;box-shadow:0 0 0 5px #fff1cf}.dot.ready{background:var(--success);box-shadow:0 0 0 5px #dff2ec}.module-placeholder{min-height:520px}.module-placeholder [data-slot=card-content]{min-height:520px;display:grid;place-items:center;align-content:center;gap:18px}.sidebar-scrim{display:none}
@media(max-width:1080px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:800px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:min(320px,88vw);transform:translateX(-102%);transition:transform .2s ease}.sidebar.open{transform:translateX(0)}.mobile-close,.menu-button{display:grid}.sidebar-scrim{position:fixed;inset:0;z-index:30;display:block;border:0;background:#19040988}.topbar{min-height:78px;padding:12px 18px}.topbar-status .role-chip{display:none}.content{padding:20px 18px 40px}.status-banner{align-items:flex-start;flex-direction:column;padding:26px 22px}.primary-action{width:100%}}@media(max-width:540px){html{font-size:16px}.topbar-status .pending-badge{font-size:.72rem}.topbar h1{font-size:1.15rem}.kpi-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.status-banner p{font-size:.95rem}}

.form-surface{overflow:visible;box-shadow:0 10px 30px #2811170c}.form-surface>[data-slot=card-header]{display:flex;grid-template-columns:minmax(0,1fr) auto;gap:20px}.form-surface>[data-slot=card-header]>[data-slot=badge]{min-height:28px;white-space:normal;font-size:.875rem;line-height:1.4}.form-surface [data-slot=card-title]{margin-top:4px;font-size:1.55rem;font-weight:850}.form-surface [data-slot=card-description]{max-width:900px;margin-top:6px;font-size:.94rem;line-height:1.65}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full,.form-actions.full,.map-preview.full{grid-column:1/-1}.field label{color:#333c4a;font-size:.94rem;font-weight:750}.field label b{color:var(--primary)}.field input,.field textarea{min-height:46px;background:#fff;font-size:1rem}.field textarea{min-height:110px}.field .error{color:#b42318;font-size:.84rem;line-height:1.5}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:6px}.form-actions button,.preview-box button{min-height:44px;padding-inline:16px}.canonical-box{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding:14px 16px;border:1px solid #e3c266;border-radius:13px;background:#fff9e8}.canonical-box strong{font-size:.95rem}.canonical-box span{color:#76500d;font-size:.88rem}.map-preview{min-height:150px;display:grid;place-items:center;align-content:center;border:1px dashed #c6a1a9;border-radius:15px;color:var(--wine);background:#fdf8f9;text-align:center}.map-preview svg{width:30px;height:30px}.map-preview strong{margin-top:7px}.map-preview span{margin-top:3px;color:var(--muted-foreground);font-size:.86rem}.preview-box{margin-top:20px;padding:20px;border:2px solid #d6b45a;border-radius:16px;background:#fffbef}.preview-box h3{margin:0 0 12px;font-size:1.08rem}.preview-box dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.preview-box dl div{padding:8px 0;border-bottom:1px solid #eadfbf}.preview-box dt{color:var(--muted-foreground);font-size:.8rem}.preview-box dd{margin:2px 0 0;overflow-wrap:anywhere;font-size:.9rem}.pending-note{color:#76500d;font-size:.88rem}.upload-zone{min-height:250px;display:grid;place-items:center;align-content:center;padding:28px;border:2px dashed #c6a1a9;border-radius:18px;background:#fdf8f9;text-align:center}.upload-zone svg{width:40px;height:40px;color:var(--wine)}.upload-zone strong{margin-top:10px;font-size:1.05rem}.upload-zone p{margin:4px 0 18px;color:var(--muted-foreground);font-size:.9rem}.upload-zone input{max-width:520px;min-height:46px;background:#fff}.error-list{color:#b42318;font-size:.9rem}.success-text{display:flex;align-items:center;gap:7px;color:var(--success);font-weight:750}.success-text svg{width:19px;height:19px}.adapter-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:16px}.adapter-columns [data-slot=card-header]{display:grid;grid-template-columns:1fr auto}.adapter-columns p{margin:0;color:var(--muted-foreground);font-size:.9rem}.ready-badge{color:#fff;background:var(--success)}.state-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.state-strip span{padding:10px;border:1px solid var(--border);border-radius:10px;color:var(--muted-foreground);background:#fff;text-align:center;font-size:.875rem;line-height:1.5}.state-strip span.active{color:#fff;background:var(--wine);border-color:var(--wine);font-weight:750}.workflow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.workflow-strip>div{min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff;text-align:center}.workflow-strip span{width:32px;height:32px;display:grid;place-content:center;border-radius:50%;color:#fff;background:var(--wine);font-weight:800}.workflow-strip strong{margin-top:8px;font-size:.9rem}.workflow-strip small{color:#b42318;font-size:.78rem}
@media(max-width:800px){.form-grid,.adapter-columns{grid-template-columns:1fr}.field.full,.form-actions.full,.map-preview.full{grid-column:auto}.form-surface>[data-slot=card-header]{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.preview-box dl{grid-template-columns:1fr}.state-strip,.workflow-strip{grid-template-columns:1fr 1fr}.canonical-box{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.state-strip,.workflow-strip{grid-template-columns:1fr}.form-surface [data-slot=card-title]{font-size:1.3rem}}
.table-surface>[data-slot=card-header]{display:grid;grid-template-columns:1fr auto}.filter-toggle{display:none;min-height:44px;margin-bottom:12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--wine);font-weight:750}.filter-panel{display:grid;grid-template-columns:2fr repeat(6,minmax(130px,1fr));gap:10px;align-items:end;margin-bottom:16px;padding:15px;border:1px solid var(--border);border-radius:14px;background:#fafbfc}.filter-panel .field{gap:4px}.filter-panel .field label{font-size:.82rem}.filter-panel .field input,.filter-panel select{min-height:42px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:#fff;font-size:.9rem}.filter-actions{display:flex;gap:7px}.filter-actions button{min-height:42px}.empty-table{overflow:hidden;border:1px solid var(--border);border-radius:14px}.empty-table-head{display:grid;grid-template-columns:2fr 1fr 1fr;padding:11px 16px;color:#fff;background:var(--wine);font-size:.88rem;font-weight:750}.empty-table .empty-state{min-height:300px}@media(max-width:1000px){.filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.filter-toggle{display:block}.filter-panel{display:none;grid-template-columns:1fr}.filter-panel.open{display:grid}.filter-actions{flex-direction:column}.empty-table-head{grid-template-columns:1.5fr 1fr}.empty-table-head span:last-child{display:none}}
.advanced-panel{border:1px solid var(--border);border-radius:16px;background:#fffaf5;padding:0 18px}.advanced-panel summary{cursor:pointer;font-weight:750;min-height:48px;display:flex;align-items:center;color:var(--wine)}.advanced-panel[open]{padding-bottom:18px}.advanced-panel .form-grid{margin-top:8px}.table-scroll{overflow-x:auto;margin:16px 0;border:1px solid var(--border);border-radius:12px}.table-scroll table{min-width:760px;margin:0}.table-scroll th,.table-scroll td{white-space:nowrap;text-align:left;padding:12px}
small,.eyebrow,.tenant-chip,.brand-block span,.sidebar-foot p,.role-chip,.pending-badge,.banner-badge,.last-sync,.kpi-card p,.adapter-list small,.empty-state p,.map-preview span,.preview-box dt,.pending-note,.workflow-strip small,.filter-panel .field label{font-size:.875rem}
.topbar-status .pending-badge{font-size:.875rem}.mobile-close{width:44px;height:44px;min-width:44px;min-height:44px;place-content:center}.filter-actions button{min-height:44px}.filter-panel .field input,.filter-panel select{min-height:44px}
.result-count-badge{min-height:28px;font-size:.875rem;line-height:1.4}
.field select{min-height:46px;background:#fff;font-size:1rem}.ready-badge{min-height:28px;font-size:.875rem;line-height:1.4}
.help-page{display:grid;gap:18px}.help-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #e4ccd1;border-radius:20px;background:linear-gradient(135deg,#fff,#fff6f7)}.help-hero h2{margin:5px 0 6px;color:var(--wine);font-size:1.65rem;line-height:1.35}.help-hero p{max-width:850px;margin:0;color:var(--muted-foreground);font-size:.95rem}.help-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:18px;padding:18px;border:1px solid var(--border);border-radius:16px;background:#fff}.help-roles{min-width:0;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}.help-roles button{min-height:44px}.help-context{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-left:4px solid var(--navy);border-radius:8px;background:#eef2fb}.help-context strong{color:var(--navy)}.help-context span{color:var(--muted-foreground);font-size:.9rem}.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.help-grid [data-slot=card-title]{font-size:1.08rem}.help-grid ol{margin:0;padding-left:1.4rem}.help-grid li{margin:.55rem 0;color:#343c49;font-size:.93rem;line-height:1.65}.help-support{border-left:4px solid var(--pending)}.help-support p{margin:0;color:var(--muted-foreground)}
.checksum-line{overflow-wrap:anywhere;color:var(--muted-foreground);font-size:.84rem}.checksum-line code{font-size:.8rem}
@media(max-width:1000px){.help-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.help-hero,.help-context{flex-direction:column}.help-toolbar{grid-template-columns:1fr}.help-grid{grid-template-columns:1fr}.help-roles{display:grid;grid-template-columns:1fr}.help-roles button{width:100%}}
.auth-shell{min-height:100dvh;padding:32px 22px 44px;color:var(--foreground);background:radial-gradient(circle at 92% 6%,#e3172d1c,transparent 27rem),radial-gradient(circle at 2% 94%,#003e9216,transparent 25rem),linear-gradient(180deg,#fff4f5 0,#fff 46%,#f8f4f5 100%)}
.auth-page{width:min(1180px,100%);margin:0 auto}.auth-brand{position:relative;display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:center;overflow:hidden;padding:26px 30px;border:1px solid #ffffff38;border-radius:26px;color:#fff;background:linear-gradient(126deg,#430d18 0,#861b2e 66%,#c9151b 100%);box-shadow:0 24px 65px #5315222e}.auth-brand:after{content:"";position:absolute;top:-72px;right:90px;width:220px;height:220px;border:38px solid #ffffff10;border-radius:50%;pointer-events:none}.auth-logo{position:relative;z-index:1;display:grid;place-items:center;min-height:86px;padding:15px 18px;border-radius:18px;background:#fff;box-shadow:0 10px 30px #00000029}.auth-logo img{display:block;width:100%;max-height:78px;object-fit:contain}.auth-brand>div:last-child{position:relative;z-index:1}.auth-eyebrow,.auth-kicker{display:block;color:#ffb7c0;font-size:.75rem;font-weight:900;letter-spacing:.12em}.auth-brand h1{margin:5px 0 4px;font-size:clamp(2rem,4.6vw,3rem);line-height:1.08;letter-spacing:-.03em}.auth-brand p{max-width:740px;margin:7px 0 0;color:#f8dfe3;font-size:1.06rem;line-height:1.65}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:22px;align-items:stretch;margin-top:22px}.auth-intro,.auth-card{border:1px solid #e4ccd1;border-radius:22px;box-shadow:0 16px 42px #53152217}.auth-intro{position:relative;overflow:hidden;padding:36px;color:#fff;background:linear-gradient(145deg,#003e92,#3f0d18)}.auth-intro:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#ef3340}.auth-intro h2{max-width:560px;margin:10px 0 12px;font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.25}.auth-intro p{max-width:620px;margin:0;color:#f0d7dc;font-size:1rem;line-height:1.7}.auth-intro ul{display:grid;gap:10px;margin:26px 0 0;padding:0;list-style:none}.auth-intro li{display:flex;gap:10px;align-items:center;color:#fff1f3}.auth-intro li:before{content:"✓";display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto;border-radius:50%;color:#003e92;background:#fff;font-weight:900}
.auth-card{padding:28px;background:#fff}.auth-card>.auth-kicker{color:var(--primary)}.auth-card h2{margin:6px 0 2px;color:#430d18;font-size:1.75rem}.auth-form-note{margin:0 0 20px;color:var(--muted-foreground);font-size:.9rem}.auth-card label{display:block;margin:15px 0;color:#4a2730;font-size:.9rem;font-weight:800}.auth-card input{display:block;width:100%;min-height:50px;margin-top:7px;padding:12px 14px;border:1px solid #d7bfc4;border-radius:11px;color:var(--foreground);background:#fffdfd;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.auth-card input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #c9151b1f}.auth-pin-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;margin-top:7px}.auth-pin-field input{margin-top:0}.auth-card .auth-pin-toggle{width:auto;min-width:82px;margin:0;padding:0 14px;border:1px solid #d7bfc4;color:var(--wine);background:#fff0f1;box-shadow:none}.auth-card .auth-pin-toggle:hover{background:#fde1e4}.auth-card button{min-height:48px;border:0;border-radius:11px;font-weight:900;cursor:pointer}.auth-card .auth-submit{width:100%;margin-top:8px;padding:12px 20px;color:#fff;background:linear-gradient(135deg,#d7192d,#861b2e);box-shadow:0 9px 20px #c9151b38}.auth-card .auth-submit:hover:not(:disabled){background:linear-gradient(135deg,#ef3340,#003e92)}.auth-card button:disabled{opacity:.62;cursor:wait}.auth-card [role=status]{min-height:24px;margin:14px 0 0;color:var(--wine);font-size:.88rem;text-align:center}.auth-footer{display:flex;gap:12px;align-items:center;margin-top:18px;padding:13px 4px 0;border-top:1px solid #e4ccd1;color:var(--muted-foreground);font-size:.82rem;line-height:1.6}.auth-footer b{flex:none;color:var(--wine)}
@media(max-width:920px){.auth-brand{grid-template-columns:170px minmax(0,1fr);gap:22px}.auth-layout{grid-template-columns:1fr}.auth-intro{padding:30px}}
@media(max-width:620px){.auth-shell{padding:14px 11px 28px}.auth-brand{grid-template-columns:1fr;gap:16px;padding:20px;border-radius:20px}.auth-logo{width:158px;min-height:66px;padding:11px 13px}.auth-brand h1{font-size:clamp(1.8rem,10vw,2.4rem)}.auth-brand p{font-size:.95rem}.auth-layout{margin-top:14px;gap:14px}.auth-intro{padding:24px 22px}.auth-intro ul{margin-top:20px}.auth-card{padding:22px 18px}.auth-pin-field{grid-template-columns:1fr}.auth-card .auth-pin-toggle{min-height:44px}.auth-footer{align-items:flex-start;flex-direction:column;gap:3px}}
.admin-users-shell{min-height:100dvh;padding:28px 22px 44px;background:radial-gradient(circle at 92% 4%,#e5001920,transparent 28rem),linear-gradient(180deg,#fff4f5,#fff 46%,#f8f4f5)}.admin-users-page{width:min(1180px,100%);margin:auto}.admin-users-header{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 26px;border-radius:24px;color:#fff;background:linear-gradient(126deg,#430d18,#861b2e 66%,#c9151b);box-shadow:0 20px 55px #5315222b}.admin-users-logo{display:grid;place-items:center;min-height:74px;padding:11px 14px;border-radius:15px;background:#fff}.admin-users-logo img{display:block;width:100%;max-height:64px;object-fit:contain}.admin-users-header span,.admin-user-create>span,.admin-user-list-heading span{display:block;color:#ffb7c0;font-size:.75rem;font-weight:900;letter-spacing:.12em}.admin-users-header h1{margin:4px 0;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15}.admin-users-header p{margin:0;color:#f8dfe3}.admin-users-header>a{min-height:46px;display:grid;place-items:center;padding:10px 16px;border:1px solid #ffffff66;border-radius:11px;color:#fff;text-decoration:none;font-weight:800}.admin-users-header>a:hover{background:#fff;color:#003e92}.admin-users-grid{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:20px;align-items:start;margin-top:20px}.admin-user-create,.admin-user-list{padding:26px;border:1px solid #e4ccd1;border-radius:20px;background:#fff;box-shadow:0 14px 36px #53152212}.admin-user-create>span,.admin-user-list-heading span{color:var(--primary)}.admin-user-create h2,.admin-user-list h2{margin:5px 0 2px;color:var(--wine);font-size:1.55rem}.admin-user-create>p{margin:0 0 18px;color:var(--muted-foreground);font-size:.9rem}.admin-user-create label,.admin-user-access label{display:grid;gap:6px;margin:13px 0;color:#4a2730;font-size:.88rem;font-weight:800}.admin-user-create input,.admin-user-create select,.admin-user-access select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #d7bfc4;border-radius:10px;background:#fff}.admin-pin-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.admin-pin-field button{min-width:76px;border:1px solid #d7bfc4;border-radius:10px;color:var(--wine);background:#fff0f1;font-weight:800}.admin-create-button,.admin-user-access>button{min-height:48px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#d7192d,#861b2e);font-weight:900;cursor:pointer}.admin-create-button{width:100%;margin-top:8px}.admin-user-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-user-list-heading>b{padding:7px 11px;border-radius:999px;color:var(--wine);background:#fff0f1;font-size:.82rem}.admin-user-cards{display:grid;gap:12px;margin-top:18px}.admin-user-card{padding:16px;border:1px solid #ead9dc;border-radius:14px;background:#fffdfd}.admin-user-identity{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-user-identity strong,.admin-user-identity small{display:block}.admin-user-identity strong{color:#430d18}.admin-user-identity small{margin-top:2px;color:var(--muted-foreground)}.admin-user-identity em{padding:6px 10px;border-radius:999px;color:#087653;background:#e5f5ee;font-size:.78rem;font-style:normal;font-weight:800}.admin-owner-note{margin-top:12px;padding:11px;border-radius:9px;color:#003e92;background:#fff0f1;font-size:.88rem}.admin-user-access{display:grid;grid-template-columns:1fr 1fr auto auto;gap:10px;align-items:end;margin-top:12px}.admin-user-access label{margin:0}.admin-enabled{min-height:48px;display:flex!important;align-items:center;gap:7px!important;white-space:nowrap}.admin-enabled input{width:20px;height:20px}.admin-user-access>button{padding:10px 14px}.admin-users-status{margin:16px 0 0;padding:12px 14px;border:1px solid #e4ccd1;border-radius:11px;color:var(--wine);background:#fff}.admin-user-create button:disabled,.admin-user-access button:disabled{opacity:.6;cursor:wait}
@media(max-width:920px){.admin-users-header{grid-template-columns:130px minmax(0,1fr)}.admin-users-header>a{grid-column:1/-1}.admin-users-grid{grid-template-columns:1fr}.admin-user-access{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.admin-users-shell{padding:12px}.admin-users-header{grid-template-columns:1fr;padding:18px;border-radius:18px}.admin-users-logo{width:145px}.admin-user-create,.admin-user-list{padding:18px}.admin-user-access{grid-template-columns:1fr}.admin-pin-field{grid-template-columns:1fr}.admin-pin-field button{min-height:44px}.admin-user-identity{align-items:flex-start;flex-direction:column}}
.admin-form-notice{min-height:48px;margin:12px 0 0!important;padding:11px 13px;border:1px solid #e4ccd1;border-radius:10px;color:#5f4a50;background:#fff8f8;font-size:.9rem;font-weight:700}.admin-form-notice.success{border-color:#8bcbb5;color:#087653;background:#ecfbf5}.admin-form-notice.error{border-color:#ef9ca5;color:#003e92;background:#fff0f1}
.admin-data-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 0;padding:16px;border:1px solid #ead0d3;border-radius:16px;background:#fff}.admin-data-tools>div{display:grid;margin-right:auto}.admin-data-tools span{color:#6b5a5c;font-size:14px}.admin-data-tools>a,.admin-restore-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border-radius:10px;background:#8b1626;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.admin-restore-button{background:#fff;color:#8b1626;border:2px solid #8b1626}.admin-restore-button input{display:none}@media(max-width:720px){.admin-data-tools{align-items:stretch}.admin-data-tools>div{width:100%}.admin-data-tools>a,.admin-restore-button{flex:1 1 160px}}

.auth-shell{background:linear-gradient(135deg,#edf3fc,#fff)!important}.auth-brand h1,.auth-brand p,.auth-eyebrow,.auth-kicker{color:#003e92!important}.auth-logo{background:#fff!important;border-color:#d7e2f2!important}.auth-logo img{object-fit:contain!important;padding:9px}.auth-intro{background:linear-gradient(145deg,#003e92,#072b63)!important}.auth-submit,.install-app-button{background:#003e92!important;border-color:#003e92!important}.auth-card{border-top:4px solid #e50019!important}.auth-footer{color:#365781!important}