/* AgentEsti look "B · Adjuster-Ready": navy + blue on white, serif headlines, large type for easy reading. */
:root {
  --navy: #0E2A47; --bg: #F2F6FB; --card: #fff; --ink: #0E2A47; --muted: #4A6480; --line: #D5E0EC; --line2: #B9CBE0;
  --brand: #1F6FD1; --brand-dark: #174F96; --brand-ink: #fff; --tint: #EAF2FD;
  --warn-bg: #FFF8E6; --warn-line: #C98A00; --bad: #B42318; --good: #17663A; --good-bg: #E3F4EA;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); } a:hover { color: var(--brand-dark); }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 32px; min-height: 72px; background: var(--navy); color: #fff; flex-wrap: wrap; }
header strong { font-size: 22px; font-family: var(--serif); }
header a { color: #D5E2F2; text-decoration: none; } header a:hover { color: #fff; text-decoration: underline; }
header .small, header .muted { color: #B8CCE3; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.brand .mark { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.brandname { font-family: var(--serif); font-weight: 700; font-size: 25px; }
.whoami { font-size: 17px; color: #B8CCE3; margin-left: auto; padding: 10px 0; }
main { max-width: 1120px; margin: 0 auto; padding: 32px 20px 80px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; margin-bottom: 20px; }
h1 { font-family: var(--serif); font-size: 34px; line-height: 1.15; margin: 0 0 10px; } h2 { font-size: 24px; margin: 0 0 12px; }
p { margin: 0 0 12px; } .muted { color: var(--muted); }
label { display: block; font-weight: 700; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password] { width: 100%; padding: 13px 15px; border: 2px solid var(--line2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid #6FA8F0; outline-offset: 1px; }
button { font: inherit; cursor: pointer; border-radius: 10px; padding: 12px 20px; border: 2px solid var(--line2); background: #fff; color: var(--ink); font-weight: 600; }
button:hover { border-color: var(--brand); }
button.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 700; }
button.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
button.danger { color: var(--bad); }
button:disabled { opacity: .5; cursor: not-allowed; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stat { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1.05; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 15px; font-weight: 700; color: var(--muted); background: #F7FAFD; text-transform: none; }
.warnbox { background: var(--warn-bg); border: 2px solid #E9B949; border-radius: 12px; padding: 16px 20px; margin: 14px 0; }
.infobox { background: var(--tint); border: 1px solid #A9C9EE; border-radius: 12px; padding: 14px 18px; margin: 14px 0; color: var(--navy); }
.err { color: var(--bad); font-weight: 600; }
.bar { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 10px 0; }
.bar > i { display: block; height: 100%; background: var(--brand); width: 0; transition: width .2s; }
.thumb { width: 180px; height: 135px; object-fit: cover; border-radius: 6px; background: var(--line); cursor: zoom-in; }
.viewer { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
.vbox { background: var(--card); border-radius: 12px; padding: 16px; max-width: min(1100px, 100%); width: 100%; }
.vbox img { display: block; max-width: 100%; max-height: 62vh; margin: 10px auto; border-radius: 8px; }
td input.lbl { width: 100%; min-width: 260px; }
tr.attn td { background: var(--warn-bg); }
.hidden { display: none !important; }
.tabs { display: flex; gap: 8px; margin-bottom: 8px; }
.tabs button.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.small { font-size: 16px; }

/* feature tabs in the navy header */
.toptabs { display: flex; align-self: stretch; gap: 0; margin-left: 24px; flex-wrap: wrap; }
.toptabs button { background: transparent; border: 0; border-radius: 0; color: #B8CCE3; font-size: 19px; font-weight: 600; padding: 0 18px; min-height: 72px; border-bottom: 4px solid transparent; }
.toptabs button:hover { color: #fff; }
.toptabs button.active { color: #fff; border-bottom-color: #6FA8F0; }
.toptabs button:disabled { opacity: .45; }
.toptabs .lock { font-size: 14px; font-weight: 500; margin-left: 6px; color: #9FB6D1; }
.toptabs button.locked { opacity: .85; }
.plan-box { border: 2px solid var(--brand); }
.plan-box .price { font-family: var(--serif); font-size: 44px; font-weight: 700; margin: 4px 0 8px; }
.plan-box .price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.locked-card ul { margin: 8px 0 0; padding-left: 20px; }
/* help + support */
.badge { display: inline-block; background: var(--bad); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 600; }
h3 { font-size: 16px; margin: 16px 0 6px; }
ol.steps { margin: 6px 0 12px; padding-left: 22px; } ol.steps li { margin: 4px 0; }
details.faq { border-bottom: 1px solid var(--line); padding: 8px 0; } details.faq summary { cursor: pointer; font-weight: 600; } details.faq p { margin: 8px 0 0; }
.ticket { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; } .ticket.new { border-color: var(--brand); }
.ticket .reply { background: var(--bg); border-radius: 8px; padding: 8px 12px; } .ticket p { margin: 6px 0; white-space: pre-wrap; }
.ok { color: var(--brand); font-weight: 600; }
.steprow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.stepper { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; flex: 1; }
.stepper li { font-size: 16px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: #fff; font-weight: 600; }
.stepper li.on { background: var(--tint); color: var(--navy); border-color: #A9C9EE; font-weight: 700; }
.stepper li.done { color: var(--good); }
tr.totrow td { border-top: 2px solid var(--ink); }
.sitefoot { max-width: 1120px; margin: 0 auto; padding: 0 20px 34px; font-size: 14px; color: var(--muted); }

/* estimate review */
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 16px; }
.rv-head h1 { margin: 0 0 4px; }
.rv-head p { margin: 0; font-size: 18px; }
.rv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.review-main { flex: 999 1 600px; min-width: 0; }
.review-side { flex: 1 1 290px; max-width: 360px; position: sticky; top: 16px; }
.review-side .card { padding: 22px; }
.review-side .lbl { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 18px; }
.kv.grand { border-top: 2px solid var(--navy); margin-top: 4px; padding-top: 10px; font-size: 22px; }
.side-btns { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.side-btns button { width: 100%; }
.side-btns button.primary { font-size: 20px; padding: 15px; }
.side-btns details button { margin-top: 8px; }
.checkbox { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 18px 22px; margin-bottom: 20px; }
.checkbox.warn { background: var(--warn-bg); border: 2px solid #E9B949; }
.checkbox.ok { background: var(--good-bg); border: 2px solid #9BD3B3; }
.checkbox > svg { flex: none; margin-top: 2px; }
.cb-body { flex: 1; min-width: 0; }
.cb-body h2 { font-size: 21px; margin: 0 0 8px; }
.cb-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(138,90,0,.18); font-size: 17px; }
.cb-item.done { opacity: .75; }
.rv-sec { padding: 0; overflow: hidden; }
.rv-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 22px; background: #F7FAFD; border-bottom: 1px solid var(--line); }
.rv-sechead h2 { margin: 0; font-size: 23px; }
.rv-sec table.lines th { background: #fff; padding: 10px 12px; }
.rv-sec table.lines td { padding: 14px 12px; font-size: 17px; }
.rv-sec table.lines td:first-child, .rv-sec table.lines th:first-child { padding-left: 22px; }
.rv-sec table.lines td:last-child, .rv-sec table.lines th:last-child { padding-right: 22px; }
.ldesc { font-weight: 600; }
.lnote { font-size: 16px; color: #3A5470; margin-top: 2px; }
.ltags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #EEF1F5; color: #4A5B6E; }
.tag.photo, .tag.note { background: var(--tint); color: var(--brand-dark); }
.tag.rule { background: #FFF3D6; color: #8A5A00; }
.rv-sec table.lines td:nth-child(2) { min-width: 300px; width: 58%; }
.actcol { display: flex; flex-direction: column; gap: 6px; width: 92px; }
.actcol .mini { width: 100%; }
.lwhy summary { font-size: 15px; color: var(--brand); margin: 4px 0 0; }
.lwhy .why { margin-top: 4px; }
.cb-body details summary { margin: 8px 0 2px; color: #8A5A00; }
@media (max-width: 980px) { .review-side { position: static; max-width: none; } }

/* status pills */
.st { display: inline-block; font-size: 15px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--tint); color: var(--brand-dark); white-space: nowrap; }
.st.done { background: var(--good-bg); color: var(--good); }
.st.paused { background: #FFF3D6; color: #8A5A00; }
.st.off { background: #EEF1F5; color: #4A5B6E; }

/* dashboard */
.hello h1 { font-size: 38px; margin-bottom: 4px; }
.hello p { font-size: 20px; color: var(--muted); }
.dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 22px 0; }
.bigact { grid-column: span 2; display: flex; align-items: center; gap: 24px; background: var(--brand); color: #fff; border: 0; border-radius: 16px; padding: 30px 34px; text-align: left; font: inherit; cursor: pointer; }
.bigact:hover { background: var(--brand-dark); }
.bigact .ic { width: 76px; height: 76px; border-radius: 16px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.bigact b { display: block; font-size: 30px; line-height: 1.2; }
.bigact span { display: block; font-size: 19px; color: #DCE9FA; font-weight: 400; margin-top: 4px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.tile .lbl { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.tile .sub { font-size: 16px; color: var(--muted); }
.cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.cardhead h2 { margin: 0; }
.hint { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; }
.hint span { flex: 1; }
@media (max-width: 760px) { .dash { grid-template-columns: minmax(0, 1fr); } .bigact { grid-column: auto; padding: 22px; } .bigact b { font-size: 24px; } }

/* public home page (signed out) */
.lp { margin: -32px -20px 0; }
.lp-hero { background: var(--bg); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; padding: 56px 32px 64px; align-items: start; }
.lp-hero > div:first-child { padding-top: 24px; }
.lp-hero .kicker { font-weight: 700; font-size: 17px; color: var(--brand); letter-spacing: 1px; text-transform: uppercase; }
.lp-hero h1 { font-size: 58px; line-height: 1.08; margin: 12px 0 16px; }
.lp-hero .lead { font-size: 22px; color: #3A5470; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 18px; color: #3A5470; margin-top: 14px; }
.checks span { display: inline-flex; align-items: center; gap: 8px; }
.authcard { background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(14,42,71,.14); padding: 30px; }
.authcard .tabs { display: grid; grid-template-columns: 1fr 1fr; background: #EAF0F7; border-radius: 10px; padding: 5px; gap: 0; }
.authcard .tabs button { border: 0; background: transparent; color: #3A5470; padding: 12px; font-size: 19px; }
.authcard .tabs button.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(14,42,71,.15); }
.authcard button.primary { width: 100%; font-size: 21px; padding: 16px; margin-top: 6px; }
.lp-sec { padding: 48px 32px 8px; }
.lp-sec h2 { font-family: var(--serif); font-size: 38px; margin-bottom: 6px; }
.lp-sec > p { font-size: 20px; color: #3A5470; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.three > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.three h3 { font-size: 24px; margin: 12px 0 8px; }
.three p { font-size: 18px; color: #3A5470; margin: 0; }
.lp-trust { margin: 36px 32px 0; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 26px; font-weight: 600; }
@media (max-width: 900px) { .lp-hero { grid-template-columns: minmax(0, 1fr); padding: 36px 20px; } .lp-hero h1 { font-size: 42px; } .three { grid-template-columns: minmax(0, 1fr); } .lp-sec { padding: 36px 20px 8px; } .lp-trust { margin: 30px 20px 0; } }
@media (max-width: 760px) { header { padding: 0 16px; } .toptabs { margin-left: 0; width: 100%; order: 3; } .toptabs button { min-height: 52px; padding: 0 12px; font-size: 17px; } .whoami { margin-left: 0; } }
/* estimate checker */
.dropzone { border: 2px dashed var(--brand); border-radius: 12px; padding: 34px 16px; text-align: center; cursor: pointer; margin: 12px 0; background: var(--bg); }
.dropzone.over { background: var(--warn-bg); border-color: var(--warn-line); }
.tiles4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 10px 0; }
.tabs.wrap { flex-wrap: wrap; }
.sug { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.sug.t-remove { border-left-color: var(--bad); }
.sug.t-headsup { border-left-color: var(--warn-line); }
.sug.done { opacity: .65; }
.sug .doc { background: var(--bg); border-radius: 6px; padding: 6px 8px; margin: 6px 0; }
.sug input[type=text] { margin-top: 4px; }
table.dense td, table.dense th { padding: 4px 6px; font-size: 14px; }
.feat { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }
.feat.off { opacity: .55; }
label.chk { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 4px 14px 4px 0; }
input[type=number], input[type=time], input[type=date], select, textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; width: 100%; }
textarea { resize: vertical; }
input.narrow, input[type=number].narrow { width: 82px; }
input.need, select.need { border-color: var(--warn-line); background: var(--warn-bg); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 14px; }
.scroll { overflow-x: auto; }
.nowrap { white-space: nowrap; }
.num { text-align: right; white-space: nowrap; }
.rowsb { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
button.mini { padding: 6px 12px; font-size: 15px; border-width: 1px; }
.pill { display: inline-block; font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.pill.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.pill.ev-photo { border-color: var(--brand); }
.pill.ev-rule { border-style: dashed; }
.why { color: var(--muted); font-style: italic; }
.warntext { color: var(--warn-line); font-weight: 600; }
table.lines td, table.lines th, table.rooms td, table.rooms th { padding: 10px 8px; font-size: 16px; vertical-align: top; }
table.rooms input { padding: 6px 8px; }
tr.removed td { opacity: .6; }
tr.waivedrow td { background: var(--bg); }
.emsbox { margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.emsbox.waived { border-color: var(--warn-line); background: var(--warn-bg); }
table.tot { width: auto; min-width: 320px; }
table.tot tr.grand td { font-weight: 700; font-size: 18px; border-top: 2px solid var(--ink); }
.logo-prev { max-height: 48px; max-width: 160px; border-radius: 4px; background: #fff; }
.narrowbox { max-width: 720px; }
details summary { cursor: pointer; margin-bottom: 6px; }
