/* "Geocode a spreadsheet" (spreadsheet.html). Tokens, header and the small shared pieces come from app.css. */
.sheet-body{min-height:100svh}
.sheet-body [hidden]{display:none!important}
.sheet-page{max-width:1180px;margin:0 auto;padding:28px 24px 64px;display:grid;gap:16px}
.sheet-intro h1{font-size:24px;letter-spacing:-.7px;margin:0 0 6px}
.sheet-intro p{max-width:74ch;color:#59625a;font-size:14px;line-height:1.55}
.sheet-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:20px 22px;min-width:0}
.sheet-card h2{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:620;letter-spacing:-.2px;margin:0 0 16px}
.sheet-card h3{font-size:13.5px;font-weight:600;margin:10px 0 0}.sheet-card h3 span{font-weight:400;color:var(--muted)}
.sheet-card h2:focus{outline:none}
.step-number{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font:600 12px/1 var(--mono)}
.sheet-card fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:14px}
.sheet-card fieldset:disabled{opacity:.62}
.sheet-card code{font:12px var(--mono);background:#f2f4ee;padding:1px 4px;border-radius:3px}
.sheet-card em{font-style:normal;color:var(--muted);font-weight:400}

/* the start: two cards and the sample files */
.start-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.start-card{display:grid;justify-items:center;align-content:start;gap:6px;padding:30px 22px;border:1.5px solid var(--line-dark);border-radius:10px;background:var(--surface);text-align:center;min-width:0}
.start-card>svg{width:30px;height:30px;color:var(--accent);margin-bottom:6px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.start-card strong{font-size:16px;font-weight:620;letter-spacing:-.2px}.start-card>span{color:#59625a;font-size:13px}.start-card .start-formats{color:var(--muted);font-size:12px}
.dropzone{border-style:dashed;cursor:pointer;transition:background .15s,border-color .15s;align-content:center;min-height:230px}
.dropzone:hover,.dropzone.over,.dropzone:focus-within{border-color:var(--accent);background:var(--accent-soft)}
.dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.paste-card textarea{display:block;width:100%;margin:6px 0 4px;padding:10px;border:1px solid var(--line-dark);border-radius:6px;font:12.5px/1.5 var(--mono);background:#fff;color:var(--ink);resize:vertical;text-align:left}
.paste-card textarea:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3156d712}
.samples{margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.samples-files{font-size:12px;color:var(--muted)}

/* the steps: a stepper, the step's card and the estimate beside it */
.sheet-flow{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px 20px;align-items:start;scroll-margin-top:12px}
.stepper{grid-column:1/-1;list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0}
.stepper li{display:flex;align-items:center;flex:0 1 auto;min-width:0}
.stepper li+li:before{content:"";width:clamp(18px,6vw,72px);height:2px;background:var(--line-dark);margin:0 10px;flex:none}
.step-dot{display:inline-flex;align-items:center;gap:8px;padding:6px 4px;font-size:13.5px;font-weight:560;color:#59625a;border-radius:6px;white-space:nowrap}
.step-dot:disabled{cursor:default;color:#a3aa9d}
.step-dot .step-number{background:#e8ece4;color:#59625a}
.step-dot.current{color:var(--ink)}.step-dot.current .step-number{background:var(--accent);color:#fff}
.step-dot.done .step-number{background:var(--accent-soft);color:var(--accent)}
.step-dot:not(:disabled):not(.current):hover{color:var(--accent)}
.flow-main{display:grid;gap:16px;min-width:0}
.step-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}
.step-actions-end{display:flex;flex-wrap:wrap;gap:10px;margin-left:auto}
.step-actions .sheet-button.primary,.run-actions .sheet-button.primary{min-height:40px;padding:8px 20px;font-size:14px}

/* step 1 */
.mode-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mode-card{position:relative;display:grid;justify-items:center;gap:4px;padding:18px 14px 16px;border:1.5px solid var(--line-dark);border-radius:10px;background:#fff;text-align:center;cursor:pointer}
.mode-card strong{font-size:14.5px;font-weight:620}.mode-card>span:last-child{font-size:12.5px;color:var(--muted)}
/* app.css sizes every text-like input as a full-width box; a radio is not one */
.mode-card input[type=radio]:not([type=range]){position:absolute;top:10px;left:10px;display:inline-block;appearance:auto;accent-color:var(--accent);width:15px;height:15px;margin:0;padding:0;border:0}
.mode-card:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.mode-card:has(input:focus-visible){box-shadow:0 0 0 3px #3156d733}
.mode-art svg{width:96px;height:36px;fill:none;stroke:#8a938a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mode-card:has(input:checked) .mode-art svg{stroke:var(--accent)}
.map-grid{display:grid;gap:8px}
.map-head,.map-row{display:grid;grid-template-columns:minmax(0,5fr) 22px minmax(0,7fr);gap:10px;align-items:center}
.map-head{font-size:11.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.4px}
.map-row label{font-size:13.5px;font-weight:560;line-height:1.35}.map-row label em{display:block;font-size:12px;font-weight:400}
.map-arrow{color:var(--muted);text-align:center}
.map-row select{width:100%;min-width:0;min-height:38px;padding:6px 9px;border:1px solid var(--line-dark);border-radius:6px;background:#fff;color:var(--ink);font-size:13px}
.map-row select:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3156d712}
.map-row select.unset{color:var(--muted)}
.more-line{margin-top:0}
.address-cards{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.address-card{display:grid;align-content:start;gap:1px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fbfbf8;font-size:13px;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.address-card .card-row{font:11px/1.6 var(--mono);color:var(--muted)}.address-card strong{font-weight:600}
#looks{margin-top:18px}
.sent-details{margin-top:14px}.sent-details summary{cursor:pointer;color:#525b52;font-size:12.5px;width:max-content;max-width:100%}.sent-details summary span{color:var(--muted)}
.sent-details .table-scroll{margin-top:10px}

/* step 2 */
.sheet-note.first{margin-top:0}
.pill-list{display:flex;flex-wrap:wrap;gap:8px}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:6px 8px 6px 10px;border:1px solid var(--line-dark);border-radius:20px;background:#fff;font-size:13px;font-weight:520;text-align:left}
.pill:hover{border-color:var(--accent)}
.pill[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.pill-flags{display:inline-flex;gap:3px}
.flag{font:600 9.5px/1 var(--mono);font-style:normal;padding:3px 4px;border-radius:3px;background:#eef0ea;color:#525b52;letter-spacing:.3px}
.flag-us{background:#e7ecfb;color:#2c45a8}.flag-ca{background:#fbe9e7;color:#a03325}.flag-mx{background:#e4f2e8;color:#2c6b40}
.pill-cost{font:11px/1 var(--mono);color:var(--muted)}
.pill-sign{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eef0ea;color:#525b52;font-size:14px;line-height:1}
.pill[aria-pressed=true] .pill-sign{background:var(--accent);color:#fff}
#append-columns{line-height:1.7}#append-columns strong{color:var(--ink);font-weight:600}#append-columns code{overflow-wrap:anywhere}
.match-options{margin-top:6px;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:10px}.match-options h3{margin:0}
#route-driving-body,.route-soft{display:grid;gap:10px}
.distance-sheet{display:grid;gap:8px;margin-left:24px}
.distance-sheet-modes{display:flex;flex-wrap:wrap;gap:6px 18px}
.distance-sheet-modes .check-row input[type=radio]{display:inline-block;width:15px;height:15px;padding:0;margin:2px 0 0;border:0;box-shadow:none}

/* step 3 */
.run-summary{margin:0 0 18px;border:1px solid var(--line);border-radius:8px;background:#fbfbf8}
.run-summary div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:9px 14px;border-bottom:1px solid var(--line)}
.run-summary div:last-child{border-bottom:0}
.run-summary dt{font-size:12.5px;color:#525b52;font-weight:520}.run-summary dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.run-summary div:nth-last-child(-n+3) dd{font-weight:600}

/* the estimate */
.estimate-card{position:sticky;top:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:0}
.estimate-bar{display:none}
.estimate-body{padding:18px 18px 16px}
.estimate-body h2{font-size:15px;font-weight:620;margin:0 0 12px}
.estimate-card .estimate-figures{display:grid;gap:12px}
.estimate-card .estimate-figures div{display:grid;gap:1px}
.estimate-card .estimate-figures span{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.estimate-card .estimate-figures strong{font:600 26px/1.2 var(--mono);letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.estimate-card .estimate-figures strong.words{font:600 16px/1.35 var(--sans);letter-spacing:-.2px}
.estimate-lines{list-style:none;margin:14px 0 0;padding:10px 0 0;border-top:1px solid var(--line);display:grid;gap:5px;font-size:12.5px}
.estimate-lines li{display:flex;justify-content:space-between;gap:12px}.estimate-lines span{color:#59625a}.estimate-lines b{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.estimate-breakdown,.estimate-free,.estimate-text{margin:10px 0 0;font-size:12px;line-height:1.55;color:#59625a}
.estimate-breakdown:empty{display:none}
.estimate-cost{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:12.5px;color:#59625a}
.estimate-cost strong{font-size:18px;font-weight:650;color:var(--ink);letter-spacing:-.3px}
.estimate-text{color:var(--muted)}

/* the free preview */
.sample-overlay{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:20px;background:#1c221d73;overflow:auto}
.sample-panel{width:min(760px,100%);max-height:calc(100svh - 40px);overflow:auto;background:var(--surface);border-radius:12px;padding:24px 26px 22px;box-shadow:0 18px 50px #0000002e}
.sample-panel h2{font-size:20px;letter-spacing:-.4px;margin:0 0 4px}.sample-panel h2:focus{outline:none}
.sample-panel>p:first-of-type{color:#59625a;font-size:14px}
.sample-body{display:grid;gap:12px;margin-top:14px}
.sample-map{height:240px;border:1px solid var(--line);border-radius:6px;background:#eef0ea;z-index:0}
.sample-list-rows{list-style:none;margin:0;padding:0;display:grid;gap:0;border:1px solid var(--line);border-radius:6px}
.sample-list-rows li{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;align-items:start;padding:9px 12px;border-bottom:1px solid var(--line)}
.sample-list-rows li:last-child{border-bottom:0}
.sample-list-rows div{display:grid;gap:1px;min-width:0;font-size:13px;overflow-wrap:anywhere}
.sample-in{color:#59625a;font-size:12.5px}.sample-meta{color:var(--muted);font:11.5px/1.5 var(--mono)}
.sample-list-rows .status-pill{justify-self:start;margin-top:1px}
body.sample-open{overflow:hidden}
.osm-note{margin-top:6px;font-size:12px}

.file-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 18px}
.file-summary>div{min-width:0;display:grid;gap:2px;flex:1 1 220px}.separator-field{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#525b52}.separator-field select{min-height:36px;padding:6px 9px;border:1px solid var(--line-dark);border-radius:6px;background:#fff;color:var(--ink);font-size:13px}.file-summary strong{font-size:14px;overflow-wrap:anywhere}.file-summary span{color:var(--muted)}

.sheet-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 14px;border:1px solid var(--line-dark);border-radius:6px;background:#fff;color:var(--ink);font-size:13px;font-weight:520;white-space:nowrap}
.sheet-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.sheet-button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.sheet-button.primary:hover:not(:disabled){background:#2748bd;border-color:#2748bd;color:#fff}
.sheet-button:disabled{opacity:.5;cursor:not-allowed}
.link-button{padding:0;color:var(--accent);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.sheet-note{color:var(--muted);font-size:12.5px;line-height:1.55;margin-top:12px}
.sheet-message{margin-top:12px;padding:9px 12px;border-radius:6px;font-size:13px;line-height:1.5;background:#f2f4ee;color:#4b554c}
.sheet-message.error{background:#fbefe9;color:#9a4424}.sheet-message.notice{background:#faf7ef;color:#80672f}.sheet-message.ok{background:#edf6ef;color:#2f6b42}

.check-row{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45;cursor:pointer}
.check-row input{appearance:auto;width:15px;height:15px;margin:2px 0 0;accent-color:var(--accent);flex-shrink:0}
.column-field{display:grid;gap:5px;min-width:0;font-size:12.5px;color:#525b52;font-weight:520}
.column-field>span{line-height:1.4}
.column-field select,.column-field input{width:100%;min-height:36px;padding:6px 9px;border:1px solid var(--line-dark);border-radius:6px;background:#fff;color:var(--ink);font-size:13px;font-weight:400}
.key-row{display:flex;align-items:flex-end;gap:14px;margin-bottom:12px}.key-row .column-field{flex:1;max-width:520px}.key-row .check-row{padding-bottom:9px}
#api-key{font-family:var(--mono)}

.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:6px;max-width:100%}
.results-scroll{max-height:440px}
.sheet-table{border-collapse:collapse;width:100%;font-size:12.5px}
.sheet-table th,.sheet-table td{padding:6px 10px;text-align:left;white-space:nowrap;max-width:320px;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid var(--line)}
.sheet-table th{position:sticky;top:0;background:#f7f8f4;font-weight:600;font-size:11.5px;color:#525b52;z-index:1}
.sheet-table th.own{color:var(--accent)}.sheet-table th.original{font-family:var(--mono);font-weight:500}
.sheet-table tr:last-child td{border-bottom:0}
.sheet-table td.num{font-family:var(--mono);font-variant-numeric:tabular-nums;color:#59625a}
.sheet-table td.empty{color:#b3b9ad}
.sheet-table tbody tr.locatable{cursor:pointer}.sheet-table tbody tr.locatable:hover{background:#f6f8ff}
.status-pill{display:inline-block;padding:1px 7px;border-radius:10px;font:11px/1.6 var(--mono);background:#eef0ea;color:#59625a}
.status-pill.matched{background:#e6f3ea;color:#2f6b42}.status-pill.estimate{background:#faf1dc;color:#80672f}.status-pill.not_found{background:#fbefe9;color:#9a4424}.status-pill.invalid,.status-pill.error{background:#f8e6e2;color:#933a2a}

.summary{display:flex;flex-wrap:wrap;gap:8px 28px}
.summary div{display:grid;gap:1px}
.summary strong{font:600 20px/1.2 var(--mono);letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.summary span{font-size:11.5px;color:var(--muted)}
.summary{padding:14px 16px;border-radius:8px;background:#f7f8f4;border:1px solid var(--line)}
.summary [data-kind=matched] strong{color:#2f6b42}.summary [data-kind=not-found] strong,.summary [data-kind=errors] strong,.summary [data-kind=invalid] strong{color:#9a4424}
.summary div.zero strong{color:#a3aa9d}
.summary [data-kind=manual] strong{color:#6d35d0}
.status-pill.manual{background:#efe8fb;color:#5b2ab0}

/* Correct rows (geocode correction): one card per row; the open row's editor under it. No coloured side bars. */
.fix-panel{margin-top:18px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#fbfbf8}
.fix-panel h3{margin:0;font-size:15px}.fix-count{font-weight:500;color:var(--muted);font-size:13px}
.fix-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
.fix-row{padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;min-width:0}
.fix-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px}
.fix-was{font-size:11.5px;color:var(--muted)}
.fix-line{margin:6px 0 0;font-size:13px;overflow-wrap:anywhere}.fix-label{color:var(--muted);font-size:11.5px;margin-right:4px}
.fix-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fix-editor{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);display:grid;gap:8px}
.fix-editor .sheet-note{margin:0}
.fix-editor input{width:100%;box-sizing:border-box}
.fix-coords{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.run-actions,.download-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
.download-row .sheet-note{margin-top:0}
.progress{margin-top:16px}
.progress-track{height:8px;border-radius:4px;background:#e8ece4;overflow:hidden}
.progress-track span{display:block;height:100%;width:0;background:var(--accent);border-radius:4px;transition:width .2s ease-out}
.progress-line{margin-top:8px;font:12.5px/1.5 var(--mono);color:#525b52;font-variant-numeric:tabular-nums}
.results-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:18px 0 10px}.results-tools .sheet-note{margin-top:0}
.results-tools .surface-tab{font-size:12px;padding:4px 10px}
.sheet-map{height:420px;margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#eef0ea;z-index:0}
.sheet-popup{font:12.5px/1.5 var(--sans)}.sheet-popup strong{display:block}.sheet-popup span{color:var(--muted);font-size:11.5px}

@media(max-width:900px){
  /* the estimate becomes a bar at the bottom of the window; a tap opens the whole card above it */
  .sheet-flow{grid-template-columns:minmax(0,1fr)}
  .sheet-page{padding-bottom:96px}
  .estimate-card{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:1200;border-radius:12px 12px 0 0;border-width:1px 0 0;box-shadow:0 -6px 24px #0000001a;max-height:80svh;display:flex;flex-direction:column-reverse}
  .estimate-bar{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 16px;text-align:left;font-size:12px;color:#59625a}
  .estimate-bar strong{flex:1;min-width:0;font-size:13.5px;font-weight:620;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .estimate-bar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none;transition:transform .15s}
  .estimate-card.open .estimate-bar svg{transform:rotate(180deg)}
  .estimate-body{display:none;overflow:auto;border-bottom:1px solid var(--line)}
  .estimate-card.open .estimate-body{display:block}
  .estimate-body h2{display:none}
}
@media(max-width:620px){
  .sheet-page{padding:18px 16px 96px;gap:12px}.sheet-intro h1{font-size:20px}.sheet-intro p{font-size:13.5px}
  .sheet-card{padding:16px 14px}.file-summary{padding:12px 14px}
  .start-cards,.sample-list,.mode-cards{grid-template-columns:minmax(0,1fr)}
  .start-card{padding:22px 16px}.dropzone{min-height:0}
  .step-dot{font-size:12.5px;gap:6px}.stepper li+li:before{margin:0 6px;width:clamp(10px,4vw,28px)}
  .map-head{display:none}
  .map-row{grid-template-columns:minmax(0,1fr);gap:4px}.map-arrow{display:none}
  .address-cards{grid-template-columns:minmax(0,1fr)}
  .run-summary div{grid-template-columns:minmax(0,1fr);gap:1px}
  .map-row select,.sheet-page .column-field input:not([type=checkbox]),.paste-card textarea,.separator-field select{font-size:16px}
  .key-row{flex-wrap:wrap;gap:8px}.key-row .column-field{flex:1 1 100%}.key-row .check-row{padding-bottom:0}
  .step-actions .sheet-button,.run-actions .sheet-button,.download-row .sheet-button{flex:1 1 auto}
  .step-actions-end{flex:1 1 100%}
  .sheet-map{height:320px}.results-scroll{max-height:360px}
  .summary{gap:10px 20px}
  .sample-overlay{padding:0;place-items:end stretch}.sample-panel{width:100%;max-height:92svh;border-radius:14px 14px 0 0;padding:18px 16px 16px}
  .sample-map{height:190px}.sample-list-rows li{grid-template-columns:minmax(0,1fr);gap:4px}
}

/* match options beyond estimates (fallback, source, radius / results), and the jobs panel (a key only) */
.match-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.match-range select{width:100%;min-width:0;height:38px;border:1px solid var(--line-dark);border-radius:6px;padding:0 8px;background:#fff;font:inherit}
.jobs-panel summary{cursor:pointer;list-style:none}.jobs-panel summary::-webkit-details-marker{display:none}
.jobs-panel summary h3{display:inline;font-size:14px}.jobs-panel summary h3 em{font-style:normal;font-weight:400;color:var(--muted);font-size:12px}
.jobs-panel summary::before{content:'▸ ';color:var(--muted)}.jobs-panel[open] summary::before{content:'▾ '}
.jobs-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.jobs-actions{display:flex;flex-wrap:wrap;gap:8px}
.jobs-table td,.jobs-table th{white-space:normal;word-break:break-word;vertical-align:top}.jobs-table td.job-actions{display:flex;flex-wrap:wrap;gap:2px}.jobs-table button{font:inherit;font-size:12px;color:var(--accent);background:none;border:0;padding:2px 4px;cursor:pointer}
.webhook-secret{display:grid;gap:6px}.secret-value{word-break:break-all;font-size:12px;padding:6px 8px;background:#f6f7f3;border-radius:6px}
.jobs-panel[data-key-off] .jobs-create,.jobs-panel[data-key-off] .webhook-secret{opacity:.55}
@media(max-width:620px){.mode-cards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.jobs-create,.match-range{grid-template-columns:minmax(0,1fr)}}
.jobs-table td,.jobs-table th{overflow:visible;max-width:none;text-overflow:clip}
/* a job being watched (after "Create job"): its progress, then the results merged into the user's own file */
.job-watch{margin:12px 0;padding:10px 12px;border:1px solid var(--line, #dfe3da);border-radius:8px;background:#fbfcf9}
.job-watch .jobs-actions{margin-top:8px}
.estimate-job{margin-top:10px;padding-top:10px;border-top:1px solid var(--line, #e3e6de);color:#3f473f}
#run-why{margin-top:10px}
.job-merge-hint{font-size:12px;color:var(--muted)}

/* "Distance from a place": the line under From (a key's address, Use address key) and a stale key's note (2026-11-18) */
.place-sub{display:flex;align-items:center;gap:8px;min-width:0;margin:-4px 0 4px;font-size:12px;color:var(--muted)}
.place-note{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.place-note.error{color:#a54631;white-space:normal}
.place-key-button{flex:none;margin-left:auto;font-size:12px;color:var(--accent);padding:3px 8px;border:1px solid #cdd7f5;border-radius:5px;background:#f6f8ff;white-space:nowrap;cursor:pointer}
.stale-note{color:#866f3b;background:#fff8e9;border:1px solid #eadab7;border-radius:4px;padding:7px 9px}
/* the From box's dropdown (place-suggest.js: recent addresses, then live suggestions), as on the console */
.place-host{position:relative}
.box-suggest{position:absolute;z-index:1300;left:0;right:0;top:calc(100% + 3px);display:flex;flex-direction:column;max-height:260px;overflow:auto;background:#fff;border:1px solid #cdd7c3;border-radius:6px;box-shadow:0 8px 22px #273b1a19}
.box-suggest[hidden]{display:none}
.box-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:8px 10px;text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f2eb;font:inherit;font-weight:400;color:#293722;cursor:pointer}
.box-option.active{background:#edf1ff}
.box-option strong{display:block;font-size:12.5px;font-weight:560;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-option span{display:block;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-option em{font:normal 10px ui-monospace,Menlo,monospace;text-transform:uppercase;color:#7c886e}
.box-heading{padding:6px 10px 3px;font:600 9.5px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;color:#7c886e;background:#fafbf7}
.box-status{padding:8px 10px;font-size:11.5px;font-weight:400;color:var(--muted)}
.box-clear{padding:7px 10px;text-align:left;font-size:11px;font-weight:400;color:var(--accent);background:#fafbf7;border:0;border-top:1px solid #f0f2eb;cursor:pointer}

/* the shared frame (ui-frame.css): the dock ends the steps column (desktop: sticky at the bottom of the window); between
   621 and 900 px it sits above the estimate bar; on phones the estimate bar sits above the dock */
@media(min-width:621px){.flow-main>.uf-dock{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px}}
@media(min-width:621px) and (max-width:900px){.flow-main>.uf-dock{bottom:60px}}
@media(max-width:620px){
  .sheet-body .estimate-card{bottom:calc(var(--uf-dock-h) + var(--uf-vv-bottom));max-height:calc(80svh - var(--uf-dock-h))}
  .sheet-body .estimate-bar,.step-dot,.link-button,.sample-load,.sheet-button{min-height:44px}
}

/* ==== dark theme: generated by apps/dev-console/dark-theme.mjs from the rules above: do not edit by hand ==== */
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="dark"] .sheet-intro p{color:#aaacaa}
:root[data-theme="dark"] .sheet-card code{background:#262725}
:root[data-theme="dark"] .start-card>span{color:#aaacaa}
:root[data-theme="dark"] .paste-card textarea{background:#1a1a1a}
:root[data-theme="dark"] .step-dot{color:#aaacaa}
:root[data-theme="dark"] .step-dot:disabled{color:#6c6e6a}
:root[data-theme="dark"] .step-dot .step-number{background:#2e2f2d;color:#aaacaa}
:root[data-theme="dark"] .mode-card{background:#1a1a1a}
:root[data-theme="dark"] .mode-art svg{stroke:#7d807d}
:root[data-theme="dark"] .map-row select{background:#1a1a1a}
:root[data-theme="dark"] .address-card{background:#1f1f1d}
:root[data-theme="dark"] .sent-details summary{color:#b0b2b0}
:root[data-theme="dark"] .pill{background:#1a1a1a}
:root[data-theme="dark"] .flag{background:#2a2b29;color:#b0b2b0}
:root[data-theme="dark"] .flag-us{background:#252527;color:#4963c8}
:root[data-theme="dark"] .flag-ca{background:#272525;color:#c94939}
:root[data-theme="dark"] .flag-mx{background:#2a2d2b;color:#41935b}
:root[data-theme="dark"] .pill-sign{background:#2a2b29;color:#b0b2b0}
:root[data-theme="dark"] .run-summary{background:#1f1f1d}
:root[data-theme="dark"] .run-summary dt{color:#b0b2b0}
:root[data-theme="dark"] .estimate-lines span{color:#aaacaa}
:root[data-theme="dark"] .estimate-breakdown,:root[data-theme="dark"] .estimate-free,:root[data-theme="dark"] .estimate-text{color:#aaacaa}
:root[data-theme="dark"] .estimate-cost{color:#aaacaa}
:root[data-theme="dark"] .sample-panel>p:first-of-type{color:#aaacaa}
:root[data-theme="dark"] .sample-map{background:#2a2b29}
:root[data-theme="dark"] .sample-in{color:#aaacaa}
:root[data-theme="dark"] .separator-field{color:#b0b2b0}
:root[data-theme="dark"] .separator-field select{background:#1a1a1a}
:root[data-theme="dark"] .sheet-button{background:#1a1a1a}
:root[data-theme="dark"] .sheet-message{background:#262725;color:#b6b8b6}
:root[data-theme="dark"] .sheet-message.error{background:#272524;color:#c55d36}
:root[data-theme="dark"] .sheet-message.notice{background:#242422;color:#a88944}
:root[data-theme="dark"] .sheet-message.ok{background:#242725;color:#45925d}
:root[data-theme="dark"] .column-field{color:#b0b2b0}
:root[data-theme="dark"] .column-field select,:root[data-theme="dark"] .column-field input{background:#1a1a1a}
:root[data-theme="dark"] .sheet-table th{background:#222221;color:#b0b2b0}
:root[data-theme="dark"] .sheet-table td.num{color:#aaacaa}
:root[data-theme="dark"] .sheet-table td.empty{color:#5e605c}
:root[data-theme="dark"] .sheet-table tbody tr.locatable:hover{background:#1c1d1f}
:root[data-theme="dark"] .status-pill{background:#2a2b29;color:#aaacaa}
:root[data-theme="dark"] .status-pill.matched{background:#292c2a;color:#45925d}
:root[data-theme="dark"] .status-pill.estimate{background:#2d2c2a;color:#a88944}
:root[data-theme="dark"] .status-pill.not_found{background:#272524;color:#c55d36}
:root[data-theme="dark"] .status-pill.invalid,:root[data-theme="dark"] .status-pill.error{background:#2b2928;color:#bd513d}
:root[data-theme="dark"] .summary{background:#222221}
:root[data-theme="dark"] .summary [data-kind=matched] strong{color:#45925d}
:root[data-theme="dark"] .summary [data-kind=not-found] strong,:root[data-theme="dark"] .summary [data-kind=errors] strong,:root[data-theme="dark"] .summary [data-kind=invalid] strong{color:#c55d36}
:root[data-theme="dark"] .summary div.zero strong{color:#6c6e6a}
:root[data-theme="dark"] .summary [data-kind=manual] strong{color:#926bd7}
:root[data-theme="dark"] .status-pill.manual{background:#252427;color:#7a4acd}
:root[data-theme="dark"] .fix-panel{background:#1f1f1d}
:root[data-theme="dark"] .fix-row{background:#1a1a1a}
:root[data-theme="dark"] .progress-track{background:#2e2f2d}
:root[data-theme="dark"] .progress-line{color:#b0b2b0}
:root[data-theme="dark"] .sheet-map{background:#2a2b29}
@media(max-width:900px){:root[data-theme="dark"] .estimate-bar{color:#aaacaa}}
:root[data-theme="dark"] .match-range select{background:#1a1a1a}
:root[data-theme="dark"] .secret-value{background:#232322}
:root[data-theme="dark"] .job-watch{border:1px solid var(--line, #373836);background:#1e1f1c}
:root[data-theme="dark"] .estimate-job{border-top:1px solid var(--line, #343433);color:#c2c4c2}
:root[data-theme="dark"] .place-note.error{color:#c4644f}
:root[data-theme="dark"] .place-key-button{border:1px solid #333436;background:#1c1d1f}
:root[data-theme="dark"] .stale-note{color:#ad9152;background:#252422}
:root[data-theme="dark"] .box-suggest{background:#1a1a1a;border:1px solid #474b42}
:root[data-theme="dark"] .box-option{background:#1a1a1a;border-bottom:1px solid #292927;color:#d6dad4}
:root[data-theme="dark"] .box-option.active{background:#202123}
:root[data-theme="dark"] .box-option em{color:#91948d}
:root[data-theme="dark"] .box-heading{color:#91948d;background:#1f201e}
:root[data-theme="dark"] .box-clear{background:#1f201e;border-top:1px solid #292927}
/* ==== end of the generated dark theme ==== */
