:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.listing-lines{flex:1;display:flex;flex-direction:column;gap:.35rem}#root{width:100%;max-width:100%;margin:0 auto;padding:2rem;overflow-x:clip}:root{--bg: #0f1226;--panel: #171a34;--muted: #a0a8c0;--text: #e6e9ff;--accent: #7aa2f7;--accent-bright: #b8cfff;--good: #67e480;--bad: #ff6b6b;--card-bg: #141738;--card-border: #24295a;--list-border: #262a50;--btn-bg: rgba(18,22,48,.8);--btn-border: #2a2f61;--btn-hover-bg: rgba(90,108,170,.65);--offer-item-bg: #1c2045;--offer-item-border: #2a2f61;--offer-item-hover-bg: #20255a;--offer-item-hover-border: #3a4194;--in-offer-border: rgba(253, 188, 90, .55);--in-offer-bg: linear-gradient(120deg, rgba(37, 30, 58, .95), rgba(56, 38, 60, .65));--in-offer-hover: rgba(253, 188, 90, .12);--skeleton-base: rgba(255, 255, 255, .08);--skeleton-highlight: rgba(255, 255, 255, .2);--meter-bg: rgba(20, 24, 56, .4);--meter-border: rgba(38, 42, 80, .45);--meter-pan-bg: rgba(26, 31, 68, .55);--meter-pan-border: rgba(43, 49, 95, .5);--meter-fulcrum-neutral: rgba(68, 76, 138, .7);--meter-neutral-start: rgba(122, 162, 247, .7);font-size:18px}[data-theme=light]{--bg: #f5f6fa;--panel: #ffffff;--muted: #6b7280;--text: #1f2937;--accent: #3b82f6;--accent-bright: #60a5fa;--good: #10b981;--bad: #ef4444;--card-bg: #f9fafb;--card-border: #e5e7eb;--list-border: #d1d5db;--btn-bg: #ffffff;--btn-border: #d1d5db;--btn-hover-bg: #f3f4f6;--offer-item-bg: #ffffff;--offer-item-border: #e5e7eb;--offer-item-hover-bg: #f9fafb;--offer-item-hover-border: #3b82f6;--in-offer-border: rgba(234, 179, 8, .6);--in-offer-bg: linear-gradient(120deg, rgba(254, 249, 195, .7), rgba(254, 243, 199, .5));--in-offer-hover: rgba(234, 179, 8, .1);--skeleton-base: rgba(15, 23, 42, .08);--skeleton-highlight: rgba(15, 23, 42, .18);--meter-bg: rgba(235, 238, 250, .8);--meter-border: rgba(209, 213, 219, .9);--meter-pan-bg: rgba(225, 230, 245, .9);--meter-pan-border: rgba(190, 196, 210, .9);--meter-fulcrum-neutral: rgba(140, 150, 170, .7);--meter-neutral-start: rgba(150, 180, 245, .6)}[data-theme=ruby]{--bg: #2a0707;--panel: #3a1010;--muted: #c89999;--text: #ffe6e6;--accent: #ff5757;--accent-bright: #ff9999;--good: #67e480;--bad: #ff3333;--card-bg: #241111;--card-border: #4a2020;--list-border: #4a2020;--btn-bg: rgba(36,17,17,.8);--btn-border: #4a2020;--btn-hover-bg: rgba(120,50,50,.65);--offer-item-bg: #2d1818;--offer-item-border: #4a2020;--offer-item-hover-bg: #3d2222;--offer-item-hover-border: #ff5757;--in-offer-border: rgba(255, 120, 120, .5);--in-offer-bg: linear-gradient(120deg, rgba(60, 20, 20, .95), rgba(80, 30, 30, .65));--in-offer-hover: rgba(255, 120, 120, .12);--meter-bg: rgba(56, 20, 20, .4);--meter-border: rgba(80, 38, 38, .45);--meter-pan-bg: rgba(68, 26, 26, .55);--meter-pan-border: rgba(88, 40, 40, .5);--meter-fulcrum-neutral: rgba(120, 60, 60, .7);--meter-neutral-start: rgba(255, 120, 120, .7)}[data-theme=sapphire]{--bg: #0a0f1f;--panel: #0f1a2e;--muted: #99b8d6;--text: #e0efff;--accent: #4a9eff;--accent-bright: #bad2ed;--good: #67e480;--bad: #ff6b6b;--card-bg: #0d1528;--card-border: #1a2a4a;--list-border: #1a2a4a;--btn-bg: rgba(13,21,40,.8);--btn-border: #1a2a4a;--btn-hover-bg: rgba(50,80,140,.65);--offer-item-bg: #0f1a35;--offer-item-border: #1a2a4a;--offer-item-hover-bg: #15244a;--offer-item-hover-border: #4a9eff;--in-offer-border: rgba(120, 180, 255, .5);--in-offer-bg: linear-gradient(120deg, rgba(20, 30, 60, .95), rgba(30, 45, 80, .65));--in-offer-hover: rgba(120, 180, 255, .12);--meter-bg: rgba(15, 25, 45, .5);--meter-border: rgba(30, 42, 70, .55);--meter-pan-bg: rgba(20, 30, 60, .55);--meter-pan-border: rgba(35, 50, 85, .5);--meter-fulcrum-neutral: rgba(50, 70, 110, .75);--meter-neutral-start: rgba(120, 180, 255, .7)}[data-theme=emerald]{--bg: #0a1a0f;--panel: #0f2618;--muted: #99d6b8;--text: #e0fff0;--accent: #34d399;--accent-bright: #8de3af;--good: #10b981;--bad: #ff6b6b;--card-bg: #0d1f14;--card-border: #1a4a30;--list-border: #1a4a30;--btn-bg: rgba(13,31,20,.8);--btn-border: #1a4a30;--btn-hover-bg: rgba(40,100,60,.65);--offer-item-bg: #0f2818;--offer-item-border: #1a4a30;--offer-item-hover-bg: #15382a;--offer-item-hover-border: #34d399;--in-offer-border: rgba(100, 220, 150, .5);--in-offer-bg: linear-gradient(120deg, rgba(15, 40, 25, .95), rgba(20, 55, 35, .65));--in-offer-hover: rgba(100, 220, 150, .12);--meter-bg: rgba(15, 40, 25, .4);--meter-border: rgba(30, 70, 45, .45);--meter-pan-bg: rgba(20, 55, 35, .55);--meter-pan-border: rgba(30, 70, 45, .5);--meter-fulcrum-neutral: rgba(40, 80, 60, .7);--meter-neutral-start: rgba(100, 220, 180, .7)}.zoom-toolbar{position:fixed;top:4px;right:4px;z-index:1000;display:inline-flex;align-items:center;gap:4px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:2px 4px 2px 6px;border-radius:8px;box-shadow:0 3px 14px #00000073;font-size:12px}.zoom-toolbar .zoom-btn{appearance:none;border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--text);font-weight:600;font-size:11px;line-height:1;min-width:20px;width:20px;height:20px;padding:0;border-radius:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .14s ease,color .14s ease,border-color .14s ease}.zoom-toolbar .zoom-btn:hover{background:var(--btn-hover-bg);color:var(--text);border-color:var(--accent)}.zoom-toolbar .zoom-btn:active{background:var(--accent)}.zoom-toolbar .zoom-btn:disabled{opacity:.3;cursor:not-allowed;pointer-events:none}.zoom-toolbar .zoom-btn.reset{min-width:50px;font-size:11px;font-weight:700}.zoom-toolbar .zoom-level{min-width:48px;text-align:center;font-weight:700;letter-spacing:.5px}@media (max-width: 600px){.zoom-toolbar{top:auto;bottom:12px;right:12px}}.theme-picker{display:inline-flex;margin-left:6px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:8px;box-shadow:0 3px 14px #00000073;position:relative}.theme-picker select{appearance:none;border:1px solid var(--btn-border);background:var(--btn-bg);color:transparent;font-weight:600;font-size:11px;line-height:1;height:24px;width:24px;padding:0;border-radius:8px;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease,width .18s ease;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M6 8L2 4h8z"/></svg>');background-repeat:no-repeat;background-position:right 4px center;background-size:0}.theme-picker select:hover{background-color:var(--btn-hover-bg);border-color:var(--accent)}.theme-picker select:focus{outline:2px solid var(--accent);outline-offset:1px;color:var(--text);width:auto;padding:0 22px 0 6px;background-size:12px;text-align:right}.theme-picker .theme-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:1;display:flex;align-items:center;justify-content:center;color:var(--text)}.theme-picker .theme-icon svg{display:block}.theme-picker select:focus+.theme-icon{display:none}@media (max-width: 600px){.theme-picker{margin-left:6px}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0;overflow-x:hidden;font-size:1rem}.zoom-root{transition:zoom .24s cubic-bezier(.4,0,.2,1)}.zoom-root:active,.zoom-root.dragging-zoom{transition:none}a{color:var(--accent);transition:color .2s ease}a:hover{color:var(--accent-bright)}.shell{max-width:87.5rem;margin:0 auto;padding:1.5rem;width:100%}header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem}.header-main{flex:1;display:flex;flex-direction:column;width:100%}.header-title{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}.header-subtitle{font-size:1.25rem;white-space:nowrap}.header-controls{display:flex;align-items:center;gap:.375rem;margin-left:auto;margin-top:-2.25rem}.header-skeleton-toggle{font-weight:600;letter-spacing:.02em}.header-skeleton-toggle.is-active{border-color:var(--accent);color:var(--text);box-shadow:inset 0 0 0 1px #ffffff14}header h1{font-size:2rem;margin:0}header p{margin:.25rem 0 0;font-size:1.125rem}.muted{color:var(--muted)}.layout{display:grid;grid-template-columns:30rem minmax(0,1fr);gap:1.5rem;width:100%;max-width:100%;align-items:start}.skeleton-panel{border:1px solid var(--list-border);border-radius:1rem;padding:1rem;background:#00000014;margin-bottom:1.25rem}.skeleton-line,.skeleton-pill,.skeleton-circle{display:inline-block;background:linear-gradient(90deg,var(--skeleton-base) 25%,var(--skeleton-highlight) 50%,var(--skeleton-base) 75%);background-size:200% 100%;animation:skeletonPulse 1.4s ease-in-out infinite;border-radius:999px}.skeleton-line{width:100%;height:.65rem;margin-bottom:.4rem}.skeleton-line.skeleton-lg{height:1.1rem}.skeleton-line.skeleton-xl{height:2.2rem;border-radius:.75rem}.skeleton-line.skeleton-sm{height:.55rem}.skeleton-line.skeleton-xs{height:.4rem}.skeleton-line.skeleton-md{height:.75rem}.skeleton-title{margin-top:1.3rem;margin-bottom:1.6rem}.skeleton-pill{width:84px;height:.85rem}.skeleton-circle{width:42px;height:42px;border-radius:50%}.skeleton-pill-row{display:flex;gap:.5rem;align-items:center}.market-gem-card{margin:1.35rem}.skeleton-card{background:var(--card-bg);border:1px solid var(--list-border);border-radius:1rem;pointer-events:none;cursor:default;display:flex;flex-direction:column;gap:.5rem}.market-overview.skeleton-market{display:flex;flex-wrap:wrap;gap:.9rem;justify-content:center;margin-bottom:.1rem}.market-overview.skeleton-market .market-gem-card{width:clamp(13rem,9rem + 4vw,18rem)!important;align-items:stretch;gap:.65rem;padding:1.2rem 1.45rem;min-height:11rem}.market-overview.skeleton-market .skeleton-icon{margin-right:.5rem}.skeleton-trend-pill{width:5rem;height:.95rem;align-self:center}.request-skeleton-sections{display:flex;flex-direction:column;gap:1.25rem}.request-section.skeleton-section{margin-top:0;gap:.75rem}.skeleton-section-title{display:inline-block;margin-top:.35rem}.skeleton-request-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.75rem}.request-card.skeleton-card{pointer-events:none;cursor:default;border-style:dashed;border-color:#ffffff14;min-height:4.25rem}.request-card.skeleton-card .request-card-body{min-height:0}.request-card.skeleton-card .request-card-title-row{align-items:center;gap:.5rem}.request-card.skeleton-card .skeleton-circle{width:1.5rem;height:1.5rem}.request-card.skeleton-card .listing-lines{gap:.3rem}.skeleton-sparkline{display:inline-block;border-radius:999px}.skeleton-trend{display:flex;gap:.35rem;align-items:center}.skeleton-detail-grid{display:flex;flex-direction:column;gap:.5rem;margin-top:1.5rem}@keyframes skeletonPulse{0%{background-position:100% 0}to{background-position:-100% 0}}@media (min-width: 2000px){:root{font-size:20px}.shell{max-width:90%;padding:3vw}header h1{font-size:2.4rem}.header-subtitle{font-size:1.3rem}.header-controls{margin-top:-2.5rem;gap:.5rem}header p{font-size:1rem}.layout{grid-template-columns:35vw minmax(0,1fr);gap:2.5vw}.request-list{padding:1.5rem;border-radius:1rem}.request-list h2{font-size:1.4rem;margin-bottom:.5rem}.request-list p{font-size:.9rem}.section-head h3{font-size:1rem}.section-head .muted{font-size:.8rem}.request-section{gap:.8rem;margin-top:1rem}.request-grid{gap:.8rem}.request-card{padding:1rem;min-height:5.5rem;border-radius:.8rem;gap:.6rem}.request-card-head .request-icon{width:2.2rem;height:2.2rem;border-radius:.5rem}.request-title{font-size:1.1rem}.request-card-body,.request-card-foot{font-size:.95rem}.target-price,.request-card .requester{font-size:.9rem}.request-card .value{gap:.4rem}.price-sparkline{height:4rem}.card{padding:2rem;gap:1.5rem;border-radius:1rem}.card-header h2{font-size:1.6rem}.card-header .muted{font-size:.9rem;margin-top:.3rem}.totals .label{font-size:.8rem;margin-bottom:.3rem}.totals strong{font-size:1.4rem}.market-overview{gap:1.5rem;margin-top:1.5rem}.market-gem-card{width:14rem;padding:1.4rem;gap:1rem;border-radius:1rem}.market-gem-icon{width:2.5rem;height:2.5rem;border-radius:.5rem}.market-gem-name{font-size:1.1rem}.market-gem-price{font-size:2.4rem}.market-gem-trend{font-size:.85rem;gap:.3rem;padding:.3rem .6rem}.offer{padding:1rem;gap:.8rem;border-radius:1rem;min-height:12rem}.offer .empty{font-size:1rem}.offer-item{padding:1.2rem;gap:.8rem;border-radius:.8rem}.offer-item-row{gap:1rem}.offer-name{font-size:1.1rem}.offer-total-label{font-size:.8rem}.offer-total{font-size:1.4rem}.offer-deal-note{font-size:.8rem}.unit-price{font-size:.95rem;gap:.6rem}.qty-control button{width:2.2rem;height:2rem;font-size:1.2rem}.qty-control span{min-width:2rem;font-size:1rem}button,.btn,.ghost,.primary{font-size:1rem;padding:.8rem 1.4rem;border-radius:.6rem}.chip{padding:.2rem .8rem;font-size:.8rem}.deal-chip{padding:.2rem .6rem;font-size:.75rem;gap:.3rem}.scale{padding:1rem 1.4rem;border-radius:1rem}.beam{height:8rem}.pan{width:10rem;height:5rem;border-radius:.8rem;padding:.5rem}.pan .meter{height:.5rem}.fulcrum{border-left:1.4rem solid transparent;border-right:1.4rem solid transparent;border-top:2rem solid rgba(68,76,138,.7);margin:0 1.2rem}.amount{font-size:.95rem;top:.6rem}.deal-flag{top:2.2rem}.deal-copy{font-size:.85rem}.legend{font-size:.85rem;margin-top:.6rem}.history-block{padding:1.4rem;border-radius:1rem;margin-top:2rem}.history-header h3{font-size:1.3rem}.history{gap:.6rem}.history>li{padding:.8rem 1rem;gap:1rem;font-size:1rem;border-radius:.8rem}.history>li .time{font-size:.9rem}.history>li .totals .savings{font-size:.9rem}.custom-form{padding:1rem;gap:1rem;border-radius:.8rem}.custom-fields{gap:1rem}.field{gap:.5rem;font-size:.9rem}.field input{padding:.7rem .9rem;font-size:1rem;border-radius:.5rem}.custom-buttons{gap:.6rem}.detail-price-chart{height:8rem;max-width:32rem}}@media (min-width: 3000px){:root{font-size:30px}.shell{max-width:88%;padding:3.5vw}header h1{font-size:3.4rem}.header-subtitle{font-size:1.5rem}.header-controls{margin-top:-3rem;gap:.6rem}header p{font-size:1.35rem}.layout{grid-template-columns:36vw minmax(0,1fr);gap:3vw}.request-card{padding:1.6rem;min-height:7rem}.request-card-head .request-icon{width:2.8rem;height:2.8rem}.request-title{font-size:1.3rem}.price-sparkline{height:5rem}.card{padding:2.75rem;gap:2.2rem}.card-header h2{font-size:2.25rem}.market-gem-card{width:18rem;padding:2rem;gap:1.3rem}.market-gem-icon{width:3.4rem;height:3.4rem}.market-gem-price{font-size:3.4rem}.market-gem-name{font-size:1.4rem}.offer{min-height:15rem;padding:1.6rem}.offer-item{padding:1.8rem;gap:1.1rem}.offer-name{font-size:1.4rem}.offer-total{font-size:2rem}.qty-control button{width:2.8rem;height:2.6rem;font-size:1.5rem}.qty-control span{min-width:2.6rem;font-size:1.3rem}button,.btn,.ghost,.primary{font-size:1.3rem;padding:1.1rem 2rem}.beam{height:11rem}.pan{width:13rem;height:6.5rem}.fulcrum{border-left:1.8rem solid transparent;border-right:1.8rem solid transparent;border-top:2.4rem solid rgba(68,76,138,.7);margin:0 1.6rem}.detail-price-chart{height:11rem;max-width:40rem}.market-overview{gap:2.4rem;justify-content:space-between;padding:0 2rem}.picker{grid-template-columns:1fr 1fr;gap:1.2rem}.pill{min-height:3.5rem}.pill-add{padding:1rem 1.5rem}}@media (min-width: 5000px){:root{font-size:46px}.shell{max-width:85%}header h1{font-size:4.5rem}.header-subtitle{font-size:2rem}.header-controls{margin-top:-4rem;gap:.8rem}.layout{grid-template-columns:37vw minmax(0,1fr);gap:3.5vw}.request-card{padding:2rem;min-height:8rem}.request-card-head .request-icon{width:4rem;height:4rem}.price-sparkline{height:7rem}.card{padding:3.5rem}.card-header h2{font-size:3.4rem}.market-gem-card{width:26rem;padding:2.8rem}.market-gem-icon{width:4.4rem;height:4.4rem}.market-gem-price{font-size:4.5rem}.offer{min-height:20rem}.offer-item{padding:2.8rem}.qty-control button{width:3.8rem;height:3.4rem;font-size:2rem}.qty-control span{min-width:3.4rem;font-size:1.8rem}button,.btn,.ghost,.primary{font-size:1.75rem;padding:1.6rem 2.8rem}.beam{height:15.5rem}.pan{width:18rem;height:9rem}.detail-price-chart{height:15.5rem;max-width:54rem}.market-overview{gap:3rem;justify-content:space-between;padding:0 2.5rem}.picker{grid-template-columns:1fr 1fr!important;gap:1.5rem}.pill{min-height:4rem}.pill-add{padding:1.2rem 2rem;gap:1.5rem}.pill-edit{padding:0 1.5rem}.amount{font-size:1.5rem}.legend,.deal-copy{font-size:1.25rem}.offer-total-label,.totals .label{font-size:1.5rem}.trend-label{font-size:.875rem}.trend-indicator{font-size:1.25rem;padding:.5rem 1rem}.trend-indicator svg{width:24px;height:24px}.trend-indicator-lg{font-size:1.5rem;padding:.75rem 1.25rem}.icon-button{padding:.75rem}.icon-button svg{width:2rem;height:2rem}.pill-edit svg{width:1.75rem;height:1.75rem}header h1 small svg{width:1.75rem;height:1.75rem}}.request-list{background:var(--panel);border:1px solid var(--list-border);border-radius:.875rem;padding:1.125rem;text-align:left;max-width:100%;position:sticky;top:1.5rem}.list-header{margin-bottom:.75rem}.request-list h2{margin:0 0 .375rem;font-size:1.5rem}.request-list p{margin:0;font-size:.95rem}.request-section{display:flex;flex-direction:column;gap:.625rem;margin-top:1rem}.request-section:first-of-type{margin-top:0}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.section-head h3{margin:0;font-size:1.125rem}.section-head .muted{font-size:1rem}.request-grid{display:flex;flex-direction:column;gap:.625rem}.request-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:.625rem;padding:.75rem;text-align:left;color:var(--text);cursor:pointer;display:flex;flex-direction:column;gap:.5rem;transition:border-color .12s ease,transform .12s ease,box-shadow .12s ease;position:relative;min-height:4.5rem}.request-card:hover{border-color:var(--accent);transform:translateY(-1px) scale(1.01);box-shadow:0 6px 18px #0000002e}.request-card:active{transform:translateY(0) scale(.995);box-shadow:0 2px 8px #0000001f}.request-card:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in oklab,var(--accent) 30%,transparent),0 6px 18px #0000002e}.request-card.fade-in{animation:subtle-fade-in .8s ease-out}.request-card.highlight-new-listing{animation:newListingHighlight 2s ease-out;border-color:#67e480cc!important;box-shadow:0 0 0 2px #67e48066,0 0 20px #67e4804d,0 0 40px #67e4801a!important;background:linear-gradient(135deg,#67e48026,#67e4800d)!important;transform:translateY(-2px)}@keyframes subtle-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes newListingHighlight{0%{border-color:#67e480e6;box-shadow:0 0 0 3px #67e48099,0 0 30px #67e48080,0 0 60px #67e4804d;background:linear-gradient(135deg,#67e48040,#67e4801a)}50%{border-color:#67e480b3;box-shadow:0 0 0 2px #67e48066,0 0 20px #67e4804d,0 0 40px #67e4801a;background:linear-gradient(135deg,#67e48026,#67e4800d)}to{border-color:var(--card-border);box-shadow:none;background:#141738}}.request-card.active{border-color:var(--accent);box-shadow:0 0 0 2px #7aa2f766,0 0 20px #7aa2f74d,0 0 40px #7aa2f71a;background:linear-gradient(135deg,#7aa2f726,#7aa2f70d)}.request-card.deal-active{border-color:#ffb34773;background:linear-gradient(120deg,#2c183a99,#3b1e2a80);box-shadow:inset 0 0 0 1px #ffb34714}.request-card.active.deal-active{border-color:#ffb347cc;background:linear-gradient(120deg,#2c183acc,#3b1e2ab3);box-shadow:0 0 0 2px #7aa2f799,0 0 20px #7aa2f766,0 0 40px #7aa2f733,inset 0 0 0 1px #ffb3474d,0 0 15px #ffb34733;transform:translateY(-2px)}.request-card.deal-active .request-title{color:#ffd599}.request-card.deal-active .muted{color:#ffd599b8}.request-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;min-height:3.75rem}.request-card-title-row{display:inline-flex;align-items:center;gap:.75rem;min-width:0;flex:0 0 auto}.request-card-head .request-icon{width:1.75rem;height:1.75rem;border-radius:.375rem;background:#ffffff0a;border:1px solid rgba(255,255,255,.06);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none}.request-card-head .request-icon img{width:100%;height:100%;object-fit:contain;display:block}.gem-name-inline{font-weight:700;color:var(--text);opacity:.9;font-size:1.125rem}.price-sparkline{flex:1;min-width:0;height:3.5rem;color:var(--accent);opacity:.7;transition:opacity .12s ease}.price-sparkline path{transition:d .6s ease-out}.request-card:hover .price-sparkline{opacity:1}.request-card.active .price-sparkline{color:var(--accent-bright);opacity:1}.request-card-body{display:flex;justify-content:space-between;font-size:1.125rem;position:absolute;bottom:.75rem;left:.75rem;right:.75rem}.request-card-foot{display:flex;justify-content:space-between;font-size:1rem}.request-title{font-weight:600;font-size:1.125rem}.target-price{color:var(--muted);font-size:1.125rem;font-weight:600}.request-card .requester{color:var(--muted);font-size:1rem;font-weight:500}.request-card .value{display:inline-flex;align-items:center;gap:.375rem;white-space:nowrap;font-weight:600;font-size:1.125rem}.deal-indicator{display:inline-flex;align-items:center;padding-left:2px;margin-left:-2px;transform:translate(-2px)}.card{background:var(--panel);border:1px solid var(--list-border);border-radius:.875rem;padding:1.25rem;display:flex;flex-direction:column;gap:1rem;text-align:left;max-width:100%;overflow:hidden}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.card-header h2{margin:0;font-size:1.5rem}.card-header .muted{font-size:1rem;display:block;margin-top:.25rem}.card-title-block{display:flex;flex-direction:column;gap:.25rem}.request-title-row{display:inline-flex;align-items:center;gap:.5rem}.card-header.counteroffer-header{align-items:flex-start}.totals{text-align:right}.totals .label{font-size:1.25rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;display:block;margin-bottom:.25rem;font-weight:600}.totals strong{font-size:1.5rem}.detail-price-chart{flex:1;min-width:17.5rem;max-width:28.125rem;height:6.875rem;transition:opacity .12s ease;margin-top:-.5rem}.detail-price-chart path{transition:opacity .2s ease,stroke-width .2s ease}.detail-price-chart:hover path{opacity:1!important;stroke-width:3}.chip{background:#1c2045;border:1px solid var(--btn-border);color:var(--text);padding:.125rem .625rem;border-radius:999px;font-size:.6875rem;text-transform:uppercase;letter-spacing:.05em}.uncapped-chip{border-color:#ffc97980;background:#ffc97933;color:#ffd48a}.workspace{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:100%;min-height:100vh}.workspace .col{display:flex;flex-direction:column;gap:1.5rem;max-width:100%;min-width:0}.meter-sticky{position:static;top:auto;margin:auto 0}.meter-sticky .meter-card{width:100%}.request-panel{position:relative;z-index:1}.request-panel .description{margin:0;line-height:1.6;font-size:1.125rem}.market-overview{display:flex;flex-direction:row;gap:clamp(.75rem,1vw,2.5rem);margin-top:1rem;justify-content:center;flex-wrap:wrap;padding:0 1rem}.market-gem-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:.75rem;padding:clamp(1.2rem,1rem + .5vw,2.4rem);display:flex;flex-direction:column;align-items:center;gap:.9rem;width:clamp(13rem,11rem + 5vw,28rem);text-align:center;cursor:pointer;transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease;position:relative}.market-gem-card:hover{border-color:var(--accent);transform:translateY(-2px) scale(1.015);box-shadow:0 8px 22px #0003}.market-gem-card:active{transform:translateY(0) scale(.995);box-shadow:0 3px 10px #00000024}.market-gem-card:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in oklab,var(--accent) 28%,transparent),0 8px 22px #0003}.market-gem-header{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.market-gem-icon{width:1.75rem;height:1.75rem}.market-gem-name{font-weight:700;font-size:1.1rem}.market-gem-price{font-size:1.75rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}.market-gem-trend{display:flex;align-items:center;justify-content:center;flex-shrink:0}.trend-indicator{display:inline-flex;align-items:center;gap:4px;font-size:1rem;font-weight:600;padding:4px 8px;border-radius:6px}.trend-indicator-lg{font-size:1.125rem;padding:6px 10px;line-height:1}.trend-label{font-size:.625rem;color:var(--muted);font-style:italic;text-transform:uppercase;letter-spacing:.5px}.trend-up{color:var(--good);background:#67e48026}.trend-down{color:var(--bad);background:#ff6b6b26}.trend-neutral{color:var(--muted);background:#a0a8c026}.gem-description{display:flex;align-items:center;gap:8px;font-size:1.125rem}.gem-stat{font-weight:600;transition:opacity .12s ease;font-variant-numeric:tabular-nums;font-size:1.125rem}.gem-stat:hover{opacity:.85}.gem-separator{color:var(--muted);opacity:.5}.gem-stat.rough{color:#ffb77f;min-width:105px}.gem-stat.yield{color:#ffe699;min-width:70px}.gem-stat.polished{color:#a7f3ff;min-width:105px}.gem-stat.ruby{color:#dc2626}.gem-stat.sapphire{color:#3b82f6}.gem-stat.emerald{color:#22c55e}.tag-row{display:flex;gap:8px;flex-wrap:wrap}.request-panel h3{margin:0;font-size:1.25rem}.request-meta{display:flex;justify-content:space-between;font-size:1rem;color:var(--muted)}.picker-section{border-top:1px solid var(--card-border);padding-top:12px;scroll-margin-top:2rem;transition:box-shadow .3s ease,border-color .3s ease;border-radius:12px}.picker-section:target{animation:inventoryPulse 3.5s ease-in-out}.picker-section.highlight-inventory{animation:inventoryPulse 3.5s ease-in-out}@keyframes inventoryPulse{0%{box-shadow:0 0 #fdbc5a00,inset 0 0 #fdbc5a00;border-color:var(--card-border)}10%{box-shadow:0 0 20px 5px #fdbc5a66,inset 0 0 30px 8px #fdbc5a40;border-color:#fdbc5a80}20%{box-shadow:0 0 35px 10px #fdbc5a99,inset 0 0 50px 15px #fdbc5a59;border-color:#fdbc5acc}30%{box-shadow:0 0 50px 15px #fdbc5ab3,inset 0 0 70px 20px #fdbc5a66;border-color:#fdbc5ae6}40%{box-shadow:0 0 60px 20px #fdbc5abf,inset 0 0 80px 25px #fdbc5a73;border-color:#fdbc5a}50%{box-shadow:0 0 55px 18px #fdbc5ab3,inset 0 0 75px 22px #fdbc5a66;border-color:#fdbc5af2}60%{box-shadow:0 0 45px 15px #fdbc5a8c,inset 0 0 65px 18px #fdbc5a59;border-color:#fdbc5abf}70%{box-shadow:0 0 35px 12px #fdbc5a66,inset 0 0 55px 14px #fdbc5a47;border-color:#fdbc5a8c}80%{box-shadow:0 0 25px 8px #fdbc5a40,inset 0 0 40px 10px #fdbc5a2e;border-color:#fdbc5a59}90%{box-shadow:0 0 12px 4px #fdbc5a1f,inset 0 0 25px 6px #fdbc5a1a;border-color:#fdbc5a2e}to{box-shadow:0 0 #fdbc5a00,inset 0 0 #fdbc5a00;border-color:var(--card-border)}}.picker-label{font-size:1rem;color:var(--muted);margin-bottom:6px;display:inline-block}.picker{display:grid;grid-template-columns:1fr;gap:10px;align-items:stretch}.picker .empty{color:var(--muted);font-size:1rem}.pill{background:var(--offer-item-bg);border:1px solid var(--offer-item-border);color:var(--text);border-radius:999px;display:flex;align-items:stretch;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff05;position:relative;width:100%;min-height:3rem}.pill-add{display:flex;align-items:center;gap:12px;padding:1rem 1.5rem;background:transparent;color:inherit;border:none;font-size:1.125rem;cursor:pointer;line-height:1.2;transition:background .12s ease;flex:1 1 auto;min-width:0}.pill-add:hover{background:var(--btn-hover-bg)}.pill-edit{background:transparent;border:none;border-left:1px solid var(--offer-item-border);color:var(--muted);padding:0 12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:color .12s ease,background .12s ease}.pill-edit:hover{color:var(--accent);background:var(--btn-hover-bg)}.pill-edit svg{display:block;width:1.25rem;height:1.25rem}.pill-name{position:relative;overflow:hidden;display:inline-flex;align-items:center;flex:1 1 auto;min-width:0;font-weight:600}@media (min-width: 1024px){.picker{grid-template-columns:1fr 1fr;gap:1rem}}.pill-name-track{display:inline-flex;align-items:center}.pill-name-track span{display:inline-block;white-space:nowrap}.pill-name.marquee .pill-name-track{animation:pillMarquee 8s linear infinite}.pill-name.marquee .pill-name-track span{padding-right:24px}.pill .count{color:var(--text);font-size:1rem;font-weight:600;flex-shrink:0;white-space:nowrap;min-width:50px;text-align:right}.pill .value{color:var(--muted);font-size:1rem;flex-shrink:0;white-space:nowrap;min-width:80px;text-align:right}.pill.in-offer{border-color:var(--in-offer-border);box-shadow:0 0 0 1px var(--in-offer-border);background:var(--in-offer-bg)}.pill.in-offer .pill-add{background:transparent}.pill.in-offer .pill-add:hover{background:var(--in-offer-hover)}.pill.greyed{opacity:.4}.pill.greyed .pill-add{pointer-events:none}.pill-status{display:inline-flex;align-items:center;padding:0 12px;font-size:1rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#ffc979;background:#ffc9792e;border-left:1px solid rgba(255,201,121,.35);pointer-events:none;white-space:nowrap}.pill.in-offer .pill-status{background:#ffc9793d}.pill-status.greyed{opacity:.4;color:#999;background:#99999926;border-left-color:#99999940}.pill-status.greyed:after{content:" (void)";font-size:.85em}.custom-block{border-top:1px solid var(--card-border);padding-top:14px}.custom-form{display:flex;flex-direction:column;gap:12px;background:#14173899;border:1px solid var(--card-border);border-radius:10px;padding:12px}.custom-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.field{display:flex;flex-direction:column;gap:6px;font-size:1rem;color:var(--muted)}.field input{background:#111433;border:1px solid var(--card-border);border-radius:6px;padding:8px 10px;color:var(--text);font-size:1.125rem}.field input:focus{outline:none;border-color:var(--accent)}.custom-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.kind-group{display:flex;gap:12px;font-size:1rem;color:var(--muted)}.kind-group label{display:inline-flex;align-items:center;gap:4px}.custom-buttons{display:flex;gap:8px}.custom-buttons .ghost{padding:8px 12px;font-size:1.125rem}.custom-form .primary{flex:none}.inventory-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.offer{background:var(--card-bg);border:1px solid var(--card-border);min-height:9.375rem;padding:.75rem;border-radius:.75rem;display:flex;flex-direction:column;gap:.5rem}.offer .empty{color:var(--muted);margin:auto;text-align:center;font-size:clamp(1rem,.95rem + .25vw,1.4rem)}.offer-item{display:flex;flex-direction:column;align-items:stretch;gap:.625rem;background:var(--offer-item-bg);border:1px solid var(--offer-item-border);padding:.75rem;border-radius:.625rem;transition:background .12s ease,border-color .12s ease}.offer-item:not(.readonly):hover{background:var(--offer-item-hover-bg);border-color:var(--offer-item-hover-border)}.offer-item.readonly{background:var(--offer-item-bg);opacity:.7}.offer-item-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.offer-item-info{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.offer-total-label{font-size:1.25rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.offer-total{font-size:1.5rem;font-weight:700}.offer-deal-note{font-size:1rem;color:var(--muted)}.offer-deal-note.positive{color:var(--good)}.offer-name{position:relative;overflow:hidden;width:100%;max-width:100%;font-weight:600;font-size:1.125rem;line-height:1.2}.offer-name-track{display:inline-flex;align-items:center}.offer-name-track span{display:inline-block;white-space:nowrap}.offer-name.marquee .offer-name-track{animation:offerMarquee 9s linear infinite}.offer-name.marquee .offer-name-track:hover{animation-play-state:paused}.offer-name.marquee .offer-name-track span{padding-right:2rem}.offer-item-actions{display:flex;align-items:center;gap:.75rem;justify-content:flex-end;flex-wrap:wrap}.qty-control{display:inline-flex;align-items:center;background:var(--btn-bg);border:1px solid var(--btn-border);border-radius:999px;overflow:hidden}.qty-control button{background:transparent;border:none;color:var(--text);width:2rem;height:1.875rem;cursor:pointer;font-size:1.25rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}.qty-control button:hover{background:var(--btn-hover-bg)}.qty-control button:disabled{opacity:.4;cursor:not-allowed;background-color:#2a2a2a;color:#666}.qty-control button:disabled:hover{background-color:#2a2a2a}.qty-control span{min-width:2rem;text-align:center;font-weight:600;font-size:1.125rem}.qty-readonly{color:var(--muted);font-size:1rem}.unit-price{font-size:1rem;color:var(--muted);display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap;flex:0 0 auto}.unit-price.deal .muted{margin-left:0}.offer.is-readonly .offer-item{background:#1c204599;border-color:#2a2f5acc}.offer-item.greyed-out{opacity:.4;pointer-events:none;position:relative}.offer-item.greyed-out:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(255,255,255,.02) 10px,rgba(255,255,255,.02) 20px);pointer-events:none;border-radius:inherit}.offer-item.deal-active{border-color:#ffb34799;background:linear-gradient(120deg,#2c183acc,#3b1e2acc);box-shadow:0 0 0 1px #ffb34733}.offer-item.deal-active .offer-name{color:#ffd599}.offer-item.deal-active .muted{color:#ffd599b8}.offer-name-track span:last-child{padding-right:0}.pill-name-track span:last-child{padding-right:0}.deal-chip{background:#ffb86c33;border:1px solid rgba(255,184,108,.4);color:#ffb86c;border-radius:999px;padding:.25rem .75rem;font-size:1rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;display:inline-flex;align-items:center;gap:.25rem;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;-webkit-user-select:text;user-select:text}.deal-chip:hover{background:#ffb86c47;box-shadow:0 .25rem .875rem #ffb86c40;transform:translateY(-1px)}.deal-chip:active{transform:translateY(0);box-shadow:none}.deal-chip:focus-visible{outline:none;box-shadow:0 0 0 2px #ffb86c80}.deal-chip:disabled{cursor:default;opacity:.6;box-shadow:none;transform:none}.deal-chip.readonly{cursor:text;transition:none;box-shadow:none}.deal-chip.readonly:hover{background:#ffb86c33;box-shadow:none;transform:none}.icon-button{background:transparent;border:1px solid transparent;border-radius:.5rem;color:inherit;padding:.5rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .12s ease,background .12s ease,border-color .12s ease,box-shadow .12s ease}.icon-button svg{width:1.5rem;height:1.5rem}.icon-button.fire{color:#ffb347;border-color:#ffb34766;background:#ffb3471f;box-shadow:inset 0 0 0 1px #ffb34726}.icon-button.fire:hover{transform:translateY(-1px);box-shadow:0 6px 18px #ffb34740;background:#ffb34733}.icon-button.fire:active{transform:translateY(0);box-shadow:none}.icon-button.trash{color:#ff6b6bcc;border-color:#ff6b6b59;background:#ff6b6b14}.icon-button.trash:hover{color:#ff8b8b;background:#ff6b6b26;box-shadow:0 6px 18px #ff6b6b38;transform:translateY(-1px)}.icon-button.trash:active{transform:translateY(0);box-shadow:none}@keyframes offerMarquee{0%{transform:translate(0)}to{transform:translate(-50%)}}@keyframes pillMarquee{0%{transform:translate(0)}to{transform:translate(-50%)}}.action-warning{margin-top:12px;background:#ff6b6b1f;border:1px solid rgba(255,107,107,.35);color:#ff8b8b;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.4}.action-warning.pulse{animation:warningPulse .65s ease-in-out}.action-warning-top{margin:0 0 12px}.inventory-desync-banner{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.inventory-desync-actions{display:flex;gap:8px}.actions{display:flex;gap:10px;margin-top:8px;align-items:center}.actions button{flex:none}.actions-top{margin:0 0 16px;min-height:clamp(3rem,2.2rem + .8vw,5rem);align-items:center}.actions-placeholder{visibility:hidden;pointer-events:none}.actions-empty-hint{flex:1;text-align:center;font-size:clamp(.95rem,.85rem + .3vw,1.25rem);color:var(--muted);letter-spacing:.02em;font-weight:600;line-height:1.35;padding:.6rem 1rem;min-height:2.8rem;border:1px dashed var(--btn-border);border-radius:.5rem;background:var(--panel);opacity:.35}.primary{background:var(--btn-bg);color:var(--text);border:1px solid var(--btn-border);padding:.75rem 1.25rem;border-radius:.5rem;cursor:pointer;font-size:1.125rem;font-weight:600}.primary:hover:not(:disabled){background:var(--btn-hover-bg);border-color:var(--accent)}.primary:disabled{opacity:.5;cursor:not-allowed}.ghost{background:transparent;color:var(--muted);border:1px solid var(--btn-border);padding:.75rem 1.25rem;border-radius:.5rem;cursor:pointer;font-size:1.125rem}.ghost:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.ghost:disabled{opacity:.5;cursor:not-allowed}.ghost.compact{padding:.5rem .875rem;font-size:1rem}.ghost.danger{color:var(--bad);border-color:#ff6b6b99}.ghost.danger:hover{color:#ff8b8b;border-color:#ff8b8b}.meter-card{padding:1rem 1rem .875rem;gap:.75rem}.meter-card .card-header{align-items:center;justify-content:center;gap:.5rem}.meter-title-row{display:flex;align-items:center;justify-content:center;gap:.5rem}.meter-title-row h2{font-size:1rem;text-transform:uppercase;letter-spacing:.04em}.meter-result{display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:8px 10px;font-size:13px}.meter-result.fair{border-color:#67e48066;color:var(--good)}.meter-result.unfair{border-color:#ff6b6b66;color:var(--bad)}.meter-result.uncapped{border-color:#ffb34780;color:#ffb347}.meter-result .diff{font-weight:600}.meter-hint{text-align:center;font-size:.8125rem;color:var(--muted);border:1px dashed var(--btn-border);border-radius:.5rem;padding:.75rem}.meter-card.meter-placeholder{min-height:8.75rem;justify-content:center}.meter-card.meter-placeholder .meter-hint{border-style:dashed}.scale{background:var(--meter-bg);border:1px solid var(--meter-border);border-radius:.75rem;padding:.625rem .875rem;position:relative;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-width:100%;overflow:hidden}.beam{position:relative;display:flex;align-items:center;justify-content:center;transition:transform .2s ease;height:6.25rem;max-width:100%}.fulcrum{width:0;height:0;border-left:1rem solid transparent;border-right:1rem solid transparent;border-top:1.5rem solid var(--meter-fulcrum-neutral);margin:0 1rem;flex-shrink:0}.pan{width:8.125rem;height:3.75rem;background:var(--meter-pan-bg);border:1px solid var(--meter-pan-border);border-radius:.625rem;display:flex;align-items:flex-end;justify-content:center;padding:.375rem;position:relative;flex-shrink:1;min-width:5rem}.pan .meter{position:absolute;left:0;bottom:0;height:.375rem;background:linear-gradient(90deg,var(--meter-neutral-start),var(--accent));border-bottom-left-radius:.625rem;border-bottom-right-radius:.625rem}.scale.fair .pan .meter{background:linear-gradient(90deg,rgba(103,228,128,.7),var(--good))}.scale.uncapped .pan .meter{background:linear-gradient(90deg,#ffd166,#ffb347)}.scale.unfair-left .pan.left .meter,.scale.unfair-right .pan.right .meter{background:linear-gradient(90deg,rgba(255,107,107,.7),var(--bad))}.amount{position:absolute;top:.5rem;font-size:1.125rem;color:var(--muted);font-weight:600}.deal-flag{position:absolute;top:1.75rem;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;width:auto;text-align:left}.deal-icon{flex:none}.deal-copy{font-size:1rem;letter-spacing:.04em;text-transform:uppercase;font-weight:600;color:var(--good)}.legend{display:flex;justify-content:space-between;font-size:1rem;color:var(--muted);margin-top:.375rem}.scale.fair .fulcrum{border-top-color:var(--good)}.scale.uncapped .fulcrum{border-top-color:#ffd166e6}.scale.unfair-left .fulcrum,.scale.unfair-right .fulcrum{border-top-color:var(--bad)}.scale.neutral .fulcrum{border-top-color:#444c8a}.flash-success{animation:flashGood .7s ease-out}.flash-unfair{animation:flashBad .7s ease-out}@keyframes flashGood{0%{box-shadow:0 0 #67e48000}30%{box-shadow:0 0 24px #67e48073}to{box-shadow:0 0 #67e48000}}@keyframes flashBad{0%{box-shadow:0 0 #ff6b6b00}30%{box-shadow:0 0 24px #ff6b6b73}to{box-shadow:0 0 #ff6b6b00}}@keyframes warningPulse{0%{box-shadow:0 0 #ff6b6b00;transform:translateY(0)}45%{box-shadow:0 0 22px #ff6b6b73;transform:translateY(-1px)}to{box-shadow:0 0 #ff6b6b00;transform:translateY(0)}}.history-block{margin-top:28px;background:var(--panel);border:1px solid var(--list-border);border-radius:14px;padding:16px}.history-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.history-header-meta{display:flex;align-items:center;gap:10px}.history-block.flash{animation:historyFlash 1.2s ease-out;box-shadow:0 14px 36px #7aa2f747}.history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.history>li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:8px 10px;min-width:0;cursor:help;position:relative;overflow:hidden}.history>li .trader{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.history>li .totals{color:var(--text);font-weight:600}.history>li .totals .savings{font-weight:700;font-size:12px}.history>li .totals .savings.positive{color:var(--good)}.history>li .time{color:var(--muted);font-size:12px}.history>li[aria-expanded=true]{background:var(--card-bg);opacity:.85}.history>li[aria-expanded=true]:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--accent),var(--accent-bright));border-top-left-radius:10px;border-top-right-radius:10px}.csv-dropdown{position:relative;display:inline-block}.csv-dropdown .csv-menu{position:absolute;top:36px;left:0;background:#111433;border:1px solid var(--card-border);border-radius:8px;padding:6px;display:flex;flex-direction:column;gap:4px;z-index:10}.csv-dropdown .csv-menu button{background:transparent;border:1px solid var(--btn-border);color:var(--text);border-radius:6px;padding:6px 10px;font-size:12px;cursor:pointer;text-align:left}.csv-dropdown .csv-menu button:hover{background:#262b5ce6}.history-details{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.details-col.receipt{grid-column:1 / -1}.details-col{background:var(--panel);opacity:.8;border:1px solid var(--card-border);border-radius:8px;padding:8px}.details-label{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.details-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.details-item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;font-size:12px}.details-item .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details-item .qty{color:var(--muted)}.details-item .val{font-weight:600}.details-empty{color:var(--muted);font-size:12px}.history-header h3{margin:0;font-size:16px}.history-flash{background:#7aa2f72e;border:1px solid rgba(122,162,247,.55);color:var(--accent);border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.history>li{display:grid;grid-template-columns:auto 1fr auto auto auto;gap:12px;align-items:center;background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:8px 10px;font-size:13px;cursor:help}.history>li.highlight{border-color:#7aa2f7b3;box-shadow:0 10px 24px #7aa2f74d;background:var(--card-bg);opacity:.95;animation:historyItemFlash 2s ease-out}.history>li.fair .diff{color:var(--good)}.history>li.unfair .diff{color:var(--bad)}.history .id{color:var(--muted)}.history .time{color:var(--muted);font-size:12px}.history>li{transition:background .12s ease,border-color .12s ease,box-shadow .12s ease,transform .12s ease}.history>li:hover{background:var(--card-bg);opacity:.8;border-color:var(--accent);transform:translateY(-1px);box-shadow:0 6px 16px #080a1c40}.confetti-local{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2;display:block}.confetti-local .piece{position:absolute;top:50%;left:50%;width:10px;height:16px;opacity:0;transform-origin:center;border-radius:2px}.confetti-local .piece:nth-child(odd){width:8px;height:12px}.confetti-local .piece:nth-child(3n){width:6px;height:10px}.confetti-local .piece.c1{background:#7aa2f7}.confetti-local .piece.c2{background:#67e480}.confetti-local .piece.c3{background:#f6bd60}.confetti-local .piece.c4{background:#ff6b6b}.confetti-local .piece.c5{background:#c084fc}.confetti-local .piece.fly{animation:confettiBurstLocal 1.2s ease-out forwards}@keyframes confettiBurstLocal{0%{opacity:0;transform:translate(-50%,-50%) scale(.4) rotate(0)}10%{opacity:1}60%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--tx, 0)),calc(-50% + var(--ty, 0))) scale(.9) rotate(var(--rot, 180deg))}}@keyframes historyFlash{0%{box-shadow:0 0 #7aa2f700;border-color:#262a50}30%{box-shadow:0 14px 36px #7aa2f747;border-color:#7aa2f7a6}to{box-shadow:0 0 #7aa2f700;border-color:#262a50}}@keyframes historyItemFlash{0%{box-shadow:0 10px 28px #7aa2f766;border-color:#7aa2f7d9}to{box-shadow:0 0 #7aa2f700;border-color:#24295ae6}}.inventory-modal{position:fixed;inset:0;background:#0c1026c7;display:flex;align-items:center;justify-content:center;padding:24px;z-index:80}.inventory-modal .modal-card{background:var(--panel);border:1px solid #2a2f61;border-radius:14px;padding:20px;width:min(420px,100%);display:flex;flex-direction:column;gap:16px;box-shadow:0 18px 60px #0a0c1e73}.inventory-modal h3{margin:0;font-size:1.5rem}.modal-body{display:flex;flex-direction:column;gap:12px}.modal-actions{display:flex;gap:12px;flex-wrap:wrap}.modal-actions .primary{flex:1 1 160px}.modal-actions .ghost{flex:1 1 140px;text-align:center}.form-error{background:#ff6b6b1f;border:1px solid rgba(255,107,107,.35);color:#ff8b8b;border-radius:8px;padding:8px 10px;font-size:1.125rem}.deal-modal{position:fixed;inset:0;background:#0c1026d1;display:flex;align-items:center;justify-content:center;padding:24px;z-index:120}.deal-modal .modal-card{background:var(--panel);border:1px solid rgba(255,179,71,.35);border-radius:14px;padding:20px;width:min(360px,100%);box-shadow:0 22px 60px #080814a6}.deal-modal h3{margin:0;font-size:1.5rem}.deal-modal .muted{font-size:1.125rem;margin:0}.deal-modal input[type=number]{background:#111433;border:1px solid #2a2f61;border-radius:6px;padding:8px 10px;color:var(--text);font-size:1.125rem}.deal-modal input[type=number]:focus{outline:none;border-color:#ffb347cc;box-shadow:0 0 0 2px #ffb34740}.deal-modal .modal-actions{margin-top:6px}.deal-modal .primary{background:#ffb34729;border-color:#ffb34780;color:#ffd599}.deal-modal .primary:hover{background:#ffb34738}.deal-modal .ghost{border-color:#7aa2f759}@media (max-width: 1100px){.layout{grid-template-columns:1fr}.request-list,.meter-sticky{position:static}.workspace{grid-template-columns:1fr}}@media (max-width: 640px){#root{padding:1.5rem 1rem}.shell{padding:0}header h1{font-size:22px}header h1 small{display:inline-flex;margin:0 0 0 6px;white-space:nowrap}.card{padding:16px}.request-card-body,.request-card-foot{flex-direction:column;gap:4px;align-items:flex-start}.history li{grid-template-columns:repeat(2,auto);grid-auto-rows:auto}.custom-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.scale{padding:8px 10px}.pan{width:100px;min-width:70px;height:50px;font-size:11px}.fulcrum{margin:0 8px;border-left:12px solid transparent;border-right:12px solid transparent;border-top:18px solid rgba(68,76,138,.7)}.beam{height:80px}.amount{font-size:11px;top:6px}.deal-flag{top:22px}}.request-panel.empty-card{align-items:center;justify-content:center;min-height:180px;text-align:center}.request-panel.empty-card p{margin:0}.add-listing-modal-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.add-listing-modal{background:var(--panel);border:1px solid #2a2f61;border-radius:16px;box-shadow:0 25px 80px #000c;width:min(700px,100%);max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.add-listing-modal .modal-header-minimal{position:absolute;top:16px;right:16px;z-index:10}.add-listing-modal .modal-header-minimal .modal-close{background:#0f1226e6;border:1px solid #2a2f61;color:var(--muted);cursor:pointer;padding:8px;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.add-listing-modal .modal-header-minimal .modal-close:hover{background:#7aa2f71a;color:var(--accent);border-color:var(--accent)}.add-listing-modal .modal-content{padding:32px 28px 24px;overflow-y:auto;flex:1;max-height:calc(90vh - 200px)}.add-listing-modal .modal-content::-webkit-scrollbar{width:8px}.add-listing-modal .modal-content::-webkit-scrollbar-track{background:#2a2f614d;border-radius:4px}.add-listing-modal .modal-content::-webkit-scrollbar-thumb{background:#7aa2f780;border-radius:4px}.add-listing-modal .modal-content::-webkit-scrollbar-thumb:hover{background:#7aa2f7b3}.add-listing-modal .form-section{margin-bottom:32px}.add-listing-modal .form-section:last-child{margin-bottom:0}.add-listing-modal .field-group{margin-bottom:20px}.add-listing-modal .field-row{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-bottom:20px}.add-listing-modal .field-group-wide{grid-column:span 2}.add-listing-modal label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:var(--text)}.add-listing-modal .required{color:#ff6b6b}.add-listing-modal .form-input,.add-listing-modal .form-textarea{width:100%;background:#111433;border:1px solid #2a2f61;border-radius:8px;padding:12px 16px;color:var(--text);font-size:14px;font-family:inherit;transition:all .2s ease;box-sizing:border-box}.add-listing-modal .form-input:focus,.add-listing-modal .form-textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px #7aa2f733}.add-listing-modal .form-input::placeholder,.add-listing-modal .form-textarea::placeholder{color:var(--muted)}.add-listing-modal .form-input.error,.add-listing-modal .form-textarea.error{border-color:#ff6b6b;box-shadow:0 0 0 2px #ff6b6b33}.add-listing-modal .field-error{display:flex;align-items:center;gap:6px;color:#ff6b6b;font-size:13px;margin-top:6px;font-weight:500}.add-listing-modal .field-error:before{content:"⚠";font-size:12px}.add-listing-modal .form-textarea{resize:vertical;min-height:80px}.add-listing-modal .radio-group{display:flex;gap:24px;margin-top:4px}.add-listing-modal .radio-option{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:16px;border:1px solid #2a2f61;border-radius:8px;background:#0f1226;transition:all .2s ease;flex:1}.add-listing-modal .radio-option:hover{border-color:var(--accent);background:#7aa2f70d}.add-listing-modal .radio-option input[type=radio]{margin:2px 0 0;accent-color:var(--accent)}.add-listing-modal .radio-option:has(input:checked){border-color:var(--accent);background:#7aa2f71a}.add-listing-modal .radio-label{display:flex;flex-direction:column;gap:4px}.add-listing-modal .radio-label strong{font-size:14px;color:var(--text)}.add-listing-modal .radio-label small{font-size:12px;color:var(--muted)}.add-listing-modal .items-section{background:#0a0f1f;border:1px solid #1a2040;border-radius:12px;padding:20px}.add-listing-modal .section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.add-listing-modal .section-header label{margin:0;font-size:16px;font-weight:600}.add-listing-modal .add-item-btn{background:#7aa2f71a;border:1px solid rgba(122,162,247,.3);border-radius:6px;padding:8px 12px;color:var(--accent);font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.add-listing-modal .add-item-btn:hover{background:#7aa2f726;border-color:#7aa2f766}.add-listing-modal .items-header{display:grid;grid-template-columns:2fr 80px 100px 100px 40px;gap:12px;margin-bottom:12px;padding:0 4px}.add-listing-modal .items-header span{font-size:12px;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.add-listing-modal .item-row{display:grid;grid-template-columns:2fr 80px 100px 100px 40px;gap:12px;margin-bottom:12px;align-items:flex-start}.add-listing-modal .item-field{display:flex;flex-direction:column}.add-listing-modal .item-row .form-input{padding:10px 12px;font-size:13px}.add-listing-modal .item-actions{display:flex;justify-content:center}.add-listing-modal .remove-item-btn{background:#ff6b6b1a;border:1px solid rgba(255,107,107,.2);border-radius:4px;padding:6px;color:#ff6b6b;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.add-listing-modal .remove-item-btn:hover{background:#ff6b6b33;border-color:#ff6b6b66}.add-listing-modal .error-message{display:flex;align-items:center;gap:8px;background:#ff6b6b1a;border:1px solid rgba(255,107,107,.3);border-radius:8px;padding:12px 16px;color:#ff6b6b;font-size:14px;margin-top:16px}.add-listing-modal .modal-footer{display:flex;flex-direction:column;gap:16px;padding:20px 28px 24px;border-top:1px solid #2a2f61;background:#0a0f1fcc}.add-listing-modal .bottom-preview{display:flex;justify-content:center}.add-listing-modal .preview-card-bottom{transform:scale(.9);opacity:.95;pointer-events:none;max-width:320px;width:100%;margin:-8px 0}.add-listing-modal .preview-card-bottom .request-title{color:var(--muted);font-style:italic;font-size:14px}.add-listing-modal .preview-card-bottom:has(.request-title:not(:empty)) .request-title{color:var(--text);font-style:normal}.add-listing-modal .preview-card-bottom .request-card-body{font-size:12px}.add-listing-modal .preview-card-bottom .request-card-foot{font-size:11px}.add-listing-modal .modal-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.add-listing-modal .modal-footer-horizontal{display:flex;align-items:center;gap:16px;justify-content:space-between}.add-listing-modal .modal-footer-stacked-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.add-listing-modal .bottom-preview{flex:1;display:flex;justify-content:center}.add-listing-modal .modal-footer-create{flex-shrink:0}.add-listing-modal .modal-footer-create .btn-primary{min-width:140px;text-align:center}.add-listing-modal .btn-secondary{background:transparent;border:1px solid #2a2f61;border-radius:8px;padding:10px 20px;color:var(--muted);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:100px}.add-listing-modal .btn-secondary:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.add-listing-modal .tolerance-input-group{display:flex;align-items:center;gap:12px}.add-listing-modal .tolerance-input-group input[type=number]:disabled{opacity:.5;cursor:not-allowed}.add-listing-modal .tolerance-uncapped{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);cursor:pointer;white-space:nowrap}.add-listing-modal .tolerance-uncapped input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.add-listing-modal .tolerance-uncapped:hover{color:var(--text)}.add-listing-modal .btn-primary{background:var(--accent);border:1px solid var(--accent);border-radius:8px;padding:10px 20px;color:#0f1226;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.add-listing-modal .btn-primary:hover:not(:disabled){background:#8bb3f9;transform:translateY(-1px)}.add-listing-modal .btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.add-listing-modal .spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.add-listing-modal{margin:10px;width:calc(100% - 20px)}.add-listing-modal .modal-header,.add-listing-modal .modal-content,.add-listing-modal .modal-footer{padding-left:20px;padding-right:20px}.add-listing-modal .field-row{grid-template-columns:1fr}.add-listing-modal .field-group-wide{grid-column:span 1}.add-listing-modal .radio-group{flex-direction:column;gap:12px}.add-listing-modal .items-header,.add-listing-modal .item-row{grid-template-columns:1fr;gap:8px}.add-listing-modal .items-header{display:none}.add-listing-modal .item-row{background:#111433;border:1px solid #2a2f61;border-radius:8px;padding:12px;margin-bottom:8px}.add-listing-modal .item-field{margin-bottom:8px}.add-listing-modal .item-field:last-child{margin-bottom:0}.add-listing-modal .modal-footer-actions{flex-direction:column;align-items:stretch;gap:16px}.add-listing-modal .preview-card-bottom{transform:scale(.85);max-width:280px}.add-listing-modal .modal-footer-horizontal{flex-direction:column;gap:12px;align-items:stretch}.add-listing-modal .modal-footer-stacked-actions{flex-direction:row;justify-content:center;gap:12px}.add-listing-modal .bottom-preview{order:2}.add-listing-modal .modal-footer-create{order:3}.add-listing-modal .modal-footer-create .btn-primary{width:100%}}.info-button{display:inline-flex;align-items:center;justify-content:center;width:clamp(1.25rem,.9rem + .6vw,2.2rem);height:clamp(1.25rem,.9rem + .6vw,2.2rem);border-radius:999px;border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--muted);font-weight:800;font-size:clamp(.8rem,.7rem + .25vw,1.2rem);line-height:1;cursor:pointer;vertical-align:middle}.info-button:hover{color:var(--accent);border-color:var(--accent);background:var(--btn-hover-bg)}.info-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent)}.zoom-controls{display:inline-flex;flex-direction:row;align-items:center;gap:6px;margin-left:auto;vertical-align:middle}.zoom-controls input[type=range]{width:130px;cursor:pointer;accent-color:var(--accent);background:transparent}.zoom-readout{font-size:.75rem;opacity:.65;min-width:3ch;text-align:right;font-weight:600}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.zoom-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;border:1px solid #2a2f61;background:#111433b3;color:var(--muted);cursor:pointer;vertical-align:middle;transition:all .18s ease}.zoom-button:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:#7aa2f71f}.zoom-button:focus-visible{outline:none;box-shadow:0 0 0 2px #7aa2f766}.zoom-button:disabled{opacity:.4;cursor:not-allowed}.info-modal-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.info-modal{position:relative;background:var(--panel);border:1px solid var(--card-border);border-radius:14px;box-shadow:0 22px 60px #080814a6;width:min(520px,100%);padding:20px 20px 16px}.info-modal .modal-close{position:absolute;top:10px;right:10px;background:#0f1226e6;border:1px solid var(--card-border);color:var(--muted);cursor:pointer;padding:6px;border-radius:8px}.info-modal .modal-close:hover{background:#7aa2f71f;color:var(--accent);border-color:var(--accent)}.info-modal-content{font-size:15px;line-height:1.55}.info-modal-content h3{margin:0 0 6px;font-size:20px}.info-modal-content p{margin:0 0 10px;font-size:15px}.info-points{margin:0 0 12px 18px;padding:0;font-size:14px;color:var(--muted)}.info-points li{margin-bottom:6px}.info-actions{display:flex;justify-content:flex-end}.admin-dropdown{position:relative;display:inline-block}.admin-button{margin-left:6px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:8px;border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--muted);cursor:pointer}.admin-button:hover{color:var(--accent);border-color:var(--accent);background:var(--btn-hover-bg)}.admin-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--accent)}.admin-menu{position:absolute;top:30px;right:0;background:var(--panel);border:1px solid var(--btn-border);border-radius:8px;padding:6px;display:flex;flex-direction:column;gap:4px;z-index:1200;min-width:160px}.admin-menu button{background:transparent;border:1px solid var(--btn-border);color:var(--text);border-radius:6px;padding:8px 10px;font-size:12px;cursor:pointer;text-align:left}.admin-menu button:hover{background:var(--btn-hover-bg)}.admin-actions-desktop{display:none!important}.header-admin{display:inline-flex}.box-of-stones-notice{padding:20px;border:2px dashed var(--card-border);border-radius:8px;background:#b8cfff0d;text-align:center;margin:8px 0}.box-notice-icon{font-size:48px;margin-bottom:12px;display:inline-block;animation:boxBounce 1s ease-in-out infinite}.box-notice-text{color:var(--text);font-size:14px;margin:0 0 8px}.pill.newly-added{animation:inventoryShimmer 2s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes boxBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes inventoryShimmer{0%{background:var(--card-bg);box-shadow:0 0 #b8cfff99}50%{box-shadow:0 0 12px 6px #b8cfff4d}to{background:var(--card-bg);box-shadow:0 0 #b8cfff00}}.processing-progress{padding:8px 0}.progress-bar-container{width:100%;height:6px;background:#ffffff1a;border-radius:3px;overflow:hidden;margin-bottom:4px}.progress-bar-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-bright));transition:width .3s ease}.progress-text{font-size:11px;color:var(--text-secondary);text-align:center}.log-gem .log-status-gem{color:#4ade80;font-weight:500}.log-dud .log-status-dud{color:#f87171;font-weight:500}
