/* Partner profile presentation only: no fields, values, consents or validation removed. */
body:not(.admin-mode) [data-view="profile"] .compact-page-heading{gap:8px;margin-bottom:7px!important;align-items:center}
body:not(.admin-mode) [data-view="profile"] .compact-page-heading h1{font-size:19px!important;line-height:1.15!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="profile"] .lead{font-size:9px!important;line-height:1.3!important;margin:0!important}
body:not(.admin-mode) [data-view="profile"] .eyebrow{font-size:8px!important;line-height:1.2!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="profile"] :is(.primary-button,.secondary-button,.table-action){box-sizing:border-box;min-height:25px!important;padding:4px 7px!important;font-size:9px!important;line-height:1.2!important;border-radius:6px!important}
body:not(.admin-mode) [data-view="profile"] :is(.profile-top-grid,.profile-history-grid,.profile-finance-grid){gap:7px!important;margin-bottom:7px!important;align-items:start}
body:not(.admin-mode) [data-view="profile"] .admin-panel{min-height:0!important;height:auto;padding:8px 10px!important;border-radius:10px!important}
body:not(.admin-mode) [data-view="profile"] :is(.partner-legal-party-card,.security-card){margin-bottom:7px!important}
body:not(.admin-mode) [data-view="profile"] .admin-panel h2{font-size:12px!important;line-height:1.2!important;margin:0 0 3px!important}
body:not(.admin-mode) [data-view="profile"] .status-pill,body:not(.admin-mode) [data-view="profile"] .locked-badge{min-height:0;padding:3px 5px!important;font-size:8px!important;line-height:1.2!important;white-space:normal}
body:not(.admin-mode) [data-view="profile"] .profile-name-row{gap:7px}
body:not(.admin-mode) [data-view="profile"] .profile-avatar-large{width:28px;height:28px;border-radius:8px;font-size:10px}
body:not(.admin-mode) [data-view="profile"] .profile-name-row>div>span{font-size:8px;line-height:1.2}
body:not(.admin-mode) [data-view="profile"] .profile-card-heading{gap:6px;align-items:center}
body:not(.admin-mode) [data-view="profile"] .profile-card-icon{width:23px;height:23px;border-radius:6px;font-size:9px}
body:not(.admin-mode) [data-view="profile"] .profile-completion-notice{margin:6px 0;padding:5px 7px;gap:2px;border-radius:6px}
body:not(.admin-mode) [data-view="profile"] .profile-completion-notice b{font-size:10px;line-height:1.2}
body:not(.admin-mode) [data-view="profile"] .profile-completion-notice span{font-size:8px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] :is(.form-grid,.purchase-edit-grid){gap:5px 7px;margin:6px 0}
body:not(.admin-mode) [data-view="profile"] :is(.form-grid,.purchase-edit-grid) label{min-width:0;font-size:9px;line-height:1.25}
body:not(.admin-mode) .workspace [data-view="profile"] :is(.form-grid,.purchase-edit-grid) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),select){box-sizing:border-box;width:100%;height:25px!important;min-height:25px!important;padding:3px 6px!important;margin-top:2px;font-family:inherit;font-size:10px!important;font-weight:500;line-height:1.2!important;border-radius:5px!important;min-width:0}
body:not(.admin-mode) [data-view="profile"] :is(.form-help,.form-grid label small,.profile-note,.purchase-edit-grid label small){font-size:8px!important;line-height:1.25!important;margin:3px 0 5px!important}
body:not(.admin-mode) [data-view="profile"] .profile-personal-card .currency-preview{padding:5px 7px;border-radius:6px;min-width:0}
body:not(.admin-mode) [data-view="profile"] .currency-preview small{font-size:8px;line-height:1.2}
body:not(.admin-mode) [data-view="profile"] .currency-preview b{font-size:9px;line-height:1.2;margin-top:2px;overflow-wrap:anywhere}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase{min-height:0;padding:8px 9px;gap:9px;border-radius:8px}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase .contract-status-icon{width:28px;height:28px;flex-basis:28px;font-size:16px;box-shadow:0 0 0 3px rgba(96,112,135,.08)}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase.signed .contract-status-icon{box-shadow:0 0 0 3px rgba(36,164,109,.11)}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase.pending .contract-status-icon{box-shadow:0 0 0 3px rgba(224,168,36,.1)}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase.revision .contract-status-icon{box-shadow:0 0 0 3px rgba(201,86,72,.1)}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase p:not(.eyebrow){font-size:9px;line-height:1.3;margin:0}
body:not(.admin-mode) [data-view="profile"] .contract-status-showcase small{font-size:8px;line-height:1.25;margin-top:4px}
body:not(.admin-mode) [data-view="profile"] .contract-card-actions{gap:5px;margin-top:6px}
body:not(.admin-mode) [data-view="profile"] .contract-card-actions>*{width:auto;max-width:100%}
body:not(.admin-mode) [data-view="profile"] .partner-signature-confirmed{gap:2px;margin:5px 0;padding:6px 8px;border-radius:6px;font-size:10px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .partner-signature-confirmed :is(span,small){font-size:8px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .party-match-toggle{gap:7px;margin:6px 0;padding:6px 8px;border-radius:7px}
body:not(.admin-mode) [data-view="profile"] .party-match-toggle input{width:14px;height:14px;min-height:14px;margin-top:1px;flex-shrink:0}
body:not(.admin-mode) [data-view="profile"] .party-match-toggle span{gap:2px}
body:not(.admin-mode) [data-view="profile"] .party-match-toggle b{font-size:10px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .party-match-toggle small{font-size:8px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .partner-own-party-note{gap:2px;padding:6px 8px;margin-bottom:6px;border-radius:6px;font-size:10px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .partner-own-party-note span{font-size:8px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .partner-legal-summary{gap:5px;margin:6px 0}
body:not(.admin-mode) [data-view="profile"] .partner-legal-summary>div{padding:6px 7px;gap:2px;border-radius:6px;min-width:0}
body:not(.admin-mode) [data-view="profile"] .partner-legal-summary small{font-size:8px;line-height:1.2}
body:not(.admin-mode) [data-view="profile"] .partner-legal-summary b{font-size:10px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .profile-info-list{margin:4px 0}
body:not(.admin-mode) [data-view="profile"] .profile-info-list>div{min-height:19px;gap:7px;padding:2px 0}
body:not(.admin-mode) [data-view="profile"] .profile-info-list :is(dt,dd){font-size:9px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .purchase-save-button{margin-top:5px}
body:not(.admin-mode) [data-view="profile"] .profile-promo-summary{padding:5px 7px;gap:6px;margin:5px 0;font-size:9px;line-height:1.25}
body:not(.admin-mode) [data-view="profile"] .profile-promo-list button{font-size:8px;line-height:1.2;padding:3px 5px}
body:not(.admin-mode) [data-view="profile"] .security-card{gap:7px}
body:not(.admin-mode) [data-view="profile"] .security-card>div{gap:7px}
body:not(.admin-mode) [data-view="profile"] .security-card p{font-size:8px;line-height:1.25;margin:2px 0}
@media(min-width:1101px){
 body:not(.admin-mode) [data-view="profile"] .profile-top-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
 body:not(.admin-mode) [data-view="profile"] .profile-personal-card>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body:not(.admin-mode) [data-view="profile"] .profile-personal-card .profile-source-field{grid-column:span 2}
 body:not(.admin-mode) [data-view="profile"] .profile-personal-card .currency-preview{grid-column:auto}
 body:not(.admin-mode) [data-view="profile"] .profile-finance-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:not(.admin-mode) [data-view="profile"] .profile-finance-grid .form-grid label:last-child{grid-column:1/-1}
}
@media(min-width:1400px){
 body:not(.admin-mode) [data-view="profile"] .profile-finance-grid .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body:not(.admin-mode) [data-view="profile"] .profile-finance-grid .form-grid label:last-child{grid-column:auto}
}
@media(max-width:760px){body:not(.admin-mode) [data-view="profile"] .contract-card-actions{flex-wrap:wrap}}
@media(pointer:coarse){
 body:not(.admin-mode) [data-view="profile"] :is(.primary-button,.secondary-button,.table-action){min-height:40px!important}
 body:not(.admin-mode) .workspace [data-view="profile"] :is(.form-grid,.purchase-edit-grid) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),select){min-height:40px!important;height:40px!important;font-size:16px!important}
 body:not(.admin-mode) [data-view="profile"] .party-match-toggle{min-height:40px;align-items:center}
 body:not(.admin-mode) [data-view="profile"] .party-match-toggle input{width:20px;height:20px}
}
