/* ── Login, documents, comments ─────────────────────────────────────────── */
.login-wrap { max-width: 360px; margin: 12vh auto; padding: 2rem; }
.login-title { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.login-sub { font-size: 13px; color: #777; margin-bottom: 1.5rem; }
.login-tabs { display: flex; gap: 4px; margin-bottom: 1.25rem; background: #F1EFE8; border-radius: 8px; padding: 3px; }
.login-tab { flex: 1; text-align: center; font-size: 12.5px; padding: 7px 0; border-radius: 6px; cursor: pointer; color: #777; }
.login-tab.active { background: #fff; color: #1a1a1a; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.login-field { margin-bottom: 10px; }
.login-field label { display: block; font-size: 11.5px; color: #666; margin-bottom: 4px; }
.login-field input { width: 100%; border: 1px solid rgba(0,0,0,0.13); border-radius: 8px; padding: 9px 12px; font-size: 13.5px; outline: none; font-family: inherit; }
.login-field input:focus { border-color: rgba(0,0,0,0.28); }
.login-btn { width: 100%; background: #1a1a1a; color: #fff; border: none; border-radius: 8px; padding: 10px 0; font-size: 13.5px; cursor: pointer; margin-top: 4px; }
.login-btn:hover { background: #333; }
.login-btn:disabled { opacity: 0.5; cursor: default; }
.login-msg { font-size: 12px; margin-top: 10px; line-height: 1.5; }
.login-msg.error { color: #A32D2D; }
.login-msg.success { color: #3B6D11; }
.forgot-password-link { display: block; width: 100%; text-align: center; background: none; border: none; color: #999; font-size: 11.5px; cursor: pointer; padding: 0; margin-top: 10px; }
.forgot-password-link:hover { color: #555; text-decoration: underline; }
.signout-link { font-size: 11px; color: #999; cursor: pointer; background: none; border: none; padding: 0; }
.signout-link:hover { color: #555; text-decoration: underline; }
.dash-loading { text-align: center; padding: 4rem 0; color: #999; font-size: 13px; }
.doc-box { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.doc-upload-title { font-size: 12.5px; font-weight: 500; margin-bottom: 8px; }
.doc-upload-row { display: flex; gap: 8px; margin-bottom: 8px; }
.doc-upload-row input[type=text], .doc-upload-row input[type=date], .doc-upload-row select { flex: 1; border: 1px solid rgba(0,0,0,0.13); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; font-family: inherit; }
#doc-content { width: 100%; min-height: 70px; border: 1px solid rgba(0,0,0,0.13); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; font-family: inherit; margin-bottom: 8px; resize: vertical; }
.doc-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.doc-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); font-size: 12.5px; }
.doc-item-name { font-weight: 500; color: #1a1a1a; }
.doc-item-meta { color: #999; font-size: 11px; margin-top: 2px; }
.doc-item a { color: #185FA5; text-decoration: none; font-size: 12px; }
.doc-item a:hover { text-decoration: underline; }
.doc-empty { font-size: 12.5px; color: #aaa; padding: 8px 2px; }
.comments-section { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(0,0,0,0.1); }
.comments-title { font-size: 10.5px; font-weight: 600; color: #aaa; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.comment-item { padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.comment-item:last-child { border-bottom: none; }
.comment-meta { font-size: 11px; color: #999; margin-bottom: 2px; }
.comment-author { font-weight: 600; color: #666; }
.comment-body { font-size: 12.5px; color: #333; line-height: 1.5; white-space: pre-wrap; }
.comment-empty { font-size: 12px; color: #bbb; }
.comment-form { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; }
.comment-form textarea { flex: 1; border: 1px solid rgba(0,0,0,0.13); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; font-family: inherit; resize: vertical; min-height: 38px; }
.comment-form button { flex-shrink: 0; background: #1a1a1a; color: #fff; border: none; border-radius: 6px; padding: 8px 14px; font-size: 12px; cursor: pointer; }
.comment-form button:hover { background: #333; }
.comment-action { background: none; border: none; color: #bbb; font-size: 11px; cursor: pointer; padding: 0; margin-left: 8px; text-decoration: underline; }
.comment-action:hover { color: #666; }
.comment-edit-textarea { width: 100%; border: 1px solid rgba(0,0,0,0.13); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; font-family: inherit; resize: vertical; min-height: 50px; margin-top: 4px; }
.comment-edit-actions { display: flex; gap: 8px; margin-top: 6px; }
.comment-edit-actions button { font-size: 11.5px; padding: 5px 12px; border-radius: 6px; border: none; cursor: pointer; background: #1a1a1a; color: #fff; }
.comment-edit-actions button.secondary { background: #F1EFE8; color: #666; }

/* ── Base layout ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #F7F6F3; color: #1a1a1a; line-height: 1.5; padding: 2rem 1.5rem; }
.container { max-width: 900px; margin: 0 auto; }
.header { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.1); }
.header-label { font-size: 11px; color: #999; margin-bottom: 3px; }
.header-title { font-size: 26px; font-weight: 500; }
.header-right { text-align: right; font-size: 12px; color: #666; line-height: 1.6; }
.section-label { font-size: 12px; font-weight: 500; color: #666; margin-bottom: 8px; }
.updates { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.update { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); }
.update.hidden { display: none; }
.update-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.update-date { font-size: 11px; color: #999; }
.tag { font-size: 10px; padding: 1px 7px; border-radius: 4px; }
.tag-report   { background: #E6F1FB; color: #185FA5; }
.tag-active   { background: #FAEEDA; color: #854F0B; }
.tag-policy   { background: #EAF3DE; color: #3B6D11; }
.tag-muted    { background: #F1EFE8; color: #5F5E5A; border: 1px solid rgba(0,0,0,0.08); }
.update-text { font-size: 13px; color: #1a1a1a; line-height: 1.4; }
.show-more-btn { font-size: 12px; color: #666; background: none; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; padding: 5px 14px; cursor: pointer; margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 5px; }
.show-more-btn:hover { background: #F1EFE8; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 1.5rem; }
.metric { border-radius: 8px; padding: 12px 14px; }
.metric.success { background: #EAF3DE; }
.metric.muted   { background: #fff; border: 1px solid rgba(0,0,0,0.08); }
.metric.warning { background: #FAEEDA; }
.metric.danger  { background: #FCEBEB; }
.metric-label { font-size: 11px; margin-bottom: 3px; }
.metric.success .metric-label { color: #3B6D11; }
.metric.muted   .metric-label { color: #666; }
.metric.warning .metric-label { color: #854F0B; }
.metric.danger  .metric-label { color: #A32D2D; }
.metric-value { font-size: 22px; font-weight: 500; }
.metric.success .metric-value { color: #3B6D11; }
.metric.muted   .metric-value { color: #1a1a1a; }
.metric.warning .metric-value { color: #854F0B; }
.metric.danger  .metric-value { color: #A32D2D; }

/* Todo groups */
.todo-group { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.todo-group-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.todo-group-header.high   { background: #FCEBEB; }
.todo-group-header.medium { background: #FAEEDA; }
.todo-group-header.low    { background: #EAF3DE; }
.todo-group-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.todo-group-title.high   { color: #A32D2D; }
.todo-group-title.medium { color: #854F0B; }
.todo-group-title.low    { color: #3B6D11; }
.todo-dot { width: 8px; height: 8px; border-radius: 50%; }
.todo-count { font-size: 11px; opacity: 0.75; }

/* Todo item wrapper,holds the row + the expandable detail */
.todo-wrap { border-bottom: 1px solid rgba(0,0,0,0.05); }
.todo-wrap:last-child { border-bottom: none; }

/* Clickable row */
.todo-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; cursor: pointer; transition: background 0.12s; }
.todo-item:hover { background: rgba(0,0,0,0.018); }
.todo-circle { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.todo-circle.high   { border: 1.5px solid rgba(226,75,74,0.5); }
.todo-circle.medium { border: 1.5px solid rgba(186,117,23,0.5); }
.todo-circle.low    { border: 1.5px solid rgba(99,153,34,0.5); }
.todo-item-body { flex: 1; min-width: 0; }
.todo-item-name { font-size: 13px; font-weight: 500; color: #1a1a1a; margin-bottom: 3px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.todo-item-desc { font-size: 12px; color: #777; line-height: 1.5; }
.trend-badge { display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px; border-radius: 4px; font-size: 10px; white-space: nowrap; }
.trend-up, .trend-minor { background: #EAF3DE; color: #3B6D11; }
.trend-neutral { background: #F1EFE8; color: #5F5E5A; border: 1px solid rgba(0,0,0,0.08); }
.trend-down  { background: #FCEBEB; color: #A32D2D; }
.chevron { margin-left: 8px; margin-top: 2px; font-size: 15px; color: #ccc; flex-shrink: 0; transition: transform 0.2s ease; line-height: 1; }
.month-chip { font-size: 10px; padding: 2px 7px; border-radius: 4px; background: #F1EFE8; color: #888; border: 1px solid rgba(0,0,0,0.08); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.chevron.open { transform: rotate(90deg); color: #999; }

/* Expandable detail panel */
.item-detail { padding: 14px 14px 16px 44px; background: #FAFAF8; border-top: 1px solid rgba(0,0,0,0.05); }
.tl-current { margin-bottom: 10px; }
.tl-chip { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-bottom: 7px; letter-spacing: 0.01em; }
.tl-chip.current { background: #E6F1FB; color: #185FA5; }
.tl-chip.old { background: #F1EFE8; color: #5F5E5A; border: 1px solid rgba(0,0,0,0.09); }
.tl-text { font-size: 12.5px; color: #444; line-height: 1.6; }
.dev-btn { background: none; border: none; padding: 4px 0 0 0; cursor: pointer; font-size: 11.5px; color: #aaa; display: inline-flex; align-items: center; gap: 4px; }
.dev-btn:hover { color: #666; }

/* History entries */
.history { flex-direction: column; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(0,0,0,0.1); }
.hist-entry { }

/* Calendar */
.calendar-box { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 1.25rem; }
.calendar-inner { display: flex; gap: 2rem; align-items: center; }
.cal-entries { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cal-entry { display: flex; align-items: flex-start; gap: 10px; }
.cal-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.cal-range { font-size: 12px; font-weight: 500; color: #1a1a1a; display: flex; align-items: center; gap: 6px; margin-bottom: 1px; }
.cal-note { font-size: 11px; color: #666; line-height: 1.4; }
.now-badge { font-size: 10px; padding: 1px 6px; border-radius: 3px; background: #E6F1FB; color: #185FA5; }
.coming-badge { font-size: 10px; padding: 1px 6px; border-radius: 3px; background: #F1EFE8; color: #5F5E5A; border: 1px solid rgba(0,0,0,0.08); }
.footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.08); font-size: 11px; color: #bbb; }

/* Search */
.search-wrap { position: relative; margin-bottom: 1.5rem; }
.search-box { display: flex; align-items: center; background: #fff; border: 1px solid rgba(0,0,0,0.13); border-radius: 10px; padding: 0 14px; gap: 10px; transition: border-color 0.15s, box-shadow 0.15s; }
.search-box:focus-within { border-color: rgba(0,0,0,0.28); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.search-icon { width: 15px; height: 15px; flex-shrink: 0; stroke: #c0bdb8; }
#search-input { flex: 1; border: none; outline: none; background: none; font-family: inherit; font-size: 13.5px; color: #1a1a1a; padding: 12px 0; }
#search-input::placeholder { color: #c0bdb8; }
.search-clear { background: none; border: none; cursor: pointer; color: #bbb; font-size: 13px; padding: 4px; line-height: 1; display: none; align-items: center; justify-content: center; }
.search-clear:hover { color: #666; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); z-index: 200; overflow: hidden; }
.search-result { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.05); transition: background 0.1s; }
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: #F7F6F3; }
.result-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; flex-wrap: wrap; }
.result-name { font-size: 12.5px; font-weight: 500; color: #1a1a1a; }
.result-snippet { font-size: 11.5px; color: #666; line-height: 1.5; }
.result-snippet mark { background: #FEF3C7; color: #1a1a1a; border-radius: 2px; padding: 0 1px; font-style: normal; }
.search-no-results { padding: 14px; font-size: 13px; color: #aaa; text-align: center; }
.key-panel { background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 10px 14px; margin-top: 6px; }
.key-panel-inner { display: flex; align-items: center; gap: 8px; }
.key-panel-inner input { flex: 1; border: 1px solid rgba(0,0,0,0.12); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; font-family: monospace; outline: none; min-width: 0; }
.key-panel-inner input:focus { border-color: rgba(0,0,0,0.28); }
.key-btn { font-size: 12px; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; white-space: nowrap; }
.key-btn-save { background: #1a1a1a; color: #fff; }
.key-btn-save:hover { background: #333; }
.key-btn-cancel { background: #F1EFE8; color: #666; }
.key-note { font-size: 11px; color: #bbb; margin-top: 6px; }
.ai-badge { font-size: 10px; font-weight: 600; background: #EAF3DE; color: #3B6D11; border-radius: 4px; padding: 2px 7px; flex-shrink: 0; letter-spacing: 0.02em; }
.ai-setup-btn { font-size: 11.5px; color: #bbb; background: none; border: none; cursor: pointer; flex-shrink: 0; padding: 0; white-space: nowrap; }
.ai-setup-btn:hover { color: #555; }
.ai-loading { padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #888; }
.ai-spinner { width: 14px; height: 14px; border: 2px solid #E8E6E1; border-top-color: #aaa; border-radius: 50%; animation: spin 0.7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-answer { padding: 14px 16px 12px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.ai-answer-label { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #aaa; font-weight: 500; margin-bottom: 8px; }
.ai-label { font-size: 9px; font-weight: 700; background: #EAF3DE; color: #3B6D11; border-radius: 3px; padding: 2px 5px; letter-spacing: 0.04em; }
.ai-answer-text { font-size: 13px; color: #1a1a1a; line-height: 1.65; }
.ai-related-label { font-size: 10px; font-weight: 600; color: #bbb; padding: 10px 16px 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.ai-error { padding: 12px 16px; font-size: 12.5px; color: #A32D2D; line-height: 1.5; }
.ai-ask-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #1a1a1a; background: #FAFAF8; }
.ai-ask-row:hover { background: #F1EFE8; }
.ai-ask-hint { margin-left: auto; font-size: 10.5px; color: #bbb; border: 1px solid rgba(0,0,0,0.1); border-radius: 4px; padding: 1px 6px; }
.ai-cursor { color: #999; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-doc-sources { font-size: 11.5px; color: #888; padding: 2px 16px 10px; line-height: 1.7; }
.ai-followup-hint { font-size: 11px; color: #bbb; padding: 8px 16px 10px; border-top: 1px solid rgba(0,0,0,0.05); }

/* Markus suggests */
.markus-tip { margin: 12px 0 6px; padding: 10px 12px 10px 14px; background: #F5F8FF; border-left: 3px solid #7BA7D8; border-radius: 0 6px 6px 0; }
.markus-tip-label { font-size: 10px; font-weight: 600; color: #185FA5; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 5px; }
.markus-tip-text { font-size: 12.5px; color: #2a2a2a; line-height: 1.65; }

/* Fix by chip + reminder indicator */
.fixby-chip { font-size: 10px; padding: 2px 7px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; font-weight: 500; }
.fixby-q3 { background: #FCEBEB; color: #A32D2D; border: 1px solid rgba(163,45,45,0.15); }
.fixby-q4 { background: #FAEEDA; color: #854F0B; border: 1px solid rgba(133,79,11,0.15); }
.fixby-q1 { background: #F1EFE8; color: #5F5E5A; border: 1px solid rgba(0,0,0,0.09); }
.reminder-chip { font-size: 10px; padding: 2px 7px; border-radius: 4px; background: #EAF3DE; color: #3B6D11; border: 1px solid rgba(59,109,17,0.15); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.reminder-chip.off { background: #F1EFE8; color: #999; border-color: rgba(0,0,0,0.08); }
.reminder-toggle-wrap { display: flex; align-items: center; gap: 5px; flex-shrink: 0; margin-top: 1px; }
.reminder-toggle-label { font-size: 10px; color: #999; white-space: nowrap; }
.reminder-switch { position: relative; width: 28px; height: 16px; flex-shrink: 0; cursor: pointer; }
.reminder-switch input { opacity: 0; width: 0; height: 0; }
.reminder-switch-track { position: absolute; inset: 0; background: #D9D6CE; border-radius: 999px; transition: background 0.15s; }
.reminder-switch input:checked + .reminder-switch-track { background: #3B6D11; }
.reminder-switch-thumb { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.reminder-switch input:checked ~ .reminder-switch-thumb { transform: translateX(12px); }

/* Demo watermark */
.demo-watermark { position: fixed; bottom: 18px; right: 22px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,0,0,0.13); pointer-events: none; z-index: 9999; user-select: none; }

/* Search info popup */
.search-tip { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 12px 16px; font-size: 12.5px; color: #666; line-height: 1.55; box-shadow: 0 4px 14px rgba(0,0,0,0.07); z-index: 200; }
.search-tip-inner { display: flex; align-items: flex-start; gap: 10px; }
.search-tip-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* Legend filter */
.gap-legend-item { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: #888; cursor: pointer; padding: 2px 7px; border-radius: 4px; transition: background 0.12s; user-select: none; }
.gap-legend-item:hover { background: rgba(0,0,0,0.05); }
.gap-legend-item.active { background: rgba(0,0,0,0.07); color: #333; font-weight: 500; }
.gap-item { display: flex; align-items: flex-start; gap: 8px; transition: opacity 0.2s; }

/* Gap closure roadmap */
.gap-roadmap { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.gap-roadmap-header { padding: 12px 16px 10px; border-bottom: 1px solid rgba(0,0,0,0.06); background: #FAFAF8; display: flex; justify-content: space-between; align-items: flex-end; }
.gap-roadmap-title { font-size: 13.5px; font-weight: 500; color: #1a1a1a; }
.gap-roadmap-sub { font-size: 11.5px; color: #999; margin-top: 2px; }
.gap-roadmap-legend { display: flex; align-items: center; gap: 4px; }
.gap-legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.gap-roadmap-cols { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; }
.gap-col-divider { background: rgba(0,0,0,0.06); }
.gap-col { padding: 14px 16px 18px; }
.gap-quarter { font-size: 12.5px; font-weight: 600; color: #1a1a1a; }
.gap-quarter-span { font-size: 11px; color: #bbb; margin-top: 1px; margin-bottom: 12px; }
.gap-items-list { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.gap-item-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.gap-item-dot.high { background: #E24B4A; }
.gap-item-dot.medium { background: #BA7517; }
.gap-item-dot.low { background: #639922; }
.gap-item-name { font-size: 12.5px; font-weight: 500; color: #1a1a1a; cursor: pointer; line-height: 1.3; }
.gap-item-name:hover { text-decoration: underline; color: #185FA5; }
.gap-item-desc { font-size: 11.5px; color: #888; line-height: 1.4; margin-top: 1px; }

@media (max-width: 680px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .calendar-inner { flex-direction: column; }
  .item-detail { padding-left: 14px; }
}
