
    :root { --ink:#203d3b; --muted:#627470; --paper:#f7f7f0; --teal:#185f58; --line:#dce3db; --gold:#eed5a0; }
    * { box-sizing:border-box; }
    [hidden] { display:none !important; }
    body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.5 Segoe UI,system-ui,sans-serif; }
    button,input,select,textarea { font:inherit; }
    button,a,input,select,textarea { touch-action:manipulation; }
    button { cursor:pointer; }
    :focus-visible { outline:3px solid #ba771c; outline-offset:4px; }
    .demo { background:#e9efe5; text-align:center; padding:10px 20px; font-size:15px; line-height:1.5; }
    .wrap { max-width:1180px; margin:auto; padding:0 32px; }
    header { padding:26px 0; }
    h1 { font-family:Georgia,serif; font-weight:400; font-size:clamp(28px,3.5vw,42px); letter-spacing:-.6px; line-height:1.2; margin:0 0 10px; }
    .intro { color:var(--muted); line-height:1.6; font-size:16px; margin:0; }
    .search { background:white; padding:22px; border:1px solid var(--line); border-radius:16px; box-shadow:0 8px 30px #203d3b08; }
    .search-row { display:grid; grid-template-columns:1.2fr 1fr 1fr .7fr 1fr; align-items:end; gap:14px; }
    .budget-row { display:grid; grid-template-columns:minmax(180px,260px) 1fr; gap:18px; align-items:center; margin-top:18px; }
    .budget-help { font-size:15px; color:var(--muted); line-height:1.6; margin:0; }
    .dataset-row { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin:0 0 18px; }
    .dataset-row label { max-width:420px; }
    .dataset-row input { background:white; }
    .dataset-note { margin:0 0 16px; color:var(--muted); font-size:15px; }
    .evidence-note { font-size:14px; line-height:1.6; }
    label.field { display:grid; gap:8px; font-size:15px; font-weight:600; color:var(--ink); }
    input,select { min-width:0; width:100%; padding:12px 10px; border:1px solid var(--line); border-radius:8px; background:#fcfcf9; color:var(--ink); }
    .primary { border:0; background:var(--teal); color:white; padding:14px 20px; border-radius:8px; font-weight:600; }
    .preferences { display:flex; gap:14px; flex-wrap:wrap; margin-top:18px; font-size:16px; align-items:center; }
    .preferences label { display:flex; gap:10px; align-items:center; min-height:44px; padding:4px; }
    input[type=checkbox] { width:22px; height:22px; margin:0; accent-color:var(--teal); }
    .hint { font-size:15px; color:var(--muted); }
    .sources { margin:18px 0; border-bottom:1px solid var(--line); padding-bottom:10px; }
    .sources ul { margin:8px 0; padding-left:22px; }
    .sources li { margin:8px 0; }
    .status { color:var(--teal); font-size:15px; line-height:1.6; margin:0 0 15px; }
    .error { color:#943a28; }
    .results-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; margin:22px 0; }
    .result-controls { display:flex; flex-wrap:wrap; gap:14px; align-items:end; }
    .sort-field { min-width:180px; }
    #sort-note { font-size:15px; color:var(--muted); line-height:1.6; margin:0 0 18px; }
    .save-scope { font-size:15px; margin:0 0 12px; color:var(--ink); }
    h2 { font-family:Georgia,serif; font-weight:400; font-size:29px; margin:0 0 6px; }
    .sub { font-size:15px; color:var(--muted); margin:0; }
    .tabs { display:flex; flex-wrap:wrap; gap:5px; border:1px solid var(--line); padding:5px; border-radius:10px; background:#edf0e9; }
    .tab { border:0; background:transparent; padding:10px 12px; min-height:44px; font-size:16px; color:var(--muted); border-radius:6px; }
    .tab[aria-pressed=true] { background:white; color:var(--ink); box-shadow:0 2px 5px #00000008; }
    .grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:start; }
    .card { background:white; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
    .visual { height:142px; position:relative; background:var(--scene); overflow:hidden; }
    .visual svg { width:100%; height:100%; }
    .visual::after { content:"Illustration"; position:absolute; bottom:9px; right:12px; color:#163e38; font-size:10px; background:#ffffffbb; padding:3px 6px; border-radius:4px; }
    .badge { position:absolute; top:12px; left:12px; background:#fff; border-radius:5px; padding:6px 8px; font-size:11px; font-weight:600; }
    .body { padding:20px; }
    .provider { color:var(--teal); font-size:11px; text-transform:uppercase; letter-spacing:1px; font-weight:700; }
    h3 { font-family:Georgia,serif; font-weight:400; font-size:23px; line-height:1.2; margin:10px 0 6px; }
    .description { font-size:15px; color:var(--muted); margin:0 0 16px; }
    .features { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:13px; }
    .feature { font-size:14px; border-radius:5px; background:#eff4ec; padding:6px 8px; }
    .feature.partial { background:#f7eedc; }
    .location { font-size:16px; line-height:1.5; margin:12px 0; }
    .caution { font-size:15px; line-height:1.6; color:var(--ink); margin:12px 0; }
    .price { border-top:1px solid var(--line); padding-top:15px; margin-top:15px; }
    .amount { font-size:25px; font-weight:600; letter-spacing:-.6px; }
    .price small { font-size:15px; color:var(--muted); }
    .price-note { font-size:15px; line-height:1.6; color:var(--muted); margin:6px 0 15px; }
    .actions { display:flex; flex-wrap:wrap; gap:8px; }
    .listing { flex:1; min-width:150px; display:grid; place-items:center; text-decoration:none; text-align:center; color:var(--teal); background:#edf4f0; border:1px solid #d1e2d9; padding:10px; min-height:44px; border-radius:7px; font-size:16px; font-weight:600; }
    .listing[aria-disabled=true] { color:var(--muted); background:#f2f2ed; }
    .save { border:1px solid var(--line); border-radius:7px; padding:10px 12px; min-height:44px; background:white; color:var(--ink); font-size:16px; }
    .save[aria-pressed=true] { background:var(--gold); border-color:var(--gold); }
    .secondary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin-top:15px; }
    .text-button { background:none; border:0; color:var(--muted); font-size:16px; min-height:44px; padding:10px 4px; text-decoration:underline; text-underline-offset:3px; }
    details { margin-top:12px; font-size:16px; color:var(--muted); }
    summary { cursor:pointer; min-height:44px; padding:10px 0; color:var(--ink); }
    textarea { width:100%; min-height:100px; resize:vertical; padding:10px; margin:8px 0; border:1px solid var(--line); border-radius:7px; color:var(--ink); background:#fcfcf9; }
    .note-state,.link-context { font-size:14px; line-height:1.6; margin:8px 0; color:var(--muted); }
    .empty { grid-column:1/-1; padding:35px; border:1px dashed var(--line); border-radius:12px; text-align:center; color:var(--muted); }
    .empty p { line-height:1.6; }
    .empty .primary { margin-top:10px; }
    .travel { font-size:15px; font-weight:600; color:var(--teal); line-height:1.5; margin:12px 0 0; }
    .budget-fit { color:#876222; font-size:15px; line-height:1.5; margin:0 0 12px; }
    #area-note { margin:0 0 16px; font-size:15px; color:var(--muted); line-height:1.6; }
    .next { display:flex; justify-content:space-between; gap:25px; align-items:center; margin:35px 0; background:#e8eee4; border-radius:12px; padding:24px; }
    .next h3 { font-size:22px; margin:0 0 8px; }
    .next p { font-size:15px; color:var(--muted); line-height:1.6; margin:0; max-width:660px; }
    .future { border:1px solid #bdcbbd; border-radius:20px; padding:8px 12px; font-size:14px; white-space:nowrap; }
    footer { padding:0 0 30px; font-size:14px; color:var(--muted); line-height:1.7; }
    html[data-mode=published] .search-row { grid-template-columns:minmax(160px,260px) auto; justify-content:start; }
    html[data-mode=published] #status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    html[data-mode=published] .sources { margin-top:30px; }
    html[data-mode=published] .features { margin-top:10px; }
    html[data-mode=published] .caution { background:#faf4e7; border-radius:6px; padding:10px; }
    html[data-mode=published] .price { margin:12px 0; }
    html[data-mode=published] .amount { font-size:23px; }
    html[data-mode=published] .listing-details p { overflow-wrap:anywhere; }
    @media(max-width:960px) { .grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .search-row { grid-template-columns:repeat(2,minmax(0,1fr)); } .search-row .primary { grid-column:1/-1; } }
    @media(max-width:600px) {
      .wrap { padding:0 18px; } header { padding:20px 0; }
      .search { padding:16px; } .preferences { gap:14px; } .grid { grid-template-columns:1fr; }
      .budget-row { grid-template-columns:1fr; gap:10px; }
      .results-head { align-items:start; flex-direction:column; gap:15px; } .next { flex-direction:column; align-items:start; }
    }
