*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;font-family:Inter,Arial,sans-serif}.dx-site-frame{background:#f6f3ee;border:0;width:100vw;height:100dvh;position:fixed;inset:0}.admin-login{color:#0a1020;background:radial-gradient(circle at 80% 20%,#0097b238,#0000 28%),linear-gradient(145deg,#091b42,#0e2b66 60%,#071226);place-items:center;min-height:100dvh;padding:24px;display:grid}.admin-login-card{background:#fff;border-radius:28px;width:min(460px,100%);padding:34px;box-shadow:0 30px 90px #00000047}.admin-mark{color:#fff;background:#ff5c00;border-radius:16px;place-items:center;width:56px;height:56px;font-weight:900;display:grid}.admin-kicker{color:#0097b2;text-transform:uppercase;letter-spacing:.12em;margin:24px 0 6px;font-size:12px;font-weight:800}.admin-login h1{margin:0 0 10px;font-size:38px;line-height:1}.admin-login p{color:#6b7280}.admin-login label{gap:8px;margin-top:24px;font-weight:700;display:grid}.admin-login input,.admin-editor input,.admin-editor select,.admin-list input{width:100%;font:inherit;border:1px solid #dce0e7;border-radius:14px;outline:none;padding:13px 14px}.admin-login input:focus,.admin-editor input:focus,.admin-editor select:focus,.admin-list input:focus{border-color:#0097b2;box-shadow:0 0 0 4px #0097b21a}.admin-login button,.admin-list-top button,.photos-head button,.save{color:#fff;cursor:pointer;background:#ff5c00;border:0;border-radius:999px;padding:13px 18px;font-weight:800}.admin-login button{width:100%;margin-top:16px}.admin-back{text-align:center;color:#0e2b66;margin-top:18px;font-weight:700;text-decoration:none;display:block}.admin-warning,.admin-status{color:#8a3d00;background:#fff4e9;border-radius:14px;margin-top:16px;padding:12px 14px;font-size:13px}.admin-status.error{color:#9f1d1d;background:#fff0f0}.admin-shell{color:#0a1020;background:#f5f6f8;min-height:100dvh}.admin-header{color:#fff;z-index:10;background:#0a1020;justify-content:space-between;align-items:center;height:78px;padding:0 24px;display:flex;position:sticky;top:0}.admin-header>div:first-child{display:grid}.admin-header span{text-transform:uppercase;letter-spacing:.12em;color:#ffb347;font-size:11px}.admin-header strong{font-size:18px}.admin-header-actions{gap:10px;display:flex}.admin-header-actions a,.admin-header-actions button{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff2e;border-radius:999px;padding:9px 13px;text-decoration:none}.admin-layout{grid-template-columns:340px minmax(0,1fr);height:calc(100dvh - 78px);display:grid}.admin-list{background:#fff;border-right:1px solid #e2e5e9;flex-direction:column;min-height:0;display:flex}.admin-list-top{border-bottom:1px solid #e8eaed;gap:10px;padding:16px;display:grid}.admin-list-top button{border-radius:14px}.admin-scroll{padding:8px;overflow:auto}.admin-project{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:16px;width:100%;margin-bottom:4px;padding:14px;display:grid}.admin-project:hover,.admin-project.active{background:#f0f4fb}.admin-project.active{box-shadow:inset 3px 0 #ff5c00}.admin-project span{text-transform:uppercase;color:#ff5c00;letter-spacing:.08em;font-size:10px;font-weight:800}.admin-project strong{margin-top:5px}.admin-project small{color:#6b7280;margin-top:4px}.admin-editor{padding:28px;overflow:auto}.admin-empty,.editor-card{background:#fff;border:1px solid #e3e6ea;border-radius:26px;max-width:960px;margin:0 auto;padding:28px;box-shadow:0 18px 55px #0a10200f}.admin-empty{text-align:center;margin-top:8vh}.editor-head,.photos-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.editor-head span,.photos-head span{text-transform:uppercase;color:#0097b2;letter-spacing:.1em;font-size:11px;font-weight:800}.editor-head h1,.photos-head h2{margin:4px 0 0}.visible-toggle{align-items:center;gap:8px!important;display:flex!important}.visible-toggle input{width:auto}.editor-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:24px;display:grid}.editor-grid label{color:#555d6d;gap:7px;font-size:12px;font-weight:800;display:grid}.editor-grid .full{grid-column:1/-1}.photos-head{border-top:1px solid #eceef1;margin-top:34px;padding-top:26px}.photo-list{gap:10px;margin-top:16px;display:grid}.photo-row{grid-template-columns:76px 1fr auto;align-items:center;gap:10px;display:grid}.photo-preview{color:#6b7280;background:#eef1f5;border-radius:12px;place-items:center;width:76px;height:64px;font-weight:800;display:grid;overflow:hidden}.photo-preview img{object-fit:cover;width:100%;height:100%}.photo-buttons{gap:5px;display:flex}.photo-buttons button{cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:10px;width:36px;height:36px}.photo-buttons .danger{color:#b42318}.admin-muted{color:#6b7280}.editor-actions{border-top:1px solid #eceef1;justify-content:space-between;gap:12px;margin-top:24px;padding-top:20px;display:flex}.danger-outline{color:#a11;cursor:pointer;background:#fff;border:1px solid #e6a8a8;border-radius:999px;padding:11px 16px;font-weight:800}.save{padding-inline:24px}@media (width<=850px){.admin-layout{grid-template-columns:1fr;height:auto}.admin-list{border-bottom:1px solid #ddd;border-right:0;max-height:44dvh}.admin-editor{padding:16px}.editor-grid{grid-template-columns:1fr}.editor-grid .full{grid-column:auto}.photo-row{grid-template-columns:58px 1fr}.photo-preview{width:58px;height:52px}.photo-buttons{grid-column:2}.admin-header{flex-wrap:wrap;gap:12px;height:auto;min-height:78px;padding-block:12px}.admin-layout{min-height:calc(100dvh - 78px)}}.admin-dbbar{background:#fff;border-bottom:1px solid #e4e7eb;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;display:flex}.admin-dbbar>div{gap:3px;display:grid}.admin-dbbar span{color:#6b7280;font-size:12px}.admin-dbbar details{position:relative}.admin-dbbar summary{cursor:pointer;color:#0e2b66;font-weight:800}.admin-db-config{z-index:30;background:#fff;border:1px solid #dfe3e8;border-radius:18px;grid-template-columns:1fr 1fr;gap:9px;width:min(560px,90vw);padding:14px;display:grid;position:absolute;top:34px;right:0;box-shadow:0 24px 60px #0a102029}.admin-db-config input{border:1px solid #dce0e7;border-radius:12px;min-width:0;padding:11px 12px}.admin-db-config button{color:#fff;cursor:pointer;background:#ff5c00;border:0;border-radius:999px;padding:11px 14px;font-weight:800}.admin-db-config .danger-outline{color:#a11;background:#fff;border:1px solid #e6a8a8}@media (width<=850px){.admin-dbbar{flex-direction:column;align-items:flex-start}.admin-db-config{grid-template-columns:1fr;width:auto;position:fixed;top:130px;left:16px;right:16px}}.admin-tabs{z-index:9;background:#fff;border-bottom:1px solid #e4e7eb;gap:8px;padding:12px 24px;display:flex;position:sticky;top:78px}.admin-tabs button{color:#0a1020;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:999px;padding:10px 15px;font-weight:800}.admin-tabs button.active{color:#fff;background:#0e2b66;border-color:#0e2b66}.admin-global-status{color:#176b46;background:#eef8f3;border-radius:14px;margin:14px 24px 0;padding:11px 14px;font-size:13px}.admin-single{padding:28px}.category-card{background:#fafbfc;border:1px solid #e3e6ea;border-radius:18px;margin-top:18px;padding:18px}.category-line,.section-line{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;display:grid}.category-line input,.section-line input{border:1px solid #dce0e7;border-radius:12px;padding:11px 12px}.category-line small,.section-line small{color:#6b7280}.section-line{border-left:3px solid #e8edf4;margin:9px 0 9px 26px;padding-left:14px}.section-line button,.secondary,.backup-actions button,.backup-row button,.import-label{color:#0e2b66;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:999px;padding:10px 14px;font-weight:800}.category-card>.secondary{margin:8px 0 0 26px}.editor-actions .danger{color:#a11;cursor:pointer;background:#fff;border:1px solid #e6a8a8;border-radius:999px;padding:11px 16px;font-weight:800}.backup-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.import-label input{display:none}.backup-list{gap:8px;margin-top:22px;display:grid}.backup-row{border:1px solid #e4e7eb;border-radius:15px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.backup-row>div{gap:4px;display:grid}.backup-row small{color:#6b7280}@media (width<=850px){.admin-tabs{top:102px;overflow:auto}.admin-single{padding:16px}.category-line,.section-line{grid-template-columns:1fr}.section-line{margin-left:0}.admin-global-status{margin-inline:16px}.editor-actions{flex-wrap:wrap}.editor-actions .save{order:-1;width:100%}}
