: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;background-color:#242424}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}}.login-container{display:flex;justify-content:center;align-items:center;height:100vh}.login-box{background-color:#333;padding:2rem;border-radius:8px;text-align:center;color:#fff}.api-key-input{width:100%;padding:.5rem;border:1px solid #555;border-radius:4px;background-color:#444;color:#fff}.login-button,.create-api-key-button{width:100%;padding:.75rem;margin-bottom:.5rem;border:none;border-radius:4px;cursor:pointer}.login-button{background-color:#007bff;color:#fff}.create-api-key-button{background-color:#555;color:#fff}.main-container{display:flex;flex-direction:column;align-items:center;min-height:100vh;padding:5vh 2vw;position:relative}.main-logout-button{position:absolute;top:20px;right:20px;padding:8px 16px;background-color:#a15e49;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;z-index:50}.log-status-container{display:flex;align-items:center;gap:15px;margin-bottom:20px;background-color:#2a2a2a;padding:10px 20px;border-radius:8px;color:#f0f0f0}.main-logout-button:hover{opacity:.9}.main-title{color:#ca895f;font-size:2.5rem;margin-bottom:30px;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.user-icons-container{display:flex;gap:4px;margin-bottom:20px;height:16px}.user-icon{width:16px;height:16px;background-image:url(/assets/user_status_icons_sprite-CP3yN4hQ.svg);background-repeat:no-repeat;flex-shrink:0}.missing-icons-notice{font-size:.8rem;color:#a15e49;margin-top:-10px;margin-bottom:20px;padding-right:10px}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:10}.card-container{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%;max-width:1300px;justify-items:center}.card-container.focused{display:flex;justify-content:center}@media(min-width:1200px){.card-container{grid-template-columns:repeat(4,1fr)}}.undercut-container{width:100%;max-width:900px;padding:2rem;background-color:#333;border-radius:8px;color:#f0f0f0}.card-container.focused .undercut-container{position:relative;z-index:20}.profit-analysis-card,.trade-analysis-card,.stock-analysis-card,.halloween-report-card,.price-history-card,.market-scan-card,.stakeout-card{background-color:#333}.undercut-container.collapsed{max-width:150px;text-align:center;cursor:pointer;transition:all .2s ease-in-out}.collapsed-card-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.collapsed-card-content h1{font-size:1rem;line-height:1.2}.card-icon{width:48px;height:48px;stroke:#ca895f}.card-container.focused .undercut-container.collapsed{display:none}.header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #444;padding-bottom:10px;margin-bottom:20px}.header h1{margin:0;color:#4caf50}.header-buttons{display:flex;gap:10px}.header-button{background-color:#555;color:#fff}.logout-button{padding:8px 16px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.header-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;background-color:#555;color:#fff}.header-button.save{background-color:#4caf50}.header-button.clear{background-color:#d9534f}.welcome-message{color:#fff}.logout-button:hover{background-color:#45a049}.error-message{color:#d9534f;background-color:#d9534f1a;padding:10px;border-radius:4px}.undercut-item{background-color:#2c2c2c;border:1px solid #444;border-radius:6px;padding:15px;margin-bottom:15px}.item-summary-header{margin-top:0;margin-bottom:10px;color:#81c784;font-size:1em;font-weight:400}.item-link{color:inherit;text-decoration:none}.undercut-item h3{margin-top:0;color:#5e9e61}.highlight-number{color:#52df8a}.listing{align-items:center;gap:10px;padding:6px 8px;border-bottom:1px solid #444;font-size:13px}.listing a{color:#4a90e2;text-decoration:none}.listing:last-child{border-bottom:none}.expand-button{background:none;border:none;color:#4a90e2;cursor:pointer;padding:8px 0;text-align:left;font-size:13px}.expand-button:hover{text-decoration:underline}.charts-container{display:flex;justify-content:space-around;gap:20px;margin-top:20px}.chart-wrapper{width:45%}.date-filter-container{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px;align-items:flex-end}.auto-refresh-container{display:flex;gap:15px;align-items:flex-end}.date-input-wrapper{display:flex;position:relative;flex-direction:column}.date-input-wrapper label{font-size:12px;margin-bottom:4px;color:#ccc}.date-input-wrapper input[type=date],.date-input-wrapper input[type=datetime-local],.date-input-wrapper .api-key-input{background-color:#555;color:#fff;border:1px solid #666;padding:4px 8px;border-radius:4px}.suggestions-list{position:absolute;top:100%;left:0;right:0;background-color:#555;border:1px solid #666;border-top:none;border-radius:0 0 4px 4px;list-style:none;margin:0;padding:0;z-index:100}.suggestions-list li{padding:8px 12px;cursor:pointer;font-size:14px}.suggestions-list li:hover{background-color:#474b24}.stock-table-container{margin-top:20px;overflow-x:auto}.stock-table-container table{width:100%;border-collapse:collapse;font-size:14px}.stock-table-container th,.stock-table-container td{padding:8px 12px;text-align:left;border-bottom:1px solid #474B24}.stock-table-container th{color:#ca895f}.stock-table-container tbody tr:hover{background-color:#474b24}.stock-table-container td:not(:first-child){text-align:right}.stock-table-container th:first-child,.stock-table-container td:first-child{position:sticky;left:0;z-index:1;background-color:#333}.stock-table-container tbody tr:hover td:first-child{background-color:#444}.stock-table-container th{cursor:pointer}.stock-table-container th.sorted-asc:after,.stock-table-container th.sorted-desc:after{content:"";display:inline-block;margin-left:5px;border:4px solid transparent}.stock-table-container th.sorted-asc:after{border-bottom-color:#ca895f;position:relative;top:-4px}.stock-table-container th.sorted-desc:after{border-top-color:#ca895f}.profit-summary{text-align:center;font-size:1.2rem;margin-bottom:20px}.profit-positive{color:#7eb77f;font-weight:700}.profit-negative{color:#a15e49;font-weight:700}.stock-input{width:80px;background-color:#555;color:#fff;border:1px solid #666;padding:4px;border-radius:4px}.action-buttons{display:flex;gap:5px}.action-button{padding:4px 8px;border:none;border-radius:4px;cursor:pointer;font-size:12px;color:#fff}.multi-select-container{margin-bottom:20px}.selected-items-container{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.selected-item-tag{background-color:#4a90e2;color:#fff;padding:5px 10px;border-radius:15px;display:flex;align-items:center;font-size:14px}.selected-item-tag button{background:none;border:none;color:#fff;margin-left:8px;cursor:pointer;font-size:16px;padding:0;line-height:1}.scan-results-container{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;align-items:start}.saved-selections-container{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #444}.saved-selection-tag{display:flex;align-items:center;background-color:#555;border-radius:4px;overflow:hidden}.load-selection-button{background:none;border:none;color:#fff;padding:6px 12px;cursor:pointer;font-size:13px}.load-selection-button:hover{background-color:#666}.delete-selection-button{background-color:#a15e49;border:none;color:#fff;padding:6px 10px;cursor:pointer;font-size:14px;line-height:1;border-left:1px solid #444}.delete-selection-button:hover{background-color:#8a4e3c}.scan-results-container .listing{display:flex;justify-content:space-between;align-items:center}.action-button.attack{background-color:#a15e49;text-decoration:none;display:inline-block}.action-button.attack:hover{background-color:#8a4e3c}.undercut-button{background-color:#4a90e2;padding:2px 6px;font-size:11px;margin-left:11px}.user-owned-listing a{font-weight:700;color:gold!important}.undercut-button:hover{background-color:#357abd}.action-button.save{background-color:#4caf50}.action-button.cancel{background-color:#d9534f}.action-button.adjust{background-color:#555}.item-profit-breakdown{margin-bottom:20px;padding:15px;background-color:#00000026;border-radius:6px}.item-profit-breakdown h4{margin-top:0;margin-bottom:10px;color:#ca895f;font-size:1rem}.breakdown-item{display:flex;justify-content:space-between;font-size:.9rem;padding:4px 0}.toggle-container{display:flex;align-items:center;gap:10px;margin-bottom:20px}.toggle-switch{position:relative;display:inline-block;width:50px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#555;transition:.4s;border-radius:24px}.slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider{background-color:#4caf50}input:checked+.slider:before{transform:translate(26px)}
