:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{color:#1f2a25;background:#f4f2ed;margin:0;font-family:Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.admin-shell{background:radial-gradient(circle at 100% 0,#dceadf 0,#0000 35%),#f4f2ed;min-height:100vh;padding:32px clamp(16px,5vw,72px) 64px}.topbar{justify-content:space-between;align-items:center;max-width:1180px;margin:auto;padding-bottom:26px;display:flex}.topbar h1{letter-spacing:-1px;margin:4px 0 0;font-size:clamp(28px,4vw,46px)}.eyebrow{color:#47725a;letter-spacing:1.5px;font-size:13px;font-weight:700}.toolbar,.content-card,.notice,.alert{max-width:1180px;margin-inline:auto}.toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.toolbar nav{color:#627068}.toolbar nav button{color:#315f45;background:0 0;border:0;padding:5px}.actions{gap:8px;display:flex}.actions input,.modal input,.login-card input{background:#fff;border:1px solid #cfd7d1;border-radius:10px;min-width:min(330px,62vw);padding:11px 14px}button{color:#fff;background:#285c3c;border:0;border-radius:10px;padding:11px 18px;font-weight:700}button:hover{filter:brightness(.95)}.ghost,.refresh{color:#315f45;background:#fff;border:1px solid #cbd6ce}.admin-link{border-radius:10px;align-items:center;padding:11px 18px;font-weight:700;text-decoration:none;display:inline-flex}.notice{color:#655221;background:#fff7dc;border:1px solid #ead798;border-radius:12px;margin-bottom:16px;padding:13px 16px}.override-badge{color:#176c37;vertical-align:middle;background:#e7f7ec;border-radius:999px;margin-inline-start:9px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-block}.alert{border-radius:10px;margin-bottom:14px;padding:12px 16px}.error{color:#8f2923;background:#fee8e6;border:1px solid #f3b6b0}.success{color:#226338;background:#e7f6eb;border:1px solid #abd8b8}.content-card{background:#ffffffe6;border:1px solid #dfe5e0;border-radius:18px;overflow:hidden;box-shadow:0 16px 45px #28413214}.file-row{border-bottom:1px solid #edf0ed;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:15px 18px;display:grid}.file-row:last-child{border-bottom:0}.file-row.directory{cursor:pointer}.file-row.directory:hover{background:#f4faf6}.icon{color:#315f45;background:#edf4ef;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.file-main{flex-direction:column;gap:4px;min-width:0;display:flex}.file-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-main span,.file-meta{color:#7a857f;font-size:13px}.file-actions,.header-actions{gap:8px;display:flex}.rename,.ai-button{padding:8px 12px}.rename{color:#285c3c;background:#e5efe8}.ai-button{color:#53358a;background:#eee8fb}.state{text-align:center;color:#758079;padding:60px}.modal-backdrop{z-index:10;background:#141f198f;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:min(520px,100%);padding:26px;box-shadow:0 24px 70px #00000040}.modal h2{margin-top:0}.modal label,.login-card label{gap:8px;font-weight:700;display:grid}.modal input{text-align:right;direction:ltr;width:100%;min-width:0}.modal-warning{background:#fff7dc;border-radius:10px;margin:16px 0;padding:12px}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.second-field{margin-top:14px}.bulk-modal{width:min(760px,100%)}.bulk-preview{border:1px solid #dfe5e0;border-radius:10px;max-height:min(42vh,430px);margin-top:16px;padding:12px;overflow:auto}.bulk-preview-header{z-index:1;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex;position:sticky;top:-12px}.bulk-select-all{padding:6px 10px;font-size:12px}.modal label.bulk-preview-row{color:#68746d;cursor:pointer;border-top:1px solid #edf0ed;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;padding:9px 2px;font-size:13px;font-weight:400;display:grid}.modal .bulk-preview-row input{accent-color:#285c3c;width:18px;min-width:18px;height:18px;margin:0}.bulk-preview span{overflow-wrap:anywhere}.progress{background:#edf1ee;border-radius:10px;place-items:center;height:34px;margin-top:16px;display:grid;position:relative;overflow:hidden}.progress>div{background:#acd2b8;transition:width .2s;position:absolute;inset:0 auto 0 0}.progress span{z-index:1;font-weight:700;position:relative}.bulk-button{white-space:nowrap}.danger{background:#9f302a;margin-inline-end:auto}.ai-loading{color:#66517f;justify-content:center;align-items:center;gap:12px;min-height:130px;display:flex}.spinner{border:3px solid #dfd4ef;border-top-color:#68449d;border-radius:50%;width:24px;height:24px;animation:.8s linear infinite spin}.suggestions{gap:10px;margin:18px 0;display:grid}.suggestions button{text-align:right;color:#36244f;background:#f3effa;align-items:center;gap:12px;display:flex}.suggestions button span{color:#fff;background:#68449d;border-radius:50%;flex:0 0 28px;place-items:center;height:28px;display:grid}@keyframes spin{to{transform:rotate(360deg)}}.debug-modal{width:min(760px,100%)}.debug-form{gap:8px;display:flex}.debug-form input{direction:rtl;flex:1;min-width:0}.debug-summary{color:#627068;margin:16px 0 8px}.debug-results{border:1px solid #dfe5e0;border-radius:12px;max-height:48vh;overflow:auto}.debug-results article{border-bottom:1px solid #edf0ed;justify-content:space-between;gap:16px;padding:12px 14px;display:flex}.debug-results article:last-child{border-bottom:0}.debug-results article div{gap:5px;min-width:0;display:grid}.debug-results code{text-align:left;overflow-wrap:anywhere;color:#65716a;direction:ltr}.debug-results article>span{color:#315f45;flex:none;font-weight:700}.login-shell{place-items:center;display:grid}.login-card{background:#fff;border-radius:22px;width:min(430px,100%);padding:34px;box-shadow:0 20px 60px #1e3a2824}.login-card h1{margin-bottom:6px}.login-card p{color:#6d7871;margin-bottom:24px}.login-card input{width:100%;min-width:0;margin-bottom:14px}.login-card>button{width:100%;margin-top:12px}.brand-mark{color:#fff;background:#285c3c;border-radius:15px;place-items:center;width:48px;height:48px;font-weight:800;display:grid}@media (max-width:700px){.admin-shell{padding:20px 12px 40px}.toolbar{flex-direction:column;align-items:stretch}.actions{flex-wrap:wrap}.actions input{width:100%;min-width:0}.file-row{grid-template-columns:38px minmax(0,1fr) auto}.file-meta{display:none}.file-actions{flex-wrap:wrap;grid-column:2/4;justify-self:start}.topbar{align-items:flex-start;gap:12px}.header-actions{flex-direction:column}.topbar h1{font-size:30px}}
