:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#182333;background:#f3f4f6;font-size:15px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}header{height:86px;display:flex;align-items:center;gap:30px;padding:0 5%;background:#14202e;color:white;border-bottom:4px solid #ed4652}.brand{font-size:28px;letter-spacing:-1.5px;font-weight:900}.brand span{color:#ff5863}.workspace{font-size:11px;letter-spacing:3px;color:#bcc7d2}.local{margin-left:auto;border:1px solid #45515f;padding:8px 12px;border-radius:20px;font-size:12px}main{max-width:1420px;margin:0 auto;padding:46px 5%}h1{font-size:34px;letter-spacing:-1.2px;margin:8px 0 14px;line-height:1.15}h2{font-size:19px;margin:0}h3{font-size:19px;line-height:1.45;margin:8px 0}p{line-height:1.6}.muted{color:#677384;font-size:14px}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:750;text-transform:uppercase;color:#c23140;margin:0}.eyebrow span{color:#69788b}.heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:28px}.count{min-width:145px;border-left:1px solid #cdd4de;padding-left:28px;display:grid;gap:4px}.count b{font-size:44px;font-weight:650}.count span{color:#687688;font-size:12px}.notice{background:#fff5e5;border:1px solid #e8d6b5;border-radius:8px;padding:14px 18px;color:#7b541f;font-size:13px;line-height:1.6}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:32px 0 20px;gap:20px}.search{font-size:12px;color:#647082}.search input{display:block;min-width:250px;margin-top:6px}.storylist{background:white;border:1px solid #dce1e7;border-radius:12px;overflow:hidden}.story{display:grid;grid-template-columns:42px 1fr auto 24px;gap:20px;align-items:center;padding:25px 28px;border-bottom:1px solid #e5e9ee;transition:background .15s}.story:last-child{border:0}.story:hover{background:#f9fafc}.storynum{font-size:16px;color:#8792a0;font-variant-numeric:tabular-nums}.story p.muted{margin:5px 0 0}.arrow{font-size:25px;color:#c83240}.badge{font-size:11px;font-weight:650;background:#e9edf2;color:#58677a;padding:8px 12px;border-radius:20px;white-space:nowrap}.badge.rendered{background:#e1f2eb;color:#21634a}.badge.failed{background:#ffe5e7;color:#a62231}.badge.rendering{background:#e7edff;color:#324990}.back{font-size:13px;color:#5c697c;display:inline-block;margin-bottom:25px}.compact{margin-bottom:20px}.compact h1{font-size:30px}.editorgrid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;margin-top:20px}.panel,.preview{background:#fff;border:1px solid #dde3ea;border-radius:12px;padding:25px;min-width:0}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.sectionhead span{font-size:11px}.editorgrid label{display:grid;gap:8px;font-size:13px;font-weight:650;margin-bottom:20px}input,textarea{border:1px solid #cdd5df;background:#fbfcfd;padding:12px;border-radius:6px;color:#1c2a3c;font:inherit;width:100%;line-height:1.5}textarea{resize:vertical;font-size:14px}input:focus,textarea:focus{outline:2px solid #376b95;outline-offset:1px}button,.button{font:inherit;font-size:13px;font-weight:650;padding:12px 17px;display:inline-block;border:1px solid transparent;border-radius:7px;background:#d93243;color:white;cursor:pointer;text-align:center}button:hover,.button:hover{filter:brightness(.96)}.secondary{background:#f2f5f8;border-color:#d7dfe8;color:#31435a}button:disabled{opacity:.55;cursor:wait}.savebar{display:flex;align-items:center;gap:15px;margin-top:24px}.savebar span{font-size:11px}details{border-top:1px solid #e0e5eb;padding-top:18px;margin-top:20px}summary{cursor:pointer;font-size:13px;font-weight:650;margin-bottom:14px}.check{display:flex!important;align-items:center;font-weight:400!important}.check input{width:17px;height:17px}.source-text{max-height:400px;overflow:auto;white-space:pre-wrap;font-size:13px;color:#5b6b7f}.source a,.history a{color:#b62437;text-decoration:underline}.plates{display:grid;grid-template-columns:1fr 1fr;gap:13px}figure{margin:0;min-width:0}figure img{width:100%;aspect-ratio:4/5;display:block;border-radius:5px;background:#14202e}figcaption{font-size:11px;color:#5c6c80;margin:10px 0 18px}.downloads{display:grid;gap:10px}.split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.history{border-top:1px solid #e0e5eb;margin-top:30px;padding-top:22px}.historyrow{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e8ecf0;font-size:12px}.historyrow span{color:#6c7b8d}.placeholder{border:1px dashed #c1cbd6;padding:60px 25px;text-align:center;border-radius:10px;background:#f7f9fb}.placeholder p{font-size:13px;color:#627287}#feedback:not(:empty){background:#e5eef8;padding:12px 16px;border-radius:7px;color:#214467;font-size:13px}.appfooter{padding:20px 5% 35px;text-align:center;color:#768393;font-size:11px}[hidden]{display:none!important}.downloads.stale{outline:2px solid #dca73f;outline-offset:5px;border-radius:6px}
@media(max-width:900px){.editorgrid{grid-template-columns:1fr}.heading h1{font-size:28px}.story{padding:20px;grid-template-columns:28px 1fr auto}.story .arrow{display:none}.story .badge{font-size:10px}.workspace{display:none}main{padding:30px 5%}.count{display:none}}@media(max-width:560px){header{height:72px}.brand{font-size:24px}.local{font-size:10px}.heading{align-items:flex-start;gap:10px}.compact{display:block}.compact .badge{display:inline-block}.toolbar{align-items:stretch;flex-direction:column}.story{grid-template-columns:22px 1fr;gap:12px}.story .badge{grid-column:2;justify-self:start}.story h3{font-size:17px}.panel,.preview{padding:18px}.sectionhead{align-items:flex-start}.sectionhead span{max-width:105px;text-align:right}.savebar{flex-direction:column;align-items:stretch}.historyrow{font-size:11px}.plates{gap:8px}.heading h1{font-size:27px}}
.loginbox{max-width:470px;margin:30px auto}.loginbox label{display:grid;gap:8px;margin:20px 0;font-size:13px;font-weight:650}.loginbox h1{font-size:29px}
.nav-settings{font-size:13px;white-space:nowrap}.story.withphoto{grid-template-columns:100px 1fr auto 24px}.storyphoto{width:100px;height:80px;object-fit:cover;border-radius:7px}.nophoto{display:grid;place-items:center;width:100px;height:80px;border:1px dashed #d7b98b;color:#8b5d26;background:#fff7ea;border-radius:7px;font-size:12px;text-align:center;padding:8px}.badge.missing_photo{background:#fff0d9;color:#8e5715}.photo-panel{border:1px solid #dbe3eb;background:#fafbfd;border-radius:9px;padding:16px;margin:20px 0}.selected-photo{width:100%;height:210px;object-fit:cover;border-radius:6px;margin-bottom:8px}.photo-warning{background:#fff1d9;padding:14px;border-radius:6px;color:#865015}.photo-policy{background:#edf4f1;padding:17px;border-radius:8px;font-size:13px;line-height:1.5}fieldset{border:0;border-bottom:1px solid #dce2e8;padding:18px 0;margin-bottom:18px}legend{font-size:14px;font-weight:700;padding-top:22px}.targets{display:grid;gap:12px;grid-template-columns:repeat(3,1fr)}.targets label{font-size:11px}.editorgrid input,.editorgrid textarea{font-weight:400}.settings-form a{text-decoration:underline}@media(max-width:900px){.story.withphoto{grid-template-columns:80px 1fr auto}.storyphoto,.nophoto{width:80px;height:70px}}@media(max-width:560px){header{gap:12px}.local{display:none}.nav-settings{margin-left:auto;font-size:12px}.story.withphoto{grid-template-columns:70px 1fr}.storyphoto,.nophoto{width:70px;height:70px}.targets{grid-template-columns:1fr}.story.withphoto .badge{grid-column:2}}

.news-search{margin-bottom:22px}.news-search .toolbar{margin-top:0}.news-search a{text-decoration:underline}.search-results{padding-left:20px;font-size:13px;line-height:1.8}.search-results li{overflow-wrap:anywhere}

.edition-panel{margin-bottom:22px;border-left:4px solid #d93243}.edition-panel .toolbar{margin:0}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.edition-panel h2{margin-top:6px}#edition-feedback:not(:empty),#ai-key-feedback:not(:empty),#tg-feedback:not(:empty){background:#e5eef8;padding:12px 16px;border-radius:7px;color:#214467;font-size:13px}
select{border:1px solid #cdd5df;background:#fbfcfd;padding:12px;border-radius:6px;color:#1c2a3c;font:inherit;width:100%}.targets.four{grid-template-columns:repeat(4,1fr)}.small{font-size:12px}.steps{font-size:13px;line-height:1.7;padding-left:20px;color:#3c4a5c}code{background:#eef1f5;padding:2px 6px;border-radius:4px;font-size:12px}.usage{background:#f3f6f9;border-radius:8px;padding:14px 16px;margin-top:18px;font-size:13px}.usage p{margin:4px 0 0}#ai-key,#telegram{margin-top:28px}
.badge.drafting,.badge.writing,.badge.pending{background:#eef0ff;color:#3d4aa0}
.review{background:#fff5e5;border:1px solid #edd3a6;border-radius:8px;padding:10px 14px;margin:12px 0;font-size:13px;color:#7b541f}.review ul{margin:6px 0 0;padding-left:18px;line-height:1.5}
.edition-head{margin-bottom:20px;display:grid;gap:14px}.quotas{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quota{background:#f3f6f9;border-radius:9px;padding:14px;display:grid;gap:2px}.quota b{font-size:28px;font-weight:700}.quota small{font-size:15px;color:#7a8696;font-weight:500}.quota span{font-size:12px;color:#5f6d7f}.quota.short{background:#fff5e5}
.filters{display:flex;gap:8px;margin:6px 0 16px;flex-wrap:wrap}.chip{background:#fff;border:1px solid #d3dbe4;color:#3a4a5e;border-radius:20px;padding:8px 15px}.chip.on{background:#14202e;color:#fff;border-color:#14202e}
.pieces{display:grid;gap:16px}.piece{background:#fff;border:1px solid #dde3ea;border-radius:12px;padding:18px;scroll-margin-top:20px}.piece.used{opacity:.62}.piecehead{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;font-size:12px}.piecehead .num{font-weight:800;font-size:16px;color:#14202e}.zone{font-weight:700;text-transform:uppercase;letter-spacing:1px;font-size:10px;padding:5px 9px;border-radius:12px;background:#e9edf2;color:#4c5b6e}.zone-local{background:#ffe3e6;color:#a3202f}.zone-cordoba{background:#e1f2eb;color:#21634a}.zone-internacional{background:#e7edff;color:#324990}.piecehead .src{color:#6b788a}.piecehead .badge{margin-left:auto}
.piecebody{display:grid;grid-template-columns:300px 1fr;gap:22px}.minis{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}.minis img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:6px;display:block;background:#14202e}.minis.pending{border:1px dashed #c1cbd6;border-radius:8px;min-height:180px;display:grid;place-items:center;text-align:center;padding:14px;font-size:13px;color:#627287;background:#f7f9fb;grid-template-columns:1fr}
.piecetext{min-width:0}.piecetext h3{margin:0 0 10px;font-size:18px}.caption{font-size:13px;background:#fbfcfd;margin:6px 0 12px}.pieceactions{display:flex;flex-wrap:wrap;gap:8px}.pieceactions .button,.pieceactions button{padding:10px 14px}.piecetext .muted a{text-decoration:underline}
@media(max-width:900px){.piecebody{grid-template-columns:1fr}.minis{max-width:420px}.quotas{grid-template-columns:repeat(2,1fr)}.targets.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.piece{padding:14px}.pieceactions>*{flex:1 1 45%}.piecehead .badge{margin-left:0}.edition-panel .actions>*{flex:1}}

.mainnav{display:flex;align-items:center;gap:20px;font-size:13px}.mainnav a{white-space:nowrap}.mainnav .me{display:grid;line-height:1.25;border-left:1px solid #45515f;padding-left:18px}.mainnav .me small{font-size:10px;color:#bcc7d2;letter-spacing:.5px}
.userlist{background:#fff;border:1px solid #dce1e7;border-radius:12px;overflow:hidden}.userrow{display:grid;grid-template-columns:1.3fr 1fr auto;gap:18px;align-items:center;padding:18px 24px;border-bottom:1px solid #e5e9ee}.userrow:last-child{border:0}.userrow.inactive{opacity:.6}.who{display:grid;gap:3px}.state{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.useractions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.useractions select{width:auto;padding:10px}.useractions button{padding:10px 13px}
.tempbox{background:#edf4f1;border:1px solid #bfdccf;border-radius:9px;padding:16px;display:grid;gap:10px}.tempbox p{margin:0}.tempbox code{font-size:22px;letter-spacing:1px;background:#fff;padding:12px;text-align:center;border-radius:6px;user-select:all}.rolehelp{font-size:13px;color:#4c5b6e;border-top:1px solid #e0e5eb;margin-top:20px}.rolehelp p{margin:10px 0}
@media(max-width:900px){.userrow{grid-template-columns:1fr}.useractions{justify-content:flex-start}}
@media(max-width:700px){header{height:auto;flex-wrap:wrap;padding:14px 5%;row-gap:10px}.mainnav{order:3;width:100%;gap:16px;overflow-x:auto}.mainnav .me{margin-left:auto}#logout{margin-left:auto}}
.spaced{margin-bottom:20px}
.local.spacer{border:0;padding:0}
