/* Astersline V11: editorial UI system + responsive control room */
:root{--v11-ink:#172a24;--v11-deep:#132c25;--v11-accent:#d27a52;--v11-surface:#fff;--v11-muted:#72817b;--v11-border:#e2e9e4;--v11-bg:#f5f7f4}
.v11-staff-link{font-weight:750;font-size:12px;color:#285242;text-decoration:none;white-space:nowrap;padding:8px 12px;border:1px solid #c9d8ce;border-radius:9px}
.v11-staff-link:hover{background:#edf3ed}
.v11-admin{background:var(--v11-bg);color:var(--v11-ink);padding:26px 0 60px;min-height:80vh}
.v11-frame{width:min(1480px,calc(100% - 56px));margin:auto;display:grid;grid-template-columns:236px minmax(0,1fr);gap:24px;align-items:start}
.v11-side{position:sticky;top:110px;border-radius:18px;background:var(--v11-deep);padding:24px 13px 16px;min-height:595px;color:#f2f7f3;display:flex;flex-direction:column;box-shadow:0 18px 35px #10312713}
.v11-side-brand{display:flex;align-items:center;gap:12px;padding:6px 12px 26px;border-bottom:1px solid #ffffff23;margin-bottom:24px}
.v11-brand-square{font-size:26px;background:#e5dfc7;color:#254638;border-radius:11px;width:42px;height:42px;display:grid;place-items:center}
.v11-side-brand strong{display:block;font-size:12px;letter-spacing:.18em;font-weight:800}
.v11-side-brand small{display:block;font-size:8px;color:#a5bdb0;letter-spacing:.14em;margin-top:5px}
.v11-side-label{font-size:10px;color:#8ca99b;letter-spacing:.15em;font-weight:700;padding:0 13px;margin-bottom:10px}
.v11-side nav{display:flex;flex-direction:column;gap:4px}
.v11-side nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#c4d3cc;padding:12px 13px;border-radius:9px;font-size:12px;font-weight:650;transition:background .15s}
.v11-side nav a span:last-child{color:#849c91;font-size:17px}
.v11-side nav a.is-current,.v11-side nav a:hover{color:#fff;background:#355649}
.v11-side-footer{margin-top:auto;color:#d7e6df;font-size:11px;padding:23px 13px 4px;border-top:1px solid #ffffff21}
.v11-side-footer small{display:block;color:#90a99c;margin-top:5px;padding-left:13px}
.v11-status-dot{display:inline-block;width:7px;height:7px;background:#7bd0a3;border-radius:50%;margin-right:5px}
.v11-main{min-width:0}.v11-topline{display:flex;align-items:center;justify-content:space-between;color:#718079;font-size:11px;padding:10px 0 18px;border-bottom:1px solid #dde6de}
.v11-topline a{font-weight:700;color:#2a5040}.v11-breadcrumb span{margin:0 6px;color:#b1bcb3}
.v11-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:32px 0 27px}
.v11-eyebrow{font-size:10px;color:#ad7b62;letter-spacing:.17em;font-weight:800;margin-bottom:10px}
.v11-page-head h1{font-family:'Newsreader',Georgia,serif;font-size:clamp(32px,3.3vw,46px);line-height:1.07;font-weight:500;margin:0 0 9px;letter-spacing:-.035em}
.v11-page-head p{color:#74817b;line-height:1.65;font-size:13px;max-width:640px;margin:0}
.v11-admin-chip{font-size:11px;letter-spacing:.02em;color:#2d684c;padding:9px 12px;border:1px solid #cbe0d3;border-radius:30px;background:#ebf5ef;white-space:nowrap}
.v11-mobile-nav{display:none}
.v11-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.v11-metric{background:#fff;border:1px solid var(--v11-border);border-radius:14px;padding:22px;min-height:140px;display:flex;flex-direction:column;box-shadow:0 5px 16px #1c40300a}
.v11-metric small{text-transform:uppercase;font-size:10px;font-weight:800;color:#697b71;letter-spacing:.08em}
.v11-metric strong{font-family:'Newsreader',Georgia,serif;font-size:38px;font-weight:550;line-height:1.25;margin-top:9px}
.v11-metric span{font-size:11px;color:#99a49b;margin-top:auto}
.v11-double{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:start}
.v11-card{background:var(--v11-surface);border-radius:15px;border:1px solid var(--v11-border);padding:23px;margin:0 0 18px;box-shadow:0 5px 18px #163a2810;min-width:0}
.v11-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid #ebefea;margin-bottom:14px}
.v11-card-head h2{font-size:16px;font-family:'Plus Jakarta Sans','DM Sans',sans-serif;margin:0;font-weight:800;letter-spacing:-.02em}
.v11-card-head small{color:#8e9a91;font-size:11px;white-space:nowrap}
.v11-card-intro{color:#69776f;font-size:13px;line-height:1.6;border-radius:10px;background:#f6f8f4;padding:12px 15px;margin-bottom:9px}
.v11-card-intro strong{font-size:18px;color:#1e4433}.v11-card-intro a{font-weight:750;color:#245b43;display:inline-block;margin-left:5px}
.v11-simple-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 2px;border-bottom:1px solid #f0f1ed;font-size:12px;min-width:0}
.v11-simple-row:last-of-type{border-bottom:0}.v11-simple-row span:first-child{min-width:0}.v11-simple-row strong{display:block;font-size:12px;font-weight:700;overflow-wrap:anywhere}.v11-simple-row small{display:block;color:#8a958e;margin-top:5px;font-size:11px}
.v11-simple-row time{font-size:10px;white-space:nowrap;color:#86968b}
.v11-tag{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:6px;font-weight:750;font-size:10px;text-transform:capitalize;background:#edf1ee;color:#456555;white-space:nowrap}
.v11-tag--pending,.v11-tag--open{background:#fff1d9;color:#9e690a}.v11-tag--published,.v11-tag--approved,.v11-tag--active,.v11-tag--actioned{background:#e5f5e9;color:#29663d}
.v11-tag--draft,.v11-tag--hidden,.v11-tag--dismissed{background:#edf0f1;color:#617277}.v11-tag--rejected,.v11-tag--suspended{background:#ffebe7;color:#9f493e}
.v11-notice{padding:18px 22px;border-radius:12px;background:#eaf2eb;color:#3a5e4b;font-size:12px;line-height:1.75;border:1px solid #d8e7da;margin-top:4px}
.v11-text-link{font-size:12px;font-weight:800;color:#265b42}.v11-empty{font-size:13px;color:#8b978e;padding:24px 5px}
.v11-filters{background:#fff;border:1px solid var(--v11-border);border-radius:13px;padding:16px;display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.v11-filters label{display:flex;flex-direction:column;gap:7px;min-width:175px;flex:1;color:#67796d;font-size:11px;font-weight:750}
.v11-filters input,.v11-filters select,.v11-user-controls select,.v11-settings-form textarea{width:100%;min-height:42px;border:1px solid #d8e1d8;border-radius:8px;background:#fff;color:#223b2e;padding:9px 12px;font-size:12px;outline-offset:3px}
.v11-filters button{min-height:42px}
.v11-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ccd9d0;background:#fff;color:#2b4938;border-radius:8px;font-size:11px;font-weight:750;min-height:35px;padding:8px 12px;white-space:nowrap;text-align:center;transition:background .15s}
.v11-btn:hover{background:#f0f5f1}.v11-btn--primary{border-color:#1f4938;background:#1f4938;color:#fff}.v11-btn--primary:hover{background:#356450;color:#fff}
.v11-btn--danger{border-color:#f1c7ba;color:#a64535;background:#fff7f5}.v11-btn--danger:hover{background:#fce5df}
.v11-inline-form{display:inline-flex;gap:7px;align-items:center;margin:0;vertical-align:middle}
.v11-table-wrap{overflow-x:auto;max-width:100%}.v11-table{border-collapse:collapse;width:100%;font-size:12px;color:#3b5147;min-width:600px}
.v11-table thead th{text-align:left;color:#7e8b82;letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:800;padding:13px 10px;border-bottom:1px solid #e2e8e1}
.v11-table tbody td{padding:15px 10px;border-bottom:1px solid #eef1ec;vertical-align:middle;line-height:1.6}.v11-table tbody tr:hover{background:#fcfdfb}.v11-table tbody tr:last-child td{border-bottom:0}
.v11-table td:first-child{max-width:245px;min-width:145px}.v11-table td small{display:block;font-size:11px;color:#819189}.v11-title-link{font-weight:780;color:#254d39}.v11-title-link:hover{text-decoration:underline}
.v11-td-actions{white-space:nowrap}.v11-td-actions>*{margin-right:5px}.v11-table code{font-size:10px;overflow-wrap:anywhere}
.v11-pager{display:flex;gap:18px;justify-content:center;align-items:center;margin:19px 0 12px;font-size:12px;color:#819087}.v11-pager a{font-weight:800;color:#285644}
.v11-review{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;padding:16px 0;border-bottom:1px solid #ecefea}.v11-review:last-child{border-bottom:0}.v11-review>div:first-child{min-width:0;overflow-wrap:anywhere}.v11-review strong{font-size:13px;margin-left:7px}.v11-review small{display:block;color:#89998e;margin-top:6px;font-size:11px}.v11-review p{font-size:12px;line-height:1.75;color:#485e51;margin:10px 0 0;max-width:740px}.v11-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.v11-review>.v11-actions{flex-shrink:0}
.v11-detail-grid{display:grid;grid-template-columns:1fr;gap:0}.v11-detail-meta{font-size:11px;color:#77877b;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.v11-desc{font-size:14px;line-height:1.8;color:#40574b;white-space:normal;overflow-wrap:anywhere}.v11-card h3{font-size:12px;margin:20px 0 10px}
.v11-chapter{border-bottom:1px solid #e9eee8;padding:15px 0}.v11-chapter summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:12px;color:#31523f;list-style:none}.v11-chapter summary::-webkit-details-marker{display:none}.v11-chapter summary strong{font-size:13px}.v11-chapter summary small{display:block;font-size:10px;color:#91a092;margin-top:5px}
.v11-chapter-text{background:#f7f8f4;padding:18px;border-radius:8px;margin:15px 0;white-space:normal;font:16px/1.85 Georgia,serif;max-height:520px;overflow:auto;overflow-wrap:anywhere}
.v11-user-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v11-user-controls select{width:auto;min-width:110px;min-height:35px;padding:6px 9px}.v11-settings-form label{display:block;color:#5c6e61;font-size:12px;font-weight:700}.v11-settings-form textarea{display:block;margin-top:10px;min-height:116px;resize:vertical;font-size:13px;max-width:760px}.v11-settings-form p{font-size:11px;color:#839288;line-height:1.7}
/* Public UI: calmer book-first rhythm and readable controls. */
.story-card h3{line-height:1.28}.story-card__details{padding-top:15px}.story-card__cover{border-radius:9px;box-shadow:0 10px 18px #24382e16}.story-card__cover .book-cover{border-radius:9px}
.browse-form input,.browse-form select{min-height:45px}.browse-page .browse-quick-genres a{white-space:nowrap}.v7-home-block .story-grid{row-gap:36px}
.site-header{z-index:55}
@media(max-width:1180px){.v11-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v11-double{grid-template-columns:1fr}.v11-frame{grid-template-columns:215px minmax(0,1fr);gap:17px}}
@media(max-width:900px){.v11-frame{width:min(100%,calc(100% - 36px));grid-template-columns:minmax(0,1fr)}.v11-side{display:none}.v11-mobile-nav{display:flex;overflow-x:auto;gap:8px;margin:0 0 18px;padding:2px 0 8px;scrollbar-width:thin}.v11-mobile-nav a{white-space:nowrap;padding:10px 13px;background:#fff;border:1px solid #dce7dd;border-radius:9px;color:#4f6555;font-size:11px;font-weight:750}.v11-mobile-nav a.is-current{background:#274b3c;color:#fff;border-color:#274b3c}.v11-topline{padding-top:0}}
@media(max-width:640px){.v11-admin{padding:15px 0 85px}.v11-frame{width:calc(100% - 24px)}.v11-page-head{padding:22px 2px 18px;gap:10px}.v11-page-head h1{font-size:34px}.v11-page-head p{font-size:12px}.v11-admin-chip{font-size:9px;padding:7px 9px}.v11-metrics{gap:9px}.v11-metric{padding:17px 14px;min-height:113px}.v11-metric strong{font-size:31px}.v11-metric small{font-size:9px}.v11-metric span{font-size:10px}.v11-card{padding:17px 14px;border-radius:12px}.v11-card-head{align-items:flex-start}.v11-card-head small{white-space:normal;text-align:right}.v11-filters{padding:12px;gap:9px}.v11-filters label{min-width:120px}.v11-filters .v11-btn{flex:1}.v11-review{display:block}.v11-review>.v11-actions{margin-top:13px}.v11-chapter summary{align-items:flex-start}.v11-chapter summary>span:last-child{font-size:10px;white-space:nowrap}.v11-notice{padding:15px;font-size:11px}.v11-metric strong{overflow-wrap:anywhere}.v11-staff-link{display:none}}
@media(max-width:345px){.v11-page-head h1{font-size:30px}.v11-admin-chip{display:none}.v11-metrics{grid-template-columns:1fr 1fr}}

.v11-public-notice{padding:11px 24px;text-align:center;background:#e3f0e5;color:#275b3b;font-size:12px;line-height:1.55;border-bottom:1px solid #c8e1cf}

@media(max-width:640px){.mobile-dock:has(a[href$="/admin"]) {grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-dock:has(a[href$="/admin"]) a{font-size:9px}}
