/* P08/P09 shared content-strategy layout. Business state remains page-specific. */
.content-strategy-page{min-width:0;padding:30px 24px 78px;background:#f7f5ef;color:#10251f}
.content-strategy-shell{width:min(1180px,100%);margin:0 auto;min-width:0}
.content-strategy-heading{display:grid;grid-template-columns:max-content max-content 1fr;align-items:center;column-gap:8px;margin-bottom:24px}
.content-strategy-heading>a,.content-strategy-heading>b,.content-strategy-heading>span{color:#64756f;font-size:12px;text-decoration:none}
.content-strategy-heading>a:hover,.content-strategy-heading>a:focus-visible{color:#0b6a55;text-decoration:underline}
.content-strategy-heading h1{grid-column:1/-1;margin:14px 0 7px;font-size:clamp(28px,3.2vw,42px);line-height:1.08;letter-spacing:-.035em}
.content-strategy-heading p{grid-column:1/-1;max-width:720px;margin:0;color:#68766f;line-height:1.65}
.content-strategy-layout{display:grid;grid-template-columns:150px minmax(0,660px) minmax(0,250px);gap:18px;align-items:start;min-width:0}
.content-strategy-main,.content-strategy-context{display:grid;gap:18px;min-width:0}
.content-strategy-workflow,.content-strategy-input,.content-strategy-results,.content-strategy-snapshot,.content-strategy-next{border:1px solid #dde1d9;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(16,37,31,.045)}
.content-strategy-workflow{padding:20px 14px}
.content-strategy-workflow h2{margin:0 0 20px;font-size:16px}
.content-strategy-workflow ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.content-strategy-workflow li{position:relative;display:grid;grid-template-columns:27px 1fr;gap:9px;min-height:70px;margin:0}
.content-strategy-workflow li:not(:last-child)::after{content:"";position:absolute;left:13px;top:29px;bottom:3px;width:1px;background:#d9dfd6}
.content-strategy-workflow li>span{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;border:1px solid #d5dcd2;border-radius:50%;background:#fff;color:#75827c;font-size:12px;font-weight:700}
.content-strategy-workflow li b{display:block;margin-top:3px;font-size:13px;line-height:1.35}
.content-strategy-workflow li small{display:block;margin-top:3px;color:#78857f;font-size:12px;line-height:1.45}
.content-strategy-workflow li em{display:block;margin-top:2px;color:#9aa39f;font-size:12px;font-style:normal;letter-spacing:.04em}
.content-strategy-workflow li.complete>span{border-color:#84bc50;background:#eef8df;color:#45742a}
.content-strategy-workflow li.active>span{border-color:#9fdb52;background:#a9e950;color:#173122}
.content-strategy-workflow li.active b{color:#0b6a55}
.content-strategy-input,.content-strategy-results{min-width:0;padding:22px}
.content-strategy-input>header,.content-strategy-results>header,.content-strategy-snapshot>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.content-strategy-input>header span,.content-strategy-results>header span,.content-strategy-next>span{display:block;color:#0b6a55;font-size:12px;font-weight:700;letter-spacing:.14em}
.content-strategy-input h2,.content-strategy-results h2,.content-strategy-next h2,.content-strategy-snapshot h2{margin:5px 0 0;font-size:20px;line-height:1.2}
.content-strategy-input>header>a{color:#0b6a55;font-size:12px;font-weight:700;text-decoration:none}
.content-strategy-input label:not(.sr-only){display:block;margin:19px 0 8px;color:#31443d;font-size:12px;font-weight:700}
.content-strategy-inline-input{display:grid;grid-template-columns:1fr 116px;gap:10px}
.content-strategy-inline-input input,.content-strategy-copy-input textarea{width:100%;border:1px solid #d7ddd4;border-radius:11px;background:#fff;color:#10251f;font:inherit}
.content-strategy-inline-input input{height:46px;padding:0 13px}
.content-strategy-copy-input textarea{display:block;min-height:220px;margin-top:18px;padding:16px;resize:vertical;line-height:1.7}
.content-strategy-inline-input input:focus,.content-strategy-copy-input textarea:focus{border-color:#6b9f3f;outline:3px solid rgba(169,233,79,.32)}
.content-strategy-input button,.content-strategy-next button,.content-strategy-next a{display:inline-grid;min-height:44px;place-items:center;border:1px solid #a4db51;border-radius:10px;background:#a9e950;color:#173122;font:inherit;font-size:13px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
.content-strategy-input button{padding:0 16px}
.content-strategy-input button:disabled,.content-strategy-next button:disabled{border-color:#e1e4dd;background:#eff1eb;color:#939c97;cursor:not-allowed}
.content-strategy-input>p,.content-strategy-input-foot p{margin:12px 0 0;color:#748079;font-size:12px;line-height:1.6}
.content-strategy-input-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}
.content-strategy-input-foot p{max-width:420px;margin:0}
.content-strategy-live{margin-top:12px;padding:10px 12px;border-radius:9px;background:#f0f5e9;color:#4c6058;font-size:12px;line-height:1.5}
.content-strategy-input>[data-video-parser-retry],.content-strategy-input>[data-reference-copy-retry]{margin-top:10px;padding:0 15px;border-color:#d8ddd5;background:#fff}
.content-strategy-results>header{padding-bottom:15px;border-bottom:1px solid #e7e9e3}
.content-strategy-result-copy{margin:14px 0;color:#697871;font-size:12px;line-height:1.6}
.content-strategy-status{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#eef1eb;color:#67736e;font-size:12px;white-space:nowrap}
.content-strategy-status.success{background:#eaf7d9;color:#49722f}.content-strategy-status.partial,.content-strategy-status.failed,.content-strategy-status.cancelled{background:#fff0eb;color:#a5483f}.content-strategy-status.waiting,.content-strategy-status.processing{background:#fff6d8;color:#77600f}
.content-strategy-video{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:18px 0}
.content-strategy-video-media{min-height:142px;border-radius:12px;background:#eef1eb;overflow:hidden}
.content-strategy-video-media img{width:100%;height:100%;object-fit:cover}
.content-strategy-media-empty{display:grid;min-height:142px;place-items:center;color:#8d9893;font-size:12px;text-align:center}
.content-strategy-video small{color:#78857f;font-size:12px}.content-strategy-video h3{margin:6px 0 12px;font-size:17px;line-height:1.4}
.content-strategy-video dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:0}
.content-strategy-video dl div{display:grid;grid-template-columns:46px 1fr;gap:6px;font-size:12px}.content-strategy-video dt{color:#86908b}.content-strategy-video dd{margin:0;color:#3f5049;overflow-wrap:anywhere}
.content-strategy-video a{display:inline-block;margin-top:12px;color:#0b6a55;font-size:12px;font-weight:700;text-decoration:none}
.content-strategy-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.content-strategy-module{min-width:0;min-height:148px;padding:15px;border:1px solid #e2e5df;border-radius:12px;background:#fbfcf8;overflow-wrap:anywhere}
.content-strategy-module header{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.content-strategy-module header span{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#10251f;color:#a9e950;font-size:12px;font-weight:700;flex:none}
.content-strategy-module h3{margin:0;font-size:13px;line-height:1.35}
.content-strategy-module p{margin:0 0 8px;color:#475a52;font-size:12px;line-height:1.62;white-space:pre-wrap}
.content-strategy-module ul{margin:0;padding-left:16px;color:#5d6d66;font-size:12px;line-height:1.55}
.content-strategy-module-empty{display:grid;min-height:76px;place-items:center;color:#929c97;font-size:12px;text-align:center}
.reference-copy-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.reference-copy-v2-module{min-height:0;padding:18px;background:#fcfdf9}
.reference-copy-v2-module.reference-copy-core_summary,.reference-copy-v2-module.reference-copy-rewrite_suggestions{grid-column:1/-1}
.reference-copy-v2-module>header{padding-bottom:11px;border-bottom:1px solid #ebeee8}
.reference-copy-core-summary{margin:0!important;color:#30483e!important;font-size:15px!important;line-height:1.85!important}
.reference-copy-semantic-field{padding:10px 0;border-top:1px solid #e7ebe3}.reference-copy-semantic-field:first-child{padding-top:0;border-top:0}.reference-copy-semantic-field h4{margin:0 0 6px;color:#718078;font-size:12px;line-height:18px}.reference-copy-semantic-field p{margin:0!important;color:#344b41!important;font-size:14px!important;line-height:22px!important;white-space:pre-wrap}
.reference-copy-structure{display:grid;gap:10px;margin:0 0 12px;padding:0;list-style:none}.reference-copy-structure li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px}.reference-copy-structure li>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#eaf7d9;color:#4c792d;font-size:12px;font-weight:700}.reference-copy-structure b{display:block;color:#263d34;font-size:14px;line-height:22px}.reference-copy-structure p{margin:3px 0 0!important;color:#66766f!important;font-size:13px!important;line-height:20px!important}
.reference-copy-pair-list{display:grid;gap:9px}.reference-copy-pair-list article{padding:12px;border:1px solid #e1e7dd;border-radius:10px;background:#fff}.reference-copy-pair-list article>span{display:block;margin-bottom:5px;color:#0b6a55;font-size:11px;font-weight:700;letter-spacing:.08em}.reference-copy-pair-list article>b{display:block;color:#283f36;font-size:14px;line-height:22px}.reference-copy-pair-list article>p{margin:5px 0 0!important;color:#68776f!important;font-size:13px!important;line-height:20px!important}
.reference-copy-formula{margin-bottom:12px;padding:14px;border-radius:10px;background:#10251f;color:#b7ed67;font-size:15px;font-weight:700;line-height:24px;white-space:pre-wrap}
.content-strategy-source,.content-strategy-protocol{margin-top:12px;padding:10px 12px;border-radius:9px;background:#f5f7f1;color:#4f6059;font-size:12px}
.content-strategy-source pre,.content-strategy-protocol pre{max-height:250px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}
.content-strategy-protocol summary{cursor:pointer;font-weight:700}.content-strategy-protocol ul{margin:10px 0 0;padding-left:18px}.content-strategy-protocol li{margin:5px 0;line-height:1.55}
.video-parser-meta{min-width:0;padding:18px 0 16px}.video-parser-meta h3{margin:10px 0 12px;font-size:20px;line-height:1.45;overflow-wrap:anywhere}.video-parser-task-number{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:7px;background:#edf7f4;color:#2e756d;font-size:12px;font-weight:700}.video-parser-meta dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;margin:0}.video-parser-meta dl div{min-width:0}.video-parser-meta dt{color:#86908b;font-size:12px}.video-parser-meta dd{margin:2px 0 0;color:#3f5049;overflow-wrap:anywhere}.video-parser-meta a{display:inline-block;margin-top:13px;color:#0b6a55;font-size:12px;font-weight:700;text-decoration:none}.video-parser-legacy-note{margin:0 0 14px;padding:9px 11px;border:1px dashed #bfd7cb;border-radius:8px;background:#fbfdfb;color:#567469;font-size:12px}
.video-parse-module-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.video-parse-module{min-width:0;padding:18px;border:1px solid #e0e5dc;border-radius:13px;background:#fbfcf8;overflow-wrap:anywhere}
.video-parse-module>summary{display:flex;align-items:center;gap:10px;margin:-18px -18px 0;padding:18px;list-style:none;cursor:pointer}.video-parse-module>summary::-webkit-details-marker{display:none}.video-parse-module[open]>summary{margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #e7ebe3}.video-parse-module>summary span{display:grid;width:29px;height:29px;place-items:center;border-radius:50%;background:#10251f;color:#a9e950;font-size:12px;font-weight:700;flex:none}.video-parse-module>summary h3{margin:0;font-size:17px;line-height:26px}.video-parse-module>summary i{margin-left:auto;color:#84918b;font-style:normal;transition:transform .18s}.video-parse-module[open]>summary i{transform:rotate(180deg)}
.video-parse-field+.video-parse-field{margin-top:13px}.video-parse-field h4{margin:0 0 6px;color:#60716a;font-size:12px;line-height:18px}.video-parse-field>span{color:#32463e;font-size:14px;line-height:22px;white-space:pre-wrap}
.content-strategy-value-empty{color:#929c97!important;font-size:12px!important;line-height:18px!important}
.video-parse-value-list{display:grid;gap:6px;margin:0;padding-left:18px;color:#3f5149;font-size:14px;line-height:22px}.video-parse-value-list .video-parse-value-list{margin-top:5px}
.video-parse-value-object{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:0}.video-parse-value-object>div{display:grid;grid-template-columns:minmax(72px,auto) 1fr;gap:7px;padding:7px 0;border-bottom:1px solid #edf0ea;font-size:12px;line-height:18px}.video-parse-value-object dt{color:#7d8983}.video-parse-value-object dd{min-width:0;margin:0;color:#31443d;text-align:right;overflow-wrap:anywhere}.video-parse-value-object ul{text-align:left}
.video-parse-evidence-list{display:grid;gap:9px}.video-parse-evidence-list article{padding:12px;border:1px solid #e4e8df;border-radius:10px;background:#fff}.video-parse-evidence-list header{display:flex;align-items:center;justify-content:space-between;gap:10px}.video-parse-evidence-list header b{font-size:14px;line-height:22px}.video-parse-evidence-list header span{padding:3px 8px;border-radius:999px;background:#eaf7d9;color:#49722f;font-size:12px}.video-parse-evidence-list p{margin:8px 0;color:#42564d;font-size:14px;line-height:22px;white-space:pre-wrap}.video-parse-evidence-list small{color:#78857f;font-size:12px}.video-parse-limitations{padding:11px 12px;border-radius:9px;background:#fff7e8;color:#6e5727}.video-parse-limitations .video-parse-value-list{color:inherit}
.content-strategy-context{position:sticky;top:76px}
.content-strategy-snapshot,.content-strategy-next{padding:18px}
.content-strategy-snapshot header{padding-bottom:14px;border-bottom:1px solid #e6e9e2}
.content-strategy-snapshot header>div>span{color:#6f7d76;font-size:12px}
.content-strategy-snapshot h2{font-size:16px}
.content-strategy-snapshot dl{display:grid;gap:0;margin:10px 0 0}
.content-strategy-snapshot dl div{display:grid;grid-template-columns:72px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #eef0eb;font-size:12px;line-height:1.45}
.content-strategy-snapshot dt{color:#89938e}.content-strategy-snapshot dd{margin:0;color:#32463e;overflow-wrap:anywhere;text-align:right}
.content-strategy-next p{margin:10px 0 15px;color:#718079;font-size:12px;line-height:1.65}
.content-strategy-next button,.content-strategy-next a{width:100%;padding:0 12px}
.content-strategy-history{margin-top:13px;border-top:1px solid #e5e8e1;padding-top:12px}
.content-strategy-history summary{color:#0b6a55;font-size:12px;font-weight:700;cursor:pointer}
.v151-reference-history{display:grid;gap:7px;margin-top:10px}.v151-reference-history button{display:grid;gap:3px;width:100%;padding:9px;border:1px solid #e1e5dd;border-radius:9px;background:#fafbf8;color:#21382f;text-align:left;cursor:pointer}.v151-reference-history button.active{border-color:#83b64e;background:#f0f7e8}.v151-reference-history button span{color:#0b6a55;font-size:12px;font-weight:700}.v151-reference-history button b{font-size:12px}.v151-reference-history button small,.v151-reference-history-empty{color:#7e8984;font-size:12px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.content-strategy-page button:focus-visible,.content-strategy-page a:focus-visible,.content-strategy-page input:focus-visible,.content-strategy-page textarea:focus-visible,.content-strategy-page summary:focus-visible{outline:3px solid rgba(11,106,85,.28);outline-offset:2px}
@media(max-width:1100px){.content-strategy-layout{grid-template-columns:132px minmax(0,1fr) 230px}.content-strategy-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.content-strategy-page{padding-inline:18px}.content-strategy-layout{grid-template-columns:1fr}.content-strategy-workflow{overflow-x:auto}.content-strategy-workflow h2{margin-bottom:12px}.content-strategy-workflow ol{grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px}.content-strategy-workflow li{min-height:auto}.content-strategy-workflow li:not(:last-child)::after{display:none}.content-strategy-context{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.reference-copy-v2-grid{grid-template-columns:1fr}.reference-copy-v2-module.reference-copy-core_summary,.reference-copy-v2-module.reference-copy-rewrite_suggestions{grid-column:auto}}
@media(max-width:620px){.content-strategy-page{padding:22px 14px 58px}.content-strategy-heading h1{font-size:30px}.content-strategy-input,.content-strategy-results{padding:17px}.content-strategy-inline-input{grid-template-columns:1fr}.content-strategy-input-foot{align-items:stretch;flex-direction:column}.content-strategy-input-foot button{width:100%}.content-strategy-video{grid-template-columns:1fr}.content-strategy-module-grid,.video-parse-module-grid,.content-strategy-context,.reference-copy-v2-grid{grid-template-columns:1fr}.content-strategy-module{min-height:130px}.reference-copy-v2-module{min-height:0}.content-strategy-copy-input textarea{min-height:190px}.video-parse-value-object,.video-parser-meta dl{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.content-strategy-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* V154 staging correction: parser/copy pages follow typography v1.1. */
.v154-viral-reference-page .content-strategy-input>header span,
.v154-viral-reference-page .content-strategy-results>header span{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-input h2,
.v154-viral-reference-page .content-strategy-results h2{font-size:20px;line-height:30px;font-weight:600}
.v154-viral-reference-page .content-strategy-input>header>a,
.v154-viral-reference-page .content-strategy-input label:not(.sr-only){font-size:14px;line-height:22px}
.v154-viral-reference-page .content-strategy-inline-input input,
.v154-viral-reference-page .content-strategy-copy-input textarea{font-size:14px;line-height:22px}
.v154-viral-reference-page .content-strategy-input button,
.v154-viral-reference-page .content-strategy-next button,
.v154-viral-reference-page .content-strategy-next a{font-size:14px;line-height:22px}
.v154-viral-reference-page .content-strategy-input>p,
.v154-viral-reference-page .content-strategy-input-foot p,
.v154-viral-reference-page .content-strategy-live,
.v154-viral-reference-page .content-strategy-result-copy{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-status{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-video small,
.v154-viral-reference-page .content-strategy-video dl div,
.v154-viral-reference-page .content-strategy-video a{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-video h3,
.v154-viral-reference-page .content-strategy-module h3{font-size:17px;line-height:26px;font-weight:600}
.v154-viral-reference-page .content-strategy-module header span{font-size:12px}
.v154-viral-reference-page .content-strategy-module p{font-size:14px;line-height:22px}
.v154-viral-reference-page .content-strategy-module ul,
.v154-viral-reference-page .content-strategy-module-empty,
.v154-viral-reference-page .content-strategy-source,
.v154-viral-reference-page .content-strategy-protocol{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-snapshot header>div>span,
.v154-viral-reference-page .content-strategy-snapshot dl div,
.v154-viral-reference-page .content-strategy-next p,
.v154-viral-reference-page .content-strategy-history summary,
.v154-viral-reference-page .v151-reference-history button span,
.v154-viral-reference-page .v151-reference-history button small,
.v154-viral-reference-page .v151-reference-history-empty{font-size:12px;line-height:18px}
.v154-viral-reference-page .content-strategy-snapshot h2,
.v154-viral-reference-page .v151-reference-history button b{font-size:14px;line-height:22px}

/* V157 stable, non-sensitive video-parse failure diagnostics. */
.video-parse-diagnostic{display:grid;gap:6px;margin:10px 0;padding:12px;border:1px solid #e2b1a9;border-radius:10px;background:#fff5f2;color:#63342f}.video-parse-diagnostic b{font-size:14px}.video-parse-diagnostic p,.video-parse-diagnostic small{margin:0;line-height:1.55}.video-parse-diagnostic small{color:#7b5752}.video-parse-diagnostic dl{display:flex;flex-wrap:wrap;gap:7px 14px;margin:4px 0 0}.video-parse-diagnostic dl>div{display:flex;gap:5px}.video-parse-diagnostic dt{color:#87645f}.video-parse-diagnostic dd{margin:0;font-weight:700;overflow-wrap:anywhere}
