:root{color:#18231f;background:#f4f3ee;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #f4f3ee;--surface: #fffefa;--surface-soft: #faf9f5;--ink: #18231f;--ink-soft: #3d4b45;--muted: #7d8983;--muted-light: #a2aaa6;--line: #e6e4dd;--line-strong: #d8d6ce;--green: #2c8169;--green-dark: #1e6956;--green-soft: #eaf4ef;--amber: #b67542;--danger: #aa4b44;--shadow: 0 1px 2px rgba(29, 42, 36, .03), 0 12px 35px rgba(29, 42, 36, .04)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--paper)}body{min-width:320px;min-height:100vh;margin:0;color:var(--ink);background:radial-gradient(circle at 82% 0%,rgba(64,148,119,.06),transparent 28rem),var(--paper)}button,input{font:inherit}button{color:inherit;-webkit-tap-highlight-color:transparent}button:not(:disabled){cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid rgba(44,129,105,.62);outline-offset:2px}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:20;display:flex;height:72px;align-items:center;gap:38px;padding:0 max(30px,calc((100vw - 1450px)/2));border-bottom:1px solid rgba(218,216,208,.78);background:#faf9f5e6;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.brand{display:flex;flex:0 0 auto;align-items:center;gap:11px}.brand-mark{position:relative;width:37px;height:37px;border-radius:11px;background:#1c2b26;box-shadow:0 7px 16px #1728211f}.brand-mark i{position:absolute;width:8px;height:8px;border-radius:2px;background:#69c5a6}.brand-mark i:nth-child(1){top:9px;left:9px}.brand-mark i:nth-child(2){top:9px;right:9px;opacity:.48}.brand-mark i:nth-child(3){bottom:9px;left:9px;opacity:.72}.brand strong,.brand small{display:block}.brand strong{font-size:15px;font-weight:720;letter-spacing:.05em}.brand small{margin-top:2px;color:#8c9690;font-size:8px;letter-spacing:.08em}.main-nav{display:flex;height:100%;align-items:center;gap:5px}.main-nav button{position:relative;display:flex;height:38px;align-items:center;gap:7px;padding:0 11px;border:0;border-radius:9px;color:#7b8680;background:transparent;font-size:10px;font-weight:600}.main-nav button.is-active{color:#25473d;background:#eaf2ed}.main-nav button:disabled{opacity:.58}.main-nav button span{margin-left:2px;padding:2px 5px;border-radius:4px;color:#9ca49f;background:#ffffff8c;font-size:6px;font-weight:500}.topbar-status{display:flex;align-items:center;gap:7px;margin-left:auto;padding:7px 10px;border:1px solid var(--line);border-radius:20px;color:#77837d;background:#ffffff85;font-size:8px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#46b68f;box-shadow:0 0 0 3px #46b68f1a}.main-content{width:min(1450px,calc(100% - 60px));margin:0 auto;padding:38px 0 70px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:25px}.eyebrow{display:block;margin-bottom:7px;color:#89938e;font-size:8px;font-weight:720;letter-spacing:.16em}.page-heading h1{margin:0;color:#17221e;font-size:clamp(32px,4vw,44px);font-weight:730;letter-spacing:-.055em;line-height:1.08}.page-heading p{margin:9px 0 0;color:#7c8782;font-size:10px;line-height:1.7}.refresh-button{display:inline-flex;height:39px;align-items:center;gap:7px;padding:0 15px;border:1px solid var(--line-strong);border-radius:10px;color:#4f5c56;background:#ffffffab;font-size:9px;font-weight:650;transition:background .15s ease,transform .15s ease,box-shadow .15s ease}.refresh-button:hover:not(:disabled){background:#fff;box-shadow:0 5px 16px #1f2c260f;transform:translateY(-1px)}.refresh-button:disabled{opacity:.55}.is-spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.inventory-summary{display:grid;grid-template-columns:1.35fr repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}.inventory-summary article{display:flex;min-height:112px;flex-direction:column;justify-content:center;padding:18px 20px;border:1px solid var(--line);border-radius:15px;background:#fffefae6;box-shadow:var(--shadow)}.inventory-summary article:not(.summary-primary)>span{color:#8a948f;font-size:8px}.inventory-summary article>strong{display:block;margin:8px 0 3px;color:#27352f;font-size:26px;font-weight:700;letter-spacing:-.05em;line-height:1}.inventory-summary article>small{color:#a0a7a3;font-size:7px}.inventory-summary .date-value{font-size:15px;letter-spacing:-.02em}.summary-primary{flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:14px;border-color:#1d2b26!important;color:#f2f8f5;background:radial-gradient(circle at 88% 0%,rgba(75,191,151,.18),transparent 9rem),#1b2924!important}.summary-icon{display:grid;width:45px;height:45px;flex:0 0 45px;place-items:center;border-radius:13px;color:#8cdec4;background:#66d1ae1c;border:1px solid rgba(128,223,192,.14)}.summary-primary>div>span{color:#a6bbb3;font-size:8px}.summary-primary>div>strong{display:block;margin:4px 0 2px;color:#f4fbf8;font-size:30px;font-weight:700;letter-spacing:-.05em;line-height:1}.summary-primary>div>small{color:#789089;font-size:7px}.error-banner{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:11px 13px;border:1px solid #efd1ce;border-radius:11px;color:#9d463f;background:#fbedeb;font-size:8px}.error-banner>span{flex:1}.error-banner strong{margin-right:7px}.error-banner button{padding:4px 8px;border:0;border-bottom:1px solid currentColor;color:var(--danger);background:transparent;font-size:8px;font-weight:650}.filter-panel{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fffefaeb;box-shadow:var(--shadow)}.search-field{display:flex;height:36px;align-items:center;gap:9px;padding:0 12px;border:1px solid #dcdad2;border-radius:9px;color:#8c9691;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.search-field:focus-within{border-color:#8fbbaa;box-shadow:0 0 0 3px #2c816912}.search-field input{min-width:0;flex:1;border:0;outline:0;color:#293730;background:transparent;font-size:10.5px}.search-field input::placeholder{color:#acb2ae}.search-hint{padding:4px 7px;border:1px solid #ebe8e1;border-radius:5px;color:#9ca39f;background:#faf9f6;font-size:7px;white-space:nowrap}.clear-search{display:grid;width:23px;height:23px;padding:0;place-items:center;border:0;border-radius:6px;color:#83908a;background:#f1f2ed}.type-filter{display:flex;min-width:0;flex:1;flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:none}.type-filter::-webkit-scrollbar{display:none}.search-block{width:220px;flex:0 0 220px}.type-chip{display:inline-flex;height:36px;align-items:center;gap:6px;padding:0 10px;border:1px solid #dcdad2;border-radius:9px;color:#6e7a74;background:#fff;font-size:10px;font-weight:600;transition:color .14s ease,background .14s ease,border-color .14s ease,transform .14s ease}.type-chip b{display:inline-grid;min-width:12px;height:14px;padding:0 3px;place-items:center;border-radius:4px;color:#8b9690;background:#f1f1ec;font-size:6px;font-weight:650}.type-chip.is-active{border-color:#2b6d59;color:#f6fffb;background:#286b57}.type-chip.is-active b{color:#d9f3e9;background:#ffffff1f}.type-chip.all{border-color:#d5dad5;font-weight:650}.result-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:24px 1px 13px}.result-heading h2{margin:0;color:#27352f;font-size:18px;font-weight:680;letter-spacing:-.03em}.result-heading .eyebrow{margin-bottom:4px}.result-count{color:#8d9792;font-family:SFMono-Regular,Consolas,monospace;font-size:9px}.part-grid{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));align-items:start;gap:11px}.part-card{--type-color: #5e8072;--type-soft: #eaf2ee;position:relative;min-width:0;overflow:hidden;border:1px solid #e5e3dc;border-radius:15px;background:#fffefaf0;box-shadow:0 4px 22px #1e2c2609;animation:card-in .33s cubic-bezier(.2,.75,.2,1) both;animation-delay:calc(var(--card-index, 0) * 24ms);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.part-card:hover{border-color:#d6d8d1;box-shadow:0 12px 35px #1e2c2613}@keyframes card-in{0%{opacity:0;transform:translateY(8px)}}.part-card[data-type=cpu]{--type-color: #a86236;--type-soft: #f8ede5}.part-card[data-type=motherboard]{--type-color: #55796a;--type-soft: #eaf2ed}.part-card[data-type=memory]{--type-color: #4b718d;--type-soft: #e9f1f7}.part-card[data-type=ssd]{--type-color: #526da0;--type-soft: #ebeff8}.part-card[data-type=gpu]{--type-color: #ad5c39;--type-soft: #f9eae3}.part-card[data-type=hdd]{--type-color: #6e766f;--type-soft: #eff0ec}.part-card[data-type=case]{--type-color: #897052;--type-soft: #f4eee6}.part-card[data-type=power]{--type-color: #9b753e;--type-soft: #f6efe4}.part-card[data-type=cooler]{--type-color: #347f70;--type-soft: #e8f3ef}.part-card[data-type=monitor]{--type-color: #4c6e91;--type-soft: #eaf0f7}.part-card[data-type=headset]{--type-color: #7b6899;--type-soft: #f0ecf7}.part-card[data-type=keyboard]{--type-color: #58716d;--type-soft: #ebf2f0}.part-card[data-type=mouse]{--type-color: #66708e;--type-soft: #eceef5}.part-card.is-sold{border-color:#ebdcd9}.part-card-header{display:flex;align-items:center;justify-content:space-between;padding:12px 13px 9px}.part-header-identity{display:flex;min-width:0;align-items:center;gap:7px}.part-type-emblem{display:grid;min-width:34px;height:28px;padding:0 7px;place-items:center;border:1px solid color-mix(in srgb,var(--type-color) 14%,white);border-radius:9px;color:var(--type-color);background:var(--type-soft);font-family:SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:750}.part-stock-status{display:inline-flex;align-items:center;gap:5px;color:#548777;font-size:8px;font-weight:600}.part-stock-status i{width:5px;height:5px;border-radius:50%;background:#41ac87;box-shadow:0 0 0 3px #41ac8717}.part-stock-status.is-sold{color:#aa5149}.part-stock-status.is-sold i{background:#c1655d;box-shadow:0 0 0 3px #c1655d17}.part-header-code{padding:4px 6px;border-radius:5px;color:#3f4e47;background:#f4f3ee;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:750;letter-spacing:.04em;white-space:nowrap}.part-main{padding:8px 13px 12px}.part-main h2{margin:0;color:#2c3a34;font-size:17px;font-weight:680;letter-spacing:-.025em}.part-price{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 10px;border:1px solid #e7e5de;border-radius:8px;background:#faf9f5}.part-price p{display:flex;flex-direction:column;gap:3px;margin:0}.part-price p span{color:#8c9691;font-size:8px}.part-price strong{color:#b34f45;font-size:17px;font-weight:720;letter-spacing:-.035em}.part-price-main{display:flex;align-items:flex-end;flex-direction:column;gap:4px}.price-sync-status{height:17px;padding:0 5px;border:1px solid #eadbc6;border-radius:4px;color:#a3753e;background:#fcf5ea;font-size:6px;font-weight:700}.price-sync-status.is-synced{border-color:#d1e4da;color:#3d7e69;background:#edf6f1}.price-sync-status:disabled{cursor:default}.price-frozen{padding:2px 5px;border-radius:4px;color:#a15a50;background:#f9ece9;font-size:6px;font-weight:700}.part-card-footer span{display:inline-flex;align-items:center;gap:5px}.part-card-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 13px 10px;border-top:1px solid #efede7;color:#969f9a;background:#fcfbf7;font-size:8px}.part-detail-button{display:inline-flex;height:24px;align-items:center;gap:2px;padding:0 7px;border:1px solid #dfe2dc;border-radius:6px;color:#61736b;background:#fff;font-size:8px;font-weight:650}.part-detail-button:hover{border-color:#b9cec4;color:#2f6c58;background:#f2f8f5}.part-sell-button{height:27px;padding:0 10px;border:1px solid #cfe0d9;border-radius:7px;color:#2c725e;background:#eef7f2;font-size:8px;font-weight:700}.part-init-row,.part-progress-row,.part-terminal-row{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 13px;padding:8px 0;border-top:1px solid #efede7}.part-init-row>span,.part-progress-row>span,.part-terminal-row>span{flex:0 0 auto;color:#8d9792;font-size:8px}.part-init-row{border-top:0}.sale-progress-value{padding:4px 8px;border-radius:5px;color:#7a8781;background:#f0f1ec;font-size:8px;font-weight:700}.sale-progress-value.is-sold{color:#a04c45;background:#fbecea}.sale-progress-value.is-completed{color:#52645c;background:#e9eeeb}.sale-progress-actions{display:flex;align-items:center;gap:4px}.sale-progress-actions button{height:23px;padding:0 7px;border-radius:5px;font-size:7px;font-weight:700}.sale-progress-actions button:disabled{border-color:#e3e1db;color:#abb0ad;background:#f2f1ec;cursor:not-allowed}.sale-progress-sold{border:1px solid #d1e3da;color:#2f755e;background:#edf6f1}.sale-progress-return{border:1px solid #eed4d1;color:#a14d46;background:#fff7f6}.sale-progress-complete{border:1px solid #283d34;color:#fff;background:#243b31}.listing-status-button{min-width:0;max-width:160px;height:25px;overflow:hidden;padding:0 6px;border:1px solid #dfddd6;border-radius:6px;outline:0;color:#8d8172;background:#faf9f5;font-size:8px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.listing-status-button.is-listed{border-color:#cfe0d8;color:#2f745f;background:#edf6f1}.listing-status-button:disabled{color:#afb4b0;background:#f3f2ed;cursor:not-allowed}.part-sell-button:hover{border-color:#3e8b73;color:#fff;background:#2e7c65}.part-sell-button:disabled{border-color:#e2e1db;color:#a2a9a5;background:#f4f3ee;cursor:not-allowed}.part-order-tail{font-family:SFMono-Regular,Consolas,monospace;font-size:7px;letter-spacing:.04em}.primary-action{display:inline-flex;height:38px;align-items:center;gap:6px;padding:0 14px;border:1px solid #21392f;border-radius:9px;color:#f5fffb;background:#20362d;font-size:9px;font-weight:700;box-shadow:0 6px 18px #1c342a21}.primary-action:hover{background:#2b493d}.management-page{animation:card-in .26s ease both}.management-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.management-heading h1{margin:0;color:#1d2b25;font-size:31px;font-weight:720;letter-spacing:-.045em}.management-heading p{margin:7px 0 0;color:#818c86;font-size:9px}.terminal-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:16px}.terminal-stats article{display:flex;min-height:88px;flex-direction:column;justify-content:center;padding:15px 18px;border:1px solid var(--line);border-radius:13px;background:#fffefae6}.terminal-stats span{color:#8a948f;font-size:8px}.terminal-stats strong{margin-top:6px;color:#2b3a33;font-size:24px;font-weight:700;letter-spacing:-.04em}.terminal-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px}.terminal-card{overflow:hidden;border:1px solid #e5e3dc;border-radius:15px;background:#fffefaf0;box-shadow:var(--shadow)}.terminal-card.is-inactive{opacity:.66}.terminal-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 10px}.terminal-code{color:#293832;font-family:SFMono-Regular,Consolas,monospace;font-size:16px;font-weight:750;letter-spacing:.03em}.terminal-status{padding:3px 7px;border-radius:5px;color:#8b9690;background:#f0f0eb;font-size:7px;font-weight:650}.terminal-status.is-active{color:#347b64;background:#e7f4ee}.terminal-location{display:flex;align-items:center;gap:5px;margin:0 16px;padding-bottom:12px;color:#8a9490;font-size:8px}.terminal-sale-count{margin:0 16px;padding:11px 13px;border:1px solid #e9e8e1;border-radius:10px;background:#faf9f5;color:#87928c;font-size:9px}.terminal-sale-count strong{margin:0 3px;color:#2f6f5b;font-size:15px}.terminal-sale-count span{float:right;color:#48685c;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:700}.terminal-live-list{margin:10px 16px 0;padding-top:10px;border-top:1px solid #eceae4}.terminal-live-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;color:#7d8883;font-size:8px;font-weight:650}.terminal-live-heading b{display:grid;min-width:12px;height:14px;padding:0 3px;place-items:center;border-radius:4px;color:#34765f;background:#eaf4ef;font-size:7px}.terminal-live-item{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:29px;border-top:1px solid #f1efe9}.terminal-live-item>span{color:#4e7466;font-family:SFMono-Regular,Consolas,monospace;font-size:7px;font-weight:700}.terminal-live-item>strong{overflow:hidden;color:#53615a;font-size:8px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.terminal-live-item>b{color:#a95048;font-size:8px}.terminal-live-empty{padding:12px 0;color:#a0a7a3;font-size:8px;text-align:center}.terminal-card>footer{display:flex;justify-content:flex-end;padding:12px 16px}.terminal-card>footer button{display:inline-flex;align-items:center;gap:4px;padding:4px 0;border:0;color:#608276;background:transparent;font-size:8px;font-weight:650}.management-empty{display:flex;min-height:270px;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #dad9d1;border-radius:15px;color:#909a95;background:#ffffff57;font-size:9px;text-align:center}.management-empty h2{margin:10px 0 4px;color:#46554e;font-size:14px}.management-empty p{margin:0 0 15px;font-size:9px}.empty-management-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;color:#718a7f;background:#e9eeea}.sales-record-total{min-width:170px;padding:11px 15px;border:1px solid #d7e4dd;border-radius:11px;background:#edf6f1;text-align:right}.sales-record-total span,.sales-record-total strong{display:block}.sales-record-total span{color:#789187;font-size:7px}.sales-record-total strong{margin-top:3px;color:#286b57;font-size:19px;letter-spacing:-.04em}.sales-table-wrap{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fffefaf0;box-shadow:var(--shadow)}.sales-table{width:100%;border-collapse:collapse;table-layout:fixed}.sales-table th{height:40px;padding:0 16px;color:#939c97;background:#faf9f5;font-size:7px;font-weight:650;text-align:left}.sales-table td{height:65px;padding:10px 16px;border-top:1px solid #efede7;color:#637069;font-size:9px;vertical-align:middle}.sales-table th:first-child{width:27%}.sales-table th:nth-child(2){width:17%}.sales-table th:nth-child(3){width:14%}.sales-table th:nth-child(4){width:20%}.sales-table th:nth-child(5){width:16%}.sales-table th:nth-child(6){width:6%}.sales-table td>strong,.sales-table td>small{display:block}.sales-table td>strong{color:#34423b;font-size:10px}.sales-table td>small{margin-top:3px;color:#949d98;font-size:7px}.sale-part-code{display:inline-block;margin-bottom:4px;padding:2px 5px;border-radius:4px;color:#4c6f62;background:#edf4f0;font-family:SFMono-Regular,Consolas,monospace;font-size:7px;font-weight:700}.sale-price{color:#b34f45!important;font-size:12px!important;font-weight:700}.cancel-sale{padding:4px 7px;border:1px solid #ead6d3;border-radius:6px;color:#a4524b;background:#fff8f7;font-size:7px}.sale-completed-label{display:inline-block;padding:3px 6px;border-radius:4px;color:#66766e;background:#e9eeeb;font-size:7px;font-weight:700}.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:22px;background:#111d186b;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.completion-modal,.terminal-modal,.listing-modal,.listing-terminal-modal,.part-detail-modal{width:min(520px,100%);max-height:calc(100vh - 44px);overflow-y:auto;border:1px solid rgba(255,255,255,.6);border-radius:18px;background:#fffefa;box-shadow:0 24px 70px #141f1b2e;animation:card-in .2s ease both}.part-detail-modal{width:min(820px,100%)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 16px;border-bottom:1px solid #efede7}.modal-header h2{margin:0;color:#293730;font-size:21px;font-weight:700;letter-spacing:-.035em}.modal-header p{margin:5px 0 0;color:#8b9590;font-size:8px}.modal-close{display:grid;width:32px;height:32px;padding:0;place-items:center;border:1px solid #e6e4dd;border-radius:8px;color:#7c8781;background:#faf9f5}.sale-part-preview{display:flex;align-items:center;gap:11px;margin:16px 22px 0;padding:11px;border:1px solid #ece9e2;border-radius:10px;background:#faf9f5}.sale-part-preview>span{padding:5px 7px;border-radius:5px;color:#3d6656;background:#e8f2ed;font-family:SFMono-Regular,Consolas,monospace;font-size:8px;font-weight:700}.sale-part-preview strong,.sale-part-preview small{display:block}.sale-part-preview strong{color:#34423b;font-size:10px}.sale-part-preview small{margin-top:2px;color:#919b96;font-size:7px}.sale-terminal-readonly{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:10px 11px;border:1px solid #dfe6e0;border-radius:8px;background:#f3f8f5}.sale-terminal-readonly span{color:#84918b;font-size:8px}.sale-terminal-readonly strong{color:#2e6f5a;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.completion-modal form,.terminal-modal form,.listing-modal form,.listing-terminal-modal form{padding:18px 22px 22px}.modal-field{display:block;margin-bottom:14px}.modal-field>span{display:block;margin-bottom:6px;color:#59665f;font-size:8px;font-weight:650}.modal-field input,.modal-field select,.modal-field textarea{width:100%;height:39px;padding:0 10px;border:1px solid #dfddd5;border-radius:8px;outline:0;color:#2d3c35;background:#fff;font-size:10px}.modal-field textarea{height:auto;min-height:92px;padding:9px 10px;line-height:1.6;resize:vertical}.modal-field input:focus,.modal-field select:focus,.modal-field textarea:focus{border-color:#82b6a3;box-shadow:0 0 0 3px #2c816912}.money-field{position:relative}.money-field i{position:absolute;top:50%;left:11px;color:#8b9690;font-size:10px;font-style:normal;transform:translateY(-50%)}.money-field input{padding-left:25px}.daily-price-field{position:relative}.daily-price-field input{padding-right:42px;padding-left:25px}.daily-price-field>i,.daily-price-field>span{position:absolute;top:50%;color:#89948e;font-size:8px;font-style:normal;transform:translateY(-50%)}.daily-price-field>i{left:10px}.daily-price-field>span{right:10px}.modal-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:11px}.active-toggle{display:flex;align-items:center;gap:7px;color:#5d6a63;font-size:9px;cursor:pointer}.active-toggle input{position:absolute;opacity:0}.active-toggle>span{position:relative;width:28px;height:16px;border-radius:16px;background:#d8dad5}.active-toggle>span:after{position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#fff;content:"";transition:transform .15s ease}.active-toggle input:checked+span{background:#3d9077}.active-toggle input:checked+span:after{transform:translate(12px)}.form-error{margin:0 0 13px;padding:8px 10px;border:1px solid #efd0cd;border-radius:7px;color:#a34c45;background:#fbedeb;font-size:8px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.listing-actions{align-items:center}.listing-actions>span{flex:1}.listing-summary{margin:12px 22px 0;padding:11px 12px;border:1px solid #e9e6df;border-radius:9px;background:#fbfaf6}.listing-summary>span{color:#929b96;font-size:7px}.listing-summary p{margin:5px 0 9px;color:#4c5b54;font-size:9px;line-height:1.6;white-space:pre-wrap}.listing-summary>div{display:flex;flex-wrap:wrap;gap:6px}.listing-summary>div span{padding:3px 6px;border-radius:4px;color:#66746d;background:#efeee9;font-size:7px}.completion-notice{padding:9px 10px;border:1px solid #eadfcc;border-radius:7px;color:#7f6b4d;background:#fdf7eb;font-size:8px;line-height:1.55}.part-detail-content{padding:18px 22px 24px}.detail-section{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #efede7}.detail-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.detail-section h3{margin:0 0 12px;color:#35443d;font-size:12px;font-weight:700}.detail-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.detail-section-heading h3{margin:0}.detail-section-actions{display:flex;align-items:center;gap:9px}.detail-section-actions>span{color:#919b96;font-size:8px}.photo-download-button{display:inline-flex;height:28px;align-items:center;gap:5px;padding:0 9px;border:1px solid #d7e2dc;border-radius:7px;color:#2f6f5b;background:#f1f8f4;font-size:8px;font-weight:700;text-decoration:none}.photo-download-button:hover{border-color:#9ebfb1;background:#e7f3ed}.detail-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.detail-info-grid>div{min-width:0;padding:10px;border:1px solid #eae8e1;border-radius:8px;background:#faf9f5}.detail-info-grid span,.detail-info-grid strong{display:block}.detail-info-grid span{color:#919a95;font-size:7px}.detail-info-grid strong{margin-top:4px;overflow:hidden;color:#405048;font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.detail-description{margin-top:10px;padding:10px;border:1px solid #eae8e1;border-radius:8px;background:#faf9f5}.detail-description>span{color:#919a95;font-size:7px}.detail-description p{margin:5px 0 0;color:#4f5e56;font-size:9px;line-height:1.65;white-space:pre-wrap}.detail-empty{padding:24px;border:1px dashed #dfe1da;border-radius:9px;color:#929c96;background:#fbfaf7;font-size:8px;text-align:center}.detail-photo-error{margin-bottom:9px;padding:8px 10px;border-radius:6px;color:#a34c45;background:#fbedeb;font-size:8px}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.detail-photo{position:relative;overflow:hidden;aspect-ratio:4 / 3;border:1px solid #e4e2dc;border-radius:9px;background:#f2f1ec}.detail-photo img{width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.detail-photo:hover img{transform:scale(1.03)}.detail-photo span{position:absolute;right:6px;bottom:6px;padding:2px 5px;border-radius:4px;color:#fff;background:#121f19b3;font-size:7px}.button-secondary,.button-primary{height:36px;padding:0 14px;border-radius:8px;font-size:9px;font-weight:700}.button-secondary{border:1px solid #dcdad3;color:#5f6c66;background:#fff}.button-primary{border:1px solid #1e3b2f;color:#fff;background:#20382e}.button-primary:disabled{opacity:.45}.no-terminal-notice{display:flex;align-items:center;gap:10px;margin:16px 22px 22px;padding:13px;border:1px solid #eadfcc;border-radius:10px;color:#806c4b;background:#fdf7eb;font-size:8px}.no-terminal-notice>span{flex:1}.no-terminal-notice strong{display:block;margin-bottom:3px}.no-terminal-notice button{border:0;border-bottom:1px solid currentColor;color:#806a43;background:transparent;font-size:8px;font-weight:700}.skeleton-card{min-height:280px;padding:17px;animation:none}.skeleton{display:block;border-radius:7px;background:linear-gradient(90deg,#efeee9,#f7f6f2,#efeee9);background-size:200% 100%;animation:shimmer 1.4s infinite linear}.skeleton-top{width:42px;height:32px;margin-bottom:22px}.skeleton-code{width:100%;height:35px;margin-bottom:17px}.skeleton-title{width:45%;height:18px;margin-bottom:10px}.skeleton-line{width:76%;height:10px;margin-bottom:40px}.skeleton-value{width:100%;height:44px}@keyframes shimmer{to{background-position:-200% 0}}.empty-state{display:flex;min-height:320px;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d9d8d1;border-radius:16px;background:#ffffff59;text-align:center}.empty-state>span{display:grid;width:51px;height:51px;margin-bottom:13px;place-items:center;border-radius:15px;color:#7f9088;background:#edf0eb}.empty-state h2{margin:0;color:#46554e;font-size:14px}.empty-state p{margin:6px 0 17px;color:#8f9994;font-size:9px}.empty-state button{height:34px;padding:0 12px;border:1px solid #d8dad3;border-radius:8px;color:#4e665c;background:#fff;font-size:8px;font-weight:650}@media(max-width:1180px){.part-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}@media(max-width:900px){.topbar{gap:20px;padding:0 22px}.main-content{width:calc(100% - 40px)}.inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.part-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.terminal-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.sales-table-wrap{overflow-x:auto}.sales-table{min-width:720px}}@media(max-width:640px){.topbar{height:auto;flex-wrap:wrap;gap:0 12px;padding:10px 15px 7px}.main-nav{display:flex;width:100%;height:38px;order:3;margin-top:7px;overflow-x:auto;border-top:1px solid #ebe9e3}.topbar-status{font-size:0;gap:0;padding:7px}.main-content{width:calc(100% - 28px);padding-top:26px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px}.page-heading h1{font-size:34px}.refresh-button{width:100%;justify-content:center}.inventory-summary{gap:9px}.inventory-summary article{min-height:101px;padding:14px}.summary-primary{grid-column:1 / -1}.filter-panel{padding:12px}.search-block{min-width:150px;flex:1 1 180px;width:auto}.search-hint{display:none}.type-filter{flex:1 1 140px;flex-wrap:nowrap;margin-right:-12px;padding-right:12px;overflow-x:auto;scrollbar-width:none}.type-filter::-webkit-scrollbar{display:none}.type-chip{flex:0 0 auto}.part-grid{grid-template-columns:1fr}.management-heading{align-items:flex-start;flex-direction:column;gap:14px}.management-heading h1{font-size:28px}.primary-action{width:100%;justify-content:center}.terminal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.terminal-grid{grid-template-columns:1fr}.sales-record-total{width:100%;text-align:left}.modal-backdrop{align-items:flex-end;padding:0}.completion-modal,.terminal-modal,.listing-modal,.listing-terminal-modal,.part-detail-modal{width:100%;max-height:92vh;border-radius:18px 18px 0 0}.modal-header,.completion-modal form,.terminal-modal form,.listing-modal form,.listing-terminal-modal form{padding-right:18px;padding-left:18px}.modal-grid{grid-template-columns:1fr;gap:0}.part-detail-content{padding:15px 18px 20px}.detail-info-grid,.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.inventory-summary{grid-template-columns:1fr}.summary-primary{grid-column:auto}.result-heading{align-items:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:0px){:root{--paper: #ffffff;--surface: #ffffff;--surface-soft: #f7f9fc;--ink: #0d1b32;--ink-soft: #263750;--muted: #8290a5;--muted-light: #aab3c2;--line: #e4e8ef;--line-strong: #d8dee8;--green: #3f6df4;--green-dark: #315fdd;--green-soft: #eef2ff;--shadow: 0 1px 2px rgba(22, 38, 67, .02)}body{color:var(--ink);background:#fff}.topbar{height:84px;gap:26px;padding:0 max(36px,calc((100vw - 1400px)/2));border-bottom:1px solid #e7ebf2;background:#fffffff7}.brand{gap:10px}.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#5a84ff,#315ee7);box-shadow:0 6px 15px #3e6bf433}.brand-mark i{background:#fff}.brand strong{color:#0b1a32;font-size:16px;letter-spacing:.03em}.brand small{color:#8b97aa;font-size:8px}.main-nav{gap:28px;margin-left:18px}.main-nav button{position:relative;height:84px;padding:0;border-radius:0;color:#7e8b9f;background:transparent;font-size:13px;font-weight:600}.main-nav button.is-active{color:#0d1b32;background:transparent}.main-nav button.is-active:after{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:3px 3px 0 0;background:#3f6df4;content:""}.main-nav button span{background:#f2f5fa}.topbar-status{padding:0;border:0;color:#909bad;background:transparent;font-size:10px}.main-content{width:min(1320px,calc(100% - 72px));padding:34px 0 70px}.filter-panel{gap:10px;margin-bottom:28px;padding:11px;border:1px solid #e1e5ec;border-radius:7px;background:#fff;box-shadow:0 1px 2px #17274406}.search-field{height:36px;padding:0 11px;border-color:#dfe3ea;border-radius:5px;color:#7c899d;background:#fff}.search-field:focus-within{border-color:#aabbef;box-shadow:0 0 0 3px #3f6df412}.search-field input{color:#20314c;font-size:11px}.search-hint{border-color:#e5e8ee;background:#f8f9fc}.type-chip{height:36px;padding:0 10px;border-color:#dfe3ea;border-radius:5px;color:#59677c;background:#fff;font-size:10px;font-weight:500}.type-chip b{color:#8793a5;background:#f1f3f7}.type-chip.is-active{border-color:#3f6df4;color:#fff;background:#3f6df4}.type-chip.is-active b{color:#fff;background:#ffffff2e}.type-chip.all{border-color:#dfe3ea}.type-chip.all.is-active{border-color:#3f6df4}.result-heading{margin:30px 0 16px}.result-heading h2{color:#13213a;font-size:22px;font-weight:650;letter-spacing:-.03em}.result-heading .eyebrow,.eyebrow{color:#8290a4;font-size:9px;letter-spacing:.15em}.result-count{color:#8c98aa;font-size:10px}.part-grid{gap:17px}.part-card{border-color:#e0e4eb;border-radius:7px;background:#fff;box-shadow:0 1px 2px #14254305}.part-card:hover{border-color:#cdd5e2;box-shadow:0 10px 28px #1425430f}.part-card-header{position:relative;justify-content:center;padding:20px 17px 5px}.part-header-identity{justify-content:center;gap:9px}.part-type-emblem{width:56px;height:56px;min-width:56px;padding:0;border:0;border-radius:15px;font-size:10px}.part-header-code{padding:5px 7px;border-radius:4px;color:#4d5b70;background:#f1f3f7;font-size:10px}.part-stock-status{position:absolute;top:15px;right:14px;color:#6f7d91;font-size:8px}.part-stock-status i{background:#3f6df4;box-shadow:0 0 0 3px #3f6df414}.part-stock-status.is-sold{color:#c05b56}.part-stock-status.is-sold i{background:#d46861;box-shadow:0 0 0 3px #d4686114}.part-main{padding:12px 16px 14px;text-align:center}.part-main h2{color:#0d1b32;font-size:18px;font-weight:600;letter-spacing:-.025em}.part-price{margin-top:14px;padding:11px 12px;border-color:#e7eaf0;border-radius:6px;background:#fbfcfe;text-align:left}.part-price p span{color:#8895a8;font-size:8px}.part-price strong{color:#c05b56;font-size:20px}.price-sync-status{border-radius:4px;font-size:7px}.price-sync-status.is-synced{border-color:#cfdfea;color:#4d74a5;background:#f0f5fb}.price-frozen{color:#c05b56;background:#fdf0ef}.part-init-row,.part-progress-row,.part-terminal-row{min-height:42px;padding:8px 16px;border-top-color:#edf0f4}.part-init-row>span,.part-progress-row>span,.part-terminal-row>span{color:#7f8da1;font-size:9px}.listing-status-button{height:27px;border-color:#dfe3ea;border-radius:4px;color:#758296;background:#fff;font-size:9px}.listing-status-button.is-listed{border-color:#cbd8f6;color:#3f6df4;background:#f2f5ff}.sale-progress-actions button{height:26px;border-radius:4px;font-size:8px}.sale-progress-sold{border-color:#cbd8f6;color:#3f6df4;background:#f2f5ff}.sale-progress-complete{border-color:#3f6df4;color:#fff;background:#3f6df4}.sale-progress-return{border-color:#ebd1d0;color:#b05751;background:#fff7f6}.sale-progress-value.is-completed{color:#6f7c90;background:#f0f2f6}.part-card-footer{padding:9px 15px 11px;border-top-color:#edf0f4;color:#8e9aab;background:#fbfcfe;font-size:8px}.part-detail-button{border-color:#d3ddf7;color:#3f6df4;background:#f7f9ff}.primary-action{height:40px;padding:0 18px;border-color:#3f6df4;border-radius:5px;background:#3f6df4;box-shadow:0 5px 14px #3f6df429;font-size:10px}.primary-action:hover{background:#315fdd}.management-heading{align-items:center;margin-bottom:30px}.management-heading h1{color:#0d1b32;font-size:42px;font-weight:680;letter-spacing:-.055em}.management-heading p{color:#7d8ba0;font-size:11px}.terminal-stats article{border-color:#e2e6ed;border-radius:6px;background:#fff}.terminal-grid{gap:17px}.terminal-card{border-color:#e0e4eb;border-radius:7px;background:#fff;box-shadow:none}.terminal-card>header{padding:20px 18px 10px}.terminal-code{color:#13213a;font-family:inherit;font-size:20px;font-weight:650}.terminal-status{border-radius:4px;color:#7b899d;background:#f1f3f7;font-size:8px}.terminal-status.is-active{color:#3f6df4;background:#eef2ff}.terminal-sale-count{border-color:#e6e9ef;border-radius:6px;color:#8491a4;background:#fafbfd}.terminal-sale-count strong{color:#3f6df4}.terminal-card>footer button{color:#3f6df4}.sales-table-wrap{border-color:#e0e4eb;border-radius:7px;background:#fff;box-shadow:none}.sales-table th{color:#7f8ca0;background:#fafbfd;font-size:8px}.sales-table td{border-top-color:#edf0f4;color:#536176;font-size:10px}.sale-part-code{color:#3f6df4;background:#eef2ff}.sale-price{color:#c05b56!important}.sales-record-total{border-color:#d8e1f9;border-radius:6px;background:#f3f6ff}.sales-record-total strong{color:#3f6df4}.completion-modal,.terminal-modal,.listing-modal,.listing-terminal-modal,.part-detail-modal{border-color:#e0e4eb;border-radius:10px;background:#fff;box-shadow:0 22px 65px #13244124}.modal-header{border-bottom-color:#e9ecf1}.modal-header h2{color:#102039;font-size:24px;font-weight:650}.modal-field input,.modal-field select,.modal-field textarea{border-color:#dfe3ea;border-radius:5px}.button-primary{border-color:#3f6df4;border-radius:5px;color:#fff;background:#3f6df4}.button-secondary{border-color:#dce1e9;border-radius:5px;color:#5e6c80}.detail-info-grid>div,.detail-description,.listing-summary,.listing-steps{border-color:#e6e9ef;border-radius:6px;background:#fafbfd}@media(max-width:900px){.topbar{padding-right:24px;padding-left:24px}.main-content{width:calc(100% - 40px)}}@media(max-width:640px){.topbar{padding:10px 15px 0}.main-nav{gap:20px}.main-nav button{height:42px;font-size:11px}.main-content{width:calc(100% - 28px)}.management-heading h1{font-size:34px}.completion-modal,.terminal-modal,.listing-modal,.listing-terminal-modal,.part-detail-modal{border-radius:12px 12px 0 0}}}.primary-action,.button-primary,.button-secondary{display:inline-flex;height:34px;align-items:center;justify-content:center;padding:0 13px;border-radius:6px;font-size:9px;font-weight:700;line-height:1}.primary-action,.button-primary{border:1px solid #2b7b64;color:#fff;background:#2b7b64;box-shadow:0 5px 14px #2b7b6421}.primary-action:hover,.button-primary:hover:not(:disabled){border-color:#226653;background:#226653}.button-secondary{border:1px solid #d9ddd6;color:#5c6963;background:#fff}.button-secondary:hover:not(:disabled){border-color:#b9c8c1;color:#2b6e5a;background:#f7faf8}.listing-status-button,.part-detail-button,.sale-progress-actions button,.cancel-sale,.terminal-card>footer button{display:inline-flex;height:24px;align-items:center;justify-content:center;padding:0 7px;border-radius:5px;font-size:8px;font-weight:650;line-height:1;white-space:nowrap;transition:border-color .14s ease,color .14s ease,background .14s ease}.listing-status-button,.part-detail-button,.terminal-card>footer button{border:1px solid #c9ddd5;color:#2f745e;background:#fff}.listing-status-button.is-listed,.sale-progress-sold{border-color:#2f7b64;color:#fff;background:#2f7b64}.listing-status-button:disabled,.sale-progress-actions button:disabled{border-color:#e1e3de;color:#a8aeaa;background:#f2f3ef}.sale-progress-return{border:1px solid #e6cbc8;color:#a3524b;background:#fff}.sale-progress-complete{border:1px solid #2b7b64;color:#fff;background:#2b7b64}.sale-progress-complete:disabled{border-color:#dfe3dd;color:#6f7b75;background:#eef1ed;cursor:default}.cancel-sale{border:1px solid #e6cbc8;color:#a3524b;background:#fff}.part-detail-button{gap:2px}.modal-close{width:30px;height:30px;border-radius:6px}.main-content{width:min(1200px,calc(100% - 60px))}@media(max-width:900px){.main-content{width:calc(100% - 40px)}}@media(max-width:640px){.main-content{width:calc(100% - 28px)}}.topbar{padding-right:max(30px,calc((100vw - 1200px)/2));padding-left:max(30px,calc((100vw - 1200px)/2))}@media(max-width:900px){.topbar{padding-right:20px;padding-left:20px}}@media(max-width:640px){.topbar{padding-right:14px;padding-left:14px}}.type-chip{padding:0 6px;gap:2px}.filter-panel{flex-wrap:wrap}.listing-status-filter{display:flex;flex:0 0 100%;align-items:center;gap:6px;margin-top:2px;padding-top:9px;border-top:1px solid #efede7}.listing-status-filter button{display:inline-flex;height:28px;align-items:center;gap:5px;padding:0 9px;border:1px solid #e1e1db;border-radius:6px;color:#75817b;background:#fff;font-size:8px;font-weight:600}.listing-status-filter button b{display:grid;min-width:13px;height:14px;padding:0 3px;place-items:center;border-radius:4px;color:#8b9690;background:#f1f1ed;font-size:7px;font-weight:650}.listing-status-filter button.is-active{border-color:#2f7b64;color:#fff;background:#2f7b64}.listing-status-filter button.is-active b{color:#fff;background:#ffffff29}.filter-panel{flex-wrap:nowrap;align-items:center}.search-block{width:300px;flex:0 0 300px}.listing-status-filter{min-width:0;flex:1 1 auto;justify-content:flex-end;margin-top:0;padding-top:0;border-top:0;overflow-x:auto;scrollbar-width:none}.listing-status-filter::-webkit-scrollbar{display:none}@media(max-width:640px){.search-block{width:150px;min-width:120px;flex:0 1 150px}.listing-status-filter{margin-right:0;padding-right:2px;overflow-x:auto;scrollbar-width:none}.listing-status-filter::-webkit-scrollbar{display:none}.listing-status-filter button{flex:0 0 auto}}@media(min-width:1181px){.part-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
