
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans SC",sans-serif;background:#f6f7f9;color:#17202a;display:flex;min-height:100vh}.sidebar{width:216px;background:#101820;color:#fff;padding:22px 16px;position:fixed;inset:0 auto 0 0}.brand{font-size:22px;font-weight:800;line-height:1.05;margin-bottom:28px}.brand span{font-size:13px;color:#9fb3c8;font-weight:600}.nav{display:block;width:100%;border:0;background:transparent;color:#cbd7e3;text-align:left;padding:12px 14px;border-radius:6px;margin:4px 0;font-size:15px;cursor:pointer}.nav.active,.nav:hover{background:#223142;color:#fff}main{margin-left:216px;width:calc(100% - 216px);padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}h1{font-size:26px;margin:0 0 6px}p{margin:0;color:#637083}.download{background:#176b87;color:#fff;text-decoration:none;padding:10px 14px;border-radius:6px;font-weight:700}.notice{background:#fff4df;border:1px solid #f0c678;color:#5e450f;padding:12px 14px;border-radius:6px;margin-bottom:14px}.note{background:#eef6f8;border:1px solid #c8dce3;color:#34515d;padding:10px 12px;border-radius:6px;margin-bottom:16px;font-size:13px}.hidden{display:none}.filters{display:flex;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #e6e9ee;padding:12px;border-radius:6px;margin-bottom:16px}label{font-size:13px;color:#536273}select{margin-left:8px;min-width:140px;padding:7px;border:1px solid #ccd3dd;border-radius:5px}.page-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin:0 0 16px;padding:18px 20px;border:1px solid #dfe6ee;border-radius:8px;background:linear-gradient(90deg,#fff,#f1f7fb)}.page-hero b{display:inline-grid;place-items:center;width:42px;height:34px;border-radius:7px;background:#101820;color:#ff9900;font-size:15px}.page-hero h2{margin:8px 0 4px;font-size:24px;letter-spacing:0}.page-hero p{font-size:13px}.page-hero span{color:#176b87;font-size:12px;font-weight:800;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin-bottom:16px}.card{background:#fff;border:1px solid #e6e9ee;border-radius:6px;padding:14px}.kpi-title{font-size:13px;color:#637083}.kpi-value{font-size:24px;font-weight:800;margin-top:7px}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:16px}.metric-tile{padding:16px;border:1px solid #e2e8ef;border-left:4px solid #8a98a8;border-radius:7px;background:#fff}.metric-tile.blue{border-left-color:#176b87}.metric-tile.green{border-left-color:#1f8a70}.metric-tile.amber{border-left-color:#c98212}.metric-tile span,.metric-tile small{display:block;color:#637083}.metric-tile span{font-size:13px}.metric-tile strong{display:block;margin:8px 0 5px;font-size:24px}.metric-tile small{font-size:12px}.panel{background:#fff;border:1px solid #e6e9ee;border-radius:7px;padding:16px;margin-bottom:16px}.panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.panel h2{font-size:18px;margin:0}.panel-head span{color:#7b8794;font-size:12px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bars{display:grid;gap:8px}.bar{display:grid;grid-template-columns:minmax(120px,180px) 1fr 100px;gap:10px;align-items:center;font-size:13px}.bar>div:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track{height:10px;background:#e8edf3;border-radius:99px;overflow:hidden}.fill,.share-row i,.grade-row i{display:block;height:100%;background:#176b87;border-radius:99px}.share-bars{display:grid;gap:10px}.share-row{display:grid;grid-template-columns:minmax(160px,.9fr) 1.6fr 54px;gap:12px;align-items:center}.share-row div:first-child{min-width:0}.share-row b,.share-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-row b{font-size:13px}.share-row span{margin-top:3px;color:#697685;font-size:12px}.share-row em{color:#176b87;font-style:normal;font-size:12px;font-weight:800;text-align:right}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid #edf0f4;padding:9px 8px;text-align:left;white-space:nowrap}th{color:#536273;background:#fafbfc;position:sticky;top:0}td.num{text-align:right;font-variant-numeric:tabular-nums}.table-wrap{overflow:auto;max-height:540px}.pivot th{text-align:center;background:#eef5f7}.pivot td{text-align:center}.pivot td:first-child,.pivot th:first-child{text-align:left;position:sticky;left:0;background:#fff;z-index:1}.pivot td.good{background:#edf9f2;color:#126b45;font-weight:800}.pivot td.risk{background:#fff1f1;color:#b92929;font-weight:800}.grade-list{display:grid;gap:12px}.grade-row{display:grid;grid-template-columns:130px 1fr 100px;gap:12px;align-items:center}.grade-row b{font-size:13px}.grade-row span{font-size:12px;color:#536273;text-align:right}.analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.analysis-grid article{padding:14px;border:1px solid #dfe8ef;border-radius:7px;background:#fbfdff}.analysis-grid h3{margin:0 0 8px;font-size:15px}.analysis-grid p{font-size:13px;line-height:1.55}.empty{padding:28px;text-align:center;color:#637083;background:#fff;border:1px dashed #cfd7e2;border-radius:6px}@media(max-width:1000px){.two-col,.analysis-grid{grid-template-columns:1fr}.metric-strip,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.sidebar{position:static;width:100%;height:auto}.brand{margin-bottom:12px}body{display:block}main{margin-left:0;width:100%;padding:16px}header{align-items:flex-start;flex-direction:column}.bar,.share-row,.grade-row{grid-template-columns:1fr}.page-hero{align-items:flex-start;flex-direction:column}.metric-strip,.grid{grid-template-columns:1fr}}
.attainment-summary th{background:#d9ead6;color:#123524;text-align:center;font-weight:800}.attainment-summary td{text-align:center;font-weight:700}.attainment-summary td:first-child,.attainment-summary td:nth-child(2){text-align:left}.attainment-summary .summary-row td{background:#eef6f1;color:#123524;font-weight:900}
.logic-section{background:#f7fbff}.logic-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.logic-head span{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:850;letter-spacing:.08em}.logic-head h2{margin:10px 0 6px;font-size:24px}.logic-head p{font-size:13px}.logic-head b{padding:8px 12px;border:1px solid #d8e1ec;border-radius:999px;background:#fff;color:#475569;font-size:13px;white-space:nowrap}.logic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.logic-card{padding:18px;border:1px solid #dbe4ee;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fafc)}.logic-card.wide{grid-column:1/-1}.logic-card h3{margin:0 0 10px;font-size:15px}.logic-card p,.logic-card li,.source-node span{color:#475569;font-size:12px;line-height:1.65}.logic-card ul{margin:8px 0 0;padding-left:20px}.formula{padding:10px 12px;border-radius:9px;background:#eef2ff;color:#4338ca;font:700 12px/1.65 Consolas,"SFMono-Regular",monospace}.formula+.formula{margin-top:9px}.source-flow{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}.source-node{flex:1;min-width:170px;padding:12px;border:1px solid #dbe4ee;border-radius:10px;background:#fff}.source-node strong{display:block;margin-bottom:4px;color:#17202a}@media(max-width:900px){.logic-grid{grid-template-columns:1fr}.logic-card.wide{grid-column:auto}.logic-head{display:block}.logic-head b{display:inline-flex;margin-top:10px}}
header{position:sticky;top:0;z-index:70;margin:-24px -24px 12px;padding:24px 24px 12px;background:rgba(246,247,249,.96);border-bottom:1px solid #e2e8f0;backdrop-filter:blur(12px)}.filters{position:sticky;top:120px;z-index:65;box-shadow:0 10px 24px rgba(15,23,42,.08)}@media(max-width:900px){header{margin:-16px -16px 12px;padding:16px}.filters{top:160px}}
header{position:sticky;top:0;z-index:80;display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:-24px -24px 16px;padding:24px;background:rgba(246,247,249,.96);border-bottom:1px solid #dfe6ee;box-shadow:0 12px 28px rgba(15,23,42,.08);backdrop-filter:blur(12px)}.topbar-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar-title>div{min-width:0}.topbar-title h1,.topbar-title p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header .filters{position:static;top:auto;z-index:auto;margin-bottom:0;box-shadow:none;background:#fff}header .notice{margin-bottom:0}@media(max-width:900px){header{margin:-16px -16px 16px;padding:16px}.topbar-title{align-items:flex-start;flex-direction:column}.topbar-title h1,.topbar-title p{white-space:normal}header .filters{top:auto}}
.pivot thead th,.pivot thead th:first-child{background:#d9ead6;color:#123524;font-weight:800}
.pivot thead th{height:36px}.pivot thead tr:first-child th{top:0;z-index:6}.pivot thead tr:nth-child(2) th{top:36px;z-index:6}.pivot thead tr:first-child th[rowspan]{height:72px}.target-pivot thead tr:nth-child(2) th{height:54px;line-height:1.25;white-space:pre-line;overflow:visible;text-overflow:clip}.target-pivot thead tr:first-child th[rowspan]{height:90px}
table{table-layout:fixed}th,td,td.num,.pivot td,.pivot td:first-child,.pivot th:first-child,.attainment-summary td:first-child,.attainment-summary td:nth-child(2){text-align:center}th,td{overflow:hidden;text-overflow:ellipsis}
.metric-tile{display:flex;flex-direction:column;min-height:112px}.metric-tile span{order:1;color:#17202a;font-size:15px;font-weight:900;text-transform:uppercase}.metric-tile small{order:2;margin-top:8px;min-height:16px}.metric-tile strong{order:3;margin:10px 0 0;font-size:26px;line-height:1.1}
.metric-cats,.metric-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.metric-cats{order:2;margin-top:8px;color:#17202a;font-size:13px;font-weight:650}.metric-values{order:3;margin-top:6px;color:#17202a;font-size:24px;font-weight:850;line-height:1.15}.metric-cats div,.metric-values div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metric-strip{grid-template-columns:repeat(4,minmax(210px,1fr))}
.pivot{table-layout:auto;min-width:max-content}.pivot th,.pivot td{min-width:104px;overflow:visible;text-overflow:clip}.pivot td:first-child,.pivot th:first-child{min-width:150px;max-width:none;white-space:nowrap}.target-pivot th,.target-pivot td{min-width:118px}.target-pivot td:first-child,.target-pivot th:first-child{min-width:150px}
.pool-table{table-layout:fixed;min-width:1180px}.pool-table th,.pool-table td{text-align:left;white-space:normal;vertical-align:top;line-height:1.55}.pool-table th:first-child,.pool-table td:first-child{width:76px;text-align:center;font-weight:900}.pool-table th:nth-child(2){width:38%}.pool-table td.opportunity{background:#dff4e7;color:#087044}.pool-table td.risk{background:#fde2e2;color:#c12626}.pool-table+.note{margin:12px 0 0}
.attainment-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:16px}.attainment-card{min-height:128px;padding:18px 16px;border:1px solid #dde5ef;border-left:3px solid #64748b;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.attainment-card span{display:block;color:#475569;font-size:13px;font-weight:700}.attainment-card strong{display:block;margin:18px 0 12px;color:#0f172a;font-size:30px;line-height:1;font-weight:900;letter-spacing:0}.attainment-card small{display:block;color:#64748b;font-size:12px}.attainment-card.purple{border-left-color:#7c3aed}.attainment-card.blue{border-left-color:#0ea5e9}.attainment-card.green{border-left-color:#059669}.attainment-card.orange{border-left-color:#f97316}.attainment-card.red{border-left-color:#e11d48}@media(max-width:900px){.attainment-strip{grid-template-columns:1fr}.attainment-card{min-height:112px}}
.panel-head h2.title-pill{display:inline-flex;align-items:center;justify-content:center;width:auto;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800;line-height:1;border:1px solid transparent}.title-pill.low-risk{background:#e9fff5;border-color:#92e6c0;color:#087a55}.title-pill.high-risk{background:#fff0f0;border-color:#ffb4b4;color:#d61f1f}
th.sortable{cursor:pointer;user-select:none}.sortable>span{display:inline-block;vertical-align:middle}.sort-arrows{display:inline-flex;flex-direction:column;gap:0;margin-left:4px;vertical-align:middle;color:#a9b7c7;font-style:normal;font-size:10px;line-height:.75}.sort-arrows::before{content:"▲"}.sort-arrows::after{content:"▼"}.sortable.sorted-asc .sort-arrows::before,.sortable.sorted-desc .sort-arrows::after{color:#176b87}.sortable.sorted-asc .sort-arrows::after,.sortable.sorted-desc .sort-arrows::before{color:#c8d2df}
.table-hint{margin:-2px 0 10px;color:#7b8794;font-size:12px;text-align:right}.product-asin-wrap,.searchterm-agg-wrap{max-height:620px}.product-asin-table{min-width:1280px}.searchterm-agg-table{min-width:1120px}.asin-link,.query-link{border:0;background:transparent;color:#0a66c2;font:inherit;font-weight:800;cursor:pointer;padding:0;text-decoration:none}.asin-link:hover,.asin-link.active,.query-link:hover,.query-link.active{color:#f97316;text-decoration:underline}.asin-detail-row>td,.query-detail-row>td{padding:10px 16px;background:#f8fbff}.asin-detail{border:1px solid #cfe0f5;border-radius:7px;background:#fff;overflow:auto}.asin-detail-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;color:#17324d;font-size:13px}.asin-detail-title span{color:#176b87;font-size:12px;font-weight:800}.asin-detail table{min-width:1320px}.asin-detail th{background:#dbe7f4;color:#24415f}.asin-detail td:first-child{text-align:left;white-space:normal}.empty-cell{text-align:center!important;color:#637083;padding:18px}
.owner-attainment-chart{display:grid;gap:9px;max-height:420px;overflow:auto;padding-right:4px}.owner-rate-row{display:grid;grid-template-columns:130px minmax(180px,1fr) 76px 90px;gap:12px;align-items:center;font-size:13px}.owner-rate-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rate-track{height:14px;border-radius:999px;background:#e8edf3;overflow:hidden}.rate-track i{display:block;height:100%;border-radius:999px;background:#176b87}.owner-rate-row span{font-weight:850;color:#0f5f78;text-align:right}.owner-rate-row em{color:#64748b;font-style:normal;text-align:right;font-variant-numeric:tabular-nums}@media(max-width:900px){.owner-rate-row{grid-template-columns:1fr}.owner-rate-row span,.owner-rate-row em{text-align:left}}
