/* Local, responsive 12-column widget canvas. Collapsed widgets clip content; Show more expands into the page, never a nested scroll area. */
.dw-page{max-width:100%;margin:0 auto}.dw-page *,.dw-editor *{box-sizing:border-box}.dw-hero{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(115deg,#102c46,#15475c);color:#fff;border-radius:22px;padding:30px 34px;margin:12px 0 18px;overflow:hidden}.dw-hero h1{color:#fff;font-size:clamp(26px,3vw,38px);margin:8px 0}.dw-hero p{color:#d8e8ee;margin:8px 0 15px}.dw-eyebrow{font-size:11px;letter-spacing:2px;color:#8fd9ea;font-weight:750}.dw-hero-meta{display:flex;gap:18px;font-size:12px;color:#b7d3de;flex-wrap:wrap}.dw-hero-mark{border:1px solid #68acbb55;border-radius:26px;background:#ffffff09;padding:19px;transform:rotate(-8deg);margin-right:14px}.dw-hero-mark .material-symbols-rounded{font-size:64px;color:#88d2dc}.dw-attention-strip{padding:13px 18px;display:flex;justify-content:space-between;gap:18px;align-items:center;background:#f1f7fb;border:1px solid #dbe7ef;border-radius:12px;font-size:13px;margin-bottom:22px}.dw-attention-strip>div{display:flex;align-items:center;gap:10px}.dw-attention-strip a{font-weight:700;white-space:nowrap}.dw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0 12px;flex-wrap:wrap}.dw-toolbar h2{font-size:22px;margin:0 0 4px}.dw-toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dw-toolbar-actions .button{font-size:13px;min-height:38px}.dw-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:80px;gap:16px;align-items:stretch}.dw-widget{grid-column:span var(--dw-width,4);grid-row:span var(--dw-height,3);min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #dde7ee;background:#fff;border-radius:17px;box-shadow:0 4px 18px #112e4206;position:relative;overflow:hidden}.dw-widget[hidden],.dw-editor [hidden]{display:none!important}.dw-widget-head{display:flex;align-items:center;gap:9px;padding:17px 18px 13px;flex-shrink:0;min-width:0}.dw-widget-head>.material-symbols-rounded{color:#238b9c;font-size:22px}.dw-widget-head h2{font-size:15px;line-height:1.3;margin:0;flex:1;min-width:0;color:#14354b}.dw-widget-body{padding:0 18px 17px;overflow:clip;overscroll-behavior:auto;flex:1;min-height:0}.dw-widget-body p{font-size:13px;line-height:1.5}.dw-widget-controls{display:none;gap:5px;align-items:center;padding:6px 10px 10px;background:#f5f9fc;flex-wrap:wrap;flex-shrink:0}.dw-widget-controls label{font-size:10px;display:flex;align-items:center;gap:4px;color:#425767}.dw-widget-controls select{font:inherit;max-width:90px;padding:4px;min-height:28px;border:1px solid #cddbe5;border-radius:6px;background:white}.dw-widget-controls button{border:1px solid #cddbe5;background:white;border-radius:6px;width:28px;height:28px;cursor:pointer;color:#204559}.dw-editing .dw-widget-controls{display:flex}.dw-drag-grip{display:none;color:#78909f;font-size:22px}.dw-editing .dw-drag-grip{display:inline}.dw-editing .dw-widget-head{cursor:grab;touch-action:none;background:#f5f9fc}.dw-editing .dw-widget{border-style:dashed;border-color:#90b7c8}.dw-widget-head:focus-visible{outline:3px solid #39a2c2;outline-offset:-3px}.dw-edit-help{font-size:13px;background:#eaf7fa;border:1px solid #bedfe7;border-radius:10px;padding:12px 16px}.dw-feedback{font-size:13px;color:#286251;margin:8px 0 12px;min-height:0}.dw-feedback:empty{display:none}.dw-feedback.dw-error{color:#9f2424;background:#fff0ef;padding:12px;border:1px solid #eec3c3;border-radius:8px}.dw-library{background:#f1f7fa;border:1px solid #cddfe9;border-radius:15px;padding:18px;margin-bottom:18px}.dw-library-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dw-library-head h3{margin:0}.dw-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.dw-library-grid button{display:flex;text-align:left;gap:10px;align-items:center;border:1px solid #d7e4eb;background:white;padding:13px;border-radius:10px;cursor:pointer;color:#15384b}.dw-library-grid button>span:not(.material-symbols-rounded){flex:1}.dw-library-grid button strong{display:block;font-size:13px}.dw-library-grid button small{display:block;color:#697c89;font-size:11px;line-height:1.4;margin-top:4px}.dw-library-grid button:disabled{opacity:.55;cursor:default}.dw-text-button{border:0;background:transparent;color:#17657d;font:inherit;font-weight:650;font-size:12px;padding:7px 8px;cursor:pointer}.dw-icon-button{border:1px solid #dce6ee;background:#fff;border-radius:8px;font-size:23px;line-height:1;width:30px;height:30px;color:#284d62;cursor:pointer}.dw-resize-handle{display:none;position:absolute;bottom:0;right:0;width:24px;height:24px;border:0;background:linear-gradient(135deg,transparent 45%,#2b8799 46%,#2b8799 53%,transparent 54%,transparent 64%,#2b8799 65%,#2b8799 73%,transparent 74%);cursor:nwse-resize;touch-action:none}.dw-editing .dw-resize-handle{display:block}.dw-dragging{opacity:.5}.dw-drop-target{outline:3px solid #2f96aa;outline-offset:-4px;background:#f2fbfc}.dw-drag-ghost{position:fixed;z-index:10000;pointer-events:none;background:#15394f;color:#fff;border-radius:8px;padding:14px 18px;box-shadow:0 10px 25px #122d4c44;font:600 14px system-ui}.dw-highlight{display:flex;gap:12px;align-items:center;margin:2px 0 16px}.dw-highlight>strong{font-size:43px;letter-spacing:-1.5px;color:#12394d;font-weight:750;line-height:1}.dw-highlight>span{font-size:12px;color:#667f8c;max-width:170px;line-height:1.4}.dw-highlight>strong.dw-money{font-size:31px}.dw-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:5px 0 22px}.dw-stat-pair strong{font-size:35px;color:#183e52;line-height:1}.dw-stat-pair span{display:block;font-size:11px;line-height:1.4;color:#718591;margin-top:7px}.dw-note{font-size:11px!important;color:#6b7f8d;line-height:1.5}.dw-empty{color:#697f8e;font-size:13px;line-height:1.6;background:#f6f9fb;border-radius:10px;padding:14px}.dw-link{display:flex;justify-content:space-between;gap:10px;color:#16788c;text-decoration:none;font-size:12px;font-weight:700;margin-top:14px;padding:8px 0}.dw-list-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf2f6;padding:12px 0;text-decoration:none;color:#29495d;font-size:13px}.dw-list-item>span:not(.material-symbols-rounded):not(.dw-event-dot){flex:1;min-width:0}.dw-list-item strong{font-size:12px;line-height:1.45;display:block;overflow-wrap:anywhere}.dw-list-item small{display:block;font-size:11px;color:#6f8492;line-height:1.5;margin-top:4px}.dw-list-item .material-symbols-rounded{color:#4293a4;font-size:21px}.dw-list-item.dw-tone-danger .material-symbols-rounded{color:#c35a50}.dw-list-item.dw-tone-warning .material-symbols-rounded{color:#b48a36}.dw-list-item:last-child{border-bottom:0}.dw-bars{display:grid;gap:9px}.dw-bars a{display:block;color:#4c6374;font-size:11px;text-decoration:none}.dw-bars a>span{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}.dw-bars i{display:block;height:5px;background:#edf3f6;border-radius:8px;overflow:hidden}.dw-bars em{display:block;height:100%;background:#2d96a8;border-radius:8px}.dw-coverage>span{display:flex;justify-content:space-between;font-size:12px;margin-bottom:6px}.dw-coverage progress{width:100%;height:9px;accent-color:#2c97a8}.dw-backup-visual{display:flex;gap:18px;align-items:center;margin:10px 0 18px}.dw-backup-visual>.material-symbols-rounded{font-size:53px;background:#edf6f8;border-radius:18px;color:#2b8ba0;padding:11px}.dw-backup-visual strong{display:block;font-size:39px;color:#264f64}.dw-backup-visual span:not(.material-symbols-rounded){display:block;font-size:11px;color:#66808e}.dw-source-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:13px}.dw-source{display:flex;gap:9px;background:#f6f9fc;border-radius:9px;padding:11px}.dw-source .material-symbols-rounded{font-size:20px;color:#8b98a3}.dw-source.dw-state-good .material-symbols-rounded{color:#258b6b}.dw-source.dw-state-warning .material-symbols-rounded{color:#b28030}.dw-source strong{display:block;font-size:12px}.dw-source small{font-size:10px;line-height:1.5;display:block;color:#6b7c89}.dw-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dw-shortcuts a{display:flex;flex-direction:column;gap:8px;background:#f4f8fb;border:1px solid #e6eef3;padding:12px;border-radius:10px;font-size:11px;text-decoration:none;color:#2c596f}.dw-shortcuts .material-symbols-rounded{font-size:24px;color:#418ca0}.dw-notice{padding:14px;border-left:3px solid #64a7b5;margin-bottom:12px;background:#f3f9fa;border-radius:0 8px 8px 0;font-size:13px}.dw-notice p{font-size:12px;line-height:1.6}.dw-calendar-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:9px}.dw-calendar-toolbar h3{font-size:17px;flex:1;margin:0 2px;color:#25485f}.dw-calendar-filter{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px;margin:9px 0 12px;font-size:10px;color:#66818e}.dw-calendar-filter label{white-space:nowrap;flex:0 1 auto;display:flex;align-items:center;gap:5px}.dw-calendar-filter select{width:auto;min-width:0;font:inherit;padding:3px 5px;border:1px solid #e0e9ef;border-radius:5px;background:#fff;max-width:180px}.dw-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.dw-weekday{text-align:center;font-size:10px;font-weight:700;color:#8a9ca7;padding:3px}.dw-day{background:#f8fafc;border:1px solid #edf2f6;border-radius:7px;min-height:43px;position:relative;text-align:left;padding:6px 8px;color:#395369;cursor:pointer;font-family:inherit}.dw-day:hover{background:#eff7fa;border-color:#8dbecb}.dw-day-number{font-size:11px;font-weight:600}.dw-today{border-color:#67aab9}.dw-selected{background:#e8f5f8;border-color:#2a889a;box-shadow:inset 0 0 0 1px #2a889a}.dw-day-count{position:absolute;top:6px;right:6px;font-size:9px;color:#6d8794}.dw-day-dots{display:flex;gap:3px;margin-top:5px}.dw-event-dot{display:inline-block;width:7px;height:7px;min-width:7px;border-radius:100%;background:#73909d}.dw-cat-tickets{background:#4b87cc}.dw-cat-security,.dw-cat-risks{background:#ce7169}.dw-cat-suppliers{background:#b486ce}.dw-cat-inventory{background:#3da89a}.dw-cat-roadmap,.dw-cat-requests{background:#c5a355}.dw-cat-notices{background:#798cbd}.dw-calendar-detail{border-top:1px solid #e4edf2;padding-top:11px;margin-top:12px;max-height:none;overflow:visible}.dw-day-label{font-size:12px;color:#2f5369}.dw-calendar-event{display:flex;gap:8px;align-items:center;padding:10px 0;text-decoration:none;color:#345a6f;border-bottom:1px solid #eef3f6}.dw-calendar-event>span{flex:1;min-width:0}.dw-calendar-event strong{font-size:11px;display:block;overflow-wrap:anywhere}.dw-calendar-event small{display:block;font-size:10px;line-height:1.5;color:#758897;margin-top:3px}.dw-calendar[aria-busy=true]{opacity:.65}.dw-template-sample{padding:15px 3px;text-align:center;color:#8298a6}.dw-template-sample>.material-symbols-rounded{font-size:35px;display:block;color:#5f9aad;margin-bottom:10px}.dw-template-sample>strong{display:block;color:#486e82;font-size:15px}.dw-template-sample p{font-size:12px!important}.dw-template-sample small{font-size:10px}.dw-sample-month{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:20px 0}.dw-sample-month span{font-size:11px;background:#f0f6fa;border-radius:6px;min-height:40px;padding:8px}.dw-sample-month i{display:block;background:#3ca7ae;width:5px;height:5px;border-radius:50%;margin:4px auto}.dw-sample-bar{height:8px;margin:13px 0;background:#e8f1f6;border-radius:8px}.dw-sample-bar.short{width:65%}.dw-empty-dashboard{padding:30px;text-align:center;background:#f1f7fa;border-radius:14px}.dw-editor:not(.dw-ready) .dw-toolbar-actions{display:none}.dw-busy .dw-grid{pointer-events:none;opacity:.7}
@media(max-width:1100px){.dw-widget{grid-column:span min(var(--dw-width),12)}.dw-toolbar-actions{gap:5px}.dw-widget-head{padding:14px}.dw-widget-body{padding:0 14px 14px}.dw-widget-controls{gap:3px}.dw-hero{padding:24px}}
@media(max-width:760px){.dw-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:70px;gap:12px}.dw-widget{grid-column:span 12!important;grid-row:span var(--dw-height,3)}.dw-toolbar{align-items:flex-start}.dw-hero-mark{display:none}.dw-hero{padding:22px}.dw-hero h1{font-size:26px}.dw-hero-meta{gap:8px}.dw-attention-strip{align-items:flex-start;flex-direction:column;gap:7px}.dw-toolbar-actions .button{font-size:12px;padding:8px 12px}.dw-widget-controls label{font-size:11px}.dw-calendar-toolbar h3{font-size:15px}.dw-day{padding:5px;min-height:40px}.dw-day-number{font-size:10px}.dw-day-count{right:3px;top:4px;font-size:8px}.dw-calendar-filter>span{font-size:9px}.dw-note{font-size:10px!important}.dw-source-list{grid-template-columns:1fr}.dw-resize-handle{display:none!important}.dw-library-grid{grid-template-columns:1fr}.dw-highlight>strong{font-size:37px}}
@media(prefers-reduced-motion:reduce){.dw-editor *{scroll-behavior:auto!important;transition:none!important}}
@media print{.dw-toolbar-actions,.dw-widget-controls,.dw-resize-handle,.dw-library,.dw-edit-help{display:none!important}.dw-grid{display:block}.dw-widget{break-inside:avoid;margin:12px 0;height:auto}.dw-widget-body{overflow:visible}.dw-widget-head{cursor:default}.dw-hero{color:#173c50;background:white;border:1px solid #ddd}.dw-hero h1{color:#173c50}}

.dw-icon{width:1em;height:1em;flex-shrink:0;vertical-align:middle;box-sizing:content-box}.dw-template-sample>.dw-icon{margin:0 auto 10px}.dw-backup-visual>.dw-icon{font-size:34px}.dw-widget:target{outline:2px solid #318b9a;outline-offset:3px}

/* Override inherited headings without overriding other portal areas. */
.dw-page .dw-widget-head h2,.dw-editor .dw-widget-head h2{font-size:16px}.dw-page .dw-hero h1{font-size:clamp(26px,3vw,38px)}.dw-page .dw-hero{margin-top:12px}.dw-editor .dw-widget-body{scrollbar-gutter:auto}.dw-editor .dw-widget-body:focus-visible{outline:2px solid #318b9a;outline-offset:-3px}

.dw-widget{scroll-margin-top:90px}
@media(max-width:760px){.dw-widget[data-widget="calendar"]{grid-row:span 8}}

/* v33.17: scroll the document, not individual cards. Expansion is transient, not a saved resize. */
.dw-widget-content{display:flow-root;min-width:0;overflow-wrap:anywhere}
.dw-widget.dw-expanded{grid-row:span var(--dw-expanded-rows,var(--dw-height,3))!important}
.dw-widget-more{flex:none;border-top:1px solid #e6eef2;background:linear-gradient(0deg,#f7fafc,#fff);padding:3px 14px}
.dw-widget-more button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:6px 4px;border:0;background:transparent;color:#17657d;font:650 12px system-ui;cursor:pointer}
.dw-widget-more button:focus-visible{outline:2px solid #318b9a;outline-offset:1px;border-radius:5px}
.dw-widget-more [data-more-icon]{font-size:22px;line-height:1}
.dw-posture-setting{display:none;gap:6px;font-size:12px;color:#436272;margin:4px 0 12px;flex-direction:column}
.dw-editing .dw-posture-setting{display:flex}
.dw-posture-setting select{width:100%;max-width:100%;border:1px solid #ccdee7;border-radius:7px;padding:8px;background:white;color:#254d60;font-size:12px}
.dw-posture-title{font-size:14px!important;line-height:1.4;margin:3px 0 14px;color:#274d60}
.dw-posture-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.dw-posture-metrics strong{display:block;font-size:24px;line-height:1.2;color:#153e52;white-space:nowrap}
.dw-posture-metrics strong small{font-size:12px;font-weight:500;color:#67818e}
.dw-posture-metrics span{display:block;font-size:10px;color:#67818e;margin-top:4px}
.dw-posture-radar{display:block;width:100%;max-width:440px;height:auto;margin:6px auto 0}
.dw-radar-label{font:600 11px system-ui;fill:#244a5d}.dw-radar-scale{font:10px system-ui;fill:#839aa6}
.dw-radar-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;font-size:10px;color:#66818e;margin-bottom:12px}
.dw-radar-legend span{display:flex;align-items:center;gap:5px}.dw-radar-legend i{display:inline-block;width:18px;border-top:3px solid #188b9d}.dw-radar-legend i.target{border-top:2px dashed #6e8190}
.dw-posture-domains{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 12px}
.dw-posture-domains a{display:flex;align-items:center;gap:7px;padding:7px 0;border-bottom:1px solid #edf2f6;font-size:11px;text-decoration:none;color:#2d5366;min-width:0}
.dw-posture-domains a>span:nth-child(2){flex:1}.dw-domain-number{background:#eff6f8;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;flex:none;font-size:10px}
.dw-domain-score{font-size:10px;white-space:nowrap;border-radius:4px;padding:3px 5px;background:#f1f5f8;color:#587181}
.dw-domain-green{color:#196d54;background:#eaf6f0}.dw-domain-amber{color:#855e1c;background:#fff5df}.dw-domain-red{color:#984b46;background:#fcf0ed}
@media(max-width:760px){.dw-posture-metrics strong{font-size:22px}.dw-posture-domains{grid-template-columns:1fr}}
@media print{.dw-widget-more{display:none!important}.dw-widget-body{overflow:visible!important}.dw-widget{display:block;overflow:visible}}
/* v33.18 service overview widgets. No nested vertical scroll areas. */
.dw-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.1rem 0 1rem}.dw-service-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.dw-service-metric{display:flex;flex-direction:column;gap:.35rem;padding:.9rem;border:1px solid #dbe4ef;border-radius:12px;background:linear-gradient(130deg,#f3f8ff,#fff);text-decoration:none;color:inherit;min-width:0}.dw-service-metric strong{font-size:clamp(1.25rem,2.4vw,2rem);line-height:1.15;color:#123f6d;overflow-wrap:anywhere}.dw-service-metric span{font-size:.78rem;line-height:1.4}.dw-service-metric:hover{border-color:#6394bd}.dw-period-table{display:grid;gap:0;font-size:.84rem}.dw-period-table>div{display:grid;grid-template-columns:minmax(0,1fr) 65px 65px;gap:.4rem;padding:.55rem 0;border-bottom:1px solid #e3eaf2}.dw-period-table a{font-weight:750;text-align:center}.dw-period-head{font-weight:700;color:#526982}.dw-period-head span:not(:first-child){text-align:center}.dw-license-list{display:grid;gap:.9rem}.dw-license{display:grid;gap:.4rem;text-decoration:none;color:inherit;padding:.65rem 0;border-bottom:1px solid #e1e9f1;min-width:0}.dw-license strong{overflow-wrap:anywhere;font-size:.95rem}.dw-license span{display:flex;flex-wrap:wrap;gap:.3rem 1rem;justify-content:space-between;font-size:.77rem;color:#46627f}.dw-license progress{width:100%;height:7px;accent-color:#147a90}.dw-service-freshness{font-size:.8rem;margin:.8rem 0}.dw-service-freshness summary{cursor:pointer;font-weight:650}.dw-service-alert{border-left:3px solid #b77811;background:#fff8e8;padding:.65rem;font-size:.8rem;color:#77510b}.dw-subheading{font-size:.86rem;margin:1rem 0 .3rem}.cipp-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem}.cipp-settings-grid label{display:flex;flex-direction:column;gap:.3rem}.cipp-settings-grid input,.cipp-settings-grid select,.cipp-settings-grid textarea{max-width:100%;width:100%;box-sizing:border-box}.cipp-settings-grid .span-full{grid-column:1/-1}.cipp-rows td,.cipp-rows th{overflow-wrap:anywhere}.cipp-rows code{font-size:.72rem}.cipp-readme{max-width:85ch}.huntress-activity-table th,.huntress-activity-table td{vertical-align:top}.huntress-activity-table td:first-child{min-width:180px}.huntress-activity-table small{display:block}.dw-widget[data-w="3"] .dw-service-grid-three{grid-template-columns:1fr}.dw-widget[data-w="3"] .dw-service-metric strong{font-size:1.5rem}@media(max-width:650px){.cipp-settings-grid{grid-template-columns:1fr}.dw-service-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.dw-service-metric{padding:.7rem .5rem}.dw-service-metric strong{font-size:1.35rem}.dw-service-metric span{font-size:.72rem}}
.dw-widget[data-widget="m365"],.dw-widget[data-widget="huntress"]{container-type:inline-size}@container(max-width:340px){.dw-service-grid-three{grid-template-columns:1fr}.dw-service-metric strong{font-size:1.4rem}.dw-period-table>div{grid-template-columns:minmax(0,1fr) 44px 44px}}

/* Keep the new integration editor inside the available width beside the admin rail. */
@media (min-width:1100px){body.cipp-admin-page .page-shell{width:min(1280px,calc(100% - 296px));margin-right:20px}body.cipp-admin-page.jit_admin_rail_collapsed-active .page-shell{width:min(1280px,calc(100% - 116px))}}
.admin-shell-page .cipp-rows td:last-child{white-space:normal;min-width:170px}.cipp-rows td:last-child small{display:block;margin-top:.35rem}.cipp-rows td:last-child select{width:100%;min-width:0}.cipp-rows{table-layout:auto;width:100%}

/* v33.20: cached Microsoft Secure Score, no nested widget scrolling. */
.dw-secure-score{border-bottom:1px solid #dce5ed;margin-bottom:1rem;padding-bottom:1rem}
.dw-score-summary{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.dw-score-summary p{margin:.25rem 0}.dw-score-gauge{position:relative;display:grid;place-items:center;flex:0 0 120px;width:120px;height:120px;text-decoration:none;color:inherit}
.dw-score-gauge svg{position:absolute;inset:0;width:120px;height:120px;transform:rotate(-90deg)}
.dw-score-gauge strong{font-size:1.45rem}.dw-score-track,.dw-score-value{fill:none;stroke-width:9}.dw-score-track{stroke:#e5edf3}.dw-score-value{stroke:#087e8b;stroke-linecap:round}
.dw-score-change{font-weight:700}.dw-score-change.up{color:#176546}.dw-score-change.down{color:#9b343e}
.dw-score-trend{width:100%;height:auto;min-height:100px;margin:.7rem 0;overflow:visible}.dw-score-trend text{font:12px system-ui,sans-serif;fill:#526776}.dw-score-grid{stroke:#dfe7ee;stroke-dasharray:3 4}.dw-score-line{stroke:#087e8b;stroke-width:2.5}.dw-score-point{fill:#087e8b;stroke:white;stroke-width:1.5}.dw-score-point:hover,.dw-score-trend a:focus circle{r:7;fill:#d16e26}
.cipp-identity-products{display:flex;gap:.35rem;flex-wrap:wrap}.cipp-identity-products a{font-size:.8rem;border:1px solid #ccdce9;border-radius:6px;padding:.2rem .4rem;text-decoration:none}
@media(max-width:520px){.dw-score-summary{gap:.6rem}.dw-score-gauge{flex-basis:100px;width:100px;height:100px}.dw-score-gauge svg{width:100px;height:100px}}

/* Role-specific default editor. */
.dw-template-selector{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 12px}.dw-template-selector label{font-weight:700}.dw-template-selector select{min-width:220px;max-width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b4d}
@media(max-width:600px){.dw-template-selector select{width:100%;min-width:0}}
/* v33.21: standalone score heading is supplied by the card; full licence-page heading remains. */
.dw-widget[data-widget="m365_secure_score"] .dw-secure-score>h3{display:none}
.dw-widget[data-widget="m365_secure_score"] .dw-secure-score{border-bottom:0;margin-bottom:0;padding-bottom:0}
/* The template editor must fit beside, not underneath, the fixed admin navigation. */
@media(min-width:1100px){body.admin-shell-page.widget-dashboard-page .page-shell{width:min(1280px,calc(100% - 296px));margin-right:20px}body.admin-shell-page.widget-dashboard-page.jit_admin_rail_collapsed-active .page-shell{width:min(1280px,calc(100% - 116px))}}

/* v33.22: readable identity licences, compact exposure state. */
#identity-table{table-layout:fixed;min-width:1380px;width:100%}
#identity-table .identity-name-col{width:12%}#identity-table .identity-email-col{width:16%}
#identity-table .identity-billing-col{width:7%}#identity-table .identity-coverage-col{width:7%}
#identity-table .identity-hibp-col{width:6%}#identity-table .identity-licences-col{width:27%}
#identity-table .identity-sat-col{width:7%}#identity-table .identity-assets-col{width:10%}#identity-table .identity-actions-col{width:8%}
#identity-table .identity-hibp-cell{text-align:center;white-space:nowrap;padding-left:8px;padding-right:8px}
#identity-table td{overflow-wrap:anywhere}#identity-table .identity-hibp-ok{background:#edf3f7;color:#345064}
#identity-table .cipp-identity-products{display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;min-width:0;max-width:100%}
#identity-table .cipp-identity-products a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;box-sizing:border-box;font-size:.82rem;line-height:1.6}
#identity-table .cipp-identity-products a:focus{outline:2px solid currentColor;outline-offset:1px}
#recorded-score-history{margin-top:16px}#recorded-score-history>summary{cursor:pointer;padding:12px;background:#f1f6fa;border-radius:8px;font-weight:700}
/* Narrow non-licence columns must not bleed badges into their neighbours. */
#identity-table td:nth-child(3) .status-pill,
#identity-table td:nth-child(4) .status-pill,
#identity-table td:nth-child(8) .status-pill{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}

/* v33.23 compact identity product labels (full text is available on hover/focus). */
#identity-table{min-width:1200px}
#identity-table .identity-email-col{width:17%}#identity-table .identity-licences-col{width:18%}
#identity-table .identity-billing-col{width:9%}#identity-table .identity-coverage-col{width:9%}
#identity-table .identity-sat-col{width:8%}#identity-table .identity-assets-col{width:11%}#identity-table .identity-actions-col{width:10%}
.cipp-user-dialog{border:1px solid #ccdae5;border-radius:14px;width:min(900px,calc(100vw - 48px));max-height:85vh;padding:24px;color:#19364b}
.cipp-user-dialog::backdrop{background:rgba(11,29,45,.62)}
.av-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.av-review-grid label{display:flex;flex-direction:column;gap:8px}.av-review-grid textarea{min-height:110px}
.av-evidence dd{margin:4px 0 14px;overflow-wrap:anywhere;white-space:pre-wrap}.av-evidence dt{font-weight:700}
.huntress-activity-table td{vertical-align:top}.huntress-activity-table small{display:block;margin-top:5px}
.huntress-activity-table th:nth-child(3),.huntress-activity-table th:nth-child(4){min-width:155px}
/* One scrolling modal body, with Close always reachable. No nested table scroll trap. */
.cipp-user-dialog{overflow:hidden;position:relative}
.cipp-dialog-close{position:absolute;right:16px;top:12px;z-index:2;float:none;background:#fff}
.cipp-user-dialog [data-cipp-modal-content]{max-height:calc(85vh - 48px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
.cipp-user-dialog .cipp-license-users>h2,.cipp-user-dialog .cipp-license-users>.eyebrow{padding-right:65px}
.cipp-user-dialog .table-wrap{max-height:none;overflow:visible}
.cipp-assigned-users{width:100%;table-layout:fixed}.cipp-assigned-users th:first-child{width:50px}
.cipp-assigned-users td{overflow-wrap:anywhere}

.cipp-user-dialog .cipp-license-users>.eyebrow{display:block}

/* RC5: recorded project progress with personal pins. No nested widget scrolling. */
.dw-project-toolbar { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.dw-project-card { border:1px solid #d8e8ef; border-left:3px solid #209db5; border-radius:12px; padding:15px; margin:0 0 12px; background:#f8fbfd; min-width:0; }
.dw-project-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.dw-project-heading a { font-size:14px; font-weight:750; color:#154a63; overflow-wrap:anywhere; min-width:0; }
.dw-project-status { border-radius:7px; background:#e7f2f8; color:#28536a; padding:4px 7px; font-size:10px; white-space:nowrap; }
.dw-project-progress { display:flex; justify-content:space-between; font-size:11px; gap:8px; margin:14px 0 5px; color:#526f80; }
.dw-project-progress strong { color:#163b50; }
.dw-project-card progress { display:block; width:100%; height:8px; border:0; border-radius:8px; accent-color:#179fbb; background:#dceaf0; }
.dw-project-card progress::-webkit-progress-bar { background:#dceaf0; border-radius:8px; }
.dw-project-card progress::-webkit-progress-value { background:#179fbb; border-radius:8px; }
.dw-project-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 14px; font-size:10px; color:#506f80; margin-top:11px; }
.dw-project-meta span { overflow-wrap:anywhere; }
.dw-project-health { font-weight:700; }
.dw-project-health.health-green { color:#19664b; }
.dw-project-health.health-red,.dw-project-error { color:#a73432; }
.dw-project-health.health-amber,.dw-project-overdue { color:#865707; }
.dw-project-dialog { padding:0; border:1px solid #c3dce7; border-radius:20px; width:min(660px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); color:#16354a; box-shadow:0 24px 80px #112d4550; }
.dw-project-dialog[open] { display:flex; flex-direction:column; }
.dw-project-dialog::backdrop { background:#102d4390; }
.dw-project-dialog-head,.dw-project-dialog-foot { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 22px; background:#f3f8fb; flex-shrink:0; }
.dw-project-dialog-head { border-bottom:1px solid #dce7ed; }
.dw-project-dialog-head h2 { margin:0; font-size:22px; }
.dw-project-dialog-body { padding:10px 22px; overflow-y:auto; min-height:0; }
.dw-project-dialog-foot { border-top:1px solid #dce7ed; }
.dw-project-search { display:block; font-size:12px; font-weight:650; margin:16px 0; }
.dw-project-search input { width:100%; margin-top:7px; }
.dw-project-choice { display:flex; align-items:flex-start; gap:12px; padding:14px 4px; border-bottom:1px solid #e2edf3; cursor:pointer; }
.dw-project-choice[hidden] { display:none; }
.dw-project-choice input { flex:0 0 18px; width:18px; height:18px; margin:1px 0; }
.dw-project-choice span { min-width:0; }
.dw-project-choice strong { font-size:13px; display:block; overflow-wrap:anywhere; }
.dw-project-choice small { display:block; font-size:11px; margin-top:5px; color:#597889; }
/* RC7: native top-layer modal must stay in the viewport, never relative to the document. */
html body .cipp-user-dialog { position:fixed; inset:0; margin:auto; transform:none; width:min(900px,calc(100vw - 32px)); height:fit-content; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); padding:0; box-sizing:border-box; overflow:hidden; }
html body .cipp-user-dialog[open] { display:flex; flex-direction:column; }
html body .cipp-user-dialog:not([open]) { display:none; }
html body .cipp-user-dialog .cipp-modal-header { position:static; display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; background:#f4f9fc; border-bottom:1px solid #dbe7ef; }
html body .cipp-user-dialog .cipp-dialog-close { position:static; margin:0; flex:0 0 auto; }
html body .cipp-user-dialog [data-cipp-modal-content] { padding:20px; min-height:0; flex:1 1 auto; max-height:none; overflow:auto; overscroll-behavior:contain; }
html body .cipp-user-dialog .cipp-license-users>h2,html body .cipp-user-dialog .cipp-license-users>.eyebrow { padding-right:0; }
@media(max-width:600px) { html body .cipp-user-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); } html body .cipp-user-dialog [data-cipp-modal-content] { padding:14px; } }
/* JIT index v1: accessible source colours with explicit text/values. */
.jit-secure-score{container-type:inline-size;--jit-ms:#2876d2;--jit-id:#7547d9;--jit-md:#06837a;--jit-sat:#bd6810;color:var(--text,#17243b)}
.jit-secure-score h3{margin:.1rem 0 .4rem}.jit-score-status{display:inline-block;padding:.25rem .5rem;border-radius:2rem;background:#edf2fa;color:#263e65;margin:.3rem 0}
.jit-score-summary{display:flex;align-items:center;gap:1.5rem;margin:1rem 0 1.3rem;flex-wrap:wrap}.jit-score-gauge{position:relative;display:grid;place-items:center;width:164px;height:164px;flex:none;text-decoration:none!important;color:inherit}
.jit-score-gauge svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.jit-score-ring-track,.jit-score-segment{fill:none;stroke-width:10;stroke-linecap:butt}.jit-score-ring-track{stroke:#e8edf4}.jit-score-segment{stroke:var(--jit-colour)}.jit-score-base{opacity:.15}.jit-score-unknown{--jit-colour:#788596;opacity:.28}.jit-score-gauge>span{text-align:center;z-index:1}.jit-score-gauge strong{display:block;font-size:2.15rem;letter-spacing:-.06em;line-height:1.1}.jit-score-gauge small{display:block;max-width:112px;font-size:.7rem;line-height:1.3;margin:.35rem auto 0}
.jit-score-readout{flex:1;min-width:145px}.jit-score-readout>strong{font-size:1.1rem}.jit-score-readout p{font-size:.84rem;margin:.5rem 0;line-height:1.5}
.jit-score-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.jit-score-card{border:1px solid #dbe4ef;border-top:4px solid var(--jit-colour);border-radius:.8rem;padding:.8rem;background:#fff;min-width:0;color:#17243b}
.jit-score-microsoft{--jit-colour:#2876d2}.jit-score-itdr{--jit-colour:#7547d9}.jit-score-mdr{--jit-colour:#06837a}.jit-score-sat{--jit-colour:#bd6810}.jit-score-card header{display:flex;flex-direction:column;gap:.25rem}.jit-score-card header strong{font-size:.86rem}.jit-score-card header span{font-size:.68rem;color:#526178}.jit-score-numbers{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem;flex-wrap:wrap;margin:.6rem 0}.jit-score-numbers b{font-size:1.2rem;color:var(--jit-colour)}.jit-score-numbers>span{font-size:.72rem}.jit-score-bar{height:6px;border-radius:4px;background:#e9edf3;overflow:hidden}.jit-score-bar i{display:block;height:100%;background:var(--jit-colour);border-radius:4px}.jit-score-card p{font-size:.73rem;line-height:1.45;margin:.5rem 0 0}.jit-score-warning{text-transform:capitalize;font-weight:700;color:#874408}.jit-score-method{margin-top:1rem;font-size:.8rem;line-height:1.55}.jit-score-method summary{cursor:pointer;font-weight:700}.jit-score-method p{margin:.65rem 0}
@container(max-width:360px){.jit-score-cards{grid-template-columns:1fr}.jit-score-summary{justify-content:center}.jit-score-readout{min-width:100%;text-align:center}}
@media(max-width:420px){.jit-score-cards{grid-template-columns:1fr}}

/* Compact dashboard keeps all four percentages in view; detailed evidence is one click away. */
.jit-score-compact-note{display:none}
.jit-score-compact .jit-score-gauge{width:120px;height:120px}
.jit-score-compact .jit-score-gauge strong{font-size:1.8rem}
.jit-score-compact .jit-score-gauge small{max-width:86px;font-size:.66rem}
.jit-score-compact .jit-score-summary{gap:1rem;margin:.6rem 0 .9rem}
.jit-score-compact .jit-score-card{padding:.65rem}
.jit-score-compact .jit-score-card>p{display:none}
.jit-score-compact .jit-score-card>.jit-score-warning{display:block}
.jit-score-compact .jit-score-method,.jit-score-compact .jit-score-scope{display:none}
.jit-score-compact .jit-score-compact-note{display:block}
.dw-widget .jit-score-compact>h3{display:none}
