.pd-desk{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;color:#294b62;gap:16px}.pd-standalone{background:#fff;border:1px solid #cbddea;border-radius:22px;padding:20px;box-sizing:border-box}.pd-header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #dfebf3;padding-bottom:16px}.pd-header>div{display:flex;align-items:center;gap:14px}.pd-header h2{margin:3px 0}.pd-header .badge{align-self:center;white-space:nowrap}.pd-frame{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;flex:1;min-height:0}.pd-content{min-width:0;min-height:0;overflow:auto;padding-right:6px;overscroll-behavior:contain}.pd-tabs{display:flex;flex-direction:column;gap:10px;border-left:1px solid #dfebf3;padding-left:16px}.pd-tabs button{min-height:52px;border-radius:15px;white-space:normal;text-align:left;font-weight:700;justify-content:flex-start}.pd-tabs button.primary{background:#ffdf23;border-color:#e3c313;color:#17384c}.pd-profile>.actions,.pd-profile>.line,.pd-profile>h2,.pd-profile>p.small{display:none!important}.pd-profile>.form-grid{margin-top:0}.pd-profile .field-value{border-radius:15px;min-height:80px;box-sizing:border-box}.pd-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pd-settings article,.pd-plan{border:1px solid #c9ddeb;border-radius:18px;background:#f6faff;padding:18px;min-width:0}.pd-settings h3,.pd-plan h3{margin:0 0 10px}.pd-settings p{color:#6d879c;font-size:13px;margin-bottom:16px}.pd-settings button{display:flex;width:100%;margin-top:9px;min-height:44px;white-space:normal}.pd-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.pd-section-title h2{margin:3px 0}.pd-section-title button{min-height:44px;white-space:normal}.pd-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.pd-stats article{border:1px solid #d5e2ed;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px}.pd-stats strong{font-size:26px}.pd-stats span{font-size:12px}.pd-tools{display:flex;gap:10px}.pd-tools input{flex:1;min-width:0}.pd-record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;align-content:start}.pd-record{display:block;white-space:normal;text-align:left;border:1px solid #ccdeed;border-radius:18px;padding:16px;background:#f8fbff;color:#294b62;min-height:150px}.pd-record h3{margin:16px 0 8px;font-size:18px;overflow-wrap:anywhere}.pd-record p{margin:6px 0}.pd-record small,.pd-plan small{display:block;color:#648096;margin-top:10px}.pd-record-top{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;font-size:11px}.pd-record-top strong{border-radius:12px;background:#ffffffa8;padding:3px 7px}.pd-status{color:#648096;font-size:12px;min-height:18px}.pd-desk .valid,.pd-document-meta.valid{background:#edf9f1;border-color:#a9ddbb}.pd-desk .soon,.pd-document-meta.soon{background:#fff8d9;border-color:#e8cf68}.pd-desk .expired,.pd-document-meta.expired{background:#fff0f3;border-color:#e7a7b6;color:#902a4b}.pd-due{display:flex;flex-direction:column;gap:7px;margin:12px 0 22px}.pd-due-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;border:1px solid #d5e2ed;border-radius:12px;padding:12px;text-align:left;white-space:normal}.pd-plan button{margin-top:16px}.pd-participants{max-height:240px;overflow:auto;border:1px solid #ccdeed;border-radius:15px;padding:12px;margin:12px 0}.pd-participants .checkbox{padding:7px;border-bottom:1px solid #e4edf3}.pd-participants small{color:#648096;margin-left:auto}.pd-photo-add{border:1px dashed #a8c7dc;border-radius:16px;background:#f6faff;padding:16px;margin:16px 0}.pd-photo-add p{font-size:12px;color:#648096}.pd-photo-add input{max-width:100%;box-sizing:border-box}[data-pr-previews]{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}[data-pr-previews]>div{width:140px}[data-pr-previews] img{width:100%;height:110px;object-fit:contain;background:white;border:1px solid #d5e2ed;border-radius:12px}[data-pr-previews] button{width:100%;font-size:11px;white-space:normal}.pd-document-meta{padding:16px;border:1px solid #d5e2ed;border-radius:16px;margin-bottom:16px}.pd-pages{display:flex;flex-direction:column;gap:20px}.pd-pages figure{margin:0;text-align:center}.pd-pages img{max-width:100%;height:auto;border-radius:12px;box-shadow:0 3px 18px #16384e18}.pd-pages figcaption{color:#648096;font-size:12px;margin:8px}.pd-dialog-actions{position:sticky;bottom:0;display:flex;gap:10px;padding:12px 0;background:#f6fbff}.pd-plan p{overflow-wrap:anywhere}.people-layout>.people-detail:has(.pd-desk){overflow:hidden;padding:20px;display:flex;flex-direction:column}.people-layout>.people-detail .pd-desk{flex:1}.people-layout>.people-detail:has(.pd-desk)>[data-pt-source]{display:none}.people-layout .people-list{display:flex;flex-direction:column;gap:8px}.people-layout .people-list>.list{overflow:auto;flex:1;min-height:0}.people-layout .people-list>.space{margin-top:0}.pd-desk button:focus-visible{outline:3px solid #d3b416;outline-offset:2px}
@media(min-width:1000px){.people-layout{grid-template-columns:310px minmax(0,1fr)!important}.pd-profile>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pd-profile>.form-grid>.wide{grid-column:span 3}}
@media(max-width:900px){.pd-frame{grid-template-columns:minmax(0,1fr) 148px}.pd-tabs{padding-left:10px}.pd-tabs button{font-size:13px}.pd-settings{grid-template-columns:1fr}}

.pd-manager-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:7px;max-height:220px;overflow:auto;padding:10px 0;margin-bottom:18px}.pd-manager-people button{display:flex;flex-direction:column;align-items:flex-start;white-space:normal;text-align:left;min-height:56px}.pd-manager-people small{font-size:10px;color:#648096}.pd-manager-people button[hidden],.pd-participants label[hidden]{display:none!important}

.pd-offline-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pd-header p{margin:0}.pd-header h2{line-height:1.25}

.pd-short{display:none}



.pd-pages figure{overflow:auto;max-height:75dvh;touch-action:pan-x pan-y pinch-zoom}.pd-pages figure.pd-zoom img{max-width:none;width:1500px;height:auto}.pd-pages figcaption{position:sticky;left:0;background:#f6fbff;padding:6px}.pd-pages figcaption button{margin-left:10px;font-size:12px;padding:6px 12px}

/* People sidebar width, rather than monitor width, determines readable rows. */
html.web-ui body[data-page=users] .people-layout .people-list>.list{display:flex!important;flex-direction:column;gap:8px;overflow:auto!important;min-height:0;max-height:none;align-items:stretch}
html.web-ui body[data-page=users] .people-layout .people-list>.list>.row{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:3px;flex:none;align-items:center;min-width:0;min-height:70px;padding:10px}
html.web-ui body[data-page=users] .people-list .row>.avatar{grid-row:1/3;width:38px;height:38px}
html.web-ui body[data-page=users] .people-list .row>.text{grid-column:2;min-width:0;line-height:1.35}
html.web-ui body[data-page=users] .people-list .row>.badge{grid-column:2;justify-self:start;max-width:100%;padding:2px 7px}
html.web-ui body[data-page=users] .people-list>:not(.list){flex-shrink:0}
html.web-ui body[data-page=users] .people-list{overflow:hidden!important}
html.web-ui body[data-page=users] .people-list .row .muted{display:block;overflow-wrap:anywhere}
@media(max-width:700px),(pointer:coarse){
 .pd-standalone,.people-layout>.people-detail:has(.pd-desk){padding:12px}
 .people-layout[data-people-detail=false]>.people-detail:has(.pd-desk){display:none}
 .pd-desk{gap:10px}
 .pd-header{padding-bottom:10px}
 .pd-header h2{font-size:17px}
 .pd-header .badge{font-size:10px;white-space:normal}
 .pd-frame{display:flex;flex-direction:column;gap:10px}
 .pd-tabs{order:-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:0;padding:0;gap:7px}
 .pd-tabs button{min-height:38px;padding:7px 8px;font-size:11px;text-align:center;justify-content:center}
 .pd-content{padding:0}
 .pd-record-grid{grid-template-columns:1fr}
 .pd-section-title{align-items:flex-start;gap:8px;margin-bottom:10px}
 .pd-section-title h2{font-size:19px}
 .pd-section-title button{font-size:12px;max-width:135px;min-height:38px}
 .pd-stats{gap:6px;margin-bottom:10px}
 .pd-stats article{padding:5px 7px}
 .pd-stats strong{font-size:21px}
 .pd-stats span{font-size:10px}
 .pd-tools{flex-wrap:wrap}
 .pd-tools input{width:100%;flex-basis:100%;padding:9px 12px;height:38px;min-height:38px;font-size:13px}
 .pd-profile>.form-grid{grid-template-columns:1fr 1fr}
 .pd-profile>.form-grid>.wide{grid-column:span 2}
 .pd-profile .field-value{min-height:70px;padding:12px}
 .pd-profile .field-value p{overflow-wrap:anywhere}
 .pd-due-row{grid-template-columns:1fr auto}
 .pd-due-row>span:first-of-type{grid-row:2}
 .pd-due-row>span:last-child{grid-column:2;grid-row:1/3}
 .pd-settings article{padding:14px}
 #editor:has(.pd-document),#editor:has(#pr-record-form),#editor:has(#pr-plan-form){width:calc(100% - 16px);max-height:calc(100dvh - 20px);padding:14px;overflow:auto!important}
 #pr-record-form .form-grid,#pr-plan-form .form-grid{grid-template-columns:1fr}
 #pr-record-form .wide,#pr-plan-form .wide{grid-column:auto}
 .pd-header .eyebrow,.pd-section-title .eyebrow{display:none}
 .pd-header p.small{font-size:11px;margin-top:3px}
 .pd-header>div{gap:8px}
 .pd-record{min-height:120px;padding:12px}
 .pd-record h3{margin:10px 0 5px}
 .pd-status{font-size:10px;margin:8px 0;line-height:1.2}
 .pd-offline-actions button{font-size:12px}
 .pd-short{display:inline}
 .pd-long{display:none}
}
