/* the signed-in pages */
body.app { background: var(--bg); }
.app-nav .nav-links a.on { color: var(--accent); font-weight: 600; }
.app-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 0; scrollbar-width: none; }
.app-tabs a { white-space: nowrap; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; min-height: 40px; }
.app-tabs a.on { background: #fff; color: var(--accent-ink); font-weight: 650; border: 1px solid var(--line); }
.nav .wrap.app-tabs { height: auto; padding-bottom: 8px; }
@media (min-width: 860px) { .nav .wrap.app-tabs { display: none; } }
.app-main { padding: 28px 0 64px; min-height: 70vh; }
.app-main h1 { font-size: clamp(24px, 4vw, 30px); }
.page-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 980px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.section-title { font-size: 18px; margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14.5px; margin-top: 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12.5px; font-weight: 650; color: var(--ink-3); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px 8px 10px 0; border-bottom: 1px solid #f0ebe5; vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pts-list { list-style: none; margin: 14px 0 0; padding: 0; }
.pts-list li { display: grid; grid-template-columns: 26px 1fr; gap: 4px 10px; padding: 12px 0; border-top: 1px solid #f0ebe5; }
.pts-list li:first-child { border-top: 0; }
.pts-list .n { color: var(--ink-3); font-size: 13px; padding-top: 2px; }
.pts-list .head { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: space-between; align-items: baseline; }
.pts-list .ref, .pts-list .prop { font-size: 13px; color: var(--ink-3); }
.top { display: grid; gap: 14px; margin-top: 14px; }
.top-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.top-item .lab { font-size: 14.5px; font-weight: 600; }
.top-item .val { font-size: 13px; color: var(--ink-2); text-align: right; white-space: nowrap; }
.top-item .bar { grid-column: 1 / -1; }
.top-item .ref { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.banner { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); }
.banner.red { background: var(--accent-soft); border-color: #f2d3c2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; min-height: 36px; }
.chip button { border: 0; background: none; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; min-width: 24px; min-height: 24px; }
.choice { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.loading { color: var(--ink-3); padding: 40px 0; }
.check-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.check-item + .check-item { margin-top: 10px; }
.check-item .row { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 0 14px; min-height: 44px; min-width: 48px; font: 600 13.5px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on-ok { background: var(--ok-soft); color: var(--ok); }
.seg button.on-red { background: var(--accent-soft); color: var(--accent-ink); }
.check-more { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 700px) { .check-more { grid-template-columns: 1fr 180px auto; align-items: end; } }
