/* ═══════════════════════════════════════════════════════════════════
 * lot-detail.css — карточка лота: detail-blocks / market / verdict / repair / mech / inspection / contact / AS v2
 * ═══════════════════════════════════════════════════════════════════
 * Сгенерировано: scripts/arch3_4_split_css.py
 * Источник: frontend/index.html (3 <style> блока)
 * ═══════════════════════════════════════════════════════════════════
 */

.verdict-pill {
  font-size: 0.68em; font-weight: 600; padding: 2px 7px;
  border-radius: var(--r1); border: 1px solid transparent;
}

.verdict-pill.take  { background: var(--green-bg);  color: var(--green);  border-color: var(--green-border); }

.verdict-pill.skip  { background: var(--red-bg);    color: var(--red);    border-color: var(--red-border); }

.verdict-pill.maybe { background: var(--yellow-bg); color: var(--yellow); border-color: var(--yellow-border); }

.detail-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.detail-title-wrap {}

.detail-title { font-size: 1.5em; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 8px; }

.detail-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.detail-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--acc); text-decoration: none; font-size: 0.8em;
  padding: 3px 10px; background: var(--acc-soft);
  border: 1px solid #ff6a2f33; border-radius: var(--r1);
  transition: all 0.15s;
}

.detail-link:hover { background: #ff6a2f2e; }

.detail-source { font-size: 0.75em; color: var(--fg2); }

.detail-actions { display: flex; gap: 8px; flex-shrink: 0; }

.verdict-banner {
  border-radius: var(--r1); padding: 16px 18px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid; border-left-width: 3px;
}

.verdict-banner.take { background: var(--green-bg); border-color: var(--green-border); }

.verdict-banner.skip { background: var(--red-bg); border-color: var(--red-border); }

.verdict-banner.maybe { background: var(--yellow-bg); border-color: var(--yellow-border); }

.vb-icon { font-size: 2em; flex-shrink: 0; line-height: 1; }

.vb-body { flex: 1; }

.vb-title { font-size: 1.1em; font-weight: 700; margin-bottom: 4px; }

.verdict-banner.take .vb-title { color: var(--green); }

.verdict-banner.skip .vb-title { color: var(--red); }

.verdict-banner.maybe .vb-title { color: var(--yellow); }

.vb-rec { font-size: 0.88em; color: var(--fg1); line-height: 1.5; }

.auction-block {
  background: var(--acc-soft); border: 1px solid var(--acc-soft);
  border-radius: var(--r2); padding: 12px 14px; margin-bottom: 12px;
}

.auction-block-title {
  font-size: 0.75rem; font-weight: 700; color: #ff6a2f;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.auction-block__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }

.auction-refresh-btn { font-size: 10px; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--acc-soft); background: var(--acc-soft); color: #ff6a2f; cursor: pointer; }

.auction-refresh-btn:hover { background: var(--acc-soft); }

.auction-refresh-btn:disabled { opacity: 0.5; cursor: default; }

.auction-rows { display: flex; flex-direction: column; gap: 5px; }

.auction-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }

.auction-row__label { color: var(--fg2); }

.auction-row__value { color: var(--fg0); font-weight: 600; font-family: 'JetBrains Mono', monospace; }

.auction-row__value--accent { color: #ff6a2f; }

.auction-row__value--green { color: #4ade80; }

.auction-row__value--red { color: #f87171; }

.auction-countdown { margin-top:8px; padding:8px 6px; background:var(--bg1); border:1px solid var(--acc-border); border-radius:var(--r2); display:flex; gap:4px; }

.cd-cell { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; }

.cd-val { font-family:'JetBrains Mono',monospace; font-size:22px; font-weight:700; color:var(--acc); line-height:1; text-shadow:0 0 10px var(--acc-soft); }

.cd-lbl { font-size:9px; color:var(--fg2); text-transform:uppercase; letter-spacing:0.5px; }

.auction-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
}

.auction-cell { background: var(--bg2); border-radius: var(--r1); padding: 10px 12px; }

.ac-lbl { font-size: 0.72rem; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }

.ac-val { font-family: var(--mono); font-size: 0.88rem; font-weight: 500; color: var(--fg0); }

.auction-history { margin-top: 14px; }

.auction-history-title { font-size: 0.78rem; font-weight: 600; color: var(--fg1); margin-bottom: 8px; }

.auction-history-table { border-radius: var(--r1); overflow: hidden; border: 1px solid var(--border); }

.ah-header { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg3); padding: 6px 12px; font-size: 0.72rem; color: var(--fg2); font-weight: 600; text-transform: uppercase; }

.ah-row { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 12px; font-size: 0.85rem; border-top: 1px solid var(--border); }

.ah-row:nth-child(odd) { background: var(--bg2); }

.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }

.fin-card {
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: var(--r1); padding: 14px 16px;
  border-top: 2px solid var(--border);
}

.fin-card.profit {
  background: rgba(0,217,126,0.05); border-color: var(--green-border);
  border-top-color: var(--green);
}

.fin-lbl { font-size: 0.68em; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; font-weight: 500; }

.fin-val { font-family: var(--mono); font-size: 1.25em; font-weight: 600; color: var(--fg0); }

.fin-card.profit .fin-val { color: var(--green); font-size: 1.4em; }

.fin-sub { font-size: 0.7em; color: var(--fg2); margin-top: 5px; }

.info-row { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }

.info-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: var(--r1); padding: 5px 11px; font-size: 0.8em;
}

.info-chip-lbl { color: var(--fg2); font-size: 0.9em; }

.info-chip-val { font-weight: 600; }

.info-chip-val.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.02em; }

.info-chip-region { border-color: var(--acc-border); background: #ff6a2f0f; }

.info-chip-region .info-chip-val { color: var(--acc); }

.info-chip-location { border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.06); }

.info-chip-location .info-chip-val { color: #fbbf24; font-weight: 500; font-size: 0.88em; }

.section { margin-bottom: 24px; }

.section-title {
  font-size: 0.75em; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--fg2); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}

.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.repair-table { width: 100%; border-collapse: collapse; font-size: 0.85em; }

.repair-table thead { background: var(--bg1); }

.repair-table th {
  padding: 9px 12px; text-align: left; font-size: 0.75em;
  color: var(--fg2); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.repair-table td { padding: 7px 12px; border-bottom: 1px solid var(--border); color: var(--fg1); }

.repair-table tr:last-child td { border-bottom: none; }

.repair-table tr:hover td { background: var(--bg1); }

.total-row td { font-weight: 700; color: var(--yellow) !important; background: var(--bg1) !important; }

.cost-col { text-align: right; font-family: 'SF Mono', 'Consolas', monospace; font-size: 0.9em; }

.edit-cell {
  background: transparent; border: 1px solid transparent; border-radius: 4px;
  color: var(--fg1); font-family: inherit; font-size: inherit;
  padding: 2px 6px; width: 100%; outline: none; transition: border-color 0.15s;
}

.edit-cell:focus { border-color: var(--acc); background: var(--bg2); color: var(--fg0); }

.edit-cell.cost { text-align: right; font-family: 'Consolas', monospace; width: 100px; }

.del-row-btn {
  background: none; border: none; color: var(--fg2); cursor: pointer;
  padding: 2px 6px; border-radius: 4px; font-size: 1em; transition: all 0.15s;
}

.del-row-btn:hover { color: var(--red); background: var(--red-bg); }

.add-row-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px dashed var(--border2); border-radius: 6px;
  color: var(--fg2); cursor: pointer; padding: 7px 12px;
  font-size: 0.82em; font-family: inherit; width: 100%;
  margin-top: 6px; transition: all 0.15s;
}

.add-row-btn:hover { border-color: var(--acc); color: var(--acc); }

.repair-tabs { display: flex; gap: 4px; margin-bottom: 12px; }

.repair-tab {
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--border2);
  background: transparent; color: var(--fg2); font-size: 0.82em;
  font-family: inherit; font-weight: 500; cursor: pointer; transition: all 0.15s;
}

.repair-tab.active { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }

.mech-checklist { padding:4px 0; }

.mech-progress-header { display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;color:var(--fg1); }

.mech-progress-bar { flex:1;height:6px;background:var(--bg3);border-radius:3px;overflow:hidden; }

.mech-progress-fill { height:100%;background:var(--green);border-radius:3px;transition:width 0.3s; }

.mech-item { border-bottom:1px solid var(--bg3);padding:8px 0; }

.mech-item:last-child { border-bottom:none; }

.mech-item__row { display:flex;align-items:center;gap:8px; }

.mech-chk { width:18px;height:18px;border:2px solid var(--fg2);border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all 0.15s;font-size:13px;font-weight:700;color:transparent; }

.mech-chk.done { background:var(--green);border-color:var(--green);color:#fff; }

.mech-item__name { flex:1;font-size:13px; }

.mech-item__name.done { text-decoration:line-through;color:var(--fg2); }

.mech-item__cost { font-size:11px;color:var(--fg2);flex-shrink:0; }

.mech-photo-label { cursor:pointer;font-size:14px;padding:2px 6px;border-radius:4px;color:var(--fg1);transition:background 0.15s; }

.mech-photo-label:hover { background:var(--bg3); }

.mech-photos { display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;padding-left:26px; }

.mech-photo-thumb { width:60px;height:45px;object-fit:cover;border-radius:4px;cursor:pointer;border:1px solid var(--bg3);transition:border-color 0.15s; }

.mech-photo-thumb:hover { border-color:var(--acc); }

.export-bar {
  display: flex; gap: 8px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
}

.repair-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px;
}

.repair-sum-card {
  background: var(--bg1); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; text-align: center;
}

.repair-sum-card .rs-lbl { font-size: 0.72em; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.5px; }

.repair-sum-card .rs-val { font-size: 1.1em; font-weight: 700; margin-top: 2px; }

.repair-sum-card.total { border-color: var(--yellow-border); background: var(--yellow-bg); }

.repair-sum-card.total .rs-val { color: var(--yellow); }

.disc-toggle-secret { background: var(--bg2); border: 1px solid var(--border); border-radius: 5px; cursor: pointer; color: var(--fg2); font-size: 0.75em; padding: 2px 7px; line-height: 1.4; user-select: none; transition: all 0.15s; }

.disc-toggle-secret:hover { color: var(--fg0); border-color: var(--acc); }

.disc-panel { background: var(--bg1); border: 1px solid var(--border); border-radius: 8px; padding: 9px 14px; margin: 8px 0 4px; display: flex; align-items: center; gap: 12px; font-size: 0.83em; color: var(--fg1); }

.disc-panel label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.disc-panel input[type=number] { width: 52px; background: var(--bg2); border: 1px solid var(--border); border-radius: 5px; color: var(--fg0); padding: 3px 6px; font-size: 0.95em; text-align: center; -moz-appearance: textfield; }

.disc-panel input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

.risks-list { display: flex; flex-direction: column; gap: 6px; }

.risk-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--red-bg); border: 1px solid var(--red-border);
  border-radius: 8px; padding: 10px 12px; font-size: 0.85em;
}

.risk-icon { flex-shrink: 0; }

.risk-text { color: var(--fg1); line-height: 1.4; }

.photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }

.photo-item {
  border-radius: var(--r1); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.2s; aspect-ratio: 4/3;
}

.photo-item:hover { border-color: var(--acc); transform: scale(1.02); }

.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.market-links { display: flex; flex-direction: column; gap: 6px; }

.market-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--bg1); border: 1px solid var(--border);
  color: var(--fg1); text-decoration: none; font-size: 0.83em;
  transition: all 0.15s;
}

.market-link:hover { border-color: var(--acc); color: var(--acc); background: var(--acc-soft); }

.market-link-badge {
  padding: 2px 6px; border-radius: 4px; font-size: 0.75em; font-weight: 600;
}

.badge-avito { background: #1a3a2a; color: #4ade80; }

.badge-autoru { background: #1a2840; color: #60a5fa; }

.call-block { border: 1px solid var(--border2); border-radius: var(--r2); overflow: hidden; margin-bottom: 0; }

.call-block-header { background: var(--bg1); padding: 12px 16px; font-size: 0.9em; font-weight: 600; color: var(--acc); display: flex; align-items: center; gap: 8px; }

.call-block-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.call-field-row { display: flex; gap: 8px; align-items: flex-start; }

.call-field-row input, .call-field-row textarea {
  flex: 1; background: var(--bg1); border: 1px solid var(--border2); border-radius: var(--r1);
  color: var(--fg0); font-size: 0.85em; padding: 8px 10px; font-family: inherit; resize: vertical;
}

.call-field-row input:focus, .call-field-row textarea:focus { outline: none; border-color: var(--acc-dim); }

.call-save-btn {
  padding: 8px 14px; background: var(--bg2); border: 1px solid var(--acc-dim); border-radius: var(--r1);
  color: var(--acc); font-size: 0.8em; cursor: pointer; white-space: nowrap; transition: all 0.15s;
}

.call-save-btn:hover { background: var(--bg3); }

.call-save-btn.saved { background: var(--green-soft); border-color: var(--green); color: var(--green); }

.call-upload-area {
  border: 2px dashed var(--border2); border-radius: var(--r1); padding: 16px;
  text-align: center; cursor: pointer; transition: all 0.15s; color: var(--fg2); font-size: 0.85em;
}

.call-upload-area:hover { border-color: var(--acc-dim); color: var(--acc); }

.call-upload-area.dragover { border-color: var(--acc-dim); background: var(--bg1); }

.call-analysis-result { background: var(--bg1); border-radius: var(--r1); padding: 14px; font-size: 0.83em; }

.call-fact-row { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--border); }

.call-fact-row:last-child { border-bottom: none; }

.call-fact-topic { color: var(--fg2); min-width: 100px; flex-shrink: 0; }

.call-fact-value { color: var(--fg0); }

.call-risk-badge { background: #2a1010; border: 1px solid #dc2626; border-radius: 4px; padding: 6px 10px; color: #f87171; font-size: 0.82em; margin-top: 8px; }

.call-transcript-block { background: #0e0e14; border-radius: var(--r1); padding: 10px 12px; font-size: 0.78em; color: var(--fg2); line-height: 1.6; max-height: 120px; overflow-y: auto; }

.damage-text {
  font-size: 0.88em; line-height: 1.7; color: var(--fg1);
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: var(--r1); padding: 14px 16px;
}

.tg-page { padding: 24px 28px; }

.tg-page-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; }

.tg-page-header h2 { font-size: 1em; font-weight: 700; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg1); }

.tg-page-header p { font-size: 0.72em; color: var(--fg2); font-family: var(--mono); }

.tg-hint {
  background: rgba(34,157,217,0.06); border: 1px solid rgba(34,157,217,0.2);
  border-left: 3px solid rgba(34,157,217,0.5);
  border-radius: var(--r1); padding: 12px 16px; margin-bottom: 16px;
  font-size: 0.78em; color: var(--fg1); line-height: 1.6;
}

.tg-hint b { color: #38bdf8; }

.tg-commands { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.tg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }

.tg-card {
  background: var(--bg1); border: 1px solid var(--border);
  border-left: 3px solid rgba(34,157,217,0.5);
  border-radius: var(--r1); padding: 13px 15px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.tg-card.profit-good { border-left-color: var(--green); }

.tg-card.profit-mid  { border-left-color: var(--yellow); }

.tg-card.profit-bad  { border-left-color: var(--red); }

.tg-card:hover { background: var(--bg2); border-color: var(--border2); }

.tg-card-title { font-weight: 600; font-size: 0.88em; margin-bottom: 5px; line-height: 1.35; }

.tg-card-meta { font-size: 0.7em; color: var(--fg2); margin-bottom: 10px; font-family: var(--mono); letter-spacing: 0.02em; }

.tg-card-footer { display: flex; align-items: center; gap: 6px; }

.tg-badge { font-size: 0.68em; color: #7dd3fc; background: rgba(34,157,217,0.08); border: 1px solid rgba(34,157,217,0.2); border-radius: 3px; padding: 2px 6px; font-family: var(--mono); margin-left: auto; }

.tg-block { padding:12px; background:rgba(0,136,204,0.07); border:1px solid rgba(0,136,204,0.22); border-radius:10px; }

.tg-block__title { font-size:0.7em; font-weight:700; color:#29b6f6; margin-bottom:8px; }

.tg-block__sub { font-size:0.65em; color:var(--fg2); margin-bottom:6px; }

.tg-block__pills { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:4px; }

.tg-block__pill { padding:4px 10px; border:1px solid rgba(41,182,246,0.25); border-radius:20px; background:transparent; color:var(--fg2); font-size:0.72em; font-weight:600; cursor:pointer; font-family:inherit; transition:all 0.12s; }

.tg-block__pill.on { background:rgba(41,182,246,0.15); border-color:#29b6f6; color:#29b6f6; }

.tg-block__pill:hover:not(.on) { border-color:rgba(41,182,246,0.45); color:var(--fg1); }

.tg-block__status { font-size:0.65em; color:var(--green); padding:2px 0 4px; }

.tg-block__send { width:100%; margin-top:6px; padding:7px; background:rgba(41,182,246,0.08); border:1px solid rgba(41,182,246,0.25); border-radius:8px; color:#29b6f6; font-size:0.75em; font-weight:600; cursor:pointer; font-family:inherit; transition:all 0.12s; }

.tg-block__send:hover { background:rgba(41,182,246,0.18); }

.related__hdr { font-size:0.62em; font-weight:700; color:var(--fg2); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:5px; }

.related__item { display:flex; align-items:center; gap:6px; padding:6px 8px; background:var(--bg2); border-radius:6px; font-size:0.78em; margin-bottom:3px; cursor:pointer; transition:background 0.1s; color:var(--fg1); }

.related__item:hover { background:var(--bg3); color:var(--fg0); }

.as-page { padding: 28px 32px; }

.as-page-header { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }

.as-page-header h2 { font-size: 1.4em; font-weight: 700; }

.as-page-header p { font-size: 0.85em; color: var(--fg2); margin-top: 4px; }

.as-add-btn {
  background: var(--acc); color: #fff; border: none; border-radius: 8px;
  padding: 8px 18px; font-size: 0.9em; font-family: inherit; cursor: pointer; font-weight: 600;
  transition: opacity 0.15s;
}

.as-add-btn:hover { opacity: 0.85; }

.as-configs { display: flex; flex-direction: column; gap: 14px; }

.as-card {
  background: var(--bg1); border: 1px solid var(--border2); border-radius: var(--r2);
  padding: 18px 20px;
}

.as-card.disabled { opacity: 0.55; }

.as-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.as-card-name { font-weight: 700; font-size: 1.05em; flex: 1; }

.as-badge {
  font-size: 0.72em; border-radius: 4px; padding: 2px 8px; font-weight: 600;
}

.as-badge.on { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }

.as-badge.off { background: var(--bg2); color: var(--fg2); border: 1px solid var(--border); }

.as-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.82em; color: var(--fg1); margin-bottom: 14px; }

.as-meta-item { display: flex; align-items: center; gap: 5px; }

.as-meta-item span { color: var(--fg2); }

.as-card-actions { display: flex; gap: 8px; }

.as-btn {
  padding: 5px 14px; border-radius: 6px; font-size: 0.82em; font-family: inherit;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg2); color: var(--fg1);
  transition: all 0.15s;
}

.as-btn:hover { border-color: var(--acc); color: var(--fg0); }

.as-btn.run { background: rgba(52,211,153,0.1); color: #34d399; border-color: rgba(52,211,153,0.3); }

.as-btn.run:hover { background: rgba(52,211,153,0.2); }

.as-btn.del { color: var(--red); border-color: rgba(239,68,68,0.3); }

.as-btn.del:hover { background: rgba(239,68,68,0.1); }

.as-last-run { font-size: 0.75em; color: var(--fg2); margin-top: 10px; }

.as2-page { padding:24px 28px; max-width:1200px; margin:0 auto; }

.as2-head { margin-bottom:18px; }

.as2-head__title { font-size:24px; font-weight:800; color:var(--fg0); letter-spacing:-0.4px; display:flex; align-items:center; gap:10px; }

.as2-head__sub { font-size:13px; color:var(--fg2); margin-top:6px; }

.as2-card { background:var(--bg1); border:1px solid var(--border); border-radius:var(--r3); padding:20px 22px; margin-bottom:18px; }

.as2-card__hdr { display:flex; align-items:center; gap:10px; margin-bottom:18px; }

.as2-card__title { flex:1; font-size:16px; font-weight:700; display:flex; align-items:center; gap:8px; }

.as2-saved-btn { padding:7px 14px; background:var(--bg2); border:1px solid var(--border); border-radius:8px; color:var(--fg1); font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; transition:all 0.12s; }

.as2-saved-btn:hover { border-color:var(--border2); color:var(--fg0); }

.as2-saved-btn.open { background:var(--acc-soft); border-color:var(--acc); color:var(--acc); }

.as2-modes { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:18px; }

.as2-mode { display:flex; align-items:center; gap:14px; padding:18px 18px; background:var(--bg1); border:2px solid var(--border); border-radius:var(--r3); cursor:pointer; transition:all 0.15s; }

.as2-mode:hover { border-color:var(--border2); }

.as2-mode.active { border-color:var(--acc); background:var(--acc-soft); }

.as2-mode__ico { width:42px; height:42px; flex-shrink:0; border-radius:10px; background:var(--bg2); display:flex; align-items:center; justify-content:center; font-size:22px; }

.as2-mode.active .as2-mode__ico { background:var(--acc); color:#fff; }

.as2-mode__body { flex:1; min-width:0; }

.as2-mode__name { font-size:15px; font-weight:800; letter-spacing:0.04em; text-transform:uppercase; color:var(--fg0); }

.as2-mode.active .as2-mode__name { color:var(--acc); }

.as2-mode__desc { font-size:12px; color:var(--fg2); margin-top:3px; }

.as2-mode.active .as2-mode__desc { color:var(--fg1); }

.as2-fields { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-bottom:18px; }

.as2-field { background:var(--bg1); border:1px solid var(--border); border-radius:var(--r2); padding:12px 14px; transition:border-color 0.12s; }

.as2-field:focus-within { border-color:var(--acc); }

.as2-field--hidden { display:none; }

.as2-field__lbl { font-size:10px; font-weight:700; color:var(--fg2); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; display:flex; align-items:center; gap:6px; }

.as2-field__inp { width:100%; background:transparent; border:none; outline:none; font-family:var(--mono); font-size:14px; font-weight:600; color:var(--fg0); padding:0; }

.as2-field__inp::placeholder { color:var(--fg3); font-weight:500; }

.as2-field__row { display:flex; gap:8px; align-items:center; }

.as2-field__row .as2-field__inp { flex:1; }

.as2-field__sep { color:var(--fg2); font-size:14px; }

.as2-toggle { display:flex; align-items:center; gap:10px; padding:0; }

.as2-toggle__sw { position:relative; width:42px; height:24px; background:var(--bg3); border-radius:12px; cursor:pointer; transition:background 0.18s; flex-shrink:0; }

.as2-toggle__sw::after { content:''; position:absolute; left:2px; top:2px; width:20px; height:20px; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(0,0,0,0.3); transition:transform 0.18s; }

.as2-toggle.on .as2-toggle__sw { background:var(--acc); }

.as2-toggle.on .as2-toggle__sw::after { transform:translateX(18px); }

.as2-toggle__lbl { font-family:var(--mono); font-size:13px; font-weight:600; color:var(--fg1); }

.as2-toggle.on .as2-toggle__lbl { color:var(--acc); }

.as2-distrib { border:1.5px dashed var(--acc-border); border-radius:var(--r3); padding:14px 16px 16px; background:rgba(255,106,47,0.03); }

.as2-distrib__title { font-size:11px; font-weight:800; color:var(--acc); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px; display:flex; align-items:center; gap:6px; }

.as2-distrib__row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }

.as2-distrib__card { background:var(--bg1); border:1.5px solid var(--border); border-radius:var(--r2); padding:12px 14px; }

.as2-distrib__card.accent { border-color:var(--acc); background:var(--bg1); }

.as2-distrib__h { font-size:13px; font-weight:700; color:var(--fg0); margin-bottom:8px; }

.as2-distrib__card.accent .as2-distrib__h { color:var(--acc); }

.as2-distrib__line { font-size:12px; color:var(--fg1); line-height:1.6; }

.as2-actions { display:flex; gap:10px; margin-top:18px; align-items:center; }

.as2-btn { padding:11px 22px; border-radius:10px; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; transition:all 0.12s; border:1px solid var(--border); background:var(--bg2); color:var(--fg1); }

.as2-btn:hover { border-color:var(--border2); color:var(--fg0); }

.as2-btn--primary { background:var(--acc); border-color:var(--acc); color:#fff; }

.as2-btn--primary:hover { filter:brightness(1.08); }

.as2-btn--danger { color:var(--red); border-color:rgba(255,69,58,0.3); }

.as2-btn--danger:hover { background:rgba(255,69,58,0.10); }

.as2-saved { display:none; margin-bottom:18px; padding:14px 16px; background:var(--bg2); border:1px solid var(--border); border-radius:var(--r2); }

.as2-saved.open { display:block; }

.as2-saved__hdr { font-size:11px; font-weight:800; color:var(--fg2); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:10px; }

.as2-saved__list { display:flex; flex-direction:column; gap:8px; }

.as2-saved__empty { padding:24px; text-align:center; color:var(--fg2); font-size:13px; }

.as2-saved__row { display:grid; grid-template-columns:1fr auto auto; gap:14px; align-items:center; padding:12px 14px; background:var(--bg1); border:1px solid var(--border); border-radius:var(--r2); transition:all 0.12s; }

.as2-saved__row:hover { border-color:var(--border2); }

.as2-saved__row.editing { border-color:var(--acc); background:var(--acc-soft); }

.as2-saved__main { min-width:0; cursor:pointer; }

.as2-saved__name { font-size:14px; font-weight:700; color:var(--fg0); margin-bottom:4px; }

.as2-saved__meta { font-size:11px; color:var(--fg2); display:flex; flex-wrap:wrap; gap:10px; }

.as2-saved__meta span { white-space:nowrap; }

.as2-saved__row .as2-toggle { padding:0; }

.as2-saved__del { width:28px; height:28px; background:transparent; border:1px solid var(--border); border-radius:6px; color:var(--fg2); font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.12s; }

.as2-saved__del:hover { color:var(--red); border-color:var(--red); background:var(--red-bg); }

.spc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.spc-title { font-weight: 600; font-size: 0.95em; color: var(--fg0); }

.spc-close { background: none; border: none; color: var(--fg2); font-size: 1.1em; cursor: pointer; padding: 0; line-height: 1; }

.spc-close:hover { color: var(--fg0); }

.spc-bar { height: 4px; background: var(--bg2); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }

.spc-fill { height: 100%; width: 35%; background: var(--acc); border-radius: 2px; animation: spcSlide 1.6s ease-in-out infinite; }

.spc-msg { font-size: 0.82em; color: var(--fg1); margin-bottom: 4px; min-height: 1.2em; }

.spc-time { font-size: 0.78em; color: var(--fg2); }

.spc-done-btn { margin-top: 12px; width: 100%; padding: 8px; border-radius: 8px; border: 1px solid var(--acc); background: var(--acc-soft); color: var(--acc); font-family: inherit; font-size: 0.88em; cursor: pointer; transition: background 0.15s; }

.spc-done-btn:hover { background: #ff6a2f33; }

.as-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 500;
  display: flex; align-items: center; justify-content: center;
}

.as-modal {
  background: var(--bg1); border: 1px solid var(--border2); border-radius: 12px;
  padding: 28px 32px; width: 480px; max-width: 95vw; max-height: 90vh; overflow-y: auto;
}

.as-modal h3 { font-size: 1.1em; font-weight: 700; margin-bottom: 20px; }

.as-form-row { margin-bottom: 14px; }

.as-form-row label { display: block; font-size: 0.82em; color: var(--fg2); margin-bottom: 5px; }

.as-form-row input, .as-form-row select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; color: var(--fg0); padding: 7px 10px; font-size: 0.9em;
  font-family: inherit; box-sizing: border-box;
}

.as-form-row input:focus, .as-form-row select:focus { outline: none; border-color: var(--acc); }

.as-form-row .row2 { display: flex; gap: 10px; }

.as-form-row .row2 input { flex: 1; }

.as-regions-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.as-region-chip {
  padding: 4px 10px; border-radius: 20px; font-size: 0.8em; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg2); color: var(--fg1);
  transition: all 0.12s; user-select: none;
}

.as-region-chip.selected { background: var(--acc-soft); color: var(--acc); border-color: var(--acc); }

.as-modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

.as-modal-footer button {
  padding: 7px 20px; border-radius: 8px; font-size: 0.9em; font-family: inherit;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg2); color: var(--fg1);
  transition: all 0.15s;
}

.as-modal-footer .save-btn { background: var(--acc); color: #fff; border-color: transparent; font-weight: 600; }

.as-modal-footer .save-btn:hover { opacity: 0.85; }

.market-analytics { border: 1px solid var(--border2); border-radius: var(--r2); overflow: hidden; margin-top: 4px; }

.market-analytics-header {
  background: var(--bg2); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}

.market-analytics-title { font-weight: 600; font-size: 0.9em; display: flex; align-items: center; gap: 8px; }

.market-refresh-btn {
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg3);
  color: var(--fg1); font-size: 0.78em; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}

.market-refresh-btn:hover { border-color: var(--acc); color: var(--acc); }

.market-analytics-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }

.market-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
}

.market-stat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r1); padding: 12px 14px;
}

.market-stat-lbl { font-size: 0.72em; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }

.market-stat-val { font-size: 1.1em; font-weight: 700; color: var(--fg0); }

.market-stat-sub { font-size: 0.72em; color: var(--fg2); margin-top: 2px; }

.market-trend-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px; font-size: 0.82em; font-weight: 600;
}

.market-trend-badge.up { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }

.market-trend-badge.down { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }

.market-trend-badge.flat { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }

.market-chart-wrap {
  position: relative; height: 200px;
  background: var(--bg2); border-radius: var(--r1); padding: 12px;
}

.market-recommendation {
  background: var(--bg2); border-left: 3px solid var(--acc);
  border-radius: 0 var(--r1) var(--r1) 0;
  padding: 12px 14px; font-size: 0.85em; line-height: 1.5;
}

.market-source { font-size: 0.72em; color: var(--fg2); display: flex; align-items: center; gap: 6px; }

.inspection-block {
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  overflow: hidden;
  margin-top: 4px;
}

.inspection-header {
  background: var(--bg2); padding: 12px 16px;
  font-weight: 600; font-size: 0.9em;
  display: flex; align-items: center; gap: 8px;
}

.inspection-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.inspection-gen-btn {
  padding: 10px 20px; border-radius: 8px;
  border: 1px solid var(--acc); background: var(--acc-soft);
  color: var(--acc); font-family: inherit; font-size: 0.85em;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}

.inspection-gen-btn:hover { background: var(--acc); color: white; }

.inspection-gen-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.checklist-items { display: flex; flex-direction: column; gap: 6px; }

.checklist-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  background: var(--bg2); cursor: pointer;
  transition: background 0.15s;
}

.checklist-item:hover { background: var(--bg3); }

.checklist-item.checked { opacity: 0.55; }

.checklist-item input[type=checkbox] { margin-top: 2px; flex-shrink: 0; cursor: pointer; accent-color: var(--green); }

.checklist-item-text { font-size: 0.85em; line-height: 1.4; }

.checklist-item.checked .checklist-item-text { text-decoration: line-through; color: var(--fg2); }

.inspection-fields { display: flex; flex-direction: column; gap: 10px; }

.inspection-field-row { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }

.inspection-save-btn {
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--green-border); background: var(--green-bg);
  color: var(--green); font-family: inherit; font-size: 0.82em;
  font-weight: 600; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}

.inspection-save-btn:hover { background: var(--green); color: #000; }

.fin-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; }

.fin-formula { background: var(--bg2); border-radius: 8px; overflow: hidden; }

.fin-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  gap: 8px;
}

.fin-row:last-child { border-bottom: none; }

.fin-row__label { font-size: 0.8em; color: var(--fg2); white-space: nowrap; }

.fin-row__value { font-size: 0.92em; font-weight: 600; font-family: monospace; text-align: right; white-space: nowrap; }

.fin-row--profit {
  background: rgba(74,222,128,0.07); border-top: 1px solid rgba(74,222,128,0.25);
  border-bottom: none; padding: 10px 14px;
}

.fin-row--profit-neg { background: rgba(248,113,113,0.07); border-top: 1px solid rgba(248,113,113,0.25); }

.fin-row--profit .fin-row__label { color: var(--fg0); font-weight: 700; font-size: 0.85em; }

.fin-row--profit .fin-row__value { font-size: 1.2em; }

.fin-maxbid-compact {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border2);
  background: var(--bg2);
}

.fin-maxbid-compact__label { font-size: 0.78em; color: var(--fg2); }

.fin-maxbid-compact__value { font-size: 0.95em; font-weight: 700; font-family: monospace; }

.fin-maxbid-compact--ok .fin-maxbid-compact__value { color: #4ade80; }

.fin-maxbid-compact--warn .fin-maxbid-compact__value { color: #f87171; }

.fin-hist-header { font-size: 0.75em; color: var(--fg2); font-weight: 600; margin-bottom: 6px; }

.fin-hist-timeline { display: flex; flex-direction: column; gap: 2px; }

.fin-hist-bar { display: grid; grid-template-columns: 44px minmax(24px,1fr) 52px 64px 80px; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; }

.fin-hist-bar--best { background: rgba(74,222,128,0.07); }

.fin-hist-bar__date { font-size: 0.76em; color: var(--fg2); white-space: nowrap; overflow: hidden; }

.fin-hist-bar--best .fin-hist-bar__date { color: #4ade80; font-weight: 600; }

.fin-hist-bar__track { height: 6px; background: var(--surface3); border-radius: 3px; overflow: hidden; min-width: 0; }

.fin-hist-bar__fill { height: 100%; border-radius: 3px; }

.fin-hist-bar__price { color: var(--yellow); font-family: monospace; font-size: 0.8em; text-align: right; white-space: nowrap; overflow: hidden; }

.fin-hist-bar__profit { font-family: monospace; font-size: 0.8em; text-align: right; white-space: nowrap; overflow: hidden; }

.fin-hist-bar__days { color: var(--fg2); font-size: 0.73em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fin-hist-hint { font-size: 0.78em; padding: 5px 10px; margin-top: 5px; border-radius: 5px; }

.fin-hist-hint--ok { background: rgba(74,222,128,0.08); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }

.fin-hist-hint--warn { background: rgba(248,113,113,0.08); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }

.insp-upload-zone {
  border: 2px dashed var(--border2); border-radius: 10px;
  padding: 14px 16px; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--fg2); font-size: 0.83em;
}

.insp-upload-zone:hover, .insp-upload-zone.drag-over {
  border-color: var(--acc); background: var(--acc-soft);
}

.insp-photo-previews {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}

.insp-photo-preview {
  width: 72px; height: 60px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--border);
}

.insp-upload-btn {
  padding: 9px 18px; border-radius: 8px;
  border: 1px solid var(--acc); background: var(--acc);
  color: #fff; font-family: inherit; font-size: 0.85em;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}

.insp-upload-btn:hover { opacity: 0.85; }

.insp-upload-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.insp-accordion { display: flex; flex-direction: column; gap: 6px; }

.insp-acc-block { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }

.insp-acc-header {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  cursor: pointer; background: var(--bg1); font-size: 0.86em; font-weight: 600;
  user-select: none; transition: background 0.15s;
}

.insp-acc-header:hover { background: var(--bg2); }

.insp-acc-arrow { font-size: 0.75em; color: var(--fg2); transition: transform 0.2s; }

.insp-acc-count { margin-left: auto; font-size: 0.78em; color: var(--fg2); font-weight: 400; }

.insp-acc-count.done { color: var(--green); font-weight: 600; }

.insp-acc-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 0; }

.insp-progress-bar { margin: 4px 0 12px; }

.insp-progress-bar-track { background: var(--bg2); border-radius: 4px; height: 8px; overflow: hidden; margin-top: 5px; }

.insp-progress-bar-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }

.insp-score-badge { margin-left: auto; font-size: 0.82em; font-weight: 700; padding: 1px 7px; border-radius: 5px; }

.insp-score-badge.good { color: var(--green); background: var(--green-bg); }

.insp-score-badge.ok { color: #f59e0b; background: rgba(245,158,11,0.12); }

.insp-score-badge.bad { color: var(--red); background: rgba(239,68,68,0.12); }

.insp-score-badge.none { color: var(--fg2); font-weight: 400; background: none; }

.insp-item-row { display: flex; flex-direction: column; gap: 5px; padding: 8px 0; border-bottom: 1px solid var(--border); }

.insp-item-row:last-child { border-bottom: none; }

.insp-item-top { display: flex; align-items: flex-start; gap: 8px; }

.insp-item-text { flex: 1; font-size: 0.84em; line-height: 1.45; color: var(--fg0); padding-top: 2px; }

.insp-status-btns { display: flex; gap: 3px; flex-shrink: 0; }

.insp-status-btn { padding: 3px 8px; border-radius: 5px; font-size: 0.76em; cursor: pointer; border: 1px solid var(--border); background: var(--bg2); color: var(--fg2); transition: all 0.15s; white-space: nowrap; font-family: inherit; }

.insp-status-btn:hover { opacity: 0.85; background: var(--bg3); }

.insp-status-btn.ok { background: var(--green-bg); border-color: var(--green-border); color: var(--green); font-weight: 600; }

.insp-status-btn.warn { background: rgba(245,158,11,0.15); border-color: #f59e0b; color: #f59e0b; font-weight: 600; }

.insp-status-btn.bad { background: rgba(239,68,68,0.15); border-color: var(--red); color: var(--red); font-weight: 600; }

.insp-item-note { width: 100%; padding: 5px 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; color: var(--fg0); font-size: 0.8em; font-family: inherit; resize: none; line-height: 1.4; min-height: 32px; }

.insp-item-note::placeholder { color: var(--fg2); }

.insp-report-block { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-top: 10px; }

.insp-report-title { font-size: 0.8em; font-weight: 700; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.insp-report-text { font-size: 0.88em; line-height: 1.65; color: var(--fg0); white-space: pre-wrap; }

.preview-panel { width: 280px; flex-shrink: 0; border-left: 1px solid var(--border2); background: var(--bg1); overflow-y: auto; display: flex; flex-direction: column; }

.preview-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--fg2); font-size: 13px; }

.preview-empty__icon { font-size: 28px; opacity: 0.3; }

.preview-hints { display: flex; gap: 8px; margin-top: 8px; }

.preview-hints kbd { font-family: monospace; font-size: 11px; background: var(--bg2); border: 1px solid var(--border2); border-radius: 4px; padding: 2px 6px; color: var(--fg1); }

.preview-body { padding: 14px; }

.preview-photo img { width: 100%; border-radius: 6px; object-fit: cover; max-height: 140px; }

.preview-title { font-size: 13px; font-weight: 600; color: var(--fg0); margin: 10px 0 4px; }

.preview-profit { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 700; margin-bottom: 10px; }

.preview-stats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }

.preview-stat { display: flex; justify-content: space-between; font-size: 12px; }

.preview-stat span { color: var(--fg2); }

.preview-stat b { font-family: 'JetBrains Mono', monospace; color: var(--fg0); }

.preview-verdict { font-size: 11px; color: var(--fg1); background: var(--bg2); border-radius: 6px; padding: 8px; margin-bottom: 12px; line-height: 1.5; }

.preview-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.preview-actions a, .preview-actions button { font-size: 11px; padding: 5px 10px; border-radius: 5px; border: 1px solid var(--border2); background: var(--bg2); color: var(--fg1); cursor: pointer; text-decoration: none; }

.preview-actions .btn-open { background: var(--acc-soft); border-color: var(--acc-border); color: #818cf8; font-weight: 600; }

.preview-actions .btn-open:hover { background: #ff6a2f33; }

.preview-kbhints { font-size: 11px; color: var(--fg2); padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--border2); margin-top: auto; }

.preview-kbhints kbd { font-family: monospace; background: var(--bg2); border: 1px solid var(--border2); border-radius: 4px; padding: 1px 5px; }

.preview-move { padding: 10px 14px; border-top: 1px solid var(--border2); }

.preview-move__label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg2); margin-bottom: 6px; }

.preview-move__btns { display: flex; flex-wrap: wrap; gap: 4px; }

.preview-move__btn { font-size: 11px; padding: 4px 8px; border-radius: 5px; border: 1px solid var(--border2); background: var(--bg2); color: var(--fg1); cursor: pointer; transition: all 0.1s; white-space: nowrap; }

.preview-move__btn:hover { background: var(--bg3); color: var(--fg0); border-color: var(--acc); }

.preview-move__btn--current { background: var(--acc-soft); border-color: #ff6a2f44; color: #818cf8; font-weight: 600; cursor: default; }

.preview-sep { height: 1px; background: var(--border2); margin: 8px 14px; }

.ai-modal-box { background: var(--bg1); border: 1px solid var(--border2); border-radius: 14px; padding: 24px; width: 420px; max-width: calc(100vw - 32px); box-shadow: 0 24px 80px rgba(0,0,0,0.5); }

.ai-modal-title { font-size: 16px; font-weight: 700; color: var(--fg0); margin-bottom: 6px; }

.ai-modal-sub { font-size: 12.5px; color: var(--fg2); margin-bottom: 16px; }

.ai-modal-input { width: 100%; box-sizing: border-box; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--border2); border-radius: 8px; color: var(--fg0); font-size: 13px; outline: none; }

.ai-modal-input:focus { border-color: #ff6a2f44; }

.ai-modal-actions { display: flex; gap: 8px; margin-top: 12px; }

.ai-modal-hint { font-size: 11px; color: var(--fg2); margin-top: 10px; text-align: center; }

.detail-topbar { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-bottom: 1px solid var(--border2); flex-shrink: 0; background: var(--bg1); flex-wrap: wrap; }

.detail-topbar .back-btn { background: var(--bg2); border: 1px solid var(--border2); color: var(--fg1); padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; }

.detail-topbar .back-btn:disabled { opacity: 0.4; cursor: default; }

.detail-lot-title { flex: 1; font-size: 13px; font-weight: 700; color: var(--fg0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.detail-action-bar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.detail-action-bar button { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border2); background: var(--bg2); color: var(--fg1); font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 5px; white-space: nowrap; transition: background .15s, color .15s; }

.detail-action-bar button:hover { background: var(--bg3); color: var(--fg0); }

.detail-action-bar .btn-danger { border-color: rgba(239,68,68,0.35); color: #f87171; }

.detail-action-bar .btn-success { border-color: rgba(34,197,94,0.35); color: #4ade80; }

.detail-action-bar .btn-active-fav { background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.4); color: #fbbf24; }

.bc-action { padding:5px 11px; background:transparent; border:1px solid var(--border); border-radius:6px; color:var(--fg1); font-size:12px; cursor:pointer; display:inline-flex; align-items:center; gap:5px; font-weight:600; font-family:inherit; }

.bc-action:hover { border-color:var(--border2); color:var(--fg0) }

.bc-spacer { flex:1 }

.move-to-collapsed { position:relative }

.move-to-trigger { width:100%; display:flex; align-items:center; gap:10px; background:var(--bg1); border:1px solid var(--border); border-radius:var(--r3); padding:10px 14px; cursor:pointer; font-family:inherit; font-size:12px; color:var(--fg1); transition:all 0.15s; }

.move-to-trigger:hover { border-color:var(--border2); background:var(--bg2) }

.move-to-trigger > span:first-child { font-weight:600; color:var(--fg1) }

.move-to-current { margin-left:auto; font-size:12px; color:var(--acc); font-weight:700 }

.move-to-trigger .chev { color:var(--fg2); font-size:10px; transition:transform 0.2s }

.move-to-collapsed.open .move-to-trigger .chev { transform:rotate(180deg) }

.move-to-panel { display:none; margin-top:6px; background:var(--bg1); border:1px solid var(--border); border-radius:var(--r3); overflow:hidden; }

.move-to-collapsed.open .move-to-panel { display:block }

.move-to__list { padding:6px }

.move-to-item { display:flex; align-items:center; padding:7px 10px; border-radius:6px; cursor:pointer; font-size:12px; color:var(--fg1); transition:all 0.15s; border:none; background:none; width:100%; text-align:left; font-family:inherit; }

.move-to-item:hover { background:var(--bg2); color:var(--fg0) }

.move-to-item.current { background:var(--acc-soft); color:var(--acc); font-weight:700; cursor:default; }

.move-to-item .icon { margin-right:8px }

.comments-block { background:var(--bg1); border:1px solid var(--border); border-radius:var(--r3); padding:12px 14px; margin-top:10px; }

.comments-title { font-size:11px; font-weight:700; color:var(--fg1); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }

.comments-title::before { content:'💬 ' }

.comment-input-row { display:flex; gap:6px; margin-top:8px }

.comment-input { flex:1; background:var(--bg2); border:1px solid var(--border2); border-radius:6px; padding:7px 10px; color:var(--fg1); font-family:inherit; font-size:12px; }

.comment-input:focus { outline:none; border-color:var(--acc) }

.comment-send { width:32px; height:32px; background:var(--acc); border:none; border-radius:6px; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; }

.comment-send:hover { filter:brightness(1.1) }

.tasks-block { background:var(--bg1); border:1px solid var(--border); border-radius:var(--r3); padding:12px 14px; margin-top:10px; }

.tasks-title { font-size:11px; font-weight:700; color:var(--fg1); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }

.tasks-title::before { content:'📋 ' }

.tasks-quick { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:8px; }

.task-quick-btn { padding:4px 9px; background:var(--bg2); border:1px solid var(--border); border-radius:6px; color:var(--fg1); font-size:11px; cursor:pointer; font-family:inherit; transition:all 0.12s; }

.task-quick-btn:hover { border-color:var(--acc); color:var(--acc); }

.task-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:4px; }

.task-item { display:flex; align-items:center; gap:6px; padding:6px 8px; background:var(--bg2); border-radius:6px; font-size:12px; }

.task-item.done { opacity:0.5; }

.task-item__icon { font-size:14px; flex-shrink:0; }

.task-item__body { flex:1; min-width:0; }

.task-item__title { color:var(--fg0); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.task-item.done .task-item__title { text-decoration:line-through; color:var(--fg2); }

.task-item__date { font-size:10px; color:var(--fg2); font-family:var(--mono); margin-top:2px; }

.task-item__actions { display:flex; gap:4px; flex-shrink:0; }

.task-item__btn { width:22px; height:22px; border:none; border-radius:4px; cursor:pointer; font-size:11px; display:flex; align-items:center; justify-content:center; background:none; }

.task-item__btn--done { background:var(--acc-soft); color:var(--acc); }

.task-item__btn--done:hover { background:var(--acc); color:#fff; }

.task-item__btn--del { background:rgba(239,68,68,0.1); color:#f87171; }

.task-item__btn--del:hover { background:rgba(239,68,68,0.3); }

.task-empty { color:var(--fg2); font-size:11px; font-style:italic; text-align:center; padding:8px 0; }

.detail-profit-badge { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 5px; margin-left: 8px; background: rgba(255,255,255,0.05); }

.detail-move-wrap { position: relative; }

.detail-move-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--bg1); border: 1px solid var(--border2); border-radius: 8px; padding: 4px; z-index: 200; min-width: 140px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.detail-move-menu.open { display: block; }

.detail-move-menu__item { display: block; width: 100%; text-align: left; padding: 6px 10px; border-radius: 5px; border: none; background: none; color: var(--fg1); font-size: 12px; cursor: pointer; }

.detail-move-menu__item:hover { background: var(--bg2); color: var(--fg0); }

.detail-move-menu__item--current { color: var(--fg2); cursor: default; }

.detail-move-menu__item--current:hover { background: none; color: var(--fg2); }

.detail-profit-badge.neg { color: #f87171; }

.detail-profit-badge:not(.neg) { color: #4ade80; }

.detail-progress { padding: 8px 16px; border-bottom: 1px solid var(--border2); flex-shrink: 0; overflow-x: auto; }

.detail-cols { display: flex; flex: 1; min-height: 0; overflow: hidden; }

.detail-col { overflow-y: auto; padding: 14px; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }

.detail-col h3 { font-size: 10px; font-weight: 700; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 8px; }

.detail-col--photos { width: 27%; border-right: 1px solid var(--border2); flex-shrink: 0; }

.detail-col--finance { flex: 1; border-right: 1px solid var(--border2); }

.detail-col--sidebar { width: 27%; flex-shrink: 0; }

.detail-photos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 10px; }

.detail-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; cursor: zoom-in; }

.detail-photo-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; cursor: zoom-in; display: block; margin-bottom: 4px; }

.detail-photos-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-bottom: 10px; }

.detail-photos-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; cursor: zoom-in; opacity: .85; transition: opacity .15s; }

.detail-photos-thumbs img:hover { opacity: 1; }

.move-block { margin-bottom: 8px; }

.move-block__title { font-size: 10px; color: var(--fg2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }

.move-block__list { display: flex; flex-direction: column; gap: 3px; }

.move-block__item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--bg2); border: 1px solid var(--border2); border-radius: 6px; color: var(--fg1); font-size: 12px; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }

.move-block__item:hover { background: var(--bg3); border-color: var(--acc); color: var(--fg0); }

.move-block__item--current { background: #ff6a2f44; border-color: var(--acc); color: var(--acc); cursor: default; }

.move-block__item--current:hover { background: #ff6a2f44; }

.carousel-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.12); border:none; color:#fff; font-size:28px; width:48px; height:48px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; }

.carousel-btn:hover { background:rgba(255,255,255,0.25); }

.detail-info-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--border2); font-size: 11px; gap: 8px; }

.detail-info-row:last-child { border-bottom: none; }

.detail-info-label { color: var(--fg2); flex-shrink: 0; }

.detail-info-value { color: var(--fg0); font-weight: 500; text-align: right; }

.fin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }

.fin-card { background: var(--bg1); border: 1px solid var(--border2); border-radius: 7px; padding: 9px 11px; }

.fin-card__label { font-size: 10px; color: var(--fg2); margin-bottom: 3px; }

.fin-card__value { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--fg0); }

.fin-card--profit .fin-card__value { color: #4ade80; }

.fin-card--profit.neg .fin-card__value { color: #f87171; }

.owner-block { background: var(--bg1); border: 1px solid var(--border2); border-radius: 7px; padding: 9px 11px; margin-bottom: 6px; }

.owner-block__name { font-size: 13px; font-weight: 600; color: var(--fg0); margin-bottom: 5px; }

.owner-block__phone-row { display: flex; align-items: center; gap: 8px; }

.owner-block__phone { font-size: 12px; color: var(--fg1); flex: 1; }

.owner-block__call-btn { font-size: 16px; text-decoration: none; line-height: 1; }

.editable-field { cursor: pointer; border-radius: 3px; transition: background 0.15s; }

.editable-field:hover { background: var(--bg2); }

.verdict-box { background: var(--bg1); border: 1px solid var(--border2); border-radius: 7px; padding: 10px; margin-bottom: 12px; }

.verdict-tag { font-size: 11px; font-weight: 700; margin-bottom: 5px; }

.verdict-tag--take { color: #4ade80; }

.verdict-tag--skip { color: #f87171; }

.verdict-tag--maybe { color: #fbbf24; }

.verdict-text { font-size: 11px; color: var(--fg1); line-height: 1.5; }

.verdict-always { background: var(--bg1); border: 1px solid var(--border2); border-radius: 7px; padding: 10px 12px; margin-bottom: 10px; box-shadow: var(--shadow1); }

.verdict-always__header { font-size: 11px; font-weight: 700; color: var(--fg2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }

.verdict-always__text { font-size: 11px; color: var(--fg1); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.verdict-expanded .verdict-always__text { -webkit-line-clamp: unset; display: block; overflow: visible; }

.verdict-molot { background: linear-gradient(135deg, rgba(255,106,47,0.13) 0%, var(--bg1) 55%); border: 1px solid var(--acc-border); border-radius: var(--r3); padding: 12px 14px; margin-bottom: 10px; position: relative; cursor: pointer; box-shadow: var(--shadow2); }

.verdict-molot-header { display:flex; align-items:center; gap:7px; font-size:9px; font-weight:700; color:var(--acc); text-transform:uppercase; letter-spacing:.1em; margin-bottom:7px; }

.verdict-molot-icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; background:var(--acc); border-radius:6px; font-size:12px; flex-shrink:0; }

.verdict-molot-score { position:absolute; top:12px; right:14px; text-align:right; line-height:1; }

.verdict-molot-score__num { font-family:'JetBrains Mono',monospace; font-size:28px; font-weight:700; color:var(--acc); }

.verdict-molot-score__label { font-size:9px; color:var(--fg2); display:block; margin-top:1px; }

.verdict-molot-title { font-size:15px; font-weight:800; color:var(--fg0); margin-bottom:6px; }

.verdict-molot-text { font-size:11px; color:var(--fg1); line-height:1.6; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }

.verdict-molot.verdict-expanded .verdict-molot-text { -webkit-line-clamp:unset; display:block; overflow:visible; }

.verdict-chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }

.verdict-expanded .verdict-close-btn { display: block !important; }

.verdict-expanded { cursor: default !important; }

.market-compact { display: flex; gap: 8px; align-items: stretch; }

.market-compact__chart { flex: 1; min-height: 110px; background: var(--bg2); border-radius: 5px; overflow: hidden; }

.market-compact__info { width: 88px; flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; }

.mci-row { display: flex; flex-direction: column; padding: 3px 0; border-bottom: 1px solid var(--border2); }

.mci-row:last-child { border-bottom: none; }

.mci-row--sep { border-top: 1px solid var(--border2); margin-top: 3px; padding-top: 5px; }

.mci-lbl { font-size: 9px; color: var(--fg2); line-height: 1.2; }

.mci-val { font-size: 12px; font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--fg0); line-height: 1.3; }

.verdict-full { font-size: 12px; color: var(--fg1); line-height: 1.6; white-space: pre-wrap; }

.detail-sep { height: 1px; background: var(--border2); margin: 12px 0; }

.detail-blocks { display: flex; flex-direction: column; gap: 6px; flex: 1; overflow-y: auto; min-height: 0; padding-right: 2px; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }

.detail-block { background: var(--bg1); border: 1px solid var(--border2); border-radius: var(--r1); cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; flex-shrink: 0; box-shadow: var(--shadow1); }

.detail-block:hover { border-color: var(--acc); background: var(--bg2); box-shadow: var(--shadow2); }

.detail-block__header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; gap: 8px; }

.detail-block__title { font-size: 11px; font-weight: 700; color: var(--fg1); text-transform: uppercase; letter-spacing: 0.5px; flex: 1; }

.detail-block__arrow { font-size: 10px; color: var(--fg2); transition: transform 0.2s; }

.detail-block__preview { padding: 0 12px 8px; cursor: pointer; }

.detail-block__body { display: none; padding: 0 12px 12px; border-top: 1px solid var(--border2); margin-top: 4px; padding-top: 10px; }

.detail-block--expanded { cursor: default; flex: 1; min-height: 0; display: flex; flex-direction: column; }

.detail-block--expanded:hover { border-color: var(--acc); background: var(--bg1); }

.detail-block--expanded .detail-block__arrow { transform: rotate(180deg); }

.detail-block--expanded .detail-block__preview { display: none; }

.detail-block--expanded .detail-block__body { display: block; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }

.detail-blocks--has-expanded .detail-block:not(.detail-block--expanded) { display: none; }

.detail-blocks--has-expanded .verdict-always,
.detail-blocks--has-expanded .verdict-molot { display: none; }

.detail-block__close { background: none; border: none; color: var(--fg2); font-size: 15px; cursor: pointer; padding: 0; line-height: 1; flex-shrink: 0; display: none; }

.detail-block__close:hover { color: var(--fg0); }

.detail-block--expanded .detail-block__close { display: inline-block; }

.report-upload-area { border: 1.5px dashed var(--border2); border-radius: var(--r2); padding: 12px; text-align: center; cursor: pointer; transition: border-color 0.15s; }

.report-upload-area:hover { border-color: var(--acc); }

.report-upload-area input[type=file] { display: none; }

.report-upload-btn { background: var(--acc-soft); border: 1px solid var(--acc-border); color: var(--acc); border-radius: var(--r1); padding: 5px 12px; font-size: 11px; font-weight: 600; cursor: pointer; }

.report-upload-btn:hover { background: rgba(255,106,47,0.2); }

.report-file-row { display: flex; align-items: center; gap: 8px; background: var(--bg2); border-radius: var(--r1); padding: 8px 10px; margin-top: 8px; }

.report-file-name { font-size: 11px; color: var(--fg1); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.report-analyze-btn { background: var(--acc); color: #fff; border: none; border-radius: var(--r1); padding: 5px 12px; font-size: 11px; font-weight: 700; cursor: pointer; }

.report-analyze-btn:hover { background: var(--acc-dim); }

.report-analyze-btn:disabled { opacity: 0.5; cursor: default; }

.report-delete-btn { background: none; border: none; color: var(--fg2); font-size: 14px; cursor: pointer; padding: 0 2px; }

.report-delete-btn:hover { color: #f87171; }

.report-findings { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }

.report-flag { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 5px 8px; border-radius: var(--r1); }

.report-flag--ok { background: rgba(74,222,128,0.1); color: #4ade80; }

.report-flag--warn { background: rgba(251,191,36,0.1); color: #fbbf24; }

.report-flag--bad { background: rgba(248,113,113,0.1); color: #f87171; }

.report-summary { font-size: 11px; color: var(--fg1); line-height: 1.5; margin-top: 6px; background: var(--bg2); border-radius: var(--r1); padding: 8px 10px; }

.price-hist { background: var(--bg1); border: 1px solid var(--border2); border-radius: 7px; padding: 10px 12px; margin-top: 10px; }

.price-hist__title { font-size: 10px; font-weight: 700; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; display:flex; justify-content:space-between; align-items:center; }

.price-hist__row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap:4px; align-items:center; font-size: 11px; padding: 4px 0; border-bottom: 1px solid var(--border2); }

.price-hist__row:last-child { border-bottom: none; }

.price-hist__row--current { color: var(--fg0); font-weight: 700; }

.price-hist__row--best { background: rgba(74,222,128,0.06); border-radius: 4px; padding: 4px 4px; margin: 0 -4px; border-bottom: none !important; }

.price-hist__empty { font-size: 11px; color: var(--fg2); margin-top: 10px; text-align: center; padding: 12px 0; }

.price-hist svg { border-radius: 6px; overflow: visible; }

.repair-tab-wrap { display: flex; flex-direction: column; height: 100%; }

.repair-tab-scroll { flex: 1; overflow-y: auto; max-height: 420px; padding-right: 2px; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }

.comment-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 5px; }

.comment-item { background: var(--bg1); border: 1px solid var(--border2); border-radius: 6px; padding: 7px 9px; }

.comment-item__meta { font-size: 10px; color: var(--fg2); margin-bottom: 2px; }

.comment-item__text { font-size: 11px; color: var(--fg1); line-height: 1.4; }

.comment-form { display: flex; gap: 5px; }

.comment-form textarea { flex: 1; background: var(--bg1); border: 1px solid var(--border2); border-radius: var(--r1); color: var(--fg0); font-size: 11px; padding: 6px 8px; resize: none; height: 52px; font-family: inherit; }

.comment-form textarea:focus { outline: none; border-color: var(--acc-dim); }

.comment-form button { align-self: flex-end; padding: 6px 11px; background: var(--acc-dim); border: none; border-radius: var(--r1); color: white; font-size: 13px; cursor: pointer; transition: background 0.15s; }

.comment-form button:hover { background: var(--acc); }

.ap-header { display:flex; justify-content:space-between; align-items:center; padding:13px 16px 10px; border-bottom:1px solid rgba(255,255,255,0.06); }

.ap-header-title { font-size:13px; font-weight:600; color:var(--fg0); }

.ap-close { background:none; border:none; color:var(--fg2); font-size:16px; cursor:pointer; line-height:1; padding:0 2px; }

.ap-close:hover { color:var(--fg0); }

.ap-steps { padding:12px 16px; display:flex; flex-direction:column; gap:8px; }

.ap-step { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--fg2); transition:color 0.3s; }

.ap-step.active { color:var(--fg0); }

.ap-step.done { color:#22c55e; }

.ap-step-icon { width:20px; text-align:center; font-size:14px; }

.ap-step-spin { display:inline-block; animation:ap-spin 1s linear infinite; }

.ap-result { padding:12px 16px 14px; border-top:1px solid rgba(255,255,255,0.06); display:none; }

.ap-result-info { font-size:12px; color:var(--fg1); margin-bottom:10px; }

.ap-result-profit { font-size:15px; font-weight:700; margin-bottom:10px; }

.ap-btn-goto { width:100%; padding:9px; background:var(--acc); border:none; border-radius:8px; color:white; font-size:13px; font-weight:600; cursor:pointer; transition:opacity 0.2s; }

.ap-btn-goto:hover { opacity:0.85; }

.ap-progress-bar { height:3px; background:var(--acc-soft); }

.ap-progress-fill { height:100%; background:var(--acc); width:0%; transition:width 0.5s ease; border-radius:0 2px 2px 0; }
