:root{--ui-font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,sans-serif;--muted:#685e74;--ink:#1b1823;--surface-soft:#fcfaff;--ui-border:#e8e2ee;--ui-accent:#7d3aef}
body{font-family:var(--ui-font);font-size:14px;line-height:1.55;-webkit-font-smoothing:auto;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}button,a{touch-action:manipulation}body.modal-open{overflow:hidden}
.nx-tabular,.small-stat strong,.metric-card strong,.product-bottom b,.product-bottom span,.readiness span,.task-table td,.listing-table td{font-variant-numeric:tabular-nums}
.status-badge.failed{background:#fce2e8;color:#a63d58}
.content{width:100%;max-width:1480px;padding:32px clamp(24px,3vw,48px) 60px}.page{min-width:0}.page-head{align-items:center;gap:24px;margin-bottom:28px}.page-head h2{font-size:28px;line-height:1.35;letter-spacing:-.7px}.page-head p{font-size:14px;color:var(--muted);line-height:1.8;max-width:60ch}.page-head .eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--muted);margin:0 0 12px}.primary-button,.ghost-button,.soft-button{font-size:13px;min-height:40px;padding:0 17px;line-height:1.3;white-space:nowrap}.text-button{font-size:12px;color:#6f498c;line-height:1.5}.select,.search-field input{font-size:13px}.search-field{min-height:42px}.panel{padding:25px}.panel-head h2{font-size:18px;font-weight:600}.panel-head p{font-size:12px;color:var(--muted);line-height:1.75}.status-badge{font-size:11px}.small-stat span,.metric-top{font-size:12px}.small-stat strong{font-size:22px}.metric-card>span,.metric-card small{font-size:12px}.product-meta strong{font-size:15px;line-height:1.6}.product-meta em,.product-card-body>p,.product-bottom,.channel-tag,.asset-card-body small{font-size:12px}.product-bottom b{font-size:15px}.listing-table,.task-table{font-size:13px}.listing-table th,.task-table th,.listing-table small,.task-table small{font-size:12px}.setting-card h3{font-size:17px}.setting-card p,.backend-note,.generation-config-note{font-size:13px;line-height:1.85}.field label,.studio-panel label{font-size:12px}.field input,.field textarea,.field select{font-size:14px}.tool-card h3,.tool-card strong,.task-card strong,.asset-card strong{font-size:14px}.tool-card p,.tool-card small,.task-card small{font-size:12px}.topbar-left h1{font-size:23px}.nav-item{font-size:13px}
.modal{width:min(620px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;border-radius:18px}.modal-shell{border-radius:18px;padding:28px;box-shadow:0 28px 100px #2b1d3a30}.modal::backdrop{background:#261d353d;backdrop-filter:blur(7px)}.modal-close{width:34px;height:34px;right:18px;top:18px;z-index:3}.modal h2{font-size:24px;font-weight:600;line-height:1.35;letter-spacing:-.5px}.modal p{font-size:13px;color:#5b5266;line-height:1.8}.modal .eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--muted)}.modal-form{gap:16px}.modal-form label{font-size:13px;color:#4e4459;line-height:1.5;min-width:0}.modal-form label>em{font-size:12px;font-style:normal;color:var(--muted);margin-left:5px}.modal-form input,.modal-form select,.modal-form textarea{font-size:14px;line-height:1.5;min-height:42px;margin-top:7px;padding:10px 12px;border-radius:8px;color:var(--ink);background:#fbf9fd;border-color:var(--ui-border)}.modal-form input::placeholder,.modal-form textarea::placeholder{color:#756b80}.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus{border-color:#9e78b5;box-shadow:0 0 0 3px #a383b415}.modal-form textarea{min-height:90px;resize:vertical}.modal-actions{margin-top:0}.modal .form-error{font-size:12px;color:#a63853}.modal[open]{animation:nx-dialog-arrive .2s ease-out}
.modal[data-view=record]{width:min(760px,calc(100vw - 40px));height:auto;max-height:min(790px,calc(100dvh - 48px));overflow:hidden}.modal[data-view=record][data-product-hub=true]{width:min(880px,calc(100vw - 36px));max-height:min(820px,calc(100dvh - 40px))}.modal[data-view=record] .modal-shell{display:flex;max-height:inherit;min-height:0;padding:0}.modal[data-view=record] #modal-content{display:flex;flex-direction:column;width:100%;min-height:0;max-height:inherit}.nx-form-heading{flex-shrink:0;padding:26px 30px 20px;border-bottom:1px solid #eee8f2}.nx-form-heading .eyebrow{margin-bottom:11px}.nx-form-heading h2{margin:0 0 8px}.nx-form-heading>p:last-child{margin:0;padding-right:15px}.nx-record-form{display:flex;flex-direction:column;min-height:0;flex:1;margin:0}.nx-form-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 30px;scrollbar-width:thin;scrollbar-color:#d6c9df transparent}.nx-form-section{padding:0;margin:0 0 24px;border:0;min-width:0}.nx-form-section:last-child{margin-bottom:0}.nx-form-section legend{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#4b4156;margin-bottom:16px;width:100%}.nx-form-section legend span{color:var(--muted);font-size:11px;font-weight:400;letter-spacing:1px}.nx-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.nx-field-grid>label{display:block}.nx-field-wide{grid-column:1/-1}.nx-form-footer{padding:16px 30px;border-top:1px solid #eee8f2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#fff;flex-shrink:0}.nx-form-footer>span{font-size:12px;color:var(--muted)}.nx-form-footer .form-error{width:100%;margin:0}.nx-form-footer .form-error:empty{display:none}.nx-form-footer .modal-actions{margin-left:auto;flex-wrap:wrap}

/* --- Search Clear, Segmented View Toggle & Product Filter Bar --- */
.nx-search-with-clear{position:relative;padding-right:8px}
.nx-search-clear{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f2eef6;color:#5f526d;font-size:15px;line-height:1;padding:0;flex-shrink:0}
.nx-search-clear[hidden]{display:none}
.nx-search-clear:hover{background:#e6ddef;color:var(--ink)}
.nx-view-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border-radius:999px;background:#f4f1f8;border:1px solid #e8e2ee}
.nx-view-btn{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px;background:transparent;color:#5b5266;font-size:12px;font-weight:500;white-space:nowrap}
.nx-view-btn .icon{width:13px;height:13px}
.nx-view-btn.active{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 2px 8px #42295912}
.nx-product-filters{display:flex;flex-direction:column;gap:10px;margin:14px 0 18px;padding:13px 16px;border-radius:15px;background:#ffffffb5;border:1px solid #eee8f2}
.nx-product-filters .category-pills{margin:0;padding-top:10px;border-top:1px solid #f1ecf5}
.nx-readiness-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nx-readiness-pill em,.nx-campaign-pills .pill em{font-style:normal;font-size:11px;margin-left:4px;opacity:.78;font-variant-numeric:tabular-nums}
.nx-card-cover-wrap{position:relative}
.product-art.has-cover-image img,.nx-hub-cover.has-cover-image img,.nx-table-cover.has-cover-image img{width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1}
.product-art.has-cover-image:after,.nx-hub-cover.has-cover-image:after,.nx-table-cover.has-cover-image:after{display:none}
.nx-card-badges{position:absolute;left:10px;right:10px;top:10px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:6px;pointer-events:none}
.nx-card-badges .status-badge{backdrop-filter:blur(8px);box-shadow:0 2px 8px #24163410}
.nx-card-quickbar{position:absolute;left:8px;right:8px;bottom:8px;z-index:3;display:flex;align-items:center;justify-content:center;gap:5px;padding:4px;border-radius:11px;background:rgba(27,24,35,.78);backdrop-filter:blur(10px);opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s}
.product-card:hover .nx-card-quickbar,.product-card:focus-within .nx-card-quickbar{opacity:1;transform:none}
.nx-card-quickbar button{flex:1;min-height:26px;padding:0 7px;border-radius:7px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:500;white-space:nowrap}
.nx-card-quickbar button:hover{background:#7d3aef}
.status-badge.active{background:#f1e8fc;color:#5d39bd}
.nx-chart-stage{position:relative}
.nx-chart-tooltip{position:absolute;top:10px;left:16px;z-index:6;pointer-events:none;padding:8px 11px;border-radius:10px;background:rgba(27,24,35,.92);color:#fff;font-size:11.5px;line-height:1.5;box-shadow:0 10px 26px #1b182330;font-variant-numeric:tabular-nums;white-space:nowrap}
.nx-chart-tooltip[hidden]{display:none}
.nx-category-btn{display:flex;align-items:center;gap:14px;width:100%;padding:6px 8px;margin:-6px -8px;border-radius:10px;background:transparent;text-align:left;transition:background-color .15s}
.nx-category-btn:hover{background:#f6f1fc}
.nx-cal-more-btn{width:100%;padding:2px 6px;border-radius:6px;background:#f4eef9;color:#5d39bd;font-size:11px;font-weight:600;text-align:left}
.nx-cal-more-btn:hover{background:#eadcf7}
.nx-mini-calendar button{aspect-ratio:1;border-radius:9px;background:#faf8fc;display:grid;place-items:center;font-size:12px;color:#5f536b;position:relative;padding:0}
.nx-mini-calendar button.active{background:#efe4fb;color:#623791;font-weight:600}
.nx-mini-calendar button.is-today{box-shadow:inset 0 0 0 1.5px #8d58c5;font-weight:600}
.nx-mini-calendar button:hover{background:#e7d8f7}
.nx-field-counter{font-size:11px;color:#786a86;font-variant-numeric:tabular-nums;margin-left:auto}
.nx-subtab{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.nx-subtab .icon{width:14px;height:14px}
.nx-insights-page:not([data-insight-tab="content"]) #insight-period{display:none}
.nx-media-pill{font-size:11px;padding:3px 8px;border-radius:999px;background:#ffffffe3;color:#584966;border:1px solid #ebe4f2;font-variant-numeric:tabular-nums}
.nx-media-pill.is-missing{background:#fff4e5eb;color:#825d24;border-color:#eed9b7}
.nx-low-stock-text{color:#a43c55!important;font-weight:500}
.product-card{cursor:pointer}
.product-grid.is-table-view{display:block}
.nx-product-table-panel{padding:0;overflow-x:auto}
.nx-product-table th,.nx-product-table td{padding:14px 16px;vertical-align:middle}
.nx-product-table-row:hover{background:#faf7fd}
.nx-product-row-main{display:flex;align-items:center;gap:12px;min-width:190px}
.nx-product-row-main .product-meta{flex-direction:column;align-items:flex-start;gap:4px}
.nx-table-cover{width:44px;height:44px;border-radius:11px;overflow:hidden;flex-shrink:0;background:var(--art-bg)}
.nx-sku-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;padding:2px 6px;border-radius:6px;background:#f4f1f8;color:#534463}

/* --- Product 360° Hub Modal --- */
.nx-hub-eyebrow-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-right:28px;margin-bottom:8px}
.nx-hub-eyebrow-row .eyebrow{margin:0}
.nx-hub-hero{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:stretch;margin-bottom:24px}
.nx-hub-cover-stage{position:relative;border-radius:16px;overflow:hidden;border:1px solid #ece4f2;background:#faf8fc;display:flex;flex-direction:column}
.nx-hub-cover{flex:1;min-height:220px;display:grid;place-items:center;background:var(--art-bg);position:relative;overflow:hidden}
.nx-hub-cover svg{width:108px;height:108px;filter:drop-shadow(0 16px 14px #3b245324)}
.nx-hub-cover .art-line{fill:none;stroke:#6a5579;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.nx-hub-cover .art-fill{fill:#ffffffa8;stroke:#6a5579;stroke-width:1.1}
.nx-hub-cover-badge{position:absolute;left:10px;bottom:10px;z-index:2;padding:4px 9px;border-radius:999px;font-size:11px;background:#ffffffe6;color:#544363;border:1px solid #e8dfef;backdrop-filter:blur(8px)}
.nx-hub-summary{display:flex;flex-direction:column;gap:14px;min-width:0}
.nx-hub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nx-hub-kpis .small-stat{padding:12px 13px;border-radius:13px;background:#fcfaff;border:1px solid #ede6f3}
.nx-hub-kpis .small-stat strong{font-size:17px;margin-top:5px}
.nx-hub-kpis .small-stat small{font-size:11px;font-weight:400;color:var(--muted)}
.nx-hub-desc{padding:12px 14px;border-radius:12px;background:#faf8fc;border:1px solid #eee8f3}
.nx-hub-desc>span{display:block;font-size:11.5px;font-weight:600;color:#5f516d;margin-bottom:4px}
.nx-hub-desc>p{margin:0;font-size:12.5px;line-height:1.7;color:#4f455b;max-height:92px;overflow:auto}
.nx-hub-workflows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nx-workflow-btn{justify-content:flex-start;padding:0 13px;min-height:38px;font-size:12.5px;background:linear-gradient(135deg,#fff,#fbf8fe);border-color:#e4d9ef;color:#3c2c4d}
.nx-workflow-btn:hover{border-color:#c6aedf;background:#f6effc;color:#5d39bd}
.nx-hub-section{padding-top:20px;margin-top:20px;border-top:1px solid #eee8f2}
.nx-hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.nx-hub-section-head h3{margin:0;font-size:15px;font-weight:600;color:var(--ink)}
.nx-hub-section-head p{margin:3px 0 0;font-size:12px;color:var(--muted)}
.nx-hub-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nx-hub-asset-card{border:1px solid #ece4f2;border-radius:12px;background:#fff;overflow:hidden;cursor:pointer;transition:border-color .2s,transform .2s}
.nx-hub-asset-card:hover{border-color:#cbb5df;transform:translateY(-2px)}
.nx-hub-asset-media{aspect-ratio:4/3;background:#f4f1f8;position:relative;overflow:hidden;display:grid;place-items:center}
.nx-hub-asset-media img,.nx-hub-asset-media video{width:100%;height:100%;object-fit:cover;display:block}
.nx-hub-doc-thumb span{font-size:11px;font-weight:700;letter-spacing:1px;padding:5px 10px;border-radius:999px;background:#ebe3f4;color:#5d39bd}
.nx-hub-tag{position:absolute;left:7px;top:7px;padding:2px 7px;border-radius:999px;font-size:10.5px;background:#ffffffe3;color:#584966}
.nx-hub-tag.is-cover{background:#5d39bd;color:#fff}
.nx-hub-tag.is-video{background:#18151dd9;color:#fff}
.nx-hub-asset-foot{padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.nx-hub-asset-foot strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.nx-hub-asset-foot small{font-size:11px;color:var(--muted);flex-shrink:0}
.nx-hub-asset-foot .text-button{padding:2px 4px;font-size:11.5px;flex-shrink:0}
.nx-hub-empty{margin:0;padding:16px;border-radius:12px;background:#faf8fc;border:1px dashed #e5dce9;font-size:12.5px;color:var(--muted);text-align:center}
.nx-hub-listing-list{display:grid;gap:8px}
.nx-hub-listing-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 14px;border-radius:11px;background:#fcfaff;border:1px solid #ece4f2}
.nx-hub-listing-row strong{display:block;font-size:13px;color:var(--ink)}
.nx-hub-listing-row small{display:block;font-size:11.5px;color:var(--muted);margin-top:3px}
.nx-hub-origin-card{margin-top:18px}

/* --- AI Listing & Advertising-Law Compliance Studio --- */
.nx-listing-filter-strip{padding:0 0 14px;border-bottom:1px solid #f1ecf5;margin-bottom:10px}
.nx-listing-batch-summary{margin:0 0 12px;padding:11px 15px;border-radius:11px;font-size:12.5px;background:#f4f9f6;border:1px solid #dbe9df;color:#3d6f4b}
.nx-listing-batch-summary.has-risk{background:#fdf6ec;border-color:#eed9b7;color:#825d24}
.nx-listing-studio-bar{margin:0 0 22px;padding:16px 18px;border-radius:14px;background:linear-gradient(130deg,#f8f3fe,#fdf6fa 60%,#fff6f2);border:1px solid #e6d8f2}
.nx-listing-studio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.nx-studio-kicker{display:block;font-size:10.5px;font-weight:600;letter-spacing:1.4px;color:#784a99;margin-bottom:3px}
.nx-listing-studio-head h3{margin:0;font-size:15px;font-weight:600;color:#261d31}
.nx-listing-studio-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nx-listing-studio-actions .ghost-button{min-height:36px;padding:0 14px;font-size:12.5px;white-space:normal;text-align:left}
.nx-ai-accent-btn{background:#fff;border-color:#d5bfe9!important;color:#5d39bd!important}
.nx-ai-accent-btn:hover{background:#f5ecfc!important;border-color:#b996dc!important}
.nx-listing-studio-note{margin:10px 0 0!important;font-size:12px!important;line-height:1.65!important;color:#625470!important}
.nx-listing-compliance-panel{margin-top:12px}
.nx-compliance-clean-note{padding:11px 14px;border-radius:11px;background:#f4f9f6;border:1px solid #dbe9df;color:#3d6f4b;font-size:12.5px;line-height:1.65}
.nx-compliance-alert-box{padding:14px 16px;border-radius:12px;background:#fff8fa;border:1px solid #efd7df}
.nx-compliance-alert-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.nx-compliance-alert-head strong{font-size:13px;color:#8e324b}
.nx-compliance-alert-head small{font-size:12px;color:#9b5367;margin-left:4px}
.nx-compliance-fix-btn{min-height:34px!important;padding:0 14px!important;font-size:12px!important}
.nx-compliance-hit-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.nx-compliance-hit-list li{padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #f2dfe6;font-size:12px;line-height:1.6;color:#4f4359}
.nx-hit-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:4px}
.nx-hit-field{font-size:11px;padding:2px 7px;border-radius:6px;background:#f4f1f8;color:#5c4f69}
.nx-hit-term{color:#a63d58;font-size:12.5px}
.nx-hit-reason{margin:3px 0 0!important;font-size:12px!important;color:#62556e!important;line-height:1.55!important}
.nx-hit-suggest{margin:4px 0 0!important;font-size:12px!important;color:#3d6f4b!important;line-height:1.55!important}
.nx-compliance-suggest{font-style:normal;color:#3d6f4b;font-weight:500}

/* --- Commerce Stats, Marketing Campaigns & Monthly Calendar --- */
.nx-commerce-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.nx-commerce-stats article{padding:21px 24px;border:1px solid #ffffffc7;background:#ffffffb0;border-radius:15px;box-shadow:0 5px 22px #46315403}.nx-commerce-stats span{font-size:12px;color:var(--muted)}.nx-commerce-stats strong{display:block;font-size:31px;line-height:1.2;font-weight:600;letter-spacing:-.6px;margin:12px 0 0;font-variant-numeric:tabular-nums}.nx-commerce-stats small{font-size:12px;color:var(--muted);display:block;margin-top:8px}.nx-marketing-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.nx-marketing-layout>*,.nx-insight-layout>*{min-width:0}.nx-commerce-aside{display:grid;gap:18px}.nx-quiet-badge{font-size:12px;border:1px solid #e7deee;border-radius:6px;padding:5px 9px;color:#5e526b;white-space:nowrap;background:#faf7fd}.nx-commerce-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:330px;text-align:center;padding:28px}.nx-commerce-empty>span{width:52px;height:52px;border:1px solid #e9deef;background:#f7f0fc;border-radius:16px;display:grid;place-items:center;color:#784a99;margin-bottom:18px}.nx-commerce-empty .icon{width:23px;height:23px}.nx-commerce-empty h3{font-size:18px;font-weight:600;margin:0 0 12px}.nx-commerce-empty p{font-size:13px;line-height:1.9;color:var(--muted);max-width:33ch;margin:0 0 22px}
.nx-campaign-panel-head{flex-wrap:wrap}
.nx-campaign-search{min-width:200px;height:40px}
.nx-campaign-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.nx-plan-list{display:grid;gap:15px}.nx-plan-card{padding:22px;border:1px solid #eae3f0;border-radius:13px;background:linear-gradient(130deg,#fff,#fdfbff);transition:border-color .2s,box-shadow .2s}.nx-plan-card:hover{border-color:#d3bfdc;box-shadow:0 6px 22px #78538d08}.nx-plan-top{display:flex;align-items:center;gap:13px}.nx-plan-index{display:grid;place-items:center;width:33px;height:36px;border-radius:8px;background:#f2ecf8;color:#6c4688;font-size:12px;flex-shrink:0}.nx-plan-top>div{min-width:0;flex:1}.nx-plan-top h3{font-size:15px;line-height:1.5;margin:0;font-weight:600;overflow-wrap:anywhere}.nx-plan-top p{margin:5px 0 0;font-size:12px;color:var(--muted)}.nx-plan-top p span{margin:0 7px}.nx-plan-objective{font-size:13px;line-height:1.85;color:#5b5266;margin:17px 0 20px;white-space:pre-line;overflow-wrap:anywhere}.nx-plan-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding-top:15px;border-top:1px solid #efe8f4}.nx-plan-bottom>div:not(.nx-plan-actions){flex:1;min-width:90px}.nx-plan-bottom small{display:block;font-size:12px;color:var(--muted)}.nx-plan-bottom strong{display:block;font-size:13px;font-weight:500;margin-top:5px;font-variant-numeric:tabular-nums}.nx-plan-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap}.nx-plan-studio-btn{min-height:34px;padding:0 13px;font-size:12px}
.nx-month-calendar-wrap{display:grid;gap:12px}
.nx-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 14px;border-radius:12px;background:#fcfaff;border:1px solid #eee8f2}
.nx-calendar-nav .ghost-button{min-height:32px;padding:0 12px;font-size:12px}
.nx-calendar-title{font-size:15px;color:var(--ink);padding:0 6px}
.nx-calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;text-align:center;font-size:11.5px;color:var(--muted);font-weight:500}
.calendar.nx-month-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.nx-cal-cell{min-height:94px;padding:8px;border-radius:11px;background:#faf8fc;border:1px solid #eee8f2;display:flex;flex-direction:column;gap:5px;min-width:0}
.nx-cal-cell.is-empty{background:#faf8fc66;border-style:dashed;min-height:64px}
.nx-cal-cell.has-plans{background:#fff;border-color:#dfd1ec}
.nx-cal-cell.is-today{box-shadow:inset 0 0 0 1.5px #8d58c5;background:#fcf9ff}
.nx-cal-cell:after{display:none!important}
.nx-cal-cell-head{display:flex;align-items:center;justify-content:space-between;gap:4px}
.nx-cal-cell-head b{font-size:12px;font-weight:600;color:#4f435c}
.nx-cal-cell.is-today .nx-cal-cell-head b{color:#6228c8}
.nx-cal-add{width:20px;height:20px;border-radius:6px;background:transparent;color:#8a789b;font-size:14px;line-height:1;padding:0;display:grid;place-items:center;opacity:.65}
.nx-cal-cell:hover .nx-cal-add{opacity:1;background:#f2ebf9;color:#5d39bd}
.nx-cal-events{display:grid;gap:4px;min-width:0}
.nx-cal-event{width:100%;text-align:left;padding:3px 6px;border-radius:6px;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f2eef6;color:#524461;border:1px solid #e5dcef}
.nx-cal-event.is-active{background:#f3ebfc;border-color:#dcc7f3;color:#5d39bd;font-weight:500}
.nx-cal-event.is-review{background:#fff4e5;border-color:#eed9b7;color:#825d24}
.nx-cal-event.is-completed{background:#eaf6ee;border-color:#dcebe2;color:#3d6f4b}
.nx-undated-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:11px;background:#faf8fc;border:1px solid #eee8f2;font-size:12px;color:var(--muted)}
.nx-undated-chips{display:flex;gap:6px;flex-wrap:wrap}
.nx-mini-cal-box{margin-bottom:16px;padding-bottom:15px;border-bottom:1px solid #f0eaf5}
.nx-mini-cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;color:var(--muted)}
.nx-mini-calendar span.is-today{box-shadow:inset 0 0 0 1.5px #8d58c5;font-weight:600}
.nx-aside-empty{font-size:13px;color:var(--muted);line-height:1.9;margin:0;padding:16px 0 22px}.nx-schedule-list{display:grid;gap:16px}.nx-schedule-list button{display:flex;align-items:center;gap:13px;border:0;background:none;padding:0;text-align:left;color:var(--ink);cursor:pointer}.nx-schedule-list time{flex-shrink:0;font-size:12px;background:#f6f0fb;border:1px solid #efe6f6;border-radius:8px;padding:9px 10px;color:#6c4688;font-variant-numeric:tabular-nums}.nx-schedule-list strong{font-size:13px;font-weight:500;display:block}.nx-schedule-list small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.nx-creative-brief{background:linear-gradient(145deg,#f8f3fe,#fdf6f9);border-color:#fff}.nx-creative-brief h3{font-size:21px;line-height:1.6;font-weight:600;margin:15px 0 12px;letter-spacing:-.5px}.nx-creative-brief>p:not(.eyebrow){font-size:13px;line-height:1.9;color:#5b5266}.nx-data-note{display:flex;gap:10px;padding:4px 5px;flex-wrap:wrap;align-items:start}.nx-data-note>.icon{color:#785b8c;width:17px;height:17px;margin-top:4px}.nx-data-note p{margin:0;flex:1}.nx-data-note strong{font-size:12px;font-weight:600;display:block;color:#4f4359}.nx-data-note span{display:block;font-size:12px;line-height:1.85;color:var(--muted);margin-top:5px}.nx-data-note button{margin-left:21px}

/* --- 3-Sub-Tab Insights (#/insights) --- */
.nx-subtabs{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px;margin-bottom:22px;border-radius:16px;background:#ffffffcf;border:1px solid #eae3f0;box-shadow:0 6px 20px #4b2d6e08}
.nx-subtab{min-height:38px;padding:0 16px;border-radius:12px;background:transparent;border:1px solid transparent;color:#5b5266;font-size:13px;font-weight:500;transition:background-color .2s,color .2s,border-color .2s}
.nx-subtab:hover{background:#f7f3fb;color:var(--ink)}
.nx-subtab.active{background:#f4ecfa;border-color:#d3bfdc;color:#5d39bd;font-weight:600}
.nx-insights-page[data-insight-tab="hot"] .nx-insight-pane:not([data-insight-pane="hot"]),
.nx-insights-page[data-insight-tab="content"] .nx-insight-pane:not([data-insight-pane="content"]),
.nx-insights-page[data-insight-tab="finance"] .nx-insight-pane:not([data-insight-pane="finance"]){display:none}
.nx-insight-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:22px;align-items:stretch}.nx-chart-summary{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0 12px}.nx-chart-summary>strong{font-size:32px;font-weight:600;letter-spacing:-.7px;line-height:1.2}.nx-chart-summary small{font-size:12px;letter-spacing:0;font-weight:400;color:var(--muted);margin-left:9px}.nx-chart-summary>span{font-size:12px;color:var(--muted)}.nx-real-chart{display:block;width:100%;height:auto;margin-top:20px}.nx-real-chart text{fill:#685e74;font:12px var(--ui-font)}.nx-chart-line{stroke-dasharray:1200;stroke-dashoffset:0;animation:nx-line-reveal .8s ease-out}.nx-chart-empty{font-size:12px;color:var(--muted);text-align:center;line-height:1.8;margin-top:14px}.nx-category-list{display:grid;gap:22px;margin-top:28px}.nx-category-list>div{display:flex;align-items:center;gap:14px}.nx-category-list>div>span{font-size:12px;color:#6c4688;font-variant-numeric:tabular-nums}.nx-category-list section{flex:1;min-width:0}.nx-category-list section>div{display:flex;justify-content:space-between;align-items:center}.nx-category-list strong{font-size:13px;font-weight:500}.nx-category-list b{font-size:14px;font-weight:500}.nx-category-list b small{font-size:12px;color:var(--muted);font-weight:400}.nx-category-list i{display:block;margin-top:10px;height:4px;background:#f0eaf5;border-radius:9px;overflow:hidden}.nx-category-list em{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#ac91c1,#d5bfdc)}
.nx-readiness-insight-panel{margin-top:22px}
.nx-readiness-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.nx-readiness-metrics>div{padding:15px 17px;border-radius:13px;background:#fcfaff;border:1px solid #ede6f3}
.nx-readiness-metrics span{display:block;font-size:12px;color:var(--muted)}
.nx-readiness-metrics strong{display:block;font-size:21px;font-weight:600;margin:6px 0 10px;color:var(--ink)}
.nx-readiness-metrics .readiness-bar{width:100%}
.nx-readiness-todo-list{margin-top:14px;display:grid;gap:8px}
.nx-readiness-todo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;border-radius:11px;background:#faf8fc;border:1px solid #eee8f2}
.nx-readiness-todo-row strong{display:block;font-size:13px}
.nx-readiness-todo-row small{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.nx-report-note{display:flex;align-items:center;gap:18px;margin-top:24px;padding:23px 27px;border:1px solid #e9e0f0;border-radius:14px;background:#ffffff75}.nx-report-note>span{color:#6c4688}.nx-report-note>div{flex:1}.nx-report-note strong{font-size:14px;font-weight:600}.nx-report-note p{font-size:12px;color:var(--muted);line-height:1.8;margin:7px 0 0}.nx-report-note .ghost-button{font-size:12px;flex-shrink:0}
button:focus-visible,a:focus-visible{outline:1.5px solid rgba(27,24,35,.22);outline-offset:2px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}.nx-commerce-page>.page-head,.nx-commerce-stats,.nx-marketing-layout,.nx-insight-layout{animation:nx-content-arrive .35s ease-out}.nx-commerce-stats{animation-delay:30ms}.nx-marketing-layout,.nx-insight-layout{animation-delay:60ms}@keyframes nx-dialog-arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes nx-content-arrive{from{opacity:.45;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes nx-line-reveal{from{stroke-dashoffset:1200}to{stroke-dashoffset:0}}
@media(max-width:1200px){.nx-marketing-layout{grid-template-columns:minmax(0,1fr) 280px}.nx-insight-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}}
@media(max-width:1000px){.nx-marketing-layout{grid-template-columns:1fr}.nx-commerce-aside{grid-template-columns:1fr 1fr}.nx-data-note{grid-column:1/-1}.nx-insight-layout{grid-template-columns:1fr}.nx-commerce-stats{gap:12px}.nx-commerce-stats article{padding:18px}.nx-category-list{grid-template-columns:1fr 1fr;column-gap:30px}.nx-hub-hero{grid-template-columns:1fr}.nx-hub-cover{min-height:190px}.nx-hub-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.content{padding:24px 18px 45px}.page-head{align-items:start;flex-direction:column;display:flex;gap:18px}.page-head h2{font-size:25px}.page-head p{font-size:13px}.page-head>.primary-button{align-self:start}.nx-commerce-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-commerce-stats strong{font-size:28px}.panel{padding:20px}.nx-commerce-aside{grid-template-columns:1fr}.nx-category-list{grid-template-columns:1fr}.nx-readiness-metrics{grid-template-columns:1fr}.nx-plan-card{padding:17px}.nx-plan-top{gap:10px}.nx-plan-top h3{font-size:14px}.nx-plan-top .status-badge{font-size:11px}.nx-plan-bottom{gap:14px}.nx-plan-actions{margin-left:0;width:100%;justify-content:space-between}.nx-report-note{align-items:start;flex-wrap:wrap;padding:20px}.nx-report-note .ghost-button{margin-left:34px}.modal[data-view=record],.modal[data-view=record][data-product-hub=true]{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.nx-form-heading{padding:23px 21px 18px}.nx-form-body{padding:20px 21px}.nx-form-footer{padding:15px 21px}.nx-form-footer>span{display:none}.nx-field-grid{gap:15px}.nx-form-heading>p:last-child{padding-right:0}.nx-record-form textarea{min-height:82px}.nx-hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-hub-workflows{grid-template-columns:1fr}.nx-hub-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-cal-cell{min-height:72px;padding:6px}.nx-subtabs{display:flex;width:100%}.nx-subtab{flex:1;padding:0 10px;font-size:12px;text-align:center}.nx-campaign-search{min-width:0;width:100%}}
@media(max-width:480px){.nx-field-grid{grid-template-columns:1fr}.nx-field-wide{grid-column:auto}.modal-shell{padding:24px}.modal[data-view=record] .modal-shell{padding:0}.nx-form-heading>p:last-child{font-size:12px}.nx-form-section legend{margin-bottom:13px}.nx-form-footer .modal-actions{width:100%;justify-content:end}.nx-commerce-empty{padding:20px 0;min-height:280px}.nx-commerce-stats article{padding:17px}.nx-plan-bottom>div:not(.nx-plan-actions){min-width:80px}.nx-chart-summary>span{max-width:100%;text-align:left}.toolbar{max-width:100%}.calendar.nx-month-calendar,.nx-calendar-weekdays{gap:3px}.nx-cal-cell{min-height:62px;padding:4px}.nx-cal-event{font-size:10px;padding:2px 4px}.nx-subtabs{flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.modal[open],.nx-commerce-page>.page-head,.nx-commerce-stats,.nx-marketing-layout,.nx-insight-layout,.nx-chart-line{animation:none}.nx-plan-card,.nx-hub-asset-card,.nx-subtab{transition:none}}

/* Body copy and operational controls keep a readable size across the original pages. */
.workspace-switcher small,.usage-card>div:first-child,.usage-card small,.profile-copy small,.command-search kbd{font-size:12px;color:var(--muted)}.usage-card strong,.profile-copy strong{font-size:13px}.nav-item em{font-size:11px}.back-site,.command-search,.prompt-box input,.pill,.choice{font-size:13px}.command-search{width:300px;color:var(--muted)}.command-search kbd{font-size:11px}.profile-copy{max-width:200px;min-width:0}.profile-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-card strong,.studio-tool strong,.activity strong,.asset-info strong,.platform-card h3,.setting-row strong,.search-result strong{font-size:14px}.quick-card small,.studio-tool small,.activity small,.activity time,.generation-strip p,.asset-type,.asset-info span,.platform-card p,.setting-row small,.search-result small,.empty-note,.ai-brief p{font-size:12px;line-height:1.75}.quick-card small,.studio-tool small,.activity small,.asset-info span,.platform-card p,.setting-row small,.search-result small{color:var(--muted)}.studio-tool{min-height:68px}.asset-info strong{line-height:1.6}.asset-type{background:#ffffffeb;color:#5d4f64}.platform-logo{font-size:14px}.listing-table td,.task-table td{font-size:13px;line-height:1.65}.listing-table th,.task-table th{font-size:12px;color:var(--muted)}.listing-table td small,.task-table td small{font-size:12px}.toast{font-size:13px}.ai-brief-head span{font-size:11px}.ai-brief p{color:#d5c9dc}.field label{color:#5b5266}.product-card p{font-size:12px;color:var(--muted)}.product-bottom{color:var(--muted)}.modal-form label>em,.nx-form-footer>span{font-size:12px;color:var(--muted)}
.nexora-canvas-heading button{font-size:12px}
.nx-commerce-stats span,.nx-plan-top p,.nx-plan-objective,.nx-plan-bottom small,.nx-schedule-list small,.nx-creative-brief>p:not(.eyebrow),.nx-data-note strong,.nx-data-note span,.nx-chart-summary>span,.nx-chart-empty,.nx-report-note p{color:var(--muted)}.nx-plan-bottom small,.nx-schedule-list small,.nx-data-note span,.nx-chart-summary>span,.nx-commerce-stats small,.nx-category-list b small{font-size:12px}.nx-chart-summary small{color:var(--muted)}.nx-real-chart text{fill:#685e74;font-size:12px}.nx-aside-empty{color:var(--muted)}
.topbar-left p{font-size:11px}.creation-canvas .canvas-toolbar>span,.creation-canvas .canvas-badge{font-size:12px}.topbar-left,.topbar-left>div{min-width:0}.topbar-left h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.command-search{width:220px}.profile-copy{max-width:150px}}
@media(max-width:900px){.command-search{width:40px;flex-shrink:0}.topbar-left{flex:1}.topbar-actions{flex-shrink:0}}
@media(max-width:700px){.nx-plan-top .status-badge{font-size:11px}.profile-copy{max-width:140px}.topbar-left h1{font-size:clamp(17px,4.5vw,20px)}.topbar-left p{font-size:11px;letter-spacing:1.4px}}
