/* Taskmaster — matches the Coach's Toolbox / Morning Compass look (navy, cobalt, canary, cyber yellow). */
:root {
  --cyber: #F2FF00; --canary: #FFEF73; --cobalt: #0047AB; --navy: #071D49; --white: #FFFFFF;
  --ink: var(--navy); --text: #132C55; --muted: #526686; --paper: #F5F7FF; --line: #D5DFF1; --sage: #EAF0FF;
  --danger: #A02B32; --ok: #1E7B4A; --warn: #8A6A00;
  --radius: 16px;
  font-family: "DM Sans", Arial, sans-serif; color: var(--text); font-size: 15px;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); }
body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
[hidden] { display: none !important; }
a { color: var(--cobalt); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 2.2px; font-weight: 600; }
.brand img { border-radius: 7px; }
.brand b { font-weight: 800; font-size: 16px; letter-spacing: 1.5px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); color: var(--white); border-radius: 9px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.sync { font-size: 11px; color: #7CE0A3; transition: color .2s; }
.sync.busy { color: var(--canary); }
.sync.err { color: #FF8A8A; }
.menu { position: absolute; right: 16px; top: calc(100% + 6px); background: var(--white); color: var(--text); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 20px 60px rgba(7,29,73,.25); padding: 8px; display: grid; min-width: 240px; }
.menu button, .menu a { text-align: left; background: none; border: 0; padding: 11px 12px; border-radius: 9px; font-size: 14px; text-decoration: none; color: inherit; }
.menu button:hover, .menu a:hover { background: var(--sage); }

main { max-width: 1180px; margin: 0 auto; padding: 22px 20px 40px; }
.eyebrow { font-size: 10px; letter-spacing: 1.65px; font-weight: 700; color: var(--cobalt); margin: 0; }
.heading h1, .setup h1 { font-family: Manrope, Arial, sans-serif; font-size: clamp(27px, 3.4vw, 39px); letter-spacing: -1.5px; font-weight: 600;
  margin: 10px 0 8px; color: var(--ink); line-height: 1.2; }
.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.small { font-size: 12px; color: var(--muted); }
.setup { max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin: 20px auto; line-height: 1.6; }

/* Buttons */
.primary { border: 0; background: var(--cobalt); color: var(--white); padding: 12px 19px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.primary:hover { background: var(--navy); }
.secondary { border: 1px solid #B6C9EA; background: var(--white); color: var(--cobalt); padding: 11px 16px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.secondary:hover { border-color: var(--cobalt); }
.secondary.ok { color: var(--ok); border-color: #A9D8BD; }
.quiet { border: 0; background: transparent; font-size: 12px; font-weight: 500; padding: 8px 0; color: var(--cobalt); }
.quiet:hover { text-decoration: underline; }
.danger { color: var(--danger) !important; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.quick { display: flex; gap: 8px; flex: 1 1 340px; max-width: 560px; }
.quick input { flex: 1; min-width: 0; border: 1px solid #B6C9EA; background: var(--white); border-radius: 9px; padding: 11px 12px; font-size: 14px; }

.alert-bar { margin: 18px 0 0; background: var(--canary); color: #4A3B00; border-radius: 12px; padding: 12px 16px; font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.alert-bar button { background: rgba(255,255,255,.6); border: 0; border-radius: 7px; padding: 5px 9px; font-size: 12px; font-weight: 700; }
.install-card { margin: 14px 0 0; background: var(--white); border: 1px dashed #B6C9EA; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.install-card b { color: var(--text); }

/* Board */
.board-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0 14px; flex-wrap: wrap; }
.board-tools p { font-size: 12px; color: var(--muted); margin: 0; }
.board-tools p > span { margin-left: 8px; font-size: 11px; }
.show-sm { display: none; }
.search { display: flex; gap: 8px; align-items: center; border: 1px solid #B6C9EA; background: var(--white); border-radius: 8px; padding: 8px 12px; }
.search input { background: none; border: 0; outline: 0; width: 170px; font-size: 13px; }

.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quadrant { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 200px; transition: box-shadow .15s, outline-color .15s; }
.quadrant.q1 { background: var(--navy); border-color: var(--navy); color: var(--white); }
.quadrant.q2 { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.quadrant.q3 { background: #A9C9F2; border-color: #8DB2E2; color: var(--navy); }
.quadrant.q4 { background: #687382; border-color: #687382; color: var(--white); }
.quadrant-header { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.quad-icon { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: none;
  background: var(--cyber); color: var(--navy); }
.q2 .quad-icon, .q3 .quad-icon { background: var(--white); color: var(--cobalt); }
.q4 .quad-icon { background: var(--white); color: var(--navy); }
.quadrant h2 { font-size: 15px; margin: 0 0 3px; font-weight: 700; }
.quadrant-header p { font-size: 11px; margin: 0; opacity: .85; }
.quadrant-header .count { margin-left: auto; font-size: 12px; opacity: .85; }
.quad-add { margin-left: 8px; background: rgba(255,255,255,.18); border: 0; color: inherit; width: 28px; height: 28px; border-radius: 8px; font-size: 18px; line-height: 1; }
.q3 .quad-add { background: rgba(7,29,73,.1); }
.quadrant.drop { outline: 3px solid #FFD66D; outline-offset: -4px; box-shadow: inset 0 0 0 6px rgba(255,214,109,.25); }

.task-list { display: grid; gap: 9px; min-height: 40px; }
.empty-add { width: 100%; border: 1px dashed rgba(255,255,255,.5); background: transparent; color: inherit; border-radius: 10px; padding: 18px; font-size: 13px; opacity: .85; }
.q3 .empty-add { border-color: rgba(7,29,73,.35); }
.card { background: var(--white); color: var(--navy); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.card-main { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px 8px; cursor: grab; }
.card-title { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; word-wrap: break-word; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 11px; color: var(--muted); }
.badge { border-radius: 5px; padding: 3px 7px; background: var(--sage); color: var(--navy); font-size: 10px; font-weight: 600; }
.badge.soon { background: var(--canary); color: #4A3B00; }
.badge.late { background: #FFE0E0; color: var(--danger); }
.badge.wait { background: #EDE7FF; color: #4B3A99; }
.badge.snz { background: #EEF1F5; color: #4B5563; }
.card-actions { display: flex; gap: 12px; padding: 0 14px 9px; }
.card-actions button { border: 0; background: none; font-size: 11px; padding: 4px 0; color: var(--cobalt); font-weight: 600; }
.card-actions .del { color: var(--danger); }
.card.late { border-left: 4px solid var(--danger); }
.card.soon { border-left: 4px solid #E3B600; }
.card.dragging { opacity: .35; }
.ghost-card { position: fixed; z-index: 100; pointer-events: none; width: 280px; transform: rotate(2deg); box-shadow: 0 18px 40px rgba(7,29,73,.35); opacity: .95; }
.placeholder { height: 6px; border-radius: 3px; background: #FFD66D; }

.board-legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin: 18px 0; }

.done-panel { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.done-head { display: flex; justify-content: space-between; align-items: center; }
.done-head h2 { font-family: Manrope, sans-serif; font-size: 18px; margin: 0; }
.done-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.done-row .t { flex: 1; min-width: 0; }
.done-row .t small { display: block; color: var(--muted); font-size: 11px; }
.done-row.deleted .t span { text-decoration: line-through; color: var(--muted); }

.foot { text-align: center; color: var(--muted); font-size: 11px; margin: 30px 0 0; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200;
  background: var(--navy); color: var(--white); padding: 11px 16px; border-radius: 10px; font-size: 13px; box-shadow: 0 10px 30px rgba(7,29,73,.3);
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast button { background: none; border: 0; color: var(--cyber); font-weight: 700; font-size: 13px; }

/* Dialogs */
dialog { border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; max-width: 640px; width: calc(100% - 28px); color: var(--text);
  box-shadow: 0 35px 100px rgba(7,29,73,.25); max-height: calc(100dvh - 28px); overflow: auto; }
dialog::backdrop { background: rgba(7,29,73,.85); backdrop-filter: blur(4px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sage); font-size: 18px; color: var(--navy); }
dialog h2 { font-family: Manrope, sans-serif; font-weight: 500; font-size: 26px; margin: 0 0 8px; color: var(--ink); }
dialog h3 { font-size: 14px; margin: 14px 0 0; }
dialog label { display: block; font-size: 12px; margin: 16px 0 7px; color: var(--text); }
.opt { color: var(--muted); }
dialog input:not([type=checkbox]), dialog select, dialog textarea { width: 100%; padding: 11px 12px; border: 1px solid #C9D5EA; border-radius: 8px; background: #F7F9FF; font-size: 14px; }
#fTitle { border: 2px solid var(--cobalt); background: var(--white); padding: 13px 14px; font-size: 16px; }
dialog textarea { resize: vertical; min-height: 130px; background: #F9FAF5; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.attach-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.attach-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.attach-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; background: var(--sage); padding: 7px 10px; border-radius: 7px; }
.attach-list button { border: 0; background: none; color: var(--danger); font-size: 12px; }
.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 18px; padding: 12px 0; }
.more summary { font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.inline-field { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.inline-field label { margin: 0; white-space: nowrap; }
.inline-field input { width: auto !important; padding: 6px 8px !important; }
.check { display: flex !important; align-items: center; gap: 10px; font-size: 13px !important; margin-top: 18px !important; }
.check input { width: 18px; height: 18px; accent-color: var(--cobalt); }
.dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
#editActions { display: inline-flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.foot-note { margin-top: 12px; }
.snooze-info { align-self: end; font-size: 12px; color: var(--muted); padding-bottom: 12px; }
.small-dialog { max-width: 480px; }
.small-dialog li { margin: 8px 0; line-height: 1.5; font-size: 14px; }
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dest-grid button { padding: 12px; border-radius: 10px; border: 0; font-weight: 700; font-size: 13px; text-align: left; }
.dest-grid .d1 { background: var(--navy); color: var(--white); }
.dest-grid .d2 { background: var(--cobalt); color: var(--white); }
.dest-grid .d3 { background: #A9C9F2; color: var(--navy); }
.dest-grid .d4 { background: #687382; color: var(--white); }

@media (max-width: 760px) {
  main { padding: 16px 16px 40px; }
  .matrix { grid-template-columns: 1fr; gap: 14px; }
  .quadrant { min-height: 0; padding: 14px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .search input { width: 120px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  dialog { padding: 20px 18px; border-radius: 16px; }
  dialog h2 { font-size: 22px; }
  .quick { flex-basis: 100%; }
  .brand span { font-size: 11px; }
}

/* v2: sign-in, Login button, finished-task tools */
.login-btn { text-decoration: none; }
.menu-user { padding: 10px 12px 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-user b { color: var(--text); }
.signin { max-width: 400px; }
.signin::backdrop { background: rgba(7,29,73,.92); }
.msg-err { color: var(--danger); font-size: 13px; min-height: 1em; margin: 10px 0 0; }
.msg-err.ok { color: var(--text); }
.auth-links { margin-top: 14px; }
.auth-links a { color: var(--text); font-weight: 600; }
.done-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; }
.done-tools input, .done-tools select { border: 1px solid #B6C9EA; background: var(--white); border-radius: 8px; padding: 9px 11px; font-size: 13px; }
.done-tools input { flex: 1; min-width: 160px; }
.done-row .when { white-space: nowrap; }
.card-meta .who { font-weight: 600; color: var(--text); }
.signin[open] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 60; }
body.signed-out::before { content: ""; position: fixed; inset: 0; background: rgba(7,29,73,.92); z-index: 50; }
body.signed-out .topbar { z-index: 70; }
body.signed-out .topbar .brand, body.signed-out .login-btn { position: relative; z-index: 71; }
/* v3: archived button, sticky notes */
.tools-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sticky-btn { background: #E8B400; color: var(--navy); }
.sticky-btn:hover { background: var(--canary); }
.board-wrap { position: relative; }
.sticky-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.sticky { position: absolute; pointer-events: auto; display: flex; flex-direction: column; border-radius: 4px 4px 14px 4px;
  box-shadow: 0 10px 24px rgba(7,29,73,.22), 0 2px 4px rgba(7,29,73,.12); overflow: hidden; min-width: 120px; min-height: 80px; }
.sticky.sel { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.sticky-grip { height: 22px; cursor: grab; touch-action: none; display: flex; justify-content: flex-end; align-items: center; padding: 0 6px;
  background: rgba(0,0,0,.06); }
.sticky-grip:active { cursor: grabbing; }
.sticky-grip span { font-size: 11px; opacity: .55; letter-spacing: 2px; user-select: none; }
.sticky-text { flex: 1; border: 0; background: transparent; resize: none; padding: 8px 12px 10px; outline: none; color: #1d2433; line-height: 1.3; width: 100%; }
.sticky-resize { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; cursor: nwse-resize; touch-action: none;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.18) 50%); }
.s-yellow { background: #FFF27A; } .s-pink { background: #FFC4DD; } .s-blue { background: #BDE3FF; } .s-green { background: #C9F2C2; }
.s-orange { background: #FFD3A6; } .s-purple { background: #DCCBFF; } .s-white { background: #FFFFFF; }
.f-hand { font-family: Caveat, "Comic Sans MS", cursive; } .f-sans { font-family: "DM Sans", Arial, sans-serif; }
.f-serif { font-family: Georgia, "Times New Roman", serif; } .f-mono { font-family: "Courier New", monospace; }
.sticky-bar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 150;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(7,29,73,.25);
  padding: 10px 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; max-width: calc(100% - 24px); }
.sb-colors { display: flex; gap: 6px; }
.sb-colors button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(7,29,73,.15); padding: 0; }
.sb-colors button.on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--white) inset; }
.sticky-bar select { border: 1px solid #C9D5EA; border-radius: 8px; padding: 7px 8px; font-size: 13px; background: #F7F9FF; }
.sb-btn { border: 1px solid #C9D5EA; background: var(--white); border-radius: 8px; padding: 7px 11px; font-size: 13px; font-weight: 600; color: var(--navy); }
.sb-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
@media (max-width: 760px) { .tools-right { width: 100%; justify-content: space-between; } }
/* microphone */
.mic-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; }
.mic-btn.listening { background: #C62828; border-color: #C62828; color: #fff; animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(198,40,40,.45); } 50% { box-shadow: 0 0 0 8px rgba(198,40,40,0); } }
/* v5: notes anywhere on the page */
.sticky-layer { position: absolute; inset: 0 auto auto 0; width: 100%; height: 0; overflow: visible; pointer-events: none; z-index: 15; }
body.signed-out .sticky-layer { display: none; }
/* v26: Sticky Desk (a second page that slides in from the right) */
.desk-plane { position: relative; margin-top: 18px; min-height: 70vh; border: 2px dashed #C9D5EA; border-radius: var(--radius);
  background-color: #FBFCFE; background-image: radial-gradient(#D5DEEE 1.2px, transparent 1.2px); background-size: 22px 22px; }
.desk-empty { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); width: min(420px, 86%); text-align: center; color: #6B7A90; font-size: 14px; margin: 0; }
body.sliding { overflow-x: hidden; }
body.sliding .foot { visibility: hidden; }
.slide-move { transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.desk-btn { white-space: nowrap; }
/* v28: page tabs (To-Do | Board | Desk) and the To-Do list */
.views { display: flex; border: 1px solid rgba(255,255,255,.45); border-radius: 9px; overflow: hidden; }
.views button { background: transparent; border: 0; color: var(--white); font-size: 13px; font-weight: 600; padding: 8px 12px; white-space: nowrap; cursor: pointer; }
.views button + button { border-left: 1px solid rgba(255,255,255,.3); }
.views button[aria-current="page"] { background: var(--white); color: var(--navy); }
.todo .heading, .todo-list, #todo .fa-panel { max-width: 760px; }
.todo-add { display: flex; gap: 10px; margin-top: 16px; }
.todo-add input { flex: 1; min-width: 0; border: 1px solid #C9D5EA; border-radius: 12px; padding: 13px 14px; font-size: 16px; background: var(--white); }
.todo-add input:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.todo-list { list-style: none; margin: 18px 0 0; padding: 4px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.todo-item { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #EEF2F8; }
.todo-item:last-child { border-bottom: 0; }
.todo-check { width: 24px; height: 24px; flex: none; border: 2px solid #9FB3D4; border-radius: 6px; background: var(--white); padding: 0; position: relative; cursor: pointer; }
.todo-check:hover { border-color: var(--cobalt); }
.todo-check.on { background: var(--cobalt); border-color: var(--cobalt); }
.todo-check.on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.todo-text { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--text); display: flex; flex-direction: column; gap: 3px; cursor: pointer; overflow-wrap: anywhere; }
.todo-text small { font-size: 12px; color: #6B7A90; }
.todo-item.late .todo-text small { color: #C62828; font-weight: 600; }
.todo-item.done { opacity: .72; }
.todo-item.done .todo-text { cursor: default; }
.todo-item.done .todo-text span { text-decoration: line-through; color: #8A97AB; }
/* right side: a tick box that mirrors the left one, then × to delete */
.todo-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.todo-del { display: inline-block; width: 28px; text-align: center; background: none; border: 0; font-size: 22px; line-height: 1; color: #A9B8D0; padding: 2px 0; cursor: pointer; }
.todo-del:hover { color: #C62828; }
span.todo-del { cursor: default; }
.todo-empty { padding: 18px 4px; color: #6B7A90; font-size: 14px; }
.fa-act .bTD { width: auto; padding: 0 10px; background: var(--white); color: var(--cobalt); border: 1px solid var(--cobalt); font-weight: 700; }
.fa-manual { display: flex; gap: 8px; margin: 8px 0 6px; }
.fa-manual input { flex: 1; min-width: 0; border: 1px solid #C9D5EA; border-radius: 9px; padding: 9px 11px; font-size: 14px; background: var(--white); }
@media (max-width: 480px) { .views button { padding: 7px 8px; font-size: 12px; } .hide-xs { display: none; } .brand span { display: none; } }
#zoomNotesConnect { margin: 4px 0 2px; }
.due-pair { display: flex; gap: 8px; }
/* phones: a big red microphone in the space beside the board heading */
.mic-big { display: none; }
@media (max-width: 760px) {
  #main .heading { position: relative; }
  #main .heading > .eyebrow, #main .heading > h1, #main .heading > .sub { padding-right: 80px; }
  .mic-big { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; right: 0; width: 64px; height: 112px; border-radius: 18px;
    border: 0; background: #D32F2F; color: #fff; box-shadow: 0 8px 20px rgba(211,47,47,.35); cursor: pointer; z-index: 2; }
  .mic-big:active { transform: scale(.95); }
  .mic-big.listening { animation: micpulse 1.2s ease-in-out infinite; }
}
.due-pair input[type="date"] { flex: 1.35; min-width: 0; }
.due-pair input[type="time"] { flex: 1; min-width: 0; }
/* v27: the edit bar only opens from a note's Edit button */
.sticky-grip { justify-content: space-between; }
.sticky-edit { border: 0; background: rgba(7,29,73,.08); color: var(--navy); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 6px; cursor: pointer; opacity: .75; }
.sticky-edit:hover, .sticky.sel .sticky-edit { opacity: 1; background: rgba(7,29,73,.16); }
.desk-btn.on { background: var(--white); color: var(--navy); }
@media (max-width: 480px) { .top-actions { gap: 6px; } .top-actions .ghost { padding: 7px 8px; font-size: 12px; white-space: nowrap; } .topbar { padding-left: 14px; padding-right: 14px; gap: 8px; } }

/* v6: calendars */
.cal-panel { margin: 18px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.cal-head { display: flex; align-items: center; gap: 12px; }
.cal-head h2 { font-family: Manrope, sans-serif; font-size: 17px; margin: 0; color: var(--ink); }
.cal-head .small { flex: 1; }
.cal-list { display: grid; gap: 2px; margin-top: 8px; max-height: 260px; overflow: auto; }
.cal-day { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--cobalt); margin: 10px 0 4px; text-transform: uppercase; }
.cal-ev { display: grid; grid-template-columns: 12px 92px 1fr auto; gap: 10px; align-items: center; padding: 6px 4px; border-radius: 8px; font-size: 13px; }
.cal-ev:hover { background: var(--sage); }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; }
.cal-time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.cal-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-title small { color: var(--muted); margin-left: 6px; }
.cal-ev button { border: 1px solid #B6C9EA; background: var(--white); color: var(--cobalt); border-radius: 7px; padding: 4px 8px; font-size: 11px; font-weight: 700; }
.cal-feeds { display: grid; gap: 8px; margin: 12px 0; }
.cal-feed { display: flex; align-items: center; gap: 10px; background: var(--sage); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.cal-feed .t { flex: 1; min-width: 0; } .cal-feed .t small { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.cal-feed .err { color: var(--danger); }
.steps { font-size: 13px; line-height: 1.6; padding-left: 20px; color: var(--text); }
.feed-url { display: block; word-break: break-all; background: var(--sage); padding: 10px; border-radius: 8px; font-size: 12px; margin: 8px 0; }
@media (max-width: 760px) { .cal-ev { grid-template-columns: 10px 70px 1fr; } .cal-ev button { grid-column: 3; justify-self: start; } }
/* v7: calendar views */
.cal-head { flex-wrap: wrap; }
.cal-spacer { flex: 1; }
.cal-views { display: inline-flex; border: 1px solid #B6C9EA; border-radius: 9px; overflow: hidden; }
.cal-views button { border: 0; background: var(--white); color: var(--cobalt); padding: 7px 14px; font-size: 13px; font-weight: 700; }
.cal-views button + button { border-left: 1px solid #B6C9EA; }
.cal-views button[aria-pressed="true"] { background: var(--cobalt); color: var(--white); }
.cal-nav { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; flex-wrap: wrap; }
.cal-title-label { font-family: Manrope, sans-serif; font-size: 16px; color: var(--ink); margin: 0 6px; }
.cal-nav input[type=date] { margin-left: auto; border: 1px solid #C9D5EA; border-radius: 8px; padding: 6px 8px; font-size: 13px; background: #F7F9FF; }
.cal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; align-items: center; }
.cal-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #C9D5EA; background: var(--white); border-radius: 20px; padding: 5px 11px; font-size: 12px; font-weight: 600; color: var(--text); }
.cal-chip.off { opacity: .45; text-decoration: line-through; }
#calNote:empty { display: none; }
.cal-daylist { display: grid; gap: 2px; }
.cal-empty { padding: 10px 4px; }
.cal-ev.task .cal-title { font-weight: 600; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-col { background: #F7F9FF; border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-height: 120px; display: flex; flex-direction: column; gap: 4px; }
.cal-col.today { border-color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.cal-colhead { border: 0; background: none; text-align: left; font-size: 12px; color: var(--muted); padding: 2px 2px 4px; }
.cal-colhead b { color: var(--ink); font-size: 15px; }
.cal-none { color: #B6C2D6; font-size: 12px; padding: 2px; }
.cal-pill { display: block; width: 100%; text-align: left; border: 0; border-left: 4px solid var(--c); background: var(--white); border-radius: 6px; padding: 4px 6px;
  font-size: 11.5px; line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(7,29,73,.08); }
.cal-pill b { font-weight: 700; color: var(--muted); }
.cal-pill.task { background: #FFFBE6; font-weight: 600; }
.cal-pill.late { background: #FFE0E0; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; padding: 2px 0; }
.cal-cell { background: #F7F9FF; border: 1px solid var(--line); border-radius: 8px; min-height: 84px; padding: 4px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; overflow: hidden; }
.cal-cell.other { opacity: .5; }
.cal-cell.today { border-color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.cal-num { font-size: 12px; font-weight: 700; color: var(--ink); }
.cal-more { font-size: 11px; color: var(--cobalt); font-weight: 600; }
@media (max-width: 760px) {
  .cal-week { grid-template-columns: 1fr; }
  .cal-col { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cal-colhead { width: 70px; }
  .cal-col .cal-pill { width: auto; flex: 1 1 160px; }
  .cal-cell { min-height: 54px; }
  .cal-cell .cal-pill { font-size: 0; padding: 0; height: 6px; border-left-width: 0; background: var(--c); }
  .cal-cell .cal-pill.task { background: #E8B400; }
  .cal-more { font-size: 10px; }
  .cal-nav input[type=date] { margin-left: 0; }
}

/* v11: Settings add-ons and Fathom action items */
.opt-row { align-items: flex-start !important; }
.opt-row input { margin-top: 3px; flex: none; }
.opt-row small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.opt-fields { margin: 6px 0 4px 28px; }
.opt-fields input[type=password], .opt-fields input:not([type]) { width: 100%; }
.fa-count { font-size: 12px; font-weight: 700; background: var(--cyber); color: var(--navy); border-radius: 10px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.fa-count:empty { display: none; }
#faList { display: grid; gap: 8px; margin-top: 8px; }
.fa-row { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fa-text { flex: 1; min-width: 0; }
.fa-text b { display: block; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.fa-text small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.fa-text a { color: var(--cobalt); }
.fa-act { display: flex; gap: 6px; flex: none; align-items: center; }
.fa-act button { width: 30px; height: 28px; border-radius: 6px; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.fa-act .b1 { background: var(--navy); color: #fff; }
.fa-act .b2 { background: var(--cobalt); color: #fff; }
.fa-act .b3 { background: #A9C9F2; color: var(--navy); }
.fa-act .b4 { background: #687382; color: #fff; }
.fa-act .fa-clear { width: auto; padding: 0 10px; background: #EEF1F5; color: var(--text); font-weight: 600; }
@media (max-width: 600px) { .fa-row { flex-direction: column; align-items: stretch; } .fa-act { justify-content: flex-start; } }
/* v12: panel headers - same buttons in the same spots (Calendar and Meeting action items) */
#calSettingsBtn, #faCheck { width: 104px; text-align: center; padding-left: 0; padding-right: 0; }
#calToggle, #faToggle { width: 64px; text-align: center; padding-left: 0; padding-right: 0; }
@media (max-width: 700px) {
  .cal-head { display: grid; grid-template-columns: minmax(0, 1fr) 104px 64px; align-items: center; gap: 8px; }
  .cal-head h2 { grid-column: 1; grid-row: 1; font-size: 16px; line-height: 1.25; }
  .cal-head .cal-spacer { display: none; }
  #calSettingsBtn, #faCheck { grid-column: 2; grid-row: 1; }
  #calToggle, #faToggle { grid-column: 3; grid-row: 1; }
  .cal-head .cal-views { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
/* v14: Comu connect bookmark */
.bm-link { display: inline-block; background: var(--cobalt); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 7px; cursor: grab; margin-left: 4px; }
#comuState { margin: 4px 0 2px; }
/* v15: open straight into the microphone */
.voice-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(7,29,73,.94); color: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; cursor: pointer; }
.vo-box { max-width: 420px; }
.vo-mic { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--cobalt); color: #fff; }
.voice-overlay.listening .vo-mic { animation: vo-pulse 1.2s ease-in-out infinite; background: #D93A3A; }
@keyframes vo-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,58,58,.55); } 50% { box-shadow: 0 0 0 22px rgba(217,58,58,0); } }
.voice-overlay h2 { font-family: Manrope, sans-serif; font-size: 26px; margin: 0 0 10px; color: #fff; }
.voice-overlay p { font-size: 18px; line-height: 1.4; margin: 0 0 26px; opacity: .9; min-height: 1.4em; }
.ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 9px; padding: 10px 22px; font-size: 15px; font-weight: 600; }
/* v17: microphone pause setting, Done button */
#setMicPause { width: 100%; padding: 10px 12px; border: 1px solid #C9D5EA; border-radius: 8px; background: #F7F9FF; font-size: 14px; margin-top: 4px; }
.vo-actions { display: flex; gap: 12px; justify-content: center; }
.vo-done { background: #fff; color: var(--navy); border: 0; border-radius: 9px; padding: 10px 26px; font-size: 15px; font-weight: 700; }
/* v19: phone week view - day on the left, that day's items stacked neatly on the right */
@media (max-width: 760px) {
  .cal-week { grid-template-columns: 1fr; gap: 6px; }
  .cal-col { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: start; min-height: 0; padding: 8px 10px 4px; }
  .cal-colhead { grid-column: 1; grid-row: 1 / span 20; padding-bottom: 4px; width: auto; display: flex; flex-direction: column; align-items: flex-start; padding: 2px 0 0; line-height: 1.1; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
  .cal-colhead b { font-size: 18px; letter-spacing: 0; margin-top: 2px; }
  .cal-col .cal-pill { grid-column: 2; width: 100%; flex: none; font-size: 12.5px; padding: 6px 8px; margin-bottom: 4px; }
  .cal-col .cal-none { grid-column: 2; align-self: center; padding: 4px 0 8px; }
  .cal-col:not(.today) .cal-none { font-size: 12px; }
  .cal-col .cal-pill { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
}
/* v20: calendar checkboxes (nicknames), Connect another calendar, setup help */
.cal-check { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #C9D5EA; background: var(--white); border-radius: 20px; padding: 5px 12px 5px 8px; font-size: 12.5px; font-weight: 600; color: var(--text); cursor: pointer; user-select: none; }
.cal-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--cobalt); cursor: pointer; }
.cal-check.off { opacity: .55; }
.cal-check.off .cal-dot { opacity: .5; }
.cal-connect { border: 1px dashed #9DB4DA; background: transparent; color: var(--cobalt); border-radius: 20px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.cal-connect:hover { background: #F2F6FF; }
.cal-add-title { font-family: Manrope, sans-serif; font-size: 16px; color: var(--ink); margin: 18px 0 2px; }
.cal-help h4 { font-size: 13px; margin: 12px 0 2px; color: var(--navy); }
.cal-help .steps { margin-top: 2px; }
.cal-feed button + button { margin-left: 2px; }

/* v22: completed tasks stay on the board, crossed out, at the bottom of their box */
.card.completed { opacity: .72; background: #F4F6FA; }
.card.completed .card-main { cursor: default; }
.card.completed .card-title { text-decoration: line-through; text-decoration-thickness: 2px; color: #6B7280; }
.badge.done { background: #E3F4EA; color: #1E6B43; }
.set-select { width: 100%; padding: 10px 12px; border: 1px solid #C9D5EA; border-radius: 8px; background: #F7F9FF; font-size: 14px; margin-top: 4px; }

/* v23: per-source Check now buttons, setup guides */
.fa-checks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 2px; }
.fa-checks .small { margin: 0 2px 0 0; }
.fa-src { border: 1px solid #B6C9EA; background: var(--white); color: var(--cobalt); border-radius: 16px; padding: 4px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.fa-src:disabled { opacity: .6; cursor: default; }
.fa-src.on { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.fa-src .n { font-weight: 400; margin-left: 4px; }
.setup-help { margin-top: 8px; }
.setup-help .steps li { margin: 5px 0; }
.zoom-desc { user-select: all; margin: 6px 0 2px; font-size: 12px; line-height: 1.45; cursor: text; }
.plan-btns button { flex: 1; min-width: 160px; }
.signup-opt { margin-top: 12px !important; font-weight: 400 !important; line-height: 1.4; }
.signup-opt span { color: var(--muted); }
.signin form { max-height: calc(100vh - 80px); overflow-y: auto; }

.versions h3 { font-family: Manrope, Arial, sans-serif; font-size: 16px; margin: 18px 0 4px; color: var(--navy); }
.versions h3 span { font-family: "DM Sans", Arial, sans-serif; font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.versions ul { margin: 0; padding-left: 20px; }
.versions li { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.menu-ver { font-size: 11px; color: var(--muted); }

/* v39: Menu → Show (calendar, meeting action items per page, dark mode) */
.menu-sep { border-top: 1px solid var(--line); margin: 6px 0 2px; padding: 8px 12px 2px; font-size: 10px; letter-spacing: 1.4px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.menu-sep:empty { padding: 0; margin: 4px 0; }
.menu [data-pref] { display: flex; align-items: center; gap: 10px; }
.menu [data-pref]::before { content: ""; width: 16px; height: 16px; flex: none; border: 2px solid #9FB3D4; border-radius: 4px; box-sizing: border-box; }
.menu [data-pref][aria-checked="true"]::before { background: var(--cobalt) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E"); border-color: var(--cobalt); }
html.no-cal #calPanel, html.no-fa-board #main #faPanel, html.no-fa-todo #todo #faPanel { display: none !important; }

/* Dark mode: page and panels go dark; the four coloured boxes and sticky notes keep their colours */
html.dark { color-scheme: dark;
  --paper: #0B1220; --surface: #141D30; --surface2: #1B2740; --ink: #E8EEFA; --text: #D3DCEC; --muted: #93A3BF; --line: #2A3854; --sage: #22304D;
  --cobalt: #3B78DC; --danger: #FF8A8A; --ok: #6FD39A; --field-line: #34456A; }
html.dark body { color: var(--text); }
html.dark .topbar { background: #071328; border-bottom: 1px solid var(--line); }
html.dark .menu, html.dark .setup, html.dark .secondary, html.dark .quick input, html.dark .install-card, html.dark .search, html.dark .card,
html.dark .done-panel, html.dark dialog, html.dark #fTitle, html.dark .done-tools input, html.dark .done-tools select, html.dark .sticky-bar,
html.dark .sb-btn, html.dark .todo-add input, html.dark .todo-list, html.dark .todo-check, html.dark .fa-act .bTD, html.dark .fa-manual input,
html.dark .cal-panel, html.dark .cal-ev button, html.dark .cal-views button, html.dark .cal-chip, html.dark .cal-pill, html.dark .cal-check, html.dark .fa-src {
  background-color: var(--surface); color: var(--text); }
html.dark .secondary, html.dark .quick input, html.dark .search, html.dark .done-tools input, html.dark .done-tools select, html.dark .sb-btn,
html.dark .todo-add input, html.dark .fa-manual input, html.dark .cal-ev button, html.dark .cal-views, html.dark .cal-views button + button,
html.dark .cal-chip, html.dark .cal-check, html.dark .fa-src, html.dark .install-card, html.dark .cal-nav input[type=date], html.dark .sticky-bar select { border-color: var(--field-line); }
html.dark .secondary, html.dark .cal-ev button, html.dark .cal-views button, html.dark .fa-src, html.dark .fa-act .bTD, html.dark .quiet, html.dark .card-actions button, html.dark .cal-connect { color: #8CB4FF; }
html.dark .fa-act .bTD { border-color: #8CB4FF; }
html.dark .cal-views button[aria-pressed="true"], html.dark .fa-src.on { background: var(--cobalt); color: #fff; }
html.dark a, html.dark .fa-text a, html.dark .eyebrow, html.dark .cal-day, html.dark .cal-more { color: #8CB4FF; }
html.dark .bm-link { color: #fff !important; }
html.dark dialog input:not([type=checkbox]), html.dark dialog select, html.dark dialog textarea, html.dark .set-select, html.dark #setMicPause,
html.dark .cal-nav input[type=date], html.dark .sticky-bar select { background: var(--surface2); border-color: var(--field-line); color: var(--text); }
html.dark #fTitle { border-color: var(--cobalt); }
html.dark .card, html.dark .fa-text b, html.dark .sb-btn, html.dark .cal-help h4, html.dark .versions h3 { color: var(--ink); }
html.dark .close { background: var(--sage); color: var(--ink); }
html.dark .badge { background: var(--sage); color: var(--ink); }
html.dark .badge.soon { background: #4A3B00; color: #FFE58A; }
html.dark .badge.late { background: #4A1C22; color: #FFB3B3; }
html.dark .badge.wait { background: #2E2752; color: #CFC4FF; }
html.dark .badge.snz { background: #263247; color: #C3CCDA; }
html.dark .badge.done { background: #173A28; color: #8FE0B0; }
html.dark .card.completed { background: #111827; }
html.dark .card.completed .card-title, html.dark .todo-item.done .todo-text span { color: #7B879C; }
html.dark .todo-item { border-bottom-color: var(--line); }
html.dark .todo-check { border-color: #5A6F96; }
html.dark .todo-check.on { background: var(--cobalt); border-color: var(--cobalt); }
html.dark .todo-text small, html.dark .todo-empty, html.dark .desk-empty { color: var(--muted); }
html.dark .todo-item.late .todo-text small, html.dark .todo-del:hover { color: #FF8A8A; }
html.dark .todo-del { color: #5A6F96; }
html.dark .fa-act .fa-clear { background: var(--sage); color: var(--text); }
html.dark .fa-row { border-color: var(--line); }
html.dark .cal-col, html.dark .cal-cell { background: #10192B; }
html.dark .cal-none { color: #4F607F; }
html.dark .cal-pill.task { background: #3A3210; }
html.dark .cal-pill.late { background: #4A1C22; }
html.dark .cal-connect { border-color: #4F6A99; }
html.dark .cal-connect:hover { background: var(--sage); }
html.dark .desk-plane { background-color: #0F182A; border-color: var(--field-line); background-image: radial-gradient(#2A3854 1.2px, transparent 1.2px); }
html.dark .alert-bar { background: #3D3410; color: #FFE58A; }
html.dark .alert-bar button { background: rgba(255,255,255,.12); color: #FFE58A; }
html.dark .quadrant.q1 { border-color: #2A3854; }
html.dark .menu { box-shadow: 0 20px 60px rgba(0,0,0,.55); }
html.dark dialog::backdrop { background: rgba(0,0,0,.75); }
html.dark .menu [data-pref]::before { border-color: #5A6F96; }

/* v40: page buttons Task Board | Sticky Desk | To-Do; on phones the two-word ones stack onto two lines */
@media (max-width: 600px) {
  .views button { padding: 4px 9px; font-size: 11.5px; line-height: 1.15; min-height: 34px; }
  .views button span { display: block; }
}

/* v41: countdown timer on list items, TM Time page */
.tmr-btn { border: 1px solid #B6C9EA; background: var(--white); color: var(--cobalt); border-radius: 8px; padding: 5px 9px; font-size: 12px; font-weight: 700; min-width: 54px; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.tmr-btn:hover { border-color: var(--cobalt); }
.tmr-btn.on { background: #C62828; border-color: #C62828; color: #fff; }
.tmr-btn.on.up { animation: micpulse 1.2s ease-in-out infinite; }
.todo-text small.tmr-left { color: #C62828; font-weight: 700; font-variant-numeric: tabular-nums; }
.tmr-now { background: #FFE0E0; color: #8E1C1C; border-radius: 8px; padding: 9px 12px; font-size: 13px; font-weight: 600; }
.opt-fields.off { opacity: .5; }
.tmr-custom { display: grid; grid-template-columns: auto 80px auto 80px; gap: 8px; align-items: center; margin-top: 8px; }
.tmr-custom label { margin: 0 !important; }
#timerForm .opt-row input[type=radio] { width: 18px; height: 18px; accent-color: var(--cobalt); }
html.dark .tmr-btn { background: var(--surface); border-color: var(--field-line); color: #8CB4FF; }
html.dark .tmr-btn.on { background: #C62828; border-color: #C62828; color: #fff; }
html.dark .todo-text small.tmr-left { color: #FF8A8A; }
html.dark .tmr-now { background: #4A1C22; color: #FFB3B3; }
@media (max-width: 600px) {
  .views button { padding: 4px 7px; font-size: 11px; }
  .todo-actions { gap: 4px; }
}
@media (max-width: 400px) { .top-actions .login-btn { padding: 7px 6px; } .views button { padding: 4px 6px; } }

/* v42: Calc page (GPPH calculator). Blue boxes are the ones you type in, like the tracker sheet. */
.calc .heading { max-width: 1000px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 1000px; margin-top: 8px; }
.calc-card { background: var(--white); border: 1px solid var(--line, #DDE5F2); border-radius: 16px; padding: 16px 18px; }
.calc-card h2 { margin: 0 0 10px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #5B6B85); }
.calc-in, .calc-out { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #E3E9F4; font-size: 15px; }
.calc-in > span:first-child, .calc-out > span { color: var(--text, #24324A); }
.calc-box { display: flex; align-items: center; background: #E6F0FF; border: 1px solid #9DBDF0; border-radius: 10px; padding: 0 8px; }
.calc-box i { font-style: normal; color: #2A5BB8; }
.calc-box input { width: 104px; border: 0; background: transparent; padding: 8px 4px; font-size: 16px; text-align: right; color: #1B3F86; font-weight: 600; }
.calc-box input:focus { outline: none; }
.calc-box:focus-within { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.calc-out b { font-variant-numeric: tabular-nums; }
.calc-out.big b { font-size: 20px; }
.calc-out.adj.short b { color: #C0392B; }
.calc-out small { color: var(--muted, #5B6B85); font-size: 12px; }
.calc-total { border-color: #9DBDF0; }
#cClear { margin-top: 12px; }
html.dark .calc-card { background: var(--surface); border-color: var(--line); }
html.dark .calc-in, html.dark .calc-out { border-bottom-color: var(--line); }
html.dark .calc-box { background: #16284A; border-color: #3B78DC; }
html.dark .calc-box i, html.dark .calc-box input { color: #BFD6FF; }
@media (max-width: 780px) {   /* five page buttons: stack the two-word ones sooner so the top bar fits */
  .views button { padding: 4px 8px; font-size: 11.5px; line-height: 1.15; min-height: 34px; }
  .views button span { display: block; }
}
@media (max-width: 600px) {
  .views button { padding: 4px 6px; font-size: 10.5px; }
  .calc-box input { width: 90px; }
}

/* Calc page: adding machine */
.am { max-width: 1000px; margin-top: 18px; background: var(--white); border: 1px solid var(--line, #DDE5F2); border-radius: 16px; padding: 16px 18px; }
.am-head { display: flex; align-items: center; justify-content: space-between; }
.am-head h2 { margin: 0; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #5B6B85); }
.am-body { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 340px); gap: 18px; margin-top: 10px; }
.am-tape { list-style: none; margin: 0; padding: 10px 14px; background: #FFFEF7; border: 1px solid #E9E2C4; border-radius: 10px; height: 360px; overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }
.am-tape li { display: flex; justify-content: flex-end; gap: 10px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.am-tape li b { width: 6.5em; text-align: left; font-weight: 400; color: #6B7280; }
.am-tape li.neg span, .am-tape li.neg b { color: #C0392B; }
.am-tape li.calc-step { color: #6B7280; font-size: 13px; }
.am-tape li.calc-step b { width: auto; }
.am-tape li.sub { border-top: 1px dashed #BDB59A; font-weight: 600; }
.am-tape li.tot { border-top: 2px solid #24324A; font-weight: 700; margin-bottom: 8px; }
.am-tape li.tot b { color: #24324A; }
.am-tape li.clr { color: #9CA3AF; font-size: 13px; }
.am-show { background: #1E2A3F; color: #E8F0FF; border-radius: 10px; padding: 8px 12px; text-align: right; }
.am-show small { display: block; color: #9FB3D6; font-size: 12px; }
.am-show output { display: block; font-size: 28px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.am-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.am-keys button { padding: 14px 0; font-size: 19px; border-radius: 10px; border: 1px solid #C9D5EA; background: #F6F8FC; color: var(--navy, #1B2A44); cursor: pointer; }
.am-keys button:active, .am-keys button.hit { transform: translateY(1px); filter: brightness(.92); }
.am-keys .fn { background: #ECEFF5; font-size: 15px; }
.am-keys .op { background: #E6F0FF; border-color: #9DBDF0; color: #1B3F86; font-weight: 700; }
.am-keys .tot { background: var(--cobalt, #2563EB); border-color: transparent; color: #fff; font-size: 15px; font-weight: 700; }
html.dark .am { background: var(--surface); border-color: var(--line); }
html.dark .am-tape { background: #0F1726; border-color: var(--line); color: var(--text); }
html.dark .am-tape li.tot { border-top-color: var(--text); }
html.dark .am-tape li.tot b { color: var(--text); }
html.dark .am-keys button { background: var(--surface2); border-color: var(--line); color: var(--text); }
html.dark .am-keys .op { background: #16284A; border-color: #3B78DC; color: #BFD6FF; }
html.dark .am-keys .tot { background: #3B78DC; color: #fff; }
@media (max-width: 700px) { .am-body { grid-template-columns: 1fr; } .am-tape { height: 200px; order: 2; } }
@media (max-width: 400px) { .views button { padding: 4px 5px; } }

/* v43: TTM page (technician time) */
.ttm-top { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: flex-start; max-width: 1000px; background: var(--white); border: 1px solid var(--line, #DDE5F2); border-radius: 16px; padding: 12px 18px; }
.ttm-top .calc-in { min-width: 220px; border-bottom: 0; }
.ttm-goals { list-style: none; margin: 4px 0; padding: 0; font-size: 13px; color: var(--muted, #5B6B85); flex: 1 1 280px; }
.ttm-goals li { padding: 2px 0; }
.ttm-goals b { color: var(--text, #24324A); }
.ttm-goals span { color: #1E7B4C; font-weight: 600; margin-left: 4px; }
.ttm-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line, #DDE5F2); border-radius: 14px; background: var(--white); -webkit-overflow-scrolling: touch; }
.ttm-table { border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 980px; width: 100%; }
.ttm-table th, .ttm-table td { padding: 6px 8px; border-bottom: 1px solid #E3E9F4; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ttm-table thead th { background: #24324A; color: #fff; font-size: 12.5px; vertical-align: bottom; white-space: normal; min-width: 84px; text-align: center; }
.ttm-table thead th small { display: block; font-weight: 400; color: #B8C6DE; font-size: 11px; margin-top: 2px; }
.ttm-table tbody th, .ttm-table tfoot th, .ttm-table thead th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; }
.ttm-table tbody th, .ttm-table tfoot th { background: var(--white); }
.ttm-table thead th:first-child { z-index: 2; }
.ttm-table .calc-box input { width: 64px; padding: 6px 2px; font-size: 15px; }
.ttm-table .calc-box.name input { width: 150px; text-align: left; font-weight: 600; }
.ttm-table td.good { color: #1E7B4C; font-weight: 600; }
.ttm-table td.low { color: #C0392B; font-weight: 600; }
.ttm-table tfoot th, .ttm-table tfoot td { border-top: 2px solid #24324A; font-weight: 700; border-bottom: 0; }
.ttm-del { border: 0; background: none; color: #9CA3AF; font-size: 20px; cursor: pointer; padding: 0 4px; }
.ttm-del:hover { color: #C0392B; }
html.dark .ttm-top, html.dark .ttm-wrap { background: var(--surface); border-color: var(--line); }
html.dark .ttm-table tbody th, html.dark .ttm-table tfoot th { background: var(--surface); }
html.dark .ttm-table th, html.dark .ttm-table td { border-bottom-color: var(--line); }
html.dark .ttm-table thead th { background: #0B1220; }
html.dark .ttm-goals b { color: var(--text); }
html.dark .ttm-table td.good, html.dark .ttm-goals span { color: #4ADE80; }
html.dark .ttm-table td.low { color: #F87171; }
@media (max-width: 600px) { .ttm-table .calc-box.name input { width: 110px; } .ttm-top .calc-in { min-width: 0; width: 100%; } }
/* six page buttons */
@media (max-width: 780px) { .views button { padding: 4px 6px; font-size: 11px; } }
@media (max-width: 600px) { .views button { padding: 3px 4px; font-size: 10px; } }
@media (max-width: 400px) { .views button { padding: 3px 3px; font-size: 9.5px; } }

/* v44: menu groups, page-button choices, calculator, Calc highlights */
.menu { max-height: calc(100vh - 90px); overflow-y: auto; }
.menu-group { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 2px; }
.menu-group summary { list-style: none; cursor: pointer; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.menu-group[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.menu-group summary:hover { background: var(--sage); }
.menu-group > button { padding-left: 20px; }
.menu-note { margin: 0 12px 4px 20px; font-size: 12px; color: var(--muted); }
html.no-p-board #viewNav [data-go="board"], html.no-p-desk #viewNav [data-go="desk"], html.no-p-todo #viewNav [data-go="todo"],
html.no-p-tmtime #viewNav [data-go="tmtime"], html.no-p-calc #viewNav [data-go="calc"], html.no-p-ttm #viewNav [data-go="ttm"] { display: none; }
.ttm-table .nw { white-space: nowrap; }
.calc-out.gpph.short { background: #FFE45C; border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.calc-out.gpph.short span, .calc-out.gpph.short b { color: #1B1B1B; font-weight: 800; }
.calc-out.eff.hl { background: #FFF4C2; border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.calc-out.eff.hl b { color: #8A5A00; }
.am { max-width: 380px; }
.am-pad { margin-top: 10px; }
.am-show small { min-height: 16px; }
html.dark .calc-out.gpph.short { background: #FFE45C; }
html.dark .calc-out.gpph.short span, html.dark .calc-out.gpph.short b { color: #1B1B1B; }
html.dark .calc-out.eff.hl { background: #3A3110; }
html.dark .calc-out.eff.hl b { color: #FFD666; }
@media (max-width: 700px) { .am { max-width: none; } }
.calc-out b { white-space: nowrap; }

/* v45: "new version ready" bar */
.update-bar { position: sticky; top: 0; z-index: 30; background: var(--cobalt, #2563EB); color: #fff; padding: 10px 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.update-bar[hidden] { display: none; }
.update-bar button { background: #fff; color: var(--cobalt, #2563EB); border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
.menu-user a.menu-site { display: inline-block; margin-top: 2px; padding: 0; color: #111111; font-weight: 800; font-size: 13px; text-decoration: none; background: none; }
.menu-user a.menu-site:hover { text-decoration: underline; background: none; }
html.dark .menu-user a.menu-site { color: #FFD43B; }

/* v46: GOAL Master page */
html.no-p-goal #viewNav [data-go="goal"] { display: none; }
.gm-grid { display: grid; grid-template-columns: minmax(300px, 1.3fr) minmax(220px, 1fr); gap: 16px; max-width: 1000px; }
.gm-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #E3E9F4; font-size: 15px; }
.gm-step { display: flex; align-items: center; gap: 6px; }
.gm-step > button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #9DBDF0; background: #E6F0FF; color: #1B3F86; font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1; }
.gm-step > button:active { transform: translateY(1px); }
.gm-step .calc-box input { width: 92px; }
.gm-throttle .calc-out b { font-size: 18px; }
.gm-wrap { max-width: 1000px; }
.gm-table { min-width: 520px; }
.gm-table thead th { font-size: 14px; }
.gm-table td { text-align: right; }
.gm-table tbody th { font-weight: 600; }
.gm-table tr.gm-sec th { background: #EEF3FB; color: var(--muted, #5B6B85); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; position: static; }
.gm-table tr.gm-mine th, .gm-table tr.gm-mine td { background: #F2F7FF; }
html.dark .gm-in { border-bottom-color: var(--line); }
html.dark .gm-step > button { background: #16284A; border-color: #3B78DC; color: #BFD6FF; }
html.dark .gm-table tr.gm-sec th { background: #0F1726; }
html.dark .gm-table tr.gm-mine th, html.dark .gm-table tr.gm-mine td { background: #16284A; }
@media (max-width: 700px) { .gm-grid { grid-template-columns: 1fr; } .gm-in { flex-wrap: wrap; } .gm-step .calc-box input { width: 80px; } }
.gm-step .calc-box { width: 136px; box-sizing: border-box; }
.gm-step .calc-box input { width: auto; flex: 1; min-width: 0; }
@media (max-width: 700px) { .gm-step .calc-box { width: 124px; } .gm-step .calc-box input { width: auto; } }
/* phones: seven page buttons need the room, so Login moves into the menu; GOAL Master boxes line up under their labels */
.menu-accounts { display: none; }
@media (max-width: 480px) {
  .top-actions .login-btn { display: none; }
  .menu-accounts:not([hidden]) { display: block; }
  .gm-in { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .gm-step { justify-self: end; }
}
@media (max-width: 600px) { .gm-table { min-width: 0; font-size: 12.5px; } .gm-table th, .gm-table td { padding: 6px 5px; } .gm-table tbody th { white-space: normal; } }
/* GOAL Master: three separate tables, each with its own colour band */
.gm-tables { display: grid; gap: 18px; max-width: 1000px; margin-top: 16px; }
.gm-block { background: var(--white); border: 1px solid var(--line, #DDE5F2); border-left: 6px solid var(--gm, #24324A); border-radius: 14px; overflow: hidden; }
.gm-total { --gm: #24324A; } .gm-hard { --gm: #D97706; } .gm-labor { --gm: #15803D; }
.gm-block .gm-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 14px; }
.gm-block .gm-table th, .gm-block .gm-table td { padding: 7px 10px; border-bottom: 1px solid #E3E9F4; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gm-block .gm-table tbody tr:last-child th, .gm-block .gm-table tbody tr:last-child td { border-bottom: 0; }
.gm-block .gm-table tbody th { text-align: left; font-weight: 600; white-space: normal; }
.gm-block thead th { background: var(--gm); color: #fff; font-size: 13px; text-align: right; vertical-align: bottom; }
.gm-block thead th:first-child { text-align: left; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.gm-block thead small { display: block; font-weight: 400; font-size: 11px; opacity: .8; }
.gm-block .gm-table tr.gm-mine th, .gm-block .gm-table tr.gm-mine td { background: #F2F7FF; }
html.dark .gm-block { background: var(--surface); border-color: var(--line); border-left-color: var(--gm); }
html.dark .gm-block .gm-table th, html.dark .gm-block .gm-table td { border-bottom-color: var(--line); }
html.dark .gm-total { --gm: #3B4F72; }
html.dark .gm-block .gm-table tr.gm-mine th, html.dark .gm-block .gm-table tr.gm-mine td { background: #16284A; }
@media (max-width: 600px) { .gm-block .gm-table { font-size: 12.5px; } .gm-block .gm-table th, .gm-block .gm-table td { padding: 6px 5px; } }
/* v47: TTM goal boxes */
.ttm-goals li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 4px 0; }
.ttm-goal { display: inline-flex; align-items: center; gap: 6px; color: #1E7B4C; font-weight: 600; }
.ttm-goal .calc-box { padding: 0 6px; }
.ttm-goal .calc-box input { width: 54px; padding: 4px 2px; font-size: 15px; }
html.dark .ttm-goal { color: #4ADE80; }
/* TTM goals lined up: name | formula | goal box */
.ttm-goals { display: grid; grid-template-columns: max-content max-content max-content; column-gap: 14px; row-gap: 6px; align-items: center; flex: 0 1 auto; }
.ttm-goals li { display: contents; }
.ttm-goals .tf { color: var(--muted, #5B6B85); }
@media (max-width: 600px) { .ttm-goals { grid-template-columns: 1fr max-content; } .ttm-goals .tf { display: none; } }
/* one grid for the whole TTM top box: labels | formula | boxes, all boxes the same width */
.ttm-top { display: grid; grid-template-columns: max-content max-content max-content; column-gap: 14px; row-gap: 8px; align-items: center; justify-content: start; }
.ttm-top .calc-in, .ttm-top .ttm-goals { display: contents; }
.ttm-top .calc-in > span:first-child { grid-column: 1 / 3; font-size: 15px; }
.ttm-top .calc-in > .calc-box { grid-column: 3; }
.ttm-top .ttm-goals li > b { grid-column: 1; }
.ttm-top .ttm-goal { grid-column: 3; }
.ttm-top .calc-box { width: 132px; box-sizing: border-box; justify-self: start; }
.ttm-top .calc-box input { width: auto; flex: 1; min-width: 0; }
.ttm-top .ttm-goal .calc-box { width: 92px; }
.ttm-goal { display: inline-flex; width: 132px; justify-content: space-between; }
@media (max-width: 600px) { .ttm-top { grid-template-columns: 1fr max-content; } .ttm-top .calc-in > span:first-child { grid-column: 1; } .ttm-top .calc-in > .calc-box, .ttm-top .ttm-goal { grid-column: 2; } }
.ttm-top { grid-template-columns: max-content max-content 136px; }
.ttm-top .calc-in > .calc-box, .ttm-top .ttm-goal { justify-self: end; margin: 0; }
.ttm-top .calc-in > span:first-child, .ttm-top .ttm-goals li > b { font-size: 14px; font-weight: 700; color: var(--text, #24324A); }
.ttm-top .ttm-goals { font-size: 14px; margin: 0; }
@media (max-width: 600px) { .ttm-top { grid-template-columns: 1fr 136px; } }
.ttm-top .calc-in > .calc-box { width: 92px; }

/* v48: Print / PDF and Excel buttons, and how pages print */
.export-bar { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.export-bar button { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line, #DDE5F2); border-radius: 9px; background: var(--white); color: var(--text); cursor: pointer; }
.export-bar button:hover { background: var(--sage); }
.print-head, .print-only { display: none; }
@media print {
  @page { margin: 10mm; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: #fff !important; }
  body { padding: 0 !important; }
  .topbar, #menu, .update-bar, .toast, #stickyLayer, .sticky-layer, #stickyBar, .foot, dialog, .export-bar, .mic-big, .hero-actions, #alertBar, #calPanel,
  .board-tools, .fa-act, .fa-checks, #faChecks, #faCheck, .fa-manual, .todo-add, .todo-actions, .todo-del, .tmr-btn, #am, #cClear, .ttm-del, #ttmAdd,
  .gm-step > button, .desk-plane, .desk-empty, .sticky-btn { display: none !important; }
  .card-actions, .quad-add, #faToggle, #faShow, #faList .fa-act, .fa-clear, #todoFaSlot .fa-manual, #faPanel .fa-manual { display: none !important; }
  #faBody { display: block !important; }
  #faBody[hidden] { display: block !important; }
  .card, .quad { break-inside: avoid; }
  .print-head { display: flex !important; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #24324A; padding: 0 0 6px; margin: 0 0 12px; font-size: 12px; color: #24324A; }
  .print-head b { font-size: 14px; letter-spacing: .04em; }
  .print-head span { color: #6B7280; font-size: 11px; }
  .print-head .ph-l { color: #24324A; font-size: 12px; }
  .print-only { display: block !important; margin-top: 14px; }
  .print-only h2 { font-size: 14px; margin: 0 0 8px; }
  .print-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .print-note { padding: 10px 12px; border-radius: 4px 4px 12px 4px; min-height: 70px; font-size: 12px; white-space: pre-wrap; box-shadow: 0 1px 2px rgba(0,0,0,.15); break-inside: avoid; }
  #app > section { padding-top: 0 !important; margin-top: 0 !important; }
  .heading h1 { font-size: 22px; } .heading .sub { font-size: 11px; }
  .calc-card, .gm-block, .ttm-top, .am, .fa-panel, .box, .todo-list { break-inside: avoid; box-shadow: none !important; }
  .ttm-wrap, .gm-wrap { overflow: visible !important; }
  .ttm-table { min-width: 0 !important; font-size: 9.5px; }
  .ttm-table th, .ttm-table td { padding: 4px 5px; position: static !important; }
  .ttm-table .calc-box input { width: 44px; font-size: 10px; }
  .ttm-table .calc-box.name input { width: 88px; }
  .ttm-table thead th { min-width: 0 !important; font-size: 9px; padding: 4px 3px; }
  .ttm-table thead th small { font-size: 8px; }
  .ttm-table .calc-box { padding: 0 3px; }
  .ttm-table .calc-box input { width: 34px !important; padding: 3px 1px; }
  .ttm-table .calc-box.name input { width: 96px !important; text-align: left; }
  .ttm-table th, .ttm-table td { white-space: normal; }
  input[type=number] { -moz-appearance: textfield; }
  input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  body.print-all #app > section { display: block !important; break-before: page; }
  body.print-all #app > section#main { break-before: auto; }
  body.print-all #app > section#calPanel, body.print-all #app > section#faPanel { break-before: auto; }
}
/* v49: board PDF has each box (and the action items) on its own page; "everything" skips pages without printing */
@media print {
  #main #matrix { display: block !important; }
  #main .quadrant { break-before: page; page-break-before: always; margin: 0 0 12px !important; }
  #main #faPanel { break-before: avoid; }
  body.print-all #app > section#desk, body.print-all #app > section#tmtime, body.print-all #app > section#calc { display: none !important; }
  .print-only { display: none !important; }
}
/* quieter Print / PDF and Excel: small grey text links */
.export-bar { gap: 2px; margin-top: 8px; align-items: center; }
.export-bar button { border: 0; background: none; padding: 2px 6px; font-size: 12px; color: var(--muted, #5B6B85); border-radius: 6px; opacity: .8; }
.export-bar button:hover { background: none; text-decoration: underline; opacity: 1; }
.export-bar button + button::before { content: "\00B7"; margin-right: 8px; color: var(--muted, #5B6B85); display: inline-block; text-decoration: none; }
