/* The viewport is a workspace; explicit sections replace clipping and implicit hiding. */
[hidden]{display:none!important}.viewport-dashboard,.viewport-profile-sections{display:flex;flex-direction:column;flex:1;min-height:0;gap:16px;overflow:visible}.viewport-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;border-bottom:1px solid #dce5d3;padding-bottom:12px;flex-shrink:0;min-height:44px}.viewport-tabs>button{padding:9px 12px;font-size:11px;color:#7a916a;border-radius:5px;line-height:1.5;text-align:left}.viewport-tabs>button:hover{background:#edf3e5}.viewport-tabs>button.active{background:#e2ecd5;color:#355b28;font-weight:600}.viewport-section-select{display:none;width:100%;font-size:12px}.viewport-stage{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;overflow:visible}.viewport-stage>.viewport-section,.viewport-stage>.viewport-profile-section{height:100%;min-height:0;max-height:none!important;width:100%;margin:0!important;flex:1;overflow:visible}.viewport-stage>.panel,.viewport-stage>.viewport-section:has(.tablewrap){display:flex;flex-direction:column}.viewport-stage>.viewport-section>h2{flex-shrink:0}.viewport-section .panelhead{flex-shrink:0}.viewport-section .panelhead h2{line-height:1.4}.viewport-section .panelbody{min-height:0;overflow:visible;flex:1}.viewport-section .note{flex-shrink:0;margin-top:auto}.viewport-section .queue{min-height:0;overflow:visible;flex:1}.viewport-section .tablewrap{min-height:0;flex:1;overflow-x:auto;overflow-y:hidden}.viewport-section .fit-chart-body{display:flex!important;flex-direction:column;min-height:0;flex:1;padding-top:15px;padding-bottom:18px;overflow:visible!important}.fit-chart-body>.fit-chart{flex:1!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;position:relative;overflow:visible}.fit-chart>svg{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:visible}.fit-chart-body>.legend{flex-shrink:0;display:flex;flex-wrap:wrap;gap:10px 20px;margin:10px 0 0;padding:0 5px;line-height:1.6}.fit-chart-body>.legend span{display:inline!important;line-height:1.6}.fit-chart-body>.legend span:last-child{margin-left:auto}.viewport-section .territory-row{grid-template-columns:minmax(85px,115px) minmax(30px,1fr) auto auto;gap:12px;min-height:30px}.viewport-profile-sections>.viewport-stage{align-items:stretch}.viewport-profile-section.profile-box{display:flex;flex-direction:column;flex:1;overflow:visible}.viewport-profile-section.profile-box>.profile-dl{align-content:start}.viewport-profile-section.profile-box>h3{flex-shrink:0}.viewport-profile-section.profile-highlight{flex:1}.viewport-stage>.creditcard{height:auto;min-height:200px;flex:0 0 auto;max-width:520px!important}.viewport-profile-section.profile-box>.profile-events-list{overflow:visible;min-height:0}.viewport-pager{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:16px;margin-top:auto;flex-shrink:0;font-size:10px;color:#819672}.viewport-pager>div{display:flex;gap:8px}.viewport-pager .btn{font-size:10px;min-height:32px;padding:8px 11px}.viewport-fields{grid-auto-rows:min-content!important;align-content:start!important;flex:1;min-height:0;overflow:visible}.viewport-fields>*{min-height:0;align-self:start}.flow-viewport-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;margin-top:auto;border-top:1px solid #e1e8d7;font-size:10px;color:#8b9e7a;flex-shrink:0;min-height:39px}.flow-viewport-pager strong{color:#4f743d;font-weight:500;white-space:nowrap}.profile-mobile-menu{display:none}.viewport-dashboard .dashboard-actions>.quicklinks{padding:24px;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;flex:1;align-content:start}.viewport-section:has(>.creditcard){display:flex;flex-direction:column;gap:20px}.viewport-section>.creditcard{max-width:520px;min-height:230px;flex:0 0 auto;margin-top:8px}.viewport-section>.articleline{min-height:0}.viewport-section .panelbody:has(.articleline){overflow:visible}.viewport-section.welcome{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:35px 40px}.viewport-section.welcome p{max-width:650px}.viewport-section.bigsearch{display:flex;flex-direction:column;justify-content:center;padding:35px!important}.viewport-section.bigsearch .searchline{max-width:800px}.viewport-section.bigsearch h2{font-size:29px}.viewport-section.bigsearch p{max-width:650px}.profile-body>.viewport-profile-sections{min-height:0;flex:1}.profile-body>.viewport-profile-sections .profile-column{display:flex!important}.profile-column:nth-child(2){display:flex}.legacy-detail-content:has(>.creditcard)>div:last-child{display:block}.content .lower-grid .table tbody tr{display:table-row}.profile-event{display:grid}.result-card{display:flex}.kanbancol .task{display:block}.share-link-panel .btn.danger{display:inline-flex}.metric small{display:block}.question-field small{display:block}.content>.cards-grid .orgcard{overflow:visible;min-height:0}.content>.cards-grid{overflow:visible;flex:1;min-height:0}.cards-grid .orgcard h3{overflow-wrap:anywhere}.content>.kanban{overflow:visible;min-height:0}.kanbancol{display:flex;flex-direction:column;overflow:visible}.kanbancol>h3{flex-shrink:0}.kanbancol .board-pagebar{flex-shrink:0}.kanbancol .task{min-height:0;flex:0 0 auto}.content .dashboard-grid,.content .lower-grid{overflow:visible}.content .metrics{gap:0}.content>.footer{padding-top:12px}.profile-body,.legacy-detail-content{overflow:visible}.profile-box{overflow:visible}.profile-rail{min-height:0}.profile-body>.section-caption{flex-shrink:0}.profile-file-grid{grid-auto-rows:min-content;align-content:start}.profile-file-grid .space-profile-document{min-height:0;overflow:visible}.modalbody{display:flex;flex-direction:column;gap:15px;overflow:visible;min-height:0}.modalbody>.workspace-grid{flex:1;align-content:center;min-height:0;margin:0 auto;width:100%;grid-auto-rows:min-content}.modalbody>.info{flex-shrink:0;width:100%;margin:0 auto}.modalbody>.stepper{flex-shrink:0;margin-bottom:0}.modalbody>.tablewrap{min-height:0;flex:1;max-height:none;overflow-x:auto;overflow-y:hidden}.modalbody>.viewport-pager{width:100%;max-width:1000px;margin:0 auto}.profile-main .legacy-detail-content:has(>.creditcard){display:flex!important;flex-direction:column;gap:18px}.legacy-detail-content:has(>.creditcard)>div:last-child{margin-top:0!important}.viewport-large-item{min-height:0;max-width:100%}.fit-chart-body .legend i{flex-shrink:0}.profile-body .viewport-pager{flex-shrink:0}.operation-main{min-height:0}.operation-question h1{overflow-wrap:anywhere}.operation-footer{flex-shrink:0;z-index:2;background:#f7f8f4}.content .toolbar{flex-shrink:0}.profile-footer{flex-shrink:0;z-index:2;background:#f7f8f4}.viewport-section .queue-row{min-height:62px}.modalbody .summary{flex-shrink:0}.profile-main>.profile-body .viewport-profile-section.profile-box:only-child{flex:1}.profile-dl{grid-auto-rows:min-content}.tablewrap .table td{max-width:none}.viewport-section .panelbody .articleline{padding:13px 0}.viewport-profile-section .profile-event{display:grid!important}.viewport-section .table tbody tr{display:table-row!important}.content .viewport-dashboard>.viewport-tabs{max-width:100%}.viewport-section .creditcard{overflow:hidden}.viewport-section .queue-num{flex-shrink:0}.viewport-section .queue-text{min-width:0}.viewport-section .queue-text small{line-height:1.6}.viewport-section .panelhead{gap:15px}.viewport-section .legend{min-height:20px}.operation-screen .flow-fields>.question-field input,.operation-screen .flow-fields>.question-field select{flex-shrink:0}.operation-screen .flow-fields .question-field{overflow:visible}.profile-box:has(>.viewport-pager){display:flex;flex-direction:column}.profile-box:has(>.viewport-pager)>.profile-dl{flex:1;min-height:0}.profile-screen .profile-page-head{flex-shrink:0}.has-viewport-dashboard .metric small{display:block}.viewport-tabs>button.active:focus-visible{outline:2px solid #789c5c;outline-offset:2px}.viewport-dashboard .viewport-section>.note{border-radius:0 0 7px 7px}@media(max-width:1100px){.viewport-tabs>button{font-size:10px;padding:8px 10px}.viewport-tabs{gap:4px}.viewport-section.bigsearch{padding:27px!important}.viewport-section.bigsearch h2{font-size:25px}.viewport-profile-sections{gap:13px}.viewport-dashboard{gap:13px}.viewport-section .panelhead h2{font-size:15px}}@media(max-width:650px){.viewport-tabs>button{display:none}.viewport-section-select{display:flex;align-items:center;font-size:11px;min-height:38px;background-color:#fff;padding:10px 12px;border-color:#cfdcc5}.viewport-tabs{padding-bottom:10px;min-height:48px;display:block}.profile-mobile-menu{display:block!important;width:100%;font-size:11px;margin:8px 0 12px;padding:9px 11px;min-height:36px;background:#fff;border-color:#d1dfc5}.profile-links[hidden]{display:none!important}.profile-layout:has(.profile-mobile-menu) .profile-rail{padding-bottom:0}.profile-layout:has(.profile-mobile-menu) .profile-number{margin-bottom:7px}.profile-layout:has(.profile-mobile-menu) .profile-statuses{max-width:110px}.viewport-dashboard,.viewport-profile-sections{gap:11px}.viewport-section .fit-chart-body{padding:13px 16px}.fit-chart-body>.legend{font-size:9px;gap:8px 14px;line-height:1.7;margin-top:8px}.fit-chart-body>.legend span:last-child{margin-left:0;width:100%}.viewport-section .panelhead{padding:15px 16px 0}.viewport-section .panelhead h2{font-size:14px}.viewport-section .panelhead p{font-size:9px;line-height:1.5}.viewport-section .panelhead .badge{font-size:8px;letter-spacing:0;padding:5px;white-space:nowrap}.viewport-section .territory-row{grid-template-columns:minmax(75px,95px) minmax(20px,1fr) auto auto;gap:10px;margin:12px 0;font-size:10px}.viewport-section .queue{padding:7px 16px 12px}.viewport-section .queue-row{min-height:70px;padding:13px 0}.viewport-section .queue-num{font-size:25px;min-width:37px}.viewport-section .queue-text b{font-size:11px}.viewport-section .queue-text small{font-size:9px}.viewport-section .note{padding:12px 16px;font-size:9px}.viewport-section.welcome{padding:25px}.viewport-section.welcome h1{font-size:27px}.viewport-section.welcome p{font-size:12px;line-height:1.8}.viewport-section .creditcard{min-height:210px;width:100%;max-width:none;padding:23px}.viewport-dashboard .dashboard-actions>.quicklinks{grid-template-columns:1fr;padding:20px;gap:13px}.dashboard-actions .quicklink{display:flex;align-items:center;gap:12px;padding:17px;font-size:12px}.dashboard-actions .quicklink .icon{display:inline-block;margin:0;width:20px;height:20px}.viewport-section.bigsearch{padding:23px!important}.viewport-section.bigsearch h2{font-size:23px}.viewport-section.bigsearch p{font-size:11px;line-height:1.8}.viewport-section.bigsearch .searchline{flex-direction:column;gap:12px}.viewport-section.bigsearch input{font-size:12px;width:100%}.viewport-stage>.viewport-profile-section.profile-box{padding:18px}.viewport-profile-section .profile-dl{grid-template-columns:1fr;gap:16px}.viewport-profile-section .profile-dl dt{font-size:10px}.viewport-profile-section .profile-dl dd{font-size:12px}.viewport-pager{font-size:9px;gap:9px;padding-top:14px;flex-wrap:wrap;align-items:center}.viewport-pager>div{gap:6px;margin-left:auto}.viewport-pager .btn{font-size:9px;padding:8px 10px}.flow-viewport-pager{font-size:9px;min-height:35px;gap:12px;line-height:1.5}.flow-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.question-field small{display:block!important;font-size:9px;line-height:1.5}.content .metric small{display:block!important;font-size:8px;line-height:1.5;margin-top:7px}.has-viewport-dashboard>.metrics{gap:14px;padding:12px 0;margin-bottom:15px}.metric label{font-size:9px;line-height:1.4}.content .metric strong{font-size:23px}.modalbody>.workspace-grid{align-content:start;gap:10px}.modalbody .workspace-choice{padding:16px}.modalbody .workspace-choice b{font-size:11px;line-height:1.5}.modalbody .workspace-choice small{font-size:9px}.modalbody>.viewport-pager{padding-top:8px}.share-link-panel .btn.danger{display:inline-flex!important}.profile-main .legacy-detail-content:has(>.creditcard)>div:last-child{display:block!important}.profile-box .profile-event{display:grid!important}.content .kanbancol .task{display:block!important}.content .kanbancol .task small{line-height:1.7}.viewport-section .articleline{font-size:11px}.viewport-section .panelbody .articleline{padding:12px 0}.viewport-section .articleline small{font-size:9px;line-height:1.7}.viewport-section .queue-text b,.viewport-section .queue-text small{overflow-wrap:anywhere}.content>.cards-grid .orgcard{padding:17px}.viewport-fields .notes-stage{padding:17px!important}.viewport-fields .notes-stage p{font-size:11px;line-height:1.7}.viewport-fields .file-question{padding:15px}.profile-footer .buttons{flex-wrap:wrap}.viewport-section .table .person{gap:8px}.viewport-section .table .person .avatar{width:26px;height:26px}.viewport-section .table td{font-size:10px;padding:12px}.viewport-section .table th{font-size:8px;padding:10px 12px}.operation-footer .btn{white-space:normal;line-height:1.4}.operation-footer>div{min-width:0}.viewport-section .creditcard .cardnum{font-size:18px;letter-spacing:1px}}@media(max-height:700px){.viewport-tabs{min-height:36px;padding-bottom:9px}.viewport-tabs>button{padding:7px 10px;font-size:10px}.viewport-dashboard,.viewport-profile-sections{gap:10px}.viewport-section .panelhead{padding-top:14px}.fit-chart-body>.legend{margin-top:7px;font-size:9px}.viewport-section .fit-chart-body{padding-top:10px;padding-bottom:12px}.viewport-section .queue-row{min-height:55px;padding:10px 0}.viewport-section .queue-text small{font-size:9px}.flow-viewport-pager{padding-top:10px;min-height:32px;font-size:9px}.operation-question{margin-bottom:14px}.operation-question h1{font-size:24px}.operation-main{padding-top:17px}.operation-question p{font-size:10px;line-height:1.6}.operation-progress{padding-bottom:12px}.profile-body .viewport-pager{padding-top:11px}.viewport-pager .btn{padding:7px 9px;min-height:30px;font-size:9px}.question-field small{display:block!important;font-size:9px}.viewport-section .panelhead h2{font-size:14px}.viewport-section .panelhead p{font-size:9px}.viewport-section .queue-num{font-size:23px}.viewport-profile-section .profile-event{padding:10px 0}.viewport-profile-section .profile-event b{font-size:11px}.viewport-stage>.creditcard{min-height:170px}.viewport-section .panelbody .articleline{padding:9px 0}.content .metrics small{display:block!important}.content .metric small{font-size:8px;line-height:1.4}.viewport-section.welcome p{font-size:11px}.viewport-section.bigsearch p{font-size:11px}.modalbody>.workspace-grid{align-content:start}.modalbody>.info{font-size:10px}.profile-body>.viewport-profile-sections .profile-box>h3{margin-bottom:14px}}@media(max-height:600px){.content>.heading{margin-bottom:11px}.content .heading h1{font-size:23px}.content .heading .eyebrow{font-size:8px;margin-bottom:7px}.has-viewport-dashboard>.metrics{padding:9px 0;margin-bottom:11px}.has-viewport-dashboard .metric strong{font-size:21px}.has-viewport-dashboard .metric label{font-size:9px;margin-bottom:6px}.has-viewport-dashboard .metric small{font-size:8px;margin-top:5px}.viewport-tabs>button{padding:6px 9px;font-size:9px}.viewport-section .panelhead h2{font-size:13px}.viewport-section .panelhead{padding-top:12px}.viewport-section .panelhead p{font-size:8px}.viewport-section .fit-chart-body{padding-top:8px;padding-bottom:10px}.viewport-section .legend{font-size:8px}.viewport-section .queue-row{min-height:45px;padding:8px 0}.viewport-section .queue-text small{margin-top:4px;font-size:8px}.viewport-section .note{font-size:8px;padding:9px 14px}.operation-header{height:48px;min-height:48px}.operation-main{padding-top:12px}.operation-question h1{font-size:22px}.operation-question{margin-bottom:10px}.operation-progress{padding-bottom:10px}.operation-footer{min-height:57px;padding-top:10px;padding-bottom:10px}.profile-page-head h2{font-size:22px}.profile-page-head{margin-bottom:12px}.profile-main{padding-top:15px}.profile-footer{min-height:55px;padding:10px 0;margin-top:12px}.flow-viewport-pager{min-height:30px}.modalhead{height:52px;min-height:52px}.modalbody{padding-top:17px;padding-bottom:17px}.modalfooter{min-height:56px;padding-top:11px;padding-bottom:11px}}
.board-empty{font-size:10px;line-height:1.7;color:#8fa37d;padding:15px 0}.deposit-file b,.deposit-receipt b,.deposit-data b{overflow-wrap:anywhere}.share-link-panel input{min-width:0}.viewport-section .tablewrap{width:100%}.viewport-dashboard .viewport-stage>section:not(.panel,.welcome),.viewport-dashboard .viewport-stage>div:not(.panel,.bigsearch){padding:22px;border:1px solid #dfe7d6;border-radius:7px;background:#fff}.viewport-stage>.viewport-section:has(.articleline)>.panelbody{display:flex;flex-direction:column;justify-content:flex-start}.profile-box>.profile-dl>div[hidden]{display:none!important}.viewport-section .metrics{flex-shrink:0}.flow-fields .viewport-large-item{align-self:start}.viewport-profile-section .profile-dl{align-content:start}.has-viewport-dashboard>.metrics{grid-template-columns:1.5fr 1fr 1fr 1fr}.viewport-section .panelhead>div{min-width:0}.viewport-section .panelhead p{overflow-wrap:anywhere}.viewport-section .legend>span{overflow-wrap:anywhere}.modalbody .workspace-choice{overflow:visible}.modalbody .viewport-pager .btn{white-space:nowrap}.profile-main .viewport-profile-sections .viewport-section{padding:0}.profile-screen .profile-footer .buttons{max-width:100%}.viewport-profile-section .profile-highlight{min-height:0}.viewport-profile-section .profile-box{min-height:0}.profile-main .profile-body>.profile-box{min-height:0}.profile-main .profile-body .profile-event{display:grid}.content .cards-grid .reporttile{overflow:visible}.kanbancol .task{overflow-wrap:anywhere}@media(max-width:900px){.has-viewport-dashboard>.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.viewport-section .panelhead{align-items:flex-start}.viewport-section .panelhead>.badge{margin-top:2px}}@media(max-width:650px){.has-viewport-dashboard>.metrics{gap:13px 0}.viewport-dashboard .viewport-stage>section:not(.panel,.welcome),.viewport-dashboard .viewport-stage>div:not(.panel,.bigsearch){padding:17px}.content .metric small{max-width:150px}.operation-footer .buttons>.btn:not(.primary){font-size:9px;max-width:125px}.operation-footer .btn.primary{min-width:110px}.operation-footer .btn.primary .icon{width:13px}.viewport-profile-section .profile-dl{grid-template-columns:1fr}.profile-main .viewport-profile-sections .creditcard{width:100%}.kanbancol .board-pagebar{font-size:8px;gap:3px}.kanbancol .board-pagebar button{padding:3px 5px}.content .kanbancol h3{line-height:1.4;min-height:28px}.viewport-pager .btn .icon{width:13px;height:13px}}@media(max-height:600px) and (min-width:650px){.sidebar .brand{padding-bottom:14px}.sidebar .workspace{margin-bottom:12px}.sidebar .nav button{padding-top:4px;padding-bottom:4px}.sidebar .navlabel{font-size:8px;margin-bottom:7px}.sidebar .profile{padding-top:8px}.sidebar .sidebottom{padding-top:8px}.sidebar .brand strong{font-size:18px}.sidebar .nav button .icon{width:15px;height:15px}.sidebar{padding-top:15px}.viewport-section .panelhead>.badge{font-size:8px}.viewport-profile-section .profile-dl{gap:13px 20px}.viewport-profile-section .profile-dl dd{font-size:11px}.viewport-profile-section .profile-dl dt{font-size:9px}}
.workspace-page-menu{max-width:330px;min-width:0;font-size:11px;min-height:36px;padding:8px 11px;flex:1;background:#fff}.workspace-space-button{width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;color:#5f7e4c;border:1px solid #d8e3ce;border-radius:5px;background:#f1f6ea}.has-workspace-selector .crumb{flex:1;min-width:0;gap:10px}.has-workspace-selector .crumb>span,.has-workspace-selector .crumb>b,.has-workspace-selector .crumb>.menu-mobile{display:none}.has-workspace-selector .global-search{display:none}.has-workspace-selector .topactions{gap:10px}.workspace-page-menu:focus-visible{outline:2px solid #8aaa6b;outline-offset:2px}@media(max-width:650px){.workspace-page-menu{font-size:10px;max-width:none;padding:8px 9px;min-height:34px}.has-workspace-selector .topactions>.badge{display:none}.has-workspace-selector .topactions{gap:8px}.has-workspace-selector .notibtn{padding-left:10px}.workspace-space-button{height:30px;width:30px}.has-workspace-selector .crumb{gap:8px}.viewport-section .legend span{font-size:9px}.viewport-stage>.viewport-section>.panelbody{overflow:visible}.viewport-profile-section>.profile-dl>div{overflow-wrap:anywhere}.viewport-stage>.viewport-profile-section.profile-highlight{padding:20px}.profile-screen .viewport-profile-section.profile-highlight>h3{font-size:22px}.profile-screen .viewport-profile-section.profile-highlight>p{font-size:12px;line-height:1.8}}@media(max-height:600px){.workspace-page-menu{min-height:30px;font-size:10px}.workspace-space-button{height:29px;width:29px}.has-workspace-selector .crumb{gap:8px}}
.viewport-stage>.metrics.viewport-section{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:35px 0;padding:30px!important;border:1px solid #dfe7d6;background:#fff;border-radius:7px}.viewport-stage>.metrics .metric{padding:20px 30px;border:0;border-left:1px solid #e1e8d8}.viewport-stage>.metrics .metric:nth-child(odd){border-left:0}.viewport-stage>.metrics .metric label{font-size:12px;margin-bottom:14px}.viewport-stage>.metrics .metric strong{font-size:42px}.viewport-stage>.metrics .metric small{font-size:11px;line-height:1.7;margin-top:12px;max-width:none}.viewport-stage>.metrics .metric .trend{display:inline;font-size:10px}.viewport-stage>.profile-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);align-content:center;gap:15px;border:1px solid #dfe7d6;background:#fff;border-radius:7px;padding:25px}.viewport-stage>.profile-mini-stats b{font-size:40px}.viewport-stage>.profile-mini-stats small{font-size:11px;line-height:1.7;margin-top:14px}.viewport-profile-sections>.viewport-stage>.detailgrid{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:0 25px;padding:20px 25px;background:#fff;border:1px solid #dfe7d6;border-radius:7px}.viewport-profile-sections>.viewport-stage>.info{padding:25px;font-size:13px;line-height:1.9;display:flex;align-items:center;gap:15px}.viewport-profile-sections>.viewport-stage>.record-steps{display:grid;align-content:center}.profile-body>.viewport-profile-sections:only-child{height:100%}@media(max-width:650px){.viewport-stage>.metrics.viewport-section{gap:24px 0;padding:20px!important}.viewport-stage>.metrics .metric{padding:15px 17px}.viewport-stage>.metrics .metric label{font-size:11px;line-height:1.5;margin-bottom:12px}.viewport-stage>.metrics .metric strong{font-size:32px}.viewport-stage>.metrics .metric small{font-size:10px!important;line-height:1.7;max-width:none}.viewport-stage>.metrics .metric .trend{font-size:8px;margin-left:5px}.viewport-stage>.profile-mini-stats{grid-template-columns:1fr;padding:20px;gap:25px}.viewport-stage>.profile-mini-stats button{border-left:0;border-top:1px solid #e0e8d6;padding:20px 0 0}.viewport-stage>.profile-mini-stats button:first-child{border-top:0;padding-top:0}.viewport-stage>.profile-mini-stats b{font-size:33px}.viewport-stage>.profile-mini-stats small{font-size:10px;margin-top:10px}.viewport-profile-sections>.viewport-stage>.detailgrid{grid-template-columns:1fr;padding:16px 20px}.viewport-profile-sections>.viewport-stage>.info{font-size:12px;line-height:1.8;padding:20px}.viewport-profile-sections .detailitem{min-height:0}.viewport-stage>.profile-mini-stats button b{font-size:32px!important}}@media(max-height:600px){.viewport-stage>.metrics.viewport-section{gap:15px 0;padding:17px!important}.viewport-stage>.metrics .metric{padding:13px 20px}.viewport-stage>.metrics .metric strong{font-size:30px}.viewport-stage>.metrics .metric small{font-size:9px;margin-top:9px}.viewport-stage>.metrics .metric label{font-size:10px;margin-bottom:9px}.viewport-stage>.profile-mini-stats{gap:15px;padding:20px}.viewport-stage>.profile-mini-stats button{padding-top:15px}.viewport-stage>.profile-mini-stats b{font-size:29px}.viewport-stage>.profile-mini-stats small{font-size:9px;margin-top:8px}}
.viewport-paged-list{display:flex!important;flex-direction:column;min-height:0;overflow:visible}.viewport-paged-list>.viewport-pager{margin-top:auto;padding-top:12px}.viewport-paged-list>.articleline,.viewport-paged-list>.queue-row,.viewport-paged-list>.territory-row,.viewport-paged-list>.profile-event{flex:0 0 auto}.viewport-profile-section.detailgrid>.viewport-pager,.legacy-detail-content>.detailgrid>.viewport-pager{grid-column:1/-1}.viewport-paged-list .viewport-pager .btn{font-size:9px;min-height:30px;padding:7px 9px}.viewport-paged-list .viewport-pager>span{font-size:9px;line-height:1.4}.viewport-paged-list>.territory-row{display:grid!important}.profile-events-list.viewport-paged-list{height:100%}.viewport-section .viewport-paged-list>.profile-event{display:grid}.viewport-section .viewport-paged-list>.articleline{display:flex}.viewport-section .viewport-paged-list>.queue-row{display:flex}.viewport-section .viewport-paged-list>.queue-row:last-of-type{border-bottom:0}
.facility-search{display:flex;gap:10px;padding:16px;flex-wrap:wrap}.facility-search input{flex:2;min-width:180px}.facility-search select{flex:1;min-width:140px}.facility-search input,.facility-search select{background:#fff;border:1px solid #dbe3df;border-radius:9px;padding:12px;font:inherit;color:#183f3c}
.movement-person-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:1px solid #dbe3df;border-radius:10px;background:#fff;padding:12px;margin:6px 0;color:#183f3c;font:inherit;cursor:pointer}.movement-person-result small{display:block;font-size:11px;color:#647b73;margin-top:4px}.movement-person-result[aria-pressed=true]{border-color:#527959;background:#f0f5ef}.movement-person-result>span:last-child{font-size:11px}
.access-user{display:flex;justify-content:space-between;gap:16px;align-items:center}.access-user .buttons{flex-wrap:wrap}.access-loading{display:grid;place-content:center;min-height:100dvh;background:#f1f4ef;color:#183f3c;text-align:center;padding:30px}.access-loading h1{font-size:28px}@media(max-width:750px){.access-user{align-items:flex-start;flex-direction:column}}
/* A profile has one measured content stage. No summary sits outside that stage. */
.profile-screen .profile-main{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:visible}
.profile-screen .profile-body.profile-paged-body{display:flex!important;flex-direction:column;min-width:0;min-height:0;gap:0;overflow:visible}
.profile-body.profile-paged-body>.viewport-profile-sections{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;min-width:0;gap:16px}
.profile-section-switcher{flex-wrap:nowrap;min-width:0;gap:14px;margin:0;padding:0 0 12px;flex-shrink:0}
.profile-section-switcher>button{display:none}.profile-section-switcher>.viewport-section-select{display:flex;align-items:center;flex:1;min-width:0;width:auto;max-width:570px;background:#fff;border:1px solid #dce5d3;border-radius:7px;min-height:42px;padding:10px 12px;font-size:12px;color:#254b40}
.profile-section-caption{flex:0 0 auto;font-size:10px;color:#62796c}.profile-section-switcher>small{margin-left:auto;white-space:nowrap;font-size:11px;color:#62796c}
.profile-paged-body .viewport-stage{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;isolation:isolate}
.profile-main .profile-paged-body .viewport-stage>.viewport-profile-section{box-sizing:border-box;flex:1 1 0!important;min-width:0;min-height:0;max-height:100%!important;height:100%;margin:0!important;overflow:visible}
.profile-paged-body .viewport-stage>.profile-box{display:flex;flex-direction:column;justify-content:flex-start}
.profile-paged-body .profile-box>h3,.profile-paged-body .profile-box>p,.profile-paged-body .profile-box>.eyebrow,.profile-paged-body .profile-box>.viewport-pager{flex-shrink:0}
.profile-paged-body .profile-box>.profile-dl{flex:1;min-height:0;align-content:start;grid-auto-rows:min-content;gap:16px 22px}
.profile-paged-body .profile-box>p{margin:14px 0 0;line-height:1.7;font-size:12px;overflow-wrap:anywhere}
.profile-section-group{display:flex;flex-direction:column;gap:14px}.profile-section-group>.section-caption,.profile-section-group>.mini-pagination{flex:0 0 auto}.profile-section-group>.tablewrap{flex:1;min-height:0}
.profile-paged-body .profile-mini-stats{align-self:stretch;align-items:center;display:flex;max-height:160px!important;flex:0 0 auto!important;min-height:110px!important}
.profile-page-head,.profile-footer{min-width:0}.profile-page-head h2,.profile-rail h1{overflow-wrap:anywhere}.profile-page-head{flex-wrap:wrap;gap:12px}.profile-footer{display:flex;flex-wrap:wrap;gap:10px;min-height:60px;margin-top:14px}.profile-footer .buttons{flex-wrap:wrap;min-width:0}.profile-footer .btn{white-space:normal;line-height:1.5}.profile-box h3{line-height:1.6;gap:12px;flex-wrap:wrap}.profile-dl dd{overflow-wrap:anywhere;word-break:normal}
.content:has(>.cards-grid)>.heading,.content:has(>.cards-grid)>.panel,.content:has(>.cards-grid)>.section-caption,.content:has(>.cards-grid)>.mini-pagination{flex-shrink:0}
.content>.cards-grid:has(.orgcard){align-content:start;align-items:stretch;grid-auto-rows:max-content;min-height:0;overflow:visible}
.content>.cards-grid .orgcard{display:flex;flex-direction:column;height:auto;min-height:155px;padding:18px;text-align:left;overflow:visible}.content>.cards-grid .orgcard .orgicon{float:none;flex-shrink:0;margin:0 0 10px}.content>.cards-grid .orgcard h3{min-height:0;margin:0 0 10px;overflow-wrap:anywhere;font-size:14px}.content>.cards-grid .orgcard p{margin:0 0 12px;line-height:1.6;overflow-wrap:anywhere}.content>.cards-grid .orgcard .orgfoot{margin-top:auto;flex-wrap:wrap;gap:8px}
@media(max-width:650px){.profile-section-caption{display:none}.profile-section-switcher{gap:10px}.profile-paged-body .viewport-stage>.viewport-profile-section.profile-box{padding:16px}.profile-paged-body .profile-box>.profile-dl{grid-template-columns:1fr;gap:14px}.profile-page-head h2{font-size:23px}.profile-footer>span{font-size:9px}.content>.cards-grid:has(.orgcard){grid-template-columns:1fr}.facility-search{padding:12px;gap:8px}.facility-search input{flex-basis:100%;min-width:0}.facility-search select{min-width:0;flex-basis:40%}.content>.cards-grid .orgcard{min-height:130px;padding:14px}}
@media(max-height:760px){.profile-screen .profile-main{padding-top:15px}.profile-page-head{margin-bottom:14px}.profile-page-head h2{font-size:24px}.profile-section-switcher{padding-bottom:9px}.profile-body.profile-paged-body>.viewport-profile-sections{gap:12px}.profile-paged-body .profile-box>p{font-size:11px}.profile-footer{margin-top:10px;padding:10px 0;min-height:48px}}
/* Keep the outer frame finite even with long names, zoom or a short viewport. */
.profile-screen{height:100dvh;max-width:100vw;min-width:0}
.profile-screen>.operation-header{flex:0 0 auto;min-width:0;max-width:100%;box-sizing:border-box}
.profile-screen>.profile-layout,.record-screen>.profile-layout{min-width:0;min-height:0;grid-template-columns:minmax(185px,265px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);width:100%;overflow:visible}
.profile-screen .profile-rail{min-width:0;max-width:100%;box-sizing:border-box}
.profile-screen .profile-rail h1,.record-screen .profile-rail h1{max-height:none;max-width:100%;overflow:visible;overflow-wrap:anywhere;white-space:normal;line-height:1.35}
.profile-rail .profile-number{max-width:100%;overflow-wrap:anywhere;white-space:normal}.profile-rail .profile-statuses{flex-wrap:wrap;max-width:100%}
.profile-rail .profile-links{min-height:0}.profile-rail .profile-mobile-menu{width:100%;min-width:0;min-height:42px;margin:16px 0;border:1px solid #ccd8c2;border-radius:7px;padding:10px;background:#fff;font:inherit;font-size:12px;color:#284d3e}
.profile-rail.compact-profile-rail .profile-avatar{width:48px;height:48px;flex-shrink:0;margin-bottom:13px}.profile-rail.compact-profile-rail h1{font-size:18px}.compact-profile-rail .profile-rail-footer{margin-top:auto}
.profile-section-group>.profile-file-grid{flex:1;min-height:0;min-width:0;align-content:start;grid-auto-rows:max-content}
.profile-file-grid>.space-profile-document{min-width:0;height:auto;overflow-wrap:anywhere}.space-profile-document p{overflow-wrap:anywhere}.profile-section-group>.section-caption{flex-wrap:wrap;gap:10px}.profile-section-group>.section-caption>.buttons{flex-wrap:wrap}
.profile-paged-body .profile-dl>div{min-width:0;max-width:100%}.profile-paged-body .detail-viewport-pager{margin-top:10px}.profile-paged-body .viewport-pager>div{flex-wrap:wrap;gap:8px}
@media(max-width:760px){.profile-screen>.profile-layout,.record-screen>.profile-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.profile-screen .profile-rail{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;align-items:start;padding:14px 18px 0;border-right:0;border-bottom:1px solid #dce5d2}.profile-rail .profile-avatar{display:none}.profile-screen .profile-rail h1{grid-column:1;grid-row:1;max-width:100%;margin:0;font-size:18px}.profile-rail .profile-number{grid-column:1;grid-row:2;margin:0;font-size:10px}.profile-rail .profile-statuses{grid-column:2;grid-row:1/3;align-self:start;max-width:125px;gap:5px}.profile-rail .profile-mobile-menu{grid-column:1/-1;grid-row:3;margin:8px 0 12px;font-size:12px}.profile-rail .profile-rail-footer{display:none}.profile-rail .profile-links{grid-column:1/-1}.profile-screen .operation-header{padding:0 14px;gap:10px}.profile-screen .operation-title{display:none}.profile-screen .back-operation{min-width:0}.profile-screen .profile-main{padding:16px 18px 0}.profile-file-grid{grid-template-columns:minmax(0,1fr)}.profile-footer .buttons{width:100%;justify-content:flex-end}.profile-footer>span{line-height:1.6}}
@media(max-height:680px){.profile-screen .profile-page-head .eyebrow{font-size:9px}.profile-screen .profile-page-head h2{font-size:21px;margin-bottom:6px}.profile-screen .profile-page-head p{font-size:11px;line-height:1.5}.profile-screen .profile-main{padding-top:12px}.profile-screen .profile-page-head{margin-bottom:12px}.profile-screen .profile-footer{min-height:44px;margin-top:8px;padding:8px 0}.compact-profile-rail .profile-rail-footer{font-size:8px}}
.profile-rail.compact-profile-rail .profile-mobile-menu{display:block!important}
