/* Web-only drawers and item pages. All hidden records have an accessible page. */
html.web-ui body [data-workspace-page-hidden],html.web-ui body .workspace-replaced-pager{display:none!important}
html.web-ui body .workspace-page-nav{display:flex!important;flex:none;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding-top:8px;border-top:1px solid #e0e7ef;color:#526a7e;font-size:12px!important}
html.web-ui body .workspace-page-nav[hidden]{display:none!important}
html.web-ui body .workspace-page-nav button{flex:none;min-height:34px!important;border:1px solid #d3dfea;border-radius:12px!important;background:#fff;padding:7px 12px!important;font-size:13px!important;color:#233a4e;cursor:pointer}
html.web-ui body .workspace-page-nav button:disabled{opacity:.35;cursor:default}
html.web-ui body .workspace-page-nav span{text-align:center;font-size:12px!important}
html.web-ui body .workspace-paged-grid{display:grid!important;grid-template-columns:repeat(var(--workspace-page-columns,2),minmax(0,1fr))!important;grid-template-rows:repeat(var(--workspace-page-rows,2),minmax(0,1fr))!important;gap:12px!important;min-height:0!important;height:var(--workspace-page-height,100%)!important;max-height:var(--workspace-page-height,100%)!important;overflow:clip!important;align-content:stretch!important}
html.web-ui body .workspace-paged-grid>*{min-width:0!important;min-height:0!important;grid-column:auto!important;grid-row:auto!important}
html.web-ui body .workspace-paged-flow{min-height:0;max-height:var(--workspace-page-height);overflow:clip!important}
html.web-ui body dialog.workspace-drawer{position:fixed!important;inset:0 0 0 auto!important;box-sizing:border-box!important;margin:0!important;width:min(760px,calc(100vw - 28px))!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;padding:24px!important;border:1px solid #cfdeea!important;border-right:0!important;border-radius:28px 0 0 28px!important;background:linear-gradient(150deg,#fff 0,#fff 55%,#f4f8fb 100%)!important;color:#20384b!important;box-shadow:-16px 0 48px #17364f24!important;overflow:clip!important;display:none!important;transform:translateX(102%);opacity:0;transition:transform .3s cubic-bezier(.22,.85,.28,1),opacity .2s;text-align:left!important;isolation:isolate}
html.web-ui body dialog.workspace-drawer[open]{display:flex!important;flex-direction:column!important;gap:16px!important;transform:translateX(0);opacity:1;animation:workspace-drawer-enter .3s cubic-bezier(.22,.85,.28,1) both}
@starting-style{html.web-ui body dialog.workspace-drawer[open]{transform:translateX(102%);opacity:0}}
html.web-ui body dialog.workspace-drawer::backdrop{background:#17364f22!important;backdrop-filter:blur(2px)}
html.web-ui body dialog.workspace-drawer>:is(header,.dialog-head,.team-heading){display:flex!important;flex:none!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0!important;padding:0 0 16px!important;border-bottom:1px solid #dde7ef!important}
html.web-ui body dialog.workspace-drawer>:is(h2,h3){flex:none;margin:0;padding:0 42px 12px 0;border-bottom:1px solid #dde7ef}
html.web-ui body dialog.workspace-drawer h2{font-size:23px!important;line-height:1.3!important;font-weight:750!important;margin:0!important;text-align:left!important;overflow-wrap:break-word}
html.web-ui body dialog.workspace-drawer h3{font-size:17px!important;line-height:1.35!important;text-align:left!important}
html.web-ui body dialog.workspace-drawer>:is(header,.dialog-head,.team-heading) button{flex:none!important;width:auto!important;min-width:40px!important;min-height:40px!important;margin:0!important;padding:7px 12px!important;border:1px solid #cedce7;border-radius:12px!important;background:#f6f9fc;font-size:15px!important}
html.web-ui body dialog.workspace-drawer>.x,html.web-ui body dialog.workspace-drawer>[data-range-close]{position:absolute!important;inset:17px 18px auto auto!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:12px!important;font-size:24px!important;z-index:3}
html.web-ui body .workspace-drawer-body{flex:1 1 0!important;min-height:0!important;min-width:0!important;width:100%!important;display:block!important;overflow:clip!important;align-content:start!important;justify-content:flex-start!important;font-size:14px!important;text-align:left!important}
html.web-ui body .workspace-drawer-body>:first-child{margin-top:0}
html.web-ui body .workspace-drawer-body :is(form,.form-grid,.form-row){min-height:0!important;align-content:start!important;gap:12px!important}
html.web-ui body .workspace-drawer-body form{margin:0!important}
html.web-ui body .workspace-drawer-body :is(.form-grid,.form-row,.module-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.web-ui body .workspace-drawer-body :is(label,input,select,textarea,button,p,small){font-size:14px!important;line-height:1.4!important;word-break:normal!important;overflow-wrap:break-word!important}
html.web-ui body .workspace-drawer-body label{margin:0!important}
html.web-ui body .workspace-drawer-body :is(input:not([type=checkbox]):not([type=radio]),select){height:42px!important;min-height:42px!important;padding:8px 11px!important;text-align:left!important;border-radius:11px!important}
html.web-ui body .workspace-drawer-body textarea{height:88px!important;min-height:64px!important;max-height:100px!important;resize:none!important;padding:10px 12px!important;border-radius:12px!important;text-align:left!important}
html.web-ui body .workspace-drawer-body p{margin:0 0 12px!important}
html.web-ui body .workspace-drawer-body :is(.actions,.dialog-actions){display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px 0 0!important;align-items:center!important}
html.web-ui body .workspace-drawer-body :is(.error,[role=alert]):empty{display:none!important}
html.web-ui body .workspace-drawer-body table{table-layout:fixed;width:100%;font-size:13px;border-collapse:collapse}
html.web-ui body .workspace-drawer-body :is(th,td){overflow-wrap:anywhere;padding:8px!important}
html.web-ui body .workspace-drawer-body :is(th,td):first-child{width:68px}
html.web-ui body .workspace-drawer-body :is(.info-field-table,.personal-layout-list,.assignment-list,.raw-data,.list,.cr-requests){height:auto!important;max-height:none!important;overflow:visible!important}
html.web-ui body .workspace-drawer-body .personal-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;height:auto!important;overflow:visible!important}
html.web-ui body .workspace-drawer-body .personal-card-block{grid-column:auto!important;min-height:0!important;height:auto!important;padding:14px!important;border-radius:18px!important;border:1px solid #d5e3ed!important;background:#f6f9fc!important;text-align:left!important}
html.web-ui body .workspace-drawer-body .personal-card-block h3{margin:0 0 10px!important;text-align:left!important}
html.web-ui body .workspace-drawer-body .card-block-person{padding:7px 0!important;min-height:0!important;text-align:left!important}
html.web-ui body .workspace-drawer-body .card-block-person :is(b,small,span){text-align:left!important;line-height:1.4!important;font-size:14px!important}
html.web-ui body .workspace-drawer-body :is(.team-grid,.team-action-grid){align-content:start!important;justify-content:stretch!important}
html.web-ui body .workspace-drawer-body .team-choice{height:100%!important;min-height:0!important;border-radius:20px!important;padding:16px!important;background:#edf7f1!important;gap:10px!important;text-align:center!important}
html.web-ui body .workspace-drawer-body .team-choice :is(b,small,em){font-size:15px!important;line-height:1.35!important;text-align:center!important;overflow-wrap:break-word!important}
html.web-ui body .workspace-drawer-body .team-choice b{font-size:19px!important;font-weight:750}
html.web-ui body .workspace-drawer-body .team-choice-caption{padding:8px!important;border-radius:12px!important;background:#ffffffbf!important;text-shadow:none!important}
html.web-ui body .workspace-drawer-body .team-count{font-size:13px!important;padding:6px 10px!important;border-radius:10px!important}
html.web-ui body .workspace-drawer-body .team-photo{height:140px!important;max-height:140px!important;border-radius:16px!important}
html.web-ui body .workspace-drawer-body :is(.folder-reference,.team-photo)>img,html.web-ui body .workspace-drawer-body>img{max-width:100%;max-height:160px;object-fit:contain}
html.web-ui body .workspace-drawer-body .team-check{justify-content:flex-start!important;text-align:left!important;padding:10px!important}
html.web-ui body .workspace-drawer-body .team-check input{width:20px!important;height:20px!important;flex:none!important}
html.web-ui body dialog.workspace-drawer>:is(footer,.team-footer){display:flex!important;flex:none!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important;padding-top:12px!important;border-top:1px solid #dde7ef!important;font-size:14px!important}
html.web-ui body dialog.workspace-drawer>:is(footer,.team-footer) button{min-height:38px!important;border-radius:12px!important;font-size:14px!important;padding:7px 12px!important}
html.web-ui body dialog.workspace-drawer .gallery-metadata,html.web-ui body dialog.workspace-drawer dl{margin:0!important}
html.web-ui body dialog.workspace-drawer dl>div{padding:10px 12px!important;border-bottom:1px solid #e2eaf0;display:grid;grid-template-columns:minmax(110px,32%) minmax(0,1fr);gap:12px;font-size:14px!important}
html.web-ui body dialog.workspace-drawer :is(dt,dd){min-width:0;overflow-wrap:anywhere;margin:0!important;text-align:left!important;font-size:14px!important}
html.web-ui body dialog.workspace-drawer dl>div>dt{grid-column:1}
html.web-ui body dialog.workspace-drawer dl>div>dd{grid-column:2}
html.web-ui body .workspace-text-part{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
html.web-ui body [data-workspace-text-unit]{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
/* The planning rules editor owns its pages and preserves its draft. Keep each
   required-group checkbox and minimum on one readable row inside that page. */
html.web-ui body .workspace-drawer-body .team-job-rules[data-manual-paged]{display:grid!important;gap:8px!important;align-content:start!important}
html.web-ui body .workspace-drawer-body .team-job-rules input[type=checkbox]{width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;padding:0!important}
html.web-ui body .workspace-drawer-body .team-job-rules :is(.team-rules-help,.team-rules-status){font-size:12px!important;line-height:16px!important;margin:0!important}
html.web-ui body .workspace-drawer-body .team-job-rules .team-rule-row{grid-template-columns:minmax(0,1fr) 156px!important;gap:10px!important}
html.web-ui body .workspace-drawer-body .team-job-rules .team-rule-row>label:last-child{display:grid!important;grid-template-columns:60px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;font-size:12px!important}
html.web-ui body .workspace-drawer-body .team-job-rules .team-rule-row input[type=number]{height:36px!important;min-height:36px!important;padding:5px!important;font-size:14px!important}
@media(max-width:760px){html.web-ui body dialog.workspace-drawer{width:calc(100vw - 12px)!important;padding:18px!important;border-radius:22px 0 0 22px!important;gap:12px!important}html.web-ui body dialog.workspace-drawer h2{font-size:20px!important}html.web-ui body .workspace-drawer-body :is(.form-grid,.form-row,.module-grid,.personal-card-grid){grid-template-columns:1fr!important}html.web-ui body .workspace-drawer-body .wide{grid-column:auto!important}}
@media(max-height:600px){html.web-ui body dialog.workspace-drawer{padding:14px 18px!important;gap:10px!important}html.web-ui body dialog.workspace-drawer>:is(header,.dialog-head,.team-heading){padding-bottom:10px!important}html.web-ui body dialog.workspace-drawer h2{font-size:20px!important}html.web-ui body .workspace-drawer-body textarea{height:68px!important;min-height:58px!important}html.web-ui body .workspace-drawer-body .team-photo{height:100px!important;max-height:100px!important}}
@media(prefers-reduced-motion:reduce){html.web-ui body dialog.workspace-drawer{transition:none!important;animation:none!important}html.web-ui body dialog.workspace-drawer::backdrop{backdrop-filter:none}}
@media(max-height:360px){
 html.web-ui body dialog.workspace-drawer{padding:8px 12px!important;gap:6px!important}
 html.web-ui body dialog.workspace-drawer>:is(header,.dialog-head,.team-heading){padding-bottom:6px!important;min-height:0!important}
 html.web-ui body dialog.workspace-drawer h2{font-size:16px!important}
 html.web-ui body dialog.workspace-drawer>:is(header,.dialog-head,.team-heading) button{height:28px!important;min-height:28px!important;min-width:30px!important;padding:3px 7px!important}
 html.web-ui body dialog.workspace-drawer>:is(footer,.team-footer){gap:6px!important;padding-top:6px!important}
 html.web-ui body dialog.workspace-drawer>:is(footer,.team-footer) button{height:28px!important;min-height:28px!important;padding:3px 8px!important;font-size:12px!important}
 html.web-ui body .workspace-drawer-body .team-job-rules[data-manual-paged]{gap:4px!important}
 html.web-ui body .workspace-drawer-body .team-job-rules .team-check{padding:4px!important;line-height:20px!important}
 html.web-ui body .workspace-drawer-body .team-job-rules :is(.team-rules-help,.team-rules-status){font-size:12px!important;line-height:14px!important}
 html.web-ui body .workspace-drawer-body .team-job-rules .team-rule-row input[type=number]{height:28px!important;min-height:28px!important;padding:3px!important}
}

@keyframes workspace-drawer-enter{from{transform:translateX(102%);opacity:0}to{transform:translateX(0);opacity:1}}
