.settlement{max-width:1320px;margin:0 auto}
.settlement .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:901px){.sidebar .main-navigation>[data-view=reports]{margin-top:-16px}}
@media(max-width:900px){body .sidebar .main-navigation>button.nav-item{grid-column:auto;align-self:start;justify-self:stretch;width:auto;min-width:0}}
.settlement-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:6px 0 24px}
.season-switcher{display:flex;align-items:center;gap:10px;min-width:0}
.season-switcher select{min-width:230px;max-width:100%;font-weight:600}
.season-switcher .icon-button{width:40px;height:40px;flex-shrink:0;font-size:19px}
.settlement-person{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}
.settlement-person select{min-width:160px}
.settlement-calendar{border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--paper)}
.settlement-calendar-heading,.settlement-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.settlement-calendar-heading{margin-bottom:20px}
.settlement-calendar-heading>div{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap}
.settlement-calendar-heading h2{font-size:24px;margin:0}
.settlement-calendar-heading span{color:var(--muted);font-size:12px}
.settlement-calendar-heading strong{color:var(--ink);font-size:18px;font-variant-numeric:tabular-nums;margin-left:6px}
.settlement .page-button.selected{background:var(--green);color:var(--bg);border-color:var(--green)}
.season-phase+.season-phase{margin-top:18px}
.season-phase h3{font-size:12px;color:var(--muted);font-weight:500;margin:0 0 8px}
.season-days{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.season-day{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-width:0;min-height:84px;padding:12px 9px;border:1px solid var(--line);border-radius:8px;background:transparent;text-align:left;color:var(--ink)}
.season-day:hover{background:var(--soft)}
.season-day.selected{outline:2px solid var(--green);outline-offset:-2px;background:var(--soft);border-color:transparent}
.season-day-label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}
.season-day strong{font-size:clamp(11px,1vw,15px);font-variant-numeric:tabular-nums;white-space:nowrap}
.season-day.no-record strong{color:var(--muted);font-weight:400}
.season-today{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;flex-shrink:0}
.calendar-legend{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:var(--muted);font-size:11px}
.calendar-legend>span:first-child{display:flex;align-items:center;gap:7px}
.settlement-detail{padding-top:32px}
.settlement-detail-heading h2{font-size:21px;margin:0 0 7px}
.settlement-detail-heading p{font-size:12px;color:var(--muted);margin:0}
.settlement-detail .notice{margin-top:18px}
.settlement-money{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0 30px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:20px}
.settlement-money dt,.settlement-context dt{font-size:12px;color:var(--muted);margin-bottom:10px}
.settlement-money dd{margin:0;font-size:clamp(20px,2vw,28px);font-weight:650;font-variant-numeric:tabular-nums}
.settlement-money small{margin-left:4px;color:var(--muted);font-size:12px;font-weight:400}
.settlement-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}
.settlement-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:10px 2px 14px;font-size:14px}
.settlement-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--green);font-weight:650}
.settlement-tabs button:hover{color:var(--ink)}
.settlement-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 16px}
.settlement-section-heading h3{font-size:16px;margin:0}
.settlement-section-heading h3 small{font-size:12px;color:var(--muted);margin-left:6px;font-weight:400}
.settlement-section-heading>span{font-size:11px;color:var(--muted)}
.settlement-section-heading input{width:240px;max-width:100%}
.settlement-section-heading select{min-width:170px}
.settlement-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0;padding:20px 0;border-bottom:1px solid var(--line)}
.settlement-context dd{font-size:18px;margin:0}
.settlement-empty{padding:36px 12px;text-align:center;color:var(--muted);font-size:13px}
.settlement .sale-list details{padding-left:12px;padding-right:12px}
.settlement .sale-list .small-note{overflow-wrap:anywhere}
.settlement .activity-overview{margin:0}
@media(max-width:1200px){.season-days{grid-template-columns:repeat(5,minmax(0,1fr))}.season-day{min-height:76px}.season-day strong{font-size:15px}}
@media(max-width:700px){.settlement-toolbar{flex-wrap:wrap;gap:14px}.season-switcher{width:100%}.season-switcher select{flex:1;min-width:0}.settlement-person{width:100%;justify-content:space-between}.settlement-person select{flex:1;max-width:260px}.settlement-calendar{padding:18px 14px}.settlement-calendar-heading>div{gap:6px;flex-direction:column}.settlement-calendar-heading h2{font-size:22px}.settlement-calendar-heading strong{font-size:16px}.season-days{grid-template-columns:repeat(3,minmax(0,1fr))}.season-day strong{font-size:14px}.calendar-legend{flex-wrap:wrap}.settlement-detail-heading{align-items:flex-start;flex-direction:column}.settlement-money{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.settlement-money dd{font-size:23px}.settlement-section-heading{flex-wrap:wrap}.settlement-section-heading input{width:100%}.settlement-context{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-tabs{gap:20px}.settlement-tabs button{font-size:13px}.settlement .history-pager{flex-wrap:wrap}.settlement .sale-list summary{gap:10px}.settlement .sale-line{gap:12px}}
