:root{--mfi-color-deep-stem:#1f8b43;--mfi-color-deep-stem-dark:#176b35;--mfi-color-growth:#5fcb3c;--mfi-color-top-leaf:#48be30;--mfi-color-spring-bud:#a6e84a;--mfi-color-charcoal:#263238;--mfi-color-white:#fff;--mfi-color-background:#f5fdf0;--mfi-color-surface:#fff;--mfi-color-surface-subtle:#f4f8f5;--mfi-color-border:#d9e7d5;--mfi-color-text-muted:#607168;--mfi-deep-stem:var(--mfi-color-deep-stem);--mfi-deep-stem-dark:var(--mfi-color-deep-stem-dark);--mfi-growth:var(--mfi-color-growth);--mfi-top-leaf:var(--mfi-color-top-leaf);--mfi-spring-bud:var(--mfi-color-spring-bud);--mfi-charcoal:var(--mfi-color-charcoal);--mfi-white:var(--mfi-color-white);--mfi-surface:var(--mfi-color-surface);--mfi-surface-subtle:var(--mfi-color-surface-subtle);--mfi-border:var(--mfi-color-border);--mfi-text-muted:var(--mfi-color-text-muted);--mfi-font-display:"Noto Sans Display", "Noto Sans", Arial, sans-serif;--mfi-font-body:"Noto Sans", Arial, sans-serif;--mfi-radius-sm:6px;--mfi-radius-md:12px;--mfi-radius-lg:18px;--mfi-radius-xl:24px;--mfi-space-1:4px;--mfi-space-2:8px;--mfi-space-3:12px;--mfi-space-4:16px;--mfi-space-6:24px;--mfi-space-8:32px;--mfi-shadow-1:0 2px 8px #26323814;--mfi-shadow-2:0 8px 24px #2632381f;--mfi-shadow-sm:var(--mfi-shadow-1);--mfi-shadow-md:var(--mfi-shadow-2);--mfi-shadow-lg:0 18px 48px #26323824;color:#1f2937;background:#f3f4f6;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}.auth-page{place-items:center;min-height:100vh;padding:2rem;display:grid}.auth-card{background:#fff;border-radius:12px;width:min(100%,420px);padding:2rem;box-shadow:0 10px 30px #00000014}.auth-card h1{margin-bottom:.25rem}.auth-card form{gap:.75rem;margin-top:1.5rem;display:grid}.auth-card input{border:1px solid #cbd5e1;border-radius:6px;padding:.75rem}.auth-card button,.dashboard-card button{border:0;border-radius:6px;padding:.75rem 1rem}.auth-card button{margin-top:.5rem}.error-message{color:#b91c1c}.dashboard-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 8px 20px #0000000f}.measurement-form{gap:.75rem;display:grid}.measurement-form label{gap:.35rem;display:grid}.measurement-form input{border:1px solid #cbd5e1;border-radius:6px;padding:.7rem}.measurement-history{gap:.75rem;display:grid}.history-item{border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.history-item p{margin:.25rem 0}.success-message{color:#166534}.hydration-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-bottom:1.5rem;display:grid}.hydration-form{gap:1rem;display:grid}.hydration-form label,.hydration-date-filter{gap:.4rem;font-weight:600;display:grid}.hydration-form input,.hydration-form select,.hydration-date-filter input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #c7c7c7;border-radius:.5rem;padding:.75rem}.hydration-total{gap:.25rem;margin-top:1.25rem;display:grid}.hydration-total strong{font-size:2rem}.hydration-total span{font-size:1.1rem}.hydration-total p{margin-bottom:0}.hydration-history-card{margin-top:1.5rem}.hydration-history{gap:1rem;display:grid}.hydration-history-item{justify-content:space-between;align-items:center;gap:1rem;display:flex}.hydration-history-item p{margin-bottom:0}.delete-button{background:#b42318}.delete-button:hover{background:#912018}.delete-button:disabled{cursor:not-allowed;opacity:.65}@media (width<=700px){.hydration-summary{grid-template-columns:1fr}.hydration-history-item{flex-direction:column;align-items:flex-start}}.profile-form{flex-direction:column;gap:1.5rem;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.form-grid label{flex-direction:column;gap:.5rem;font-weight:600;display:flex}.form-grid input,.form-grid select{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cbd5da;border-radius:8px;padding:.75rem}.input-with-unit{align-items:center;gap:.75rem;display:flex}.input-with-unit input{flex:1}.input-with-unit span{color:#5f6b72;min-width:2.5rem;font-weight:600}.profile-actions{justify-content:flex-end;display:flex}.form-message{border-radius:8px;margin:0;padding:.75rem 1rem}.error-message{color:#a61b1b;background:#fdecec}.success-message{color:#176b3a;background:#e9f7ef}.secondary-button{color:#334047;background:0 0;border:1px solid #66757d}@media (width<=700px){.form-grid{grid-template-columns:1fr}}.section-eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:700;color:#2563eb!important}.chart-range-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:1.5rem;padding:1.25rem;display:flex}.chart-range-card h2{margin:0 0 .25rem;font-size:1rem}.chart-range-card p{color:#64748b;margin:0;font-size:.9rem}.chart-range-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.range-button{color:#334155;cursor:pointer;font:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:.65rem;padding:.6rem .9rem}.range-button:hover{background:#f1f5f9}.range-button.active{color:#fff;background:#2563eb;border-color:#2563eb}.secondary-button{color:#334155;cursor:pointer;font:inherit;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:.7rem;padding:.7rem 1rem}.secondary-button:hover{background:#f8fafc}.charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;display:grid}.chart-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;min-width:0;padding:1.25rem}.chart-card-wide{grid-column:span 2}.chart-card-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex}.chart-card-header h2{margin:0 0 .3rem;font-size:1.1rem}.chart-card-header p{color:#64748b;margin:0;font-size:.9rem}.chart-unit{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:999px;padding:.3rem .55rem;font-size:.75rem;font-weight:700}.chart-container{width:100%;height:320px;position:relative}.chart-empty-state{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem;justify-content:center;align-items:center;min-height:240px;padding:1rem;display:flex}@media (width<=800px){.chart-range-card{flex-direction:column;align-items:stretch}.charts-grid{grid-template-columns:1fr}.chart-card-wide{grid-column:span 1}}@media (width<=520px){.chart-range-buttons{grid-template-columns:repeat(2,1fr);display:grid}.range-button{width:100%}.chart-card-header{flex-direction:column}.chart-container{height:280px}}body{color:var(--mfi-charcoal);background:radial-gradient(circle at top left, #a8ed3b24, transparent 34rem), var(--mfi-surface-subtle)}button{transition:transform .2s,box-shadow .2s,background-color .2s}button:hover:not(:disabled){transform:translateY(-1px)}.auth-page{background:radial-gradient(circle at 20% 15%,#a8ed3b33,#0000 25rem),linear-gradient(145deg,#f8fff4,#eef7f0 55%,#f5f7f6)}.auth-card{border-radius:var(--mfi-radius-xl);border:1px solid #1f8b431a;width:min(100%,460px);padding:clamp(1.5rem,4vw,2.5rem);box-shadow:0 24px 64px #2632381c}.auth-logo{width:min(100%,338px);height:auto;margin:0 auto .85rem;display:block}.auth-intro{text-align:center}.auth-intro h1{color:var(--mfi-charcoal);letter-spacing:-.03em;margin:0;font-size:clamp(1.75rem,5vw,2.25rem)}.auth-intro p{color:#66707a;margin:.6rem 0 0}.auth-card form{margin-top:2rem}.auth-card label{color:var(--mfi-charcoal);font-weight:650}.auth-card input{border:1px solid var(--mfi-border);border-radius:var(--mfi-radius-md);background:var(--mfi-white);outline:none;min-height:46px;transition:border-color .16s,box-shadow .16s}.auth-card input:focus{border-color:var(--mfi-deep-stem);box-shadow:0 0 0 3px #1f8b4324}.auth-card button:not(.mfi-button),.dashboard-card button:not(.mfi-button){color:var(--mfi-white);background:var(--mfi-deep-stem);border-radius:var(--mfi-radius-md);font-weight:700;box-shadow:0 8px 18px #1f8b432e}.auth-card button:hover:not(:disabled){transform:translateY(-2px)}.auth-card button:not(.mfi-button):hover:not(:disabled),.dashboard-card button:not(.mfi-button):hover:not(:disabled){background:var(--mfi-deep-stem-dark);box-shadow:0 12px 26px #1f8b433d}.auth-card button:disabled{cursor:wait;opacity:.7}.dashboard-card{border-radius:var(--mfi-radius-lg);box-shadow:var(--mfi-shadow-sm);border:1px solid #26323812;transition:transform .18s,box-shadow .18s,border-color .18s}.dashboard-card:hover{box-shadow:var(--mfi-shadow-md);border-color:#1f8b432e;transform:translateY(-2px)}.dashboard-card h2{color:var(--mfi-text-muted);letter-spacing:.02em;margin-top:0;font-size:.92rem}.dashboard-card h1{color:var(--mfi-charcoal);letter-spacing:-.04em;margin:.45rem 0;font-size:clamp(1.8rem,4vw,2.45rem)}.dashboard-card p{color:var(--mfi-text-muted)}.dashboard-actions-grid .dashboard-card{flex-direction:column;justify-content:space-between;min-height:160px;display:flex}.secondary-button{color:var(--mfi-deep-stem);background:var(--mfi-white);border-radius:var(--mfi-radius-md);border:1px solid #1f8b4359;font-weight:700}.secondary-button:hover:not(:disabled){color:var(--mfi-white);background:var(--mfi-deep-stem);border-color:var(--mfi-deep-stem)}.brand-loading{min-height:320px;color:var(--mfi-text-muted);text-align:center;align-content:center;place-items:center;gap:1rem;display:grid}.brand-loading-symbol{width:92px;height:92px;animation:1.8s ease-in-out infinite mfi-breathe}@keyframes mfi-breathe{0%,to{opacity:.78;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=700px){.auth-page{padding:1rem}}.measurements-page h2,.hydration-page h2,.profile-page h2,.progress-charts-page h2{font-family:var(--mfi-font-display);color:var(--mfi-color-charcoal)}.measurements-page .dashboard-card,.hydration-page .dashboard-card,.chart-card,.chart-range-card{border:1px solid var(--mfi-color-border);border-radius:var(--mfi-radius-lg);box-shadow:var(--mfi-shadow-1);background:#fffffff5}.measurements-page input,.hydration-page input,.hydration-page select,.profile-page input,.profile-page select{color:var(--mfi-color-charcoal);background:var(--mfi-color-white);border:1px solid var(--mfi-color-border);border-radius:var(--mfi-radius-sm);transition:border-color .16s,box-shadow .16s}.measurements-page input:focus,.hydration-page input:focus,.hydration-page select:focus,.profile-page input:focus,.profile-page select:focus{border-color:var(--mfi-color-deep-stem);outline:none;box-shadow:0 0 0 3px #1f8b4324}.measurements-page button:not(.mfi-button):not(.secondary-button),.hydration-page button:not(.mfi-button):not(.secondary-button):not(.delete-button),.profile-page button:not(.mfi-button):not(.secondary-button):not(.future-action),.progress-charts-page .range-button.active{color:var(--mfi-color-white);background:var(--mfi-color-deep-stem);border-color:var(--mfi-color-deep-stem)}.measurements-page button:not(.mfi-button):not(.secondary-button):hover,.hydration-page button:not(.mfi-button):not(.secondary-button):not(.delete-button):hover,.profile-page button:not(.mfi-button):not(.secondary-button):not(.future-action):hover{background:#176f35}.secondary-button,.range-button{color:var(--mfi-color-deep-stem);background:var(--mfi-color-white);border:1px solid var(--mfi-color-deep-stem)}.secondary-button:hover,.range-button:hover{background:#1f8b4314}.history-item,.hydration-history-item,.profile-section,.chart-empty-state{border-color:var(--mfi-color-border)}.hydration-progress-fill{background:linear-gradient(90deg, var(--mfi-color-deep-stem), var(--mfi-color-growth))}.hydration-progress-track{background:#5fcb3c29}.quick-add-button{color:var(--mfi-color-deep-stem)!important;background:#1f8b4314!important;border:1px solid #1f8b433d!important}.quick-add-button:hover{background:#1f8b4324!important}.unit-toggle-option.active,.chart-unit,.section-eyebrow{background:#1f8b431a;color:var(--mfi-color-deep-stem)!important}.unit-toggle-option.active{background:var(--mfi-color-deep-stem);color:var(--mfi-color-white)!important}.chart-card{overflow:hidden}.chart-card:before{width:44px;height:4px;margin-bottom:var(--mfi-space-3);content:"";background:linear-gradient(90deg, var(--mfi-color-deep-stem), var(--mfi-color-spring-bud));border-radius:999px;display:block}html{scroll-behavior:smooth}body{text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}main{animation:.22s ease-out both mfi-page-enter}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #1f8b4347}button:active:not(:disabled){transform:translateY(0)scale(.99)}.dashboard-card,.chart-card,.profile-section,.auth-card{animation:.32s ease-out both mfi-card-enter}.dashboard-grid>:nth-child(2),.charts-grid>:nth-child(2){animation-delay:45ms}.dashboard-grid>:nth-child(3),.charts-grid>:nth-child(3){animation-delay:90ms}.dashboard-grid>:nth-child(4),.charts-grid>:nth-child(4){animation-delay:.135s}.success-message,.error-message,.form-message{box-shadow:var(--mfi-shadow-sm);border-left:4px solid;animation:.18s ease-out both mfi-notice-enter}.history-item,.hydration-history-item{transition:transform .18s,border-color .18s,box-shadow .18s}.history-item:hover,.hydration-history-item:hover{box-shadow:var(--mfi-shadow-sm);border-color:#1f8b4333;transform:translateY(-1px)}.chart-empty-state,.measurement-history>p,.hydration-history-card>p{min-height:180px;color:var(--mfi-text-muted);border-radius:var(--mfi-radius-lg);text-align:center;background:radial-gradient(circle,#a8ed3b1a,#0000 12rem),#ffffffb8;border:1px dashed #1f8b4347;place-items:center;padding:2rem;display:grid}.page-loading-shell{background:radial-gradient(circle at 18% 14%, #a8ed3b33, transparent 24rem), var(--mfi-surface-subtle);place-items:center;min-height:100vh;padding:1.5rem;display:grid}.page-loading-card{border-radius:var(--mfi-radius-xl);background:#ffffffe6;border:1px solid #1f8b431a;justify-items:center;gap:1rem;width:min(100%,360px);padding:2rem;display:grid;box-shadow:0 22px 60px #2632381a}.page-loading-symbol{width:76px;height:76px;animation:1.8s ease-in-out infinite mfi-breathe}.skeleton-line{background:#e8efe9;border-radius:999px;height:12px;position:relative;overflow:hidden}.skeleton-line:after{content:"";background:linear-gradient(90deg,#0000,#ffffffc7,#0000);animation:1.25s infinite mfi-shimmer;position:absolute;inset:0;transform:translate(-100%)}.skeleton-line-title{width:58%}.skeleton-line-copy{width:82%}.sr-only{white-space:nowrap;clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes mfi-page-enter{0%{opacity:0}to{opacity:1}}@keyframes mfi-card-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes mfi-notice-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes mfi-shimmer{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}main,.dashboard-card,.chart-card,.profile-section,.auth-card,.success-message,.error-message,.form-message,.page-loading-symbol,.skeleton-line:after{animation:none!important}}.language-selector{z-index:1000;box-shadow:var(--mfi-shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border:1px solid #1f8b4333;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem;display:inline-flex;position:fixed;top:1rem;right:1rem}.language-flag-button{width:44px;height:34px;box-shadow:none;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;padding:3px;transition:transform .18s,background-color .18s,border-color .18s,box-shadow .18s,opacity .18s;display:grid}.language-flag-icon,.language-flag-icon svg{width:32px;height:21px;display:block}.language-flag-icon svg{border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px #2632382e}.language-flag-button:hover:not(:disabled){background:#1f8b4314;transform:translateY(-1px)}.language-flag-button.active{background:#1f8b4324;border-color:#1f8b4380;box-shadow:inset 0 0 0 1px #1f8b4314}.language-flag-button:focus-visible{outline-offset:2px;outline:3px solid #1f8b4338}.language-flag-button:disabled{cursor:wait;opacity:.6}.profile-localization-grid>label:first-child{display:none}.profile-localization-grid{grid-template-columns:minmax(0,1fr)}.profile-page .unit-toggle button.unit-toggle-option:not(.active){color:var(--mfi-charcoal)!important;box-shadow:none!important;background:0 0!important}.profile-page .unit-toggle button.unit-toggle-option:not(.active):hover{color:var(--mfi-deep-stem-dark)!important;box-shadow:none!important;background:#1f8b4317!important}.profile-page .unit-toggle button.unit-toggle-option.active{color:var(--mfi-white)!important;background:var(--mfi-deep-stem)!important;box-shadow:0 2px 6px #1f8b433d!important}.profile-page .unit-toggle button.unit-toggle-option.active:hover{background:var(--mfi-deep-stem-dark)!important}@media (width<=700px){.language-selector{top:.65rem;right:.65rem}.language-flag-button{width:40px;height:32px}.language-flag-icon,.language-flag-icon svg{width:29px;height:19px}}.hydration-page .hydration-workspace{grid-template-columns:minmax(300px,.72fr) minmax(460px,1.28fr)}.hydration-page .hydration-loading{min-height:15rem}.hydration-page .hydration-gauge{width:min(100%,300px);min-height:220px}.hydration-page .hydration-gauge-content{width:min(66%,170px)}.hydration-page .hydration-gauge-content strong{margin-top:0;font-size:clamp(1.8rem,3.5vw,2.5rem)}.hydration-page .hydration-gauge-date{display:none}.hydration-page .hydration-gauge-unit{margin-left:.2rem;font-size:.78rem}.hydration-page .hydration-gauge-content p{margin-top:.3rem;font-size:.76rem}.hydration-page .hydration-gauge-content b{min-width:3.5rem;margin-top:.35rem;padding:.25rem .5rem;font-size:.95rem}.hydration-page .hydration-level-label{font-size:.62rem}.hydration-page .hydration-goal-editor{display:none}.hydration-page .hydration-progress-card{padding-bottom:1rem}.hydration-page .hydration-entry-card{min-height:100%}.hydration-input-label{color:#475569;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:800;display:block}.beverage-selector-section,.quick-add-section{gap:.6rem;display:grid}.beverage-selector-section{margin-bottom:1rem}.beverage-selector-row{grid-template-columns:repeat(6,minmax(0,1fr));gap:.55rem;display:grid}.beverage-selector-button,.beverage-more-control{color:#355142;text-align:center;background:#fbfefc;border:1px solid #d7e7db;border-radius:.8rem;place-items:center;gap:.25rem;min-width:0;min-height:4.1rem;padding:.55rem .35rem;display:grid;position:relative}.beverage-selector-button{cursor:pointer}.beverage-selector-button:hover{background:#f2fbf4;border-color:#9fd1aa;transform:translateY(-1px)}.beverage-selector-button.selected{color:#14532d;background:linear-gradient(135deg,#ecfccb,#dcfce7);border-color:#4ade80;box-shadow:inset 0 0 0 1px #16a34a1f}.beverage-selector-button>span,.beverage-more-control>span{font-size:1.35rem;line-height:1}.beverage-selector-button small,.beverage-more-control small{width:100%;color:inherit;text-overflow:ellipsis;font-size:.7rem;font-weight:750;line-height:1.1;overflow:hidden}.beverage-more-control select{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.hydration-quick-add-heading{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.hydration-quick-add-heading p{color:#64748b;text-align:right;margin:0;font-size:.78rem;font-weight:650}.hydration-page .quick-add-buttons{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}.hydration-page .hydration-form{border-top:1px solid #e4eee7;padding-top:1rem}@media (width<=980px){.hydration-page .hydration-workspace{grid-template-columns:1fr}.hydration-page .hydration-gauge{width:min(100%,320px);min-height:230px}}@media (width<=760px){.hydration-page .hydration-gauge{width:min(100%,300px);min-height:215px}.beverage-selector-row{grid-template-columns:repeat(3,minmax(0,1fr))}.hydration-quick-add-heading{flex-direction:column;align-items:flex-start}.hydration-quick-add-heading p{text-align:left}.hydration-page .quick-add-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.hydration-page .hydration-gauge{width:min(100%,275px);min-height:200px}.hydration-page .hydration-gauge-content strong{font-size:2.05rem}.beverage-selector-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-header-collapse-sentinel{pointer-events:none;height:1px;margin-bottom:-1px;display:block}.admin-ds-header{z-index:900;align-items:center;min-height:112px;margin-bottom:1rem;padding:1rem 1.25rem;transition:min-height .18s,padding .18s,box-shadow .18s;position:sticky;top:58px;overflow:clip}.admin-ds-header-copy{min-width:0}.admin-ds-header-copy h1{transition:font-size .18s,margin .18s}.admin-ds-header-description,.admin-ds-header .admin-eyebrow{opacity:1;max-height:80px;transition:max-height .16s,opacity .12s,margin .16s;overflow:hidden}.admin-ds-header.collapsed{border-radius:0 0 var(--mfi-radius-lg) var(--mfi-radius-lg);min-height:58px;padding:.55rem 1rem;box-shadow:0 8px 20px #12273c24}.admin-ds-header.collapsed .admin-eyebrow,.admin-ds-header.collapsed .admin-ds-header-description{opacity:0;max-height:0;margin:0}.admin-ds-header.collapsed h1{margin:0;font-size:1.15rem}.admin-ds-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.admin-ds-header.collapsed .admin-ds-header-actions{flex-wrap:nowrap}.admin-ds-badge{border:1px solid #0000;border-radius:999px;align-items:center;gap:.35rem;padding:.28rem .58rem;font-size:.74rem;font-weight:800;line-height:1;display:inline-flex}.admin-ds-badge.with-dot:before{content:"";background:currentColor;border-radius:50%;width:.42rem;height:.42rem}.admin-ds-badge.neutral{color:var(--admin-text-muted);background:var(--admin-surface-muted);border-color:var(--admin-border)}.admin-ds-badge.info{color:var(--admin-info);background:#2d6fb81f}.admin-ds-badge.success{color:var(--admin-success);background:#1f8b431f}.admin-ds-badge.warning{color:var(--admin-warning);background:#bf840024}.admin-ds-badge.danger{color:var(--admin-danger);background:#b437371f}.admin-ds-badge.protected{color:var(--admin-accent);background:#42587a24}.admin-ds-loading{min-height:130px;color:var(--admin-text-muted);justify-content:center;align-items:center;gap:.7rem;font-weight:700;display:flex}.admin-ds-loading.compact{justify-content:flex-start;min-height:auto}.admin-ds-spinner{border:2px solid #2d496d33;border-top-color:var(--admin-accent);border-radius:50%;width:1.15rem;height:1.15rem;animation:.75s linear infinite admin-ds-spin}@keyframes admin-ds-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.admin-ds-header,.admin-ds-header-copy h1,.admin-ds-header-description,.admin-ds-header .admin-eyebrow{transition:none}}@media (width<=760px){.admin-ds-header{align-items:flex-start;min-height:104px;top:54px}.admin-ds-header-actions{justify-content:flex-start;width:auto}.admin-ds-header.collapsed{flex-direction:row;align-items:center;min-height:54px;display:flex}.admin-ds-header.collapsed .admin-ds-header-copy{flex:1}.admin-ds-header.collapsed .admin-ds-header-actions{width:auto}.admin-ds-header.collapsed .admin-ds-header-actions button{white-space:nowrap}}@media (width<=520px){.admin-ds-header{padding:.85rem}.admin-ds-header.collapsed{padding:.45rem .65rem}.admin-ds-header.collapsed h1{font-size:1rem}.admin-ds-header.collapsed .admin-ds-header-actions button{padding:.45rem .6rem;font-size:.78rem}}.theme-toggle-button{z-index:1100;width:42px;height:42px;color:var(--mfi-charcoal,#263238);background:#fffffff0;border:1px solid #1f8b4352;border-radius:999px;place-items:center;font-size:1.2rem;display:grid;position:fixed;top:1rem;right:7.25rem;box-shadow:0 5px 16px #2632381f}.theme-toggle-button:hover{color:#fff;background:var(--mfi-deep-stem,#1f8b43)}.theme-toggle-button:focus-visible{outline-offset:2px;outline:3px solid #1f8b434d}html[data-theme=dark] body,html[data-theme=dark] #root,html[data-theme=dark] .auth-page{color:#edf4ef;background:#101713}html[data-theme=dark] .auth-card,html[data-theme=dark] .dashboard-card,html[data-theme=dark] .profile-section,html[data-theme=dark] .chart-range-card,html[data-theme=dark] .chart-card,html[data-theme=dark] .admin-card,html[data-theme=dark] .admin-panel,html[data-theme=dark] .translation-table-container{color:#edf4ef;background:#18211b;border-color:#34443a;box-shadow:0 10px 28px #00000047}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] label,html[data-theme=dark] strong,html[data-theme=dark] .unit-preference-label{color:#f3f8f4}html[data-theme=dark] p,html[data-theme=dark] small,html[data-theme=dark] .profile-section-description,html[data-theme=dark] .chart-card-header p,html[data-theme=dark] .chart-range-card p{color:#afbeb3}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#edf4ef;background:#111914;border-color:#46584c}html[data-theme=dark] input[readonly],html[data-theme=dark] input:disabled,html[data-theme=dark] select:disabled,html[data-theme=dark] textarea:disabled{color:#aebbb1;background:#202a23}html[data-theme=dark] .secondary-button,html[data-theme=dark] .future-action,html[data-theme=dark] .range-button,html[data-theme=dark] .theme-toggle-button{color:#e8f0ea;background:#202a23;border-color:#4c5d51}html[data-theme=dark] .secondary-button:hover,html[data-theme=dark] .future-action:hover,html[data-theme=dark] .range-button:hover,html[data-theme=dark] .theme-toggle-button:hover{color:#fff;background:var(--mfi-deep-stem,#1f8b43)}html[data-theme=dark] .unit-toggle{background:#111914;border-color:#57c77766}html[data-theme=dark] .profile-page .unit-toggle .unit-toggle-option:not(.active){color:#d7e3da}html[data-theme=dark] .staged-section,html[data-theme=dark] .chart-empty-state,html[data-theme=dark] .planned-badge{color:#cbd8ce;background:#202a23;border-color:#46584c}html[data-theme=dark] .future-feature-list,html[data-theme=dark] .future-feature-row,html[data-theme=dark] .history-item{border-color:#34443a}@media (width<=600px){.theme-toggle-button{width:38px;height:38px;top:.75rem;right:6.25rem}}.account-menu{pointer-events:auto;position:relative}.account-menu-trigger{color:#24312a;min-height:34px;font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;gap:.45rem;padding:.2rem .45rem .2rem .25rem;display:inline-flex}.account-menu-trigger:hover,.account-menu-trigger:focus-visible{background:#1f8b431a}.account-menu-trigger:focus-visible{outline-offset:2px;outline:2px solid #1f8b4359}.account-menu-avatar{color:#fff;letter-spacing:.03em;background:linear-gradient(145deg,#176d34,#259a4c);border-radius:50%;place-items:center;width:30px;height:30px;font-size:.75rem;font-weight:800;display:grid}.admin-global-controls .account-menu-avatar{background:linear-gradient(145deg,#17324f,#315d82)}.system-global-controls .account-menu-avatar{background:linear-gradient(145deg,#76331f,#b85e33)}.admin-global-controls .account-menu-trigger:hover,.admin-global-controls .account-menu-trigger:focus-visible{background:#17324f1a}.system-global-controls .account-menu-trigger:hover,.system-global-controls .account-menu-trigger:focus-visible{background:#a94f2b1f}.admin-global-controls .account-menu-trigger:focus-visible{outline-color:#17324f59}.system-global-controls .account-menu-trigger:focus-visible{outline-color:#d08a2173}.account-menu-name{text-overflow:ellipsis;white-space:nowrap;max-width:150px;font-size:.86rem;font-weight:700;overflow:hidden}.account-menu-caret{font-size:.72rem}.account-menu-panel{z-index:1200;background:#fff;border:1px solid #d7e2db;border-radius:14px;width:min(270px,100vw - 1rem);padding:.5rem;display:grid;position:absolute;top:calc(100% + .55rem);right:0;box-shadow:0 18px 40px #162f1f33}.admin-global-controls .account-menu-panel{border-color:var(--workspace-admin-border);box-shadow:0 18px 40px rgb(var(--workspace-admin-shadow-rgb) / 24%)}.system-global-controls .account-menu-panel{border-color:var(--workspace-system-border);background:var(--workspace-system-surface);box-shadow:0 18px 40px rgb(var(--workspace-system-shadow-rgb) / 24%)}.account-menu-summary{gap:.15rem;padding:.65rem .75rem .75rem;display:grid}.account-menu-summary strong{color:#24312a}.account-menu-summary span{color:#67736b;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.account-menu-panel>button{color:#24312a;text-align:left;width:100%;font:inherit;background:0 0;border:0;border-radius:9px;padding:.65rem .75rem;font-weight:650}.account-menu-panel>button:hover,.account-menu-panel>button:focus-visible{background:#eef7f1}.admin-global-controls .account-menu-panel>button:hover,.admin-global-controls .account-menu-panel>button:focus-visible{background:#edf3f8}.system-global-controls .account-menu-panel>button:hover,.system-global-controls .account-menu-panel>button:focus-visible{background:#f7ead4}.account-menu-panel>button:focus-visible{outline-offset:1px;outline:2px solid #1f8b434d}.account-menu-divider{background:#e4ebe6;height:1px;margin:.35rem 0}.account-menu-panel>.account-menu-signout{color:#a61b1b}html[data-theme=dark] .account-menu-trigger{color:#edf4ef}html[data-theme=dark] .account-menu-trigger:hover,html[data-theme=dark] .account-menu-trigger:focus-visible{background:#ffffff14}html[data-theme=dark] .account-menu-panel{background:#18211b;border-color:#435448;box-shadow:0 18px 40px #0006}html[data-theme=dark] .admin-global-controls .account-menu-panel{background:#142333;border-color:#40566a}html[data-theme=dark] .system-global-controls .account-menu-panel{background:#39241c;border-color:#ebab5b47}html[data-theme=dark] .account-menu-summary strong,html[data-theme=dark] .account-menu-panel>button{color:#edf4ef}html[data-theme=dark] .account-menu-summary span{color:#a9b5ad}html[data-theme=dark] .account-menu-panel>button:hover,html[data-theme=dark] .account-menu-panel>button:focus-visible{background:#243128}html[data-theme=dark] .admin-global-controls .account-menu-panel>button:hover,html[data-theme=dark] .admin-global-controls .account-menu-panel>button:focus-visible{background:#20384c}html[data-theme=dark] .system-global-controls .account-menu-panel>button:hover,html[data-theme=dark] .system-global-controls .account-menu-panel>button:focus-visible{background:#4b3024}html[data-theme=dark] .account-menu-divider{background:#3b4b40}html[data-theme=dark] .account-menu-panel>.account-menu-signout{color:#ff9d9d}@media (width<=760px){.account-menu-name{display:none}.account-menu-trigger{padding-right:.3rem}}.workspace-switcher{color:inherit;align-items:center;font-size:.72rem;font-weight:700;display:inline-flex}.workspace-segmented-control{background:#225b3b14;border:1px solid #225b3b52;border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));padding:.12rem;display:inline-grid;box-shadow:inset 0 1px 2px #1634230f}.workspace-segmented-control.three-options{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-segmented-control button{min-height:30px;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.32rem .55rem;font-size:.7rem;font-weight:750;line-height:1;transition:background-color .18s,color .18s,box-shadow .18s,transform .18s}.workspace-segmented-control button:hover:not(.active){background:#225b3b1f}.workspace-segmented-control button.active{background:var(--brand-green,#225b3b);color:#fff;box-shadow:0 2px 5px #1634232e}.workspace-segmented-control button.operations.active{background:#a94f2b;box-shadow:0 2px 5px #76331f38}.workspace-segmented-control button.operations:hover:not(.active){background:#a94f2b1f}.workspace-segmented-control button:active{transform:translateY(1px)}.workspace-segmented-control button:focus-visible{outline-offset:2px;outline:2px solid #225b3b47}[data-theme=dark] .workspace-segmented-control{background:#b1d3bc14;border-color:#b1d3bc42}[data-theme=dark] .workspace-segmented-control button:hover:not(.active){background:#b1d3bc1f}[data-theme=dark] .workspace-segmented-control button.operations:hover:not(.active){background:#e0946224}@media (width<=760px){.workspace-segmented-control button{padding-inline:.45rem;font-size:.66rem}}@media (width<=620px){.workspace-segmented-control.three-options{max-width:min(100%,310px)}.workspace-segmented-control.three-options button{white-space:normal;line-height:1.1}}@media (width<=520px){.workspace-segmented-control button{min-height:28px;padding-inline:.38rem}}:root{--mfi-deep-stem:#1f8b43;--mfi-top-leaf:#48be30;--mfi-growth:#5fcb3c;--mfi-spring-bud:#a6e84a;--mfi-charcoal:#263238;--mfi-morning-dew:#f5fdf0;--mfi-white:#fff;--workspace-member-primary:var(--mfi-deep-stem);--workspace-member-primary-dark:#176d34;--workspace-member-accent:var(--mfi-top-leaf);--workspace-member-highlight:var(--mfi-spring-bud);--workspace-member-background:var(--mfi-morning-dew);--workspace-member-surface:var(--mfi-white);--workspace-member-surface-subtle:#f4f8f5;--workspace-member-text:var(--mfi-charcoal);--workspace-member-muted:#52645a;--workspace-member-border:#dbe5df;--workspace-member-shadow-rgb:31 81 52;--workspace-admin-primary:#17324f;--workspace-admin-secondary:#244866;--workspace-admin-slate:#334155;--workspace-admin-background:#f7f9fc;--workspace-admin-surface:var(--mfi-white);--workspace-admin-surface-subtle:#eef3f8;--workspace-admin-text:#1f2937;--workspace-admin-muted:#64748b;--workspace-admin-border:#d8e0e8;--workspace-admin-shadow-rgb:17 36 56;--workspace-system-primary:#76331f;--workspace-system-secondary:#a94f2b;--workspace-system-accent:#d08a21;--workspace-system-background:#fff7e8;--workspace-system-surface:#fffdf8;--workspace-system-surface-subtle:#fff2dc;--workspace-system-text:#442d24;--workspace-system-muted:#76584c;--workspace-system-border:#7e472647;--workspace-system-shadow-rgb:88 46 26;--workspace-control-surface:#fffffff5;--workspace-control-border:#ffffff38;--workspace-logo-surface:#fffffff0}html[data-theme=dark]{--workspace-member-background:#111a14;--workspace-member-surface:#18251d;--workspace-member-surface-subtle:#202a23;--workspace-member-text:#edf4ef;--workspace-member-muted:#aab7c4;--workspace-member-border:#34483a;--workspace-admin-background:#0f1720;--workspace-admin-surface:#182330;--workspace-admin-surface-subtle:#202d3a;--workspace-admin-text:#edf3f8;--workspace-admin-muted:#aab7c4;--workspace-admin-border:#385065;--workspace-system-background:#1c1511;--workspace-system-surface:#2a1f1a;--workspace-system-surface-subtle:#352720;--workspace-system-text:#f7eee9;--workspace-system-muted:#c8b7ae;--workspace-system-border:#65483b;--workspace-control-surface:#141f2bf5;--workspace-control-border:#ffffff2e;--workspace-logo-surface:#f6f9f7f5}body.member-shell-active{--color-surface:var(--workspace-member-surface);--color-surface-subtle:var(--workspace-member-surface-subtle);--color-border:var(--workspace-member-border);--color-text:var(--workspace-member-text);--color-text-muted:var(--workspace-member-muted);--color-action-primary:var(--workspace-member-primary-dark);--color-action-on-primary:#fff;--color-focus:var(--workspace-member-highlight);--color-fasting-phase:#8b4a46}html[data-theme=dark] body.member-shell-active{--color-fasting-phase:#c98580}body.admin-shell-active{--color-surface:var(--workspace-admin-surface);--color-surface-subtle:var(--workspace-admin-surface-subtle);--color-border:var(--workspace-admin-border);--color-text:var(--workspace-admin-text);--color-text-muted:var(--workspace-admin-muted);--color-action-primary:var(--workspace-admin-primary);--color-action-on-primary:#fff;--color-focus:#60a5fa}body.system-shell-active{--color-surface:var(--workspace-system-surface);--color-surface-subtle:var(--workspace-system-surface-subtle);--color-border:var(--workspace-system-border);--color-text:var(--workspace-system-text);--color-text-muted:var(--workspace-system-muted);--color-action-primary:var(--workspace-system-primary);--color-action-on-primary:#fff;--color-focus:var(--workspace-system-accent)}.global-controls-bar{z-index:1050;pointer-events:none;justify-content:flex-end;width:100%;min-height:56px;padding:.4rem clamp(.75rem,2vw,1.25rem);display:flex;position:sticky;top:0}.global-controls-bar.admin-global-controls,.global-controls-bar.member-global-controls,.global-controls-bar.system-global-controls{justify-content:space-between;align-items:center;min-height:58px}.global-controls-bar.member-global-controls{min-height:var(--member-toolbar-height,72px)}.global-controls-bar.admin-global-controls{background:linear-gradient(90deg, var(--workspace-admin-primary), var(--workspace-admin-secondary));box-shadow:0 4px 16px rgb(var(--workspace-admin-shadow-rgb) / 18%)}.global-controls-bar.member-global-controls{background:linear-gradient(90deg, var(--workspace-member-primary-dark), var(--workspace-member-primary));box-shadow:0 4px 16px rgb(var(--workspace-member-shadow-rgb) / 18%)}.global-controls-bar.system-global-controls{background:linear-gradient(90deg, var(--workspace-system-primary), var(--workspace-system-secondary));box-shadow:0 4px 16px rgb(var(--workspace-system-shadow-rgb) / 22%)}.admin-global-brand,.member-global-brand,.system-global-brand{background:var(--workspace-logo-surface);min-width:0;color:inherit;pointer-events:auto;border:1px solid #ffffff6b;border-radius:999px;align-items:center;padding:.2rem .45rem;text-decoration:none;display:flex;box-shadow:0 2px 8px #05121f29}.admin-global-brand:focus-visible,.member-global-brand:focus-visible,.system-global-brand:focus-visible{outline-offset:3px;outline:3px solid #fff}.admin-global-logo,.member-global-logo,.system-global-logo{width:132px;max-width:28vw;display:block}.global-controls-group{border:1px solid rgb(var(--workspace-member-shadow-rgb) / 20%);background:var(--workspace-logo-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;border-radius:999px;align-items:center;gap:.35rem;min-width:0;padding:.2rem;display:flex;box-shadow:0 5px 14px #2632381a}.admin-global-controls .global-controls-group,.member-global-controls .global-controls-group,.system-global-controls .global-controls-group{border-color:var(--workspace-control-border);background:var(--workspace-control-surface);box-shadow:0 4px 12px #05121f2e}.system-global-controls .global-controls-group{box-shadow:0 4px 12px rgb(var(--workspace-system-shadow-rgb) / 24%)}.global-controls-group .theme-toggle-button,.global-controls-group .language-selector{margin:0;position:static!important;inset:auto!important}.global-controls-group .theme-toggle-button{flex:none;min-width:32px;min-height:32px;padding:.35rem}.global-controls-group .language-selector{align-items:center;gap:.2rem;display:flex}.global-controls-group .language-flag-button{border-radius:8px;min-width:32px;min-height:30px;padding:.22rem .28rem}.global-controls-group .language-flag-icon,.global-controls-group .language-flag-icon svg{width:24px;height:16px;display:block}html[data-theme=dark] .global-controls-group{background:#18211bf2;border-color:#435448;box-shadow:0 8px 22px #0000004d}html[data-theme=dark] .admin-global-controls .global-controls-group,html[data-theme=dark] .member-global-controls .global-controls-group,html[data-theme=dark] .system-global-controls .global-controls-group{background:var(--workspace-control-surface);border-color:var(--workspace-control-border)}html[data-theme=dark] .admin-global-brand,html[data-theme=dark] .member-global-brand,html[data-theme=dark] .system-global-brand{background:var(--workspace-logo-surface);border-color:#ffffff4d}@media (width<=700px){.global-controls-bar{min-height:52px;padding:.35rem .55rem}.global-controls-bar.admin-global-controls,.global-controls-bar.member-global-controls,.global-controls-bar.system-global-controls{min-height:54px}.global-controls-bar.member-global-controls{min-height:var(--member-toolbar-height,64px)}.admin-global-brand,.member-global-brand,.system-global-brand{padding:.16rem .34rem}.admin-global-logo,.member-global-logo,.system-global-logo{width:108px}.global-controls-group{gap:.2rem}}@media (width<=520px){.admin-global-logo,.member-global-logo,.system-global-logo{width:92px}.global-controls-group .theme-toggle-button,.global-controls-group .language-flag-button{min-width:30px;min-height:30px}}@media (width<=420px){.admin-global-brand,.member-global-brand,.system-global-brand{max-width:84px;overflow:hidden}.admin-global-logo,.member-global-logo,.system-global-logo{width:82px;max-width:none}.global-controls-group{flex:0 auto}}body.member-shell-active{--member-toolbar-height:72px;--member-header-collapsed-height:58px;--member-sticky-content-offset:calc(var(--member-toolbar-height) + var(--member-header-collapsed-height) + 1rem);--member-content-width:1200px;color:var(--workspace-member-text);background:var(--workspace-member-background)}html:has(body.member-shell-active){scroll-padding-block-start:calc(130px + 1rem)}body.member-shell-active .app-page :where(a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])){scroll-margin-block-start:var(--member-sticky-content-offset)}body.member-shell-active .security-header,body.member-shell-active .member-page-header{top:var(--member-toolbar-height);z-index:930;box-sizing:border-box;max-height:190px;transition:max-height .18s,padding .18s,margin .18s,box-shadow .18s;position:sticky;overflow:hidden}body.member-shell-active .member-page-header{background:var(--workspace-surface,#fff)}body.member-shell-active .security-header>div{flex-direction:column;align-items:flex-start;gap:0;min-width:0;display:flex}body.member-shell-active .security-header h1{margin:0 0 .45rem}body.member-shell-active .security-header p{margin:0}body.member-shell-active .security-header{border:1px solid var(--workspace-member-border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 8px 22px rgb(var(--workspace-member-shadow-rgb) / 8%);background:#fffffff5;border-radius:16px;margin:0 0 1.25rem;padding:1.25rem 1.5rem}body.member-shell-active .dashboard-module-status,body.member-shell-active .dashboard-module-arrow{display:none!important}body.member-shell-active .dashboard-module-action{justify-content:flex-start}body.member-header-collapsed .security-header,body.member-header-collapsed .member-page-header{max-height:var(--member-header-collapsed-height);min-height:var(--member-header-collapsed-height);box-shadow:0 8px 18px rgb(var(--workspace-member-shadow-rgb) / 12%);align-items:center;margin-bottom:.75rem;padding-top:.55rem;padding-bottom:.55rem}body.member-header-collapsed .security-header p,body.member-header-collapsed .member-page-header p,body.member-header-collapsed .section-eyebrow{display:none}body.member-header-collapsed .security-header h1,body.member-header-collapsed .member-page-header h1{margin:0;font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.2}html[data-theme=dark] body.member-shell-active{background:#111a14}html[data-theme=dark] body.member-shell-active .security-header{background:#18251df5;border-color:#385065;box-shadow:0 8px 22px #0000003d}body.member-header-collapsed .member-page-header{grid-template-columns:minmax(0,1fr) auto;gap:.75rem;display:grid}body.member-header-collapsed .member-page-header .app-page-header-actions{flex-wrap:nowrap}@media (width<=700px){html:has(body.member-shell-active){scroll-padding-block-start:calc(118px + 1rem)}body.member-shell-active{--member-toolbar-height:64px;--member-header-collapsed-height:54px}body.member-header-collapsed .security-header,body.member-header-collapsed .member-page-header{gap:.5rem}body.member-shell-active .security-header{padding:1rem}body.member-header-collapsed .member-page-header{padding:.3rem .5rem}body.member-header-collapsed .member-page-header .app-page-header-actions{width:auto}body.member-header-collapsed .member-page-header .app-page-header-actions>*{flex:none}}@media (width<=360px){body.member-header-collapsed .member-page-header{grid-template-columns:minmax(0,1fr);align-items:stretch;min-height:0;max-height:none}body.member-header-collapsed .member-page-header .app-page-header-actions{flex-wrap:wrap;width:100%}body.member-header-collapsed .member-page-header .app-page-header-actions>*{flex:auto}}@media (prefers-reduced-motion:reduce){body.member-shell-active .security-header,body.member-shell-active .member-page-header{transition:none}}.public-shell{min-height:100vh;color:var(--workspace-member-text);background:linear-gradient(180deg, var(--workspace-member-background), #fff 45%)}.public-header{z-index:1200;width:100%;min-height:76px;box-shadow:0 5px 20px rgb(var(--workspace-member-shadow-rgb) / 10%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border-bottom:1px solid #1f8b4324;position:sticky;top:0}.public-header-inner,.public-footer{width:min(1320px,100% - 2rem);margin:0 auto}.public-header-inner{grid-template-columns:minmax(180px,1fr) auto minmax(280px,1fr);align-items:center;gap:1.5rem;min-height:76px;display:grid}.public-brand{background:0 0;border-radius:14px;justify-self:start;align-items:center;padding:.25rem .4rem;display:inline-flex}.public-brand-logo{width:168px;display:block}.public-navigation,.public-footer nav,.public-header-actions{align-items:center;gap:1rem;display:flex}.public-navigation{justify-content:center}.public-header-actions{justify-content:flex-end;min-width:0}.public-header-actions .theme-toggle-button,.public-header-actions .language-selector{margin:0;position:static!important;inset:auto!important}.public-header-actions .theme-toggle-button{flex:none}.public-header-actions .language-selector{align-items:center;display:flex}.public-navigation a,.public-footer a{color:inherit;white-space:nowrap;font-weight:700;text-decoration:none}.public-navigation a:hover,.public-footer a:hover,.public-navigation a.active,.public-footer a.active{color:var(--workspace-member-primary)}.public-signup-link{background:var(--workspace-member-primary);white-space:nowrap;min-height:44px;box-shadow:0 7px 18px rgb(var(--workspace-member-shadow-rgb) / 16%);border-radius:12px;justify-content:center;align-items:center;padding:.7rem 1.15rem;font-weight:800;text-decoration:none;display:inline-flex;color:#fff!important}.public-signup-link:hover{background:var(--workspace-member-primary-dark)}.public-main{min-height:calc(100vh - 220px)}.public-footer{border-top:1px solid var(--workspace-member-border);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:2rem 0 2.5rem;display:flex}.public-footer p{color:#64748b;max-width:560px;margin:.35rem 0 0}html[data-theme=dark] .public-shell{color:#edf7ef;background:linear-gradient(#14231a,#101711 48%)}html[data-theme=dark] .public-header{background:#101711f5;border-color:#35483b}html[data-theme=dark] .public-footer{border-color:#35483b}html[data-theme=dark] .public-footer p{color:#aab7c4}@media (width<=980px){.public-header-inner{grid-template-columns:auto 1fr;gap:.8rem 1rem;padding:.65rem 0}.public-navigation{grid-area:2/1/auto/-1;justify-content:flex-start;padding-bottom:.15rem;overflow-x:auto}.public-header-actions{grid-area:1/2}}@media (width<=680px){.public-header-inner,.public-footer{width:min(100% - 1rem,1320px)}.public-brand-logo{width:132px}.public-header-actions{gap:.35rem}.public-header-actions .language-flag-button{min-width:32px}.public-signup-link{min-height:38px;padding:.55rem .75rem;font-size:.9rem}.public-footer{flex-direction:column}}@media (width<=460px){.public-header-inner{grid-template-columns:1fr auto}.public-brand-logo{width:112px}.public-header-actions .theme-toggle-button{display:none}.public-navigation{gap:.8rem;font-size:.92rem}}.public-header,.public-brand,.public-navigation a,.public-footer a,.public-signup-link{transition:color .16s,background-color .16s,border-color .16s,box-shadow .18s,transform .18s}.public-brand:hover{transform:translateY(-1px)}.public-navigation a{padding:.45rem .2rem;position:relative}.public-navigation a:after{background:var(--workspace-member-primary);content:"";opacity:0;border-radius:999px;height:2px;transition:opacity .16s,transform .16s;position:absolute;bottom:.05rem;left:.2rem;right:.2rem;transform:scaleX(.55)}.public-navigation a:hover:after,.public-navigation a.active:after{opacity:1;transform:scaleX(1)}.public-signup-link:hover{box-shadow:0 11px 24px rgb(var(--workspace-member-shadow-rgb) / 24%);transform:translateY(-2px)}.public-signup-link:active{transform:translateY(0)}.public-brand:focus-visible,.public-navigation a:focus-visible,.public-footer a:focus-visible,.public-signup-link:focus-visible{outline-offset:3px;outline:3px solid #48be3057}.public-footer{margin-top:1rem}@media (prefers-reduced-motion:reduce){.public-header,.public-brand,.public-navigation a,.public-navigation a:after,.public-footer a,.public-signup-link{transition:none}.public-brand:hover,.public-signup-link:hover,.public-signup-link:active{transform:none}}.mfa-step{color:#64748b;letter-spacing:.04em;text-align:center;text-transform:uppercase;margin:.5rem 0 0;font-size:.85rem;font-weight:700}.mfa-enrollment-details{gap:.85rem;min-width:0;display:grid}.mfa-enrollment-details p{margin:0}.mfa-qr-code{background:#fff;border:1px solid #d8e3da;border-radius:.85rem;justify-content:center;width:100%;padding:.85rem;display:flex;overflow:hidden}.mfa-qr-code svg{width:min(220px,100%);height:auto;display:block}.mfa-setup-key,.mfa-uri-details code{overflow-wrap:anywhere;color:#26343a;background:#f4f8f4;border:1px solid #d8e3da;border-radius:.55rem;max-width:100%;padding:.7rem .8rem;font-size:.85rem;line-height:1.5;display:block}.mfa-uri-details{min-width:0}.mfa-uri-details summary{cursor:pointer;font-weight:600}.mfa-uri-details code{margin-top:.65rem}.mfa-recovery-codes{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;width:100%;min-width:0;display:grid}.mfa-recovery-codes code{overflow-wrap:anywhere;color:#26343a;letter-spacing:.04em;text-align:center;background:#f4f8f4;border:1px solid #d8e3da;border-radius:.55rem;min-width:0;padding:.75rem .85rem;font-size:.9rem;font-weight:700;line-height:1.4;display:block}.remember-device-option{background:#f7faf7;border:1px solid #d8e3da;border-radius:.65rem;align-items:center;gap:.65rem;padding:.75rem;font-weight:600;display:flex}.remember-device-option input{width:1.1rem;height:1.1rem;margin:0}.recovery-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.recovery-actions .secondary-button{width:100%;margin:0}@media (width<=520px){.mfa-qr-code{padding:.6rem}.mfa-recovery-codes,.recovery-actions{grid-template-columns:1fr}}@media print{body *{visibility:hidden}.mfa-recovery-codes,.mfa-recovery-codes *{visibility:visible}.mfa-recovery-codes{position:absolute;inset:1rem}}.mfi-button,button.secondary-button{min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.72rem 1rem;font-weight:800;line-height:1.1;text-decoration:none;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex}.mfi-button--sm{border-radius:10px;min-height:36px;padding:.5rem .75rem}.mfi-button.mfi-button--compact{border-radius:8px;min-height:30px;padding:.2rem .75rem;line-height:1.05}.mfi-button--lg{min-height:50px;padding:.85rem 1.2rem}.mfi-button--primary{color:#fff;background:var(--mfi-deep-stem-dark,#176b35);border-color:var(--mfi-deep-stem-dark,#176b35);box-shadow:0 7px 18px #1f8b432e}.mfi-button--outline,button.secondary-button{color:var(--mfi-deep-stem-dark,#176c34);border-color:var(--mfi-deep-stem,#1f8b43);box-shadow:none;background:#fff}.mfi-button--ghost{color:var(--mfi-deep-stem-dark,#176c34);box-shadow:none;background:0 0;border-color:#0000}.mfi-button--danger{color:#fff;background:#b42318;border-color:#b42318}.mfi-button:hover:not(:disabled),button.secondary-button:hover:not(:disabled){color:#fff;background:var(--mfi-deep-stem-dark,#176c34);border-color:var(--mfi-deep-stem-dark,#176c34);transform:translateY(-1px);box-shadow:0 8px 20px #1f8b4333}.mfi-button:focus-visible,button.secondary-button:focus-visible{outline-offset:2px;outline:3px solid #1f8b4340}.mfi-button:disabled,button.secondary-button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none;transform:none}.mfi-button__icon{place-items:center;display:inline-grid}.mfi-button__label{align-items:center;display:inline-flex}html[data-theme=dark] .mfi-button--outline,html[data-theme=dark] button.secondary-button{color:#e8f0ea;background:#202a23;border-color:#5e7565}html[data-theme=dark] .mfi-button--ghost{color:#dce9df}@media (width<=600px){.mfi-button,button.secondary-button{min-height:42px}.mfi-button.mfi-button--compact{min-height:36px}}.admin-page{min-height:100vh;color:var(--mfi-charcoal);background:linear-gradient(145deg,#f6fbf6,#eef7ef);padding:2rem}.admin-header{border:1px solid var(--mfi-border);border-radius:var(--mfi-radius-xl);max-width:1400px;box-shadow:var(--mfi-shadow-md);background:#fffffff0;justify-content:space-between;align-items:flex-start;gap:2rem;margin:0 auto 2rem;padding:1.5rem;display:flex}.admin-header.compact{margin-bottom:1rem}.admin-logo{width:190px;max-width:50vw}.admin-eyebrow{color:var(--mfi-deep-stem);text-transform:uppercase;letter-spacing:.08em;margin:.7rem 0 .2rem;font-size:.76rem;font-weight:800}.admin-header h1{margin:.1rem 0 .45rem}.admin-header p{max-width:760px}.admin-module-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:1rem;max-width:1200px;margin:auto;display:grid}.admin-module-card{border:1px solid var(--mfi-border);border-radius:var(--mfi-radius-lg);box-shadow:var(--mfi-shadow-sm);background:#fff;flex-direction:column;gap:.75rem;padding:1.25rem;display:flex}.admin-module-card.active-module{border-color:#1f8b4373}.admin-module-card h2,.admin-module-card p{margin:0}.admin-module-card button{margin-top:auto}.module-status{color:#607168;background:#eef1ef;border-radius:999px;align-self:flex-start;padding:.25rem .55rem;font-size:.72rem;font-weight:800}.module-status.ready{color:var(--mfi-deep-stem-dark);background:#1f8b431f}.translation-toolbar{border:1px solid var(--mfi-border);border-radius:var(--mfi-radius-lg);background:#fff;grid-template-columns:2fr 1fr 1fr auto auto;align-items:end;gap:1rem;max-width:1400px;margin:0 auto 1rem;padding:1rem;display:grid}.translation-toolbar label{flex-direction:column;gap:.4rem;font-weight:700;display:flex}.translation-toolbar input,.translation-toolbar select,.translation-table textarea{box-sizing:border-box;border:1px solid var(--mfi-border);width:100%;font:inherit;background:#fff;border-radius:10px;padding:.7rem}.translation-check{white-space:nowrap;align-items:center;padding-bottom:.65rem;flex-direction:row!important;gap:.45rem!important}.translation-check input{width:auto}.translation-summary{grid-template-columns:auto auto;align-items:baseline;gap:.2rem .45rem;display:grid}.translation-summary strong{color:var(--mfi-deep-stem);font-size:1.2rem}.translation-bulk-bar{justify-content:flex-end;align-items:center;gap:1rem;max-width:1400px;margin:0 auto 1rem;display:flex}.translation-bulk-bar span{color:var(--mfi-text-muted);margin-right:auto;font-weight:700}.translation-table-wrap{border:1px solid var(--mfi-border);border-radius:var(--mfi-radius-lg);max-width:1400px;box-shadow:var(--mfi-shadow-sm);background:#fff;margin:auto;overflow:auto}.translation-table{border-collapse:collapse;width:100%;min-width:1280px}.translation-table th,.translation-table td{border-bottom:1px solid var(--mfi-border);vertical-align:middle;text-align:left;padding:.72rem}.translation-table th{z-index:1;color:var(--mfi-charcoal);text-transform:uppercase;letter-spacing:.04em;background:#f5f9f6;font-size:.76rem;position:sticky;top:0}.translation-table th button{color:inherit;box-shadow:none;font:inherit;text-transform:inherit;letter-spacing:inherit;background:0 0;border:0;padding:0}.translation-table th button:hover{box-shadow:none;color:var(--mfi-deep-stem);transform:none}.translation-table tbody tr:hover{background:#fbfdfb}.translation-row-unsaved{background:#fffdf2}.translation-table code{overflow-wrap:anywhere;font-size:.78rem;font-weight:800}.translation-target-cell{min-width:280px}.translation-target-cell textarea{resize:vertical;min-height:3.2rem;line-height:1.35}.translation-text-button{width:100%;color:inherit;box-shadow:none;text-align:left;font:inherit;background:0 0;border:0;padding:.35rem 0}.translation-text-button:hover{box-shadow:none;color:var(--mfi-deep-stem);transform:none}.category-pill{white-space:nowrap;background:#f1f5f2;border-radius:999px;padding:.22rem .5rem;font-size:.72rem;font-weight:800;display:inline-flex}.translation-dot{font-size:1.1rem}.translation-dot.published{color:#1d8b46}.translation-dot.reviewed{color:#2f75b5}.translation-dot.draft{color:#d19a00}.translation-dot.missing{color:#c43f3f}.translation-row-actions{align-items:center;gap:.4rem;display:flex}.translation-row-actions button{white-space:nowrap;padding:.5rem .65rem}.icon-button{min-width:2rem;border:1px solid var(--mfi-border)!important;color:var(--mfi-charcoal)!important;box-shadow:none!important;background:#fff!important;padding:.4rem!important}.icon-button:hover{border-color:var(--mfi-deep-stem)!important;color:var(--mfi-deep-stem)!important;transform:none!important}.translation-pagination{justify-content:center;align-items:center;gap:1rem;max-width:1400px;margin:1rem auto 0;display:flex}.admin-loading,.admin-empty{text-align:center;border:1px dashed var(--mfi-border);border-radius:var(--mfi-radius-lg);background:#fff;max-width:1400px;margin:1rem auto;padding:2rem}.translation-table-wrap .admin-empty{border:0;border-radius:0;margin:0}.form-message{max-width:1400px;margin:0 auto 1rem}.translation-drawer-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#121e1761;justify-content:flex-end;display:flex;position:fixed;inset:0}.translation-drawer{background:#fff;width:min(460px,92vw);height:100%;padding:1.5rem;overflow:auto;box-shadow:-20px 0 50px #1636222e}.translation-drawer-header{border-bottom:1px solid var(--mfi-border);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1rem;display:flex}.translation-drawer-header h2{overflow-wrap:anywhere;margin:.2rem 0 0}.translation-drawer section{border-bottom:1px solid var(--mfi-border);padding:1rem 0}.translation-drawer h3{margin:0 0 .5rem}.translation-history-list{gap:.8rem;margin:0;padding:0;list-style:none;display:grid}.translation-history-list li{border:1px solid var(--mfi-border);background:#f8fbf8;border-radius:12px;padding:.8rem}.translation-history-list li strong{color:var(--mfi-deep-stem);display:block}.translation-history-list li span{font-size:.72rem;font-weight:800}.translation-history-list li p{margin:.45rem 0}.translation-history-list small{color:var(--mfi-text-muted)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.translation-toolbar{grid-template-columns:1fr 1fr}.translation-summary{grid-column:1/-1}.translation-check{padding-bottom:0}}@media (width<=760px){.admin-page{padding:1rem}.admin-header{flex-direction:column}.translation-toolbar{grid-template-columns:1fr}.translation-summary{grid-column:auto}.translation-table{min-width:1100px}.translation-table th,.translation-table td{padding:.6rem}.translation-row-actions{flex-direction:column;align-items:stretch}.translation-row-actions button{width:100%}.translation-bulk-bar{flex-wrap:wrap;align-items:flex-start}.translation-bulk-bar span{width:100%}}.admin-console-page{--admin-navy-950:#142033;--admin-navy-900:#1b2d4c;--admin-navy-800:#294366;--admin-blue-600:#355b94;--admin-blue-500:#4772ad;--admin-slate-700:#46566a;--admin-slate-500:#708096;--admin-slate-200:#d9e0e8;--admin-slate-100:#edf1f5;--admin-slate-50:#f5f7fa;--admin-background:#eef2f6;--admin-surface:#fff;--admin-surface-raised:#f9fbfd;--admin-surface-muted:#f1f4f7;--admin-border:#d5dde7;--admin-text:#1d2938;--admin-text-muted:#607086;--admin-accent:var(--admin-blue-600);--admin-accent-strong:var(--admin-navy-800);background:linear-gradient(180deg, #1b2d4c12, transparent 260px), var(--admin-background);color:var(--admin-text)}.admin-console-page .admin-header{border-color:var(--admin-border);background:var(--admin-surface);box-shadow:0 18px 45px #1b2d4c1a}.admin-console-page .admin-eyebrow{color:var(--admin-accent)}.admin-console-page .admin-header h1,.admin-console-page .admin-header p{color:var(--admin-text)}.admin-console-page .admin-header p{color:var(--admin-text-muted)}.admin-console-page .admin-module-card{border-color:var(--admin-border);background:var(--admin-surface);box-shadow:0 8px 20px #1b2d4c12}html[data-theme=dark] .admin-console-page{--admin-background:#101722;--admin-surface:#182231;--admin-surface-raised:#1d2a3b;--admin-surface-muted:#151e2b;--admin-border:#34445a;--admin-text:#edf3fa;--admin-text-muted:#aebbd0;--admin-accent:#7ea4d8;--admin-accent-strong:#a9c4e8;background:linear-gradient(180deg, #4772ad21, transparent 280px), var(--admin-background)}html[data-theme=dark] .admin-console-page .admin-header{background:var(--admin-surface);border-color:var(--admin-border);box-shadow:0 18px 45px #0003}.translation-admin-shell{box-sizing:border-box;grid-template-columns:minmax(0,1400px);justify-content:center;gap:1rem;width:100%;display:grid}.translation-admin-shell-content{min-width:0}.translation-admin-shell-content>.translation-admin-page{background:0 0;min-height:0;padding:0}.translation-admin-shell-content>.translation-admin-page>.admin-header.compact{display:none}@media (width<=760px){.translation-admin-shell{gap:.75rem}}.profile-localization-grid{align-items:end}.profile-localization-grid>label,.profile-localization-grid>.localization-toggle-field{min-width:0}.profile-localization-grid>label:first-child{visibility:visible!important;opacity:1!important;display:flex!important}.profile-localization-grid select,.localization-toggle-field .unit-toggle{min-height:56px}.localization-toggle-field .unit-toggle{width:100%;max-width:none}.profile-localization-grid label,.localization-toggle-field{background:#fbfdfb;border:1px solid #dce7df;border-radius:12px;padding:.85rem;position:relative}.profile-localization-grid label:hover,.localization-toggle-field:hover{border-color:#1f8b4373;box-shadow:0 5px 14px #1f8b4314}.profile-localization-grid select:focus-visible{outline-offset:2px;border-color:var(--mfi-deep-stem,#1f8b43);outline:3px solid #1f8b4333}html[data-theme=dark] .profile-localization-grid label,html[data-theme=dark] .localization-toggle-field{background:#131c16;border-color:#34443a}html[data-theme=dark] .profile-localization-grid label:hover,html[data-theme=dark] .localization-toggle-field:hover{border-color:#57c7778c}@media (width<=700px){.profile-localization-grid select,.localization-toggle-field .unit-toggle{width:100%}}
