/* The existing palette and typography are shared by all owner correction screens. */
body .app-shell .owner-review-screen{display:grid;gap:20px}
body .app-shell .owner-review-screen>.topbar{margin-bottom:0}
body .app-shell .owner-review-screen>.review-layout{margin-top:0}
body .app-shell .owner-review-screen>.review-panel{margin:0}
body .app-shell .owner-review-screen :is(.review-panel,.side-context)>:first-child{margin-top:0}
body .app-shell .owner-review-screen :is(.review-panel,.side-context)>:last-child{margin-bottom:0}
body .app-shell .owner-review-screen .review-group{padding-block:18px}
body .app-shell .owner-review-screen .review-group:last-child{padding-bottom:0}
body .app-shell .owner-review-screen .approval-group>h3{font:400 24px/1.3 var(--serif);margin:0 0 16px}
body .app-shell .owner-review-screen .approval-item h4{font-size:15px;font-weight:500;margin:0 0 16px;color:var(--muted)}
body .app-shell .owner-review-screen .approval-item{padding-block:18px}
body .app-shell .owner-review-screen .approval-grid{gap:16px 24px}
body .app-shell .owner-review-screen .approval-decision h5{margin-bottom:8px}
body .app-shell .owner-review-screen .approval-status{margin-bottom:6px}
body .app-shell .owner-review-screen .side-context{position:static}
.receipt-change{display:grid;grid-template-columns:minmax(100px,.4fr) minmax(0,1fr);gap:8px 20px;margin:12px 0;align-items:baseline}
.receipt-change-label{color:var(--muted);font-size:13px}
.receipt-change-value{font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere}
[data-inline-edit]{min-width:0}
.owner-inline-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.owner-inline-value{display:block;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;cursor:text}
.owner-inline-edit{border:0;background:transparent;padding:3px 0 3px 8px;color:var(--accent);font:inherit;font-size:12px;line-height:1.6;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.owner-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
body .app-shell .owner-inline-actions .button{min-height:40px;padding:6px 12px}
.owner-inline-value:focus-visible,.owner-inline-edit:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body .app-shell [data-inline-edit] [hidden]{display:none!important}
body .app-shell .person-drawer .dossier-heading{padding:20px var(--ui-panel-padding) 0}
body .app-shell .person-drawer .dossier-heading .mini-profile{gap:16px;padding-bottom:16px}
body .app-shell .person-drawer .dossier-heading .dossier-tabs{gap:18px}
body .app-shell .person-drawer .dossier-scroll{display:flex;flex-direction:column;align-items:stretch}
body .app-shell .person-drawer .contact-detail{padding:18px var(--ui-panel-padding) 22px;flex:none}
body .app-shell .person-drawer .contact-detail>p:first-child{margin:0 0 16px;line-height:1.6}
body .app-shell .person-drawer .contact-detail>.detail-group{padding-block:16px;margin:0}
body .app-shell .person-drawer .contact-detail>.detail-group:first-of-type{padding-top:0}
body .app-shell .person-drawer .contact-detail .detail-group>h2{margin:0 0 10px}
body .app-shell .person-drawer .contact-detail .detail-group>p{margin:0 0 10px;line-height:1.6}
body .app-shell .person-drawer .contact-detail .detail-group>:last-child{margin-bottom:0}
body .app-shell .person-drawer .inline-profile-view p{margin:0;line-height:1.6}
body .app-shell .person-drawer .contact-tags{margin:0 0 16px;gap:8px}
body .app-shell .person-drawer .evidence-panel{margin:0 var(--ui-panel-padding) 22px;padding:16px 0;border:0;box-shadow:none;background:transparent}
body .app-shell .person-drawer .evidence-panel>.section-heading{padding-bottom:10px;margin-bottom:0}
body .app-shell .person-drawer .contact-detail .evidence-item{padding-block:14px}
body .app-shell .person-drawer .contact-channel-list{gap:14px 20px}
body .app-shell .person-drawer .summary-card{padding-block:14px}
body .app-shell .screen[aria-labelledby="commitments-title"]{display:grid;gap:20px}
body .app-shell .screen[aria-labelledby="commitments-title"]>.topbar{margin:0;gap:16px}
body .app-shell .screen[aria-labelledby="commitments-title"]>p{margin:0}
body .app-shell .commitment-filters{margin:0;padding:20px;gap:14px 16px}
body .app-shell .commitment-filters label{gap:6px;line-height:1.4}
body .app-shell .commitment-proposals{padding:20px}
body .app-shell .commitment-proposals>h2{margin:0 0 12px}
body .app-shell .commitment-proposal{padding-block:16px;border-top:1px solid var(--line)}
body .app-shell .commitment-proposal:last-child{padding-bottom:0}
body .app-shell .commitment-proposal h3{margin:0 0 8px;line-height:1.4}
body .app-shell :is(.commitment-proposal,.commitment-card) p{margin:8px 0;line-height:1.6}
body .app-shell .commitment-card{padding:20px}
body .app-shell .commitment-card h2{margin:12px 0 8px;line-height:1.35}
body .app-shell .commitment-evidence{margin-top:16px;padding-top:14px}
body .app-shell .commitment-evidence h3{margin:0 0 8px}
body .app-shell .commitment-proposal-actions{margin-top:12px;gap:10px}
body .app-shell .screen[aria-labelledby="commitments-title"] .empty-state{margin:0;padding-block:12px;line-height:1.6}
body .app-shell .identity-grid{gap:20px;margin-top:20px}
body .app-shell .identity-form{gap:18px}
body .app-shell .identity-form label{gap:7px;line-height:1.5}
body .app-shell .identity-form :is(input,select,textarea){box-sizing:border-box;min-height:44px;padding:10px 12px;line-height:1.5}
body .app-shell :is(.identity-form,.commitment-filters) select{appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236f746e' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:12px 8px}
body .app-shell .identity-fieldset{min-width:0;margin:0;padding:16px}
body .app-shell .identity-decision{gap:10px 16px;padding-block:16px}
body .app-shell .identity-pair{line-height:1.6;margin-top:4px}
body .app-shell .identity-help{line-height:1.6}
body .app-shell .person-drawer :is(h1,h2,p,.row-meta,.summary-text){text-align:start;word-spacing:normal;letter-spacing:normal;word-break:normal;overflow-wrap:break-word;hyphens:manual}
body .app-shell .person-drawer .mini-profile>div:last-child{min-width:0;flex:1}
body .app-shell .person-drawer .inline-profile-view{display:block}
body .app-shell .person-drawer .summary-text{white-space:pre-line}
body .app-shell .tag-settings-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:12px}
body .app-shell .tag-settings-row>span{min-width:0;overflow-wrap:break-word;line-height:1.5}
body .app-shell .tag-settings-delete{display:block;flex:0 0 auto;margin:0;padding:0}
body .app-shell .tag-settings-delete .button{white-space:nowrap}
@media(max-width:850px){
 body .app-shell .sidebar{padding:12px 14px 0;gap:10px}
 body .app-shell .brand{gap:8px}
 body .app-shell .brand-name{font-size:19px;line-height:1.1}
 body .app-shell .brand-name br{display:none}
 body .app-shell .brand-mark{width:26px;height:26px;font-size:24px}
 body .app-shell .main-nav{display:flex;gap:2px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:0 1px 2px;scroll-padding:4px}
 body .app-shell .nav-item{flex:0 0 auto;width:auto;min-height:44px;padding:10px 12px}
 body .app-shell .nav-label{flex-direction:row;gap:7px;white-space:nowrap;overflow-wrap:normal;hyphens:manual;font-size:13px;line-height:1.4;text-wrap:nowrap}
 body .app-shell .nav-item:focus-visible{outline-offset:-3px}
}
@media(max-width:760px){
 body .app-shell .owner-review-screen{gap:16px}
 body .app-shell .owner-review-screen .review-layout{gap:16px}
 body .app-shell .person-drawer .dossier-heading{padding-inline:20px}
 body .app-shell .person-drawer .contact-detail{padding-inline:20px}
 body .app-shell .person-drawer .evidence-panel{margin-inline:20px}
 body .app-shell .screen[aria-labelledby="commitments-title"]{gap:16px}
 body .app-shell :is(.commitment-filters,.commitment-proposals,.commitment-card){padding:18px}
 .owner-inline-edit{min-height:44px;padding-top:0}
 .receipt-change{grid-template-columns:minmax(0,1fr);gap:4px}
}
@media(max-width:650px){
 body .app-shell .person-drawer{width:100%;max-width:100%;min-width:0;border-radius:0}
 body .app-shell .person-drawer .drawer-toolbar{padding:8px 16px;min-height:60px}
 body .app-shell .person-drawer .dossier-heading{padding:16px 16px 0;max-height:55dvh;overflow-y:auto}
 body .app-shell .person-drawer .dossier-heading .mini-profile{gap:12px;padding-bottom:14px;align-items:flex-start}
 body .app-shell .person-drawer .avatar-large{width:44px;height:44px;font-size:20px}
 body .app-shell .person-drawer #dossier-name{font-size:28px;line-height:1.15;margin-bottom:8px}
 body .app-shell .person-drawer .eyebrow{font-size:10px;margin-bottom:6px}
 body .app-shell .person-drawer .dossier-tabs{flex-wrap:nowrap;overflow-x:auto;gap:18px;white-space:nowrap}
 body .app-shell .person-drawer .dossier-tab{flex:0 0 auto;font-size:14px;min-height:44px}
 body .app-shell .person-drawer .contact-detail{padding:16px}
 body .app-shell .person-drawer .contact-detail>p:first-child{font-size:14px;margin-bottom:12px}
 body .app-shell .person-drawer .contact-tags{margin-bottom:12px}
 body .app-shell .person-drawer .inline-profile-text{font-size:15px;line-height:1.6}
 body .app-shell .person-drawer .evidence-panel{margin:0 16px 16px;padding:14px 0}
 body .app-shell .tag-settings-row{gap:8px}
 body .app-shell .tag-settings-delete .button{padding-inline:10px}
}
