:root{font-family:system-ui,"Noto Sans KR",sans-serif;color:#213b31;background:#f5f8f5}*{box-sizing:border-box}body{margin:0}header{height:76px;background:#fff;border-bottom:1px solid #dce8df;padding:0 5%;display:flex;justify-content:space-between;align-items:center}.brand{font-size:24px;font-weight:900}.brand span{font-weight:400;color:#417c5d}.brand small{font-size:11px;letter-spacing:2px;color:#89a195;margin-left:9px}#account{display:flex;align-items:center;gap:15px}main{max-width:1250px;margin:0 auto;padding:40px 22px}.login-panel{max-width:420px;padding:38px;margin:8vh auto;background:#fff;border:1px solid #dfebe2;border-radius:20px;box-shadow:0 16px 50px #2346330b}.welcome-icon{font-size:35px;color:#418764}.login-panel h1{font-size:27px;margin-bottom:5px}.login-panel p{color:#73877b;font-size:14px}label{display:block;font-weight:700;font-size:13px;margin:18px 0 8px}input:not([type=checkbox]):not([type=file]),select,textarea{display:block;margin-top:9px;width:100%;font:inherit;padding:12px 14px;border:1px solid #d7e2dc;border-radius:9px;background:#fff;color:#253d32}textarea{resize:vertical;line-height:1.8}.primary{background:#306348;color:white;border:0;border-radius:9px;padding:13px 18px;cursor:pointer;font-weight:700}.primary:hover{background:#244e38}.login-panel button{width:100%;margin-top:16px}.quiet{border:1px solid #d5e1d9;border-radius:8px;background:white;padding:10px 15px;cursor:pointer;color:#345c44;font-weight:600}.error{color:#bd4545!important;min-height:17px}.workspace-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.workspace-title h1{font-size:31px;margin:4px 0}.workspace-title p:not(.eyebrow){font-size:13px;color:#74847c}.eyebrow{letter-spacing:2px;color:#608c70;font-size:11px;font-weight:800}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start}.workspace aside,.editor{background:#fff;border:1px solid #e0e8e2;border-radius:17px;padding:24px}.workspace aside h2{font-size:17px}.workspace aside button{width:100%;display:block;text-align:left;padding:12px;border:0;border-bottom:1px solid #edf1ee;background:white;cursor:pointer;font-size:13px;overflow-wrap:anywhere}.workspace aside button:hover{background:#f2f8f4}.editor h2{font-size:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.slug{background:#f0f6f1;border-radius:8px;padding:12px;color:#65816e;font-size:12px;overflow-wrap:anywhere}.check{align-self:end;display:flex;align-items:center;gap:10px;padding-bottom:12px}.check input{width:20px;height:20px}.actions{display:flex;gap:15px;align-items:center;margin-top:26px}.actions span{font-size:13px;color:#436a54}.upload{background:#f8faf7;padding:18px;border-radius:12px;margin:18px 0}.upload label{margin:0 0 12px}.upload input{display:block;margin-bottom:10px;max-width:100%}.upload small{display:block;color:#73867a;margin:10px 0;font-size:12px}.upload-result{overflow-wrap:anywhere;color:#40694d;font-size:12px}.upload-result button{margin-left:9px}@media(max-width:850px){.workspace{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:0}.workspace-title{align-items:start;flex-direction:column}.workspace aside{max-height:250px;overflow:auto}main{padding:20px 15px}}
[hidden]{display:none!important}

/* Article edit/delete controls */
.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.editor-heading h2{margin:14px 0}
.danger{background:#fff4f3;color:#af3535;border:1px solid #e9b2af;border-radius:9px;padding:11px 15px;cursor:pointer;font-weight:700}
.danger:hover{background:#fce3e0}
.danger:disabled{opacity:.5;cursor:wait}

/* Existing posts: explicit edit/delete actions */
.post-list-item{display:flex;flex-direction:column;gap:9px;padding:13px 0;border-bottom:1px solid #e8eee9}
.post-list-name{font-size:12px;font-weight:700;color:#344b3b;overflow-wrap:anywhere;line-height:1.55}
.post-list-actions{display:flex;gap:8px;align-items:center}
.workspace aside .post-list-actions button{display:inline-flex;width:auto;flex:1;justify-content:center;text-align:center;padding:8px 10px;border-radius:7px;font-size:12px;font-weight:700;border:1px solid #d5e4d8;cursor:pointer}
.workspace aside .post-list-edit{background:#eaf5ed;color:#25513a}
.workspace aside .post-list-delete{background:#fff1ef;color:#a33a3a;border-color:#eed0ce}
.workspace aside .post-list-delete:hover{background:#fce4e1}

/* Editorial dashboard / categories / post management */
.dashboard{background:#fff;border:1px solid #e0e8e2;border-radius:17px;padding:25px;margin:0 0 22px}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.dashboard-heading h2{font-size:20px;letter-spacing:-.5px;margin:0}
.dashboard-heading p{font-size:12px;line-height:1.7;color:#7a8b80;margin:7px 0 0}
.category-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.category-stat{display:flex;flex-direction:column;align-items:flex-start;min-height:108px;padding:16px;border:1px solid #e0e8e1;border-radius:12px;background:#f7faf7;cursor:pointer;text-align:left;position:relative}
.category-stat:hover{border-color:#78aa85;background:#f2f8f3}
.category-stat.selected{border:2px solid #316a4a;background:#eaf5ec;padding:15px}
.category-stat-label{font-size:12px;color:#4c6655;font-weight:750}
.category-stat strong{font-size:28px;margin-top:12px;line-height:1;font-variant-numeric:tabular-nums}
.category-stat small{position:absolute;left:54px;bottom:16px;color:#85998a;font-size:11px}
.list-heading h2{font-size:19px;margin:0}
.list-heading h2 span{color:#479266;font-weight:700}
.list-heading p{color:#849288;font-size:12px;line-height:1.6;margin:7px 0 15px}
.search-label{font-size:12px;margin:13px 0}
.search-label input,.search-label select{font-weight:500}
.post-list-item{padding:15px 0}
.post-list-name{display:block;font-size:13px;line-height:1.55;letter-spacing:-.15px;color:#263e2d}
.post-list-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:9px 0}
.post-list-meta span{font-size:10px;color:#75877a}
.post-list-meta .status-live,.post-list-meta .status-draft{padding:3px 7px;border-radius:5px;font-weight:700}
.post-list-meta .status-live{background:#e8f5eb;color:#32684b}
.post-list-meta .status-draft{background:#f2eee7;color:#886e43}
.empty-post-list{font-size:13px;line-height:1.8;color:#7e8c82}
@media(max-width:1050px){.category-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.category-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-heading{align-items:flex-start;flex-direction:column}.workspace aside{max-height:unset;overflow:visible}}
@media(max-width:500px){.category-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard{padding:17px}.category-stat{min-height:99px}.category-stat strong{font-size:24px}.category-stat small{left:46px}.dashboard-heading h2{font-size:18px}}

/* Horizontal compact category tabs, matching the public blog */
.dashboard{padding:20px 22px}
.dashboard-heading{margin-bottom:17px}
.category-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.category-stat{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:42px;width:auto;max-width:100%;padding:10px 15px;border:1px solid #dee5de;border-radius:999px;background:#fff;white-space:nowrap;position:static;box-shadow:none;transition:background .15s,color .15s,border-color .15s}
.category-stat-label{font-size:12px;font-weight:700;color:#536356}
.category-stat strong.category-stat-count{display:inline;margin:0;font-size:11px;line-height:1;font-weight:800;color:#9aa89e;letter-spacing:0}
.category-stat:hover{background:#eff5ef;border-color:#a8bbaa}
.category-stat.selected{background:#213f2c;color:#fff;border:1px solid #213f2c;padding:10px 15px}
.category-stat.selected .category-stat-label,.category-stat.selected strong.category-stat-count{color:#fff}
@media(max-width:1050px){.category-stats{display:flex;flex-wrap:wrap}}
@media(max-width:850px){.category-stats{display:flex;flex-wrap:wrap}}
@media(max-width:500px){.category-stats{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}.category-stat{flex-shrink:0;min-height:40px}.dashboard{padding:16px}}
