/* Rental Ringer app styles. Tokens match the marketing site (rr3.css). */
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --night: #071D20; --spruce: #123B3F; --signal: #F4C430; --paper: #F6F3EC; --ink: #0E2226;
  --muted: #5B6F6C; --line: #DDD6C8; --card: #FFFFFF; --ok: #1E7A4F; --warn: #9A6A00; --err: #B3261E; --info: #1F5F8B;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(26px, 4vw, 34px); }
h2 { font-size: 21px; margin-top: 8px; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 12px; }
a { color: var(--spruce); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.top { background: var(--night); color: #C9D9D5; }
.top-in { max-width: 1120px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand img { display: block; height: 32px; width: auto; }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; flex-wrap: wrap; }
.who form { margin: 0; }
.link-btn { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 8px 0; min-height: 44px; }
.tabs { border-top: 1px solid rgba(255,255,255,0.08); }
.tabs-in { max-width: 1120px; margin: 0 auto; padding: 0 clamp(8px, 4vw, 32px); display: flex; gap: 4px; overflow-x: auto; }
.tabs a { color: #C9D9D5; text-decoration: none; padding: 12px 12px; white-space: nowrap; font-weight: 500; border-bottom: 3px solid transparent; min-height: 44px; display: inline-flex; align-items: center; }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--signal); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 48px; }
.wrap.narrow { max-width: 520px; }
.foot { background: #04171A; color: #A9BFBB; font-size: 13px; }
.foot .wrap { padding-top: 24px; padding-bottom: 24px; }
.foot a { color: #C9D9D5; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { font-family: Poppins, sans-serif; font-weight: 700; font-size: 30px; line-height: 1; margin: 6px 0; }
.label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lede { font-size: 18px; color: var(--muted); }

dl.kv { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 8px 16px; margin: 0; }
dl.kv dt { color: var(--muted); font-size: 14px; }
dl.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 520px) { dl.kv { grid-template-columns: 1fr; } dl.kv dd { margin-bottom: 8px; } }

form.stack { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; display: block; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #C7BFAF; border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 600; border: 0; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--signal); color: var(--night); }
.btn-dark { background: var(--spruce); color: #fff; }
.btn-ghost { background: transparent; color: var(--spruce); border: 1px solid var(--spruce); }
.btn-danger { background: transparent; color: var(--err); border: 1px solid var(--err); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row form { margin: 0; }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.flash-ok { background: #E3F3EA; color: var(--ok); }
.flash-warn { background: #FFF6D6; color: var(--warn); }
.flash-err { background: #FBE4E2; color: var(--err); }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #E3F3EA; color: var(--ok); }
.pill-warn { background: #FFF6D6; color: var(--warn); }
.pill-err { background: #FBE4E2; color: var(--err); }
.pill-info { background: #E2EEF7; color: var(--info); }
.pill-muted { background: #ECE8DF; color: var(--muted); }
.lock { font-size: 13px; color: var(--muted); }

table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.list td { padding: 10px; border-bottom: 1px solid #EEE8DC; vertical-align: top; }
@media (max-width: 640px) {
  table.list thead { display: none; }
  table.list tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.list td { display: block; border: 0; padding: 2px 0; }
}

.mail { background: #FBFAF6; border: 1px solid var(--line); border-radius: 10px; padding: 14px; white-space: pre-wrap; font-size: 15px; overflow-wrap: anywhere; }
.msg { border-left: 3px solid var(--line); padding: 4px 0 4px 14px; margin: 14px 0; }
.msg-ringer { border-left-color: var(--signal); }
.msg-owner { border-left-color: var(--spruce); }
.msg .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.copybox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: ui-monospace, Menlo, monospace; background: #FBFAF6; border: 1px dashed #C7BFAF; padding: 10px 12px; border-radius: 10px; overflow-wrap: anywhere; }

.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-top: 24px; }
.auth-card h1 { font-size: 26px; }

.msg-customer { border-left-color: #C7BFAF; }
#o_body { min-height: 420px; font-size: 15px; line-height: 1.5; }
