/* Enconsta portal — white sidebar, logo blues, Inter. */
:root {
  --navy: #213F98;
  --navy-dark: #16296B;
  --blue: #4060C0;
  --blue-light: #4F71D4;
  --tint: #EEF2FB;
  --ink: #0F172A;
  --text: #1F2937;
  --text-2: #374151;
  --muted: #5B6475;
  --line: #E3E7EF;
  --line-2: #EEF0F5;
  --field: #CBD2E0;
  --bg: #F5F7FB;
  --ok-bg: #E7F5EE; --ok: #1F6B45;
  --warn-bg: #FFF4E0; --warn: #9A4A00;
  --bad-bg: #FDECEA; --bad: #B42318;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Layout */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; }
.sidebar { flex: 0 0 248px; background: #fff; border-right: 1px solid var(--line); padding: 22px 14px; display: flex; flex-direction: column; gap: 22px; }
.sidebar .logo { width: 148px; margin: 0 8px; display: block; }
.side-head { display: flex; align-items: center; justify-content: space-between; }
.sidebar .menu-btn { display: none; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { margin: 0 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.nav a, .nav span.disabled { white-space: nowrap; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a.active { background: var(--tint); color: var(--navy); font-weight: 600; }
.nav span.disabled { color: #8A93A5; cursor: default; }
.nav .soon { margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.nav .badge { margin-left: auto; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.side-user .name { font-size: 14px; font-weight: 600; color: var(--ink); display: block; }
.side-user .role { font-size: 12px; color: var(--muted); display: block; }
.main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 32px; background: #fff; border-bottom: 1px solid var(--line); }
.search { flex: 1 1 260px; max-width: 420px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); }
.search input { border: 0; background: transparent; font: inherit; font-size: 14px; flex: 1; outline: none; color: var(--ink); min-width: 0; }
.topbar .company { margin-left: auto; font-size: 13px; color: var(--muted); }
.icon-btn { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); cursor: pointer; text-decoration: none; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 999px; background: #C2410C; }
.content { padding: 32px; display: flex; flex-direction: column; gap: 24px; max-width: 1760px; width: 100%; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head .sub { font-size: 15px; color: var(--muted); margin-top: 4px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 0.04em; text-transform: uppercase; }

/* Building blocks */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { flex: 1 1 220px; min-width: 0; }
.cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.cols > .wide { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cols > .narrow { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.row > .tile { max-width: none; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tile .title { font-size: 15px; font-weight: 600; color: var(--ink); }
.tile .text { font-size: 14px; color: var(--muted); }
.tile .link { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: none; }
.chip { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.grey { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 72px; height: 72px; font-size: 22px; }
.avatar.soft { background: var(--tint); color: var(--navy); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--field); background: #fff; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bg); color: var(--ink); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-dark); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; height: 48px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field input[type=time], .field input[type=url], .field input[type=tel], .field input[type=number], .field input[type=search], .field select, .field textarea, .input {
  height: 44px; padding: 0 12px; font: inherit; font-size: 15px; border: 1px solid var(--field); border-radius: 8px; color: var(--ink); background: #fff; width: 100%;
}
.field textarea { height: auto; padding: 10px 12px; }
.field .help { font-size: 13px; color: var(--muted); }
.field .errorlist, .errorlist { list-style: none; margin: 0; padding: 0; color: var(--bad); font-size: 13px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
fieldset.group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
fieldset.group legend { font-size: 16px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 14px; }
hr.sep { border: 0; border-top: 1px solid var(--line-2); margin: 4px 0; width: 100%; }

/* Messages */
.alert { border-radius: 8px; padding: 12px 14px; font-size: 14px; background: var(--tint); color: var(--ink); }
.alert.success { background: var(--ok-bg); color: var(--ok); }
.alert.error { background: var(--bad-bg); color: var(--bad); }
.alert.warning { background: var(--warn-bg); color: var(--warn); }

/* Tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table td.strong { color: var(--ink); font-weight: 600; }
.person-cell { display: flex; align-items: center; gap: 10px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters .input, .filters select { height: 40px; width: auto; min-width: 160px; border: 1px solid var(--field); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }

/* Team cards */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; color: var(--text); }
.person:hover { border-color: var(--blue-light); color: var(--text); }
.person .name { font-weight: 600; color: var(--ink); }
.person .meta { font-size: 13px; color: var(--muted); }
dl.facts { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; color: var(--ink); }

/* Banner */
.banner { position: relative; min-height: 240px; border-radius: 14px; overflow: hidden; background: #1B2C5E center / cover no-repeat; color: #fff; }
.banner .tint { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.banner .inner { position: relative; min-height: 240px; padding: 26px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.banner .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.banner .date { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.92); }
.banner .time { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.banner .time small { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.82); }
.banner .cities { display: flex; flex-wrap: wrap; gap: 8px; }
.banner .city { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); font-size: 13px; }
.banner .city b { font-weight: 600; }
.banner .city .local { color: rgba(255,255,255,0.82); }
.banner .message { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: #fff; }

/* Sign-in pages */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; background: #fff; }
.auth .brand { flex: 1 1 480px; background: var(--navy); color: #fff; padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 340px; }
.auth .brand img { width: 200px; display: block; }
.auth .brand h1 { color: #fff; font-size: 40px; line-height: 1.15; max-width: 520px; letter-spacing: -0.02em; }
.auth .brand p { color: #DCE3F7; font-size: 17px; max-width: 520px; margin-top: 18px; }
.auth .brand .foot { font-size: 13px; color: #C3CDEE; }
.auth .panel { position: relative; flex: 1 1 520px; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.auth form, .auth .box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: 8px; padding: 14px 16px; font-size: 13px; color: var(--text-2); }
.note svg { flex: none; color: var(--navy); margin-top: 1px; }
.qr { align-self: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: 0.08em; background: var(--bg); border-radius: 6px; padding: 8px 10px; word-break: break-all; }

/* Banner admin grid */
.weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.week { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.week.current { border: 2px solid var(--navy); }
.week .thumb { height: 90px; background: #1B2C5E center / cover no-repeat; position: relative; }
.week .thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.week .thumb span { position: absolute; left: 12px; bottom: 10px; z-index: 1; color: #fff; font-size: 12px; font-weight: 600; }
.week .body { padding: 12px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 760px) {
  .sidebar { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; gap: 14px; }
  .sidebar .menu-btn { display: inline-flex; }
  .sidebar:not(.open) .nav { display: none; }
  .content, .topbar { padding-left: 16px; padding-right: 16px; }
  .auth .brand { padding: 40px 28px; }
  .banner .message { font-size: 22px; }
}

/* Tabs used on Payments and Tasks */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tabs a { padding: 10px 14px; font-size: 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--navy); }
.tabs .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 12px; text-align: center; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bulkbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; background: var(--tint); border-radius: 10px; }
.bulkbar .input { height: 36px; max-width: 360px; }
.small.bad, span.bad { color: var(--bad); }

/* Tasks */
.taskrow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.taskrow:last-child { border-bottom: 0; }
.taskrow .tick input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--navy); cursor: pointer; }
.taskbody { flex: 1; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: inherit; min-width: 0; }
.tasktitle { color: var(--ink); font-weight: 600; }
.taskrow.done .tasktitle { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.taskrow.flagged { background: linear-gradient(90deg, var(--bad-bg), transparent 60%); }
.taskmeta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.whoset { display: flex; flex-wrap: wrap; gap: 4px; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.done { background: var(--ok-bg); color: var(--ok); }
.avatar.flagged { background: var(--bad-bg); color: var(--bad); }
.avatar.pending { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.comment { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.comment img.attach { max-width: 320px; max-height: 240px; border-radius: 8px; border: 1px solid var(--line); display: block; margin-top: 6px; }
.likebtn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; cursor: pointer; color: var(--text-2); }
.likebtn.on { background: var(--tint); color: var(--navy); border-color: var(--tint); font-weight: 600; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.assignees { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; max-height: 260px; overflow: auto; padding: 10px; border: 1px solid var(--field); border-radius: 10px; }
.assignees label { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 14px; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery figure { margin: 0; position: relative; }
.gallery img { height: 110px; border-radius: 8px; border: 1px solid var(--line); display: block; }
@media (max-width: 640px) { .taskrow { flex-wrap: wrap; } .taskmeta { flex-direction: row; align-items: center; width: 100%; padding-left: 34px; } }
.drop { display: block; border: 2px dashed var(--field); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); cursor: pointer; }
.drop.over { border-color: var(--navy); background: var(--tint); }
details > summary { list-style: none; cursor: pointer; } details > summary::-webkit-details-marker { display: none; }
.warn-text { color: var(--warn); }

/* Sign-in: animated plant behind a single white card */
body.signin { min-height: 100vh; margin: 0; display: flex; align-items: flex-start; justify-content: center; padding: max(48px, 11vh) 16px 32vh; background: #0B1C55; overflow-x: hidden; }
#plant { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.signin-card { position: relative; z-index: 1; width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 36px 32px 32px;
  box-shadow: 0 24px 60px rgba(5, 14, 48, 0.45), 0 2px 8px rgba(5, 14, 48, 0.25); display: flex; flex-direction: column; gap: 24px; }
.signin-logo { width: 190px; height: auto; display: block; margin: 0 auto 4px; }
.signin-card form, .signin-card .box { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: none; }
.signin-card h2 { font-size: 20px !important; text-align: center; }
@media (max-height: 700px) { body.signin { padding-top: 24px; padding-bottom: 24px; } }
.ms-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; font-size: 15px; }
.outage-bar { background: var(--warn-bg); color: var(--warn); padding: 8px 16px; font-size: 14px; text-align: center; }
.outage-bar a { color: inherit; font-weight: 600; }

/* Sidebar and top bar stay put while the page scrolls (desktop) */
@media (min-width: 761px) {
  .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; align-self: flex-start; }
  .topbar { position: sticky; top: 0; z-index: 30; }
  .app { background: linear-gradient(90deg, #fff 0 247px, var(--line) 247px 248px, transparent 248px); }
}

/* Plain dropdowns: no system gradient, one flat chevron */
select:not([multiple]):not([size]) {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6475' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
  padding-right: 34px;
}
select:not([multiple]):not([size]):not(.input):not(.field select):not(.filters select) { border: 1px solid var(--field); border-radius: 8px; padding-left: 10px; height: 36px; font: inherit; font-size: 14px; color: var(--ink); }

/* Profile photo: click to change */
.photo-edit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.photo-edit label.avatar { position: relative; cursor: pointer; }
.photo-edit .photo-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(15, 23, 42, 0.55); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .15s; }
.photo-edit label.avatar:hover .photo-overlay, .photo-edit input:focus-visible + .photo-overlay, .photo-edit label.avatar:focus-within .photo-overlay { opacity: 1; }
@media (hover: none) { .photo-edit .photo-overlay { opacity: 1; background: rgba(15, 23, 42, 0.35); } }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: stretch; }
.project-card { gap: 8px; }
.project-title { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.project-title .code { color: var(--navy); }
.project-title:hover { text-decoration: underline; }

/* Home: one grid that fills the width at every size */
.home-grid { display: grid; gap: 20px; align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "notices" "pending" "calendar" "projects" "team" "tools"; }
.home-grid > .card h2 { font-size: 16px; }
.area-notices { grid-area: notices; } .area-pending { grid-area: pending; } .area-projects { grid-area: projects; }
.area-actions { grid-area: actions; } .area-team { grid-area: team; } .area-tools { grid-area: tools; } .area-calendar { grid-area: calendar; }
.home-main, .home-side { display: contents; }
@media (min-width: 1000px) {
  .home-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: none; }
  .home-main, .home-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .home-main > .card, .home-side > .card { grid-area: auto; }
}
@media (min-width: 1500px) {
  .home-grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.strong-link { font-weight: 600; text-decoration: none; }
.notice-row, .pending-row, .project-row { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.card-head + .notice-row, h2 + .pending-row, .card-head + .project-row { border-top: 0; padding-top: 0; }
.notice-title, .pending-row .title { font-weight: 600; color: var(--ink); }
.notice-row:hover .notice-title, .pending-row:hover .title, .project-row:hover span { text-decoration: underline; }
.project-row { flex-direction: row; justify-content: space-between; align-items: center; }
.leave-line { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--tint); }
.quick-links { display: flex; flex-direction: column; }
.quick-links a { padding: 9px 0; border-top: 1px solid var(--line-2); font-weight: 600; text-decoration: none; font-size: 14px; }
.quick-links a:first-child { border-top: 0; }
.quick-links a::after { content: " →"; }
.notice { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.notice:first-child { border-top: 0; padding-top: 0; }

/* Signature and stamp (Settings › Company) */
.seal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.seal-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.seal-preview { height: 140px; display: flex; align-items: center; justify-content: center; background: repeating-conic-gradient(#F3F5F9 0% 25%, #fff 0% 50%) 50% / 16px 16px; border-radius: 8px; }
.seal-preview img { max-height: 124px; max-width: 100%; }
.seal-form { display: flex; flex-direction: column; gap: 8px; }

/* Reimbursement claim rows */
.item-row { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.item-row.optional { border-style: dashed; }
.item-row .item-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.item-row .item-head .remove-row { margin-left: auto; }
.item-row.optional .field > label > .muted { display: none; }

/* Signed-in person, top right */
.top-user { display: inline-flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; max-width: 260px; }
.top-user:hover, .top-user.on { background: var(--tint); border-color: #C9D3EE; }
.top-user .avatar { width: 34px; height: 34px; font-size: 13px; flex: none; }
.top-user .who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.top-user .name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-user .role { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Settings › Sidebar switches */
.module-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.module-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.module-row b { display: block; color: var(--ink); font-size: 14px; }
.switch { position: relative; flex: none; width: 40px; height: 22px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: #CBD2E0; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--navy); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 760px) {
  .topbar { flex-wrap: nowrap; gap: 8px; }
  .topbar .company { display: none; }
  .topbar .search { flex: 1 1 auto; min-width: 0; width: auto; }
  .top-user { padding: 0; border: 0; background: none; }
  .top-user .who { display: none; }
}

/* Tool controls in the top bar (Tools page) */
.topbar-tools { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.topbar-tools:empty { display: none; }
.topbar:has(> .topbar-tools:not(:empty)) .search, .topbar:has(> .topbar-tools:not(:empty)) .company { display: none; }
.topbar:has(> .topbar-tools:not(:empty)) { flex-wrap: nowrap; }
.topbar:has(> .topbar-tools:not(:empty)) .top-user { padding: 0; border: 0; background: none; }
.topbar:has(> .topbar-tools:not(:empty)) .top-user .who { display: none; }
.topbar-tools { flex: 1 1 0; }
.ws-tb { display: flex; align-items: center; gap: 8px; width: 100%; }
.ws-tb-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; flex: 1 1 auto; min-width: 0; }
.ws-tb .ws-name { font-weight: 600; font-size: 13px; color: var(--ink); max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-group { display: inline-flex; align-items: center; gap: 2px; padding-left: 8px; border-left: 1px solid var(--line); flex-wrap: wrap; }
.ws-group .actions { margin: 0; gap: 6px; flex-wrap: wrap; }
.ws-group .input { height: 32px; }
.ws-end { margin-left: auto; border-left: 0; flex: none; flex-wrap: nowrap; }
.ws-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.ws-ib { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 30px; height: 32px; padding: 0 5px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--text-2); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
.ws-ib:hover { background: var(--bg); border-color: var(--line); }
.ws-ib.on { background: var(--tint); border-color: #C9D3EE; color: var(--navy); }
.ws-ib.danger:hover { color: var(--bad); }
.ws-ib:focus-visible, .ws-swatch:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.ws-swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: var(--c); cursor: pointer; padding: 0; }
.ws-swatch.on { box-shadow: 0 0 0 2px var(--navy); }
.ws-picker input { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; }
.ws-mini { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ws-mini select { height: 28px !important; padding-left: 6px !important; padding-right: 24px !important; font-size: 12px !important; background-position: right 7px center !important; }
.ws-inline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn.sm svg { vertical-align: -3px; }

/* PDF workspace */
#tools-app.ws-open .tool-menu { display: none; }
#tools-app.ws-open #tool-panel { padding: 14px; }
#tools-app.ws-open #msg { position: fixed; right: 24px; bottom: 24px; z-index: 60; max-width: 420px; }
#tools-app.ws-open #msg:empty { display: none; }
.ws { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 16px; align-items: start; }
.ws-pages { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; }
.ws-pageblock { scroll-margin-top: calc(var(--topbar-h, 66px) + 12px); }
.ws-page { position: relative; background: #fff; box-shadow: 0 1px 4px rgba(16, 24, 40, .18); }
.ws-page canvas { display: block; }
.ws-svg { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.ws-layer { position: absolute; inset: 0; }
.ws-drawing .ws-layer { cursor: crosshair; touch-action: none; }
.ws-pagelabel { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.ws-selbox { fill: none; stroke: #2E90FA; stroke-width: 1; stroke-dasharray: 4 3; }
.ws-handle { fill: #fff; stroke: #2E90FA; stroke-width: 1.5; }
.ws-editor { position: absolute; z-index: 5; min-width: 120px; border: 1px dashed #2E90FA; background: rgba(255, 255, 255, .92); font-family: Helvetica, Arial, sans-serif; line-height: 1.25; padding: 0; margin: 0; resize: none; overflow: hidden; outline: none; white-space: pre; }
.ws-editor.note { background: #FFF3B0; border: 1px solid #E0C200; padding: 3px; margin: -4px 0 0 -4px; }
.ws-side { position: sticky; top: calc(var(--topbar-h, 66px) + 12px); max-height: calc(100vh - var(--topbar-h, 66px) - 24px); overflow-y: auto; border-left: 1px solid var(--line); padding-left: 12px; }
.ws-side-bar { display: flex; flex-wrap: wrap; gap: 2px; position: sticky; top: 0; background: #fff; padding-bottom: 6px; z-index: 1; }
.ws-side-note { margin: 0 0 8px; }
.ws-thumbs { display: flex; flex-direction: column; gap: 10px; }
.ws-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; font: inherit; font-size: 12px; color: var(--muted); }
.ws-thumb canvas { box-shadow: 0 1px 3px rgba(16, 24, 40, .2); background: #fff; }
.ws-thumb.cur { background: var(--bg); }
.ws-thumb.on { border-color: var(--navy); background: var(--tint); color: var(--navy); font-weight: 600; }
@media (max-width: 760px) {
  .topbar:has(> .topbar-tools:not(:empty)) { position: sticky; top: 0; z-index: 30; flex-wrap: wrap; }
  .topbar-tools { order: 9; flex-basis: 100%; overflow-x: auto; }
  .ws-tb { flex-wrap: nowrap; }
  .ws { grid-template-columns: 1fr; }
  .ws-side { position: static; max-height: none; border-left: 0; padding-left: 0; order: -1; }
  .ws-thumbs { flex-direction: row; overflow-x: auto; }
}
.ws-pop-wrap { position: relative; display: inline-flex; }
.ws-cur { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.ws-pop { position: absolute; top: 38px; left: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 24px); gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 24, 40, .14); }
.ws-pop[hidden] { display: none; }
.ws-mini svg { color: var(--muted); }
.ws-pageno { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.ws { grid-template-columns: minmax(0, 1fr) 190px; }
@media (max-width: 1280px) { .ws-tb .ws-name { display: none; } }
.topbar-tools .actions { gap: 4px; }
.topbar-tools .btn.sm { height: 30px; padding: 0 9px; font-size: 12px; }
.topbar-tools .btn.primary:not(.sm) { height: 32px; padding: 0 12px; font-size: 13px; }
.topbar-tools .input, .topbar-tools select.input { height: 30px !important; font-size: 13px; padding-top: 0; padding-bottom: 0; }
.topbar-tools input[type=color] { width: 30px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 6px; }
.topbar-tools .small, .topbar-tools .check { font-size: 12px; }
.topbar-tools input[type=range] { width: 90px; }
@media (max-width: 760px) {
  .ws { grid-template-columns: 1fr; }
  .ws-side { position: static; max-height: none; border-left: 0; padding-left: 0; order: -1; }
  .ws-side-note { display: none; }
  .ws-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .ws-thumb canvas { width: 72px !important; height: auto !important; }
  .ws-tb-main { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .ws-pop { position: fixed; top: calc(var(--topbar-h, 120px) + 4px); left: 16px; }
  .ws-tb .ws-name { display: none; }
  #tools-app.ws-open { margin-top: -8px; }
  .tools-head { display: none; }
  #tools-app.ws-open #tool-panel { padding: 8px; }
}
@media (max-width: 760px) {
  .ws-tb-main .ws-group, .ws-tb-main .ws-name { flex: none; flex-wrap: nowrap; }
  .ws-tb-main { padding-bottom: 4px; }
}

/* PDF editor: status, save menu, dialogs, drafts */
.ws-status { color: var(--muted); white-space: nowrap; padding-left: 8px; }
.ws-status.ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.ws-status.bad { color: var(--bad); }
.ws-ib:disabled { opacity: .35; cursor: default; background: transparent; border-color: transparent; }
.ws-split { display: inline-flex; }
.ws-split #ws-save { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ws-split .ws-caret { border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 0 6px; border-left: 1px solid rgba(255, 255, 255, .35); }
.ws-menu { position: absolute; right: 0; top: 38px; z-index: 40; display: flex; flex-direction: column; min-width: 220px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 24, 40, .14); }
.ws-menu[hidden] { display: none; }
.ws-menu button { text-align: left; padding: 9px 10px; border: 0; background: none; border-radius: 6px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.ws-menu button:hover, .ws-menu button:focus-visible { background: var(--bg); }
.ed-modal { position: fixed; inset: 0; z-index: 100; background: rgba(16, 24, 40, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ed-dialog { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; gap: 12px; }
.ed-dialog .actions { flex-wrap: wrap; }
.sig-pad { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 1px solid var(--field); border-radius: 8px; background: #fff; touch-action: none; }
.draft-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.draft-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.draft-row .draft-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.draft-row .draft-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.h3 { font-size: 15px; margin: 0; }
@media (max-width: 760px) { .ws-status { display: none; } }

/* Live home banner (city scene by time of day, weather and festival) */
.banner.live { background: linear-gradient(180deg, #2C4A8C, #1B2C5E); min-height: 250px; }
.banner.live .bn-holder, .banner.live .bn-scene { position: absolute; inset: 0; }
.banner.live .bn-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.banner.live .inner { min-height: 250px; z-index: 1; }
.banner.live .top { flex-wrap: nowrap; }
.banner.live .date, .banner.live .time { text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.banner.live .cities { justify-content: flex-end; }
.banner.live .city { font: inherit; font-size: 13px; color: #fff; cursor: pointer; text-align: left; background: rgba(10, 18, 45, .3); border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.banner.live .city b { display: block; }
.banner.live .city:hover { background: rgba(10, 18, 45, .45); }
.banner.live .city.on { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: #fff; }
.banner.live .city.on svg { color: var(--navy); }
.banner.live .city:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bn-greet { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.banner.live .message { text-shadow: 0 2px 6px rgba(0, 0, 0, .4); max-width: 82%; text-wrap: balance; }
.banner.live .message.festive { font-size: 24px; }
@media (max-width: 760px) {
  .banner.live, .banner.live .inner { min-height: 270px; }
  .banner.live .inner { padding: 16px; }
  .banner.live .cities { flex-direction: column; align-items: flex-end; flex-wrap: nowrap; gap: 5px; }
  .banner.live .city { padding: 5px 9px; gap: 6px; font-size: 12px; }
  .banner.live .city svg { width: 16px; height: 16px; }
  .banner.live .city .wtxt { display: none; }
  .banner.live .message, .banner.live .message.festive { font-size: 18px; max-width: 100%; }
}
.week-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.week-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; font-size: 14px; }
.week-row .wk { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.week-row .txt { color: var(--ink); font-weight: 500; }
.week-row.current { border-color: var(--navy); }
.week-row:hover { border-color: #C9D3EE; }

/* CV viewer */
.cv-frame { width: 100%; height: calc(100vh - 230px); min-height: 520px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cv-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; background: var(--tint); }
.cv-row .cv-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.cv-row .cv-name:hover { text-decoration: underline; }

/* Type-to-search people picker */
.pp { position: relative; }
.pp-field { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--field); border-radius: 10px; background: #fff; cursor: text; position: relative; }
.pp-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(33, 63, 152, .15); }
.field .pp .pp-input:focus { box-shadow: none; border: 0; outline: 0; }
.pp-chips { display: contents; list-style: none; margin: 0; padding: 0; }
.pp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 13px; font-weight: 600; }
.pp-chip button { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.pp-chip button:hover, .pp-chip button:focus-visible { background: rgba(33, 63, 152, .15); }
.field .pp .pp-input, .pp .pp-input { flex: 1 1 160px; min-width: 120px; width: auto; height: auto; min-height: 0; border: 0; outline: 0; box-shadow: none; font: inherit; padding: 6px 4px; background: transparent; }
.pp-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 30, 60, .14); max-height: 300px; overflow: auto; }
.pp-list [role=option] { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.pp-list [role=option] b { font-weight: 600; color: var(--ink); }
.pp-list [aria-selected=true], .pp-list [role=option]:hover { background: var(--tint); }
.pp-empty { padding: 8px 10px; color: var(--muted); font-size: 14px; }
.pp-count { margin: 6px 2px 0; }

/* Home calendar */
.cal-nav { display: inline-flex; align-items: center; gap: 4px; }
.cal-nav .btn.icon { width: 30px; padding: 0; justify-content: center; font-size: 18px; line-height: 1; }
.cal-label { min-width: 118px; text-align: center; font-weight: 600; color: var(--ink); font-size: 14px; }
.cal-grid { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-head span { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 2px 0 4px; }
.cal-head .we { color: #b0b6c3; }
.cal-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.cal-cell:hover { background: var(--tint); }
.cal-cell:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.cal-cell.we { color: var(--muted); }
.cal-cell.off { background: #fff5e8; color: #9a5b00; }
.cal-cell.today .n { background: var(--navy); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-weight: 700; }
.cal-cell[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--navy); }
.cal-cell .dots { display: flex; gap: 3px; height: 6px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.holiday { background: #e58a00; } .dot.festival { background: #c0399b; } .dot.leave { background: #2f9e6f; }
.dot.task { background: #d64545; } .dot.meeting { background: #4b53bc; }
.cal-day { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.cal-day-head { font-weight: 600; color: var(--ink); font-size: 14px; margin: 0 0 6px; }
.cal-day ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cal-day li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.4; }
.cal-day li .dot { position: relative; top: -1px; }
.cal-day li .when { min-width: 48px; }
.cal-day li a { color: var(--ink); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; }
.cal-legend .dot { margin-left: 6px; } .cal-legend .dot:first-child { margin-left: 0; }

/* Settings › Backup & import */
.data-cols { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .data-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.data-cols h2, .data-cols + * h2 { font-size: 16px; }
.data-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.data-books { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.data-modes { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.data-modes legend { font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.mode-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.mode-opt:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.mode-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.mode-opt > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mode-opt b { color: var(--ink); }
.data-errors { margin: 10px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.data-notes { margin: 10px 0 0; padding-left: 20px; }
.table td.bad { color: var(--bad); font-weight: 600; }
.table th.num { text-align: right; }
.cal-day li .btn.join { margin-left: auto; height: 26px; padding: 0 10px; font-size: 12px; flex: none; align-self: center; }
.cal-legend .meeting-key { display: inline-flex; align-items: center; gap: 4px; }
.cal-legend .meeting-key[hidden] { display: none; }
.cal-note { margin: 8px 0 0; }
