.admin-body{min-height:100vh}input,select{font:inherit;color:var(--ink)}input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}.admin-header{max-width:1260px;padding:24px 36px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.admin-header nav{display:flex;gap:24px;align-items:center;font-size:13px}.admin-header .brand-mark{font-size:32px}.admin-main{max-width:1188px;padding:50px 26px 60px;margin:auto}.admin-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:32px}.admin-intro h1{font-size:34px;margin:15px 0 8px;letter-spacing:2px}.admin-intro p:not(.eyebrow){font-size:13px;color:var(--muted)}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:22px}.admin-toolbar input{width:240px;background:#fffdf8;border:1px solid var(--line);border-radius:8px;padding:11px 14px;font-size:14px;min-width:0}.status-tabs{display:flex;gap:6px;flex-wrap:wrap}.status-tabs button{background:transparent;border:1px solid transparent;border-radius:25px;padding:9px 15px;font-size:13px;min-height:44px}.status-tabs [aria-pressed=true]{background:#e9ecdf;border-color:#b9c0aa;color:var(--green)}.status-tabs span{font-size:11px;margin-left:6px;color:var(--muted)}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.admin-item{border:1px solid var(--line);border-radius:12px;background:#fdfbf6;overflow:hidden}.admin-item .work-image{height:225px;overflow:hidden;background:#eee9de;position:relative}.admin-item img{width:100%;height:100%;object-fit:cover;object-position:var(--position,50% 50%);transform:scale(var(--scale,1))}.badge{display:inline-block;font-size:11px;line-height:1.7;padding:4px 10px;border-radius:20px;background:#f7f4ed;color:var(--muted)}.work-image>.badge{position:absolute;top:13px;left:13px}.badge.live{background:#e5edda;color:#425539}.admin-item-body{padding:18px}.work-rune{font-size:10px;color:var(--gold);letter-spacing:1.5px;margin-bottom:5px}.admin-item h2{font-size:19px;line-height:1.7;overflow-wrap:anywhere}.work-meta{font-size:12px;color:var(--muted);margin:8px 0 16px;min-height:22px}.item-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px}.item-actions button{min-height:42px}.item-actions .secondary{min-height:42px;padding:7px 16px;font-size:12px}.admin-footnote{margin-top:32px;font-size:11px;color:var(--muted);line-height:2}.login-panel{max-width:440px;margin:30px auto 60px;text-align:center;background:#fffdf8;border:1px solid var(--line);padding:36px;border-radius:120px 120px 12px 12px}.large-star{display:block;font-size:45px;color:var(--gold);line-height:1.5;margin:0 auto 12px}.login-panel .eyebrow{justify-content:center;font-size:9px}.login-panel h1{font-size:27px;margin:18px 0 12px}.login-panel>p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:2;margin-bottom:25px}.login-panel form{margin-top:28px}.password-wrap{display:flex;border:1px solid var(--line);background:#fff;border-radius:7px;margin-bottom:16px}.password-wrap input{width:100%;min-width:0;border:0;background:none;padding:12px}.password-wrap button{background:none;border:0;padding:10px;font-size:12px;white-space:nowrap}.login-panel .small-note{margin:20px 0 0!important;font-size:11px!important}.loading-note{text-align:center;margin:70px 0;color:var(--muted)}.small-note{font-size:11px;color:var(--muted);line-height:1.8}.admin-empty{text-align:center;padding:60px 20px;grid-column:1/-1;border:1px dashed var(--line);border-radius:10px;color:var(--muted)}.editor{width:min(980px,calc(100% - 32px));padding:0;border:1px solid var(--line);border-radius:14px;max-height:92dvh;background:var(--paper)}.editor::backdrop{background:#302c2580;backdrop-filter:blur(3px)}.editor-head{padding:24px 28px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--line)}.editor-head h2{font-size:25px;margin-top:8px}.round-close{background:none;border:1px solid var(--line);width:42px;height:42px;border-radius:50%;font-size:26px;line-height:1}.editor-layout{padding:26px 28px;display:grid;grid-template-columns:.85fr 1.15fr;gap:32px}.photo-picker{aspect-ratio:4/5;display:flex!important;align-items:center;justify-content:center;position:relative;background:#eeeadf;border:1px dashed #b8b6a7;border-radius:10px;overflow:hidden;cursor:pointer;text-align:center!important;margin:0!important}.photo-picker img{width:100%;height:100%;object-fit:contain}.photo-picker small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.photo-picker .large-star{font-size:30px;margin-bottom:10px}.change-photo{position:absolute;bottom:15px;right:15px;border:1px solid var(--line);padding:7px 12px;border-radius:20px;background:#fffdf2ed;font-size:12px}.photo-column>p{margin-top:12px}.form-column input,.form-column select{display:block;width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:7px;padding:11px 13px;background:#fffdf8;font-size:16px}.form-column label{margin:0 0 7px}.form-column label:not(:first-child){margin-top:18px}.form-column label span,.extra-fields summary span{font-size:10px;color:var(--muted);margin-left:7px}.field-tip{font-size:11px;color:var(--muted);margin:7px 0 18px}.extra-fields{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.extra-fields summary{font-size:13px;cursor:pointer;padding:4px 0}.extra-fields>label{margin-top:18px!important}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.two-fields label{margin-top:0!important}.form-column textarea{font-size:16px;min-height:100px}.form-column .error{margin-top:20px}.editor-bottom{position:sticky;bottom:0;background:#f7f4edf5;padding:20px 28px;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;flex-wrap:wrap}.editor-bottom .small-note{margin-right:auto;flex:1;min-width:90px}.editor-bottom button{white-space:nowrap}.danger{color:#9a5348}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.photo-picker:has(+input:focus-visible){outline:2px solid var(--green)}.setup-guide{max-width:720px;margin:auto}.setup-guide h1{font-size:30px;margin:15px 0 24px}.setup-guide h2{font-size:23px;margin:32px 0 12px}.setup-guide p,.setup-guide li{font-size:14px;line-height:2}.setup-guide ol{padding-left:24px}.setup-guide code{background:#e8e7dc;padding:3px 7px;border-radius:4px;overflow-wrap:anywhere}.setup-guide a{text-decoration:underline}.setup-guide .note{background:#e9ecdf;padding:18px;border-radius:8px;margin-top:20px}
@media(max-width:850px){.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-header{padding:20px 24px}.admin-main{padding-top:32px}.admin-item .work-image{height:230px}.editor-layout{gap:22px}.editor-bottom .small-note{display:none}}
@media(max-width:560px){.admin-header{padding:18px}.admin-header .brand{font-size:19px;gap:8px;letter-spacing:2px}.admin-header .brand-mark{width:40px;height:40px}.admin-header nav{gap:14px;font-size:11px}.admin-main{padding:30px 18px}.admin-intro{display:block}.admin-intro h1{font-size:27px}.admin-intro .primary{width:100%;margin-top:22px}.admin-toolbar{flex-direction:column;align-items:stretch;gap:13px}.admin-toolbar input{width:100%}.status-tabs{gap:2px}.status-tabs button{padding:8px 12px}.admin-grid{gap:14px}.admin-item .work-image{height:170px}.admin-item-body{padding:12px}.admin-item h2{font-size:16px}.work-rune{font-size:9px;letter-spacing:.5px}.work-meta{font-size:10px;margin-bottom:10px}.item-actions{flex-wrap:wrap;gap:0}.item-actions button{font-size:11px}.item-actions .secondary{padding:6px 11px}.login-panel{padding:30px 24px;margin-top:5px}.login-panel h1{font-size:25px}.editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.editor-head{padding:18px}.editor-layout{padding:20px;grid-template-columns:1fr;gap:20px}.photo-picker{aspect-ratio:4/3}.editor-bottom{padding:14px 18px calc(14px + env(safe-area-inset-bottom))}.editor-bottom .primary{flex:1;padding:12px}.editor-bottom .secondary{padding:12px}.editor-bottom .danger{width:100%;justify-content:flex-start;padding:0}.two-fields{grid-template-columns:1fr 1fr}}
