/* Snowbird marketing site. Brand: blue #3677af (app), bird blue #4299e1, dark #1e2432. */
:root {
  --blue: #3677af;
  --blue-bright: #4299e1;
  --blue-soft: #e8f1fa;
  --ink: #1e2432;
  --ink-2: #3b4456;
  --muted: #5d6779;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f8fc;
  --dark: #141a26;
  --dark-2: #1e2432;
  --dark-line: #2c3446;
  --green: #1f9d63;
  --green-ink: #157a4c;
  --green-soft: #e3f5ec;
  --orange: #e8762d;
  --orange-ink: #b45213;
  --orange-soft: #fdeee3;
  --amber: #d98a0b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 26, 38, .06), 0 8px 24px rgba(20, 26, 38, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
       -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: .8em; }
.eyebrow-green { color: var(--green-ink); }
.eyebrow-orange { color: var(--orange-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.4em; border-radius: 10px;
       background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--blue);
       font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: #2c6698; border-color: #2c6698; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(66, 153, 225, .45); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
       border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #dcecfb 0%, rgba(220, 236, 251, 0) 60%),
                    radial-gradient(640px 380px at 100% 100%, rgba(232, 118, 45, .20) 0%, rgba(232, 118, 45, 0) 70%),
                    radial-gradient(680px 360px at -5% 105%, rgba(31, 157, 99, .16) 0%, rgba(31, 157, 99, 0) 70%), var(--bg); padding: 72px 0 80px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); margin-right: 8px; vertical-align: middle; }
.hero-points li:nth-child(2)::before { background: var(--green); }
.hero-points li:nth-child(3)::before { background: var(--orange); }

/* Product sketch */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(20, 26, 38, .25), var(--shadow); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--tint); border-radius: 16px 16px 0 0; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dce6; }
.mock-bar span { margin-left: 10px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.mock-body { padding: 18px 20px 20px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.mock-head strong { display: block; }
.mock-head small, .mock-float small { color: var(--muted); font-size: .8rem; display: block; }
.mock-lines { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mock-lines th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.mock-lines td { padding: 9px 6px; border-bottom: 1px solid #f0f3f7; white-space: nowrap; }
.mock-lines td:first-child { white-space: normal; font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.ok { background: var(--green); }
.dot.low { background: var(--amber); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.mock-total { font-weight: 800; font-size: 1.15rem; }
.mock-total small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.mock-float { position: absolute; right: -22px; top: -34px; display: flex; gap: 10px; align-items: center; background: var(--dark-2); color: #fff;
              padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: .88rem; max-width: 300px; }
.mock-float small { color: #a9b4c7; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-green { background: var(--green-soft); color: var(--green-ink); }
.chip-orange { background: var(--orange-soft); color: var(--orange-ink); }

/* Flow band */
.flow-band { background: var(--dark-2); color: #fff; padding: 26px 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.flow li { position: relative; padding: 4px 18px 4px 0; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: 6px; top: 4px; color: #f5a66b; font-weight: 700; }
.flow li:last-child b { color: #6fd3a3; }
.flow b { display: block; font-size: 1rem; }
.flow span { font-size: .82rem; color: #a9b4c7; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #e9edf4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #7cb8ee; }
.section-dark .eyebrow-green { color: #6fd3a3; }
.section-dark .eyebrow-orange { color: #f5a66b; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:not(.eyebrow) { color: #a9b4c7; }
.sub-head { margin: 64px 0 20px; font-size: 1.4rem; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card-sm { padding: 22px; }
.card-sm h3 { font-size: 1rem; }
.card-sm p { font-size: .93rem; }
.card-dark { background: var(--dark-2); border-color: var(--dark-line); }
.card-dark p { color: #a9b4c7; }
.card-icon { width: 40px; height: 40px; margin-bottom: 14px; }
#features .card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--blue-bright); margin-bottom: 14px; }
#features .card:nth-child(3n+2) h3::before { background: var(--green); }
#features .card:nth-child(3n) h3::before { background: var(--orange); }
#ai .card-dark { border-top: 3px solid var(--orange); }

/* Sage 300 */
.sage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #f1f7fd, #e6f0fa);
        border: 1px solid #d6e5f5; border-radius: 20px; padding: 40px; margin-bottom: 20px; }
.sage h3 { font-size: 1.5rem; margin-top: 12px; }
.sage p { color: var(--ink-2); margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
                    background: var(--tick, var(--blue)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks-light li { color: #d5dce8; }
.ticks-green { --tick: var(--green); }

/* Outlook add-in */
.outlook { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #f3faf6, #e6f4ec);
           border: 1px solid #cfe8da; border-radius: 20px; padding: 40px; margin-bottom: 20px; }
.outlook h3 { font-size: 1.5rem; margin-top: 12px; }
.outlook-copy > p { color: var(--ink-2); margin: 0 0 20px; }
.outlook-copy .outlook-note { color: var(--muted); font-size: .9rem; margin: 20px 0 0; }
.ol-mock { font-size: .8rem; }
.ol-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.ol-mail { padding: 18px; border-right: 1px solid var(--line); }
.ol-subject { display: block; font-size: .92rem; line-height: 1.3; margin-bottom: 12px; }
.ol-from, .ol-who { display: flex; align-items: center; gap: 9px; }
.ol-from b, .ol-who b { display: block; font-size: .82rem; line-height: 1.25; }
.ol-from small, .ol-who small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.ol-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
             display: grid; place-items: center; font-weight: 800; font-size: .78rem; }
.ol-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.ol-files span { border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px 4px 22px; font-size: .72rem; font-weight: 600; color: var(--ink-2);
                 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1h6l3 3v9h-9z' fill='none' stroke='%235d6779' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 7px center/10px no-repeat; }
.ol-mail p { color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }
.ol-skel { display: block; height: 7px; border-radius: 4px; background: #edf1f6; margin-bottom: 9px; }
.ol-skel-short { width: 60%; }
.ol-pane { background: #f7f9fc; padding: 10px; border-radius: 0 0 16px 0; display: flex; flex-direction: column; gap: 8px; }
.ol-pane-head { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: .82rem; padding: 2px 2px 4px; }
.ol-pane-head img { width: 18px; height: 18px; }
.ol-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.ol-label { margin: 0 0 6px; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ol-who > div { flex: 1; min-width: 0; }
.ol-who .chip { font-size: .62rem; padding: .25em .6em; white-space: nowrap; }
.ol-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #e9eef4; border-radius: 8px; padding: 3px; }
.ol-tabs span { text-align: center; font-weight: 700; font-size: .7rem; padding: 4px 2px; border-radius: 6px; color: var(--muted); white-space: nowrap; }
.ol-tabs .on { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(20, 26, 38, .08); }
.ol-group { margin: 6px 0 3px; font-size: .64rem; font-weight: 700; color: var(--muted); }
.ol-opt { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 7px; border: 1px solid transparent; }
.ol-opt i { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #b8c2d0; }
.ol-opt b { display: block; font-size: .74rem; line-height: 1.25; }
.ol-opt small { display: block; color: var(--muted); font-size: .66rem; line-height: 1.25; }
.ol-opt.on { background: var(--blue-soft); border-color: #c4dbf1; }
.ol-opt.on i { border: 4px solid var(--blue); }
.ol-check { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: .74rem; font-weight: 600; }
.ol-check small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.ol-check i { flex: none; width: 12px; height: 12px; border-radius: 3px;
              background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.ol-btn { margin-top: auto; background: var(--blue); color: #fff; text-align: center; font-weight: 700; font-size: .78rem; border-radius: 8px; padding: 8px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.plan p { color: var(--muted); font-size: .93rem; }
.plan .btn { margin-top: auto; }
.plan-band { color: var(--ink) !important; font-size: 1rem !important; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.plan-band b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan h3::after { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: 10px; }
.plans-note { margin-top: 22px; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--orange-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Demo form */
.demo-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.demo-copy p { color: #a9b4c7; font-size: 1.08rem; }
.demo-copy .ticks { margin-top: 24px; }
.demo-contact a { color: #7cb8ee; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.form .span-2 { grid-column: span 2; }
.req { color: #c2410c; margin-left: 2px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: .7em .85em; border: 1px solid #cdd5e0; border-radius: 9px; background: #fff; width: 100%; }
.form textarea { resize: vertical; min-height: 100px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue-bright); outline: none; box-shadow: 0 0 0 3px rgba(66, 153, 225, .25); }
.form .invalid { border-color: #dc2626; }
.form-note { font-size: .82rem; color: var(--muted); margin: 16px 0; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #dc2626; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done img { width: 56px; height: 56px; margin: 0 auto 16px; }
.form-done p { color: var(--muted); }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; position: relative; }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 4px;
                  background: linear-gradient(90deg, var(--blue) 0 33.3%, var(--green) 33.3% 66.6%, var(--orange) 66.6%); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer small { color: var(--muted); }

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-in, .demo-in, .sage, .outlook { grid-template-columns: 1fr; }
  .mock.ol-mock { margin: 0; }
  .hero { padding: 48px 0 72px; }
  .mock { margin: 40px 8px 0; }
  .mock-float { right: 8px; top: -40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .flow li:nth-child(3)::after { display: none; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff;
               border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .plans { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3)::after { display: inline; }
  .flow li:nth-child(even)::after { display: none; }
  .sage, .outlook { padding: 26px 20px; gap: 28px; }
  .ol-body { grid-template-columns: 1fr; min-height: 0; }
  .ol-mail { display: none; }
  .ol-pane { border-radius: 0 0 16px 16px; }
  .form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form .span-2 { grid-column: auto; }
  .mock-lines th:nth-child(3), .mock-lines td:nth-child(3) { display: none; }
  .mock-float { max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Dashboards section */
.dash-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; max-width: 100%; }
.dash-tabs button { font: inherit; font-weight: 700; font-size: .92rem; border: 0; background: none; color: var(--muted); padding: .55em 1.1em; border-radius: 9px; cursor: pointer; }
.dash-tabs button:hover { color: var(--blue); }
.dash-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 26, 38, .3), var(--shadow); }
.dash .mock-bar { border-radius: 0; }
.dash-body { padding: 18px; background: #f7f9fc; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.kpi-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-top: 4px; }
.kpi-sub { font-size: .8rem; color: var(--muted); }
.up { color: #157a4c; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.panel { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 12px; min-width: 0; }
.panel figcaption, .panel-title { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted);
                                  margin-bottom: 10px; display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.legend { display: flex; gap: 14px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); font-size: .8rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.line { width: 14px; height: 3px; border-radius: 2px; vertical-align: 3px; }
.legend i.dash { background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 9px); height: 2px; }
.chart { position: relative; }
.chart svg { display: block; overflow: visible; touch-action: pan-y; }
.chart text { font-family: var(--font); }
.tip { position: absolute; top: 0; left: 0; pointer-events: none; background: var(--dark-2); color: #fff; font-size: .8rem; line-height: 1.5;
       padding: 8px 10px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; z-index: 2; }
.tip b { display: block; }
.tip span { display: flex; align-items: center; gap: 6px; }
.tip i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dash-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
@keyframes sb-grow { from { transform: scaleY(0); } }
@keyframes sb-growx { from { transform: scaleX(0); } }
@keyframes sb-draw { from { stroke-dashoffset: 1; } }
@keyframes sb-fade { from { opacity: 0; } }
.chart.anim .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: sb-grow .7s cubic-bezier(.2, .7, .2, 1) both; }
.chart.anim .hbar { transform-box: fill-box; transform-origin: 0 50%; animation: sb-growx .7s cubic-bezier(.2, .7, .2, 1) both; }
.chart.anim .ln { stroke-dasharray: 1; animation: sb-draw 1s .25s ease-out both; }
.chart.anim .dot, .chart.anim .lbl { animation: sb-fade .4s .9s both; }
.me-head { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; background: #fff;
           border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.me-head h3 { margin: 0 0 8px; font-size: 1.2rem; }
.me-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.target { flex: 1; min-width: 240px; max-width: 440px; }
.target-row { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--ink-2); margin-bottom: 6px; }
.target-foot { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.meter { height: 10px; background: #e9eef5; border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.work { list-style: none; margin: 0; padding: 0; }
.work li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #eef2f6; font-size: .87rem; font-weight: 600; }
.work li:first-child { border-top: 0; padding-top: 2px; }
.work small { display: block; color: var(--muted); font-size: .77rem; font-weight: 500; }
.work .amt { white-space: nowrap; text-align: right; }
.work .amt small { margin-top: 3px; }
.act { display: flex; gap: 10px; align-items: baseline; }
.time { font-weight: 700; color: var(--blue); min-width: 42px; font-size: .8rem; }
.chip-amber { background: #fdf1dc; color: #8a5300; }
.chip-red { background: #fde8e8; color: #b42318; }
.chip-gray { background: #eef2f6; color: var(--ink-2); }
.work .chip { white-space: nowrap; }
@media (max-width: 900px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-body { padding: 10px; }
  .kpis { gap: 10px; }
  .kpi { padding: 12px; }
  .kpi-value { font-size: 1.3rem; }
  .dash-tabs { display: flex; }
  .dash-tabs button { flex: 1; padding: .55em .5em; }
  .panel { padding: 14px 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .meter span { transition: none; }
}

/* Privacy and other text pages */
.legal { padding-top: 64px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.02rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal-meta { color: var(--muted) !important; font-size: .9rem; }
.legal-back { margin-top: 3em; font-weight: 600; }
.nav-links-static { display: flex !important; align-items: center !important; position: static !important; flex-direction: row !important; padding: 0 !important; border: 0 !important; gap: 20px !important; background: none !important; }
.nav-links-static a:not(.btn) { border: 0 !important; padding: 0 !important; }
.nav-links-static .btn { margin-top: 0 !important; }
mark.todo { background: #fff3bf; color: #7a4d00; padding: 0 .2em; border-radius: 3px; }
