/* Laptop pop-up layout for the logger: a compact utility window instead of a phone screen.
   Loaded after style.css; only overrides sizes, density and how panels open. */
body:not(.report-body) { font-size: 13.5px; }
.logger-page { padding-top: 32px; }
.logger-shell { max-width: 440px; }
.w { height: min(560px, calc(100vh - 80px)); border-radius: 12px; box-shadow: 0 0 0 1px var(--sep), 0 12px 40px rgba(0,0,0,.12); }
body.pip .w { box-shadow: none; }

/* title bar */
.nav { height: 40px; padding: 0 6px 0 12px; }
.nav .t { font-size: 13px; }
.ib { width: 28px; height: 28px; border-radius: 7px; }
.ib .ic { width: 16px; height: 16px; }
.navc { height: 42px; padding: 0 12px; gap: 8px; }
.backc { width: 26px; height: 26px; border-radius: 7px; }
.backc .ic { width: 14px; height: 14px; }
.navc .title { font-size: 15px; font-weight: 700; }
.scroll { padding: 12px; gap: 12px; }

/* timer bar */
.tbar { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 10px; padding: 12px 14px; }
.tb-main { flex: 1; min-width: 0; }
.tb-task { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-client { font-size: 12px; font-weight: 600; color: var(--label2); background: var(--fill); padding: 1px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.tb-sub { font-size: 12px; color: var(--label2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-time { font: 300 30px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; flex: none; }
.tbar.idle .tb-time { color: var(--label3); }
.focusbar { display: flex; align-items: center; gap: 10px; margin-top: -4px; padding: 0 2px; }
.fb-track { flex: 1; height: 4px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.fb-track i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 1s linear, background .4s; }
.focusbar.done .fb-track i { background: var(--green); }
.fb-t { font-size: 11.5px; color: var(--label2); white-space: nowrap; }
.focusbar.done .fb-t { color: var(--green); font-weight: 600; }
.tb-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dbtn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--fill); color: var(--label); font: 600 13px var(--font); white-space: nowrap; transition: background .15s, transform .12s var(--ease); }
.dbtn:hover { background: var(--fill2); } .dbtn:active { transform: scale(.97); }
.dbtn .ic { width: 15px; height: 15px; }
.dbtn span { overflow: hidden; text-overflow: ellipsis; }
.dbtn kbd { font: 600 10px var(--font); color: var(--label3); border: 1px solid var(--sep); border-radius: 4px; padding: 0 4px; line-height: 15px; }
.dbtn.primary { background: var(--accent); color: var(--accent-ink); } .dbtn.primary:hover { filter: brightness(1.06); }
.dbtn.primary kbd { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.35); }
.dbtn.warn { background: var(--orange-soft); color: var(--orange); }
.dbtn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--sep); }
@media (max-width: 400px) { .dbtn kbd { display: none; } }

/* quick starts, lists */
.chip { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--sep); }
.group { gap: 4px; }
.gh { font-size: 11px; padding: 0 4px; }
.list { border-radius: 10px; }
.row { min-height: 40px; padding: 6px 10px; gap: 9px; }
.row + .row::before { left: 43px; }
.dot-ic { width: 24px; height: 24px; }
.dot-ic .ic { width: 13px; height: 13px; }
.ttl { font-size: 13.5px; }
.sub { font-size: 11.5px; }
.val { font-size: 13px; }
.play { width: 26px; height: 26px; border-radius: 7px; opacity: .65; transition: opacity .15s; }
.row:hover .play, .play:focus-visible { opacity: 1; }
.donecheck { width: 18px; height: 18px; margin: 0 3px; }
.donecheck .ic { width: 10px; height: 10px; }
.empty { padding: 6px 0; font-size: 12.5px; }
.foot { font-size: 12px; }

/* prompts */
.prompt { padding: 10px 12px; border-radius: 10px; gap: 8px; }
.btn { padding: 6px 12px; font-size: 13px; border-radius: 7px; }

/* panels drop down from the title bar instead of sliding up like a phone sheet */
.dim { background: rgba(0,0,0,.06); }
.sheet { top: 46px; bottom: auto; left: 10px; right: 10px; border-radius: 10px; padding: 12px; gap: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--sep), 0 14px 40px rgba(0,0,0,.18);
  transform: translateY(-6px) scale(.98); opacity: 0; pointer-events: none; transition: transform .22s var(--ease), opacity .18s; max-height: calc(100% - 60px); }
.w.sheet-open .sheet { transform: none; opacity: 1; pointer-events: auto; }
.sheet h3 { font-size: 14px; text-align: left; }
.sheet .list { background: var(--bg); }
.sheet .field input, .sheet .field select { background: var(--bg); }

/* forms */
.form { gap: 10px; }
.field input, .field select { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; }
.field label, .flabel { font-size: 11.5px; }
.bigbtn { padding: 9px; font-size: 14px; border-radius: 8px; }
.daypick label { min-width: 34px; padding: 5px 6px; font-size: 12px; border-radius: 7px; }
.toggle { width: 40px; height: 24px; } .toggle::after { width: 20px; height: 20px; } .toggle[aria-pressed="true"]::after { transform: translateX(16px); }

/* menu: a compact list, like a desktop menu */
.tiles { display: flex; flex-direction: column; gap: 0; background: var(--card); border-radius: 10px; overflow: hidden; }
.tile { flex-direction: row; align-items: center; min-height: 0; padding: 9px 12px; gap: 10px; border-radius: 0; background: transparent; }
.tile + .tile { box-shadow: inset 0 .5px 0 var(--sep); }
.tile:hover { background: var(--card2); } .tile:active { transform: none; }
.tile .ttl { font-size: 13.5px; } .tile .sub { font-size: 11.5px; margin-top: 0; }
.tile .dot-ic { width: 26px; height: 26px; }

/* small mode: one slim bar */
.mini { border-radius: 12px; padding: 8px 8px 8px 12px; box-shadow: 0 0 0 1px var(--sep), 0 8px 24px rgba(0,0,0,.1); }
.mini .mring { width: 28px; height: 28px; }
.mini .ib { width: 30px; height: 30px; border-radius: 7px; }
.dbtn kbd { display: none; }
.keys { font-size: 12px; color: var(--label2); text-align: center; margin-top: -6px; }
.dbtn.ghost { flex: 0 0 36px; padding: 0; }
.dbtn.ghost span { display: none; }
.tbar.idle ~ .tb-actions .dbtn.ghost, .tb-actions .dbtn:not(.ghost) { flex: 1 1 0; }
.idle-row { flex-wrap: wrap; }
.optset { display: inline-flex; background: var(--fill); border-radius: 7px; padding: 2px; gap: 2px; flex: none; }
.optset button { border: 0; background: transparent; padding: 4px 8px; border-radius: 5px; font: 600 12px var(--font); color: var(--label2); }
.optset button.on { background: var(--card); color: var(--label); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.idle-row .txt { flex-basis: 100%; }
.idle-row .sub { white-space: normal; }
.idle-row .optset { margin-left: auto; }

/* completed today: expandable details */
button.done-row { cursor: pointer; }
.dd-chev { width: 14px; height: 14px; color: var(--label3); transition: transform .2s var(--ease); }
.done-row.open .dd-chev { transform: rotate(90deg); }
.done-row.open { background: var(--card2); }
.dd { background: var(--card2); padding: 4px 12px 12px 43px; display: flex; flex-direction: column; gap: 10px; animation: ddIn .22s var(--ease); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dd-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--label2); }
.dd-stats b { color: var(--label); font-size: 13px; margin-right: 4px; font-variant-numeric: tabular-nums; }
.dd-strip { position: relative; height: 26px; }
.dd-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 8px; border-radius: 4px; background: var(--fill); }
.dd-hours { position: absolute; top: 4px; height: 8px; border-radius: 4px; background: var(--fill2); }
.dd-strip i { position: absolute; top: 4px; height: 8px; border-radius: 3px; background: var(--accent); }
.dd-strip i.int { background: var(--orange); }
.dd-lbl { position: absolute; top: 14px; font-size: 10.5px; color: var(--label3); font-variant-numeric: tabular-nums; }
.dd-lbl.l { left: 0; } .dd-lbl.r { right: 0; }
.dd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dd-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; flex-wrap: wrap; }
.dd-t { font-variant-numeric: tabular-nums; min-width: 92px; }
.dd-d { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 44px; }
.dd-e { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.dd-c { font-size: 11px; color: var(--label2); }
.dd-meta { font-size: 11.5px; color: var(--label2); }

/* completed today: bold, black titles */
.done-row .ttl { color: var(--label); font-weight: 700; }
.done-row .val { color: var(--label); font-weight: 700; }
/* plain-language details */
.dd-sum { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.4; color: var(--label); }
p.dd-sum { margin: 0; }
.dd-strip-wrap { display: flex; flex-direction: column; gap: 4px; }
.dd-cap, .dd-h { font-size: 11px; font-weight: 600; color: var(--label2); text-transform: uppercase; letter-spacing: .04em; }
.dd-key { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--label2); margin-top: -4px; }
.dd-key i { display: inline-block; width: 10px; height: 6px; border-radius: 2px; background: var(--accent); margin-left: 6px; }
.dd-key i:first-child { margin-left: 0; }
.dd-key i.int { background: var(--orange); }

/* session lines stay on one row */
.dd-list li { flex-wrap: nowrap; white-space: nowrap; }
.dd-e { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* open tasks: no icon, bold titles */
.row.noic .ttl { font-weight: 700; color: var(--label); }
.list .row.noic + .row.noic::before { left: 12px; }

/* colour-coded blocks: open tasks white, completed tasks on light grey with green ticks */
:root { --done-bg: #e6e6ec; --done-bg2: #dcdce4; --done-sep: rgba(60,60,67,.14); }
:root[data-theme="dark"] { --done-bg: #2a2a2e; --done-bg2: #333338; --done-sep: rgba(235,235,245,.12); }
.open-list { background: var(--card); box-shadow: inset 0 0 0 1px var(--sep); }
.done-list { background: var(--done-bg); box-shadow: inset 0 0 0 1px var(--done-sep); }
.done-list .row + .row::before { border-top-color: var(--done-sep); }
.done-list button.row:hover, .done-list .done-row.open { background: var(--done-bg2); }
.done-list .dd { background: var(--done-bg2); }

/* fuller secondary text under titles */
.sub { font-weight: 500; color: rgba(60,60,67,.78); }
:root[data-theme="dark"] .sub { color: rgba(235,235,245,.75); }
.row .sub { font-size: 12px; }

/* section headings (Open tasks, Completed today): bold and black */
.group > .gh { color: var(--accent); font-weight: 800; font-size: 11.5px; }
.group > .gh span:last-child { color: var(--label2); font-weight: 600; }

/* info cards under task titles */
.cards { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ic-card { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 6px; background: var(--fill); color: var(--label2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ic-card .ic { width: 11px; height: 11px; }
.ic-card.client { background: var(--accent-soft); color: var(--accent); }
.done-list .ic-card { background: var(--card); }
.done-list .ic-card.client { background: var(--accent-soft); }

/* softer, smaller info cards with a smoother face */
.cards { gap: 3px; margin-top: 3px; }
.ic-card { font-family: "DM Sans", var(--font); font-size: 10.5px; font-weight: 500; letter-spacing: .01em; padding: 2px 6px; border-radius: 5px;
  background: transparent; color: var(--label2); box-shadow: inset 0 0 0 1px var(--sep); }
.ic-card .ic { width: 10px; height: 10px; opacity: .8; }
.ic-card.client { background: color-mix(in srgb, var(--accent) 7%, transparent); color: color-mix(in srgb, var(--accent) 75%, var(--label2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); cursor: pointer; transition: background .15s; }
.ic-card.client:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.done-list .ic-card { background: transparent; }
.done-list .ic-card.client { background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* client overview */
.cw-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cw-head .ic-card { font-size: 12px; padding: 4px 8px; }
.linkb2 { margin-left: auto; border: 0; background: none; color: var(--accent); font: 600 12px var(--font); padding: 2px 0; }
.cw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cw-stat { background: var(--card); border-radius: 9px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; box-shadow: inset 0 0 0 1px var(--sep); min-width: 0; }
.cw-stat b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cw-stat span { font-family: "DM Sans", var(--font); font-size: 10.5px; color: var(--label2); }

/* ===================== Unified look: the menu's style everywhere =====================
   A section = a bold heading + a white rounded card. A row = round tinted icon, title with
   details, value or action. Colour only in small icons and the one primary button. */
.sec { display: flex; flex-direction: column; gap: 6px; }
.sec-h { display: flex; align-items: center; gap: 6px; padding: 0 4px; font: 700 13px/1.2 var(--display); color: var(--label); letter-spacing: -.005em; }
.sec-n { font: 600 10.5px var(--font); color: var(--label2); background: var(--fill); padding: 2px 7px; border-radius: 999px; }
.card { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 .5px var(--sep), 0 1px 2px rgba(0,0,0,.04); overflow: hidden; }
.card .row { min-height: 50px; padding: 8px 12px; gap: 11px; background: transparent; }
.card .row + .row::before { left: 51px; border-top: .5px solid var(--sep); }
.card .dot-ic { width: 28px; height: 28px; }
.card .dot-ic .ic { width: 14px; height: 14px; }
.card .ttl { font-size: 14px; font-weight: 600; color: var(--label); }
.card .sub { font-size: 12px; font-weight: 500; }
.card .val { font-size: 13px; font-weight: 600; color: var(--label2); }
.card .val.strong { color: var(--label); }
.card button.row:hover { background: var(--card2); }
.card .play { width: 28px; height: 28px; border-radius: 50%; background: var(--fill); color: var(--accent); opacity: 1; }
.card .play:hover { background: var(--accent-soft); }
.empty-card { padding: 14px; text-align: center; color: var(--label2); font-size: 13px; }

/* "Working on" card */
.now-card { padding-bottom: 12px; display: flex; flex-direction: column; }
.now-card .now-row { min-height: 60px; }
.now-card .tb-time { font: 300 28px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; flex: none; }
.now-card .focusbar { padding: 0 12px; margin: 0 0 10px; }
.now-card .tb-actions { padding: 0 12px; }
.now-card .quick { padding: 10px 12px 0; }
.pulse-ic { animation: pulseIc 2.4s ease-in-out infinite; }
@keyframes pulseIc { 50% { opacity: .55; } }
.nudge-t { color: var(--orange); }

/* calm buttons: neutral, one blue primary */
.dbtn, .dbtn.warn, .dbtn.ghost { background: var(--fill); color: var(--label); box-shadow: none; }
.dbtn:hover { background: var(--fill2); }
.dbtn.primary { background: var(--accent); color: var(--accent-ink); }
.dbtn.icon { flex: 0 0 34px; padding: 0; }
.ic-o { display: inline-flex; color: var(--orange); }
.chip { background: var(--fill); box-shadow: none; font-weight: 600; }

/* completed task details: quiet list with small status dots */
.card .done-row.open { background: var(--card2); }
.card .dd { background: var(--card2); padding: 0 12px 10px 51px; }
.dd-h { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 700; color: var(--label2); }
.dd-why { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--label2); overflow: hidden; text-overflow: ellipsis; }
.dd-why i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dd-why i.c-blue { background: var(--accent); } .dd-why i.c-orange { background: var(--orange); } .dd-why i.c-green { background: var(--green); }
.dd-why i.c-gray { background: var(--label3); } .dd-why i.c-red { background: var(--red); } .dd-why i.c-indigo { background: var(--indigo); }
.dd-d { font-weight: 600; }

/* client overview */
.hero { display: flex; align-items: center; gap: 12px; padding: 14px; }
.dot-ic.big { width: 42px; height: 42px; }
.dot-ic.big .ic { width: 20px; height: 20px; }
.hero .ttl { font-size: 17px; font-weight: 700; }

/* prompts as cards */
.prompt { background: var(--card); box-shadow: 0 0 0 .5px var(--sep), 0 1px 2px rgba(0,0,0,.04); border-radius: 12px; }
.prompt .q { font-size: 14px; }
.tb-actions .dbtn.icon { flex: 0 0 34px; padding: 0; }

/* ---------- client pill: initials avatar + code, inviting to click ---------- */
.cards { gap: 5px; margin-top: 5px; }
.cpill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px 0 3px; border-radius: 999px; cursor: pointer;
  background: var(--bg); box-shadow: inset 0 0 0 .5px var(--sep); color: var(--label); font: 650 11.5px/1 var(--font); letter-spacing: .01em;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s; max-width: 100%; }
.cpill:hover { background: var(--card); box-shadow: 0 0 0 .5px var(--sep), 0 3px 10px rgba(0,0,0,.09); transform: translateY(-1px); }
.cpill:active { transform: scale(.97); }
.cpill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cav { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 8px/1 var(--font); letter-spacing: .02em; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08); }
.cav.xl { width: 44px; height: 44px; font-size: 16px; }
.cav.t1 { background: linear-gradient(135deg, #5b95ff, #2563eb); } .cav.t2 { background: linear-gradient(135deg, #9a8cff, #5b4be0); }
.cav.t3 { background: linear-gradient(135deg, #3fcfc0, #0f9488); } .cav.t4 { background: linear-gradient(135deg, #ffb35c, #ec7a12); }
.cav.t5 { background: linear-gradient(135deg, #ff86b0, #dd437a); } .cav.t6 { background: linear-gradient(135deg, #55d993, #1b9c5c); }
:root[data-theme="dark"] .cpill { background: var(--card2); }
:root[data-theme="dark"] .cpill:hover { background: #3a3a3c; }

/* ---------- task rows: hold for details ---------- */
.task-row { user-select: none; -webkit-user-select: none; transition: background .2s, transform .2s var(--ease); }
.task-row.holding { transform: scale(.985); background: var(--card2); }
.task-row.open { background: var(--card2); }
.task-row .val { color: var(--label); }
.dd-note { font-size: 11.5px; color: var(--label2); font-style: italic; }

/* ---------- completed today: a grey block with green ticks ---------- */
:root { --done-tone: #ececf1; --done-tone2: #e3e3ea; }
:root[data-theme="dark"] { --done-tone: #232326; --done-tone2: #2b2b2f; }
.card.done-card { background: var(--done-tone); box-shadow: inset 0 0 0 .5px var(--sep); }
.done-card .row + .row::before { left: 42px; }
.done-card .task-row.open, .done-card .task-row.holding { background: var(--done-tone2); }
.done-card .dd { background: var(--done-tone2); padding-left: 42px; }
.done-card .cpill { background: var(--card); }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 1px 2px rgba(47,180,87,.35); }
.tick .ic { width: 11px; height: 11px; }
.card .dd { padding-left: 12px; }
.task-row { cursor: pointer; }
.task-row:hover { background: var(--card2); }
.done-card .task-row:hover { background: var(--done-tone2); }

/* smaller client sticker */
.cards { margin-top: 4px; }
.cpill { height: 18px; gap: 5px; padding: 0 8px 0 2px; font-size: 10.5px; }
.cav { width: 14px; height: 14px; font-size: 7px; }
.cpill.big { height: 22px; font-size: 11.5px; }

/* arrow next to the time: this row opens up */
.vexp { display: inline-flex; align-items: center; gap: 4px; }
.vexp .exp { width: 12px; height: 12px; color: var(--label3); transform: rotate(90deg); transition: transform .2s var(--ease), color .2s; }
.task-row:hover .vexp .exp { color: var(--label2); }
.task-row.open .vexp .exp { transform: rotate(-90deg); color: var(--accent); }

/* client overview visuals */
.stiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stile { background: var(--card); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  box-shadow: 0 0 0 .5px var(--sep), 0 1px 2px rgba(0,0,0,.04); }
.stile .dot-ic { grid-row: 1 / 3; width: 30px; height: 30px; }
.stile .dot-ic .ic { width: 15px; height: 15px; }
.stile b { font: 700 16px/1.15 var(--display); font-variant-numeric: tabular-nums; }
.stile span:last-child { font-size: 11.5px; color: var(--label2); font-weight: 500; }
.chart-card { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.donut-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.donut { width: 100%; height: 100%; }
.donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-c b { font: 700 16px var(--display); } .donut-c span { font-size: 10.5px; color: var(--label2); }
.legend2 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.legend2 li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 36px; gap: 8px; align-items: center; font-size: 12.5px; }
.legend2 i { width: 10px; height: 10px; border-radius: 3px; }
.lg-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.lg-v { font-weight: 600; font-variant-numeric: tabular-nums; } .lg-p { color: var(--label2); text-align: right; font-variant-numeric: tabular-nums; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.hc { aspect-ratio: 1; border-radius: 6px; background: var(--fill); position: relative; display: block; }
.hc em { position: absolute; left: 0; right: 0; bottom: -1px; text-align: center; font: 600 8.5px var(--font); font-style: normal; color: var(--label3); line-height: 1.6; }
.hc.l1 { background: color-mix(in srgb, var(--accent) 22%, var(--fill)); } .hc.l2 { background: color-mix(in srgb, var(--accent) 45%, var(--fill)); }
.hc.l3 { background: color-mix(in srgb, var(--accent) 70%, var(--fill)); } .hc.l4 { background: var(--accent); }
.hc.l3 em, .hc.l4 em { color: rgba(255,255,255,.85); }
.heat-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--label2); }
.heat-key { display: inline-flex; align-items: center; gap: 3px; }
.heat-key .hc { width: 10px; height: 10px; border-radius: 3px; aspect-ratio: auto; display: inline-block; }
.heat-last { font-size: 12px; color: var(--label2); }
.heat-last b { color: var(--label); }
.ic-t { display: inline-flex; color: var(--teal); }
.tb-actions .dbtn { padding: 0 8px; }
/* running task actions: icon above a short label, so five fit in one row */
.now-card .tb-actions { gap: 6px; flex-wrap: nowrap; }
.now-card .tb-actions .dbtn { flex: 1 1 0; height: 46px; flex-direction: column; gap: 3px; padding: 0 4px; font-size: 11px; border-radius: 10px; }
.now-card .tb-actions .dbtn .ic { width: 16px; height: 16px; }
.now-card .tb-actions .dbtn.icon { flex: 0 0 40px; }

/* "What's next?" panel after finishing client work */
.next-h { display: flex; align-items: center; gap: 8px; }
.next-h .cav { width: 22px; height: 22px; font-size: 9px; }
.next-h h3 { margin: 0; font-size: 14px; }
.sheet-list { border-radius: 10px; box-shadow: 0 0 0 .5px var(--sep); }
.sheet-list .row { min-height: 48px; }
.sheet-list .row + .row::before, .sheet-list .next-form + .row::before, .sheet-list .row + .next-form::before { left: 51px; }
.next-form { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--card2); position: relative; }
.next-btns { display: flex; gap: 6px; }
.next-btns .dbtn { flex: 1 1 0; height: 34px; }
.btn.skip { align-self: center; background: transparent; color: var(--label2); }
.btn.skip:hover { color: var(--label); }

/* live timer: today's total on this task, with a small caption */
.tb-t { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.tb-cap { font-size: 10.5px; font-weight: 600; color: var(--label3); text-transform: uppercase; letter-spacing: .05em; }
.mini .dg-cap { font: 600 10px var(--font); color: var(--label3); text-transform: uppercase; letter-spacing: .05em; }

/* task details: grouped per day with subtotals */
.dd-day { display: flex; flex-direction: column; gap: 4px; }
.dd-day + .dd-day { margin-top: 6px; }
.dd-dh { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--label2); }
.dd-dh b, .dd-total b { color: var(--label); font-variant-numeric: tabular-nums; }
.dd-total { display: flex; justify-content: space-between; border-top: 1px solid var(--sep, rgba(0,0,0,.08)); padding-top: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 600; }

/* completed: today / this week / this month */
.seg3 { align-self: flex-start; margin: 0 0 2px; }
.seg3 .thumb { width: calc((100% - 4px) / 3); }
.seg3[data-v="1"] .thumb { transform: translateX(100%); }
.seg3[data-v="2"] .thumb { transform: translateX(200%); }
.seg3 button { font-size: 12px; padding: 4px 10px; }

/* waiting for client */
.wait-row { align-items: center; }
.wait-row .dbtn { flex: none; padding: 6px 10px; }
.note .undo { border: 0; background: none; color: var(--accent); font: 600 13.5px var(--font); padding: 2px 4px; margin-left: auto; cursor: pointer; }

/* delivered: status is locked */
.row.locked .chev.ok { color: var(--green); }

/* floating window: only the small bar, which turns orange when the idle reminder is due */
body.pip .w.compact .mini { min-height: 100vh; padding: 8px 10px; }
.w.compact.nudge .mini { background: var(--orange-soft); }
.w.compact.nudge #mprog { stroke: var(--orange); }
.more-row .ttl { color: var(--accent); font-weight: 600; }
.mini .ib.g { color: var(--green); background: var(--green-soft); }
.toggle[disabled] { opacity: .4; cursor: default; }
.sub.wrap { white-space: normal; overflow: visible; }

/* Dark app on a white page: only the page around the logger turns white; the app and the floating window stay dark */
:root[data-theme="dark"] body:not(.pip):has(> .logger-page) { background: #ffffff; }
:root[data-theme="dark"] .logger-page .demo-note { color: rgba(60,60,67,.62); }
:root[data-theme="dark"] .logger-page .demo-note a { color: #1f6feb; }
:root[data-theme="dark"] .logger-page .w:not(.compact), :root[data-theme="dark"] .logger-page .w.compact .mini, :root[data-theme="dark"] .logger-page .placeholder { box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 16px 40px rgba(0,0,0,.18); }
:root[data-theme="dark"] .seg .thumb { background: #636366; box-shadow: none; }
/* menu button on the "Working on" line */
.sec-h .sec-a { margin-left: auto; display: flex; }
.sec-h .menu-b { width: 28px; height: 28px; margin: -6px -2px -6px 0; color: var(--accent); }
.wait-t { font-size: 14px; margin-top: 2px; }

/* Completed: period switch. Month and year only appear once there is older data; the arrow lists earlier ones. */
.pseg { display: flex; gap: 2px; align-self: flex-start; background: var(--fill); border-radius: 9px; padding: 2px; margin: 0 0 2px; }
.pitem { position: relative; display: flex; align-items: center; border-radius: 7px; transition: background .2s var(--ease); }
.pitem.on { background: var(--card); box-shadow: 0 3px 8px rgba(0,0,0,.12); }
:root[data-theme="dark"] .pitem.on { background: #636366; box-shadow: none; }
.pitem > button { border: 0; background: none; color: inherit; font: 600 12px var(--font); padding: 4px 10px; white-space: nowrap; }
.pitem:has(.pchev) > button:first-child { padding-right: 3px; }
.pitem .pchev { padding: 4px 7px 4px 2px; display: flex; align-items: center; color: var(--label2); }
.pitem .pchev .ic { width: 11px; height: 11px; transform: rotate(90deg); transition: transform .2s var(--ease); }
.pitem .pchev[aria-expanded="true"] .ic { transform: rotate(-90deg); }
.pmenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 170px; max-height: 260px; overflow-y: auto; background: var(--card); border-radius: 12px; padding: 4px; display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 0 0 1px var(--sep); }
:root[data-theme="dark"] .pmenu { background: #2c2c2e; }
.pmenu button { border: 0; background: none; color: var(--label); text-align: left; padding: 8px 10px; border-radius: 8px; font: 500 13px var(--font); white-space: nowrap; }
.pmenu button:hover { background: var(--fill); }
.pmenu button.on { color: var(--accent); font-weight: 600; }

/* Week / month / year: bars per day, week or month; click a bar to filter the list */
.pcard { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.pchart { display: flex; align-items: flex-end; gap: 4px; }
.pbar { flex: 1; min-width: 0; border: 0; background: none; padding: 4px 0 0; border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--label2); cursor: pointer; transition: background .15s var(--ease); }
.pbar:hover:not([disabled]) { background: var(--fill); }
.pbar[disabled] { cursor: default; }
.pbar-t { height: 56px; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--sep); }
.pbar-t i { display: block; width: 60%; max-width: 22px; border-radius: 4px 4px 0 0; background: var(--accent); transition: opacity .2s var(--ease); }
.pbar-v { font: 600 10.5px var(--font); color: var(--label2); font-variant-numeric: tabular-nums; min-height: 13px; white-space: nowrap; }
.pbar-l { font: 600 11px var(--font); color: var(--label2); padding-bottom: 4px; white-space: nowrap; }
.pbar.future .pbar-l { color: var(--label3); }
.pchart.has-sel .pbar:not(.on) .pbar-t i { opacity: .3; }
.pbar.on .pbar-l, .pbar.on .pbar-v { color: var(--label); }
.psum { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--label2); flex-wrap: wrap; }
.psum b { color: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; }
.pclient { margin: 0; }
.pclient select { font-size: 12.5px; padding: 4px 26px 4px 10px; min-height: 0; height: 28px; }
.gcount { font: 600 12px var(--font); color: var(--label2); font-variant-numeric: tabular-nums; margin-left: auto; padding: 0 8px; }
.gcount + .val { min-width: 100px; justify-content: flex-end; }

/* waiting on an internal department: a department pill like the client pill */
.dpill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 6px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo); font: 600 11.5px var(--font); white-space: nowrap; }
.dpill .ic { width: 12px; height: 12px; }
.next-form .list .row { padding-top: 8px; padding-bottom: 8px; }

/* requests between departments */
.rq-row { align-items: center; gap: 10px; }
.rq-row .ttl.wait-t, .rq-need { white-space: normal; }
.rq-need { font-style: italic; }
.rq-btns { display: flex; flex-direction: column; gap: 6px; flex: none; }
.rq-btns .dbtn { padding: 6px 10px; justify-content: center; }
.rq-st { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 600 11px var(--font); background: var(--fill); color: var(--label2); white-space: nowrap; }
.rq-st.accepted { background: var(--green-soft); color: var(--green); }
.small-p { font-size: 13px; margin: 0; color: var(--label2); }
.hint { font-size: 11.5px; color: var(--label2); }
.rq-st.ho { background: var(--teal-soft); color: var(--teal); }

/* estimates: usual time in task details, open work next to the title, fit on requests */
.dd-usual { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--label2); border-top: 1px solid var(--sep); padding-top: 6px; margin-top: 4px; }
.dd-usual b { color: var(--label); font-weight: 600; }
.dd-usual b.over { color: var(--orange); }
.dd-usual.muted { display: block; }
.sec-h .sec-w { margin-left: auto; font: 600 12px var(--font); color: var(--label2); font-variant-numeric: tabular-nums; }
.sec-w .muted, .dd-usual.muted { color: var(--label3); font-weight: 500; }
.rq-dl { display: inline-flex; align-items: center; gap: 5px; color: var(--label); font-weight: 600; }
.rq-dl .ic { width: 12px; height: 12px; color: var(--label2); }
.rq-fit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; white-space: normal; margin-top: 2px; }
.fit { display: inline-flex; padding: 1px 8px; border-radius: 999px; font: 700 11px var(--font); }
.fit.fits { background: var(--green-soft); color: var(--green); }
.fit.tight { background: var(--orange-soft); color: var(--orange); }
.fit.full { background: var(--red-soft); color: var(--red); }
.fit.unknown { background: var(--fill); color: var(--label2); }
.rq-fitbox { display: flex; flex-direction: column; gap: 4px; background: var(--fill); border-radius: 10px; padding: 8px 10px; }
.rq-fitbox:empty { display: none; }

/* sheets: small group headings (Within the organisation / External client) */
.sheet-gh { font: 700 11.5px var(--font); color: var(--label2); text-transform: uppercase; letter-spacing: .05em; margin: 10px 4px 6px; }
.sheet-gh:first-of-type { margin-top: 2px; }
/* task estimates page */
.est-row { align-items: center; gap: 10px; }
.est-in { display: flex; align-items: center; gap: 4px; flex: none; font-size: 12px; color: var(--label2); }
.est-in input { width: 52px; padding: 5px 6px; border-radius: 8px; border: 1px solid var(--sep); background: var(--card2); color: var(--label); font: 500 13px var(--font); text-align: center; }
.rq-dl.muted-dl { color: var(--label2); font-weight: 500; }

/* urgency: priority red, intermediate amber, standard normal */
.urg-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.urg-opt { border: 1px solid var(--sep); background: var(--card2); color: var(--label); border-radius: 10px; padding: 7px 6px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; transition: border-color .15s, background .15s; }
.urg-opt b { font: 600 12.5px var(--font); }
.urg-opt span { font-size: 11px; color: var(--label2); }
.urg-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.urg-opt.u-priority.on { border-color: var(--red); background: var(--red-soft); }
.urg-opt.u-intermediate.on { border-color: var(--orange); background: var(--orange-soft); }
.urg-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 700 11px var(--font); white-space: nowrap; }
.urg-chip.u-priority { background: var(--red-soft); color: var(--red); }
.urg-chip.u-intermediate { background: var(--orange-soft); color: var(--orange); }
.rq-row.urg-priority { box-shadow: inset 3px 0 0 var(--red); }
.rq-row.urg-intermediate { box-shadow: inset 3px 0 0 var(--orange); }
.rq-fit b { font-size: 13px; color: var(--label); font-weight: 600; }
.rq-fitd { white-space: normal; }
.vstack { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.vstack b { font-weight: 600; }
.vstack small { font-size: 10.5px; font-weight: 500; color: var(--label2); white-space: nowrap; }
.linkbtn { border: 1px solid var(--sep); background: var(--fill); color: var(--accent); font: 600 12px var(--font); padding: 5px 12px; border-radius: 999px; cursor: pointer; text-align: center; white-space: nowrap; }
.linkbtn:hover { background: var(--accent-soft); }
.est-close { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--label2); white-space: nowrap; flex: none; }
.est-close input { accent-color: var(--accent); }

/* themed dropdowns: same size as the other desktop fields */
.field .cs-btn { padding: 8px 30px 8px 10px; border-radius: 8px; font-size: 13.5px; }
.sheet .field .cs-btn { background-color: var(--bg); }
.pclient .cs-btn { font-size: 12.5px; padding: 4px 26px 4px 10px; height: 28px; }
.cs-pop { font-size: 13.5px; }

.field textarea { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; }
.sheet .field textarea { background: var(--bg); }

/* day status and complexity */
.day-row { flex-wrap: wrap; gap: 8px; }
.day-pick, .cx-pick { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.day-pick button, .cx-pick button { border: 0; border-radius: 7px; padding: 5px 9px; background: var(--fill); color: var(--label2); font: 600 12px/1.2 var(--font); cursor: pointer; }
.day-pick button.on, .cx-pick button.on { background: var(--accent); color: var(--accent-ink); }
.cx-pick { margin: 2px 0 6px; } .cx-pick span { font-size: 12.5px; color: var(--label2); margin-right: 4px; }
.day-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0; padding: 9px 12px; border-radius: 10px;
  background: var(--teal-soft); color: var(--label); font-size: 12.5px; line-height: 1.35; }
.day-banner .linkbtn { flex: none; }

/* What's next: minimal */
.nx-h { display: flex; align-items: center; gap: 8px; }
.nx-h h3 { flex: 1; margin: 0; }
.nx-h .cx-pick { margin: 0; gap: 2px; background: var(--fill); border-radius: 8px; padding: 2px; }
.nx-h .cx-pick button { padding: 4px 8px; font-size: 11.5px; background: transparent; }
.nx-h .cx-pick button.on { background: var(--card2); color: var(--label); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.nx-x { border: 0; background: transparent; color: var(--label2); font-size: 20px; line-height: 1; width: 28px; height: 28px; border-radius: 7px; cursor: pointer; }
.nx-x:hover { background: var(--fill); }
.nx-sug { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 10px; padding: 11px 12px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 600 13.5px/1.2 var(--font); text-align: left; }
.nx-sug .ic { width: 16px; height: 16px; }
.nx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 6px; }
.nx-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; border-radius: 10px; padding: 9px 4px; cursor: pointer;
  background: var(--bg); color: var(--label); font: 600 12px/1.2 var(--font); }
.nx-tile:hover, .nx-tile.on { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* minimal pass: request cards, urgency switch, hidden extras */
.rq-min .txt { gap: 3px; }
.rq-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.rq-line .fit { font-size: 10.5px; }
.rq-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.rq-min .rq-btns { flex-direction: row; align-items: center; gap: 4px; }
.rq-min .rq-btns .dbtn { flex: none; width: auto; }
.rq-min .rq-btns .rq-dots { width: 30px; min-width: 30px; padding: 6px 0; justify-content: center; font-weight: 700; letter-spacing: 1px; }
.urg-seg { display: flex; gap: 2px; background: var(--fill); border-radius: 9px; padding: 2px; }
.urg-seg .urg-opt { flex: 1; border: 0; background: transparent; color: var(--label2); font: 600 12.5px/1.2 var(--font); padding: 7px 6px; border-radius: 7px; cursor: pointer; }
.urg-seg .urg-opt.on { background: var(--card2); color: var(--label); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.urg-seg .urg-opt.u-priority.on { color: var(--red); } .urg-seg .urg-opt.u-intermediate.on { color: var(--orange); }
.rq-datebtn, .note-btn { align-self: flex-start; font-size: 12.5px; }

/* Decisions in focus: panels open in the centre, the rest of the app is blurred and dimmed.
   A tap outside the panel closes it (the dim layer already does that). */
.dim { background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(6px) saturate(.8); backdrop-filter: blur(6px) saturate(.8); }
:root[data-theme="dark"] .dim { background: rgba(0,0,0,.45); }
.sheet { top: 50%; bottom: auto; left: 12px; right: 12px; border-radius: 14px; padding: 14px;
  transform: translateY(-50%) scale(.96); max-height: calc(100% - 40px);
  box-shadow: 0 0 0 1px var(--sep), 0 24px 60px rgba(0,0,0,.35); }
.w.sheet-open .sheet { transform: translateY(-50%) scale(1); }
@media (prefers-reduced-motion: reduce) { .sheet { transition: opacity .15s; } }

.nx-sug.alt { background: var(--bg); color: var(--label); }
.dd-remove { align-self: flex-start; color: var(--red); font-size: 12px; margin-top: 4px; }

.rej-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rej-pick button { border: 0; border-radius: 9px; padding: 10px 8px; background: var(--bg); color: var(--label); font: 600 12.5px/1.2 var(--font); cursor: pointer; }
.rej-pick button.on { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.bigbtn:disabled { opacity: .45; cursor: default; }

/* requests that came back to the sender */
.rq-back { box-shadow: inset 3px 0 0 var(--red); }
.rej-chip { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--red-soft); color: var(--red); }
.rq-back .rq-line b { color: var(--label); font-weight: 600; }
.rq-note { font-style: italic; white-space: normal; }

/* the notice's close button: the plus icon turned into a × */
.note .note-x svg, .note .note-x .ic { transform: rotate(45deg); }
.note .note-x { opacity: .7; } .note .note-x:hover { opacity: 1; }

.dp-add { flex-direction: row; align-items: center; gap: 6px; margin-top: 10px; } .dp-add .field { flex: 1; }
.dp-x { font-size: 18px; line-height: 1; color: var(--label2); } .dp-x:disabled { opacity: .3; }

.away-list { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.away-x { border: 0; background: none; color: inherit; margin-left: 4px; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }

/* today's status pill on the Working on line */
.day-pill-wrap { position: relative; display: inline-flex; margin-right: 4px; }
.day-pill { display: inline-flex; align-items: center; gap: 3px; border: 0; border-radius: 999px; padding: 3px 6px 3px 9px; cursor: pointer;
  background: var(--fill); color: var(--label2); font: 600 11px/1.2 var(--font); }
.day-pill .ic { width: 10px; height: 10px; transform: rotate(90deg); opacity: .7; }
/* Menu: same size as the day pill, bold label and blue icon so it stands out */
.menu-pill { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 999px; padding: 3px 9px 3px 7px; cursor: pointer;
  background: var(--fill); color: var(--label); font: 700 11px/1.2 var(--font); transition: filter .2s, transform .1s; }
.menu-pill:hover { filter: brightness(1.15); } .menu-pill:active { transform: scale(.95); }
.menu-pill .ic { width: 12px; height: 12px; color: var(--accent); }
.day-pill.away { background: var(--teal-soft); color: var(--teal); }
.day-menu { right: 0; left: auto; top: calc(100% + 4px); min-width: 150px; z-index: 20; }
/* plan ahead next to the period switch */
.plan-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--accent); font: 600 12px/1.2 var(--font); cursor: pointer; padding: 4px 6px; margin-left: 6px; }
.plan-btn .ic { width: 12px; height: 12px; }

.bk-dd { gap: 6px; } .bk-why { font-size: 13px; line-height: 1.4; } .bk-why b { font-weight: 600; }
.bk-btns { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

/* free time today: one slim line */
.room-line { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; margin-bottom: 10px; }
.room-line .txt { flex: 1; min-width: 0; }
.room-line .ttl { font: 600 13px var(--font); }
.room-line .dbtn { flex: none; padding: 6px 10px; }
.room-line .nx-x { flex: none; }
.tr-btn { align-self: flex-start; font-size: 12px; padding: 0; }
/* product name */
.nav .app-n { font-weight: 700; }
.nav .org-n { color: var(--label2); font-weight: 500; margin-left: 6px; }
.signin { display: flex; flex-direction: column; align-items: stretch; max-width: 280px; width: 100%; margin: auto; padding-bottom: 96px; box-sizing: border-box; gap: 0; }
.brand-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 22px; }
.brand-mark { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #fff), var(--accent)); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); margin-bottom: 12px; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-hero b { font: 700 24px/1.15 var(--font); letter-spacing: -0.4px; color: var(--label); }
.brand-by { font-size: 11.5px; font-weight: 500; letter-spacing: .3px; color: var(--label2); margin-top: 3px; }
.signin-box { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--sep); border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.signin-box input { border: 1px solid var(--sep); border-radius: 9px; background: var(--card2); padding: 10px 12px; font: 400 14px var(--font); color: var(--label); width: 100%; box-sizing: border-box; outline: none; transition: border-color .15s, box-shadow .15s; }
.signin-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--card); }
.signin-box .bigbtn { border-radius: 9px; padding: 10px; }
.signin-box .err { font-size: 12.5px; }
.signin-tag { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--label2); }
.org-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; }
.org-hero b { font: 700 20px/1.2 var(--font); letter-spacing: -0.3px; color: var(--label); transition: color .2s; }
.new-f { margin-top: 6px; }
.daypick.dp3 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp { border: 1px solid var(--sep); background: var(--card); border-radius: 8px; padding: 5px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; color: var(--label2); font: inherit; }
.dp b { font: 600 11.5px var(--font); }
.dp small { font-size: 9.5px; font-weight: 600; letter-spacing: .2px; }
.dp.full { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dp.am, .dp.pm { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.dp.off { opacity: .75; }
.cs-btn.cs-empty .cs-val { color: var(--label3); }
.org-hero + .para { text-align: center; padding: 0 12px; }
.new-row { display: flex; gap: 6px; margin-top: 6px; }
.new-row input { flex: 1; min-width: 0; }
.new-row .dbtn { flex: none; padding: 6px 12px; }
.ot-why { font-size: 12.5px; margin: 2px 0 8px; }
.note .undo.alt { color: var(--label2); }
.oc-cmp-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 8px; }
.oc-cmp { color: var(--accent); }
.oc-code .sub, .oc-cmp-bar .sub { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
.oc-code .field input { background: var(--card2); border: 1px solid var(--sep); }
.oc-code .field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.oc-cmp-why { margin: 4px 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--label2); }
.wk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.wk-stat { background: var(--card); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.wk-l { font-size: 11.5px; color: var(--label2); font-weight: 600; }
.wk-stat b { font: 700 20px/1.15 var(--display); letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.wk-d { font-size: 11px; color: var(--label2); }
.wk-d.g { color: var(--green); } .wk-d.b { color: var(--orange); }
.wk-row .txt { gap: 5px; }
.wk-bar { display: block; height: 6px; background: var(--fill); border-radius: 3px; overflow: hidden; }
.wk-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.wk-cap { display: flex; align-items: center; gap: 10px; padding: 12px; }
.wk-cap .txt { flex: 1; min-width: 0; }
.wk-cap .sub { white-space: normal; }

/* the "Write the email" link looks like the big button */
a.bigbtn { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--accent-ink, #fff); }
/* New task: will it fit? one verdict, one line of why */
.tfit { display: flex; gap: 10px; align-items: center; border-radius: 12px; padding: 10px 12px; background: var(--fill); }
.tfit > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tfit b { font-size: 14.5px; font-weight: 650; color: var(--label); }
.tfit small { font-size: 12.5px; color: var(--label2); }
.tfit-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--font); flex: none; color: #fff; background: var(--label3); }
.tfit.fits { background: var(--green-soft); } .tfit.fits .tfit-ic { background: var(--green); }
.tfit.tight { background: var(--orange-soft); } .tfit.tight .tfit-ic { background: var(--orange); }
.tfit.full { background: var(--fill); } .tfit.full .tfit-ic { background: var(--label2); font-style: italic; font-family: Georgia, serif; }
/* measurement round line on the home screen */
.round-line { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; }
.round-line > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.round-line b { font-weight: 650; color: var(--label); } .round-line small { color: var(--label2); font-size: 12px; }
.round-line.done { background: var(--green-soft); }
.round-line .linkbtn { white-space: nowrap; font-size: 12px; }
/* what a task includes, and the rules page */
.inc-hint { margin: 6px 2px 0; font-size: 12.5px; line-height: 1.4; color: var(--label2); } .inc-hint b { color: var(--label); font-weight: 600; }
.inc-link { margin-top: 4px; font-size: 12.5px; align-self: flex-start; }
.tr-card { padding: 14px 16px; } .tr-rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--label); }
.tr-foot { margin: 10px 0 0; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.4; } .tr-list { margin-top: 12px; } .tr-list .sub.wrap { white-space: normal; line-height: 1.4; }
/* measurement round: one quiet line, a segment per week */
.rl { display: flex; align-items: center; gap: 10px; margin: -2px 2px 10px; font-size: 12px; color: var(--label2); }
.rl-bar { display: inline-flex; gap: 3px; } .rl-bar i { width: 14px; height: 4px; border-radius: 2px; background: var(--fill); }
.rl-bar i.done { background: color-mix(in srgb, var(--accent) 45%, var(--fill)); } .rl-bar i.now { background: var(--accent); }
.rl-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl.done .rl-t { color: var(--green); font-weight: 600; }
.rl-faq { border: 0; background: none; padding: 0; font: 600 12px var(--font); color: var(--accent); cursor: pointer; }
/* FAQ */
.faq { display: flex; flex-direction: column; gap: 6px; }
.faq-i { background: var(--card); border-radius: 12px; padding: 0 14px; }
.faq-i summary { list-style: none; cursor: pointer; padding: 12px 0; font-size: 13.5px; font-weight: 600; color: var(--label); display: flex; justify-content: space-between; gap: 10px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; color: var(--label3); font-weight: 400; } .faq-i[open] summary::after { content: "−"; }
.faq-i p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--label2); }
.faq-foot { margin: 10px 4px 0; white-space: normal; }
.sub.carry { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: 11.5px; }
.dd-btns { display: flex; gap: 8px; margin-top: 8px; }
.ttl.wrap { white-space: normal; overflow: visible; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
