/* Search form and results — same tokens as the site and the canvas design. Scoped to .tml-front. */
.tml-front{--ink:#10231A;--muted:#4A5A50;--dark:#0B2A1A;--green:#00753A;--lime:#96CE28;--line:#E1E7E1;--field:#C9D3CB;--soft:#E9F4E1;--cream:#FBFBF3;--warnbg:#FFF6DC;--warn:#7A4B00;--err:#B42318;
  background:var(--cream);color:var(--ink);font-family:Inter,system-ui,sans-serif;margin:0!important;max-width:none!important}
.tml-front *{box-sizing:border-box}
/* Inside the site template: cancel the theme's side padding to reach full width (100vw would add the
   scrollbar width and scroll sideways), and set heading colours
   explicitly because the theme colours headings white for the dark areas. */
.tml-front{width:auto!important;max-width:none!important;margin-left:calc(-1 * var(--wp--style--root--padding-left, 0px))!important;margin-right:calc(-1 * var(--wp--style--root--padding-right, 0px))!important}
.tml-front h1,.tml-front h2,.tml-front h3{color:var(--ink)}
.tml-front .tml-box h3{color:#FFFFFF}
.tml-front .tml-wrap{max-width:1312px;margin:0 auto;padding:40px 64px 104px}
.tml-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}
.tml-search{display:flex;flex-direction:column;gap:24px}
.tml-card{padding:32px;border-radius:24px;background:#FFFFFF;border:1px solid var(--line);display:flex;flex-direction:column;gap:20px}
.tml-card header{display:flex;gap:16px;align-items:flex-start}
.tml-card h2{margin:0;font-family:'Bricolage Grotesque',Inter,sans-serif;font-size:26px;line-height:1.15;font-weight:800}
.tml-card header p{margin:4px 0 0;font-size:15px;color:var(--muted)}
.tml-n{flex-shrink:0;width:40px;height:40px;border-radius:12px;background:var(--soft);color:var(--green);display:flex;align-items:center;justify-content:center;font:800 20px 'Bricolage Grotesque',sans-serif}
.tml-f{display:flex;flex-direction:column;gap:8px;min-width:0}
.tml-l{font-size:15px;font-weight:600;margin:0}
.tml-l em{font-style:normal;font-weight:400;color:var(--muted)}
.tml-hint{font-size:13px;line-height:1.5;color:var(--muted)}
.tml-in{height:48px;width:100%;padding:0 14px;border:1px solid var(--field);border-radius:12px;background:#FFFFFF;font:16px Inter,system-ui,sans-serif;color:var(--ink)}
textarea.tml-in{height:auto;padding:12px 14px;resize:vertical}
.tml-in:focus{outline:2px solid var(--green);outline-offset:1px;border-color:var(--green)}
.tml-small{max-width:160px}
.tml-grid2,.tml-grid3,.tml-grid4{display:grid;gap:16px 20px}
.tml-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tml-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tml-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tml-chipset,.tml-slots{display:flex;flex-wrap:wrap;gap:10px}
.tml-chip{position:relative;display:inline-flex;cursor:pointer}
.tml-chip input{position:absolute;opacity:0;width:1px;height:1px}
.tml-chip span{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:#FFFFFF;border:1px solid var(--field);font-size:15px;font-weight:500}
.tml-chip input:checked+span{background:var(--dark);border-color:var(--dark);color:#FFFFFF;font-weight:600}
.tml-chip input:checked+span::before{content:"✓";color:var(--lime);font-weight:800}
.tml-chip input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.tml-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;cursor:pointer}
.tml-check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--green);flex-shrink:0}
.tml-note{margin:0;padding:16px 18px;border-radius:14px;background:var(--soft);font-size:15px;line-height:1.55;color:#34463B}
.tml-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.tml-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.tml-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;font:700 16px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer;border:0}
.tml-btn-main{background:var(--green);color:#FFFFFF!important}
.tml-btn-main:hover{background:#005A2C}
.tml-btn-ghost{background:transparent;border:1.5px solid var(--green);color:var(--green)!important}
.tml-btn-danger{background:var(--err);color:#FFFFFF}
.tml-btn[disabled]{opacity:.6;cursor:wait}
.tml-btn:focus-visible{outline:3px solid var(--lime);outline-offset:2px}
.tml-status{font-size:14px;color:var(--muted)}
.tml-f.tml-bad .tml-in,.tml-f.tml-bad .tml-chip span{border-color:var(--err)}
.tml-errmsg{font-size:14px;font-weight:600;color:var(--err)}
.tml-alert{padding:16px 18px;border-radius:14px;background:var(--warnbg);color:var(--warn);font-weight:600}
.tml-aside-box{position:sticky;top:24px;display:flex;flex-direction:column;gap:16px}
.tml-box{padding:28px;border-radius:24px;background:var(--dark);color:#FFFFFF}
.tml-box h3{margin:0 0 12px;font:800 20px 'Bricolage Grotesque',sans-serif;color:#FFFFFF}
.tml-box ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.5;color:#E6EFE8}
.tml-warn{margin:0;padding:18px;border-radius:18px;background:var(--warnbg);color:var(--warn);font-size:14px;line-height:1.55;font-weight:600}
/* Results */
.tml-res-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;flex-wrap:wrap}
.tml-res-head h1{margin:0;font:800 40px/1.1 'Bricolage Grotesque',Inter,sans-serif;letter-spacing:-.02em;text-wrap:balance}
.tml-res-head p{margin:8px 0 0;color:var(--muted);font-size:16px}
.tml-res{display:grid;grid-template-columns:260px minmax(0,1fr) 280px;gap:24px;padding:22px;border-radius:24px;background:#FFFFFF;border:1px solid var(--line);margin-bottom:16px}
.tml-res-ph{display:block;border-radius:16px;overflow:hidden;background:#E3E9E3;min-height:180px}
.tml-res-ph img{width:100%;height:100%;object-fit:cover;display:block}
.tml-res-body{display:flex;flex-direction:column;gap:10px;min-width:0}
.tml-res-body h2{margin:0;font:800 22px/1.2 'Bricolage Grotesque',Inter,sans-serif}
.tml-res-body h2 a{color:var(--ink);text-decoration:none}
.tml-where{margin:0;color:var(--muted);font-size:15px}
.tml-badges{display:flex;gap:8px;flex-wrap:wrap}
.tml-badge{padding:4px 10px;border-radius:999px;background:#EEF1EA;font-size:13px;font-weight:600}
.tml-badge-ok{background:#D9F0C2;color:#1E4A12}
.tml-why{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tml-why li{padding:3px 9px;border-radius:8px;font-size:13px;font-weight:600}
.tml-yes{background:var(--soft);color:var(--green)}
.tml-no{background:#F4F1EA;color:#6B5B2E}
.tml-res-side{display:flex;flex-direction:column;gap:10px;border-left:1px solid var(--line);padding-left:22px}
.tml-price strong{font:800 26px 'Bricolage Grotesque',sans-serif;font-variant-numeric:tabular-nums}
.tml-over{margin:0;font-size:13px;font-weight:700;color:var(--warn)}
.tml-score{margin:0;font-size:13px;color:var(--muted)}
.tml-score strong{font:800 20px 'Bricolage Grotesque',sans-serif;color:var(--green)}
.tml-book summary{list-style:none;width:100%}
.tml-book summary::-webkit-details-marker{display:none}
.tml-book[open] summary{display:none}
.tml-visit{display:flex;flex-direction:column;gap:10px}
.tml-slots{max-height:260px;overflow:auto;padding:2px}
.tml-slots .tml-chip span{min-height:36px;padding:0 12px;font-size:14px}
.tml-done{margin:0;padding:12px 14px;border-radius:12px;background:var(--soft);color:var(--green);font-weight:600;font-size:14px}
.tml-link{font-size:14px;font-weight:600;color:var(--green)}
.tml-how{margin:8px 0 0;padding:18px 20px;border-radius:16px;border:1px dashed var(--field);background:#FFFFFF;font-size:14px;line-height:1.6;color:var(--muted)}
.tml-empty{padding:32px;border-radius:24px;border:1.5px dashed var(--field);background:#FFFFFF;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.tml-empty h2{margin:0;font:800 28px 'Bricolage Grotesque',sans-serif}
.tml-empty p{margin:0;font-size:16px;line-height:1.6;color:#34463B}
.tml-forget{margin-top:40px;padding:24px;border-radius:20px;background:#FFFFFF;border:1px solid var(--line);display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.tml-forget h2{margin:0;font:800 20px 'Bricolage Grotesque',sans-serif}
.tml-forget p{margin:0;font-size:15px;line-height:1.55;color:#34463B}
.tml-forget-confirm{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.tml-forget-confirm p{flex-basis:100%}
.tml-forget-confirm[hidden],.tml-forget-done[hidden],.tml-done[hidden],.tml-short[hidden],.tml-long[hidden]{display:none!important}
@media (max-width:1024px){
  .tml-front .tml-wrap{padding:28px 20px 72px}
  .tml-form-layout{grid-template-columns:1fr}
  .tml-aside-box{position:static}
  .tml-res{grid-template-columns:1fr}
  .tml-res-side{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:14px}
  .tml-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .tml-card{padding:22px}
  .tml-grid2,.tml-grid3{grid-template-columns:1fr}
  .tml-res-head h1{font-size:30px}
}
/* Header band of the search page (canvas design). */
.tml-hero{background:var(--dark);color:#FFFFFF}
.tml-hero-in{max-width:1312px;margin:0 auto;padding:56px 64px 64px;display:flex;flex-direction:column;gap:16px}
.tml-front .tml-hero h1{margin:0;color:#FFFFFF;font:800 clamp(34px,4.4vw,56px)/1.05 'Bricolage Grotesque',Inter,sans-serif;letter-spacing:-.03em;max-width:900px;text-wrap:balance}
.tml-hero .tml-crumbs{font-size:14px;color:#9FB8A7}
.tml-hero .tml-crumbs a{color:#C7E88A}
.tml-eyebrow{margin:0;font-size:14px;font-weight:700;color:#C7E88A;text-transform:uppercase;letter-spacing:.08em}
.tml-lead{margin:0;font-size:19px;line-height:1.55;color:#CFE0D4;max-width:760px}
.tml-ticks{list-style:none;margin:0;padding:0;display:flex;gap:10px 24px;flex-wrap:wrap;font-size:15px;color:#CFE0D4}
.tml-ticks li::before{content:"✓ ";color:var(--lime);font-weight:800}
@media (max-width:1024px){.tml-hero-in{padding:36px 20px 40px}.tml-lead{font-size:17px}}
