@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #fff;
  --ink: #252a2d;
  --muted: #78818b;
  --secondary: #5e6872;
  --line: #e9ecef;
  --sage: #5f8d7b;
  --sage-soft: #edf4f0;
  --orange: #cc805a;
  --orange-soft: #fbf0e9;
  --blue: #7898b9;
  --blue-soft: #edf2f7;
  --purple: #a08eb6;
  --red: #bd5b53;
  --red-soft: #fbefed;
  --sidebar: 216px;
  --radius: 24px;
  --shadow: 0 6px 24px rgb(30 40 50 / 2.5%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; transform: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong { font-weight: 600; }
svg, img { display: block; flex-shrink: 0; }
img { max-width: 100%; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9bbce0; outline-offset: 4px; }
::selection { background: #e7eee8; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 13px 18px; border-radius: 12px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.muted { color: var(--muted); }
.full-width { width: 100%; }
.full-span { grid-column: 1 / -1; }
.green { color: var(--sage); }
.orange { color: var(--orange); }
.blue { color: var(--blue); }
.red { color: var(--red); }
.purple { color: var(--purple); }

/* One quiet navigation rail. */
.sidebar { width: var(--sidebar); position: fixed; inset: 0 auto 0 0; z-index: 30; padding: 30px 17px 22px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 8px 31px; font-size: 22px; font-weight: 650; letter-spacing: -1px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); gap: 3px; place-content: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 12px; background: var(--ink); }
.brand-mark i { width: 6px; height: 6px; border-radius: 2px; background: #fff; }
.brand-mark i:last-child { background: #e5b499; }
.brand-period { margin-left: -10px; color: var(--orange); }
.restaurant-switch { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 11px; margin-bottom: 29px; text-align: left; border: 1px solid var(--line); border-radius: 15px; background: #f8f9fa; }
.restaurant-symbol { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--secondary); }
.restaurant-switch strong { display: block; font-size: 12px; }
.restaurant-switch small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }
.switch-chevron { margin-left: auto; color: var(--muted); }
.nav-label { padding: 0 13px; margin-bottom: 10px; color: #88919a; font-size: 9px; font-weight: 600; letter-spacing: 1.35px; }
.sidebar nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 46px; padding: 11px 13px; border: 0; border-radius: 13px; background: transparent; color: #707b85; font-size: 13px; font-weight: 500; text-align: left; transition: background .18s, color .18s; }
.nav-item:hover { color: var(--ink); background: #f7f8fa; }
.nav-item.active { color: #a16b4f; background: var(--orange-soft); }
.nav-item .badge-count { margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.source-badge { position: relative; margin: 0 10px 26px; padding-left: 12px; color: var(--secondary); font-size: 10px; }
.source-dot { position: absolute; left: 0; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.source-badge small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.local-info { padding: 22px 11px 0; margin-top: 15px; border-top: 1px solid var(--line); color: var(--secondary); font-size: 10px; }
.local-info small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.app-main { margin-left: var(--sidebar); padding: 0 38px 24px; }
.topbar { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { font-weight: 500; color: var(--secondary); }
.breadcrumb > span { color: #c5cbd0; }
.topbar-actions { display: flex; align-items: center; gap: 11px; }
.today-date { margin-right: 5px; color: var(--muted); font-size: 11px; }
.profile-avatar { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: #eef0f2; border: 1px solid #e7e9ed; color: var(--secondary); font-size: 10px; font-weight: 600; }
#content { max-width: 1440px; margin: auto; outline: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0 25px; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; font-size: 9px; font-weight: 600; margin-bottom: 10px; }
h1 { font-size: clamp(29px, 2.65vw, 38px); line-height: 1.16; letter-spacing: -1.35px; font-weight: 600; }
.subtitle { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.heading-actions { display: flex; align-items: center; flex-shrink: 0; gap: 9px; }
.dot-separator { margin: 0 6px; color: #b3bac1; }
.heading-restaurant { color: var(--secondary); }
.app-footer { max-width: 1440px; margin: 29px auto 0; padding-top: 19px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: #8b949e; font-size: 10px; }

/* Shared surfaces and controls. */
.btn { min-height: 44px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 13px; font-size: 12px; font-weight: 550; line-height: 1.35; white-space: nowrap; transition: background .18s, box-shadow .18s, transform .18s; }
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.primary { color: #fff; background: var(--ink); box-shadow: 0 3px 6px rgb(25 30 35 / 7%); }
.btn.primary:hover { background: #3c4348; }
.btn.secondary { border-color: #e1e5e9; background: #fff; color: var(--secondary); }
.btn.secondary:hover { background: #f8fafb; }
.icon-btn { width: 38px; height: 38px; min-width: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--secondary); }
.icon-btn .icon { width: 16px; height: 16px; }
.icon-btn:hover { background: #f1f3f5; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 3px 0; border: 0; background: transparent; font-size: 11px; color: var(--secondary); }
.text-link .icon { width: 13px; height: 13px; }
.text-link:hover { color: var(--orange); }
.panel { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.panel-heading, .card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 24px 18px; }
.panel-heading .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 6px; }
.panel-heading h2, .card-top h2, .section-title { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.panel-footnote { display: flex; align-items: center; gap: 7px; padding: 14px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.panel-footnote .icon { width: 13px; height: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: #727d86; background: #f2f4f6; border-radius: 20px; white-space: nowrap; font-size: 10px; font-weight: 500; }
.status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.green { color: var(--sage); background: var(--sage-soft); }
.status-pill.orange { color: #ab794e; background: #fcf3e9; }
.status-pill.red { color: var(--red); background: var(--red-soft); }
.tag { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 6px; color: #76818c; background: #f1f4f6; font-size: 10px; line-height: 1.25; }
.tag.critical { color: #a96f56; background: #fcf0e9; }
.tag.warning { color: #ad8555; background: #faf3e8; }
.badge-count { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #ad6851; background: #f8e8e0; font-size: 10px; }
.avatar { width: 33px; height: 33px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; color: #788b99; background: #eaf0f4; font-size: 11px; font-weight: 550; }
.avatar-1 { color: #a9876d; background: #f4ebe3; }
.avatar-2 { color: #7c947c; background: #eaf0e7; }
.avatar-3 { color: #9587a2; background: #efebf4; }
.avatar-4 { color: #708f93; background: #e8f0f1; }
.avatar-5 { color: #9a8f6e; background: #f2eee3; }
.item-icon, .activity-symbol { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--secondary); background: #f2f4f6; }
.item-icon.blue { background: var(--blue-soft); color: var(--blue); }
.item-icon.orange { background: var(--orange-soft); color: var(--orange); }
.item-icon.green, .activity-symbol.green { background: var(--sage-soft); color: var(--sage); }
.item-icon.purple { background: #f0ecf5; color: var(--purple); }
.item-icon.red { background: var(--red-soft); color: var(--red); }
.activity-symbol.orange { background: var(--orange-soft); color: var(--orange); }
.item-icon .icon { width: 17px; height: 17px; }

/* Circular indicators share one geometry at every scale. */
.progress-ring { --ring-color: var(--sage); width: 64px; height: 64px; position: relative; display: grid; place-items: center; flex-shrink: 0; }
.tone-sage { --ring-color: #5f8d7b; }
.tone-orange { --ring-color: #dd9168; }
.tone-blue { --ring-color: #7898b9; }
.tone-purple { --ring-color: #a08eb6; }
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track, .ring-progress { fill: none; stroke-width: 7.5; }
.ring-track { stroke: color-mix(in srgb, var(--ring-color) 13%, #f7f8fa); }
.ring-progress { stroke: var(--ring-color); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--ring-offset, 100); animation: ringDraw .85s cubic-bezier(.2,.65,.2,1) both; }
.ring-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.ring-number { font-size: 17px; line-height: 1; font-weight: 550; letter-spacing: -.6px; }
.ring-number > span { margin-left: 1px; font-size: 9px; font-weight: 400; color: var(--muted); }
.ring-caption { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.ring-xl { width: 186px; height: 186px; }
.ring-xl .ring-number { font-size: 48px; font-weight: 500; letter-spacing: -2px; }
.ring-xl .ring-number > span { font-size: 21px; margin-left: 2px; letter-spacing: -.6px; }
.ring-xl .ring-caption { max-width: 120px; }
.ring-md { width: 64px; height: 64px; }
.ring-md .ring-caption, .ring-sm .ring-caption { display: none; }
.ring-sm { width: 48px; height: 48px; }
.ring-sm .ring-number { font-size: 14px; }
.ring-sm .ring-number > span { font-size: 8px; }

/* One overview, four areas, the next action. */
.overview-grid, .dashboard-bottom { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,1fr); gap: 20px; }
.mastery-card { display: flex; flex-direction: column; }
.mastery-body { display: flex; align-items: center; gap: 29px; padding: 6px 28px 24px; flex: 1; }
.mastery-details { flex: 1; min-width: 0; }
.mastery-count { margin-bottom: 19px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.mastery-count strong { font-size: 27px; letter-spacing: -.9px; color: var(--ink); font-weight: 550; margin-right: 3px; }
.mastery-count > span { display: block; }
.metric-line { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 49px; padding: 8px 0; margin-top: 3px; border: 0; background: transparent; text-align: left; font-size: 11px; color: var(--secondary); border-radius: 9px; }
.metric-line:hover { background: #f8faf9; }
.metric-line > span { flex: 1; min-width: 0; line-height: 1.4; }
.metric-line > span > small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.metric-line > strong > small { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 1px; }
.metric-line > .icon { width: 11px; height: 11px; color: #b0bac2; }
.metric-line > strong { margin-left: auto; white-space: nowrap; font-size: 12px; color: var(--ink); }
.metric-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.metric-dot.sage { background: var(--sage); }
.metric-dot.blue { background: var(--blue); }
.metric-dot.orange { background: #dd9168; }
.mastery-footnote { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 17px; }
.mastery-footer { margin: 0 25px; padding: 16px 0 19px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.summary-chip { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; min-height: 49px; padding: 4px 6px; background: transparent; border: 0; border-radius: 12px; color: var(--muted); font-size: 10px; transition: background .18s; }
.summary-chip:hover { background: #f6f8f9; }
.summary-chip strong { font-size: 21px; color: var(--ink); font-weight: 550; letter-spacing: -.5px; }
.summary-chip.has-issues strong, .summary-chip.warning strong, .summary-chip.orange strong { color: var(--orange); }
.summary-chip.danger strong, .summary-chip.red strong { color: var(--red); }
.summary-chip > .icon { display: none; }
.summary-chip + .summary-chip { border-left: 1px solid var(--line); border-radius: 0; }
.round-focus { display: flex; flex-direction: column; padding: 24px 25px 20px; background: #252a2c; color: #fff; border-color: #252a2c; box-shadow: 0 8px 28px rgb(28 34 35 / 9%); }
.round-heading { display: flex; align-items: center; justify-content: space-between; color: #e1e5e4; gap: 12px; font-size: 13px; }
.round-heading h2 { font-size: 14px; font-weight: 500; letter-spacing: -.15px; }
.round-heading .icon { width: 16px; height: 16px; color: #a4b3ab; }
.round-window { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 19px; color: #fff; }
.round-window strong { font-size: 38px; font-weight: 450; letter-spacing: -1.6px; }
.round-window span { font-size: 16px; font-weight: 400; color: #a4ada9; }
.round-window i { margin: 0 17px; color: #7a8580; font-size: 20px; font-weight: 300; font-style: normal; }
.round-description { color: #b9c1bd; font-size: 11px; text-align: center; line-height: 1.65; margin: 6px 0 0; }
.round-active { display: flex; align-items: center; gap: 12px; padding: 13px 0 4px; justify-content: center; min-height: 55px; }
.round-active strong { display: block; font-size: 14px; font-weight: 550; }
.round-active small { display: block; color: #b9c1bd; font-size: 11px; margin-top: 2px; }
.round-active .ring-number { color: #fff; }
.round-active .ring-track { stroke: #454f4a; }
.round-active .ring-number span { color: #bbc7bf; }
.round-symbol { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #3c4941; color: #c2d6c8; }
.round-symbol .icon { width: 21px; height: 21px; }
.round-active .avatar { background: #46514a; color: #d8e6dc; }
.btn.round-cta { color: #28302b; background: #f5f7f5; border-radius: 13px; margin-top: 18px; width: 100%; min-height: 45px; box-shadow: none; }
.round-cta > .icon:last-child { width: 14px; height: 14px; margin-left: auto; }
.round-cta > .icon:first-child { margin-right: auto; }
.btn.round-cta:hover { background: #fff; }
.timeline { position: relative; display: flex; justify-content: space-between; gap: 0; margin-top: 22px; padding: 0 0 6px; }
.timeline::before { content: ''; height: 1px; position: absolute; top: 7px; left: 9px; right: 9px; background: #4c5651; }
.timeline-step { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.timeline-dot { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: #515c56; border: 4px solid #252a2c; box-shadow: 0 0 0 1px #46514b; }
.timeline-dot .icon { width: 8px; height: 8px; }
.timeline-step.done .timeline-dot { background: #bed4c3; color: #26332b; border-width: 2px; }
.timeline-step.next .timeline-dot { background: #d9ac91; box-shadow: 0 0 0 2px #5b5149; }
.timeline-time { font-size: 10px; color: #aeb8b1; }
.timeline-step.next .timeline-time { color: #efd5c5; }
.round-footer-note { color: #99a69e; font-size: 10px; line-height: 1.5; margin-top: 7px; text-align: center; }
.chapter-section { margin: 26px 0 23px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.section-heading h2 { font-size: 15px; letter-spacing: -.3px; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.chapter-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.chapter-card { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 17px 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: left; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.chapter-card:hover { transform: translateY(-2px); border-color: #d5ddd9; }
.chapter-card .ring-md { width: 57px; height: 57px; }
.chapter-card > .icon { position: absolute; top: 13px; right: 11px; width: 11px; height: 11px; color: #b3bcc2; }
.chapter-copy { flex: 1; min-width: 0; }
.chapter-copy h3 { font-size: 12px; font-weight: 550; line-height: 1.4; padding-right: 3px; letter-spacing: -.15px; }
.chapter-copy p { font-size: 10px; color: var(--muted); margin-top: 5px; }
.chapter-copy strong { font-weight: 500; }
.dashboard-bottom { align-items: start; }
.priority-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 23px; text-align: left; border: 0; border-top: 1px solid #f0f2f4; background: #fff; transition: background .18s; }
.priority-row:hover { background: #fafbfc; }
.item-copy { flex: 1; min-width: 0; }
.item-copy strong { font-size: 12px; font-weight: 550; line-height: 1.5; }
.item-meta { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.item-meta .tag { font-size: 9px; }
.chevron .icon { width: 12px; height: 12px; color: #b2bbc2; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 15px 11px; }
.team-member { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px; min-height: 63px; border: 0; border-radius: 13px; background: transparent; text-align: left; transition: background .18s; }
.team-member:hover { background: #f7f9fa; }
.team-member > span:last-child { min-width: 0; }
.team-member strong { display: block; font-size: 12px; font-weight: 550; }
.team-member small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.team-overview-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.dashboard-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 10px; }
.dashboard-note > span, .dashboard-note > a { display: inline-flex; align-items: center; gap: 7px; }
.dashboard-note .icon { width: 13px; height: 13px; }
.dashboard-note a { color: var(--secondary); }
.dashboard-note a:hover { color: var(--ink); }

/* A compact, searchable inspection list. */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 17px; }
.search-field { flex: 1; min-width: 190px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #e4e8eb; border-radius: 13px; background: #fff; }
.search-field .icon { color: #8d98a2; width: 17px; height: 17px; }
.search-field input { min-width: 0; width: 100%; padding: 13px 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input:focus { outline: 0; }
.search-field:focus-within { border-color: #a2bcb0; box-shadow: 0 0 0 3px #eef4f0; }
input::placeholder, textarea::placeholder { color: #8f99a3; }
.filter-bar select { min-height: 44px; max-width: 220px; border: 1px solid #e4e8eb; border-radius: 13px; padding: 10px 25px 10px 12px; font-size: 12px; background: #fff; color: var(--secondary); }
.filter-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.filter-chip { min-height: 38px; padding: 9px 13px; border: 1px solid transparent; border-radius: 21px; background: #eef1f3; color: var(--secondary); font-size: 11px; font-weight: 500; }
.filter-chip:hover { background: #e7ecef; }
.filter-chip.active { background: var(--ink); color: #fff; }
.list-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 11px; color: var(--secondary); font-size: 11px; }
.list-caption span { color: var(--muted); }
.control-row { position: relative; display: flex; width: 100%; align-items: center; gap: 15px; padding: 19px 23px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: #fff; transition: background .18s; }
.control-row:last-child { border-bottom: 0; }
.control-row:hover { background: #fafbfc; }
.control-main { flex: 1; min-width: 0; }
.control-title { display: block; color: var(--ink); font-size: 13px; font-weight: 550; line-height: 1.45; }
.control-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.control-tags > span:not(.tag), .item-number { color: var(--muted); font-size: 10px; }
.row-owner { min-width: 120px; display: flex; flex-direction: column; gap: 3px; color: var(--secondary); font-size: 11px; }
.row-owner small { color: var(--muted); font-size: 10px; }
.row-status { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 96px; color: #79848e; font-size: 10px; white-space: nowrap; }
.row-status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.row-status.ok { color: var(--sage); }
.row-status.issue { color: var(--red); }
.row-status.corrected, .row-status.stale { color: #ad8053; }
.control-row > .icon { width: 13px; height: 13px; color: #aeb8c1; }
.empty-state { display: flex; align-items: center; flex-direction: column; gap: 12px; padding: 46px 28px; text-align: center; color: var(--muted); }
.empty-state > .icon { width: 37px; height: 37px; color: #a2b8aa; margin-bottom: 3px; }
.empty-state h2 { max-width: 410px; font-size: 20px; line-height: 1.4; color: var(--ink); letter-spacing: -.5px; }
.empty-state h3 { font-size: 16px; color: var(--secondary); }
.empty-state p { font-size: 13px; max-width: 420px; line-height: 1.7; }
.spacious { padding-top: 65px; padding-bottom: 65px; }

/* Corrections, people and history use the same visual rhythm. */
.alert-banner { display: flex; align-items: center; gap: 12px; padding: 15px 18px; margin: 15px 0; border: 1px solid #ecdfd3; border-radius: 15px; background: #fdf7f0; color: #96785b; font-size: 12px; line-height: 1.6; }
.alert-banner.red { background: var(--red-soft); border-color: #efd7d3; color: #a54e47; }
.alert-banner p { margin-top: 3px; font-size: 11px; }
.action-summary { display: flex; gap: 27px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; color: var(--muted); font-size: 12px; }
.action-summary strong { margin-right: 5px; color: var(--ink); font-size: 19px; }
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.action-card { padding: 23px; }
.action-card > .panel-heading { padding: 0 0 17px; }
.action-card h2 { font-size: 18px; letter-spacing: -.4px; line-height: 1.45; }
.action-note { margin-top: 10px; color: var(--secondary); font-size: 13px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.action-owner { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.action-owner strong { display: block; font-size: 12px; }
.action-owner small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.correction-note { padding: 15px; background: var(--sage-soft); border-radius: 13px; color: #61806d; margin-top: 20px; font-size: 12px; }
.correction-note p { margin: 6px 0; line-height: 1.6; overflow-wrap: anywhere; }
.correction-note small { font-size: 11px; }
.action-buttons, .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.action-buttons { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.manager-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.manager-card { padding: 24px; }
.manager-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.manager-card-top .avatar { width: 45px; height: 45px; font-size: 14px; }
.manager-card h2 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 3px; }
.manager-card > p { font-size: 11px; }
.manager-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 22px 0 20px; }
.manager-numbers strong { display: block; font-size: 27px; font-weight: 500; letter-spacing: -.6px; }
.manager-numbers small { display: block; font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.manager-last { display: flex; align-items: center; gap: 6px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.manager-last .icon { width: 13px; height: 13px; }
.manager-card .btn { margin-top: 16px; }
.activity-list { padding: 0 23px; }
.activity-row { display: flex; align-items: flex-start; gap: 13px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: 0; }
.activity-symbol { width: 32px; height: 32px; border-radius: 50%; }
.activity-symbol .icon { width: 15px; height: 15px; }
.activity-main { flex: 1; min-width: 0; }
.activity-main strong { font-size: 13px; }
.activity-main p { color: var(--secondary); font-size: 12px; margin-top: 3px; }
.activity-main small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.activity-row time { margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.activity-row > .icon-btn { width: 30px; height: 30px; min-width: 30px; padding: 7px; border-color: transparent; }

/* Inspection sheets remain focused, scrollable and accessible. */
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgb(23 31 34 / 28%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .18s ease both; }
.modal { display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: calc(100dvh - 48px); overflow: hidden; border: 1px solid rgb(255 255 255 / 70%); border-radius: 26px; background: #fff; box-shadow: 0 25px 100px rgb(23 31 34 / 18%); animation: sheetIn .25s cubic-bezier(.2,.65,.2,1) both; }
.modal > form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 24px 27px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 21px; line-height: 1.35; letter-spacing: -.65px; }
.modal-header .eyebrow { font-size: 9px; margin-bottom: 7px; }
.modal-header .icon-btn { border: 0; border-radius: 50%; background: #f3f5f6; flex-shrink: 0; }
.modal-body { flex: 1; min-height: 0; padding: 23px 27px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body p { overflow-wrap: anywhere; }
.modal-body > .muted { margin-bottom: 20px; font-size: 13px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; flex-wrap: wrap; gap: 10px; padding: 17px 27px; border-top: 1px solid var(--line); background: #fafbfc; }
.detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.detail-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.detail-meta a .icon { width: 13px; height: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 17px; }
.form-grid .field { margin-bottom: 0; }
.field label, .field-label { display: block; color: var(--secondary); font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #dfe5e9; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: #92b09f; box-shadow: 0 0 0 3px #f0f5f1; }
.field textarea { resize: vertical; min-height: 88px; }
.field small { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.required { color: var(--orange); }
.inline-field { display: flex; align-items: center; flex-direction: row; gap: 12px; margin: 0; font-size: 12px; color: var(--secondary); }
.inline-field input { width: auto; }
.checklist-title { font-size: 13px; margin-top: 23px; font-weight: 550; }
.microcopy { color: var(--muted); font-size: 11px; line-height: 1.65; margin-top: 8px; }
.checklist { display: grid; gap: 9px; margin: 17px 0; }
.check-option { display: flex; align-items: flex-start; gap: 10px; padding: 13px; min-height: 46px; border: 1px solid #e8ecef; border-radius: 13px; font-size: 12px; line-height: 1.65; color: var(--secondary); cursor: pointer; transition: background .18s, border-color .18s; }
.check-option:has(input:checked) { background: #f1f6f2; border-color: #cdded2; }
.check-option input { width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--sage); }
.evidence-hint { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0 0 22px; }
.evidence-hint .icon { width: 13px; height: 13px; margin-top: 3px; }
.status-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 19px; }
.status-option { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 12px 7px; color: var(--secondary); border: 1px solid #e5e9ed; border-radius: 13px; font-size: 11px; cursor: pointer; }
.status-option input { accent-color: var(--sage); width: 13px; height: 13px; margin: 0; flex-shrink: 0; }
.status-option span { display: inline-flex; align-items: center; gap: 5px; }
.status-option .icon { width: 13px; height: 13px; }
.status-option.selected, .status-option:has(input:checked) { background: #edf4ef; border-color: #adc7b7; color: #4f755e; }
.status-option:has(input[value="issue"]:checked) { background: #fcf0ed; border-color: #dfb8ac; color: #a96f5c; }
.status-option:has(input[value="na"]:checked) { background: #f0f3f6; border-color: #bec9d2; color: #657b8d; }
#issue-fields { margin-bottom: 20px; padding: 17px; background: #fcf8f4; border-radius: 13px; }
.last-check { margin-bottom: 21px; padding: 15px; background: #f3f6f8; border-radius: 13px; font-size: 12px; color: #637b8b; }
.last-check strong { display: block; font-size: 12px; }
.last-check small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.last-check p { margin-top: 8px; line-height: 1.6; }
.last-check > span { display: block; margin-top: 7px; font-size: 11px; }
.last-check.warning { color: #9c7a57; background: #fcf4eb; }
.form-error { color: #b04d45; font-size: 12px; line-height: 1.6; margin-top: 12px; }
.form-error:empty { display: none; }
.round-progress-note { margin-top: 18px; padding: 11px 13px; border-radius: 10px; background: #f2f6f3; color: #678271; font-size: 11px; }
.reference-note { margin: 20px 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.settings-panel { padding: 27px; margin-bottom: 21px; max-width: 930px; }
.settings-panel > h2 { margin-bottom: 20px; }
.settings-panel > p { margin-bottom: 20px; color: var(--secondary); font-size: 13px; line-height: 1.8; }
.settings-panel .reference-note { font-size: 11px; color: var(--muted); }
.reference-list { padding-left: 18px; margin: 0 0 23px; color: var(--secondary); font-size: 12px; line-height: 1.8; }
.reference-list li + li { margin-top: 10px; }
.export-options { display: grid; gap: 12px; }
.export-option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 87px; padding: 19px; background: #f7f9fa; border: 1px solid var(--line); border-radius: 16px; text-align: left; }
.export-option:hover { background: #f1f5f3; }
.export-option > .icon:first-child { width: 23px; height: 23px; color: var(--sage); }
.export-option > .icon:last-child { margin-left: auto; color: var(--muted); width: 15px; height: 15px; }
.export-option strong { display: block; font-size: 13px; margin-bottom: 5px; }
.export-option small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.report-modal { max-width: 790px; }
.report-body > h3 { font-size: 19px; }
.report-body > p { color: var(--muted); font-size: 11px; margin-top: 7px; }
.report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.report-grid > div { background: #f4f7f5; padding: 17px; border-radius: 14px; }
.report-grid strong { display: block; font-size: 25px; font-weight: 500; letter-spacing: -.7px; }
.report-grid span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.report-table > div { padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.report-table strong { display: block; font-size: 12px; }
.report-table span, .report-table small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 150; bottom: 26px; left: calc(50% + var(--sidebar)/2); transform: translateX(-50%); max-width: min(500px,calc(100vw - 35px)); padding: 14px 20px; border: 1px solid #49534e; border-radius: 14px; background: #303a34; color: #fff; box-shadow: 0 10px 30px rgb(25 35 30 / 12%); font-size: 12px; line-height: 1.6; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.toast.visible { opacity: 1; visibility: visible; }
.toast.error { background: #724d46; }
.mobile-nav, .mobile-round-trigger { display: none; }
.ambient-refresh *, .ambient-refresh *::before, .ambient-refresh *::after { animation: none !important; }

@keyframes ringDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: var(--ring-offset,100); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes contentIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-heading, .overview-grid, .chapter-section, .dashboard-bottom { animation: contentIn .38s cubic-bezier(.2,.65,.2,1) both; }
.chapter-section { animation-delay: .04s; }
.dashboard-bottom { animation-delay: .08s; }

@media (min-width: 1600px) { .app-main { padding-left: 55px; padding-right: 55px; }.mastery-body { gap: 50px; padding-left: 45px; padding-right: 45px; }.mastery-card .ring-xl { width: 205px; height: 205px; }.chapter-card { padding: 22px; }.chapter-card .ring-md { width: 64px; height: 64px; }.chapter-copy h3 { font-size: 13px; } }
@media (max-width: 1200px) {
  :root { --sidebar: 200px; }
  .sidebar { padding-left: 13px; padding-right: 13px; }
  .nav-item { padding-left: 11px; padding-right: 11px; font-size: 12px; }
  .app-main { padding-left: 27px; padding-right: 27px; }
  .overview-grid, .dashboard-bottom { grid-template-columns: minmax(0,1.35fr) minmax(275px,1fr); gap: 17px; }
  .mastery-body { gap: 18px; padding: 9px 20px 22px; }
  .mastery-card .ring-xl { width: 150px; height: 150px; }
  .mastery-card .ring-xl .ring-number { font-size: 39px; }
  .mastery-card .ring-xl .ring-caption { font-size: 10px; }
  .mastery-count { font-size: 11px; margin-bottom: 15px; }
  .mastery-count strong { font-size: 24px; }
  .metric-line { font-size: 10px; gap: 6px; }
  .metric-line > strong { font-size: 11px; }
  .mastery-footnote { font-size: 9px; }
  .card-top { padding: 21px 20px 18px; }
  .card-top h2 { font-size: 14px; }
  .status-pill { font-size: 9px; }
  .mastery-footer { margin-left: 20px; margin-right: 20px; }
  .round-focus { padding: 22px 22px 18px; }
  .chapter-card { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px; }
  .chapter-copy h3 { font-size: 12px; }
  .chapter-copy p { margin-top: 4px; }
  .chapter-grid { gap: 12px; }
  .priority-row { padding-left: 19px; padding-right: 19px; gap: 10px; }
  .item-copy strong { font-size: 11px; }
  .priority-row .row-status { min-width: 75px; font-size: 9px; }
  .priority-row .item-icon { width: 31px; height: 31px; }
  .manager-grid { gap: 15px; }
  .manager-card { padding: 21px; }
  .manager-card-top { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 1000px) {
  :root { --sidebar: 182px; }
  .sidebar { padding-left: 11px; padding-right: 11px; }
  .brand { font-size: 20px; gap: 8px; margin-left: 7px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
  .brand-period { margin-left: -8px; }
  .restaurant-switch { gap: 7px; padding: 12px 9px; }
  .restaurant-switch strong { font-size: 11px; }
  .restaurant-symbol { width: 25px; height: 27px; }
  .nav-label { font-size: 8px; padding-left: 10px; letter-spacing: 1px; }
  .nav-item { gap: 9px; font-size: 12px; min-height: 44px; }
  .nav-item .icon { width: 16px; height: 16px; }
  .app-main { padding-left: 24px; padding-right: 24px; }
  .topbar { min-height: 70px; }
  .today-date { display: none; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 27px; }
  h1 { font-size: 31px; }
  .overview-grid { grid-template-columns: 1fr; }
  .mastery-body { justify-content: center; padding: 9px 29px 22px; gap: 35px; }
  .mastery-card .ring-xl { width: 170px; height: 170px; }
  .mastery-card .ring-xl .ring-number { font-size: 44px; }
  .mastery-details { max-width: 300px; }
  .mastery-count { font-size: 13px; }
  .metric-line { font-size: 12px; }
  .metric-line > strong { font-size: 13px; }
  .mastery-footnote { font-size: 11px; }
  .round-focus { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; padding: 23px; }
  .round-heading, .round-window, .round-description { grid-column: 1; }
  .round-heading { align-self: start; }
  .round-window { margin-top: 10px; justify-content: flex-start; }
  .round-window strong { font-size: 35px; }
  .round-window i { margin: 0 11px; }
  .round-description { text-align: left; }
  .round-active { grid-column: 2; grid-row: 1 / 3; padding: 0; justify-content: flex-start; }
  .round-cta { grid-column: 2; align-self: end; }
  .round-focus > .btn.round-cta { margin-top: 10px; }
  .timeline { grid-column: 1 / -1; margin-top: 23px; }
  .round-footer-note { grid-column: 1 / -1; }
  .chapter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chapter-card { flex-direction: row; gap: 15px; padding: 19px; }
  .chapter-card .ring-md { width: 61px; height: 61px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding-bottom: 15px; }
  .priority-row { padding: 17px 22px; }
  .item-copy strong { font-size: 13px; }
  .priority-row .row-status { font-size: 11px; }
  .manager-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .row-owner { display: none; }
  .actions-grid { grid-template-columns: 1fr; }
  .control-row { gap: 12px; padding: 18px; }
  .dashboard-note { font-size: 10px; align-items: flex-start; }
  .dashboard-note > span { align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --sidebar: 0px; }
  body { font-size: 14px; }
  .sidebar { display: none; }
  .app-main { margin-left: 0; padding: 0 18px calc(105px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 70px; border-bottom: 0; }
  .breadcrumb { font-size: 10px; gap: 7px; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .icon-btn, .profile-avatar { width: 40px; height: 40px; min-width: 40px; }
  .page-heading { padding: 21px 0 22px; gap: 17px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 9px; }
  h1 { font-size: 31px; letter-spacing: -1.2px; max-width: 360px; }
  .subtitle { font-size: 12px; line-height: 1.65; margin-top: 9px; }
  .heading-actions { width: 100%; flex-wrap: wrap; }
  .heading-actions .btn { flex: 1; }
  .heading-actions .desktop-report { display: none; }
  .heading-actions .mobile-round-trigger { display: flex; }
  .btn { min-height: 45px; padding: 11px 14px; font-size: 12px; border-radius: 13px; }
  .icon-btn { min-width: 44px; min-height: 44px; }
  .text-link { min-height: 44px; font-size: 11px; }
  .panel { border-radius: 22px; }
  .overview-grid, .dashboard-bottom { gap: 16px; }
  .card-top { padding: 20px 19px 16px; gap: 10px; }
  .card-top h2 { font-size: 14px; }
  .status-pill { padding: 6px 8px; font-size: 9px; }
  .mastery-body { gap: 20px; padding: 8px 20px 21px; }
  .mastery-card .ring-xl { width: 139px; height: 139px; }
  .mastery-card .ring-xl .ring-number { font-size: 37px; }
  .mastery-card .ring-xl .ring-number span { font-size: 17px; }
  .mastery-card .ring-xl .ring-caption { font-size: 10px; max-width: 95px; margin-top: 7px; }
  .mastery-count { font-size: 11px; margin-bottom: 12px; }
  .mastery-count strong { font-size: 24px; }
  .mastery-details { min-width: 0; }
  .metric-line { gap: 6px; font-size: 10px; flex-wrap: nowrap; margin-top: 5px; min-height: 47px; }
  .metric-line > strong { font-size: 12px; margin-left: auto; }
  .metric-line > span > small { font-size: 9px; }
  .metric-line > .icon { display: none; }
  .metric-line > span:not(.metric-dot) { flex: 1; }
  .mastery-footnote { font-size: 9px; line-height: 1.6; margin-top: 12px; }
  .mastery-footer { margin: 0 18px; gap: 8px; padding: 12px 0 15px; }
  .summary-chip { font-size: 10px; min-height: 47px; }
  .summary-chip strong { font-size: 20px; }
  .round-focus { display: flex; padding: 22px; }
  .round-heading { font-size: 13px; }
  .round-window { justify-content: center; margin-top: 16px; }
  .round-window strong { font-size: 38px; }
  .round-window i { margin: 0 15px; }
  .round-description { text-align: center; font-size: 11px; }
  .round-active { padding-top: 15px; justify-content: center; min-height: 53px; }
  .round-focus > .btn.round-cta { margin-top: 17px; }
  .timeline { margin-top: 22px; }
  .round-footer-note { font-size: 10px; }
  .chapter-section { margin-top: 24px; margin-bottom: 22px; }
  .section-heading { flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
  .section-heading h2 { font-size: 15px; }
  .section-heading > span { font-size: 10px; }
  .chapter-grid { gap: 11px; }
  .chapter-card { flex-direction: column; align-items: center; gap: 12px; min-height: 158px; padding: 18px 12px 15px; border-radius: 19px; text-align: center; }
  .chapter-card .ring-md { width: 64px; height: 64px; }
  .chapter-copy h3 { font-size: 12px; line-height: 1.4; }
  .chapter-copy p { font-size: 10px; margin-top: 4px; }
  .panel-heading { padding: 19px 19px 14px; gap: 10px; }
  .panel-heading h2, .section-title { font-size: 14px; }
  .panel-heading .text-link { font-size: 10px; }
  .panel-heading .eyebrow { font-size: 8px; }
  .priority-row { padding: 15px 17px; gap: 10px; }
  .priority-row .item-icon { width: 30px; height: 30px; border-radius: 10px; }
  .item-copy strong { font-size: 11px; }
  .item-meta { gap: 5px; margin-top: 4px; font-size: 9px; flex-wrap: wrap; }
  .item-meta .tag { font-size: 8px; }
  .priority-row .row-status { font-size: 9px; min-width: auto; }
  .priority-row .chevron { display: none; }
  .panel-footnote { font-size: 9px; padding: 12px 18px; line-height: 1.6; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 10px 12px; }
  .team-member { padding: 10px; min-height: 62px; }
  .team-member strong { font-size: 12px; }
  .team-member small { font-size: 10px; }
  .team-overview-footer { padding: 6px 19px; }
  .dashboard-note { flex-wrap: wrap; gap: 10px; margin-top: 19px; font-size: 10px; line-height: 1.7; }
  .dashboard-note > a { min-height: 40px; }
  .dashboard-note > span { align-items: flex-start; }
  .dashboard-note .icon { margin-top: 2px; }
  .app-footer { margin-top: 20px; padding-top: 17px; font-size: 9px; gap: 10px; flex-wrap: wrap; }
  .app-footer span:last-child { margin-left: auto; }
  .filter-bar { gap: 8px; margin-bottom: 14px; }
  .search-field { min-width: 100%; }
  .search-field input { font-size: 16px; padding: 12px 0; }
  .filter-bar select { flex: 1; min-width: 0; max-width: none; font-size: 11px; padding-right: 16px; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; margin-bottom: 14px; scrollbar-width: thin; }
  .filter-chip { flex-shrink: 0; min-height: 42px; font-size: 10px; }
  .list-caption { font-size: 10px; gap: 9px; }
  .control-row { display: grid; grid-template-columns: 32px minmax(0,1fr) 13px; gap: 0 11px; padding: 17px 15px; }
  .control-row .item-icon { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 32px; height: 32px; }
  .control-main { grid-column: 2; }
  .control-title { font-size: 12px; }
  .control-tags { margin-top: 7px; gap: 5px; }
  .control-tags > span:not(.tag) { font-size: 9px; }
  .control-tags .tag { font-size: 9px; }
  .control-row .row-status { grid-column: 2; justify-content: flex-start; font-size: 10px; margin-top: 9px; min-width: 0; }
  .control-row > .icon { grid-column: 3; grid-row: 1; align-self: center; width: 12px; height: 12px; }
  .empty-state { padding: 41px 23px; }
  .empty-state h2 { font-size: 18px; }
  .empty-state h3 { font-size: 15px; }
  .empty-state p { font-size: 12px; }
  .alert-banner { padding: 13px 15px; align-items: flex-start; font-size: 11px; }
  .alert-banner > .icon { margin-top: 3px; width: 16px; height: 16px; }
  .action-summary { gap: 10px; padding: 17px; font-size: 11px; }
  .action-summary > span { flex-basis: 100%; }
  .action-summary strong { font-size: 20px; }
  .action-card { padding: 20px; }
  .action-card h2 { font-size: 18px; }
  .action-note { font-size: 12px; }
  .action-buttons { gap: 8px; }
  .action-buttons > .btn { flex: 1; font-size: 11px; padding-left: 11px; padding-right: 11px; }
  .manager-grid { grid-template-columns: 1fr; gap: 15px; }
  .manager-card { padding: 23px; }
  .manager-card-top { flex-wrap: nowrap; }
  .manager-card h2 { font-size: 23px; }
  .manager-numbers { margin: 20px 0; }
  .manager-numbers small, .manager-last { font-size: 11px; }
  .activity-list { padding: 0 17px; }
  .activity-row { flex-wrap: wrap; gap: 9px; }
  .activity-main { min-width: calc(100% - 50px); }
  .activity-main strong { font-size: 12px; }
  .activity-main p, .activity-main small { font-size: 11px; }
  .activity-row time { margin-left: 41px; }
  .activity-row > .icon-btn { width: 44px; min-width: 44px; height: 44px; margin-left: auto; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal { max-height: calc(100dvh - 20px); border-radius: 25px; }
  .modal-header { padding: 21px 20px 17px; gap: 14px; }
  .modal-header h2 { font-size: 20px; }
  .modal-header .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .modal-header .icon-btn { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  .modal-body { padding: 20px; }
  .modal-footer { padding: 14px 20px max(14px,env(safe-area-inset-bottom)); gap: 8px; }
  .modal-footer > .btn { flex: 1; font-size: 11px; }
  .detail-meta { margin-bottom: 20px; gap: 10px; }
  .detail-meta a { font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .field label, .field-label { font-size: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 11px 12px; }
  .field small { font-size: 10px; }
  .check-option { font-size: 12px; gap: 10px; padding: 12px; }
  .check-option input { width: 17px; height: 17px; }
  .microcopy { font-size: 10px; }
  .status-options { gap: 6px; }
  .status-option { padding: 12px 5px; gap: 4px; font-size: 10px; }
  .status-option .icon { display: none; }
  #issue-fields { padding: 14px; }
  .last-check { padding: 14px; }
  .reference-note { font-size: 10px; }
  .settings-panel { padding: 21px; }
  .settings-panel > p { font-size: 12px; }
  .reference-list { font-size: 11px; }
  .button-row .btn { flex: 1; }
  .export-option { min-height: 90px; padding: 16px; gap: 12px; }
  .export-option strong { font-size: 12px; }
  .export-option small { font-size: 10px; }
  .report-grid { gap: 8px; margin-top: 20px; }
  .report-grid > div { padding: 13px 10px; }
  .report-grid strong { font-size: 22px; }
  .report-grid span { font-size: 9px; }
  .toast { left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); padding: 13px 17px; font-size: 11px; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 40; display: flex; justify-content: space-around; gap: 5px; padding: 8px 9px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(225 230 234 / 80%); background: rgb(255 255 255 / 93%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .mobile-nav a, .mobile-nav button { flex: 1; min-height: 48px; padding: 4px 2px; border: 0; background: transparent; border-radius: 12px; color: #84919a; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; font-size: 9px; }
  .mobile-nav .icon { width: 20px; height: 20px; }
  .mobile-nav .active { color: #a77557; background: #fcf5ee; }
}
@media (max-width: 370px) {
  .app-main { padding-left: 13px; padding-right: 13px; }
  h1 { font-size: 29px; }
  .mastery-body { padding-left: 15px; padding-right: 15px; gap: 15px; }
  .mastery-card .ring-xl { width: 122px; height: 122px; }
  .mastery-card .ring-xl .ring-number { font-size: 32px; }
  .mastery-footnote { font-size: 9px; }
  .mastery-count strong { font-size: 23px; }
  .card-top { padding-left: 16px; padding-right: 16px; }
  .card-top h2 { font-size: 13px; }
  .status-pill { padding-left: 7px; padding-right: 7px; font-size: 8px; }
  .summary-chip { font-size: 9px; }
  .chapter-card { padding-left: 9px; padding-right: 9px; }
  .team-member { padding-left: 7px; padding-right: 7px; gap: 7px; }
  .team-member .avatar { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .topbar, .mobile-nav, .heading-actions, .filter-bar, .filter-chips, .toast, .modal-backdrop, .btn, .icon-btn, .app-footer { display: none !important; }
  body, .app-main { background: #fff; }
  .app-main { margin: 0; padding: 0; }
  .page-heading { padding: 10px 0 22px; }
  .panel, .chapter-card { box-shadow: none; break-inside: avoid; }
  .overview-grid, .dashboard-bottom { grid-template-columns: 1fr; }
  .round-focus { background: #fff; color: #000; border-color: #ddd; }
  .round-focus * { color: #333; }
  .control-row, .activity-row { break-inside: avoid; }
  .item-list { overflow: visible; }
  body:has(.report-modal) .app-main { display: none !important; }
  body:has(.report-modal) { overflow: visible !important; }
  body:has(.report-modal) .modal-backdrop { display: block !important; position: static; padding: 0; background: none; backdrop-filter: none; }
  .report-modal { display: block; overflow: visible; position: static; max-width: none; max-height: none; border: 0; box-shadow: none; border-radius: 0; }
  .report-modal .modal-body { overflow: visible; padding: 0; }
  .report-modal .modal-header { padding-left: 0; }
  .report-modal .modal-footer { display: none; }
  .report-grid { grid-template-columns: repeat(3,1fr); }
  * { animation: none !important; }
}
