:root{font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR",sans-serif;color:#191f28;background:#f2f4f6;--muted:#5a6574;--soft:#f2f4f6;--line:#e7eaf0;--blue:#1767d7}
*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;letter-spacing:-.02em}button:disabled{cursor:not-allowed;opacity:.56}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #83b5ff;outline-offset:3px}h1,h2,h3,h4,p{margin:0}a{color:var(--blue)}.skip{position:absolute;left:12px;top:-100px;z-index:9;padding:10px;background:white}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.site-top{min-height:76px;padding:10px max(22px,calc((100% - 1140px)/2));display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-bottom:1px solid var(--line)}.brand{font-size:17px;font-weight:850;display:flex;align-items:center;gap:10px;letter-spacing:-.035em}.brand div span{display:block;font-size:12px;font-weight:640;color:var(--muted)}.mark{width:40px;height:40px;background:#e8f2ff;color:#1767d7;border-radius:13px;display:grid;place-items:center;font-weight:900}.top-right,.actions{display:flex;gap:10px;align-items:center}.pill{font-size:12px;line-height:1.2;border-radius:20px;padding:6px 9px;color:#285ca3;background:#e8f2ff;font-weight:750;display:inline-block;white-space:nowrap}.eyebrow{font-size:12px;color:var(--blue);font-weight:850;letter-spacing:.11em}
.login{min-height:69vh;display:grid;place-items:center;padding:36px 18px}.login-card,.list-card,.edit-card{background:#fff;border-radius:24px;border:1px solid #e9ecf1}.login-card{width:min(100%,460px);padding:clamp(24px,7vw,46px);box-shadow:0 14px 44px #04274b0a}.login h1,.toolbar h1{font-size:clamp(2rem,5vw,2.85rem);line-height:1.16;letter-spacing:-.07em;margin:8px 0 9px;font-weight:880}.login-card>p,.toolbar p{color:var(--muted);letter-spacing:-.025em}.login-card form{margin-top:23px}.login-card button{width:100%;margin-top:20px}
label{display:block;font-size:14px;font-weight:750;margin:14px 0 6px}input,textarea{display:block;width:100%;border:1px solid #e3e8ef;background:#f7f8fa;border-radius:12px;padding:11px 13px;color:#202a38;outline:none;min-width:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#657181}.primary,.ghost{min-height:44px;border-radius:12px;border:0;padding:10px 16px;font-weight:780;white-space:nowrap}.primary{background:var(--blue);color:#fff}.primary:hover:not(:disabled){background:#1058b9}.ghost{background:#edf2f9;color:#28528a}.message{font-size:.85rem;color:#394e6b;min-height:1.3em}.login .message{margin-top:11px}
.workspace{max-width:1184px;margin:auto;padding:43px 22px}.toolbar,.edit-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.toolbar{margin-bottom:22px}.layout{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);gap:16px;align-items:start}.list-card,.edit-card{min-width:0;padding:18px}.list-head h2,.edit-head h2{font-size:1.25rem;font-weight:850;letter-spacing:-.045em;overflow-wrap:anywhere}.list-head h2 span{font-size:.78rem;color:var(--muted);font-weight:660}.list-head input{margin-top:9px}.posts{display:grid;gap:5px;max-height:660px;overflow:auto;margin-top:12px}.post-row{border:0;display:grid;text-align:left;gap:3px;padding:11px 13px;border-radius:12px;background:white;min-width:0;font-size:.96rem;overflow-wrap:anywhere}.post-row:hover,.post-row.current{background:#edf5ff}.post-row.current{box-shadow:inset 3px 0 var(--blue)}.post-category,.post-row small{font-size:.73rem;color:var(--muted)}.no-results,.empty{padding:14px;color:var(--muted);background:#f6f7fa;border-radius:12px}.edit-card{padding:clamp(15px,3vw,28px)}.edit-head>div:first-child{min-width:0}.edit-head h2{margin-top:7px}.edit-status{margin:9px 0}.media-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tip{font-size:.81rem;color:var(--muted);margin:0 0 6px}.preview{padding:15px 0 4px}.preview h3{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.18;letter-spacing:-.06em;margin:10px 0}.preview h4{font-size:1.2rem;margin:21px 0 7px}.preview p,.preview ul{margin:9px 0;overflow-wrap:anywhere}.preview figure{margin:16px 0}.preview img{display:block;max-width:100%;max-height:480px;object-fit:contain;border-radius:13px}.preview figcaption,.preview .lede{color:var(--muted)}.preview blockquote{margin:10px 0;border-left:3px solid var(--blue);padding-left:12px}.preview figcaption{font-size:.8rem;margin-top:7px}
footer{margin:24px auto;text-align:center;color:var(--muted);font-size:.82rem}
@media(max-width:760px){.layout{grid-template-columns:1fr}.workspace{padding:25px 14px}.site-top{padding:10px 14px}.posts{max-height:260px}.media-fields{grid-template-columns:1fr;gap:0}.edit-head{align-items:flex-start}.actions{gap:7px}.actions button{padding:9px 10px}.edit-head h2{scroll-margin-top:15px}}
@media(max-width:370px){.edit-head{flex-wrap:wrap}.actions{margin-left:auto}.top-right{gap:5px}.top-right .ghost{padding:9px 10px}}

.site-top .brand{flex-direction:column;gap:4px;align-items:flex-start;justify-content:center}.site-top .brand-logo{display:block;width:clamp(112px,21vw,142px);height:auto}.site-top .brand-caption{font-size:12px;line-height:1.25;color:var(--muted,#526074);letter-spacing:-.02em}

.picture-work{margin:20px 0 24px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;min-width:0}.picture-work legend{padding:0 5px;font-weight:750}.cover-shelf{display:flex;align-items:center;gap:14px}.cover-thumb{flex:0 0 108px;height:75px;border-radius:10px;overflow:hidden;background:#f1f4f9}.cover-thumb img{width:100%;height:100%;object-fit:cover}.cover-buttons,.author-tools{display:flex;flex-wrap:wrap;gap:7px}.cover-tip{display:block;margin-bottom:8px}.cover-buttons button{min-height:42px}.picture-work details{margin-top:12px;font-size:13px;color:#516279}.picture-work summary{cursor:pointer}.picture-work label{margin-top:11px}.author-tools{margin:8px 0 5px}.author-tools button{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#f6f8fb;color:#263850;font:inherit;font-size:13px;font-weight:720;cursor:pointer}.author-tools button:first-child{background:#e7efff;color:#2452ab;border-color:#d8e6ff}.author-tools button:disabled{cursor:wait;opacity:.55}#photo-status{min-height:0;margin:.4rem 0}.body-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:9px;margin-top:12px}.body-pic{min-width:0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#f7f9fc}.body-pic img{display:block;width:100%;height:94px;object-fit:cover}.body-pic div{display:flex;align-items:center;padding:5px 8px;gap:5px}.body-pic label{flex:1;margin:0;min-width:0}.body-pic input{padding:6px;min-height:32px;width:100%;font-size:12px}.body-pic button{flex-shrink:0;min-height:38px;padding:4px 6px;color:#594957;background:none;border:none;font:inherit;font-size:12px;cursor:pointer}.photo-drag{outline:2px dashed #4265cc;outline-offset:3px}.preview p,.preview li,.preview figcaption{overflow-wrap:anywhere}
@media(max-width:430px){.cover-thumb{flex-basis:78px;height:60px}.picture-work{padding:10px}.author-tools button{padding:0 9px}}
