:root{--navy:#0e1b31;--navy2:#142541;--ink:#182338;--muted:#66758d;--line:#dbe3ee;--soft:#f4f7fb;--white:#fff;--blue:#1f76d2;--cyan:#37b7d6;--green:#16875f;--orange:#f59e0b;--red:#d94d4d;--shadow:0 14px 36px rgba(22,39,68,.11)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--soft)}a{color:inherit}button,input,textarea,select{font:inherit}.hub{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.side{background:var(--navy);color:#fff;padding:26px 20px;position:sticky;top:0;height:100vh}.logo{font-weight:900;font-size:21px;letter-spacing:-.03em}.logo span{color:#56d6ef}.side small{color:#9eb1ca;display:block;margin-top:5px}.nav{display:grid;gap:7px;margin-top:28px}.nav button,.nav a{border:0;background:transparent;color:#b6c4d8;text-align:left;padding:12px 13px;border-radius:10px;text-decoration:none;cursor:pointer;font-weight:700}.nav button:hover,.nav a:hover,.nav button.active,.nav a.active{background:#1a3153;color:#fff}.main{padding:34px 38px;min-width:0}.section{display:none}.section.active{display:block}.top,.editor-top,.section-row,.actions,.input-action{display:flex;align-items:center;justify-content:space-between;gap:14px}.top,.editor-top{margin-bottom:25px}.h1{font-size:38px;line-height:1.05;margin:6px 0 8px;letter-spacing:-.045em}.sub{color:var(--muted);font-size:17px;line-height:1.55;margin:0;max-width:760px}.eyebrow,.kicker{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:900;color:var(--blue)}.grid{display:grid;gap:18px}.grid.stats{grid-template-columns:repeat(4,1fr);margin-bottom:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card,.editor-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.card{padding:22px}.stat-num{font-size:38px;font-weight:900;color:var(--navy)}.stat-label{color:var(--muted);font-weight:700}.action-card h2,.preview-card h2,.checklist h2{margin:7px 0 10px}.muted,.help{color:var(--muted)}.help{font-size:13px;line-height:1.45;margin:5px 0 16px}.btn{border:0;border-radius:10px;background:var(--blue);color:#fff;padding:11px 16px;font-weight:850;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn:hover{filter:brightness(.96)}.btn.secondary{background:#edf3fa;color:#234265;border:1px solid #cfdae8}.btn.danger{background:#fff0f0;color:#b33636;border:1px solid #efcaca}.btn.small{padding:8px 11px;font-size:13px}.library{padding:0;overflow:hidden}.library-tools{padding:17px;display:grid;grid-template-columns:1fr 190px;gap:12px;border-bottom:1px solid var(--line)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:17px 18px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}td b{font-size:16px}.pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:850;background:#eaf2fb;color:#265886}.pill.green{background:#e7f6ef;color:#117653}.pill.yellow{background:#fff5d9;color:#866600}.pill.blue{background:#e7f4fb;color:#176383}.progress{width:110px;height:8px;background:#e8edf4;border-radius:99px;overflow:hidden}.progress span{height:100%;display:block;background:linear-gradient(90deg,var(--cyan),var(--blue))}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}.editor-main{display:grid;gap:15px}.editor-panel{overflow:hidden}.editor-panel summary{list-style:none;padding:18px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:17px}.editor-panel summary::-webkit-details-marker{display:none}.editor-panel summary span{display:flex;align-items:center;gap:11px}.editor-panel summary b{width:28px;height:28px;border-radius:50%;background:#eaf4ff;color:var(--blue);display:inline-flex;align-items:center;justify-content:center}.editor-panel summary small{color:var(--muted)}.panel-body{border-top:1px solid var(--line);padding:20px}.editor-side{display:grid;gap:18px;position:sticky;top:20px}.sticky-actions{flex-wrap:wrap}label{display:block;font-weight:800;font-size:13px;margin:12px 0 7px}input,textarea,select{width:100%;border:1px solid #cbd7e5;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#5da5ed;box-shadow:0 0 0 3px rgba(60,139,220,.12)}textarea{min-height:88px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.input-action input{flex:1}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.choice{border:1px solid var(--line);padding:13px;border-radius:11px;cursor:pointer}.choice.active{border-color:var(--blue);background:#eef6ff}.choice span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.video-rows,.retailer-rows{display:grid;gap:11px}.video-row,.retailer-row{display:grid;gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f9fbfd}.video-row{grid-template-columns:120px 1fr 1.35fr auto auto auto auto}.retailer-row{grid-template-columns:140px 1.5fr 1fr 1fr auto auto}.video-row label,.retailer-row label{margin-top:0}.video-check,.retailer-active{white-space:nowrap;display:flex;align-items:center;gap:6px;padding-bottom:11px}.video-check input,.retailer-active input{width:auto}.preview-card{padding:18px}.preview-mini{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:14px;background:#fff}.preview-mini img{width:100%;height:220px;object-fit:contain;background:#f7f8fa}.preview-mini-body{padding:16px}.preview-mini h3{font-size:22px;margin:7px 0}.preview-mini p{line-height:1.45}.mini-buttons{display:flex;flex-wrap:wrap;gap:7px}.mini-buttons span{background:#eff5fb;color:#24476d;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:800}.health-item{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}.health-item.good{color:var(--green)}.health-item.missing{color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;background:var(--navy);color:#fff;padding:13px 17px;border-radius:11px;box-shadow:var(--shadow);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.empty{padding:32px;text-align:center;color:var(--muted)}
/* public site */body[data-page="product"],body[data-page="public-list"]{background:#fff}.public{max-width:1180px;margin:auto;padding:0 24px 50px}.pubnav{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf0}.pubnav .links{display:flex;gap:24px}.pubnav a{text-decoration:none;color:#45546a;font-weight:700}.pubnav a:hover{color:var(--blue)}.public .logo{color:var(--navy)}.public-hero{padding:64px 0 42px;text-align:center}.public-hero h1{font-size:54px;letter-spacing:-.05em;margin:8px auto 13px;max-width:800px}.public-hero p{max-width:700px;margin:auto;color:var(--muted);font-size:18px;line-height:1.55}.product-hero{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:54px;align-items:center;padding:50px 0 36px}.product-image-wrap{background:#f5f6f8;border-radius:22px;min-height:480px;display:flex;align-items:center;justify-content:center;padding:28px}.product-image-wrap img{max-width:100%;max-height:430px;object-fit:contain}.product-info h1{font-size:48px;line-height:1.04;letter-spacing:-.05em;margin:12px 0 16px}.product-info .lead{font-size:19px;line-height:1.55;color:#526178}.rating-line{display:flex;align-items:center;gap:10px;color:#9a6b00;font-weight:850}.buy-box{margin-top:22px;padding:18px;background:#f6f9fc;border:1px solid #dde6ef;border-radius:16px}.buy-box h3{margin:0 0 11px}.retailer-buttons{display:flex;flex-wrap:wrap;gap:10px}.retailer-buttons>span{display:flex;flex-direction:column;gap:4px}.retailer-button{background:var(--orange);color:#171717;border-radius:9px;padding:11px 15px;font-weight:900;text-decoration:none}.retailer-note{font-size:11px;color:var(--muted)}.price-note{font-size:12px;color:var(--muted);margin:11px 0 0}.content-shell{max-width:1180px;margin:0 auto}.review-nav{display:flex;gap:24px;border-top:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef;padding:15px 0;margin-bottom:36px;overflow:auto}.review-nav a{text-decoration:none;font-weight:800;color:#536176;white-space:nowrap}.review-section{padding:8px 0 34px}.review-section h2{font-size:30px;letter-spacing:-.03em;margin:0 0 15px}.review-section p,.review-section li{font-size:17px;line-height:1.65}.verdict-box{background:#edf6ff;border-left:5px solid var(--blue);padding:25px;border-radius:0 15px 15px 0}.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pc-card{border:1px solid var(--line);border-radius:15px;padding:21px}.pc-card h3{margin:0 0 13px}.check-list,.x-list{list-style:none;padding:0}.check-list li:before{content:'✓';color:var(--green);font-weight:900;margin-right:9px}.x-list li:before{content:'–';color:var(--red);font-weight:900;margin-right:9px}.video-feature{border-radius:17px;overflow:hidden;background:#111;aspect-ratio:16/9}.video-feature iframe{width:100%;height:100%;border:0}.youtube-fallback{display:inline-flex;margin-top:12px;font-weight:800;color:var(--blue)}.youtube-watch-card{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:#f7f9fc;border-radius:16px;padding:22px;text-decoration:none}.youtube-watch-card .play-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#ff0033;color:#fff;font-size:20px}.youtube-watch-card b,.youtube-watch-card small{display:block}.youtube-watch-card b{font-size:20px}.youtube-watch-card small{color:var(--muted);margin-top:4px}.video-links{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}.video-link{border:1px solid var(--line);border-radius:13px;padding:16px;text-decoration:none;font-weight:800;display:flex;align-items:center;gap:13px}.video-link small{display:block;color:var(--muted);margin-top:3px}.video-link .video-play{font-size:19px}.video-link .video-arrow{margin-left:auto;font-size:24px}.video-link.amazon-video-link{background:#fff7e7;border-color:#f4c56c;padding:19px}.video-link.amazon-video-link b{font-size:18px}.video-link.amazon-video-link .video-play,.video-link.amazon-video-link .video-arrow{color:#b86d00}.product-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.product-meta span{background:#f0f4f8;border-radius:999px;padding:7px 10px;color:#536176;font-size:13px}.disclosure{border-top:1px solid #e5e9ef;margin-top:25px;padding:25px 0;color:var(--muted);font-size:13px}.pubgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pubcard{border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff}.pubcard .imagebox{height:230px;display:flex;align-items:center;justify-content:center;background:#f6f7f9;border-radius:12px;margin-bottom:16px}.pubcard img{max-width:100%;max-height:100%;object-fit:contain}.pubcard h3{font-size:21px;margin:10px 0}.pubcard p{line-height:1.5}.pubcard .btn{margin-top:8px}.public h2.section-title{font-size:32px;margin:35px 0 20px}
@media(max-width:1050px){.hub{grid-template-columns:1fr}.side{height:auto;position:relative}.nav{display:flex;flex-wrap:wrap}.editor-layout{grid-template-columns:1fr}.editor-side{position:static}.video-row,.retailer-row{grid-template-columns:1fr 1fr}.grid.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.main{padding:24px 16px}.top,.editor-top{align-items:flex-start;flex-direction:column}.h1{font-size:32px}.grid.two,.form-row,.choices,.library-tools,.product-hero,.pros-cons,.pubgrid,.video-links{grid-template-columns:1fr}.grid.stats{grid-template-columns:1fr 1fr}.video-row,.retailer-row{grid-template-columns:1fr}.product-hero{gap:25px;padding-top:28px}.product-image-wrap{min-height:320px}.product-info h1,.public-hero h1{font-size:38px}.pubnav .links{gap:11px;font-size:13px}.public{padding-left:16px;padding-right:16px}}
.retailer-button.amazon-retailer{box-shadow:0 0 0 2px rgba(245,158,11,.18)}
/* v7 intake and retailer workflow */
.bulk-import{min-height:230px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.5}.import-cards{align-items:stretch}.future-box{display:grid;gap:10px;margin:18px 0;padding:18px;border:1px dashed var(--line,#cbd5e1);border-radius:16px;background:var(--soft,#f8fafc)}.future-box span{display:block;padding-left:22px;position:relative}.future-box span:before{content:'○';position:absolute;left:0;color:#2b77da}.import-review{margin-top:22px}.import-queue{display:grid;gap:10px;margin-top:16px}.import-item{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start;padding:15px;border:1px solid var(--line,#d9e2ef);border-radius:14px;background:#fff;cursor:pointer}.import-item:hover{border-color:#7fb4ef}.import-item input{margin-top:5px}.import-item span{display:grid;gap:4px}.import-item small{color:#64748b}.import-item em{font-style:normal;color:#789;overflow-wrap:anywhere;font-size:.82rem}.retailer-row-v7{grid-template-columns:minmax(130px,.7fr) minmax(260px,1.35fr) minmax(260px,1.35fr) minmax(170px,.8fr) minmax(170px,.8fr);align-items:end}.retailer-row-v7 .wide-field textarea{min-height:78px}.link-state{grid-column:1/4;padding:9px 12px;border-radius:10px;font-weight:700;font-size:.86rem}.link-state.ready{background:#e8f8ef;color:#087345}.link-state.needs{background:#fff7db;color:#8a6200}.link-state.empty{background:#f2f5f9;color:#64748b}@media(max-width:1150px){.retailer-row-v7{grid-template-columns:1fr 1fr}.link-state{grid-column:1/-1}}@media(max-width:700px){.retailer-row-v7{grid-template-columns:1fr}.link-state{grid-column:auto}.import-item{grid-template-columns:auto 1fr}}

/* v8 creator inbox */
.inbox-stamp{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 15px;min-width:180px}.inbox-stamp small,.inbox-stamp b{display:block}.inbox-stamp small{color:var(--muted);margin-bottom:3px}.drop-zone{border:2px dashed #b9c9dc;border-radius:16px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#f8fbff;cursor:pointer;margin:18px 0}.drop-zone:hover{border-color:var(--blue);background:#f1f7ff}.drop-zone span{font-weight:500;color:var(--muted)}.connector-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px}.connector-card h2{margin:6px 0}.connector-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.connector-flow span{background:#edf4fb;border:1px solid #d4e2f0;border-radius:10px;padding:10px 12px;font-weight:800}.inbox-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.video-preview-list{display:grid;gap:5px;margin-top:7px;padding:9px 11px;border-radius:10px;background:#f7f9fc;color:#536176;font-size:.82rem}.import-item.inbox-existing{background:#fbfdff}.import-item.inbox-needs-asin{background:#fffdf5}.import-review select{width:auto;min-width:150px}@media(max-width:900px){.connector-card{align-items:flex-start;flex-direction:column}.section-row{align-items:flex-start;flex-direction:column}.import-review .actions{width:100%;flex-wrap:wrap}.import-review select{width:100%}}

.api-status{margin-top:10px;padding:12px 14px;border:1px solid #d8dfe9;border-radius:10px;background:#f7f9fc;display:grid;gap:3px;font-size:13px}.api-status b{color:#233047}.api-status span{color:#667085}.api-status.loading{background:#fff8e8;border-color:#efd69a}.api-status.success{background:#ecfaf2;border-color:#bde5cc}.api-status.error{background:#fff1f1;border-color:#efc1c1}.api-status.error b{color:#a12f2f}

.settings-grid label{display:block;margin-top:14px;margin-bottom:6px;font-weight:700}.connection-checks{display:grid;gap:9px}.connection-check{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.connection-check span{color:var(--muted);font-size:12px;text-align:right}.connection-check.ready{background:#effaf3;border-color:#bfe4ca}.connection-check.needs{background:#fff8e8;border-color:#efd69a}.connection-ok{background:#effaf3!important;border-color:#bfe4ca!important}.connection-bad{background:#fff1f1!important;border-color:#efc2c2!important}.connection-product{display:grid;grid-template-columns:90px 1fr;gap:14px;align-items:center;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:12px}.connection-product img{width:90px;height:90px;object-fit:contain;background:#fff;border-radius:9px}.connection-product b,.connection-product span{display:block}.connection-product span{color:var(--muted);font-size:12px;margin-top:5px}

/* v11 streamlined publishing workflow */
.video-row-smart{grid-template-columns:120px minmax(250px,1.5fr) minmax(220px,1fr) auto auto auto auto auto}.video-row-smart .video-thumb-mini{width:72px;height:48px;object-fit:cover;border-radius:8px;align-self:center}.video-url-field .help{margin-bottom:0}.retailer-row-simple{grid-template-columns:140px minmax(300px,1.7fr) minmax(170px,.8fr) minmax(150px,.8fr) auto auto auto}.retailer-advanced{grid-column:1/-1;border:1px dashed var(--line);border-radius:10px;padding:8px 12px;background:#fff}.retailer-advanced summary{cursor:pointer;font-weight:800;color:var(--muted)}.retailer-advanced textarea{min-height:60px}.retailer-row-simple .link-state{grid-column:auto}.ai-copy-intro{padding:18px;border:1px solid #cfe2f7;background:#f3f8fe;border-radius:14px;margin-bottom:18px}.ai-copy-intro h3{margin:5px 0}.ai-copy-intro .btn{margin-top:4px}.trust-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.trust-chip{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f0f4f8;color:#536176;font-size:12px;font-weight:800}.amazon-title-note{font-size:12px!important;color:#8490a2!important;line-height:1.4!important;margin-top:-7px!important}.video-first-section{padding-top:24px}.section-heading-row{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-heading-row a{font-weight:800;color:var(--blue)}.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.related-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.related-card a{display:block;text-decoration:none;padding:14px;height:100%}.related-image{height:150px;display:flex;align-items:center;justify-content:center;background:#f6f7f9;border-radius:10px;margin-bottom:12px}.related-image img{max-width:100%;max-height:100%;object-fit:contain}.related-card h3{font-size:17px;line-height:1.25;margin:9px 0}.related-card p{font-size:14px;line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.related-card b{font-size:14px;color:var(--blue)}.compare-prompt{display:flex;gap:12px;align-items:center;margin-top:16px;padding:15px;border-radius:12px;background:#edf6ff}.compare-prompt span{color:var(--muted);font-size:14px}
@media(max-width:1100px){.video-row-smart,.retailer-row-simple{grid-template-columns:1fr 1fr}.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.video-row-smart,.retailer-row-simple,.related-grid{grid-template-columns:1fr}.section-heading-row,.compare-prompt{align-items:flex-start;flex-direction:column}.video-row-smart .video-thumb-mini{width:120px;height:68px}}

/* v11.1 library publishing controls */
.library-status-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.status-action{border:0;background:transparent;padding:5px 2px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.status-action.publish{color:var(--green)}.status-action.unpublish{color:#6b7280}.status-action:hover{opacity:.72}.pill.orange{background:#fff0df;color:#a54f00}.library-actions{flex-wrap:wrap}
@media(max-width:900px){.library-status-control{align-items:flex-start;flex-direction:column;gap:4px}}

.build-footer{padding:18px 28px;color:#64748b;font-size:12px;text-align:center}

.direct-url-fallback{margin-top:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbff}.direct-url-fallback label{display:block;font-weight:700;margin-bottom:7px}.direct-url-fallback .help{display:block;margin-top:7px}

/* v12.8 affiliate-link helper */
.link-maker{margin:0 0 18px;padding:18px;border:1px solid #cfe0f4;border-radius:16px;background:#f7fbff;display:grid;gap:12px}.link-maker h3{margin:3px 0 4px}.link-maker-actions{display:flex;gap:10px;flex-wrap:wrap}.api-status.compact{margin:0;padding:10px 12px}.api-status.compact span{display:block;margin-top:2px}@media(max-width:760px){.link-maker .input-action{grid-template-columns:1fr}.link-maker-actions .btn{width:100%}}

.section-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* v12.8.5 settings and affiliate workflow */
.affiliate-settings-card textarea{min-height:110px}.posttap-product-row{max-width:520px}.posttap-product-row select{width:100%}.section-actions{display:flex;gap:8px;flex-wrap:wrap}


/* v12.8.7 searchable comparison library */
.catalog-controls{margin:0 0 22px}.catalog-search{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(170px,.7fr) minmax(170px,.7fr) auto;gap:12px;align-items:end;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.catalog-search label{display:grid;gap:6px;font-weight:800;font-size:13px}.catalog-search input[type=search],.catalog-search select{width:100%}.tested-filter{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important;min-height:44px}.tested-filter input{width:auto}.catalog-count{margin-top:10px;color:var(--muted);font-weight:700}.compare-card{position:relative}.compare-check{position:absolute;z-index:2;top:12px;left:12px;display:flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 3px 14px rgba(15,23,42,.13);font-weight:850;cursor:pointer}.compare-check input{width:auto;margin:0}.card-image-link{text-decoration:none}.card-rating{color:#a86c00;margin:4px 0 8px}.card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:auto}.text-link{font-weight:800;color:var(--blue)}.compare-tray{position:fixed;z-index:50;left:50%;bottom:20px;transform:translate(-50%,140%);width:min(720px,calc(100% - 28px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:16px;background:#15233b;color:#fff;box-shadow:0 18px 55px rgba(15,23,42,.3);transition:.25s}.compare-tray.show{transform:translate(-50%,0)}.compare-tray-info{display:flex;align-items:center;gap:9px}.compare-tray .count-badge{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#15233b;font-weight:900}.compare-tray-actions{display:flex;gap:9px}.compare-tray .btn:disabled{opacity:.55;cursor:not-allowed}.compare-tray .tray-clear{background:transparent;color:#fff;border:0;text-decoration:underline;cursor:pointer}.compare-hero{text-align:center;padding:54px 20px 30px}.compare-hero h1{font-size:clamp(34px,5vw,60px);line-height:1.03;margin:10px auto;max-width:1100px}.compare-hero h1 span{color:var(--blue);font-size:.58em;margin:0 .15em}.compare-hero p{color:var(--muted);font-size:18px}.compare-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.compare-table{border-collapse:collapse;width:100%;min-width:820px}.compare-table th,.compare-table td{padding:16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:top;text-align:left}.compare-table th:first-child{width:170px;background:#f7f9fc}.compare-table thead th{background:#fff;min-width:230px}.compare-table thead th:first-child{background:#f7f9fc}.compare-table a{text-decoration:none;color:inherit}.compare-image{height:190px;display:flex;align-items:center;justify-content:center;background:#f7f8fa;border-radius:13px;margin-bottom:12px}.compare-image img{max-width:100%;max-height:100%;object-fit:contain}.compare-table strong{display:block;font-size:18px;line-height:1.25;margin-bottom:9px}.compare-buy{display:grid;gap:8px}.compare-buy .btn{width:100%;text-align:center}.compare-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0}.compare-notes{border:1px solid var(--line);border-radius:18px;background:#fff;padding:24px}.compare-notes h2{margin-top:0}.compare-pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.compare-pros-cons>div{padding:14px;border-radius:13px;background:#f7f9fc}.compare-pros-cons h3{margin-top:0;font-size:15px}.compare-pros-cons ul{padding-left:19px;margin-bottom:0}.compare-video-feature{max-width:1000px;margin:30px auto}.compare-footer-actions{text-align:center;margin:28px}.compare-empty{text-align:center;margin:60px auto}.comparison-category{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:25px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:16px}.comparison-category h2{margin:5px 0}.comparison-stack{display:flex}.comparison-stack img{width:70px;height:70px;object-fit:contain;background:#f7f8fa;border:3px solid #fff;border-radius:50%;margin-left:-16px}.comparison-stack img:first-child{margin-left:0}.comparison-category .btn{white-space:nowrap}@media(max-width:900px){.catalog-search{grid-template-columns:1fr 1fr}.comparison-category{grid-template-columns:1fr}.comparison-stack{justify-self:start}.compare-notes-grid{grid-template-columns:1fr}}@media(max-width:620px){.catalog-search{grid-template-columns:1fr}.compare-tray{align-items:stretch;flex-direction:column}.compare-tray-actions{width:100%}.compare-tray-actions .btn{flex:1}.compare-pros-cons{grid-template-columns:1fr}.compare-hero{padding-top:32px}}

.import-limit-note{display:flex;gap:10px;align-items:flex-start;padding:13px 15px;border:1px solid #bfd5ef;border-radius:12px;background:#eef6ff;color:#315477}.import-limit-note b{white-space:nowrap}.import-limit-note span{line-height:1.45}@media(max-width:700px){.import-limit-note{display:grid}.import-limit-note b{white-space:normal}}

/* v13.2 Smart Product Enrichment */
.bulk-enrichment-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8fbff}.bulk-enrichment-bar>div{display:flex;flex-direction:column;gap:3px}.bulk-enrichment-bar span{font-size:13px;color:var(--muted)}.bulk-check{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.bulk-analyze-progress{padding:16px;border-bottom:1px solid var(--line);background:#fff}.bulk-progress-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:8px}.bulk-progress{max-width:none;width:100%;height:9px}.bulk-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#1fb4c9,#2379d8)}@media(max-width:900px){.bulk-enrichment-bar{align-items:stretch;flex-direction:column}.bulk-check{white-space:normal}}

.import-auto-check{margin-top:14px;display:flex;align-items:flex-start;gap:9px}.import-auto-check input{margin-top:3px}.import-review #importRunProgress{margin:0 0 16px}

/* v14 Product Scanner */
.scanner-bar{align-items:flex-start;gap:18px;flex-wrap:wrap}.scanner-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;flex:1}.scanner-controls label{font-size:11px;font-weight:700;color:#52647d;display:flex;flex-direction:column;gap:4px}.scanner-controls select{min-width:150px;padding:9px 10px;border:1px solid #d8e1ed;border-radius:9px;background:#fff}.scanner-controls .bulk-check{flex-direction:row;align-items:center;min-height:38px;font-size:12px}.bulk-analyze-progress{position:relative}.bulk-progress span{transition:width .2s ease}

/* v14.2 content polish and safe draft preview */
.source-title{min-height:78px;background:#f5f8fc;color:#53657f}
.draft-preview-banner{position:sticky;top:0;z-index:20;display:flex;justify-content:center;gap:12px;align-items:center;padding:12px 20px;background:#fff3cd;border-bottom:1px solid #e4c66b;color:#594600}
.draft-preview-banner b{text-transform:uppercase;letter-spacing:.08em}
.draft-preview-mode .pubnav{margin-top:0}
.preview-mini h3{overflow-wrap:anywhere}

/* v14.3 quick-take and media polish */
.quick-take-zone{margin:0 0 34px;padding:26px;border:1px solid #cbdff7;border-left:5px solid #1976d2;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 12px 30px rgba(25,73,125,.08)}
.quick-take-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.quick-take-head h2{margin:4px 0 0;font-size:clamp(1.5rem,3vw,2rem)}
.quick-rating{white-space:nowrap;font-weight:700;color:#8a5500;background:#fff;border:1px solid #f0d59a;border-radius:999px;padding:8px 12px}
.quick-summary{font-size:1.08rem;line-height:1.65;margin:0 0 18px}.quick-take-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:0 0 18px}.quick-take-grid>div{background:#fff;border:1px solid #dbe7f5;border-radius:13px;padding:15px}.quick-take-grid h3{margin:0 0 8px;font-size:.95rem}.quick-take-grid p,.quick-take-grid ul{margin:0}.quick-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.quick-actions .retailer-button{width:auto}.keep-reading{margin:14px 0 0;color:#53677e;font-size:.92rem;font-weight:600}
@media(max-width:650px){.quick-take-head{display:block}.quick-rating{display:inline-block;margin-top:12px}.quick-take-zone{padding:20px}.quick-actions .btn,.quick-actions .retailer-button{width:100%;text-align:center}}
.summary-generator-bar{margin-top:14px;border-top:1px solid var(--line);background:linear-gradient(135deg,#f6fbff,#eef7ff)}
.summary-review-row{display:flex;align-items:center;justify-content:flex-end;margin-top:8px}
.related-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.related-choice{display:flex!important;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;cursor:pointer}
.related-choice>input{width:auto!important;margin-top:18px}
.related-choice>span{display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;gap:2px 9px;min-width:0;align-items:center}
.related-choice img{grid-row:1/3;width:54px;height:54px;object-fit:contain;border-radius:8px;background:#f7f9fc}
.related-choice b{font-size:13px;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.related-choice small{color:var(--muted);font-size:11px}
.related-choice:has(input:checked){border-color:#1976d2;background:#eef7ff;box-shadow:0 0 0 1px #1976d2 inset}
.quick-take-zone .quick-take-grid h3{font-size:14px}
@media(max-width:760px){.related-suggestions{grid-template-columns:1fr}}

/* v14.5 Product Library workflow polish */
.library-tools-v145{align-items:stretch;gap:12px}.library-search-group{display:flex;gap:8px;flex:1}.library-search-group input{flex:1;min-width:0}.library-search-group .btn{white-space:nowrap}.library-result-summary{padding:10px 18px;border-top:1px solid var(--line,#dbe4ef);border-bottom:1px solid var(--line,#dbe4ef);font-size:.9rem;color:var(--muted,#60708a);background:#f8fbff}.library-result-summary b{color:var(--ink,#13233d)}
@media(max-width:760px){.library-tools-v145,.library-search-group{flex-direction:column}.library-tools-v145 select{width:100%}}

/* v15 YouTube Channel Sync */
.youtube-sync-grid{align-items:stretch}
.youtube-library-card{padding:0;overflow:hidden}
.youtube-library-card>.library-tools{padding:16px;border-bottom:1px solid var(--line)}
.youtube-media-rows{display:grid}
.youtube-media-item{display:grid;grid-template-columns:190px 1fr;gap:18px;padding:20px;border-bottom:1px solid var(--line)}
.youtube-media-item:last-child{border-bottom:0}
.youtube-thumb{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#edf2f7}
.youtube-thumb img{width:100%;height:100%;object-fit:cover}
.youtube-thumb>span{position:absolute;inset:0;display:grid;place-items:center;font-size:34px;color:#fff;text-shadow:0 2px 8px #000;background:linear-gradient(transparent,rgba(0,0,0,.18))}
.youtube-media-main{min-width:0}
.youtube-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.youtube-title-row b{display:block;font-size:17px;line-height:1.3}
.youtube-title-row small{display:block;margin-top:5px;color:var(--muted)}
.youtube-product-matches{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px;margin:15px 0}
.youtube-product-choice{display:block;cursor:pointer}
.youtube-product-choice input{position:absolute;opacity:0;pointer-events:none}
.youtube-product-choice span{display:grid;grid-template-columns:44px 1fr;column-gap:9px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
.youtube-product-choice input:checked+span{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset;background:#eef7ff}
.youtube-product-choice img{width:44px;height:44px;object-fit:contain;border-radius:7px;background:#f5f7fa;grid-row:1/3}
.youtube-product-choice b{font-size:12px;line-height:1.2}
.youtube-product-choice small{font-size:10px;color:var(--muted)}
.shared-youtube-editor{margin:8px 0 16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbff}
.editor-youtube-matches{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.editor-youtube-match{display:grid;grid-template-columns:auto 1fr;gap:2px 7px;align-items:center;max-width:340px;text-align:left;padding:8px 10px;border:1px solid #cbd8e8;border-radius:10px;background:#fff;cursor:pointer}
.editor-youtube-match>span{grid-row:1/3;color:#d23b2d}
.editor-youtube-match b{font-size:12px;line-height:1.2}
.editor-youtube-match small{font-size:10px;color:var(--muted)}
.editor-youtube-match.attached{border-color:#168342;background:#effaf3}
.youtube-settings-grid{margin-top:18px}
#youtubeTestPreview .connection-product{margin-top:14px}
@media(max-width:800px){
  .youtube-media-item{grid-template-columns:1fr}
  .youtube-thumb{max-width:340px}
  .youtube-title-row{display:block}
  .youtube-title-row .btn{margin-top:10px}
}

/* v15.1 YouTube pipeline */
.pipeline-grid{display:grid;gap:16px;margin-bottom:18px}
.pipeline-stage{display:grid;grid-template-columns:48px 1fr;gap:15px;align-items:start}
.pipeline-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1677d2;color:#fff;font-size:20px;font-weight:800}
.pipeline-stage h2{margin:4px 0 6px}
.media-pager{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;border-top:1px solid var(--line)}
.youtube-library-card{padding:0;overflow:hidden}
.youtube-library-card>.library-tools{padding:16px;border-bottom:1px solid var(--line)}
.youtube-media-rows{display:grid}
.youtube-media-item{display:grid;grid-template-columns:190px 1fr;gap:18px;padding:20px;border-bottom:1px solid var(--line)}
.youtube-media-item:last-child{border-bottom:0}
.youtube-thumb{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#edf2f7}
.youtube-thumb img{width:100%;height:100%;object-fit:cover}
.youtube-thumb>span{position:absolute;inset:0;display:grid;place-items:center;font-size:34px;color:#fff;text-shadow:0 2px 8px #000;background:linear-gradient(transparent,rgba(0,0,0,.18))}
.youtube-media-main{min-width:0}
.youtube-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.youtube-title-row b{display:block;font-size:17px;line-height:1.3}
.youtube-title-row small{display:block;margin-top:5px;color:var(--muted)}
.youtube-product-matches{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px;margin:15px 0}
.youtube-product-choice{display:block;cursor:pointer}
.youtube-product-choice input{position:absolute;opacity:0;pointer-events:none}
.youtube-product-choice span{display:grid;grid-template-columns:44px 1fr;column-gap:9px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
.youtube-product-choice input:checked+span{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset;background:#eef7ff}
.youtube-product-choice img{width:44px;height:44px;object-fit:contain;border-radius:7px;background:#f5f7fa;grid-row:1/3}
.youtube-product-choice b{font-size:12px;line-height:1.2}
.youtube-product-choice small{font-size:10px;color:var(--muted)}
@media(max-width:800px){.pipeline-stage{grid-template-columns:1fr}.youtube-media-item{grid-template-columns:1fr}.youtube-thumb{max-width:340px}.youtube-title-row{display:block}}

/* v15.3 YouTube link analysis */
.youtube-link-analysis{margin-top:16px;border:1px solid #dbe6f2;border-radius:14px;background:#f8fbff;padding:16px}
.youtube-analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:12px 0}
.youtube-analysis-stat{background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:12px}
.youtube-analysis-stat b{display:block;font-size:1.35rem;color:#12233d}.youtube-analysis-stat span{display:block;color:#64748b;font-size:.84rem;margin-top:3px}
.youtube-analysis-note{margin-top:10px;color:#52647a;font-size:.9rem}
.youtube-link-reason{margin-top:10px;border:1px solid #e4eaf1;border-radius:10px;background:#f8fafc;padding:9px 11px;font-size:.84rem;color:#475569}
.youtube-link-reason b{color:#18263b}.youtube-link-reason ul{margin:6px 0 0 18px;padding:0}.youtube-link-reason li{margin:2px 0}
.youtube-link-reason.good{background:#f0fdf4;border-color:#bbf7d0}.youtube-link-reason.warn{background:#fffaf0;border-color:#fde68a}.youtube-link-reason.bad{background:#fff5f5;border-color:#fecaca}

/* v15.4.7 related-product workflow */
.related-choice{position:relative;display:flex;align-items:center;gap:10px;padding:14px 150px 14px 14px}
.related-choice>label{display:block;width:100%;cursor:pointer}
.related-choice>label>span{display:flex;align-items:center;gap:12px}
.related-choice .related-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.related-choice .related-copy .pill{font-style:normal;width:max-content}
.related-choice .related-open{position:absolute;right:14px;top:50%;transform:translateY(-50%);white-space:nowrap}
.related-choice.selected{border-color:#1f7ae0;background:#eef6ff}
.btn.tiny{padding:8px 11px;font-size:12px}
@media(max-width:720px){.related-choice{padding-right:14px;flex-direction:column;align-items:stretch}.related-choice .related-open{position:static;transform:none;width:100%}}


/* v15.4.8 bulk publishing and related draft workflow */
.bulk-publish-card{display:grid;gap:18px}.bulk-publish-controls label{display:grid;gap:5px;font-size:.82rem;font-weight:700}.bulk-publish-controls select{min-width:100px}.bulk-publish-actions{align-items:center}.bulk-publish-actions #bulkPublishBtn{margin-left:auto}.bulk-safety-note{padding:14px 16px;border:1px solid #b9d8ff;background:#f1f7ff;border-radius:12px;color:#31506f}.bulk-publish-rows{display:grid;gap:10px}.bulk-publish-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce5f0;border-radius:14px;padding:12px;background:#fff}.bulk-publish-row.selected{border-color:#2382e8;background:#eef7ff}.bulk-publish-row>label{display:flex;align-items:center;gap:12px;flex:1;cursor:pointer}.bulk-publish-image{width:64px;height:54px;display:grid;place-items:center;border-radius:9px;background:#f4f7fb;overflow:hidden}.bulk-publish-image img{width:100%;height:100%;object-fit:contain}.bulk-publish-copy{display:grid;gap:3px}.bulk-publish-copy small,.bulk-publish-copy em{color:#687b94;font-style:normal}.related-choice .related-open{white-space:nowrap}@media(max-width:700px){.bulk-publish-row{align-items:flex-start;flex-direction:column}.bulk-publish-row>button{width:100%}.bulk-publish-actions #bulkPublishBtn{margin-left:0;width:100%}}

/* v15.5 publishing pipeline */
.pipeline-job-card{margin-top:18px}.pipeline-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.pipeline-secondary-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.editor-status-top{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#60708c}.editor-status-top select{min-width:125px;padding:10px 12px}.recommendation-rating{max-width:220px;margin:14px 0}.recommendation-rating select{width:100%}@media(max-width:900px){.pipeline-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sticky-actions{align-items:stretch}.editor-status-top{width:100%;justify-content:space-between}}

/* v15.6 production pipeline */
.pipeline-stat-card{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.pipeline-stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(30,58,95,.12)}
.pipeline-batch-result{margin:14px 0 20px;padding:18px;border:1px solid #9ed4ae;background:#f2fbf5;border-radius:16px}.pipeline-batch-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.pipeline-batch-head h3{margin:3px 0}.pipeline-result-list{display:grid;gap:9px;margin-top:14px}.pipeline-result-row{display:grid;grid-template-columns:34px 64px minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid #dbe7df;border-radius:12px;padding:10px}.pipeline-result-row.failed{border-color:#efc5c5;background:#fff8f8}.pipeline-result-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dff4e5;color:#08783a;font-weight:900}.pipeline-result-row.failed .pipeline-result-icon{background:#fbe4e4;color:#b42318}
.bulk-publish-row{display:grid!important;grid-template-columns:82px 72px minmax(240px,1fr) auto auto;justify-content:stretch!important}.pipeline-select{display:flex!important;align-items:center!important;justify-content:center;gap:7px!important;min-width:0}.pipeline-select input{width:18px;height:18px}.check-label{font-size:.78rem;color:#64748b}.pipeline-row-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.pipeline-readiness{display:flex;gap:6px;flex-wrap:wrap;max-width:260px}.mini-check{font-size:.74rem;padding:5px 7px;border-radius:999px;background:#f1f5f9;color:#64748b}.mini-check.good{background:#e7f7ed;color:#08783a}
.pipeline-activity-card{margin-top:18px}.pipeline-activity-list{display:grid;gap:8px}.pipeline-activity-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 4px;border-bottom:1px solid #e6edf5}.pipeline-activity-item:last-child{border-bottom:0}.pipeline-activity-item div{display:grid;gap:2px}.pipeline-activity-item small{color:#6b7c93}.activity-dot{width:10px;height:10px;border-radius:50%;background:#4b8ad6}.activity-dot.link{background:#1b9a59}.activity-dot.publish{background:#7b61d1}.activity-dot.error{background:#d64545}.empty.compact{padding:12px}
@media(max-width:1100px){.bulk-publish-row{grid-template-columns:70px 64px minmax(220px,1fr) auto}.pipeline-readiness{grid-column:3/5}.pipeline-row-actions{grid-column:3/5}}
@media(max-width:760px){.pipeline-batch-head{align-items:flex-start;flex-direction:column}.pipeline-result-row{grid-template-columns:30px 54px 1fr}.pipeline-result-row .pipeline-row-actions{grid-column:2/4}.bulk-publish-row{grid-template-columns:58px 58px 1fr!important}.pipeline-readiness,.pipeline-row-actions{grid-column:2/4}.check-label{display:none}}

/* v15.8 trust, video and progress polish */
.today-progress-card{margin:18px 0}.today-progress-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}.today-progress-grid>div{padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fbff;display:flex;flex-direction:column;gap:4px}.today-progress-grid b{font-size:30px;color:var(--navy)}.today-progress-grid span{color:var(--muted);font-weight:700;font-size:13px}@media(max-width:900px){.today-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v16.0 AI Content Engine */
.dave-highlights{margin:22px 0 8px;padding:18px;border:1px solid rgba(15,23,42,.1);border-radius:18px;background:rgba(255,255,255,.72)}
.highlights-label{display:block;margin-bottom:10px;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}
.highlight-badges{display:flex;flex-wrap:wrap;gap:9px}
.highlight-badges span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef8f1;color:#166534;font-weight:750;font-size:.9rem;border:1px solid #ccebd5}

/* v16.3 comparison-ready related products */
.section-intro{margin:.4rem 0 0;color:var(--muted);font-size:14px}
.compare-ready-grid{grid-template-columns:repeat(4,minmax(190px,1fr))}
.compare-card{position:relative;padding-top:42px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.compare-card:has(.public-compare-check:checked){border-color:#1f7ae0;box-shadow:0 0 0 2px rgba(31,122,224,.13)}
.compare-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(22,45,75,.09)}
.compare-select{position:absolute;top:11px;left:12px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#314760;cursor:pointer;z-index:2}
.compare-select input{width:17px;height:17px;margin:0;accent-color:#1976d2}
.related-card-link{padding-top:4px!important}
.related-brand{font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-top:9px}
.related-highlights{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 12px}
.related-highlights span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#edf9f0;border:1px solid #c7e7cf;color:#166b36;font-size:10px;font-weight:800}
.compare-action-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:16px 18px;border:1px solid #cfe2f7;border-radius:14px;background:#edf6ff}
.compare-action-bar>div{display:grid;gap:3px}.compare-action-bar span{color:var(--muted);font-size:13px}.compare-action-bar .btn:disabled{opacity:.48;cursor:not-allowed}
.compare-modal{display:none;position:fixed;inset:0;z-index:9999}.compare-modal.open{display:block}.compare-modal-backdrop{position:absolute;inset:0;background:rgba(10,24,43,.62)}
.compare-modal-panel{position:relative;width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:24px auto;background:#fff;border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.3);overflow:hidden}
.compare-modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.compare-modal-head h2{margin:3px 0 0}.compare-close{border:0;background:#eef3f8;border-radius:999px;width:40px;height:40px;font-size:28px;line-height:1;cursor:pointer}
.comparison-scroll{overflow:auto;max-height:calc(100vh - 150px)}.comparison-table{width:100%;border-collapse:collapse;min-width:720px}.comparison-table th,.comparison-table td{padding:14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.comparison-table thead th{position:sticky;top:0;background:#f8fbff;z-index:1}.comparison-table tbody th{width:130px;background:#f8fbff}.compare-product-head{display:grid;gap:8px;font-size:14px;line-height:1.25}.compare-product-head img{width:88px;height:72px;object-fit:contain;background:#fff;border-radius:10px}
body.compare-open{overflow:hidden}
@media(max-width:900px){.compare-ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.compare-ready-grid{grid-template-columns:1fr}.compare-action-bar{align-items:stretch;flex-direction:column}.compare-action-bar .btn{width:100%}.compare-modal-panel{width:calc(100vw - 16px);margin:8px auto;max-height:calc(100vh - 16px)}}

/* v16.3.1 reliable inline product comparison */
.compare-modal.inline-open{display:block;position:relative;inset:auto;z-index:auto;margin-top:18px;border:1px solid #b9d8f7;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(20,64,110,.10);overflow:hidden}
.inline-comparison-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line);background:#f5faff}
.inline-comparison-head h2{margin:3px 0 4px}.inline-comparison-head p{margin:0;color:var(--muted)}
.compare-modal.inline-open .comparison-scroll{max-height:none;overflow-x:auto}
.compare-modal.inline-open .comparison-table thead th{position:static}
@media(max-width:620px){.inline-comparison-head{flex-direction:column}.inline-comparison-head .btn{width:100%}}

/* v16.3.2 resilient comparison fallback */
.comparison-fallback-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-top:18px}
.comparison-fallback-card{border:1px solid #d7e3ef;border-radius:16px;padding:16px;background:#fff}
.comparison-fallback-card img{display:block;width:100%;height:150px;object-fit:contain;background:#f6f8fb;border-radius:12px;margin-bottom:12px}
.comparison-fallback-card h3{margin:0 0 10px;font-size:1rem;line-height:1.3}
.comparison-fallback-card p{margin:5px 0;font-size:.9rem}


/* v16.4 shopping experience polish */
.related-subgroup{margin-top:24px}.related-subhead{margin-bottom:12px}.related-subhead h3{font-size:21px;margin:0 0 4px}.related-subhead p{margin:0;color:var(--muted);font-size:14px}.compare-ready-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.related-card{position:relative}.related-card-link{padding:16px!important}.related-image{height:185px}.related-card h3{font-size:18px}.related-highlights,.compare-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.related-highlights span,.compare-chip-list span{display:inline-flex;align-items:center;background:#edf8f1;color:#187347;border:1px solid #bee5cc;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800}.related-media{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}.media-chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:850;white-space:nowrap}.media-chip.youtube{background:#fff0f2;color:#b91c35;border:1px solid #ffcbd3}.media-chip.amazon{background:#fff7e6;color:#9a6200;border:1px solid #f2d28d}.compare-product-head img{width:112px;height:92px}.comparison-table td .media-chip{margin:2px}.comparison-table td .compare-chip-list{margin:0}.final-retailer-cta{margin:16px 0 34px;padding:30px;border:1px solid #d8e5f2;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#fff9ed);text-align:center}.final-retailer-cta h2{font-size:30px;margin:7px 0 8px}.final-retailer-cta p{max-width:720px;margin:0 auto 18px;color:var(--muted)}.final-retailer-cta .retailer-buttons{justify-content:center}.final-retailer-cta small{display:block;color:var(--muted);margin-top:12px}.compare-select{z-index:3}
@media(max-width:900px){.compare-ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.compare-ready-grid{grid-template-columns:1fr}.related-image{height:210px}.final-retailer-cta{padding:24px 18px}.final-retailer-cta h2{font-size:25px}}

/* v16.5 Search-to-Publish workspace */
.pipeline-search-workspace{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:end;padding:16px;border:1px solid #cfe1f7;background:#f6faff;border-radius:14px}.pipeline-search-box{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px}.pipeline-search-box input{min-height:43px}.pipeline-search-workspace>label{display:grid;gap:5px;font-size:.82rem;font-weight:700}.pipeline-search-workspace select{min-height:43px}.bulk-publish-card #bulkPublishSearchSummary{margin-top:-6px}.bulk-publish-card #bulkPublishBtn:disabled{opacity:.55;cursor:not-allowed}.bulk-publish-card .bulk-analyze-progress{margin:0}
@media(max-width:850px){.pipeline-search-workspace{grid-template-columns:1fr}.pipeline-search-box{grid-template-columns:1fr 1fr}.pipeline-search-box input{grid-column:1/3}}
@media(max-width:520px){.pipeline-search-box{grid-template-columns:1fr}.pipeline-search-box input{grid-column:auto}.pipeline-search-box .btn{width:100%}}

/* v17.0 Product Library workflow */
.stat-card{display:block;width:100%;text-align:left;border:1px solid var(--line,#dbe5f0);cursor:pointer;background:#fff}.stat-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,70,120,.12);border-color:#7db7ff}.stat-card small{display:block;margin-top:8px;color:#2877cf;font-weight:700}.dashboard-workflow{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:20px}.dashboard-workflow h2{margin:5px 0}.library-bulk-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;background:#eef7ff;border:1px solid #b9d9fb;border-radius:12px;margin:14px 0}.library-bulk-toolbar select{min-width:240px}.select-col{width:76px;text-align:center}.select-col input,[data-library-select]{width:18px;height:18px}.selected-row{background:#f1f8ff}.pill.blue{background:#e3f0ff;color:#075faf}.library-status-control small{display:block;margin-top:5px;color:#63748a}.library-actions{flex-wrap:wrap}@media(max-width:900px){.dashboard-workflow,.library-bulk-toolbar{align-items:stretch;flex-direction:column}.library-bulk-toolbar .actions{width:100%;flex-wrap:wrap}.library-bulk-toolbar select{min-width:0;flex:1}}

.library-render-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 12px}.library-render-controls .muted{font-size:13px}.table-wrap{content-visibility:auto;contain-intrinsic-size:800px}

/* v17.1 Product Workflow Automation */
.workflow-command-center{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(240px,1fr) auto;gap:22px;align-items:center;margin:18px 0;border:1px solid rgba(38,132,255,.28);background:linear-gradient(135deg,rgba(38,132,255,.08),rgba(23,191,142,.06))}.workflow-command-copy h2{margin:.15rem 0 .35rem}.workflow-command-options{display:grid;gap:8px}.workflow-command-options .bulk-check{margin:0}.workflow-progress{margin:0 0 18px}.workflow-stage-grid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:8px;margin-top:12px}.workflow-stage-grid span{display:flex;flex-direction:column;padding:10px;border-radius:10px;background:rgba(255,255,255,.05);font-size:.78rem}.workflow-stage-grid b{font-size:1.2rem}.nav button[data-section="bulk"],.nav button[data-section="import"],.nav button[data-section="new"]{display:none}@media(max-width:1000px){.workflow-command-center{grid-template-columns:1fr}.workflow-stage-grid{grid-template-columns:repeat(3,1fr)}}

/* v17.2 simple creator workflow */
.library-advanced-tools{margin:14px 0;padding:16px;border:1px dashed #b7c9dc;border-radius:12px;background:#f8fbfe}.library-advanced-tools[hidden]{display:none!important}.advanced-tools-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.advanced-tools-heading b{display:block;font-size:1rem;margin-top:3px}.advanced-tools-heading p{margin:4px 0 0}.simple-workflow-toolbar{position:sticky;top:0;z-index:12;box-shadow:0 8px 22px rgba(28,74,122,.08)}.simple-workflow-toolbar .workflow-actions{margin-left:auto}.simple-workflow-toolbar #libraryRunBulkBtn{min-width:190px;font-weight:800}.workflow-progress{margin:0 0 18px;border-color:#9fc8f5;background:#f6fbff}@media(max-width:900px){.simple-workflow-toolbar{position:static}.simple-workflow-toolbar .workflow-actions{margin-left:0}.simple-workflow-toolbar #libraryRunBulkBtn{width:100%}}

/* v17.3.1 YouTube resolver diagnostics */
.youtube-resolver-log{margin-top:10px;border-top:1px solid rgba(127,127,127,.22);padding-top:8px}
.youtube-resolver-log summary{cursor:pointer;font-weight:700;font-size:.88rem}
.youtube-resolver-steps{display:grid;gap:8px;margin-top:8px}
.youtube-resolver-step{border:1px solid rgba(127,127,127,.24);border-radius:10px;padding:10px;background:rgba(255,255,255,.025);display:grid;gap:6px;min-width:0}
.youtube-resolver-step.good{border-left:4px solid #45a66b}.youtube-resolver-step.bad{border-left:4px solid #c86262}
.youtube-resolver-step-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.youtube-resolver-step-head span{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.youtube-resolver-step code{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:.76rem}
.youtube-resolver-step small{opacity:.76}.resolver-asin{font-size:.9rem}.resolver-error{font-size:.84rem;color:#b94c4c}
.youtube-resolver-step.warn{border-left:4px solid #d9a441;background:#fffaf0}.youtube-resolver-step.warn .youtube-resolver-step-head span{color:#9a6500}


/* v17.4 Content Health */
.content-health-dashboard{margin-top:18px}.content-health-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0}.content-health-grid button{background:var(--surface,#fff);border:1px solid var(--border,#dfe5ea);border-radius:12px;padding:14px 10px;text-align:left;cursor:pointer}.content-health-grid button:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(20,35,50,.08)}.content-health-grid b{display:block;font-size:1.55rem}.content-health-grid span{display:block;font-size:.82rem;color:var(--muted,#667085);margin-top:3px}.content-health-action{margin-top:12px;padding:12px;border:1px solid #dfe7ef;border-radius:12px;background:#f8fafc}.content-health-action>div:first-child{display:grid;gap:2px}.content-health-action span,.content-health-action small{display:block}.content-health-action .actions{margin-top:10px}.health-warning{margin-top:9px;color:#9a6700}.youtube-link-reason.good{border-left-color:#299764}.youtube-link-reason.warn{border-left-color:#d79a00}.youtube-link-reason.bad{border-left-color:#c43d3d}@media(max-width:1000px){.content-health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.content-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v17.5 Product Health */
.product-health-dashboard{margin-top:1rem}.product-health-editor{padding:1rem;margin:.9rem 0;border:1px solid var(--line,#d8dee8);border-radius:14px;background:rgba(245,247,250,.75)}.pill.red{background:#fee2e2;color:#991b1b}.pill.purple{background:#ede9fe;color:#5b21b6}.pill.gray{background:#e5e7eb;color:#374151}.library-status-control small{display:block;max-width:280px;margin-top:.3rem;line-height:1.25}.content-health-grid button b{font-variant-numeric:tabular-nums}

/* v17.6 product archive and content migration */
.migration-panel{margin-top:1rem;padding:1rem;border:1px solid #cbdcf0;border-radius:14px;background:#f8fbff}.migration-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.migration-head h3{margin:.2rem 0}.migration-head p{margin:.25rem 0;color:#60738f}.migration-checks{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.migration-checks label,.migration-video>label{display:flex;align-items:center;gap:.45rem;font-weight:600}.migration-videos{border-top:1px solid #dbe5f1;padding-top:.8rem}.migration-video{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:.75rem 1rem;align-items:center;padding:.8rem 0;border-bottom:1px solid #e2eaf4}.migration-video small{display:block;color:#6c7e99;margin-top:.2rem}.migration-video>label{font-size:.88rem}@media(max-width:800px){.migration-head,.migration-video{display:block}.migration-head .btn,.migration-video .actions{margin-top:.6rem}.migration-video>label{margin-top:.5rem}}
.product-family-editor{margin-top:1rem;padding:1rem;border:1px solid #dbe6f2;border-radius:14px;background:#f8fbff}.product-family-editor textarea{min-height:92px}.family-match-panel{margin-top:.8rem}.family-summary{display:flex;justify-content:space-between;gap:1rem;align-items:center}.family-summary small{display:block;color:#64748b;margin-top:.25rem}.asin-chip-list{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}.asin-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .65rem;border-radius:999px;background:#e8f2ff;border:1px solid #bdd8f8;font-weight:700}.asin-chip button{border:0;background:transparent;cursor:pointer;font-size:1.1rem}.family-suggestions{margin-top:.85rem;border-top:1px solid #dbe6f2;padding-top:.75rem}.family-suggestions>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #e7eef6}.family-suggestions span small{display:block;color:#64748b}.pill.purple{background:#f0e7ff;color:#6d28d9}.library-actions{flex-wrap:wrap}
.youtube-refresh-report{margin:10px 0;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;display:grid;gap:6px}.youtube-refresh-report.success{border-color:#86efac;background:#f0fdf4}.youtube-refresh-report.error{border-color:#fca5a5;background:#fef2f2}.youtube-refresh-report>div{display:flex;gap:8px;flex-wrap:wrap}.youtube-refresh-report ul{margin:2px 0 0 20px;padding:0}.youtube-refresh-report li{margin:2px 0}

/* v19.2 Amazon scan bridge */
.connector-card .actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:.9rem}.api-status.compact.success{border-color:#7dcf9a;background:#f2fff6}.api-status.compact.error{border-color:#e59a9a;background:#fff5f5}


/* v19.2.5 Amazon scan report */
.amazon-scan-modal{position:fixed;inset:0;background:rgba(10,25,48,.58);z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}.amazon-scan-dialog{background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.28);width:min(760px,96vw);max-height:86vh;overflow:auto;padding:24px}.amazon-scan-summary{display:flex;flex-direction:column;gap:4px;background:#eef6ff;border:1px solid #cfe2fa;border-radius:12px;padding:14px;margin:14px 0}.amazon-scan-summary span,.amazon-scan-row small{color:#60738f}.amazon-scan-list{display:grid;gap:8px;margin-bottom:18px}.amazon-scan-row{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce6f2;border-radius:10px;padding:11px 12px;background:#fff}.amazon-scan-row input{margin-top:4px}.amazon-scan-row span{display:flex;flex-direction:column;gap:3px}.amazon-scan-row.unresolved{background:#fff8e9;border-color:#f1d99c}.amazon-scan-list details{margin-top:8px}.amazon-scan-list summary{cursor:pointer;font-weight:700;padding:8px 0}.library-tools-v145>select#librarySort{min-width:170px}
