.seller-film-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.seller-worksheet { display: block; }
.seller-worksheet-intro > p:not(.eyebrow), .seller-film-layout > div > p:not(.eyebrow) { max-width: 37rem; color: var(--muted); }
.seller-worksheet h2, .seller-film h2 { max-width: 15ch; margin: .65rem 0 1rem; }
.seller-worksheet-intro { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.resource-proceeds { padding-block-start: 1rem; }
.resource-proceeds .guide-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-bottom: 1.35rem; font-size: .875rem; font-weight: 650; }
.resource-proceeds .seller-worksheet-intro h1 { max-width: 18ch; margin: .65rem 0 1rem; font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: 1.02; }
.seller-calculator { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); grid-template-areas: "basics result" "details result"; align-items: start; gap: 1.9rem clamp(2.25rem, 6vw, 6rem); }
.seller-calculator[hidden], .seller-calculator [hidden] { display: none; }
.seller-basics { grid-area: basics; }
.seller-other-loans { min-inline-size: 0; margin: 0 0 1rem; padding: 0; border: none; }
.seller-other-loans legend { padding: 0; color: var(--brand-navy); font-weight: 650; }
.seller-loan-options { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.seller-loan-options label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; cursor: pointer; }
.seller-loan-options input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--brand-navy); }
.seller-loan-amount { margin-top: .35rem; }
.seller-loan-amount .seller-note { margin-bottom: .65rem; }
.seller-adjustments { grid-area: details; min-width: 0; }
.seller-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.seller-field { display: flex; flex-direction: column; justify-content: end; gap: .35rem; min-width: 0; color: var(--brand-navy); font-weight: 650; }
.seller-field input, .seller-field select { width: 100%; min-width: 0; height: var(--form-control-height); padding: .55rem .7rem; border: 1px solid var(--line, #c5cbd1); border-radius: 0; background: white; color: var(--ink); font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; }
.seller-money { display: flex; align-items: center; height: var(--form-control-height); min-width: 0; gap: .45rem; padding-inline: .75rem; background: white; color: var(--muted); border: 1px solid var(--line, #c5cbd1); }
.seller-money input { height: 100%; border: 0; padding-inline: 0; background: transparent; font-variant-numeric: tabular-nums; }
.seller-calculator :is(select, input, button, summary):focus-visible, .seller-money:focus-within { outline: 2px solid var(--brand-navy); outline-offset: 2px; }
.seller-money input:focus { outline: 0; }
.seller-money:has([aria-invalid="true"]), .seller-field > input[aria-invalid="true"] { border-color: #a12523; }
.seller-calculator small, .seller-note, .seller-income-note, .seller-source-links { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.seller-note { margin: .4rem 0 .9rem; }
.seller-note:empty, .seller-calculator small:empty { display: none; }
.seller-basics > .seller-note:last-child { margin-bottom: 0; }
.seller-adjustments details { padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line, #c5cbd1); background: transparent; }
.seller-adjustments details:first-of-type { border-top: 1px solid var(--line, #c5cbd1); }
.seller-adjustments summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .8rem; min-height: 3.1rem; padding: .65rem 0; cursor: pointer; color: var(--brand-navy); font-weight: 600; }
.seller-adjustments summary::-webkit-details-marker { display: none; }
.seller-adjustments summary::after { content: "+"; flex: none; font-size: 1.25rem; font-weight: 400; }
.seller-adjustments details[open] > summary::after { content: "−"; }
.seller-refine { border-block: 1px solid var(--line); }
.seller-refine > summary { justify-content: start; gap: .55rem; min-height: 3.35rem; }
.seller-refine > summary::after { margin-left: auto; }
.seller-refine[open] > summary::after { content: "−"; }
.seller-optional { font-size: .82rem; font-weight: 400; color: var(--muted); }
.seller-refine-body { padding: .25rem 0 1.1rem; }
.seller-refine-intro { margin-bottom: 1rem; color: var(--muted); }
.seller-detail-body { display: grid; gap: .8rem; padding: .15rem 0 1.15rem; }
.seller-detail-body p { margin: 0; }
.seller-detail-body a, .seller-source-links a { color: var(--brand-navy); }
#seller-bill-tax:not([hidden]) { display: grid; gap: .8rem; }
.seller-extra { min-width: 0; padding: .7rem .8rem; margin: 0 0 .7rem; border: 1px solid var(--line, #c5cbd1); }
.seller-extra legend { padding-inline: .3rem; font-weight: 600; }
.seller-extra .seller-fields { margin-block: .6rem; }
.seller-add, .seller-remove { justify-self: start; min-height: 2.6rem; padding: .3rem 0; border: 0; background: transparent; color: var(--brand-navy); font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
.seller-remove { min-height: 2.15rem; font-size: .85rem; font-weight: 500; }
.seller-review { display: flex; align-items: start; gap: .6rem; margin-top: 1.1rem; font-size: .95rem; cursor: pointer; }
.seller-review input { flex: none; width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; accent-color: var(--brand-navy); }
.seller-income-note { margin-block: 1.2rem .4rem; }
.seller-source-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.seller-result { grid-area: result; min-width: 0; scroll-margin-top: calc(var(--header-height) + .75rem); padding: clamp(1.25rem, 3vw, 2.3rem); color: white; background: var(--brand-deep-navy); }
.standalone-resources .seller-result { scroll-margin-top: 1rem; }
.seller-result h3 { margin: 0; font: 600 .98rem/1.35 var(--body); color: var(--brand-gold); }
.seller-result output { display: block; margin-top: .45rem; overflow-wrap: anywhere; font: 400 clamp(1.85rem, 4.5vw, 3.2rem)/1.1 var(--display); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.035em; }
.seller-result p { margin: .85rem 0; font-size: .9rem; color: var(--navy-tint); }
.seller-result .button { margin-top: .8rem; border-color: var(--brand-gold); background: var(--brand-gold); color: var(--brand-deep-navy); }
.seller-result .button:focus-visible { outline-color: white; }
.seller-summary { margin: 1.1rem 0 0; padding-top: .6rem; border-top: 1px solid var(--brand-gold); }
.seller-summary div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .2rem .8rem; padding-block: .32rem; }
.seller-summary dt, .seller-summary dd { margin: 0; font-size: .9rem; }
.seller-summary dt { overflow-wrap: anywhere; }
.seller-summary dd { font-variant-numeric: tabular-nums; font-weight: 650; text-align: end; }
.seller-breakdown { margin-top: 1rem; }
.seller-breakdown h4 { margin: 0; font-size: 1rem; color: var(--brand-gold); }
.seller-breakdown .seller-summary { margin-top: .45rem; padding-top: 0; border: 0; }
.seller-breakdown .seller-summary div + div { border-top: 1px solid rgb(255 255 255 / 14%); }
.seller-breakdown small { display: block; color: var(--navy-tint); font-size: .77rem; }
.seller-summary .seller-unconfirmed { font-size: .8rem; font-weight: 400; color: var(--navy-tint); }
.seller-prep-totals div:last-child { font-weight: 650; }
.seller-inline-result:not(:empty) { padding: .7rem .85rem; border-inline-start: 2px solid var(--brand-gold); background: var(--paper); color: var(--brand-navy); }
.seller-inline-result:empty { display: none; }
@media (max-width: 760px) {
  .seller-calculator { grid-template-columns: minmax(0, 1fr); grid-template-areas: "basics" "result" "details"; gap: 1.35rem; }
}
@media (max-width: 390px) {
  .seller-fields { grid-template-columns: minmax(0, 1fr); }
  .seller-refine > summary { flex-wrap: wrap; }
}
.seller-film { padding-block: clamp(3.2rem, 7vw, 6rem); background: var(--paper); }
.seller-film-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); }
.seller-film .text-link { margin-top: 1rem; }
@media (max-width: 760px) {
  .seller-film-layout { grid-template-columns: minmax(0, 1fr); }
}

.seller-adjustments :is(.seller-add, .seller-remove):is(:hover, :focus-visible) { color: var(--link-highlight); }

.seller-example { padding: 1rem 1.1rem; margin-block: .45rem 1rem; border: 1px solid var(--line); background: var(--paper); }
.seller-example-toggle { display: flex; gap: .6rem; align-items: baseline; color: var(--brand-navy); font-weight: 650; cursor: pointer; }
.seller-example-toggle input { flex: none; width: 1rem; height: 1rem; margin: 0; align-self: center; accent-color: var(--brand-navy); }
.seller-example p { margin-top: .5rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.seller-example .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.seller-result .seller-estimate-note { padding-top: .7rem; border-top: 1px solid var(--brand-gold); }
