:root { font-family: "Segoe UI", system-ui, sans-serif; color: #172b22; background: #f3f6ef; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(18px, 5vw, 56px); }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 80px; border-bottom: 1px solid #d7dfd5; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 850; letter-spacing: .06em; }
.mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #233a2d; color: #d6f77f; font-size: 26px; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 7vw, 92px); align-items: center; padding-block: clamp(40px, 9vw, 110px) 70px; }
.eyebrow { margin: 0 0 18px; color: #3e6049; font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 11ch; margin-bottom: 20px; font-size: clamp(3rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.075em; }
h2 { font-size: 1.42rem; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 15px; }
.lead { max-width: 43ch; color: #476051; font-size: 1.15rem; line-height: 1.65; margin-bottom: 25px; }
.button, .quiet, .tabs button { font: inherit; font-weight: 700; cursor: pointer; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.dark { background: #192e23; color: #effbe9; }
.dark:hover { background: #314d39; }
.outline { background: #fff; color: #1c3527; border-color: #bacabb; }
.outline:hover, .quiet:hover { background: #e7eee3; }
.quiet { border: 0; border-radius: 9px; padding: 11px 14px; background: transparent; color: #274333; }
:focus-visible { outline: 3px solid #497749; outline-offset: 3px; }
.example { display: flex; align-items: center; gap: 14px; background: #e4efdb; border: 1px solid #d3e4cb; padding: 15px; border-radius: 15px; margin-top: 34px; max-width: 410px; }
.example strong, .example small { display: block; }
.example strong { font-size: 1.35rem; }
.example strong span { font-size: .75em; }
.example .pill { margin-left: auto; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; width: 52px; height: 52px; flex: 0 0 52px; background: #c8eb76; border-radius: 12px; }
.wave i { width: 3px; height: 10px; border-radius: 4px; background: #253d26; }
.wave i:nth-child(2), .wave i:nth-child(4) { height: 19px; }
.wave i:nth-child(3) { height: 29px; }
.panel { background: #fff; border: 1px solid #d7e0d5; border-radius: 18px; padding: clamp(19px, 3vw, 31px); min-width: 0; box-shadow: 0 10px 32px #2847310a; }
.tabs { display: flex; gap: 4px; padding: 4px; background: #edf2eb; border-radius: 10px; margin-bottom: 25px; }
.tabs button { flex: 1; color: #305044; padding: 9px 5px; border: 0; border-radius: 7px; background: transparent; }
.tabs [aria-pressed=true] { background: #fff; color: #182e23; box-shadow: 0 1px 4px #1a372627; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: .92rem; font-weight: 650; }
input, select { min-width: 0; width: 100%; padding: 10px 11px; min-height: 43px; border: 1px solid #b9c9b9; border-radius: 8px; font: inherit; color: inherit; background: #fbfdfb; }
#source-form { margin-bottom: 20px; }
button:disabled { opacity: .65; cursor: wait; }
.status { color: #345646; font-size: .9rem; line-height: 1.4; margin: 0; }
.status:empty { display: none; }
.status.error { color: #9d291f; }
.muted { color: #506456; line-height: 1.55; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 35px 22px; }
.dashboard-head h1 { max-width: none; overflow-wrap: anywhere; font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 10px; }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; padding-bottom: 45px; align-items: start; }
.side { display: grid; gap: 18px; }
.section-title, .copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-title h2 { margin-bottom: 0; }
.section-title { margin-bottom: 17px; }
.pill { background: #eaf2e4; border-radius: 99px; padding: 5px 10px; color: #304e33; font-size: .8rem; font-weight: 700; }
.latest { background: #e8f2dc; padding: 16px; border-radius: 12px; }
.latest span, .latest strong { display: block; }
.latest strong { font-size: 2rem; letter-spacing: -.05em; }
.ledger-scroll { overflow-x: auto; margin-top: 18px; }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger caption { text-align: left; padding-bottom: 9px; color: #506456; font-size: .87rem; }
.ledger th, .ledger td { padding: 10px; text-align: left; border-bottom: 1px solid #dce5dc; }
.ledger th { font-size: .87rem; background: #eef4eb; }
.ledger td { font-size: .93rem; }
.ledger td:nth-child(-n+2), .ledger td:last-child { white-space: nowrap; }
.ledger td:last-child, .ledger th:last-child { text-align: right; }
.ledger td:last-child { font-weight: 750; }
.ledger-empty { margin: 14px 0; }
.unreadable { margin-top: 16px; padding-top: 9px; border-top: 1px solid #dce5dc; }
.events { list-style: none; padding: 0; }
.events li { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid #dce5dc; overflow-wrap: anywhere; }
.events small { color: #4d6756; }
.test-form { display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 20px 0 7px; }
details { margin-top: 12px; color: #305041; line-height: 1.55; }
summary { cursor: pointer; font-weight: 700; }
.voice-test { border-top: 1px solid #dce5dc; padding-top: 14px; }
#mail-help ol { display: grid; gap: 12px; padding-left: 22px; color: #305041; line-height: 1.55; }
.mail-note { margin: 14px 0; padding: 12px; border-radius: 9px; background: #eaf2e4; color: #253e2e; }
.mail-note p { margin: 6px 0; }
.mail-note samp { font-size: 1.17rem; letter-spacing: .1em; overflow-wrap: anywhere; }
footer { border-top: 1px solid #d7dfd5; min-height: 64px; display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: .9rem; color: #496052; }
@media (max-width: 760px) {
  .hero, .dashboard-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 35px; }
}
@media (max-width: 430px) {
  .test-form { grid-template-columns: 1fr; }
  .dashboard-head, .copy-row { align-items: stretch; flex-direction: column; }
  .example { gap: 8px; }
}
