/* KOJAMELK 1.0.0 — Offline, buildless prototype. All code and illustrations are in this file. */
    :root {
      --ink: #1d4337;
      --green: #36694d;
      --leaf: #d5eab3;
      --leaf-dark: #b1cd8a;
      --paper: #f6f5f0;
      --white: #fff;
      --text: #34463d;
      --muted: #6d786e;
      --line: #e3e6dc;
      --rust: #a76b4c;
      --soft: #edf1e6;
      --radius: 22px;
      --shadow: 0 12px 32px rgb(39 62 42 / 5%);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 30px; }
    body { margin: 0; font: 15px/1.9 Tahoma, Arial, sans-serif; color: var(--text); background: var(--paper); }
    body.modal-open { overflow: hidden; }
    button, input, select { font: inherit; }
    button, a, input, select { -webkit-tap-highlight-color: transparent; }
    button { cursor: pointer; }
    button:disabled { cursor: default; }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3, p { margin: 0; }
    h1, h2, h3 { color: var(--ink); }
    [hidden] { display: none !important; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
      outline: 3px solid #9c7628;
      outline-offset: 4px;
    }
    .latin { direction: ltr; unicode-bidi: isolate; font-family: Arial, sans-serif; }
    .container { max-width: 1280px; padding-inline: 42px; margin-inline: auto; }
    .icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .skip { position: absolute; right: 20px; top: -80px; padding: 12px 20px; color: white; background: var(--ink); border-radius: 8px; z-index: 20; }
    .skip:focus { top: 10px; }
    .notice { background: #e9eee1; color: #52654b; font-size: 11px; text-align: center; padding: 7px 15px; line-height: 1.8; }
    .notice strong { font-weight: normal; color: var(--ink); }
    .site-header { min-height: 97px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
    .brand-mark { width: 44px; height: 44px; border-radius: 15px 15px 15px 4px; background: var(--ink); color: var(--leaf); display: grid; place-items: center; }
    .brand-mark .icon { width: 27px; height: 27px; stroke-width: 1.6; }
    .brand-name { color: var(--ink); font-size: 25px; font-weight: bold; line-height: 1.5; letter-spacing: -1.2px; }
    .brand-sub { color: var(--muted); font-size: 9px; letter-spacing: 1.8px; display: block; }
    .nav { display: flex; align-items: center; gap: 26px; }
    .nav button { border: 0; background: transparent; padding: 8px 0; color: #4b5a4c; font-size: 13px; position: relative; }
    .nav button:hover { color: var(--green); }
    .nav button.active { color: var(--ink); }
    .nav button.active::after { content: ''; position: absolute; bottom: 0; right: 0; width: 18px; height: 2px; background: var(--green); }
    .header-actions { display: flex; align-items: center; gap: 12px; }
    .favorites-button { display: flex; align-items: center; gap: 7px; border: 1px solid #cbd5c5; border-radius: 10px; background: transparent; padding: 9px 12px; color: var(--ink); font-size: 12px; }
    .favorites-button[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf-dark); }
    .favorites-count { background: #e4eadc; border-radius: 50%; min-width: 19px; line-height: 20px; text-align: center; font-size: 10px; }
    .version-button { border: 0; background: transparent; color: var(--muted); padding: 9px 0; font-size: 11px; }
    .menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 9px; color: var(--ink); line-height: 0; }
    .hero { margin-top: 13px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 46px; align-items: center; padding-bottom: 43px; }
    .eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--green); font-size: 12px; margin-bottom: 17px; }
    .eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
    .hero h1 { font-size: clamp(34px, 3.4vw, 48px); font-weight: bold; line-height: 1.75; letter-spacing: -1.8px; }
    .hero h1 span { position: relative; z-index: 1; white-space: nowrap; }
    .hero h1 span::after { content: ''; position: absolute; background: #e0e9c7; height: 17px; bottom: 2px; right: -5px; left: -7px; z-index: -1; border-radius: 4px; transform: rotate(-1.5deg); }
    .hero-copy > p { max-width: 430px; font-size: 14px; color: var(--muted); line-height: 2.15; margin-top: 19px; }
    .hero-notes { display: flex; gap: 21px; margin-top: 27px; color: #54694e; font-size: 11px; }
    .hero-notes span { display: flex; align-items: center; gap: 6px; }
    .hero-notes .icon { width: 16px; height: 16px; }
    .hero-visual { position: relative; border-radius: 34px 34px 90px 34px; overflow: hidden; background: #e2e8da; min-height: 350px; }
    .hero-visual > svg { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; }
    .visual-label { position: absolute; top: 18px; right: 19px; background: rgb(255 255 255 / 85%); backdrop-filter: blur(8px); border-radius: 30px; padding: 5px 11px; font-size: 10px; color: #4c6348; }
    .visual-card { position: absolute; bottom: 23px; right: 22px; background: #fffffff2; border: 1px solid #ffffff; border-radius: 14px; padding: 13px 16px; display: flex; gap: 11px; align-items: center; box-shadow: 0 6px 18px #223e3010; }
    .visual-card .icon { color: var(--green); width: 26px; height: 26px; }
    .visual-card strong { font-size: 12px; color: var(--ink); display: block; }
    .visual-card span { font-size: 10px; color: var(--muted); }
    .search-panel { position: relative; z-index: 2; background: white; border: 1px solid #dfe4d7; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 27px; }
    .search-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 22px 0; }
    .deal-switch { display: flex; gap: 5px; background: #f1f3ed; padding: 4px; border-radius: 10px; }
    .deal-switch button { border: 0; background: transparent; padding: 7px 19px; border-radius: 7px; color: #61715a; font-size: 12px; min-width: 105px; }
    .deal-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
    .search-hint { font-size: 11px; color: var(--muted); }
    .search-form { padding: 23px; display: grid; grid-template-columns: .9fr .9fr 1.35fr auto; gap: 19px; align-items: end; }
    .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
    .field label { font-size: 12px; color: #475641; }
    .input-shell { display: flex; align-items: center; background: #fafbf7; border: 1px solid var(--line); border-radius: 10px; padding-inline: 10px; height: 47px; gap: 7px; }
    .input-shell:focus-within { border-color: #709a68; }
    .input-shell .icon { width: 18px; height: 18px; color: #7a8770; }
    .input-shell select, .input-shell input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding-block: 9px; font-size: 12px; }
    .input-shell select { cursor: pointer; }
    .input-shell input::placeholder { color: #8a9582; }
    .input-shell select:focus-visible, .input-shell input:focus-visible { outline-offset: 0; }
    .primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; background: var(--ink); color: white; border-radius: 10px; min-height: 47px; padding: 11px 23px; font-size: 13px; white-space: nowrap; }
    .primary-button:hover { background: #315b43; }
    .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid #c8d5bd; border-radius: 10px; background: transparent; color: var(--ink); font-size: 12px; }
    .secondary-button:hover { background: var(--soft); }
    .category-strip { display: flex; align-items: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
    .category-strip > span { font-size: 12px; color: var(--muted); margin-left: 4px; }
    .category-button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e0e4d7; color: #5b6b50; border-radius: 30px; background: transparent; font-size: 11px; padding: 6px 13px; }
    .category-button .icon { width: 16px; height: 16px; }
    .category-button[aria-pressed="true"] { color: var(--ink); background: #e3edce; border-color: #c2d6a6; }
    .results-section { scroll-margin-top: 22px; }
    .section-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 21px; }
    .section-header h2 { font-size: 24px; letter-spacing: -.7px; line-height: 1.7; }
    .section-header p { font-size: 12px; margin-top: 6px; color: var(--muted); }
    .sort-field { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); }
    .sort-field select { background: transparent; border: 1px solid #d7dfcd; border-radius: 8px; padding: 8px; font-size: 11px; color: #57654d; min-width: 135px; }
    .results-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; font-size: 12px; color: var(--muted); }
    .active-filters { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
    .filter-chip { border: 1px solid #dfe5d5; background: #eef2e7; border-radius: 6px; padding: 3px 9px; font-size: 10px; }
    .clear-button { color: var(--green); border: 0; background: transparent; font-size: 11px; padding: 5px 0; }
    .property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
    .property-card { background: white; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; box-shadow: 0 5px 20px #2c452a03; }
    .property-image { position: relative; background: #e9ebdf; }
    .image-button { padding: 0; border: 0; width: 100%; display: block; background: transparent; overflow: hidden; }
    .property-art { display: block; width: 100%; aspect-ratio: 1.63; height: auto; transition: transform .3s ease; }
    .image-button:hover .property-art { transform: scale(1.025); }
    .demo-badge { position: absolute; top: 12px; right: 12px; background: #fffffff0; border-radius: 6px; padding: 3px 9px; font-size: 10px; color: #59614d; pointer-events: none; }
    .save-button { position: absolute; top: 11px; left: 11px; width: 34px; height: 34px; border-radius: 50%; background: #fffefaed; border: 1px solid #ffffff; display: grid; place-items: center; color: var(--ink); }
    .save-button .icon { width: 18px; height: 18px; }
    .save-button[aria-pressed="true"] { color: #9e4d3f; background: #fff7f0; }
    .save-button[aria-pressed="true"] .icon { fill: #9e4d3f; stroke: #9e4d3f; }
    .property-body { padding: 19px 19px 16px; }
    .property-location { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 4px; }
    .property-location .icon { width: 14px; height: 14px; }
    .property-title { display: inline-block; border: 0; padding: 0; margin-top: 8px; background: transparent; text-align: right; font-size: 16px; font-weight: bold; color: var(--ink); line-height: 1.8; }
    .property-title:hover { color: var(--green); }
    .property-features { display: flex; gap: 17px; align-items: center; margin-top: 13px; color: #738068; font-size: 11px; }
    .property-features span { display: flex; align-items: center; gap: 5px; }
    .property-features .icon { width: 15px; height: 15px; }
    .property-price { border-top: 1px solid #e9ecdf; margin-top: 18px; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .price-main { font-size: 17px; font-weight: bold; color: var(--ink); line-height: 1.7; }
    .price-main small { font-size: 10px; font-weight: normal; margin-right: 3px; }
    .price-sub { font-size: 10px; color: var(--muted); margin-top: 3px; }
    .deal-tag { font-size: 10px; padding: 4px 9px; color: var(--green); background: #edf3e5; border-radius: 6px; white-space: nowrap; }
    .empty-state { text-align: center; padding: 45px 20px; border: 1px dashed #cbd6be; border-radius: 18px; background: #f0f3e9; }
    .empty-state > .icon { width: 38px; height: 38px; color: #6c8760; margin-bottom: 12px; }
    .empty-state h3 { font-size: 20px; }
    .empty-state p { max-width: 510px; margin: 10px auto 22px; color: var(--muted); font-size: 13px; }
    .sample-note { margin-top: 17px; color: var(--muted); font-size: 11px; display: flex; align-items: flex-start; gap: 7px; }
    .sample-note .icon { width: 16px; height: 16px; margin-top: 2px; }
    .journey { display: grid; grid-template-columns: .8fr 1.4fr; gap: 30px; padding: 34px; border: 1px solid #e0e6d6; background: #edf1e5; border-radius: 20px; margin-top: 55px; align-items: center; }
    .journey h2 { font-size: 23px; line-height: 1.9; letter-spacing: -.6px; }
    .journey > div > p { color: var(--muted); font-size: 12px; margin-top: 7px; }
    .journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .journey-step .step-no { font: 12px Arial, sans-serif; display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; border: 1px solid #b4c6a6; border-radius: 50%; color: #4e6c40; margin-bottom: 12px; }
    .journey-step h3 { font-size: 13px; }
    .journey-step p { color: var(--muted); font-size: 11px; margin-top: 5px; }
    .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 28px; margin-top: 23px; border-top: 1px solid var(--line); }
    .footer-brand { display: flex; align-items: center; gap: 14px; }
    .footer-brand strong { color: var(--ink); font-size: 17px; }
    .footer-brand span { font-size: 11px; color: var(--muted); }
    .footer-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; }
    .footer-links button { padding: 5px 0; border: 0; background: transparent; color: var(--green); font-size: 11px; }
    .toast { position: fixed; z-index: 30; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 21px; border-radius: 12px; font-size: 12px; box-shadow: 0 8px 24px #17392b33; max-width: calc(100vw - 32px); width: max-content; pointer-events: none; }
    .toast:empty { display: none; }
    dialog { border: 1px solid #dce4d0; border-radius: 23px; padding: 0; color: var(--text); background: #fff; max-height: calc(100dvh - 40px); overflow: auto; width: min(710px, calc(100vw - 36px)); box-shadow: 0 25px 90px #142e3240; }
    dialog::backdrop { background: #172d285e; backdrop-filter: blur(4px); }
    .dialog-header { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid var(--line); }
    .dialog-header h2 { font-size: 19px; }
    .close-button { border: 0; background: #f0f4e9; border-radius: 50%; display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); flex-shrink: 0; }
    .dialog-body { padding: 25px; }
    .dialog-art { display: block; width: 100%; aspect-ratio: 1.8; background: #e7ecdd; border-radius: 13px; margin-bottom: 19px; }
    .dialog-body h3 { font-size: 16px; margin-top: 20px; margin-bottom: 8px; }
    .dialog-body p { font-size: 13px; line-height: 2.05; color: var(--muted); }
    .dialog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
    .dialog-tags span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-size: 12px; }
    .dialog-note { background: #f4f3e9; border-radius: 10px; padding: 13px 16px; margin-top: 20px; font-size: 12px; color: #756b4e; }
    .dialog-actions { margin-top: 20px; display: flex; gap: 10px; align-items: center; }
    .release-status { display: inline-block; color: var(--green); font-size: 11px; padding: 5px 12px; background: var(--soft); border-radius: 20px; margin-bottom: 17px; }
    .release-list { padding-right: 20px; color: var(--muted); font-size: 12px; }
    .release-list li { margin-block: 8px; }
    .release-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 12px; }
    .release-table th, .release-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: right; vertical-align: top; }
    .release-table th { color: var(--ink); background: #f0f4e9; }
    noscript p { margin: 20px; padding: 20px; background: #fff0da; color: #715a2f; border-radius: 10px; }
    @media (max-width: 1100px) {
      .container { padding-inline: 30px; }
      .nav { gap: 18px; }
      .nav button { font-size: 12px; }
      .hero { gap: 30px; }
      .hero h1 { font-size: 36px; }
      .hero-visual { min-height: 0; }
      .hero-notes { gap: 13px; }
      .header-actions { gap: 9px; }
      .version-button { display: none; }
      .search-form { gap: 12px; }
      .primary-button { padding-inline: 16px; }
      .property-grid { gap: 16px; }
      .property-body { padding: 16px; }
      .property-title { font-size: 14px; }
      .journey { gap: 24px; padding: 27px; }
    }
    @media (max-width: 820px) {
      .container { padding-inline: 23px; }
      .site-header { min-height: 86px; flex-wrap: wrap; gap: 12px; padding-block: 17px; }
      .brand-name { font-size: 22px; }
      .brand-mark { width: 40px; height: 40px; }
      .menu-toggle { display: block; }
      .nav { display: none; order: 3; width: 100%; padding: 12px 0 0; border-top: 1px solid var(--line); justify-content: space-between; }
      .nav.is-open { display: flex; }
      .nav button { font-size: 13px; }
      .hero { margin-top: 16px; gap: 26px; }
      .hero h1 { font-size: 31px; letter-spacing: -1.2px; }
      .hero-copy > p { font-size: 12px; margin-top: 13px; }
      .eyebrow { font-size: 11px; margin-bottom: 9px; }
      .hero-notes { flex-direction: column; gap: 6px; margin-top: 15px; font-size: 10px; }
      .hero-visual { border-radius: 26px 26px 65px 26px; }
      .hero-visual > svg { aspect-ratio: .98; }
      .visual-card { bottom: 16px; right: 15px; padding: 10px 11px; }
      .visual-card strong { font-size: 10px; }
      .visual-card span { font-size: 9px; }
      .visual-label { top: 12px; right: 12px; font-size: 9px; }
      .search-form { grid-template-columns: 1fr 1fr; gap: 17px; }
      .search-top { padding-inline: 20px; }
      .search-hint { font-size: 10px; }
      .category-strip { margin-bottom: 35px; }
      .property-grid { grid-template-columns: 1fr 1fr; }
      .property-title { font-size: 16px; }
      .journey { grid-template-columns: 1fr; gap: 22px; margin-top: 38px; }
      .journey > div > p { max-width: 450px; }
      .journey-steps { gap: 25px; }
      .footer { flex-wrap: wrap; gap: 13px; }
    }
    @media (max-width: 580px) {
      .container { padding-inline: 19px; }
      .notice { font-size: 10px; padding-block: 8px; }
      .site-header { min-height: 80px; }
      .favorites-button { padding: 8px; gap: 6px; }
      .favorites-button .label { display: none; }
      .hero { grid-template-columns: 1fr; gap: 25px; padding-bottom: 26px; }
      .hero h1 { font-size: 39px; line-height: 1.65; }
      .hero-copy > p { font-size: 13px; max-width: 360px; line-height: 2; }
      .hero-notes { flex-direction: row; gap: 17px; margin-top: 18px; font-size: 10px; }
      .hero-visual { border-radius: 24px 24px 60px 24px; }
      .hero-visual > svg { aspect-ratio: 1.55; }
      .visual-card { padding: 10px 13px; }
      .visual-card strong { font-size: 11px; }
      .visual-card span { font-size: 9px; }
      .search-top { display: block; padding: 16px 16px 0; }
      .search-hint { display: block; margin-top: 10px; font-size: 10px; }
      .deal-switch { width: 100%; }
      .deal-switch button { flex: 1; padding: 7px; font-size: 12px; }
      .search-form { padding: 17px; gap: 14px 10px; }
      .search-form .query-field, .search-form .primary-button { grid-column: 1 / -1; }
      .input-shell { padding-inline: 8px; }
      .input-shell input, .input-shell select { font-size: 12px; }
      .category-strip { gap: 7px; }
      .category-strip > span { width: 100%; margin-bottom: 3px; font-size: 11px; }
      .category-button { font-size: 10px; padding: 6px 11px; }
      .category-button .icon { width: 14px; height: 14px; }
      .section-header { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
      .section-header h2 { font-size: 23px; }
      .sort-field { width: 100%; justify-content: space-between; }
      .sort-field select { padding: 7px 10px; }
      .results-meta { align-items: flex-start; font-size: 11px; }
      #result-count { white-space: nowrap; padding-top: 3px; }
      .property-grid { grid-template-columns: 1fr; gap: 21px; }
      .property-body { padding: 19px; }
      .property-title { font-size: 17px; }
      .property-features { font-size: 12px; }
      .property-location { font-size: 12px; }
      .price-main { font-size: 19px; }
      .price-main small { font-size: 11px; }
      .price-sub { font-size: 11px; }
      .sample-note { font-size: 10px; line-height: 2; }
      .journey { padding: 23px; gap: 24px; }
      .journey h2 { font-size: 22px; }
      .journey-steps { grid-template-columns: 1fr; gap: 22px; }
      .journey-step { position: relative; padding-right: 44px; }
      .journey-step .step-no { position: absolute; top: 1px; right: 0; }
      .journey-step h3 { font-size: 13px; }
      .journey-step p { font-size: 12px; }
      .footer-brand { width: 100%; }
      .footer-links { width: 100%; justify-content: space-between; gap: 8px; font-size: 10px; }
      .dialog-header { padding: 18px; }
      .dialog-header h2 { font-size: 17px; }
      .dialog-body { padding: 18px; }
      .dialog-actions { flex-direction: column; align-items: stretch; }
      .release-table { font-size: 11px; }
      .empty-state { padding: 35px 17px; }
      .empty-state h3 { font-size: 18px; }
    }
    @media (max-width: 360px) {
      .container { padding-inline: 14px; }
      .hero h1 { font-size: 34px; }
      .hero-notes { gap: 9px; font-size: 9px; }
      .nav button { font-size: 11px; }
      .category-button { padding-inline: 8px; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .property-art { transition: none; } }
    @media print {
      .notice, .header-actions, .nav, .search-panel, .category-strip, .save-button, .toast, .sort-field, .clear-button { display: none !important; }
      body { background: white; }
      .container { max-width: none; padding: 0; }
      .property-grid { grid-template-columns: 1fr 1fr; }
      .property-card, .journey { break-inside: avoid; }
      .hero { padding-bottom: 20px; }
      .hero h1 { font-size: 28px; }
      .footer { margin-top: 20px; }
    }

    /* VERSION 0.3 — Dedicated property view, gallery, data states and print layout. */
    .detail-page { padding-top: 15px; }
    .detail-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 2px 0 25px; }
    .detail-breadcrumb button { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--green); font-size: 12px; padding: 7px 0; }
    .detail-breadcrumb > span { color: var(--muted); font-size: 11px; }
    .detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
    .detail-heading h1 { font-size: 30px; letter-spacing: -.8px; line-height: 1.9; }
    .detail-heading .property-location { margin-top: 6px; font-size: 12px; }
    .detail-heading .deal-tag { margin-top: 12px; font-size: 12px; padding: 7px 13px; }
    .detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .85fr); grid-template-areas: 'gallery summary' 'body summary'; gap: 24px 27px; align-items: start; }
    .detail-gallery { grid-area: gallery; min-width: 0; }
    .gallery-frame { position: relative; border-radius: 19px; overflow: hidden; background: #e7ecdd; }
    .gallery-main-button { padding: 0; border: 0; background: none; width: 100%; display: block; }
    .gallery-main-art { width: 100%; height: auto; aspect-ratio: 1.6; display: block; }
    .gallery-enlarge { position: absolute; bottom: 15px; left: 15px; pointer-events: none; display: flex; align-items: center; gap: 7px; background: #fffffff0; color: var(--ink); border-radius: 9px; padding: 8px 11px; font-size: 11px; }
    .gallery-enlarge .icon { width: 17px; height: 17px; }
    .gallery-main-button:hover .gallery-enlarge { background: white; }
    .gallery-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
    .gallery-thumb { position: relative; border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden; background: #e7ecdd; text-align: right; color: var(--ink); }
    .gallery-thumb[aria-pressed='true'] { border-color: var(--green); box-shadow: 0 0 0 2px #dce9cc; }
    .gallery-thumb-art { width: 100%; height: auto; aspect-ratio: 2.2; display: block; }
    .gallery-thumb span { display: block; padding: 5px 8px; background: #f0f3e9; font-size: 10px; }
    .gallery-caption { margin-top: 10px; font-size: 11px; color: var(--muted); }
    .gallery-caption strong { font-weight: normal; color: #506349; }
    .detail-side { grid-area: summary; position: sticky; top: 24px; }
    .price-panel { padding: 25px; background: white; border: 1px solid #dfe5d7; border-radius: 19px; box-shadow: var(--shadow); }
    .price-panel .panel-label { font-size: 12px; color: var(--muted); }
    .detail-price { font-size: 29px; line-height: 1.8; color: var(--ink); font-weight: bold; letter-spacing: -.6px; }
    .detail-price small { font-size: 12px; font-weight: normal; margin-right: 4px; letter-spacing: 0; }
    .detail-rent { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .detail-rent strong { font-size: 18px; color: var(--ink); }
    .detail-rent small { font-size: 10px; font-weight: normal; }
    .price-context { font-size: 11px; color: #7c795e; margin: 10px 0 20px; }
    .price-panel .primary-button, .price-panel .secondary-button { display: flex; width: 100%; }
    .price-panel .secondary-button { margin-top: 10px; }
    .detail-save[aria-pressed='true'] { background: #426c42; }
    .detail-save[aria-pressed='true'] .icon { fill: var(--leaf); stroke: var(--leaf); }
    .no-contact { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 17px; }
    .no-contact strong { color: #52634b; font-size: 12px; display: block; margin-bottom: 5px; }
    .no-contact p { color: var(--muted); font-size: 11px; line-height: 2; }
    .sample-code { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; margin-top: 16px; padding-inline: 3px; }
    .detail-body { grid-area: body; min-width: 0; display: grid; gap: 20px; }
    .detail-block { background: white; border: 1px solid var(--line); padding: 25px; border-radius: 17px; }
    .detail-block h2 { font-size: 19px; margin-bottom: 17px; }
    .detail-block > p { font-size: 13px; color: var(--muted); line-height: 2.15; }
    .facts-grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
    .fact { padding: 12px 0; border-bottom: 1px solid #edf0e6; }
    .fact dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
    .fact dd { color: var(--ink); font-size: 14px; margin: 0; }
    .fact dd.unknown { color: #89917e; font-size: 12px; }
    .facts-note { color: var(--muted); font-size: 11px; margin-top: 17px; }
    .amenity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
    .amenity-list li { padding: 8px 13px; border: 1px solid #dde7d2; border-radius: 9px; background: #f4f7ed; color: #46653b; font-size: 12px; }
    .location-empty { display: flex; gap: 15px; align-items: center; border: 1px dashed #d0d9c6; border-radius: 12px; background: #f2f4ec; padding: 22px; margin-top: 15px; }
    .location-empty > .icon { width: 30px; height: 30px; color: #829372; }
    .location-empty strong { font-size: 13px; color: #506344; font-weight: normal; }
    .location-empty p { font-size: 11px; color: var(--muted); margin-top: 5px; }
    .detail-related { margin-top: 42px; }
    .detail-related .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 810px; }
    .image-placeholder { width: 100%; aspect-ratio: 1.63; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; background: #e9eee1; color: #829173; }
    .image-placeholder > .icon { width: 35px; height: 35px; }
    .image-placeholder > span { font-size: 12px; }
    .gallery-missing { aspect-ratio: 1.6; border: 1px dashed #cad5be; border-radius: 18px; background: #edf1e6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 25px; }
    .gallery-missing .icon { width: 45px; height: 45px; color: #80916f; margin-bottom: 15px; }
    .gallery-missing h2 { font-size: 19px; }
    .gallery-missing p { font-size: 12px; color: var(--muted); margin-top: 8px; max-width: 390px; }
    #gallery-dialog { width: min(1000px, calc(100vw - 36px)); background: #f9faf4; }
    .gallery-dialog-body { padding: 19px; }
    .gallery-large-art { display: block; width: 100%; height: min(57vh, 540px); background: #e6ecdc; border-radius: 13px; }
    .gallery-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 15px; }
    .gallery-toolbar button { display: flex; gap: 7px; align-items: center; background: white; border: 1px solid #d6dfcc; border-radius: 9px; color: var(--ink); padding: 8px 12px; font-size: 12px; }
    .gallery-toolbar > span { font-size: 12px; color: var(--muted); }
    .gallery-dialog-note { color: var(--muted); font-size: 11px; text-align: center; margin-top: 13px; }
    .not-found { margin: 35px auto 70px; max-width: 650px; text-align: center; background: #edf1e6; border: 1px solid var(--line); border-radius: 20px; padding: 45px 25px; }
    .not-found > .icon { width: 47px; height: 47px; color: #7e906c; margin-bottom: 14px; }
    .not-found h1 { font-size: 25px; }
    .not-found p { font-size: 13px; color: var(--muted); margin: 12px 0 22px; }
    .print-stamp { display: none; }
    @media (max-width: 1050px) {
      .detail-layout { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .85fr); gap: 21px; }
      .price-panel { padding: 21px; }
      .detail-price { font-size: 24px; }
      .detail-block { padding: 21px; }
      .detail-heading h1 { font-size: 27px; }
      .facts-grid { gap: 0 12px; }
    }
    @media (max-width: 820px) {
      .detail-layout { grid-template-columns: 1fr; grid-template-areas: 'gallery' 'summary' 'body'; }
      .detail-side { position: static; }
      .price-panel { padding: 23px; }
      .detail-price { font-size: 29px; }
      .detail-heading h1 { font-size: 26px; }
      .gallery-main-art, .gallery-missing { aspect-ratio: 1.7; }
      .detail-related .property-grid { max-width: none; }
    }
    @media (max-width: 580px) {
      .detail-breadcrumb { margin-bottom: 15px; }
      .detail-breadcrumb button { font-size: 11px; }
      .detail-breadcrumb > span { font-size: 10px; }
      .detail-heading { gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
      .detail-heading h1 { font-size: 24px; }
      .detail-heading .deal-tag { margin-top: 0; font-size: 10px; padding: 4px 10px; }
      .detail-heading .property-location { font-size: 11px; }
      .gallery-main-art, .gallery-missing { aspect-ratio: 1.3; }
      .gallery-thumbnails { gap: 8px; margin-top: 9px; }
      .gallery-thumb-art { aspect-ratio: 1.45; }
      .gallery-thumb span { padding: 4px 5px; font-size: 9px; }
      .gallery-enlarge { bottom: 12px; left: 12px; font-size: 10px; padding: 7px 9px; }
      .gallery-caption { font-size: 10px; line-height: 2; }
      .facts-grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
      .detail-block { padding: 20px; }
      .detail-block h2 { font-size: 18px; margin-bottom: 12px; }
      .fact dd { font-size: 13px; }
      .detail-block > p { font-size: 12px; }
      .location-empty { padding: 17px; gap: 12px; }
      .location-empty p { font-size: 10px; }
      .detail-related { margin-top: 32px; }
      .detail-related .property-grid { grid-template-columns: 1fr; }
      .gallery-large-art { height: 45vh; }
      .gallery-dialog-body { padding: 13px; }
      .gallery-toolbar button { font-size: 11px; padding: 7px 9px; }
      .gallery-toolbar > span { font-size: 11px; }
    }
    @media print {
      body.property-open .site-header, body.property-open .detail-breadcrumb, .detail-related, .gallery-thumbnails, .gallery-enlarge, .detail-side button, .no-contact, .sample-code { display: none !important; }
      .detail-layout { display: block; }
      .detail-heading h1 { font-size: 24px; }
      .detail-side { position: static; margin: 15px 0; }
      .detail-body { display: block; }
      .detail-block, .price-panel { margin-bottom: 15px; break-inside: avoid; padding: 17px; box-shadow: none; }
      .gallery-main-art { height: 240px; aspect-ratio: auto; }
      .gallery-missing { height: 160px; aspect-ratio: auto; }
      .facts-grid { grid-template-columns: repeat(3, 1fr); }
      .print-stamp { display: block; font-size: 11px; color: #666; border-bottom: 1px solid #ccc; padding-bottom: 9px; margin-bottom: 15px; }
      #gallery-dialog, #info-dialog { display: none !important; }
    }

    /* VERSION 0.4 — Local listing draft wizard. */
    .create-button { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border: 0; border-radius: 10px; background: var(--ink); color: white; font-size: 12px; white-space: nowrap; }
    .create-button .icon { width: 17px; height: 17px; }
    .create-button:hover { background: var(--green); }
    .wizard-view { padding-top: 16px; padding-bottom: 14px; }
    .wizard-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
    .wizard-topline > button { border: 0; padding: 6px 0; background: none; color: var(--green); font-size: 12px; display: flex; gap: 7px; align-items: center; }
    .draft-status { font-size: 11px; padding: 5px 10px; background: #e9efdf; color: #61734f; border-radius: 20px; }
    .wizard-heading { margin-bottom: 27px; }
    .wizard-heading h1 { font-size: 31px; letter-spacing: -.7px; }
    .wizard-heading p { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 750px; line-height: 2; }
    .wizard-layout { display: grid; grid-template-columns: 242px minmax(0, 1fr); gap: 27px; align-items: start; }
    .wizard-sidebar { position: sticky; top: 24px; }
    .wizard-steps { list-style: none; margin: 0; padding: 14px; border: 1px solid var(--line); background: #edf2e5; border-radius: 18px; }
    .wizard-steps li + li { margin-top: 6px; }
    .wizard-step { display: flex; gap: 11px; align-items: center; border: 0; background: none; padding: 13px 11px; width: 100%; color: #65745b; text-align: right; border-radius: 11px; }
    .wizard-step[aria-current='step'] { background: white; color: var(--ink); box-shadow: 0 3px 15px #24422c06; }
    .wizard-step .step-number { width: 30px; height: 30px; border: 1px solid #c7d4ba; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
    .wizard-step[aria-current='step'] .step-number { background: var(--ink); border-color: var(--ink); color: var(--leaf); }
    .wizard-step strong { display: block; font-weight: normal; font-size: 13px; }
    .wizard-step small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
    .wizard-side-note { padding: 19px 14px; font-size: 11px; color: var(--muted); line-height: 2; }
    .wizard-side-note strong { color: var(--green); display: block; font-weight: normal; margin-bottom: 6px; }
    .wizard-card { padding: 29px; background: white; border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
    .wizard-card-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding-bottom: 23px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
    .wizard-card-heading h2 { font-size: 22px; }
    .wizard-card-heading p { color: var(--muted); font-size: 12px; margin-top: 6px; }
    .step-counter { color: var(--green); font-size: 11px; white-space: nowrap; padding: 6px 10px; background: #f0f4e8; border-radius: 8px; }
    .draft-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 19px; }
    .draft-field { min-width: 0; }
    .draft-field.wide, .draft-wide { grid-column: 1 / -1; }
    .draft-field label, .draft-field legend { font-size: 13px; color: var(--ink); display: block; margin-bottom: 8px; }
    .draft-field label .required { color: #9b6b40; margin-right: 3px; font-size: 12px; }
    .draft-field input:not([type='checkbox']), .draft-field select, .draft-field textarea { width: 100%; border: 1px solid #d9e1cf; border-radius: 10px; background: #fafbf7; color: var(--ink); padding: 11px 13px; font-size: 13px; min-height: 47px; }
    .draft-field textarea { min-height: 155px; resize: vertical; font: inherit; font-size: 13px; line-height: 2; }
    .draft-field input::placeholder, .draft-field textarea::placeholder { color: #9aa18e; }
    .draft-field [aria-invalid='true'] { border-color: #b9614c !important; background: #fffaf6 !important; }
    .field-hint { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.8; }
    .field-error { color: #9d4337; font-size: 11px; margin-top: 6px; }
    .wizard-errors { background: #fff4eb; border: 1px solid #e6c7b5; border-radius: 11px; padding: 14px 18px; margin-bottom: 22px; color: #934e38; font-size: 12px; }
    .wizard-errors strong { display: block; margin-bottom: 6px; }
    .wizard-errors ul { padding-right: 18px; margin: 4px 0; }
    .wizard-errors button { background: transparent; border: 0; color: #934e38; font-size: 12px; padding: 2px 0; text-align: right; }
    .amenity-options { margin: 0; padding: 0; border: 0; }
    .amenity-options legend { font-size: 13px; color: var(--ink); margin-bottom: 10px; }
    .amenity-options .options { display: flex; flex-wrap: wrap; gap: 10px; }
    .amenity-options label { display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: #f6f8f0; border: 1px solid #e0e7d7; border-radius: 9px; cursor: pointer; color: #52684a; font-size: 12px; }
    .amenity-options input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; }
    .draft-context { padding: 13px 17px; background: #f0f4e9; color: #657657; border-radius: 10px; font-size: 12px; line-height: 2; }
    .image-picker { border: 1px dashed #b9cba7; border-radius: 14px; background: #f5f8ef; padding: 25px 20px; text-align: center; margin-bottom: 17px; }
    .image-picker > .icon { color: #688455; width: 33px; height: 33px; margin-bottom: 9px; }
    .image-picker h3 { font-size: 15px; }
    .image-picker p { font-size: 11px; color: var(--muted); margin: 6px 0 13px; }
    .draft-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
    .draft-image { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fafbf6; min-width: 0; }
    .draft-image img { width: 100%; aspect-ratio: 1.6; object-fit: cover; display: block; }
    .draft-image figcaption { padding: 10px; }
    .draft-image-name { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin-bottom: 7px; }
    .draft-image-actions { display: flex; justify-content: space-between; gap: 5px; align-items: center; }
    .draft-image-actions button { font-size: 10px; background: white; border: 1px solid #d5dfc9; border-radius: 6px; color: var(--green); padding: 4px 7px; }
    .draft-image-actions .cover-label { font-size: 10px; color: var(--green); }
    .wizard-controls { display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 29px; padding-top: 21px; }
    .wizard-controls .next-step { margin-right: auto; }
    .wizard-tools { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 17px; padding: 17px 4px; }
    .wizard-tools > div { display: flex; gap: 15px; flex-wrap: wrap; }
    .wizard-tools button { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--green); font-size: 11px; padding: 3px 0; }
    .wizard-tools button .icon { width: 16px; height: 16px; }
    .wizard-tools p { font-size: 10px; color: var(--muted); }
    .draft-status-message { font-size: 12px; color: var(--green); padding: 10px 0 0; }
    .draft-status-message:empty { display: none; }
    .draft-status-message.error { color: #9d4337; }
    .wizard-view [disabled] { opacity: .55; cursor: wait; }
    .preview-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 16px; }
    .preview-heading h3 { font-size: 16px; }
    .preview-heading button { padding: 4px 0; border: 0; background: none; color: var(--green); font-size: 11px; }
    .draft-preview-photo { width: 100%; max-height: 390px; aspect-ratio: 1.7; object-fit: cover; border-radius: 13px; display: block; margin-bottom: 19px; }
    .draft-preview-empty { border-radius: 13px; background: #edf2e5; padding: 28px; display: grid; place-items: center; gap: 8px; color: #7b8e69; margin-bottom: 19px; font-size: 12px; }
    .draft-preview-empty .icon { width: 35px; height: 35px; }
    .draft-preview-title { font-size: 23px; line-height: 1.8; margin-bottom: 7px; overflow-wrap: anywhere; }
    .preview-section { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 23px; }
    .preview-price-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--muted); font-size: 13px; }
    .preview-price-row strong { color: var(--ink); font-size: 16px; text-align: left; }
    .preview-facts { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
    .preview-facts span { font-size: 12px; color: #527148; background: #f2f6e9; border-radius: 8px; padding: 7px 12px; }
    .preview-description { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); line-height: 2.1; }
    .preview-success { background: #edf4e3; border: 1px solid #d5e3c4; border-radius: 12px; padding: 17px; margin-top: 23px; }
    .preview-success strong { color: var(--green); font-size: 14px; display: block; margin-bottom: 5px; }
    .preview-success p { color: #67795c; font-size: 12px; }
    .replace-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    @media (max-width: 1100px) {
      .nav { gap: 15px; }
      .wizard-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 20px; }
      .wizard-card { padding: 24px; }
    }
    @media (max-width: 820px) {
      .wizard-layout { display: block; }
      .wizard-sidebar { position: static; margin-bottom: 20px; }
      .wizard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
      .wizard-steps li + li { margin-top: 0; }
      .wizard-step { flex-direction: column; text-align: center; gap: 7px; padding: 11px 4px; }
      .wizard-step strong { font-size: 11px; }
      .wizard-step small, .wizard-side-note { display: none; }
      .wizard-tools { padding-inline: 0; }
    }
    @media (max-width: 580px) {
      .header-actions { gap: 7px; }
      .create-button { padding: 9px 10px; font-size: 11px; }
      .create-button .icon { display: none; }
      .brand { gap: 7px; }
      .brand-name { font-size: 21px; }
      .wizard-topline { margin-bottom: 17px; gap: 10px; }
      .wizard-topline > button, .draft-status { font-size: 10px; }
      .wizard-heading h1 { font-size: 27px; }
      .wizard-heading p { font-size: 12px; }
      .wizard-card { padding: 21px 18px; }
      .wizard-card-heading { margin-bottom: 21px; padding-bottom: 18px; }
      .wizard-card-heading h2 { font-size: 20px; }
      .wizard-card-heading p { font-size: 11px; }
      .draft-fields { grid-template-columns: 1fr; gap: 20px; }
      .draft-field label { font-size: 12px; }
      .draft-field input:not([type='checkbox']), .draft-field select, .draft-field textarea { font-size: 13px; }
      .wizard-tools { display: block; }
      .wizard-tools > div { gap: 20px; }
      .wizard-tools p { margin-top: 11px; line-height: 1.9; }
      .wizard-controls { gap: 8px; }
      .wizard-controls button { padding-inline: 13px; font-size: 12px; }
      .preview-price-row { flex-direction: column; gap: 3px; }
      .preview-price-row strong { text-align: right; }
      .draft-preview-title { font-size: 21px; }
      .draft-images { gap: 10px; }
      .draft-image-actions { flex-wrap: wrap; }
      .draft-image-actions button, .draft-image-actions .cover-label { font-size: 9px; }
    }
    @media (max-width: 360px) {
      .site-header { gap: 8px; }
      .brand-mark { width: 32px; height: 35px; }
      .brand-name { font-size: 19px; }
      .create-button { padding: 8px; font-size: 10px; }
      .favorites-button { gap: 3px; padding: 8px 6px; }
      .favorites-button .icon { width: 18px; }
      .menu-toggle { padding: 8px; }
    }

    /* FINAL STATIC WORKSPACE */
    .workspace-entry { background: var(--leaf); color: var(--ink); }
    .workspace-entry:hover { background: #c2dc9b; }
    .work-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); border: 1px solid #dce3d4; border-radius: 22px; background: #f2f4ec; overflow: hidden; margin: 12px 0 24px; min-height: 670px; }
    .work-nav { background: var(--ink); color: #dae8d6; padding: 26px 16px; }
    .work-brand { font: bold 22px Arial, sans-serif; letter-spacing: 2px; color: var(--leaf); padding: 2px 13px; }
    .work-brand-note { font-size: 10px; color: #aac2ac; margin: 5px 13px 24px; }
    .work-nav button { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; border-radius: 9px; background: none; text-align: right; color: #c7d9c5; padding: 12px 11px; font-size: 12px; margin-bottom: 5px; }
    .work-nav button:hover { background: #315445; }
    .work-nav button[aria-current='page'] { background: var(--leaf); color: var(--ink); }
    .work-nav .icon { width: 18px; height: 18px; }
    .work-side-note { font-size: 10px; color: #aac2ac; line-height: 2; margin: 23px 11px 0; border-top: 1px solid #3d5c4d; padding-top: 17px; }
    .work-main { padding: 28px; min-width: 0; }
    .work-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
    .work-top h1 { font-size: 26px; line-height: 1.7; }
    .work-top p { color: var(--muted); font-size: 12px; margin-top: 5px; }
    .work-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 21px; }
    .work-toolbar button { font-size: 11px; min-height: 38px; padding: 7px 12px; }
    .work-pill { display: inline-block; font-size: 10px; color: #687959; background: #e7eedc; padding: 5px 10px; border-radius: 15px; white-space: nowrap; }
    .work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
    .work-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 21px; }
    .work-stat { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
    .work-stat strong { display: block; font-size: 25px; color: var(--ink); }
    .work-stat span { font-size: 11px; color: var(--muted); }
    .work-card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 21px; min-width: 0; }
    .work-card h2 { font-size: 18px; margin-bottom: 10px; }
    .work-card h3 { font-size: 15px; }
    .work-card > p { font-size: 12px; color: var(--muted); line-height: 2.1; }
    .work-card .secondary-button { margin-top: 15px; }
    .work-empty { text-align: center; padding: 35px 20px; border: 1px dashed #cbd8be; border-radius: 15px; color: #6e7e60; background: #edf2e5; }
    .work-empty .icon { width: 37px; height: 37px; }
    .work-empty h2 { font-size: 20px; margin: 9px 0; }
    .work-empty p { font-size: 12px; margin: 8px auto 17px; max-width: 530px; }
    .work-list { display: grid; gap: 13px; }
    .work-record { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; min-width: 0; }
    .work-record h2 { font-size: 15px; overflow-wrap: anywhere; }
    .work-record p { font-size: 11px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
    .work-record .work-record-body { min-width: 0; flex: 1; }
    .record-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-start; margin-top: 11px; }
    .record-actions button { background: #f6f8f0; border: 1px solid #dce5d0; color: #527045; border-radius: 7px; padding: 5px 9px; font-size: 10px; }
    .record-actions .danger { color: #9e4e3a; border-color: #ebd7ca; background: #fff8f2; }
    .record-thumb { width: 86px; height: 74px; border-radius: 10px; object-fit: cover; background: #e9efdf; flex-shrink: 0; }
    .record-thumb-empty { display: grid; place-items: center; color: #829574; }
    .work-search { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 19px; }
    .work-search input, .work-search select, .point-form input { min-width: 0; padding: 9px 11px; border: 1px solid #d6dfcb; border-radius: 8px; color: var(--ink); background: #fafcf6; font-size: 12px; }
    .work-search input { flex: 1; }
    .work-search button { min-height: 39px; font-size: 12px; padding: 8px 14px; }
    .work-notice { margin: 18px 0; padding: 13px 17px; background: #eaf0df; border-radius: 11px; color: #657651; font-size: 11px; line-height: 2; }
    .work-notice.warning { background: #fcf2e5; color: #856240; }
    .table-wrap { overflow-x: auto; }
    .work-table { width: 100%; border-collapse: collapse; font-size: 11px; }
    .work-table td, .work-table th { padding: 10px 8px; text-align: right; border-bottom: 1px solid #e6ecdc; vertical-align: top; }
    .work-table th { color: var(--ink); font-weight: normal; background: #f0f4e8; }
    .work-table td { color: #68775c; }
    .work-table button { font-size: 10px; border: 0; background: #edf3e4; color: var(--green); border-radius: 5px; padding: 4px 8px; }
    .work-form { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 15px; }
    .work-form .wide { grid-column: 1 / -1; }
    .work-form label { display: block; font-size: 12px; color: var(--ink); margin-bottom: 6px; }
    .work-form input, .work-form select, .work-form textarea { width: 100%; border: 1px solid #d7e1cb; border-radius: 9px; background: #fafcf7; padding: 10px 12px; font-size: 13px; color: var(--ink); }
    .work-form textarea { min-height: 100px; resize: vertical; }
    .work-form .error-message { color: #9a4d38; font-size: 12px; }
    .work-form .error-message:empty { display: none; }
    .work-form .form-note { font-size: 11px; color: var(--muted); }
    .sketch-board { border: 1px solid #cad8bb; border-radius: 13px; background: #f8fbf3; overflow: hidden; }
    #local-sketch { display: block; width: 100%; height: auto; aspect-ratio: 800/460; cursor: crosshair; touch-action: manipulation; }
    .sketch-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 15px 0; }
    .sketch-metrics div { border: 1px solid var(--line); border-radius: 9px; background: white; padding: 11px; }
    .sketch-metrics strong { color: var(--ink); display: block; font-size: 17px; }
    .sketch-metrics span { font-size: 10px; color: var(--muted); }
    .point-form { display: flex; gap: 10px; align-items: end; margin: 16px 0; flex-wrap: wrap; }
    .point-form label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 4px; }
    .point-form > div { flex: 1; min-width: 80px; }
    .point-form input { width: 100%; }
    .point-form button { padding: 9px 13px; min-height: 39px; font-size: 12px; }
    .geometry-flags { font-size: 11px; color: #936044; line-height: 2; }
    .geometry-flags ul { padding-right: 17px; margin: 10px 0; }
    .local-mode { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--green); }
    .local-mode input { accent-color: var(--green); }
    .compare-toggle { background: none; border: 0; padding: 6px 0; color: #758469; font-size: 10px; margin-top: 7px; }
    .compare-toggle[aria-pressed='true'] { color: var(--green); font-weight: bold; }
    #compare-dialog { width: min(900px, calc(100vw - 32px)); }
    .compare-table { min-width: 480px; }
    .compare-table th, .compare-table td { min-width: 120px; }
    .compare-table .property-art { width: 140px; margin-bottom: 9px; border-radius: 9px; }
    .backup-bar { padding: 16px; border: 1px solid #d5e1c8; background: #e9f0df; border-radius: 13px; font-size: 11px; color: #5d704e; margin-top: 22px; display: flex; align-items: center; gap: 13px; justify-content: space-between; flex-wrap: wrap; }
    .backup-bar button { font-size: 11px; min-height: 36px; padding: 7px 11px; }
    .point-table { max-height: 270px; overflow: auto; }
    @media (max-width: 1100px) {
      .work-shell { grid-template-columns: 190px minmax(0, 1fr); }
      .work-main { padding: 22px; }
      .work-nav { padding-inline: 10px; }
      .work-stats { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 820px) {
      .work-shell { display: block; }
      .work-nav { padding: 17px 14px; }
      .work-brand { font-size: 19px; }
      .work-brand-note { margin-bottom: 15px; }
      .work-nav-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
      .work-nav button { padding: 9px 7px; font-size: 10px; margin: 0; gap: 5px; }
      .work-nav .icon { width: 14px; height: 14px; }
      .work-side-note { display: none; }
      .work-main { padding: 23px; }
      .work-top h1 { font-size: 25px; }
    }
    @media (max-width: 580px) {
      .work-main { padding: 20px 16px; }
      .work-grid { grid-template-columns: 1fr; }
      .work-top { flex-wrap: wrap; gap: 10px; }
      .work-top h1 { font-size: 23px; }
      .work-record { padding: 15px; gap: 10px; }
      .record-thumb { width: 65px; height: 65px; }
      .work-search { gap: 8px; padding: 12px; }
      .work-search input { flex-basis: 100%; }
      .work-search select { flex: 1; }
      .work-form { grid-template-columns: 1fr; }
      .sketch-metrics { gap: 7px; }
      .sketch-metrics strong { font-size: 14px; }
      .sketch-metrics span { font-size: 9px; }
      .sketch-metrics div { padding: 9px; }
      .point-form button { width: 100%; }
      .header-actions { gap: 5px; }
      .create-button { padding: 8px; font-size: 10px; }
      .work-nav-list { grid-template-columns: 1fr 1fr; }
      .record-actions button { font-size: 9px; padding: 5px 7px; }
    }
    @media print {
      .work-nav, .work-toolbar, .backup-bar, .record-actions, .work-search, .point-form, .work-top > .work-pill { display: none !important; }
      .work-shell { display: block; border: 0; background: white; }
      .work-main { padding: 0; }
      .work-record, .work-card { break-inside: avoid; }
      .work-grid { display: block; }
      .work-card { margin-bottom: 13px; }
      .point-table { max-height: none; overflow: visible; }
      #workspace-dialog, #workspace-confirm, #compare-dialog { display: none !important; }
      body.project-report .work-list, body.project-report .site-header, body.project-report .work-top { display: none !important; }
    }
.mapexa-map-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#194d3f;color:#fff;font-size:12px}.mapexa-map-link a{color:#fff;text-decoration:underline;font-weight:bold}.mapexa-map-link span{font-size:11px;color:#e4edda}@media(max-width:600px){.mapexa-map-link{align-items:flex-start;flex-direction:column;padding:12px 16px}}

