.asin-tags{display:flex;flex-wrap:wrap;gap:8px}.asin-tags .chip{padding:4px 4px 4px 12px;border:1px solid #5684c4}.asin-tags button{padding:3px 7px;border:0}
#brief-ai-button{justify-self:end;color:#cfbfff;background:#372960;padding:6px 12px}textarea[name=features]{min-height:420px}
.brief-ai-row{display:flex;align-items:center;gap:10px;width:100%}.brief-ai-row #brief-ai-button{flex-shrink:0;margin-left:auto}#brief-status{min-width:0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.purple b{background:#7253b9}.amber b{background:#986708}.teal b{background:#267b8b}.gray b{background:#586477}
.keyword.embedded .status{color:#7ce3b7;border-color:#3c9874;background:#123b2d}.keyword.missing .status{color:#ffd38a;border-color:#a67c34;background:#3d3018}
.keyword small{display:block;color:var(--muted);line-height:1.6;margin-top:8px}.metrics{flex-wrap:wrap;gap:8px}
.embedded-terms{margin-top:14px;color:#7ce3b7;line-height:1.7}.embedded-terms span{display:inline-block;border:1px solid #387257;border-radius:6px;padding:2px 7px;margin:3px}
.chips{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding-top:10px}
.chips .chip{display:block;flex:0 1 auto;min-width:0;max-width:min(100%,360px);padding:5px 8px;white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.7;font-size:12px}
.chips .chip b{display:inline;padding:2px 5px;margin-right:5px;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-size:11px}
.phrase-analysis h4,.embedded-terms h4{margin:12px 0 8px;font-size:13px;color:var(--muted)}
.coverage-term{padding:8px 0;border-top:1px dashed var(--line);overflow-wrap:anywhere}.coverage-list p,.primary-keyword,.coverage-empty{margin:6px 0;font-size:12px}
.embedded-terms .matched-text{display:block;border:0;padding:0;margin:3px 0;color:var(--muted);font-size:12px}
.keyword-sources{display:flex;flex-wrap:wrap;gap:4px}.embedded-terms .source-badge{font-size:11px;padding:1px 5px;margin:0}
.app-shell{grid-template-columns:minmax(300px,24fr) minmax(480px,52fr) minmax(270px,24fr)}button:disabled{opacity:.5;cursor:wait}
@media(max-width:1250px){.app-shell{grid-template-columns:minmax(280px,1fr) minmax(430px,2fr)}}
@media(max-width:780px){.app-shell{grid-template-columns:minmax(0,1fr)}.topbar b{font-size:16px}}
.bullet-card .bullet-heading{color:#bda8ff;font-weight:800;letter-spacing:.02em}
.draft-warning{padding:12px 14px;border:1px solid #9a6c38;border-radius:10px;background:#362a1e;color:#ffd49b;line-height:1.6}
.bullet-review{margin:10px 0;padding:9px 11px;border-left:3px solid #e4a450;border-radius:6px;background:#35291e;color:#ffd49b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.listing-disclaimer{margin:32px 0 8px;padding:18px 20px;border-top:1px solid rgba(148,163,184,.25);color:#94a3b8;font-size:12px;line-height:1.8;text-align:center}
.workspace-frame{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.workspace-main{min-width:0}.workspace-navigation{position:sticky;top:0;align-self:start;height:100vh;display:flex;flex-direction:column;padding:28px 14px;border-right:1px solid var(--line);background:#10162e}.nav-brand{display:flex;align-items:center;gap:10px;padding:4px 12px 30px;font-size:17px;font-weight:800;white-space:nowrap}.nav-brand small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:500}.nav-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#7252ec,#b48cff)}.nav-links{display:grid;gap:8px}.nav-links button{display:flex;align-items:center;gap:11px;width:100%;padding:13px 15px;border:1px solid transparent;background:transparent;text-align:left;color:#aeb9d8;font-weight:700}.nav-links button span{font-size:17px}.nav-links button:hover,.nav-links button.active{color:#fff;background:linear-gradient(100deg,rgba(139,105,255,.26),rgba(84,216,237,.09));border-color:rgba(154,124,255,.4)}.nav-footnote{margin:auto 12px 0;color:#7181aa;font-size:10px;letter-spacing:.08em}.history-view{max-width:1160px;min-height:100vh;margin:auto;padding:54px 42px}.history-header{display:flex;justify-content:space-between;align-items:center;gap:24px}.history-header h1{font-size:34px;margin:0 0 10px}.history-header p:last-child{color:var(--muted);line-height:1.6}.history-header button,.history-empty button{background:linear-gradient(100deg,#6d54e8,#9d78ff);border:0;color:#fff}.history-toolbar{display:flex;align-items:center;gap:14px;margin:36px 0 16px}.history-toolbar label{display:block;white-space:nowrap}.history-toolbar input{width:min(100%,420px)}.history-toolbar span{color:var(--muted);font-size:12px}#history-notice{color:#ffd38a;min-height:20px}.history-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.history-card{min-width:0;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 16px 44px rgba(0,0,0,.15)}.history-card h2{margin:10px 0;font-size:18px}.history-card p{color:#abb7d9;line-height:1.5;overflow-wrap:anywhere}.history-card small{color:var(--muted)}.history-card-actions{display:flex;gap:9px;margin-top:20px}.history-card-actions button:first-child{background:#6d54e8;color:#fff;border:0}.history-card-actions button:last-child{color:#ffb6c7}.history-empty{text-align:center;padding:90px 20px;border:1px dashed var(--line);border-radius:20px;color:var(--muted)}.history-empty>span{font-size:32px;color:var(--purple)}.history-empty h2{color:#fff}
@media(max-width:1450px){.app-shell{grid-template-columns:minmax(280px,1fr) minmax(430px,2fr)}.library-panel{grid-column:1/-1}.keyword-cards{grid-template-columns:repeat(2,1fr);max-height:none}}
@media(max-width:780px){.app-shell{grid-template-columns:minmax(0,1fr)}.library-panel{grid-column:auto}.keyword-cards{grid-template-columns:1fr}.workspace-frame{display:block}.workspace-navigation{position:sticky;top:0;z-index:20;width:100%;height:auto;padding:9px 12px;border-right:0;border-bottom:1px solid var(--line);background:rgba(16,22,46,.96)}.nav-brand{display:none}.nav-links{grid-template-columns:1fr 1fr;gap:8px}.nav-links button{justify-content:center;padding:10px 6px}.nav-footnote{display:none}.history-view{padding:28px 16px}.history-header{align-items:flex-start;flex-direction:column}.history-header h1{font-size:27px}.history-toolbar{align-items:stretch;flex-wrap:wrap}.history-toolbar input{width:100%}}
@media(min-width:1160px){.app-shell{grid-template-columns:minmax(265px,27%) minmax(360px,1fr) minmax(235px,24%);gap:14px;padding:20px}.app-shell .panel{padding:18px}.library-panel{grid-column:auto}.keyword-cards{grid-template-columns:1fr;max-height:calc(100vh - 250px)}}
.promotion-frame{display:block;width:100%;height:calc(100dvh - 68px);border:0;background:#090c19}
button.nav-brand{width:100%;margin:0;border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left}
button.nav-brand:hover .nav-brand-mark{box-shadow:0 0 24px rgba(154,124,255,.45)}
.history-view{min-height:calc(100vh - 68px)}
@media(max-width:780px){.workspace-navigation{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}.nav-brand{display:flex;gap:7px;font-size:13px}button.nav-brand{padding:4px 0}.nav-brand-mark{width:26px;height:26px;font-size:15px}.nav-brand small{display:none}.nav-links button{font-size:12px;gap:5px}.promotion-frame{height:calc(100dvh - 130px)}}
.indigo b{background:#5268ba}
.example-banner{padding:20px 22px;margin-bottom:22px;border:1px solid #6f59bb;border-radius:18px;background:linear-gradient(125deg,rgba(126,86,221,.24),rgba(58,178,188,.08))}.example-banner strong{color:#cbb9ff;font-size:16px}.example-banner p{color:#bac5de;font-size:13px;line-height:1.8;margin:8px 0 0}
.writing-login{width:min(580px,94vw);height:min(760px,90dvh);padding:0;border:1px solid #66548d;border-radius:22px;color:#eff0ff;background:#10172c;box-shadow:0 30px 100px #0009}.writing-login::backdrop{background:rgba(5,8,20,.78);backdrop-filter:blur(5px)}.login-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 22px}.login-dialog-head strong{font-size:20px}.login-dialog-head p{font-size:12px;color:#aebad4;margin:8px 0 0}.login-dialog-head button{font-size:25px;border:0;background:transparent;color:#c6cce3;padding:0 4px}.writing-login iframe{display:block;width:100%;height:calc(100% - 96px);border:0;border-radius:0 0 22px 22px}
.keyword-top{gap:8px;align-items:flex-start}.keyword-top>span:first-child{min-width:0;overflow-wrap:anywhere}.keyword-top .status{flex-shrink:0;white-space:nowrap}
.navigation-status{margin:12px 20px 0;padding:12px 16px;border:1px solid #66548d;border-radius:12px;background:#26243c;color:#e4dcff;font-size:14px;line-height:1.6}.nav-links button[aria-busy=true]{opacity:.7;cursor:progress}
.writing-confirm{width:min(448px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:18px;background:#fff;color:#202438;box-shadow:0 24px 90px #0005;font-family:-apple-system,"PingFang SC","Noto Sans SC",sans-serif;overflow:auto}.writing-confirm::backdrop{background:rgba(5,8,20,.64);backdrop-filter:blur(3px)}.writing-confirm-body{position:relative;padding:30px 30px 24px}.writing-confirm-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;border-radius:10px;color:#8b8d9d;font-size:26px;line-height:1}.writing-confirm-close:hover{background:#f2f2f7;color:#35384c}.writing-confirm-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eee9ff;color:#7655d8;font-size:25px}.writing-confirm h2{font-size:21px;font-weight:650;letter-spacing:.2px;margin:20px 0 10px}.writing-confirm-description{margin:0;color:#717486;font-size:14px;line-height:1.85}.writing-confirm-description strong{font-weight:650;color:#6d4fd3;white-space:nowrap}.writing-confirm-cost{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 10px;padding:15px 18px;border:1px solid #ebe6f7;border-radius:10px;background:#f8f6fe;color:#66677b;font-size:14px}.writing-confirm-cost>strong{font-size:24px;font-weight:650;color:#6544c4;font-variant-numeric:tabular-nums}.writing-confirm-cost small{font-size:13px;font-weight:500}.writing-confirm-note{margin:0;color:#9595a3;font-size:12px;line-height:1.7}.writing-confirm-actions{display:flex;justify-content:flex-end;gap:12px;padding:18px 30px;border-top:1px solid #efedf4;background:#fff}.writing-confirm-actions button{min-width:100px;min-height:42px;padding:10px 20px;border:1px solid #dedee8;border-radius:9px;background:#fff;color:#646779;font-size:14px;font-weight:500}.writing-confirm-actions button:hover{background:#f6f5fa}.writing-confirm-actions button[data-confirm=confirm]{background:#7958dc;border-color:#7958dc;color:#fff}.writing-confirm-actions button[data-confirm=confirm]:hover{background:#6946cf}.writing-confirm button:focus-visible{outline:3px solid #bba6fa;outline-offset:3px}@media(max-width:480px){.writing-confirm-body{padding:26px 22px 22px}.writing-confirm-actions{padding:16px 22px}.writing-confirm-actions button{flex:1}}
@media(max-width:780px){.nav-links{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-links button{font-size:11px;white-space:nowrap}.workspace-navigation{grid-template-columns:76px minmax(0,1fr)}}
.chips .chip.blue{background:rgba(39,108,158,.14)}.chips .chip.purple{background:rgba(114,83,185,.15)}.chips .chip.orange{background:rgba(212,121,18,.12)}.chips .chip.red{background:rgba(184,64,98,.12)}.chips .chip.green{background:rgba(52,137,120,.13)}.chips .chip.indigo{background:rgba(82,104,186,.14)}.chips .chip.amber{background:rgba(152,103,8,.13)}.chips .chip.teal{background:rgba(38,123,139,.14)}
.keyword{border-left-width:3px}.keyword.dimension-brand{border-left-color:#408fc4}.keyword.dimension-core{border-left-color:#a183ef}.keyword.dimension-material{border-left-color:#59c3a7}.keyword.dimension-specification{border-left-color:#e5a04e}.keyword.dimension-function{border-left-color:#df789a}.keyword.dimension-structure{border-left-color:#8799ec}.keyword.dimension-scene{border-left-color:#dbc163}.keyword.dimension-audience{border-left-color:#63bed4}.keyword.low-relevance{opacity:.72}.filters .filter-trait{border-style:dashed}
