:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #25272d; background: #fff; font-synthesis: none;
  --muted: #777b86; --line: #e9eaee; --accent: #635bda; --soft: #f0effc; --card: #fff;
}
.schedule-page { max-width: 480px; margin: 0 auto; padding: max(32px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom)); }
.schedule-brand { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.schedule-page h1 { font-size: 24px; letter-spacing: -.6px; }
.schedule-timezone { color: var(--muted); font-size: 13px; margin-top: 8px; }
.schedule-page section { margin-top: 32px; }
.schedule-page h2 { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.schedule-periods { margin: 10px 0 0; }
.schedule-period { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.schedule-period dt { display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.schedule-period dd { margin: 0; white-space: nowrap; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dedfe5; background: #fff; color: inherit; border-radius: 7px; padding: 9px 12px; font-size: 13px; transition: background .15s; }
button:hover { background: #f6f6f9; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #9a91f0; outline-offset: 3px; }
input, select, textarea { border: 1px solid #dedfe5; border-radius: 7px; padding: 9px 11px; background: #fff; color: inherit; max-width: 100%; font-size: 13px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #bbb5f6; outline-offset: 1px; }
textarea { resize: vertical; width: 100%; line-height: 1.7; }
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; font-weight: 650; letter-spacing: -.8px; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
h3 { font-size: 13px; font-weight: 600; }
small, .muted { color: var(--muted); }
svg { flex-shrink: 0; }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px #30256716; }
.primary:hover { background: #564ec8; }
.text-button { border-color: transparent; background: transparent; color: var(--muted); font-size: 12px; }
.danger { color: #b4595c; }
.full-width { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { min-height: 100dvh; }
.topbar { position: sticky; z-index: 5; top: 0; height: 64px; padding: 0 max(24px,calc((100% - 1032px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #ffffffef; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand-home { gap: 10px; border: 0; padding: 0; background: transparent; font-size: 17px; font-weight: 650; letter-spacing: -.5px; white-space: nowrap; }
.brand-home:hover { background: transparent; }
.brand-mark { display: inline-grid; place-items: center; height: 28px; width: 28px; background: #34313f; color: white; border-radius: 8px; font-size: 10px; letter-spacing: -.3px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.account-menu { position: relative; }
.account-menu summary { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 8px; list-style: none; color: #74717e; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover { background: #f3f2f7; }
.account-options { position: absolute; right: 0; top: 42px; width: 205px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 32px #25202e12; border-radius: 12px; padding: 6px; z-index: 8; }
.account-options button { border: 0; background: transparent; width: 100%; justify-content: flex-start; padding: 10px; font-size: 12px; }
.account-options button:hover { background: #f5f4f8; }
.account-caption { display: block; font-size: 11px; color: var(--muted); padding: 10px; }
.main { max-width: 1080px; margin: 0 auto; padding: 24px 24px 64px; }
.project-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f3f3f6; }
.project-tabs button { border: 1px solid transparent; background: transparent; padding: 8px 20px; color: #878591; border-radius: 9px; font-size: 13px; min-width: 150px; font-weight: 550; }
.project-tabs button[aria-selected=true] { background: #fff; color: #2d2b34; box-shadow: 0 2px 5px #24222c0a; border-color: #e8e7ee; }
.project-symbol { display: grid; place-items: center; height: 20px; width: 20px; border-radius: 5px; font-size: 10px; font-weight: 650; color: #8b8793; background: #e9e8ee; }
[aria-selected=true] .project-symbol.clash { color: #6e5bad; background: #ede8f9; }
[aria-selected=true] .project-symbol.dogs { color: #498478; background: #e6f1ed; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; }
.view-tabs { display: flex; align-items: center; gap: 4px; }
.view-tabs button { border: 0; background: transparent; padding: 8px 11px; font-size: 12px; color: #8a8792; border-radius: 7px; }
.view-tabs button.active { background: #f0eef8; color: #6757a4; font-weight: 550; }
.list-actions { display: flex; gap: 5px; }
.tool-button { position: relative; height: 34px; width: 34px; border-color: transparent; padding: 7px; background: transparent; color: #888591; flex-shrink: 0; }
.tool-button:hover, .tool-button.active { background: #f3f1f8; color: #62538e; }
.task-search { display: flex; gap: 10px; align-items: center; border: 1px solid #e5e1f0; background: #fdfcff; border-radius: 9px; padding: 0 9px; color: #9790a5; margin-bottom: 14px; }
.list-entry-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.list-entry-actions .task-search { flex: 1; min-width: min(180px, 100%); margin-bottom: 0; }
.tool-button.create-task-button { background: #eeeaf8; color: var(--accent); margin-left: 4px; }
.tool-button.create-task-button:hover { background: #e2dcf4; }
.task-search input { border: 0; background: transparent; width: 100%; min-width: 0; padding: 11px 0; font-size: 13px; outline: none; }
.task-search:focus-within { border-color: #aca0cf; box-shadow: 0 0 0 2px #eeeaf7; }
.filter-chip { display: flex; gap: 6px; border: 1px solid #e7e1f2; background: #faf8fe; color: #716282; padding: 5px 8px; margin-bottom: 13px; font-size: 11px; border-radius: 6px; }
.filter-chip>svg { width: 12px; height: 12px; margin-left: 3px; }
.filter-indicator { position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.task-group { margin-bottom: 18px; }
.task-group h2 { display: flex; align-items: center; gap: 7px; background: #f7f7f9; padding: 7px 11px; border-radius: 7px; font-size: 11px; font-weight: 550; letter-spacing: 0; color: #686571; }
.task-group h2>span:last-child, .members-group h2>span { font-size: 10px; color: #aaa5b2; font-weight: 400; margin-left: 2px; }
.status-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; font-size: 16px; color: #9e9aa7; flex-shrink: 0; }
.status-icon.in_progress { color: #cc9b36; }
.status-icon.review { color: #9181c9; }
.status-icon.blocked { color: #d87979; }
.status-icon.done { color: #68a789; font-size: 12px; }
.status-icon.cancelled, .badge.cancelled { color: #8b8792; }
.ticket-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; width: 100%; padding: 12px 11px; min-height: 52px; align-items: center; border: 0; border-bottom: 1px solid #f1f0f4; border-radius: 0; background: transparent; text-align: left; }
.ticket-row:hover { background: #faf9fd; }
.ticket-id { font-size: 10px; color: #a5a0ae; font-variant-numeric: tabular-nums; }
.row-main { min-width: 0; }
.ticket-title { display: block; font-size: 13px; line-height: 1.55; font-weight: 500; color: #33303b; }
.row-note { display: block; font-size: 10px; color: #9a8cac; margin-top: 3px; }
.row-signals { display: flex; align-items: center; gap: 13px; color: #a8a2b0; }
.row-signals svg { height: 13px; width: 13px; }
.row-comments { display: flex; align-items: center; gap: 4px; font-size: 10px; }
.row-priority { display: grid; place-items: center; }
.row-priority.high, .priority-symbol.high { color: #c6a15e; }
.row-priority.urgent, .priority-symbol.urgent { color: #ce7474; }
.priority-symbol { display: flex; color: #a09aa8; }
.priority-symbol svg { height: 15px; width: 15px; }
.row-avatar { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #efecf5; color: #9b8eb0; font-size: 10px; }
.avatar { display: inline-grid; flex-shrink: 0; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eeeaf5; color: #8c7ba6; font-size: 11px; }
.empty { padding: 55px 16px; text-align: center; color: #aaa2b5; }
.empty h2 { font-size: 14px; color: #696073; margin: 12px 0 6px; }
.empty p { font-size: 12px; color: #a29baa; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.page-heading h1 { font-size: 21px; letter-spacing: -.5px; }
.search-wrap { display: flex; align-items: center; gap: 9px; color: #a29ba9; }
.search-wrap input { background: transparent; border: 0; padding: 9px 0; }
.access-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.custom-select { display: inline-block; position: relative; min-width: 0; }
.custom-select select[hidden] { display: none!important; }
.select-trigger { width: 100%; justify-content: flex-start; gap: 7px; font-size: 12px; height: 35px; border-color: #e8e5ee; background: #fff; }
.select-trigger>span:not(.status-icon):not(.priority-symbol):not(.filter-indicator) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger>svg:last-child { margin-left: auto; width: 14px; height: 14px; color: #aaa1b5; }
.select-trigger.tool-button { width: 34px; border-color: transparent; background: transparent; }
.select-trigger.tool-button>svg { height: 18px; width: 18px; margin: 0; }
.select-options { position: absolute; display: none; top: calc(100% + 6px); right: 0; width: max-content; min-width: 200px; max-width: min(320px,85vw); max-height: 245px; overflow: auto; background: #fff; border: 1px solid #e7e2ed; border-radius: 11px; box-shadow: 0 10px 35px #33213f17; padding: 5px; z-index: 20; }
.is-open>.select-options { display: grid; gap: 2px; }
.drop-up>.select-options { top: auto; bottom: calc(100% + 6px); }
.align-start>.select-options { left: 0; right: auto; }
.select-options button { justify-content: flex-start; text-align: left; background: transparent; border: 0; padding: 9px 10px; border-radius: 7px; font-size: 12px; min-height: 36px; }
.select-options button:hover, .select-options button:focus, .select-options button[aria-selected=true] { background: #f5f2fb; outline: none; }
.select-options button:focus-visible { box-shadow: inset 0 0 0 1px #baabd9; }
.option-check { margin-left: auto; padding-left: 12px; color: #8d74b5; }
.custom-select:has(select:disabled) .select-trigger { opacity: .5; pointer-events: none; }
.dialog-spacer { height: 18px; }
/* Access settings */
.settings-page { max-width: 1110px; }
.access-summary { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 9px; padding: 17px 19px; color: #79748d; }
.access-summary strong { display: block; color: #44444e; font-size: 12px; font-weight: 550; }
.access-summary small { display: block; font-size: 11px; line-height: 1.65; margin-top: 5px; }
.permission-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 25px 0 5px; }
.permission-legend strong { font-size: 11px; font-weight: 550; }
.permission-legend p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.access-toolbar { border-bottom: 1px solid var(--line); }
.members-group { margin: 24px 0 30px; }
.members-group h2 { font-size: 12px; font-weight: 600; }
.member-columns, .member-row { display: grid; grid-template-columns: minmax(180px,1fr) 128px 86px 112px; gap: 15px; align-items: center; }
.member-columns { margin-top: 17px; padding: 10px 0; color: #999ca6; font-size: 10px; border-bottom: 1px solid var(--line); }
.member-columns>span:not(:first-child) { text-align: center; }
.member-row { padding: 19px 0; border-bottom: 1px solid #f0f0f3; }
.member-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.member-identity>div { min-width: 0; }
.member-identity strong { display: block; overflow-wrap: anywhere; font-size: 12px; font-weight: 550; line-height: 1.7; }
.member-identity small { display: block; font-size: 10px; margin-top: 3px; overflow-wrap: anywhere; }
.owner-badge { font-size: 9px; color: #8b879b; background: #f4f3f8; border-radius: 4px; padding: 3px 5px; margin-left: 3px; font-weight: 400; white-space: nowrap; }
.permission-toggle { display: inline-flex; position: relative; justify-content: center; align-items: center; min-height: 36px; cursor: pointer; }
.permission-toggle>span:first-child { display: none; }
.permission-toggle input { position: absolute; width: 35px; height: 20px; opacity: 0; z-index: 1; margin: 0; cursor: pointer; }
.switch-track { width: 32px; height: 18px; border-radius: 15px; background: #dbdce3; padding: 2px; display: inline-block; transition: background .15s; }
.switch-track:after { content: ''; display: block; width: 14px; height: 14px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #0002; transition: transform .15s; }
.permission-toggle input:checked+.switch-track { background: var(--accent); }
.permission-toggle input:checked+.switch-track:after { transform: translateX(14px); }
.permission-toggle input:focus-visible+.switch-track { outline: 2px solid #a59af1; outline-offset: 3px; }
.permission-toggle input:disabled+.switch-track { opacity: .35; }
.permission-toggle:has(input:disabled) { cursor: default; }
.member-action { text-align: right; color: #adadb7; font-size: 10px; }
.member-action button { padding: 8px 0; font-size: 10px; }
.settings-footnote { margin-top: 28px; font-size: 11px; color: #9395a0; line-height: 1.8; }
.add-permissions { display: grid; gap: 15px; margin: 6px 0; }
.add-permissions label { display: flex!important; align-items: center; gap: 9px; font-size: 13px; }
.add-permissions input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.form-error { color: #b35656; font-size: 12px; line-height: 1.6; }
.presence-trigger { font-size: 11px; white-space: nowrap; }
.presence-current { display: flex; align-items: center; gap: 12px; margin: 20px 0 10px; }
.presence-current strong { font-size: 16px; }
.presence-current small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.presence-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.presence-dot.green { background: #3ca675; }
.presence-dot.yellow { background: #d3a324; }
.presence-dot.red { background: #d96161; }
.presence-dot.blue { background: #5289d2; }
.presence-duration { display: grid; gap: 9px; font-size: 12px; margin: 20px 0 12px; }
.presence-duration select, .presence-duration textarea { width: 100%; min-width: 0; }
.presence-duration textarea { font-size: 12px; overflow-wrap: anywhere; resize: vertical; }
.presence-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.presence-options button { display: flex; align-items: center; gap: 8px; font-size: 12px; text-align: left; }
.presence-options button[aria-pressed=true] { border-color: var(--accent); background: #f7f5ff; }
.presence-schedule { padding-top: 16px; line-height: 1.8; }
.presence-shortcuts { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.presence-shortcuts summary { font-size: 13px; cursor: pointer; }
.presence-api { display: block; font-size: 11px; overflow-wrap: anywhere; background: #f7f7f9; padding: 10px; border-radius: 5px; }
/* Task detail */
.detail-overlay { position: fixed; inset: 0; background: #27273333; z-index: 10; display: flex; justify-content: flex-end; }
.detail { width: min(720px,100%); height: 100dvh; overflow: auto; background: #fff; padding: 25px 35px 50px; box-shadow: -10px 0 50px #26223912; }
.detail-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.icon-button { padding: 7px 10px; border: 0; background: transparent; font-size: 16px; color: #777b86; }
.detail h1 { font-size: 25px; line-height: 1.4; letter-spacing: -.6px; margin: 15px 0 13px; overflow-wrap: anywhere; }
.badge { display: inline-flex; gap: 4px; align-items: center; font-size: 10px; color: #787986; background: #f6f6f8; border-radius: 4px; padding: 3px 6px; white-space: nowrap; }
.badge.ai { color: #8d879e; background: #f6f4fa; }
.detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin-bottom: 23px; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; margin: 17px 0; }
.controls button, .controls select { font-size: 12px; }
.detail-tabs { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 26px 0 24px; border-bottom: 1px solid var(--line); }
.detail-tabs button { border: 0; background: transparent; border-radius: 0; padding: 12px 0; color: #8a8d98; font-size: 12px; }
.detail-tabs button.active { color: var(--accent); box-shadow: 0 2px var(--accent); }
.section { margin: 26px 0; }
.section h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.prose { font-size: 13px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose-list { padding-left: 20px; font-size: 13px; line-height: 1.85; margin: 9px 0; color: #60646f; }
.prose-list li { margin-bottom: 5px; }
.callout { background: #fafafa; border: 1px solid var(--line); border-radius: 8px; padding: 15px 17px; color: #6f7380; font-size: 12px; line-height: 1.8; }
.ai-note { background: #faf9fd; border-color: #eae6f4; color: #8b819f; font-size: 11px; }
.source-message { border-left: 2px solid #dbd9e6; padding: 10px 15px; background: #fafafa; font-size: 12px; line-height: 1.8; margin: 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-message small { display: block; margin-bottom: 5px; }
.attachments { display: flex; gap: 8px; flex-wrap: wrap; }
.attachment { font-size: 12px; text-align: left; display: block; max-width: 100%; overflow-wrap: anywhere; }
.attachment small { display: block; margin-top: 4px; font-size: 10px; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11px; }
.comment-top time { margin-left: auto; color: var(--muted); font-size: 10px; }
.agent-notes-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; font-size: 11px; }
.agent-notes-toolbar button { font-size: 11px; }
.agent-note .comment-top { flex-wrap: wrap; }
.agent-note .comment-top strong { min-width: 0; overflow-wrap: anywhere; }
.comment-form { margin-top: 20px; }
.comment-form button { margin-top: 9px; }
.hypothesis { border: 1px solid var(--line); border-radius: 9px; padding: 17px; margin: 12px 0; }
.hypothesis-title { font-size: 9px; color: #9791a5; letter-spacing: 1px; margin-bottom: 9px; }
.hypothesis p { font-size: 13px; line-height: 1.8; }
.verification { font-size: 12px; color: #85828e; margin-top: 10px; }
.evidence-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; font-size: 11px; }
.repo-row { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.repo-row code { font-size: 10px; background: #f2f1f6; padding: 3px 5px; border-radius: 4px; }
.evidence { border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; overflow: hidden; }
.evidence summary { padding: 12px; font-size: 11px; overflow-wrap: anywhere; }
summary { cursor: pointer; font-size: 12px; color: #71727e; }
.evidence pre { font-size: 11px; padding: 15px; overflow: auto; line-height: 1.6; background: #f8f8fa; margin: 0; max-height: 320px; }
.events { display: grid; gap: 12px; font-size: 11px; color: var(--muted); }
.event-text { overflow-wrap: anywhere; margin: 3px 0; }
.edit-form { display: grid; gap: 17px; margin-top: 20px; }
.edit-form>label { display: grid; gap: 8px; font-size: 12px; }
.error-text { color: #b35656; }
/* Dialogs and session gate */
.boot { max-width: 380px; margin: 18vh auto; text-align: center; padding: 28px; }
.boot h1 { font-size: 24px; margin-top: 20px; }
.boot p { font-size: 13px; line-height: 1.8; margin-top: 12px; color: var(--muted); }
.boot button { margin-top: 22px; }
.locked-icon { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; color: #9d96b5; border: 1px solid var(--line); border-radius: 15px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #30303b; color: #fff; padding: 12px 19px; border-radius: 9px; z-index: 30; font-size: 12px; max-width: 90vw; box-shadow: 0 8px 30px #0002; display: none; }
#toast.show { display: block; }
dialog { border: 1px solid var(--line); border-radius: 13px; max-width: min(900px,95vw); max-height: 90dvh; padding: 20px; color: inherit; }
dialog::backdrop { background: #27273355; }
#action-dialog { width: 420px; padding: 26px; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.dialog-intro { font-size: 12px; color: var(--muted); line-height: 1.8; }
.steps { padding-left: 20px; font-size: 13px; line-height: 2; margin: 20px 0 25px; }
#media-content img, #media-content video { display: block; max-width: 100%; max-height: 75dvh; margin: auto; }
#close-media { display: flex; margin-left: auto; }
.mobile-brand, .mobile-access { display: none; }
.detail { width: min(680px,100%); padding: 20px 28px 40px; }
.detail h1 { font-size: 23px; margin: 13px 0; }
.detail-header { margin-bottom: 18px; }
.detail-meta { margin-bottom: 15px; }
.detail-tabs { margin: 20px 0; }
.section { margin: 20px 0; }
.settings-footnote p { margin-top: 9px; }
.presence-schedule summary { margin-bottom: 8px; }
@media(max-width:750px) {
  .topbar { height: 58px; padding: 0 16px; }
  .brand-home { font-size: 16px; gap: 8px; }
  .top-actions { gap: 7px; }
  .main { padding: 18px 16px 48px; }
  .project-tabs { display: flex; width: 100%; }
  .project-tabs button { flex: 1; min-width: 0; padding: 8px 12px; font-size: 12px; }
  .list-toolbar { gap: 5px; margin: 14px 0 12px; }
  .view-tabs { gap: 2px; }
  .view-tabs button { font-size: 11px; padding: 8px 10px; }
  .list-actions { gap: 1px; }
  .ticket-row { grid-template-columns: 29px minmax(0,1fr) auto; gap: 9px; padding: 12px 7px; min-height: 54px; }
  .ticket-title { font-size: 13px; }
  .ticket-id { font-size: 9px; }
  .row-signals { gap: 7px; }
  .row-comments { display: none; }
  .task-group { margin-bottom: 15px; }
  .member-columns { display: none; }
  .member-row { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px 0; }
  .member-identity { grid-column: 1/-1; margin-bottom: 5px; }
  .permission-toggle { justify-content: space-between; gap: 6px; }
  .permission-toggle>span:first-child { display: inline; font-size: 10px; color: #767a86; }
  .permission-toggle input { right: 0; }
  .member-action { grid-column: 1/-1; text-align: left; }
  .access-toolbar .search-wrap { min-width: 0; }
  .access-toolbar input { width: 100%; min-width: 0; }
  .detail { padding: calc(18px + env(safe-area-inset-top)) 18px calc(30px + env(safe-area-inset-bottom)); }
  .detail h1 { font-size: 22px; }
  .controls .custom-select { flex: 1; }
  .controls>.custom-select>button { width: 100%; }
  .controls #assign { width: 100%; }
  .detail-tabs { gap: 0 20px; }
  .detail-tabs button { font-size: 11px; }
  .prose, .prose-list { font-size: 13px; }
  #action-dialog { padding: 20px; }
  .select-options { max-width: min(300px,85vw); }
}
@media(prefers-reduced-motion:reduce) { * { transition: none!important; scroll-behavior: auto!important; } }

.fold { border-top: 1px solid var(--line); padding-top: 15px; }
.fold>summary { font-size: 12px; color: #80758d; }
.fold[open]>summary { margin-bottom: 14px; }
.fold h3 { margin: 12px 0 6px; }
.ai-disclaimer { font-size: 11px; color: #9a8ba9; }

/* Ticket content carries the hierarchy; identifiers are supporting metadata. */
.ticket-row { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 15px 8px; }
.ticket-title { font-size: 14px; font-weight: 600; }
.ticket-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 3px; }
.ticket-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.ticket-number { font-size: 10px; color: #9296a0; font-variant-numeric: tabular-nums; }
.ticket-kind { font-size: 11px; color: var(--muted); }
.ticket-foot .row-note { margin: 0; font-size: 10px; }
.ticket-foot .row-comments { display: inline-flex; gap: 3px; align-items: center; }
.ticket-foot .row-comments svg { width: 13px; height: 13px; }
.row-priority { display: inline-flex; align-items: center; color: #8b8e9b; }
.row-priority.high { color: #b88425; }.row-priority.urgent { color: #ce5d5d; }
.row-previews { display: flex; gap: 5px; position: relative; }
.row-preview { display: block; position: relative; width: 60px; height: 52px; border-radius: 7px; overflow: hidden; background: #f2f3f6; }
.row-preview img, .detail-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.preview-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: #9a9dab; font-size: 22px; }
.more-media { position: absolute; right: 4px; bottom: 4px; background: #292b34b8; color: #fff; padding: 2px 5px; border-radius: 4px; font-size: 10px; }
.video-indicator { position: absolute; left: 7px; bottom: 7px; border-radius: 50%; display: grid; place-items: center; width: 22px; height: 22px; background: #25272d99; color: white; font-size: 9px; }
.user-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; position: relative; width: 24px; height: 24px; border-radius: 50%; background: #f0edf7; color: #8c7ba6; font-size: 10px; overflow: hidden; vertical-align: middle; }
.user-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-avatar { display: flex; justify-content: center; margin: 20px 0 12px; }
.profile-avatar .user-avatar { width: 96px; height: 96px; font-size: 30px; }
.profile-name { text-align: center; font-weight: 600; margin-bottom: 20px; }
.ticket-foot .user-avatar { width: 24px; height: 24px; font-size: 9px; }
.ticket-author, .ticket-assignee { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.member-identity .user-avatar, .comment-top .user-avatar { width: 30px; height: 30px; }
.detail-header { gap: 8px; }
.breadcrumb { border: 0; padding: 7px 0; color: var(--muted); background: none; font-size: 12px; }
.detail-actions { display: flex; gap: 4px; margin-left: auto; }
.detail-actions .icon-button { display: inline-flex; width: 34px; height: 34px; padding: 7px; }
.ticket-controls { gap: 6px; }
.ticket-controls .select-trigger { padding: 7px 9px; font-size: 12px; }
.media-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 8px; margin: 20px 0; }
.media-tile { display: block; min-width: 0; max-width: 300px; padding: 0; border: 1px solid var(--line); overflow: hidden; border-radius: 9px; text-align: left; }
.detail-preview { display: block; position: relative; aspect-ratio: 16/10; background: #f4f4f7; }
.media-caption { display: block; font-size: 11px; padding: 8px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title-editor { width: 100%; font-size: 23px; font-weight: 600; margin: 12px 0; }
.inline-editor { margin-top: 20px; }
.inline-editor textarea { font-size: 14px; min-height: 180px; }
.edit-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.upload-button { display: inline-flex; align-items: center; gap: 6px; position: relative; font-size: 12px; color: var(--accent); padding: 12px 0; cursor: pointer; }
.upload-button input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.upload-button:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.pending-files>div, .agent-list>div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pending-files span { overflow-wrap: anywhere; min-width: 0; }
.pending-files button { border: 0; padding: 5px; }
.agent-list { margin: 20px 0; }.agent-list p { font-size: 12px; }
.agent-token { margin: 12px 0; width: 100%; font-family: monospace; }
.source-message small, .event-actor { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.event-actor time { margin-left: auto; }
.event-text { padding-top: 6px; }
.range-presets { display: flex; gap: 8px; margin: 18px 0; }
.range-presets button { flex: 1; font-size: 12px; padding: 8px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; font-size: 13px; }
.calendar-heading strong { font-weight: 600; text-transform: capitalize; }
.calendar-heading button { border: 0; font-size: 22px; padding: 3px 12px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.calendar-grid button { border: 0; border-radius: 6px; aspect-ratio: 1; padding: 0; font-size: 12px; }
.calendar-grid .weekday { text-align: center; font-size: 11px; color: var(--muted); padding-bottom: 7px; }
.calendar-grid .in-range { background: var(--soft); color: var(--accent); border-radius: 0; }
.calendar-grid .selected { background: var(--accent); color: #fff; }
.calendar-grid .today:not(.selected) { box-shadow: inset 0 0 0 1px var(--accent); }
.range-summary { text-align: center; font-size: 12px; color: var(--muted); margin: 18px 0; }
#toast button { margin-left: 12px; background: transparent; color: inherit; border-color: #ffffff55; padding: 3px 7px; font-size: 12px; }
@media(max-width:750px) {
  .ticket-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 14px 1px; }
  .ticket-title { font-size: 13px; }
  .ticket-excerpt { font-size: 12px; }
  .row-preview { width: 54px; height: 54px; }
  .row-previews .row-preview:nth-child(2) { display: none; }
  .ticket-foot { gap: 8px; }
  .ticket-controls .custom-select { flex: 0 1 auto; }
  .ticket-controls .select-trigger { padding: 7px; font-size: 11px; }
  .ticket-controls .select-trigger svg { width: 14px; height: 14px; }
  .ticket-controls .select-trigger .status-icon { width: 13px; }
  .title-editor { font-size: 21px; }
  .media-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:750px) {
  .row-previews .more-media { display: none; }
  .row-previews[data-count]::after { content: attr(data-count); position: absolute; right: 4px; bottom: 4px; background: #292b34b8; color: #fff; padding: 2px 5px; border-radius: 4px; font-size: 10px; }
}
.media-download { display: block; margin: 12px auto 0; text-align: center; font-size: 12px; }

/* Browser sign-in and desktop workspace. The compact layout stays available in Mini Apps. */
.login-page { min-height: 100dvh; max-width: 1000px; margin: auto; padding: 48px 40px; display: grid; grid-template-columns: .9fr 1fr; gap: 64px; align-items: center; }
.login-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; margin-bottom: 0; }
.login-brand .brand-mark { width: 36px; height: 36px; }
.eyebrow { color: #8b809e; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; }
.login-features { display: grid; gap: 16px; margin-top: 28px; color: #6e647e; font-size: 13px; }
.login-features>span { display: flex; align-items: center; gap: 12px; }
.login-card { padding: 40px 32px; border: 1px solid var(--line); border-radius: 22px; text-align: center; background: #fff; box-shadow: 0 20px 80px #39295208; }
.login-card h2 { margin: 24px 0 12px; font-size: 23px; letter-spacing: -.5px; }
.login-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.login-card .form-error { color: #a45454; margin-top: 16px; }
.telegram-login { width: 100%; background: #248bcc; color: white; border: 0; font-weight: 600; padding: 14px; margin: 28px 0 0; }
.telegram-login:hover { background: #1b7dbb; }
.telegram-login:disabled { opacity: .5; }
.login-card .login-note { margin: 24px 0 14px; font-size: 12px; }
.telegram-ticket-link { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 16px; font-size: 12px; text-decoration: none; }
.telegram-ticket-link:hover { text-decoration: underline; }
.login-card .telegram-ticket-link { margin: 16px 0 0; }
#ticket-share-url { width: 100%; margin-top: 12px; }
.workspace-heading { display: none; }
.result-count { display: block; color: var(--muted); font-size: 11px; margin: 12px 0; }
.sort-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.sort-label .select-trigger { border: 0; }
@media(min-width: 1024px) {
  body { background: #faf9fc; }
  .topbar { height: 72px; padding: 0 max(32px,calc((100% - 1376px)/2)); }
  .main:not(.settings-page) { display: grid; grid-template-columns: 196px minmax(0,1fr); gap: 32px; max-width: 1440px; padding: 36px 32px 72px; align-items: start; }
  .project-tabs { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 6px; background: transparent; padding: 0; border-radius: 0; }
  .project-tabs button { justify-content: flex-start; min-width: 0; padding: 12px 14px; }
  .project-tabs button[aria-selected=true] { background: #eeebf6; border-color: #e7e1f1; box-shadow: none; }
  #project-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
  .workspace-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .workspace-heading h1 { font-size: 26px; letter-spacing: -.8px; margin: 0; }
  .workspace-heading p { color: var(--muted); font-size: 12px; }
  .workspace-role { padding: 7px 10px; border-radius: 20px; background: #f5f3f9; color: #8c7da2; font-size: 10px; white-space: nowrap; }
  .ticket-title { font-size: 14px; }
  .ticket-excerpt { max-width: 65ch; }
  .ticket-row { padding: 18px 10px; }
  .row-preview { width: 80px; height: 62px; }
  .task-group h2 { padding: 10px 12px; }
  .settings-page { padding-top: 36px; }
  .detail-overlay { align-items: center; justify-content: center; padding: 32px; background: #27273366; }
  .detail { width: min(940px,100%); height: calc(100dvh - 64px); border-radius: 18px; padding: 24px 48px 48px; }
  .detail-header { position: sticky; top: -24px; z-index: 3; background: #fff; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .detail h1 { font-size: 30px; max-width: 760px; }
  .detail .prose { font-size: 14px; }
  .detail-tabs button { font-size: 13px; }
  .inline-editor textarea { min-height: 260px; }
}
@media(min-width: 751px) {
  .member-columns, .member-row { grid-template-columns: minmax(160px,1fr) 110px 84px 110px 105px; gap: 12px; }
}
@media(max-width: 750px) {
  .login-page { grid-template-columns: 1fr; gap: 28px; padding: 30px 20px; align-content: center; }
  .login-features { display: none; }
  .login-card { padding: 26px 22px; }
  .sort-label { font-size: 0; gap: 0; }
  .sort-label .select-trigger { max-width: 122px; font-size: 10px; padding: 5px; }
  .list-toolbar { flex-wrap: wrap; }
  .list-actions { margin-left: auto; }
}

.group-chat-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 14px; font-weight: 600; }
.group-chat-switch input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--accent); }

/* Workspace sections and manual creation */
.status-icon.backlog, .badge.backlog { color:#76669d; }
.create-task-form { margin-top:12px; }
.create-task-form textarea { min-height:140px; resize:vertical; }
.create-options { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.create-options > label:first-child { grid-column:1 / -1; }
.create-task-form .custom-select, .create-task-form .select-trigger { width:100%; }
.create-task-form .select-trigger { justify-content:space-between; }
.create-task-form a { color:inherit; text-underline-offset:3px; }
@media (max-width:480px) { .create-options { grid-template-columns:1fr; } }

.create-options label { display:grid; gap:8px; font-size:12px; }
#action-dialog:has(.create-task-form) { width:600px; }

.agent-handoff-text { width: 100%; margin-top: 12px; font-size: 12px; }
@media (max-width:480px) { .detail-header .breadcrumb { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; justify-content: flex-start; } .detail-actions { flex-shrink: 0; gap: 2px; } }

.trash-toolbar { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.trash-toolbar .task-search { flex: 1; min-width: min(240px, 100%); margin: 0; }
.trash-toolbar .select-trigger { min-height: 42px; }
.trash-row { display: flex; align-items: flex-start; flex-direction: column; width: 100%; gap: 9px; padding: 18px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; }
.trash-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--muted); }
.deleted-notice { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px; margin-bottom: 20px; background: #fff6e8; border-radius: 9px; font-size: 12px; }

/* iOS zooms focused form fields below 16px. Keep pinch zoom available.
   The title editor already uses 21px or more. Cover touch tablets too. */
@media (max-width: 1023px), (any-pointer: coarse) {
  :root :is(input, select, textarea):not(.title-editor) { font-size: 16px; }
}

.workday-message:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; margin-left: auto; color: #81778f; font-size: 12px; line-height: 1.4; }
.workday-emoji { flex-shrink: 0; font-size: 17px; }
@media (max-width:750px) {
  .topbar { gap: 10px; }
  .brand-home, .top-actions { flex-shrink: 0; }
  .workday-message:not([hidden]) { font-size: 10px; gap: 5px; max-width: 190px; }
  .workday-emoji { font-size: 15px; }
}

.ticket-labels, .assignment-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.ticket-labels { margin-top: 9px; font-size: 11px; }

.task-tag { display: inline-block; max-width: 100%; padding: 3px 7px; border-radius: 5px; background: #f1edf8; color: #7c669b; font-size: 10px; overflow-wrap: anywhere; }
.ticket-ownership { display: grid; gap: 14px; margin: 18px 0; font-size: 12px; }
.assignee-field, .ticket-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.field-caption { color: var(--muted); min-width: 82px; font-size: 11px; }
.assignee-field .custom-select { max-width: 100%; }
.tag-suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-suggestions button { font-size: 12px; }
.tag-suggestions button[aria-pressed=true] { background: #eeeaf8; color: var(--accent); border-color: #d9d0f0; }
#task-filter-form .select-trigger { width: 100%; }

/* Ticket movement, tag selection and scheduled Telegram reminders. */
.workspace-nav { display:flex; align-items:center; gap:4px; }
.workspace-nav button { display:flex; align-items:center; gap:7px; border:0; background:transparent; color:var(--muted); }
.workspace-nav button.active { color:var(--accent); background:var(--accent-soft, #f2effb); }
.ticket-entry { position:relative; }
.ticket-entry.movable { padding-left:28px; }
.ticket-drag-handle { position:absolute; left:0; top:24px; width:26px; padding:4px; border:0; background:transparent; color:#a09ba8; cursor:grab; font-size:22px; touch-action:none; user-select:none; }
.ticket-drag-handle:hover, .ticket-drag-handle:focus-visible { color:var(--accent); background:#f2effb; }
.movable .ticket-row { cursor:grab; user-select:none; }
.ticket-row.is-dragging { opacity:.4; }
.task-group { outline:2px solid transparent; outline-offset:4px; border-radius:8px; }
.task-group.drop-active { outline-color:var(--accent, #7660a5); background:#f4efff; }
.empty-drop-target { display:none; }
.ticket-dragging .empty-drop-target { display:block; }
.ticket-dragging { cursor:grabbing; user-select:none; }
.drop-placeholder { border:1px dashed #c6bed4; padding:18px; border-radius:8px; font-size:12px; color:var(--muted); text-align:center; }
.tag-picker { display:grid; gap:8px; }
.tag-picker-control { position:relative; }
.tag-picker-control>input { width:100%; }
.tag-picker-control .tag-picker-options { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:12; }
.tag-picker-chips { display:flex; flex-wrap:wrap; gap:6px; }
.tag-picker-chips:empty { display:none; }
.tag-picker-chips button { cursor:pointer; }
.tag-picker-options { max-height:190px; overflow:auto; border:1px solid var(--line); border-radius:9px; padding:4px; background:#fff; box-shadow:0 4px 16px #2727330b; }
.tag-picker-options[hidden] { display:none; }
.tag-picker-options button { display:block; width:100%; text-align:left; border:0; background:transparent; padding:9px; }
.tag-picker-options button:hover, .tag-picker-options button:focus-visible, .tag-picker-options button[aria-selected=true] { background:#f3effa; color:var(--accent); }
.tag-picker-options>span { display:block; padding:9px; font-size:12px; }
.reminders-page { max-width:960px; }
.reminder-heading { margin-bottom:24px; gap:16px; }
.reminder-heading h1 { font-size:26px; }
.reminder-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 18px; flex-wrap:wrap; }
.reminder-toolbar .view-tabs { flex-wrap:wrap; }
.reminder-context { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--muted); }
.demo-label { padding:3px 6px; border:1px solid var(--line); border-radius:4px; }
.reminder-card { padding:22px 2px; border-top:1px solid var(--line); }
.reminder-card-top { display:flex; align-items:flex-start; gap:16px; }
.reminder-card-top button { flex-shrink:0; margin-left:auto; color:var(--muted); width:28px; height:28px; }
.reminder-text { margin:0; font-size:15px; line-height:1.6; font-weight:500; white-space:pre-wrap; overflow-wrap:anywhere; }
.reminder-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px 18px; margin:10px 0; color:var(--muted); font-size:12px; }
.reminder-meta>span, .reminder-meta>time { display:inline-flex; align-items:center; gap:6px; }
.reminder-meta svg, .reminder-people svg { width:15px; height:15px; color:#98939e; }
.reminder-state { padding:3px 7px; background:#f2effb; border-radius:5px; color:#795ea6; font-size:11px; }
.reminder-state.sent { background:#eaf5ef; color:#3b7754; }
.reminder-state.failed, .reminder-state.partial { background:#fff1e9; color:#9a5b37; }
.reminder-state.cancelled { background:#f1f1f3; color:var(--muted); }
.reminder-people { display:flex; align-items:flex-start; gap:6px; color:var(--muted); font-size:12px; line-height:1.5; }
.reminder-people svg { margin-top:1px; }
.reminder-delivery summary { display:flex; align-items:center; justify-content:flex-start; gap:8px; cursor:pointer; list-style:none; }
.reminder-delivery summary::-webkit-details-marker { display:none; }
.reminder-delivery summary>svg { width:13px; height:13px; color:var(--muted); }
.reminder-delivery[open] summary>svg { transform:rotate(180deg); }
.reminder-recipients { display:grid; gap:12px; padding:14px 0 0 21px; }
.reminder-recipients>div { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; font-size:12px; }
.reminder-recipients small { color:var(--muted); font-size:11px; }
.reminder-recipients .failed, .reminder-recipients .delivery-error { color:#a65739; }
.reminder-recipients .delivery-error { flex-basis:100%; }
.reminder-empty { border-top:1px solid var(--line); }
.reminder-empty h2 { font-size:15px; font-weight:500; }
.reminder-lead { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:end; }
.reminder-lead label { display:grid; gap:8px; font-size:12px; }
.reminder-lead .select-trigger { width:100%; min-height:38px; }
.form-label-line { display:flex; align-items:baseline; justify-content:space-between; }
.form-label-line small { font-size:11px; font-weight:400; }
.recipient-picker { display:flex; flex-wrap:wrap; gap:8px; border:0; margin:0; padding:0; max-height:180px; overflow:auto; }
.recipient-picker legend { font-size:12px; margin-bottom:10px; padding:0; }
.recipient-picker label { display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid var(--line); border-radius:7px; font-size:12px; cursor:pointer; }
.recipient-picker label:has(input:checked) { background:var(--soft); border-color:#c9c3f4; }
.recipient-picker input { width:14px; height:14px; margin:0; accent-color:var(--accent); }
.reminder-form .form-error:empty, .tag-picker .form-error:empty { display:none; }
@media(max-width:700px) {
  .workspace-nav button { font-size:11px; padding:8px; gap:4px; }
  .workspace-nav svg { display:none; }
  .topbar:has(.workspace-nav) { gap:6px; }
  .topbar:has(.workspace-nav) .workday-message { display:none !important; }
  .topbar .brand-home { gap:6px; }
  .reminder-card { padding:18px 0; }
  .reminder-toolbar { margin:0 0 14px; gap:10px; }
  .reminder-heading h1 { font-size:22px; }
}
