:root {
  --ink: #0c2a4d;
  --ink-2: #17406f;
  --deep: #072447;
  --sea: #e4f1fb;
  --sea-2: #d3e8f6;
  --paper: #f8fbff;
  --muted: #4f6278;
  --accent: #1f6fb8;
  --line: #c3d5e8;
  --capt-bg: #fdf0d9;
  --capt-fg: #7a4d0b;
  --ok: #1d7a4f;
  --warn: #9a5b00;
  --bad: #b3261e;
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink); background: linear-gradient(180deg, var(--sea) 0%, var(--sea-2) 100%); min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; font-size: .9rem; cursor: pointer; background: var(--ink); color: #fff; text-decoration: none; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-ok { background: var(--ok); } .btn-ok:hover { background: #166640; }
.btn-bad { background: transparent; color: var(--bad); border: 1.5px solid #e6b4b0; } .btn-bad:hover { background: #fdf1f0; }
.btn-sm { padding: .4rem .8rem; font-size: .8125rem; }
.btn-full { width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip:focus-visible, .nav a:focus-visible, .boat-card:focus-visible { outline: 3px solid #7fb8ea; outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; font-size: .8125rem; }

/* Forms */
.field { display: grid; gap: .3rem; }
.field label, .label { font-size: .8125rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field textarea { min-height: 90px; resize: vertical; }
.field .hint { font-size: .75rem; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.err { color: var(--bad); font-size: .8125rem; }
.err:empty { display: none; }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { position: relative; background: linear-gradient(180deg, rgba(6,28,54,.35), rgba(6,28,54,.85)), url(assets/hero-harbor.jpg) center / cover; color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: inherit; text-decoration: none; }
.login-art blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; max-width: 28rem; }
.login-art p { color: #d6e6f5; margin-top: .75rem; max-width: 26rem; }
.login-panel { display: grid; place-items: center; padding: 2rem 1.5rem; background: var(--paper); }
.login-card { width: min(380px, 100%); display: grid; gap: 1rem; }
.login-card h1 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.15; }
.login-card .sub { color: var(--muted); }
.demo-note { font-size: .8125rem; background: var(--sea); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .75rem; color: var(--muted); }
.back-link { font-size: .875rem; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* Shell */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--deep); color: #cfe0f1; padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 0; height: 100vh; }
.side .wordmark { color: #fff; padding: 0 .5rem; }
.nav { display: grid; gap: .2rem; }
.nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #7f9cbc; padding: 0 .6rem; margin: .6rem 0 .2rem; }
.nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .6rem; border-radius: 8px; color: #cfe0f1; text-decoration: none; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.nav .count { font-size: .7rem; font-weight: 700; background: #f2b84b; color: #3d2600; border-radius: 999px; padding: .05rem .45rem; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; display: grid; gap: .5rem; }
.me { display: flex; align-items: center; gap: .6rem; padding: 0 .4rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #2a5b8f; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.me small { display: block; color: #8fa9c6; font-size: .75rem; }
.side .btn-ghost { color: #cfe0f1; border-color: rgba(255,255,255,.2); }
.side .btn-ghost:hover { background: rgba(255,255,255,.07); }

.main { padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-head h1 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; }
.page-head p { color: var(--muted); margin-top: .25rem; }
.crumb { font-size: .8125rem; color: var(--muted); margin-bottom: .35rem; }
.crumb a { color: var(--muted); text-decoration: none; } .crumb a:hover { color: var(--ink); }
.card { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 12px; }

/* Boats grid */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.stat { padding: 1rem 1.1rem; }
.stat span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.2; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.stat small { color: var(--muted); }
.boats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.boat-card { display: block; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.boat-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(6,28,54,.5); }
.boat-photo { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a5b8f, #0b3260); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 2.5rem; overflow: hidden; }
.boat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boat-body { padding: 1rem 1.1rem 1.1rem; display: grid; gap: .35rem; }
.boat-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.boat-meta { color: var(--muted); font-size: .875rem; }
.boat-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.tag { font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--sea); color: var(--ink-2); }
.tag-warn { background: #fdecc8; color: #6b3f00; }
.add-card { display: grid; place-items: center; text-align: center; gap: .5rem; padding: 2rem 1rem; border: 2px dashed var(--line); border-radius: 12px; color: var(--ink-2); text-decoration: none; min-height: 260px; background: rgba(255,255,255,.4); }
.add-card:hover { background: rgba(255,255,255,.8); border-color: var(--accent); }
.add-card .plus { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.add-card strong { font-size: 1.05rem; }
.add-card span { color: var(--muted); font-size: .875rem; max-width: 16rem; }

/* Boat detail */
.boat-hero { display: grid; grid-template-columns: 260px 1fr; gap: 1.25rem; padding: 1rem; margin-bottom: 1.25rem; align-items: center; }
.boat-hero .boat-photo { border-radius: 8px; aspect-ratio: 4 / 3; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem 1.25rem; margin-top: .85rem; }
.specs dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; font-size: .9rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs a { padding: .65rem .9rem; text-decoration: none; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; }
.tabs a.active { color: var(--ink); border-color: var(--ink); }
.tabs .count { font-size: .7rem; background: #f2b84b; color: #3d2600; border-radius: 999px; padding: .05rem .45rem; }

.toolbar { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1rem; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .8125rem; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 220px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.entry { padding: 1rem 1.1rem; display: grid; grid-template-columns: 92px 1fr; gap: 1rem; }
.entry-date { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry-date strong { display: block; color: var(--ink); font-size: .95rem; }
.entry h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.entry-top { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.entry p.detail { color: #33475d; margin-top: .35rem; }
.by { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; }
.by-mech { background: var(--sea-2); color: var(--ink-2); }
.by-capt { background: var(--capt-bg); color: var(--capt-fg); }
.entry-meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: .55rem; font-size: .8125rem; color: var(--muted); }
.sys { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.note { margin-top: .65rem; padding: .55rem .7rem; background: #fffaf0; border-left: 3px solid #d9a441; border-radius: 4px; font-size: .875rem; }
.note .by { margin-bottom: .2rem; }
.replaced { margin-top: .55rem; font-size: .8125rem; color: var(--muted); background: var(--sea); border-radius: 6px; padding: .45rem .6rem; }
.entry-actions { margin-top: .6rem; }

.pending { border-color: #f0c879; background: #fffcf4; }
.pending-actions { display: flex; gap: .5rem; margin-top: .85rem; flex-wrap: wrap; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 1.05rem; margin-bottom: .3rem; }
.section-h { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.5rem 0 .6rem; }

.files { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.files li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; font-size: .875rem; }
.files li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li span:last-child { color: var(--muted); white-space: nowrap; }

/* Brief */
.brief-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; align-items: start; }
.brief { padding: 1.5rem; background: #fff; }
.brief-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--line); }
.brief-head small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.brief-head strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.brief-log { list-style: none; margin: .5rem 0 0; padding: 0; }
.brief-log li { display: grid; grid-template-columns: 82px 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--sea); font-size: .875rem; }
.brief-log li > div { display: grid; gap: .2rem; justify-items: start; }
.brief-sec { margin-top: 1.1rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.current { margin-top: .4rem; padding: .65rem .8rem; background: var(--sea); border-left: 3px solid var(--accent); border-radius: 4px; font-size: .9rem; }
.share { padding: 1.1rem; display: grid; gap: .85rem; position: sticky; top: 1rem; }
.share h3 { font-size: 1rem; }

/* Wizard */
.wizard { max-width: 760px; }
.steps { display: flex; gap: .5rem; margin-bottom: 1.25rem; list-style: none; padding: 0; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 700; color: var(--muted); padding: .35rem .75rem .35rem .35rem; border-radius: 999px; background: rgba(255,255,255,.6); }
.steps li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; font-size: .75rem; }
.steps li.on { color: var(--ink); background: #fff; }
.steps li.on b, .steps li.done b { background: var(--ink); }
.panel { padding: 1.5rem; display: grid; gap: 1rem; }
.panel h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.panel > p { color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.seg button { border: 0; background: transparent; padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .8125rem; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.option { border: 1.5px solid var(--line); border-radius: 10px; padding: .9rem; background: #fff; cursor: pointer; text-align: left; display: grid; gap: .25rem; }
.option strong { font-size: .9rem; }
.option span { font-size: .8125rem; color: var(--muted); }
.option.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.drop { display: grid; gap: .15rem; place-items: center; text-align: center; border: 1.5px dashed var(--line); border-radius: 10px; padding: 1.4rem 1rem; background: var(--sea); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--sea-2); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop span { font-size: .8125rem; color: var(--muted); }
.wiz-foot { display: flex; justify-content: space-between; gap: .75rem; margin-top: .25rem; }
.review { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.25rem; }
.review dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.review dd { margin: 0; font-weight: 700; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(4,18,36,.55); display: grid; place-items: center; padding: 1rem; z-index: 50; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: var(--paper); border-radius: 14px; padding: 1.4rem; display: grid; gap: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.modal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.modal .quote { font-size: .875rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; color: #33475d; }
.modal-foot { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; }
.check input { margin-top: .25rem; }

.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 150%); background: var(--deep); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .875rem; transition: transform .25s; z-index: 60; max-width: calc(100% - 2rem); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

.mobile-top { display: none; }

@media (max-width: 960px) {
  .brief-wrap { grid-template-columns: 1fr; }
  .share { position: static; }
}
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 240px; padding: 1.5rem; }
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .mobile-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: var(--deep); color: #fff; padding: .75rem 1rem; position: sticky; top: 0; z-index: 20; }
  .mobile-top nav { display: flex; gap: .25rem; }
  .mobile-top nav a { color: #cfe0f1; text-decoration: none; font-weight: 700; font-size: .8125rem; padding: .35rem .6rem; border-radius: 999px; }
  .mobile-top nav a.active { background: rgba(255,255,255,.14); color: #fff; }
  .boat-hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .stat { padding: .75rem; } .stat strong { font-size: 1.3rem; }
  .options { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row, .row3, .specs, .review { grid-template-columns: 1fr 1fr; }
  .row.stack, .row3.stack { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; gap: .35rem; }
  .entry-date strong { display: inline; margin-right: .4rem; }
  .stats { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .brief-log li { grid-template-columns: 1fr; gap: .1rem; }
}
.brief-head { align-items: flex-start; }
.toast { opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; }
.toast.show { opacity: 1; visibility: visible; }
.mobile-top .wordmark { font-size: 1.05rem; white-space: nowrap; color: #fff; }
.mobile-top nav a { white-space: nowrap; }
@media (max-width: 400px) { .mobile-top { padding: .7rem .75rem; } .mobile-top nav a { padding: .3rem .45rem; font-size: .75rem; } }

/* Login role picker */
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.role { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .75rem .85rem; cursor: pointer; display: grid; gap: .15rem; transition: border-color .15s, box-shadow .15s; }
.role strong { font-size: .95rem; }
.role span { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.role:hover { border-color: var(--accent); }
.role.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; background: var(--sea); }
.role:focus-visible { outline: 3px solid #7fb8ea; outline-offset: 2px; }

/* Find a mechanic */
.find-bar { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .9rem; padding: 1rem; }
.mech { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; padding: 1.1rem; align-items: center; }
.mech-main { display: flex; gap: .9rem; align-items: flex-start; min-width: 0; }
.mech-av { width: 44px; height: 44px; font-size: .9rem; background: var(--ink-2); }
.mech-id h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.mech-lang { font-size: .8125rem; color: var(--muted); margin-top: .4rem; }
.mech-side { display: grid; grid-template-columns: auto auto auto; gap: 1.5rem; align-items: center; }
.mech-stat { display: grid; gap: .1rem; }
.mech-stat span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mech-stat strong { font-size: 1rem; white-space: nowrap; }
.mech-stat .link-btn { justify-self: start; }
.wait-short { color: var(--ok); } .wait-mid { color: var(--warn); } .wait-long { color: var(--bad); }
.stars { color: #e0a106; letter-spacing: .04em; font-size: .9rem; }
.stars .dim { color: #c9d6e4; }
.tag-capt { background: var(--capt-bg); color: var(--capt-fg); }
.tag-ok { background: #dcf1e5; color: #135c3a; }
.tag-bad { background: #fbe3e1; color: #8e1d16; }
.reviews { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .1rem; }
.reviews li { padding: .7rem 0; border-bottom: 1px solid var(--sea); }
.reviews li p { margin-top: .2rem; font-size: .9rem; }
.reviews small { color: var(--muted); font-size: .75rem; }
.rev-top { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.star-pick { display: flex; gap: .2rem; }
.star-pick button { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: #c9d6e4; cursor: pointer; padding: .1rem; }
.star-pick button.on { color: #e0a106; }
.star-pick button:focus-visible { outline: 3px solid #7fb8ea; border-radius: 4px; }

/* Mechanic account */
.side-role { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #f2b84b; padding: 0 .5rem; margin-top: -1rem; }
.count-blue { background: #7fb8ea !important; color: #04203f !important; }
.brief-row { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.brief-row:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -18px rgba(6,28,54,.5); }
.brief-log li > div span { font-size: .85rem; color: #33475d; }

@media (max-width: 960px) {
  .mech { grid-template-columns: 1fr; }
  .mech-side { grid-template-columns: auto auto 1fr; justify-items: start; }
  .mech-actions { justify-self: end; }
}
@media (max-width: 640px) {
  .find-bar { grid-template-columns: 1fr 1fr; }
  .find-bar .field:first-child { grid-column: 1 / -1; }
  .mech-side { grid-template-columns: 1fr 1fr; }
  .mech-actions { grid-column: 1 / -1; justify-self: stretch; }
  .mech-actions .btn { width: 100%; }
}
@media (max-width: 400px) { .role-pick { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .mobile-top { flex-wrap: wrap; row-gap: .4rem; }
  .mobile-top nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -.25rem; }
  .mobile-top nav::-webkit-scrollbar { display: none; }
}
.share .files li { flex-wrap: wrap; gap: .25rem .75rem; }
.share .files li span:first-child { white-space: normal; min-width: 0; }
.brief-wrap > * { min-width: 0; }
.brief-log li > div { min-width: 0; overflow-wrap: anywhere; }

/* Inspections */
.insp-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.insp-summary .stat strong { font-size: 1.35rem; }
.insp-summary small { display: block; }
.findings { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .45rem; }
.findings li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border-radius: 8px; background: var(--sea); font-size: .9rem; }
.findings li > div { display: grid; gap: .15rem; justify-items: start; }
.findings small { color: var(--ok); font-weight: 700; font-size: .75rem; }
.findings li.fixed > div > span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(79,98,120,.5); }
.fdot { width: 10px; height: 10px; border-radius: 50%; margin-top: .4rem; flex: none; background: #e0a106; }
.findings li.fixed .fdot { background: var(--ok); }
.files .tag { white-space: nowrap; }
@media (max-width: 820px) { .insp-summary { grid-template-columns: 1fr; gap: .6rem; } }
.files li > span:first-child { min-width: 0; flex: 1 1 auto; }
.files { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .files li { flex-wrap: wrap; gap: .2rem .75rem; } .files li > span:first-child { white-space: normal; } }

/* ---------- Version C ---------- */
.role-pick-3 { grid-template-columns: 1fr; gap: .5rem; }
.role-pick-3 .role { grid-template-columns: 8rem 1fr; align-items: baseline; gap: .5rem; padding: .65rem .85rem; }
@media (max-width: 400px) { .role-pick-3 .role { grid-template-columns: 1fr; gap: .15rem; } }
.signup-link { font-size: .875rem; text-align: center; color: var(--muted); }
.plan-line { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap; padding: .7rem .85rem; border-radius: 10px; background: var(--deep); color: #fff; }
.plan-line span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #b9d2ec; }
.plan-line strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.cert-box { border: 1px solid var(--line); border-radius: 10px; padding: .9rem; margin: 0; display: grid; gap: .8rem; background: var(--paper); min-width: 0; }
.cert-box legend { font-weight: 700; padding: 0 .35rem; }
.cert-box .hint, .acct-grid .hint { font-size: .78rem; color: var(--muted); }
.tag-cert { background: #d9efe3; color: #0f5a37; }
.cert-line { font-size: .85rem; font-weight: 700; color: #0f5a37; margin: .4rem 0 0; }
.own-note { grid-column: 1 / -1; font-size: .875rem; background: var(--capt-bg); color: var(--capt-fg); border-radius: 8px; padding: .55rem .75rem; margin-top: .25rem; }
.own-note a { color: inherit; font-weight: 700; }
.own-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; }
.own-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.own-card p { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .own-card { grid-template-columns: auto 1fr; } .own-card .btn { grid-column: 1 / -1; } }

/* Engine data */
.eng-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.eng-stats .stat strong { font-size: 1.35rem; }
.eng-stats small { display: block; }
.hot { color: var(--bad) !important; }
@media (max-width: 1100px) { .eng-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eng-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.warn-box { border-color: #f0b8b3; background: #fdf1f0; padding: 1rem 1.1rem; display: grid; gap: .35rem; color: #6f1712; }
.warn-box .hint { font-size: .78rem; color: #8e1d16; }
.bars { padding: 1rem 1.1rem; display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: 7.5rem 1fr 3.5rem; gap: .75rem; align-items: center; font-size: .85rem; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 12px; background: var(--sea); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.bar i.hot { background: var(--bad); }
@media (max-width: 480px) { .bar-row { grid-template-columns: 5.5rem 1fr 3.2rem; gap: .5rem; font-size: .78rem; } }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.conn-steps { list-style: none; padding: 0; margin: .25rem 0; display: grid; gap: .6rem; }
.conn-steps li { display: flex; gap: .7rem; align-items: flex-start; }
.conn-steps b, .how3 b { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.eng-mini dd.hot { font-weight: 700; }

/* Jobs */
.picked { display: flex; gap: .7rem; align-items: flex-start; margin-top: .7rem; padding: .7rem .8rem; background: var(--sea); border-radius: 10px; font-size: .9rem; }
.picked .boat-tags { margin-top: .35rem; }
.avail { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.1rem; margin-bottom: 1rem; }
.switch { display: flex; align-items: center; gap: .75rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slider { width: 44px; height: 26px; border-radius: 999px; background: #b8c7d8; position: relative; flex: none; transition: background .15s; }
.slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .slider { background: var(--ok); }
.switch input:checked + .slider::after { transform: translateX(18px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch small { display: block; color: var(--muted); font-size: .8rem; }
.find-bar-2 { grid-template-columns: auto 1fr; }
.find-bar-1 { grid-template-columns: 1fr; }
@media (max-width: 640px) { .find-bar-2 { grid-template-columns: 1fr; } .find-bar-2 .field:first-child { grid-column: auto; } }
.entry-actions .hint { font-size: .78rem; color: var(--muted); }
.entry-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.acct-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; align-items: start; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: 1fr; } }
.panel .toolbar h2 { margin: 0; }

/* Buyer + transcript */
.how3 { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.how3 li { display: flex; gap: .6rem; align-items: flex-start; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; font-size: .9rem; }
@media (max-width: 760px) { .how3 { grid-template-columns: 1fr; } }
.transcript { padding: clamp(1rem, 3vw, 2rem); background: #fff; display: grid; gap: 1rem; }
.tr-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: .75rem; }
.wordmark-dark { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ink); display: block; }
.tr-head small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }
.tr-meta { display: grid; text-align: right; font-size: .85rem; color: var(--muted); }
.tr-sec { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: .5rem; }
.tr-table-wrap { overflow-x: auto; }
.tr-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
.tr-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); padding: .4rem .5rem; }
.tr-table td { border-bottom: 1px solid #e3ecf5; padding: .55rem .5rem; vertical-align: top; }
.tr-table td span { display: block; color: var(--muted); font-size: .8rem; }
.tr-table td:first-child { white-space: nowrap; }
.tr-note { color: var(--capt-fg) !important; }
.tr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .875rem; }
.tr-list > li { padding: .55rem .7rem; border: 1px solid #e3ecf5; border-radius: 8px; display: grid; gap: .3rem; justify-items: start; }
.tr-list ul { margin: 0; padding-left: 1.1rem; color: #33475d; }
.tr-foot { border-top: 1px solid var(--line); padding-top: .75rem; font-size: .8rem; color: var(--muted); }
@media print { .side, .mobile-top, .page-head .btn, .crumb { display: none !important; } .shell { display: block; } body { background: #fff; } .transcript { border: 0; } }
.entry-top .tag { white-space: nowrap; }
@media (max-width: 520px) { .entry-top { flex-wrap: wrap; gap: .35rem; } }

/* ---------- Version D ---------- */
.proof { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.proof .tag { font-size: .7rem; }
.proof-key { margin-bottom: 1rem; padding: .7rem 1rem; font-size: .85rem; }
.proof-key summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.proof-key dl { display: grid; gap: .45rem; margin: .7rem 0 .2rem; }
.proof-key dl div { display: grid; grid-template-columns: 11rem 1fr; gap: .75rem; align-items: center; }
.proof-key dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .proof-key dl div { grid-template-columns: 1fr; gap: .2rem; } }
.attach { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.attach li { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .25rem .55rem; font-size: .78rem; }
.attach-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.attach small { color: var(--muted); white-space: nowrap; }
.attach-kind { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.attach-kind.k-receipt { color: var(--ok); }
.drop-sm { padding: .9rem .8rem; }
.drop-sm span { overflow-wrap: anywhere; }
.cost-chip { display: inline-flex; gap: .4rem; align-items: center; font-size: .8125rem; font-weight: 700; color: var(--ink); background: var(--sea); border-radius: 999px; padding: .15rem .6rem; }
.money { font-variant-numeric: tabular-nums; color: var(--ink); }
.card-h { font-size: .95rem; padding: 1rem 1.1rem 0; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 820px) { .cost-grid { grid-template-columns: 1fr; } }
.bar-row.wide { grid-template-columns: 6rem 1fr 5.5rem; }
@media (max-width: 480px) { .bar-row.wide { grid-template-columns: 4.6rem 1fr 4.8rem; } }
.bar-btn { width: 100%; border: 0; background: none; padding: .2rem .3rem; border-radius: 6px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.bar-btn:hover { background: var(--sea); }
.bar-btn.on { background: var(--sea); outline: 1.5px solid var(--line); }
.bar-btn.on span { font-weight: 800; }
.entry-actions { flex-wrap: wrap; }
.quote-card { flex-wrap: nowrap; }
.quote-card.declined { opacity: .6; }
.quote-top { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.quote-amt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
/* messages */
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.thread { display: flex; gap: .8rem; align-items: flex-start; width: 100%; text-align: left; padding: .85rem 1rem; cursor: pointer; border: 1px solid var(--line); font: inherit; color: inherit; }
.thread:hover { border-color: var(--accent); }
.thread.unread { border-left: 4px solid var(--accent); }
.thread-body { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.thread-top { display: flex; justify-content: space-between; gap: .75rem; }
.thread-top small { color: var(--muted); white-space: nowrap; }
.thread-job { font-size: .8rem; color: var(--accent); font-weight: 700; }
.thread-last { font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread.unread .thread-last { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .thread-top { flex-direction: column; gap: 0; } }
.msgs { list-style: none; margin: 0; padding: .75rem; display: grid; gap: .55rem; max-height: 46vh; overflow-y: auto; background: var(--sea); border-radius: 10px; }
.msg { max-width: 85%; justify-self: start; }
.msg div { background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: .5rem .75rem; font-size: .9rem; }
.msg small { display: block; font-size: .72rem; color: var(--muted); margin: .2rem .3rem 0; }
.msg.mine { justify-self: end; text-align: right; }
.msg.mine div { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 12px 12px 4px 12px; text-align: left; }
/* activity log */
.act-log { list-style: none; margin: .5rem 0 0; padding: .4rem 1rem; }
.act-log li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid #e3edf7; font-size: .875rem; }
.act-log li:last-child { border-bottom: 0; }
.act-log small { display: block; color: var(--muted); font-size: .75rem; }
.act-dot { flex: none; width: .55rem; height: .55rem; border-radius: 50%; margin-top: .45rem; background: var(--accent); }
.act-dot.k-download { background: var(--warn); } .act-dot.k-access { background: var(--ok); } .act-dot.k-request { background: #f2b84b; } .act-dot.k-entry { background: var(--ink); } .act-dot.k-view { background: #7fb8ea; }
/* calendar */
.cal { padding: 1rem; }
.cal-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.cal-head h2 { font-family: var(--font-display); font-size: 1.2rem; min-width: 10rem; text-align: center; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .75rem; color: var(--muted); margin-bottom: .6rem; }
.cal-legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--muted); text-align: center; padding: .2rem 0; }
.cal-cell { min-height: 5.6rem; background: var(--paper); border: 1px solid #e0eaf4; border-radius: 6px; padding: .25rem; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-cell.blank { background: transparent; border-color: transparent; }
.cal-cell.today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cal-day { font-size: .75rem; font-weight: 700; color: var(--muted); }
.cal-ev { border: 0; border-radius: 4px; padding: .15rem .3rem; font: inherit; font-size: .7rem; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.ev-booked { background: var(--ok); color: #fff; }
.ev-proposed { background: #fff4dc; color: #6b3f00; border: 1px dashed #d79a2b !important; }
.ev-done { background: #8a9bb0; color: #fff; }
@media (max-width: 640px) {
  .cal { padding: .6rem; }
  .cal-cell { min-height: 3rem; padding: .15rem; }
  .cal-ev { font-size: 0; height: .5rem; padding: 0; }
  .cal-ev b, .cal-ev span { display: none; }
  .cal-head h2 { min-width: 0; flex: 1; font-size: 1rem; }
}
.tabs a { padding: .65rem .6rem; }

/* ---------- live data ---------- */
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: .5rem; color: var(--muted, #5b6b7d); }
.boot .wordmark-dark { font-size: 1.6rem; }
.save-state { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; background: #fff; color: #0c2a4d; border: 1px solid #d6e2ef; border-radius: 999px; padding: .4rem .85rem; font-size: .8rem; font-weight: 600; box-shadow: 0 6px 18px rgba(12,42,77,.12); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.save-state.show { opacity: 1; transform: none; }
.save-state[data-s="offline"] { background: #fff7e6; border-color: #f2d08a; color: #7a4d00; }
.save-state[data-s="error"] { background: #fdecec; border-color: #f2b1b1; color: #8a1c1c; }
.file-link { font-size: inherit; text-align: left; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.ro .entry-actions, .ro .pending-actions, .ro .drop, .ro .file-btn, .ro [data-add-insp], .ro [data-fix], .ro [data-complete], .ro [data-addrem], .ro [data-remedit], .ro [data-remdone], .ro [data-remjob], .ro [data-remdel], .ro [data-reading], .ro [data-add-entry] { display: none !important; }

/* ---------- photos and personal files ---------- */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-lg { width: 88px; height: 88px; font-size: 1.6rem; }
.boat-photo-wrap { display: grid; gap: .5rem; align-content: start; justify-items: start; }
.boat-photo-wrap .boat-photo { width: 100%; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery li { padding: 0; overflow: hidden; display: grid; }
.gal-img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--sea); cursor: zoom-in; }
.gal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .6rem .8rem; font-size: .8125rem; color: var(--muted); }
.gal-actions { display: flex; gap: .75rem; align-items: center; }
.link-danger { color: #b42318; }
.btn-danger { background: #b42318; border-color: #b42318; color: #fff; }
.btn-danger:hover { background: #912018; border-color: #912018; }
.acct-photo.panel { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.acct-photo h2, .my-files h2 { margin: 0; }
.acct-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.my-files { margin-top: 1rem; }

/* ---------- payments ---------- */
.pay-card { max-width: 640px; }
.code-box { display: grid; gap: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.code-box label { font-weight: 600; font-size: .9rem; }
.code-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.code-row input { flex: 1 1 200px; min-width: 0; }
.code-row input { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }

/* ---------- phone menus: show every link (no hidden sideways scrolling) ---------- */
@media (max-width: 820px) {
  .mobile-top nav { overflow: visible; flex-wrap: wrap; gap: .2rem; margin: 0 -.35rem; }
  .tabs { flex-wrap: wrap; overflow: visible; gap: .35rem; border-bottom: 0; }
  .tabs a { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .75rem; margin-bottom: 0; font-size: .8125rem; background: #fff; }
  .tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
}

/* ---------- sample mechanic listings ---------- */
.sample-banner { margin: .25rem 0 1rem; padding: .75rem 1rem; border-radius: 12px; background: #fff7e6; border: 1px solid #f2d59a; color: #5a3d00; font-size: .875rem; }
.tag-sample { background: #fff1d6; color: #6b4500; border: 1px dashed #d9a441; }
.mech-sample { opacity: .9; border-style: dashed; }
.sample-note { font-size: .8125rem; color: var(--muted); margin: 0; max-width: 17rem; }
@media (max-width: 640px) { .sample-note { grid-column: 1 / -1; max-width: none; } }

/* ---------- admin ---------- */
.admin-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .65rem .9rem; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.admin-tabs button.on { color: var(--ink); border-color: var(--ink); }
@media (max-width: 820px) { .admin-tabs button { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .75rem; margin: 0; font-size: .8125rem; background: #fff; } .admin-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); } }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.admin-card { padding: 1.1rem 1.25rem; display: grid; gap: .85rem; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.admin-top h3 { margin: 0; }
.admin-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .6rem 1rem; margin: 0; }
.admin-facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.admin-facts dd { margin: .15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.admin-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- footer links ---------- */
.app-legal { text-align: center; font-size: .8125rem; color: var(--muted); padding: 1.25rem 1rem 1.5rem; }
.app-legal a { color: inherit; }
