.sale-management-top{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.sale-setup{padding:25px}.sale-setup h3,.sale-lots-panel h3{font-size:24px;font-weight:400;letter-spacing:-.6px;margin:0 0 5px}.sale-setup>p{font-size:13px;line-height:1.7}.sale-source-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #DFE4D7;font-size:11px}.sale-source-status span{display:flex;gap:8px;align-items:center}.sale-source-status strong{font-size:10px;font-weight:500;text-align:right}.sale-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sale-detail-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0}.sale-lots-panel{padding:25px}.sale-lots-panel>.search-field{max-width:370px;margin-bottom:20px;background:white}.sale-lot-row{display:flex;align-items:center;gap:18px;padding:16px 5px;border-bottom:1px solid #DFE4D7}.sale-lot-row:last-child{border:0}.sale-lot-name{flex:1;min-width:0}.horse-name-link{font-size:16px;font-weight:500;min-height:30px}.sale-lot-name small,.sale-lot-source{display:block;font-size:10px;color:#656A5E;line-height:1.6}.sale-lot-source{margin-top:4px}.stud-pick-toggle{display:flex;gap:8px;align-items:center;padding:10px 13px;border:1px solid #DCE3D0;background:#FAFBF7;border-radius:999px;color:#656A5E;font:400 11px Manrope,sans-serif;min-height:44px;cursor:pointer}.stud-pick-toggle.picked{background:#E1E9D1;color:#354126;border-color:#B6C799}.stud-pick-toggle:disabled{cursor:default;opacity:1}.sale-results-summary{margin-top:20px}.sales-period-row{display:flex;margin-bottom:20px}.registry-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);gap:20px;align-items:start}.registry-list{padding:22px}.registry-list .search-field{background:white;margin-bottom:16px}.registry-row{display:flex;align-items:center;gap:13px;width:100%;padding:16px 10px;border:0;border-bottom:1px solid #E0E4D9;border-radius:15px;background:transparent;text-align:left;font-family:Manrope,sans-serif;color:#29331E;cursor:pointer}.registry-row.selected,.registry-row:hover{background:#E6ECD9}.registry-thumb{width:44px;height:44px;border-radius:14px;overflow:hidden;background:#E3E8D9;display:grid;place-items:center;flex-shrink:0}.registry-thumb img{width:100%;height:100%;object-fit:cover}.registry-row>span:nth-child(2){flex:1;min-width:0}.registry-row strong{display:block;font-size:14px;font-weight:500}.registry-row small{display:block;font-size:10px;color:#656A5E;line-height:1.5;margin-top:4px}.registry-detail{overflow:hidden;min-width:0}.registry-detail>.horse-photo{height:260px;margin:0}.registry-detail-body{padding:26px}.registry-detail h4{font-size:19px;font-weight:400;margin:25px 0 12px}.registry-copy{font-size:12px;line-height:1.8;color:#485634}.registry-exams{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.registry-exams span{font-size:10px;background:#EAF0E0;border:1px solid #DFE5D5;padding:8px 10px;border-radius:999px}.registry-sale-history{padding:20px 0;border-top:1px solid #DFE4D7;margin-top:16px}.registry-sale-history>.panel-title{margin-bottom:10px;flex-wrap:wrap}.registry-sale-history strong{font-size:14px;font-weight:500}.registry-visit{background:#F2F4EC;border-radius:15px;padding:16px;margin-top:12px}.registry-visit p{font-size:11px;line-height:1.7}.registry-visit small{font-size:10px;color:#656A5E}.registry-visit small i{font-size:12px;margin-right:6px}.registry-visit .row{flex-wrap:wrap;gap:8px}.registry-visit strong{font-size:12px}.management-dialog select,.management-dialog textarea{min-height:44px;width:100%;padding:10px 12px;border:1px solid #CED5C3;border-radius:12px;background:white;font:400 13px Manrope,sans-serif;color:#29331E}.management-dialog textarea{resize:vertical}.management-dialog h3{font-size:19px;font-weight:400;margin:20px 0 10px}.management-dialog .n-sub{margin-bottom:16px!important}.management-dialog input[type=checkbox]{accent-color:#485634}.registry-detail .horse-facts{grid-template-columns:1fr 1fr}.registry-detail .horse-facts dd{overflow-wrap:anywhere}.registry-detail .directory-detail-heading{align-items:center}.registry-detail .directory-detail-heading h3{overflow-wrap:anywhere}
@media(max-width:1000px){.sale-management-top{grid-template-columns:1fr}.registry-layout{grid-template-columns:minmax(0,.75fr) minmax(0,1fr)}.sale-lot-row{gap:10px}.stud-pick-toggle span{max-width:70px}.registry-detail-body{padding:22px}}
@media(max-width:760px){.registry-layout{grid-template-columns:1fr}.sale-lots-panel,.sale-setup{padding:20px 16px}.sale-lot-row{flex-wrap:wrap;padding:18px 0}.sale-lot-name{flex-basis:calc(100% - 65px)}.sale-lot-row>.lot-circle{width:44px}.sale-lot-row>.icon-button{margin-left:auto}.registry-detail>.horse-photo{height:220px}.sale-detail-actions{align-items:stretch;flex-direction:column}.sale-detail-actions .button{justify-content:center}.registry-row strong{font-size:14px}.registry-detail-body{padding:20px 16px}.registry-detail .directory-detail-heading{align-items:flex-start;flex-wrap:wrap}.sale-source-status{gap:10px}.sale-summary-grid{gap:12px}.sale-lots-panel>.panel-title{flex-wrap:wrap}.sale-lots-panel .split-action{width:100%}.registry-detail .horse-facts{gap:12px}.sale-setup .panel-title{flex-wrap:wrap}}

.lot-availability{font-size:10px;padding:8px 12px;background:#F2F5EB}.lot-availability[aria-pressed=true]{background:#E6EDD9}.lot-availability i{font-size:15px}

/* Compact season summary: Nestly rounded rings, track bars and olive accents. */
.sales-overview-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,2.3fr);gap:20px;align-items:start}
.season-card{padding:24px;min-width:0}.season-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.season-header h3,.season-card>h3{font-size:22px;font-weight:400;letter-spacing:-.7px;margin:0 0 5px}.season-header p,.season-muted{font-size:12px;line-height:1.5;color:#656a5e;margin:0}.season-year{flex-shrink:0;width:88px}.season-year .parade-select-trigger{border:1px solid #fff;background:#fff;border-radius:999px;padding:8px 12px;min-height:38px;font-size:13px;gap:8px}.season-year select{font:inherit;background:#fff;border:0;border-radius:999px;padding:8px}
.season-kpi-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.season-kpi-line h4{font-size:14px;font-weight:400;color:#656a5e;margin:0 0 10px}.season-number{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;font-size:34px;line-height:1.15;font-weight:400;letter-spacing:-1.2px}.season-number>small{font-size:12px;letter-spacing:0;color:#656a5e}.season-ring{position:relative;width:72px;height:72px;flex-shrink:0}.season-ring>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px;font-size:19px;letter-spacing:-.7px;color:#354126}.season-ring small{font-size:11px;letter-spacing:0}.season-trend{height:66px;margin-top:18px;position:relative}.season-chart-values{display:flex;gap:0;margin-top:6px}.season-chart-values button{flex:1;display:flex;flex-direction:column;gap:3px;align-items:center;border:0;border-radius:12px;background:none;padding:6px;font:inherit;cursor:pointer;color:#656a5e}.season-chart-values button[aria-pressed=true]{background:#e7ecdc;color:#354126}.season-chart-values strong{font-size:13px;font-weight:500}.season-chart-values span{font-size:12px}.season-chart-values button:hover{background:#edf1e5}.season-chart-values button:focus-visible{outline:2px solid #485634;outline-offset:2px}
.season-proceeds{border-top:1px solid #e4e8dc;padding-top:20px;margin-top:20px}.season-kpi-symbol{width:44px;height:44px;display:grid;place-items:center;border:1px solid #e2e7d8;border-radius:50%;color:#829467;background:#f2f5ea}.season-kpi-symbol .ph-light{font-size:20px}.season-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0 0;margin-top:18px;border-top:1px solid #e4e8dc}.season-details>div{display:flex;flex-direction:column;gap:6px}.season-details>div+div{border-left:1px solid #e4e8dc;padding-left:16px}.season-details span{font-size:12px;color:#656a5e}.season-details strong{font-size:23px;font-weight:400;letter-spacing:-.7px}.season-details small{font-size:11px;color:#656a5e;line-height:1.5}.season-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:20px;font-size:11px;color:#656a5e;line-height:1.6}.season-foot>span:last-child{flex-basis:100%;padding-left:11px}.season-period-dot{height:5px;width:5px;border-radius:50%;background:#a6b583}
@media(max-width:1000px){.sales-overview-layout{grid-template-columns:1fr}.season-card{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.season-header,.season-foot{grid-column:1/-1}.season-proceeds{border-top:0;margin:0;padding:0 0 0 28px;border-left:1px solid #e4e8dc}.season-details{grid-column:1/-1}.season-details>div{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}.season-foot>span:last-child{flex-basis:auto;padding:0;margin-left:auto}}
@media(max-width:600px){.season-card{display:block;padding:20px}.season-header h3{font-size:21px}.season-proceeds{border-left:0;padding:20px 0 0;margin-top:20px;border-top:1px solid #e4e8dc}.season-details>div{flex-direction:column;align-items:flex-start;gap:6px}.season-foot>span:last-child{flex-basis:100%;margin-left:0;padding-left:11px}}
/* Keep the season glance compact beside the sales list. */
.season-card{padding:22px}.season-header{margin-bottom:14px}.season-header h3{font-size:21px;line-height:1.25}.season-ring{width:64px;height:64px}.season-kpi-line h4{margin-bottom:6px}.season-number{font-size:32px}.season-trend{height:42px;margin-top:12px}.season-chart-values{margin-top:4px}.season-chart-values button{padding:3px;gap:0}.season-chart-values strong{font-size:12px;line-height:1.5}.season-chart-values span{font-size:11px;line-height:1.5}.season-proceeds{padding-top:14px;margin-top:14px}.season-details{padding-top:12px;margin-top:12px}.season-details>div{gap:3px}.season-details strong{font-size:21px;line-height:1.2}.season-foot{margin-top:12px;gap:3px;line-height:1.5}
@media(min-width:601px) and (max-width:1000px){.season-proceeds{padding-top:0;margin-top:0}}

/* Sale workspace: context in one third, lot table in two thirds. */
.sale-detail-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.sale-detail-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}.sale-detail-sidebar .sale-summary-grid{gap:12px}.sale-detail-sidebar .portfolio-kpi{padding:18px}.sale-detail-sidebar .portfolio-kpi strong{font-size:30px;margin:10px 0 6px}.sale-detail-sidebar .sale-setup{padding:22px}.sale-detail-sidebar .sale-source-status{align-items:flex-start;gap:8px}.sale-detail-sidebar .sale-source-status strong{max-width:58%;line-height:1.5}.sale-detail-sidebar .sale-setup .panel-title{flex-wrap:wrap;gap:8px}
.sale-detail-sidebar .sale-detail-actions{margin:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}.sale-detail-sidebar .sale-detail-actions .button{justify-content:center}.sale-detail-sidebar .sale-qr-settings{margin:0;padding:22px}.sale-detail-sidebar .sale-qr-heading{flex-direction:column;align-items:stretch;gap:14px}.sale-detail-sidebar .sale-qr-result{grid-template-columns:1fr}.sale-detail-sidebar .sale-qr-picture{width:180px;max-width:100%;margin:auto}.sale-detail-sidebar .sale-results-summary{margin:0}
.sale-detail-layout .sale-lots-panel{padding:22px;min-width:0;container-type:inline-size}.sale-detail-layout .sale-lots-panel>.panel-title{gap:14px;align-items:center}.sale-detail-layout .sale-lots-panel>.panel-title .n-sub{display:none}.sale-detail-layout .sale-lots-panel>.search-field{max-width:300px;margin-bottom:16px}.sale-detail-layout .sale-lots-panel h3{font-size:22px}
.sale-lots-head,.sale-lots-table .sale-lot-row{display:grid;grid-template-columns:50px minmax(0,1fr) 135px 100px;gap:12px;align-items:center;padding:10px}.sale-lots-table .sale-lot-row{min-height:60px;border-bottom:1px solid #E1E4DB;cursor:pointer;transition:background-color 140ms ease}.sale-lots-table .sale-lot-row:last-child{border-bottom:0}.sale-lots-table .sale-lot-row:hover,.sale-lots-table .sale-lot-row:focus-within{background:var(--parade-chart-track)}.sale-lots-table .sale-lot-row:focus-visible{outline:1px solid #A6B583;outline-offset:-1px}.sale-lot-number{font-size:15px;color:#485634}.sale-lots-table .sale-lot-name strong{display:block;font-size:15px;font-weight:500;line-height:1.35}.sale-lots-table .sale-lot-name small{font-size:13px;line-height:1.35;margin-top:1px;overflow-wrap:anywhere}.sale-lots-table .lot-availability{min-height:32px;font-size:12px;padding:4px 10px;white-space:nowrap}.sale-lots-table .stud-pick-toggle{justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;margin:auto}.sale-lots-table .sale-lot-row>span:last-child,.sale-lots-head>span:last-child{text-align:center}.sale-lots-table .sale-lot-row>.sale-lot-name{flex-basis:auto}
@media(prefers-reduced-motion:reduce){.sale-lots-table .sale-lot-row{transition:none}}
@media(max-width:1100px){.sale-detail-layout{grid-template-columns:1fr}.sale-detail-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start}.sale-detail-sidebar .sale-detail-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}.sale-detail-layout .sale-lots-panel{grid-row:1}}
@media(max-width:600px){.sale-detail-sidebar{grid-template-columns:1fr}.sale-detail-layout .sale-lots-panel{padding:20px 14px}.sale-detail-layout .sale-lots-panel>.panel-title{flex-wrap:wrap}.sale-detail-layout .sale-lots-panel>.search-field{max-width:none}.sale-lots-head,.sale-lots-table .sale-lot-row{grid-template-columns:34px minmax(0,1fr) 42px;gap:8px;padding:10px 6px}.sale-lots-head>span:nth-child(3){display:none}.sale-lots-head>span:last-child{font-size:0}.sale-lots-head>span:last-child::after{content:'♡';font-size:18px}.sale-lots-table .sale-lot-row>span:nth-child(3){grid-column:2;grid-row:2}.sale-lots-table .sale-lot-row>span:last-child{grid-column:3;grid-row:1/3}.sale-lots-table .sale-lot-name small{font-size:12px}.sale-detail-sidebar .sale-detail-actions{flex-direction:column}}

@media(min-width:601px){
@container(max-width:540px){
 .sale-lots-panel>.panel-title{flex-wrap:wrap}
 .sale-lots-head,.sale-lots-table .sale-lot-row{grid-template-columns:34px minmax(0,1fr) 104px 38px;gap:8px;padding:10px 6px}
 .sale-lots-head>span:last-child{font-size:0}.sale-lots-head>span:last-child::after{content:'♡';font-size:18px}
 .sale-lots-table .sale-lot-name strong{overflow-wrap:anywhere}
 .sale-lots-table .lot-availability{font-size:12px;padding:4px 8px}
}
}

/* Five aligned columns, including a separate sale amount. */
.sale-lots-scroll{overflow-x:auto}
.sale-lots-head,.sale-lots-table .sale-lot-row{grid-template-columns:34px minmax(110px,1fr) 150px 90px 70px;gap:10px}
.sale-lots-head>span:last-child{font-size:11px;line-height:1.35}.sale-lots-head>span:last-child::after{content:none}
.sale-lot-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.sale-lots-head .sale-lot-amount{font-size:inherit}
.sale-lots-table .dot-badge{white-space:nowrap;font-size:12px;line-height:1.35}
@media(max-width:600px){
 .sale-lots-table{min-width:560px}
 .sale-lots-head{display:grid}
 .sale-lots-head>span:nth-child(3){display:block}
 .sale-lots-head>span:last-child{font-size:11px}
 .sale-lots-table .sale-lot-row>span:nth-child(3),.sale-lots-table .sale-lot-row>span:last-child{grid-column:auto;grid-row:auto}
}

/* Compact lot rows, preserving the existing controls. */
.sale-lots-table .sale-lot-row{min-height:46px;padding-top:5px;padding-bottom:5px}

#lot-manual-fields[hidden],.lot-reference-preview[hidden]{display:none}.lot-reference-preview{margin:16px 0;padding:18px;border:1px solid #dce2d1;border-radius:16px;background:#f6f8f1}.lot-reference-preview h3{margin:0 0 8px}.lot-reference-preview p{font-size:14px;line-height:1.5}.lot-reference-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lot-reference-preview dt{font-size:12px;color:#656a5e}.lot-reference-preview dd{margin:3px 0 0;font-size:14px}
.management-dialog footer .lot-delete-action{margin-right:auto;color:var(--pd-color-accentText);border-color:var(--pd-badge-copper-border)!important;background:#fff}.management-dialog footer .lot-delete-action:hover{background:var(--pd-color-accentSoft)!important;border-color:var(--pd-color-accent)!important}
@media(max-width:600px){.management-dialog footer:has(.lot-delete-action){flex-wrap:wrap}.management-dialog footer .lot-delete-action{width:100%;margin-right:0}}

.management-dialog:has([data-confirm-delete="true"]) #management-error{color:var(--pd-color-accentText)}

/* Availability uses the same compact badge geometry as other statuses. */
#app-preview .sale-lots-table .lot-availability{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:0;height:auto;width:auto;padding:5px 7px;border:0;border-radius:999px;background:#E4EAD8;color:#485634;font-family:inherit;font-size:var(--parade-text-badge);font-weight:500;line-height:1.4;white-space:nowrap;box-shadow:none;cursor:pointer}
#app-preview .sale-lots-table .lot-availability[data-available=false]{background:#F0F1EC;color:#656A5E}
#app-preview .sale-lots-table .lot-availability:hover{filter:brightness(.97)}
#app-preview .sale-lots-table .lot-availability:focus-visible{outline:2px solid #485634;outline-offset:3px}
