:root{--blue:#f45228;--blue-dark:#ce3e1c;--text:#171717;--muted:#646464;--line:#d8d8d3;--bg:#f6f6f3;--green:#269966;--red:#b63c4f;--cyan:#f45228;--shadow:none;--ink:#171717;--paper:#f6f6f3;--orange:#f45228;--white:#fff;--font:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;font-family:var(--font);color:var(--text);font-size:13px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:5px;padding:7px 11px;line-height:1.35;transition:.15s}button:hover{border-color:#e0d9cf;background:#faf9f6}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible{outline:3px solid #e0d9cf;outline-offset:2px}input,select,textarea{border:1px solid #e0d9cf;background:#fff;border-radius:5px;padding:8px 10px;color:var(--text);min-width:0;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #e0d9cf;border-color:var(--blue)}input[type=checkbox],input[type=radio]{width:15px;height:15px;accent-color:var(--blue);cursor:pointer}textarea{resize:vertical;min-height:112px}a{color:var(--blue);text-decoration:none}h1{font-size:20px;margin:0;font-weight:650;letter-spacing:-.4px}h2{font-size:15px;margin:0 0 12px}h3{font-size:14px;margin:0}p{line-height:1.75;margin:8px 0}.topbar{height:60px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 19px;position:relative;z-index:15}.brand{display:flex;align-items:center;color:var(--text);gap:9px;white-space:nowrap}.brand strong{font-size:16px}.brand small{font-size:10px;color:#838383;margin-left:2px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:var(--blue);color:#fff;border-radius:8px;font-size:17px;font-weight:700}.top-actions{display:flex;align-items:center;gap:8px}.admin-label{font-size:11px;color:#707070;margin-right:7px}.avatar{border:0;background:#f2f0e9;color:var(--blue);border-radius:50%;height:31px;width:31px;padding:0;font-weight:700}.preview-banner{height:35px;display:flex;align-items:center;gap:8px;padding:0 21px;background:#f2f0e9;border-bottom:1px solid #f2f0e9;color:#bd3f1e;font-size:11px}.preview-banner strong{font-weight:600}.preview-banner button{margin-left:auto;padding:0;border:0;background:transparent;color:#bd3f1e;font-size:11px}.banner-dot,.status-dot{width:6px;height:6px;display:inline-block;background:#bd3f1e;border-radius:50%;flex-shrink:0}.app-layout{display:flex;min-height:calc(100vh - 95px)}.sidebar{width:164px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:15px 10px;display:flex;flex-direction:column}.nav-item{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;text-align:left;margin-bottom:3px;padding:10px 9px;border-radius:5px;font-size:12px}.nav-item svg{width:15px;height:15px;color:#898989}.nav-item.active{color:#bd3f1e;background:#f2f0e9;border-color:#e0d9cf;font-weight:600}.nav-item.active svg{color:#bd3f1e}.nav-tag{margin-left:auto;padding:1px 5px;background:#f2f0e9;border-radius:3px;font-size:9px;color:#bd3f1e}.sidebar-bottom{margin-top:auto;padding:24px 9px 0;font-size:10px;color:#7f7f7f;line-height:1.6}.sidebar-bottom .status-dot{background:#35ab83;margin-right:5px}.sidebar-bottom small{display:block;font-size:9px;color:#a7a7a7;margin-left:11px}main{padding:22px 24px 30px;width:calc(100% - 164px);max-width:1650px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.page-heading p{margin:4px 0 0;font-size:11px;color:var(--muted)}.heading-actions,.button-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.button-row select{width:auto;min-width:120px}.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 3px #bd3f1e18}.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.danger{color:var(--red);background:#fff3f5;border-color:#f1d8dd}.danger:hover{background:#fde9ee;border-color:#dda6b4}.subtle{background:#faf9f6}.small{padding:5px 9px;font-size:11px}.text-button{border:0;background:transparent;color:var(--blue);padding:3px 5px;font-size:11px}.card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px;box-shadow:var(--shadow);margin-bottom:14px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.card-title h2{margin:0}.muted{color:var(--muted);font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:15px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px 15px;box-shadow:var(--shadow)}.stat-card label{display:block;font-size:10px;color:#838383;margin-bottom:8px}.stat-number{font-size:25px;font-weight:700;line-height:1.15;letter-spacing:-1px}.stat-number small{font-size:10px;color:#939393;font-weight:400;margin-left:4px;letter-spacing:0}.stat-foot{font-size:9px;color:#a1a1a1;margin-top:7px}.stat-warm{color:#bd8b2d}.stores-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.store-card{border:1px solid #f2f0e9;border-radius:6px;padding:12px;background:linear-gradient(140deg,#faf9f6,#f8fcf9);cursor:pointer;transition:.15s}.store-card:hover{border-color:#e0d9cf;transform:translateY(-1px)}.store-top{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px}.online{color:#26946d;font-size:9px}.store-value{font-size:19px;font-weight:650;margin-top:5px}.store-value small{font-size:9px;font-weight:400;color:#a2a2a2;margin-right:5px}.store-add{border:1px dashed #e0d9cf;background:#faf9f6;border-radius:6px;min-height:82px;color:#bd3f1e}.period-tabs{display:flex;gap:5px}.period-tabs button{padding:5px 9px;font-size:10px}.period-tabs .active{background:var(--blue);color:#fff;border-color:var(--blue)}.executor-strip{display:flex;align-items:center;gap:6px;margin:14px 0;color:#878787;font-size:10px}.executor-strip .status-dot{background:#e7a249}.dashboard-bottom{display:grid;grid-template-columns:1.08fr 1fr;gap:14px}.dashboard-bottom .card{margin:0}.decision-item{border:1px solid #f2f0e9;border-radius:5px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;font-size:11px}.decision-item small{display:block;font-size:9px;color:#939393;margin-top:4px}.activity-item{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px dashed #f2f0e9;font-size:11px}.activity-item:last-child{border:0}.activity-item time{color:#a2a2a2;font-size:9px;margin-left:auto;white-space:nowrap}.activity-dot{width:6px;height:6px;border-radius:50%;background:#4da485}.flow-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;background:#faf9f6;border:1px solid #f2f0e9;border-radius:8px;padding:17px}.flow-steps{display:flex;align-items:center;gap:11px;margin-top:8px;color:#747474;font-size:11px}.flow-steps span{display:flex;align-items:center;gap:6px}.flow-steps b{display:grid;place-items:center;background:#f2f0e9;color:#bd3f1e;border-radius:50%;width:20px;height:20px;font-size:10px}.flow-steps i{color:#f45228;font-style:normal}.tabs{display:flex;gap:6px;margin-bottom:17px}.tabs button{border-radius:16px;padding:6px 14px;font-size:11px}.tabs button.active{background:#f2f0e9;border-color:#e0d9cf;color:#4b4b46}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.toolbar-left{display:flex;align-items:center;gap:7px}.toolbar-left label{font-size:11px;white-space:nowrap}.toolbar-left select{width:170px}.task-list{display:flex;flex-direction:column;gap:11px}.task-card{padding:16px 17px;margin:0}.task-upper{display:grid;grid-template-columns:minmax(210px,1fr) 38% auto;gap:20px;align-items:center}.task-title{font-size:12px;font-weight:650;display:flex;gap:8px;align-items:center}.drag-mark{color:#b2b2b2;font-weight:400;font-size:14px}.task-meta{font-size:9px;color:#888888;margin-top:7px;line-height:1.65}.task-actions{display:flex;gap:6px;margin-top:13px;flex-wrap:wrap}.task-actions button{font-size:10px;padding:6px 10px}.progress{height:5px;border-radius:8px;background:#f2f0e9;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#bd3f1e,#bd3f1e);transition:width .3s}.progress-label{display:flex;align-items:center;gap:8px;font-size:9px;color:#6a6a6a}.progress-label .progress{flex:1}.badge{font-size:9px;border-radius:4px;padding:3px 6px;display:inline-flex;align-items:center;white-space:nowrap;background:#f2f0e9;color:#808080}.badge.green{background:#e5f7eb;color:#2c9364}.badge.blue{background:#f2f0e9;color:#bd3f1e}.badge.yellow{background:#fff5dd;color:#a98224}.badge.red{background:#fde9ef;color:#b95b70}.task-empty{padding:50px 10px;text-align:center}.task-empty h3{margin:12px 0 7px}.empty-icon{font-size:30px;color:#e0d9cf}.task-empty p{color:#9f9f9f;font-size:11px}.notice{padding:10px 12px;border:1px solid #f2f0e9;background:#faf9f6;border-radius:5px;font-size:10px;color:#bd3f1e;line-height:1.7;margin:12px 0}.notice.warning{background:#fff9ed;color:#a78442;border-color:#f4e6c9}.monitor{background:#171717;color:#e0d9cf;border-color:#4b4b46}.monitor-title{display:flex;justify-content:space-between;align-items:center}.monitor h2{font-size:13px;margin:0}.monitor-status{color:#4ee0c0;font-size:10px;display:flex;gap:6px;align-items:center}.monitor-status .status-dot{background:#4ee0c0}.monitor-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0;gap:12px}.monitor-metrics label{display:block;font-size:10px;color:#bd3f1e}.monitor-metrics strong{display:block;font-size:26px;font-weight:600;margin-top:8px;color:#faf9f6}.monitor .progress{background:#171717;height:6px}.monitor .progress-fill{background:linear-gradient(90deg,#bd3f1e,#bd3f1e)}.log-toolbar{margin:20px 0 8px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#f45228}.log-toolbar button{background:#171717;border-color:#4b4b46;color:#e0d9cf}.log-area{border:1px solid #4b4b46;background:#171717;padding:14px;border-radius:5px;min-height:200px;max-height:355px;overflow:auto;font-family:Consolas,monospace;line-height:2;font-size:11px}.log-entry{display:grid;grid-template-columns:65px 52px 1fr;gap:8px}.log-entry time{color:#bd3f1e}.log-entry .log-info{color:#bd3f1e}.log-entry .log-success{color:#55dba5}.log-entry .log-warn{color:#e8bd6a}.monitor-note{font-size:10px;color:#f45228;margin-top:12px}.filters{display:grid;grid-template-columns:170px 145px minmax(180px,1fr) auto;gap:8px;margin-bottom:10px}.bulk-bar{background:#faf9f6;border:1px solid #f2f0e9;border-radius:5px;padding:9px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px}.bulk-count{font-size:10px;color:#bd3f1e;margin-right:4px}.bulk-spacer{flex:1}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:10px}th{text-align:left;background:#f2f0e9;color:#6c6c6c;font-weight:500;padding:9px;white-space:nowrap}td{padding:10px 9px;border-bottom:1px solid #f2f0e9;vertical-align:middle}td small{display:block;color:#9f9f9f;font-size:9px;line-height:1.7}.product-cell{display:flex;gap:9px;align-items:center;min-width:240px}.product-name{font-weight:500;max-width:250px;line-height:1.55}.product-thumb{width:45px;height:45px;flex-shrink:0;border:1px solid #f2f0e9;border-radius:5px;overflow:hidden;background:#f6f6f6}.product-thumb svg{width:100%;height:100%}.score{font-weight:700;color:#29936b;font-size:13px}.table-footer{display:flex;align-items:center;gap:7px;margin-top:13px}.table-footer .muted{margin-left:auto}.search-panel{display:flex;gap:10px;align-items:flex-end}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:10px;color:#6d6d6d}.search-panel .field:first-child{flex:1}.search-panel .field:nth-child(2){width:200px}.knowledge-summary{font-size:11px;color:#6c6c6c;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.tag-filters{display:flex;gap:7px;flex-wrap:wrap}.tag-filter{font-size:10px;padding:4px 7px;background:#fff;border-color:#f2f0e9}.tag-filter.active{background:#f2f0e9;border-color:#f45228;color:#bd3f1e}.knowledge-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.knowledge-card{padding:16px;margin:0}.knowledge-card h3{font-size:12px;line-height:1.65;margin:11px 0 7px}.knowledge-card p{font-size:11px;color:#888888;margin:0}.knowledge-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:9px;color:#a9a9a9}.article-list{display:flex;flex-direction:column;gap:10px}.article{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:15px}.article-icon{height:42px;width:42px;border-radius:6px;background:#f2f0e9;display:grid;place-items:center;color:#f45228;font-size:21px;flex-shrink:0}.article-body{flex:1}.article-body h3{font-size:12px;margin-bottom:5px}.article-body p{font-size:10px;color:#959595;margin:0;line-height:1.6}.store-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.store-setting{margin:0}.store-setting .store-value{margin:16px 0}.setting-line{display:flex;justify-content:space-between;font-size:10px;margin:10px 0;color:#8f8f8f}.configuration-state{text-align:center;max-width:540px;margin:60px auto}.configuration-state .empty-icon{display:grid;place-items:center;background:#f2f0e9;border-radius:14px;width:62px;height:62px;margin:0 auto 17px;font-size:24px}.configuration-state h2{font-size:17px}.configuration-state p{font-size:12px;color:#969696;line-height:1.9}.configuration-state .button-row{justify-content:center;margin-top:20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-card{margin:0}.settings-card p{font-size:11px;color:#939393;line-height:1.8}.settings-card .field{margin:16px 0}.modal-backdrop{position:fixed;inset:0;background:#171717a8;backdrop-filter:blur(2px);z-index:40;padding:30px 18px;display:flex;align-items:flex-start;justify-content:center;overflow:auto}.modal{width:760px;max-width:100%;background:#fff;border:1px solid #f2f0e9;border-radius:12px;box-shadow:0 22px 90px #17171755;animation:modal-in .15s ease;position:relative;max-height:calc(100dvh - 60px);display:flex;flex-direction:column}.modal.narrow{width:530px}.modal.wide{width:890px}.modal-header{padding:19px 22px 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f2f0e9;gap:10px}.modal-header h2{margin:0;font-size:14px}.icon-button{padding:0;width:27px;height:27px;border:0;background:#f2f0e9;color:#717171;border-radius:6px;font-size:19px;flex-shrink:0}.modal-body{padding:19px 22px;overflow:auto}.modal-footer{padding:13px 22px;border-top:1px solid #f2f0e9;display:flex;justify-content:flex-end;gap:8px;background:#faf9f6;border-radius:0 0 12px 12px}.modal fieldset{border:1px solid #e0d9cf;border-radius:7px;padding:14px;margin:0 0 15px}.modal legend{font-size:11px;font-weight:600;padding:0 5px;color:#4b4b46}.modal fieldset.blue-fieldset{border-color:#e0d9cf}.modal fieldset.category-fieldset{border-color:#d6b0bb}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.four{grid-template-columns:repeat(4,1fr)}.field-row{display:flex;gap:6px}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:10px;border:1px solid #f2f0e9;border-radius:4px;overflow:hidden}.category-column{padding:6px;min-height:135px;border-right:1px solid #f2f0e9;background:#faf9f6}.category-column:last-child{border:0;background:white}.category-option{display:flex;gap:5px;align-items:center;padding:6px 4px;font-size:10px}.category-option.selected{background:#f2f0e9;border-radius:3px}.category-option span:last-child{margin-left:auto;color:#f45228}.category-hint{padding:12px 8px;font-size:10px;color:#f45228;line-height:1.8}.inline-options{display:flex;gap:20px;flex-wrap:wrap;font-size:10px}.inline-options label{display:flex;align-items:center;gap:5px}.test-result{font-size:11px;color:#668f79;display:flex;gap:6px;align-items:center}.query-step{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.quantity-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.quantity-row button.active{background:var(--blue);color:#fff;border-color:var(--blue)}.quantity-row input{width:100px}.detail-toolbar{display:flex;gap:8px;align-items:center;padding:11px;border-radius:5px;background:#faf9f6;flex-wrap:wrap;margin-bottom:12px}.detail-toolbar select{width:160px}.detail-toolbar input[type=number]{width:70px}.detail-product{border:1px solid #f2f0e9;border-radius:6px;padding:12px;margin-bottom:9px;display:flex;gap:12px;align-items:flex-start}.detail-product .product-thumb{width:56px;height:56px}.detail-product-main{flex:1;min-width:0}.detail-product h3{font-size:11px;line-height:1.6;margin:0 0 3px}.detail-product small{display:block;font-size:9px;color:#979797;line-height:1.7}.detail-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:7px 0}.detail-badges .muted{font-size:9px}.product-pricing{display:flex;gap:18px;font-size:10px;color:#bd3f1e;margin-top:9px}.report-score{display:flex;align-items:center;gap:26px;margin-bottom:16px}.report-score strong{font-size:38px;line-height:1;color:#249966}.report-score p{font-size:10px;color:#f45228;margin:5px 0 0}.report-score .before-after{font-size:15px;font-weight:650;color:#bd3f1e}.report-table td,.report-table th{padding:10px 9px}.report-table td{line-height:1.7}.checklist{list-style:none;padding:0;font-size:11px;line-height:2.1}.checklist li:before{content:'✓';color:#2c9b6e;margin-right:8px;font-weight:700}.report-panel{background:#faf9f6;border:1px solid #f2f0e9;border-radius:6px;padding:14px;font-size:11px;color:#bd3f1e;margin:12px 0}.toast-stack{position:fixed;right:24px;bottom:22px;z-index:60;display:flex;flex-direction:column;gap:9px;max-width:380px;pointer-events:none}.toast{background:#fff;box-shadow:0 8px 28px #4b4b4625;border:1px solid #f2f0e9;border-left:3px solid #bd3f1e;border-radius:6px;padding:12px 17px;font-size:11px;line-height:1.7;animation:modal-in .2s ease}.toast.success{border-left-color:#249b72}.toast.warning{border-left-color:#d69a38}.menu-toggle{display:none}.result-count{font-size:10px;color:#999999;margin:13px 0}.form-error{color:#bc5065;font-size:11px;margin:9px 0}.empty-row td{text-align:center;color:#a5a5a5;padding:38px}.padded-copy{font-size:12px;color:#747474;line-height:1.9}.padded-copy p{margin-bottom:12px}.pill-note{font-size:9px;border:1px solid #f2f0e9;color:#bd3f1e;background:#faf9f6;padding:3px 6px;border-radius:3px}.spinner{display:inline-block;width:12px;height:12px;border:2px solid #e0d9cf;border-top-color:#bd3f1e;border-radius:50%;animation:spin .8s linear infinite}.tab-count{background:#f2f0e9;border-radius:7px;padding:1px 5px;margin-left:5px;font-size:9px}.code-text{font-family:Consolas,monospace}.menu-overlay{display:none}@keyframes modal-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1450px){.stats-grid{gap:14px}.stat-card{padding:19px}.stores-grid{grid-template-columns:repeat(4,1fr)}.dashboard-bottom .card{padding:20px}.store-card{padding:16px}.stat-number{font-size:28px}}
@media(max-width:1100px){main{padding:19px 17px}.stats-grid{grid-template-columns:repeat(3,1fr)}.stores-grid{grid-template-columns:repeat(3,1fr)}.store-settings{grid-template-columns:1fr 1fr}.brand small{display:none}.task-upper{grid-template-columns:1fr 30% auto;gap:12px}.stat-card{padding:12px 14px}.admin-label{display:none}.topbar{padding:0 14px}.flow-steps{gap:6px}.flow-card{align-items:flex-start}.flow-steps i{display:none}}
@media(max-width:760px){.menu-toggle{display:block;margin-right:10px}.topbar{height:56px}.brand{margin-right:auto;gap:7px}.brand strong{font-size:13px}.brand-mark{width:27px;height:27px;font-size:15px}.top-actions button:first-of-type{display:none}.top-actions{gap:5px}.top-actions>button{font-size:10px;padding:6px 8px}.preview-banner{height:auto;min-height:42px;flex-wrap:wrap;padding:7px 12px;gap:5px}.preview-banner>span:last-of-type{width:100%;font-size:9px;order:4;margin-left:12px}.preview-banner button{font-size:9px}.app-layout{min-height:calc(100vh - 98px)}.sidebar{position:fixed;top:98px;bottom:0;left:0;z-index:25;transform:translateX(-100%);transition:.2s;width:182px;box-shadow:8px 0 25px #17171718}.sidebar.open{transform:none}.sidebar.open::after{content:'';position:fixed;left:182px;top:0;width:calc(100vw - 182px);height:100%;background:#17171755;z-index:-1}main{padding:17px 12px 25px;width:100%}.page-heading{align-items:flex-start;gap:8px;margin-bottom:14px}h1{font-size:18px}.heading-actions button{font-size:10px;padding:7px 9px}.stats-grid{gap:7px;grid-template-columns:repeat(3,1fr)}.stat-card{padding:12px 10px}.stat-number{font-size:21px}.stat-card label{font-size:9px}.stat-foot{font-size:8px}.stores-grid{grid-template-columns:1fr 1fr}.store-card{padding:11px}.dashboard-bottom{grid-template-columns:1fr}.flow-card{flex-direction:column}.flow-steps{flex-wrap:wrap;gap:8px}.flow-steps span{font-size:10px}.card{padding:13px}.toolbar{flex-wrap:wrap}.toolbar-left{flex-wrap:wrap}.toolbar-left select{width:150px}.task-upper{grid-template-columns:1fr auto}.task-upper .progress-label{grid-column:1 / 3;grid-row:2}.task-meta{font-size:9px}.task-actions{gap:5px}.task-actions button{padding:6px 8px;font-size:10px}.monitor-metrics{grid-template-columns:1fr 1fr;padding:20px 0}.log-area{padding:9px;font-size:10px}.log-entry{grid-template-columns:53px 38px 1fr;gap:4px}.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1}.bulk-spacer{display:none}.bulk-bar{gap:5px}.bulk-bar button{font-size:9px;padding:6px 7px}.search-panel{flex-wrap:wrap}.search-panel .field:first-child{flex:1 1 100%}.search-panel .field:nth-child(2){flex:1}.knowledge-list{grid-template-columns:1fr}.store-settings{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.article{padding:12px;gap:10px;flex-wrap:wrap}.article .button-row{margin-left:52px}.article-body{min-width:180px}.modal-backdrop{padding:13px 8px}.modal{max-height:calc(100dvh - 26px);border-radius:9px}.modal-header{padding:15px 14px 12px}.modal-body{padding:15px 14px}.modal-footer{padding:11px 14px}.form-grid,.form-grid.four{grid-template-columns:1fr 1fr}.categories{grid-template-columns:1fr 1fr}.category-column:last-child{display:none}.form-grid.two{gap:10px}.detail-product{padding:9px;gap:8px}.detail-product .product-thumb{width:42px;height:42px}.detail-product h3{font-size:10px}.detail-badges{gap:5px}.product-pricing{gap:8px;flex-wrap:wrap}.toast-stack{left:12px;right:12px;bottom:14px;max-width:none}.report-table{font-size:9px}.task-title{font-size:11px}.knowledge-summary{gap:9px}.brand-mark{display:none}.period-tabs button{font-size:9px}}
/* 表格工作流与真实接口状态 */
.nav-symbol{display:inline-grid;place-items:center;width:16px;font-size:16px;color:#919191}.nav-item.active .nav-symbol{color:var(--blue)}
.live-empty{text-align:center;padding:52px 24px;display:flex;align-items:center;flex-direction:column;gap:8px}.live-empty .button-row{justify-content:center}.empty-symbol{font-size:42px;color:#f45228;margin-bottom:10px}.live-empty p{max-width:560px;color:var(--muted)}
.live-error{border:1px solid #edcad0;background:#fff5f7;color:#9f3b4f;display:flex;align-items:center;justify-content:space-between;gap:12px}.live-error button{flex-shrink:0}.live-help{margin-top:18px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.connection-grid>div{padding:12px;background:#faf9f6;border-radius:6px}.connection-grid p{color:#727272;font-size:12px}
.live-flow{margin:18px 0}.live-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.live-filters label{display:grid;gap:6px;min-width:160px;font-size:11px;color:#7f7f7f}.live-filters .search-label{flex:1;min-width:220px}.button-link{display:inline-block;border:1px solid #e0d9cf;padding:8px 11px;line-height:1.35;border-radius:5px;background:#fff;white-space:nowrap;color:#bd3f1e;font-size:12px}.button-link:hover{background:#f2f0e9;border-color:#e0d9cf}.task-actions .button-link{font-size:11px;padding:7px 11px}.task-card{margin-bottom:12px}.task-name small{display:block;color:#8e8e8e;margin-top:8px;font-size:11px}.task-progress>div:first-child{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;font-size:11px;color:#bd3f1e}.progress-track{height:5px;background:#f2f0e9;border-radius:6px;overflow:hidden}.progress-track i{height:100%;display:block;background:#bd3f1e}.task-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.monitor-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px}.monitor-panel{border-radius:9px;background:#171717;color:#e0d9cf;overflow:hidden;border:1px solid #171717}.monitor-header{padding:19px 20px;border-bottom:1px solid #4b4b46;display:flex;align-items:center;justify-content:space-between;gap:12px}.monitor-header h2{margin:0;color:#f2f0e9}.monitor-header .status-dot{background:#bd3f1e;margin-right:8px}.monitor-header>span{font-size:10px;color:#bd3f1e}.terminal-log{padding:16px 20px;max-height:540px;min-height:280px;overflow:auto;font:11px/1.85 Consolas,monospace}.log-line{display:grid;grid-template-columns:125px 55px minmax(0,1fr);gap:10px;padding:5px 0;border-bottom:1px solid #ffffff08}.log-line time{color:#f45228}.log-line b{font-weight:500;color:#f45228}.log-line.success b{color:#42c7a8}.log-line.warn b{color:#f2be63}.log-line span{overflow-wrap:anywhere}.live-running{border-bottom:1px solid var(--line);padding:12px 0}.live-running p{color:#7f7f7f}
.table-card .table-scroll{overflow-x:auto}.product-table{width:100%;min-width:810px;border-collapse:collapse}.product-table th{text-align:left;background:#faf9f6;white-space:nowrap;color:#bd3f1e;font-size:11px;padding:13px 12px}.product-table td{padding:14px 12px;vertical-align:middle;border-top:1px solid #f2f0e9}.product-table th:first-child{width:39%}.live-product-title{display:grid;gap:5px;max-width:430px}.live-product-title b{font-size:12px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}.live-product-title small{color:#8a8a8a}.field-error{color:#b95363;font-size:10px;line-height:1.7}.product-detail-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.cost-result{border:1px solid #f2f0e9;padding:16px;border-radius:7px;background:#faf9f6;margin:15px 0}.cost-row{display:flex;flex-wrap:wrap;gap:24px;margin-top:12px;color:#bd3f1e}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.evidence-grid>div{padding:14px;border:1px solid #f2f0e9;border-radius:6px;background:#faf9f6;overflow-wrap:anywhere}.evidence-grid h3{margin-bottom:10px;color:#bd3f1e}.article-copy{white-space:pre-wrap;overflow-wrap:anywhere}.evidence-list{padding-left:20px;font-size:12px;line-height:1.85;color:#bd3f1e}.modal-open{overflow:hidden}.modal .form-grid label{display:grid;gap:7px;font-size:11px;color:#747474}.modal input[type=file]{padding:6px}.form-grid .span-2{grid-column:1/-1}.api-config{max-width:880px}.api-config .form-grid{margin:19px 0}.api-config .form-grid label{display:grid;gap:7px;font-size:11px;color:#767676}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.config-result{margin-top:14px;padding:11px 14px;background:#faf9f6;border-radius:5px;color:#797979;min-height:18px;white-space:pre-wrap}.config-result:empty{display:none}.config-result.success{background:#ecf8f2;color:#238356}.article-list{display:grid;gap:14px}.article-card .card-title{align-items:flex-start}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.knowledge-grid p{color:#747474;font-size:12px}
@media(max-width:900px){.task-upper{display:flex;flex-wrap:wrap;align-items:center}.task-progress{flex:1;min-width:150px}.task-name{flex:1 1 100%}.monitor-grid{grid-template-columns:1fr}.connection-grid{gap:12px}}
@media(max-width:600px){.live-filters label{flex:1;min-width:130px}.live-filters .search-label{min-width:100%;flex-basis:100%}.live-filters .button-link{width:100%;text-align:center}.connection-grid,.knowledge-grid,.evidence-grid{grid-template-columns:1fr}.log-line{grid-template-columns:1fr 45px;gap:5px}.log-line span{grid-column:1/-1}.terminal-log{padding:12px}.monitor-header{padding:14px}.modal .form-grid,.api-config .form-grid{grid-template-columns:1fr}.modal .form-grid .span-2{grid-column:auto}.live-error{align-items:flex-start}.api-config .button-row{flex-wrap:wrap}.live-empty{padding:32px 18px}.cost-row{gap:9px;flex-direction:column}.flow-steps span{white-space:nowrap}.task-actions .button-link{font-size:10px;padding:6px 8px}.sidebar{top:98px}}
/* 多平台表格工作台 */
.platform-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 15px;margin-bottom:19px;border:1px solid #f2f0e9;border-radius:8px;background:#fff}.platform-bar>div:first-child{display:grid;gap:3px;flex-shrink:0}.platform-bar b{font-size:12px;color:#4b4b46}.platform-bar small{font-size:9px;color:#979797}.platform-switch{display:flex;gap:5px;flex-wrap:wrap}.platform-switch button{font-size:11px;padding:7px 10px;border:1px solid #f2f0e9;background:#faf9f6;color:#bd3f1e}.platform-switch button.active{background:#f2f0e9;border-color:#e0d9cf;color:#bd3f1e;font-weight:600}.platform-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.platform-card{display:flex;align-items:center;gap:11px;text-align:left;padding:17px 15px;background:#fff;border:1px solid #f2f0e9;border-radius:8px;min-width:0;box-shadow:var(--shadow)}.platform-card.active{border-color:#f45228;background:#faf9f6}.platform-card>div{min-width:0;display:grid;gap:7px}.platform-card b{font-size:13px;color:#4b4b46;white-space:nowrap}.platform-card small{font-size:10px;color:#949494;white-space:nowrap}.platform-mark{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:9px;background:#f2f0e9;color:#bd3f1e;font-size:17px;font-weight:700}.platform-mark.tiktok_us{background:#f2f0e9;color:#4b4b46}.platform-mark.amazon_us{background:#fff4e5;color:#a56e23}.platform-card-count{margin-left:auto;font-size:23px;font-weight:600;color:#4b4b46;display:grid;gap:1px;text-align:right}.platform-card-count small{font-size:9px;font-weight:400}.platform-badge{display:inline-block;font-size:9px;padding:3px 6px;line-height:1.2;border-radius:4px;border:1px solid #f2f0e9;background:#f2f0e9;color:#bd3f1e;white-space:nowrap}.platform-badge.tiktok_us{border-color:#e0d9cf;background:#f2f0e9;color:#4b4b46}.platform-badge.amazon_us{border-color:#f1e2cd;background:#fff6e9;color:#986d34}.currency-code{display:inline;font-size:9px;color:#979797;white-space:nowrap}.product-detail-heading{flex-wrap:wrap}.preview-banner{height:auto;min-height:35px;line-height:1.6}.preview-banner>span:last-of-type{padding:4px 0}.task-name small .platform-badge{margin-bottom:2px}.platform-card:hover{border-color:#e0d9cf;background:#faf9f6}.cost-result .currency-code{color:#bd3f1e}
@media(max-width:1150px){.platform-card{padding:13px 11px;gap:8px}.platform-card b{font-size:11px}.platform-card small{font-size:9px}.platform-mark{width:29px;height:29px;font-size:14px}.platform-card-count{font-size:20px}.platform-bar{align-items:flex-start}.platform-switch{justify-content:flex-end}}
@media(max-width:760px){.platform-bar{flex-direction:column;align-items:stretch;gap:9px;padding:11px 12px}.platform-switch{justify-content:flex-start;display:grid;grid-template-columns:1fr 1fr;gap:5px}.platform-switch button{font-size:10px;padding:7px 8px}.platform-cards{grid-template-columns:1fr;gap:7px}.platform-card{padding:12px 13px}.platform-card b{font-size:12px}.platform-card small{font-size:10px}.platform-mark{width:31px;height:31px}.platform-card-count{font-size:22px}.platform-bar>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.platform-bar small{font-size:8px}.sidebar{top:var(--workbench-nav-top,98px)}.product-detail-heading .muted{flex-basis:100%;font-size:10px}.preview-banner{padding-top:7px;padding-bottom:7px}.preview-banner>span:last-of-type{padding:0;line-height:1.7}}
/* Yangu: official v18 black / paper / orange identity.
   The two logo windows use the original supplied 1536x1024 artwork unchanged. */
body{-webkit-font-smoothing:antialiased;background:var(--paper)}
button,input,select,textarea{border-radius:2px}button{box-shadow:none}button:hover{border-color:#aaa9a2;background:#f0efe9}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #f4522845;border-color:var(--orange)}input[type=checkbox],input[type=radio]{accent-color:var(--orange)}a{color:#a83819}h1,h2,h3{letter-spacing:-.035em}h1{font-weight:650}h2,h3{font-weight:600}.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:none}.primary:hover{background:#ce3e1c;border-color:#ce3e1c}.danger{color:#a63849;background:#fff2f4;border-color:#eccbd1}.danger:hover{background:#ffe8ed;border-color:#dba3b0}
.topbar{height:72px;padding:0 22px;background:#000;color:#fff;border-bottom:1px solid #292929;gap:18px}.brand{display:inline-flex;align-items:center;gap:15px;flex-shrink:0;min-height:44px;color:#fff}.brand-symbol,.brand-wordmark{display:block;background-image:url('/brand/brand-original.jpg');background-repeat:no-repeat;flex:none}.brand-symbol{width:48px;height:36px;background-size:153.6px 102.4px;background-position:-53px -10.7px}.brand-wordmark{width:103px;height:31px;background-size:322.56px 215.04px;background-position:-110px -104px}.brand-context{font-size:11px;color:#aaa;letter-spacing:.045em;border-left:1px solid #393939;padding-left:15px;margin-left:2px}.top-actions{gap:9px}.top-actions .admin-label{color:#aaa;font-size:10px}.top-actions button{background:#fff;color:#171717;border-color:#fff;border-radius:1px}.top-actions button:hover{background:var(--orange);border-color:var(--orange);color:#fff}.top-actions button[data-action=refresh]{background:transparent;border-color:#555;color:#ddd}.top-actions button[data-action=refresh]:hover{border-color:var(--orange);color:#fff;background:#252525}.top-actions a{font-size:11px;color:#bdbdbd;margin-left:4px}.top-actions a:hover{color:#fff}.topbar .menu-toggle{background:transparent;color:#fff;border:1px solid #414141;border-radius:1px;min-width:32px}.topbar .menu-toggle:hover{border-color:var(--orange)}
.preview-banner{background:#eeede7;color:#62625c;border-color:var(--line);padding:7px 22px;min-height:38px;line-height:1.6;gap:9px}.preview-banner strong{font-size:11px;font-weight:600;color:#2d2d2a}.preview-banner button{color:#8c3c24}.banner-dot{background:var(--orange);border-radius:0;width:5px;height:5px}.app-layout{min-height:calc(100dvh - var(--workbench-nav-top,110px))}.sidebar{background:#fff;border-color:var(--line);padding-top:18px}.nav-item{color:#696961;border-radius:2px;border-color:transparent;font-weight:400}.nav-item:hover{background:#f4f3ee;border-color:#e4e3dc;color:#171717}.nav-item.active{background:#fff0e9;color:#ac3618;border-color:#f0d7cc;font-weight:600}.nav-symbol{color:#8c8c84}.nav-item.active .nav-symbol{color:var(--orange)}.nav-tag,.tab-count{background:#f9dfd3;color:#a53a1f;border-radius:2px}.sidebar-bottom{color:#6e6e67;border-top:1px solid #e7e6df;margin:24px 9px 0;padding:14px 0 0}.sidebar-bottom small{color:#99998f}.sidebar-bottom .status-dot{background:#269966}
.card,.stat-card,.store-card,.store-add,.flow-card,.platform-bar,.platform-card,.monitor-panel,.modal{border-radius:2px;box-shadow:none}.card,.stat-card{background:#fff;border-color:var(--line)}.card-title{border-color:var(--line)}.stat-card{border-top:2px solid #292929}.stat-card label{color:#72726b}.stat-number{color:#171717;font-weight:600;letter-spacing:-.045em}.stat-number small{color:#99998e;font-weight:400}.stat-foot{color:#8a8a7f}.page-heading p,.heading-actions .muted,.muted{color:var(--muted)}.stats-grid{gap:12px}.decision-item,.activity-item{border-color:#e4e3dc}.decision-item small,.activity-item time{color:#929288}.activity-dot{background:var(--orange);border-radius:0;width:5px;height:5px}.flow-card{background:#eeede7;border-color:#d8d8d1;border-left:3px solid var(--orange)}.flow-card h3{color:#282824}.flow-steps span{color:#77776e}.flow-steps b{background:#fff;color:#a23b20;border:1px solid #e4d3c8;border-radius:1px}.flow-steps i{color:#a7a79b}.connection-grid>div{background:#f4f3ee;border:1px solid #e4e3da;border-radius:1px}.connection-grid p{color:#68685f}
.tabs{border-color:#d1d1c9}.tabs button{background:transparent;color:#818179;border-radius:0}.tabs button:hover{color:#171717}.tabs button.active{color:#171717;border-color:var(--orange);background:transparent}.task-card{border-left:2px solid #c9c9c1}.task-name b{color:#21211e}.task-name small,.task-progress>div:first-child,.task-upper>.muted{color:#77776c}.progress-track{background:#e4e3dc;border-radius:0}.progress-track i{background:var(--orange)}.task-actions button,.task-actions .button-link{border-radius:1px}.task-progress b{color:#393934}.button-link{color:#55554f;border-color:#d1d1c8;background:#fff;border-radius:1px}.button-link:hover{border-color:#aaa99f;background:#f3f2ec;color:#a83819}.pill-note{background:#f4f2eb;border-color:#ddd8ce;color:#7a7164}.toolbar,.live-filters{border-color:var(--line)}.live-filters label{color:#74746a}.table-card .result-count{color:#8a897f}.product-table th{background:#efeee8;color:#747469;border-bottom:1px solid #d9d8cf;font-weight:500}.product-table td{border-color:#e6e5dd}.product-table tbody tr:hover{background:#fcfbf8}.live-product-title b{color:#282823}.live-product-title small{color:#818177}.currency-code{color:#939387}.field-error,.form-error{color:#a63849}.empty-row td{color:#929287}.text-button{color:#9e3b21}.text-button:hover{color:var(--orange);background:transparent;border-color:transparent}
.badge{border-radius:2px}.badge.blue{background:#fff0e7;color:#ad3a1d;border-color:#eed2c2}.badge.green{background:#eaf6ef;color:#257649;border-color:#cce6d7}.badge.yellow{background:#fff4d9;color:#986b17;border-color:#eadba8}.badge.red{background:#fff0f2;color:#a63c51;border-color:#ebccd3}.platform-bar{background:#fff;border-color:var(--line);border-top:2px solid #242424;padding-top:12px}.platform-bar b{color:#292924}.platform-bar small{color:#8c8c82}.platform-switch button{color:#717166;background:#f6f5ef;border-color:#deddd3;border-radius:1px}.platform-switch button:hover{color:#171717;border-color:#bfbeb4;background:#eeede6}.platform-switch button.active{background:#171717;border-color:#171717;color:#fff}.platform-cards{gap:12px}.platform-card{background:#fff;border-color:#d8d8d1;border-top:2px solid #aaa99f}.platform-card.active{border-color:#d8d8d1;border-top-color:var(--orange);background:#fffaf7}.platform-card:hover{background:#fffaf7;border-color:#d3c4ba;border-top-color:var(--orange)}.platform-card b{color:#242420}.platform-card small{color:#868679}.platform-mark,.platform-mark.tiktok_us,.platform-mark.amazon_us{background:#eeede6;color:#34342d;border-radius:1px}.platform-card.active .platform-mark{background:var(--orange);color:#fff}.platform-card-count{color:#34342c;font-weight:500}.platform-badge,.platform-badge.tiktok_us,.platform-badge.amazon_us{color:#75756a;background:#f3f2eb;border-color:#e2dfd4;border-radius:1px}.platform-card.active .platform-card-count{color:#9c3d24}
.monitor-panel{background:#171717;border-color:#292929}.monitor-header{border-color:#363632}.monitor-header h2{color:#f3f2ec}.monitor-header>span{color:#a5a59a}.monitor-header .status-dot{background:var(--orange);border-radius:0}.terminal-log{color:#d1d1c5;font-family:'Courier New',monospace}.log-line{border-color:#ffffff08}.log-line time{color:#85857c}.log-line b{color:#ff7956}.log-line.success b{color:#63be8f}.log-line.warn b{color:#e5bc6a}.live-running{border-color:var(--line)}.live-running p{color:#74746a}
.modal-backdrop{background:#111111b0;backdrop-filter:blur(2px)}.modal{border-color:#bdbdb2;background:#fff;box-shadow:0 20px 90px #0004;border-top:3px solid var(--orange)}.modal-header{border-color:#deddd5;background:#faf9f5}.modal-header h2{color:#22221e}.modal-footer{border-color:#deddd5;background:#f3f2ec;border-radius:0}.modal fieldset{border-color:#d9d8cf;border-radius:1px}.modal legend{color:#626258}.modal .form-grid label,.api-config .form-grid label{color:#6b6b60}.notice{border-radius:1px;background:#f2f0e8;color:#706c5f;border-color:#ded9c9}.live-error{background:#fff3f5;color:#9d3449;border-color:#e9c7ce}.cost-result{background:#f5f3ec;border-color:#dcd7c9;border-radius:1px}.cost-result b{color:#39362e}.cost-row{color:#9d3b1f}.cost-result .currency-code{color:#888271}.evidence-grid>div{background:#f6f5ef;border-color:#dedbd0;border-radius:1px}.evidence-grid h3{color:#7b6d57}.evidence-list{color:#6a695d}.article-copy{color:#505048}.knowledge-grid p,.padded-copy{color:#6c6c62}.config-result{background:#f4f2eb;color:#797566;border-radius:1px}.config-result.success{background:#eaf6ef;color:#257649}.toast{border-color:#d8d6cc;border-left-color:var(--orange);border-radius:1px;background:#fff;box-shadow:0 7px 25px #0002;color:#45453e}.toast.success{border-left-color:#269966}.toast.warning{border-left-color:#b78b29}.spinner{border-color:#e5d8cf;border-top-color:var(--orange)}.live-empty .empty-symbol{color:#bfa99b}
@media(max-width:1050px){.brand-context{display:none}.topbar{padding:0 18px;gap:14px}.brand{gap:10px}.brand-wordmark{width:93px;height:28px;background-size:291.84px 194.56px;background-position:-99.5px -94px}}
@media(max-width:760px){.topbar{height:64px;padding:0 12px;gap:7px}.brand{gap:10px;margin-right:auto;min-height:36px}.brand-symbol{width:39px;height:30px;background-size:126px 84px;background-position:-43.5px -8.8px}.brand-wordmark{width:88px;height:27px;background-size:276.48px 184.32px;background-position:-94.3px -89.2px}.topbar .menu-toggle{margin-right:2px;padding:5px 7px;min-width:29px}.top-actions{gap:5px}.top-actions button[data-action=refresh]{font-size:10px;padding:6px 7px}.top-actions a{font-size:10px;margin-left:0}.preview-banner{padding:8px 13px;gap:5px}.preview-banner strong{font-size:10px}.preview-banner>span:last-of-type{font-size:9px}.sidebar{top:var(--workbench-nav-top,110px);box-shadow:8px 0 25px #0002}.sidebar.open::after{background:#1117}.platform-bar,.platform-card,.modal{border-radius:1px}.modal{border-top-width:3px}.platform-switch button{min-height:34px}.card,.stat-card{border-radius:1px}.platform-card{border-top-width:2px}.modal-backdrop{padding:12px 8px}.stats-grid{gap:7px}.platform-card b{font-size:12px}.flow-card{border-left-width:2px}}
@media(prefers-reduced-motion:reduce){button,.nav-item,.sidebar{transition:none}.toast,.modal{animation:none}}
@media(max-width:760px){.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.sidebar-bottom{flex:none}}
/* Internal pilot: account allowance and administrator console. */
.membership-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--orange)}.membership-bar>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.membership-email{font-size:12px;color:var(--ink);overflow-wrap:anywhere}.quota-status{display:grid;gap:3px;text-align:right;flex:none}.quota-status b{font-size:13px;color:#96351d;font-weight:600}.quota-status span{font-size:10px;color:var(--muted)}.quota-status.exhausted b{color:#a63849}.sidebar-bottom .status-dot.pending{background:#b78b29}.pending-access{max-width:650px;margin:44px auto;padding:42px 36px;text-align:center;border-top:3px solid var(--orange)}.pending-symbol{display:inline-grid;place-items:center;width:54px;height:54px;background:#fff0e9;color:var(--orange);font-size:30px;margin-bottom:15px}.pending-access h1{font-size:25px;margin:6px 0 22px}.pending-access p{line-height:1.9;color:var(--muted);margin:14px 0}.pending-email{display:block;font-size:17px;color:var(--ink);overflow-wrap:anywhere}.pending-access .button-row{justify-content:center;margin:24px 0 18px}.pending-access button,.pending-access .button-link{padding:10px 17px;min-height:40px}.admin-section{margin-top:20px}.admin-section .card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px}.admin-section .card-title h2{font-size:14px;margin:0}.admin-section .card-title>.muted{font-size:10px}.admin-section table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.admin-section th{font-weight:500;background:#efeee8;color:#747469;border-bottom:1px solid #d9d8cf;white-space:nowrap}.admin-section th,.admin-section td{padding:13px 15px;vertical-align:top}.admin-section td{border-bottom:1px solid #e6e5dd}.admin-section tbody tr:last-child td{border-bottom:0}.admin-section tbody tr:hover{background:#fcfbf8}.admin-members-table{min-width:930px}.admin-usage-table{min-width:800px}.admin-audit-table{min-width:750px}.admin-email{display:block;font-size:10px;margin-top:4px;color:var(--muted);overflow-wrap:anywhere;max-width:240px}.admin-email-cell{overflow-wrap:anywhere;max-width:240px}.admin-cell-note{display:block;font-size:9px;color:var(--muted);line-height:1.6;margin-top:5px}.admin-date{font-size:10px;white-space:nowrap}.admin-members-table .button-row{flex-wrap:nowrap;gap:5px}.admin-section .badge{white-space:nowrap}.admin-stats .stat-number{font-size:26px}.admin-stats .stat-card{padding:16px}.admin-quota-note{margin-top:15px;line-height:1.8}.api-config input[readonly],.modal input[readonly]{background:#f6f5ef;color:#64645b}.api-config input[readonly]{overflow:hidden;text-overflow:ellipsis}.top-actions [hidden]{display:none!important}
@media(max-width:760px){.membership-bar{align-items:flex-start;flex-direction:column;gap:9px;padding:11px 12px;margin-bottom:12px}.membership-bar>div:first-child{width:100%;gap:7px}.membership-email{font-size:11px}.quota-status{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.quota-status b{font-size:12px}.quota-status span{font-size:9px}.pending-access{margin:24px auto;padding:30px 18px}.pending-access h1{font-size:22px}.pending-email{font-size:15px}.pending-access p{font-size:12px}.admin-section{margin-top:14px}.admin-section .card-title{align-items:flex-start;flex-direction:column;gap:6px;padding:13px}.admin-section th,.admin-section td{padding:11px 12px}.admin-stats .stat-card{padding:12px 10px}.admin-stats .stat-number{font-size:23px}.admin-quota-note{font-size:11px}.page-heading .heading-actions:has([data-action=new-member]){display:flex;flex-wrap:wrap;gap:7px}.page-heading [data-action=new-member],.page-heading [data-action=refresh-admin]{min-height:38px}}
/* Yangu-owned login, invitation activation, and password forms. */
.auth-page{min-height:100dvh;background:var(--paper);color:var(--ink);display:flex;flex-direction:column}.auth-header{height:84px;padding:0 42px;background:#000;display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none}.auth-header-note{color:#999;font-size:11px;letter-spacing:.08em}.auth-main{width:100%;max-width:1160px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,430px);gap:80px;align-items:center;padding:65px 40px;min-height:0;flex:1}.auth-intro{padding-bottom:25px}.auth-eyebrow{display:block;color:#a83819;letter-spacing:.14em;font-size:11px;margin-bottom:25px}.auth-intro h1{font-size:39px;line-height:1.45;margin:0 0 22px;font-weight:600;letter-spacing:-.055em}.auth-intro p{color:var(--muted);font-size:14px;line-height:2;margin-bottom:28px}.auth-platforms{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.auth-platforms span{font-size:10px;padding:7px 9px;border:1px solid #d8d8d3;color:#64645b}.auth-intro>small{font-size:10px;color:#85857c}.auth-card{padding:31px 32px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--orange);min-width:0}.auth-card-tag{display:block;font-size:10px;letter-spacing:.11em;color:#9a3a20;margin-bottom:13px}.auth-card h2{font-size:23px;line-height:1.4;margin:0 0 10px}.auth-card-copy{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 21px}.auth-form{display:grid;gap:9px}.auth-form>label{font-size:12px;color:#42423c;margin-top:6px}.auth-form input{min-height:44px;border-color:#d1d1c8;font-size:13px}.auth-form input[readonly]{background:#f5f4ee;color:#64645b}.auth-form>small{font-size:10px;color:#85857a;line-height:1.7}.auth-password-field{position:relative}.auth-password-field input{padding-right:63px}.auth-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);font-size:10px;padding:6px 8px;color:#77776d;border-color:transparent;background:transparent}.auth-password-toggle:hover{color:#a83819;border-color:#ddd9cf;background:#f5f3ed}.auth-invite-name{font-size:11px;color:#6e6e64;line-height:1.7;margin:0}.auth-submit{min-height:44px;margin-top:13px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}.auth-submit .spinner{border-color:#ffffff75;border-top-color:#fff}.auth-error{font-size:12px;line-height:1.8;padding:11px 13px;background:#fff2f4;border:1px solid #eccbd1;color:#a63849;margin-top:16px;overflow-wrap:anywhere}.auth-bottom-copy{font-size:10px;line-height:1.9;color:#858578;margin:22px 0 0;padding-top:17px;border-top:1px solid #e4e3dc}.auth-bottom-copy a{display:inline-block;font-size:11px;margin-top:9px;color:#9d3b1f}.auth-invite-loading{display:flex;align-items:center;gap:9px;color:var(--muted);padding:20px 0;font-size:12px}.auth-footer{padding:20px 40px;color:#99998e;text-align:center;font-size:10px;border-top:1px solid #e5e4dc}.invite-link-label{display:block;font-size:12px;color:var(--muted);margin-top:18px}.invite-link-label input{display:block;margin-top:8px;font-size:12px;min-height:44px}.top-actions .logout-button{background:transparent;color:#bdbdbd;border-color:transparent;font-size:11px;padding:6px}.top-actions .logout-button:hover{color:#fff;background:#242424;border-color:#555}.admin-members-table{min-width:1010px}
@media(max-width:900px){.auth-header{padding:0 26px;height:76px}.auth-main{gap:40px;padding:45px 26px;grid-template-columns:minmax(0,1fr) minmax(0,390px)}.auth-intro h1{font-size:30px}.auth-intro p{font-size:12px}.auth-card{padding:27px 26px}.auth-intro .auth-platforms span{font-size:9px;padding:6px}}
@media(max-width:650px){.auth-header{height:68px;padding:0 17px;gap:10px}.auth-header .brand-context{display:none}.auth-header .brand{gap:11px}.auth-header .brand-symbol{width:39px;height:30px;background-size:126px 84px;background-position:-43.5px -8.8px}.auth-header .brand-wordmark{width:88px;height:27px;background-size:276.48px 184.32px;background-position:-94.3px -89.2px}.auth-header-note{font-size:9px}.auth-main{display:flex;flex-direction:column;gap:25px;padding:28px 16px 35px;align-items:stretch;justify-content:center}.auth-intro{padding:0 5px}.auth-eyebrow{font-size:9px;margin-bottom:11px}.auth-intro h1{font-size:25px;line-height:1.5;margin-bottom:10px}.auth-intro h1 br{display:none}.auth-intro p{font-size:11px;line-height:1.9;margin-bottom:12px}.auth-intro p br{display:none}.auth-platforms{margin-bottom:9px;gap:6px}.auth-intro>small{font-size:9px}.auth-card{padding:25px 21px}.auth-card h2{font-size:21px}.auth-card-copy{font-size:11px;margin-bottom:17px}.auth-form input{font-size:14px;min-height:46px}.auth-submit{min-height:46px}.auth-footer{padding:16px;font-size:9px}.page-heading [data-action=new-invite]{min-height:38px}.heading-actions:has([data-action=new-invite]){display:flex;flex-wrap:wrap;gap:7px}.top-actions .logout-button{font-size:10px;padding:6px 4px}}
