.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--layout-gap); align-items: stretch; } .panel-heading { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 20px; } .panel-heading h2 { margin: 0; }
textarea { width: 100%; min-height: 300px; resize: none; overflow-y: auto; background: #0c1420; color: #dce6f2; border: 1px solid #35455b; border-radius: 8px; padding: 16px; line-height: 1.65; font-family: Consolas, "Cascadia Mono", monospace; font-size: .875rem; } textarea::placeholder { color: #7f91a8; } textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid #e4be76; outline-offset: 3px; }
.small-note { color: #a8b7ca; font-size: .875rem; line-height: 1.65; margin: 16px 0; } .button-primary { margin-top: 8px; padding: 13px 20px; min-height: 48px; border: 0; border-radius: 8px; background: #e4be76; color: #1c1a17; font-weight: 600; cursor: pointer; } .button-primary:hover:not(:disabled) { background: #f0cd8c; } .button-primary:disabled { opacity: .45; cursor: default; } .button-quiet { padding: 5px 0 5px 12px; background: none; border: 0; color: #bdc9d8; cursor: pointer; font-size: .875rem; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; min-height: 48px; }
.form-actions .button-primary { flex-shrink: 0; margin-top: 0; }
.form-actions .error-message { flex: 1; min-width: 0; max-height: 3em; overflow-y: auto; overflow-wrap: anywhere; margin: 0; padding: 0; border: 0; background: none; line-height: 1.5; }
.form-actions .error-message:focus-visible { outline: 2px solid #e4be76; outline-offset: 3px; }
.settings-panel label { display: block; color: #bdc9d8; margin: 24px 0 9px; font-size: .875rem; } select { width: 100%; appearance: none; border: 1px solid #40516a; border-radius: 8px; padding: 12px 34px 12px 12px; color: #edf2f7; background: #101927 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23c0cbda' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font-size: .875rem; } .settings-panel h3 { margin-top: 24px; } .explanation { padding-left: 19px; margin: 0; color: #bdc9d8; line-height: 1.7; font-size: .875rem; } .explanation li + li { margin-top: 10px; }
#results { margin-top: 42px; } .results-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; } .results-heading p { margin: 0; } .results-title { font-size: 1.125rem; font-weight: 600; } #result-summary { color: #a8b7ca; font-size: .875rem; } .result-market { margin-top: 20px; } .result-market h3 { font-size: 1.15rem; } .metrics { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 16px; margin: 24px 0; } .metric { border-right: 1px solid #2b394d; padding-right: 14px; } .metric:last-child { border: 0; } .metric-label { display: block; color: #a8b7ca; font-size: .875rem; margin-bottom: 8px; } .metric-value { font-size: 1.3rem; font-weight: 600; } .metric:first-child .metric-value { color: #e4be76; } 
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: .875rem; } th { color: #a8b7ca; font-weight: 500; text-align: left; padding: 12px; border-bottom: 1px solid #40516a; white-space: nowrap; } td { padding: 13px 12px; border-bottom: 1px solid #29364a; white-space: nowrap; } th:first-child, td:first-child { padding-left: 0; } .item-name { white-space: normal; min-width: 150px; } .item-id { display: block; color: #9aabc1; margin-top: 3px; font-size: .875rem; } .price { font-variant-numeric: tabular-nums; } .status-priced { color: #9dd6be; } .status-unpriced { color: #edc689; } .status-bound { color: #acb9cb; }
@media (min-width: 901px) {
  .export-panel { display: flex; flex-direction: column; min-height: 0; contain: size; }
  #inventory-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  #inventory-export { flex: 1; height: 0; min-height: 0; }
  .export-panel .panel-heading, .form-actions, #export-warnings { flex-shrink: 0; }
}
.settings-panel > .small-note:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .workspace { grid-template-columns: 1fr; } .settings-panel { order: -1; } .settings-panel h3, .settings-panel .explanation, .settings-panel > .small-note { display: none; } .settings-panel label { margin-top: 16px; } .metrics { grid-template-columns: repeat(2, 1fr); } .metric:nth-child(2) { border: 0; } }
@media (max-width: 540px) { .button-primary { width: 100%; } .form-actions { flex-direction: column; align-items: stretch; gap: 10px; } .form-actions .error-message { flex: none; max-height: none; overflow-y: visible; } .metric-value { font-size: 1.1rem; } }
