#profile-view .profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}#profile-view .profile-side{align-self:start}#profile-view .portrait{width:76px;height:76px;border-radius:22px;background:#dff2eb;color:#08796d;display:grid;place-items:center;font-size:27px;font-weight:600;margin:0 auto 14px}#profile-view .identity{text-align:center;padding:24px 18px 18px}#profile-view .identity h2{font-size:18px!important}#profile-view .identity p{font-size:12px;color:#647784;margin-top:6px!important}#profile-view .id-meta{padding:15px 18px;border-top:1px solid #e1e8ec}#profile-view .meta-row{display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px}#profile-view .meta-row span{color:#647784}#profile-view .profile-switch{width:100%;padding:9px;border:1px solid #d8e2e6;border-radius:7px;background:white;color:#203b45}#profile-view .section-nav{padding:8px;display:grid;gap:4px}#profile-view .section-nav button{border:0;background:white;display:flex;gap:10px;align-items:center;text-align:left;padding:11px 12px;border-radius:7px;color:#526b77}#profile-view .section-nav button.active{background:#e7f4ef;color:#08796d;font-weight:600}#profile-view .profile-note{padding:15px 17px;color:#647784;font-size:11px;line-height:1.7}#profile-view .content-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}#profile-view .content-head h2{font-size:20px!important}#profile-view .cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}#profile-view .summary-card{border:1px solid #e1e8ec;border-radius:10px;background:white;overflow:hidden}#profile-view .summary-card header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #edf1f3}#profile-view .summary-card h3{display:flex;gap:8px;align-items:center;font-size:13px!important}#profile-view .summary-card h3 svg{color:#08796d}#profile-view .text-link{border:0;background:none;color:#08796d;font-size:11px;cursor:pointer}#profile-view .details{padding:16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}#profile-view .datum small{display:block;color:#647784;font-size:11px;margin-bottom:5px}#profile-view .datum b{font-weight:550;font-size:12px;overflow-wrap:anywhere}#profile-view .wide{grid-column:1/-1}#profile-view .subnote{font-size:11px;color:#647784;line-height:1.65}#profile-view .thin-note{display:flex;align-items:center;gap:9px;background:#eaf5f1;color:#2b7567;border-radius:8px;padding:12px 15px;margin-bottom:16px;font-size:12px}#profile-view .address-line{margin:0!important;line-height:1.6}#profile-view .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#profile-view .form-grid input,#profile-view .form-grid select{width:100%;padding:10px 11px;border:1px solid #d8e2e6;background:white;color:#203b45;border-radius:7px;min-height:41px}#profile-view .form-grid label{font-size:12px;display:block;color:#3b5561;margin-bottom:6px}#profile-view .form-section{padding:20px}#profile-view .form-section+.form-section{border-top:1px solid #e1e8ec}#profile-view .form-section h3{margin-bottom:17px!important;display:flex;align-items:center;gap:8px}#profile-view .form-section h3 svg{color:#08796d}#profile-view .form-help{font-size:11px;color:#647784;margin-top:6px!important}#profile-view .form-grid input[readonly]{background:#f5f7f9;color:#6b7f88}#profile-view .sticky-save{position:sticky;bottom:0;z-index:12;margin-top:18px;box-shadow:0 -4px 20px #103b3910;border-radius:9px;border:1px solid #dce6e8}#profile-view .timeline{padding:0 20px}#profile-view .event{padding:18px 0;border-bottom:1px solid #edf1f3;display:grid;grid-template-columns:130px 1fr;gap:15px}#profile-view .event:last-child{border:0}#profile-view .event time{font-size:11px;color:#647784}#profile-view .event strong{font-size:12px;font-weight:600}#profile-view .event p{font-size:12px;color:#647784;margin-top:5px!important}#profile-view .state-line{font-size:11px;margin-top:11px}#profile-view .mini-badge{padding:3px 7px;background:#f3f6f8;color:#647784;border-radius:4px;font-size:10px}#profile-view .pill-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}#profile-view .person-block{display:flex;gap:12px;align-items:center;padding:17px;background:#f5f9f8;border-radius:8px}#profile-view .person-block .ec-avatar{height:42px;width:42px}#profile-view .table-scroll{overflow:auto}#profile-view .meta-banner{margin-top:15px;padding:12px 15px;background:#fff8e9;border-radius:8px;color:#866427;font-size:11px}#profile-view .action-top{display:flex;gap:8px}#profile-view .compact-section{padding:18px}#profile-view .catalog-unit{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid #edf1f3}#profile-view .footer small{max-width:60%}#profile-view .address-preview-row{padding:12px 15px;background:#edf7f3;border-radius:8px;margin-top:15px;font-size:12px;line-height:1.7}#profile-view .ec-page-head h1{font-size:25px!important}#profile-view .profile-side .panel{margin-bottom:13px}#profile-view .section-nav svg{height:17px!important}#profile-view .phone-preview{font-variant-numeric:tabular-nums}@media(max-width:1100px){#ecitizen-preview .ec-shell{grid-template-columns:165px 1fr}#profile-view .profile-layout{grid-template-columns:230px minmax(0,1fr)}#profile-view .cards{grid-template-columns:1fr}}@media(max-width:800px){#ecitizen-preview .ec-shell{grid-template-columns:1fr}#profile-view .profile-layout{grid-template-columns:1fr}#profile-view .identity{display:none}#profile-view .id-meta{border:0}#profile-view .section-nav{display:flex;overflow:auto}#profile-view .section-nav button{flex-shrink:0}#profile-view .profile-note{display:none}#profile-view .profile-side .panel{margin-bottom:10px}#profile-view .cards{grid-template-columns:1fr 1fr}#profile-view .profile-side .panel:first-child .id-meta{display:none}}@media(max-width:550px){#profile-view .cards,#profile-view .form-grid{grid-template-columns:1fr}#profile-view .details{gap:14px}#profile-view .profile-layout{gap:12px}#ecitizen-preview .ec-page{padding:16px 12px}#profile-view .content-head{flex-wrap:wrap}#profile-view .event{grid-template-columns:1fr;gap:5px}#profile-view .footer small{max-width:100%}#profile-view .sticky-save{position:static}#profile-view .action-top{flex-wrap:wrap}}
#profile-view .panel{background:white;border:1px solid #e1e8ec;border-radius:12px;overflow:hidden}#profile-view .panel-head{padding:16px 20px;border-bottom:1px solid #e1e8ec;display:flex;justify-content:space-between;align-items:center}#profile-view .muted{color:#647784}#profile-view .ec-button{font-size:12px}#profile-view .footer{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 18px;background:white}#profile-view .confirm{display:flex;align-items:center;gap:9px;font-size:12px;margin:10px 0}#profile-view .confirm input{width:16px;height:16px;accent-color:#08796d}#profile-view .source-box{padding:14px;background:#f5f7f9;border-radius:8px;margin:12px 0}#profile-view .form-grid input:disabled{background:#f5f7f9}#profile-view .page-tabs{display:flex;flex-wrap:wrap;gap:8px}#profile-view .eyebrow{font-size:10px;letter-spacing:1.5px;color:#08796d}#profile-view [hidden]{display:none!important}#profile-view .lookup-list{max-height:230px;overflow:auto;border:1px solid #d8e2e6;border-radius:8px;background:white}#profile-view .lookup-list button{display:block;text-align:left;width:100%;border:0;background:white;padding:10px;color:#203b45}#profile-view .lookup-list button:hover{background:#e7f4ef}#profile-view input,#profile-view select,#profile-view textarea{font:inherit}#profile-view .form-grid textarea{width:100%;min-height:85px;border:1px solid #d8e2e6;border-radius:7px;padding:10px}#profile-view .wide{grid-column:1/-1}#profile-view .section-nav{position:static}#profile-view .profile-side{position:sticky;top:10px}#profile-view .datum b{font-weight:550}@media(max-width:800px){#profile-view .profile-side{position:static}#profile-view .identity{display:block;padding:14px}#profile-view .portrait{display:none}}

#profile-view,#profile-view * {box-sizing:border-box;min-width:0}
#profile-view .profile-layout {grid-template-columns:260px minmax(0,1fr)}
#profile-view .cards,#profile-view .details {grid-template-columns:repeat(2,minmax(0,1fr))}
#profile-view .section-nav {max-width:100%}
#profile-view .identity h2,#profile-view .datum,#profile-view .source-box,#profile-view .address-preview-row {overflow-wrap:anywhere}
#profile-view .section-nav button {font:inherit;font-size:12px;white-space:normal}
#profile-view .datum b {display:block;line-height:1.6}
#profile-view .summary-card header {gap:12px}
#profile-view .text-link {flex-shrink:0}
#profile-view .form-grid input,#profile-view .form-grid select {max-width:100%;min-width:0;font-size:14px}
#profile-view .ec-input {max-width:100%}
#profile-view .catalog-unit {gap:12px;flex-wrap:wrap}
#profile-view .table-scroll {max-width:100%;overflow:auto}
#profile-view .table-scroll table {min-width:600px}
#profile-document-dialog {box-sizing:border-box;max-height:90dvh;overflow:auto}
#profile-document-dialog * {box-sizing:border-box;min-width:0}
#profile-document-dialog .form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#profile-document-dialog input,#profile-document-dialog select {width:100%;max-width:100%;font:inherit;padding:10px;border:1px solid #d8e2e6;border-radius:7px}
#profile-document-dialog label {display:block;margin-bottom:6px}
#profile-document-dialog .content-head {display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
#profile-document-dialog .pill-row {margin-top:16px}
#profile-document-dialog::backdrop {background:#102c3455}
@media(max-width:1100px){#profile-view .cards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){
 #profile-view .profile-layout{grid-template-columns:minmax(0,1fr)}
 #profile-view .profile-side{position:static}
 #profile-view .identity{display:block;text-align:left;padding:16px}
 #profile-view .identity .pill-row{justify-content:flex-start!important}
 #profile-view .portrait{display:none}
 #profile-view .section-nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain}
 #profile-view .section-nav button{flex:0 0 auto;white-space:nowrap;min-height:44px}
 #profile-view .profile-note,#profile-view .id-meta{display:none}
}
@media(max-width:600px){
 #profile-view .cards,#profile-view .form-grid,#profile-document-dialog .form-grid{grid-template-columns:minmax(0,1fr)}
 #profile-view .details{gap:14px 12px;padding:16px}
 #profile-view .form-grid input,#profile-view .form-grid select,#profile-view .form-grid textarea,#profile-document-dialog input,#profile-document-dialog select{font-size:16px}
 #profile-view .datum small{font-size:12px}
 #profile-view .datum b{font-size:14px}
 #profile-view .form-section{padding:16px}
 #profile-view .content-head{flex-wrap:wrap}
 #profile-view .event{grid-template-columns:1fr;gap:5px}
 #profile-view .footer{flex-wrap:wrap}
 #profile-view .footer small{max-width:100%}
}
