:root{--ink:#182728;--muted:#76838b;--teal:#267465;--mint:#e8f3ef;--line:#e3e9eb;--bg:#fff;--sidebar:#f7f9fa;--amber:#a56818;--amberbg:#fff8e9;--radius:10px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.55}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button{border:1px solid transparent;background:none;color:inherit;border-radius:8px;font-size:13px;font-weight:550;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s}button:disabled{opacity:.5;cursor:wait}button:hover{background:var(--mint)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #84b7ac;outline-offset:3px}input,select{min-height:42px;border:1px solid #dce4e7;border-radius:8px;padding:9px 12px;background:white;color:var(--ink);font-size:13px;width:100%}input::placeholder{color:#96a1a7}input[type=checkbox]{width:17px;height:17px;min-height:auto;accent-color:var(--teal)}label{display:block;font-size:13px;font-weight:550;margin-bottom:7px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.8px;font-weight:700;line-height:1.3}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;flex-shrink:0}.muted{color:var(--muted);font-size:12px}.error{color:#a43232;font-size:13px;margin-top:12px}.outline{border-color:#b5cfc8;color:var(--teal);background:white}.primary{background:var(--teal);color:white}.primary:hover{background:#1b5b4f}.full{width:100%}.text-button{color:var(--teal);padding:4px 0}.sidebar{position:fixed;left:0;top:0;bottom:0;width:212px;background:var(--sidebar);border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:13px;align-items:center;color:var(--ink);padding:0 9px;margin-bottom:39px}.brand:hover{text-decoration:none}.brand img{width:47px;height:47px}.brand div{font-size:24px;letter-spacing:1px;font-weight:750}.brand span{display:block;font-size:10px;letter-spacing:1.8px;font-weight:550;color:#647078}.sidebar nav{display:grid;gap:9px}.sidebar nav button{width:100%;justify-content:flex-start;gap:16px;padding:13px 17px;font-size:14px;font-weight:500;color:#56636e}.sidebar nav .active{background:var(--mint);color:var(--teal);font-weight:650}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:22px 3px 0;display:flex;align-items:flex-start;gap:10px;font-size:12px}.sidebar-bottom small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.sidebar-bottom button{margin-left:auto;padding:0 3px;color:var(--muted)}.workspace-dot{width:8px;height:8px;border-radius:50%;background:var(--teal);margin-top:6px}.sidebar-bottom .icon{width:16px}main{margin-left:212px;padding:36px 34px 24px;max-width:1800px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-header p{font-size:14px;color:#63717a;margin-top:8px}.header-actions{display:flex;align-items:center;gap:17px;white-space:nowrap}.header-actions .outline{padding:10px 15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);background:#fbfcfc;padding:21px 0;margin-bottom:18px}.stat{text-align:center;border-right:1px solid var(--line)}.stat:last-child{border-right:none}.stat-label{font-size:12px;color:#6e7b82;margin-bottom:5px}.stat-value{font-size:28px;font-weight:620;line-height:1.3;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-note{font-size:10px;color:#829096;margin-left:5px;font-weight:400;letter-spacing:0}.notice{display:flex;align-items:center;gap:11px;padding:13px 17px;border:1px solid #f4dfb3;border-radius:8px;background:var(--amberbg);color:var(--amber);font-size:12px;margin-bottom:18px}.notice strong{font-weight:600}.notice button{margin-left:auto;color:var(--teal);white-space:nowrap;padding:0}.notice.soft{background:#f5f8f7;border-color:var(--line);color:#697a72}.tabs{display:flex;gap:9px;align-items:center;margin-bottom:12px;overflow:auto}.tabs button{white-space:nowrap;padding:9px 14px}.tabs .active{background:var(--mint);color:var(--teal)}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:16px}.search-wrap{position:relative;flex:1;min-width:180px}.search-wrap .icon{position:absolute;left:13px;top:12px;color:#798991;width:17px}.search-wrap input{padding-left:39px}.filters select{width:auto;min-width:126px}.filters .lowprice{white-space:nowrap;display:flex;align-items:center;gap:6px;font-size:12px;color:#5b6c70;margin:0;padding:0 4px}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}th{background:#f5f8f9;color:#76818a;font-size:11px;font-weight:550;padding:13px 16px;letter-spacing:.2px}td{padding:17px 16px;border-top:1px solid var(--line);font-size:12px;vertical-align:middle}th:nth-child(1){width:15%}th:nth-child(2){width:29%}th:nth-child(3){width:16%}th:nth-child(4){width:17%}th:nth-child(5){width:13%}th:nth-child(6){width:10%}.vendor-name{font-size:13px;font-weight:650;overflow-wrap:anywhere}.vendor-dot{display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;background:#f1f5f4;color:#496b62;border:1px solid #e3ebe8;border-radius:6px;margin-right:7px;font-size:10px;font-weight:600}.product-name{font-size:12px;font-weight:580;max-width:100%;padding:0;justify-content:flex-start;text-align:left;line-height:1.5}.product-name:hover{background:none;color:var(--teal)}.subline{display:block;font-size:10px;color:#899399;margin-top:5px;line-height:1.5;overflow-wrap:anywhere}.reason{display:block;font-size:10px;color:var(--teal);margin-top:6px}.price{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.price small{font-size:10px;font-weight:400;color:var(--muted);margin-left:4px}.status{display:inline-flex;gap:5px;align-items:center;border-radius:15px;padding:4px 8px;font-size:10px;font-weight:550;white-space:nowrap;color:#73818b;background:#f0f3f5}.status.available{color:#237562;background:#e9f5ef}.status.soldout{color:#8d7666;background:#f6f1ec}.status.error{margin:0;color:#ab7231;background:#fff4e2}.status i{width:4px;height:4px;border-radius:50%;background:currentColor}.row-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.star-button{padding:3px;color:#94a0a6}.star-button.on{color:#af872d}.star-button.on svg{fill:#fff0b9}.row-link{font-size:11px;font-weight:550;white-space:nowrap}.row-actions .icon{width:17px;height:17px}.list-summary{margin:12px 1px 20px;color:#869199;font-size:11px;display:flex;justify-content:space-between;gap:10px}.sources-section{margin-top:22px;border:1px solid var(--line);border-radius:10px;background:#fff}.sources-section summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:17px 18px;font-size:13px;font-weight:600;list-style:none}.sources-section summary:after{content:'+';color:#82918a;font-size:17px}.sources-section[open] summary:after{content:'−'}.source-list{border-top:1px solid var(--line);padding:0 18px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #f0f3f4}.source-row:last-child{border-bottom:none}.source-row .source-info{flex:1}.source-name{font-size:12px;font-weight:600}.source-meta{font-size:11px;color:var(--muted)}.source-row>a{font-size:11px;white-space:nowrap}.empty{text-align:center;padding:64px 20px;color:#7b8990;border:1px dashed #dce5e3;border-radius:10px;background:#fcfdfd}.empty .icon{width:30px;height:30px;margin:0 auto 14px;color:#b3c2bc}.empty strong{display:block;font-size:15px;font-weight:550;color:#576963}.empty p{font-size:12px;margin-top:8px}.page-foot{font-size:10px;color:#8c979d;display:flex;align-items:center;gap:7px;margin-top:24px}.foot-dot{width:5px;height:5px;border-radius:50%;background:#93b5a9}.foot-right{margin-left:auto;letter-spacing:1px;font-size:9px}.settings-layout{max-width:850px}.settings-panel{border:1px solid var(--line);border-radius:10px;margin-bottom:20px;padding:24px}.settings-panel>p{font-size:12px;color:var(--muted);margin:6px 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .span2{grid-column:span 2}.field-help{font-size:11px;color:var(--muted);margin-top:5px}.toggle-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:450}.toggle-row input{margin:3px 0}.toggle-row small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px}.form-actions .muted{flex-basis:100%}.settings-divider{height:1px;background:var(--line);margin:24px 0}.event-row{display:flex;align-items:flex-start;gap:15px;padding:21px 0;border-bottom:1px solid var(--line)}.event-icon{background:var(--mint);color:var(--teal);padding:9px;border-radius:9px}.event-row h3{font-size:13px}.event-row p{font-size:12px;color:var(--muted);margin-top:4px}.event-row time{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.history-help{margin-bottom:20px;color:var(--muted);font-size:12px}dialog{width:min(600px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--ink);box-shadow:0 30px 100px #10262026}dialog::backdrop{background:#15292355;backdrop-filter:blur(3px)}dialog h2{margin-bottom:4px}dialog p{font-size:13px;color:var(--muted);margin-bottom:18px}.detail-grid{display:grid;grid-template-columns:100px 1fr;font-size:12px;gap:10px 15px;margin:20px 0}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;overflow-wrap:anywhere}.description{white-space:pre-wrap;background:#f7f9f8;padding:15px;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:20px;max-height:240px;overflow:auto}.dialog-actions{display:flex;gap:12px;margin-bottom:18px}.dialog-actions a{font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243c34;color:white;padding:13px 20px;border-radius:9px;box-shadow:0 5px 30px #18272822;font-size:13px;z-index:10;max-width:90%;text-align:center}.auth-wrap{min-height:100vh;display:grid;place-items:center;background:#f7faf8;padding:24px}.auth-card{background:white;border:1px solid #dfe8e3;border-radius:16px;padding:42px;width:min(430px,100%);box-shadow:0 10px 60px #17382906}.auth-mark{width:50px}.brand-title{font-size:22px;font-weight:700;margin:10px 0 32px}.brand-title span{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin-left:8px;font-weight:500}.auth-card h1{font-size:23px;margin-bottom:9px}.auth-card>p{color:var(--muted);font-size:13px;margin-bottom:25px}.auth-card .primary{margin-top:20px;padding:12px}.auth-foot{font-size:10px;color:#9ca8a1;margin-top:30px;text-align:center}#auth-hint{margin-top:8px}[hidden]{display:none!important}
@media(min-width:1600px){main{padding-left:50px;padding-right:50px}.page-header{margin-bottom:35px}td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1150px){.sidebar{width:184px;padding:26px 11px}.brand{gap:10px}.brand img{width:39px}.brand div{font-size:22px}main{margin-left:184px;padding:28px 22px}.header-actions>.muted{display:none}th,td{padding-left:10px;padding-right:10px}.vendor-dot{display:none}.filters{flex-wrap:wrap}.search-wrap{flex-basis:45%}.filters select{min-width:110px}.product-name{font-size:11px}}
@media(max-width:760px){.sidebar{position:sticky;top:0;width:100%;height:auto;z-index:3;padding:12px 15px 0;border-right:none;border-bottom:1px solid var(--line);background:#fafcfb}.brand{margin:0 0 10px;padding:0;gap:9px}.brand img{width:31px;height:31px}.brand div{font-size:18px;display:flex;align-items:baseline;gap:9px}.brand span{font-size:9px}.sidebar nav{display:flex;gap:3px;padding-bottom:8px}.sidebar nav button{padding:8px 9px;justify-content:center;gap:6px;font-size:11px;white-space:nowrap}.sidebar nav .icon{width:15px;height:15px}.sidebar-bottom{position:absolute;top:15px;right:15px;border:none;margin:0;padding:0}.sidebar-bottom>span{display:none}.sidebar-bottom button{padding:5px}main{margin-left:0;padding:24px 16px}.page-header{gap:10px;margin-bottom:21px;align-items:flex-start}h1{font-size:25px}.page-header p{font-size:11px;margin-top:7px}.header-actions .outline{padding:8px 9px;font-size:11px}.header-actions .icon{width:15px;height:15px}.stats{padding:15px 0;gap:0}.stat-label{font-size:10px}.stat-value{font-size:23px}.stat-note{display:none}.notice{padding:11px;font-size:10px;gap:7px;align-items:flex-start}.notice>.icon{width:15px;height:15px;margin-top:2px}.notice .notice-detail{display:none}.notice button{font-size:10px;margin-top:1px}.tabs{gap:3px}.tabs button{padding:8px 10px;font-size:11px}.filters{gap:8px}.search-wrap{flex-basis:100%}.filters select{flex:1;min-width:0;font-size:11px;min-height:36px;padding:7px}.filters .lowprice{font-size:10px;flex-basis:100%;padding:2px 0}thead{display:none}table,tbody{display:block}tr{display:grid;grid-template-columns:1fr auto;padding:16px 14px;gap:5px 12px;border-bottom:1px solid var(--line)}tr:last-child{border-bottom:none}td{border:none;display:block;padding:0;min-width:0}td:nth-child(1){grid-column:1;grid-row:1}.vendor-name{font-size:12px}td:nth-child(2){grid-column:1;grid-row:2}.product-name{font-size:12px}td:nth-child(3){grid-column:1;grid-row:3;font-size:10px;color:var(--muted)}td:nth-child(3) .subline{display:inline;margin-left:5px}td:nth-child(4){grid-column:2;grid-row:1 / span 2;text-align:right;align-self:center}.price{font-size:16px}.price small{font-size:9px}td:nth-child(5){grid-column:1;grid-row:4;display:flex;gap:9px;align-items:center;margin-top:4px}td:nth-child(5) .subline{margin:0}td:nth-child(6){grid-column:2;grid-row:3 / span 2;align-self:end}.row-actions{justify-content:flex-end;gap:10px}.subline{font-size:9px;margin-top:3px}.reason{font-size:9px}.list-summary{font-size:10px;display:block}.list-summary span{display:block;margin-bottom:4px}.sources-section summary{font-size:12px;padding:14px}.source-list{padding:0 13px}.source-row{gap:8px}.source-row .status{font-size:9px}.source-meta{font-size:10px}.source-row>a{font-size:10px}.page-foot{font-size:9px}.foot-right{display:none}.settings-panel{padding:19px}.form-grid{grid-template-columns:1fr;gap:16px}.form-grid .span2{grid-column:1}.settings-panel h2{font-size:16px}.event-row{gap:10px}.event-row time{font-size:9px;white-space:normal;max-width:62px}.event-row h3{font-size:12px}.event-row p{font-size:10px}.event-icon{padding:6px}.auth-card{padding:28px}.auth-card h1{font-size:21px}.detail-grid{grid-template-columns:80px 1fr}dialog{padding:22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.source-row .text-button{font-size:11px;white-space:nowrap}.source-info{min-width:0}.source-meta{overflow-wrap:anywhere}
@media(max-width:640px){.source-row{flex-wrap:wrap}.source-row .source-info{flex-basis:100%}.filters #vendor{max-width:100%}}
