@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
.brand-text{display:block;line-height:1.2}.brand-by{font-size:15px;letter-spacing:-.3px;font-weight:550}.brand-text small{display:block;font:400 10px 'DM Sans',system-ui,sans-serif;letter-spacing:.3px;margin-top:5px;color:#83919c}.overview-mode .app-layout{grid-template-columns:216px minmax(0,1fr)}.overview-mode .detail-panel{display:none}.overview-mode .workspace-heading{padding-block:22px}.node{height:194px;display:flex!important;flex-direction:column}.node-top,.node-bottom{width:100%}.node-bottom{margin-top:auto!important}.form-field>span,.detail-section h3{font-size:14px!important}.instruction-list li{font-size:14px!important}.detail-panel .upload-zone input{display:block;width:1px;height:1px;opacity:0;position:absolute}.upload-zone:focus-within{outline:3px solid #0dbeb7;outline-offset:3px}@media(max-width:600px){.brand-by{font-size:12px}.brand-text small{font-size:12px}.brand{gap:7px!important}.overview-mode .app-layout{display:block}.toolbar-actions #resetView{display:none}}
:root{font-family:'DM Sans',system-ui,sans-serif;color:#1d2c39;background:#f7f9fb;font-synthesis:none;--ink:#162838;--muted:#6c7a87;--line:#e3e9ed;--green:#007d78;--mint:#e2f8f5;--accent:#68e9df;--nav:#12393e;--radius:14px}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #007d78;outline-offset:3px}button{transition:background .15s,border-color .15s,transform .15s}input,textarea,select{width:100%;border:1px solid #d6dfe5;border-radius:9px;padding:11px 12px;color:var(--ink);background:#fff;line-height:1.5}textarea{resize:vertical;min-height:110px}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--green)}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}.app-header{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 26px;gap:32px}.brand{display:flex;align-items:center;text-decoration:none;gap:10px;font-size:25px;font-weight:800;color:var(--ink);letter-spacing:-1px;white-space:nowrap}.brandmark{display:grid;place-items:center;width:36px;height:36px;background:var(--nav);color:var(--accent);border-radius:10px;font-size:29px;line-height:1}.brand-tag{font:700 10px 'DM Sans',sans-serif;letter-spacing:2px;border-left:1px solid #d8e0e5;padding-left:14px;margin-left:9px;color:#748692}.project-title{margin-right:auto;max-width:320px}.project-title input{border:0;padding:0;font-size:14px;font-weight:650;outline-offset:6px;background:transparent}.save-state{font-size:12px;color:var(--muted);display:block;margin-top:3px}.button{border:1px solid #d4dfe4;border-radius:8px;padding:10px 15px;background:white;color:var(--ink);font-weight:600;font-size:14px;display:inline-flex;gap:16px;align-items:center;justify-content:center}.button:hover{background:#edf5f1;border-color:#9bbbae}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#056761}.button.compact{padding:7px 10px;font-size:13px}.button.full{width:100%}.button.danger{color:#a44139}.app-layout{display:grid;grid-template-columns:216px minmax(340px,1fr) 370px;height:calc(100dvh - 78px)}.sidebar{background:var(--nav);color:#c4d2dc;padding:29px 15px 20px;display:flex;flex-direction:column;overflow:auto}.sidebar-label{font-size:12px;letter-spacing:1.7px;font-weight:700;color:#839cae;margin:0 12px 18px}.nav-item{border:0;background:none;color:#b8cbd7;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px;border-radius:8px;margin-bottom:7px;font-size:14px}.nav-item span{font-size:19px}.nav-item.active{background:#185258;color:#8ef0e6}.nav-item:hover{background:#1b4b52}.phases-label{margin-top:34px}.phase-button{display:flex;text-align:left;align-items:center;gap:12px;width:100%;padding:11px 12px;background:transparent;color:#bdcdd8;border:0;border-radius:8px;font-size:14px;margin-bottom:7px}.phase-button:hover{background:#1b4b52}.phase-button.selected{color:#eafff4;background:#174950}.phase-number{border:1px solid #486070;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:12px;flex:none}.phase-count{margin-left:auto;color:#839aab;font-size:12px}.sidebar-bottom{margin-top:auto;padding:36px 10px 0}.progress-caption{display:flex;gap:10px;justify-content:space-between;font-size:12px;color:#c0d0db}.progress-caption strong{white-space:nowrap;color:#dbede5}.progress-track{height:5px;background:#314857;border-radius:5px;margin:12px 0 18px;overflow:hidden}.progress-track div{height:100%;background:#0bbdb6;width:100%;transform:scaleX(0);transform-origin:left center;transition:transform .35s cubic-bezier(.16,1,.3,1)}.sidebar-bottom p{font-size:13px;line-height:1.7;color:#90a7b8;margin:0 0 17px}.sidebar-bottom .small{font-size:12px;line-height:1.6;margin-top:10px}.local-badge{font-size:12px;color:#70dacf}.workspace{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#f6f8fa}.workspace-heading{padding:30px 30px 25px;display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:750;color:#7d8b96;margin-bottom:10px}h1{font-size:28px;letter-spacing:-1.2px;line-height:1.2;margin-bottom:10px;font-weight:800}h1 span{color:#0bbdb6}.workspace-heading p{font-size:14px;color:var(--muted);margin:0}.project-chip{padding:8px 11px;border:1px solid #dee7e3;border-radius:20px;background:#fff;white-space:nowrap;font-size:12px;display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;border-radius:50%;background:#0bbdb6;display:inline-block}.board-toolbar{padding:12px 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;background:white;align-items:center}.view-label{font-size:14px;font-weight:650;display:flex;gap:9px;align-items:center;white-space:nowrap}.view-label>span:last-child{font-size:12px;font-weight:500;color:var(--muted);padding:3px 7px;background:#f0f4f6;border-radius:4px}.mini-grid{color:var(--green);font-size:20px}.toolbar-actions{display:flex;align-items:center;gap:6px}.icon-button{display:grid;place-items:center;background:white;border:1px solid #e0e5e9;border-radius:8px;width:36px;height:36px;font-size:20px;color:#4d6272;flex:none}.icon-button:hover{background:#edf3f6}.toolbar-actions #zoomLabel{font-size:12px;color:var(--muted);min-width:36px;text-align:center}.board-viewport{flex:1;overflow:auto;background-image:radial-gradient(#cdd7de .8px,transparent .8px);background-size:18px 18px;position:relative;scroll-behavior:smooth;min-height:280px}.board{position:relative;transform-origin:0 0;width:1610px;min-height:1460px;margin:0}.lane{position:absolute;top:0;width:282px;min-height:1400px}.lane-heading{position:absolute;top:28px;left:0;display:flex;align-items:center;gap:9px;color:#495f70;font-size:12px;font-weight:700;letter-spacing:.3px}.lane-heading b{font-weight:650;color:#8092a0;font-size:12px;border:1px solid #d9e1e6;border-radius:5px;padding:3px 5px}.lane-heading .phase-pill{width:7px;height:7px;background:var(--phase);border-radius:50%}.node{position:absolute;left:0;width:282px;min-height:153px;display:block;text-align:left;background:white;border:1px solid #dce4e9;border-radius:12px;padding:16px;box-shadow:0 3px 5px #172a3805;color:var(--ink);z-index:2}.node:hover{border-color:#8cad9e;box-shadow:0 5px 14px #1b3d3010;transform:translateY(-1px)}.node.selected{border:2px solid var(--green);padding:15px;box-shadow:0 0 0 4px #d5eee560,0 5px 18px #1b3d3010}.node-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.node-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--tint,#f0f5f7);color:var(--phase,#536776);font-size:18px}.node-index{font-size:12px;color:#8b9aa5;font-weight:700;letter-spacing:1px}.node h3{font-size:15px;line-height:1.4;margin:0 0 6px;letter-spacing:-.2px;font-weight:750}.node-description{display:block;font-size:12px;color:#778894;line-height:1.5;min-height:18px}.node-bottom{border-top:1px solid #edf0f3;margin-top:13px;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.status{font-size:12px;display:flex;align-items:center;gap:5px;color:#7d8e9a}.status::before{content:'';width:5px;height:5px;border-radius:50%;background:#b8c4cc}.status.done{color:#008b83}.status.done::before{background:#00998f}.status.review{color:#ad7620}.status.review::before{background:#d8a143}.node-note{font-size:12px;color:#71818c}.node-output{width:6px;height:6px;position:absolute;bottom:-4px;left:calc(50% - 3px);background:#fff;border:1px solid #a2b5c0;border-radius:50%}.connectors{position:absolute;inset:0;overflow:visible;pointer-events:none}.connectors path{stroke:#afc1ca;stroke-width:1.4;fill:none}.board-footer{padding:12px 24px;font-size:12px;color:#5b6b78;display:flex;justify-content:space-between;gap:14px;background:white;border-top:1px solid var(--line)}.board-footer>div{display:flex;gap:6px;align-items:center;white-space:nowrap}.legend-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#bac6ce;margin-left:7px}.legend-dot.review{background:#d9ab53}.legend-dot.done{background:#00998f}.detail-panel{border-left:1px solid var(--line);background:#fff;overflow-y:auto;padding:27px 24px 22px;position:relative}.detail-kicker{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.detail-kicker .eyebrow{margin:0}.detail-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#e3f7f4;color:var(--green);font-size:25px;margin-bottom:17px}.detail-panel h2{font-size:23px;font-weight:800;line-height:1.3;letter-spacing:-.7px;margin:0 0 10px}.detail-intro{font-size:14px;line-height:1.7;color:#71818e;margin-bottom:25px}.detail-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}.detail-section h3{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:750;margin:0 0 13px}.instruction-list{list-style:none;padding:0;margin:0}.instruction-list li{position:relative;padding-left:18px;margin-bottom:11px;font-size:13px;line-height:1.6;color:#617482}.instruction-list li::before{content:'—';position:absolute;left:0;color:#4b9379}.form-field{display:block;margin:0 0 17px}.form-field>span{font-size:13px;font-weight:650;display:block;margin-bottom:7px}.form-field small,.hint{font-size:12px;line-height:1.6;color:#7f8e98;display:block;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-field textarea{font-size:14px}.form-field select{font-size:14px}.upload-zone{border:1.5px dashed #b8cdc5;border-radius:12px;background:#f5faf7;text-align:center;padding:23px 13px;display:block;cursor:pointer;margin-bottom:12px}.upload-zone.dragover{background:#daf6f0;border-color:#278764}.upload-zone input{display:none}.upload-icon{font-size:29px;color:#099b93;display:block;margin-bottom:10px}.upload-zone strong{font-size:14px;display:block;color:#086961;margin-bottom:6px}.upload-zone small{display:block;font-size:12px;line-height:1.6;color:#7a8e84}.resource-item{border:1px solid #e1e7eb;padding:11px;border-radius:9px;margin:9px 0;background:#f9fbfc}.resource-item strong{display:block;font-size:13px;overflow-wrap:anywhere}.resource-item small{font-size:12px;color:#7b8b96}.resource-actions{display:flex;gap:8px;margin-top:7px}.resource-actions button,.text-button{border:0;background:transparent;color:var(--green);padding:3px 0;font-size:12px;text-decoration:underline}.resource-item video,.preview video{width:100%;max-height:230px;margin-top:10px;background:#152532;border-radius:6px}.resource-item audio,.preview audio{width:100%;margin-top:10px}.resource-item img{width:100%;max-height:170px;object-fit:contain;margin-top:8px;background:#eff3f5}.notice{font-size:12px;line-height:1.6;background:#eef5f8;border:1px solid #dce8ef;color:#577487;border-radius:9px;padding:12px;margin:13px 0}.notice.warning{background:#fff8eb;border-color:#f0e2c8;color:#947437}.choice-card{display:block;width:100%;text-align:left;border:1px solid #dfe6ea;background:#fff;border-radius:10px;padding:14px;margin:9px 0;color:var(--ink)}.choice-card.selected{border-color:#00998f;background:#e6f9f6;box-shadow:0 0 0 1px #00998f}.choice-card strong{display:block;font-size:14px;margin-bottom:5px}.choice-card p{font-size:12px;line-height:1.6;color:#6a7f8b;margin:0}.choice-card .choice-tag{font-size:12px;letter-spacing:1px;color:#00998f;font-weight:700;display:block;margin-bottom:6px}.ratio-bar{display:flex;height:7px;overflow:hidden;border-radius:4px;margin:11px 0 5px;background:#d2e0e8}.ratio-bar i{display:block;background:#12bfb5}.ratio-caption{display:flex;justify-content:space-between;font-size:12px;color:#729084}.check-row{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6;margin:12px 0;color:#5b707e}.check-row input{margin:4px 0 0;flex:none}.output-card{background:#f6f8fa;border:1px solid #e1e7eb;border-radius:9px;padding:13px;font-size:12px;line-height:1.6;color:#637886}.output-label{font-size:12px;letter-spacing:1px;color:#8798a3;font-weight:700;display:block;margin-bottom:5px}.detail-actions{display:grid;gap:9px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.detail-actions .button{min-height:43px}.gate-message{font-size:12px;color:#947437;line-height:1.6;margin-top:10px}.history-item{font-size:12px;border-left:2px solid #bfdccc;padding:0 0 11px 12px;line-height:1.6;color:#6e818e}.history-item strong{color:#3c5b69;display:block}.history-item small{font-size:12px}.plan-row{padding:14px;border:1px solid #dce6e8;border-radius:9px;margin:12px 0}.plan-row blockquote{margin:7px 0 12px;font-size:13px;line-height:1.65;color:#3c5564;border-left:2px solid #97c8b3;padding-left:10px}.plan-row textarea{font-size:13px;min-height:120px}.plan-row .eyebrow{font-size:12px}.step-tabs{display:flex;gap:4px;padding:4px;background:#f0f4f6;border-radius:8px;margin:18px 0}.step-tabs button{flex:1;border:0;padding:8px;border-radius:6px;background:transparent;font-size:12px;color:#718491}.step-tabs button.active{background:white;color:#285c4c;box-shadow:0 1px 5px #12393e12}.connection-row{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #edf1f3;font-size:13px}.connection-row span{font-size:12px;color:#987639;background:#fff4de;padding:3px 6px;border-radius:4px;white-space:nowrap}dialog{border:1px solid var(--line);border-radius:16px;max-width:840px;width:calc(100% - 32px);max-height:85dvh;padding:28px;box-shadow:0 12px 32px #12393e33;color:var(--ink)}dialog::backdrop{background:#112d4260;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}dialog h2{margin:0;font-size:25px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.summary-tile{padding:15px;background:#f4f7f9;border:1px solid #e5ebee;border-radius:10px}.summary-tile small{display:block;color:#7d8e99;font-size:12px;margin-bottom:6px}.summary-tile strong{font-size:15px}.summary-stage{border-top:1px solid #e5ebef;padding:13px 0;font-size:14px}.summary-stage p{font-size:12px;line-height:1.7;color:#6d818e;margin:7px 0 0}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#075c5c;color:#e6fffb;padding:13px 20px;border-radius:10px;font-size:14px;box-shadow:0 6px 30px #163a3025;transition:.2s;z-index:20;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.close-mobile{display:none}.readonly-label{display:inline-block;background:#edf2f5;color:#758794;font-size:12px;border-radius:5px;padding:3px 7px}.inline-links{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;margin:12px 0}.small-title{font-size:12px;font-weight:650;color:#536d7b;margin:15px 0 5px}details{margin:14px 0;font-size:13px;color:#607887}summary{cursor:pointer;font-weight:650;color:#365d50;padding:5px 0}details p{font-size:12px;line-height:1.7;margin:8px 0}.no-items{color:#899aa5;font-size:12px;margin:10px 0 0;line-height:1.6}.mobile-detail-open .detail-panel{display:block}@media(min-width:1600px){.app-layout{grid-template-columns:228px minmax(400px,1fr) 410px}.detail-panel{padding:30px}.workspace-heading{padding:35px}}@media(max-width:1190px){.app-layout{grid-template-columns:174px minmax(320px,1fr) 340px}.sidebar{padding-inline:9px}.sidebar-label{font-size:12px;letter-spacing:1px}.brand-tag{display:none}.workspace-heading{padding:25px 20px}.project-chip{display:none}h1{font-size:25px}.board-toolbar{padding:12px 17px}.view-label>span:last-child{display:none}.board-footer>span{display:none}.detail-panel{padding:25px 18px}.sidebar-bottom{padding-inline:7px}}@media(max-width:930px){.app-layout{grid-template-columns:170px minmax(0,1fr)}.detail-panel{display:none;position:fixed;right:0;top:78px;bottom:0;width:390px;max-width:100%;z-index:10;box-shadow:-10px 0 45px #15314625}.close-mobile{display:grid}.app-header{padding:0 20px;gap:20px}.project-title{max-width:240px}.project-title input{font-size:13px}.brand{font-size:22px}}@media(max-width:600px){.app-header{height:68px;padding:0 13px;gap:14px}.brand{font-size:20px}.brandmark{width:29px;height:29px;font-size:25px}.project-title{display:none}.app-header>.button{margin-left:auto;font-size:12px;padding:8px 10px}.app-layout{height:calc(100dvh - 68px);display:block}.sidebar{display:none}.workspace{height:100%}.workspace-heading{padding:24px 20px 22px}.workspace-heading h1{font-size:25px}.workspace-heading p{font-size:13px}.board-toolbar{padding:10px 14px}.view-label{font-size:12px}.toolbar-actions{gap:4px}.toolbar-actions .button{font-size:12px}.board-footer{padding:11px}.detail-panel{top:68px;width:100%;padding:24px}.summary-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}dialog{padding:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.brand-logo{width:42px;height:42px;border-radius:10px;object-fit:cover;flex:none}.brand{letter-spacing:-.8px}.app-header{border-top:3px solid #0bbdb6}.node.selected{border-color:#0aa79e;box-shadow:0 0 0 4px #b8eee440,0 5px 18px #063b3610}.board-viewport{background-color:#f4f9f9}.brand-text small{color:#70868c}@media(max-width:600px){.brand-logo{width:33px;height:33px}}

.production-card{background:#e4f7f4;border:1px solid #85d5cd;border-radius:14px;padding:20px}.production-card h3{font-size:20px;line-height:1.25;margin:10px 0}.production-card p{font-size:15px;line-height:1.5}.production-card progress{width:100%;accent-color:#008f89}.generated-preview video{display:block;width:100%;max-height:58vh;background:#101b1a;border-radius:12px;margin:16px 0;aspect-ratio:auto var(--media-ratio,9 / 16)}
/* Pendientes 229: mientras el video se lee del navegador, un marcador de su mismo tamaño (y el de «Ver zonas») para que nada se mueva. */
.preview-placeholder{display:block;width:100%;max-height:58vh;aspect-ratio:var(--media-ratio,9 / 16);background:#101b1a;border-radius:12px;margin:16px 0 calc(16px + var(--preview-extra,0px))}
.review-layout .rn-media .preview-placeholder{max-height:min(58vh,560px);margin:0 auto calc(6px + var(--preview-extra,0px))}.transcript-text{white-space:pre-wrap}.button:disabled{opacity:.55;cursor:not-allowed}.button[aria-busy=true]{cursor:progress}.production-details{margin-top:14px}
.density-panel{margin-bottom:20px}.density-panel h3{font-size:22px;line-height:1.25}.density-panel>p{line-height:1.5}.density-panel .choice-card{padding:13px 16px}.density-panel .choice-card p{margin:6px 0}.density-panel .button{margin-top:10px}.density-panel .ratio-bar{height:7px}
.detail-actions .button[hidden]{display:none}
.work-timing{font-variant-numeric:tabular-nums;font-weight:600;color:#006c66;min-height:1.4em}.sound-toggle{white-space:nowrap}@media(max-width:700px){.sound-toggle{font-size:12px;padding:8px}.app-header{gap:8px}}

.proposal-intro p{line-height:1.55}.proposal-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.proposal-chips span{background:#e4f7f4;color:#006c66;border-radius:20px;padding:6px 10px;font-size:14px}.general-proposal{border-top:2px solid #0bbdb6;margin:20px 0}.general-proposal h3{font-size:22px;line-height:1.3;margin:20px 0}.general-proposal section{padding:12px 0;border-bottom:1px solid #dfebe9}.general-proposal h4{font-size:16px;margin:0 0 8px;color:#006c66}.general-proposal p{font-size:16px;line-height:1.65;margin:0;white-space:pre-wrap}.script-reference{margin:20px 0}.script-reference div{white-space:pre-wrap;font-size:15px;line-height:1.6;padding:12px 0}

/* Project feedback, kept separate from client approvals. */
.feedback-toggle{position:fixed;bottom:20px;right:22px;z-index:25;border:1px solid #66dcd3;border-radius:28px;padding:13px 20px;background:#075c5c;color:white;font-weight:650;box-shadow:0 4px 22px #12393e30}.feedback-panel[hidden]{display:none}.feedback-panel{position:fixed;right:22px;bottom:80px;width:410px;max-width:calc(100vw - 24px);height:min(710px,calc(100dvh - 100px));z-index:26;display:flex;flex-direction:column;background:white;border:1px solid #9bdad4;border-radius:18px;box-shadow:0 12px 55px #12393e40;overflow:hidden}.feedback-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 10px}.feedback-heading h2{font-size:21px;margin:6px 0 0}.feedback-heading .eyebrow{font-size:12px}.feedback-mode{font-size:12px;color:#607887;padding:0 20px;margin:0 0 12px}.feedback-current{background:#e4f7f4;padding:14px 20px;border-block:1px solid #c1e8e3}.feedback-current strong{font-size:14px;color:#006c66}.feedback-current p{font-size:13px;line-height:1.5;white-space:pre-wrap;margin:5px 0}.feedback-current small{font-size:12px;color:#607887}.feedback-messages{overflow:auto;flex:1;min-height:90px;padding:14px 18px;overscroll-behavior:contain}.feedback-empty{color:#607887;font-size:14px;line-height:1.6}.feedback-message{border-radius:12px;background:#f1f5f6;padding:12px;margin-bottom:12px;overflow-wrap:anywhere}.feedback-message.from-user{background:#e4f7f4;margin-left:20px}.feedback-message>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.feedback-message time{color:#607887}.feedback-message p{font-size:14px;white-space:pre-wrap;line-height:1.5;margin:7px 0}.feedback-message small{font-size:12px;color:#607887}.feedback-quick{display:flex;gap:8px;padding:0 18px 10px}.feedback-panel form{padding:12px 18px;border-top:1px solid #e3e9ed}.feedback-panel label{display:block;font-size:12px;font-weight:650;margin-bottom:6px}.feedback-panel textarea{min-height:68px;max-height:120px;resize:vertical;font-size:14px}.feedback-submit{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}.feedback-submit small{font-size:12px;color:#607887}.feedback-panel .hint{font-size:12px;line-height:1.5;margin:9px 0 0}.detail-actions{padding-bottom:60px}@media(max-width:600px){.feedback-panel{right:12px;bottom:76px;height:calc(100dvh - 90px)}.feedback-toggle{right:12px;bottom:14px}.feedback-heading{padding-top:14px}.feedback-current{padding:10px 18px}}

.feedback-guide{margin-top:10px;padding-top:10px;border-top:1px solid #afd9d2}.feedback-guide p{font-size:12px;line-height:1.45}.feedback-guide .button{font-size:13px;padding:8px}.feedback-current{max-height:36%;overflow:auto;flex-shrink:0}.feedback-panel .feedback-heading{flex-shrink:0}.feedback-panel .feedback-messages{min-height:100px}.feedback-panel form{flex-shrink:0}.feedback-panel .feedback-mode{flex-shrink:0}@media(max-height:740px){.feedback-panel .hint{font-size:12px}.feedback-panel .feedback-heading .eyebrow{display:none}.feedback-panel form{padding-block:8px}.feedback-panel textarea{min-height:48px}.feedback-panel .feedback-current{max-height:30%}}

.feedback-current>p{display:none}.feedback-current{max-height:44%}.feedback-guide{margin-top:6px;padding-top:6px}.feedback-guide p{white-space:pre-line}.feedback-panel form .hint{font-size:12px}.feedback-panel textarea{min-height:48px}@media(max-height:740px){.feedback-panel .feedback-current{max-height:42%}}

.revision-status{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}.revision-status ol{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:6px}.revision-status li{font-size:12px;padding:5px 8px;border-radius:20px;background:#edf3f2;color:#465e5b}.revision-status li.reached{background:#ccf5ed;color:#07594f}.revision-status li[aria-current]{outline:2px solid #078b80}.revision-notes{white-space:pre-wrap}

.voice-comparison{padding:18px 0}.voice-comparison-row{padding:12px 0}.voice-comparison-row strong{display:block;margin-bottom:8px}.voice-comparison audio{width:100%;max-width:100%;height:38px}

.production-indicator{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#fff;border:1px solid #83c9c1;border-radius:9px;color:#075c5c;font-size:14px;line-height:1.4}.production-indicator-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;font-size:21px}.production-indicator.active .production-indicator-icon{width:18px;height:18px;border:2px solid #b8e1dc;border-top-color:#007d74;border-radius:50%;animation:production-spin 1s linear infinite}.production-indicator.stopped{color:#76501c;border-color:#cfa66b;background:#fff9eb}@keyframes production-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.production-indicator.active .production-indicator-icon{animation:none}}
.moment-progress{margin:14px 0 6px}.moment-progress p{margin:6px 0}.moment-stages{list-style:none;padding:0;margin:8px 0 0;font-size:14px;line-height:1.6}.moment-stages .is-done{color:#0b6b66}.moment-stages .is-now{font-weight:600}.moment-stages .is-next{color:#5b6b69}
/* Comentarios al lado del video (review-notes.js): lado a lado cuando hay espacio; en angosto, el video queda fijo arriba. */
.review-layout{container-type:inline-size;margin:16px 0}
.review-layout .rn-media .generated-preview video{margin:0 auto;max-height:min(58vh,560px);width:auto;max-width:100%}
.review-notes{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.review-notes h3{font-size:17px;margin:0}
.review-notes .hint{margin:0}
.rn-add label{display:flex;justify-content:space-between;font-weight:600;font-size:14px;margin-bottom:6px}
.rn-at{font-weight:500;color:var(--green);font-variant-numeric:tabular-nums}
.rn-row{display:flex;gap:8px}
.rn-row input{flex:1;min-width:0;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.rn-row input:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.rn-count{font-size:13px;color:var(--muted);margin:2px 0 0}
.rn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.rn-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
.rn-time{font:inherit;font-weight:600;font-variant-numeric:tabular-nums;color:var(--green);background:var(--mint);border:0;border-radius:8px;padding:2px 8px;cursor:pointer;min-height:28px}
.rn-text{flex:1;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.rn-remove{font:inherit;font-size:13px;color:var(--muted);background:none;border:0;text-decoration:underline;cursor:pointer;min-height:28px}
.rn-section{margin:6px 0 0}
.rn-section h3{font-size:15px}
.rn-section textarea{min-height:90px}
@container (min-width:560px){
 .rn-grid{display:grid;grid-template-columns:minmax(200px,42%) 1fr;gap:20px;align-items:start}
 .rn-media{position:sticky;top:116px}
 .review-notes{margin-top:0}
}
@container (max-width:559px){
 .rn-media{position:sticky;top:110px;z-index:3;background:#fff;padding:4px 0 8px;box-shadow:0 6px 8px -8px rgba(22,40,56,.35)}
 .review-layout .rn-media .generated-preview{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0}
 .review-layout .rn-media .szg-wrap{flex-basis:100%;display:flex;justify-content:center}
 .review-layout .rn-media .generated-preview video{max-height:28vh}
 .review-layout .rn-media .szg-toggle{width:auto;min-height:36px;padding:6px 12px;font-size:14px;margin:0}
}
.rn-confirm p{margin:0 0 8px}.rn-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}.rn-undo p{margin:0 0 10px}
/* Material para publicar en la ficha (delivery-sheet.js): servicios opcionales de copy y portada. */
.pub-box{border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;margin:12px 0}
.pub-box h3{margin:0 0 8px;font-size:17px}
.pub-item{display:block;text-align:left;margin:8px 0;cursor:pointer}
.pub-item input{margin-right:6px}
.pub-item p{margin:4px 0 0;font-size:14px;color:var(--muted)}
.pub-cover{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;margin:12px 0}
.pub-cover img{width:160px;height:auto;border-radius:10px;border:1px solid var(--line)}
.pub-cover>div{flex:1;min-width:200px}
.pub-change{margin:10px 0}
/* Safari en iPhone hace zoom al tocar un campo con letra menor a 16 px y la pantalla queda desajustada (prueba en iPhone, 03-10-2026). En celulares y pantallas táctiles, todos los campos usan 16 px. */
@media (max-width:899px),(pointer:coarse){input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{font-size:16px!important}}
/* Pendientes 174: el panel del chat siempre deja a la vista su encabezado y «Cerrar»: parte bajo la barra superior fija
   (que en el escenario mide hasta ~110 px con los momentos) y queda por encima de ella. Rige en todos los modos. */
.feedback-panel{height:min(710px,calc(100dvh - 200px));z-index:45}
.feedback-toggle{z-index:44}
@media(max-width:600px){.feedback-panel{height:calc(100dvh - 190px)}}
