:root{font-family:Inter,Noto Sans SC,Noto Sans JP,system-ui,sans-serif;color:#193d32;background:#eef5f2;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}h1,h2,p{margin:0}h1{font-size:25px;line-height:1.2}h2{font-size:17px;margin-bottom:14px}small{display:block;color:#698078;margin-top:3px}.admin-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#153e33;color:#fff;padding:18px 12px;display:flex;flex-direction:column}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-lockup strong,.brand-lockup span{display:block}.brand-lockup strong{font-size:23px}.brand-lockup span{font-size:12px;color:#9fc8b9}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:#55be64;color:#102f28;border-radius:6px}.brand-lockup.compact{padding:0 8px 20px}.sidebar nav{display:grid;gap:4px;margin-top:16px}.sidebar nav button{height:42px;display:flex;align-items:center;gap:11px;border:0;border-radius:5px;color:#cce0d8;background:transparent;padding:0 12px;text-align:left}.sidebar nav button svg{width:18px}.sidebar nav button:hover,.sidebar nav button.active{background:#2a5b4c;color:#fff}.sidebar-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:12px 8px 0;border-top:1px solid #386356}.user-chip span,.user-chip small{display:block}.user-chip small{color:#9fc8b9}.workspace{min-width:0;padding:28px 34px 56px;max-width:1440px;width:100%;margin:0 auto}.page-header{min-height:42px;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.header-actions{display:flex;gap:8px}.desktop-locale{position:fixed;right:18px;top:16px}.mobile-toolbar{display:none}.locale-switch{display:inline-flex;padding:3px;background:#fff;border:1px solid #cddbd6;border-radius:6px}.locale-switch button{width:38px;height:28px;border:0;background:transparent;color:#61766f;border-radius:4px;font-size:11px;font-weight:800}.locale-switch button.active{background:#1f6f53;color:#fff}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric{min-height:132px;background:#fff;border:1px solid #d7e2de;border-radius:6px;padding:20px;display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center}.metric svg{color:#2d8f5a}.metric span{color:#587168}.metric strong{grid-column:1 / -1;font-size:34px;color:#163f33}.primary-button,.secondary-button,.danger-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;padding:0 14px;border:1px solid transparent;font-weight:800;text-decoration:none}.primary-button{background:#2e9d58;color:#fff}.primary-button:hover{background:#237f47}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:not-allowed}.secondary-button{background:#fff;border-color:#bfcfca;color:#214b3e}.danger-button{background:#d84d62;color:#fff}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border:0;border-radius:5px;background:transparent;color:inherit}.icon-button svg,.primary-button svg,.secondary-button svg,.danger-button svg{width:17px}.icon-button.positive{color:#25874c;background:#e4f4e8}.icon-button.danger{color:#c83e55;background:#fae8eb}.state-line,.empty-state,.error-banner{min-height:54px;display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:5px}.state-line,.empty-state{background:#fff;border:1px solid #d6e1dd;color:#637970}.error-banner{margin-bottom:14px;background:#fff0f2;border:1px solid #efbcc4;color:#9f2c40}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.table-wrap{overflow:auto;background:#fff;border:1px solid #d6e1dd;border-radius:6px}table{width:100%;border-collapse:collapse;font-size:14px}th{height:42px;padding:0 14px;text-align:left;background:#f5f8f7;color:#687d75;font-size:12px;text-transform:uppercase}td{min-height:50px;padding:12px 14px;border-top:1px solid #e3ebe8;vertical-align:middle}.row-actions{display:flex;gap:6px}.status{display:inline-flex;align-items:center;min-height:25px;border-radius:12px;padding:2px 9px;font-size:12px;font-weight:800;white-space:nowrap}.status-green{background:#def2e4;color:#1e7442}.status-red{background:#fae3e7;color:#b5374d}.status-yellow{background:#fff0cb;color:#88651d}.status-blue{background:#dceefa;color:#286a91}.status-gray{background:#e9eeec;color:#65736e}.list-stack{display:grid;gap:10px}.team-row{background:#fff;border:1px solid #d4e0dc;border-radius:6px;overflow:hidden}.team-main{width:100%;min-height:74px;display:grid;grid-template-columns:42px minmax(160px,1fr) auto 22px;gap:14px;align-items:center;border:0;background:#fff;padding:12px 16px;text-align:left;color:inherit}.team-main:hover{background:#f8fbfa}.team-mark{width:42px;height:42px;display:grid;place-items:center;background:#e0f2e5;color:#2b8b51;border-radius:5px}.team-main strong,.team-main span{display:block}.team-main span{color:#647a72;margin-top:3px;font-size:13px}.team-flags{display:flex;gap:7px}.entitlement-row{min-height:48px;display:flex;align-items:center;gap:10px;padding:7px 16px;border-top:1px solid #e4ebe8;background:#f8faf9}.entitlement-row input{margin-left:auto}.team-summary-band{min-height:54px;display:flex;flex-wrap:wrap;align-items:center;gap:18px;background:#fff;border:1px solid #d6e1dd;border-radius:6px;padding:10px 16px;margin-bottom:12px}.team-summary-band span{color:#60776e}.tabs{display:flex;gap:3px;border-bottom:1px solid #cad9d3;margin-bottom:18px;overflow-x:auto}.tabs button{min-width:125px;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-bottom:3px solid transparent;background:transparent;color:#647a72}.tabs button.active{color:#1f714d;border-bottom-color:#41ad5e;font-weight:800}.tabs svg{width:17px}.form-section,.import-panel,.bank-catalog,.season-current{background:#fff;border:1px solid #d6e1dd;border-radius:6px;padding:18px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px}label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#566d65}input,select{width:100%;min-height:39px;border:1px solid #bfcfca;border-radius:4px;background:#fff;padding:0 10px;color:#1c4035}input:focus,select:focus{outline:2px solid #8acb9c;border-color:#42965d}.command-row,.inline-form{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:16px}.bank-layout,.split-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);gap:16px;align-items:start}.bank-row{min-height:62px;display:grid;grid-template-columns:minmax(170px,1fr) auto auto auto;gap:9px;align-items:center;border-top:1px solid #e3ebe8;padding:9px 0}.bank-row:first-of-type{border-top:0}.bank-row span{display:block;color:#6a7f78;font-size:12px;margin-top:3px}.file-button{min-height:44px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;border:1px dashed #75ab89;background:#f1f8f3;border-radius:5px;cursor:pointer;margin:12px 0}.file-button input{display:none}.import-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.import-actions .file-button{flex:1;min-width:180px;margin:0}.bank-name-fields{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:8px;width:100%}.bank-name-fields label{display:grid;gap:5px;font-weight:750}.parse-errors,.parse-ok{white-space:pre-line;font-size:12px;padding:10px;border-radius:4px;margin-bottom:10px}.parse-errors{background:#fff0f2;color:#a92f44}.parse-ok{background:#e6f5e9;color:#217344}.bank-list{display:grid;gap:5px}.bank-list>button{min-height:54px;display:flex;align-items:center;justify-content:space-between;text-align:left;border:1px solid #d4e0dc;background:#fff;border-radius:5px;padding:8px 12px;color:inherit}.bank-list>button.active{border-color:#39935a;box-shadow:inset 3px 0 #39935a}.bank-list span{min-width:0}.bank-list strong,.bank-list small{display:block;overflow:hidden;text-overflow:ellipsis}.bank-create{margin:0 0 12px}.bank-create input{min-width:130px;flex:1}.bank-create select{width:auto}.version-list{display:grid;margin-top:14px}.version-list>div{min-height:44px;display:flex;align-items:center;gap:9px;border-top:1px solid #e4ebe8}.version-list>div span:first-child{flex:1}.scene-choices{display:flex;flex-wrap:wrap;gap:8px 14px;width:100%}.scene-choices label{display:inline-flex;align-items:center;gap:5px;font-size:13px}.bank-metadata-form{display:grid;gap:10px;margin-bottom:16px}.bank-metadata-form textarea{min-height:76px;resize:vertical}.season-current pre{overflow:auto;padding:12px;background:#173f34;color:#dceae5;border-radius:4px;font-size:12px}.center-screen,.login-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.login-screen{background:#153e33}.login-panel{width:min(420px,100%);display:grid;gap:20px;background:#fff;border-radius:6px;padding:28px;box-shadow:0 18px 60px #061d1647}.login-panel .brand-lockup span{color:#61766f}.login-panel .locale-switch{justify-self:center}.auth-copy{color:#587168;line-height:1.55}.auth-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.login-button{min-width:0;min-height:46px;padding:8px 10px;text-align:center}.auth-note{color:#698078;font-size:12px;line-height:1.55}@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;inset:auto 0 0;width:auto;height:68px;padding:6px;display:block}.sidebar .brand-lockup,.sidebar-footer{display:none}.sidebar nav{display:flex;margin:0;overflow-x:auto}.sidebar nav button{min-width:78px;height:56px;flex-direction:column;justify-content:center;gap:3px;padding:3px;font-size:10px}.workspace{padding:16px 14px 90px}.desktop-locale{display:none}.mobile-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.metric-grid,.bank-layout,.split-workspace{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){h1{font-size:21px}.form-grid,.bank-name-fields,.auth-actions{grid-template-columns:1fr}.team-main{grid-template-columns:40px minmax(0,1fr) 20px}.team-flags{grid-column:2 / -1}.entitlement-row{align-items:stretch;flex-wrap:wrap}.entitlement-row input{margin-left:0;flex:1}.bank-row{grid-template-columns:minmax(0,1fr) auto}.bank-row button{grid-column:auto}}
