/* Shared TourismSignal design language for the audience and media workspace. */
#legacy {
  --navy-950: #102c2d;
  --navy-900: #15383a;
  --navy-800: #24494c;
  --blue-600: #087f73;
  --blue-500: #0b9385;
  --aqua-500: #087f73;
  --ink: #172f35;
  --muted: #5c7177;
  --muted-2: #64777d;
  --line: #dce6e8;
  --line-strong: #b8cbce;
  --canvas: #f4f7f8;
  --surface-blue: #eaf6f3;
  --shadow-sm: 0 2px 6px #15383a04;
  --shadow-md: 0 14px 36px #15383a0a;
  --radius-md: 14px;
  --radius-lg: 18px;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
#legacy :is(button,input,select,textarea) { font-family: inherit; }
#legacy :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #0b9385; outline-offset: 3px; }
#legacy .topbar { position: static; padding: 20px 32px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
#legacy .brand-name { color: var(--ink); font-size: 20px; letter-spacing: -.6px; }
#legacy .brand-sub { color: var(--muted); font-size: 14px; }
#legacy .brand-mark { background: #15383a; border-color: #15383a; border-radius: 12px; }
#legacy .btn { min-height: 44px; padding: 11px 16px; border-radius: 9px; font-size: 14px; font-weight: 650; letter-spacing: 0; box-shadow: none; }
#legacy .btn:hover { transform: none; }
#legacy .btn-primary { color: #fff; background: #087f73; border-color: #087f73; }
#legacy .btn-primary:hover { background: #066b61; border-color: #066b61; }
#legacy :is(.btn-light,.btn-secondary) { color: #294e53; border: 1px solid var(--line-strong); background: white; }
#legacy :is(.btn-light,.btn-secondary):hover { background: #eef6f4; border-color: #91b9b3; }
#legacy .workspace { width: min(1680px,100%); padding: 28px 32px 64px; grid-template-columns: 316px minmax(0,1fr); gap: 28px; }
#legacy .builder { border: 1px solid var(--line); border-radius: 16px; box-shadow: none; top: calc(var(--destination-bar-height) + 76px); max-height: calc(100dvh - var(--destination-bar-height) - 92px); }
#legacy .builder-head { padding: 24px; background: white; }
#legacy .builder h1 { font-size: 25px; line-height: 1.2; letter-spacing: -.8px; }
#legacy .builder-head p:last-child { font-size: 14px; line-height: 1.6; }
#legacy .eyebrow { font-size: 12px; letter-spacing: .1em; font-weight: 700; }
#legacy .eyebrow::before { display: none; }
#legacy .form-body { padding: 0 22px 22px; }
#legacy .section-legend { font-size: 15px; font-weight: 650; }
#legacy .section-number { display: none; }
#legacy .form-section { padding: 24px 0; }
#legacy :is(.field label,.field-label,.acs-field label) { font-size: 14px; font-weight: 600; color: #405d63; }
#legacy :is(.input,.select,.textarea) { font-size: 16px; border: 1px solid #c9d9dc; background: #fff; border-radius: 8px; box-shadow: none; }
#legacy :is(.input,.select,.textarea):hover { border-color: #8fb0b1; }
#legacy :is(.input,.select,.textarea):focus { border-color: #087f73; box-shadow: 0 0 0 3px #087f7314; }
#legacy select { appearance: none; padding-right: 34px!important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c7177' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-position: right 10px center; background-repeat: no-repeat; }
#legacy :is(.microcopy,.source-note,.source-note a,.evidence-caution,.optional-label) { font-size: 13px; line-height: 1.6; }
#legacy .form-disclosure > summary { font-size: 14px; }
#legacy .form-disclosure > summary small { font-size: 12px; }
#legacy .channel-selector { grid-template-columns: 1fr; gap: 8px; }
#legacy .channel-option-card { min-height: 52px; padding: 10px 12px; border-color: var(--line); background: #fff; }
#legacy .channel-option-card strong { font-size: 14px; }
#legacy .channel-option-card small { font-size: 12px; }
#legacy .channel-initial { color: #087f73; background: #ecf7f3; border-color: #cae7df; }
#legacy .channel-option input:checked + .channel-option-card { background: #edf8f4; border-color: #087f73; box-shadow: none; }
#legacy .channel-option input:checked + .channel-option-card small { color: #4c6d68; }
#legacy .acs-details { background: #f4f8f8; border-color: var(--line); }
#legacy .hero-card { min-height: 216px; border-radius: 18px; background: linear-gradient(100deg, #102c2df5, #15383ae6 60%, #15383ab8), var(--hero-image) center/cover no-repeat; box-shadow: none; }
#legacy .hero-card::after { display: none; }
#legacy .hero-content { min-height: 216px; padding: 30px; gap: 20px; }
#legacy .hero-title { font-size: clamp(30px,3.2vw,46px); line-height: 1.12; letter-spacing: -1.7px; font-weight: 600; max-width: 22ch; }
#legacy .hero-kicker { font-size: 12px; color: #a3d6cb; letter-spacing: .08em; }
#legacy .hero-desc { color: #d2e4e2; font-size: 16px; line-height: 1.6; max-width: 65ch; }
#legacy .hero-status { flex-shrink: 0; font-size: 12px; color: #c6eee4; background: #ffffff0a; border-color: #7ab1a756; box-shadow: none; }
#legacy .hero-status span { display: none; }
#legacy .hero-tags .provenance-badge { font-size: 12px; color: #c9e2dc; background: transparent; border-color: #93c7bb40; }
#legacy .metric-strip { gap: 0; margin: 20px 0; border-radius: 14px; box-shadow: none; }
#legacy .metric { padding: 22px 20px; min-height: 118px; }
#legacy .metric-label { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 550; }
#legacy .metric strong { font-size: clamp(24px,2.4vw,32px); font-weight: 600; line-height: 1.25; margin-top: 8px; letter-spacing: -.9px; font-variant-numeric: tabular-nums; }
#legacy .metric-note { font-size: 12px; line-height: 1.5; margin-top: 6px; }
#legacy .output-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
#legacy .tablist { position: static; margin-bottom: 24px; padding: 0; border-bottom: 1px solid #cddddd; background: transparent; gap: 20px; }
#legacy .tab { padding: 13px 0; font-size: 14px; color: #5c7177; border-radius: 0; background: transparent; border-bottom: 2px solid transparent; font-weight: 600; }
#legacy .tab:hover { color: #087f73; background: transparent; }
#legacy .tab[aria-selected="true"] { color: #087f73; border-bottom-color: #087f73; background: transparent; box-shadow: none; }
#legacy .tab-badge { height: 20px; min-width: 20px; font-size: 12px; background: #e6edef; border-radius: 5px; }
#legacy .tab[aria-selected="true"] .tab-badge { color: #087f73; background: #dceee8; }
#legacy .panel { padding: 0; }
#legacy .panel-head { align-items: start; gap: 16px; margin-bottom: 26px; }
#legacy .panel-title { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.8px; }
#legacy .panel-copy { margin-top: 9px; font-size: 16px; line-height: 1.6; max-width: 65ch; }
#legacy .quality-pill { font-size: 12px; color: #4e6b66; background: #e8f1ee; border: 1px solid #d7e5df; font-weight: 600; padding: 6px 10px; border-radius: 6px; }
#legacy .quality-pill::before { display: none; }
#legacy :is(.persona-card,.origin-persona-section,.place-persona-section,.chart-card,.insight-card,.persona-comparison-card,.origin-heatmap-card,.activation-card,.dataset-card) { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 2px 5px #102c2d03; }
#legacy .persona-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,350px),1fr)); gap: 22px; }
#legacy .persona-card { padding: 26px; }
#legacy .persona-card:nth-child(even) { background: #fff; }
#legacy .persona-card:hover { transform: none; box-shadow: 0 5px 16px #102c2d08; }
#legacy .persona-card::before { width: 100%; height: 3px; inset: 0 0 auto; }
#legacy .persona-index { border: 0; background: transparent; border-radius: 0; padding: 0; font-size: 12px; letter-spacing: .06em; }
#legacy .persona-card h3 { font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -.6px; margin-top: 9px; }
#legacy .persona-subtitle { font-size: 14px; line-height: 1.6; margin-top: 9px; }
#legacy .share-ring { border: 0; background: #f0f5f4; box-shadow: inset 3px 0 var(--persona); border-radius: 8px; width: 64px; height: 56px; }
#legacy .share-ring::before { display: none; }
#legacy .share-ring strong { font-size: 19px; color: #24484d; }
#legacy .persona-why { background: transparent; padding: 0; font-size: 16px; color: #456168; line-height: 1.65; margin: 20px 0; min-height: 0; }
#legacy .persona-quick { margin: 20px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
#legacy .persona-quick > span { background: transparent; padding: 14px 10px; }
#legacy .persona-quick small { font-size: 12px; text-transform: none; letter-spacing: 0; }
#legacy .persona-quick strong { font-size: 16px; margin-top: 4px; }
#legacy :is(.persona-facts dt,.creative-hook span,.demographic-grid small,.origin-profile-grid small,.origin-demographics small) { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 550; }
#legacy :is(.persona-facts dd,.demographic-grid strong,.origin-profile-grid strong,.origin-demographics strong) { font-size: 14px; line-height: 1.55; }
#legacy :is(.creative-hook p,.persona-evidence p,.demographic-profile > p) { font-size: 14px; line-height: 1.6; }
#legacy .persona-evidence { background: #f1f7f6; border: 0; border-radius: 9px; padding: 15px; }
#legacy .persona-evidence span { color: #087f73; font-size: 12px; letter-spacing: .03em; }
#legacy .persona-detail > summary { font-size: 14px; padding: 16px 0; }
#legacy .demographic-profile { background: #fff; border-radius: 9px; border-color: var(--line); }
#legacy .demographic-profile-head span { font-size: 13px; }
#legacy .demographic-profile-head strong { font-size: 14px; }
#legacy .persona-origin-summary { background: #edf5f3; color: #365a56; border: 1px solid #d8e8e2; }
#legacy .persona-origin-summary > span { color: #087f73; font-size: 12px; }
#legacy .visual-card-head { padding: 24px; align-items: start; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
#legacy .visual-kicker { font-size: 12px; letter-spacing: .06em; color: #087f73; }
#legacy .visual-card-head h3 { color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.7px; line-height: 1.2; }
#legacy .visual-card-head p { color: var(--muted); font-size: 14px; line-height: 1.6; }
#legacy .visual-control > span { color: #45656a; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 600; }
#legacy .visual-control select { font-size: 14px; font-weight: 500; color: var(--ink); border: 1px solid #c9d9dc; }
#legacy :is(.radar-stage,.origin-map-stage) { background-color: #f6faf9; border-color: var(--line); padding: 24px; background-image: none; }
#legacy .radar-legend { font-size: 14px; font-weight: 600; gap: 12px 20px; }
#legacy .radar-axis-label { font-weight: 600; letter-spacing: 0; fill: #456168; }
#legacy :is(.radar-grid-ring,.radar-axis,.origin-map-guide) { stroke: #d1dfdf; }
#legacy .origin-map-outline { fill: #fff; stroke: #a5c0bd; }
#legacy .origin-region-label { fill: #718c89; font-weight: 500; letter-spacing: .04em; }
#legacy .heatmap-label { fill: #244d4e; font-weight: 600; }
#legacy .visual-chart-note { font-size: 13px; line-height: 1.65; margin-top: 12px; }
#legacy :is(.radar-table,.media-table,.evidence-table,.need-table,.comparison-table) { font-size: 14px; font-variant-numeric: tabular-nums; }
#legacy :is(.radar-table,.media-table,.evidence-table,.need-table,.comparison-table) th { color: #577075; background: #f2f7f6; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 600; padding: 15px; border-color: var(--line); }
#legacy :is(.radar-table,.media-table,.evidence-table,.need-table,.comparison-table) td { padding: 17px 15px; font-size: 14px; line-height: 1.55; border-color: var(--line); }
#legacy :is(.radar-table small,.need-table td > small,.media-table small) { font-size: 12px; line-height: 1.5; }
#legacy :is(.radar-table,.media-table,.evidence-table,.need-table) tbody tr:hover td { background: #f8fbfa; }
#legacy .table-total td { background: #edf7f3; color: #1e5e52; }
#legacy .heatmap-ranking-head span { font-size: 12px; letter-spacing: .04em; }
#legacy .heatmap-ranking-head strong { font-size: 18px; font-weight: 600; }
#legacy .heatmap-ranking li { font-size: 14px; border-color: var(--line); }
#legacy :is(.origin-persona-head,.place-persona-head) { padding: 22px; background: white; }
#legacy :is(.origin-persona-head strong,.place-persona-name,.place-persona-heading h3) { font-size: 23px; letter-spacing: -.5px; font-weight: 600; line-height: 1.25; }
#legacy :is(.origin-persona-head small,.place-persona-heading p,.origin-method p,.origin-caution p) { font-size: 14px; line-height: 1.6; }
#legacy :is(.origin-persona-body,.place-persona-body) { padding: 22px; background: #f8fbfa; }
#legacy :is(.origin-market,.place-card) { padding: 20px; border: 1px solid var(--line); border-radius: 11px; box-shadow: none; }
#legacy :is(.origin-profile-grid,.origin-demographics,.demographic-grid) { border-color: var(--line); background: var(--line); }
#legacy :is(.origin-profile-grid > span,.origin-demographics > span,.demographic-grid > span) { padding: 12px; background: white; }
#legacy :is(.origin-pill,.origin-confidence,.place-type,.place-count,.origin-count,.source-button) { font-size: 12px; font-weight: 600; border-radius: 6px; }
#legacy :is(.place-card h4,.origin-market h4) { font-size: 18px; line-height: 1.35; font-weight: 600; }
#legacy :is(.place-address,.place-fit,.place-link,.origin-method,.origins-source-card,.places-source-note,.origin-caution) { font-size: 14px; line-height: 1.6; }
#legacy :is(.overview-lead,.decision-grid,.activation-list) { gap: 22px; }
#legacy :is(.decision-brief,.scenario-lab,.impact-module,.activation-card) { border-color: var(--line); border-radius: 14px; box-shadow: none; }
#legacy :is(.module-heading h3,.chart-heading h3,.insight-card h3,.activation-card-head h3) { font-size: 23px; line-height: 1.2; letter-spacing: -.5px; font-weight: 600; }
#legacy :is(.activation-card-head p,.activation-grid li,.activation-grid p,.platform-briefs p,.plan-note,.insight-card p,.dataset-card p) { font-size: 14px; line-height: 1.6; }
#legacy :is(.activation-grid h4,.platform-briefs strong,.dataset-card h4) { font-size: 16px; }
#legacy :is(.activation-meta strong,.activation-meta code,.utm-row code,.platform-briefs small) { font-size: 12px; }
#legacy :is(.method-card,.places-source-card,.source-signal-card,.origin-caution) { background: #15383a; color: #d0e2df; border-color: #15383a; }
#legacy :is(.method-card h3,.places-source-card strong,.source-signal-card h4) { color: #fff; }
#legacy :is(.method-grid span,.source-signal-card p,.places-source-card p) { color: #c0d6d2; font-size: 14px; line-height: 1.6; }
#legacy :is(.source-button,.place-link-primary) { color: #087f73; background: #edf7f3; border-color: #cce4dc; }
#legacy .source-button:hover { color: #fff; background: #087f73; border-color: #087f73; }
@media (max-width: 1250px) {
  #legacy .workspace { grid-template-columns: 280px minmax(0,1fr); padding: 22px; gap: 22px; }
  #legacy .form-body { padding: 0 18px 20px; }
  #legacy .builder-head { padding: 22px 18px; }
  #legacy .field-grid { grid-template-columns: 1fr; }
  #legacy .hero-content { flex-direction: column-reverse; align-items: start; gap: 15px; }
  #legacy .hero-status { align-self: auto; }
  #legacy .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #legacy .metric:nth-child(2) { border-right: 0; }
  #legacy .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  #legacy .visual-card-head { flex-direction: column; }
  #legacy .radar-controls { flex-basis: auto; width: 100%; }
  #legacy .persona-comparison-layout,#legacy .origin-heatmap-layout { grid-template-columns: 1fr; }
  #legacy .radar-stage,#legacy .origin-map-stage { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1000px) {
  #legacy .workspace { grid-template-columns: 1fr; padding: 22px; }
  #legacy .builder { position: static; max-height: none; }
  #legacy .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #legacy .channel-selector { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #legacy .hero-content { flex-direction: row; align-items: start; }
  #legacy .hero-status { display: none; }
}
@media (max-width: 600px) {
  #legacy .topbar { padding: 18px; gap: 16px; }
  #legacy .brand-sub { font-size: 12px; }
  #legacy .workspace { padding: 18px 14px 40px; gap: 20px; }
  #legacy .hero-content { padding: 24px; }
  #legacy .hero-title { font-size: 34px; }
  #legacy .hero-desc { font-size: 16px; }
  #legacy .hero-tags { display: flex; }
  #legacy .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #legacy .metric { padding: 18px 15px; border-bottom: 0; }
  #legacy .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  #legacy .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  #legacy .metric-label { font-size: 13px; }
  #legacy .metric strong { font-size: 25px; }
  #legacy .panel-title { font-size: 25px; }
  #legacy .panel-head { flex-direction: column; margin-bottom: 22px; }
  #legacy .persona-card { padding: 22px; }
  #legacy .visual-card-head { padding: 22px; }
  #legacy .visual-control { min-width: 0; width: 100%; flex-basis: auto; }
  #legacy .radar-controls { display: grid; grid-template-columns: 1fr; }
  #legacy .radar-stage,#legacy .origin-map-stage { padding: 18px; }
  #legacy .persona-radar-svg { min-width: 360px; }
  #legacy .channel-selector { grid-template-columns: 1fr; }
  #legacy .origin-persona-body,#legacy .place-persona-body { padding: 14px; }
}
@media print {
  #legacy { background: #fff; color: #111; }
  #legacy .workspace { display: block; padding: 0; }
  #legacy :is(.topbar,.builder,.tablist,.quality-pill) { display: none!important; }
  #legacy .panel { padding: 20px 0; }
  #legacy .persona-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #legacy .persona-card { padding: 18px; break-inside: avoid; box-shadow: none; }
  #legacy .hero-card { min-height: 180px; }
  #legacy .hero-content { min-height: 180px; }
  #legacy .metric-strip { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
