.buyout-page {
    --buyout-text: #171717;
    --buyout-muted: #5a5a58;
    --buyout-border: #deded9;
    background: #f7f7f4;
    color: var(--buyout-text);
}
.buyout-page .buyout-site-header {
    padding-inline: max(20px, calc((100% - 1120px) / 2));
}
.buyout-page .buyout-site-header nav { display:flex; align-items:center; gap:18px; }
.buyout-page .buyout-site-header nav a { font-size:14px; font-weight:650; }
.buyout-page .buyout-wrap { max-width:1120px; margin:clamp(28px, 6vw, 62px) auto 64px; padding:0 20px; }
.buyout-page h1 { font-size:clamp(34px, 6vw, 64px); line-height:1.04; letter-spacing:-.065em; margin:0 0 14px; font-weight:770; }
.buyout-intro p { margin:0; max-width:55ch; line-height:1.6; color:var(--buyout-muted); }
.buyout-terms {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:26px 0 12px;
    border:1px solid var(--buyout-border); border-radius:14px; background:#fff; overflow:hidden;
}
.buyout-terms > div { padding:16px 18px; }
.buyout-terms > div + div { border-left:1px solid var(--buyout-border); }
.buyout-terms dt { color:var(--buyout-muted); font-size:13px; margin-bottom:6px; }
.buyout-terms dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
.buyout-mode { margin:0 0 28px; padding:11px 14px; border-radius:9px; background:#eeeee8; color:#484842; font-size:14px; line-height:1.5; }
#buyoutForm { display:grid; grid-template-columns:minmax(0,1fr) minmax(285px,330px); align-items:start; gap:24px; }
.buyout-items { min-width:0; }
.buyout-items-heading, .buyout-position-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.buyout-page .buyout-items-heading h2, .buyout-page .buyout-position-head h3 { margin:0; }
.buyout-page h2 { font-size:22px; letter-spacing:-.025em; }
.buyout-page h3 { font-size:19px; letter-spacing:-.022em; }
.buyout-page .buyout-muted { color:var(--buyout-muted); font-size:14px; line-height:1.5; margin:8px 0 14px; }
#buyoutItemCount { color:var(--buyout-muted); font-size:13px; white-space:nowrap; }
.buyout-page .buyout-position {
    min-width:0; box-sizing:border-box; margin:0 0 12px; padding:clamp(16px, 3vw, 22px);
    border:1px solid var(--buyout-border); border-radius:16px;
}
.buyout-position-head { margin-bottom:16px; }
.buyout-page .buyout-position-remove { font-size:13px; color:#4a4a48; background:transparent; border:1px solid #ddd; margin:0; padding:7px 10px; min-height:38px; }
.buyout-position-fields { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:12px; }
.buyout-position-link { grid-column:1 / -1; }
.buyout-position-options { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.buyout-page .buyout-position label { font-size:13px; font-weight:650; }
.buyout-page .buyout-position input:not([type=checkbox]) { min-height:45px; padding:10px 11px; border-color:#d8d8d3; background:#fafaf8; font-size:16px; font-weight:500; transition:background .16s,border-color .16s; }
.buyout-page .buyout-position input:not([type=checkbox]):focus { background:#fff; border-color:#444; }
.buyout-service-heading { margin:18px 0 9px; color:var(--buyout-muted); font-size:13px; font-weight:650; }
.buyout-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.buyout-page .buyout-service {
    display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:8px; min-height:66px;
    box-sizing:border-box; margin:0; padding:9px; border:1px solid var(--buyout-border); border-radius:9px;
    cursor:pointer; transition:background .16s,border-color .16s; overflow-wrap:anywhere;
}
.buyout-page .buyout-service:has(input:checked) { background:#eeeee9; border-color:#565650; }
.buyout-service input { width:17px; height:17px; accent-color:#111; margin:0; }
.buyout-service span span { display:block; }
.buyout-service-price { margin-top:3px; color:var(--buyout-muted); font-weight:600; }
.buyout-page #buyoutAdd { width:100%; min-height:46px; margin:0; background:#fff; color:#111; border:1px dashed #a3a39e; }
.buyout-page #buyoutAdd span { margin-right:4px; }
.buyout-calculation { position:sticky; top:16px; padding:20px; border-radius:16px; border:1px solid var(--buyout-border); background:#fff; min-width:0; }
.buyout-calculation .buyout-summary { font-size:14px; gap:10px 12px; margin:16px 0 12px; }
.buyout-calculation .buyout-summary dd { font-variant-numeric:tabular-nums; }
.buyout-calculation .buyout-summary dt:last-of-type, .buyout-calculation .buyout-summary dd:last-child {
    border-top:1px solid var(--buyout-border); padding-top:12px; font-size:18px; font-weight:750;
}
.buyout-page .buyout-calculation button { width:100%; min-height:48px; margin:4px 0 0; font-weight:680; }
#buyoutStatus { padding:12px 14px; margin:12px 0 0; font-size:14px; border:1px solid var(--buyout-border); border-radius:9px; background:#fff; line-height:1.5; }
#buyoutStatus:empty { display:none; }
#buyoutLogin { min-height:46px; }
.buyout-page :is(button, a, input):focus-visible { outline:2px solid #252525; outline-offset:3px; }
@media (hover:hover) {
    .buyout-page .buyout-service:hover, .buyout-page #buyoutAdd:enabled:hover, .buyout-page .buyout-position-remove:enabled:hover { background:#f4f4ef; border-color:#777; }
    .buyout-page .buyout-calculation button:enabled:hover { background:#343434; }
}
@media (max-width:780px) {
    #buyoutForm { grid-template-columns:minmax(0,1fr); gap:18px; }
    .buyout-calculation { position:static; }
}
@media (max-width:500px) {
    .buyout-page .buyout-wrap { padding:0 12px; }
    .buyout-page .buyout-site-header { padding-inline:12px; }
    .buyout-page .buyout-site-header nav { gap:10px; flex-wrap:wrap; justify-content:flex-end; }
    .buyout-page .buyout-site-header > a { font-size:16px; white-space:nowrap; }
    .buyout-page .buyout-site-header nav a { font-size:13px; }
    .buyout-page .buyout-site-header button { font-size:14px; padding-inline:8px; }
    .buyout-terms { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .buyout-terms > div { padding:12px; }
    .buyout-terms > div:nth-child(odd) { border-left:0; }
    .buyout-terms > div:nth-child(n+3) { border-top:1px solid var(--buyout-border); }
    .buyout-services { grid-template-columns:1fr; }
    .buyout-page .buyout-service, .buyout-page .buyout-position-remove { min-height:44px; }
    .buyout-service span span { display:inline; }
    .buyout-service-price { margin:0 0 0 6px; }
}
@media (prefers-reduced-motion:reduce) {
    .buyout-page .buyout-position input, .buyout-page .buyout-service { transition:none; }
}
