:root {
    --ink: #18221f;
    --muted: #68736e;
    --line: #dce3df;
    --soft_line: #edf1ef;
    --paper: #ffffff;
    --canvas: #f4f7f5;
    --jade: #176f63;
    --jade_dark: #0d4d45;
    --jade_soft: #e2f1ec;
    --coral: #d9694f;
    --navy: #26465d;
    --warning: #a35b22;
    --shadow: 0 18px 45px rgba(25, 43, 36, 0.11);
    font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

.site_header {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    color: #fff;
    background: rgba(15, 28, 24, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

/*
 * 功能模块：EasyMap 母品牌与产品模块标识。
 * 用途和目标：让 EasyMap 保持稳定主标识，同时用轻量暖色强调当前 Charts 产品。
 * 主要逻辑：SVG 图标独立缩放，文字标识分成母品牌和产品名两个语义元素。
 * 注意事项：小屏只隐藏产品后缀，完整产品名仍在首屏 H1 中出现。
 * 与其他模块的交互关系：共享图标路径和 i18n 词条由首页及静态内容生成器共同使用。
 */
.brand_mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.brand_mark img {
    display: block;
    width: 100%;
    height: 100%;
}

.brand_wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.brand_wordmark strong {
    color: #8fe0c5;
    font-size: 19px;
    font-weight: 800;
}

.brand_product {
    color: #f0a383;
    font-size: 12px;
    font-weight: 750;
}

.main_nav {
    display: flex;
    height: 100%;
    gap: 6px;
}

.nav_link {
    min-width: 82px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.74);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.nav_link:hover,
.nav_link.is_active {
    color: #fff;
    border-bottom-color: #7bd2b8;
}

.nav_link span {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
}

.welcome_hero {
    position: relative;
    min-height: min(92vh, 900px);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 118px max(7vw, 42px) 94px;
    color: #fff;
    background: #10201b;
}

.hero_image,
.hero_scrim {
    position: absolute;
    inset: 0;
}

.hero_image {
    background: #172229;
    opacity: 0.88;
    transform: scale(1.01);
}

.hero_scrim {
    background: rgba(8, 20, 16, 0.73);
}

.hero_content {
    position: relative;
    z-index: 1;
    width: min(650px, 94%);
}

.hero_kicker,
.tool_heading p {
    margin: 0 0 17px;
    color: #89d4bd;
    font-size: 12px;
    font-weight: 700;
}

.hero_content h1 {
    margin: 0;
    font-size: 88px;
    line-height: 1;
    font-weight: 750;
}

.hero_wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hero_brand_line {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

.hero_wordmark small {
    color: rgba(255, 255, 255, 0.72);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero_wordmark em {
    color: #f0a383;
    font-size: 0.36em;
    font-style: normal;
    font-weight: 700;
}

.map_entry_heading {
    display: block;
    max-width: 900px;
    font-size: clamp(42px, 5.3vw, 76px) !important;
    line-height: 1.05 !important;
}

.hero_statement {
    margin: 23px 0 8px;
    font-size: 29px;
    line-height: 1.35;
    font-weight: 650;
}

.hero_description {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.8;
}

.hero_actions {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 34px;
}

.primary_action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
    color: #10261f;
    background: #83d4bb;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.hero_guide_link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.hero_guide_link:hover,
.hero_guide_link:focus-visible {
    color: #a9e2d0;
    border-bottom-color: #a9e2d0;
}

.primary_action:hover {
    background: #a1e4cf;
}

.privacy_note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.privacy_note i,
.performance_badge i,
.live_badge i {
    width: 7px;
    height: 7px;
    background: #72d1b4;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(114, 209, 180, 0.12);
}

.hero_facts {
    display: flex;
    gap: 0;
    margin: 56px 0 0;
}

.hero_facts div {
    min-width: 138px;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero_facts div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero_facts dt {
    font-size: 20px;
    font-weight: 700;
}

.hero_facts dd {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.scroll_cue {
    position: absolute;
    z-index: 2;
    bottom: 26px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    text-decoration: none;
    transform: translateX(-50%);
}

.scroll_cue i {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.42);
}

.tool_section {
    min-height: 100vh;
    padding: 94px 34px 56px;
    background: var(--canvas);
}

.tool_heading,
.workspace_shell {
    width: min(1540px, 100%);
    margin: 0 auto;
}

.tool_heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tool_heading p {
    margin-bottom: 6px;
    color: var(--jade);
}

.tool_heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.performance_badge,
.live_badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.workspace_shell {
    display: grid;
    grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
    overflow: visible;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.control_panel {
    border-right: 1px solid var(--line);
}

.control_section {
    position: relative;
    padding: 21px 22px;
    border-bottom: 1px solid var(--soft_line);
}

.control_section:last-child {
    border-bottom: 0;
}

.section_heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.section_heading > span {
    min-width: 27px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 750;
}

.section_heading h3,
.review_heading h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.section_heading p,
.review_heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.segmented_control,
.level_control,
.input_tabs {
    display: grid;
    padding: 3px;
    background: #eef2f0;
    border-radius: 5px;
}

.segmented_control { grid-template-columns: repeat(2, 1fr); }
.level_control,
.input_tabs { grid-template-columns: repeat(3, 1fr); }

.segmented_control button,
.level_control button,
.input_tabs button {
    min-height: 34px;
    padding: 5px 7px;
    color: #69746f;
    background: transparent;
    border: 0;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.segmented_control button.is_active,
.level_control button.is_active,
.input_tabs button.is_active {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 2px 8px rgba(33, 48, 42, 0.08);
    font-weight: 700;
}

.province_picker_button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 8px 12px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}

.province_picker_button span {
    display: grid;
    gap: 3px;
}

.province_picker_button small {
    color: var(--muted);
    font-size: 10px;
}

.province_picker_button strong {
    max-width: 285px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.province_popover {
    position: absolute;
    z-index: 12;
    left: 22px;
    right: 22px;
    margin-top: 5px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 14px 34px rgba(23, 39, 33, 0.16);
}

.province_options {
    max-height: 220px;
    overflow: auto;
    margin-top: 8px;
}

.province_option,
.region_option {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 7px;
    border-bottom: 1px solid var(--soft_line);
    font-size: 12px;
    cursor: pointer;
}

.province_option:last-child,
.region_option:last-child {
    border-bottom: 0;
}

.province_option:hover,
.region_option:hover {
    background: #f4f8f6;
}

.province_option input,
.region_option input {
    accent-color: var(--jade);
}

.province_option span,
.region_option span {
    flex: 1;
}

.province_option small,
.region_option small {
    color: #8a948f;
}

.region_toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 7px;
    margin-top: 10px;
}

.compact_search {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.compact_search > span {
    color: #8a948f;
}

.compact_search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 12px;
}

.icon_button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--jade);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}

.region_list {
    height: 148px;
    overflow: auto;
    margin-top: 7px;
    border-top: 1px solid var(--soft_line);
    border-bottom: 1px solid var(--soft_line);
}

.empty_hint {
    min-height: 90px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.scope_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
}

.scope_line span {
    color: var(--muted);
}

.scope_line strong {
    max-width: 250px;
    overflow: hidden;
    color: var(--navy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input_panel {
    margin-top: 10px;
}

.input_note {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.paste_area {
    width: 100%;
    min-height: 104px;
    resize: vertical;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 12px;
    line-height: 1.55;
}

.paste_area:focus,
.title_field input:focus,
.table_input:focus,
.table_select:focus {
    border-color: #73ae9e;
    box-shadow: 0 0 0 3px rgba(60, 139, 119, 0.1);
}

.recognize_button,
.secondary_button,
.upload_label,
.add_route_button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.recognize_button {
    width: 100%;
    margin-top: 7px;
    color: #fff;
    background: var(--jade);
    border: 1px solid var(--jade);
}

.upload_dropzone {
    min-height: 112px;
    display: grid;
    place-items: center;
    padding: 16px;
    text-align: center;
    border: 1px dashed #aebbb5;
    border-radius: 4px;
    background: #fafcfb;
}

.upload_dropzone p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.upload_label {
    color: var(--jade_dark);
    background: var(--jade_soft);
    border: 1px solid #b8dace;
}

.upload_label input {
    display: none;
}

.manual_summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
}
.sample_data_notice {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid #e5c77a;
    border-left: 3px solid #c38a12;
    border-radius: 4px;
    color: #5e4817;
    background: #fffaf0;
    font-size: 11px;
}

.clear_sample_data_button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #c38a12;
    border-radius: 4px;
    color: #76540c;
    background: #fff;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.clear_sample_data_button:hover,
.clear_sample_data_button:focus-visible {
    color: #fff;
    background: #9a6907;
    border-color: #9a6907;
}

.add_route_button {
    color: var(--jade);
    background: #fff;
    border: 1px solid var(--line);
}

.style_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.style_field {
    display: grid;
    gap: 5px;
}

.style_field > span {
    color: var(--muted);
    font-size: 10px;
}

.style_field select,
.style_field input[type="number"] {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 12px;
}

.palette_choices {
    grid-column: 1 / -1;
    display: flex;
    gap: 7px;
}

.palette_choice {
    width: 40px;
    height: 28px;
    padding: 3px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}

.palette_choice i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.palette_choice.is_active { border-color: var(--jade); box-shadow: 0 0 0 2px rgba(23, 111, 99, 0.12); }

.map_workspace {
    min-width: 0;
    padding: 20px;
}

.map_toolbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.title_field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title_field span {
    color: var(--muted);
    font-size: 11px;
}

.title_field input {
    width: min(430px, 100%);
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    font-weight: 650;
}

.map_actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle_control {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.toggle_control input {
    position: absolute;
    opacity: 0;
}

.toggle_control i {
    width: 30px;
    height: 17px;
    position: relative;
    background: #c9d1cd;
    border-radius: 9px;
}

.toggle_control i::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-radius: 50%;
    transition: transform 160ms ease;
}

.toggle_control input:checked + i { background: var(--jade); }
.toggle_control input:checked + i::after { transform: translateX(13px); }

.secondary_button {
    color: #fff;
    background: var(--navy);
    border: 1px solid var(--navy);
}

.map_frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    min-height: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
}

#map_svg {
    width: 100%;
    height: 100%;
    display: block;
}

.map_loading {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
}

.map_loading[hidden] { display: none; }

.map_loading i {
    width: 19px;
    height: 19px;
    border: 2px solid #dce5e1;
    border-top-color: var(--jade);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.map_background_shape {
    fill: #f4f6f4;
    stroke: #ccd5d0;
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
}

.map_background_shape.is_selected_parent {
    stroke: none;
}

.map_parent_outline_shape {
    fill: none;
    stroke: #74817c;
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.map_region_shape {
    stroke: #fff;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    transition: filter 120ms ease, opacity 120ms ease;
}

.map_region_shape:hover {
    filter: brightness(0.94);
}

.map_region_label,
.flow_label {
    fill: #20302b;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 10px;
    font-weight: 650;
    text-anchor: middle;
    paint-order: stroke fill;
    stroke: rgba(255, 255, 255, 0.66);
    stroke-width: 1.25px;
    stroke-linejoin: round;
    pointer-events: none;
}

.flow_route {
    fill: none;
    stroke-linecap: round;
    opacity: 0.82;
    vector-effect: non-scaling-stroke;
}

.flow_route:hover { opacity: 1; }

.flow_point {
    fill: #fff;
    stroke: #183f38;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
}

.flow_label {
    font-size: 11px;
    text-anchor: start;
}

.ten_dash_line_shape {
    fill: none;
    stroke: #263e37;
    stroke-width: 1.2;
    stroke-dasharray: 3 3;
    vector-effect: non-scaling-stroke;
}

.map_legend {
    position: absolute;
    right: 17px;
    bottom: 32px;
    min-width: 132px;
    padding: 9px 10px;
    color: #38433f;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(208, 218, 213, 0.86);
    border-radius: 4px;
    backdrop-filter: blur(7px);
    font-size: 10px;
}

.legend_title {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.legend_row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0;
}

.legend_row i {
    width: 18px;
    height: 8px;
    flex: 0 0 auto;
}

.data_mark {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: #89928e;
    font-size: 9px;
}

.map_status_bar {
    display: flex;
    gap: 22px;
    padding: 10px 2px 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--soft_line);
    font-size: 10px;
}

.review_panel {
    padding-top: 15px;
}

.review_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.review_table_wrap {
    min-width: 0;
}

.review_table_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.review_table_grid.is_flow_layout {
    grid-template-columns: minmax(0, 1fr);
}

.review_table_column {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.review_table_column[hidden] {
    display: none;
}

.review_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
}

.review_table th {
    height: 38px;
    padding: 0 10px;
    color: #6f7a75;
    background: #f5f7f6;
    text-align: left;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review_table td {
    height: 42px;
    padding: 5px 10px;
    border-top: 1px solid var(--soft_line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review_table:not(.is_flow_review) th:nth-child(1),
.review_table:not(.is_flow_review) td:nth-child(1) { width: 22%; }
.review_table:not(.is_flow_review) th:nth-child(2),
.review_table:not(.is_flow_review) td:nth-child(2) { width: 34%; }
.review_table:not(.is_flow_review) th:nth-child(3),
.review_table:not(.is_flow_review) td:nth-child(3) { width: 22%; }
.review_table:not(.is_flow_review) th:nth-child(4),
.review_table:not(.is_flow_review) td:nth-child(4) { width: 22%; }

.review_placeholder_row td {
    background: #fbfcfb;
}

.review_pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-height: 38px;
    padding-top: 8px;
    color: var(--muted);
    font-size: 10px;
}

.review_page_button {
    display: inline-grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 20px;
    line-height: 1;
}

.review_page_button:hover:not(:disabled) {
    border-color: var(--jade);
    color: var(--jade);
}

.review_page_button:disabled {
    color: #b8bfbc;
    background: #f7f8f7;
    cursor: default;
}

.table_input,
.table_select {
    width: 100%;
    height: 28px;
    padding: 0 7px;
    background: #fff;
    border: 1px solid #dce3df;
    border-radius: 3px;
    outline: 0;
    font-size: 11px;
}

.match_status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--jade);
}

.match_status.is_error { color: #b44b37; }
.match_status.is_warning { color: var(--warning); }

.toast {
    position: fixed;
    z-index: 50;
    right: 24px;
    bottom: 24px;
    width: min(340px, calc(100vw - 32px));
    display: grid;
    gap: 4px;
    padding: 13px 15px;
    color: #fff;
    background: #20312b;
    border-left: 3px solid #74cfb4;
    border-radius: 4px;
    box-shadow: 0 14px 35px rgba(20, 34, 29, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is_visible {
    opacity: 1;
    transform: translateY(0);
}

.toast strong { font-size: 12px; }
.toast span { color: rgba(255, 255, 255, 0.7); font-size: 11px; line-height: 1.5; }

@media (max-width: 1100px) {
    .tool_section { padding-inline: 18px; }
    .workspace_shell { grid-template-columns: 340px minmax(0, 1fr); }
    .map_workspace { padding: 15px; }
    .map_frame { min-height: 360px; }
    .review_table_grid { gap: 10px; }
}

@media (max-width: 840px) {
    .site_header { height: 58px; padding: 0 16px; }
    .brand_product { display: none; }
    .nav_link { min-width: 66px; padding-inline: 8px; }
    .welcome_hero { min-height: 86vh; padding: 96px 24px 84px; }
    .hero_image { background-position: 68% center; }
    .hero_content h1 { font-size: 58px; }
    .hero_wordmark { gap: 7px; }
    .hero_brand_line { gap: 10px; }
    .hero_statement { font-size: 23px; }
    .hero_actions { align-items: flex-start; flex-direction: column; gap: 14px; }
    .hero_facts { gap: 0; margin-top: 38px; }
    .hero_facts div { min-width: 0; padding-inline: 15px; }
    .tool_section { padding: 78px 12px 32px; }
    .tool_heading { align-items: flex-start; gap: 12px; }
    .performance_badge { margin-top: 6px; text-align: right; }
    .workspace_shell { display: block; }
    .control_panel { border-right: 0; border-bottom: 1px solid var(--line); }
    .map_workspace { padding: 12px; }
    .map_toolbar { align-items: flex-start; flex-direction: column; }
    .title_field { width: 100%; }
    .map_actions { width: 100%; justify-content: space-between; }
    .map_frame { min-height: 300px; }
    .map_status_bar { flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 480px) {
    .hero_description { font-size: 14px; }
    .hero_facts div { padding-inline: 10px; }
    .hero_facts dt { font-size: 16px; }
    .hero_facts dd { font-size: 10px; }
    .tool_heading h2 { font-size: 24px; }
    .performance_badge { max-width: 130px; }
    .control_section { padding-inline: 16px; }
    .province_popover { left: 16px; right: 16px; }
    .map_frame { min-height: 250px; }
    .map_legend { right: 8px; bottom: 24px; transform: scale(0.86); transform-origin: right bottom; }
    .data_mark { max-width: 190px; }
    .review_table.is_flow_review { min-width: 560px; }
}

@media (max-width: 640px) {
    .review_table_grid { grid-template-columns: minmax(0, 1fr); }
    .review_table_column { overflow-x: auto; }
}

.level_control[hidden] { display: none; }
