@charset "UTF-8";
:root{--navy:#122136;--navy-deep:#0e1a2b;--teal:#0f9f8f;--teal-dark:#087e72;--teal-soft:#eaf8f4;--ink:#1c2b3f;--muted:#8190a3;--line:#e9edf2;--bg:#f5f7fa;--amber:#bb8330;--red:#d45252;--shadow:0 4px 24px #17293d04;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #68ccbf;outline-offset:3px}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted);line-height:1.8}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted);display:block}.eyebrow.light{color:#79bcb8}.btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:10px 17px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .18s,box-shadow .18s}.btn .icon{width:16px;height:16px}.btn-primary{background:var(--teal);color:#fff;box-shadow:0 3px 7px #0f9f8f12}.btn-primary:hover{background:var(--teal-dark)}.btn-white{background:white;border-color:#dfe5eb;color:#536174}.btn-white:hover{background:#f8fafb;border-color:#bac8d4}.btn-soft{color:var(--teal-dark);background:var(--teal-soft)}.btn-soft:hover{background:#d7f0e9}.btn-text{background:transparent;color:var(--muted)}.btn-text:hover{color:var(--teal)}.btn-danger{background:#fff1f1;color:var(--red);border-color:#f5d4d4}.btn-small{min-height:32px;padding:6px 11px;font-size:11px}.full{width:100%}.icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:6px;color:#7b899b}.icon-btn:hover{background:#edf3f5;color:var(--teal)}.icon-btn .icon{width:18px;height:18px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:10px;font-weight:600;line-height:1.3;border-radius:4px;white-space:nowrap}.badge.teal{color:#118b73;background:#e9f7f1}.badge.gray{color:#8590a0;background:#f0f3f6}.badge.amber{color:#b38130;background:#fff6e6}.badge.red{color:#c65656;background:#fff0ef}.small-dot,.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.form-help{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 0}label{display:block;font-size:12px;font-weight:600;color:#59687a}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid #dfe5ec;border-radius:6px;background:white;color:var(--ink);font-size:12px;margin-top:8px}input::placeholder{color:#a4aebb}input[type=checkbox]{width:16px;height:16px;accent-color:var(--teal);cursor:pointer}input[type=number]{font-variant-numeric:tabular-nums}label .label-hint{font-weight:400;color:#a0aab8;font-size:10px;float:right}.inline-error,.error-banner{background:#fff0ef;border:1px solid #f3d8d5;color:#b84444;border-radius:7px;font-size:12px;padding:12px 14px;line-height:1.7;overflow-wrap:anywhere}.error-banner{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:19px;font-weight:700;letter-spacing:.5px}.brand small{font-size:9px;display:block;letter-spacing:2.4px;font-weight:500;color:#8d9fb6;margin-top:5px}.brand-mark{width:39px;height:42px;background:var(--teal);border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;font-size:29px;font-weight:650;font-family:Arial,sans-serif;color:white}.brand-mark>span{position:absolute;right:4px;top:2px;font-size:16px;color:#a9eddf}.app-layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;background:linear-gradient(160deg,var(--navy),var(--navy-deep));padding:32px 20px 0;z-index:30}.sidebar .brand{padding-left:4px;font-size:18px}.workspace-label{margin:47px 14px 16px;color:#8797ae;font-size:10px;letter-spacing:1px}.workspace-label span{display:block;font-size:8px;letter-spacing:1.5px;color:#4e627b;margin-top:5px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav a{padding:13px 15px;display:flex;align-items:center;gap:13px;border-radius:7px;color:#93a2b8;font-size:13px;position:relative;min-height:46px}.sidebar nav a:hover{color:#d8e4f0;background:#ffffff06}.sidebar nav a.active{color:#66d6c2;background:linear-gradient(90deg,#0f9f8f2b,#0f9f8f10);font-weight:600}.sidebar nav a.active:before{content:"";height:20px;width:3px;position:absolute;left:-20px;border-radius:0 2px 2px 0;background:#46cdb5}.nav-active-dot{display:none;width:5px;height:5px;background:#66d6c2;border-radius:50%;margin-left:auto}.active .nav-active-dot{display:block}.nav-count{margin-left:auto;font-size:10px;color:#92a5b9;padding:2px 5px;border-radius:4px;background:#ffffff0b;min-width:20px;text-align:center}.sidebar-bottom{margin-top:auto;padding-top:38px}.sidebar-note{border:1px solid #ffffff0b;background:#ffffff03;border-radius:9px;padding:15px 13px 10px;margin:0 4px 27px;position:relative}.sidebar-note strong{font-size:11px;font-weight:500;color:#c2cddd}.sidebar-note p{font-size:10px;color:#71849d;line-height:1.9;margin:8px 0}.note-icon{font-family:Georgia,serif;display:inline-flex;justify-content:center;align-items:center;width:13px;height:13px;border:1px solid #768ca8;border-radius:50%;font-size:9px;color:#9dafc5;margin-right:3px}.sidebar-user{border-top:1px solid #ffffff0a;display:flex;align-items:center;gap:10px;padding:21px 4px}.avatar{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:650;color:#7dd7c7;background:#1b4649;border:1px solid #326163;flex-shrink:0}.sidebar-user strong{font-size:11px;font-weight:500;color:#d0d9e6;display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis}.sidebar-user span:not(.avatar){font-size:9px;color:#687e99;display:block;margin-top:5px}.sidebar-user .icon-btn{margin-left:auto;color:#67809b}.main-shell{margin-left:230px}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 36px;gap:12px}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:11px;color:#94a0ae}.breadcrumb strong{font-weight:500;color:#536376}.breadcrumb-divider{color:#d3dbe4}.topbar-right{display:flex;align-items:center;gap:19px}.service-status{font-size:10px;color:var(--teal);display:inline-flex;align-items:center;gap:7px}.service-status.error{color:var(--red)}.service-status.unknown{color:#9ba6b4}.topbar-separator{width:1px;height:17px;background:var(--line)}.topbar-date{font-size:10px;color:#92a0b0}.avatar-small{width:29px;height:29px;border:0;border-radius:50%;background:#eaf4f1;color:#308b7a;font-size:10px}.main-content{padding:32px 36px 0;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-heading h1{font-size:25px;letter-spacing:.6px;margin:9px 0 9px;font-weight:650}.page-heading p{font-size:11px;color:#929dab;margin:0;line-height:1.8}.page-actions{display:flex;align-items:center;gap:17px}.sync-label{font-size:10px;color:#9ba7b5;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 20px 16px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-top span{font-size:11px;color:#7a899a}.stat-icon{width:33px;height:33px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#eaf7f2;color:#249b80}.stat-icon.blue{background:#ecf2fb;color:#5c85c9}.stat-icon.purple{background:#f0edfb;color:#9a82ce}.stat-icon.orange{background:#fff4e7;color:#dba154}.stat-icon .icon{width:17px;height:17px}.stat-value{font-size:29px;font-weight:650;letter-spacing:-.6px;margin:12px 0 13px;line-height:1.1;font-variant-numeric:tabular-nums}.stat-value .currency{font-size:17px;font-weight:500;margin-right:3px}.stat-value .unit{font-size:11px;font-weight:400;color:#9ba5b4;margin-left:6px}.stat-bottom{font-size:10px;color:#a1acb9;display:flex;align-items:center;gap:5px;min-height:14px}.stat-bottom .icon{width:12px;height:12px}.stat-bottom .positive{color:var(--teal)}.stat-bottom.error{color:var(--red)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:22px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #f0f2f5}.panel-title{display:flex;align-items:center;gap:9px;min-width:0}.panel-title h2{font-size:13px;font-weight:650;margin:0;white-space:nowrap}.panel-title .icon{width:16px;height:16px;color:#75899b}.panel-header .text-link{font-size:10px;color:#95a3b3;display:flex;align-items:center;gap:5px}.text-link .icon{width:13px;height:13px}.text-link:hover{color:var(--teal)}.panel-body{padding:20px 22px}.automation-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f9fb;border-radius:7px;padding:15px 16px;margin-bottom:21px}.automation-banner.enabled{background:#eff9f5}.automation-heading{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.automation-banner p{font-size:10px;color:#96a2af;margin:7px 0 0}.switch{position:relative;width:36px;height:21px;border-radius:20px;border:0;background:#d3dae3;flex-shrink:0;padding:0}.switch:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .2s}.switch[aria-checked=true]{background:var(--teal)}.switch[aria-checked=true]:after{transform:translateX(15px)}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.mini-metric{border-right:1px solid var(--line)}.mini-metric:last-child{border:0}.mini-metric span{font-size:10px;color:#97a4b3}.mini-metric strong{display:block;margin-top:9px;font-size:17px;font-weight:600}.mini-metric strong small{font-size:10px;color:#9ba7b5;font-weight:400;margin-left:3px}.budget-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#95a2b0;margin-bottom:10px}.budget-heading strong{font-size:10px;color:#6b7c8e;font-weight:500}.progress-track{height:5px;background:#eef2f5;border-radius:5px;overflow:hidden}.progress-fill{height:100%;background:var(--teal);border-radius:5px;max-width:100%}.progress-fill.warning{background:#d49b4a}.automation-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f3f6;padding-top:15px;margin-top:20px;font-size:10px;color:#a0acb9}.automation-bottom .timer{display:flex;align-items:center;gap:5px}.timer .icon{width:12px;height:12px}.automation-bottom a{color:var(--teal)}.health-list{display:flex;flex-direction:column;gap:17px}.health-row{display:flex;align-items:center;gap:10px;font-size:11px}.health-row-icon{height:30px;width:30px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#f4f7fa;color:#8c9aac}.health-row-icon .icon{width:15px;height:15px}.health-row>div:nth-child(2){flex:1}.health-row strong{font-size:11px;font-weight:500;display:block}.health-row small{display:block;font-size:9px;color:#9da9b7;margin-top:4px}.health-note{background:#f8fafc;border-radius:6px;font-size:10px;line-height:1.9;padding:12px;margin-top:19px;color:#91a0b2}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 14px}.section-heading h2{font-size:14px;font-weight:650;margin:0;display:flex;align-items:center;gap:8px}.section-heading>div>p{font-size:10px;color:#9aa7b6;margin:6px 0 0}.section-heading a{font-size:11px;color:#8c9bac;display:flex;align-items:center;gap:6px}.section-heading .icon{width:14px;height:14px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{padding:19px;background:#fff;border:1px solid var(--line);border-radius:9px;position:relative;min-width:0;transition:border-color .2s}.product-card.selected{border-color:#c2e5dd;box-shadow:0 0 0 1px #ecf8f4}.product-card-head{display:flex;align-items:center;gap:11px;margin-bottom:16px}.product-avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#edf6f3;color:#208e77;font-weight:700;font-size:17px;flex-shrink:0}.product-card:nth-child(3n+2) .product-avatar{background:#eef2fb;color:#6684b6}.product-card:nth-child(3n+3) .product-avatar{background:#f3eef9;color:#9a7fb3}.product-name{min-width:0;flex:1}.product-name h3{font-size:12px;line-height:1.6;font-weight:600;margin:0 0 3px;overflow-wrap:anywhere}.sku-label{font-size:9px;color:#a2acb8;letter-spacing:.4px}.product-card-head input{margin-left:auto;flex-shrink:0}.product-desc{font-size:10px;color:#9aa7b5;line-height:1.8;margin:0 0 15px;min-height:35px;overflow-wrap:anywhere}.product-badges{display:flex;gap:6px;flex-wrap:wrap;min-height:20px;margin-bottom:18px}.product-price-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.product-price{font-size:23px;font-weight:600;color:#26384b;letter-spacing:-.5px}.product-price small{font-size:12px}.product-price .price-unit{font-size:9px;font-weight:400;color:#a0aaba;margin-left:4px;letter-spacing:0}.stock{font-size:10px;color:#9ba8b7;white-space:nowrap}.stock b{color:#5a6f83;font-weight:500;margin-left:3px}.product-rule{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:16px;margin-top:15px;border-top:1px solid #eef1f4}.product-rule label{font-size:9px;color:#93a1af;font-weight:400}.product-rule input{min-height:33px;padding:7px 9px;margin-top:6px;font-size:11px;background:#fafbfd;border-color:#e8edf2}.product-rule .priority-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.priority-row input{width:65px;margin:0;min-height:29px;padding:5px 8px}.product-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:16px;font-size:9px;color:#a0aaba}.product-card-footer .btn{font-size:10px}.shortlife-banner{display:flex;align-items:center;gap:10px;border:1px solid #f2e8d7;background:#fffcf5;padding:12px 16px;border-radius:7px;color:#ad914f;font-size:10px;line-height:1.8;margin:21px 0}.shortlife-banner .icon{width:16px;height:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}th{background:#fbfcfd;padding:13px 21px;font-size:10px;font-weight:400;color:#9ca8b6;border-bottom:1px solid var(--line)}td{padding:16px 21px;border-bottom:1px solid #f0f3f6;color:#708094}tbody tr:last-child td{border-bottom:0}td.order-product{color:#3f5268;font-weight:500}td .subtext{display:block;font-size:9px;color:#a2adba;margin-top:5px}.order-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#8a98aa}.row-actions{display:flex;gap:9px}.row-actions button{border:0;background:transparent;color:var(--teal);font-size:10px;padding:4px 0}.row-actions button:hover{text-decoration:underline}.empty-state{text-align:center;padding:38px 20px 36px}.empty-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:13px;background:#f1f6f7;color:#a6bbb9;margin:0 auto 15px}.empty-icon .icon{width:24px;height:24px}.empty-state h3{font-size:12px;font-weight:500;color:#75879a;margin:0 0 8px}.empty-state p{color:#a1adba;font-size:10px;line-height:1.9;margin:0 auto;max-width:310px}.empty-state .btn{margin-top:15px}.page-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:27px 0;color:#a7b1be;font-size:9px}.footer-divider{margin:0 8px;color:#ccd4dd}.toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:19px;flex-wrap:wrap}.filter-tabs{display:flex;gap:5px;align-items:center;padding:4px;background:#eaf0f3;border-radius:7px}.filter-tabs button{background:transparent;border:0;border-radius:5px;color:#8a99aa;font-size:11px;padding:8px 14px}.filter-tabs button.active{background:#fff;color:#365368;box-shadow:0 1px 4px #21324709}.search-box{display:flex;align-items:center;position:relative;width:245px}.search-box .icon{width:15px;height:15px;position:absolute;left:12px;color:#a0adba}.search-box input{margin:0;padding:10px 12px 10px 35px;min-height:37px;border-color:#e2e8ee;font-size:11px}.save-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border:1px solid #cbe6e1;background:#f0faf6;border-radius:8px;margin:0 0 20px;font-size:11px;color:#5a8b7e}.save-bar>div{display:flex;align-items:center;gap:10px}.save-bar .btn{min-height:33px}.form-panel{padding:25px}.form-panel h2{margin:0 0 7px;font-size:14px}.form-panel>p{font-size:11px;color:#95a1af;line-height:1.8;margin:0 0 24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.field-with-unit{position:relative}.field-with-unit input{padding-right:42px}.field-with-unit>span{position:absolute;right:13px;top:13px;color:#acb4bf;font-size:10px;font-weight:400}.strategy-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px}.strategy-submit{border-top:1px solid var(--line);margin-top:25px;padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:10px}.strategy-submit span{font-size:10px;color:#9cabb9}.guide-list{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:22px}.guide-list li{display:flex;gap:12px}.guide-num{width:23px;height:23px;background:#eaf5f1;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#55a592;font-size:10px;flex-shrink:0}.guide-list h3{font-size:11px;margin:2px 0 7px;font-weight:500}.guide-list p{font-size:10px;color:#9aa6b4;line-height:1.9;margin:0}.log-list{padding:0 22px}.log-row{padding:18px 0;border-bottom:1px solid #f0f3f6;display:flex;align-items:flex-start;gap:16px}.log-row:last-child{border:0}.log-row time{font-size:10px;color:#9eabb8;white-space:nowrap;line-height:1.8;min-width:130px}.log-row .badge{margin-top:1px;min-width:43px;justify-content:center}.log-row p{font-size:11px;line-height:1.8;color:#6d7f92;margin:0;overflow-wrap:anywhere}.security-layout{max-width:950px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:22px}.security-hero{background:linear-gradient(110deg,#eff9f5,#f8fcfa);padding:25px;border-bottom:1px solid #e8f2ed;display:flex;gap:17px;align-items:center}.security-shield{width:48px;height:55px;border-radius:14px;background:#dff2e9;display:flex;justify-content:center;align-items:center;color:#38a381;flex-shrink:0}.security-shield .icon{width:28px;height:28px}.security-hero h2{margin:0 0 7px;font-size:15px}.security-hero p{margin:0;color:#77a08e;font-size:10px;line-height:1.8}.detail-list{margin:0}.detail-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #eef1f4;padding:15px 0;font-size:11px}.detail-list>div:first-child{padding-top:0}.detail-list>div:last-child{border:0;padding-bottom:0}.detail-list dt{color:#9aa7b6;white-space:nowrap}.detail-list dd{margin:0;color:#5a6e82;text-align:right;overflow-wrap:anywhere;min-width:0}.logout-panel{margin-top:22px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logout-panel h3{font-size:12px;margin:0 0 7px}.logout-panel p{font-size:10px;color:#9ca9b6;margin:0;line-height:1.8}.modal{padding:25px;border:1px solid #e0e7ed;border-radius:14px;width:520px;max-width:calc(100% - 32px);max-height:calc(100vh - 48px);box-shadow:0 24px 100px #0c1a3140;color:var(--ink)}.modal::backdrop{background:#0c1a316e;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:23px}.modal-header h2{font-size:19px;margin:9px 0 0}.modal-header .icon-btn{margin-top:-5px;margin-right:-7px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.modal-message{font-size:12px;color:#8392a3;line-height:1.9;margin:0 0 17px}.modal-highlight{background:#f3f9f6;border:1px solid #dcefe6;padding:18px;border-radius:8px;margin:17px 0}.modal-highlight .total-label{font-size:10px;color:#8ba196}.modal-highlight .total-amount{font-size:31px;color:#168d74;font-weight:650;margin-top:6px}.modal-highlight .total-amount small{font-size:17px}.modal .shortlife-banner{margin:18px 0 0}.modal .detail-list{margin:16px 0}.delivery-content{background:#111f32;color:#bfd6d1;border-radius:8px;padding:17px;font:11px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;user-select:text}.delivery-label{font-size:11px;color:#7b8a9a;margin-bottom:8px}.modal-error{margin-top:12px}.toast-region{position:fixed;bottom:25px;right:28px;z-index:100;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:calc(100% - 32px)}.toast{background:#fff;border:1px solid #dcece7;box-shadow:0 8px 35px #13263a1a;border-radius:8px;padding:13px 18px;display:flex;align-items:flex-start;gap:10px;max-width:430px;font-size:12px;line-height:1.7;color:#467967;animation:toast-in .2s ease}.toast.error{color:#b55454;border-color:#f1d9d6}.toast .icon{width:17px;height:17px;margin-top:2px}.loading-state{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#9aa9b8;font-size:12px}.spinner{width:26px;height:26px;border:2px solid #dfeee9;border-top-color:var(--teal);border-radius:50%;animation:spin .7s linear infinite}.mobile-menu{display:none}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(380px,44%) 1fr;background:#fff}.auth-story{background:radial-gradient(ellipse at 20% 70%,#173c45 0,transparent 60%),linear-gradient(150deg,#142a40,#102033);padding:42px 55px;color:white;display:flex;flex-direction:column;overflow:hidden;position:relative}.auth-story .brand{font-size:21px}.auth-story-main{margin:auto 0;padding:52px 0 20px}.auth-story h1{font-size:40px;line-height:1.6;letter-spacing:1px;margin:19px 0;font-weight:600}.auth-story-main>p{font-size:13px;line-height:2.1;color:#849ab0}.auth-story-footer{color:#617c91;font-size:10px;display:flex;align-items:center;gap:9px;letter-spacing:.4px}.auth-story-footer .small-dot{color:#3ebaa0}.auth-illustration{height:230px;position:relative;max-width:390px;margin-top:35px}.orbit{position:absolute;border:1px solid #8bc8be16;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-one{width:185px;height:185px}.orbit-two{width:290px;height:290px}.illustration-core{width:90px;height:90px;border:1px solid #5ba89855;background:linear-gradient(140deg,#23635f66,#23515b22);box-shadow:0 0 70px #22a58c18;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-8deg);border-radius:22px;display:flex;align-items:center;justify-content:center;color:#6dd4b9;font-size:45px;font-weight:600;font-family:Arial,sans-serif}.floating-tag{position:absolute;border:1px solid #9bc9bc26;background:#1b3746;border-radius:8px;box-shadow:0 10px 25px #05121c18;padding:12px 16px;color:#b3c7d2;font-size:11px}.floating-tag b{color:#64c9ac;font-size:12px;margin-left:17px}.tag-one{top:15px;left:0;transform:rotate(-6deg)}.tag-two{right:0;top:95px;transform:rotate(7deg)}.tag-three{left:15px;bottom:6px;transform:rotate(-3deg)}.auth-main{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:55px 35px;position:relative}.auth-card{width:100%;max-width:358px}.auth-lock{background:#e9f7f1;color:#21a181;width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:27px}.auth-lock .icon{width:24px;height:24px}.auth-card h2{font-size:27px;margin:12px 0 10px;font-weight:650}.auth-card>.muted{font-size:11px;margin-bottom:31px}.auth-card form{display:flex;flex-direction:column;gap:20px}.auth-card form input{min-height:45px;margin-top:9px;font-size:12px}.auth-card form .btn{margin-top:5px;min-height:45px;justify-content:space-between;padding-left:17px}.auth-safe{border-top:1px solid var(--line);padding-top:20px;margin-top:25px;display:flex;align-items:center;justify-content:center;gap:6px;color:#9aabb7;font-size:10px}.auth-safe .icon{width:13px;height:13px}.auth-bottom{font-size:9px;color:#b2bcc7;margin:40px 0 0;letter-spacing:.4px}.auth-bottom span{margin:0 8px}.auth-card .inline-error{margin:0}.qr-wrap{display:flex;justify-content:center;padding:12px;background:#f8faf9;border:1px solid var(--line);border-radius:9px;margin-bottom:16px;min-height:185px;align-items:center}.qr-wrap img{width:170px;height:170px;max-width:100%;object-fit:contain}.secret-box{display:block;background:#f5f7fa;padding:12px;font-size:11px;margin-top:8px;overflow-wrap:anywhere;user-select:all;border-radius:5px;color:#657d8b}.auth-card #enroll-form{margin-top:19px}.auth-card #enroll-form .btn{margin-top:0}.retry-link{color:var(--teal);border:0;background:transparent;padding:0;font-size:inherit;text-decoration:underline}.connection-notice{margin-bottom:20px;background:#eff5f8;border:1px solid #e0e8ed;padding:15px 18px;font-size:11px;color:#8498a8;border-radius:8px;line-height:1.9}.load-failure{min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#a26a66;text-align:center;font-size:12px}.selection-summary{font-size:10px;color:#8197a4}.selected-pill{font-size:9px;border:1px solid #deece7;color:#6ca18e;border-radius:4px;padding:3px 6px}.filter-count{font-size:10px;font-weight:400;color:#a6b1bd;margin-left:2px}.modal-busy .modal-actions button,.modal-busy #modal-close{pointer-events:none;opacity:.5}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1600px){.main-content{padding-top:40px}.stats-grid{gap:24px}.stat-card{padding:25px}.product-grid{gap:22px}.sidebar{width:245px}.main-shell{margin-left:245px}.overview-grid{grid-template-columns:1.8fr 1fr}.auth-story h1{font-size:49px}.auth-story{padding:48px 75px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.sidebar nav a.active:before{left:-15px}.sidebar .brand{font-size:16px;gap:9px}.sidebar .brand-mark{width:34px;height:37px}.brand small{font-size:8px}.main-shell{margin-left:205px}.main-content{padding:27px 25px 0}.topbar{padding:0 25px}.stat-card{padding:17px 15px}.stat-value{font-size:26px}.stats-grid{gap:13px}.product-grid{gap:13px}.product-card{padding:16px}.overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:18px}.panel-header{padding:18px}.panel-body{padding:18px}.strategy-layout{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.sync-label{display:none}.auth-story{padding:35px}.auth-story h1{font-size:33px}.floating-tag{padding:10px 13px}.tag-two{right:-9px}}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.health-list{display:grid;grid-template-columns:1fr 1fr}.health-note{margin-top:18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{font-size:29px}.strategy-layout,.security-layout{grid-template-columns:1fr}.guide-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.auth-layout{grid-template-columns:40% 1fr}.auth-story{padding:35px 27px}.auth-story h1{font-size:28px}.auth-illustration{margin-top:25px}.floating-tag{font-size:9px;padding:10px}.tag-two{right:-12px;top:120px}.tag-one{left:-5px}.orbit-two{width:240px;height:240px}.tag-three{left:-6px}.auth-story .brand{font-size:17px}.auth-story .brand small{font-size:8px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px;padding:28px 20px 0}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:18px}.sidebar nav a.active:before{left:-20px}.sidebar-backdrop{position:fixed;inset:0;background:#0c1b3366;z-index:29;backdrop-filter:blur(2px)}.main-shell{margin-left:0}.topbar{height:63px;padding:0 20px}.mobile-menu{display:inline-flex;margin-left:-7px}.breadcrumb{gap:9px}.topbar-right{gap:12px}.topbar-date,.topbar-separator{display:none}.main-content{padding:25px 20px 0}.page-heading h1{font-size:23px}.page-heading{align-items:flex-end;margin-bottom:23px;gap:10px}.page-heading p{max-width:240px;font-size:10px}.page-actions .btn{padding:9px 12px;font-size:10px;min-height:36px}.eyebrow{font-size:8px;letter-spacing:1.4px}.stats-grid{gap:12px}.stat-card{padding:17px}.stat-top span{font-size:10px}.stat-value{font-size:27px;margin-top:10px}.stat-bottom{font-size:9px}.stat-icon{width:30px;height:30px}.overview-grid{gap:18px}.panel-header{padding:17px}.panel-body{padding:18px}.metrics-row{gap:11px}.mini-metric strong{font-size:17px}.product-grid{gap:13px}.product-card{padding:15px}.product-name h3{font-size:11px}.product-avatar{width:31px;height:34px;font-size:14px}.product-card-head{gap:8px}.product-desc{font-size:9px}.product-rule{gap:8px}.product-card-footer{align-items:flex-end;font-size:8px}.product-card-footer .btn{padding:6px 8px;font-size:9px}.product-price{font-size:22px}.stock{font-size:9px}.stock b{margin-left:0}.shortlife-banner{font-size:9px;padding:11px 13px}.section-heading h2{font-size:13px}.section-heading>div>p{font-size:9px}.page-footer{font-size:8px;gap:5px}.toolbar{gap:12px}.search-box{width:100%}.toolbar .filter-tabs{flex:1}.filter-tabs button{flex:1;padding:8px 10px;font-size:10px}.save-bar{font-size:10px;padding:12px;gap:8px}.save-bar>div{gap:7px}.save-bar .btn{font-size:10px;padding:7px 11px}.guide-list{display:flex;gap:20px}.form-panel{padding:21px}.form-grid{gap:20px 15px}.strategy-submit{gap:10px;align-items:flex-end}.strategy-submit span{font-size:9px;max-width:145px;line-height:1.7}.strategy-submit .btn{font-size:11px;padding:10px 14px}.log-list{padding:0 17px}.log-row{gap:10px;flex-wrap:wrap;padding:16px 0}.log-row time{min-width:0;font-size:9px}.log-row p{width:100%;font-size:10px}.log-row .badge{font-size:8px;margin-left:auto}.security-hero{padding:20px}.security-hero h2{font-size:14px}.logout-panel{padding:20px}.logout-panel p{font-size:9px}.auth-layout{grid-template-columns:1fr;min-height:100svh}.auth-story{display:none}.auth-main{padding:45px 27px;min-height:100svh;background:radial-gradient(ellipse at 100% 0,#e7f5ef,transparent 55%)}.auth-card{max-width:370px}.auth-card h2{font-size:26px}.auth-bottom{margin-top:35px}.toast-region{bottom:18px;right:16px}.modal{padding:22px}.modal-header h2{font-size:18px}.modal-message{font-size:11px}.health-row{gap:8px}.health-row strong{font-size:10px}.health-row .badge{font-size:8px;padding:4px 6px}.health-row small{font-size:8px}.health-row-icon{height:26px;width:26px}.security-layout{max-width:none}}
@media(max-width:420px){.main-content{padding:22px 14px 0}.topbar{padding:0 14px}.product-grid{grid-template-columns:1fr}.product-card{padding:19px}.product-desc{min-height:0;font-size:10px}.product-name h3{font-size:12px}.product-avatar{width:37px;height:38px}.product-card-footer{font-size:9px;align-items:center}.product-card-footer .btn{font-size:11px;padding:7px 14px}.product-rule label{font-size:10px}.product-card-head{gap:11px}.product-rule input{font-size:12px}.stat-card{padding:14px 13px}.stat-top span{font-size:9px}.stat-value{font-size:25px}.stat-icon{width:27px;height:27px}.stat-bottom{font-size:8px}.health-list{grid-template-columns:1fr}.health-row strong{font-size:11px}.health-row small{font-size:9px}.health-row .badge{font-size:9px}.page-heading p{max-width:210px;font-size:9px}.page-actions .btn{font-size:9px;padding:8px 9px;gap:5px}.page-actions .icon{width:13px;height:13px}.topbar .service-status{font-size:9px}.page-footer>span:last-child{display:none}.form-grid{grid-template-columns:1fr}.modal-actions .btn{padding:9px 12px;font-size:11px}.section-heading a{font-size:10px}.save-bar{flex-wrap:wrap}.save-bar>div{margin-left:auto}.security-hero{gap:12px}.security-hero h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
