/* Planner brand: Ink #1B2A41 (text, top bar), Teal #2A9D8F (buttons, links, logo), Sand #F4E9D8 (backgrounds, icon tiles),
   Coral #E76F51 (due today and overdue only), White (cards and task rows). Montserrat SemiBold headings, Inter body.
   Sizes: headings 24, body 16, small labels 13. Buttons: 8px corners, one main Teal button per screen. */
:root {
  --ink: #1B2A41; --teal: #2A9D8F; --teal-d: #23867A; --teal-l: #E3F2F0; --sand: #F4E9D8; --coral: #E76F51; --coral-l: #FCE9E3;
  --white: #fff; --bg: #F8F6F2; --line: #E3DED5; --mute: #5E6B7D; --r: 8px; --h: 40px;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Inter, system-ui, sans-serif; overflow-x: clip; }
h1, h2, h3, .brand { font-family: Montserrat, Inter, sans-serif; font-weight: 600; text-wrap: balance; }
h1 { font-size: 24px; line-height: 1.2; margin: 0; }
h2 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; }
p, li { text-wrap: pretty; }
a { color: var(--teal-d); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mute { color: var(--mute); }
.small { font-size: 13px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 16px; border-radius: var(--r);
  border: 1.5px solid var(--teal); background: var(--white); color: var(--teal-d); font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--teal-l); }
.btn.main { background: var(--teal); color: #fff; }
.btn.main:hover { background: var(--teal-d); border-color: var(--teal-d); }
.btn.quiet { border-color: var(--line); color: var(--ink); font-weight: 500; }
.btn.quiet:hover { background: var(--bg); }
.btn.danger { border-color: var(--line); color: #A3422A; font-weight: 500; }
.btn.icon { width: var(--h); padding: 0; }
.btn:focus-visible, .chk:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .task:focus-visible, .free:focus-visible {
  outline: 3px solid rgba(42, 157, 143, .45); outline-offset: 2px; }
.tag { display: inline-block; font-size: 13px; line-height: 1; font-weight: 600; padding: 4px 8px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.tag.coral { background: var(--coral); color: #fff; }
.tag.soft { background: var(--sand); color: var(--ink); font-weight: 500; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo .brand { font-size: 20px; letter-spacing: -.01em; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; padding: 0 24px; max-width: 1440px; margin: 0 auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: #C9D2DE; text-decoration: none; padding: 8px 12px; border-radius: var(--r); font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.on { color: #fff; background: rgba(255, 255, 255, .12); }
.who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.who .btn { height: 34px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); font-weight: 500; }
.who .btn:hover { background: rgba(255, 255, 255, .08); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: var(--r); cursor: pointer; }
.menu-btn svg.i { width: 24px; height: 24px; }
.menu { display: none; }

/* Page layout */
.page { max-width: 1440px; margin: 0 auto; padding: 24px; }
.head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; }
.head .grow { flex: 1 1 auto; }
.head .sub { font-size: 15px; color: var(--mute); margin-top: 2px; }
.weeknav { display: flex; gap: 8px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.side { position: sticky; top: 84px; }
.side h2 { font-size: 15px; margin-bottom: 14px; }
.side .btn.main { width: 100%; margin-top: 18px; }
.proj { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; margin: 0 -10px 2px; width: calc(100% + 20px); border-radius: var(--r); cursor: pointer; }
.proj:hover { background: var(--bg); }
.proj.on { background: var(--teal-l); }
.proj .row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.proj .row span:last-child { color: var(--mute); white-space: nowrap; }
.bar { display: block; height: 6px; border-radius: 99px; background: #ECE7DE; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.filter-note { font-size: 13px; color: var(--mute); margin-top: 10px; }
.filter-note button { background: none; border: 0; color: var(--teal-d); text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px;  white-space: nowrap; }

/* Week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; min-height: 260px; display: flex; flex-direction: column; gap: 8px; }
.day.today { border: 2px solid var(--coral); padding: 11px 9px; }
.day.past { background: #FCFBF9; }
.dh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 6px; padding: 0 2px 4px; }
.dh b { white-space: nowrap; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px; }
.day.today .dh b { color: #C2512F; }
.wx { font-size: 12px; color: var(--mute); white-space: nowrap; }
.day .add { margin-top: auto; background: none; border: 1px dashed transparent; border-radius: var(--r); color: var(--mute); font-size: 13px; padding: 6px; cursor: pointer; text-align: left; }
.day .add:hover { border-color: var(--line); color: var(--teal-d); }

.mtg { background: var(--sand); border-left: 3px solid var(--teal); border-radius: 6px; padding: 6px 8px; font-size: 13px; line-height: 1.35; }
.mtg b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.mtg span { color: var(--mute); }
.free { display: block; width: 100%; text-align: left; border: 1.5px dashed var(--teal); color: var(--teal-d); background: #F6FBFA; border-radius: 6px; padding: 5px 8px; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.free:hover { background: var(--teal-l); }
.task { display: flex; align-items: flex-start; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 7px 8px; font-size: 13.5px; line-height: 1.35; cursor: pointer; }
.task:hover { border-color: #CFC8BC; }
.task .t { flex: 1; overflow-wrap: anywhere; text-wrap: pretty; }
.task .meta { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.task .tags { display: block; margin-top: 6px; line-height: 1; }
.task .tag { font-size: 11.5px; padding: 4px 8px; }
.task.done .t > span:first-child { text-decoration: line-through; color: var(--mute); }
.chk { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.7px solid var(--teal); background: var(--white); cursor: pointer; padding: 0; display: grid; place-items: center; }
.chk svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.done .chk { background: var(--teal); }
.done .chk svg { opacity: 1; }

/* Empty state */
.empty { border: 2px dashed #CFC8BC; border-radius: 12px; padding: 36px 24px; text-align: center; margin-bottom: 20px;
  background: radial-gradient(circle, rgba(42, 157, 143, .4) 1.5px, transparent 1.7px) 0 0/18px 18px, var(--sand); }
.empty > div { display: inline-block; background: var(--white); border-radius: 12px; padding: 22px 26px; max-width: 420px; box-shadow: 0 1px 0 var(--line); }
.empty p { margin: 6px 0 16px; color: var(--mute); }

/* Today */
.today-wrap { max-width: 800px; margin: 0 auto; }
.quick { display: flex; gap: 8px; margin-bottom: 20px; }
.quick input { flex: 1; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 14px; background: var(--white); }
.quick .btn { height: 48px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.list .task { font-size: 16px; padding: 14px; border-radius: 10px; align-items: center; }
.list .chk { width: 26px; height: 26px; margin: 0; }
.list .chk svg { width: 16px; height: 16px; }
.list .mtg { font-size: 15px; padding: 12px 14px; border-radius: 8px; }
.list .mtg b { display: inline; }
.list .free { font-size: 14px; padding: 10px 14px; }
.list .task .tags { margin-top: 8px; }
.list .task .tag { font-size: 12.5px; padding: 5px 10px; }
.count { color: var(--coral); font-weight: 600; font-size: 15px; white-space: nowrap; }
.count.ok { color: var(--teal-d); }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 24px 0 10px; }

/* Projects */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcard h2 { margin: 0; }
.pcard .num { font: 600 30px/1 Montserrat, sans-serif; margin: 14px 0 4px; }
.pcard .bar { height: 10px; margin: 10px 0 14px; }
.pcard .people { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .acts { display: flex; gap: 8px; margin-top: 16px; }
.pcard .acts .btn { height: 34px; font-size: 14px; padding: 0 12px; }

/* Settings */
.settings { max-width: 760px; display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: var(--h); border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; background: var(--white); width: 100%; }
.field textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hint { font-size: 13px; color: var(--mute); margin: -8px 0 16px; }
.status { font-size: 14px; margin-top: 12px; }
.status.err { color: #A3422A; }
details.how { font-size: 14px; color: var(--mute); margin-bottom: 16px; }
details.how summary { cursor: pointer; color: var(--teal-d); font-weight: 500; }
details.how ol { padding-left: 20px; margin: 8px 0 0; }

/* Dialog */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px)); color: var(--ink); box-shadow: 0 20px 60px rgba(27, 42, 65, .3); }
dialog::backdrop { background: radial-gradient(circle, rgba(42, 157, 143, .4) 1.5px, transparent 1.7px) 0 0/18px 18px, rgba(27, 42, 65, .6); }
dialog form { padding: 22px 22px 18px; }
dialog h1 { font-size: 20px; margin-bottom: 18px; }
dialog .foot { display: flex; gap: 10px; margin-top: 8px; }
dialog .foot .sp { flex: 1; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-weight: 500; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; display: flex; gap: 14px; align-items: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { background: none; border: 0; color: #8FD5CC; font-weight: 600; cursor: pointer; padding: 0; }

/* Sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle, rgba(42, 157, 143, .4) 1.5px, transparent 1.7px) 0 0/18px 18px, var(--sand); }
.signin .card { width: min(440px, 100%); padding: 26px 30px; box-shadow: 0 10px 40px rgba(27, 42, 65, .12); }
.signin h1 { margin: 16px 0 4px; }
.signin p { margin: 0 0 16px; color: var(--mute); }
.people-list { display: grid; gap: 6px; }
.person { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 6px 12px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.person:hover { border-color: var(--teal); background: #F6FBFA; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-l); color: var(--teal-d); display: grid; place-items: center; font: 600 13px Montserrat, sans-serif; flex: none; }
.person small { display: block; color: var(--mute); font-size: 13px; }
.demo-note { font-size: 13px; color: var(--mute); margin: 16px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.foot-note { text-align: center; font-size: 13px; color: var(--mute); padding: 8px 24px 32px; }

/* Printed week: its own branded sheet (#print), built by buildPrint() in app.js */
#print { display: none; }
@media print {
  @page { size: letter landscape; margin: .35in; }
  html, body { background: #fff; }
  #app, #toast, dialog { display: none !important; }
  #print { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.ps { width: 10.3in; height: 7.75in; display: flex; flex-direction: column; gap: .12in; font: 9pt/1.3 Inter, sans-serif; color: var(--ink); }
.ps-top { display: flex; align-items: center; gap: .25in; background: var(--ink); color: #fff; border-radius: 10px; padding: .12in .2in; }
.ps-logo { display: flex; align-items: center; gap: 8px; font: 600 15pt Montserrat, sans-serif; }
.ps-logo svg { width: 24px; height: 24px; }
.ps-title { flex: 1; display: flex; flex-direction: column; border-left: 1px solid rgba(255, 255, 255, .25); padding-left: .25in; }
.ps-title b { font: 600 13pt Montserrat, sans-serif; }
.ps-title small, .ps-who small { color: #C9D2DE; font-size: 8.5pt; }
.ps-who { display: flex; flex-direction: column; text-align: right; }
.ps-who b { font-weight: 600; }
.ps-days { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .08in; min-height: 0; }
.ps-days.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pday { border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; padding: 6px 7px; display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow: hidden; background: #fff; }
.pday.today { border-top-color: var(--coral); }
.pdh { display: block; padding-bottom: 4px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.pdh b { display: block; font: 600 10pt Montserrat, sans-serif; color: var(--teal-d); }
.pday.today .pdh b { color: #C2512F; }
.pdh small { color: var(--mute); font-size: 8pt; }
.pdh .prow { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.pwx { display: flex; align-items: center; gap: 2px; font-size: 7.5pt; color: var(--mute); white-space: nowrap; }
.pwx .wxi { width: 16px; height: 16px; }
.pitems { display: flex; flex-direction: column; gap: 4px; }
.pt { display: flex; gap: 5px; align-items: flex-start; }
.pt small { display: block; color: var(--mute); font-size: 7.5pt; }
.pt.done .ptt { text-decoration: line-through; color: var(--mute); }
.pbox { flex: none; width: 11px; height: 11px; margin-top: 1px; border: 1.3px solid var(--teal); border-radius: 50%; display: grid; place-items: center; }
.pbox.done { background: var(--teal); }
.pbox svg { width: 8px; height: 8px; fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ptag { display: inline-block; margin-top: 3px; background: var(--coral); color: #fff; font-size: 7pt; font-weight: 600; padding: 2px 6px; border-radius: 99px; }
.pm { background: var(--sand); border-left: 3px solid var(--teal); border-radius: 4px; padding: 3px 5px; font-size: 8pt; }
.pm b { display: block; font-weight: 600; }
.pm span { color: var(--mute); }
.pf { border: 1.2px dashed var(--teal); border-radius: 4px; padding: 2px 5px; font-size: 7.5pt; color: var(--teal-d); }
.plines { flex: 1 1 auto; min-height: 36px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='18'%3E%3Crect y='17' width='10' height='1' fill='%23DDD7CC'/%3E%3C/svg%3E") 0 0/10px 18px repeat; }
.ps-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: .14in; padding: .12in; border-radius: 10px; height: 1.45in; }
.ps-foot { position: relative; background: var(--sand); }
.ps-foot > .pdots { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; }
.ps-foot > .pcard { position: relative; }
.pcard { background: #fff; border-radius: 8px; padding: 7px 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.pcard h3 { margin: 0 0 5px; font: 600 9.5pt Montserrat, sans-serif; color: var(--teal-d); }
.pp { display: grid; grid-template-columns: 1.2fr 2fr .6fr; align-items: center; gap: 8px; font-size: 8pt; margin-bottom: 4px; }
.pp span:last-child { color: var(--mute); text-align: right; white-space: nowrap; }
.pbar { height: 6px; border-radius: 99px; background: #ECE7DE; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--teal); }
.pcard.notes { display: flex; flex-direction: column; }
.pcard.notes .plines { margin-top: 0; }
.pmute { color: var(--mute); margin: 0; }

/* Narrower screens: half a laptop screen and tablets */
@media (max-width: 1320px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .side .plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 20px; }
  .side .proj { margin: 0; width: 100%; }
  .side .btn.main { width: auto; }
  .week, .week.n5 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .day { min-height: 0; }
  .day .add { margin-top: 4px; }
}
@media (max-width: 900px) {
  .nav a { padding: 8px 9px; }
  .who .name { display: none; }
}

/* Phones: today first, big checkboxes, menu for everything else */
@media (max-width: 680px) {
  .top-in { padding: 0 12px 0 16px; gap: 8px; }
  .nav, .who { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .menu.open { display: block; background: var(--ink); padding: 4px 12px 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .menu a, .menu button { display: block; width: 100%; text-align: left; color: #fff; text-decoration: none; background: none; border: 0; padding: 14px 8px; font-size: 17px; border-radius: var(--r); cursor: pointer; }
  .menu a.on { background: rgba(255, 255, 255, .1); }
  .menu .who-m { color: #C9D2DE; font-size: 14px; padding: 10px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 6px; }
  .page { padding: 16px; }
  .head h1 { font-size: 22px; }
  .row2 { grid-template-columns: 1fr; }
  .week, .week.n5 { grid-template-columns: minmax(0, 1fr); }
  .task { padding: 10px; font-size: 15px; }
  .chk { width: 22px; height: 22px; }
  .list .chk { width: 30px; height: 30px; }
  .list .task { padding: 16px 14px; min-height: 60px; }
  .free { padding: 8px 10px; font-size: 14px; }
  .weeknav .btn { padding: 0 12px; }
}
@media (max-width: 680px) { .head [data-act="print"] { display: none; } }

/* Work week / Full week switch */
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); padding: 2px; }
.seg button { border: 0; background: none; height: 32px; padding: 0 12px; border-radius: 6px; font-weight: 500; font-size: 14px; color: var(--mute); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--teal-l); color: var(--teal-d); font-weight: 600; }
.seg button:focus-visible { outline: 3px solid rgba(42, 157, 143, .45); }
@media (min-width: 1321px) { .week.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Teal dots on Sand: a backdrop behind boxes only, never under loose text */
.dots { background: radial-gradient(circle, rgba(42, 157, 143, .4) 1.5px, transparent 1.7px) 0 0/18px 18px, var(--sand); }
.hero { border-radius: 14px; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; margin-bottom: 22px; }
.hero .quick { margin: 0; background: var(--white); padding: 10px; border-radius: 12px; box-shadow: 0 1px 0 var(--line); align-self: center; }
.hero.team { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hero.team .card { border: 0; box-shadow: 0 1px 0 var(--line); }
.hero.team .num { font: 600 30px/1 Montserrat, sans-serif; margin: 8px 0 4px; }
.hero.team .bar { height: 10px; margin-top: 12px; }

/* Weather */
.wxi { width: 18px; height: 18px; flex: none; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.wxi .s { stroke: #E9A23B; } .wxi .s circle { fill: #FFE7B3; }
.wxi .c { stroke: #6B7A8F; fill: #fff; } .wxi .c2 { fill: none; }
.wxi .r { stroke: var(--teal); stroke-width: 2; } .wxi .w { fill: #7FB7E0; stroke: #7FB7E0; }
.wxi .b { stroke: #E9A23B; fill: #FFE7B3; stroke-width: 1.5; } .wxi .f { stroke: #8D99AA; }
@media (prefers-reduced-motion: no-preference) {
  .wxi .spin { transform-box: view-box; transform-origin: 12px 12px; animation: wxspin 24s linear infinite; }
  .wxi .fall { animation: wxfall 1.6s ease-in infinite; }
  .wxi .flash { animation: wxflash 3s ease-in-out infinite; }
}
@keyframes wxspin { to { transform: rotate(360deg); } }
@keyframes wxfall { 0% { transform: translateY(-1.5px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(2px); opacity: 0; } }
@keyframes wxflash { 0%, 70%, 100% { opacity: 1; } 78%, 90% { opacity: .2; } }
.wx { display: inline-flex; align-items: center; gap: 3px; }
.wxcard { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; background: var(--white); border-radius: 12px; padding: 10px 16px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); }
.wxcard:hover { box-shadow: 0 0 0 2px var(--teal-l); }
.wxcard .now { display: flex; align-items: center; gap: 12px; }
.wxcard .now > span { display: flex; flex-direction: column; line-height: 1.25; font-size: 13px; color: var(--mute); }
.wxcard .now b { font: 600 20px Montserrat, sans-serif; color: var(--ink); }
.wxcard .lo { font-size: 15px; color: var(--mute); font-weight: 500; }
.wxi.big { width: 44px; height: 44px; padding: 6px; background: var(--sand); border-radius: 12px; stroke-width: 1.5; }
.rainchip { display: inline-block; width: fit-content; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--teal-d); background: var(--teal-l); border-radius: 99px; padding: 2px 8px; }
.wxcard .next { display: flex; gap: 10px; border-left: 1px solid var(--line); padding-left: 16px; }
.wxcard .nd { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--mute); }
.wxcard .nd b { color: var(--ink); font-weight: 600; font-size: 13px; }
.wxcard .nd .wxi { width: 22px; height: 22px; }
.wxcard .place { grid-column: 1 / -1; font-size: 12px; color: var(--mute); margin-top: 4px; }
.wxcard.off .now b { font-size: 16px; }
@media (max-width: 860px) { .hero, .hero.team { grid-template-columns: minmax(0, 1fr); } .wxcard { justify-content: start; } }
@media (max-width: 440px) { .wxcard { grid-template-columns: minmax(0, 1fr); } .wxcard .next { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; justify-content: space-between; } }
.pt > span { text-wrap: pretty; }
