/* 2.42.0: My Manager (Modern Calm): one quiet column of what matters, soft cards, few colours, room to breathe */
.mgr { display: flex; flex-direction: column; gap: 18px; max-width: 1120px; margin-inline: auto; }
.mgr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mgr-title { margin: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.mgr-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, #0D9488 14%, var(--panel)); color: color-mix(in srgb, #0F766E 90%, var(--ink)); }
.mgr-sub { margin: 6px 0 0; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.mgr-head-actions { display: flex; gap: 8px; align-items: center; }
.mgr-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 16px; }
a.mgr-pill { text-decoration: none; }
.mgr-quiet { border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 8px; }
.mgr-quiet:hover { color: var(--ink); background: var(--sunk); }
.mgr-muted { color: var(--muted); margin: 0; }
.mgr-grow { flex: 1; }

.mgr-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mgr-tabs::-webkit-scrollbar { display: none; }
.mgr-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--panel); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); white-space: nowrap; font-size: 14px; }
.mgr-tabs a.on { background: var(--ink); color: var(--panel); }
.mgr-tabs a:focus-visible { outline: none; box-shadow: var(--focus); }

.mgr-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mgr-date { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 17px; }
.mgr-heb { color: var(--muted); font-size: 14px; }

.mgr-card { background: var(--panel); border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .04); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mgr-card-title { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.mgr-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--sunk); color: var(--muted); }
.mgr-ico.i-alert { background: color-mix(in srgb, #F59E0B 16%, var(--panel)); color: #B45309; }
.mgr-ico.i-check { background: var(--accent-soft); color: var(--accent); }
.mgr-ico.i-folder { background: color-mix(in srgb, #0D9488 14%, var(--panel)); color: #0F766E; }
.mgr-ico.i-lightbulb { background: color-mix(in srgb, #EAB308 18%, var(--panel)); color: #A16207; }
.mgr-ico.i-sparkle { background: color-mix(in srgb, #7C3AED 14%, var(--panel)); color: #6D28D9; }
.mgr-empty { color: var(--muted); margin: 0; font-size: 14px; }
.mgr-more { font-size: 13px; color: var(--accent); text-decoration: none; align-self: flex-start; }

.mgr-capture { display: flex; align-items: center; gap: 8px; background: var(--panel); border-radius: 999px; padding: 6px 6px 6px 16px; padding-inline: 16px 6px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .05); }
.mgr-capture-ico { color: var(--muted); flex: none; }
.mgr-capture input[type="text"] { flex: 1; min-width: 0; border: 0; background: none; font-size: 16px; padding: 8px 4px; box-shadow: none; }
.mgr-capture input[type="text"]:focus { outline: none; box-shadow: none; }
.mgr-capture:focus-within { box-shadow: var(--focus), 0 8px 24px rgba(15, 23, 42, .05); }
.mgr-mic { flex: none; border-radius: 999px; width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.mgr-mic.rec { background: var(--fault); color: #fff; border-color: var(--fault); animation: mgr-pulse 1.2s ease-in-out infinite; }
@keyframes mgr-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--fault) 25%, transparent); } }
@media (prefers-reduced-motion: reduce) { .mgr-mic.rec { animation: none; } }

.mgr-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, #7C3AED 9%, var(--panel)); color: var(--ink); text-decoration: none; }
.mgr-banner > .ico { color: #6D28D9; flex: none; }
.mgr-banner > span:nth-child(2) { flex: 1; }
.mgr-banner-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: #6D28D9; }

.mgr-three { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--panel)), var(--panel) 70%); border-radius: 20px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .05); display: flex; flex-direction: column; gap: 14px; }
.mgr-three-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mgr-three-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.mgr-three-head p { margin: 4px 0 0; font-size: 14px; }
.mgr-three-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mgr-pr { display: flex; align-items: flex-start; gap: 10px; background: var(--panel); border-radius: 14px; padding: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); min-width: 0; }
.mgr-three-list.suggested .mgr-pr { background: color-mix(in srgb, var(--panel) 70%, transparent); border: 1px dashed var(--line); box-shadow: none; }
.mgr-pr-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; background: var(--accent-soft); color: var(--accent); }
.mgr-pr-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-weight: 500; overflow-wrap: anywhere; }
.mgr-pr.done .mgr-pr-text .mgr-link { text-decoration: line-through; color: var(--muted); }
.mgr-why { font-size: 12px; font-weight: 400; color: var(--muted); }

.mgr-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mgr-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .mgr-grid { grid-template-columns: minmax(0, 1fr); } }

.mgr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mgr-list.mgr-card { padding: 6px 16px; gap: 0; }
.mgr-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); min-width: 0; }
.mgr-row:last-child { border-bottom: 0; }
.mgr-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.mgr-link { border: 0; background: none; padding: 0; color: var(--ink); text-align: start; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; overflow-wrap: anywhere; white-space: normal; }
.mgr-link:hover { color: var(--accent); }
.mgr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.mgr-meta .ico { vertical-align: -2px; }
.mgr-next { color: var(--muted); font-size: 13px; font-weight: 400; }
.mgr-late { color: var(--fault); font-weight: 500; }
.mgr-done { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ok); cursor: pointer; }
.mgr-badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 500; padding: 1px 9px; border-radius: 999px; background: var(--sunk); color: var(--muted); }
.mgr-badge.k-decision { background: color-mix(in srgb, #7C3AED 13%, var(--panel)); color: color-mix(in srgb, #6D28D9 85%, var(--ink)); }
.mgr-badge.k-issue, .mgr-badge.s-blocked { background: color-mix(in srgb, #F04438 13%, var(--panel)); color: color-mix(in srgb, #B42318 85%, var(--ink)); }
.mgr-badge.s-waiting { background: color-mix(in srgb, #F59E0B 16%, var(--panel)); color: color-mix(in srgb, #92400E 85%, var(--ink)); }
.mgr-badge.s-doing { background: var(--accent-soft); color: var(--accent); }
.mgr-badge.p-high { background: color-mix(in srgb, #F97316 14%, var(--panel)); color: color-mix(in srgb, #C2410C 85%, var(--ink)); }
.mgr-progress { height: 6px; border-radius: 999px; background: var(--sunk); overflow: hidden; margin: 4px 0 2px; }
.mgr-progress > span { display: block; height: 100%; border-radius: inherit; background: color-mix(in srgb, #0D9488 70%, var(--panel)); }

.mgr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mgr-chip { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 400; background: var(--sunk); border: 0; color: var(--ink); white-space: normal; text-align: start; }
.mgr-chip:hover { background: var(--accent-soft); }
.mgr-chip[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.mgr-chat { display: flex; flex-direction: column; gap: 10px; }
.mgr-chat:empty { display: none; }
.mgr-chat-pair { display: flex; flex-direction: column; gap: 6px; }
.mgr-chat-q { align-self: flex-end; background: var(--accent-soft); border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-size: 14px; max-width: 90%; }
[dir="rtl"] .mgr-chat-q { border-radius: 14px 14px 14px 4px; }
.mgr-chat-a { background: var(--sunk); border-radius: 14px; padding: 8px 12px; font-size: 14px; white-space: pre-wrap; }
ul.mgr-chat-a { padding-inline-start: 26px; list-style: disc; white-space: normal; }
.mgr-ask-row { display: flex; gap: 8px; align-items: center; }
.mgr-ask-row input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 14px; }

.mgr-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mgr-toolbar h2 { margin: 0; font-size: 16px; font-weight: 600; }
.mgr-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mgr-project-title { font-size: 16px; flex: 1; }
.mgr-project.st-done, .mgr-project.st-dropped { opacity: .7; }
.mgr-milestones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mgr-milestones li.done { color: var(--muted); text-decoration: line-through; }
.mgr-ms-edit { display: flex; flex-direction: column; gap: 6px; }
.mgr-ms-edit .row input[type="text"] { flex: 1; }
.mgr-older summary { cursor: pointer; color: var(--muted); font-size: 14px; margin-bottom: 8px; }

.mgr-dump { background: var(--panel); border-radius: 20px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .05); display: flex; flex-direction: column; gap: 12px; }
.mgr-dump h2 { margin: 0; font-size: 18px; font-weight: 600; }
.mgr-dump-text { width: 100%; min-height: 140px; resize: vertical; border-radius: 14px; padding: 14px 16px; font-size: 16px; line-height: 1.7; background: var(--sunk); border: 1px solid transparent; }
.mgr-dump-text:focus { background: var(--panel); border-color: var(--line); }
.mgr-dump-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mgr-review { display: flex; flex-direction: column; gap: 12px; }
.mgr-sugs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .mgr-sugs { grid-template-columns: minmax(0, 1fr); } }
.mgr-sug { background: var(--panel); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 18px rgba(15, 23, 42, .04); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mgr-sug-top { display: flex; gap: 8px; align-items: center; min-width: 0; }
.mgr-kind { flex: none; width: auto; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 500; border: 0; background: var(--sunk); }
.mgr-kind[data-k="task"], .mgr-kind[data-k="reminder"] { background: var(--accent-soft); color: var(--accent); }
.mgr-kind[data-k="idea"] { background: color-mix(in srgb, #EAB308 18%, var(--panel)); color: color-mix(in srgb, #854D0E 90%, var(--ink)); }
.mgr-kind[data-k="project"] { background: color-mix(in srgb, #0D9488 14%, var(--panel)); color: color-mix(in srgb, #115E59 90%, var(--ink)); }
.mgr-kind[data-k="issue"] { background: color-mix(in srgb, #F04438 13%, var(--panel)); color: color-mix(in srgb, #B42318 85%, var(--ink)); }
.mgr-kind[data-k="decision"] { background: color-mix(in srgb, #7C3AED 13%, var(--panel)); color: color-mix(in srgb, #6D28D9 85%, var(--ink)); }
.mgr-sug-title { flex: 1; min-width: 0; font-weight: 500; border-color: transparent; background: none; padding-inline: 4px; }
.mgr-sug-title:hover, .mgr-sug-title:focus { border-color: var(--line); background: var(--panel); }
.mgr-sug-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mgr-sug-fields label { display: inline-flex; align-items: center; gap: 6px; }
.mgr-sug-fields select { width: auto; padding-block: 4px; }
.mgr-sug-next { flex: 1 1 100%; color: var(--muted); }
.mgr-sug-next input { flex: 1; min-width: 0; font-size: 14px; }
.mgr-sug-actions { display: flex; gap: 8px; align-items: center; }
.mgr-question { border: 1px solid color-mix(in srgb, #7C3AED 25%, var(--line)); }
.mgr-q { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.mgr-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.mgr-settings .check small { display: block; color: var(--muted); }
.mgr-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.mgr-more-fields summary { cursor: pointer; color: var(--muted); margin: 6px 0; }
.mgr-source { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; }
.mgr-pick { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; }
.mgr-pick small { display: block; color: var(--muted); }
.mgr-save { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 600px) {
  .mgr-capture { flex-wrap: wrap; border-radius: 18px; padding: 10px 12px; }
  .mgr-capture input[type="text"] { flex-basis: calc(100% - 40px); }
  .mgr-capture .mgr-pill { flex: 1; justify-content: center; }
  .mgr-three, .mgr-dump { padding: 16px; }
  .mgr-card { padding: 14px 16px; }
  .mgr-head-actions .mgr-pill { padding: 7px 12px; }
}

/* 2.44.0: the rhythm. A guided flow is one calm card, one question at a time; the offer on My Day is one soft line. */
.mgr-head-actions { flex-wrap: wrap; }
.mgr-rescue-btn { color: color-mix(in srgb, #B45309 85%, var(--ink)); }
.mgr-offer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, #F59E0B 12%, var(--panel)), var(--panel) 75%); box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .05); }
.mgr-offer.o-evening { background: linear-gradient(135deg, color-mix(in srgb, #6366F1 12%, var(--panel)), var(--panel) 75%); }
.mgr-offer.o-weekly, .mgr-offer.o-quarterly { background: linear-gradient(135deg, color-mix(in srgb, #0D9488 12%, var(--panel)), var(--panel) 75%); }
.mgr-offer-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); color: #B45309; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.o-evening .mgr-offer-ico { color: #4338CA; }
.o-weekly .mgr-offer-ico, .o-quarterly .mgr-offer-ico { color: #0F766E; }
.mgr-offer-text { flex: 1 1 260px; min-width: 0; }
.mgr-offer-text h2 { margin: 0; font-size: 16px; font-weight: 600; }
.mgr-offer-text p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.mgr-offer-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.mgr-guided .mgr-body { align-items: center; }
.mgr-guide { width: 100%; max-width: 680px; background: var(--panel); border-radius: 24px; padding: 22px 28px 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .06); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mgr-guide-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mgr-guide-kind { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: color-mix(in srgb, #0F766E 85%, var(--ink)); }
.g-morning .mgr-guide-kind { color: #B45309; }
.g-evening .mgr-guide-kind { color: #4338CA; }
.g-rescue .mgr-guide-kind { color: #B45309; }
.mgr-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.mgr-dots li { flex: 1; height: 5px; border-radius: 999px; background: var(--sunk); position: relative; }
.mgr-dots li.done { background: color-mix(in srgb, var(--accent) 45%, var(--panel)); }
.mgr-dots li.on { background: var(--accent); }
.mgr-dots li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mgr-guide-step { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 6px; }
.mgr-guide-n { margin: 0; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.mgr-guide-q { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.mgr-guide-q:focus { outline: none; }
.mgr-guide-sub { font-size: 15px; }
.mgr-guide-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-top: 4px; }
.mgr-guide-body textarea { width: 100%; resize: vertical; border-radius: 14px; padding: 12px 14px; font-size: 16px; line-height: 1.6; background: var(--sunk); border: 1px solid transparent; }
.mgr-guide-body textarea:focus { background: var(--panel); border-color: var(--line); }
.mgr-guide-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.mgr-recap { display: flex; flex-direction: column; gap: 6px; background: var(--sunk); border-radius: 14px; padding: 12px 14px; }
.mgr-recap p { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; overflow-wrap: anywhere; }
.mgr-recap p > .ico { flex: none; margin-top: 2px; color: var(--ok); }
.mgr-recap p.warn > .ico { color: #B45309; }
.mgr-voicebox { display: flex; flex-direction: column; gap: 8px; }
.mgr-voice-row, .mgr-cap-mic { display: flex; align-items: center; gap: 10px; }
.mgr-cap-mic:empty { display: none; }

.mgr-opts { display: flex; flex-direction: column; gap: 8px; }
.mgr-opt { display: flex; align-items: flex-start; gap: 12px; text-align: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 500; white-space: normal; cursor: pointer; }
.mgr-opt:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.mgr-opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--panel)); }
.mgr-opt-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: transparent; margin-top: 1px; }
.mgr-opt[aria-pressed="true"] .mgr-opt-box { background: var(--accent); border-color: var(--accent); color: #fff; }
.mgr-opt-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.mgr-opt-text small { font-weight: 400; color: var(--muted); font-size: 12.5px; }

.mgr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.mgr-tile { background: var(--sunk); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mgr-tile-label { font-size: 12.5px; color: var(--muted); }
.mgr-tile-n { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mgr-tile small { color: var(--muted); font-size: 12px; }
.mgr-sub-h { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.mgr-meas { display: flex; flex-direction: column; }
.mgr-meas-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 96px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.mgr-meas-row:last-child { border-bottom: 0; }
.mgr-meas-name { font-weight: 500; overflow-wrap: anywhere; }
.mgr-meas-row input { text-align: center; font-variant-numeric: tabular-nums; }
.mgr-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.mgr-dot.ok { background: var(--ok); }
.mgr-dot.off { background: #F59E0B; }
.mgr-add-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mgr-add-row input[type="text"] { flex: 1 1 200px; min-width: 0; }
.mgr-add-row .mgr-num { width: 96px; flex: none; }

.mgr-rocks { display: flex; flex-direction: column; gap: 10px; }
.mgr-rock { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--sunk); }
.mgr-rock-top { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.mgr-rock-ico { flex: none; color: #0F766E; margin-top: 2px; }
.mgr-rock input { background: var(--panel); }
.mgr-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--panel); border-radius: 999px; padding: 3px; align-self: flex-start; }
.mgr-seg button { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mgr-seg button[aria-pressed="true"].s-on, .mgr-seg button[aria-pressed="true"].s-done { background: color-mix(in srgb, var(--ok) 16%, var(--panel)); color: color-mix(in srgb, #15803D 90%, var(--ink)); }
.mgr-seg button[aria-pressed="true"].s-off { background: color-mix(in srgb, #F59E0B 20%, var(--panel)); color: color-mix(in srgb, #92400E 90%, var(--ink)); }
.mgr-badge.r-off { background: color-mix(in srgb, #F59E0B 16%, var(--panel)); color: color-mix(in srgb, #92400E 85%, var(--ink)); }
.mgr-badge.r-on, .mgr-badge.r-done { background: color-mix(in srgb, var(--ok) 14%, var(--panel)); color: color-mix(in srgb, #15803D 85%, var(--ink)); }
.mgr-count { margin: 0; font-size: 13px; color: #B45309; }
.mgr-count.ok { color: var(--ok); }

.mgr-ids { display: flex; flex-direction: column; gap: 12px; }
.mgr-ids-part { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.mgr-ids-l { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: color-mix(in srgb, #0D9488 14%, var(--panel)); color: #0F766E; margin-top: 22px; }
.mgr-ids-part .field { margin: 0; }
.mgr-solved { display: flex; align-items: center; gap: 8px; margin: 0; color: color-mix(in srgb, #15803D 90%, var(--ink)); }
.mgr-ok { color: var(--ok); flex: none; }
.mgr-donelist .mgr-row { align-items: center; }
.mgr-stuck-add { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.mgr-stuck-add .field { margin: 0; }
.mgr-park { align-items: center; }
.mgr-park-acts { display: flex; gap: 4px; flex: none; }

.mgr-big-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mgr-big-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: normal; }
.mgr-big-chip:hover, .mgr-big-chip[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--panel)); }
.mgr-big-chip .ico { color: var(--accent); }
.mgr-rescue-out { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.mgr-rescue-step { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 600; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, #F59E0B 10%, var(--panel)); overflow-wrap: anywhere; }

.mgr-guide-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 8px 10px; }
.mgr-guide-done h2 { margin: 0; font-size: 22px; font-weight: 600; }
.mgr-done-mark { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ok) 16%, var(--panel)); color: color-mix(in srgb, #15803D 90%, var(--ink)); }
.mgr-done-actions { justify-content: center; flex-wrap: wrap; margin-top: 6px; }

.mgr-set-row { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.mgr-set-row:last-of-type { border-bottom: 0; }
.mgr-set-row .check small { display: block; color: var(--muted); }
.mgr-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-inline-start: 28px; font-size: 14px; color: var(--muted); }
.mgr-inline select, .mgr-inline input { width: auto; }
.mgr-past summary { cursor: pointer; font-weight: 500; }
.mgr-past-text { white-space: pre-wrap; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.mgr-ways kbd { margin-inline-start: auto; font-size: 12px; color: var(--muted); background: var(--sunk); border-radius: 6px; padding: 1px 6px; align-self: center; }
.mgr-nudge { background: linear-gradient(135deg, color-mix(in srgb, #7C3AED 7%, var(--panel)), var(--panel) 70%); }

@media (max-width: 600px) {
  .mgr-guide { padding: 16px 16px 14px; border-radius: 18px; }
  .mgr-guide-q { font-size: 20px; }
  .mgr-meas-row { grid-template-columns: auto minmax(0, 1fr) 80px; }
  .mgr-meas-row > .mgr-muted { grid-column: 2; grid-row: 2; }
  .mgr-stuck-add { grid-template-columns: minmax(0, 1fr); }
  .mgr-park { flex-wrap: wrap; }
  .mgr-park-acts { width: 100%; justify-content: flex-end; }
  .mgr-guide-foot .mgr-pill { flex: 1; justify-content: center; }
  .mgr-head-actions .mgr-pill { padding: 7px 12px; }
}
.mgr a.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mgr a.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* 2.50.0: My Manager by phone (Settings → Phone) */
.mgr-tag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 500; padding: 1px 9px; border-radius: 999px; background: var(--sunk); color: var(--muted); }
.mgr-tag.ok { background: color-mix(in srgb, var(--ok) 14%, var(--panel)); color: var(--ok); }
.mgr-tag.warn { background: color-mix(in srgb, #F59E0B 16%, var(--panel)); color: #B45309; }
.mgr-card-title .mgr-tag { margin-inline-start: auto; }
.mgr-phone-note { margin: 0; display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--sunk); font-size: 13.5px; }
.mgr-phone-note.warn { background: color-mix(in srgb, #F59E0B 12%, var(--panel)); color: #92400E; }
.mgr-phone-number { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.mgr-phone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.mgr-phone-block { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--sunk) 60%, var(--panel)); min-width: 0; }
.mgr-phone-block h3, .mgr-phone-recs h3 { margin: 0; font-size: 14px; font-weight: 600; }
.mgr-phone-block .mgr-pill { align-self: flex-start; }
.mgr-phone-block input[type="password"] { letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.mgr-phone-nums { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mgr-phone-nums li { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 12px; padding-inline: 12px 4px; border-radius: 999px; background: var(--panel); box-shadow: 0 1px 2px rgba(15, 23, 42, .06); font-size: 13.5px; }
.mgr-phone-rec .mgr-row-main { display: flex; flex-direction: column; gap: 6px; }
.mgr-phone-rec audio { width: 100%; max-width: 320px; height: 32px; }
.mgr-phone-foot { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.mgr-quiet.danger { color: var(--fault); }
@media (max-width: 600px) { .mgr-phone-block .mgr-form-row { flex-direction: column; } }
