/* Owner shell only. The shared summary tree and admin/contractor styles are untouched. */
body[data-role=owner] #app{max-width:1440px;width:calc(100% - 48px);margin:32px auto 48px}
body[data-role=owner] .owner-shell{display:grid;grid-template-columns:minmax(215px,max-content) minmax(0,1fr);gap:36px;align-items:start;font-size:15px}
body[data-role=owner] .owner-sidebar{position:sticky;top:24px;background:white;border:1px solid #d5dce9;border-radius:12px;padding:14px}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) nav{display:grid;gap:3px;overflow-x:auto}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) nav a{display:flex;flex-wrap:nowrap;gap:12px;align-items:center;min-height:46px;padding:10px 12px;border-radius:8px;text-decoration:none;color:#2d427f;font-size:14px;font-weight:600;line-height:1.45}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) nav svg{flex-shrink:0}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) nav a[aria-current]{background:#e5ebf6;color:#2d427f}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) .owner-menu-label{display:inline-flex;flex:none;flex-wrap:nowrap;align-items:center;gap:7px;white-space:nowrap}
body[data-role=owner] :is(.owner-sidebar,.owner-mobile-menu) .owner-menu-pending-dot{display:block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--accent-brown)}
body[data-role=owner] .owner-mobile-menu{display:none}
body[data-role=owner] .owner-content{min-width:0}
body[data-role=owner] .owner-welcome{color:#58616c;font-size:15px;margin:0 0 14px}
body[data-role=owner] .owner-residence{border-top:2px solid #7c5d3c;border-bottom:1px solid #d5dbe2;padding:26px 0 28px;margin-bottom:28px;display:flex;gap:24px;justify-content:space-between;align-items:center}
body[data-role=owner] .owner-residence>div{min-width:0}
body[data-role=owner] .owner-residence-label{display:block;text-transform:uppercase;letter-spacing:1.8px;color:#7c5d3c;font-size:11px;margin-bottom:12px}
body[data-role=owner] .owner-residence h1{font-family:Montserrat,sans-serif;font-size:34px;color:#2d427f;line-height:1.25;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
body[data-role=owner] .owner-residence p{color:#58616c;font-size:14px;margin:12px 0 0}
body[data-role=owner] .owner-work-choice{display:grid;gap:6px;font-size:11px;color:#58616c;width:220px;flex-shrink:0}
body[data-role=owner] :is(.owner-work-choice,.owner-state-choice) select{font-size:14px;min-height:44px;margin:0;padding:10px 12px;width:100%;text-overflow:ellipsis;background:white}
body[data-role=owner] .owner-page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 26px}
body[data-role=owner] .owner-page-heading h1{color:#2d427f;font-size:30px;line-height:1.3;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
body[data-role=owner] .owner-page-heading p{color:#58616c;font-size:14px;margin:8px 0 0}
body[data-role=owner] .owner-refresh{align-self:start}
body[data-role=owner] .owner-return{font-size:13px;margin:0 0 18px}
body[data-role=owner] .owner-return a{display:inline-flex;align-items:center;min-height:44px}
body[data-role=owner] .owner-feedback:empty{display:none}
body[data-role=owner] .owner-feedback{font-size:14px;background:#e9eef7;border-left:3px solid #2d427f;padding:12px 16px;margin:0 0 20px}
body[data-role=owner] .owner-section{background:#fff;border:1px solid #d5dce9;border-radius:12px;padding:24px;margin:0 0 26px;min-width:0}
body[data-role=owner] :is(.owner-section>h2,.owner-section-heading h2,.owner-other-works h2){font-size:21px;color:#2d427f;line-height:1.4;margin:0 0 16px}
body[data-role=owner] .owner-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
body[data-role=owner] .owner-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
body[data-role=owner] .owner-card{display:flex;flex-direction:column;align-items:start;background:#fff;border:1px solid #d5dce9;border-radius:12px;padding:22px;min-width:0;overflow-wrap:anywhere}
body[data-role=owner] .owner-card :is(h2,h3){color:#2d427f;font-size:17px;line-height:1.5;margin:10px 0 12px;letter-spacing:0}
body[data-role=owner] .owner-eyebrow{font-size:12px;color:#58616c;margin:0;line-height:1.6}
body[data-role=owner] .owner-preview{font-size:14px;line-height:1.65;margin:12px 0 18px}
body[data-role=owner] .owner-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px}
body[data-role=owner] .owner-badges>span{padding:4px 8px;background:#e5ebf6;border-radius:5px;color:#2d427f}
body[data-role=owner] .owner-priority{color:#171717;font-size:12px;letter-spacing:.4px}
body[data-role=owner] .owner-open{display:inline-flex;gap:12px;min-height:44px;align-items:center;font-size:14px;font-weight:600;margin-top:auto}
body[data-role=owner] .owner-personal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;border-top:1px solid #e1e5ec;width:100%;margin-top:12px;padding-top:8px;font-size:12px}
body[data-role=owner] .owner-content button.link{padding:6px 0;border:0;background:transparent;color:#2d427f;box-shadow:none;min-height:44px;text-align:left;font-size:13px;text-decoration:underline;text-underline-offset:4px;font-weight:400}
body[data-role=owner] .owner-content button.secondary:not(.work-fold){padding:9px 14px;min-height:44px;font-size:13px;font-weight:400}
body[data-role=owner] .owner-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #d5dbe2;border-bottom:1px solid #d5dbe2;padding:12px 0;margin:24px 0 10px}
body[data-role=owner] .owner-list-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
body[data-role=owner] .owner-list-filters [aria-pressed=true]{background:#2d427f;color:white;border-color:#2d427f}
body[data-role=owner] .owner-list-filters button.link[aria-pressed=true]{background:transparent;color:#2d427f;font-weight:700;text-decoration-thickness:2px}
body[data-role=owner] .owner-state-choice{display:grid;gap:4px;font-size:11px;color:#58616c;min-width:160px}
body[data-role=owner] .owner-list-meta{display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:13px;color:#58616c}
body[data-role=owner] .owner-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:24px 0;font-size:13px}
body[data-role=owner] .owner-pagination[hidden],body[data-role=owner] [hidden]{display:none!important}
body[data-role=owner] .owner-empty{grid-column:1/-1;padding:24px;background:#fff;border:1px solid #d5dce9;border-radius:10px;color:#58616c;line-height:1.7;font-size:14px}
body[data-role=owner] .owner-empty p{margin:0 0 8px}
body[data-role=owner] .owner-section-links{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:13px}
body[data-role=owner] .owner-section-links a{display:flex;align-items:center;min-height:44px}
body[data-role=owner] .owner-profile-reminder{display:flex;gap:20px;justify-content:space-between;align-items:center;background:#f4eee6;border-left:2px solid #7c5d3c;padding:14px 18px;margin-top:24px;font-size:14px}
body[data-role=owner] .owner-profile-reminder p{margin:4px 0;font-size:13px}
body[data-role=owner] .owner-profile-reminder a{font-size:13px;min-height:44px;display:flex;align-items:center}
body[data-role=owner] .owner-other-works{margin:26px 0}
body[data-role=owner] .owner-other-works button{display:block}
body[data-role=owner] .owner-reading{background:#fff;border:1px solid #d5dce9;border-radius:12px;padding:24px;overflow-wrap:anywhere}
body[data-role=owner] .owner-reading .module-text{white-space:pre-wrap;overflow-wrap:anywhere}
body[data-role=owner] .owner-reading>h2{font-size:24px;color:#2d427f;line-height:1.4;margin-top:0}
body[data-role=owner] .material-items li{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 0}
body[data-role=owner] .material-items li>span{display:block;color:#687386;text-align:left;font-size:13px}
body[data-role=owner] .material-items li>strong{font-weight:600;overflow-wrap:anywhere}
body[data-role=owner] :is(#my-person-form,.owner-work-form){background:white;border:1px solid #d5dce9;border-radius:12px;padding:24px;margin:24px 0}
body[data-role=owner] :is(#my-person-form,.owner-work-form) :is(input,select,textarea){font-size:15px;min-height:44px}
body[data-role=owner] :is(#my-person-form,.owner-work-form) input[type=checkbox]{min-height:initial}
body[data-role=owner] .owner-work-form h3{font-size:20px;color:#2d427f;margin-top:0}
body[data-role=owner] .owner-conflict{border:1px solid #d5dce9;border-radius:12px;padding:16px;margin:16px 0;overflow-wrap:anywhere}
body[data-role=owner] .owner-conflict>div{border-bottom:1px solid #d5dce9;padding:12px 0}
body[data-role=owner] .owner-conflict p{margin:6px 0}
body[data-role=owner] .owner-pending-list{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;padding:0;list-style:none}
body[data-role=owner] .owner-pending-list button{min-height:44px;color:#2d427f;background:transparent;padding:6px 0;border:0;text-align:left;font-size:13px;text-decoration:underline}
body[data-role=owner] .owner-pending-field{display:block;color:#7c5d3c;font-size:12px;margin:4px 0}
body[data-role=owner] .gpg-contact-footer{flex-direction:column;gap:8px;overflow-wrap:anywhere;text-align:center;font-size:12px;padding:24px}
body[data-role=owner] .gpg-contact-footer a{color:inherit;text-underline-offset:3px}
body[data-role=owner] .owner-content :is(a,button,select,input,textarea):focus-visible{outline:2px solid #2d427f;outline-offset:3px}
@media(max-width:1000px){body[data-role=owner] .owner-shell{grid-template-columns:190px minmax(0,1fr);gap:24px}body[data-role=owner] .owner-residence{align-items:start}body[data-role=owner] .owner-work-choice{width:180px}body[data-role=owner] .owner-residence h1{font-size:30px}}
@media(max-width:800px){body[data-role=owner] #app{width:calc(100% - 36px);margin:18px auto 32px}body[data-role=owner] .owner-shell{display:block}body[data-role=owner] .owner-sidebar{display:none}body[data-role=owner] .owner-mobile-menu{display:block;background:white;border:1px solid #d5dce9;border-radius:10px;padding:8px 14px;margin-bottom:24px}body[data-role=owner] .owner-mobile-menu>summary{min-height:44px;align-content:center;color:#2d427f;font-size:14px}body[data-role=owner] .owner-mobile-menu>summary span{margin-left:12px;color:#58616c;font-size:12px}body[data-role=owner] .owner-mobile-menu nav{padding-top:10px}body[data-role=owner] .owner-residence{display:block;padding:22px 0;margin-bottom:22px}body[data-role=owner] .owner-residence h1{font-size:28px}body[data-role=owner] .owner-work-choice{width:100%;margin-top:18px}body[data-role=owner] .owner-page-heading{flex-wrap:wrap;gap:10px}body[data-role=owner] .owner-page-heading h1{font-size:26px}body[data-role=owner] .owner-page-heading .owner-work-choice{order:3}body[data-role=owner] .owner-refresh{margin-left:auto}body[data-role=owner] .owner-card-grid{grid-template-columns:1fr}body[data-role=owner] :is(.owner-section,.owner-reading,.owner-card,#my-person-form,.owner-work-form){padding:18px}body[data-role=owner] .owner-toolbar{margin-top:18px}body[data-role=owner] .owner-profile-reminder{display:block}body[data-role=owner] .owner-state-choice{width:100%}body[data-role=owner] .owner-section-heading h2{font-size:19px}body[data-role=owner] .owner-pagination{gap:10px}}

body[data-role=owner] .owner-progress{font-size:1rem}

/* Retain pre-existing shared CRM form and footer presentation for other roles. */
body:not([data-role=owner]) .gpg-contact-footer{flex-direction:column;gap:.5rem;overflow-wrap:anywhere}body:not([data-role=owner]) .gpg-contact-footer a{color:inherit;text-underline-offset:.2em}
body:not([data-role=owner]) .owner-work-form{margin-top:24px;border:1px solid #d5dce9;padding:20px;border-radius:14px}
body:not([data-role=owner]) .owner-conflict{border:1px solid #d5dce9;border-radius:12px;padding:16px;margin:16px 0;overflow-wrap:anywhere}body:not([data-role=owner]) .owner-conflict>div{border-bottom:1px solid #d5dce9;padding:12px 0}body:not([data-role=owner]) .owner-conflict p{margin:6px 0}
@media(max-width:800px){body:not([data-role=owner]) .owner-work-form{padding:16px}}

/* Owner ficha: reuse existing forms in a contained editor. */
.owner-ficha-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.owner-ficha-card{min-width:0;border:1px solid #d5dce9;border-radius:12px;background:white;padding:24px}.owner-ficha-card header,.owner-ficha-card footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.owner-ficha-card h2{font-size:20px;color:#2d427f;margin:0}.owner-ficha-card header span,.owner-ficha-card dt{color:#58616c;font-size:14px}.owner-ficha-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.owner-ficha-card dd{margin:4px 0;overflow-wrap:anywhere}.owner-ficha-card footer p{font-size:14px;color:#805e38;flex:1}.owner-ficha-editing{overflow:hidden}.owner-ficha-dialog{width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #d5dce9;border-radius:14px;overflow:hidden}.owner-ficha-dialog[open]{display:flex;flex-direction:column}.owner-ficha-dialog::backdrop{background:#182b4b80}.owner-ficha-dialog>header,.owner-ficha-dialog>footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px;border-bottom:1px solid #d5dce9}.owner-ficha-dialog>footer{border-bottom:0;border-top:1px solid #d5dce9}.owner-ficha-dialog h2{font-size:23px;margin:0;overflow-wrap:anywhere}.owner-ficha-editor-body{overflow:auto;min-height:0;padding:0 20px;overscroll-behavior:contain}.owner-ficha-dialog *{box-sizing:border-box;min-width:0}.owner-ficha-dialog form>[type=submit],.owner-ficha-dialog form>[data-form-return]{display:none}.owner-ficha-dialog .check{display:flex;align-items:flex-start;gap:10px;white-space:normal;overflow-wrap:anywhere}.owner-ficha-dialog .check input[type=checkbox]{flex:0 0 19px;width:19px;min-width:19px;max-width:19px;height:19px;min-height:19px;padding:0;margin-top:4px}.owner-ficha-dialog .check span{flex:1}.owner-ficha-dialog input:not([type=checkbox]),.owner-ficha-dialog select,.owner-ficha-dialog textarea{max-width:100%}.owner-ficha-dialog button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.owner-ficha-dialog [data-editor-status]{flex:1;font-size:14px}.owner-ficha-status>button{margin-top:12px}
@media(max-width:799px){.owner-ficha-cards{grid-template-columns:1fr}.owner-ficha-card{padding:18px}.owner-ficha-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.owner-ficha-dialog .grid{grid-template-columns:1fr}.owner-ficha-dialog>header,.owner-ficha-dialog>footer{padding:16px}.owner-ficha-editor-body{padding:0 12px}}

/* Approved grouped profile cards: preserve the 3074 presentation. */
.owner-ficha-card{padding:0;overflow:hidden}
.owner-ficha-card header{padding:22px 24px;flex-wrap:nowrap}
.owner-ficha-card h2{color:#202428}
.owner-ficha-card header p{margin:8px 0 0;font-size:14px;color:#66758b}
.owner-ficha-card .owner-ficha-badge{flex-shrink:0;border-radius:5px;padding:5px 9px;font-size:12px;background:#f5efe7;color:#805e38}
.owner-ficha-card .owner-ficha-badge.complete{background:#edf5f0;color:#317452}
.owner-ficha-card dl{padding:0 24px 24px;margin:0;gap:20px}
.owner-ficha-card dt{color:#66758b}.owner-ficha-card .owner-ficha-empty{color:#805e38}
.owner-ficha-card footer{padding:14px 24px;border-top:1px solid #d5dce9}
.owner-ficha-card footer p{color:inherit;margin:0;overflow-wrap:anywhere}
.owner-ficha-work-heading,.owner-ficha-work-card{grid-column:1/-1}
.owner-ficha-work-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin-top:8px}
.owner-ficha-work-heading h2{margin:0}.owner-ficha-work-heading span{color:#66758b;font-size:14px}
@media(max-width:1100px){.owner-ficha-cards{grid-template-columns:1fr}}
@media(max-width:799px){.owner-ficha-card header{padding:20px}.owner-ficha-card dl{padding:0 20px 20px}.owner-ficha-card footer{padding:14px 20px}}
