
    :root { --navy:#12233f; --navy-2:#1a3156; --ink:light-dark(#17243a,var(--theme-text)); --muted:light-dark(#71809a,var(--theme-secondary)); --line:light-dark(#e7edf4,var(--theme-border)); --bg:light-dark(#f4f7fb,var(--theme-page)); --blue:light-dark(#2e77ee,var(--theme-action)); --blue-soft:light-dark(#eaf2ff,var(--theme-selected)); --green:light-dark(#1ba675,var(--theme-green)); --orange:light-dark(#f19a38,var(--theme-orange)); --red:light-dark(#df5d65,var(--theme-red)); --shadow:0 10px 30px rgba(31,57,92,.07); }
    * { box-sizing:border-box; }
    body { margin:0; font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color:var(--ink); background:var(--bg); }
    button, input, select { font:inherit; }
    button { cursor:pointer; }
    .app { display:none; min-height:100vh; }.app.show{display:flex}
    .login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:22px;background:linear-gradient(135deg,#102440 0%,#1e4b80 57%,#edf4ff 57%,#f4f7fb 100%)}
    .login-panel{width:430px;background:light-dark(#fff,var(--theme-panel));border-radius:16px;padding:34px 37px 30px;box-shadow:0 24px 70px rgba(10,34,70,.22)}
    .login-brand{display:flex;align-items:center;gap:11px;margin-bottom:27px}.login-logo{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#66a4ff,#2f6de4);color:#fff;display:grid;place-items:center;font-weight:800;font-size:19px;box-shadow:0 7px 16px rgba(45,125,255,.26)}.login-brand b{color:light-dark(#17243a,var(--theme-text));font-size:16px}.login-brand span{display:block;color:light-dark(#8693a7,var(--theme-muted));font-size:11px;margin-top:3px}.login-panel h1{font-size:22px;margin:0 0 8px;letter-spacing:-.3px}.login-panel>p{font-size:13px;color:light-dark(#71809a,var(--theme-secondary));margin:0 0 25px}.login-form{display:grid;gap:8px}.login-form label{font-size:12px;color:light-dark(#566781,var(--theme-secondary));margin-top:4px}.login-form input{width:100%;height:42px;border:1px solid light-dark(#dfe6ef,var(--theme-border));border-radius:7px;padding:0 12px;outline:none;color:light-dark(#31435e,var(--theme-text))}.login-form input:focus{border-color:light-dark(#80aef3,var(--theme-focus));box-shadow:0 0 0 3px #edf4ff}.password-field{position:relative}.password-field input{padding-right:57px}.password-field button{position:absolute;right:8px;top:7px;border:0;background:none;color:light-dark(#6680a5,var(--theme-secondary));font-size:12px;padding:5px}.login-submit{margin-top:13px;border:0;height:43px;border-radius:7px;background:var(--blue);color:#fff;font-weight:600;box-shadow:0 7px 17px rgba(46,119,238,.2)}.login-submit:hover{background:light-dark(#2469d9,var(--theme-action))}.login-error{min-height:17px;color:light-dark(#d75d67,var(--theme-red));font-size:12px;text-align:center;margin-top:6px}.demo-accounts{border-top:1px solid var(--line);margin-top:19px;padding-top:16px}.demo-accounts>p{font-size:11px;color:light-dark(#8a98ac,var(--theme-muted));margin:0 0 10px}.demo-list{display:flex;gap:7px;flex-wrap:wrap}.demo-account{border:1px solid light-dark(#e0e8f2,var(--theme-border));background:light-dark(#f8fafd,var(--theme-raised));color:light-dark(#50627d,var(--theme-secondary));border-radius:5px;padding:7px 9px;font-size:11px}.demo-account:hover{border-color:light-dark(#9bbcf0,var(--theme-focus));color:light-dark(#2e77ee,var(--theme-link))}.logout-btn{border:0;background:transparent;color:light-dark(#8b98ab,var(--theme-muted));font-size:12px;padding:0}.logout-btn:hover{color:light-dark(#2e77ee,var(--theme-link))}.permission-badge{display:inline-flex;align-items:center;border-radius:5px;background:light-dark(#edf4ff,var(--theme-raised));color:light-dark(#3774d9,var(--theme-link));padding:5px 8px;font-size:11px}.role-viewer .row-actions{display:none}.role-viewer #addSupplierBtn,.role-viewer #addChannelBtn,.role-viewer #addWarehouseBtn{display:none}.user-admin-card{margin-top:16px;padding:22px;max-width:820px}.user-admin-card h3{font-size:15px;margin:0 0 5px}.user-admin-card p{font-size:12px;color:var(--muted);margin:0 0 16px}.account-table{width:100%;border-collapse:collapse;font-size:12px}.account-table th{text-align:left;color:light-dark(#8794a6,var(--theme-muted));font-weight:500;background:light-dark(#fafbfd,var(--theme-panel));padding:10px 12px}.account-table td{padding:11px 12px;border-top:1px solid light-dark(#edf1f5,var(--theme-border));color:light-dark(#52627a,var(--theme-secondary))}
    .main { flex:1; min-width:0; }
    .content { padding:28px 32px 42px; max-width:none; }
    .page-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:23px; }.page-head h1 { margin:0 0 7px; font-size:25px; letter-spacing:-.3px; }.page-head p { margin:0; color:var(--muted); font-size:13px; }
    .primary { border:0; border-radius:8px; background:var(--blue); color:#fff; padding:11px 17px; font-weight:600; box-shadow:0 7px 17px rgba(46,119,238,.22); }.primary:hover{background:light-dark(#2469d9,var(--theme-action))}.secondary { border:1px solid var(--line); background:light-dark(#fff,var(--theme-panel)); color:light-dark(#50617b,var(--theme-secondary)); border-radius:7px; padding:9px 14px; }
    .stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:20px; }.stat { background:light-dark(#fff,var(--theme-panel)); border:1px solid var(--line); border-radius:11px; box-shadow:var(--shadow); padding:17px 19px; position:relative; overflow:hidden; }.stat:after { content:""; position:absolute; width:80px; height:80px; border-radius:50%; right:-25px; top:-25px; background:var(--blue-soft); }.stat:nth-child(2):after{background:light-dark(#eaf9f3,var(--theme-green-bg))}.stat:nth-child(3):after{background:light-dark(#fff4e8,var(--theme-orange-bg))}.stat:nth-child(4):after{background:light-dark(#f2edff,var(--theme-raised))}.stat-top { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:12px; position:relative; z-index:1; }.stat-num { margin-top:8px; font-size:26px; font-weight:700; letter-spacing:-.6px; }.stat-change { font-size:11px; color:var(--green); margin-left:7px; font-weight:500; }.stat-icon { position:relative; z-index:1; width:31px; height:31px; border-radius:8px; background:var(--blue-soft); color:var(--blue); display:grid; place-items:center; font-size:15px; }.stat:nth-child(2) .stat-icon{background:light-dark(#eaf9f3,var(--theme-green-bg));color:var(--green)}.stat:nth-child(3) .stat-icon{background:light-dark(#fff4e8,var(--theme-orange-bg));color:var(--orange)}.stat:nth-child(4) .stat-icon{background:light-dark(#f2edff,var(--theme-raised));color:light-dark(#8a63d2,var(--theme-purple))}
    .card { background:light-dark(#fff,var(--theme-panel)); border:1px solid var(--line); border-radius:11px; box-shadow:var(--shadow); }.toolbar { padding:18px 20px 14px; border-bottom:1px solid var(--line); }.tabs { display:flex; gap:26px; margin-bottom:17px; }.tab { background:none; border:0; padding:0 0 10px; color:light-dark(#8b97a9,var(--theme-muted)); font-size:14px; position:relative; }.tab.active{color:var(--blue);font-weight:600}.tab.active:after{content:"";height:2px;background:var(--blue);position:absolute;bottom:0;left:0;right:0;border-radius:2px}.filters { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }.field { position:relative; }.field select, .field input { height:36px; min-width:145px; padding:0 31px 0 11px; border:1px solid light-dark(#dfe6ef,var(--theme-border)); border-radius:6px; color:light-dark(#495a73,var(--theme-secondary)); background:light-dark(#fff,var(--theme-panel)); outline:none; }.field input { min-width:215px; padding-right:11px; }.field select:focus,.field input:focus { border-color:light-dark(#80aef3,var(--theme-focus)); box-shadow:0 0 0 3px #edf4ff; }.search { margin-left:auto; color:light-dark(#8a98ac,var(--theme-muted)); }.search input{min-width:238px;padding-left:35px}.search span{position:absolute;left:12px;top:8px;font-size:14px}.more { margin-left:0; height:36px; padding:0 13px; border:1px solid light-dark(#dfe6ef,var(--theme-border)); background:light-dark(#fff,var(--theme-panel)); border-radius:6px; color:light-dark(#667790,var(--theme-secondary)); }
    .table-wrap { overflow:auto; }.table { width:100%; border-collapse:collapse; min-width:950px; }.table th { text-align:left; background:light-dark(#fafbfd,var(--theme-panel)); color:light-dark(#8491a5,var(--theme-muted)); font-size:12px; font-weight:500; padding:12px 20px; border-bottom:1px solid var(--line); white-space:nowrap; }.table td { padding:16px 20px; font-size:13px; border-bottom:1px solid light-dark(#eef2f6,var(--theme-border)); color:light-dark(#43536c,var(--theme-secondary)); white-space:nowrap; }.table tr:hover td{background:light-dark(#fbfdff,var(--theme-panel))}.table tr:last-child td{border-bottom:0}.provider { display:flex; align-items:center; gap:10px; color:light-dark(#22334f,var(--theme-text)); font-weight:600; }.provider-mark { width:29px;height:29px;border-radius:7px;background:light-dark(#e9f2ff,var(--theme-raised));color:light-dark(#3a75d6,var(--theme-link));display:grid;place-items:center;font-size:12px;font-weight:800 }.provider-mark.green{background:light-dark(#eaf9f2,var(--theme-green-bg));color:light-dark(#16a272,var(--theme-green))}.provider-mark.orange{background:light-dark(#fff2e4,var(--theme-orange-bg));color:light-dark(#dd8428,var(--theme-orange))}.provider-mark.purple{background:light-dark(#f3edff,var(--theme-raised));color:light-dark(#805ad5,var(--theme-link))}.provider-mark.red{background:light-dark(#fff0f0,var(--theme-red-bg));color:light-dark(#dd6266,var(--theme-red))}.provider-mark.teal{background:light-dark(#e8f9f8,var(--theme-teal-bg));color:light-dark(#188e8c,var(--theme-teal))}.tag { display:inline-block; padding:4px 8px; border-radius:4px; background:light-dark(#f0f4fa,var(--theme-raised)); color:light-dark(#62738c,var(--theme-secondary)); font-size:11px; margin-right:4px; }.tag.blue{background:light-dark(#eaf2ff,var(--theme-raised));color:light-dark(#3d74d5,var(--theme-link))}.tag.green{background:light-dark(#eaf9f3,var(--theme-green-bg));color:light-dark(#16956a,var(--theme-green))}.tag.orange{background:light-dark(#fff3e7,var(--theme-orange-bg));color:light-dark(#d37b23,var(--theme-orange))}.tag.purple{background:light-dark(#f3edff,var(--theme-raised));color:light-dark(#7958c8,var(--theme-link))}.price { color:light-dark(#e05b43,var(--theme-red)); font-weight:700; font-size:15px; }.price small { font-size:11px; color:light-dark(#9ca9b8,var(--theme-muted)); font-weight:400; margin-left:2px; }.time { color:light-dark(#2a9a72,var(--theme-green)); }.ship { color:light-dark(#4b74b7,var(--theme-secondary)); }.row-actions { display:flex; gap:12px; }.link-btn { border:0;background:none;color:light-dark(#4b79c5,var(--theme-link));padding:0;font-size:12px }.link-btn.danger{color:light-dark(#df6b6d,var(--theme-red))}.empty { display:none; padding:56px 20px; text-align:center; color:light-dark(#8b97a9,var(--theme-muted)); font-size:13px; }
    .view { display:none; }.view.active{display:block}.subhead { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }.subhead h2{font-size:18px;margin:0}.subhead p{font-size:12px;color:var(--muted);margin:5px 0 0}.list-card{padding:0}.compact th,.compact td{padding-left:18px;padding-right:18px}.pill-count{display:inline-flex;min-width:23px;height:21px;align-items:center;justify-content:center;background:light-dark(#eaf2ff,var(--theme-raised));color:light-dark(#3774d9,var(--theme-link));border-radius:11px;font-size:11px;margin-left:5px}.channel-name{font-weight:600;color:light-dark(#22334f,var(--theme-text))}.channel-path{color:light-dark(#71809a,var(--theme-secondary));font-size:12px;margin-top:5px}.status{font-size:12px;color:light-dark(#1a9a70,var(--theme-green));display:inline-flex;align-items:center;gap:5px}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:#1ca875}.status.off{color:light-dark(#a2aab6,var(--theme-muted))}.status.off:before{background:light-dark(#b7bec8,var(--theme-raised))}
    .modal-backdrop{display:none;position:fixed;inset:0;background:rgba(18,35,63,.45);align-items:center;justify-content:center;z-index:5}.modal-backdrop.show{display:flex}.modal{width:510px;background:light-dark(#fff,var(--theme-panel));border-radius:13px;box-shadow:0 24px 70px rgba(0,0,0,.2);padding:24px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-head h3{margin:0;font-size:18px}.close{border:0;background:light-dark(#f3f6fa,var(--theme-raised));width:28px;height:28px;border-radius:7px;color:light-dark(#748399,var(--theme-secondary));font-size:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-item{display:flex;flex-direction:column;gap:7px}.form-item.full{grid-column:1/-1}.form-item label{font-size:12px;color:light-dark(#67778f,var(--theme-secondary))}.form-item input,.form-item select,.form-item textarea{border:1px solid light-dark(#dfe6ef,var(--theme-border));border-radius:6px;padding:10px 11px;outline:none;color:light-dark(#3f5069,var(--theme-secondary))}.form-item textarea{resize:vertical;min-height:64px}.form-item input:focus,.form-item select:focus,.form-item textarea:focus{border-color:light-dark(#80aef3,var(--theme-focus));box-shadow:0 0 0 3px #edf4ff}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal-foot .primary{padding:10px 22px}.toast{position:fixed;right:28px;bottom:28px;background:#1c2f50;color:#fff;padding:12px 17px;border-radius:7px;box-shadow:0 8px 24px rgba(16,32,55,.2);font-size:13px;display:none;z-index:10}.toast.show{display:block;animation:fade 2.8s ease forwards}@keyframes fade{0%,75%{opacity:1}100%{opacity:0}}
    @media(max-width:950px){.content{padding:24px 20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.search{margin-left:0}.filters{gap:8px}}
    @media(max-width:680px){.login-panel{width:100%;padding:28px 23px 24px}.login-screen{background:linear-gradient(155deg,#102440 0%,#1e4b80 36%,#edf4ff 36%,#f4f7fb 100%)}.brand{padding:0 8px 26px}.brand>div:last-child,.nav-label,.nav button span,.sidebar-foot .user>div{display:none}.brand-mark{margin:auto}.nav button{justify-content:center;padding:12px 0}.user{justify-content:center}.top-actions>span:first-child{display:none}.content{padding:18px 13px}.page-head{gap:10px}.page-head h1{font-size:21px}.page-head .primary{padding:9px 11px;font-size:12px}.stats{gap:10px}.stat{padding:13px}.stat-num{font-size:21px}.toolbar{padding:15px 13px}.tabs{gap:17px}.filters .field,.filters .field select,.filters .field input{width:100%;}.search{width:100%}.search input{width:100%}.more{width:100%}.modal{width:calc(100% - 28px);padding:19px}.form-grid{grid-template-columns:1fr}.form-item.full{grid-column:auto}}
  
[hidden]{display:none!important} .login-screen{gap:100px;background:radial-gradient(circle at 25% 35%,#255481,#102440 58%);padding:65px 36px}.login-intro{color:white;max-width:480px}.eyebrow{font-size:11px;letter-spacing:2px;color:light-dark(#91b6df,var(--theme-muted))}.login-intro h1{font-size:52px;line-height:1.25;margin:35px 0 24px;font-weight:600}.login-intro p{line-height:1.9;color:#adc3dd;font-size:15px}.intro-grid{display:flex;gap:45px;margin-top:50px}.intro-grid span{font-size:28px}.intro-grid small{display:block;font-size:11px;color:light-dark(#94b0ce,var(--theme-muted));margin-top:7px}.intro-foot{margin-top:65px;font-size:11px;letter-spacing:2px;color:light-dark(#7292b6,var(--theme-muted))}.login-panel{padding:38px;width:420px}.account-help{border-top:1px solid light-dark(#e7edf4,var(--theme-border));padding-top:20px!important;margin:18px 0 0!important;font-size:12px!important}.login-submit:disabled,button:disabled{opacity:.5;cursor:wait}.filters select,.filters input{padding:9px 10px;border:1px solid light-dark(#dfe6ef,var(--theme-border));border-radius:6px;max-width:100%;background:light-dark(white,var(--theme-panel));color:light-dark(#495a73,var(--theme-secondary))}.empty.visible{display:block}.hint{font-size:12px;line-height:1.8;color:light-dark(#7c8da5,var(--theme-muted))}.wrap-cell{white-space:normal!important;min-width:180px;max-width:300px;overflow-wrap:anywhere}.role-guide{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0 24px;font-size:12px;color:light-dark(#728198,var(--theme-secondary))}.role-guide b{display:block;color:light-dark(#283d5b,var(--theme-text));margin-bottom:7px}dialog{border:0;border-radius:14px;padding:26px;width:580px;max-width:calc(100% - 32px);max-height:90vh;overflow:auto;box-shadow:0 25px 100px #12233f33}dialog::backdrop{background:#12233f88}.form-error,#pageError{color:light-dark(#c44a50,var(--theme-red));font-size:13px;line-height:1.6}#pageError:not(:empty){padding:12px;background:light-dark(#fff0f0,var(--theme-red-bg));margin-bottom:18px;border-radius:7px}.table td{white-space:normal}.table{min-width:700px}.content{max-width:none}.form-item input,.form-item select,.form-item textarea{min-width:0;font:inherit;font-size:13px}.form-item{min-width:0}@media(max-width:1000px){.login-screen{gap:45px}.login-intro h1{font-size:40px}.intro-grid{gap:30px}}@media(max-width:760px){.login-intro{display:none}.login-screen{padding:24px}.login-panel{width:420px;max-width:100%}.role-guide{display:block}.role-guide span{display:block;margin:12px 0}.nav .nav-icon{display:inline!important}.form-grid{grid-template-columns:1fr}.form-item.full{grid-column:auto}}
.date-filter{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:light-dark(#71809a,var(--theme-secondary))}.date-filter input{height:36px}.matrix-note{padding:14px 20px;font-size:12px;color:light-dark(#71809a,var(--theme-secondary));border-bottom:1px solid light-dark(#edf1f5,var(--theme-border))}.warehouse-matrix{min-width:980px}.warehouse-matrix th,.warehouse-matrix td{vertical-align:top}.warehouse-link{font-weight:700;font-size:13px}.matrix-price{padding:7px 9px;background:light-dark(#f7faff,var(--theme-raised));border:1px solid light-dark(#e3ecfa,var(--theme-border));border-radius:6px;margin-bottom:5px;min-width:130px}.matrix-price span{display:block;font-size:11px;color:light-dark(#6f7f96,var(--theme-secondary))}.matrix-price b{display:block;color:light-dark(#df5b46,var(--theme-red));font-size:14px;margin:2px 0}.matrix-price small{display:block;font-size:10px;color:light-dark(#7b8ba0,var(--theme-muted))}.no-price{display:inline-block;color:light-dark(#b5bfcc,var(--theme-muted));font-size:12px;padding-top:8px}.import-panel{padding:24px;margin-bottom:18px}.import-panel .hint{margin:16px 0}.import-unit{display:flex;gap:8px;align-items:center;color:light-dark(#52647c,var(--theme-secondary));font-size:12px}.import-unit input{accent-color:light-dark(#2e77ee,var(--theme-link))}.preview-head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid light-dark(#edf1f5,var(--theme-border))}.preview-head h3{margin:0;font-size:16px}.preview-head p{font-size:12px;color:light-dark(#71809a,var(--theme-secondary));margin:6px 0 0}.preview-head+.hint{padding:0 20px}.import-history{margin-top:30px}.import-history h2{font-size:17px}.import-history p{color:light-dark(#71809a,var(--theme-secondary));font-size:12px}.import-panel+#importPreview{margin-bottom:18px}.import-panel input[type=file]{padding:10px;background:light-dark(#fafbfd,var(--theme-panel))}.table td{vertical-align:middle}

/* Login brand mark. */
.login-logo{background:#fff;box-shadow:none;flex-shrink:0;padding:4px}
.login-logo{width:48px;height:48px}
.login-logo img{display:block;width:100%;height:100%;object-fit:contain}

/* Price table dashboard */
.dashboard-eyebrow{font-size:11px;letter-spacing:1px;color:light-dark(#8293ac,var(--theme-muted));margin-bottom:9px}
.dashboard-filters{padding:18px 20px;margin-bottom:20px}.dashboard-filters .filters{align-items:flex-end;gap:14px 12px}
.dashboard-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:light-dark(#71809a,var(--theme-secondary));min-width:120px;flex:1}
.dashboard-filters select,.dashboard-filters input{width:100%;font-size:12px;height:37px}.dashboard-filters .link-btn{height:37px;white-space:nowrap}
.stat-detail{color:light-dark(#8795a8,var(--theme-muted));font-size:11px;margin-top:9px}.dashboard-countries{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin-bottom:28px}.country-coverage{padding:15px 18px;box-shadow:none;border-radius:8px}.country-coverage>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.country-coverage b{font-size:13px}.country-coverage span{font-size:11px;color:light-dark(#7c8da5,var(--theme-muted))}.coverage-track{display:block;appearance:none;-webkit-appearance:none;width:100%;height:5px;border:0;background:light-dark(#edf2f8,var(--theme-raised));border-radius:5px;margin-top:13px;overflow:hidden;accent-color:light-dark(#5594e7,var(--theme-link))}.coverage-track::-webkit-progress-bar{background:light-dark(#edf2f8,var(--theme-raised))}.coverage-track::-webkit-progress-value{background:light-dark(#5594e7,var(--theme-action));border-radius:5px}.coverage-track::-moz-progress-bar{background:light-dark(#5594e7,var(--theme-action))}.country-coverage:nth-child(2) .coverage-track::-webkit-progress-value{background:light-dark(#3da992,var(--theme-green-bg))}.country-coverage:nth-child(3) .coverage-track::-webkit-progress-value{background:light-dark(#a28cda,var(--theme-action))}
.dashboard-section-head{margin-bottom:6px}.dashboard-unit{font-size:12px;color:light-dark(#70829d,var(--theme-secondary));white-space:nowrap}.dashboard-price-note{margin:0 0 16px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
.warehouse-card{min-width:0;border-radius:9px;overflow:hidden;box-shadow:0 5px 18px #1f395c05}.warehouse-card>header{padding:18px 18px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.warehouse-country{font-size:10px;color:light-dark(#8999ae,var(--theme-muted));letter-spacing:1px}.warehouse-card h3{margin:5px 0 0;font-size:18px;letter-spacing:.3px}.warehouse-status{font-size:11px;background:light-dark(#f2f5f9,var(--theme-raised));color:light-dark(#8999ac,var(--theme-muted));padding:5px 9px;border-radius:20px;white-space:nowrap}.warehouse-status.has-quotes{background:light-dark(#eaf7f2,var(--theme-green-bg));color:light-dark(#22936d,var(--theme-green))}
.dashboard-table-scroll{overflow:auto;max-height:540px}.dashboard-price-table{border-collapse:collapse;width:100%;min-width:470px;table-layout:fixed}.dashboard-price-table th:first-child{width:32%}.dashboard-price-table th{font-size:11px;font-weight:500;color:light-dark(#7d8da4,var(--theme-muted));background:light-dark(#f8fafc,var(--theme-raised));padding:12px 7px;text-align:center;white-space:nowrap;position:sticky;top:0}.dashboard-price-table th:first-child,.dashboard-price-table td:first-child{text-align:left;padding-left:18px}.dashboard-price-table td{font-size:12px;text-align:center;padding:14px 7px;vertical-align:middle;overflow-wrap:anywhere}.dashboard-price-table td small{display:block;color:light-dark(#8997aa,var(--theme-muted));font-size:10px;margin-top:6px}.dashboard-provider{font-size:13px;color:light-dark(#2b405f,var(--theme-text));display:block}.dashboard-route{font-size:10px;color:light-dark(#8494aa,var(--theme-muted));line-height:1.8;display:block;margin-top:5px}.dashboard-delivery{color:light-dark(#4378ba,var(--theme-link))}.dashboard-price{font-size:16px;font-variant-numeric:tabular-nums;color:light-dark(#2f6ebd,var(--theme-link))}.dashboard-missing{font-size:11px;color:light-dark(#9ca9ba,var(--theme-muted))}.dashboard-unquoted td{height:102px;color:light-dark(#9ca9ba,var(--theme-muted))}.dashboard-detail-row td{padding:0 18px 12px!important;border-bottom:1px solid var(--line);text-align:left}.dashboard-detail-row:last-child td{border-bottom:0}.dashboard-detail-row summary{font-size:10px;color:light-dark(#7f91aa,var(--theme-muted));cursor:pointer}.dashboard-details{background:light-dark(#f8fafc,var(--theme-raised));padding:10px;margin-top:8px;text-align:left;display:grid;gap:10px}.dashboard-details div{font-size:11px;line-height:1.7}.dashboard-details span{display:block;color:light-dark(#7c8da5,var(--theme-muted))}.warehouse-card>footer{padding:12px 18px;background:light-dark(#fcfdff,var(--theme-panel));border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.warehouse-card>footer>span{font-size:10px;color:light-dark(#8999ae,var(--theme-muted))}.warehouse-card>footer button{font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:680px){.dashboard-countries{grid-template-columns:1fr}.dashboard-filters{padding:14px}.dashboard-filters label{min-width:100px}.dashboard-unit{font-size:10px}.dashboard-stats .stat-num{font-size:24px}.warehouse-card>header{padding:15px}.dashboard-grid{gap:15px}}

/* Reflow against the width of the workspace. */
.main{container-type:inline-size;container-name:workspace}
.content{width:100%;max-width:none;padding:clamp(18px,2vw,28px) clamp(14px,2vw,32px) 42px}
.dashboard-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,500px),1fr))}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.dashboard-countries{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.dashboard-filters .filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:14px 12px;align-items:end}
.dashboard-filters label{min-width:0;width:100%}.dashboard-filters select,.dashboard-filters input{min-width:0;width:100%}
.table-wrap,.dashboard-table-scroll{max-width:100%}
.page-head,.subhead{flex-wrap:wrap;gap:12px}
@container workspace (max-width:700px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .stat{padding:15px}.stat-num{font-size:24px}
  .dashboard-filters{padding:14px}
}
@container workspace (max-width:360px){
  .dashboard-filters .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
  .dashboard-filters select,.dashboard-filters input{font-size:11px;padding:8px 5px}
}

/* Supplier and channel PK comparison. */
.pk-page-head{align-items:center;margin-bottom:22px}.pk-heading{display:flex;gap:14px;align-items:center}.pk-emblem{display:grid;place-items:center;width:51px;height:51px;border-radius:13px;background:linear-gradient(140deg,light-dark(#316ee0,var(--theme-action)),#1b4b9c);color:#fff;font-style:italic;font-size:23px;font-weight:850;box-shadow:0 6px 15px #2e77ee22}.pk-heading h1{font-size:24px}.pk-heading p{font-size:12px}.pk-actions{display:flex;gap:10px;flex-wrap:wrap}.pk-actions button{font-size:12px}
.pk-shipment{padding:19px 22px;margin-bottom:18px;box-shadow:none}.pk-section-title{display:flex;align-items:center;gap:16px;margin-bottom:17px;flex-wrap:wrap}.pk-section-title b{font-size:14px}.pk-section-title span{font-size:11px;color:light-dark(#8293aa,var(--theme-muted))}.pk-conditions{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px}.pk-conditions label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:light-dark(#75859d,var(--theme-secondary))}.pk-conditions select,.pk-conditions input,.pk-table select,.pk-table input:not([type=checkbox]){width:100%;min-width:0;height:37px;border:1px solid light-dark(#dfe7f2,var(--theme-border));border-radius:7px;padding:8px 10px;color:light-dark(#3e526e,var(--theme-secondary));background:light-dark(#fff,var(--theme-panel));font-size:12px;font-family:inherit;outline:none}.pk-conditions select:focus,.pk-conditions input:focus,.pk-table select:focus,.pk-table input:focus{border-color:light-dark(#86ade9,var(--theme-focus));box-shadow:0 0 0 3px #edf4ff}.pk-weight-note{font-size:10px;line-height:1.7;color:light-dark(#8e9bb0,var(--theme-muted));margin:12px 0 0}#pkConditionError:empty{display:none}
.pk-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.pk-recommend{padding:17px 20px;border:1px solid light-dark(#dce9fb,var(--theme-border));border-radius:10px;background:linear-gradient(110deg,light-dark(#f3f8ff,var(--theme-raised)),light-dark(#fff,var(--theme-panel)))}.pk-recommend>span{display:block;color:light-dark(#5483c2,var(--theme-link));font-size:11px}.pk-recommend>b{display:block;color:light-dark(#304d72,var(--theme-secondary));font-size:17px;margin:8px 0;overflow-wrap:anywhere}.pk-recommend p{font-size:11px;margin:0;line-height:1.7;color:light-dark(#8190a5,var(--theme-muted))}.pk-time-rec{border-color:light-dark(#d8eee7,var(--theme-border));background:linear-gradient(110deg,light-dark(#f0faf6,var(--theme-green-bg)),light-dark(#fff,var(--theme-panel)))}.pk-time-rec>span{color:light-dark(#499b81,var(--theme-green))}.pk-time-rec>b{color:light-dark(#3d6d5c,var(--theme-green))}.pk-notice{font-size:12px;color:light-dark(#9b7845,var(--theme-orange));line-height:1.7}.pk-notice:empty{display:none}
.pk-board{overflow:hidden;box-shadow:0 5px 20px #233e5e05}.pk-board-head{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.pk-board-head b{font-size:14px}.pk-board-head span{font-size:11px;color:light-dark(#8b9bb1,var(--theme-muted));margin-left:16px}.pk-table-wrap{overflow:auto;max-width:100%}.pk-table{width:100%;min-width:760px;table-layout:fixed;border-collapse:collapse}.pk-count-3 .pk-table{min-width:1040px}.pk-count-4 .pk-table{min-width:1320px}.pk-table th,.pk-table td{border-right:1px solid light-dark(#e9eef6,var(--theme-border));border-bottom:1px solid light-dark(#e9eef6,var(--theme-border));vertical-align:top;padding:17px 20px;overflow-wrap:anywhere}.pk-table tr>*:last-child{border-right:0}.pk-table tbody tr:last-child>*{border-bottom:0}.pk-table th:first-child{width:160px;background:light-dark(#f8fafd,var(--theme-raised));font-weight:500;color:light-dark(#75869e,var(--theme-secondary));font-size:12px;text-align:left}.pk-table thead th{background:light-dark(#fff,var(--theme-panel));text-align:left;font-weight:400;padding:18px 20px 10px}.pk-table thead th:first-child{vertical-align:middle}.pk-table-brand{display:block;font-size:28px;line-height:1;font-weight:850;font-style:italic;letter-spacing:-2px;color:light-dark(#9eb7d7,var(--theme-muted));margin:8px 0 18px}.pk-table thead th:first-child b{display:block;color:light-dark(#4c627f,var(--theme-secondary));font-size:14px;font-weight:500}.pk-table small{display:block;color:light-dark(#8b99ad,var(--theme-muted));font-size:10px;margin-top:6px;line-height:1.7;font-weight:400}.pk-column-title{display:flex;align-items:center;justify-content:space-between;color:light-dark(#7187a7,var(--theme-muted));font-size:11px;font-weight:600;margin-bottom:10px}.pk-column-title>span{border-radius:5px;background:light-dark(#edf3fc,var(--theme-raised));padding:5px 8px;color:light-dark(#4c7eb8,var(--theme-secondary))}.pk-remove{border:0;background:none;color:light-dark(#98a7bb,var(--theme-muted));width:24px;height:24px;padding:0;font-size:19px;border-radius:5px}.pk-remove:hover{background:light-dark(#fff0ef,var(--theme-red-bg));color:light-dark(#cc6d69,var(--theme-red))}.pk-remove:disabled{cursor:default;opacity:.2}.pk-select-label{font-size:10px;color:light-dark(#8a9bb1,var(--theme-muted));display:grid;gap:6px;margin-bottom:10px}.pk-select-help{font-size:10px;color:light-dark(#98a4b6,var(--theme-muted));line-height:1.7;margin:9px 0 0;min-height:34px}.pk-table select:disabled{background:light-dark(#f8fafc,var(--theme-raised));color:light-dark(#a1acbb,var(--theme-muted))}.pk-table td{font-size:12px;color:light-dark(#4e6381,var(--theme-secondary));line-height:1.8}.pk-table td>b{font-size:14px;color:light-dark(#425c7e,var(--theme-secondary))}.pk-total-row td{background:light-dark(#f5f9ff,var(--theme-raised))}.pk-total-row th:first-child{background:light-dark(#edf4ff,var(--theme-raised));color:light-dark(#517baa,var(--theme-secondary))}.pk-total-row strong{display:block;font-size:27px;font-weight:700;color:light-dark(#2968ba,var(--theme-link));letter-spacing:-.7px;line-height:1.4}.pk-total-row strong.pk-pending{font-size:17px;letter-spacing:0;color:light-dark(#91a2ba,var(--theme-muted))}.pk-fee-line{padding:9px;border:1px solid light-dark(#e8edf5,var(--theme-border));background:light-dark(#fafcfe,var(--theme-panel));border-radius:7px;margin-bottom:9px}.pk-fee-amount{display:flex;gap:5px;align-items:center;margin-top:7px}.pk-fee-amount select{flex:1.2}.pk-fee-amount input{flex:1}.pk-fee-amount .pk-remove{flex-shrink:0}.pk-table .pk-fee-line input,.pk-table .pk-fee-line select{height:32px;padding:5px 7px;font-size:11px}.pk-add-fee{width:100%;background:light-dark(#fff,var(--theme-panel));border:1px dashed light-dark(#cbdcf1,var(--theme-border));border-radius:7px;padding:8px;color:light-dark(#6690c5,var(--theme-muted));font-size:11px}.pk-add-fee:hover{background:light-dark(#f5f9ff,var(--theme-hover))}.pk-fee-subtotal{font-size:11px;color:light-dark(#7f92ad,var(--theme-muted));margin:10px 0}.pk-confirm{display:flex;gap:7px;align-items:flex-start;font-size:10px;line-height:1.7;color:light-dark(#8292a9,var(--theme-muted))}.pk-confirm input{accent-color:light-dark(#377ce1,var(--theme-link));flex-shrink:0;margin:2px 0 0}.pk-muted{color:light-dark(#9aa8bb,var(--theme-muted));font-size:11px}.pk-notes-row td{font-size:11px;white-space:pre-wrap;background:light-dark(#fcfdff,var(--theme-panel))}.pk-footnote{font-size:11px;margin:14px 0 28px}.pk-library{margin-top:25px}.pk-library>summary{font-size:14px;font-weight:600;color:light-dark(#435b7a,var(--theme-secondary));cursor:pointer;padding:15px 0}.pk-library>summary span{font-weight:400;color:light-dark(#96a3b4,var(--theme-muted));font-size:11px;margin-left:12px}.pk-library .card{box-shadow:none}
@container workspace (max-width:700px){.pk-page-head{align-items:flex-start}.pk-actions{width:100%}.pk-shipment{padding:16px}.pk-conditions{grid-template-columns:repeat(2,minmax(0,1fr))}.pk-recommendations{grid-template-columns:1fr}.pk-board-head{padding:16px}.pk-board-head span{display:block;margin:6px 0 0}.pk-table th:first-child{width:135px}.pk-table{min-width:715px}.pk-table th,.pk-table td{padding:14px}.pk-library>summary span{display:block;margin:7px 0 0}}
.pk-table th:first-child{position:sticky;left:0;z-index:2}

/* Match all suppliers against one shared shipping channel. */
.pk-match-summary{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;padding:14px 18px;margin-bottom:16px;border:1px solid light-dark(#e1eaf7,var(--theme-border));border-radius:8px;background:light-dark(#f8fbff,var(--theme-raised))}
.pk-match-summary b{font-size:12px;font-weight:500;color:light-dark(#4c729f,var(--theme-secondary));line-height:1.8}.pk-match-summary>span{font-size:11px;color:light-dark(#768ba7,var(--theme-muted));margin-left:auto}.pk-match-summary small{flex-basis:100%;font-size:10px;color:light-dark(#8e9bb0,var(--theme-muted));line-height:1.8}
.pk-provider-name{font-size:20px;color:light-dark(#29496f,var(--theme-text));margin:18px 0 12px;font-weight:600}.pk-matched-channel{font-size:12px;color:light-dark(#6b86aa,var(--theme-muted));line-height:1.8;margin:0}.pk-column-title .pk-auto-badge{font-size:10px;color:light-dark(#458e75,var(--theme-green));background:light-dark(#eef8f3,var(--theme-green-bg));font-weight:400}
.pk-no-matches{text-align:center;padding:55px 24px;color:light-dark(#8293aa,var(--theme-muted))}.pk-no-matches b{font-size:16px;font-weight:500;color:light-dark(#5d7697,var(--theme-secondary))}.pk-no-matches p{font-size:12px;line-height:1.8;margin:14px 0 8px}.pk-no-matches span{font-size:11px;color:light-dark(#a0adbf,var(--theme-muted))}
@container workspace (max-width:700px){.pk-match-summary>span{margin-left:0}.pk-provider-name{font-size:18px}}

/* Each warehouse and weight band has an independent comparison. */
.pk-group{border-bottom:6px solid light-dark(#f1f5fa,var(--theme-border));min-width:0}.pk-group:last-child{border-bottom:0}
.pk-group-heading{padding:18px 22px;background:light-dark(#f8fbff,var(--theme-raised));display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;border-bottom:1px solid light-dark(#e1eaf7,var(--theme-border))}
.pk-group-heading b{font-size:15px;color:light-dark(#32577f,var(--theme-secondary));display:flex;gap:12px;align-items:center}.pk-group-heading b span{font-size:11px;background:light-dark(#e8f0fc,var(--theme-raised));color:light-dark(#4d7caf,var(--theme-secondary));padding:5px 9px;border-radius:5px}
.pk-group-heading small{font-size:11px;line-height:1.8;color:light-dark(#8799b1,var(--theme-muted))}.pk-group-recs{margin:16px 20px}.pk-empty-group .pk-no-matches{padding:18px;margin:0;text-align:left;font-size:12px}
#pkRecommendations:empty{display:none}.pk-total-row strong small{display:inline;margin-left:6px}

.pk-search-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding-top:17px;margin-top:16px;border-top:1px solid light-dark(#edf1f7,var(--theme-border))}
.pk-search-actions>span{font-size:12px;color:light-dark(#8b9bb1,var(--theme-muted))}.pk-start{display:flex;align-items:center;justify-content:center;gap:11px;min-width:165px;min-height:45px;font-size:15px;font-weight:600;box-shadow:0 5px 12px #3478e82b}
.pk-start-icon{font-size:18px;font-style:italic;font-weight:850;border-right:1px solid light-dark(#ffffff55,var(--theme-border));padding-right:10px}.pk-awaiting b{display:block}.pk-awaiting .pk-awaiting-icon{display:grid;place-items:center;width:54px;height:54px;background:light-dark(#edf4ff,var(--theme-raised));border-radius:14px;margin:0 auto 18px;color:light-dark(#6393ce,var(--theme-link));font-size:22px;font-weight:850;font-style:italic}
#pkMatchSummary{scroll-margin-top:25px}
@container workspace (max-width:700px){.pk-search-actions{flex-direction:column;align-items:stretch;gap:12px}.pk-search-actions>span{text-align:center}.pk-start{width:100%}}

/* Comparison filter panel: quiet controls with one primary action. */
.pk-page-head{margin-bottom:22px;gap:20px}.pk-heading{gap:13px}.pk-emblem{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,light-dark(#edf4ff,var(--theme-raised)),light-dark(#e0ebff,var(--theme-raised)));color:light-dark(#2b64c6,var(--theme-link));border:1px solid light-dark(#d4e3fc,var(--theme-border));box-shadow:inset 0 1px 0 #fff;font-size:23px;flex-shrink:0}.pk-heading h1{font-size:24px;letter-spacing:.3px;margin-bottom:6px}.pk-heading p{font-size:12px;color:light-dark(#71839d,var(--theme-secondary))}
.pk-actions{gap:8px}.pk-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 13px;border-radius:9px;font-size:12px;color:light-dark(#5c6e89,var(--theme-secondary));transition:background .16s,border-color .16s}.pk-actions button:hover{background:light-dark(#f5f9ff,var(--theme-hover));border-color:light-dark(#bed2ef,var(--theme-border))}.pk-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.pk-actions .pk-entry{background:light-dark(#ecf3ff,var(--theme-raised));border-color:light-dark(#dce8fb,var(--theme-border));color:light-dark(#3265b5,var(--theme-link))}.pk-entry>span{font-size:17px;font-weight:400}
.pk-shipment{padding:0;border:1px solid light-dark(#e0e8f2,var(--theme-border));border-radius:16px;box-shadow:0 4px 18px #263e5e04;overflow:hidden;margin-bottom:20px}
.pk-section-title{justify-content:space-between;gap:14px;padding:22px 24px 20px;margin:0;flex-wrap:nowrap}.pk-filter-heading{display:flex;align-items:center;gap:11px;min-width:0}.pk-filter-heading>div{min-width:0}.pk-filter-heading b{font-size:15px;font-weight:600;color:light-dark(#273b57,var(--theme-text));letter-spacing:.2px}.pk-filter-heading p{margin:5px 0 0;font-size:11px;line-height:1.5;color:light-dark(#7e8da3,var(--theme-muted))}.pk-filter-heading .pk-filter-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid light-dark(#e5ecf6,var(--theme-border));background:light-dark(#f6f9fe,var(--theme-raised));border-radius:10px;color:light-dark(#5c7fab,var(--theme-secondary))}.pk-filter-icon svg{width:20px;height:20px;fill:#f6f9fe;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.pk-section-title .pk-scope-tag{padding:6px 10px;border-radius:6px;background:light-dark(#f4f7fb,var(--theme-raised));color:light-dark(#7789a2,var(--theme-muted));font-size:11px;white-space:nowrap}
.pk-conditions{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px;padding:0 24px 23px}.pk-conditions label{gap:8px;color:light-dark(#687a94,var(--theme-secondary));font-size:12px;font-weight:500;min-width:0}.pk-conditions select,.pk-conditions input{height:43px;border-radius:8px;padding:10px 12px;border-color:light-dark(#e0e7f0,var(--theme-border));background-color:light-dark(#f9fbfe,var(--theme-raised));color:light-dark(#314660,var(--theme-text));font-size:13px;font-weight:400;transition:border-color .16s,background .16s,box-shadow .16s;color-scheme:light}.pk-conditions select:hover,.pk-conditions input:hover{border-color:light-dark(#b9cce6,var(--theme-border));background-color:light-dark(#fff,var(--theme-panel))}.pk-conditions select:focus,.pk-conditions input:focus{border-color:light-dark(#6d9ee9,var(--theme-focus));background-color:light-dark(#fff,var(--theme-panel));box-shadow:0 0 0 3px #eaf2ff}
.pk-search-actions{margin:0;padding:16px 24px;border-top:1px solid light-dark(#eaf0f7,var(--theme-border));background:light-dark(#fbfcff,var(--theme-panel));justify-content:space-between;gap:20px;flex-direction:row}.pk-search-note{display:flex;align-items:center;gap:10px;min-width:0}.pk-info-icon{display:grid;place-items:center;flex-shrink:0;width:17px;height:17px;border:1px solid light-dark(#a6b8cf,var(--theme-focus));color:light-dark(#8c9fb9,var(--theme-muted));border-radius:50%;font:500 11px Georgia,serif}.pk-search-note p{font-size:11px;color:light-dark(#687c98,var(--theme-secondary));line-height:1.7;margin:0}.pk-search-note p span{display:block;font-size:10px;color:light-dark(#8798af,var(--theme-muted))}
.pk-start{width:auto;min-width:154px;min-height:44px;padding:11px 18px;gap:24px;border-radius:9px;font-size:14px;letter-spacing:.4px;background:light-dark(#2869df,var(--theme-action));box-shadow:0 4px 10px #2869df24;transition:background .16s,box-shadow .16s;flex-shrink:0}.pk-start:hover{background:light-dark(#205dcc,var(--theme-action));box-shadow:0 5px 14px #2869df33}.pk-start svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pk-start:focus-visible,.pk-actions button:focus-visible{outline:3px solid light-dark(#98bdf4,var(--theme-focus));outline-offset:3px}.pk-shipment #pkConditionError{margin:0;padding:12px 24px;background:light-dark(#fff7f7,var(--theme-red-bg))}
@container workspace (min-width:1450px){.pk-conditions{grid-template-columns:repeat(7,minmax(0,1fr));gap:16px}}
@container workspace (max-width:700px){.pk-page-head{flex-wrap:wrap;gap:16px}.pk-heading h1{font-size:22px}.pk-actions{width:auto;margin-left:auto}.pk-section-title{padding:18px 18px 20px}.pk-section-title .pk-scope-tag{display:none}.pk-conditions{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 18px 20px;gap:16px 12px}.pk-search-actions{padding:15px 18px;align-items:center;flex-wrap:wrap;gap:14px}.pk-start{margin-left:auto}.pk-search-note p span{font-size:10px}}
@container workspace (max-width:420px){.pk-search-actions{align-items:stretch;flex-direction:column}.pk-start{width:100%;margin:0;gap:12px}.pk-search-note{justify-content:flex-start}.pk-actions{margin-left:0}.pk-filter-heading p{font-size:10px}.pk-conditions select,.pk-conditions input{font-size:12px;padding-left:10px;padding-right:8px}}

/* Independent entry for the consolidated registration index. */
#infoRegister{width:100%;max-width:none;min-width:0;margin-inline:0}
.info-register-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:4px 0 24px}.info-register-page-head h1{margin:7px 0 8px;font-size:28px;color:light-dark(#28486c,var(--theme-text));letter-spacing:-.3px}.info-register-page-head p{margin:0;color:light-dark(#7b8ea7,var(--theme-muted));font-size:13px;line-height:1.7}.info-register-eyebrow{color:light-dark(#6f8eb4,var(--theme-link));font-size:11px;font-weight:700;letter-spacing:1.5px}.info-register-tabs{display:flex;gap:8px;flex:none}.info-register-tabs button{min-width:76px}.info-register-tabs button:disabled{opacity:.62;cursor:not-allowed}.info-register-card{padding:0;overflow:hidden;border:1px solid light-dark(#e1e8f1,var(--theme-border));border-radius:14px;background:light-dark(#fff,var(--theme-panel));box-shadow:0 5px 20px #193d6008}.info-register-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px 24px;border-bottom:1px solid light-dark(#e6edf4,var(--theme-border))}.info-register-card-head h2{margin:0;color:light-dark(#3a587b,var(--theme-text));font-size:18px}.info-register-card-head p{margin:7px 0 0;color:light-dark(#8194aa,var(--theme-muted));font-size:12px;line-height:1.7}.info-register-count{flex:none;padding:5px 10px;border-radius:999px;background:light-dark(#edf4fc,var(--theme-raised));color:light-dark(#4d78a7,var(--theme-link));font-size:12px}.info-register-table{margin:0}.info-register-table th,.info-register-table td{padding:16px 20px}.info-register-table tbody th{color:light-dark(#385879,var(--theme-text));font-size:13px;font-weight:600;white-space:nowrap}.info-register-table tbody td{color:light-dark(#71859e,var(--theme-secondary));font-size:12px}.info-register-update-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.info-register-update-grid article{padding:17px;border:1px solid light-dark(#e1e8f1,var(--theme-border));border-radius:10px;background:light-dark(#fbfdff,var(--theme-raised))}.info-register-update-grid h3{margin:0;color:light-dark(#385879,var(--theme-text));font-size:15px}.info-register-update-grid p{margin:8px 0 16px;color:light-dark(#71859e,var(--theme-secondary));font-size:12px;line-height:1.7}.info-register-update-grid button{font-size:12px}.info-register-table .link-btn{font-size:12px;white-space:nowrap}
@media(max-width:760px){#infoRegister{max-width:none}.info-register-page-head{display:block;margin:2px 0 18px}.info-register-page-head h1{font-size:23px}.info-register-tabs{margin-top:15px}.info-register-tabs button{flex:1}.info-register-card-head{padding:17px 15px}.info-register-table{min-width:620px}.info-register-table th,.info-register-table td{padding:13px 14px}.info-register-card>.table-wrap{overflow-x:auto}.info-register-update-grid{grid-template-columns:minmax(0,1fr);padding:14px}}

/* Information register: wide data preview and a two-step upload review. */
.info-register-pane[hidden]{display:none}
.info-register-filters{display:flex;align-items:end;gap:12px;padding:18px 24px;flex-wrap:wrap}
.info-register-filters label{display:grid;gap:6px;color:light-dark(#607994,var(--theme-secondary));font-size:12px;font-weight:600}
.info-register-filters select,.info-register-filters input{min-width:150px;height:38px;padding:0 11px;border:1px solid light-dark(#d5e0ec,var(--theme-border));border-radius:8px;background:light-dark(#fff,var(--theme-raised));color:light-dark(#304c6d,var(--theme-text));font:inherit}
.info-register-filters .info-register-search{flex:1;min-width:220px}.info-register-filters .info-register-search input{width:100%}
.info-register-table-card{overflow:hidden}.info-register-table-card>.table-wrap{overflow:auto}.info-register-table{min-width:980px}.info-register-table thead th{position:sticky;top:0;z-index:1;background:light-dark(#f5f8fc,#1c2c40);color:light-dark(#587493,#b6cbe2);font-size:11px;white-space:nowrap}.info-register-table tbody tr:nth-child(even){background:light-dark(#fbfdff,#172638)}
.info-register-table td{white-space:nowrap}.info-register-table .info-register-row-detail{padding:14px 20px;background:light-dark(#f7faff,#142438);white-space:normal}.info-register-row-detail dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 18px;margin:0}.info-register-row-detail dl div{min-width:0}.info-register-row-detail dt{color:light-dark(#7890aa,#9eb7d0);font-size:11px}.info-register-row-detail dd{margin:2px 0 0;color:light-dark(#385879,#d5e4f3);font-size:12px;word-break:break-word}.info-register-row-detail>small{display:block;margin-top:12px;color:light-dark(#8397ad,#8fa8c3)}
.info-register-empty{color:light-dark(#a4b1bf,#7187a0);font-size:11px}.info-register-empty-row{text-align:center!important;padding:32px!important;color:light-dark(#8798aa,#8298b1)!important}.info-register-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;color:light-dark(#8092a7,#8ea5be);font-size:12px}.info-register-pagination>div{display:flex;gap:8px}.info-register-pagination button{min-width:66px}.info-register-upload-card{overflow:hidden}.info-register-upload-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px;padding:22px 24px}.info-register-upload-drop{display:grid;place-items:center;align-content:center;min-height:215px;padding:24px;border:1.5px dashed light-dark(#bfd0e2,#45647f);border-radius:12px;background:light-dark(#f8fbff,#16293d);text-align:center;transition:.2s}.info-register-upload-drop.is-dragging,.info-register-upload-drop.has-file{border-color:#5b8ed4;background:light-dark(#f0f7ff,#1b3652)}.info-register-upload-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#3e7dc1;color:#fff;font-size:11px;font-weight:800;letter-spacing:.5px}.info-register-upload-drop strong{margin-top:14px;color:light-dark(#385879,#d9e8f7);font-size:15px}.info-register-upload-drop p{margin:6px 0 14px;color:light-dark(#8295aa,#91a8c1);font-size:12px}.info-register-file-control{position:relative;display:inline-flex}.info-register-file-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.info-register-file-control span{padding:8px 14px;border-radius:7px;background:#3f7dc1;color:#fff;font-size:12px;font-weight:700}.info-register-upload-rules{padding:18px;border:1px solid light-dark(#e0e8f1,#2e455e);border-radius:10px;background:light-dark(#fbfdff,#182b40)}.info-register-upload-rules h3{margin:0;color:light-dark(#385879,#d6e5f4);font-size:15px}.info-register-upload-rules ul{margin:12px 0 18px;padding-left:18px;color:light-dark(#71869d,#a1b5ca);font-size:12px;line-height:1.9}.info-register-upload-rules .primary{width:100%}.info-register-status{margin:0;padding:0 24px 18px;color:light-dark(#4f779f,#a4c4e2);font-size:12px}.info-register-review-card{margin-top:16px;overflow:hidden;border:1px solid light-dark(#b9cee4,#3c5e7d);background:light-dark(#fff,#152a40)}.info-register-review-head{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid light-dark(#e2eaf2,#2e465e)}.info-register-review-head h2{margin:6px 0 4px;color:light-dark(#385879,#d9e8f5);font-size:17px}.info-register-review-head p{margin:0;color:light-dark(#8295aa,#9db4cb);font-size:12px}.info-register-review-stats{display:flex;gap:10px;flex-wrap:wrap;padding:14px 24px}.info-register-review-stats span{padding:7px 10px;border-radius:7px;background:light-dark(#f1f6fb,#1d354d);color:light-dark(#63809f,#a9c3dd);font-size:12px}.info-register-review-stats b{margin-left:4px;color:light-dark(#315e8d,#dcecff)}.info-register-review-alert{margin:0 24px 14px;padding:12px 14px;border-radius:8px;background:light-dark(#f2f7fc,#1b344d);color:light-dark(#57718e,#b6cee4);font-size:12px}.info-register-review-alert.is-error{background:light-dark(#fff2f0,#482c32);color:light-dark(#a44940,#ffc6bd)}.info-register-review-alert ul{margin:7px 0 0;padding-left:18px;line-height:1.7}.info-register-review-alert small{display:block;opacity:.8}.info-register-review-card>.table-wrap{overflow:auto}.info-register-review-table{min-width:760px}.info-register-review-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 24px}.info-register-review-actions small{color:light-dark(#8397ad,#93abc2);font-size:11px}.info-register-action-新增{color:#2f8b66}.info-register-action-更新{color:#3f79bd}.info-register-action-无变化{color:#8a98a8}.info-register-action-冲突{color:#b44f45}.info-register-status-pill{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px}.info-register-status-pill.is-done{background:#e5f5ec;color:#2b815d}.info-register-status-pill.is-pending{background:#fff1d9;color:#a56d20}.info-register-issue-count{color:#b45d53;font-size:11px}
@media(max-width:760px){.info-register-filters{padding:15px;align-items:stretch}.info-register-filters label,.info-register-filters .info-register-search{min-width:100%;}.info-register-filters button{width:100%}.info-register-upload-body{grid-template-columns:minmax(0,1fr);padding:15px}.info-register-upload-drop{min-height:180px}.info-register-review-head,.info-register-review-actions{padding:16px;align-items:flex-start;flex-direction:column}.info-register-review-stats{padding:12px 16px}.info-register-review-alert{margin-inline:16px}.info-register-pagination{padding:12px 15px}.info-register-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Deep-blue logistics landing page with a curved illustrated backdrop. */
.login-screen{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.85fr);align-items:center;gap:clamp(35px,5vw,100px);padding:50px clamp(40px,6vw,120px);background:#102136 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIwIDEwODAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0ibmF2eSIgeDI9IjEiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjMTkzYzYyIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTAyMTM2Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImljZSIgeDI9Ii44IiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2YwZjVmYiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2RiZTdmNCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGZpbGw9InVybCgjbmF2eSkiIGQ9Ik0wIDBoMTkyMHYxMDgwSDB6Ii8+PHBhdGggZD0iTTAgMEMzNjAgNCA1OTAgMTU1IDgwNSA0MTBTMTEwMCA4MDUgMTQ4MCA4NjVTMTc5MCA5MDUgMTkyMCAxMDAwVjEwODBIMFoiIGZpbGw9InVybCgjaWNlKSIvPjxwYXRoIGQ9Ik0wIDE1QzM2MCAxOSA1NzUgMTc0IDc5MCA0MjVTMTEwMCA4MjUgMTQ4MCA4ODUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9Ii4yOCIgc3Ryb2tlLXdpZHRoPSIyIi8+PGcgb3BhY2l0eT0iLjEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNTgwIDgwKSI+PHBhdGggZD0ibTAgNjUgMTEwLTY1IDExMCA2NS0xMTAgNjVaIiBmaWxsPSIjYjBkMGVlIi8+PHBhdGggZD0ibTAgNjUgMTEwIDY1djEzMEwwIDE5NVoiIGZpbGw9IiM4MmFjZDQiLz48cGF0aCBkPSJtMTEwIDEzMCAxMTAtNjV2MTMwbC0xMTAgNjVaIiBmaWxsPSIjNTA3ZWFjIi8+PC9nPjxnIG9wYWNpdHk9Ii4wOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTExMCA2MCkgc2NhbGUoLjM4KSI+PHBhdGggZD0ibTAgNjUgMTEwLTY1IDExMCA2NS0xMTAgNjVaIiBmaWxsPSIjYzJkZGY0Ii8+PHBhdGggZD0ibTAgNjUgMTEwIDY1djEzMEwwIDE5NVoiIGZpbGw9IiM4MmFjZDQiLz48cGF0aCBkPSJtMTEwIDEzMCAxMTAtNjV2MTMwbC0xMTAgNjVaIiBmaWxsPSIjNTA3ZWFjIi8+PC9nPjwvc3ZnPg==') center/100% 100% no-repeat;overflow:hidden}
.login-intro{display:block;position:relative;max-width:900px;min-width:0;width:100%;color:#183b60;align-self:center}.login-copy{position:relative;z-index:1;padding-left:3%}.login-intro .eyebrow{color:#587b9e;font-size:10px;letter-spacing:2.2px;font-weight:600}.login-intro h1{font-size:clamp(32px,3vw,49px);line-height:1.35;margin:20px 0 13px;letter-spacing:1px;font-weight:650;color:#153657}.login-intro h1 span{font-size:.76em;font-weight:500;letter-spacing:2px}.login-intro p{font-size:13px;color:#627f9d;margin:0;line-height:1.8}.login-scene{display:block;width:112%;max-width:1000px;height:auto;margin:-9px 0 -12px -6%;filter:drop-shadow(0 20px 24px #3159870a)}.login-intro .intro-foot{display:flex;align-items:center;justify-content:center;gap:17px;margin:0;font-size:10px;color:#6c87a3;letter-spacing:2px}
.login-panel{position:relative;justify-self:center;width:400px;max-width:100%;padding:36px 34px 30px;border:1px solid light-dark(#ffffffb3,var(--theme-border));border-radius:16px;background:light-dark(#fffffffa,var(--theme-panel));box-shadow:0 24px 65px #061a3340,0 3px 12px #061a331f}.login-brand{margin-bottom:30px;gap:10px}.login-brand b{font-size:17px;color:light-dark(#1c3857,var(--theme-text))}.login-brand span{font-size:10px;letter-spacing:.8px;margin-top:4px;color:light-dark(#8b9cb0,var(--theme-muted))}.login-logo{width:43px;height:43px;background:transparent;padding:0}.login-panel h1{font-size:24px;margin-bottom:9px;color:light-dark(#193752,var(--theme-text))}.login-panel>p{font-size:12px;color:light-dark(#8392a6,var(--theme-muted));margin-bottom:24px}.login-form{gap:9px}.login-form label{font-size:12px;color:light-dark(#5d728a,var(--theme-secondary));margin-top:5px}.login-form input{height:44px;border-radius:8px;background:light-dark(#f6f9fd,var(--theme-raised));border-color:light-dark(#e2e9f2,var(--theme-border));font-size:13px}.login-form input:focus{background:light-dark(#fff,var(--theme-panel));border-color:light-dark(#76a0ce,var(--theme-focus));box-shadow:0 0 0 3px #ebf2fa}.password-field button{top:9px;font-size:12px}.login-submit{height:44px;background:#214e7d;box-shadow:0 5px 12px #173e6a20;font-size:13px;border-radius:8px;margin-top:16px}.login-submit:hover{background:#193e65}.login-panel .account-help{font-size:11px!important;line-height:1.8;border-color:light-dark(#e9eef5,var(--theme-border));color:light-dark(#8a99ac,var(--theme-muted));padding-top:17px!important;margin-top:12px!important}.login-error{font-size:11px;line-height:1.6;min-height:17px}
@media(min-width:1700px){.login-screen{padding:65px 9vw;grid-template-columns:minmax(0,1.6fr) minmax(380px,1fr)}.login-panel{width:420px;padding:42px 38px 35px}.login-scene{margin-top:-30px}.login-intro h1{font-size:52px}}
@media(max-width:1100px){.login-screen{padding:44px 35px;gap:28px;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)}.login-panel{padding:30px 27px}.login-intro h1{font-size:34px}.login-intro p{font-size:11px}.login-scene{width:120%;margin:8px 0 0 -10%}.login-intro .intro-foot{font-size:9px;gap:10px;letter-spacing:1px}}
@media(max-width:760px){.login-screen{display:flex;flex-direction:column;justify-content:center;gap:24px;padding:36px 22px;background-size:auto 100%;background-position:60% center}.login-intro{max-width:420px;width:100%;align-self:center}.login-copy{padding:0}.login-intro .eyebrow{font-size:9px;color:#7b9dbb}.login-intro h1{font-size:29px;margin:12px 0 9px;color:#e9f2fc;line-height:1.25}.login-intro h1 br{display:none}.login-intro h1 span{display:block;font-size:18px;margin-top:7px;color:#b0c9e2;letter-spacing:2px}.login-intro p{font-size:11px;color:#9ab4cf}.login-scene,.login-intro .intro-foot{display:none}.login-panel{width:420px;padding:28px 27px;border-radius:14px}.login-screen{background-image:radial-gradient(ellipse at 0 100%,#47698a66,transparent 65%),linear-gradient(155deg,#183b60,#102136)}.login-brand{margin-bottom:23px}}
@media(max-width:380px){.login-screen{padding:28px 16px;gap:20px}.login-panel{padding:25px 22px}.login-intro h1{font-size:26px}.login-intro p{font-size:10px}}

.zo-login p{margin:0;color:light-dark(#526b84,var(--theme-secondary));font-size:13px;line-height:1.7}
.zo-login-link{display:grid;place-items:center;min-height:44px;margin-top:16px;border-radius:8px;background:#214e7d;color:#fff;font-size:13px;font-weight:600;text-decoration:none}
.zo-login-link:hover{background:#193e65}

/* Larger login headline and supporting copy. */
.login-intro h1{font-size:clamp(40px,3.8vw,64px);line-height:1.3;margin:18px 0 18px}
.login-intro h1 span{font-size:.78em}
.login-intro p{font-size:16px;line-height:1.9}
@media(min-width:1700px){.login-intro h1{font-size:64px}.login-intro p{font-size:17px}}
@media(max-width:1100px){.login-intro h1{font-size:40px}.login-intro p{font-size:13px}}
@media(max-width:760px){.login-intro h1{font-size:34px;margin:12px 0}.login-intro h1 span{font-size:24px}.login-intro p{font-size:13px}}
@media(max-width:380px){.login-intro h1{font-size:30px}.login-intro h1 span{font-size:22px}.login-intro p{font-size:12px}}

/* Align the tagline start with the previous position of “所有”. */
.login-copy>p{margin-left:5em}
@media(max-width:760px){.login-copy>p{margin-left:0}}

/* Keep dashboard filters available while browsing warehouse prices. */
#priceTable>.dashboard-filters{position:sticky;top:12px;z-index:10;background:light-dark(#fff,var(--theme-panel));box-shadow:0 6px 22px #193d6012}
@media(max-width:760px){#priceTable>.dashboard-filters{top:64px;max-height:calc(100svh - 90px);overflow-y:auto}}

/* Supplier quotation intake and review. */
.app .content:has(#imports.active){background:light-dark(#f2f5f9,var(--theme-page));padding-inline:clamp(14px,1.25vw,24px)}
#imports{
  --import-ink:light-dark(#203330,var(--theme-text));
  --import-copy:light-dark(#526760,var(--theme-secondary));
  --import-muted:light-dark(#5d706a,var(--theme-muted));
  --import-line:light-dark(#d9e3df,var(--theme-border));
  --import-accent:light-dark(#1b6d5d,var(--theme-action));
  --import-week-bg:light-dark(#ebf2fa,var(--theme-raised));
  width:100%;
  min-width:0;
}
.import-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 30px}
.import-page-head h1{font-size:28px;font-weight:700;color:var(--import-ink);letter-spacing:.4px;margin:0}
.import-page-head p{font-size:14px;color:var(--import-muted);margin:13px 0 0;line-height:1.65}
#imports .import-template-links{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
#imports .import-template-links a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 17px;border:1px solid var(--import-line);border-radius:7px;background:light-dark(#fff,var(--theme-panel));color:var(--import-copy);font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
#imports .import-template-links a:hover{background:light-dark(#eef5f1,var(--theme-hover));border-color:var(--import-accent);color:var(--import-accent)}
#imports svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.import-template-links svg{width:18px;height:18px}
#imports .import-panel{padding:0;border:1px solid var(--import-line);border-radius:8px;overflow:hidden;box-shadow:none;margin:0 0 24px}
.import-panel-head{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px;padding:20px 30px;border-bottom:1px solid var(--import-line)}
.import-panel-head h2{font-size:17px;color:var(--import-ink);font-weight:600;margin:0;white-space:nowrap}
.import-steps{display:flex;align-items:center;gap:0;padding:0;margin:0;list-style:none;color:var(--import-muted)}
.import-steps li{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:13px}
.import-steps li+li::before{content:"";width:32px;height:1px;margin:0 15px 0 9px;background:var(--import-line)}
.import-steps span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:light-dark(#edf0f4,var(--theme-raised));color:var(--import-muted);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.import-steps b{font-weight:500}
.import-steps [aria-current="step"]{color:var(--import-accent)}
.import-steps [aria-current="step"] b{font-weight:600}
.import-steps [aria-current="step"] span{background:var(--import-accent);color:#fff;box-shadow:0 0 0 5px var(--import-week-bg)}
.import-steps li:has(~ [aria-current="step"]) span{background:light-dark(#e7f2ed,var(--theme-green-bg));color:var(--import-accent)}
.import-upload-layout{display:grid;grid-template-columns:minmax(0,.63fr) minmax(0,1fr);gap:38px;padding:30px;align-items:start}
.import-file-section{display:flex;flex-direction:column;min-width:0}
.import-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:296px;padding:30px 16px;text-align:center;border:1px dashed light-dark(#c5d8f1,var(--theme-border));border-radius:14px;background:light-dark(#f4f7fb,var(--theme-raised));transition:border-color .15s}
.import-upload:focus-within,.import-upload.is-dragging{border-color:light-dark(#3e7cbd,var(--theme-focus));background:light-dark(#eff6ff,var(--theme-hover))}
.import-upload.has-file{border-style:solid;border-color:light-dark(#aac5df,var(--theme-border))}
.import-upload-icon{position:relative;display:block;width:46px;height:54px;margin-bottom:19px;color:light-dark(#5a8cc1,var(--theme-link))}
.import-upload-icon>svg{width:46px;height:54px;stroke-width:2.4}
.import-upload-icon>span{position:absolute;bottom:3px;left:-5px;padding:4px 5px;border-radius:3px;background:light-dark(#326fa7,var(--theme-action));color:#fff;font-size:9px;line-height:1.2;letter-spacing:1px;font-weight:700}
.import-upload>strong{font-size:18px;line-height:1.6;font-weight:650;color:var(--import-ink);max-width:100%;overflow-wrap:anywhere}
.import-upload>p{font-size:13px;line-height:1.65;color:var(--import-muted);margin:10px 0 21px;overflow-wrap:anywhere}
.import-file-control{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:0;padding:10px 18px;border:1px solid var(--import-line);border-radius:7px;background:light-dark(#fff,var(--theme-panel));color:var(--import-copy);font-size:13px;font-weight:600;line-height:1.5;overflow:hidden}
.import-file-control:hover{background:light-dark(#eef5f1,var(--theme-hover));border-color:var(--import-accent)}
.import-file-control:focus-within{outline:2px solid light-dark(#5f8fc1,var(--theme-focus));outline-offset:3px}
#imports .import-file-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.import-file-control svg{width:15px;height:15px}
.import-file-control:has(input:disabled){opacity:.5}
.import-upload small{color:var(--import-muted);font-size:12px;line-height:1.5;margin-top:16px}
.import-upload small span{margin:0 5px}
.import-file-note{font-size:12px;line-height:1.8;color:var(--import-muted);margin:14px 0 0;text-align:center}
.import-settings{min-width:0;padding-top:10px}
#imports .import-settings .form-grid{gap:27px 20px;align-content:start}
.import-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#imports .form-item{gap:11px;min-width:0}
#imports .form-item label{font-size:14px;font-weight:600;color:var(--import-ink);line-height:1.5;margin:0}
#imports .import-label-row button{font-size:13px;padding:0;white-space:nowrap;color:var(--import-accent)}
#imports .form-item :is(input,select){height:47px;width:100%;min-width:0;padding:0 15px;border:1px solid var(--import-line);border-radius:9px;color:var(--import-muted);background:light-dark(#fff,var(--theme-panel));font-size:14px;line-height:1.5}
#imports .form-item :is(input,select):focus-visible{outline:2px solid light-dark(#7aa3d1,var(--theme-focus));outline-offset:2px}
#imports .form-item>small{color:var(--import-muted);font-size:12px;line-height:1.75}
.import-panel .import-validity-hint{display:flex;align-items:flex-start;gap:12px;margin:24px 0 0;padding:18px;border:0;border-radius:10px;background:light-dark(#f2f5fa,var(--theme-raised));color:var(--import-copy);min-width:0}
.import-validity-hint>svg{width:20px;height:20px;color:light-dark(#6e93bc,var(--theme-link));margin-top:1px}
.import-validity-hint div>strong{font-size:12px;font-weight:600;color:var(--import-ink);line-height:1.6}
.import-validity-hint p{font-size:12px;line-height:1.8;color:var(--import-muted);margin:7px 0 0;overflow-wrap:anywhere}
#importCurrentWeek:empty{display:none}
.import-upload-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 30px;border-top:1px solid var(--import-line);background:light-dark(#f8fafc,var(--theme-panel))}
.import-panel .import-unit{display:flex;align-items:flex-start;gap:10px;color:var(--import-copy);font-size:13px;font-weight:400;line-height:1.8;cursor:pointer}
.import-unit input{width:16px;height:16px;flex-shrink:0;margin:3px 0 0;accent-color:var(--import-accent)}
.import-unit b{font-weight:600;color:var(--import-ink)}
.import-upload-footer p{font-size:12px;color:var(--import-muted);line-height:1.7;margin:6px 0 0 26px}
#imports #previewImport{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-width:172px;min-height:50px;flex-shrink:0;padding:12px 26px;border:1px solid var(--import-accent);background:var(--import-accent);color:#fff;border-radius:7px;box-shadow:none;font-size:14px;font-weight:600}
#imports #previewImport:hover:not(:disabled){background:var(--workspace-hover);border-color:var(--workspace-hover)}
#previewImport svg{width:18px;height:18px}
#previewImport[aria-busy="true"] svg{display:none}
#previewImport:disabled{cursor:wait}
.import-panel :is(#importStatus,#importError){font-size:12px;line-height:1.8;margin:0;padding:14px 28px;border-top:1px solid var(--import-line);overflow-wrap:anywhere}
.import-panel #importStatus{color:light-dark(#38755b,var(--theme-green))}
.import-panel #importStatus:empty,.import-panel #importError:empty{display:none}
.import-analysis{overflow:hidden;scroll-margin-top:16px}.import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:light-dark(#eaf0f7,var(--theme-raised));border-bottom:1px solid light-dark(#eaf0f7,var(--theme-border))}.import-stats>div{padding:20px;background:light-dark(#f9fbfe,var(--theme-raised))}.import-stats span{display:block;font-size:11px;color:light-dark(#8092ab,var(--theme-muted))}.import-stats b{display:block;font-size:25px;color:light-dark(#365d8b,var(--theme-secondary));font-weight:600;margin-top:9px}.import-publish-state{font-size:12px;line-height:1.9;color:light-dark(#517c6b,var(--theme-green));background:light-dark(#f1f8f5,var(--theme-green-bg));margin:16px 20px;padding:12px 14px;border-radius:7px}.import-publish-state.has-issues{color:light-dark(#a06544,var(--theme-orange));background:light-dark(#fff6eb,var(--theme-orange-bg))}.import-report{margin:0 20px;padding:13px 0;border-bottom:1px solid light-dark(#edf1f7,var(--theme-border))}.import-report>summary{cursor:pointer;color:light-dark(#5a7191,var(--theme-secondary));font-size:12px;font-weight:500}.import-report ul{font-size:11px;color:light-dark(#a06452,var(--theme-red));line-height:1.9;padding-left:22px}.import-report ul.hint{color:light-dark(#8294ab,var(--theme-muted))}.import-sheet-summary{display:flex;flex-direction:column;gap:7px;padding:14px;margin-top:10px;background:light-dark(#f8fafd,var(--theme-raised));border-radius:7px}.import-sheet-summary b{font-size:12px;color:light-dark(#526e94,var(--theme-secondary))}.import-sheet-summary span,.import-sheet-summary small{font-size:11px;color:light-dark(#8699b2,var(--theme-muted))}.import-fee-note{margin:10px 0;padding:12px 14px;background:light-dark(#f8fafd,var(--theme-raised));border-radius:7px}.import-fee-note summary{font-size:11px;color:light-dark(#607a9e,var(--theme-secondary));cursor:pointer;white-space:pre-wrap;line-height:1.8}.import-fee-note p{white-space:pre-wrap;font-size:12px;line-height:1.9;color:light-dark(#637c9b,var(--theme-secondary))}.import-fee-note small{color:light-dark(#8c9db3,var(--theme-muted));font-size:10px}
.import-review-toolbar{padding:20px;display:flex;flex-direction:column;gap:14px}.import-tabs{display:flex;gap:6px;flex-wrap:wrap}.import-tabs button{padding:9px 14px;background:light-dark(#f3f6fb,var(--theme-raised));color:light-dark(#7a8fae,var(--theme-muted));border:0;border-radius:6px;font-size:12px}.import-tabs button.active{background:light-dark(#e5efff,var(--theme-selected));color:light-dark(#326bb7,var(--theme-link));font-weight:600}.import-review-filters{display:flex;gap:10px;flex-wrap:wrap}.import-review-filters select,.import-review-filters input{height:35px;border:1px solid light-dark(#e0e8f2,var(--theme-border));border-radius:6px;background:light-dark(white,var(--theme-panel));padding:6px 10px;color:light-dark(#69809f,var(--theme-secondary));font-size:11px;min-width:0}.import-review-filters input{width:230px}.import-detail-table{min-width:1050px}.import-detail-table td{font-size:11px;vertical-align:top;padding:15px 16px}.import-detail-table th{padding:12px 16px;font-size:11px}.import-detail-table td>small{display:block;margin-top:7px;font-size:10px;line-height:1.8;color:light-dark(#8699b2,var(--theme-muted))}.import-destination{max-width:240px;min-width:110px;white-space:pre-wrap;line-height:1.8;margin-top:6px}.import-price{font-size:15px;color:light-dark(#3569a7,var(--theme-link))}.import-unquoted{color:light-dark(#9caabd,var(--theme-muted))}.import-row-state{font-size:10px;padding:4px 7px;border-radius:5px;background:light-dark(#f0f3f8,var(--theme-raised));color:light-dark(#8998ad,var(--theme-muted))}.import-row-state.quoted{background:light-dark(#eef8f2,var(--theme-green-bg));color:light-dark(#418768,var(--theme-green))}.import-row-state.invalid{background:light-dark(#fff0ec,var(--theme-red-bg));color:light-dark(#b2735e,var(--theme-red))}.import-detail-table details{margin-top:10px;min-width:170px;max-width:290px}.import-detail-table summary{cursor:pointer;color:light-dark(#6a8bb6,var(--theme-muted));font-size:10px}.import-detail-table details p{white-space:pre-wrap;line-height:1.9;font-size:11px}.import-detail-table details small{display:block;line-height:1.8;color:light-dark(#8a9bb1,var(--theme-muted));overflow-wrap:anywhere}.import-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-top:1px solid light-dark(#edf1f7,var(--theme-border))}.import-pagination>span{font-size:11px;color:light-dark(#8b9db4,var(--theme-muted))}.import-pagination button{font-size:11px;padding:7px 11px}.import-no-results{text-align:center;padding:40px!important;color:light-dark(#91a0b5,var(--theme-muted))}.import-analysis .preview-head{gap:18px;flex-wrap:wrap}.import-analysis .preview-head p{line-height:1.8}.import-analysis .preview-head button{font-size:12px}
.import-history{margin-top:34px}
.import-history-heading{display:flex;align-items:baseline;gap:16px;margin:0 0 17px;flex-wrap:wrap}
.import-history-heading h2{margin:0;color:var(--import-ink);font-size:20px;font-weight:650}
.import-history-heading p{margin:0;color:var(--import-muted);font-size:13px;line-height:1.7}
.import-history-card{border:1px solid var(--import-line);border-radius:8px;box-shadow:none;overflow:hidden}
.import-history-table{min-width:1000px;table-layout:fixed}
.import-history-table:has(.import-history-empty){min-width:0}
.import-history-table col:nth-child(1){width:27%}
.import-history-table col:nth-child(2){width:19%}
.import-history-table col:nth-child(3){width:8%}
.import-history-table col:nth-child(4){width:9%}
.import-history-table col:nth-child(5){width:17%}
.import-history-table col:nth-child(6){width:20%}
.import-history-table td{padding:21px 22px;font-size:13px;color:var(--import-copy);vertical-align:middle;line-height:1.8;overflow-wrap:anywhere;border-bottom-color:light-dark(#eaf0f5,var(--theme-border))}
.import-history-table tr:not(.import-week-group):hover td{background:light-dark(#f5f8f7,var(--theme-hover))}
.import-history-table .import-week-group :is(td,th){padding:15px 22px;background:var(--import-week-bg);border-bottom:1px solid light-dark(#e5edf5,var(--theme-border));color:var(--import-ink);font-size:14px;font-weight:650;white-space:normal}
.import-history-table .import-week-group span{margin-left:8px;color:var(--import-muted);font-size:12px;font-weight:400}
.import-batch-file{display:flex;align-items:center;gap:15px;min-width:0}
.import-batch-file>svg{width:23px;height:27px;color:light-dark(#83a0c0,var(--theme-muted))}
.import-batch-file>div{min-width:0}
.import-batch-file b{display:block;font-size:13px;font-weight:650;color:var(--import-ink);overflow-wrap:anywhere}
.import-batch-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--import-muted);line-height:1.6;margin-top:5px}
.import-batch-status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.import-batch-status.is-published{color:light-dark(#278168,var(--theme-green))}
.import-batch-status.is-pending{color:light-dark(#96661e,var(--theme-orange))}
.import-history-table .import-row-actions{gap:8px 15px}
.import-history-table .link-btn{font-size:13px;padding:0;white-space:nowrap;color:light-dark(#447bb8,var(--theme-blue));text-decoration:none}
.import-history-table .link-btn:hover{text-decoration:underline;text-underline-offset:3px}
.import-history-card .import-pagination{padding:13px 20px;border-color:var(--import-line)}
.import-history-card .import-pagination>span{color:var(--import-muted)}
.import-history-card .import-pagination:has(#importHistoryPrev:disabled):has(#importHistoryNext:disabled){display:none}
.import-history-empty{padding:24px 12px;text-align:center}
.import-history-empty>svg{width:30px;height:30px;color:light-dark(#8298b1,var(--theme-muted));margin-bottom:9px}
.import-history-empty b{display:block;font-size:13px;font-weight:500;color:var(--import-copy)}
.import-history-empty p{font-size:12px;color:var(--import-muted);margin:6px 0 0}
#imports .import-analysis{border-color:var(--import-line);border-radius:13px;box-shadow:none}
#imports .import-stats>div{padding:17px 22px;background:light-dark(#fafbfd,var(--theme-raised))}
#imports .import-stats b{font-size:23px;margin-top:7px}
#imports .import-review-toolbar{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
#imports :is(button,a):focus-visible{outline:2px solid light-dark(#5f8fc1,var(--theme-focus));outline-offset:3px}
@container workspace (max-width:1100px){
 .import-page-head{align-items:flex-start;gap:16px;flex-wrap:wrap}
 .import-panel-head{padding:20px 24px;gap:16px;flex-wrap:wrap}
 .import-upload-layout{gap:24px;padding:24px;grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}
 .import-upload-footer{padding:18px 22px;gap:16px}
 .import-steps li+li::before{width:20px;margin-inline:8px}
}
@container workspace (max-width:760px){
 .import-upload-layout{grid-template-columns:1fr}
 .import-upload{min-height:260px;padding:22px 18px}
 #imports .import-settings .form-grid{gap:20px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .import-upload-footer{flex-wrap:wrap;align-items:stretch}
 #imports #previewImport{margin-left:auto}
 .import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .import-pagination{flex-wrap:wrap}
 .import-review-filters input{flex:1;min-width:160px}
}
@container workspace (max-width:450px){
 .import-page-head{margin-bottom:20px}.import-page-head h1{font-size:23px}
 #imports .import-template-links{gap:8px}#imports .import-template-links a{padding:9px 10px;font-size:11px;gap:5px}
 .import-panel-head{padding:18px;gap:18px}.import-panel-head h2{font-size:14px}
 .import-steps{width:100%;justify-content:space-between}.import-steps li{gap:6px;font-size:11px}.import-steps li+li::before{display:none}
 .import-upload-layout{padding:18px;gap:20px}
 #imports .form-item :is(input,select){padding-inline:8px;font-size:13px}
 #imports .form-item label{font-size:13px}
 .import-upload-footer{padding:18px}.import-upload-footer>div{width:100%}#imports #previewImport{width:100%;margin-top:2px}
 .import-history-heading{gap:5px}.import-history-heading p{width:100%}
 .import-panel :is(#importStatus,#importError){padding:13px 18px}
}

/* Import batch deletion and history actions. */
.import-row-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.danger-text{color:light-dark(#bf454c,var(--theme-red))!important}.danger-text:hover{color:light-dark(#a52631,var(--theme-red))!important}.primary.danger-button{background:light-dark(#c5454e,var(--theme-red-bg));box-shadow:0 4px 12px #c5454e22}.primary.danger-button:hover{background:light-dark(#ae333d,var(--theme-red-bg))}.import-delete-summary{padding:18px;border:1px solid light-dark(#f0d9dc,var(--theme-border));border-radius:12px;background:light-dark(#fffafb,var(--theme-red-bg))}.import-delete-label{font-size:12px;color:light-dark(#a9575e,var(--theme-red))}.import-delete-summary h4{margin:10px 0;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.import-delete-summary p{font-size:13px;line-height:1.9;margin:10px 0;color:light-dark(#59667b,var(--theme-secondary))}.import-delete-check{display:flex!important;align-items:flex-start;gap:9px;margin-top:20px;color:light-dark(#a5343c,var(--theme-red))!important;line-height:1.8}.import-delete-check input{width:16px;min-width:16px;height:16px;margin-top:4px;accent-color:light-dark(#c5454e,var(--theme-link))}#importBody small{display:block;margin-top:6px;color:light-dark(#8896a8,var(--theme-muted));font-size:11px}

/* Import diagnostics show the exact source and an actionable correction. */
#importIssues,#importWarnings{padding-left:0;list-style:none;display:grid;gap:10px}#importWarnings>li:not(.import-diagnostic){padding:4px 12px;line-height:1.8}.import-diagnostic{padding:14px 16px;border:1px solid light-dark(#f0dadd,var(--theme-border));border-radius:10px;background:light-dark(#fff9fa,var(--theme-red-bg));color:light-dark(#495a70,var(--theme-secondary));font-size:12px}.import-diagnostic.is-warning{border-color:light-dark(#eedfbc,var(--theme-border));background:light-dark(#fffaf0,var(--theme-orange-bg))}.import-diagnostic>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.import-diagnostic>div>b{color:light-dark(#324760,var(--theme-text));font-size:13px}.diagnostic-level{padding:3px 7px;border-radius:5px;background:light-dark(#fce8eb,var(--theme-red-bg));color:light-dark(#ac3644,var(--theme-red));font-weight:600}.is-warning .diagnostic-level{background:light-dark(#fff0cc,var(--theme-orange-bg));color:light-dark(#926719,var(--theme-orange))}.import-diagnostic p{margin:7px 0 0;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.diagnostic-value{color:light-dark(#7d6d75,var(--theme-secondary));max-height:110px;overflow:auto}.import-diagnostic strong{font-weight:500}#importIssuesPanel[open]{border-color:light-dark(#e5ccd0,var(--theme-border))}#importIssuesPanel>ul{max-height:480px;overflow:auto;padding-right:5px}

/* Supplier columns: a single scrollable comparison sheet, scoped to this view. */
.pb-page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:4px 0 24px}.pb-eyebrow{font-size:11px;color:light-dark(#859ab6,var(--theme-muted));letter-spacing:1.5px}.pb-page-head h1{font-size:26px;color:light-dark(#2d4769,var(--theme-text));margin:9px 0 8px}.pb-page-head p{font-size:12px;color:light-dark(#879ab2,var(--theme-muted));margin:0}.pb-page-actions{display:flex;gap:9px}.pb-page-actions button{font-size:12px;height:37px}.pb-workspace{display:grid;grid-template-columns:168px minmax(0,1fr);gap:14px;align-items:start}.pb-sidebar{background:light-dark(#fff,var(--theme-panel));border:1px solid light-dark(#e3eaf4,var(--theme-border));border-radius:12px;overflow:hidden}.pb-sidebar-title{padding:15px 12px;border-bottom:1px solid light-dark(#edf1f7,var(--theme-border))}.pb-sidebar-title b{display:block;color:light-dark(#4b6689,var(--theme-secondary));font-size:14px}.pb-sidebar-title span{display:block;color:light-dark(#98a9be,var(--theme-muted));font-size:10px;margin-top:6px}.pb-filters{display:grid;gap:12px;padding:14px 12px}.pb-filters label{display:grid;gap:6px;font-size:11px;color:light-dark(#7b91ad,var(--theme-muted));min-width:0}.pb-filters select,.pb-filters input{width:100%;min-width:0;height:35px;border:1px solid light-dark(#dfe7f2,var(--theme-border));border-radius:7px;background:light-dark(#f9fbfe,var(--theme-raised));padding:0 9px;color:light-dark(#4e6b91,var(--theme-secondary));font-size:12px;outline:none}.pb-filters :is(select,input):focus{border-color:light-dark(#7ba2d5,var(--theme-focus));box-shadow:0 0 0 3px #edf4fd}.pb-filter-divider{height:1px;background:light-dark(#edf1f7,var(--theme-raised))}.pb-sidebar-help{border-top:1px solid light-dark(#edf1f7,var(--theme-border));padding:12px;background:light-dark(#fafcff,var(--theme-panel))}.pb-sidebar-help b{font-size:10px;color:light-dark(#879fbc,var(--theme-muted));font-weight:500}.pb-sidebar-help p{font-size:10px;line-height:1.9;color:light-dark(#9aabc1,var(--theme-muted));margin:7px 0 0}.pb-sidebar .form-error{padding:0 14px;font-size:11px}.pb-main{min-width:0}.pb-board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 19px;background:light-dark(#fff,var(--theme-panel));border:1px solid light-dark(#e2eaf5,var(--theme-border));border-radius:12px 12px 0 0}.pb-board-toolbar>div{min-width:0}.pb-board-toolbar b{font-size:15px;color:light-dark(#405f85,var(--theme-secondary))}.pb-board-toolbar span{display:block;font-size:11px;color:light-dark(#94a6bd,var(--theme-muted));margin-top:6px;line-height:1.7}.pb-toolbar-actions>.primary{white-space:nowrap;font-size:12px;border-radius:7px;padding:10px 15px;background:light-dark(#4a7fc1,var(--theme-action));box-shadow:none}.pb-board-options{background:light-dark(#fff,var(--theme-panel));border:1px solid light-dark(#e2eaf5,var(--theme-border));border-top:0;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 19px;color:light-dark(#8298b4,var(--theme-muted));font-size:11px}.pb-board-options>div{display:flex;gap:18px;flex-wrap:wrap}.pb-board-options label{display:flex;align-items:center;gap:7px;cursor:pointer}.pb-board-options input{accent-color:light-dark(#5687c4,var(--theme-link));width:13px;height:13px;margin:0}.pb-board-options>button{font-size:11px;white-space:nowrap}.pb-board-options>button:disabled{color:light-dark(#b9c4d2,var(--theme-muted));cursor:default}.pb-notice:empty{display:none}.pb-notice{margin:0;padding:12px 18px;font-size:11px;background:light-dark(#fff8e9,var(--theme-orange-bg));color:light-dark(#a1854b,var(--theme-orange));border:1px solid light-dark(#eddfc2,var(--theme-border))}.pb-board-scroll{max-height:calc(100vh - 180px);min-height:380px;overflow:auto;border:1px solid light-dark(#e2eaf5,var(--theme-border));border-top:0;background:light-dark(#fff,var(--theme-panel));scrollbar-width:thin;scrollbar-color:#becde1 #f5f8fc;position:relative}.pb-board-scroll:focus-visible{outline:2px solid light-dark(#8fb1dc,var(--theme-focus));outline-offset:2px}.pb-comparison-table{border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;font-variant-numeric:tabular-nums;min-width:100%}.pb-comparison-table th,.pb-comparison-table td{border-right:1px solid light-dark(#e7edf5,var(--theme-border));border-bottom:1px solid light-dark(#e7edf5,var(--theme-border));padding:15px 17px;vertical-align:top;background:light-dark(#fff,var(--theme-panel));color:light-dark(#6580a1,var(--theme-secondary));font-size:12px;font-weight:400;overflow-wrap:anywhere}.pb-comparison-table tr>*:last-child{border-right:0}.pb-comparison-table thead th{position:sticky;top:0;z-index:3;background:light-dark(#fff,var(--theme-panel));height:146px;box-shadow:0 1px 0 #e2eaf5}.pb-comparison-table tr>:first-child{position:sticky;left:0;z-index:2;background:light-dark(#fafcff,var(--theme-panel));border-right:1px solid light-dark(#dce6f3,var(--theme-border))}.pb-comparison-table thead tr>:first-child{z-index:4;background:light-dark(#f7faff,var(--theme-raised))}.pb-label-head>b{display:block;font-size:14px;color:light-dark(#4e709a,var(--theme-secondary));margin:13px 0 7px}.pb-label-head>small{font-size:10px;color:light-dark(#9aabc1,var(--theme-muted))}.pb-mini-pk{display:inline-block;color:light-dark(#6490c8,var(--theme-link));background:light-dark(#e9f1fc,var(--theme-raised));padding:5px 8px;border-radius:6px;font-style:italic;font-weight:800;font-size:17px}.pb-column-tools{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:light-dark(#a3b2c6,var(--theme-muted))}.pb-column-tools>button{border:0;background:none;color:light-dark(#adbbce,var(--theme-muted));font-size:20px;line-height:1;padding:0 3px}.pb-column-tools>button:hover{color:light-dark(#c76868,var(--theme-red))}.pb-provider-name{display:block;text-align:left;width:100%;margin:12px 0 0;font-size:17px;font-weight:600;background:none;border:0;padding:0;color:light-dark(#3a5c85,var(--theme-secondary));overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pb-provider-name>span{font-size:12px;color:light-dark(#a3b6cf,var(--theme-muted));margin-left:8px}.pb-provider-status{font-size:10px;color:light-dark(#98abc3,var(--theme-muted));margin:8px 0 12px}.pb-column-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:light-dark(#92a7c1,var(--theme-muted))}.pb-column-bottom>span b{color:light-dark(#31836e,var(--theme-green));font-weight:600}.pb-column-bottom>div{display:flex;gap:5px}.pb-column-bottom button{height:21px;width:21px;padding:0;border:0;background:light-dark(#f0f5fb,var(--theme-raised));border-radius:50%;font-size:16px;color:light-dark(#7896bb,var(--theme-muted))}.pb-column-bottom button:disabled{opacity:.3;cursor:default}.pb-add-column>button{width:100%;height:116px;border:1px dashed light-dark(#ccdaed,var(--theme-border));background:light-dark(#fbfdff,var(--theme-panel));border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:light-dark(#85a2c6,var(--theme-muted))}.pb-add-column>button:hover{border-color:light-dark(#83a5d1,var(--theme-focus));background:light-dark(#f2f7fe,var(--theme-hover))}.pb-add-column span{font-size:23px;font-weight:300;line-height:1}.pb-add-column b{font-size:12px;font-weight:500}.pb-add-column small{font-size:10px;color:light-dark(#a6b8cd,var(--theme-muted))}.pb-comparison-table .pb-warehouse-row>*{background:light-dark(#eef4fb,var(--theme-raised));padding:11px 16px;height:39px;color:light-dark(#698aaf,var(--theme-muted));font-size:11px}.pb-comparison-table .pb-warehouse-row>th{font-weight:600;white-space:nowrap;background:light-dark(#eef4fb,var(--theme-raised))}.pb-comparison-table tbody tr>th>small{display:block;margin-top:7px;color:light-dark(#a2b3c8,var(--theme-muted));font-size:9px}.pb-comparison-table tbody tr:not(.pb-warehouse-row):not(.pb-notes-row)>th{vertical-align:middle;color:light-dark(#6987aa,var(--theme-secondary))}.pb-price-line{display:flex;align-items:center;gap:9px;min-height:24px;flex-wrap:wrap}.pb-price-line strong{font-size:18px;font-weight:600;color:light-dark(#52759f,var(--theme-secondary));white-space:nowrap}.pb-best{display:inline-block;padding:3px 5px;border-radius:4px;background:light-dark(#e0f2e9,var(--theme-green-bg));color:light-dark(#39836e,var(--theme-green));font-size:9px;white-space:nowrap}.pb-comparison-table td.pb-lowest{background:light-dark(#f1faf5,var(--theme-green-bg))}.pb-lowest .pb-price-line strong{color:light-dark(#258366,var(--theme-green))}.pb-cell-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:10px;color:light-dark(#a0afc2,var(--theme-muted))}.pb-cell-bottom i{font-style:normal;font-size:8px;color:light-dark(#648bb7,var(--theme-muted));background:light-dark(#edf3fc,var(--theme-raised));padding:2px 3px;margin-left:5px;border-radius:3px}.pb-cell-bottom button{border:0;background:none;color:light-dark(#7a9bc2,var(--theme-muted));padding:0;font-size:10px}.pb-comparison-table td.pb-missing{vertical-align:middle;color:light-dark(#b4c0d0,var(--theme-muted))}.pb-missing>span{font-size:18px}.pb-missing>small{display:block;margin-top:9px;font-size:10px;color:light-dark(#b4c0d0,var(--theme-muted))}.pb-comparison-table .pb-notes-row>*{font-size:10px;background:light-dark(#fcfdff,var(--theme-panel));line-height:1.85;color:light-dark(#8ca2bc,var(--theme-muted))}.pb-raw-note{white-space:pre-wrap;max-height:140px;overflow-y:auto;overflow-wrap:anywhere}.pb-notes-row p{font-size:9px;color:light-dark(#a4b3c7,var(--theme-muted));margin:9px 0 0}.pb-fee-result{display:block;margin-top:10px;font-size:10px;color:light-dark(#557ca8,var(--theme-secondary));font-weight:500}.pb-fee-pending{display:block;font-size:9px;color:light-dark(#a1b2c7,var(--theme-muted));margin-top:9px}.pb-board-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:15px 17px;background:light-dark(#fff,var(--theme-panel));border:1px solid light-dark(#e2eaf5,var(--theme-border));border-top:0;border-radius:0 0 10px 10px;font-size:10px;color:light-dark(#91a7c1,var(--theme-muted));line-height:1.8}.pb-board-footer i{display:inline-block;width:7px;height:7px;border-radius:2px;background:light-dark(#64ad91,var(--theme-green-bg));margin-right:5px}.pb-footnote{font-size:10px;line-height:1.9;color:light-dark(#9aaec6,var(--theme-muted));margin-top:13px}.pb-empty{text-align:center;padding:68px 22px;color:light-dark(#9aacc3,var(--theme-muted));max-width:100%}.pb-empty b{font-size:15px;color:light-dark(#7894b6,var(--theme-muted));font-weight:500}.pb-empty p{font-size:11px;line-height:1.9;margin:13px auto 0;max-width:450px}
.pb-dialog{width:640px;max-width:calc(100vw - 30px);border:1px solid light-dark(#dee7f3,var(--theme-border));border-radius:15px;padding:24px;max-height:85vh;overflow:auto;color:light-dark(#54769e,var(--theme-secondary))}.pb-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.pb-dialog-head h2{font-size:19px;color:light-dark(#3d5d85,var(--theme-secondary));margin:0;line-height:1.5}.pb-dialog-head p{font-size:10px;color:light-dark(#91a7c1,var(--theme-muted));margin:9px 0 0;line-height:1.8}.pb-dialog-head .close{flex-shrink:0}.pb-picker-search{width:100%;height:40px;background:light-dark(#f8fbfe,var(--theme-raised));border:1px solid light-dark(#dce7f4,var(--theme-border));border-radius:7px;padding:0 13px;color:light-dark(#55779f,var(--theme-secondary));font-size:12px;outline:none}.pb-picker-search:focus{border-color:light-dark(#7fa6d7,var(--theme-focus))}.pb-supplier-choices{display:grid;gap:9px;margin-top:18px;max-height:390px;overflow:auto}.pb-supplier-choice{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:14px;border:1px solid light-dark(#e3ebf6,var(--theme-border));border-radius:8px;background:light-dark(#fff,var(--theme-panel))}.pb-supplier-choice:hover:not(:disabled){background:light-dark(#f5f9ff,var(--theme-hover));border-color:light-dark(#b6cdea,var(--theme-border))}.pb-supplier-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:light-dark(#eef4fc,var(--theme-raised));color:light-dark(#83a2ca,var(--theme-muted));font-size:15px;flex-shrink:0}.pb-supplier-choice>span:nth-child(2){min-width:0;flex:1}.pb-supplier-choice b{display:block;font-size:13px;color:light-dark(#56779f,var(--theme-secondary));font-weight:600;overflow-wrap:anywhere}.pb-supplier-choice small{display:block;margin-top:6px;font-size:10px;color:light-dark(#99adc5,var(--theme-muted))}.pb-supplier-choice i{font-style:normal;font-size:11px;color:light-dark(#7197c6,var(--theme-muted));white-space:nowrap}.pb-supplier-choice:disabled{opacity:.5;cursor:default}.pb-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:19px;font-size:10px;color:light-dark(#98aac0,var(--theme-muted))}.pb-picker-footer button{font-size:11px}.pb-picker-footer button:disabled{opacity:.4;cursor:default}.pb-picker-empty{font-size:12px;text-align:center;padding:25px}.pb-detail-route{font-size:11px;color:light-dark(#90a7c2,var(--theme-muted))}.pb-detail-price{display:flex;align-items:center;justify-content:space-between;background:light-dark(#f4f8fe,var(--theme-raised));padding:18px;border-radius:9px;margin:19px 0}.pb-detail-price strong{font-size:26px;color:light-dark(#4d79ac,var(--theme-secondary));font-weight:600}.pb-detail-price small{font-size:11px;font-weight:400}.pb-detail-price>span{font-size:12px;color:light-dark(#7e9bbd,var(--theme-muted))}.pb-detail-info>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;margin-bottom:15px;font-size:11px;line-height:1.8}.pb-detail-info dt{color:light-dark(#94a8c2,var(--theme-muted))}.pb-detail-info dd{margin:0;color:light-dark(#6889ae,var(--theme-muted));overflow-wrap:anywhere}.pb-detail-note{background:light-dark(#fafcfe,var(--theme-panel));border:1px solid light-dark(#e7eef7,var(--theme-border));border-radius:8px;padding:15px;font-size:11px;color:light-dark(#7b95b5,var(--theme-muted))}.pb-detail-note b{font-weight:500}.pb-detail-note p{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere;color:light-dark(#8fa4bf,var(--theme-muted));margin-bottom:0}.pb-fee-details{border-top:1px solid light-dark(#e6edf7,var(--theme-border));padding-top:17px;margin-top:21px}.pb-fee-details summary{font-size:12px;color:light-dark(#7596bd,var(--theme-muted));cursor:pointer}.pb-fee-details>p,.pb-fee-details>small{font-size:10px;line-height:1.9;color:light-dark(#97abc3,var(--theme-muted))}.pb-fee-details>button{font-size:11px;margin:10px 0}.pb-fee-line{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) 22px;gap:7px;margin:9px 0}.pb-fee-line input,.pb-fee-line select{width:100%;min-width:0;height:35px;font-size:11px;padding:0 7px;border:1px solid light-dark(#dfe8f5,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#7192b8,var(--theme-muted))}.pb-fee-line button{border:0;background:none;font-size:18px;color:light-dark(#b3c1d4,var(--theme-muted));padding:0}.pb-fee-confirm{display:flex;align-items:center;gap:7px;font-size:11px;color:light-dark(#7d99bb,var(--theme-muted));margin:13px 0}.pb-fee-confirm input{accent-color:light-dark(#6c94c8,var(--theme-link))}.pb-fee-details #pkFeeResult{font-size:12px;color:light-dark(#658ab5,var(--theme-muted));background:light-dark(#f3f7fd,var(--theme-raised));border-radius:7px;line-height:1.9;padding:12px;margin:10px 0 15px}
@container workspace (max-width:980px){.pb-workspace{grid-template-columns:160px minmax(0,1fr);gap:12px}.pb-filters{padding:14px 10px}.pb-board-options{align-items:flex-start}.pb-board-options>div{gap:10px}.pb-board-toolbar{flex-wrap:wrap}.pb-board-scroll{max-height:65vh}}
@media(max-width:760px){.pb-page-head{flex-wrap:wrap;gap:15px}.pb-page-head h1{font-size:23px}.pb-page-actions button{font-size:11px}.pb-workspace{grid-template-columns:minmax(0,1fr)}.pb-sidebar-title{padding:13px 14px;display:flex;align-items:center;justify-content:space-between}.pb-sidebar-title span{margin:0}.pb-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:12px}.pb-filters label:has(#pkDate){grid-column:1/-1}.pb-filters #pkDate{max-width:180px}.pb-filter-divider,.pb-sidebar-help{display:none}.pb-filters label{font-size:10px}.pb-board-toolbar{padding:15px 13px}.pb-board-toolbar b{font-size:13px}.pb-toolbar-actions>.primary{font-size:11px;padding:9px 11px}.pb-board-options{padding:12px 13px;font-size:10px}.pb-board-options>div{gap:10px}.pb-board-scroll{max-height:70vh;min-height:350px}.pb-comparison-table th,.pb-comparison-table td{padding:13px}.pb-board-footer{padding:12px;font-size:9px}.pb-dialog{padding:18px}.pb-dialog-head h2{font-size:17px}.pb-picker-footer{flex-direction:column;align-items:stretch}.pb-supplier-choice{padding:11px}.pb-fee-line{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,.7fr) 18px;gap:4px}.pb-fee-line input,.pb-fee-line select{padding:0 4px;font-size:10px}}

.pb-comparison-table col:first-child{width:156px}.pb-comparison-table col:not(:first-child){width:224px}.pb-column-bottom>span{white-space:nowrap}.pb-cell-bottom button{white-space:nowrap}

.pb-comparison-table .pb-channel-row>*{background:light-dark(#f8fafc,var(--theme-raised));padding:10px 16px;font-size:11px;color:light-dark(#8198b4,var(--theme-muted))}.pb-comparison-table .pb-channel-row>th{background:light-dark(#f2f6fb,var(--theme-raised));line-height:1.7}.pb-comparison-table .pb-channel-row>th>small{font-size:10px;color:light-dark(#8ca3bf,var(--theme-muted));margin-top:3px}

.pb-toolbar-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.pb-toolbar-actions button{height:36px;font-size:12px;white-space:nowrap}.pb-toolbar-actions>.secondary{color:light-dark(#7793b6,var(--theme-muted));border-color:light-dark(#dce6f3,var(--theme-border));border-radius:7px;background:light-dark(#fff,var(--theme-panel));padding:0 13px}
@media(max-width:760px){.pb-toolbar-actions{gap:7px;flex-wrap:wrap}.pb-toolbar-actions button{font-size:11px;height:34px}.pb-toolbar-actions>.secondary{padding:0 10px}}

.pb-price-caption{font-size:10px;color:light-dark(#90a5bf,var(--theme-muted));display:block;margin-bottom:7px}.pb-total-pending{font-size:14px;color:light-dark(#9aaac0,var(--theme-muted))}.pb-price-breakdown{display:grid;gap:7px;margin:13px 0 0;padding-top:11px;border-top:1px solid light-dark(#e9eff6,var(--theme-border));font-size:10px}.pb-price-breakdown>div{display:flex;justify-content:space-between;gap:8px}.pb-price-breakdown dt{color:light-dark(#9aacc2,var(--theme-muted))}.pb-price-breakdown dd{margin:0;color:light-dark(#7593b6,var(--theme-muted));font-variant-numeric:tabular-nums;white-space:nowrap}.pb-price-breakdown dd.pb-base-price{color:light-dark(#557ca9,var(--theme-secondary));font-weight:600}.pb-comparison-status{display:block;color:light-dark(#a68d65,var(--theme-orange));font-size:9px;line-height:1.8;margin-top:12px}.pb-applied-fees{margin-top:13px;padding-top:10px;border-top:1px dashed light-dark(#e1e9f4,var(--theme-border))}.pb-applied-fees b{font-size:10px;font-weight:500;color:light-dark(#7695b8,var(--theme-muted))}.pb-applied-fees p{margin:4px 0 0;white-space:pre-wrap}.pb-fee-candidates{background:light-dark(#f5f9fe,var(--theme-raised));border:1px solid light-dark(#e3ecf7,var(--theme-border));border-radius:8px;padding:13px;margin:15px 0;color:light-dark(#7896b9,var(--theme-muted));font-size:11px}.pb-fee-candidates>b{font-weight:500}.pb-fee-candidates p{font-size:10px;line-height:1.9;color:light-dark(#98aac1,var(--theme-muted))}.pb-fee-candidates>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;border-top:1px solid light-dark(#e7eef7,var(--theme-border))}.pb-fee-candidates>div>span{line-height:1.8;overflow-wrap:anywhere}.pb-fee-candidates button{white-space:nowrap;font-size:10px;padding-top:3px}.pb-fee-candidates button:disabled{opacity:.45;cursor:default}

/* Comparison source hint and supplier selection card. */
.pb-board-toolbar>.pb-source-hint{margin:0;font-size:11px;line-height:1.7;color:light-dark(#94a6bd,var(--theme-muted))}button.pb-provider-name{cursor:pointer}

.pb-comparison-table .pb-add-column{background:light-dark(#fcfdff,var(--theme-panel));vertical-align:middle}
.pb-add-column>button{max-width:240px;height:116px;border:1px dashed light-dark(#aac4e5,var(--theme-border));border-radius:12px;background:light-dark(#f5f9ff,var(--theme-raised));gap:8px;transition:background .15s,border-color .15s,box-shadow .15s}
.pb-add-column>button>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:light-dark(#e5effc,var(--theme-raised));color:light-dark(#4f80bd,var(--theme-secondary));font-size:24px;font-weight:400}
.pb-add-column>button>b{font-size:13px;font-weight:600;color:light-dark(#4d76aa,var(--theme-secondary))}
.pb-add-column>button>small{font-size:10px;color:light-dark(#8ca3be,var(--theme-muted))}
.pb-add-column>button:hover{border-color:light-dark(#6d99ce,var(--theme-focus));background:light-dark(#edf5ff,var(--theme-hover));box-shadow:0 3px 12px #4579b510}
.pb-add-column>button:focus-visible{outline:2px solid light-dark(#6b96ce,var(--theme-focus));outline-offset:3px}

@media(prefers-reduced-motion:reduce){.pb-add-column>button{transition:none}}

/* Warehouse quotation sheets: one route per row, aligned weight columns. */
.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:22px}
.warehouse-card{border-radius:14px;box-shadow:none;border-color:light-dark(#e0e8f2,var(--theme-border))}
.warehouse-card>header{padding:18px 22px;background:light-dark(#fff,var(--theme-panel));gap:16px}
.warehouse-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 13px;min-width:0}
.warehouse-card h3{font-size:21px;line-height:1.25;letter-spacing:.4px;margin:0;color:light-dark(#294767,var(--theme-text))}
.warehouse-country{font-size:11px;letter-spacing:0;color:light-dark(#6d86a2,var(--theme-secondary));background:light-dark(#f0f4f9,var(--theme-raised));border-radius:5px;padding:3px 8px;line-height:1.5}
.warehouse-count{font-size:11px;color:light-dark(#8b9cb0,var(--theme-muted));padding-left:13px;border-left:1px solid light-dark(#e1e8f1,var(--theme-border));line-height:1.5}
.warehouse-title-row{display:flex;align-items:center;gap:16px;max-width:100%}
.warehouse-compare-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:36px;padding:8px 12px;border:1px solid light-dark(#2f6098,var(--theme-focus));border-radius:9px;background:light-dark(#356ba7,var(--theme-action));color:#fff;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;box-shadow:0 2px 5px #244f7d20;transition:background-color .15s,box-shadow .15s}
.warehouse-compare-link svg{width:16px;height:16px;flex-shrink:0}
.warehouse-compare-link:hover{background:#285b94;box-shadow:0 3px 8px #244f7d30}
.warehouse-compare-link:active{background:#214e81;box-shadow:none}
.warehouse-compare-link:focus-visible{outline:3px solid light-dark(#98bdeb,var(--theme-focus));outline-offset:3px}
@media(prefers-reduced-motion:reduce){.warehouse-compare-link{transition:none}}
.warehouse-identity{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}
.warehouse-identity h3{display:flex;align-items:center;gap:9px;min-height:32px;color:light-dark(#2b6b5c,var(--theme-green));font-size:24px;font-weight:700;letter-spacing:.5px}
.warehouse-identity h3 svg{width:20px;height:20px;flex-shrink:0;color:light-dark(#6d9387,var(--theme-secondary))}
.warehouse-identity .warehouse-country{padding:0;border-radius:0;background:transparent;color:light-dark(#7c8d9f,var(--theme-muted));font-size:13px;font-weight:500;white-space:nowrap}
.warehouse-quote-overview{display:grid;gap:5px;min-width:0;padding-left:14px;border-left:1px solid light-dark(#e1e8f1,var(--theme-border))}
.warehouse-quote-overview .warehouse-count{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:0;border:0;color:light-dark(#637d9a,var(--theme-secondary));font-size:12px}
.warehouse-local-count,.warehouse-coverage{white-space:nowrap}
.warehouse-count b{font-size:15px;font-weight:600;color:light-dark(#365f8f,var(--theme-secondary))}
.warehouse-week-label{font-size:11px;color:light-dark(#7c90a8,var(--theme-muted))}
.warehouse-week-range{display:flex;flex-wrap:wrap;gap:3px 12px;font-size:10px;color:light-dark(#96a5b6,var(--theme-muted));line-height:1.5;overflow-wrap:anywhere}
/* Warehouse summary: transport rows with delivery methods side by side. */
.warehouse-insights{container:warehouse-summary/inline-size;margin:0;padding:16px 22px 18px;background:light-dark(#fff,var(--theme-panel));border-bottom:1px solid light-dark(#e3ebf5,var(--theme-border))}
.warehouse-insight{min-width:0}
.warehouse-insights-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 24px;margin-bottom:14px}
.warehouse-insights-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;padding-top:3px}
.warehouse-insight-label{font-size:12px;color:light-dark(#71869f,var(--theme-secondary));white-space:nowrap}
.warehouse-insights-title>.warehouse-insight-label{font-size:14px;font-weight:600;color:light-dark(#3c5c7e,var(--theme-secondary));white-space:normal;overflow-wrap:anywhere}
.warehouse-insight-note{font-size:10px;color:light-dark(#8a9bb0,var(--theme-muted));white-space:nowrap}
.warehouse-insight-top{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px}
.warehouse-insight-value{font-size:18px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;color:light-dark(#247854,var(--theme-green));white-space:nowrap}
.warehouse-insight-value small{font-size:10px;font-weight:400;margin-left:4px}
.warehouse-insight-tie{font-size:10px;color:light-dark(#6b87a6,var(--theme-secondary));white-space:nowrap}
.warehouse-insight .is-pending{font-size:12px;font-weight:400;color:light-dark(#96a5b6,var(--theme-muted))}
.warehouse-insight-speed{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px 12px;max-width:64%;padding-top:1px}
.warehouse-speed-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;min-width:0}
.warehouse-speed-icon{width:15px;height:15px;align-self:center;color:light-dark(#7294ba,var(--theme-muted))}
.warehouse-insight-speed .warehouse-insight-value{color:light-dark(#426f9e,var(--theme-secondary));font-size:17px;line-height:1.4}
.warehouse-insight-providers{margin:0;font-size:12px;font-weight:500;color:light-dark(#385979,var(--theme-secondary));line-height:1.8;overflow-wrap:anywhere}
.warehouse-insight-method{display:block;grid-column:1/-1;font-size:10px;color:light-dark(#96a5b6,var(--theme-muted));line-height:1.5}
.warehouse-insight-sources{display:contents}
.warehouse-insight-sources summary{justify-self:end;display:flex;align-items:center;gap:5px;cursor:pointer;padding:3px 8px;border:1px solid light-dark(#dce6f1,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#6887ab,var(--theme-secondary));font-size:10px;line-height:1.7;list-style:none;white-space:nowrap}
.warehouse-insight-sources summary:hover{color:light-dark(#365f8f,var(--theme-secondary));background:light-dark(#f4f8fd,var(--theme-hover));border-color:light-dark(#bacde3,var(--theme-border))}
.warehouse-insight-sources summary:focus-visible{outline:2px solid light-dark(#8baed5,var(--theme-focus));outline-offset:3px}
.warehouse-insight-sources summary::-webkit-details-marker{display:none}
.warehouse-insight-sources summary:after{content:'⌄';font-size:12px;line-height:1}
.warehouse-insight-sources[open] summary:after{transform:rotate(180deg)}
.warehouse-insight-sources ul{grid-column:1/-1;list-style:none;padding:9px 12px;margin:0;display:grid;gap:9px;background:light-dark(#f7f9fc,var(--theme-raised));border-radius:7px}
.warehouse-insight-sources li{display:grid;grid-template-columns:minmax(65px,auto) minmax(0,1fr);align-items:start;gap:8px;font-size:11px;line-height:1.7;color:light-dark(#7489a1,var(--theme-muted))}
.warehouse-insight-sources li b{font-weight:500;color:light-dark(#58799b,var(--theme-secondary));overflow-wrap:anywhere}
.warehouse-insight-sources li div{display:grid;gap:5px}
.warehouse-insight-sources li span{display:block;overflow-wrap:anywhere}
.warehouse-insight-sources li small{display:block;font-size:10px;color:light-dark(#91a1b5,var(--theme-muted))}
.warehouse-insights-empty{padding:9px 22px;margin:0;border-bottom:1px solid light-dark(#e3ebf5,var(--theme-border));background:light-dark(#fcfdff,var(--theme-panel));font-size:11px;color:light-dark(#97a6b7,var(--theme-muted))}
.warehouse-insights>.warehouse-insights-empty{padding:0;margin:0 0 12px;border:0;background:none}
.warehouse-insight-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.warehouse-tax-panel{min-width:0;container:warehouse-family/inline-size}
.warehouse-tax-panel:only-child{grid-column:1/-1}
.warehouse-channel-matrix{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;text-align:left;border:1px solid light-dark(#e6edf5,var(--theme-border));border-radius:9px;overflow:hidden}
.warehouse-channel-matrix th,.warehouse-channel-matrix td{padding:12px 18px;border-bottom:1px solid light-dark(#e9eff6,var(--theme-border));vertical-align:middle}
.warehouse-channel-matrix thead th{padding-top:9px;padding-bottom:9px;background:light-dark(#f4f7fb,var(--theme-raised));font-size:12px;font-weight:600;color:light-dark(#4c698a,var(--theme-secondary))}
.warehouse-channel-matrix thead th:first-child{width:112px;padding-left:14px;padding-right:10px}
.warehouse-channel-matrix thead th:first-child small{display:block;font-size:10px;font-weight:400;color:light-dark(#8a9bb0,var(--theme-muted));margin-top:3px}
.warehouse-tax-label{font-size:14px;font-weight:600;color:light-dark(#536f92,var(--theme-secondary))}
.warehouse-channel-matrix[data-tax="头程包税"] .warehouse-tax-label{color:light-dark(#837091,var(--theme-secondary))}
.warehouse-channel-matrix tbody th{padding-left:14px;padding-right:10px;background:light-dark(#fafbfd,var(--theme-panel));font-size:13px;font-weight:500;color:light-dark(#486887,var(--theme-secondary));white-space:nowrap}
.warehouse-channel-matrix td+td,.warehouse-channel-matrix thead th+th+th{border-left:1px solid light-dark(#e9eff6,var(--theme-border))}
.warehouse-channel-matrix tr:last-child>*{border-bottom:0}
.warehouse-channel-matrix tbody tr:hover>td{background:light-dark(#fafcfe,var(--theme-panel))}
.warehouse-channel-lowest{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px 16px;min-height:41px}
.warehouse-channel-amount{align-self:start;padding-top:1px}
.warehouse-channel-amount .warehouse-insight-value{display:block;font-size:17px}
.warehouse-channel-amount .warehouse-insight-tie{display:block;margin-top:4px;font-size:9px}
.warehouse-channel-winners{min-width:0}
.warehouse-channel-winner{display:grid;grid-template-columns:minmax(0,96px) auto;grid-template-areas:'provider days' 'bands bands';justify-content:start;align-items:baseline;gap:2px 10px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.warehouse-channel-winner+.warehouse-channel-winner{margin-top:8px}
.warehouse-channel-winner b{grid-area:provider;font-weight:500;font-size:13px;color:light-dark(#3c5c7e,var(--theme-secondary))}
.warehouse-channel-winner small{grid-area:bands;font-size:11px;color:light-dark(#8295ad,var(--theme-muted))}
.warehouse-channel-winner small:before{content:'适用 ';font-size:10px;color:light-dark(#95a4b6,var(--theme-muted))}
.warehouse-winner-days{grid-area:days;font-size:12px;color:light-dark(#52779e,var(--theme-secondary));white-space:nowrap;font-variant-numeric:tabular-nums}
.warehouse-delivery-label{display:none}
.warehouse-channel-missing{display:flex;align-items:center;min-height:41px;font-size:12px;color:light-dark(#8d9db1,var(--theme-muted));line-height:1.6}
@container warehouse-family (max-width:1100px){
 .warehouse-channel-matrix th,.warehouse-channel-matrix td{padding:11px 13px}
 .warehouse-channel-matrix thead th:first-child{width:94px}
 .warehouse-channel-lowest{grid-template-columns:92px minmax(0,1fr);gap:10px}
 .warehouse-channel-amount .warehouse-insight-value{font-size:16px}
}
@container warehouse-summary (max-width:899px){
 .warehouse-insight-price{grid-template-columns:minmax(0,1fr);gap:12px}
}
@container warehouse-summary (max-width:840px){
 .warehouse-insights-toolbar{flex-direction:column;gap:9px}
 .warehouse-insight-speed{max-width:100%;width:100%}
}
@container warehouse-family (min-width:420px) and (max-width:800px){
 .warehouse-channel-lowest{grid-template-columns:minmax(0,1fr);gap:7px;min-height:70px}
 .warehouse-channel-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
 .warehouse-channel-amount .warehouse-insight-tie{margin:0}
 .warehouse-channel-matrix thead th:first-child{width:76px;padding-left:10px;padding-right:7px}
 .warehouse-channel-matrix tbody th{padding-left:10px;padding-right:7px;font-size:12px}
 .warehouse-channel-matrix td{padding:11px 10px}
 .warehouse-channel-winner{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;gap:2px 6px}
 .warehouse-channel-winner b{font-size:12px}
 .warehouse-winner-days{font-size:11px}
 .warehouse-channel-missing{min-height:70px}
}
@container warehouse-family (max-width:419px){
 .warehouse-channel-matrix,.warehouse-channel-matrix tbody{display:block}
 .warehouse-channel-matrix thead{display:block}
 .warehouse-channel-matrix thead tr{display:block}
 .warehouse-channel-matrix thead th:first-child{display:flex;align-items:baseline;gap:8px;width:100%;box-sizing:border-box;padding:9px 12px}
 .warehouse-channel-matrix thead th:first-child small{margin:0}
 .warehouse-channel-matrix thead th:not(:first-child){position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .warehouse-channel-matrix tbody tr{display:block;border-top:1px solid light-dark(#e3ebf5,var(--theme-border))}
 .warehouse-channel-matrix tbody tr:first-child{border-top:0}
 .warehouse-channel-matrix tbody th{display:block;border:0;padding:11px 12px 2px;background:light-dark(#fff,var(--theme-panel));font-size:13px;font-weight:600}
 .warehouse-channel-matrix td{display:block;padding:9px 12px 12px;border:0}
 .warehouse-channel-matrix td+td{border:0;border-top:1px dashed light-dark(#edf1f6,var(--theme-border))}
 .warehouse-delivery-label{display:block;font-size:11px;line-height:1.5;font-weight:400;color:light-dark(#8395aa,var(--theme-muted))}
 .warehouse-channel-lowest{grid-template-columns:78px minmax(0,1fr);gap:5px 12px;max-width:none;min-height:60px}
 .warehouse-channel-lowest>.warehouse-delivery-label{grid-column:1/-1}
 .warehouse-channel-winner{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;gap:2px 6px}
 .warehouse-channel-winner b{font-size:12px}
 .warehouse-channel-winner small,.warehouse-winner-days{font-size:11px}
 .warehouse-channel-missing{justify-content:space-between;gap:12px;min-height:60px}
}
@container warehouse-summary (max-width:600px){
 .warehouse-speed-summary{gap:3px 9px}
 .warehouse-insight-speed{gap:6px 8px}
 .warehouse-insight-speed .warehouse-insight-value{font-size:16px}
 .warehouse-insight-providers{font-size:11px}
}
@media(max-width:1000px){.warehouse-heading .warehouse-quote-overview{flex-basis:100%;border:0;padding-left:0}}
@media(max-width:760px){.warehouse-title-row{gap:12px}.warehouse-quote-overview .warehouse-count{gap:4px 7px}.warehouse-week-label{flex-basis:100%}.warehouse-insights{padding:13px 15px 15px}.warehouse-insights-empty{padding:9px 15px}}
.dashboard-table-scroll{max-height:600px;scrollbar-width:thin;scrollbar-color:#c8d6e7 #f7f9fc}
.dashboard-table-scroll:focus-visible{outline:2px solid light-dark(#93b3db,var(--theme-focus));outline-offset:-2px}
.dashboard-price-table{min-width:940px;border-collapse:separate;border-spacing:0}
.dashboard-col-provider{width:270px}.dashboard-col-tax{width:86px}.dashboard-col-mode{width:96px}.dashboard-col-delivery{width:86px}.dashboard-col-price{width:auto}.dashboard-col-action{width:88px}
.dashboard-price-table th:first-child{width:auto}
.dashboard-price-table thead th{z-index:2;font-size:11px;padding:12px 16px;background:light-dark(#f6f8fb,var(--theme-raised));color:light-dark(#8495aa,var(--theme-muted));border-bottom:1px solid light-dark(#e5ebf3,var(--theme-border));font-weight:500;text-align:left}
.dashboard-price-table thead th:nth-child(n+5):nth-child(-n+8){text-align:right;color:light-dark(#667f9e,var(--theme-secondary))}
.dashboard-price-table td{padding:17px 16px;border-bottom:1px solid light-dark(#edf1f6,var(--theme-border));text-align:left;font-size:12px;color:light-dark(#64809e,var(--theme-secondary));vertical-align:middle}
.dashboard-price-table thead th:nth-child(n+2):nth-child(-n+4),.dashboard-price-table .dashboard-quote-row>td:nth-child(n+2):nth-child(-n+4),.dashboard-price-table .dashboard-unquoted>td:nth-child(n+2):nth-child(-n+4){padding-left:10px;padding-right:10px;white-space:nowrap}
.dashboard-price-table tr:last-child td{border-bottom:0}
.dashboard-price-table td:first-child,.dashboard-price-table th:first-child{padding-left:22px;position:sticky;left:0;background:light-dark(#fff,var(--theme-panel));z-index:1;border-right:1px solid light-dark(#eef2f7,var(--theme-border))}
.dashboard-price-table thead th:first-child{background:light-dark(#f6f8fb,var(--theme-raised));z-index:3}
.dashboard-price-table .dashboard-quote-row:hover>td{background:light-dark(#f8fbff,var(--theme-hover))}
.dashboard-price-table .dashboard-quote-row>td:nth-child(n+5):nth-child(-n+8){text-align:right;background:light-dark(#fbfcff,var(--theme-panel))}
.dashboard-price-table .dashboard-quote-row:hover>td:nth-child(n+5):nth-child(-n+8){background:light-dark(#f3f7fd,var(--theme-hover))}
.dashboard-price-table th:nth-child(5),.dashboard-quote-row>td:nth-child(5){border-left:1px solid light-dark(#e9eef6,var(--theme-border))}
.dashboard-price-table th:last-child,.dashboard-quote-row>td:last-child{text-align:center}
.dashboard-provider{font-size:13px;font-weight:500;color:light-dark(#425d7a,var(--theme-secondary));line-height:1.6}
.dashboard-price-table thead th:first-child{font-size:13px;font-weight:600;color:light-dark(#536e90,var(--theme-secondary))}
.dashboard-price-table .dashboard-route{display:table-cell;margin:0;font-size:12px;line-height:1.6;color:light-dark(#587493,var(--theme-secondary))}
.dashboard-delivery{color:light-dark(#70869f,var(--theme-secondary));font-size:12px}
.dashboard-tax{display:inline-block;padding:3px 7px;border-radius:5px;color:light-dark(#5c80ac,var(--theme-secondary));background:light-dark(#edf3fb,var(--theme-raised));font-size:11px;white-space:nowrap}
.dashboard-tax.is-inclusive{color:light-dark(#8a759d,var(--theme-purple));background:light-dark(#f4f0f8,var(--theme-purple-bg))}
.dashboard-price{font-size:17px;font-weight:600;color:light-dark(#3d6fa9,var(--theme-link));line-height:1.4;white-space:nowrap}
.dashboard-price-table td small{font-size:10px;color:light-dark(#96a6ba,var(--theme-muted));margin-top:4px;white-space:nowrap}
.dashboard-missing{font-size:11px;color:light-dark(#adb8c7,var(--theme-muted))}
.dashboard-unquoted td{height:70px;color:light-dark(#a2afc0,var(--theme-muted))}
.dashboard-unquoted td:nth-child(n+5):nth-child(-n+8){text-align:right}
.dashboard-details-toggle{border:0;border-radius:6px;background:transparent;color:light-dark(#6b8db6,var(--theme-muted));font-size:11px;white-space:nowrap;padding:7px 4px;display:inline-flex;gap:5px;align-items:center}
.dashboard-details-toggle:hover{background:light-dark(#edf3fb,var(--theme-hover));color:light-dark(#3d6fa9,var(--theme-link))}
.dashboard-details-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.dashboard-price-table .dashboard-detail-row>td{position:static;padding:6px 14px 10px!important;background:light-dark(#f8fafd,var(--theme-raised));border-right:0;border-bottom:1px solid light-dark(#e5edf6,var(--theme-border))}
.dashboard-detail-row[hidden]{display:none}
.dashboard-details-heading{display:flex;justify-content:flex-end;align-items:center;font-size:11px;color:light-dark(#8499b1,var(--theme-muted))}
.dashboard-details{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;background:transparent;padding:0;margin-top:15px}
.dashboard-details>div{padding-left:14px;border-left:2px solid light-dark(#e1e9f3,var(--theme-border))}
.dashboard-details b{font-size:11px;color:light-dark(#5e7e9f,var(--theme-secondary))}.dashboard-details span{font-size:10px;color:light-dark(#8398af,var(--theme-muted));white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}
@media(max-width:760px){.warehouse-card>header{padding:15px;align-items:flex-start}.warehouse-heading{gap:7px 9px}.warehouse-card h3{font-size:19px}.warehouse-count{flex-basis:100%;border:0;padding:0}.warehouse-compare-link{font-size:12px;gap:6px;padding:8px 10px}.dashboard-grid{gap:16px}.dashboard-price-table td:first-child,.dashboard-price-table th:first-child{padding-left:15px}}
@media(max-width:760px){.warehouse-card>header{align-items:center;gap:12px}.warehouse-identity{gap:10px}.warehouse-identity h3{min-height:28px;font-size:21px;gap:7px}.warehouse-identity h3 svg{width:18px;height:18px}.warehouse-identity .warehouse-country{font-size:12px}}

/* Shared surcharges and billing conditions; weight tiers do not repeat them. */
.dashboard-section-head{gap:14px;flex-direction:column;align-items:flex-start;margin-bottom:10px}
.dashboard-view-switch{display:inline-flex;align-items:center;gap:10px;padding:0;flex-shrink:0;max-width:100%}
.dashboard-view-switch button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-width:172px;min-height:46px;padding:0 16px;border:1px solid light-dark(#b8cce3,var(--theme-border));border-radius:10px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#345f91,var(--theme-link));font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;box-shadow:0 2px 4px #234b7509;transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}
.dashboard-view-switch button svg{width:19px;height:19px;flex-shrink:0}
.dashboard-view-switch button:hover{background:light-dark(#edf4fd,var(--theme-hover));border-color:light-dark(#648dbb,var(--theme-focus));color:light-dark(#244f82,var(--theme-link));box-shadow:0 3px 9px #234b7517}
.dashboard-view-switch button[aria-pressed="true"]{background:#2f6098;border-color:light-dark(#2b588c,var(--theme-focus));color:#fff;box-shadow:0 3px 7px #244f7d25;font-weight:700}
.dashboard-view-switch button[aria-pressed="true"]:hover{background:#28558a}
.dashboard-view-indicator{margin-left:5px;padding-left:10px;border-left:1px solid light-dark(#d8e3ef,var(--theme-border));font-size:10px;font-weight:500;color:light-dark(#6b8db5,var(--theme-muted));line-height:1.4}
.dashboard-view-indicator:after{content:'切换'}
.dashboard-view-switch button[aria-pressed="true"] .dashboard-view-indicator{border-left-color:light-dark(#ffffff40,var(--theme-border));color:light-dark(#e1ebf8,var(--theme-muted))}
.dashboard-view-switch button[aria-pressed="true"] .dashboard-view-indicator:after{content:'当前'}
.dashboard-view-switch button:active{box-shadow:inset 0 2px 4px #19385822}
.dashboard-view-switch button:focus-visible{outline:2px solid light-dark(#477fb7,var(--theme-focus));outline-offset:2px}
@media(prefers-reduced-motion:reduce){.dashboard-view-switch button{transition:none}}
@media(max-width:420px){.dashboard-view-indicator{display:none}}
.dashboard-fee-band{margin-top:0;container-type:inline-size;display:flex;flex-direction:column}
.dashboard-fee-inline{display:grid;grid-template-columns:minmax(0,7.8fr) minmax(0,6.6fr);min-width:1530px;width:100%}
.dashboard-fee-group{display:flex;flex-direction:column;min-width:0}
.dashboard-fee-group h4{font-size:12px;font-weight:600;color:light-dark(#496e9b,var(--theme-secondary));margin:0;padding:6px 12px;min-height:32px;display:flex;align-items:center;gap:8px;background:light-dark(#edf4fc,var(--theme-raised));border-bottom:1px solid light-dark(#dfe8f3,var(--theme-border))}
.dashboard-fee-group h4:before{content:'';width:3px;height:12px;border-radius:3px;background:light-dark(#88a7cc,var(--theme-action))}
.dashboard-fee-group-rules{border-left:2px solid light-dark(#d6e3f1,var(--theme-border))}
.dashboard-fee-group-count{font-size:10px;font-weight:400;color:light-dark(#7f94ad,var(--theme-muted))}
.dashboard-fee-scroll-hint{display:none;order:1;margin:4px 0 0;text-align:right;font-size:10px;font-weight:400;color:light-dark(#8198b2,var(--theme-muted));line-height:1.6}
@container (max-width:1529px){.dashboard-fee-scroll-hint{display:block}}
.dashboard-fee-strip{width:100%;max-width:100%;overflow-x:auto;border:1px solid light-dark(#dfe8f3,var(--theme-border));border-radius:10px;background:light-dark(#fff,var(--theme-panel));scrollbar-width:thin;scrollbar-color:#bdcee2 #f3f7fc}
.dashboard-fee-strip:focus-visible{outline:2px solid light-dark(#8baed5,var(--theme-focus));outline-offset:2px}
.dashboard-fee-grid{display:grid;flex:1;width:100%;margin:0;gap:1px;background:light-dark(#e5edf6,var(--theme-raised))}
.dashboard-fee-grid-cargo{grid-template-columns:minmax(0,1.8fr) repeat(6,minmax(0,1fr))}
.dashboard-fee-grid-rules{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1.6fr) repeat(3,minmax(0,1fr))}
.dashboard-fee-grid>div{background:light-dark(#fff,var(--theme-panel));padding:9px 12px;min-width:0;min-height:72px}
.dashboard-fee-grid dt{font-size:11px;color:light-dark(#788fa9,var(--theme-muted));line-height:1.5}
.dashboard-fee-grid dd{margin:4px 0 0;line-height:1.65}
.dashboard-fee-value{display:block;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;font-weight:500;color:light-dark(#466f9e,var(--theme-secondary));line-height:1.75;font-variant-numeric:tabular-nums}
.dashboard-fee-grid .dashboard-fee-value{font-size:13px}
.dashboard-fee-value.is-missing{color:light-dark(#a3afbf,var(--theme-muted));font-size:12px;font-weight:400}
.is-fee-best .dashboard-fee-value{color:light-dark(#247854,var(--theme-green))}
.is-fee-highest .dashboard-fee-value{color:light-dark(#c04b51,var(--theme-red))}
.dashboard-fee-best,.dashboard-fee-highest{display:inline-block;margin-top:4px;vertical-align:top}
.dashboard-fee-conflict{display:block;font-size:11px;color:light-dark(#ad7a3b,var(--theme-orange));line-height:1.6}
.dashboard-fee-variant{display:block;margin-top:8px;white-space:pre-line;font-size:11px;line-height:1.7;color:light-dark(#6f84a0,var(--theme-secondary))}
.dashboard-price-table .dashboard-fee-variant small{white-space:normal;line-height:1.6;font-size:10px;color:light-dark(#9aa9bc,var(--theme-muted));margin:0 0 3px}
.dashboard-fee-original{border-top:1px solid light-dark(#e3eaf3,var(--theme-border));padding-top:7px;margin-top:8px}
.dashboard-fee-original:first-child{border-top:0;padding-top:0;margin-top:0}
.dashboard-detail-row .dashboard-fee-original summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;list-style:none;font-size:11px;color:light-dark(#8096af,var(--theme-muted));width:100%;line-height:1.6}
.dashboard-fee-original summary::-webkit-details-marker{display:none}
.dashboard-fee-source-label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dashboard-fee-source-label:before{content:'▸';display:inline-block}
.dashboard-fee-original[open] .dashboard-fee-source-label:before{transform:rotate(90deg)}
.dashboard-fee-source{border:1px solid light-dark(#e3eaf3,var(--theme-border));border-radius:8px;margin-top:12px;background:light-dark(#fff,var(--theme-panel));padding:14px 16px;max-height:280px;overflow:auto;font-size:11px;color:light-dark(#7b90aa,var(--theme-muted));line-height:1.8}
.dashboard-fee-source>b,.dashboard-fee-source>span{display:block;white-space:pre-line}
.dashboard-fee-source>b{color:light-dark(#58799d,var(--theme-secondary));font-weight:500;margin-bottom:5px}
.dashboard-fee-source p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0;color:light-dark(#7b90aa,var(--theme-muted));font-size:11px;line-height:1.9}
.dashboard-price-table.dashboard-fee-table{min-width:2046px}
.dashboard-table-scroll:has(.dashboard-detail-row:not([hidden])){max-height:none}
.dashboard-fee-table .dashboard-col-provider{width:270px}.dashboard-col-fee{width:auto}.dashboard-col-wood{width:180px}.dashboard-col-minimumShipment{width:190px}.dashboard-fee-table .dashboard-col-action{width:76px}
.dashboard-price-table.dashboard-fee-table thead th:not(:first-child){text-align:left;color:light-dark(#748ba6,var(--theme-muted));white-space:normal;padding:9px 14px}
.dashboard-price-table.dashboard-fee-table .dashboard-quote-row>td{padding-top:10px;padding-bottom:10px}
.dashboard-price-table.dashboard-fee-table .dashboard-quote-row>td[data-fee-item]{text-align:left;white-space:normal;background:light-dark(#fbfcff,var(--theme-panel));vertical-align:top;padding:10px 14px}
.dashboard-price-table.dashboard-fee-table .dashboard-quote-row:hover>td[data-fee-item]{background:light-dark(#f3f7fd,var(--theme-hover))}
.dashboard-price-table.dashboard-fee-table .dashboard-quote-row>td:first-child{vertical-align:top}
.dashboard-price-table.dashboard-fee-table th:nth-child(5),.dashboard-fee-table .dashboard-quote-row>td:nth-child(5){border-left:0}
.dashboard-price-table.dashboard-fee-table .dashboard-fee-group-start{border-left:2px solid light-dark(#dce5ef,var(--theme-border))!important}
.dashboard-price-table.dashboard-fee-table .dashboard-fee-header-rules{background:light-dark(#edf3f8,var(--theme-raised))}
.dashboard-price-table.dashboard-fee-table thead th:first-child,.dashboard-price-table.dashboard-fee-table .dashboard-quote-row>td:first-child{border-right:1px solid light-dark(#dce5ef,var(--theme-border));box-shadow:5px 0 8px -6px #b4c4d8}
.dashboard-price-table.dashboard-fee-table thead th:last-child,.dashboard-price-table.dashboard-fee-table .dashboard-quote-row>td:last-child{text-align:center;background:light-dark(#fff,var(--theme-panel));vertical-align:middle}
.dashboard-price-table.dashboard-fee-table .dashboard-unquoted td:not(:first-child){text-align:left}
@media(max-width:760px){.dashboard-section-head{gap:12px}.dashboard-view-switch button{flex:1;min-width:0;min-height:44px;padding:0 10px;gap:7px;font-size:13px}.dashboard-view-switch{width:100%;margin-bottom:4px}.dashboard-price-note{line-height:1.8}.dashboard-details-heading{align-items:flex-start}.dashboard-details-heading>span{white-space:nowrap}}
@media(max-width:760px){.dashboard-details-heading>span{white-space:normal}.dashboard-fee-band{max-width:calc(100vw - 88px)}.dashboard-fee-grid .dashboard-fee-value{font-size:12px}}


/* Quote view actions share a compact segmented control. */
.dashboard-view-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid light-dark(#d7e3f1,var(--theme-border));border-radius:14px;background:light-dark(#f3f7fc,var(--theme-raised));box-shadow:inset 0 1px 2px #173d6510,0 5px 14px #244b7510}
.dashboard-view-switch button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:154px;min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:10px;background:transparent;color:light-dark(#66809f,var(--theme-secondary));font-size:13px;font-weight:650;letter-spacing:.1px;line-height:1.3;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.dashboard-view-switch button svg{width:17px;height:17px;opacity:.88;transition:transform .18s ease,opacity .18s ease}
.dashboard-view-switch button:hover{background:light-dark(#e8f0fa,var(--theme-hover));border-color:light-dark(#c8d9ec,var(--theme-border));color:light-dark(#2e6097,var(--theme-link));box-shadow:0 3px 9px #274e7912;transform:translateY(-1px)}
.dashboard-view-switch button[aria-pressed="true"]{background:linear-gradient(135deg,#3779d4 0%,#22579c 100%);border-color:#2b67b4;color:#fff;box-shadow:0 5px 12px #245c9d3d,inset 0 1px #ffffff35;font-weight:700}
.dashboard-view-switch button[aria-pressed="true"] svg{opacity:1;transform:scale(1.04)}
.dashboard-view-switch button[aria-pressed="true"]:hover{background:linear-gradient(135deg,#4385df 0%,#285fa7 100%);border-color:#2f6fbe;box-shadow:0 7px 15px #245c9d45}
.dashboard-view-switch button:active{transform:translateY(0);box-shadow:inset 0 2px 4px #173d6528}
.dashboard-view-indicator{margin-left:2px;padding:3px 6px;border:1px solid light-dark(#cbd9e8,var(--theme-border));border-radius:999px;font-size:9px;font-weight:600;line-height:1;color:light-dark(#7790ab,var(--theme-muted));letter-spacing:0}
.dashboard-view-indicator:after{content:'切换'}
.dashboard-view-switch button[aria-pressed="true"] .dashboard-view-indicator{border-color:#ffffff45;background:#ffffff18;color:#e8f2ff}
.dashboard-view-switch button[aria-pressed="true"] .dashboard-view-indicator:after{content:'当前'}
.dashboard-view-switch button:focus-visible{outline:2px solid light-dark(#5d91d0,var(--theme-focus));outline-offset:3px}
@media(max-width:760px){.dashboard-view-switch{min-width:0;gap:3px;padding:3px;border-radius:12px}.dashboard-view-switch button{flex:1;min-width:0;min-height:38px;padding:0 9px;gap:6px;font-size:12px}.dashboard-view-switch button svg{width:16px;height:16px}.dashboard-view-indicator{display:none}}
@media(max-width:360px){.dashboard-view-switch button{padding-inline:6px;font-size:11px}.dashboard-view-switch button svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.dashboard-view-switch button{transition:none}.dashboard-view-switch button:hover{transform:none}}

/* Compare suppliers within an identical warehouse/channel group. */
.dashboard-channel-group{min-width:800px}
.dashboard-channel-group:has(.dashboard-fee-table){min-width:2046px}
.dashboard-channel-group+.dashboard-channel-group{border-top:6px solid light-dark(#f4f7fb,var(--theme-border))}
.dashboard-provider-heading{display:flex;align-items:center;gap:8px;min-height:20px}
.dashboard-provider-label{white-space:nowrap;color:light-dark(#345b88,var(--theme-secondary))}
.dashboard-channel-title{display:flex;align-items:center;flex-wrap:nowrap;flex-shrink:0;gap:5px;padding-left:8px;border-left:1px solid light-dark(#bfd1e5,var(--theme-border));color:light-dark(#496b93,var(--theme-secondary));font-size:12px;font-weight:500;line-height:1.6;white-space:nowrap}
.dashboard-channel-caption{font-size:11px;font-weight:400;color:light-dark(#6c85a3,var(--theme-secondary))}
.dashboard-channel-path{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:4px;white-space:nowrap;color:light-dark(#496b93,var(--theme-secondary));font-size:12px;font-weight:500;line-height:1.6}
.dashboard-channel-path i{font-style:normal;font-weight:400;color:light-dark(#7d9bbd,var(--theme-muted))}
.dashboard-price-table thead th:first-child{padding:9px 12px 9px 14px}
.dashboard-price-table .dashboard-quote-row>td:first-child{padding-left:14px;padding-right:12px}
.dashboard-price-table.dashboard-grouped-price{min-width:800px}
.dashboard-price-table.dashboard-grouped-price thead th{font-size:13px;font-weight:600;color:light-dark(#536e90,var(--theme-secondary))}
.dashboard-price-table.dashboard-grouped-price thead th:nth-child(n+2):nth-child(-n+5){text-align:right;padding:9px 16px;color:light-dark(#536e90,var(--theme-secondary))}
.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td{padding-top:9px;padding-bottom:9px}
.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td.dashboard-weight-cell{padding:9px 16px;text-align:right;white-space:normal;background:light-dark(#fbfcff,var(--theme-panel));border-left:0}
.dashboard-grouped-price .dashboard-price{font-size:16px}
.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row:hover>td.dashboard-weight-cell{background:light-dark(#f3f7fd,var(--theme-hover))}
.dashboard-price-table.dashboard-grouped-price thead th:nth-child(5){border-left:0}
.dashboard-price-table.dashboard-grouped-price thead th:nth-child(2),.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td.dashboard-weight-cell:nth-child(2){border-left:1px solid light-dark(#e9eef6,var(--theme-border))}
.dashboard-price-table.dashboard-grouped-price thead th:last-child,.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td:last-child{text-align:center;background:light-dark(#fff,var(--theme-panel));vertical-align:middle}
.dashboard-price-line{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td.is-lowest,.dashboard-price-table.dashboard-grouped-price .dashboard-quote-row:hover>td.is-lowest{background:light-dark(#f0faf5,var(--theme-green-bg))}
.dashboard-weight-cell.is-lowest .dashboard-price{color:light-dark(#247854,var(--theme-green))}
.dashboard-best,.dashboard-highest{font-size:9px;line-height:1.5;white-space:nowrap;color:light-dark(#247854,var(--theme-green));background:light-dark(#def2e7,var(--theme-green-bg));border:1px solid light-dark(#c7e7d6,var(--theme-border));border-radius:4px;padding:1px 5px;font-weight:500}
.dashboard-weight-cell.is-highest .dashboard-price{color:light-dark(#c04b51,var(--theme-red))}
.dashboard-highest{color:light-dark(#b9434b,var(--theme-red));background:light-dark(#fff0f1,var(--theme-red-bg));border-color:light-dark(#edc6cb,var(--theme-border))}
.dashboard-grouped-price .dashboard-unquoted>td:nth-child(n+2):nth-child(-n+5){text-align:right}
/* A continuous header band makes each channel group easy to find. */
.dashboard-price-table:is(.dashboard-grouped-price,.dashboard-fee-table) thead th{background:light-dark(#edf3fa,var(--theme-raised));border-bottom-color:light-dark(#d5e2f0,var(--theme-border))}
.dashboard-price-table:is(.dashboard-grouped-price,.dashboard-fee-table) thead th:first-child{background:light-dark(#e1ecf8,var(--theme-raised));border-right-color:light-dark(#ccdbed,var(--theme-border));box-shadow:inset 3px 0 #779fcb,5px 0 8px -6px #b4c4d8}
.dashboard-price-table.dashboard-fee-table thead th.dashboard-fee-header-rules{background:light-dark(#edf3fa,var(--theme-raised))}
@media(max-width:760px){.dashboard-col-provider,.dashboard-fee-table .dashboard-col-provider{width:184px}.dashboard-provider-heading{align-items:flex-start;flex-direction:column;gap:3px}.dashboard-channel-title{gap:4px;padding-left:0;border-left:0}.dashboard-channel-caption{font-size:9px}.dashboard-channel-path{gap:3px;font-size:10px}}

/* Paired delivery tables: each side owns its prices and surcharge details. */
.dashboard-delivery-pairs{display:grid;gap:16px;padding:16px;min-width:1060px}
.dashboard-delivery-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.dashboard-delivery-pairs.is-single{min-width:560px}
.dashboard-delivery-pair.is-single{grid-template-columns:minmax(0,1fr)}
.dashboard-delivery-panel{position:relative;container:delivery-prices/inline-size;min-width:0;border:1px solid light-dark(#dfe8f3,var(--theme-border));border-radius:10px;overflow:hidden;background:light-dark(#fff,var(--theme-panel))}
.dashboard-delivery-panel+.dashboard-delivery-panel{border-top:1px solid light-dark(#dfe8f3,var(--theme-border))}
.dashboard-delivery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:light-dark(#f1f5fb,var(--theme-raised));border-bottom:1px solid light-dark(#dfe8f3,var(--theme-border))}
.dashboard-delivery-heading .dashboard-channel-title{padding:0;border:0;gap:10px}
.dashboard-delivery-heading .dashboard-channel-path{font-size:13px;font-weight:600;gap:7px}
.dashboard-delivery-heading .dashboard-channel-caption{font-size:10px}
.dashboard-channel-unit{font-size:10px;color:light-dark(#8a9db3,var(--theme-muted));white-space:nowrap}
.dashboard-delivery-panel .dashboard-price-table{width:100%;min-width:0;table-layout:fixed}
.dashboard-delivery-panel .dashboard-col-provider{width:18%}
.dashboard-delivery-panel .dashboard-col-price{width:17.25%}
.dashboard-delivery-panel .dashboard-col-action{width:13%}
.dashboard-delivery-panel .dashboard-price-table thead th{padding:9px 5px;background:light-dark(#f8fafd,var(--theme-raised));font-size:12px;text-align:center;white-space:nowrap;border-left:0;border-right:0;box-shadow:none}
.dashboard-delivery-panel .dashboard-price-table thead th:first-child{padding-left:14px;text-align:left;background:light-dark(#f8fafd,var(--theme-raised));box-shadow:none;border-right:0}
.dashboard-delivery-panel .dashboard-price-table.dashboard-grouped-price thead th:nth-child(n+2):nth-child(-n+5){text-align:center;padding:9px 5px;border-left:0}
.dashboard-delivery-panel .dashboard-provider-heading{display:block;min-height:0}
.dashboard-delivery-panel .dashboard-price-table :is(.dashboard-quote-row,.dashboard-unquoted)>td{height:62px;padding:9px 5px;text-align:center;border-left:0;border-right:0;background:light-dark(#fff,var(--theme-panel))}
.dashboard-delivery-panel .dashboard-price-table :is(.dashboard-quote-row,.dashboard-unquoted)>td:first-child{padding-left:14px;text-align:left;box-shadow:none}
.dashboard-delivery-panel .dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td.dashboard-weight-cell{padding:9px 5px;text-align:center;border-left:0;background:light-dark(#fbfcff,var(--theme-panel))}
.dashboard-delivery-panel .dashboard-price-line{justify-content:center;gap:4px;flex-wrap:nowrap}
.dashboard-delivery-panel .dashboard-price-line:has(.dashboard-highest){flex-wrap:wrap;row-gap:1px}
.dashboard-delivery-panel .dashboard-price{font-size:17px}
.dashboard-delivery-panel :is(.dashboard-best,.dashboard-highest){padding:1px 3px;font-size:8px}
.dashboard-delivery-panel .dashboard-price-table.dashboard-grouped-price .dashboard-quote-row>td.is-lowest{background:light-dark(#f3faf6,var(--theme-green-bg))}
.dashboard-delivery-panel .dashboard-details-toggle{justify-content:center;gap:5px;min-height:30px;min-width:52px;padding:5px 7px;border:1px solid light-dark(#d9e5f3,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#567da9,var(--theme-secondary))}
.dashboard-delivery-panel .dashboard-details-toggle:hover{background:light-dark(#eef5fd,var(--theme-hover));border-color:light-dark(#90b0d5,var(--theme-focus))}
.dashboard-delivery-panel .dashboard-details-toggle[aria-expanded="true"]{background:light-dark(#3d70ab,var(--theme-action));border-color:light-dark(#3d70ab,var(--theme-focus));color:#fff}
.dashboard-delivery-panel .dashboard-details-toggle:focus-visible{outline:2px solid light-dark(#88b1df,var(--theme-focus));outline-offset:2px}
.dashboard-details-toggle[aria-expanded="true"] .dashboard-detail-label{transform:none}
.dashboard-delivery-panel .dashboard-price-table.dashboard-grouped-price .dashboard-quote-row.is-detail-open>td{background:light-dark(#f1f6fd,var(--theme-raised))}
.dashboard-delivery-panel .dashboard-quote-row.is-detail-open>td:first-child{box-shadow:inset 3px 0 #4f82ba}
.dashboard-delivery-panel .dashboard-price-table .dashboard-detail-row>td{padding:9px 7px 10px!important;background:light-dark(#f6f9fd,var(--theme-raised))}
.dashboard-fee-context{display:flex;align-items:center;gap:7px;margin-bottom:7px;min-height:20px;color:light-dark(#8296ae,var(--theme-muted));font-size:10px}
.dashboard-fee-context:before{content:'';width:3px;height:12px;background:light-dark(#6592bf,var(--theme-action));border-radius:2px}
.dashboard-fee-context strong{font-size:11px;color:light-dark(#466b97,var(--theme-secondary));font-weight:600}
.dashboard-fee-context button{margin-left:auto;padding:0;width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:light-dark(#8298b3,var(--theme-muted));font-size:18px;line-height:1}
.dashboard-fee-context button:hover{background:light-dark(#e4edf8,var(--theme-hover));color:light-dark(#426c9a,var(--theme-secondary))}
.dashboard-delivery-panel .dashboard-fee-band{max-width:none;width:100%}
.dashboard-delivery-panel .dashboard-fee-inline{min-width:0;grid-template-columns:minmax(0,6.95fr) minmax(0,5.95fr)}
.dashboard-delivery-panel .dashboard-fee-scroll-hint{display:none}
.dashboard-delivery-panel .dashboard-fee-strip{border-radius:6px}
.dashboard-delivery-panel .dashboard-fee-group h4{padding:6px 5px;min-height:28px;font-size:10px;line-height:1.3;gap:4px;white-space:nowrap}
.dashboard-delivery-panel .dashboard-fee-group h4:before{display:none}
.dashboard-delivery-panel .dashboard-fee-group-count{font-size:9px}
.dashboard-delivery-panel .dashboard-fee-grid-cargo{grid-template-columns:minmax(0,1.7fr) minmax(0,.85fr) minmax(0,.85fr) minmax(0,.65fr) minmax(0,.95fr) minmax(0,1.1fr) minmax(0,.85fr)}
.dashboard-delivery-panel .dashboard-fee-grid-rules{grid-template-columns:minmax(0,.85fr) minmax(0,1.1fr) minmax(0,1.25fr) minmax(0,.9fr) minmax(0,.85fr) minmax(0,1fr)}
.dashboard-delivery-panel .dashboard-fee-grid>div{padding:7px 4px;min-height:78px}
.dashboard-delivery-panel .dashboard-fee-grid dt{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.dashboard-delivery-panel .dashboard-fee-grid dd{margin-top:5px;line-height:1.5}
.dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-value{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-conflict,.dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-variant{font-size:10px;overflow-wrap:anywhere}
.dashboard-delivery-panel .dashboard-price-table .dashboard-fee-variant small{white-space:normal;font-size:9px}
.dashboard-delivery-panel :is(.dashboard-fee-best,.dashboard-fee-highest){max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
.dashboard-delivery-panel .dashboard-fee-original{margin-top:7px;padding-top:6px}
.dashboard-delivery-panel .dashboard-fee-original summary{font-size:10px}
.dashboard-delivery-panel .dashboard-fee-source{margin-top:8px;padding:10px;font-size:10px}
@container delivery-prices (max-width:800px){
 .dashboard-delivery-heading .dashboard-channel-path{font-size:12px;gap:5px}
 .dashboard-delivery-panel .dashboard-price{font-size:15px}
 .dashboard-delivery-panel .dashboard-price-line{gap:3px}
 .dashboard-delivery-panel :is(.dashboard-best,.dashboard-highest){font-size:7px;padding:1px 2px}
 .dashboard-delivery-panel .dashboard-price-table thead th{font-size:11px}
 .dashboard-delivery-panel .dashboard-fee-grid>div{padding:6px 3px}
 .dashboard-delivery-panel .dashboard-fee-grid dt{font-size:9px}
 .dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-value{font-size:10px}
 .dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-conflict,.dashboard-delivery-panel .dashboard-fee-grid .dashboard-fee-variant{font-size:9px}
}

/* Shared checkbox filters for preview and comparison; popovers avoid sticky-panel clipping. */
.multi-filter{display:grid;gap:7px;min-width:0;width:100%;font-size:11px;color:light-dark(#71809a,var(--theme-secondary))}
.multi-filter>span{display:flex;align-items:center;justify-content:space-between;gap:4px}
.dashboard-filters .multi-filter>span,.dashboard-filters label>span{font-size:13px;font-weight:600;color:light-dark(#536e90,var(--theme-secondary));line-height:1.5}
.multi-filter>span small{font-size:9px;font-weight:400;color:light-dark(#889db6,var(--theme-muted));white-space:nowrap}
.multi-trigger{display:flex;align-items:center;gap:6px;width:100%;min-width:0;height:37px;padding:0 10px;border:1px solid light-dark(#dce5f0,var(--theme-border));border-radius:7px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#4e6587,var(--theme-secondary));font-size:12px;text-align:left}
.multi-trigger:hover{border-color:light-dark(#97b2d2,var(--theme-focus));background:light-dark(#fafcff,var(--theme-panel))}
.multi-trigger:focus-visible,.multi-trigger[aria-expanded="true"]{outline:0;border-color:light-dark(#719acd,var(--theme-focus));box-shadow:0 0 0 3px #eaf2fc}
.multi-trigger.has-selection{color:light-dark(#315e96,var(--theme-link));background:light-dark(#f4f8fe,var(--theme-selected));border-color:light-dark(#bbcee5,var(--theme-border))}
.multi-summary{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.multi-count{flex-shrink:0;min-width:18px;padding:1px 5px;border-radius:5px;color:light-dark(#416c9d,var(--theme-secondary));background:light-dark(#e3edf9,var(--theme-raised));text-align:center;font-size:10px;font-weight:600}
.multi-trigger svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.multi-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.multi-panel{position:fixed;inset:auto;margin:0;padding:7px;border:1px solid light-dark(#dce6f2,var(--theme-border));border-radius:12px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#365475,var(--theme-secondary));box-shadow:0 12px 34px #233f6226;overflow:auto}
.multi-panel::backdrop{background:transparent}
.multi-panel .multi-option{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 10px;border-radius:7px;cursor:pointer;font-size:13px;line-height:1.5;color:light-dark(#48627f,var(--theme-secondary))}
.multi-panel .multi-option:hover{background:light-dark(#f2f6fb,var(--theme-hover))}
.multi-panel .multi-option:has(input:checked){background:light-dark(#f0f5fc,var(--theme-selected));color:light-dark(#315e96,var(--theme-link))}
.multi-panel .multi-option:has(input:focus-visible){outline:2px solid light-dark(#789cca,var(--theme-focus));outline-offset:-2px}
.multi-panel .multi-option input{width:15px;height:15px;min-width:15px;margin:0;accent-color:light-dark(#4777b0,var(--theme-link));cursor:pointer}
.single-panel .multi-option input{appearance:none;border:1px solid light-dark(#c4d2e2,var(--theme-border));border-radius:4px;background:light-dark(#fff,var(--theme-panel));display:grid;place-content:center}
.single-panel .multi-option input:checked{background:light-dark(#4777b0,var(--theme-action));border-color:light-dark(#4777b0,var(--theme-focus))}
.single-panel .multi-option input:checked:after{content:'';width:7px;height:4px;border-left:2px solid light-dark(#fff,var(--theme-border));border-bottom:2px solid light-dark(#fff,var(--theme-border));transform:translateY(-1px) rotate(-45deg)}
.single-panel .multi-option input:focus{outline:0}
.multi-options{display:grid;gap:3px}
.multi-panel .multi-all{margin-bottom:6px;border-bottom:1px solid light-dark(#e5edf5,var(--theme-border));border-radius:7px 7px 0 0;padding-bottom:11px;font-weight:600}
.multi-all small{margin-left:auto;font-size:10px;color:light-dark(#92a4ba,var(--theme-muted));font-weight:400}
.multi-status{margin:6px 3px 0;padding:10px 7px 3px;border-top:1px solid light-dark(#eaf0f6,var(--theme-border));color:light-dark(#8a9eb6,var(--theme-muted));font-size:10px;line-height:1.5}
.dashboard-filters input[type="date"]{height:36px;padding:0 9px;border:1px solid light-dark(#dce5f0,var(--theme-border));border-radius:7px;color:light-dark(#3b5676,var(--theme-secondary));background:light-dark(#fff,var(--theme-panel));font-size:12px;font-variant-numeric:tabular-nums}
.dashboard-filters input[type="date"]:focus-visible{outline:0;border-color:light-dark(#719acd,var(--theme-focus));box-shadow:0 0 0 3px #eaf2fc}
.quote-date-field>span{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.quote-date-field>span>small{font-size:9px;font-weight:400;color:light-dark(#8a9eb6,var(--theme-muted));white-space:nowrap}
/* Preview filters reflow with the width of the workspace. */
#priceTable>.dashboard-filters{padding:0;border-color:light-dark(#e0e8f2,var(--theme-border));border-radius:14px;box-shadow:0 4px 18px #193d6008}
.dashboard-filters #dashboardFilters{display:block}
.dashboard-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(100px,140px)) 130px 340px;align-items:end;justify-content:start;gap:8px;padding:14px 20px}
.dashboard-filter-grid .multi-filter{gap:9px}
.dashboard-filter-grid .quote-date-field{gap:9px}
.dashboard-filters .multi-filter>span,.dashboard-filters label>span{font-size:14px;font-weight:600;color:light-dark(#415b7b,var(--theme-secondary))}
.dashboard-filter-grid .multi-filter>span small{font-size:10px;font-weight:400;color:light-dark(#8393a9,var(--theme-muted))}
.dashboard-filters .multi-trigger{height:36px;padding:0 9px;font-size:13px;border-radius:7px;background:light-dark(#f9fbfe,var(--theme-raised));color:light-dark(#405b7c,var(--theme-secondary));border-color:light-dark(#dfe7f1,var(--theme-border))}
.dashboard-filters .multi-trigger:hover{background:light-dark(#f1f6fd,var(--theme-hover));border-color:light-dark(#a5bddb,var(--theme-focus))}
.dashboard-filters .multi-trigger.has-selection{background:light-dark(#edf4fe,var(--theme-selected));border-color:light-dark(#b4cbea,var(--theme-border));color:light-dark(#315f9a,var(--theme-link))}
.dashboard-period-controls{display:contents}
.dashboard-week-controls{position:relative;display:block;min-width:0;max-width:340px;width:100%}
.quote-week-bar{display:grid;position:relative;gap:9px;width:100%;min-width:0}
.quote-week-caption{font-size:14px;font-weight:600;color:light-dark(#415b7b,var(--theme-secondary));line-height:1.5;white-space:nowrap}
.quote-date-field>span>small{font-size:10px;color:light-dark(#8393a9,var(--theme-muted))}
.quote-week-navigation{display:flex;align-items:center;gap:0;min-width:0;border:1px solid light-dark(#ccdcee,var(--theme-border));border-radius:8px;background:light-dark(#f7faff,var(--theme-raised))}
.quote-week-select{flex:1;width:auto;min-width:0}
.dashboard-filters .quote-week-select .multi-trigger{height:34px;background:light-dark(#fff,var(--theme-panel));border:0;border-inline:1px solid light-dark(#e1eaf5,var(--theme-border));border-radius:0;color:light-dark(#396497,var(--theme-secondary));font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.dashboard-filters .quote-week-select .multi-summary{text-align:center}
.dashboard-filters .quote-week-select .multi-trigger:focus-visible{box-shadow:inset 0 0 0 2px var(--theme-focus)}
.quote-week-step,.quote-week-current{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:36px;border:1px solid light-dark(#dce5f0,var(--theme-border));border-radius:7px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#52769f,var(--theme-secondary));cursor:pointer}
.quote-week-step{width:30px;height:34px;padding:0;border:0;background:transparent;font-size:22px;line-height:1}
.quote-week-current{position:absolute;top:0;right:61px;height:21px;padding:0 4px;border:0;border-radius:4px;background:transparent;font-size:11px;white-space:nowrap}
.quote-week-step:hover,.quote-week-current:not(:disabled):hover{background:light-dark(#edf4fd,var(--theme-hover));border-color:light-dark(#a9c0dc,var(--theme-focus));color:light-dark(#315d92,var(--theme-link))}
.quote-week-step:focus-visible,.quote-week-current:focus-visible{outline:2px solid light-dark(#719acd,var(--theme-focus));outline-offset:2px}
.quote-week-current:disabled{background:transparent;color:light-dark(#94a4b8,var(--theme-muted));opacity:1;cursor:default}
.pk-week-range{font-size:10px;font-weight:400;color:light-dark(#7f94ae,var(--theme-muted));line-height:1.5}
.pk-week-navigation{display:flex;gap:5px;margin-top:-6px}
.pk-week-navigation button{flex:1;min-width:0;border:1px solid light-dark(#dee7f2,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));padding:5px 2px;color:light-dark(#6685aa,var(--theme-secondary));font-size:10px;white-space:nowrap}
.pk-week-navigation button:hover{background:light-dark(#edf4fd,var(--theme-hover))}
.pk-week-navigation button:disabled{background:light-dark(#f3f6fa,var(--theme-raised));color:light-dark(#9aabbe,var(--theme-muted));cursor:default}
@container workspace (max-width:1280px){
 .dashboard-filter-grid{grid-template-columns:repeat(6,minmax(0,140px));gap:14px 8px}
 .dashboard-filter-grid .quote-date-field{grid-column:span 2}
 .dashboard-week-controls{grid-column:span 4}
}
@container workspace (max-width:800px){
 .dashboard-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dashboard-filter-grid .quote-date-field{grid-column:span 1}
 .dashboard-week-controls{grid-column:span 2}
}
@container workspace (max-width:600px){
 .dashboard-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:16px}
 .dashboard-filter-grid .quote-date-field,.dashboard-week-controls{grid-column:1/-1}
 .dashboard-filters .quote-date-field{display:grid;grid-template-columns:auto minmax(0,166px);align-items:center;justify-content:space-between;gap:12px}
 .quote-date-field>span{flex-direction:column;align-items:flex-start;gap:2px}
 .dashboard-filters .multi-trigger{padding:0 10px;font-size:13px}
 .dashboard-filter-grid .multi-filter>span small{font-size:10px}
 .dashboard-filters .quote-week-select .multi-trigger{height:42px;font-size:11px;padding:0 6px}
 .dashboard-filters .quote-week-select .multi-summary{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
 .quote-week-step{height:42px;width:26px}
}
@media(max-width:760px){.pk-week-navigation{grid-column:1/-1;max-width:220px;margin:0}}
.pb-filters .multi-trigger{height:35px;background:light-dark(#f9fbfe,var(--theme-raised));padding:0 9px}
.pb-filters .multi-filter{gap:6px;color:light-dark(#7b91ad,var(--theme-muted))}
@media(max-width:460px){.multi-trigger{padding:0 8px;font-size:11px}.multi-filter>span small{font-size:9px}.multi-panel .multi-option{min-height:42px}}

/* Parameter comparison: suppliers across columns, one aligned item per row. */
#pkSupplierPicker{width:960px}
#pkSupplierPicker[open]{display:flex;flex-direction:column;overflow:hidden}
#pkSupplierPicker .pb-dialog-head,#pkSupplierPicker .pb-picker-search,#pkSupplierPicker .pb-picker-footer{flex-shrink:0}
#pkSupplierPicker .pb-supplier-choices{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;min-height:0;flex:1 1 auto;padding:2px;scrollbar-width:thin}
#pkSupplierPicker .pb-supplier-choice{min-width:0;gap:10px;padding:12px;min-height:78px}
#pkSupplierPicker .pb-supplier-choice small{overflow-wrap:anywhere;line-height:1.6}
#pkSupplierPicker .pb-picker-empty{grid-column:1/-1}
@media(max-width:900px){#pkSupplierPicker .pb-supplier-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#pkSupplierPicker .pb-supplier-choices{grid-template-columns:minmax(0,1fr)}}
#pkSupplierPicker .pb-supplier-choice[aria-pressed="true"]{background:light-dark(#edf5ff,var(--theme-raised));border-color:light-dark(#8eb3df,var(--theme-focus));box-shadow:inset 3px 0 #5485c0}
#pkSupplierPicker .pb-supplier-choice[aria-pressed="true"] .pb-supplier-symbol{background:light-dark(#dceafb,var(--theme-raised));color:light-dark(#416fa9,var(--theme-secondary))}
#pkSupplierPicker .pb-supplier-choice[aria-pressed="true"] i{color:light-dark(#326aa9,var(--theme-link));font-weight:600}
#pkSupplierPicker .pb-supplier-choice:focus-visible{outline:2px solid light-dark(#6f9dd3,var(--theme-focus));outline-offset:-2px}
#pkSupplierPicker .pb-picker-footer{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:normal;gap:13px;padding-top:17px;margin-top:16px;border-top:1px solid light-dark(#e2eaf5,var(--theme-border))}
.pc-picker-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pc-picker-status strong{color:light-dark(#45688f,var(--theme-secondary));font-size:14px;font-weight:600}.pc-picker-status span{font-size:12px;color:light-dark(#8497b0,var(--theme-muted))}
.pc-picker-actions{display:flex;gap:12px;align-items:stretch}
#pkAddMatched,#pkPickerDone{min-height:46px;padding:11px 16px;border-radius:9px;font-size:15px;font-weight:600;line-height:1.5;cursor:pointer}
#pkAddMatched{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;border:1px solid light-dark(#9bbbe0,var(--theme-focus));color:light-dark(#32639d,var(--theme-link));background:light-dark(#eaf2ff,var(--theme-raised))}
#pkAddMatched>span{font-size:20px;font-weight:400;line-height:1}
#pkAddMatched:hover:not(:disabled){background:light-dark(#ddeaff,var(--theme-hover));border-color:light-dark(#6995ca,var(--theme-focus))}
#pkPickerDone{flex:0 0 auto;min-width:128px;border:1px solid light-dark(#34679f,var(--theme-focus));background:light-dark(#3c70af,var(--theme-action));color:#fff}
#pkPickerDone:hover{background:#305f99}
#pkAddMatched:focus-visible,#pkPickerDone:focus-visible{outline:2px solid light-dark(#709dd2,var(--theme-focus));outline-offset:2px}
#pkAddMatched[hidden],#pkPickerDone[hidden]{display:none}
@media(max-width:540px){.pc-picker-actions{flex-direction:column;gap:9px}.pc-picker-status{gap:5px}.pc-picker-status span{font-size:11px}#pkSupplierPicker .pb-picker-footer{margin-top:12px;padding-top:12px}#pkAddMatched,#pkPickerDone{width:100%;padding:11px 8px;font-size:14px}}
#compare .pb-main{--pc-label-width:128px;--pc-supplier-width:156px;--pc-add-width:116px;--pc-supplier-count:0;--pc-table-width:calc(var(--pc-label-width) + var(--pc-supplier-count)*var(--pc-supplier-width) + var(--pc-add-width));width:100%;display:flex;flex-direction:column}
#compare .pb-main{
 --pc-control-scheme:light;--pc-control-surface:#fff;--pc-control-bg:#f7f9fc;--pc-control-text:#405a78;--pc-control-border:#ccd9e9;--pc-control-selected:#e8f1ff;--pc-control-active:#285c99;--pc-control-ring:#447bbe;
 --pc-diff-bg:#fff0bc;--pc-diff-hover:#ffe7a0;--pc-diff-border:#e2cd8f;--pc-diff-text:#3a4c63;--pc-diff-muted:#665d48;--pc-diff-best:#166747;--pc-diff-highest:#a52d39;--pc-diff-warning:#80501c;--pc-diff-time:#315981;--pc-diff-marker:#ce981c;--pc-diff-label-bg:#f0f5fc;--pc-diff-label-text:#294f78;
}
#compare .pb-workspace{align-items:stretch;gap:18px}
#compare .pb-sidebar{max-height:calc(100vh - 146px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d6e1ed transparent}
.pc-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 22px;padding:0 2px}
.pc-page-header>div{min-width:0}.pc-page-header h1{margin:0;color:light-dark(#294b74,var(--theme-text));font-size:24px;line-height:1.5;font-weight:650;letter-spacing:.2px}
.pc-page-header p{margin:7px 0 0;color:light-dark(#7a90ad,var(--theme-muted));font-size:12px;line-height:1.8}
.pc-source{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:8px 12px;border:1px solid light-dark(#dce6f2,var(--theme-border));border-radius:20px;color:light-dark(#7189a6,var(--theme-muted));font-size:11px;background:light-dark(#f9fbfe,var(--theme-raised))}
.pc-source i{width:6px;height:6px;border-radius:50%;background:light-dark(#73a89b,var(--theme-green-bg))}
.pc-section-nav{display:grid;gap:4px;padding:13px 10px;border-top:1px solid light-dark(#e8eef6,var(--theme-border))}
.pc-section-nav>b{font-size:10px;font-weight:500;color:light-dark(#94a4b8,var(--theme-muted));margin:0 3px 5px}
.pc-section-nav button{border:0;border-radius:6px;background:none;padding:9px 10px;text-align:left;font-size:12px;color:light-dark(#6c819c,var(--theme-secondary))}
.pc-section-nav button:hover{background:light-dark(#f3f7fc,var(--theme-hover));color:light-dark(#315f94,var(--theme-link))}
.pc-section-nav button.active{background:light-dark(#eaf2fd,var(--theme-selected));color:light-dark(#315e96,var(--theme-link));font-weight:600}
.pc-toolbar{display:flex;flex:0 0 auto;align-items:center;gap:18px;min-width:0;max-width:100%;overflow-x:auto;padding:14px 18px;background:var(--pc-control-surface);border:1px solid var(--pc-control-border);border-radius:12px 12px 0 0;scrollbar-width:thin;scrollbar-color:var(--pc-control-border) transparent}
.pc-options{display:flex;flex:0 0 auto;align-items:center;gap:10px;flex-wrap:nowrap}
.pc-compare-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}
.pc-compare-actions[hidden]{display:none}
.pc-compare-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 17px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap}
.pc-compare-actions button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pc-compare-actions button:disabled{opacity:.5;cursor:default}
.pc-compare-actions button:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
.pc-compare-actions>.primary{background:light-dark(#467fbe,var(--theme-action));color:#fff;border-color:light-dark(#467fbe,var(--theme-action))}
.pc-compare-actions>.primary:hover{background:light-dark(#356ba8,var(--theme-action))}
.pc-compare-actions>.secondary{border:1px solid light-dark(#cbd9e9,var(--theme-border));background:light-dark(#fff,var(--theme-panel));color:light-dark(#52759c,var(--theme-secondary))}
.pc-compare-actions>.secondary:hover{background:light-dark(#f1f6fc,var(--theme-hover));border-color:light-dark(#91add0,var(--theme-focus))}
.pc-compare-actions>.pc-danger-action{color:light-dark(#a6676d,var(--theme-red));border-color:light-dark(#e5cdd0,var(--theme-border));background:light-dark(#fffafa,var(--theme-panel))}
.pc-compare-actions>.pc-danger-action:hover{background:light-dark(#fff1f2,var(--theme-red-bg));border-color:light-dark(#d9aeb3,var(--theme-red))}
.pc-options label{display:flex;flex:0 0 auto;align-items:center;gap:8px;min-height:40px;padding:8px 11px;border:1px solid var(--pc-control-border);border-radius:8px;background:var(--pc-control-bg);font-size:14px;font-weight:600;line-height:1.5;color:var(--pc-control-text);cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.pc-options label:hover,.pc-options label:has(input:checked){background:var(--pc-control-selected);border-color:var(--pc-control-ring);color:var(--pc-control-active)}
.pc-options label:focus-within{outline:2px solid var(--pc-control-ring);outline-offset:2px}
.pc-options input{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:var(--pc-control-ring);color-scheme:var(--pc-control-scheme);cursor:pointer}
.pc-scroll{--pc-head-height:108px;flex:1;max-height:calc(100vh - 280px);min-height:400px;background:light-dark(#fff,var(--theme-panel));scroll-padding-top:calc(var(--pc-head-height) + 48px)}
#compare .pb-main.pc-awaiting {
  align-self: start;
}

#compare .pc-awaiting .pc-scroll {
  display: grid;
  place-items: center;
  flex: none;
  min-height: 228px;
  max-height: none;
  padding: 24px 16px;
  border-radius: 0 0 12px 12px;
  background: light-dark(#f3f7f5, var(--theme-raised));
}

.pc-awaiting .pb-board-footer {
  display: none;
}

.pc-welcome-hero {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
}

.pc-start {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.pc-start h2 {
  margin: 0;
  color: light-dark(#1c342a, var(--theme-text));
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pc-start p {
  margin: 8px 0 16px;
  color: light-dark(#476357, var(--theme-secondary));
  font-size: 13px;
  line-height: 1.65;
}

#compare .pc-start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #176854;
  border-radius: 7px;
  background: #176854;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

#compare .pc-start-button:hover {
  background: #115341;
  border-color: #115341;
}

.pc-start-button:focus-visible {
  outline: 2px solid light-dark(#176854, var(--theme-focus));
  outline-offset: 3px;
}

.pc-table{width:var(--pc-table-width);min-width:var(--pc-table-width);max-width:none;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;line-height:1.75;color:light-dark(#4d6684,var(--theme-secondary));font-variant-numeric:tabular-nums}
.pc-table .pc-label-col{width:var(--pc-label-width)}.pc-table .pc-supplier-col{width:var(--pc-supplier-width)}.pc-table .pc-add-col{width:var(--pc-add-width)}
.pc-table th,.pc-table td{padding:8px;border-right:1px solid light-dark(#e6edf5,var(--theme-border));border-bottom:1px solid light-dark(#e6edf5,var(--theme-border));vertical-align:top;background:light-dark(#fff,var(--theme-panel));font-weight:400;text-align:left;overflow-wrap:anywhere}
.pc-table tr>:last-child{border-right:0}
.pc-table thead th{position:sticky;top:0;z-index:5;background:light-dark(#fff,var(--theme-panel));height:100px;box-shadow:0 1px 0 #dce6f1;padding:8px}
.pc-table thead th:first-child{left:0;z-index:7;background:light-dark(#edf3fb,var(--theme-raised));border-right-color:light-dark(#c7d8ed,var(--theme-border));box-shadow:3px 0 7px -4px #9fb3cf,0 1px 0 #dce6f1}
.pc-corner>small{display:block;color:light-dark(#96a7bb,var(--theme-muted));font-size:10px;margin:3px 0 8px}.pc-corner>small b{color:light-dark(#55769d,var(--theme-secondary));font-size:14px;margin:0 2px}
.pc-corner>strong{display:block;font-size:14px;font-weight:700;color:light-dark(#294f78,var(--theme-link))}.pc-corner>span{display:block;font-size:10px;color:light-dark(#8095af,var(--theme-muted));margin-top:8px}
.pc-column-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:light-dark(#a2b0c2,var(--theme-muted));line-height:1.5}
.pc-column-top button{font-size:20px;color:light-dark(#a8b6c8,var(--theme-muted));background:none;border:0;padding:0;line-height:1}
.pc-column-top button:hover{color:light-dark(#bb6464,var(--theme-red))}
.pc-provider{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:34px;margin:4px 0 3px;padding:0;background:none;border:0;color:light-dark(#3c5d84,var(--theme-secondary));font-size:16px;font-weight:600;text-align:left;line-height:1.4;overflow-wrap:anywhere}
.pc-provider span{font-size:12px;color:light-dark(#8ca8c8,var(--theme-muted));flex-shrink:0}.pc-provider:hover{color:light-dark(#2565a9,var(--theme-link))}
.pc-column-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.pc-column-bottom small{font-size:10px;color:light-dark(#91a4bc,var(--theme-muted))}.pc-column-bottom>div{display:flex;gap:5px}
.pc-column-bottom button{width:24px;height:24px;border:0;border-radius:50%;padding:0;background:light-dark(#f0f4f9,var(--theme-raised));color:light-dark(#6683a6,var(--theme-secondary));font-size:18px;line-height:1}
.pc-column-bottom button:disabled{opacity:.25;cursor:default}.pc-column-bottom button:hover:not(:disabled){background:light-dark(#e5effc,var(--theme-hover));color:light-dark(#366ca5,var(--theme-link))}
.pc-add-head>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-height:78px;padding:7px 6px;border:1px dashed light-dark(#c3d5ee,var(--theme-border));border-radius:9px;background:light-dark(#f9fbff,var(--theme-raised));color:light-dark(#658ab7,var(--theme-muted))}
.pc-add-head>button>span{font-size:25px;line-height:1;font-weight:300}.pc-add-head b{font-size:12px;font-weight:600}.pc-add-head small{font-size:9px;color:light-dark(#9bafc8,var(--theme-muted))}.pc-add-head button:hover{border-color:light-dark(#80a6d7,var(--theme-focus));background:light-dark(#eff5ff,var(--theme-hover))}
.pc-table .pc-route>th{position:sticky;top:var(--pc-head-height);z-index:4;background:light-dark(#ecf3fb,var(--theme-raised));padding:10px 15px;border-bottom-color:light-dark(#dce7f4,var(--theme-border));font-weight:600}
.pc-route-identity{display:inline-flex;align-items:center;gap:10px;position:sticky;left:15px;white-space:nowrap}
.pc-route-identity>span:first-child{font-size:11px;font-weight:400;color:light-dark(#7290ab,var(--theme-muted))}.pc-route-identity>b{font-size:15px;letter-spacing:.4px;color:light-dark(#367e8f,var(--theme-teal))}
.pc-route-path{display:inline-flex;align-items:center;gap:8px;margin-left:5px;border-left:1px solid light-dark(#cbdaec,var(--theme-border));padding-left:14px;color:light-dark(#5a7797,var(--theme-secondary));font-size:12px;font-weight:500}
.pc-route-path i{font-style:normal;color:light-dark(#99b0ca,var(--theme-muted));font-weight:400}
.pc-table .pc-section>th{background:light-dark(#f5f7fa,var(--theme-raised));padding:7px 15px;color:light-dark(#56718f,var(--theme-secondary));font-size:12px;font-weight:600}
.pc-section th>span{position:sticky;left:15px;display:inline-block}
.pc-table .pc-parameter>th{position:sticky;left:0;z-index:2;background:light-dark(#f0f5fc,var(--theme-raised));color:light-dark(#294f78,var(--theme-link));font-size:13px;font-weight:600;vertical-align:middle;border-right-color:light-dark(#c7d8ed,var(--theme-border));box-shadow:3px 0 7px -4px #9fb3cf}
.pc-parameter>th>small{display:block;font-size:9px;color:light-dark(#8095af,var(--theme-muted));margin-top:2px;font-weight:400}
.pc-table .pc-parameter>td{vertical-align:middle}
.pc-parameter:hover>td:not(.pc-add-filler){background:light-dark(#fbfdff,var(--theme-panel))}
.pc-table .pc-add-filler{background:light-dark(#fcfdff,var(--theme-panel))}
.pc-price{border:0;background:none;color:light-dark(#436384,var(--theme-secondary));font-size:15px;font-weight:600;padding:0;line-height:1.8;white-space:nowrap}
.pc-price:hover{text-decoration:underline;text-underline-offset:3px}.pv-base-lowest .pc-price{color:light-dark(#248168,var(--theme-green))}
.pc-base-highest .pc-price{color:light-dark(#c45353,var(--theme-red))}
.pc-highest{display:block;color:light-dark(#c45353,var(--theme-red));font-size:10px;font-weight:500;line-height:1.6;margin-top:3px}
.pv-best{display:inline-block;color:light-dark(#258268,var(--theme-green));font-size:10px;font-weight:500;line-height:1.6;margin:3px 0 0}.pc-price+.pv-best{display:block}
.pc-missing,.pv-pending{color:light-dark(#a1aec0,var(--theme-muted))}
.pv-field-value>span{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}.pv-field-value>.pv-best{display:block}.pv-field-best{color:light-dark(#258268,var(--theme-green))}
.pv-conflict>b{display:block;font-size:10px;font-weight:500;color:light-dark(#b1803f,var(--theme-orange));margin-bottom:5px}.pv-conflict>div{margin:5px 0;padding-left:8px;border-left:2px solid light-dark(#e6edf5,var(--theme-border))}.pv-conflict small{display:block;color:light-dark(#95a5b8,var(--theme-muted));font-size:9px}.pv-conflict span{white-space:pre-wrap;line-height:1.8}
.pc-table .pc-fee-cell,.pc-table .pc-compensation-cell{vertical-align:top}
.pc-table .pc-compensation-cell{font-size:12px;line-height:1.9;padding-top:14px;padding-bottom:14px}
.pc-transit>span,.pc-transit>small{display:block}.pc-transit>small{font-size:9px;color:light-dark(#9aabbe,var(--theme-muted))}.pc-transit>.pc-fastest{font-size:10px;color:light-dark(#5483b1,var(--theme-secondary))}
.pc-table .pc-different>td:not(.pc-add-filler){background:var(--pc-diff-bg);color:var(--pc-diff-text);border-bottom-color:var(--pc-diff-border)}
.pc-table .pc-different:hover>td:not(.pc-add-filler){background:var(--pc-diff-hover)}
.pc-table .pc-different>th{background:var(--pc-diff-label-bg);color:var(--pc-diff-label-text);box-shadow:inset 3px 0 var(--pc-diff-marker),3px 0 7px -4px #9fb3cf}
.pc-table .pc-different>th>small{color:var(--pc-diff-label-text);font-weight:400}
.pc-different .pc-price{color:var(--pc-diff-text)}
.pc-different :is(.pv-base-lowest .pc-price,.pv-best,.pv-field-best){color:var(--pc-diff-best)}
.pc-different :is(.pc-base-highest .pc-price,.pc-highest){color:var(--pc-diff-highest)}
.pc-different :is(.pc-missing,.pv-pending,.pv-conflict small,.pc-transit>small){color:var(--pc-diff-muted)}
.pc-different .pv-conflict>b{color:var(--pc-diff-warning)}
.pc-different .pv-conflict>div{border-left-color:var(--pc-diff-border)}
.pc-different .pc-transit>.pc-fastest{color:var(--pc-diff-time)}
.pc-table .pc-same-note>th{position:sticky;left:0;z-index:2;background:light-dark(#f0f5fc,var(--theme-raised));border-right-color:light-dark(#c7d8ed,var(--theme-border));box-shadow:3px 0 7px -4px #9fb3cf}.pc-same-note th,.pc-same-note td{font-size:11px;color:light-dark(#9caac0,var(--theme-muted));padding:11px 15px;font-weight:400}
@media(max-width:1100px){.pc-page-header .pc-source{display:none}}
@media(max-width:760px){#compare .pb-main{--pc-label-width:128px}#compare .pb-sidebar{max-height:none;overflow:visible}.pc-page-header{margin:2px 0 16px}.pc-page-header h1{font-size:20px}.pc-page-header p{font-size:11px}.pc-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:4px}.pc-section-nav>b{display:none}.pc-section-nav button{padding:8px 10px;font-size:11px}.pc-toolbar{padding:10px 12px;gap:12px}.pc-compare-actions{gap:6px}.pc-compare-actions button{min-height:44px;padding:0 10px;font-size:12px;gap:5px}.pc-compare-actions button svg{width:14px;height:14px}.pc-options label{min-height:44px}.pc-scroll{flex:auto;max-height:75vh;min-height:350px}.pc-table th,.pc-table td{padding:8px}.pc-table thead th{padding:8px}.pc-provider{font-size:14px;min-height:30px;margin:3px 0 2px}.pc-add-head>button{min-height:72px}.pc-route-identity{gap:7px;left:12px}.pc-route-path{padding-left:10px;margin-left:2px;gap:5px;font-size:11px}.pc-route-identity>b{font-size:14px}}
/* Let touch layouts scroll as a single page. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
  #priceTable>.dashboard-filters{position:static;top:auto;z-index:auto;max-height:none;overflow:visible}
  #compare .pb-workspace{align-items:start}
  #compare .pb-sidebar{max-height:none;overflow:visible}
  #compare .pc-scroll{flex:none;max-height:none;min-height:350px;overflow-x:auto;overflow-y:auto}
}
.ig-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.ig-metric{padding:20px;display:grid;gap:10px}.ig-metric>span{font-size:13px;color:light-dark(#58708b,var(--theme-secondary))}.ig-metric strong{font-size:28px;color:light-dark(#24496e,var(--theme-text));font-variant-numeric:tabular-nums}.ig-metric small{font-size:11px;color:light-dark(#677d94,var(--theme-muted));line-height:1.6}.ig-charts{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.ig-chart{padding:22px;min-width:0}.ig-chart h2{font-size:16px;margin:0 0 8px}.ig-chart>p,.ig-dashboard-note{font-size:12px;color:light-dark(#647c95,var(--theme-secondary));line-height:1.8}.ig-bars{max-height:330px;overflow:auto;margin-top:20px}.ig-bar-row{display:grid;grid-template-columns:112px 1fr 50px;align-items:center;gap:12px;margin:13px 0;font-size:12px}.ig-bar-row>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ig-bar-row>b{text-align:right;font-variant-numeric:tabular-nums}.ig-bar-row progress{width:100%;height:12px;appearance:none;border:0;border-radius:4px;background:light-dark(#edf3fa,var(--theme-raised))}.ig-bar-row progress::-webkit-progress-bar{background:light-dark(#edf3fa,var(--theme-raised));border-radius:4px}.ig-bar-row progress::-webkit-progress-value{background:#588fd3;border-radius:4px}.ig-bar-row progress::-moz-progress-bar{background:#588fd3;border-radius:4px}.ig-empty{padding:40px 10px;text-align:center;color:light-dark(#708398,var(--theme-muted))}.ig-tools,.ig-editbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ig-tools label,.ig-editbar label{display:flex;gap:8px;align-items:center;font-size:12px}.ig-editbar{padding:12px 18px;background:light-dark(#eef5ff,#192f47);border-block:1px solid light-dark(#d8e4f0,var(--theme-border))}.ig-editbar[hidden],#infoRegisterGridCard[hidden],#infoRegisterDashboard[hidden]{display:none!important}.ig-editbar>span{margin-right:auto;font-size:12px;color:light-dark(#516e8b,var(--theme-secondary))}.ig-tools select,.ig-editbar input,.info-register-pagination select{font:inherit;padding:7px 9px;border:1px solid light-dark(#cad9e8,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#284765,var(--theme-text))}.ig-editbar input{width:86px}.ig-help,.ig-message{font-size:12px;line-height:1.7;margin:10px 18px;color:light-dark(#607c97,var(--theme-secondary))}.ig-message:empty{display:none}.ig-message{color:light-dark(#305b88,#c1d8f2);padding:9px 12px;border-radius:6px;background:light-dark(#edf4fd,#1c344c)}.ig-grid-scroll{max-height:62vh;min-height:150px;overscroll-behavior:contain}.ig-grid{border-collapse:separate!important;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;margin:0}.ig-grid th,.ig-grid td{border-right:1px solid light-dark(#e2eaf2,var(--theme-border));border-bottom:1px solid light-dark(#e2eaf2,var(--theme-border));padding:0!important;min-width:0;max-width:none;height:39px;font-size:12px}.ig-grid thead th{padding:10px 12px!important;font-weight:600;z-index:3}.ig-grid .ig-rowno{position:sticky;left:0;min-width:48px;width:48px;max-width:48px;text-align:center;background:light-dark(#f0f5fa,#203246);z-index:2;padding:6px!important;font-size:11px;color:light-dark(#627b94,var(--theme-secondary))}.ig-grid thead .ig-rowno{z-index:4}.ig-grid .ig-year{min-width:76px;max-width:76px;text-align:center}.ig-year small{display:block;font-size:10px;color:light-dark(#3976b8,var(--theme-link))}.ig-value{display:block;padding:9px 12px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ig-cell{display:block;width:100%;min-width:0;height:38px;border:2px solid transparent!important;border-radius:0!important;outline:none;background:transparent!important;color:light-dark(#284765,var(--theme-text));font:inherit;padding:7px 10px!important}.ig-cell:focus{border-color:#397ec8!important;background:light-dark(#fff,#162a3e)!important;box-shadow:inset 0 0 0 1px #397ec8}.ig-grid .ig-changed{background:light-dark(#fff6d5,#493e1e)!important}.ig-grid .ig-stale{background:light-dark(#fff1e7,#442e21)}.ig-cell-note{display:block;padding:0 10px 4px;color:light-dark(#9c5d24,#f0c08f);font-size:10px}.info-register-tabs{margin-bottom:15px}.info-register-filters select{max-width:240px}.info-register-pagination label{display:flex;align-items:center;gap:6px;font-size:12px}
@media(max-width:1000px){.ig-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ig-charts{grid-template-columns:1fr}.ig-tools{justify-content:flex-start}}
@media(max-width:760px){.ig-metrics{gap:10px}.ig-metric{padding:14px}.ig-metric strong{font-size:24px}.info-register-filters label,.info-register-filters .info-register-search{min-width:calc(50% - 6px);flex:1}.info-register-filters select,.info-register-filters input{min-width:0;width:100%;max-width:100%}.info-register-filters .info-register-search{min-width:100%}.ig-tools{margin-top:10px}.ig-editbar{gap:8px;padding:12px}.ig-editbar>span{min-width:120px}.info-register-pagination{flex-wrap:wrap;gap:10px}.info-register-pagination>div{flex-wrap:wrap}.ig-bar-row{grid-template-columns:95px 1fr 40px;gap:8px}.ig-chart{padding:16px}}

/* Daily register layout follows the TEMU logistics workspace. */
#appShell:has(#infoRegister.active.ig-daily-mode) #infoRegisterSubnav [data-info-mode="preview"].active{outline:2px solid var(--workspace-accent);outline-offset:2px;margin:0 3px}
#infoRegister [hidden]{display:none!important}
#infoRegister .info-register-search textarea{font:inherit;width:100%;min-height:38px;padding:8px 11px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-panel);resize:vertical}
#infoRegister.ig-daily-mode .info-register-filter-card{border:1px solid #d7e2dd;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:none;background:#fff;margin:0;overflow:visible}
#infoRegister.ig-daily-mode .info-register-card-head{display:none}
#infoRegister.ig-daily-mode .info-register-filters{display:grid;grid-template-columns:minmax(220px,2.6fr) repeat(5,minmax(95px,1fr)) auto auto;align-items:end;gap:9px;padding:14px 16px 12px}
#infoRegister.ig-daily-mode .info-register-filters label{display:grid;gap:6px;min-width:0;color:#60756f;font-size:12px;font-weight:600}
#infoRegister.ig-daily-mode .info-register-filters label>span{display:block;line-height:1.25}
#infoRegister.ig-daily-mode .info-register-filters label small{font-weight:400;color:#849790;margin-left:7px}
#infoRegister.ig-daily-mode .info-register-filters select,#infoRegister.ig-daily-mode .info-register-filters input,#infoRegister.ig-daily-mode .info-register-filters textarea{height:36px;min-width:0;width:100%;max-width:none;box-sizing:border-box;padding:0 11px;border:1px solid #d7e3df;border-radius:6px;background:#fff;color:#253c37;font:inherit;resize:none}
#infoRegister.ig-daily-mode .info-register-filters textarea{padding:7px 11px;line-height:20px}
#infoRegister.ig-daily-mode .info-register-filters .info-register-search{min-width:0}
#infoRegister.ig-daily-mode .info-register-filters .link-btn{align-self:end;white-space:nowrap;padding:0 6px 11px;color:#5f9788}
#infoRegister.ig-daily-mode .info-register-filters .ig-daily-actions{display:flex;align-items:center;gap:6px}
#infoRegister.ig-daily-mode .info-register-filters .ig-daily-actions>input{width:50px;height:32px;text-align:center;padding:0 3px}
#infoRegister.ig-daily-mode .info-register-filters .ig-daily-actions>button{height:34px;padding-inline:10px;white-space:nowrap;background:#187866;border-color:#187866}
#infoRegister.ig-daily-mode .info-register-filters details{position:relative}
#infoRegister.ig-daily-mode .info-register-filters details summary{height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #d7e3df;border-radius:6px;background:#fff;list-style:none;cursor:pointer;white-space:nowrap;font-size:13px;font-weight:650;color:#253c37}
#infoRegister.ig-daily-mode .info-register-filters details summary::after{content:"";display:block;width:6px;height:6px;margin-top:-4px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
#infoRegister.ig-daily-mode .info-register-filters details summary::-webkit-details-marker{display:none}
#infoRegister.ig-daily-mode .info-register-filters details[open] .ig-period-popup{z-index:15}
#infoRegister.ig-daily-mode .info-register-table-card{border:1px solid #d7e2dd;border-radius:0 0 10px 10px;box-shadow:none;background:#fff;overflow:hidden}
#infoRegister.ig-daily-mode .info-register-table-head{padding:8px 16px;border-bottom:1px solid #dce8e4;background:#f5f8f6}
#infoRegister.ig-daily-mode .info-register-table-head>div:first-child{display:flex;align-items:center;gap:12px}
#infoRegister.ig-daily-mode .info-register-bulk{display:flex;align-items:center;gap:14px;color:#667d76;font-size:12px;flex:1}
#infoRegister.ig-daily-mode .info-register-bulk button{height:32px;padding:4px 9px;font-size:12px;white-space:nowrap}
#infoRegister.ig-daily-mode .info-register-result-range{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#72857f;font-size:12px}
#infoRegister.ig-daily-mode .info-register-result-range strong{color:#28463f;font-size:14px}
#infoRegister.ig-daily-mode .ig-tools{gap:9px}
#infoRegister.ig-daily-mode .ig-tools label{display:flex;align-items:center;gap:6px;color:#71867f;font-size:12px}
#infoRegister.ig-daily-mode .ig-tools select{height:36px}
#infoRegister.ig-daily-mode .ig-page-nav{display:flex;align-items:center;gap:5px}
#infoRegister.ig-daily-mode #infoRegisterPageButtons{display:flex;align-items:center;gap:5px}
#infoRegister.ig-daily-mode .ig-page-nav button{min-width:29px;height:30px;padding:0 4px;border-color:#d7e3df;background:#fff;color:#60756f}
#infoRegister.ig-daily-mode .ig-page-nav button[aria-current=page]{border-color:#197866;background:#e7f4ef;color:#14705f;font-weight:700}
#infoRegister.ig-daily-mode .ig-grid-scroll{max-height:calc(100dvh - 228px);min-height:260px}
#infoRegister.ig-daily-mode .ig-grid{font-size:12px}
#infoRegister.ig-daily-mode .ig-grid thead th{height:38px;padding:3px 6px!important;background:#f3f6f4;color:#5d736d;border-bottom:2px solid #8abbaa;font-size:12px}
#infoRegister.ig-daily-mode .ig-grid thead .ig-filter-trigger{position:relative;justify-content:flex-start;min-height:30px;padding:4px 7px 4px 0;color:#5d736d}
#infoRegister.ig-daily-mode .ig-grid thead .ig-filter-trigger>span{overflow:visible;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
#infoRegister.ig-daily-mode .ig-grid thead .ig-filter-trigger svg{position:absolute;right:-3px;width:10px;height:10px;opacity:0}
#infoRegister.ig-daily-mode .ig-grid thead .ig-filter-trigger:is(:hover,:focus-visible,.is-filtered) svg{opacity:.8}
#infoRegister.ig-daily-mode .ig-grid tbody tr{height:41px;background:#fff}
#infoRegister.ig-daily-mode .ig-grid tbody tr:nth-child(even){background:#f5f8f6}
#infoRegister.ig-daily-mode .ig-grid tbody tr.ig-draft-row{background:#f0f8f4}
#infoRegister.ig-daily-mode .ig-grid tbody tr.ig-selected-row{background:#e7f4ef}
#infoRegister.ig-daily-mode .ig-page-nav[hidden]{display:none}
#infoRegister.ig-daily-mode .ig-grid-scroll:has(.ig-all-rows){overflow-anchor:none}
#infoRegister.ig-daily-mode .ig-all-rows tbody tr[data-grid-row]{height:56px}
#infoRegister.ig-daily-mode .ig-all-rows tbody tr[data-row-parity="0"]:not(.ig-draft-row,.ig-selected-row){background:#fff}
#infoRegister.ig-daily-mode .ig-all-rows tbody tr[data-row-parity="1"]:not(.ig-draft-row,.ig-selected-row){background:#f5f8f6}
#infoRegister.ig-daily-mode .ig-all-rows tbody tr.ig-row-spacer{height:0}
#infoRegister.ig-daily-mode .ig-all-rows tbody tr.ig-row-spacer td{height:0;padding:0!important;border:0}
#infoRegister.ig-daily-mode .ig-all-rows .ig-cell-note{padding-bottom:0}
#infoRegister.ig-daily-mode .ig-grid td,#infoRegister.ig-daily-mode .ig-grid th{border-right:0;border-bottom-color:#dce8e4}
#infoRegister.ig-daily-mode .ig-grid td{padding:2px 6px!important;color:#263e38;white-space:nowrap}
#infoRegister.ig-daily-mode .ig-grid .ig-rowno{position:sticky;left:0;z-index:2;min-width:42px;width:42px;background:inherit;color:#687f78}
#infoRegister.ig-daily-mode .ig-grid thead .ig-rowno,#infoRegister.ig-daily-mode .ig-grid thead .ig-row-actions{z-index:4;background:#f3f6f4}
#infoRegister.ig-daily-mode .ig-grid tbody .ig-rowno input{width:13px;height:13px;accent-color:#197866}
#infoRegister.ig-daily-mode .ig-grid .ig-value{padding:4px 0;white-space:pre-line;overflow-wrap:anywhere}
#infoRegister.ig-daily-mode .ig-cell-value{display:block;max-width:100%;min-height:28px;padding:5px 0;border:0;background:transparent;color:#253c37;text-align:left;font:inherit;white-space:pre-line;overflow-wrap:anywhere;line-height:1.35;cursor:pointer}
#infoRegister.ig-daily-mode .ig-all-rows :is(.ig-cell-value,.ig-value){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#infoRegister.ig-daily-mode .ig-cell-value:hover{text-decoration:underline;text-decoration-color:#5c9b8a}
#infoRegister.ig-daily-mode .ig-row-hint{display:block;color:#849790;font-size:10px;line-height:1.1}
#infoRegister.ig-daily-mode .ig-required{float:right;color:#c84a4a;font-weight:700}
#infoRegister.ig-daily-mode .ig-row-actions{position:sticky;right:0;z-index:2;min-width:120px;width:120px;background:inherit;box-shadow:-4px 0 8px #26443b0c}
#infoRegister.ig-daily-mode .ig-row-actions button{height:24px;padding:2px 5px;margin-right:3px;border-radius:6px;font-size:10px}
#infoRegister.ig-daily-mode .ig-editing-row td{background:#eff8f4}
#infoRegister.ig-daily-mode .ig-editing-row .ig-cell{height:29px;border:1px solid #d6e2de!important;border-radius:6px!important;background:#fff!important}
#infoRegister.ig-daily-mode .ig-editing-row textarea.ig-cell{resize:vertical;min-height:29px;padding-block:5px!important}
#infoRegister.ig-daily-mode .ig-all-rows textarea.ig-cell{resize:none}
#infoRegister.ig-daily-mode .ig-editing-row .ig-cell:focus{border-color:#21836e!important;box-shadow:0 0 0 2px #bce2d5}
#infoRegister.ig-daily-mode .ig-quantity-editor{display:flex;align-items:center;gap:4px}
#infoRegister.ig-daily-mode .ig-unit-select{height:29px;border:1px solid #d6e2de;border-radius:5px;background:#fff;color:#387469;font-size:11px}
#infoRegister.ig-daily-mode .ig-quantity .ig-cell-note{padding-left:0}
#infoRegister.ig-daily-mode .ig-more-actions{position:absolute;right:0;top:45px;z-index:20;display:grid;gap:8px;min-width:160px;padding:12px;border:1px solid #d7e3df;border-radius:8px;background:#fff;box-shadow:0 8px 22px #23483e1c}
#infoRegister.ig-daily-mode .ig-more-actions button{width:100%}
#infoRegister.ig-daily-mode .ig-more-actions label{display:grid;gap:4px}
#infoRegister .ig-work-dialog{width:min(680px,calc(100vw - 32px));border:1px solid #c9ddd7;border-radius:12px;padding:0;background:#fff;color:#263e38;box-shadow:0 16px 50px #194c3a30}
#infoRegister .ig-work-dialog::backdrop{background:#1b3e3533}
#infoRegister .ig-work-dialog header,#infoRegister .ig-work-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #dce8e4}
#infoRegister .ig-work-dialog footer{justify-content:flex-end;border-top:1px solid #dce8e4;border-bottom:0}
#infoRegister .ig-work-dialog h2{margin:0;font-size:17px}
#infoRegister .ig-work-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;margin:0;max-height:55vh;overflow:auto}
#infoRegister .ig-work-dialog dt{font-size:11px;color:#78918a}
#infoRegister .ig-work-dialog dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#infoRegisterDateDialog label{display:grid;gap:6px;margin:10px 18px}
#infoRegisterDateDialog p{margin:14px 18px}
@media(min-width:900px){#infoRegister.ig-daily-mode .ig-grid.is-daily-columns [data-register-field="pickupDate"],#infoRegister.ig-daily-mode .ig-grid.is-daily-columns [data-register-field="originalOrder"]{position:sticky;z-index:2;left:42px;background:inherit}#infoRegister.ig-daily-mode .ig-grid.is-daily-columns [data-register-field="originalOrder"]{left:160px;box-shadow:4px 0 8px #26443b0c}#infoRegister.ig-daily-mode .ig-grid.is-daily-columns thead [data-register-field="pickupDate"],#infoRegister.ig-daily-mode .ig-grid.is-daily-columns thead [data-register-field="originalOrder"]{z-index:4;background:#f3f6f4}#infoRegister.ig-daily-mode .ig-grid.is-daily-columns .ig-editing-row td:is([data-register-field="pickupDate"],[data-register-field="originalOrder"]){background:#eff8f4}}
@media(max-width:1100px){#infoRegister.ig-daily-mode .info-register-filters{grid-template-columns:repeat(4,minmax(0,1fr))}#infoRegister.ig-daily-mode .info-register-search{grid-column:span 2}#infoRegister.ig-daily-mode .ig-daily-actions{grid-column:span 2;justify-content:flex-end}#infoRegister.ig-daily-mode .info-register-table-head{flex-wrap:wrap}#infoRegister.ig-daily-mode .ig-tools{margin-left:auto}}
@media(max-width:760px){#infoRegister.ig-daily-mode .info-register-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:9px}#infoRegister.ig-daily-mode .ig-daily-actions{grid-column:1/-1}#infoRegister.ig-daily-mode .info-register-bulk{flex-wrap:wrap;gap:8px}#infoRegister.ig-daily-mode .info-register-result-range{white-space:normal;flex-wrap:wrap}#infoRegister.ig-daily-mode .info-register-table-head{display:flex;padding:12px}#infoRegister.ig-daily-mode .ig-tools{margin:0}#infoRegister.ig-daily-mode .ig-grid-scroll{max-height:calc(100dvh - 250px)}}
.info-register-tabs button{padding:9px 18px;border:1px solid light-dark(#d6e3f2,var(--theme-border));border-radius:8px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#476684,var(--theme-secondary));font-size:13px;font-weight:600}.info-register-tabs button.active{background:light-dark(#e7f0fe,#203c59);color:light-dark(#245fa7,#bedaff);border-color:light-dark(#98b9e7,#497398)}.info-register-table-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px}.info-register-table-head b{font-size:15px}.info-register-table-head p{margin:6px 0 0;font-size:12px;color:light-dark(#667e96,var(--theme-secondary))}.info-register-header-actions{display:flex;gap:9px}.ig-grid-scroll:focus-visible{outline:2px solid #588fd3;outline-offset:-2px}
@media(max-width:760px){.info-register-table-head{display:block;padding:15px}.info-register-header-actions{margin-top:12px}.info-register-page-head{margin-bottom:14px}}
.ig-lock{min-width:0!important}.ig-lock .link-btn,.ig-lock span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ig-lock span{display:block;padding:8px 10px;font-size:11px;color:light-dark(#536e89,var(--theme-secondary))}.ig-cell[readonly]{cursor:pointer;color:light-dark(#637c93,var(--theme-secondary));background:light-dark(#f5f8fc,#1b242d)!important}

/* Register column filters use the full dataset, independent of pagination. */
.ig-grid thead th:has(.ig-filter-trigger){padding:0!important}
.ig-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:40px;padding:10px 8px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ig-filter-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ig-filter-trigger svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;opacity:.6}
.ig-filter-trigger:hover,.ig-filter-trigger.is-filtered{background:light-dark(#e4efff,#264462);color:light-dark(#2563a9,#c4dfff)}
.ig-filter-trigger.is-filtered svg{fill:currentColor;opacity:1}
.ig-filter-trigger:disabled{opacity:.55;cursor:not-allowed}
.ig-filter-trigger:focus-visible{outline:2px solid #4f8bd1;outline-offset:-3px}
.ig-column-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:light-dark(#56718d,var(--theme-secondary))}
.ig-column-filters[hidden]{display:none}
.ig-filter-chip{padding:6px 10px;border:1px solid light-dark(#aac8eb,#45688c);border-radius:6px;background:light-dark(#edf5ff,#203a53);color:light-dark(#2b65a9,#c3def9);font:inherit}
.ig-filter-popup{position:fixed;inset:auto;margin:0;padding:16px;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid light-dark(#cdddeb,var(--theme-border));border-radius:12px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#284765,var(--theme-text));box-shadow:0 12px 40px #142c4a30;font-size:13px}
.filter-popup-fallback{z-index:31}
.ig-filter-popup h3{font-size:15px;margin:0 0 12px;overflow-wrap:anywhere}
.ig-filter-modes{display:flex;gap:6px;margin-bottom:12px}
.ig-filter-modes button{flex:1;padding:7px;border:1px solid light-dark(#d6e3f2,var(--theme-border));border-radius:6px;background:transparent;color:inherit;font:inherit}
.ig-filter-modes button[aria-pressed="true"]{background:light-dark(#e7f0fe,#203c59);color:light-dark(#245fa7,#bedaff);border-color:light-dark(#98b9e7,#497398)}
#infoColumnSearch{width:100%;min-width:0;padding:9px 10px;border:1px solid light-dark(#cad9e8,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-raised));color:inherit;font:inherit}
.ig-filter-selection{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0}
.ig-filter-selection label,.ig-filter-option{display:flex;align-items:center;gap:8px;cursor:pointer}
.ig-filter-popup input[type="checkbox"],.ig-filter-popup input[type="radio"]{width:15px;height:15px;flex:none;accent-color:#3479c6;margin:0}
.ig-filter-options{max-height:min(260px,36vh);max-height:min(260px,36dvh);overflow:auto;overscroll-behavior:contain;border-block:1px solid light-dark(#e2eaf2,var(--theme-border));padding:5px 0}
.ig-filter-option{min-height:34px;padding:6px;border-radius:4px}
.ig-filter-option:hover{background:light-dark(#eff5fe,var(--theme-hover))}
.ig-filter-option span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ig-filter-option small{flex:none;font-size:11px;color:light-dark(#708398,var(--theme-muted))}
.ig-filter-count,.ig-filter-note{font-size:12px;line-height:1.6;margin:8px 0;color:light-dark(#708398,var(--theme-muted))}
.ig-filter-note{font-size:11px}
.ig-filter-empty{padding:15px 0;text-align:center;color:light-dark(#708398,var(--theme-muted))}
.ig-filter-actions{display:flex;gap:8px;align-items:center;margin-top:12px}
.ig-filter-actions .link-btn{margin-right:auto}
.ig-filter-actions button{font-size:12px;white-space:nowrap}
#infoColumnMore{display:block;margin:8px auto}
#infoColumnMore[hidden]{display:none}
@supports not (color:light-dark(white,black)){
  .multi-panel,.ig-filter-popup{background:var(--theme-panel);color:var(--theme-text);border:1px solid var(--theme-border)}
  .multi-panel .multi-option{color:var(--theme-text)}
  .multi-panel .multi-option:hover,.ig-filter-option:hover{background:var(--theme-hover)}
  .single-panel .multi-option input{appearance:auto;accent-color:var(--theme-action)}
  .single-panel .multi-option input:checked:after{content:none}
  .single-panel .multi-option input:focus-visible{outline:2px solid var(--theme-focus)}
  .multi-all small,.multi-status,.ig-filter-option small,.ig-filter-count,.ig-filter-note,.ig-filter-empty{color:var(--theme-muted)}
  [data-column-mode][aria-pressed="true"]{background:var(--theme-selected);color:var(--theme-action)}
}

/* Administrator controls stable column names and field edit grants. */
.ig-column-settings{width:min(1100px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid light-dark(#cedceb,var(--theme-border));border-radius:14px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#294767,var(--theme-text));box-shadow:0 18px 65px #142c4a40}
.ig-column-settings::backdrop{background:#14273b80}
.ig-column-settings form{padding:22px;display:flex;flex-direction:column;max-height:calc(100dvh - 30px);box-sizing:border-box;gap:12px}
.ig-column-settings header,.ig-column-settings footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.ig-column-settings h2{font-size:20px;margin:0 0 6px}
.ig-column-settings header p,.ig-settings-note{margin:0;font-size:12px;line-height:1.7;color:light-dark(#6b8198,var(--theme-muted))}
.ig-settings-note{padding:10px 12px;border-radius:7px;background:light-dark(#edf4ff,var(--theme-raised))}
.ig-column-settings input:not([type="checkbox"]),.ig-column-settings select{font:inherit;font-size:13px;padding:8px 10px;border:1px solid light-dark(#cad9e8,var(--theme-border));border-radius:6px;background:light-dark(#fff,var(--theme-panel));color:inherit;max-width:100%;box-sizing:border-box}
.ig-settings-scroll{min-height:100px;overflow:auto;overscroll-behavior:contain;flex:1;border:1px solid light-dark(#e1eaf4,var(--theme-border));border-radius:8px}
.ig-column-settings table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px}
.ig-column-settings th,.ig-column-settings td{padding:12px;vertical-align:top;border-bottom:1px solid light-dark(#e1eaf4,var(--theme-border))}
.ig-column-settings thead th{position:sticky;top:0;background:light-dark(#f1f6fd,var(--theme-raised));z-index:1}
.ig-column-settings tbody th{width:18%;font-weight:500;overflow-wrap:anywhere}
.ig-column-settings td:nth-child(2){width:29%}
.ig-column-settings td:nth-child(2)>input{width:100%;margin-bottom:6px}
.ig-column-settings td>select{width:100%}
.ig-column-settings small{display:block;font-size:11px;color:light-dark(#71869d,var(--theme-muted));margin-top:4px;font-weight:400}
.ig-column-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px;max-height:160px;overflow:auto}
.ig-column-accounts[hidden],.ig-column-settings tr[hidden]{display:none}
.ig-column-accounts label{display:flex;align-items:flex-start;gap:7px;font-size:12px;padding:5px;border-radius:5px;background:light-dark(#f7faff,var(--theme-raised));overflow-wrap:anywhere}
.ig-column-accounts input{accent-color:#397ec8;flex:none;margin:2px 0 0}
.ig-settings-system{font-size:12px;color:light-dark(#71869d,var(--theme-muted))}
.ig-column-settings footer>span{margin-right:auto;font-size:12px;color:light-dark(#71869d,var(--theme-muted))}
.ig-column-settings .form-error{margin:0;font-size:12px;flex:none}
.ig-column-readonly{background:light-dark(#f1f4f8,#24313f)!important}
.ig-column-readonly .ig-cell{color:light-dark(#8190a1,var(--theme-muted));cursor:default}
@media(max-width:760px){.ig-column-settings form{padding:14px}.ig-column-settings h2{font-size:17px}.ig-column-settings table{min-width:690px}.ig-column-settings footer{flex-wrap:wrap}.ig-column-settings footer>span{width:100%}}
.ig-column-settings header>button{flex:none;white-space:nowrap}

/* A quantity and its mutually exclusive KG / volume unit share one cell. */
.ig-grid .ig-quantity{min-width:0}
.ig-quantity-editor{display:flex;align-items:center;min-width:0}
.ig-quantity-editor>.ig-cell{flex:1;width:0;min-width:0}
.ig-unit-select{flex:none;width:64px;min-width:64px;height:30px;margin:4px 6px 4px 0;padding:3px 5px;border:1px solid light-dark(#acc5df,var(--theme-border));border-radius:5px;background:light-dark(#fff,var(--theme-panel));color:light-dark(#285b91,var(--theme-text));font:inherit;cursor:pointer}
.ig-unit-select:focus-visible{outline:2px solid #397ec8;outline-offset:1px}
.ig-unit-select:disabled{opacity:.65;cursor:not-allowed}

/* Shared annual and multi-month selection for register dashboards and details. */
.ig-period-field{position:relative;display:grid;gap:6px;min-width:200px;color:light-dark(#607994,var(--theme-secondary));font-size:12px;font-weight:600}
#infoPeriodPicker summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:38px;padding:8px 11px;border:1px solid light-dark(#d5e0ec,var(--theme-border));border-radius:8px;background:light-dark(#fff,var(--theme-raised));color:light-dark(#304c6d,var(--theme-text));max-width:290px}
#infoPeriodPicker summary::-webkit-details-marker{display:none}#infoPeriodPicker summary::after{content:'⌄';flex:none}#infoPeriodPicker summary:focus-visible{outline:2px solid #75acff;outline-offset:2px}
.ig-period-popup{position:absolute;top:100%;left:0;z-index:30;margin-top:6px;width:320px;max-width:calc(100vw - 60px);padding:16px;border:1px solid light-dark(#d5e0ec,var(--theme-border));border-radius:12px;background:light-dark(#fff,var(--theme-panel));box-shadow:0 12px 32px #10213626}
#infoPeriodYear{width:100%}.ig-period-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.info-register-filters .ig-period-months label{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:40px;border:1px solid light-dark(#e1e8f1,var(--theme-border));border-radius:7px;cursor:pointer}.info-register-filters .ig-period-months label:has(:checked){background:light-dark(#eaf3ff,var(--theme-selected));border-color:#75acff;color:light-dark(#285f9d,var(--theme-link))}.info-register-filters .ig-period-months input{width:14px;height:14px;min-width:0;padding:0;accent-color:#3276cd}
#infoPeriodHint{font-size:11px;font-weight:400;line-height:1.6;margin:10px 0;color:light-dark(#71859e,var(--theme-muted))}.ig-period-actions{display:flex;gap:6px}.info-register-filters .ig-period-actions button{flex:1;min-width:0;padding:8px 6px;font-size:12px}#infoPeriodPicker[aria-disabled="true"]{opacity:.55;pointer-events:none}
@media(max-width:760px){.ig-period-field{width:100%}#infoPeriodPicker summary{max-width:none}.info-register-filters .ig-period-months label{min-width:0}.ig-period-popup{width:100%}}


/* Week selection, view switching and reset stay together. */
.dashboard-filter-grid{grid-template-columns:repeat(6,minmax(100px,140px)) 130px 680px}
.dashboard-week-controls{display:flex;align-items:flex-end;gap:8px;width:680px;max-width:100%}
.dashboard-week-controls .quote-week-bar{flex:1;min-width:300px}
.dashboard-week-controls .quote-week-current{right:0}
.dashboard-week-controls .dashboard-view-switch{flex:none;width:auto;margin:0}
.dashboard-week-controls .dashboard-view-switch button{flex:none;min-width:0;height:40px;padding:0 10px;gap:6px;font-size:12px}
.dashboard-quote-actions{display:flex;align-items:center;gap:8px;flex:none;min-width:0}
.dashboard-reset{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;width:70px;height:40px;padding:0 10px;border:1px solid #2b67b4;border-radius:10px;background:linear-gradient(135deg,#3779d4 0%,#22579c 100%);color:#fff;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 5px 12px #245c9d3d,inset 0 1px #ffffff35;transition:background .18s,box-shadow .18s,transform .18s}
.dashboard-reset svg{width:17px;height:17px;flex:none}
.dashboard-reset:hover{background:linear-gradient(135deg,#4385df 0%,#285fa7 100%);box-shadow:0 7px 15px #245c9d45;transform:translateY(-1px)}
.dashboard-reset:active{transform:translateY(0);box-shadow:inset 0 2px 4px #173d6528}
.dashboard-reset:focus-visible{outline:2px solid light-dark(#5d91d0,var(--theme-focus));outline-offset:3px}
@media(prefers-reduced-motion:reduce){.dashboard-reset{transition:none}.dashboard-reset:hover{transform:none}}
.dashboard-reset-label{font:inherit}
@container workspace (max-width:1500px){
 .dashboard-filter-grid{grid-template-columns:repeat(6,minmax(0,140px));gap:14px 8px}
 .dashboard-period-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 8px;grid-column:1/-1}
 .dashboard-period-controls .quote-date-field{width:130px;flex:none}
 .dashboard-week-controls{max-width:100%;flex:0 1 680px}
}
@container workspace (max-width:800px){
 .dashboard-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dashboard-week-controls{display:grid;gap:8px;width:100%;flex-basis:100%}
 .dashboard-week-controls .quote-week-bar{min-width:0}
 .dashboard-week-controls .dashboard-view-switch{display:flex;width:100%;justify-content:stretch}
 .dashboard-week-controls .dashboard-view-switch button{flex:1;min-width:0}
 .dashboard-week-controls .dashboard-view-indicator{display:none}
 .dashboard-quote-actions{width:100%}
 .dashboard-week-controls .dashboard-quote-actions .dashboard-view-switch{flex:1;min-width:0;width:auto}
 .dashboard-reset{width:64px}
}
@container workspace (max-width:600px){
 .dashboard-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-period-controls .quote-date-field{width:100%}
 .dashboard-week-controls .dashboard-view-switch{padding:3px;gap:3px}
 .dashboard-week-controls .dashboard-view-switch button{padding-inline:6px;font-size:11px;gap:4px}
 .dashboard-week-controls .dashboard-view-switch button svg{width:15px;height:15px}
 .dashboard-quote-actions{gap:6px}
 .dashboard-reset{width:54px;padding-inline:6px;font-size:11px;gap:4px}
 .dashboard-reset svg{width:15px;height:15px}
}

/* Preview pages share filters while displaying their own quotation content. */
#priceTable #warehouseOverview[hidden],#priceTable #dashboardCards[hidden],#priceTable #dashboardViewSwitch[hidden],#dashboardSupplierFilter[hidden]{display:none!important}
#priceTable.is-overview-page .dashboard-period-controls{display:none}
#priceTable.is-overview-page .wo-period-controls>.multi-filter:first-child{display:none}
#priceTable.is-overview-page .dashboard-week-controls{display:flex;width:auto;max-width:none;min-width:0;flex:none;grid-column:auto;align-self:end}
#priceTable.is-overview-page .dashboard-quote-actions{width:auto}

/* Full warehouse preview: keep the emphasis on base prices only. */
#priceTable:not(.is-overview-page),
#priceTable:not(.is-overview-page) *{font-weight:400}
#priceTable:not(.is-overview-page) .dashboard-price,
#priceTable:not(.is-overview-page) .warehouse-channel-amount .warehouse-insight-value{font-weight:700}

/* Comparison text stays regular; only the quoted prices carry bold weight. */
#compare :is(.pc-page-header,.pb-sidebar,.pc-toolbar,.pc-table,.pb-board-footer,.pk-library),
#compare :is(.pc-page-header,.pb-sidebar,.pc-toolbar,.pc-table,.pb-board-footer,.pk-library) *{font-weight:400}
#compare .pc-table .pc-price,#compare .pc-table .pb-base-price{font-weight:700}

/* Compact comparison columns keep their width even with a single supplier. */
.pc-table tr[hidden]{display:none}
.pc-section-toggle{position:sticky;left:15px;display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:inherit;font:inherit;padding:2px 0;min-height:26px}
.pc-section-toggle small{font-size:10px;color:light-dark(#8095af,var(--theme-muted))}
.pc-section-chevron{display:inline-block;font-size:18px;line-height:1;transition:transform .15s}
.pc-section-toggle[aria-expanded="true"] .pc-section-chevron{transform:rotate(90deg)}
.pc-sort-price{display:block;border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left}
.pc-sort-price small{display:block;font-size:9px;color:light-dark(#8095af,var(--theme-muted))}
.pc-sort-price[aria-pressed="true"] small{color:light-dark(#2565a9,var(--theme-link))}
.pc-section-toggle:focus-visible,.pc-sort-price:focus-visible{outline:2px solid var(--theme-focus,#2565a9);outline-offset:2px}

/* Channel selection overview homepage: crisp SaaS blue & white, matrix default + compact cards + full rank dialog. */
.warehouse-overview {
  --wo-panel: #ffffff;
  --wo-soft: #f8fafc;
  --wo-subtle: #f1f5f9;
  --wo-line: #e2e8f0;
  --wo-line-strong: #cbd5e1;
  --wo-text: #0f172a;
  --wo-secondary: #334155;
  --wo-muted: #64748b;
  --wo-blue: #2563eb;
  --wo-blue-hover: #1d4ed8;
  --wo-selected: #eff6ff;
  --wo-selected-border: #bfdbfe;
  --wo-best: #059669;
  --wo-best-bg: #ecfdf5;
  --wo-best-border: #a7f3d0;
  --wo-truck-bg: #eff6ff;
  --wo-truck-fg: #1d4ed8;
  --wo-express-bg: #f5f3ff;
  --wo-express-fg: #6d28d9;
  container-type: inline-size;
  margin: 0 0 20px;
  border: 1px solid var(--wo-line);
  border-radius: 12px;
  background: var(--wo-panel);
  color: var(--wo-text);
  overflow: hidden;
  min-width: 0;
}
.warehouse-overview [hidden] { display: none !important; }
.warehouse-overview h2, .warehouse-overview p { margin: 0; }
.warehouse-overview button { font: inherit; }

#warehouseOverview .wo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 16px 20px 12px;
  background: var(--wo-panel);
}
#warehouseOverview .wo-title { min-width: 0; }
#warehouseOverview .wo-header h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--wo-text);
  line-height: 1.35;
}
#warehouseOverview .wo-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
#warehouseOverview .wo-layout-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  background: var(--wo-subtle);
}
#warehouseOverview .wo-layout-switch button {
  min-height: 29px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--wo-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
}
#warehouseOverview .wo-layout-switch button[aria-pressed="true"] {
  background: var(--wo-panel);
  color: var(--wo-blue);
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
#warehouseOverview .wo-strip-toggle {
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  background: var(--wo-panel);
  color: var(--wo-secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
#warehouseOverview .wo-strip-toggle:hover {
  background: var(--wo-selected);
  border-color: var(--wo-selected-border);
  color: var(--wo-blue);
}

/* Unified single-row primary filter toolbar at >=1440px */
#warehouseOverview .wo-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 0 20px 14px;
  background: var(--wo-panel);
  border-bottom: 1px solid var(--wo-line);
}
#warehouseOverview .wo-toolbar .wo-country-control,
#warehouseOverview .wo-toolbar .wo-tax-control {
  display: grid;
  gap: 5px;
  flex: none;
  min-width: 0;
}
#warehouseOverview .wo-toolbar .wo-control-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--wo-muted);
  line-height: 18px;
}
#warehouseOverview .wo-toolbar .wo-country-bar,
#warehouseOverview .wo-toolbar .wo-tax-buttons {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--wo-line-strong);
  border-radius: 8px;
  background: var(--wo-subtle);
  box-sizing: border-box;
}
#warehouseOverview .wo-toolbar .wo-country-tab,
#warehouseOverview .wo-toolbar .wo-tax-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  min-height: 28px;
  width: auto;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--wo-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}
#warehouseOverview .wo-toolbar .wo-country-tab small { display: none; }
#warehouseOverview .wo-toolbar .wo-country-tab .wo-country-count {
  font-size: 11px;
  color: var(--wo-muted);
  font-weight: 400;
}
#warehouseOverview .wo-toolbar .wo-country-tab:hover,
#warehouseOverview .wo-toolbar .wo-tax-button:hover:not(:disabled) {
  color: var(--wo-blue);
  background: rgba(255, 255, 255, 0.65);
}
#warehouseOverview .wo-toolbar .wo-country-tab[aria-pressed="true"],
#warehouseOverview .wo-toolbar .wo-tax-button[aria-pressed="true"] {
  background: var(--wo-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}
#warehouseOverview .wo-toolbar .wo-country-tab[aria-pressed="true"] .wo-country-count {
  color: rgba(255, 255, 255, 0.85);
}
#warehouseOverview .wo-toolbar .wo-controls { flex: none; align-self: end; }
#warehouseOverview .wo-toolbar .wo-period-controls {
  display: flex;
  align-items: flex-end;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}
#warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter {
  display: grid;
  gap: 5px;
  flex: 1 1 108px;
  min-width: 88px;
  max-width: 170px;
}
#warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter > span,
#warehouseOverview .wo-toolbar .wo-period-controls .quote-date-field > span,
#warehouseOverview .wo-toolbar .wo-period-controls .quote-week-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--wo-muted);
  line-height: 18px;
}
#warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter > span small,
#warehouseOverview .wo-toolbar .wo-period-controls .quote-date-field > span small {
  display: none;
}
#warehouseOverview .wo-toolbar .wo-period-controls .quote-date-field {
  display: grid;
  gap: 5px;
  flex: 0 0 132px;
  width: 132px;
  margin: 0;
}
#warehouseOverview .wo-toolbar .wo-period-controls .multi-trigger,
#warehouseOverview .wo-toolbar .wo-period-controls input,
#warehouseOverview .wo-toolbar .wo-period-controls .quote-week-navigation,
#warehouseOverview .wo-toolbar #dashboardReset {
  height: 36px;
  min-height: 36px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 12px;
}
#warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter .multi-trigger,
#warehouseOverview .wo-toolbar .wo-period-controls input {
  width: 100%;
  min-width: 0;
  padding: 0 9px;
  border: 1px solid var(--wo-line-strong);
  background: var(--wo-panel);
  color: var(--wo-text);
}
#warehouseOverview .wo-toolbar .wo-week-reset {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 0 1 316px;
  min-width: 248px;
}
#warehouseOverview .wo-toolbar .wo-week-reset .quote-week-bar {
  display: grid;
  gap: 5px;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
#warehouseOverview .wo-toolbar .wo-period-controls .quote-week-current {
  right: 0;
  height: 18px;
  font-size: 11px;
}
#warehouseOverview .wo-toolbar .wo-period-controls .quote-week-select .multi-trigger {
  height: 34px;
  min-height: 34px;
  padding: 0 6px;
  border: 0;
  border-inline: 1px solid var(--wo-line);
  border-radius: 0;
  background: var(--wo-panel);
  color: var(--wo-blue);
  font-weight: 500;
}
#warehouseOverview .wo-toolbar .wo-period-controls .quote-week-step {
  height: 34px;
  min-height: 34px;
  width: 26px;
  font-size: 18px;
}
#warehouseOverview .wo-toolbar .wo-week-reset #dashboardReset {
  flex: none;
  width: 60px;
  padding: 0 8px;
  font-weight: 500;
}

/* Secondary quick-focus bar: warehouse search + US regions + weight band focus */
#warehouseOverview .wo-quickbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 20px;
  background: var(--wo-soft);
  border-bottom: 1px solid var(--wo-line);
}
#warehouseOverview .wo-quick-left,
#warehouseOverview .wo-band-focus {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
#warehouseOverview .wo-search-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 230px;
  max-width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--wo-line-strong);
  border-radius: 8px;
  background: var(--wo-panel);
  color: var(--wo-muted);
}
#warehouseOverview .wo-search-box:focus-within {
  border-color: var(--wo-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
#warehouseOverview .wo-search-box svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
#warehouseOverview .wo-search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--wo-text);
  font-size: 12px;
}
#warehouseOverview .wo-search-box input::placeholder { color: var(--wo-muted); }
#warehouseOverview .wo-quick-label {
  font-size: 12px;
  color: var(--wo-muted);
  white-space: nowrap;
}
#warehouseOverview .wo-region-pills,
#warehouseOverview .wo-band-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 2px;
  border: 1px solid var(--wo-line);
  border-radius: 7px;
  background: var(--wo-panel);
}
#warehouseOverview .wo-quick-pill {
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--wo-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#warehouseOverview .wo-quick-pill:hover {
  color: var(--wo-blue);
  background: var(--wo-soft);
}
#warehouseOverview .wo-quick-pill[aria-pressed="true"] {
  background: var(--wo-selected);
  color: var(--wo-blue);
  font-weight: 650;
}

/* 5 head-haul channels starting lowest price strip */
#warehouseOverview .wo-summary-section {
  padding: 14px 20px 2px;
  background: var(--wo-soft);
}
#warehouseOverview .wo-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
#warehouseOverview .wo-strip-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--wo-line);
  border-radius: 10px;
  background: var(--wo-panel);
  color: var(--wo-text);
  text-align: left;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
#warehouseOverview .wo-strip-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
#warehouseOverview .wo-strip-card.is-active {
  border-color: var(--wo-blue);
  background: var(--wo-selected);
  box-shadow: 0 0 0 1px var(--wo-blue);
}
#warehouseOverview .wo-strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}
#warehouseOverview .wo-strip-top strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--wo-text);
}
#warehouseOverview .wo-strip-badge {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--wo-subtle);
  color: var(--wo-muted);
  font-size: 11px;
  white-space: nowrap;
}
#warehouseOverview .wo-strip-card.is-active .wo-strip-badge {
  background: var(--wo-blue);
  color: #ffffff;
}
#warehouseOverview .wo-strip-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
#warehouseOverview .wo-strip-price > span,
#warehouseOverview .wo-strip-price > small {
  font-size: 11px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-strip-price > strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--wo-best);
  line-height: 1.15;
}
#warehouseOverview .wo-strip-empty {
  padding: 4px 0;
  font-size: 12px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-strip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-top: 7px;
  border-top: 1px solid var(--wo-line);
  font-size: 11px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-strip-winner {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main comparison body */
#warehouseOverview .wo-matrix-body {
  padding: 0 20px 20px;
  background: var(--wo-soft);
}
#warehouseOverview .wo-matrix-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 13px 2px;
  color: var(--wo-secondary);
  font-size: 12px;
  font-weight: 500;
}
#warehouseOverview .wo-matrix-overview i {
  font-style: normal;
  margin: 0 7px;
  color: var(--wo-line-strong);
}
#warehouseOverview .wo-legend-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#warehouseOverview .wo-legend-pills small {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--wo-line);
  background: var(--wo-panel);
  color: var(--wo-muted);
  font-size: 11px;
  font-weight: 400;
}
#warehouseOverview .wo-legend-pills small.is-best {
  border-color: var(--wo-best-border);
  background: var(--wo-best-bg);
  color: var(--wo-best);
  font-weight: 500;
}
#warehouseOverview .wo-matrix-stack {
  display: grid;
  gap: 14px;
}
#warehouseOverview .wo-matrix-group {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--wo-line);
  border-radius: 12px;
  background: var(--wo-panel);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
#warehouseOverview .wo-matrix-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wo-line);
  background: #fbfcfe;
}
#warehouseOverview .wo-heading-main,
#warehouseOverview .wo-heading-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
#warehouseOverview .wo-warehouse-chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--wo-selected-border);
  border-radius: 6px;
  background: var(--wo-selected);
  color: var(--wo-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
#warehouseOverview .wo-region-badge {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--wo-line);
  background: var(--wo-panel);
  color: var(--wo-secondary);
  font-size: 11px;
  font-weight: 600;
}
#warehouseOverview .wo-heading-sub {
  font-size: 12px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-merge-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--wo-subtle);
  color: var(--wo-muted);
  font-size: 11px;
}
#warehouseOverview .wo-route-count {
  font-size: 12px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-compare-btn {
  padding: 5px 12px;
  border: 1px solid var(--wo-selected-border);
  border-radius: 7px;
  background: var(--wo-selected);
  color: var(--wo-blue);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
#warehouseOverview .wo-compare-btn:hover {
  background: var(--wo-blue);
  border-color: var(--wo-blue);
  color: #ffffff;
}

/* Layout A (default): clean aligned horizontal fare matrix */
#warehouseOverview .wo-matrix-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-inline: contain;
}
#warehouseOverview .wo-matrix {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  background: var(--wo-panel);
}
#warehouseOverview .wo-matrix th,
#warehouseOverview .wo-matrix td {
  position: static;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--wo-line);
  background: var(--wo-panel);
  color: var(--wo-text);
  font-size: 12px;
  line-height: 1.35;
  vertical-align: middle;
  text-align: left;
  box-shadow: none;
  overflow-wrap: anywhere;
}
#warehouseOverview .wo-matrix thead th {
  padding: 9px 12px;
  background: var(--wo-soft);
  color: var(--wo-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
#warehouseOverview .wo-matrix thead th:first-child { width: 11%; padding-left: 16px; }
#warehouseOverview .wo-matrix thead th:nth-child(2) { width: 10%; }
#warehouseOverview .wo-matrix thead th.wo-band-head { width: 14%; text-align: center; }
#warehouseOverview .wo-matrix thead th:last-child { width: 23%; }
#warehouseOverview .wo-matrix .wo-mode-th {
  padding-left: 16px;
  border-right: 1px solid var(--wo-line);
  background: #fcfdff;
}
#warehouseOverview .wo-matrix-mode {
  font-size: 13px;
  font-weight: 700;
  color: var(--wo-text);
}
#warehouseOverview .wo-matrix tbody tr:hover td {
  background: #f8fbff;
}
#warehouseOverview .wo-matrix tbody tr:last-child th,
#warehouseOverview .wo-matrix tbody tr:last-child td {
  border-bottom: 0;
}
#warehouseOverview .wo-matrix-delivery {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--wo-truck-bg);
  color: var(--wo-truck-fg);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
#warehouseOverview .wo-matrix-delivery.is-express {
  background: var(--wo-express-bg);
  color: var(--wo-express-fg);
}
#warehouseOverview .wo-matrix .wo-matrix-price {
  text-align: center;
  padding: 8px 6px;
}
#warehouseOverview .wo-matrix .wo-band-head.is-focused,
#warehouseOverview .wo-matrix .wo-matrix-price.is-focused,
#warehouseOverview .wo-card-price.is-focused {
  background: #eff6ff;
}
#warehouseOverview .wo-matrix .wo-band-head.is-focused {
  color: var(--wo-blue);
}
#warehouseOverview .wo-matrix .wo-band-head.is-dimmed,
#warehouseOverview .wo-matrix .wo-matrix-price.is-dimmed,
#warehouseOverview .wo-card-price.is-dimmed,
#warehouseOverview .wo-card-col-bands span.is-dimmed {
  opacity: 0.45;
}
#warehouseOverview .wo-price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 5px 11px;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  background: var(--wo-subtle);
  color: var(--wo-text);
  transition: transform .12s, border-color .15s, box-shadow .15s, background .15s;
}
#warehouseOverview .wo-price-btn.is-lowest {
  border-color: var(--wo-best-border);
  background: var(--wo-best-bg);
  color: var(--wo-best);
}
#warehouseOverview .wo-price-btn:hover {
  border-color: var(--wo-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}
#warehouseOverview .wo-price {
  font-size: 16px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: inherit;
}
#warehouseOverview .wo-price.is-lowest {
  color: var(--wo-best);
}
#warehouseOverview .wo-missing {
  font-size: 12px;
  color: var(--wo-muted);
  font-style: normal;
}
#warehouseOverview .wo-matrix-source {
  border-left: 1px solid var(--wo-line) !important;
}
#warehouseOverview .wo-source-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
#warehouseOverview .wo-matrix-providers {
  display: grid;
  gap: 3px;
}
#warehouseOverview .wo-matrix-provider {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 7px;
  color: var(--wo-text);
  font-size: 12px;
  line-height: 1.3;
}
#warehouseOverview .wo-matrix-provider b {
  font-weight: 650;
}
#warehouseOverview .wo-matrix-provider small {
  font-size: 11px;
  color: var(--wo-muted);
}
#warehouseOverview .wo-matrix-note {
  display: inline-block;
  font-size: 11px;
  color: var(--wo-muted);
  font-weight: 500;
}
#warehouseOverview .wo-matrix-note.is-best,
#warehouseOverview .wo-matrix-note.is-tie {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wo-best-bg);
  color: var(--wo-best);
  border: 1px solid var(--wo-best-border);
}
#warehouseOverview .wo-matrix-note.is-single {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wo-subtle);
  color: var(--wo-muted);
}
#warehouseOverview .wo-matrix-inline {
  margin-top: 5px;
}
#warehouseOverview .wo-matrix-inline .wo-matrix-provider {
  justify-content: center;
  font-size: 11px;
  gap: 2px 5px;
}
#warehouseOverview .wo-matrix-inline .wo-matrix-note {
  margin-top: 2px;
  padding: 1px 6px;
  font-size: 10px;
}

/* Layout B (switchable): sleek 2-column compact cards without nested box clutter */
#warehouseOverview .wo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
#warehouseOverview .wo-card-col-head {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) 136px;
  gap: 8px;
  padding: 8px 14px;
  background: var(--wo-soft);
  border-bottom: 1px solid var(--wo-line);
  font-size: 11px;
  font-weight: 600;
  color: var(--wo-muted);
}
#warehouseOverview .wo-card-col-head > span:last-child { text-align: right; }
#warehouseOverview .wo-card-col-bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
#warehouseOverview .wo-card-body { padding: 0 14px; }
#warehouseOverview .wo-card-route { border-bottom: 1px solid var(--wo-line); }
#warehouseOverview .wo-card-route:last-child { border-bottom: 0; }
#warehouseOverview .wo-card-delivery {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) 136px;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--wo-line);
}
#warehouseOverview .wo-card-delivery:first-child { border-top: 0; }
#warehouseOverview .wo-compact-route-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
#warehouseOverview .wo-compact-route-tag strong {
  font-size: 12px;
  font-weight: 700;
}
#warehouseOverview .wo-card-prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
#warehouseOverview .wo-card-price {
  min-width: 0;
  text-align: center;
  border-radius: 6px;
  padding: 2px;
}
#warehouseOverview .wo-card-band-label {
  display: none;
  font-size: 10px;
  color: var(--wo-muted);
  margin-bottom: 2px;
}
#warehouseOverview .wo-card-price .wo-price-btn {
  min-width: 0;
  width: 100%;
  padding: 4px 3px;
}
#warehouseOverview .wo-card-price .wo-price { font-size: 14px; }
#warehouseOverview .wo-card-source {
  min-width: 0;
  text-align: right;
}
#warehouseOverview .wo-card-source .wo-matrix-provider {
  justify-content: flex-end;
  font-size: 11px;
}
#warehouseOverview .wo-card-source .wo-matrix-note {
  margin-top: 2px;
  font-size: 10px;
}
#warehouseOverview .wo-card-empty {
  margin: 0;
  padding: 20px 12px;
  text-align: center;
  color: var(--wo-muted);
  font-size: 12px;
}

#warehouseOverview .wo-empty-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--wo-line);
  background: var(--wo-soft);
  color: var(--wo-muted);
  font-size: 12px;
  text-align: left;
}
#warehouseOverview .wo-empty-toggle:hover {
  background: var(--wo-selected);
  color: var(--wo-blue);
}
#warehouseOverview .wo-empty-warehouses {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--wo-panel);
  border: 1px solid var(--wo-line);
  border-radius: 10px;
  color: var(--wo-muted);
  font-size: 12px;
}
#warehouseOverview .wo-empty-warehouses summary { cursor: pointer; padding: 2px 0; font-weight: 500; }
#warehouseOverview .wo-empty-warehouses > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
#warehouseOverview .wo-empty { padding: 32px 20px; text-align: center; font-size: 13px; color: var(--wo-muted); }
#warehouseOverview :is(button, .wo-matrix-scroll):focus-visible { outline: 2px solid var(--wo-blue); outline-offset: 2px; }

/* Full 1..N supplier wide single-screen ranking modal */
dialog.wo-rank-dialog {
  width: min(980px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 25px 70px -12px rgba(15, 23, 42, 0.28), 0 4px 20px -2px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
dialog.wo-rank-dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog.wo-rank-dialog::backdrop {
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(2px);
}
.wo-rank-head {
  flex-shrink: 0;
  padding: 15px 24px 13px;
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.wo-rank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.wo-rank-title-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.wo-rank-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.wo-rank-route-badge {
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}
.wo-rank-wh-single {
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wo-rank-wh-single[hidden],
.wo-rank-warehouses[hidden],
.wo-rank-unquoted[hidden],
.wo-rank-foot-sep[hidden] {
  display: none !important;
}
.wo-rank-subtitle {
  font-size: 12px;
  color: #64748b;
}
.wo-rank-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.wo-rank-warehouses {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}
.wo-rank-wh-label {
  color: #94a3b8;
  white-space: nowrap;
}
.wo-rank-wh-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.wo-rank-wh-pill {
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.wo-rank-wh-pill:hover {
  color: #0f172a;
}
.wo-rank-wh-pill[aria-pressed="true"] {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}
.wo-rank-close {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.wo-rank-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.wo-rank-bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}
.wo-rank-band-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s, box-shadow 0.14s;
}
.wo-rank-band-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.wo-rank-band-card.is-active {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 1px #3b82f6;
}
.wo-rk-band-left {
  min-width: 0;
}
.wo-rk-band-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}
.wo-rank-band-card.is-active .wo-rk-band-name {
  color: #1d4ed8;
}
.wo-rk-band-sub {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-rank-band-card.is-active .wo-rk-band-sub {
  color: #2563eb;
}
.wo-rk-band-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.wo-rk-band-cap {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.2;
}
.wo-rk-band-val {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  line-height: 1.25;
}
.wo-rank-band-card.is-active .wo-rk-band-val {
  color: #059669;
}
.wo-rk-band-none {
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 600;
}
.wo-rank-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  background: #ffffff;
}
.wo-rank-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.wo-rank-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 9px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.wo-rank-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.wo-rank-table tbody tr:last-child td {
  border-bottom: 0;
}
.wo-rank-table .wo-rk-col-rank {
  width: 62px;
  padding-left: 24px;
  padding-right: 8px;
}
.wo-rank-table .wo-rk-col-prov {
  width: 156px;
}
.wo-rank-table .wo-rk-col-days {
  width: 126px;
  text-align: center;
}
.wo-rank-table .wo-rk-col-price {
  width: 204px;
  padding-right: 24px;
  text-align: right;
}
.wo-rk-tr {
  transition: background 0.12s;
}
.wo-rk-tr:hover td {
  background: #f8fafc;
}
.wo-rk-tr.is-best {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf9 55%, #ffffff 100%);
}
.wo-rk-tr.is-best td {
  background: transparent;
  border-bottom-color: #d1fae5;
}
.wo-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.wo-rank-num.is-best {
  border-color: #059669;
  background: #059669;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25);
}
.wo-rank-provider {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.wo-rank-provider strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.wo-rank-tag {
  padding: 2px 6px;
  border-radius: 4px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.wo-rk-days-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wo-rk-days-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wo-rk-days-pill.is-best {
  background: #ffffff;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.wo-rk-days-pill.is-fast {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.wo-rk-days-pill.is-empty {
  background: #f8fafc;
  color: #94a3b8;
  font-weight: 500;
}
.wo-rk-fast-note {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
}
.wo-rk-ship-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wo-rk-ship-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.wo-rk-ship-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.wo-rk-tr.is-best .wo-rk-ship-chip {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d1fae5;
  color: #1e293b;
}
.wo-rk-ship-text {
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
.wo-rk-ship-empty {
  color: #94a3b8;
  font-size: 12px;
}
.wo-rk-valid {
  font-size: 11px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.wo-rk-price-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.wo-rk-diff-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.wo-rk-diff-pill.is-best {
  background: #d1fae5;
  color: #047857;
}
.wo-rk-diff-pill.is-higher {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.wo-rank-price {
  min-width: 84px;
  text-align: right;
  color: #0f172a;
  font-weight: 800;
  white-space: nowrap;
}
.wo-rank-price.is-best {
  color: #059669;
}
.wo-rk-yen {
  font-size: 12px;
  font-weight: 600;
}
.wo-rk-int {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.wo-rk-dec {
  font-size: 12px;
}
.wo-rank-price small {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 1px;
}
.wo-rank-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 11px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
}
.wo-rank-foot-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  flex: 1 1 320px;
  min-width: 0;
}
.wo-rank-unquoted {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}
.wo-rk-unq-label {
  color: #64748b;
}
.wo-rk-unq-chip {
  padding: 2px 8px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
}
.wo-rk-all-quoted {
  color: #059669;
  font-weight: 600;
}
.wo-rank-foot-sep {
  color: #cbd5e1;
}
.wo-rank-foot-note {
  color: #94a3b8;
}
.wo-rank-footer .primary {
  padding: 8px 16px;
  border: 1px solid #2563eb;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}
.wo-rank-footer .primary:hover {
  background: #1d4ed8;
}
.wo-rank-empty {
  margin: 0;
  padding: 36px 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
@media (max-width: 760px) {
  dialog.wo-rank-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }
  .wo-rank-head {
    padding: 12px 14px 10px;
  }
  .wo-rank-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .wo-rank-table .wo-rk-col-rank {
    padding-left: 14px;
  }
  .wo-rank-table .wo-rk-col-price {
    padding-right: 14px;
  }
  .wo-rank-footer {
    padding: 10px 14px;
  }
}

@media (min-width: 1600px) {
  #warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter { max-width: 190px; }
  #warehouseOverview .wo-toolbar .wo-week-reset { flex-basis: 350px; }
}
@media (max-width: 1380px) {
  #warehouseOverview .wo-toolbar { flex-wrap: wrap; }
  #warehouseOverview .wo-toolbar .wo-period-controls { flex-basis: 100%; flex-wrap: wrap; }
  #warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter { flex: 1 1 130px; max-width: none; }
  #warehouseOverview .wo-toolbar .wo-week-reset { flex: 1 1 310px; }
  #warehouseOverview .wo-summary-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  #warehouseOverview .wo-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #warehouseOverview .wo-header { padding: 14px 12px 10px; }
  #warehouseOverview .wo-header h2 { font-size: 17px; }
  #warehouseOverview .wo-toolbar { padding: 0 12px 12px; gap: 8px; }
  #warehouseOverview .wo-toolbar .wo-country-control,
  #warehouseOverview .wo-toolbar .wo-tax-control { flex: 1 1 auto; }
  #warehouseOverview .wo-toolbar .wo-country-bar { width: 100%; justify-content: space-between; }
  #warehouseOverview .wo-toolbar .wo-country-tab { flex: 1; padding-inline: 6px; }
  #warehouseOverview .wo-toolbar .wo-period-controls > .multi-filter { flex: 1 1 calc(50% - 6px); min-width: 110px; }
  #warehouseOverview .wo-toolbar .wo-period-controls .quote-date-field { flex: 1 1 100%; width: 100%; }
  #warehouseOverview .wo-toolbar .wo-week-reset { flex: 1 1 100%; min-width: 0; }
  #warehouseOverview .wo-quickbar { padding: 10px 12px; }
  #warehouseOverview .wo-search-box { width: 100%; }
  #warehouseOverview .wo-quick-left { width: 100%; }
  #warehouseOverview .wo-summary-section { padding: 10px 12px 2px; }
  #warehouseOverview .wo-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #warehouseOverview .wo-matrix-body { padding: 0 10px 12px; }
  #warehouseOverview .wo-matrix-heading { padding: 10px 12px; }
  #warehouseOverview .wo-card-col-head { display: none; }
  #warehouseOverview .wo-card-body { padding: 0 10px; }
  #warehouseOverview .wo-card-delivery { grid-template-columns: 1fr; gap: 6px; }
  #warehouseOverview .wo-card-band-label { display: block; }
  #warehouseOverview .wo-card-source { text-align: left; }
  #warehouseOverview .wo-card-source .wo-matrix-provider { justify-content: flex-start; }
}
@media (max-width: 420px) {
  #warehouseOverview .wo-summary-strip { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  #warehouseOverview .wo-toolbar .wo-period-controls input { font-size: 16px; }
}


/* ==================== Full Warehouse Rate Preview (Redesigned V2) ==================== */
#priceTable:not(.is-overview-page) #dashboardCards {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}
.fw-board {
  --fw-bg: #f4f6fa;
  --fw-surface: #ffffff;
  --fw-surface-2: #f8fafc;
  --fw-surface-3: #f1f5f9;
  --fw-border: #dfe6f0;
  --fw-hair: #edf1f7;
  --fw-text: #0f172a;
  --fw-text-2: #334155;
  --fw-muted: #64748b;
  --fw-faint: #94a3b8;
  --fw-blue: #2563eb;
  --fw-blue-soft: #eff6ff;
  --fw-blue-line: #bfdbfe;
  --fw-green: #047857;
  --fw-green-bright: #059669;
  --fw-green-soft: #ecfdf5;
  --fw-green-line: #a7f3d0;
  --fw-red: #dc2626;
  --fw-red-soft: #fef2f2;
  --fw-red-line: #fecaca;
  --fw-amber: #b45309;
  --fw-amber-soft: #fffbeb;
  --fw-amber-line: #fde68a;
  --fw-purple: #6d28d9;
  --fw-purple-soft: #f5f3ff;
  --fw-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

/* Two-Row Self-Explanatory Control Panel */
.fw-control-panel {
  background: var(--fw-surface);
  border: 1px solid var(--fw-border);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.fw-cp-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 18px;
  border-bottom: 1px solid var(--fw-hair);
  min-height: 48px;
}
.fw-country-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  align-self: stretch;
  overflow-x: auto;
}
.fw-country-tab {
  border: 0;
  background: transparent;
  color: var(--fw-muted);
  padding: 12px 14px 10px;
  font-size: 13.5px;
  font-weight: 550;
  border-bottom: 2.5px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .14s, border-color .14s;
}
.fw-country-tab:hover { color: var(--fw-text); background: transparent; }
.fw-country-tab.active {
  color: var(--fw-blue);
  border-bottom-color: var(--fw-blue);
  font-weight: 700;
}
.fw-country-num {
  font-size: 11px;
  font-weight: 600;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--fw-surface-3);
  color: var(--fw-muted);
}
.fw-country-tab.active .fw-country-num {
  background: var(--fw-blue-soft);
  color: var(--fw-blue);
}

.fw-cp-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 7px 0;
}
.fw-search-input {
  height: 33px;
  width: 220px;
  padding: 0 10px 0 30px;
  border: 1px solid var(--fw-border);
  border-radius: 7px;
  background: var(--fw-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 9px center;
  font-size: 12.5px;
  color: var(--fw-text);
  transition: border-color .14s, box-shadow .14s, background-color .14s;
}
.fw-search-input:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--fw-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

/* Docked Week Bar inside Row 1 */
.fw-week-slot {
  display: inline-flex;
  align-items: center;
}
.fw-week-slot .quote-week-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  width: auto;
  min-width: 0;
}
.fw-week-slot .quote-week-caption { display: none; }
.fw-week-slot .quote-week-navigation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
}
.fw-week-slot .quote-week-step {
  width: 33px;
  height: 33px;
  min-height: 33px;
  border: 1px solid var(--fw-border);
  border-radius: 7px;
  background: var(--fw-surface);
  color: var(--fw-text-2);
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.fw-week-slot .quote-week-current {
  position: static;
  top: auto;
  right: auto;
  height: 33px;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid var(--fw-border);
  border-radius: 7px;
  background: var(--fw-surface);
  color: var(--fw-text-2);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.fw-week-slot .quote-week-current:disabled {
  background: var(--fw-surface-2);
  color: var(--fw-faint);
  border-color: var(--fw-hair);
}
.fw-week-slot .quote-week-select {
  flex: none;
  min-width: 210px;
}
.fw-week-slot .quote-week-select .multi-trigger {
  height: 33px;
  min-height: 33px;
  border: 1px solid var(--fw-border);
  border-radius: 7px;
  background: var(--fw-surface);
  color: var(--fw-text);
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
}

/* Row 2: Clearly Labeled Filters + View Toggles */
.fw-cp-row-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: #fbfcfe;
  border-radius: 0 0 12px 12px;
}
.fw-cp-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fw-fgroup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fw-flabel {
  font-size: 12px;
  font-weight: 600;
  color: var(--fw-muted);
  white-space: nowrap;
}
.fw-chip-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.fw-chip {
  border: 1px solid var(--fw-border);
  background: var(--fw-surface);
  color: var(--fw-text-2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all .12s;
}
.fw-chip:hover {
  border-color: #cbd5e1;
  color: var(--fw-text);
  background: var(--fw-surface-2);
}
.fw-chip.active {
  background: var(--fw-blue-soft);
  border-color: var(--fw-blue-line);
  color: var(--fw-blue);
  font-weight: 650;
}

/* Docked Supplier Multi-Select inside Row 2 */
.fw-supplier-slot {
  display: inline-flex;
  align-items: center;
}
.fw-supplier-slot .multi-filter {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.fw-supplier-slot .multi-filter > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--fw-muted);
  white-space: nowrap;
}
.fw-supplier-slot .multi-filter > span small { display: none; }
.fw-supplier-slot .multi-trigger {
  height: 29px;
  min-height: 29px;
  min-width: 112px;
  max-width: 180px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  background: var(--fw-surface);
  border: 1px solid var(--fw-border);
}

.fw-cp-views {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fw-view-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--fw-surface-3);
  padding: 2px;
  border-radius: 7px;
  gap: 2px;
}
.fw-view-toggle button {
  border: 0;
  background: transparent;
  color: var(--fw-muted);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: all .12s;
}
.fw-view-toggle button:hover { color: var(--fw-text); }
.fw-view-toggle button.active {
  background: var(--fw-surface);
  color: var(--fw-text);
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
}

/* Global Status Line */
.fw-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 4px 9px;
  font-size: 12px;
  color: var(--fw-muted);
}
.fw-meta-bar b {
  color: var(--fw-text);
  font-weight: 650;
  font-family: var(--fw-mono);
}

/* Calm, Airy Matrix Table */
.fw-matrix-wrap {
  background: var(--fw-surface);
  border: 1px solid var(--fw-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,.03);
}
.fw-matrix-scroll { overflow-x: auto; }
table.fw-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 960px;
}
table.fw-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f9fafc;
  border-bottom: 1px solid var(--fw-border);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fw-muted);
  text-align: left;
  white-space: nowrap;
  user-select: none;
}
table.fw-table thead th.fw-sortable { cursor: pointer; transition: color .12s, background .12s; }
table.fw-table thead th.fw-sortable:hover,
table.fw-table thead th.is-sorted { background: var(--fw-blue-soft); color: var(--fw-blue); }
.fw-th-inner { display: inline-flex; align-items: center; gap: 5px; }
.fw-th-sub { font-size: 10.5px; font-weight: 400; color: var(--fw-faint); margin-left: 2px; }
.fw-sort-arrow { font-size: 10px; opacity: .45; }
th.is-sorted .fw-sort-arrow { opacity: 1; color: var(--fw-blue); }

table.fw-table th.fw-col-wh,
table.fw-table td.fw-col-wh {
  position: sticky;
  left: 0;
  z-index: 4;
  width: 170px;
  min-width: 170px;
  background: var(--fw-surface);
}
table.fw-table th.fw-col-del,
table.fw-table td.fw-col-del {
  position: sticky;
  left: 170px;
  z-index: 4;
  width: 72px;
  min-width: 72px;
  text-align: left;
  padding-left: 8px;
  background: var(--fw-surface);
  border-right: 1px solid var(--fw-hair);
}
table.fw-table thead th.fw-col-wh,
table.fw-table thead th.fw-col-del { z-index: 6; background: #f9fafc; }

table.fw-table tbody tr td {
  border-bottom: 1px solid #f1f5f9;
  padding: 0;
  vertical-align: middle;
}
table.fw-table tbody tr.is-wh-alt td,
table.fw-table tbody tr.is-wh-alt td.fw-col-wh,
table.fw-table tbody tr.is-wh-alt td.fw-col-del { background: #fafbfd; }
table.fw-table tbody tr.is-wh-end td,
table.fw-table tbody td.fw-col-wh { border-bottom: 1px solid var(--fw-border); }
table.fw-table tbody tr:last-child td { border-bottom: 0; }
table.fw-table tbody tr:hover td:not(.fw-col-wh) { background: #f3f7ff !important; }
table.fw-table tbody tr.is-row-active td.fw-col-wh {
  background: var(--fw-blue-soft) !important;
  box-shadow: inset 3px 0 0 var(--fw-blue);
}

.fw-wh-cell {
  padding: 11px 12px 11px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fw-wh-top {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.fw-star-btn {
  border: 0;
  background: transparent;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  transition: color .12s, transform .12s;
}
.fw-star-btn:hover { color: #f59e0b; transform: scale(1.12); }
.fw-star-btn.is-pinned { color: #f59e0b; }
.fw-wh-code {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--fw-text);
  font-family: var(--fw-mono);
  letter-spacing: .2px;
}
.fw-wh-region {
  font-size: 11px;
  font-weight: 500;
  color: var(--fw-faint);
  overflow: hidden;
  text-overflow: ellipsis;
}
.fw-wh-meta {
  font-size: 11px;
  color: var(--fw-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding-left: 19px;
}
.fw-wh-fast { color: var(--fw-blue); font-weight: 500; }

.fw-del-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--fw-text-2);
  white-space: nowrap;
}
.fw-del-dot { width: 6px; height: 6px; border-radius: 99px; flex-shrink: 0; }
.fw-del-dot.is-truck { background: var(--fw-blue); }
.fw-del-dot.is-express { background: #f59e0b; }

.fw-pcell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px 16px;
  min-height: 58px;
  cursor: pointer;
  transition: background .12s;
}
.fw-pcell.is-selected {
  background: #e0edff !important;
  box-shadow: inset 0 0 0 1.5px var(--fw-blue);
}
.fw-prow-1 { display: flex; align-items: baseline; gap: 6px; }
.fw-pval {
  font-family: var(--fw-mono);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--fw-text);
}
.fw-pval.is-best { color: var(--fw-green); }
.fw-pval.is-single { color: var(--fw-text-2); font-weight: 600; }
.fw-pyen { font-size: 11px; font-weight: 500; opacity: .65; margin-right: 1px; }
.fw-diff { font-family: var(--fw-mono); font-size: 11px; font-weight: 600; white-space: nowrap; }
.fw-diff.is-higher { color: #d97706; }
.fw-diff.is-lower { color: var(--fw-green-bright); }
.fw-diff.is-same { color: var(--fw-faint); font-weight: 400; }

.fw-prow-2 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--fw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fw-pprov { color: var(--fw-text-2); font-weight: 500; }
.fw-psep { color: #cbd5e1; }
.fw-pdays.is-faster { color: var(--fw-blue); font-weight: 500; }
.fw-pcnt { color: var(--fw-faint); font-size: 10.5px; }
.fw-pempty {
  height: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: #cbd5e1;
  font-size: 13px;
}

.fw-feecell {
  padding: 9px 14px;
  cursor: pointer;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.fw-feecell.is-selected {
  background: #e0edff !important;
  box-shadow: inset 0 0 0 1.5px var(--fw-blue);
}
.fw-fee-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.fw-fee-mini {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--fw-surface-3);
  color: var(--fw-text-2);
  white-space: nowrap;
}
.fw-fee-mini.is-free {
  background: var(--fw-green-soft);
  color: var(--fw-green);
  font-weight: 600;
}

.fw-empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--fw-muted);
  font-size: 13px;
}
.fw-empty-footer {
  border-top: 1px solid var(--fw-border);
  background: var(--fw-surface-2);
  padding: 9px 16px;
  font-size: 12px;
  color: var(--fw-muted);
}
.fw-empty-footer summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fw-empty-footer summary::-webkit-details-marker { display: none; }
.fw-empty-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fw-empty-chip {
  font-family: var(--fw-mono);
  font-size: 11px;
  padding: 2px 7px;
  background: var(--fw-surface);
  border: 1px solid var(--fw-border);
  border-radius: 4px;
  color: var(--fw-muted);
}

/* ==================== Centered Wide Detail Modal (#fwDetailDialog) ==================== */
dialog.fw-dialog {
  width: min(1240px, 95vw);
  max-width: none;
  max-height: 88vh;
  padding: 0;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15,23,42,.22), 0 4px 14px rgba(15,23,42,.08);
  overflow: hidden;
}
dialog.fw-dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog.fw-dialog::backdrop {
  background: rgba(15,23,42,.36);
  backdrop-filter: blur(2px);
}
.fw-dialog-head {
  padding: 14px 20px 12px;
  border-bottom: 1px solid #dfe6f0;
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.fw-dialog-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fw-dialog-wh {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.fw-dbadge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.fw-dbadge.is-ddp { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.fw-dbadge.is-exp { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.fw-dialog-sub { margin: 4px 0 0; font-size: 11.5px; color: #64748b; }
.fw-dialog-close {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #dfe6f0;
  background: #fff;
  color: #334155;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.fw-dialog-close:hover { background: #f1f5f9; color: #0f172a; }

.fw-dialog-switch-row {
  padding: 8px 20px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fw-dialog-channels { display: flex; align-items: center; gap: 6px; overflow-x: auto; }
.fw-dchan-pill {
  border: 1px solid #dfe6f0;
  background: #f8fafc;
  color: #334155;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}
.fw-dchan-pill:hover { border-color: #bfdbfe; color: #2563eb; }
.fw-dchan-pill.active { background: #0f172a; border-color: #0f172a; color: #fff; font-weight: 600; }

.fw-seg {
  display: inline-flex;
  background: #f1f5f9;
  padding: 2px;
  border-radius: 6px;
  gap: 2px;
}
.fw-seg button {
  border: 0;
  background: transparent;
  color: #334155;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.fw-seg button.active {
  background: #fff;
  color: #2563eb;
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
}

.fw-dialog-tabs {
  padding: 0 20px;
  border-bottom: 1px solid #dfe6f0;
  display: flex;
  gap: 18px;
  background: #fff;
}
.fw-dtab {
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
}
.fw-dtab:hover { color: #0f172a; }
.fw-dtab.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 650; }

.fw-dialog-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 20px;
}

/* Modal Ranking Table */
table.fw-rank-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.fw-rank-table th {
  padding: 8px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #dfe6f0;
  text-align: center;
  white-space: nowrap;
}
table.fw-rank-table th:first-child,
table.fw-rank-table td:first-child { text-align: left; padding-left: 10px; }
table.fw-rank-table th:last-child,
table.fw-rank-table td:last-child { width: 108px; text-align: center; }
table.fw-rank-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #edf1f7;
  text-align: center;
  vertical-align: middle;
}
table.fw-rank-table tr.fw-rk-row:hover td { background: #f8fbff; }
table.fw-rank-table tr.fw-rk-row.is-expanded td { background: #f0f6ff; border-bottom-color: transparent; }
table.fw-rank-table tr.fw-rk-row.is-expanded td:first-child { box-shadow: inset 3px 0 0 #2563eb; }

.fw-rk-num {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: #f1f5f9;
  color: #64748b;
  margin-right: 7px;
}
.fw-rk-num.r1 { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.fw-rk-price-line { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.fw-rk-price {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 750;
  color: #0f172a;
}
.fw-rk-price.is-best { color: #047857; }
.fw-rk-price.is-high { color: #dc2626; }
.fw-rk-tag {
  font-size: 9.5px;
  font-weight: 650;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
}
.fw-rk-tag.is-best { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.fw-rk-tag.is-high { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.fw-rk-days { display: block; font-size: 10.5px; color: #64748b; margin-top: 2px; }

.fw-rk-detail-btn {
  border: 1px solid #dfe6f0;
  background: #fff;
  color: #334155;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.fw-rk-detail-btn:hover { border-color: #bfdbfe; color: #2563eb; background: #eff6ff; }
.fw-rk-detail-btn.is-open { background: #2563eb; border-color: #2563eb; color: #fff; }
.fw-expand-all-btn {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .12s;
}
.fw-expand-all-btn:hover,
.fw-expand-all-btn.is-all-open { background: #2563eb; border-color: #2563eb; color: #fff; }

/* Calm Single-Row 13-Item Surcharge Strip inside Modal */
tr.fw-sc-row td {
  padding: 2px 14px 16px !important;
  background: #fafcff;
  border-bottom: 1px solid #dfe6f0;
  text-align: left !important;
}
.fw-sc-panel {
  background: #fff;
  border: 1px solid #e6eef9;
  border-radius: 9px;
  padding: 10px 14px 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.fw-sc-strip {
  display: grid;
  grid-template-columns: 7fr 6fr;
  gap: 18px;
  align-items: start;
}
.fw-sc-group { display: flex; flex-direction: column; min-width: 0; }
.fw-sc-group.is-rules { padding-left: 18px; border-left: 1px solid #dfe6f0; }
.fw-sc-bar {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .2px;
  margin-bottom: 7px;
}
.fw-sc-grid-7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.fw-sc-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.fw-sc-item {
  padding: 4px 4px 5px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  transition: background .12s;
}
.fw-sc-item:hover { background: #f8fafc; }
.fw-sc-k { font-size: 10.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-sc-vrow { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.fw-sc-v {
  font-size: 12px;
  font-weight: 650;
  color: #0f172a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fw-sc-item.is-best .fw-sc-v { color: #047857; font-weight: 750; }
.fw-sc-item.is-high .fw-sc-v { color: #c2410c; font-weight: 600; }
.fw-sc-item.is-conflict .fw-sc-v { color: #b45309; font-weight: 650; }
.fw-sc-dot { width: 5px; height: 5px; border-radius: 99px; flex-shrink: 0; background: #059669; }
.fw-sc-sub { font-size: 9.5px; line-height: 1.2; color: #059669; font-weight: 600; }
.fw-sc-sub.is-high { color: #ea580c; font-weight: 500; opacity: .78; }
.fw-sc-sub.is-conflict { color: #b45309; }

.fw-sc-orig {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #edf1f7;
  font-size: 11px;
  color: #64748b;
}
.fw-sc-orig summary { cursor: pointer; font-weight: 500; color: #64748b; font-size: 11px; }
.fw-sc-orig summary:hover { color: #2563eb; }
.fw-sc-orig-list { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; color: #334155; }
.fw-sc-orig-item { padding: 6px 8px; background: #f8fafc; border-radius: 6px; line-height: 1.55; }
.fw-sc-orig-meta { color: #64748b; font-size: 11px; display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2px; }

/* Tab 2: 13-Item Horizontal Table */
.fw-h13-scroll { overflow-x: auto; border: 1px solid #dfe6f0; border-radius: 8px; }
table.fw-h13-table { width: 100%; border-collapse: collapse; min-width: 1120px; font-size: 11.5px; }
table.fw-h13-table th {
  padding: 8px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  border-bottom: 1px solid #dfe6f0;
  border-right: 1px solid #edf1f7;
  text-align: left;
  white-space: nowrap;
}
table.fw-h13-table th.grp-start,
table.fw-h13-table td.grp-start { border-left: 2px solid #cbd5e1; }
table.fw-h13-table td {
  padding: 8px;
  border-bottom: 1px solid #edf1f7;
  border-right: 1px solid #edf1f7;
  vertical-align: top;
  color: #334155;
}
table.fw-h13-table th:first-child,
table.fw-h13-table td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  border-right: 1px solid #dfe6f0;
  min-width: 100px;
}
table.fw-h13-table thead th:first-child { background: #f8fafc; z-index: 3; }
table.fw-h13-table td.is-best { background: #f2fdf8; color: #047857; font-weight: 650; }
table.fw-h13-table td.is-high { background: #fff7f7; color: #dc2626; font-weight: 600; }

/* Copy Summary Inline Box */
.fw-copy-box {
  margin: 0 20px 12px;
  border: 1px solid #bfdbfe;
  background: #f8fbff;
  border-radius: 8px;
  overflow: hidden;
}
.fw-copy-head {
  padding: 6px 12px;
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #2563eb;
  font-weight: 600;
}
.fw-copy-head-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fw-copy-mode {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: #334155;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}
.fw-copy-mode.active { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.fw-copy-text {
  margin: 0;
  padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.6;
  color: #0f172a;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 165px;
  overflow-y: auto;
  background: #fff;
}

/* Modal Footer */
.fw-dialog-foot {
  padding: 11px 20px;
  border-top: 1px solid #dfe6f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #64748b;
}
.fw-dialog-foot-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fw-btn-secondary {
  border: 1px solid #dfe6f0;
  background: #fff;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .12s;
}
.fw-btn-secondary:hover { border-color: #bfdbfe; color: #2563eb; background: #eff6ff; }
.fw-btn-secondary.is-copied { border-color: #a7f3d0; color: #047857; background: #ecfdf5; }
.fw-btn-primary {
  border: 0;
  background: #2563eb;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.fw-btn-primary:hover { background: #1d4ed8; }

@media (max-width: 1160px) {
  .fw-sc-strip { grid-template-columns: 1fr; gap: 12px; }
  .fw-sc-group.is-rules { padding-left: 0; border-left: 0; padding-top: 10px; border-top: 1px solid #edf1f7; }
}
@media (max-width: 760px) {
  .fw-cp-row-1, .fw-cp-row-2 { padding-inline: 12px; }
  .fw-search-input { width: 100%; }
  .fw-cp-utilities { width: 100%; }
  table.fw-table th.fw-col-wh, table.fw-table td.fw-col-wh,
  table.fw-table th.fw-col-del, table.fw-table td.fw-col-del { position: static; }
  .fw-sc-grid-7, .fw-sc-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
