:root {
  color-scheme: light;
  --ink: #182f39; --muted: #3a4d52; --accent: #793822;
  --paper: #faf8f2; --sheet: #fffdf8; --rule: #c8c7bd; --wash: #efeee7;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], .swap-label { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 "Segoe UI", Arial, sans-serif; overflow-wrap: anywhere; }
.wrap { width: min(1184px, calc(100% - clamp(36px, 9vw, 160px))); margin-inline: auto; }
h1,h2,h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h4,p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button,input,select,textarea { font: inherit; color: inherit; }
button,summary { cursor: pointer; }
button,a,input,select,summary { touch-action: manipulation; }
:focus-visible, .file-label:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px white; }
.skip { position: absolute; z-index: 2; top: 0; left: 1rem; padding: .7rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.mast { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--rule); }
.mast-inner, .mast nav, .wordmark, .actions { display: flex; align-items: center; }
.mast-inner { justify-content: space-between; gap: 12px; min-height: 82px; padding-block: 6px; }
.wordmark { width: fit-content; min-height: 44px; gap: 11px; text-decoration: none; font: 600 33px/1 var(--serif); letter-spacing: -.065em; }
.br { color: var(--accent); }
.brand-seal { width: 36px; height: 41px; display: grid; justify-items: center; position: relative; border: 1px solid currentColor; border-radius: 2px 2px 45% 45%; outline: 1px solid currentColor; outline-offset: -4px; }
.brand-seal::before { content: ""; position: absolute; top: 22%; width: 1px; height: 27%; background: currentColor; }
.brand-seal::after { content: ""; position: absolute; top: 47%; width: 44%; height: 21%; border: 1px solid currentColor; border-bottom: 0; }
.mast nav { flex-wrap: wrap; gap: 4px clamp(14px, 2.6vw, 38px); }
.mast nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 600; text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.tool-link { border: 1px solid var(--ink); border-radius: 3px; gap: 10px; padding-inline: 16px; }
.intro { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px,7vw,112px); padding-block: clamp(46px,6vw,88px); }
.eyebrow, .folio-bar { font-size: .75rem; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; }
.eyebrow { color: var(--accent); }
.ruled { display: flex; align-items: center; gap: 12px; }
.ruled::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 { margin: .2em 0 .3em; font-size: clamp(3.3rem,6vw,5.7rem); letter-spacing: -.058em; line-height: 1.02; }
h1 em { display: block; color: var(--accent); }
.lead { max-width: 44ch; font-size: clamp(1rem,1.4vw,1.19rem); color: var(--muted); }
.upload-card { min-width: 0; background: var(--sheet); border: 1px solid #919a97; margin-right: 5px; box-shadow: 5px 5px 0 -1px #ece7db, 5px 5px 0 #adaea5; }
.folio-bar { display: flex; justify-content: space-between; gap: 12px; color: white; background: var(--ink); padding: 13px clamp(18px,2.6vw,34px); }
.folio-bar span + span { font-weight: 400; }
.upload-body { padding: clamp(20px,2.6vw,36px); }
.upload-body h2 { font-size: clamp(1.8rem,2.8vw,2.5rem); }
.upload-body p { margin: 12px 0 20px; max-width: 42ch; color: var(--muted); }
.upload-note { padding: 12px clamp(18px,2.6vw,34px); border-top: 1px solid var(--rule); background: var(--wash); font: italic .97rem/1.5 var(--serif); }
.actions { gap: 6px 15px; flex-wrap: wrap; }
.button, .text-button { min-height: 44px; font-size: .93rem; font-weight: 600; line-height: 1.4; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--ink); border-radius: 3px; padding: 9px 15px; }
.primary { color: white; background: var(--ink); }
.primary:hover { background: #304953; }
.secondary { color: var(--ink); background: var(--sheet); }
.text-button { border: 0; background: transparent; padding: 6px 2px; text-underline-offset: .25em; text-decoration: underline; color: var(--accent); }
.file-label { position: relative; overflow: hidden; cursor: pointer; }
.file-label input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,4vw,65px); padding-block: 32px 60px; border-top: 1px solid var(--rule); }
.features h2 { font-size: clamp(1.5rem,2.2vw,2rem); }
.features p { margin-top: 10px; color: var(--muted); }
#loadStatus:not(:empty), .tax-result { padding: 12px 16px; background: #e9ede8; border-left: 3px solid #506a5f; }
#loadStatus.error,.notice { color: #693b15; background: #fbefdb; border-left: 3px solid #916c3a; }
.notice { padding: 12px 16px; margin-block: 12px; }
.loaded .intro { grid-template-columns: 1fr auto; gap: 15px; padding-block: 17px; }
.loaded .intro h1 { font-size: 1.7rem; margin: 0; }
.loaded .intro h1 em { display: inline; }
.loaded .intro .eyebrow, .loaded .lead, .loaded .folio-bar, .loaded .upload-body h2, .loaded .upload-body p, .loaded .upload-note, .loaded .open-label { display: none; }
.loaded .swap-label { display: inline !important; }
.loaded .upload-card { border: 0; box-shadow: none; margin: 0; background: transparent; }
.loaded .upload-body { padding: 0; }
.casebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 25px 0; }
.casebar h2 { font-size: clamp(1.7rem,2.6vw,2.4rem); margin: 5px 0; }
#reviewMeta,.caption,.section-head p,.source,td small, .proof small, .status-card small { color: var(--muted); font-size: .88rem; }
.review-layout { display: grid; grid-template-columns: minmax(170px,220px) minmax(0,1fr); gap: clamp(18px,3vw,44px); padding-bottom: 45px; }
.context-rail { align-self: start; position: sticky; top: 16px; }
.context-rail .eyebrow { margin: 4px 0 12px; }
#contextTabs { display: grid; border-top: 1px solid var(--rule); }
#contextTabs button { min-height: 48px; text-align: left; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; font-weight: 600; padding: 10px 13px; }
#contextTabs button span { display: none; }
#contextTabs button:hover { background: var(--wash); }
#contextTabs button[aria-selected=true] { color: white; background: var(--ink); box-shadow: inset 4px 0 #e1b597; }
.review-content { min-width: 0; }
.context-hero { padding: clamp(18px,3vw,36px); border-top: 3px solid var(--ink); background: #e9ede8; }
.context-hero h2 { font-size: clamp(1.85rem,3vw,2.7rem); margin-block: 7px; }
.context-hero p,.section p,dialog p { max-width: 68ch; }
.context-hero p:not(.eyebrow), .step p, .person p, details pre { color: var(--muted); }
.status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-block: 16px; }
.status-card,.section,.proof,.tax-record,.person { border: 1px solid var(--rule); background: var(--sheet); }
.status-card { padding: 15px; border-top: 3px solid #426252; }
.status-card.warn { border-top-color: #926421; }
.status-card.bad { border-top-color: #923a34; }
.status-card .label,.pill { display: inline-block; font-size: .78rem; font-weight: 600; }
.status-card strong { display: block; font: 1.5rem/1.2 var(--serif); margin-block: 7px; }
.pill { padding: 3px 9px; background: #e1eee4; color: #214931; }
.pill.warn { background: #f6ead1; color: #624514; }
.pill.bad,.issues { color: #782e2a; }
.pill.bad { background: #f7e5df; }
.section { padding: clamp(15px,2vw,28px); margin-block: 19px; }
.section h3,dialog h2 { font-size: clamp(1.5rem,2.2vw,2rem); }
.section-head,.dialog-head,.proof { display: flex; align-items: start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head { margin-bottom: 16px; }
.steps { counter-reset: steps; }
.step { counter-increment: steps; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: start; gap: 10px; padding: 15px 0; border-top: 1px solid var(--rule); }
.step::before { content: counter(steps,decimal-leading-zero); color: var(--accent); font: 1.05rem var(--serif); }
.step p,.focus-list,.source { margin-block: 6px; }
.step p,.person p,.proof,.form-grid,.notice,pre,.tax-record { font-size: .93rem; }
.source,.stage-title { border-top: 1px solid var(--rule); padding-top: 12px; }
.source a { color: var(--accent); }
.stage-title { margin: 20px 0 12px; }
.stage-title strong,.stage-title small,.tree-root b,.person b,.status-card small,.proof small,td small { display: block; }
.rights-tree {
 padding:clamp(16px,2.5vw,34px);
 --tree-line:#a6ada7;
 --tree-default-fill:#fffdf8;
 --tree-default-edge:#adb9ae;
}
.rights-tree .section-head { align-items:baseline; }
.tree-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.tree-controls a { display:inline-flex; align-items:center; min-height:44px; color:var(--accent); font-size:.88rem; }
#conferenceTreePrintDialog { width:min(520px,calc(100% - 28px)); }
#conferenceTreePrintDialog fieldset {
 display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; border:1px solid var(--rule); padding:8px 12px;
}
#conferenceTreePrintDialog legend { padding-inline:5px; font-weight:600; }
#conferenceTreePrintDialog label {
 display:inline-flex; align-items:center; gap:7px; min-height:44px; padding-inline:8px; cursor:pointer;
}
#conferenceTreePrintDialog input { accent-color:var(--accent); }
#conferenceTreePrintDialog .actions { justify-content:flex-end; }
#conferenceTreePrint { display:none; }
.rights-tree .source { margin-block:20px 0; }
.tree-shortcut { display:inline-flex; align-items:center; min-height:44px; font-weight:600; color:var(--accent); }
#rights-title { scroll-margin-top:14px; }
.tree-index { border-block:1px solid var(--rule); display:flex; align-items:center; flex-wrap:wrap; gap:0 16px; padding:6px 0; }
.tree-index span, .tree-family h5, .tree-author p, .tree-right dt {
  font:700 .73rem/1.5 "Segoe UI",Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase;
}
.tree-index a { display:inline-flex; align-items:center; min-height:44px; color:var(--accent); font-size:.9rem; }
.tree-legend { display:flex; flex-wrap:wrap; gap:8px 16px; margin:12px 0 0; padding:0; list-style:none; color:var(--muted); font-size:.82rem; }
.tree-legend li { display:inline-flex; align-items:center; gap:7px; }
.tree-legend li::before {
 content:""; width:13px; height:13px; flex:none; border-radius:3px;
 border:1px solid var(--tree-edge); background:var(--tree-fill);
}
.tree-estate { margin-top:24px; scroll-margin-block:16px; }
.tree-estate:target { outline:2px solid var(--accent); outline-offset:5px; }
.tree-author {
 background:#f1e9dc; color:var(--ink); padding:16px clamp(14px,2.2vw,26px); display:flex;
 align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 20px;
 border:1px solid #c3a598; border-inline-start:4px solid var(--accent); border-radius:6px;
}
.tree-author p { color:var(--accent); }
.tree-author h4 { font:400 clamp(1.45rem,2.5vw,2rem)/1.17 var(--serif); margin-top:4px; }
.tree-event { border-left:1px solid #829298; padding-left:14px; font-size:.85rem; }
.tree-event strong { display:block; font-weight:600; }
.tree-provenance { margin:5px 0 0; padding:5px 10px; border-inline-start:2px solid var(--accent); color:var(--accent); font-size:.82rem; }
.tree-family { padding:16px 0 0 clamp(12px,2vw,26px); border-left:1px solid var(--tree-line); margin-left:clamp(4px,1.5vw,18px); }
.tree-family h5 { position:relative; margin:0 0 6px; color:var(--muted); }
.tree-family h5::before { content:""; width:clamp(12px,2vw,26px); border-top:1px solid #afb8b5; position:absolute; right:100%; top:50%; }
.tree-branches,.tree-children { margin:0; padding:0; list-style:none; }
.tree-branches { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:14px; align-items:start; }
@media screen {
 [data-conference-tree-layout=vertical] .tree-branches { grid-template-columns:minmax(0,1fr); max-width:44rem; }
}
@media screen and (min-width:1080px) {
 .loaded main.wrap { width:min(2160px, calc(100% - clamp(36px,5vw,144px))); }
 .review-layout { grid-template-columns:clamp(170px,14vw,200px) minmax(0,1fr); gap:clamp(24px,2.5vw,40px); }
 :root:not([data-conference-tree-layout=vertical]) .tree-branches {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:clamp(10px,1vw,14px);
 }
}
.tree-branch { min-width:0; }
.tree-children { margin:0 0 0 12px; padding-left:14px; border-left:1px solid #9da9a7; }
.tree-children > li { padding-top:10px; position:relative; }
.tree-children > li::before { content:""; position:absolute; right:100%; top:31px; width:14px; border-top:1px solid #9da9a7; }
.tree-person {
 border:1px solid var(--tree-edge,var(--tree-default-edge));
 border-top-width:2px; border-radius:6px; padding:14px 16px;
 background:var(--tree-fill,var(--tree-default-fill));
}
[data-tree-status=current] { --tree-fill:#d7e6dc; --tree-edge:#739789; }
[data-tree-status=pre] { --tree-fill:#f2dede; --tree-edge:#b47a7a; }
[data-tree-status=post] { --tree-fill:#ead5e7; --tree-edge:#a46f9b; }
[data-tree-status=renounced] { --tree-fill:#f5ead2; --tree-edge:#b39457; }
.tree-transfer {
 position:relative; display:flex; align-items:center; min-height:44px;
 margin:0 0 2px 8px; padding:4px 4px 4px 14px; border-inline-start:2px solid var(--accent);
 font-size:.79rem; font-weight:600; color:var(--accent); overflow-wrap:anywhere;
}
.tree-transfer::before {
 content:""; position:absolute; inset-inline-start:0; width:10px; border-top:1px solid currentColor;
}
.tree-transfer:hover { background:#eee8e0; }
.tree-identity p,.tree-regime,.tree-basis { font-size:.85rem; color:var(--muted); }
.tree-identity h6 { margin:2px 0; font:400 1.34rem/1.2 var(--serif); color:var(--ink); }
.tree-badge { display:inline-block; margin:6px 5px 0 0; padding:2px 8px; border-radius:2px; font-size:.78rem; font-weight:600; }
.tree-badge.pre { color:#672d36; background:#f1dddb; }
.tree-badge.post { color:#5f304e; background:#f3e1ef; }
.tree-badge.renounced { color:#63430e; background:#f4e9ce; }
.tree-right { margin:12px 0 8px; padding-top:9px; border-top:1px solid var(--rule); }
.tree-right dt { color:var(--muted); }
.tree-right dd { margin:2px 0 0; font:400 clamp(1.2rem,1.6vw,1.5rem)/1.25 var(--serif); font-variant-numeric:tabular-nums; color:var(--accent); }
.tree-regime { font-weight:600; margin-bottom:3px; }
.tree-empty { padding:12px 0; }
@media(max-width:660px){
 .rights-tree { padding:14px 12px; }
 .tree-branches { grid-template-columns:minmax(0,1fr); }
 .tree-author { display:grid; }
 .tree-event { display:flex; flex-wrap:wrap; gap:2px 10px; border:0; padding:0; }
 .tree-children { margin-left:5px; padding-left:8px; }
 .tree-children > li::before { width:8px; }
 .tree-person { padding:12px; }
}
 @media screen and (min-width:1000px) {
  .tree-branches > .tree-branch:only-child > .tree-person { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:20px; align-items:start; }
  .tree-branches > .tree-branch:only-child > .tree-person .tree-right { border:0; padding:0; margin:0; text-align:right; }
  .tree-branches > .tree-branch:only-child > .tree-person :is(.tree-basis,.tree-regime) { grid-column:1/-1; margin-top:6px; }
 }
@media print {
 .tree-controls a { min-height:0; }
 .tree-index { display:none; }
 .section.rights-tree { padding:3mm; }
 .tree-author { padding:3mm; break-after:avoid; }
 .tree-author p { color:inherit; }
 .tree-estate:target { outline:none; }
 .rights-tree { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
 .tree-transfer { min-height:0; padding-block:1mm; font-size:7.5pt; break-before:avoid; break-inside:avoid; }
 .tree-person:has(+ .tree-transfer),.tree-provenance { break-after:avoid; }
 .tree-family { margin:0; padding:3mm 0 0; border:0; }
 .tree-family h5 { break-after:avoid; }
 .tree-family h5::before { content:none; }
 .tree-branches { grid-template-columns:repeat(auto-fit,minmax(min(100%,41.5mm),1fr)); gap:2.5mm 3mm; }
 [data-conference-tree-layout=vertical] .tree-branches { grid-template-columns:minmax(0,1fr); }
 .tree-person { break-inside:avoid; padding:2mm; }
 .tree-identity h6 { font-size:11pt; }
 .tree-identity p,.tree-regime,.tree-basis { font-size:8pt; }
 .tree-right { margin:2mm 0 1mm; padding-top:1mm; }
 .tree-right dt { font-size:7pt; }
 .tree-right dd { font-size:11pt; }
 .tree-children { margin-left:1.5mm; padding-left:2mm; }
 .tree-children > li { padding-top:1.5mm; }
 .tree-children > li::before { width:2mm; top:6mm; }
 :is([data-conference-tree-layout=vertical] .tree-person,.tree-branches > .tree-branch:only-child > .tree-person) {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:1mm 4mm;
 }
 :is([data-conference-tree-layout=vertical] .tree-person,.tree-branches > .tree-branch:only-child > .tree-person) .tree-right {
  grid-column:2; grid-row:1 / span 2; text-align:right; margin:0; padding:0; border:0;
 }
 :is([data-conference-tree-layout=vertical] .tree-person,.tree-branches > .tree-branch:only-child > .tree-person) :is(.tree-basis,.tree-regime) {
  grid-column:1; margin:0;
 }
}

.scroll-table { overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
td,th { padding: 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { background: var(--wash); font-size: .8rem; }
.money { white-space: nowrap; font-variant-numeric: tabular-nums; }
details { border-top: 1px solid var(--rule); margin-top: 10px; }
summary { padding-block: 10px; min-height: 44px; font-weight: 600; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; }
.proofs { display: grid; gap: 8px; }
.proof,.tax-record { padding: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 15px; }
.form-grid label { display: grid; gap: 4px; }
.full { grid-column: 1/-1; }
input,select,textarea { min-width: 0; max-width: 100%; }
.form-grid :is(input,select,textarea), dialog textarea { width: 100%; min-height: 44px; padding: 9px; background: white; border: 1px solid #6b7677; border-radius: 3px; }
textarea { resize: vertical; }
.tax-record { margin-block: 10px; }
.tax-record strong { font: 1.25rem var(--serif); }
footer { color: white; background: var(--ink); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 26px; padding-block: 28px; }
footer .br { color: #edc2aa; }
footer p { max-width: 77ch; font-size: .9rem; }
dialog { width: min(900px,94vw); max-height: 92vh; padding: clamp(16px,3vw,32px); background: var(--sheet); color: var(--ink); border: 1px solid var(--ink); }
dialog::backdrop { background: rgb(24 47 57 / .8); }
dialog p,dialog textarea { margin-block: 12px; }
@media(max-width:820px) {
 .intro { gap: 25px; }
 .review-layout { grid-template-columns: 174px minmax(0,1fr); }
 .status-grid { grid-template-columns: 1fr; }
}
@media(max-width:660px) {
 .mast-inner { min-height: 65px; flex-wrap: wrap; gap: 3px 8px; }
 .wordmark { font-size: 1.45rem; gap: 5px; }
 .brand-seal { width: 24px; height: 30px; }
 .mast nav { gap: 8px; }
 .mast nav a { font-size: .85rem; }
 .mast nav .home-link,.tool-link span { display: none; }
 .tool-link { padding-inline: 8px; }
 .intro,.loaded .intro,.features,.review-layout,.form-grid { grid-template-columns: minmax(0,1fr); }
 .intro { padding-block: 36px; }
 h1 { font-size: clamp(2.85rem,11vw,4rem); }
 .features { gap: 20px; padding-bottom: 36px; }
 .context-rail { position: static; }
 #contextTabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .step { grid-template-columns: 23px minmax(0,1fr); }
 .step .text-button { grid-column: 2; justify-self:start; }
 .footer-inner { flex-direction: column; gap: 8px; }
}
@media(forced-colors:active) {
 #contextTabs button[aria-selected=true] { outline: 2px solid Highlight; outline-offset: -3px; }
}
@page { margin:12mm; }
@page conferenceTreePortrait { size:A4 portrait; margin:12mm; }
@page conferenceTreeLandscape { size:A4 landscape; margin:12mm; }
@media print {
 .mast nav,.skip,.intro,.context-rail,.actions,.text-button,.file-label,#loadStatus,.form-grid,button,dialog { display:none!important; }
 body,footer,.tree-root { background:white; color:black; }
 .wrap { width:100%; }
 .mast-inner,.casebar,.footer-inner { min-height:0; padding:8px 0; }
 .review-layout { display:block; }
 .scroll-table { overflow:visible; }
 .section { padding:8px; }
 .step,.person,.status-card,tr { break-inside:avoid; }
 .status-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .money { white-space:normal; }
 body.conference-print-tree > :not(#conferenceTreePrint) { display:none!important; }
 #conferenceTreePrint[data-orientation=portrait] { page:conferenceTreePortrait; }
 #conferenceTreePrint[data-orientation=landscape] { page:conferenceTreeLandscape; }
 #conferenceTreePrint { display:block; }
 #conferenceTreePrint .tree-print-case { padding-bottom:3mm; border-bottom:1px solid var(--rule); }
 #conferenceTreePrint .tree-print-case h1 { margin:1mm 0 0; font-size:18pt; overflow-wrap:anywhere; }
 #conferenceTreePrint .rights-tree { margin:3mm 0 0; padding:0; border:0; background:white; }
}

.asset-review { padding:clamp(15px,2.5vw,32px); }
#asset-rights-title { scroll-margin-top:16px; }
.asset-estate { margin:24px 0 30px; }
.asset-estate-title { background:var(--ink); color:white; padding:14px clamp(14px,2vw,24px); border-left:4px solid #d3a584; }
.asset-estate-title p,.asset-kind,.allocation-head,.asset-base span,.estate-totals dt {
  font:700 .74rem/1.5 "Segoe UI",Arial,sans-serif; letter-spacing:.065em; text-transform:uppercase;
}
.asset-estate-title p { color:#efe1d3; }
.asset-estate-title h4 { margin:3px 0 0; font:400 clamp(1.45rem,2.3vw,2rem)/1.18 var(--serif); }
.estate-totals,.asset-notes { display:flex; flex-wrap:wrap; margin:0; gap:10px 26px; background:var(--wash); }
.estate-totals { padding:12px clamp(14px,2vw,24px); border-bottom:1px solid var(--rule); }
.estate-totals dd,.asset-notes dd { margin:0; font-variant-numeric:tabular-nums; }
.estate-totals dt,.asset-base span,.asset-notes dt,.fraction { color:var(--muted); }
.estate-totals dd { font-weight:600; }
.asset-sheet { border:1px solid var(--rule); margin-top:18px; background:var(--sheet); }
.asset-heading { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:9px 16px; padding:18px clamp(12px,2vw,22px) 14px; }
.asset-heading > div:first-child { flex:1 1 200px; min-width:0; }
.asset-heading h5 { margin:3px 0 0; font:400 clamp(1.25rem,2vw,1.6rem)/1.22 var(--serif); }
.asset-kind { color:var(--accent); }
.asset-base { text-align:end; }
.asset-base strong { display:block; font:400 1.3rem/1.35 var(--serif); }
.asset-ownership,.asset-empty { font-size:.9rem; padding:0 clamp(12px,2vw,22px) 12px; color:var(--muted); }
.asset-empty { margin-top:12px; }
.allocation-list { list-style:none; padding:0; margin:0; }
.allocation-head,.allocation-row { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(0,1fr); gap:8px 16px; align-items:baseline; padding-inline:clamp(12px,2vw,22px); }
.allocation-head { padding-block:7px; background:#edf0eb; color:var(--muted); }
.allocation-row { border-bottom:1px solid var(--rule); padding-block:12px; }
.allocation-person { font-weight:600; }
.allocation-share { display:grid; justify-items:start; gap:3px; }
.allocation-share strong,.allocation-money { font-variant-numeric:tabular-nums; }
.allocation-share meter { appearance:none; width:min(105px,100%); height:5px; background:#dddcd1; border:0; }
.allocation-share meter::-webkit-meter-bar { height:5px; border:0; background:#dddcd1; border-radius:0; }
.allocation-share meter::-webkit-meter-optimum-value { background:#486557; }
.allocation-share meter::-moz-meter-bar { background:#486557; }
.fraction { font-size:.86rem; }
.allocation-money,.allocation-head span:last-child { text-align:end; }
.allocation-money { font:600 clamp(.95rem,1.35vw,1.13rem)/1.5 "Segoe UI",Arial,sans-serif; }
.asset-notes { padding:9px clamp(12px,2vw,22px); font-size:.86rem; }
.asset-notes div { display:flex; flex-wrap:wrap; gap:0 5px; }
.asset-notes dd { font-weight:600; }
.mobile-money-label { display:none; }
@media(max-width:660px){
 .asset-review { padding:14px 12px; }
 .estate-totals { gap:8px 18px; }
 .asset-base { text-align:start; }
 .asset-heading { display:grid; }
 .allocation-head { display:none; }
 .allocation-row { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:6px 12px; border-top:1px solid var(--rule); border-bottom:0; }
 .allocation-person { grid-column:1/-1; }
 .mobile-money-label { display:block; font:400 .85rem/1.4 "Segoe UI",Arial,sans-serif; color:var(--muted); }
 .asset-notes { border-top:1px solid var(--rule); }
}
@media print {
 .asset-estate-title { color:black; background:white; border:1px solid #777; }
 .asset-estate-title p { color:inherit; }
 .asset-heading,.asset-estate-title,.allocation-head { break-after:avoid; }
 .allocation-row { break-inside:avoid; }
 .allocation-share meter { display:none; }
}

.asset-view-controls {
 display:inline-flex; gap:3px; max-width:100%; padding:3px; background:var(--wash);
 border:1px solid var(--rule); border-radius:4px;
}
.asset-view-controls button {
 min-height:44px; padding:7px 17px; border:1px solid transparent; border-radius:3px;
 background:transparent; font-weight:600;
}
.asset-view-controls button:hover { text-decoration:underline; }
.asset-view-controls button[aria-pressed=true] { background:var(--ink); color:white; }
.person-assets .asset-heading { align-items:center; }
.person-assets .asset-heading h5 { margin:0; }
.person-total {
 padding:7px 12px; border-left:2px solid #778c82; background:#edf0eb;
}
.person-total strong { font-weight:600; }
.allocation-person small {
 display:block; margin-top:4px; color:var(--muted); font-size:.85rem; font-weight:400;
}
.person-assets .allocation-row:last-child { border-bottom:0; }
@media(max-width:660px){
 .asset-view-controls { display:grid; grid-template-columns:1fr 1fr; width:100%; }
 .asset-view-controls button { padding-inline:7px; }
 .person-total { margin-top:3px; }
}
@media(forced-colors:active) {
 .asset-view-controls button[aria-pressed=true] { border-color:Highlight; }
}
@media print {
 .asset-view-controls { display:none; }
}

