/* Partner Portal and public /apply page: additions on top of airptt.css and control.css. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.apply main, .public.apply main { max-width: 820px; }
.hero { margin: 8px 0 24px; }
.hero h1 { font-family: var(--display); font-size: 44px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.hero p { color: var(--text-muted); font-size: 17px; max-width: 60ch; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tier b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; }
.tier span { color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.gets { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.gets li { padding-left: 18px; position: relative; }
.gets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.gets b { display: block; }
.gets span { color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 34px; } }
.success { border: 1px solid color-mix(in srgb, var(--rx) 45%, var(--line)); background: var(--rx-tint); border-radius: var(--radius); padding: 16px; }
.notice-warn { border: 1px solid color-mix(in srgb, var(--amber) 55%, var(--line)); color: var(--amber); border-radius: var(--radius); padding: 10px 12px; margin: 0 0 12px; }
.notice-bad { border: 1px solid color-mix(in srgb, var(--red) 55%, var(--line)); color: var(--red-text); background: var(--red-tint); border-radius: var(--radius); padding: 10px 12px; margin: 0 0 12px; }
.agreement-text { white-space: pre-wrap; max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--bg); font-size: 14px; margin-bottom: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 8px; }
.kv dt { color: var(--text-muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.trend { width: 100%; height: 96px; display: block; }
.trend .bar { fill: var(--rx); } .trend .seat { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 4 3; fill: none; }
.notes { list-style: none; padding: 0; margin: 0 0 12px; }
.notes li { padding: 10px 0; border-top: 1px solid var(--line); } .notes li:first-child { border-top: 0; }
.notes .meta { color: var(--text-muted); font-size: 13px; }
.price-table td.price { font-family: var(--display); font-size: 22px; }
.sort-link { all: unset; cursor: pointer; }
.qr-box { text-align: center; }
.qr-box .qr { margin-left: auto; margin-right: auto; }
@media print { .qr-box { break-inside: avoid; } .price-sheet h1 { font-size: 24px; } }

/* Fields airptt.css does not style: textarea, tel, search, url, date, and untyped inputs. */
textarea, input[type="tel"], input[type="search"], input[type="url"], input[type="date"], .link-box input:not([type]) {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--text); min-height: 44px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); color-scheme: dark;
}
textarea { min-height: 76px; resize: vertical; display: block; }
.tier small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; }
