/* Seniors outings calendar (/zh/outings.html, /en/outings.html).
   Scoped under .outings so none of it reaches the rest of the site, and the
   classes that collide with style.css (.step, .field, .btn-red, ...) are
   renamed with an o- prefix rather than fought over with specificity. */
.outings{--leaf:#1E8A5A;--leaf-bg:#E7F5EE;--gold:#F4B63F;--dawn:#FFF7EF;--blush:#FDEFE8;--shadow:0 6px 24px rgba(35,43,107,.10);font-size:18px;line-height:1.65}
.outings h1,.outings h2,.outings h3{font-family:"Baloo 2","Noto Sans SC",sans-serif;color:var(--navy);line-height:1.2;margin:0}
.outings button{font:inherit;cursor:pointer}
.outings .form-status{font-size:16px;margin-top:8px}
.outings .wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.outings .hero{background:linear-gradient(180deg,var(--dawn),var(--blush));padding:48px 0 64px}
.outings .hero .wrap{display:grid;grid-template-columns:1.25fr 1fr;gap:32px;align-items:center}
.outings .badge{display:inline-block;background:#fff;color:var(--red);border-radius:12px;padding:4px 12px;font-size:15px;font-weight:700;margin-bottom:12px}
.outings .hero h1{font-size:clamp(34px,5vw,52px);font-weight:800}
.outings .hero p.lead{font-size:20px;color:var(--ink-soft);max-width:34em;margin:14px 0 0}
.outings .hero svg{width:100%;height:auto}
.outings .o-hl-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-34px;position:relative;z-index:2}
.outings .o-hl{background:#fff;border-radius:18px;box-shadow:var(--shadow);border-left:5px solid var(--red);padding:18px 20px}
.outings .o-hl strong{display:block;font-family:"Baloo 2","Noto Sans SC";font-size:24px;color:var(--navy)}
.outings .o-hl span{font-size:16px;color:var(--ink-soft)}
.outings section{padding:56px 0}
.outings .alt{background:var(--cloud)}
.outings .sec-head{margin-bottom:22px}
.outings .sec-head h2{font-size:clamp(28px,3.4vw,38px)}
.outings .sec-head p{color:var(--ink-soft);margin:6px 0 0;max-width:44em}
.outings .filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.outings .chip{border:2px solid var(--line);background:#fff;border-radius:999px;padding:8px 18px;min-height:48px;font-size:17px;color:var(--ink)}
.outings .chip[aria-pressed="true"]{border-color:var(--navy);background:var(--navy);color:#fff}
.outings .filter-label{width:100%;font-size:15px;color:var(--ink-soft);margin-top:4px}
.outings .ribbon-wrap{overflow-x:auto;padding:6px 2px 14px;margin:0 -2px}
.outings .ribbon{display:flex;gap:10px;min-width:max-content}
.outings .day{width:78px;border:2px solid var(--line);background:#fff;border-radius:18px;padding:10px 4px 8px;text-align:center;color:var(--ink);min-height:112px;display:flex;flex-direction:column;align-items:center}
.outings .day .dow{font-size:14px;color:var(--ink-soft)}
.outings .day .num{font-family:"Baloo 2";font-weight:800;font-size:34px;line-height:1.1;color:var(--navy)}
.outings .day .dots{display:flex;gap:4px;margin-top:6px;min-height:10px}
.outings .day .dots i{width:9px;height:9px;border-radius:50%;background:var(--red)}
.outings .day.wkend .num{color:var(--ink-soft)}
.outings .day[disabled]{opacity:.45;cursor:default}
.outings .day[aria-pressed="true"]{background:var(--red);border-color:var(--red)}
.outings .day[aria-pressed="true"] .num,.outings .day[aria-pressed="true"] .dow{color:#fff}
.outings .day[aria-pressed="true"] .dots i{background:#fff}
.outings .month-label{font-family:"Baloo 2","Noto Sans SC";font-size:22px;font-weight:700;color:var(--navy);margin:8px 0 6px;display:flex;justify-content:space-between;align-items:baseline}
.outings .link-btn{background:none;border:none;color:var(--red);font-size:16px;text-decoration:underline;padding:8px}
.outings .list{display:grid;gap:14px}
.outings .outing{display:grid;grid-template-columns:96px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.outings .when{text-align:center;border-right:2px dashed var(--line);padding-right:14px}
.outings .when .d{font-family:"Baloo 2";font-weight:800;font-size:36px;color:var(--navy);line-height:1}
.outings .when .w{font-size:15px;color:var(--ink-soft)}
.outings .outing h3{font-size:22px}
.outings .o-meta{font-size:16px;color:var(--ink-soft);margin-top:2px}
.outings .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.outings .tag{font-size:14px;border-radius:12px;padding:2px 10px;background:var(--mist);color:var(--navy)}
.outings .tag.zh-group{background:var(--blush);color:var(--red-dark)}
.outings .tag.home{background:var(--leaf-bg);color:var(--leaf)}
.outings .tag.sample{background:#FFF4DA;color:#8A5A00}
.outings .o-btn-red{background:var(--red);color:#fff;border:none;border-radius:12px;padding:12px 22px;min-height:52px;font-weight:700;font-size:18px}
.outings .o-btn-red:hover{background:var(--red-dark)}
.outings .o-btn-ghost{background:#fff;color:var(--navy);border:2px solid var(--navy);border-radius:12px;padding:10px 20px;min-height:52px;font-weight:700}
.outings .empty{background:var(--cloud);border-radius:18px;padding:28px;text-align:center;color:var(--ink-soft)}
.outings .o-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.outings .o-step{background:#fff;border-radius:18px;padding:20px;box-shadow:var(--shadow);position:relative}
.outings .o-step::before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--red);color:#fff;font-family:"Baloo 2";font-weight:800;font-size:22px;margin-bottom:10px}
.outings .o-step h3{font-size:20px}
.outings .o-step p{font-size:16px;color:var(--ink-soft);margin:6px 0 0}
.outings .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.outings .pcard{background:#fff;border-radius:18px;border:1px solid var(--line);padding:22px}
.outings .pcard .big{font-family:"Baloo 2";font-weight:800;font-size:34px;color:var(--navy)}
.outings .pcard .o-unit{color:var(--ink-soft);font-size:16px}
.outings .pcard ul{padding-left:18px;margin:10px 0 0;font-size:16px}
.outings .fund-note{background:var(--leaf-bg);color:var(--leaf);border-radius:12px;padding:14px 18px;margin-top:18px;font-size:16px}
.outings .dir-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff}
.outings table{border-collapse:collapse;width:100%;min-width:760px;font-size:16px}
.outings th,.outings td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top;white-space:normal}
.outings th{background:var(--mist);color:var(--navy);font-weight:700}
.outings tr:last-child td{border-bottom:none}
.outings .o-disclaimer{font-size:14px;color:var(--ink-soft);border-top:1px solid var(--line);padding-top:16px;margin-top:28px}
.outings dialog{margin:auto;border:none;border-radius:18px;padding:0;width:min(720px,96vw);max-height:92vh;box-shadow:0 20px 60px rgba(26,33,83,.35);color:var(--ink)}
.outings dialog::backdrop{background:rgba(26,33,83,.55)}
.outings .dlg-head{background:var(--navy);color:#fff;padding:18px 22px;position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.outings .dlg-head h3{color:#fff;font-size:22px}
.outings .dlg-head .o-meta{color:#C9CFEA}
.outings .x{background:transparent;border:none;color:#fff;font-size:28px;line-height:1;min-width:44px;min-height:44px}
.outings .dlg-body{padding:18px 22px 8px}
.outings fieldset{border:none;margin:0 0 20px;padding:0}
.outings legend{font-family:"Baloo 2","Noto Sans SC";font-weight:700;font-size:20px;color:var(--navy);margin-bottom:8px}
.outings .opts{display:grid;gap:10px}
.outings .opt{display:flex;gap:12px;align-items:flex-start;border:2px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer}
.outings .opt:has(input:checked){border-color:var(--red);background:#FFF6F6}
.outings .opt input{width:22px;height:22px;margin-top:3px;accent-color:var(--red);flex:none}
.outings .opt .t{font-weight:700}
.outings .opt .s{display:block;font-size:15px;color:var(--ink-soft);font-weight:400}
.outings .o-sub{margin:10px 0 0 34px;display:none;flex-wrap:wrap;gap:8px}
.outings .o-sub.show{display:flex}
.outings .o-sub .chip{min-height:44px;font-size:16px;padding:6px 14px}
.outings .o-field{display:grid;gap:4px;margin-bottom:12px}
.outings .o-field label{font-size:16px;font-weight:700}
.outings .o-field input,.outings .o-field select,.outings .o-field textarea{font:inherit;font-size:18px;border:2px solid var(--line);border-radius:12px;padding:10px 12px;min-height:50px;width:100%}
.outings .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.outings .summary{position:sticky;bottom:0;background:var(--cloud);border-top:1px solid var(--line);padding:14px 22px 18px}
.outings .sum-row{display:flex;justify-content:space-between;font-size:16px;gap:12px}
.outings .sum-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px dashed var(--line);margin-top:8px;padding-top:8px}
.outings .sum-total strong{font-family:"Baloo 2";font-size:30px;color:var(--navy)}
.outings .sum-foot{font-size:14px;color:var(--ink-soft);margin:4px 0 10px}
.outings .err{color:var(--red-dark);font-size:15px;min-height:1.2em}
.outings .done{padding:28px 22px;text-align:center}
.outings .done h3{font-size:26px;margin-bottom:8px}
.outings .o-btn-green{display:inline-block;background:#25D366;color:#fff;text-decoration:none;border-radius:12px;padding:14px 24px;font-weight:700;margin:10px 0}
@media (max-width:960px){
.outings .hero .wrap{grid-template-columns:1fr}
.outings .hero svg{max-width:420px}
.outings .o-steps{grid-template-columns:repeat(2,1fr)}
.outings .price-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
.outings .o-hl-strip,.outings .o-steps{grid-template-columns:1fr}
.outings .outing{grid-template-columns:72px 1fr}
.outings .outing .o-btn-red{grid-column:1/-1;width:100%}
.outings .two{grid-template-columns:1fr}
}
.outings .month-nav{display:inline-flex;align-items:center;gap:6px}
.outings .mnav{width:44px;height:44px;border-radius:50%;border:2px solid var(--line);background:#fff;color:var(--navy);font-size:24px;line-height:1}
.outings .mnav:disabled{opacity:.35;cursor:default}
.outings .toggle{display:flex;gap:10px;align-items:center;margin-top:16px;font-size:16px;color:var(--ink-soft)}
.outings .toggle input{width:22px;height:22px;accent-color:var(--red)}
.outings .updated{font-size:14px;color:var(--ink-soft);margin:6px 0 0}
.outings .tag.cat-show{background:#EEF0FF;color:var(--navy)}
.outings .tag.low{background:#FFE9E9;color:var(--red-dark)}
.outings .qty{display:flex;align-items:center;gap:12px;margin-top:4px}
.outings .qty button{width:48px;height:48px;border-radius:50%;border:2px solid var(--navy);background:#fff;color:var(--navy);font-size:24px}
.outings .qty output{font-family:"Baloo 2";font-size:28px;font-weight:800;min-width:2ch;text-align:center}
