/* Palette 02: orange / ivory. Shipping and marketplace colors carry their own meaning. */
:root {
  --hc-brand:#E98925; --hc-brand-ink:#2A190B; --hc-brand-deep:#9A4B12;
  --hc-brown:#5D3B26; --hc-bg:#F7ECD6; --hc-paper:#FFFCF6; --hc-soft:#F9F3E7;
  --hc-text:#32291F; --hc-muted:#766653; --hc-line:#E5D9C5; --hc-tint:#FAE6CA;
  --ship-rocket:#00A5DF; --ship-growth:#FF6A1D; --ship-general:#43464D; --ship-overseas:#7D4AC7;
  --market-coupang:#E52330;
}
.commerce-surface {
  --ink:var(--hc-text); --muted:var(--hc-muted); --line:var(--hc-line); --bg:var(--hc-bg);
  --green:var(--hc-brand-deep); --forest:var(--hc-brown); --teal:var(--hc-brand-deep); --soft:var(--hc-soft);
  color:var(--hc-text); background:var(--hc-bg);
}
.commerce-surface .commerce-header {background:var(--hc-paper);border-color:var(--hc-line)}
.commerce-surface .commerce-wordmark {gap:0;color:var(--hc-brown);font-size:24px;font-weight:850;letter-spacing:-1.25px}
.commerce-wordmark-tiger {color:var(--hc-brand)}
.commerce-surface .commerce-navigation a {color:var(--hc-muted)}
.commerce-surface .commerce-navigation a[aria-current=page] {color:var(--hc-brand-deep);border-color:var(--hc-brand)}
.commerce-surface :is(.commerce-account,.commerce-bookmark) {background:var(--hc-paper);color:var(--hc-brown);border-color:var(--hc-line);border-radius:6px}
.commerce-surface .commerce-workspace {background:var(--hc-paper);min-height:75vh}
.commerce-surface :is(.commerce-subbar,.commerce-footer) {border-color:var(--hc-line);color:var(--hc-muted)}
.commerce-surface .commerce-subnav a {color:var(--hc-muted)}
.commerce-surface .commerce-subnav a.active {color:var(--hc-brand-deep);border-color:var(--hc-brand);background:transparent}
.commerce-surface :is(.commerce-signin-notice,.commerce-bookmark-help) {background:var(--hc-soft);border-color:var(--hc-line);color:var(--hc-muted)}
.commerce-surface :is(.commerce-signin-notice a,.commerce-data-link) {color:var(--hc-brand-deep)}
.commerce-surface :is(.panel,dialog) {background:var(--hc-paper);border-color:var(--hc-line);border-radius:8px;color:var(--hc-text);box-shadow:none}
.commerce-surface :is(h1,h2,h3,h4) {color:var(--hc-text)}
.commerce-surface .page-head h1 {background:none;color:var(--hc-brown);-webkit-text-fill-color:currentColor}
.commerce-surface .page-head h1 .marketplace-coupang {color:var(--market-coupang)}
.commerce-surface :is(.btn,.chip) {background:var(--hc-paper);border-color:var(--hc-line);color:var(--hc-brown);border-radius:6px;box-shadow:none}
.commerce-surface :is(.btn,.chip):hover {background:var(--hc-tint);border-color:var(--hc-brand);color:var(--hc-brand-ink)}
.commerce-surface .btn.primary {background:var(--hc-brand);border-color:var(--hc-brand);color:var(--hc-brand-ink)}
.commerce-surface .btn.primary:hover {background:#DB7B1B;border-color:#DB7B1B;color:var(--hc-brand-ink)}
.commerce-surface :is(input,select,textarea) {color:var(--hc-text);border-color:var(--hc-line);background:var(--hc-paper);border-radius:6px;accent-color:var(--hc-brand-deep)}
.commerce-surface :is(.btn,.chip,input,select,summary,a):focus-visible {outline:2px solid var(--hc-brand-deep);outline-offset:3px}
.commerce-surface :is(.muted,.subtitle,.chart-note,.page-note,.source-note,.field>span) {color:var(--hc-muted)}
.commerce-surface .notice {background:var(--hc-soft);border-color:var(--hc-line);color:var(--hc-muted)}
.commerce-surface :is(.notice button,.btn.link,.commission-catalog summary) {color:var(--hc-brand-deep)}
.commerce-surface :is(th,td) {border-color:var(--hc-line)}
.commerce-surface th {background:var(--hc-soft);color:var(--hc-muted)}
.commerce-surface td {color:var(--hc-text)}

/* Analysis keeps the dense, aligned section and table geometry across both query types. */
.commerce-surface[data-commerce-page="analyzer"] .research-view {
  --research-accent:var(--hc-brand-deep); --analyzer-ink:var(--hc-text); --analyzer-muted:var(--hc-muted);
  --analyzer-line:var(--hc-line); --analyzer-tile:var(--hc-soft);
}
.commerce-surface[data-commerce-page="analyzer"] .research-view .page-head h1 {background:none;color:var(--hc-brown);-webkit-text-fill-color:currentColor}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.page-head .subtitle,.chart-note,.muted,.page-note,.source-note,.field>span,.research-result-title p,.research-history>span,.research-connect,.research-scope-controls,.research-section>summary small) {color:var(--hc-muted)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-query-bar,.research-search-line) {background:var(--hc-paper);border:1.5px solid var(--hc-brand);border-radius:8px;box-shadow:none}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-query-bar:focus-within {box-shadow:0 0 0 3px var(--hc-tint)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-query-bar :is(input,select) {color:var(--hc-text)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-query-bar > .btn.primary {background:var(--hc-brand);color:var(--hc-brand-ink);border-radius:6px}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-query-bar > .btn.primary:hover {background:#DB7B1B}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-result-title .btn {background:var(--hc-paper);color:var(--hc-brown);border-color:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-result-title .btn.primary {background:var(--hc-brand);color:var(--hc-brand-ink);border-color:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-filter-toggle,[data-research-filter-area]>details>summary) {background:var(--hc-brown);color:var(--hc-paper)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-search-mode,.research-tabs,.research-view-switch) {background:var(--hc-soft)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-search-mode,.research-tabs,.research-view-switch) button {color:var(--hc-muted)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-search-mode,.research-tabs,.research-view-switch) :is(button[aria-pressed=true],button.active) {background:var(--hc-paper);color:var(--hc-brand-deep);box-shadow:none}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-scope-controls button[aria-pressed=true],.research-trend-range[aria-pressed=true],.chip[aria-pressed=true],.research-category-trail button) {background:var(--hc-tint);color:var(--hc-brand-deep);border-color:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-detail-grid>.panel,.research-kpi-stack>.panel,.research-saturation,.research-price-layout,.research-keyword-panel,.research-keyword-trend,.research-search-volume,.research-related-keywords,.research-word-list,.weekly-keywords,.research-empty-intro,.research-filters,.research-saturation-grid) {background:var(--hc-soft);border-color:var(--hc-line);border-radius:8px;box-shadow:none}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-price-summary>.panel,.research-price-chart,.research-saturation-grid article) {background:transparent}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-section>summary,.research-result-title h2,.research-section-title,.research-detail-grid h3,.research-saturation h3,.research-saturation-grid h4,.research-price-summary h3,.metric-title,.research-monthly-panel h2) {color:var(--hc-text)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.metric-value,.research-price-summary strong,.research-search-volume strong,.research-donut strong,.research-monthly-summary strong,.research-trend-extrema strong,.research-monthly-extrema b,.table-head h2 span,.research-core-bands span) {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.metric-foot,.metric-foot small,.research-mini-table th,.research-price-summary small,.research-search-volume span,.research-search-volume .research-date,.research-monthly-summary span,.research-monthly-summary small,.research-histogram small,.research-word-list small) {color:var(--hc-muted)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-donut:after {background:var(--hc-soft)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-histogram i,.research-bar i,.research-trend i,.research-monthly-bar-track>span) {background:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-shipping-track,.research-bar .track,.research-monthly-bar-track) {background:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-histogram b,.research-word-grid button b,.weekly-rank span:first-child) {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-related-keywords button,.research-word-grid button,.weekly-rank) {color:var(--hc-text);border-color:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-related-keywords button,.research-word-grid button,.weekly-rank):hover {background:var(--hc-tint)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-connect,.research-source-field,.research-fixed-count,.research-section>summary,.research-price-summary,.research-mini-table th,.research-mini-table td,.research-trend-controls,.research-monthly-table th,.research-monthly-table td) {border-color:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.research-visible-source,.research-progress,.research-completeness,.research-overview-nav a,.research-overview-nav button) {background:var(--hc-soft);border-color:var(--hc-line);color:var(--hc-muted);border-radius:6px}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-progress progress {accent-color:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-scope-controls label {display:inline-flex;align-items:center;gap:7px;flex-direction:row;cursor:pointer}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-scope-controls input[type=radio] {width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness > div > strong {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness :is(span,small,summary,p) {color:var(--hc-muted)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track {border-color:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track b {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track progress {accent-color:var(--hc-brand);background:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track progress::-webkit-progress-bar {background:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track progress::-webkit-progress-value {background:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-completeness-track progress::-moz-progress-bar {background:var(--hc-brand)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-overview-nav :is(a,button):hover {background:var(--hc-tint);color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view [data-research-table-area] thead th {background:var(--hc-soft);color:var(--hc-muted);border-color:var(--hc-line)}
.commerce-surface[data-commerce-page="analyzer"] .research-view [data-research-table-area] tbody td {border-color:var(--hc-line);color:var(--hc-text)}
.commerce-surface[data-commerce-page="analyzer"] .research-view [data-research-table-area] tbody tr:hover {background:var(--hc-soft)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .product a {color:var(--hc-text)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .product a:hover {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.product small,.research-sales small,[data-research-metrics-scope],.table-footer) {color:var(--hc-muted)}
.commerce-surface[data-commerce-page="analyzer"] .research-view [data-research-table-area] td.research-sales {color:var(--hc-brand-deep)}
.commerce-surface[data-commerce-page="analyzer"] .research-view :is(.btn,.chip,input,select,summary,a):focus-visible {outline:2px solid var(--hc-brand-deep);outline-offset:3px}

/* A color mark preserves delivery recognition without low-contrast small type. */
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label {display:inline-flex;align-items:center;gap:6px;color:var(--hc-text)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label::before {content:'';width:7px;height:7px;flex:0 0 7px;border-radius:2px;background:var(--ship-color,#9B9388)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label[data-shipping^="로켓"] {--ship-color:var(--ship-rocket);color:#006E94}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label[data-shipping="판매자로켓"] {--ship-color:var(--ship-growth);color:#B54200}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label[data-shipping="일반배송"] {--ship-color:var(--ship-general);color:var(--ship-general)}
.commerce-surface[data-commerce-page="analyzer"] .research-view .research-shipping-label[data-shipping="해외배송"] {--ship-color:var(--ship-overseas);color:var(--ship-overseas)}
.commerce-surface .ship {background:#E7F7FC;color:#006E94}
.commerce-surface .ship.seller {background:#FFF0E5;color:#B54200}

/* Calculator and connection surfaces use the same restrained brand palette. */
.commerce-surface :is(.margin-steps>.panel,.connections-panel,.rocket-quote,.fee-entry,.extra-fee-details,.extra-fee-summary,.legacy-import-panel) {background:var(--hc-soft);border-color:var(--hc-line);border-radius:8px}
.commerce-surface :is(.margin-step-title i,.rocket-tags span,.badge,.rocket-intro) {background:var(--hc-tint);border-color:var(--hc-line);color:var(--hc-brand-deep)}
.commerce-surface :is(.margin-detail strong,.margin-total-card>strong,.fee-linked-price strong,.rocket-amount) {color:var(--hc-brand-deep)}
.commerce-surface :is(.margin-step-title p,.margin-tip,.margin-detail span,.margin-detail small,.margin-source-note,.calc-help,.rocket-footer,.fee-entry p,.margin-override) {color:var(--hc-muted)}
.commerce-surface .profit-card {background:var(--hc-brown);color:var(--hc-paper);border-radius:8px;box-shadow:none}
.commerce-surface .profit-card :is(.profit-label,.profit-amount,.profit-percent) {color:var(--hc-paper)}
.commerce-surface .profit-card :is(p,small,.profit-note) {color:#F3DCC2}
.commerce-surface .profit-card :is(.label,.profit-sub,.profit-bottom) {color:#F3DCC2}
.commerce-surface .profit-card .profit-badge {background:var(--hc-paper);color:var(--hc-brown)}
.commerce-surface .ml-review-dialog {border-radius:8px;box-shadow:0 12px 50px #32291F30}
.commerce-surface :is(.ml-review-notice,.ml-review-summary>div) {background:var(--hc-soft);border-color:var(--hc-line);color:var(--hc-muted)}
.commerce-surface .ml-review-head small {color:var(--hc-brand-deep)}
#horangi-service-notice {background:var(--hc-paper,#FFFCF6);color:var(--hc-text,#32291F);border-radius:8px}
#horangi-service-notice :is(.hc-notice-services,.hc-notice-restriction) {border-radius:6px}
.research-monthly-panel details {margin-top:12px}
.research-monthly-panel details>summary {cursor:pointer;color:var(--hc-brand-deep);font-size:12px;font-weight:600;padding:9px 0}
.research-monthly-panel details .table-scroll {margin-top:8px}
@media(max-width:600px) {.commerce-surface .commerce-wordmark{font-size:21px}}
@media print {.commerce-surface,.commerce-surface .commerce-workspace{background:#fff}}
