:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #173c30; background: #f3efe6; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f6f7f3; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 470px); padding: 34px; border: 1px solid #ddd7cb; border-radius: 14px; background: #fffdf8; box-shadow: 0 18px 48px rgba(23,60,48,.12); }
.login-card img { width: 150px; }
.login-card h1 { margin: 5px 0 12px; font-size: clamp(32px, 7vw, 46px); line-height: 1; letter-spacing: -.04em; }
.login-card > p:not(.eyebrow) { color: #667069; line-height: 1.6; }
#google-signin { margin-top: 28px; min-height: 44px; }
#login-notice { color: #9e372d; font-size: 13px; font-weight: 700; }
.eyebrow { margin: 28px 0 0; color: #e24a2e; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.topbar { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 13px max(20px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(23,60,48,.1); background: rgba(255,253,248,.94); backdrop-filter: blur(16px); }
.topbar img { display: block; width: 120px; }
.topbar nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #e9eee9; }
.topbar nav a { padding: 8px 13px; border-radius: 999px; color: #52645b; font-size: 12px; font-weight: 800; text-decoration: none; }
.topbar nav a.active { color: white; background: #173c30; }
.topbar button { justify-self: end; border: 0; color: #52645b; background: transparent; font-size: 12px; font-weight: 800; }
main { width: min(100% - 32px, 1040px); margin: 0 auto; padding: 42px 0 80px; }
.hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero .eyebrow { margin-top: 0; }
.hero h1 { margin: 4px 0 8px; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; letter-spacing: 0; }
.hero p:last-child { margin: 0; color: #667069; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-actions button { padding: 11px 14px; border: 1px solid #b9c9c0; border-radius: 10px; color: #173c30; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 850; }
.workflow-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: -10px 0 20px; }
.workflow-map article { min-width: 0; padding: 13px; border: 1px solid #d5dfd8; border-radius: 8px; background: #fffdf8; }
.workflow-map strong { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 50%; color: white; background: #173c30; font-size: 12px; }
.workflow-map span { display: block; color: #173c30; font-size: 13px; font-weight: 850; }
.workflow-map small { display: block; margin-top: 4px; color: #5f6b65; font-size: 11px; line-height: 1.35; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 26px; }
.summary article { display: flex; justify-content: space-between; align-items: center; padding: 17px 19px; border: 1px solid #d9d6cc; border-radius: 14px; background: rgba(255,253,248,.75); }
.summary span { color: #667069; font-size: 12px; font-weight: 750; }
.summary strong { font-size: 28px; }
.decision-gates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.decision-gates button { min-width: 0; min-height: 132px; padding: 18px; border: 1px solid #d9d6cc; border-radius: 14px; background: rgba(255,253,248,.92); color: #173c30; text-align: left; }
.decision-gates button:focus-visible { outline: 3px solid #e24a2e; outline-offset: 2px; }
.decision-gates button[aria-expanded="true"] { color: white; background: #173c30; border-color: #173c30; }
.decision-gates .gate-review { border-top: 6px solid #d92d20; }
.decision-gates .gate-preparing { border-top: 6px solid #eaaa08; }
.decision-gates .gate-published { border-top: 6px solid #12b76a; }
.decision-gates .gate-review[aria-expanded="true"] { background: #b42318; }
.decision-gates .gate-preparing[aria-expanded="true"] { background: #b54708; }
.decision-gates .gate-published[aria-expanded="true"] { background: #027a48; }
.decision-gates button span, .decision-gates button small { display: block; }
.decision-gates button span { color: inherit; font-size: 13px; font-weight: 900; }
.decision-gates button strong { display: block; margin-top: 8px; color: inherit; font-size: 44px; line-height: 1; }
.decision-gates button small { margin-top: 10px; color: inherit; opacity: .72; font-size: 12px; line-height: 1.35; }
.productivity-panel { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 10px; margin: -12px 0 26px; }
.productivity-panel article, .productivity-panel button { min-width: 0; padding: 15px 17px; border: 1px solid #cfd8d1; border-radius: 10px; color: #173c30; background: #fffdf8; text-align: left; }
.productivity-panel button:focus-visible { outline: 3px solid #e24a2e; outline-offset: 2px; }
.productivity-panel button[aria-expanded="true"] { color: white; background: #173c30; }
.productivity-panel button[aria-expanded="true"] span, .productivity-panel button[aria-expanded="true"] strong { color: white; }
.productivity-panel span { display: block; color: #667069; font-size: 11px; font-weight: 850; }
.productivity-panel strong { display: block; margin-top: 5px; color: #173c30; font-size: 24px; line-height: 1.18; overflow-wrap: anywhere; }
.productivity-panel .next-action strong { font-size: 15px; line-height: 1.35; }
.summary-panel { margin: -12px 0 30px; }
.summary-panel-list { display: grid; gap: 10px; }
.summary-panel-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border: 1px solid #d8d8cf; border-radius: 10px; background: #fffdf8; }
.summary-panel-thumb { width: 72px; aspect-ratio: 2 / 3; border: 0; border-radius: 8px; overflow: hidden; color: white; background: linear-gradient(145deg, #173c30, #2f7059); }
.summary-panel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.summary-panel-thumb span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 28px; font-weight: 900; }
.summary-panel-card h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.25; }
.summary-panel-card p { margin: 0; color: #5f6b65; font-size: 12px; line-height: 1.4; }
.summary-panel-card a { display: inline-block; margin-top: 7px; color: #27634e; font-size: 12px; font-weight: 850; }
.workflow-views { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: -18px 0 30px; }
.workflow-views button { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 16px; min-height: 60px; padding: 14px 17px; border: 1px solid #b9c9c0; border-radius: 10px; color: #173c30; background: rgba(255,253,248,.9); text-align: left; }
.workflow-views span { color: #52645b; font-size: 12px; font-weight: 850; }
.workflow-views small { grid-column: 1; color: #667069; font-size: 11px; }
.workflow-views strong { font-size: 24px; }
.workflow-views button[aria-expanded="true"] { color: white; background: #173c30; }
.workflow-views button[aria-expanded="true"] span { color: rgba(255,255,255,.78); }
.preparation-panel { margin: -12px 0 34px; }
.preparation-list { display: grid; gap: 10px; }
.preparation-card { padding: 14px 16px; border: 1px solid #d8d8cf; border-left: 5px solid #6d8a78; border-radius: 8px; background: rgba(255,253,248,.92); }
.preparation-card.blocked { border-left-color: #e24a2e; }
.preparation-card.ready { border-left-color: #2f8f68; }
.preparation-card.publishing, .preparation-card.running { border-left-color: #267c99; }
.preparation-card h3 { margin: 4px 0 7px; font-size: 17px; line-height: 1.25; }
.preparation-card p { margin: 0; color: #5f6b65; font-size: 12px; line-height: 1.45; }
.preparation-card a { display: inline-block; margin-top: 8px; color: #27634e; font-size: 12px; font-weight: 800; }
.preparation-card .actions { margin-top: 12px; }
.progress-card { margin-top: 10px; padding: 10px 11px; border: 1px solid #cbd8d1; border-radius: 9px; background: #f8fbf8; }
.progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.progress-card strong { display: block; color: #173c30; font-size: 13px; line-height: 1.35; }
.progress-card span { color: #173c30; font-size: 13px; font-weight: 900; }
.progress-bar { height: 9px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #dfe8e1; }
.progress-bar i { display: block; height: 100%; border-radius: inherit; background: #267c99; transition: width .35s ease; }
.progress-card p { margin-top: 3px; color: #5f6b65; font-size: 12px; line-height: 1.35; }
.progress-card.blocked { border-color: #efb6aa; background: #fff6f3; }
.progress-card.blocked .progress-bar i { background: #e24a2e; }
.analysis-card { margin-top: 10px; padding: 10px 12px; border: 1px solid #ccd8d0; border-radius: 9px; background: #ffffff; }
.analysis-card[open] { box-shadow: inset 0 0 0 1px rgba(23,60,48,.08); }
.analysis-card summary { cursor: pointer; color: #173c30; font-size: 13px; font-weight: 900; }
.analysis-card section { margin-top: 11px; padding-top: 10px; border-top: 1px solid #e4e9e5; }
.analysis-card strong { display: block; margin-bottom: 4px; color: #52645b; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.analysis-card p { margin: 0; color: #173c30; font-size: 13px; line-height: 1.5; }
.analysis-card ul { display: grid; gap: 5px; margin: 0; padding-left: 18px; color: #173c30; font-size: 12px; line-height: 1.4; }
.prepared-ficha { margin-top: 10px; padding: 10px 12px; border: 1px solid #dfe4df; border-radius: 9px; background: rgba(255,255,255,.58); }
.prepared-ficha summary { cursor: pointer; color: #173c30; font-size: 12px; font-weight: 850; }
.prepared-ficha dl { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 6px 10px; margin: 10px 0 0; font-size: 12px; line-height: 1.42; }
.prepared-ficha dt { color: #52645b; font-weight: 850; }
.prepared-ficha dd { margin: 0; color: #173c30; overflow-wrap: anywhere; }
.pipeline-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: -20px 0 34px; }
.pipeline-status article, .pipeline-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 15px 17px; border: 1px solid #cfd8d1; border-radius: 12px; color: #173c30; background: rgba(233,238,233,.72); text-align: left; }
.pipeline-card { width: 100%; }
.pipeline-card:focus-visible { outline: 3px solid #e24a2e; outline-offset: 2px; }
.pipeline-status span { color: #52645b; font-size: 12px; font-weight: 800; }
.pipeline-status strong { font-size: 24px; }
.pipeline-status p { grid-column: 1/-1; margin: 0; color: #667069; font-size: 12px; line-height: 1.45; }
.internal-review-panel { margin: -12px 0 34px; }
.internal-review-list { display: grid; gap: 10px; }
.internal-card { padding: 14px 16px; border: 1px solid #d8d8cf; border-radius: 12px; background: rgba(255,253,248,.78); }
.internal-card h3 { margin: 4px 0 7px; font-size: 16px; line-height: 1.25; }
.internal-card p { margin: 0; color: #5f6b65; font-size: 12px; line-height: 1.45; }
.internal-card a { display: inline-block; margin-top: 8px; color: #27634e; font-size: 12px; font-weight: 800; }
.queue-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 13px; }
.queue-heading .eyebrow { margin: 0; }
.queue-heading h2 { margin: 3px 0 0; font-size: 25px; }
.queue-heading p:not(.eyebrow) { max-width: 680px; margin: 6px 0 0; color: #667069; font-size: 13px; line-height: 1.45; }
.queue-heading > span { color: #718077; font-size: 11px; }
.inbox-list { display: grid; gap: 12px; }
.proposal-views { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.proposal-views a { padding: 12px 16px; border: 1px solid #b9c9c0; border-radius: 10px; color: #173c30; font-weight: 750; text-decoration: none; }
.proposal-views a[aria-current="page"] { background: #173c30; color: white; }
#owner-explanation { color: #52645b; line-height: 1.5; }
.owner-request { margin-top: 16px; }
.owner-request label { display: grid; gap: 8px; font-size: 14px; }
.owner-request textarea { width: 100%; resize: vertical; font: inherit; padding: 10px; border: 1px solid #b9c9c0; border-radius: 8px; }
.owner-request button { margin-top: 8px; padding: 10px; }
.poster-preview-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.poster-preview-trigger:focus-visible { outline: 3px solid #e24a2e; outline-offset: -3px; }
body.poster-preview-open { overflow: hidden; }
.poster-preview { width: min(96vw, 800px); max-width: none; height: min(96vh, 1080px); height: min(96dvh, 1080px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 0; border: 0; border-radius: 14px; color: #173c30; background: #fffdf9; overflow: hidden; }
.poster-preview[open] { display: flex; flex-direction: column; }
.poster-preview::backdrop { background: rgba(0, 0, 0, .7); }
.poster-preview-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.poster-preview-header h2 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.poster-preview-header button { min-width: 90px; min-height: 44px; padding: 10px 14px; border: 1px solid #173c30; border-radius: 9px; background: #173c30; color: white; font: inherit; font-weight: 750; white-space: nowrap; }
.poster-preview-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #111; }
.poster-preview-content img { display: block; width: min(100%, 720px); height: auto; margin: 0 auto; }
.poster-preview-status { margin: 0; padding: 28px 18px; color: #173c30; background: #fffdf9; font-weight: 750; }
.poster-preview-actions { display: grid; flex: 0 0 auto; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #d8d8cf; background: #fffdf9; }
.poster-preview-actions button { min-height: 46px; padding: 10px 12px; border-radius: 9px; font: inherit; font-weight: 850; }
.poster-preview-actions .primary { border: 1px solid #173c30; color: white; background: #173c30; }
.poster-preview-actions .secondary { border: 1px solid #c8d0cb; color: #52615a; background: white; }
.poster-preview-actions button:disabled { opacity: .55; }
.inbox-card { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding: 15px; border: 1px solid #d8d8cf; border-left: 5px solid #6d8a78; border-radius: 8px; background: #fffdf9; box-shadow: none; }
.inbox-card.urgent { border-left-color: #e24a2e; }
.visual { min-height: 132px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; color: white; background: linear-gradient(145deg, #173c30, #2f7059); }
.visual img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.visual span { font-size: 46px; font-weight: 900; }
.meta { margin: 0; color: #e24a2e; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.card-content h3 { margin: 5px 0 7px; font-size: 21px; line-height: 1.18; }
.details { margin: 0 0 10px; color: #5f6b65; font-size: 13px; line-height: 1.5; }
.card-content > a { color: #27634e; font-size: 12px; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.actions button { padding: 10px 13px; border-radius: 9px; font-size: 12px; font-weight: 850; }
.actions .primary { border: 1px solid #173c30; color: white; background: #173c30; }
.actions .secondary { border: 1px solid #c8d0cb; color: #52615a; background: white; }
.actions button:disabled { opacity: .55; }
.empty { display: grid; gap: 7px; padding: 44px; border: 1px dashed #aebdb4; border-radius: 18px; text-align: center; background: rgba(255,255,255,.5); }
.empty strong { font-size: 25px; }
.empty span, .hidden-copy { color: #667069; }
.hidden-copy, .notice { min-height: 18px; font-size: 12px; font-weight: 700; }
.notice { color: #9e372d; }
.inbox-view { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border-radius: 10px; color: white; background: #173c30; font-weight: 800; text-decoration: none; }
@media (max-width: 720px) {
  .topbar { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .topbar nav { grid-column: 1/-1; grid-row: 2; display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .topbar nav a { text-align: center; }
  main { width: min(100% - 24px, 1040px); padding-top: 26px; }
  .hero { align-items: stretch; flex-direction: column; }
  .hero h1 { font-size: 42px; }
  .hero-actions button { flex: 1; }
  .summary { grid-template-columns: 1fr; margin-block: 22px 30px; }
  .productivity-panel { grid-template-columns: 1fr 1fr; margin-block: -14px 28px; }
  .productivity-panel .next-action { grid-column: 1/-1; }
  .summary-panel-card { grid-template-columns: 58px minmax(0, 1fr); }
  .summary-panel-thumb { width: 58px; }
  .workflow-map { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .workflow-views { margin-block: -12px 30px; }
  .pipeline-status { grid-template-columns: 1fr; margin-block: -12px 30px; }
  .queue-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .inbox-card { grid-template-columns: 82px minmax(0,1fr); gap: 13px; padding: 13px; }
  .visual { min-height: 105px; }
  .card-content h3 { font-size: 18px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions button { width: 100%; }
}
@media (max-width: 420px) { .login-shell { padding: 0; } .login-card { min-height: 100vh; padding: 34px 22px; border: 0; border-radius: 0; } .workflow-map { grid-template-columns: 1fr; } .decision-gates { grid-template-columns: 1fr; } .productivity-panel { grid-template-columns: 1fr; } .productivity-panel .next-action { grid-column: auto; } }

/* Mesa editorial v33: interface centrada en decisións, sen superficie técnica visible. */
:root { --desk-ink:#101828; --desk-muted:#667085; --desk-line:#d0d5dd; --desk-bg:#eef2f6; --desk-card:#ffffff; --desk-accent:#0f766e; --desk-warn:#b42318; color:#101828; background:#eef2f6; }
body.admin-page { background: radial-gradient(circle at top left, #d9eef0 0, transparent 34rem), #eef2f6; color: var(--desk-ink); }
.startup-screen { min-height:100vh; display:grid; place-content:center; gap:18px; padding:28px; background:var(--desk-bg); color:var(--desk-muted); text-align:center; font-weight:900; }
.startup-screen[hidden] { display:none!important; }
.startup-screen img { width:min(220px,58vw); margin:auto; }
.startup-screen p { margin:0; }
.login-shell { background: linear-gradient(135deg,#0f172a,#134e4a); }
.login-card { width:min(100% - 32px,430px); padding:30px; border:0; border-radius:18px; box-shadow:0 24px 80px rgba(0,0,0,.28); }
.login-card img { width:132px; }
.login-card .eyebrow { margin-top:24px; color:#0f766e; letter-spacing:.16em; }
.login-card h1 { margin-top:4px; color:#101828; letter-spacing:0; }
.login-card > p:not(.eyebrow) { color:#475467; }
.editorial-topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px max(18px,calc((100vw - 1120px)/2)); border-bottom:1px solid rgba(16,24,40,.08); background:rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.editorial-brand { display:flex; align-items:center; gap:14px; color:var(--desk-ink); text-decoration:none; font-size:14px; font-weight:900; }
.editorial-brand img { width:112px; height:auto; display:block; }
.editorial-topbar-actions { display:flex; align-items:center; gap:8px; }
.editorial-topbar-actions a, .editorial-topbar-actions button { min-height:40px; padding:9px 12px; border:1px solid var(--desk-line); border-radius:10px; background:white; color:var(--desk-ink); font:inherit; font-size:13px; font-weight:850; text-decoration:none; }
main.admin-main { width:min(100% - 32px,1120px); max-width:1120px; padding:26px 0 72px; }
.editorial-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:end; margin-bottom:16px; padding:22px; border:1px solid rgba(16,24,40,.08); border-radius:22px; background:#101828; color:white; }
.editorial-hero .eyebrow { margin:0 0 8px; color:#5eead4; }
.editorial-hero h1 { margin:0 0 8px; max-width:720px; font-size:clamp(30px,5vw,54px); line-height:1.02; letter-spacing:0; }
.editorial-hero p { margin:0; color:#d0d5dd; }
.admin-page .editorial-hero .hero-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 14px; box-sizing:border-box; border:1px solid #5eead4; border-radius:11px; background:#182a36; color:#99f6e4; font-weight:700; text-decoration:none; }
.admin-page .editorial-hero .hero-actions a:hover { background:#24434d; color:white; }
.admin-page .editorial-hero .hero-actions a:focus-visible { outline-color:#99f6e4; }
.device-options { margin:0 0 16px; color:var(--desk-ink); }
.device-options summary { min-height:44px; box-sizing:border-box; padding:12px 0; cursor:pointer; font-weight:650; }
.device-options-content { padding:0 16px 16px; border:1px solid var(--desk-line); border-radius:12px; background:white; }
.device-options-content p { max-width:70ch; line-height:1.5; }
.admin-page .device-options button { min-height:44px; padding:10px 14px; border:1px solid #afc2b5; border-radius:10px; color:#173c30; background:#f3f6f2; }
.hero-actions button { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.12); color:white; border-radius:11px; }
.proposal-views { margin:12px 0 16px; gap:8px; }
.proposal-views a { border-color:var(--desk-line); border-radius:12px; background:white; color:var(--desk-ink); }
.proposal-views a[aria-current="page"] { background:var(--desk-accent); border-color:var(--desk-accent); color:white; }
.summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 12px; }
.summary article { border:0; border-radius:16px; background:white; box-shadow:0 1px 2px rgba(16,24,40,.05); }
.decision-gates button { border:0; border-radius:16px; background:white; box-shadow:0 1px 2px rgba(16,24,40,.05); }
.summary span { color:var(--desk-muted); }
.summary strong { color:var(--desk-ink); }
.utility-strip { border:1px solid var(--desk-line); border-radius:16px; background:rgba(255,255,255,.72); }
.productivity-panel { grid-template-columns:minmax(0,2fr) repeat(3,minmax(88px,1fr)); gap:0; overflow:hidden; margin:0 0 16px; }
.productivity-panel article, .productivity-panel button { border:0; border-right:1px solid var(--desk-line); border-radius:0; background:transparent; }
.productivity-panel button:last-child { border-right:0; }
.workflow-views { margin:0 0 16px; }
.workflow-views button { border:0; border-radius:18px; background:#0f766e; color:white; box-shadow:0 10px 24px rgba(15,118,110,.18); }
.workflow-views span, .workflow-views small, .workflow-views strong { color:white; }
.preparation-panel { margin:0 0 22px; padding:18px; border:1px solid var(--desk-line); border-radius:20px; background:white; }
.preparation-card, .inbox-card, .internal-card, .summary-panel-card { border:1px solid var(--desk-line); border-left:0; border-radius:16px; background:white; box-shadow:0 1px 2px rgba(16,24,40,.05); }
.preparation-card.blocked { box-shadow:inset 4px 0 0 var(--desk-warn); }
.preparation-card.ready { box-shadow:inset 4px 0 0 var(--desk-accent); }
.preparation-card.publishing, .preparation-card.running { box-shadow:inset 4px 0 0 #2563eb; }
.queue-heading { margin:22px 0 12px; }
.queue-heading .eyebrow { color:#0f766e; letter-spacing:.14em; }
.queue-heading h2 { color:var(--desk-ink); font-size:26px; letter-spacing:0; }
.inbox-list { gap:10px; }
.inbox-card { grid-template-columns:84px minmax(0,1fr); padding:14px; }
.inbox-card.urgent { box-shadow:inset 4px 0 0 var(--desk-warn); }
.visual { border-radius:12px; background:linear-gradient(145deg,#0f766e,#155e75); }
.card-content h3 { color:var(--desk-ink); font-size:20px; letter-spacing:0; }
.meta { color:#0f766e; letter-spacing:.08em; }
.details, .preparation-card p, .internal-card p { color:var(--desk-muted); }
.actions { gap:8px; }
.actions button { min-height:44px; border-radius:11px; font-size:13px; }
.actions .primary { background:var(--desk-accent); border-color:var(--desk-accent); }
.actions .secondary { border-color:var(--desk-line); color:var(--desk-ink); }
.progress-card { border-color:#bfdbfe; border-radius:14px; background:#eff6ff; }
.progress-bar { background:#dbeafe; }
.progress-bar i { background:#2563eb; }
.pipeline-status { margin:0 0 18px; padding:12px; }
.pipeline-status article, .pipeline-card { background:transparent; border:0; min-height:auto; padding:8px 10px; }
.pipeline-status p { color:var(--desk-muted); }
.admin-nav, .workflow-map { display:none!important; }
#inbox-view { background:var(--desk-ink); border-radius:12px; }
.notice { color:var(--desk-warn); }
@media(max-width:720px){
  .editorial-topbar { padding:12px 14px; }
  .editorial-brand span { display:none; }
  .editorial-brand img { width:104px; }
  main.admin-main { width:min(100% - 22px,1120px); padding-top:16px; }
  .editorial-hero { grid-template-columns:1fr; padding:18px; border-radius:18px; }
  .editorial-hero h1 { font-size:36px; }
  .summary, .productivity-panel { grid-template-columns:1fr; }
  .productivity-panel .next-action { grid-column:1/-1; }
  .productivity-panel article, .productivity-panel button { border-right:0; border-bottom:1px solid var(--desk-line); }
  .productivity-panel button:last-child { border-bottom:0; }
  .inbox-card { grid-template-columns:72px minmax(0,1fr); }
}
/* Manual artwork keeps the existing card layout, including narrow screens. */
.manual-poster-upload { display: grid; gap: .65rem; margin: 1rem 0; padding: 1rem; border: 1px solid #b4cbc5; border-radius: 12px; }
.manual-poster-upload label { display: block; }
.manual-poster-upload input[type="file"] { display: block; max-width: 100%; margin-top: .5rem; }
.manual-poster-upload button { justify-self: start; }
.manual-poster-upload p { margin: 0; }
.manual-poster-selected { display: grid; justify-items: start; gap: .6rem; padding: .75rem; border: 1px solid #d7e2dd; border-radius: 10px; background: #f7faf8; }
.manual-poster-selected[hidden] { display: none; }
.manual-poster-selected img { display: block; width: auto; max-width: min(100%, 260px); max-height: 340px; object-fit: contain; border-radius: 6px; background: #e9eeeb; }
.manual-poster-selected button { min-height: 44px; }
.prepared-poster-choice { display: grid; justify-items: start; gap: .55rem; margin: .9rem 0; padding: .85rem; border: 1px solid #b7d5c9; border-radius: 12px; background: #f2faf6; }
.prepared-poster-choice h4, .manual-poster-upload h4 { margin: 0; color: #173c30; font-size: 15px; }
.prepared-poster-preview { display: grid; justify-items: start; gap: .45rem; max-width: 100%; padding: .55rem; border: 1px solid #b7c9bf; border-radius: 10px; background: white; color: #173c30; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.prepared-poster-preview:focus-visible { outline: 3px solid #0b8b85; outline-offset: 2px; }
.prepared-poster-preview img { display: block; width: min(32vw, 180px); min-width: 112px; aspect-ratio: 2 / 3; object-fit: contain; background: #e9eeeb; border-radius: 6px; }
.prepared-poster-preview span { min-height: 28px; display: inline-flex; align-items: center; }
.prepared-poster-explanation { max-width: 60ch; }
