/* Tool pages and hotel-page extras (plugin inc/modules/stay-tools.php). Classes start with tl-.
   Colours are the theme's: emerald #0e5c46, deep #083d2e, gold #c9a86a, sand #faf7f0, ink #1a2421, mist #5c6b64. */
.tl-wrap{max-width:76rem;margin:0 auto;padding:2.5rem 1rem 3.5rem}
.tl-eyebrow{font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#a8894a;margin:0}
.tl-h1{font-family:Marcellus,Amiri,serif;font-size:2.1rem;line-height:1.15;color:#0e5c46;margin:.25rem 0 0}
.tl-lead{margin:.75rem 0 0;max-width:46rem;color:#5c6b64;line-height:1.6}
.tl-h2{font-family:Marcellus,Amiri,serif;font-size:1.5rem;line-height:1.2;color:#0e5c46;margin:0}
.tl-h3{font-family:Marcellus,Amiri,serif;font-size:1.15rem;color:#1a2421;margin:0}
.tl-sec{margin-top:2.5rem}
.tl-card{background:#fff;border:1px solid rgba(217,196,154,.65);border-radius:16px;padding:18px;min-width:0}
.tl-card--tint{background:#e8f0ec}
.tl-card--form{background:#faf7f0;border-color:rgba(201,168,106,.75);box-shadow:0 18px 40px -30px rgba(8,61,46,.55)}
.tl-grid{display:grid;gap:14px;grid-template-columns:1fr}
.tl-row{display:grid;gap:10px;grid-template-columns:1fr 1fr}
.tl-f{display:flex;flex-direction:column;gap:4px;min-width:0}
.tl-f>label,.tl-f>span{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5c6b64}
.tl-f small{font-size:12px;color:#5c6b64;text-transform:none;letter-spacing:0;font-weight:400}
.tl-in,.tl-f input,.tl-f select,.tl-f textarea{font:inherit;color:#1a2421;background:#fff;border:1px solid #d9c49a;border-radius:10px;min-height:44px;padding:8px 12px;width:100%;min-width:0;box-sizing:border-box}
.tl-f textarea{min-height:88px;resize:vertical}
.tl-f input:focus,.tl-f select:focus,.tl-f textarea:focus,.tl-in:focus{outline:2px solid #0e5c46;outline-offset:1px;border-color:#0e5c46}
.tl-span{grid-column:1/-1}
.tl-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:#0e5c46;color:#faf7f0;font:inherit;font-weight:700;font-size:.95rem;padding:11px 18px;text-decoration:none;cursor:pointer;transition:background .15s;text-align:center}
.tl-btn:hover{background:#083d2e}
.tl-btn[disabled]{opacity:.6;cursor:progress}
.tl-btn--gold{background:#c9a86a;color:#083d2e}
.tl-btn--gold:hover{background:#e5d5b3}
.tl-btn--line{background:#fff;color:#0e5c46;border:1px solid #0e5c46}
.tl-btn--line:hover{background:#e8f0ec}
.tl-btn--wa{background:#1b7f4b}
.tl-btn--wa:hover{background:#156a3e}
.tl-btn--sm{padding:8px 12px;font-size:.85rem}
.tl-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tl-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tl-chip{position:relative}
.tl-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.tl-chip span{display:inline-block;border:1px solid #d9c49a;border-radius:999px;background:#fff;padding:6px 12px;font-size:13px;font-weight:600;color:#1a2421;transition:all .15s}
.tl-chip input:checked+span{background:#0e5c46;border-color:#0e5c46;color:#faf7f0}
.tl-chip input:focus-visible+span{outline:2px solid #0e5c46;outline-offset:2px}
.tl-note{margin:10px 0 0;border-left:4px solid #c9a86a;background:#fff;border-radius:0 10px 10px 0;padding:8px 12px;font-size:.9rem;line-height:1.55;color:#5c6b64}
.tl-foot{margin:12px 0 0;font-size:.8rem;line-height:1.55;color:#5c6b64}
.tl-err{margin:10px 0 0;border-radius:10px;background:#fbeaea;color:#8a1f1f;padding:10px 14px;font-size:.92rem;font-weight:600}
.tl-ok{margin:10px 0 0;border-radius:10px;background:#e8f0ec;color:#083d2e;padding:12px 14px;font-size:.95rem;line-height:1.55}
.tl-a{color:#0e5c46;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.tl-muted{color:#5c6b64}
.tl-big{font-size:1.6rem;font-weight:700;color:#0e5c46;line-height:1.15}
.tl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid rgba(217,196,154,.65);border-radius:14px;background:#fff}
.tl-table{width:100%;border-collapse:collapse;font-size:.92rem}
.tl-table th,.tl-table td{padding:10px 14px;text-align:left;vertical-align:top;border-top:1px solid #f0e8d6}
.tl-table thead th{border-top:0;background:#e8f0ec;color:#083d2e;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}
.tl-table tbody th{font-weight:600;color:#5c6b64;white-space:nowrap;background:#faf7f0}
.tl-table td b{color:#0e5c46}
.tl-table .tl-best{background:#f3f8f5;font-weight:700;color:#083d2e}
.tl-cmp td,.tl-cmp thead th{min-width:190px}
.tl-cmp thead th{text-transform:none;letter-spacing:0;font-size:1rem;font-family:Marcellus,Amiri,serif;font-weight:400}
.tl-cmp thead a{color:#083d2e;text-decoration:none}
.tl-cmp thead a:hover{text-decoration:underline}
.tl-x{display:inline-block;margin-left:6px;font-family:inherit;font-size:.8rem;color:#8a1f1f;text-decoration:underline}
/* hotel page: price by date, leave-by times, share */
.tl-from{margin:8px 0 0;font-size:.9rem;color:#5c6b64;line-height:1.5}
.tl-from strong{display:block;font-size:1.5rem;color:#0e5c46;line-height:1.2}
.tl-list{list-style:none;margin:8px 0 0;padding:0;font-size:.88rem}
.tl-list li{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(217,196,154,.6);padding:6px 0;color:#1a2421}
.tl-list li span:last-child{font-weight:700;color:#0e5c46;white-space:nowrap}
.tl-leave{margin-top:16px;border:1px solid rgba(217,196,154,.65);border-radius:14px;background:#fff;padding:14px 16px}
.tl-leave table{width:100%;border-collapse:collapse;margin-top:8px;font-size:.93rem}
.tl-leave th,.tl-leave td{padding:7px 6px;text-align:left;border-top:1px solid #f0e8d6}
.tl-leave thead th{border-top:0;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#5c6b64}
.tl-leave tr.is-next td{background:#e8f0ec;font-weight:700;color:#083d2e}
.tl-leave td:last-child{font-weight:700;color:#0e5c46}
/* map */
.tl-mapbar{display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-top:1.25rem}
.tl-map{height:70vh;min-height:420px;margin-top:12px;border:1px solid rgba(217,196,154,.8);border-radius:16px;overflow:hidden;background:#e8f0ec;z-index:0;position:relative}
.tl-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:.85rem;color:#5c6b64}
.tl-legend i{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:5px;vertical-align:-1px;border:1.5px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.tl-pop{font-family:"Source Sans 3",system-ui,sans-serif;font-size:13px;line-height:1.45;min-width:180px}
.tl-pop b{font-size:14px;color:#083d2e}
.tl-pop a{color:#0e5c46;font-weight:700}
/* planner */
.tl-day{break-inside:avoid}
.tl-day h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.tl-day h3 small{font-family:"Source Sans 3",system-ui,sans-serif;font-size:.85rem;color:#5c6b64}
.tl-stops{list-style:none;margin:12px 0 0;padding:0;counter-reset:s}
.tl-stops li{position:relative;padding:0 0 14px 40px;counter-increment:s}
.tl-stops li:before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:#0e5c46;color:#faf7f0;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center}
.tl-stops li:after{content:"";position:absolute;left:13.5px;top:30px;bottom:2px;width:1px;background:#d9c49a}
.tl-stops li:last-child:after{display:none}
.tl-stops a{color:#1a2421;font-weight:700;text-decoration:none}
.tl-stops a:hover{color:#0e5c46;text-decoration:underline}
.tl-leg{display:block;font-size:.82rem;font-weight:700;color:#a8894a}
.tl-stops p{margin:2px 0 0;font-size:.88rem;line-height:1.5;color:#5c6b64}
/* cost calculator */
.tl-lines{list-style:none;margin:0;padding:0}
.tl-lines li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f0e8d6;padding:9px 0;font-size:.95rem}
.tl-lines li:first-child{border-top:0}
.tl-lines li b{white-space:nowrap}
.tl-total{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:2px solid #0e5c46;margin-top:6px;padding-top:12px}
/* collapsible form sections, sticky summary, budget bar, quick-start buttons */
.tl-acc{border:1px solid rgba(217,196,154,.7);border-radius:14px;background:#fff;margin-top:10px}
.tl-acc:first-child{margin-top:0}
.tl-acc>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:700;color:#083d2e;line-height:1.3}
.tl-acc>summary::-webkit-details-marker{display:none}
.tl-acc>summary:after{content:"+";margin-left:8px;font-size:1.3rem;line-height:1;color:#0e5c46;flex:none}
.tl-acc[open]>summary:after{content:"\2013"}
.tl-acc>summary small{margin-left:auto;font-weight:700;color:#0e5c46;white-space:nowrap;font-size:.9rem}
.tl-acc>summary:focus-visible{outline:2px solid #0e5c46;outline-offset:2px;border-radius:14px}
.tl-acc-body{padding:0 16px 16px}
.tl-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tl-bar{height:10px;border-radius:999px;background:#e8f0ec;overflow:hidden;margin-top:12px}
.tl-bar i{display:block;height:100%;background:#0e5c46;transition:width .2s}
.tl-bar.is-over i{background:#9a3c22}
.tl-mtotal{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#083d2e;color:#faf7f0;padding:10px 84px 10px 16px;font-size:.95rem}
.tl-mtotal a{color:#e5d5b3;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.tl-help{display:block;margin-top:4px;font-size:.82rem;line-height:1.5;color:#5c6b64}
.tl-steps{counter-reset:st;list-style:none;margin:0;padding:0}
/* results list beside the map */
.tl-results{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.tl-results li{border:1px solid rgba(217,196,154,.65);border-radius:12px;background:#fff;padding:10px 12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;align-items:center}
.tl-results b{color:#1a2421}
.tl-results .tl-meta{display:block;font-size:.84rem;color:#5c6b64;margin-top:2px}
.tl-results em{font-style:normal;font-weight:700;color:#0e5c46;white-space:nowrap}
.tl-linkbtn{background:none;border:0;padding:0;font:inherit;color:#0e5c46;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* planner controls on each stop, and the place picker */
.tl-stopbtns{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.tl-stopbtns button{border:1px solid #d9c49a;border-radius:8px;background:#fff;color:#1a2421;font:inherit;font-size:.78rem;font-weight:600;padding:3px 8px;cursor:pointer}
.tl-stopbtns button:hover{border-color:#0e5c46;color:#0e5c46}
.tl-stopbtns button[disabled]{opacity:.35;cursor:default}
.tl-time{display:inline-block;min-width:3.2em;font-weight:700;color:#083d2e}
.tl-pray{list-style:none;margin:0 0 14px;padding:8px 12px 8px 40px;border-radius:10px;background:#e8f0ec;color:#083d2e;font-size:.88rem;font-weight:600}
.tl-picker{display:grid;gap:4px 14px;grid-template-columns:1fr;margin-top:8px}
.tl-picker label{display:flex;gap:8px;align-items:flex-start;font-size:.9rem;line-height:1.4;color:#1a2421;padding:3px 0}
.tl-picker input{margin-top:3px;flex:none}
.tl-picker h4{grid-column:1/-1;margin:10px 0 2px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5c6b64}
@media (min-width:640px){
.tl-h1{font-size:2.5rem}
.tl-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tl-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
.tl-row--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-row--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tl-mapbar{grid-template-columns:repeat(4,minmax(0,1fr))}
.tl-card{padding:22px}
.tl-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1024px){
.tl-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-grid--side{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
.tl-sticky{position:sticky;top:96px}
.tl-mtotal{display:none}
.tl-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media print{
#mc-prayer-bar,header,footer,[data-chat],.tl-noprint,.tl-mtotal,.tl-stopbtns,#mc-nav-loader{display:none!important}
.tl-acc:not([open]){display:none}
.tl-sticky{position:static}
.tl-wrap{padding:0}
.tl-card{border-color:#999;box-shadow:none}
.tl-stops a{color:#000}
}
