*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI",Arial,sans-serif;color:#243449;background:#f7f9fb;font-size:14px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,label:focus-within{outline:2px solid #00a97a;outline-offset:2px}.workspace{height:100dvh;min-height:550px;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:13px;padding:17px 22px;background:#20262e;color:white;border-bottom:1px solid #343b46;flex-shrink:0}.brand-icon{width:42px;height:44px;display:grid;place-items:center;background:#00966c;border:1px solid #11af85;border-radius:8px}.brand{flex:1;min-width:0}.filename{display:flex;align-items:center;font-weight:600;font-size:15px;letter-spacing:.1px}.filename>span:first-child{color:#b4becc}.brand p{font-size:12px;color:#9ba9bb;margin:5px 0 0;letter-spacing:.15px}.save-badge{display:inline-flex;align-items:center;gap:6px;margin-left:13px;background:#073f36;border:1px solid #1b5448;color:#72dfbc;border-radius:20px;padding:4px 9px;font-size:12px;font-weight:400;white-space:nowrap}.save-badge>span{width:5px;height:5px;border-radius:50%;background:#57d8ae}.save-badge.pending{color:#ffd99b}.header-actions{display:flex;gap:8px}.btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid transparent;border-radius:5px;font-size:14px;font-weight:500;white-space:nowrap;transition:filter .15s}.btn:hover{filter:brightness(1.08)}.btn-disabled{opacity:.5;pointer-events:none;cursor:default}.green{background:#00996f;color:white;border-color:#0daa80}.blue{background:#2762e8;color:white;border-color:#3571fa}.dark{background:#363f4e;color:#e5ebf4;border-color:#454e5c}.neutral{background:white;color:#42526b;border-color:#d9e1e9}.sheet-toolbar{background:#191f27;display:flex;gap:10px;padding:8px 14px;color:#a8b4c5;align-items:center;min-height:48px;border-bottom:1px solid #323a47}.cell-reference{border:1px solid #3a4351;border-radius:4px;min-width:73px;height:29px;display:flex;justify-content:space-between;align-items:center;padding:0 10px;color:#e6edf7;font-family:Consolas,monospace;font-size:12px}.formula-actions{display:flex;align-items:center;gap:12px}.formula-actions button{background:none;border:0;color:#a7b3c3;display:flex;padding:0}.formula-actions i{font-family:Georgia,serif;color:#d4dce6;font-size:18px;margin-right:4px}.formula{flex:1;min-width:80px;background:#20262e;border:1px solid #36404c;border-radius:4px;padding:6px 10px;height:29px;color:#dce4ed;caret-color:#dce4ed;font-family:Consolas,monospace;font-size:12px;outline:none}.formula::placeholder{color:#758399}.search{display:flex;align-items:center;gap:7px;border:1px solid #3a4351;border-radius:4px;padding:5px 9px;width:225px}.search input{min-width:0;width:100%;background:none;border:0;outline:none;color:#eef3fa;caret-color:#eef3fa;font-size:12px}.search button{border:0;background:none;color:inherit;display:flex}.search input::placeholder{color:#8c99aa}.sheet-heading{padding:25px 27px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}.workbook-label{font-size:11px;letter-spacing:1.65px;font-weight:650;color:#8490a0}h1{font-size:23px;font-weight:600;letter-spacing:-.7px;line-height:1.25;margin:6px 0 0;display:flex;align-items:center;gap:11px;color:#233147}.year{font-size:12px;letter-spacing:.1px;background:#f0f4f7;color:#7b8795;font-weight:500;padding:4px 7px;border:1px solid #e4e9ef;border-radius:4px}.sheet-meta{display:flex;align-items:center;gap:16px;font-size:12px;color:#7a8798}.sheet-meta>span{display:flex;align-items:center;gap:6px}.divider{height:17px;width:1px;background:#e4e9ef}.icon-button{border:0;background:none;color:#8b97a7;display:flex;padding:4px}.sheet-scroll{flex:1;overflow:auto;background:#fff;min-height:0;border-top:1px solid #ccd4dd}.spreadsheet{table-layout:fixed;min-width:1080px;border-collapse:separate;border-spacing:0;width:100%;font-size:14px}.spreadsheet th,.spreadsheet td{border-right:1px solid #e0e5ec;border-bottom:1px solid #e0e5ec;white-space:normal;padding:0}.spreadsheet .letters th{height:29px;background:#edf0f4;color:#818c9c;font-size:12px;font-weight:500;text-align:center;border-right-color:#d7dee7;border-bottom:1px solid #d8dfe8;position:sticky;top:0;z-index:3}.spreadsheet .letters .corner{color:#a2adba;text-align:right;padding-right:5px}.spreadsheet .column-names th{height:43px;font-weight:600;color:#32435a;background:#f8fafc;padding:0 14px;font-size:14px;position:sticky;top:29px;z-index:2}.spreadsheet .column-names th:last-child{text-align:center;font-size:12px;padding:0}.spreadsheet .row-number{background:#f0f3f7!important;text-align:center!important;color:#8e99a9!important;font-family:Consolas,monospace;font-size:12px!important;padding:0!important;font-weight:400!important}.spreadsheet td{height:101px;background:#fff;position:relative}.spreadsheet tr:nth-child(even) td:not(.row-number){background:#fcfdfe}.spreadsheet tr:hover td:not(.row-number){background:#f7fbfa}.spreadsheet td:has(input.order-input):hover,.spreadsheet td:has(textarea):hover{background:#eaf5f0!important;cursor:cell}.spreadsheet input.order-input:hover,.spreadsheet textarea:hover{cursor:cell}.spreadsheet td:focus-within{box-shadow:inset 0 0 0 2px #00a479;background:#f7fcfa!important}.spreadsheet input:not([type=file]),.spreadsheet textarea{width:100%;height:100%;min-height:96px;background:transparent;border:0;outline:none;color:#33455e;caret-color:#33455e;font-size:14px;padding:17px 13px;resize:none;line-height:1.55}.spreadsheet textarea{display:block;padding-top:19px}.spreadsheet input::placeholder,.spreadsheet textarea::placeholder{color:#94a0b1}.spreadsheet input.order-input{color:#2863dc;font-weight:500;caret-color:#2863dc}.spreadsheet input[type=date]{font-size:14px;padding:12px}.spreadsheet input[type=date].empty-date::-webkit-datetime-edit{color:transparent}.area-select{display:block;border:0;width:calc(100% - 18px);min-height:32px;padding:7px;margin:9px;border-radius:5px;font-size:14px;color:#8996a8;background:transparent;cursor:pointer;outline:none}.area-select.has-area{background:#eef5f4;color:#367763}.area-select:focus{box-shadow:inset 0 0 0 2px #00a479}.spreadsheet .image-cell{padding:11px}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;height:77px;border:1px dashed #ced6e0;background:#fafcfe;border-radius:5px;color:#8593a6;cursor:pointer;position:relative;transition:.15s}.drop-zone span{font-size:12px;color:#78879b}.drop-zone:hover,.drop-zone.dragging{border-color:#00a479;color:#00946b;background:#effaf6}.drop-zone input,.form-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop-zone.disabled{cursor:default}.action-cell{display:flex;align-items:center;justify-content:center;gap:4px}.row-action{display:inline-grid;place-items:center;border:0;background:transparent;color:#9aa7b8;width:32px;height:32px;border-radius:5px}.row-action:hover{color:#b85555;background:#fff0ef}.folio-action:hover{color:#00966c;background:#eaf7f2}.folio-action.has-folio{color:#00966c}.spreadsheet .folio-order-cell{padding:0 13px}.spreadsheet .folio-status-cell{text-align:center}.folio-link{border:0;background:none;color:#2762e8;font-weight:500;padding:2px 0;cursor:pointer}.folio-link:hover{text-decoration:underline}.folio-link:disabled{color:#9aa7b8;cursor:default;text-decoration:none}.folio-input{width:100%;border:0;background:transparent;outline:none;color:#33455e;caret-color:#33455e;font-size:14px;padding:10px 13px;font-family:inherit}.folio-input:focus{background:#f7fcfa;box-shadow:inset 0 0 0 2px #00a479}.folio-input:hover{cursor:cell}.folios-table{min-width:0;max-width:780px;table-layout:fixed}.folios-table td:has(.folio-input):hover{background:#eaf5f0!important;cursor:cell}.folio-status{border:1px solid #d9e1e9;background:#f5f7fa;color:#7a8798;border-radius:20px;padding:5px 14px;font-size:12px;font-weight:500;cursor:pointer}.folio-status.completado{background:#eaf7f2;border-color:#cfe9df;color:#367763}.folio-status:hover{filter:brightness(0.97)}.sheet-note{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:9px 20px;border-top:1px solid #e1e6ec;background:#f9fafc;color:#8090a4;font-size:12px}.sheet-note>span:first-child{display:flex;align-items:center;gap:8px}.keyboard-key{border:1px solid #d8dfe8;border-radius:3px;padding:0 4px;background:white;color:#99a6b7}.sheet-note button{border:0;background:none;color:#b46c1b}.save-status{white-space:nowrap}.bottom-bar{display:flex;align-items:center;gap:8px;padding:0 17px 0 10px;min-height:47px;background:#eaf0f4;border-top:1px solid #d7dfe8}.sheet-tabs{display:flex;align-items:flex-end;height:46px;gap:2px}.sheet-tabs .tab{display:inline-flex;align-items:center;text-decoration:none;height:37px;align-self:end;padding:0 17px;gap:8px;border-radius:5px 5px 0 0;border:1px solid transparent;font-size:14px;color:#78879a;font-weight:400}.sheet-tabs .tab.active{background:white;box-shadow:0 -2px 0 #009c74;color:#007e5d;border-color:#d6e4e2;border-bottom:0}.tab-count{font-size:12px;padding:0 5px;background:#dee6ed;border-radius:4px}.footer-status{display:flex;align-items:center;gap:15px;margin-left:auto;font-size:12px;color:#8592a2}.footer-status b{font-weight:500;color:#465a73}.ready-dot{width:6px;height:6px;background:#00aa7d;border-radius:50%;margin-right:-9px}.empty{height:240px!important;text-align:center!important;padding:35px!important;color:#8090a3}.empty svg{margin:0 auto 10px}.empty strong,.empty span{display:block;margin-top:8px}.load-error{flex:1;display:grid;place-content:center;gap:15px;text-align:center}.preview-dialog{max-width:min(94vw,1200px)!important}.full-image-wrap{position:relative;max-height:82dvh;overflow:auto;border-radius:6px;background:#eef1f4;display:flex;align-items:center;justify-content:center}.full-image{max-height:82dvh;width:100%;object-fit:contain;cursor:zoom-in;display:block}.full-image-wrap.zoomed{display:block}.full-image-wrap.zoomed .full-image{max-height:none;width:auto;max-width:none;cursor:zoom-out}.zoom-toggle{position:absolute;top:10px;right:10px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#152534cc;color:#fff}.zoom-toggle:hover{background:#00966c}.help-copy p{font-size:14px;line-height:1.7;margin:10px 0}.archived-row{opacity:.85}.row-flash td:not(.row-number){animation:row-flash 3s ease}@keyframes row-flash{0%{background:#fff1c2}70%{background:#fff1c2}100%{background:transparent}}.account-chip{display:flex;align-items:center;gap:8px;background:#293038;color:#b7c2d0;border:1px solid #3a424e;border-radius:20px;padding:0 6px 0 12px;height:36px;font-size:12px;margin-right:2px}.account-chip span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chip button{color:inherit;background:none;border:0;display:flex;padding:6px;border-radius:50%}.account-chip button:hover{background:#39424e;color:#e5ebf4}.signin-error{color:#c0392b;font-size:13px;margin:0}.signin-info{color:#00966c;font-size:13px;margin:0}.auth-title{font-size:20px;font-weight:600;color:#233147;margin:0}.auth-form{display:flex;flex-direction:column;gap:10px;width:260px}.auth-password-toggle:hover{background:#f0f3f7;color:#42526b}.link-button{border:0;background:none;color:#2762e8;font-size:13px;cursor:pointer;padding:2px}.link-button:hover{text-decoration:underline}.link-button:disabled{opacity:.5;cursor:default;text-decoration:none}.image-count-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:77px;width:100%;border:1px solid #d7e4e0;background:#eef5f4;border-radius:5px;color:#367763;font-size:12px;font-weight:500}.image-count-btn:hover{background:#e3f0ed}.gallery-dialog{max-width:640px!important;max-height:85dvh;overflow-y:auto}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:6px}.gallery-item{position:relative;aspect-ratio:1;border-radius:6px;overflow:hidden;background:#edf1f5}.gallery-view{width:100%;height:100%;border:0;padding:0}.gallery-item img{width:100%;height:100%;object-fit:cover;display:block}.gallery-remove{position:absolute;top:5px;right:5px;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;background:#152534cc;color:#fff}.gallery-remove:hover{background:#b23a3a}.gallery-add{position:relative;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #ced6e0;border-radius:6px;color:#8593a6;font-size:12px;cursor:pointer}.gallery-add:hover,.gallery-add.disabled{border-color:#00a479;color:#00946b}.gallery-add input{position:absolute;inset:0;opacity:0;cursor:pointer}.gallery-loading{color:#8090a4;font-size:13px;padding:20px 0;text-align:center}.access-dialog{max-width:440px!important}.access-owner{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#f5f7fa;border:1px solid #e4e9ef;border-radius:6px;font-size:13px;color:#42526b;margin-top:4px}.access-owner-badge{font-size:11px;font-weight:600;letter-spacing:.3px;color:#367763;background:#eaf7f2;border:1px solid #cfe9df;border-radius:4px;padding:2px 7px}.access-add{display:flex;gap:8px;margin-top:14px}.access-add input{flex:1;min-width:0;border:1px solid #d9e1e9;border-radius:5px;padding:8px 10px;font-size:14px;outline:none}.access-add input:focus{border-color:#00a479}.access-list{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:260px;overflow-y:auto}.access-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#fafbfc;border:1px solid #edf0f4;border-radius:5px;font-size:13px;color:#33455e}.access-list li button{border:0;background:transparent;color:#9aa7b8;display:grid;place-items:center;width:26px;height:26px;border-radius:5px}.access-list li button:hover{color:#b85555;background:#fff0ef}.access-section-label{font-size:12px;font-weight:600;letter-spacing:.2px;color:#8490a0;margin:14px 0 6px;text-transform:uppercase}.access-request-actions{display:flex;gap:2px}.access-approve{color:#00966c!important}.access-approve:hover{color:#00966c!important;background:#eaf7f2!important}.access-admin-badge{font-size:10px;font-weight:700;letter-spacing:.3px;color:#367763;background:#eaf7f2;border:1px solid #cfe9df;border-radius:4px;padding:1px 6px;margin-left:8px;vertical-align:middle}.access-empty{color:#8090a4;font-size:13px;text-align:center;padding:10px 0!important;background:none!important;border:0!important}.access-loading{color:#8090a4;font-size:13px;margin-top:14px}.dashboard{padding:26px}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;align-items:start}.dashboard-card{background:#fff;border:1px solid #e4e9ef;border-radius:8px;padding:20px}.dashboard-card h2{font-size:15px;font-weight:600;color:#233147;margin:0 0 16px}.area-bars{display:flex;flex-direction:column;gap:10px}.area-bar-row{display:grid;grid-template-columns:110px 1fr 34px;align-items:center;gap:10px;font-size:13px}.area-bar-label{color:#42526b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.area-bar-track{background:#f0f3f7;border-radius:4px;height:14px;overflow:hidden}.area-bar-fill{background:#00966c;height:100%;border-radius:4px;min-width:3px}.area-bar-count{text-align:right;color:#233147;font-weight:600}.trend-chart{width:100%;height:auto;display:block}.dashboard-empty{color:#8090a4;font-size:14px;text-align:center;padding:40px 0}input:disabled,textarea:disabled{opacity:1;-webkit-text-fill-color:inherit}button{transition:background-color .15s}
@media(min-width:1500px){.spreadsheet td{height:116px}.drop-zone{height:87px}.topbar{padding:19px 26px}.sheet-heading{padding:30px}.spreadsheet input:not([type=file]),.spreadsheet textarea{min-height:111px}}
@media(max-width:1150px){.topbar{flex-wrap:wrap;padding:13px 16px}.header-actions{margin-left:auto}.save-badge{display:none}.filename{font-size:14px}.header-actions .btn{font-size:12px;padding:8px 10px}.sheet-heading{padding:22px}.sheet-meta{gap:10px}.sheet-note .save-status{display:none}}
@media(max-width:760px){.workspace{min-height:600px}.topbar{gap:10px}.brand{flex:1}.header-actions{width:100%;margin-top:3px}.header-actions .btn{flex:1;padding:8px 5px;font-size:12px}.header-actions .btn svg{width:14px}.sheet-toolbar{flex-wrap:wrap}.formula{flex:1}.search{width:100%}.sheet-heading{padding:18px 15px;align-items:flex-start}.sheet-meta{font-size:12px;gap:9px}.sheet-meta>span:nth-child(3),.sheet-meta .divider{display:none}h1{font-size:20px}.workbook-label{font-size:10px}.sheet-note{padding:10px 13px;font-size:12px}.footer-status>span:first-child,.footer-status>span:nth-child(2){display:none}.sheet-tabs [role=tab]{padding:0 12px}.footer-status{gap:12px}.bottom-bar{padding-right:12px}.year{font-size:12px}.filename{font-size:14px}}
@media(max-width:420px){.sheet-heading{flex-wrap:wrap}.sheet-meta{width:100%;justify-content:flex-end}.header-actions .btn{white-space:normal;line-height:1.3;min-width:0}.header-actions .btn svg{flex-shrink:0}.filename{font-size:13px}}

svg.i{width:16px;height:16px;flex:none;display:inline-block;vertical-align:middle}
svg.i-sm{width:14px;height:14px}svg.i-lg{width:24px;height:24px}svg.i-xl{width:26px;height:26px}
a{color:inherit}a.btn{text-decoration:none}
.spreadsheet th{text-align:left;vertical-align:middle;font-weight:500}.spreadsheet td{vertical-align:middle}
.spreadsheet .letters th,.spreadsheet .column-names th:last-child{text-align:center}
form.inline{display:contents}
.hidden{display:none!important}
.sheet-heading h1 .year{margin-left:2px}
.header-actions form{display:contents}
.header-actions label.btn{cursor:pointer;position:relative}
dialog.dialog{border:0;border-radius:12px;padding:22px 24px;width:min(92vw,480px);color:#243449;background:#fff;box-shadow:0 20px 60px #0f172a40;max-height:90dvh;overflow:auto}
dialog.dialog::backdrop{background:#0f172a80}
dialog.dialog.wide{width:min(94vw,640px)}
dialog.dialog.huge{width:min(94vw,1200px);padding:14px}
.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}
.dialog-title{font-size:17px;font-weight:600;margin:0;color:#233147}
.dialog-desc{font-size:13px;color:#748094;margin:4px 0 0}
.dialog-close{border:0;background:none;color:#8b97a7;display:grid;place-items:center;width:28px;height:28px;border-radius:5px;flex:none}
.dialog-close:hover{background:#f0f3f7;color:#42526b}
.toasts{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px;z-index:200;pointer-events:none}
.toast{background:#fff;border:1px solid #cfe9df;border-left:4px solid #00966c;border-radius:6px;padding:11px 14px;font-size:13px;color:#233147;box-shadow:0 6px 24px #0f172a26;max-width:360px;pointer-events:auto}
.toast.error{border-color:#f1c4c0;border-left-color:#df4545}
.htmx-request .save-badge{color:#ffd99b}
.sheet-scroll .access-dialog{max-width:none}
.access-add form{display:flex;gap:8px;width:100%}
.auth-field-label{font-size:13px;color:#5b6b80;text-align:left}
.signin-success{color:#00966c;font-size:13px;margin:0}

.empty-cell{height:240px;text-align:center;padding:35px;color:#8090a4}
.btn[disabled]{opacity:.5}
.drop-zone .busy-text{display:none}
.drop-zone:has(input.htmx-request) .idle-text{display:none}
.drop-zone:has(input.htmx-request) .busy-text{display:block}
.sheet-tabs .tab:hover{color:#42526b}
.gallery-add.busy{pointer-events:none;opacity:.6}
.import-label.htmx-request{opacity:.6}
.spinner-text{font-size:12px;color:#8090a4}
[hidden]{display:none!important}
.save-badge em{font-style:normal}

.auth-card.forgot .auth-icon-badge,
a.link-button{display:inline-block;text-decoration:none}
a.link-button:hover{text-decoration:underline}
.zoom-toggle .ico-out{display:none}
.full-image-wrap.zoomed .zoom-toggle .ico-in{display:none}
.full-image-wrap.zoomed .zoom-toggle .ico-out{display:inline}
.view{display:contents}
.sheet-scroll .empty svg{display:block}
.account-chip form{display:contents}

/* ---------- Pantallas de acceso (login, crear cuenta, recuperar) ---------- */
.auth-page{--accent:#2762e8;--accent-dark:#1d4fc4;--accent-soft:#e8effe;min-height:100dvh;display:grid;grid-template-columns:minmax(340px,5fr) 6fr;background:#f4f7fa}
.auth-page.signup{--accent:#00966c;--accent-dark:#007a58;--accent-soft:#eaf7f2}
.auth-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:44px 52px;color:#e8eef6;background:linear-gradient(155deg,#20262e 0%,#18302d 58%,#0a6048 100%)}
.auth-brand::before,.auth-brand::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.auth-brand::before{width:420px;height:420px;right:-170px;bottom:-150px;background:#00996f26}
.auth-brand::after{width:240px;height:240px;right:60px;top:-120px;background:#ffffff0a}
.auth-brand>*{position:relative;z-index:1}
.auth-brand-logo{display:flex;align-items:center;gap:13px;font-size:16px;font-weight:600;letter-spacing:.1px}
.auth-brand h2{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin:0 0 16px;max-width:440px;color:#fff}
.auth-brand p{margin:0 0 30px;max-width:420px;line-height:1.65;color:#a9b9cb;font-size:15px}
.auth-features{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:14px}
.auth-features li{display:flex;align-items:center;gap:13px;color:#d6e0eb;font-size:14px}
.auth-features .fi{width:48px;height:48px;border-radius:9px;display:grid;place-items:center;background:#ffffff14;border:1px solid #ffffff1a;color:#5fe0b8;flex:none}
.auth-brand-foot{color:#7f90a5;font-size:12px}
.auth-panel{display:grid;place-items:center;padding:32px 24px}
.auth-box{width:100%;max-width:410px;background:#fff;border:1px solid #e3e9f0;border-radius:16px;padding:30px 32px 26px;box-shadow:0 14px 48px #1f2d3d17}
.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:24px;background:#eef2f6;border-radius:10px}
.auth-switch a{display:flex;align-items:center;justify-content:center;gap:7px;height:38px;border-radius:7px;color:#6b7a8e;text-decoration:none;font-size:14px;font-weight:500;transition:background .15s,color .15s}
.auth-switch a:hover{color:#33455e}
.auth-switch a.active{background:#fff;color:var(--accent);box-shadow:0 1px 4px #1f2d3d26}
.auth-box .auth-title{display:block;margin:0 0 6px;font-size:23px;font-weight:650;letter-spacing:-.5px;color:#1f2d41;text-align:left}
.auth-lead{margin:0 0 20px;color:#6b7a8e;font-size:14px;line-height:1.55;text-align:left}
.auth-alert{margin:0 0 16px;padding:11px 13px;border-radius:9px;font-size:13px;line-height:1.5;text-align:left}
.auth-alert.error{background:#fdeeed;color:#a8322a;border:1px solid #f3c9c5}
.auth-alert.ok{background:#eaf7f2;color:#0a6b50;border:1px solid #c6e8dc}
.auth-box .auth-form{display:flex;flex-direction:column;gap:16px;width:100%}
.field{display:flex;flex-direction:column;gap:7px}
.field-label{font-size:13px;font-weight:600;color:#33455e;text-align:left}
.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auth-forgot{font-size:12px;font-weight:500;color:var(--accent);text-decoration:none}
.auth-forgot:hover{text-decoration:underline}
.field-input{position:relative;display:flex;align-items:center}
.field-input>svg{position:absolute;left:13px;width:17px;height:17px;color:#93a1b3;pointer-events:none}
.field-input input{width:100%;height:46px;padding:0 44px 0 42px;border:1px solid #d6dee8;border-radius:10px;background:#fbfcfd;font-size:15px;color:#243449;caret-color:#243449;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.field-input input::placeholder{color:#a3afbe}
.field-input input:hover{border-color:#bcc8d6}
.field-input input:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 16%,transparent)}
.field-input .auth-password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;background:none;color:#8696a9}
.field-input .auth-password-toggle:hover{background:#eef2f6;color:#42526b}
.field-input .auth-password-toggle svg{width:18px;height:18px}
.auth-submit{height:48px;margin-top:4px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-size:15px;font-weight:600;letter-spacing:.1px;transition:background .15s,transform .05s,box-shadow .15s;box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 32%,transparent)}
.auth-submit:hover{background:var(--accent-dark)}
.auth-submit:active{transform:translateY(1px)}
.auth-alt{margin:18px 0 0;text-align:center;font-size:13px;color:#7a8798;line-height:1.5}
.auth-alt a{color:var(--accent);font-weight:600;text-decoration:none}
.auth-alt a:hover{text-decoration:underline}
@media(max-width:900px){
  .auth-page{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .auth-brand{padding:22px 24px;gap:0}
  .auth-brand-copy,.auth-brand-foot{display:none}
  .auth-panel{align-items:start;padding:24px 16px 32px}
  .auth-box{padding:24px 20px 22px;border-radius:14px}
}
.field:focus-within{outline:none}
