/* The document owns scrolling; the public wizard never creates a nested viewport. */
html:has(body.pips-public) { height:auto; min-height:100%; }
body.pips-public { margin:0; min-height:100vh; min-height:100svh; height:auto; padding:0 !important; display:flex; flex-direction:column; }
body.pips-public > header { position:relative; inset:auto; flex:none; }
body.pips-public > main { flex:1 0 auto; display:flex; flex-direction:column; min-width:0; height:auto !important; overflow:visible !important; }
body.pips-public > .footer { position:static; inset:auto; flex:none; width:100%; margin-top:auto; white-space:normal; line-height:1.5; }
body.pips-public .footer > div { gap:.25rem 1rem; }
body.pips-public .navbar-brand { min-width:0; }
body.pips-public .navbar-brand img { max-width:34vw; object-fit:contain; }
body.pips-public .navbar .container-fluid { gap:.5rem; }
body.pips-verification .split-container { flex:1 0 auto; min-height:calc(100svh - 7.5rem); height:auto; width:100%; overflow:visible; }
body.pips-verification .split-panel { min-width:0; }
body.pips-verification .split-container:hover .split-panel,
body.pips-verification .split-container .split-panel:hover { filter:none; transform:none; }
body.pips-verification .panel-left { flex:0 0 40%; min-height:0; }
body.pips-verification .panel-right.wizard-content { flex:1; width:auto; height:auto; min-height:0; overflow:visible; padding:clamp(1rem,2.5vw,2.5rem); }
body.pips-verification .verification-wizard { width:100%; max-width:760px; min-width:0; margin:0; overflow:visible; }
body.pips-verification .wizard-step,
body.pips-verification .wizard-step.allow-scroll,
body.pips-verification #step-details,
body.pips-verification #step-complete { width:100%; min-width:0; height:auto; max-height:none; overflow:visible; padding-right:0; }
body.pips-verification .complete-summary,
body.pips-verification .analysis-summary,
body.pips-verification .match-explanation { max-height:none; overflow:visible; }
body.pips-public .gated-panel,
body.pips-public .gated-success,
body.pips-public #persal-feedback { min-width:0; overflow-wrap:anywhere; }
body.pips-verification .button-group { display:flex; flex-wrap:wrap; gap:.5rem; }
body.pips-verification .button-group > .btn { flex:1 1 140px; white-space:normal; }
body.pips-verification .verification-wizard .btn { white-space:normal; max-width:100%; }
body.pips-verification .verification-wizard img,
body.pips-verification .verification-wizard video,
body.pips-verification .verification-wizard canvas { max-width:100%; }
body.pips-verification .verification-wizard .form-floating { min-width:0; }
body.pips-public #recaptcha-container[hidden] { display:none !important; }
body.pips-public #recaptcha-container { margin:.75rem auto; width:100%; }
body.pips-login .login-wrapper { flex:1 0 auto; height:auto; min-height:min(42rem,calc(100svh - 8rem)); }
body.pips-login .login-showcase { padding:clamp(2rem,4vw,5rem); }
body.pips-login .login-showcase h1 { font-size:clamp(2rem,3vw,3.2rem); }
body.pips-login .login-form-wrapper { padding:clamp(1.5rem,3vw,3rem); min-width:0; }
body.pips-login .banner-strip-fixed { position:static; inset:auto; flex:none; width:100%; padding:.7rem 1rem; }
body.pips-login .sa-banner-logos { gap:clamp(.75rem,3vw,2.5rem); }
body.pips-login .sa-banner-logos img { max-height:clamp(25px,3vw,40px); max-width:20vw; }
body.pips-login #greeting { font-size:clamp(1.6rem,2.5vw,2.2rem); }
@media (max-width:1100px) {
    body.pips-verification .split-container .panel-left { display:none; }
    body.pips-verification .split-container { min-height:calc(100svh - 9rem); }
    body.pips-verification .split-container .panel-right { padding:1rem; justify-content:flex-start; }
}
@media (max-width:992px) {
    body.pips-login .login-wrapper { flex-direction:column; min-height:0; }
    body.pips-login .login-showcase,
    body.pips-login .login-form-wrapper { width:100%; min-height:0; }
    body.pips-login .login-showcase { padding:5rem 1.5rem 1.5rem; }
    body.pips-login .login-showcase p { font-size:1rem; max-width:none; }
    body.pips-login .login-form-wrapper { padding:2rem 1.5rem; }
}
@media (max-width:575px) {
    body.pips-verification .split-container .panel-right { padding:.75rem; }
    body.pips-verification .verification-wizard .card-body { padding:1rem !important; }
    body.pips-verification #progress-title { font-size:1.1rem; }
    body.pips-public .form-floating > label { max-width:100%; }
    body.pips-public .footer small { font-size:.72rem; }
}
@media (prefers-reduced-motion:reduce) {
    body.pips-public *, body.pips-public *::before, body.pips-public *::after { animation:none !important; transition:none !important; }
    body.pips-public .fade-in, body.pips-public .login-wrapper, body.pips-public .wizard-step.active { opacity:1 !important; transform:none !important; }
}

/* Administrator navigation collapses on phones/tablets; counts remain in the menu. */
body.pips-admin { margin:0; min-height:100svh; overflow:visible; }
body.pips-admin .main-wrapper { height:auto; min-height:calc(100svh - 70px); min-width:0; }
body.pips-admin .topbar { position:sticky; top:0; left:auto; width:100%; height:auto; min-height:80px; padding:1rem 1.5rem; flex-wrap:wrap; gap:.75rem; }
body.pips-admin .page-title { font-size:clamp(1.3rem,2vw,2rem); margin:0; }
body.pips-admin .main-content { overflow:visible; min-width:0; padding:1.5rem; }
body.pips-admin .sa-banner-strip { position:static; inset:auto; width:100%; min-height:60px; height:auto; padding:.75rem; }
body.pips-admin .sa-banner-logos { flex-wrap:wrap; gap:1rem; }
body.pips-admin .sa-banner-logos img { max-height:40px; max-width:18vw; }
body.pips-admin .dashboard-grid > *, body.pips-admin .main-column, body.pips-admin .sidebar-column { min-width:0; }
body.pips-admin .nav-link { gap:.2rem; min-width:0; }
body.pips-admin [data-enquiry-badge] { flex:none; }
body.pips-admin .admin-profile-dropdown, body.pips-admin .topbar > div { min-width:0; max-width:100%; }
body.pips-admin .admin-profile-dropdown .nav-link { padding:.25rem 0; overflow-wrap:anywhere; }
@media (max-width:991.98px) {
    body.pips-admin { padding-left:0; }
    body.pips-admin .sidebar { width:min(280px,90vw); z-index:1045; height:100dvh; }
    body.pips-admin .topbar { padding:.75rem 1rem; }
    body.pips-admin .main-content { padding:1rem; }
}

@media (max-width:767px) {
    body.pips-public .verification-wizard .form-control, body.pips-public .verification-wizard .form-select, body.pips-login .form-control-custom { font-size:16px; }
}

/* Preserve the original green/orange administration theme. Bootstrap's responsive
   offcanvas uses transparent !important backgrounds above lg; override that rule. */
body.pips-admin .sidebar.offcanvas-lg { background-color:var(--admin-sidebar-bg) !important; color:var(--admin-sidebar-text); }
body.pips-admin .sidebar-nav .nav-link { color:var(--admin-sidebar-text); }
body.pips-admin .sidebar-nav .nav-link:hover,
body.pips-admin .sidebar-nav .nav-link:focus-visible,
body.pips-admin .sidebar-nav .nav-link.active { color:#fff; }

/* Landing changes are isolated from verification and administration. */
body.pips-landing .split-container:hover .split-panel,
body.pips-landing .split-container .split-panel:hover { filter:none; transform:none; }
body.pips-landing .split-panel { transition:background-color .15s ease; }
body.pips-landing .split-container .panel-right:hover { border:0; box-shadow:none; }
body.pips-landing .panel-left { background:linear-gradient(145deg,#006052,#003c35); }
body.pips-landing .flip-card:hover { transform:none; }
body.pips-landing .panel-right { position:relative; padding-bottom:6.5rem; }
body.pips-landing .landing-legends { position:absolute; left:1rem; right:1rem; bottom:1.25rem; text-align:center; }
body.pips-landing .landing-legends img { width:155px; max-width:60%; height:auto; max-height:70px; object-fit:contain; }
body.pips-public .pips-home-link { margin-left:auto; white-space:nowrap; }
body.pips-public .gated-query-form select { width:100%; min-width:0; text-overflow:ellipsis; }
body.pips-public .gated-query-form [hidden] { display:none !important; }
body.pips-public .gated-query-form [aria-invalid="true"] { border-color:#b02a37; }
@media (max-width:575px) {
 body.pips-public .pips-home-link { font-size:.75rem; padding:.4rem; }
 body.pips-public .navbar-brand { margin-right:0; }
}

body.pips-login .btn-close-login { width:auto; min-width:40px; gap:.5rem; padding:.6rem .8rem; border-radius:.5rem; font-size:.9rem; text-decoration:none; }
body.pips-landing .btn-start:hover { transform:none; box-shadow:0 2px 6px rgba(0,77,64,.18); }

/* v12: the viewport is the shell; only the content region owns scrolling. */
html:has(body.pips-public), html:has(body.pips-admin) { height:100%; min-height:0; overflow:hidden; }
body.pips-public { height:100vh; height:100dvh; min-height:0; overflow:hidden; display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
body.pips-public > header { position:relative; inset:auto; z-index:1031; }
body.pips-public > main { height:auto !important; min-height:0; min-width:0; overflow:auto !important; overscroll-behavior:contain; }
body.pips-public > .footer { position:relative; inset:auto; margin:0; z-index:1030; }
body.pips-public .split-container { min-height:100%; height:auto; overflow:visible; flex:1 0 auto; }
body.pips-login { grid-template-rows:minmax(0,1fr) auto; }
body.pips-login .login-wrapper { min-height:0; flex:1 0 auto; }
body.pips-login .btn-close-login { width:40px; height:40px; padding:0; border-radius:50%; font-size:1.8rem; }
body.pips-login .banner-strip-fixed { margin-top:auto; }

body.pips-verification .panel-left { flex:0 0 34%; }
body.pips-verification .panel-right.wizard-content { display:flex; flex-direction:column; justify-content:flex-start; gap:.75rem; padding:1rem clamp(1rem,2vw,2rem); }
body.pips-verification .pips-panel-nav { width:100%; flex:none; text-align:left; }
body.pips-verification .pips-panel-nav .pips-home-link { margin-left:0; }
body.pips-verification .verification-wizard { width:100%; max-width:1120px; margin-block:auto; }
body.pips-verification .wizard-step { flex:none; }
body.pips-verification .verification-wizard .btn-start { padding:.65rem 1.1rem; font-size:1rem; }
body.pips-verification .gated-panel { margin-top:.5rem; }
body.pips-verification .gated-query-form .form-label { margin-bottom:.2rem; }
body.pips-verification .gated-query-form > .mb-2 { margin-bottom:0 !important; }
body.pips-verification .gated-query-form { display:grid; grid-template-columns:minmax(0,1fr); gap:.65rem .9rem; }
body.pips-verification .gated-query-form > * { min-width:0; }
body.pips-verification .gated-query-form #gated-query-feedback:empty { display:none; }
body.pips-verification .gated-query-form #btn-send-gated-query { grid-column:1/-1; }
@media (min-width:900px) {
 body.pips-verification .gated-query-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.pips-verification .gated-query-form .pips-query-wide { grid-column:1/-1; }
 body.pips-verification .gated-query-form .form-label { font-size:.78rem; }
 body.pips-verification .gated-query-form #gated-query-message { min-height:72px; }
 body.pips-verification .gated-query-form .small { font-size:.78rem; line-height:1.35; }
}
@media (min-width:900px) and (max-height:820px) {
 body.pips-verification .panel-right.wizard-content { padding:.65rem 1rem; gap:.45rem; }
 body.pips-verification .verification-wizard { padding:1rem; }
 body.pips-verification #progress-title { font-size:1.25rem; margin-bottom:.5rem; }
 body.pips-verification .gated-panel { padding:.7rem; }
 body.pips-verification .gated-body { font-size:.8rem; line-height:1.35; margin-bottom:.5rem; }
 body.pips-verification .gated-query-form { gap:.45rem .75rem; }
 body.pips-verification .wizard-step > h5 { margin-bottom:.4rem; }
 body.pips-verification .wizard-step > p { margin-bottom:.6rem; }
}
@media (max-width:1100px) {
 body.pips-verification .split-container { min-height:100%; }
 body.pips-verification .panel-right.wizard-content { width:100%; }
}

/* Restore deliberate card motion, including touch/keyboard operation. */
body.pips-landing .flip-card { cursor:pointer; outline-offset:4px; }
body.pips-landing .flip-card:focus-visible { outline:2px solid #ffc107; border-radius:10px; }
body.pips-landing .flip-card .flip-card-inner { transform:rotateY(0); transition:transform .85s cubic-bezier(.22,.61,.36,1); }
body.pips-landing .flip-card.is-flipped .flip-card-inner { transform:rotateY(180deg); }
body.pips-landing .flip-card-back { display:flex; }
body.pips-landing .split-container .panel-right { box-shadow:inset 0 0 0 3px transparent; transition:box-shadow .3s ease; isolation:isolate; }
body.pips-landing .split-container .panel-right:hover,
body.pips-landing .split-container .panel-right:focus-within { border:0; box-shadow:inset 0 0 0 3px #47341f; }
body.pips-landing .landing-legends img { mix-blend-mode:multiply; }

/* Preserve navigation colours and keep the administrator shell visible too. */
body.pips-admin { display:grid; grid-template-rows:minmax(0,1fr) auto; height:100vh; height:100dvh; min-height:0; overflow:hidden; }
body.pips-admin .main-wrapper { display:grid; grid-template-rows:auto minmax(0,1fr); min-height:0; height:auto; overflow:hidden; }
body.pips-admin .topbar { position:relative; inset:auto; }
body.pips-admin .main-content { min-height:0; overflow:auto; overscroll-behavior:contain; }
body.pips-admin .sa-banner-strip { margin:0; }
body.pips-admin .sidebar { height:100dvh; }
button[aria-busy="true"], input[aria-busy="true"] { cursor:progress; }

/* Use available desktop width rather than stacking the short enquiry controls. */
@media (min-width:1200px) {
 body.pips-verification #step-persal:has(.gated-panel) { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); column-gap:.75rem; align-items:start; }
 body.pips-verification #step-persal:has(.gated-panel) > h5,
 body.pips-verification #step-persal:has(.gated-panel) > p { grid-column:1/-1; }
 body.pips-verification #step-persal:has(.gated-panel) > .form-floating { grid-column:1; grid-row:3; }
 body.pips-verification #step-persal:has(.gated-panel) > .d-grid { grid-column:2; grid-row:3; }
 body.pips-verification #step-persal:has(.gated-panel) #persal-feedback { grid-column:1/-1; grid-row:4; }
 body.pips-verification #step-persal:has(.gated-panel) #gated-query-container { grid-column:1/-1; grid-row:5; }
 body.pips-verification .gated-query-form { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body.pips-verification .gated-query-form > .pips-query-wide:first-child { grid-column:auto; }
 body.pips-verification .gated-query-form > div:has(#gated-query-message) { grid-column:1/-1; }
}
@media (min-width:900px) and (max-height:900px) {
 body.pips-verification .verification-wizard { padding:0; }
 body.pips-verification #wizard-card > .card-body { padding:1rem !important; }
}
@media (min-width:1200px) {
 body.pips-verification #step-persal:has(.gated-panel) #persal-feedback:empty { display:none; }
 body.pips-verification #step-persal:has(.gated-panel) #gated-query-container { margin-top:0 !important; }
 body.pips-verification .gated-query-form .pips-query-help { text-align:left; }
 body.pips-verification .gated-query-form #gated-query-message { min-height:56px; }
}

@media (min-width:1200px) and (max-height:820px) {
 /* The progress heading already identifies this step; avoid repeating it above an open enquiry. */
 body.pips-verification #step-persal:has(.gated-panel) > h5 { display:none; }
 body.pips-verification #step-persal:has(.gated-panel) > p { grid-row:1; }
 body.pips-verification #step-persal:has(.gated-panel) .gated-panel { margin-top:.25rem; }
}

/* Percentage padding used the whole wizard width and made the face preview too tall. */
body.pips-verification #step-biometrics .video-container { padding-top:0; aspect-ratio:4/3; width:100%; max-width:360px; }
@media (min-width:900px) {
 body.pips-verification .details-compact { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
 body.pips-verification .details-compact > .row { display:contents; }
 body.pips-verification .details-compact > .row > div { width:auto; max-width:100%; min-width:0; margin:0; padding:0; }
 body.pips-verification .details-compact #details-feedback,
 body.pips-verification .details-compact .details-section-label { grid-column:1/-1; }
 body.pips-verification .details-compact #details-feedback:empty { display:none; }
}

/* The verification panel carries the same restrained landing selection border. */
body.pips-verification .split-container .panel-right { box-shadow:inset 0 0 0 3px transparent; transition:box-shadow .3s ease; }
body.pips-verification .split-container .panel-right:hover,
body.pips-verification .split-container .panel-right:focus-within { box-shadow:inset 0 0 0 3px #47341f; }
@media (min-width:1200px) and (max-height:760px) {
 /* Preserve the compact laptop fit after widening the illustrated left panel. */
 body.pips-verification #wizard-card > .card-body { padding:.75rem !important; }
 body.pips-verification .gated-panel { padding:.55rem; }
 body.pips-verification .gated-query-form { gap:.35rem .65rem; }
 body.pips-verification .gated-query-form .form-label { font-size:.75rem; line-height:1.25; }
}

/* v14: a restrained Heritage background, confined to the verification right panel.
   The original artwork already contains its faint alpha mask (about 7%). */
body.pips-verification .panel-right.wizard-content {
 background-color:#faf9f4;
 background-image:url('/images/pips-coat-of-arms-watermark.png');
 background-position:center;
 background-repeat:no-repeat;
 background-size:min(78%,450px) auto;
}
body.pips-verification #wizard-card {
 background-color:rgba(255,255,255,.40);
 -webkit-backdrop-filter:none;
 backdrop-filter:none;
}

/* v28: one compact vertical navigation column. Bootstrap's .nav wraps by
   default; wrapping a height-constrained column created horizontal columns. */
body.pips-admin .sidebar{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;}
body.pips-admin .sidebar-header{flex:none;min-height:60px;padding:10px 14px;border-bottom-width:4px;gap:8px;}
body.pips-admin .sidebar-header img{height:32px;max-width:120px;padding:2px;object-fit:contain;}
body.pips-admin .sidebar-header .logo-text{font-size:18px;margin-left:3px;}
body.pips-admin .sidebar-nav.nav{display:flex!important;flex-flow:column nowrap!important;align-items:stretch;align-content:normal;flex:1 1 auto;min-height:0;min-width:0;width:100%;max-width:100%;margin:0;padding:10px 10px 12px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;list-style:none;}
body.pips-admin .sidebar-nav > .nav-item{display:block;flex:0 0 auto;width:100%;min-width:0;max-width:100%;margin:0;padding:0;}
body.pips-admin .sidebar-nav .nav-link{display:flex;align-items:center;gap:9px;width:100%;max-width:100%;min-width:0;min-height:36px;padding:7px 10px;margin:0 0 2px;border-radius:6px;font-size:13px;line-height:1.3;font-weight:500;white-space:normal;box-sizing:border-box;overflow-wrap:anywhere;}
body.pips-admin .sidebar-nav .nav-link .nav-icon,body.pips-admin .sidebar-nav .nav-link > i{width:17px;min-width:17px;flex:none;margin:0;font-size:14px;line-height:1;white-space:nowrap;text-align:center;}
body.pips-admin .sidebar-nav .nav-link > span:not([data-enquiry-badge]):not(.badge){min-width:0;}
body.pips-admin .sidebar-nav .nav-link [data-enquiry-badge],body.pips-admin .sidebar-nav .nav-link .badge{flex:none;margin-left:auto;font-size:10px;}
body.pips-admin .sidebar-nav .nav-link.active{font-weight:650;box-shadow:none;}
body.pips-admin .sidebar-nav .nav-section-title{display:block;flex:none;width:100%;min-width:0;margin:5px 0 3px;padding:7px 10px 3px;font-size:10px;line-height:1.3;letter-spacing:.6px;}
@media(min-width:992px) and (max-height:700px){
 body.pips-admin .sidebar-header{min-height:51px;padding:7px 12px;}
 body.pips-admin .sidebar-header img{height:29px;}
 body.pips-admin .sidebar-nav.nav{padding:7px 8px;}
 body.pips-admin .sidebar-nav .nav-link{min-height:31px;padding:5px 9px;margin-bottom:1px;font-size:12.5px;line-height:1.25;}
 body.pips-admin .sidebar-nav .nav-section-title{margin-top:3px;padding-top:5px;}
}
@media(max-width:991.98px){
 body.pips-admin .sidebar-nav .nav-link{min-height:44px;padding:9px 10px;}
 body.pips-admin .sidebar > .d-lg-none{padding:6px 10px!important;flex:none;}
}

/* e-PIPS v28 administrator help; public verification styles are unchanged. */
body.pips-admin .pips-help-trigger{display:inline-flex;align-items:center;gap:8px;min-height:42px;min-width:42px;margin-right:12px;padding:7px 11px;border:1px solid #b9cec3;border-radius:8px;background:#fff;color:#004d40;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap;cursor:pointer;}
body.pips-admin .pips-help-trigger b{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font-size:17px;}
body.pips-admin .pips-help-trigger:hover{background:#edf5ef;}
body.pips-admin.pips-help-open{overflow:hidden!important;}
body.pips-admin .pips-help-layer{--help-vw:100vw;--help-vh:100dvh;--help-x:0px;--help-y:0px;position:fixed;inset:0;z-index:12000;font-family:inherit;color:#203e33;}
body.pips-admin .pips-help-shade{position:fixed;inset:0;background:rgba(10,35,26,.2);}
body.pips-admin .pips-help-panel{position:fixed;display:flex;flex-direction:column;left:calc(var(--help-x) + (var(--help-vw) - min(430px,var(--help-vw) - 24px))/2);top:calc(var(--help-y) + 16px);width:min(430px,calc(var(--help-vw) - 24px));max-height:calc(var(--help-vh) - 32px);background:#fff;border:1px solid #c2d5c9;border-radius:14px;box-shadow:0 18px 65px #103b2940;overflow:hidden;}
body.pips-admin .pips-help-wide .pips-help-panel{width:min(850px,calc(var(--help-vw) - 24px));left:calc(var(--help-x) + (var(--help-vw) - min(850px,var(--help-vw) - 24px))/2);}
body.pips-admin .pips-help-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 10px;flex:none;}
body.pips-admin .pips-help-header h2{font-size:21px;line-height:1.3;font-weight:700;letter-spacing:-.3px;margin:3px 0 0;color:#004d40;}
body.pips-admin .pips-help-eyebrow{font-size:11px;letter-spacing:.5px;font-weight:600;color:#718477;}
body.pips-admin .pips-help-close{display:grid;place-items:center;flex:none;min-height:40px;width:40px;border:0;border-radius:8px;background:#edf4ef;color:#174c38;font-size:26px;cursor:pointer;}
body.pips-admin .pips-help-progress{flex:none;margin:0;padding:0 22px 12px;font-size:12px;color:#617b6b;}
body.pips-admin .pips-help-modes{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 12px;border-bottom:1px solid #e1eae4;flex:none;}
body.pips-admin .pips-help-button{border:1px solid #b9cec3;border-radius:7px;min-height:40px;padding:8px 12px;background:#fff;color:#174c38;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer;}
body.pips-admin .pips-help-button:hover{background:#edf5ef;}
body.pips-admin .pips-help-button:disabled{opacity:.45;cursor:default;}
body.pips-admin .pips-help-primary{background:#005744;color:#fff;border-color:#005744;}
body.pips-admin .pips-help-primary:hover{background:#004431;}
body.pips-admin .pips-help-content{flex:1 1 auto;min-height:0;padding:20px 22px;overflow:auto;overscroll-behavior:contain;font-size:14px;line-height:1.65;}
body.pips-admin .pips-help-content p{margin:0 0 14px;}
body.pips-admin .pips-help-lead{font-size:15px;line-height:1.7;color:#254b39;}
body.pips-admin .pips-help-note{font-size:12px;line-height:1.6;color:#657b6d;}
body.pips-admin .pips-help-choices{display:grid;gap:10px;margin:18px 0;}
body.pips-admin .pips-help-choices button{text-align:left;padding:12px 14px;}
body.pips-admin .pips-help-footer{flex:none;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #e1eae4;background:#f7faf7;}
body.pips-admin .pips-help-search-tools{padding:12px 18px 0;flex:none;}
body.pips-admin .pips-help-search-tools[hidden]{display:none;}
body.pips-admin .pips-help-search{width:100%;min-height:44px;border:1px solid #9cb7a6;border-radius:7px;padding:9px 11px;font-family:inherit;font-size:16px;color:#234e39;background:#fff;}
body.pips-admin .pips-help-manual-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;min-width:0;}
body.pips-admin .pips-help-chapters{display:flex;flex-direction:column;gap:5px;align-self:start;min-width:0;max-height:330px;overflow:auto;overscroll-behavior:contain;padding:2px;}
body.pips-admin .pips-help-chapter{border:0;background:transparent;color:#365e47;border-radius:6px;padding:9px 10px;min-height:40px;font-family:inherit;font-size:12px;line-height:1.4;text-align:left;cursor:pointer;}
body.pips-admin .pips-help-chapter:hover,body.pips-admin .pips-help-chapter[aria-current=true]{background:#eaf3ec;color:#004b38;font-weight:600;}
body.pips-admin .pips-help-article{min-width:0;overflow-wrap:anywhere;}
body.pips-admin .pips-help-article h3{margin:0 0 14px;font-size:20px;line-height:1.4;color:#004d40;}
body.pips-admin .pips-help-article h4{margin:19px 0 6px;font-size:14px;font-weight:700;color:#214b35;}
body.pips-admin .pips-help-highlight{outline:3px solid #bc9a3f!important;outline-offset:5px;}
body.pips-admin .pips-help-panel button:focus-visible,body.pips-admin .pips-help-panel input:focus-visible,body.pips-admin .pips-help-trigger:focus-visible{outline:3px solid #b39743;outline-offset:2px;}
body.pips-admin .pips-help-short .pips-help-eyebrow,body.pips-admin .pips-help-short .pips-help-modes{display:none;}
body.pips-admin .pips-help-short .pips-help-header{padding:9px 14px 4px;align-items:center;}
body.pips-admin .pips-help-short .pips-help-header h2{font-size:17px;}
body.pips-admin .pips-help-short .pips-help-progress{padding:0 14px 6px;font-size:11px;}
body.pips-admin .pips-help-short .pips-help-content{padding:10px 14px;}
body.pips-admin .pips-help-short .pips-help-footer{padding:7px 12px;}
@media(max-width:650px){
 body.pips-admin .pips-help-trigger{margin-right:6px;padding:6px;}
 body.pips-admin .pips-help-trigger span{display:none;}
 body.pips-admin .pips-help-panel,body.pips-admin .pips-help-wide .pips-help-panel{top:calc(var(--help-y) + 8px);max-height:calc(var(--help-vh) - 16px);border-radius:11px;}
 body.pips-admin .pips-help-header{padding:15px 16px 8px;}
 body.pips-admin .pips-help-header h2{font-size:19px;}
 body.pips-admin .pips-help-progress{padding-inline:16px;}
 body.pips-admin .pips-help-content{padding:16px;}
 body.pips-admin .pips-help-manual-grid{grid-template-columns:minmax(0,1fr);gap:16px;}
 body.pips-admin .pips-help-chapters{max-height:140px;border-bottom:1px solid #dce8df;padding-bottom:10px;}
 body.pips-admin .pips-help-short .pips-help-chapters{max-height:80px;}
}
@media print{
 html:has(body.pips-admin.pips-help-open){height:auto!important;overflow:visible!important;}
 body.pips-admin.pips-help-open{display:block!important;padding:0!important;height:auto!important;overflow:visible!important;}
 body.pips-admin.pips-help-open > *:not(.pips-help-layer){display:none!important;}
 body.pips-admin .pips-help-layer,body.pips-admin .pips-help-panel,body.pips-admin .pips-help-wide .pips-help-panel{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;}
 body.pips-admin .pips-help-shade,body.pips-admin .pips-help-modes,body.pips-admin .pips-help-progress,body.pips-admin .pips-help-close,body.pips-admin .pips-help-search-tools,body.pips-admin .pips-help-chapters,body.pips-admin .pips-help-footer{display:none!important;}
 body.pips-admin .pips-help-content{overflow:visible!important;}
 body.pips-admin .pips-help-manual-grid{display:block;}
}

/* v28.1: increase reading size and desktop spacing while retaining one column. */
body.pips-admin .sidebar-nav .nav-link{font-size:15px;min-height:40px;padding:9px 12px;margin-bottom:4px;}
body.pips-admin .sidebar-nav .nav-link .nav-icon,body.pips-admin .sidebar-nav .nav-link > i{font-size:16px;}
body.pips-admin .sidebar-nav .nav-section-title{font-size:12px;padding-inline:12px;}
@media(min-width:992px) and (max-height:700px){
 body.pips-admin .sidebar-nav .nav-link{font-size:14.5px;min-height:31px;padding:5px 11px;margin-bottom:1px;}
}
@media(max-width:991.98px){body.pips-admin .sidebar-nav .nav-link{min-height:44px;}}
body.pips-admin .pips-help-trigger{justify-content:center;flex:none;min-width:44px;min-height:44px;gap:0;padding:7px 9px 7px 7px;margin:0 5px 0 0;border:0;background:transparent;}
body.pips-admin .pips-help-panel{border:2px solid #00663f;}
body.pips-admin .pips-help-panel::after{content:"";position:absolute;inset:5px;border:1px solid #b08d40;border-radius:8px;pointer-events:none;z-index:2;}
@media print{body.pips-admin .pips-help-panel::after{display:none;}}

/* v28.2: shared header centre line; central help when there is room. */
body.pips-admin .topbar{align-items:center;}
body.pips-admin .topbar .page-title{margin:0;line-height:1.2;}
body.pips-admin .topbar > .d-flex{align-items:center!important;margin-left:auto;min-width:0;}
body.pips-admin .topbar .admin-profile-dropdown{display:flex;align-items:center;min-width:0;margin:0!important;}
body.pips-admin .topbar .admin-profile-dropdown > .dropdown-toggle{display:flex;align-items:center;min-height:44px;margin:0;padding-top:0;padding-bottom:0;line-height:1.2;}
body.pips-admin .topbar .profile-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;}
body.pips-admin .pips-help-trigger{width:44px;height:44px;padding:7px;align-items:center;justify-content:center;line-height:1;margin-right:5px;}
body.pips-admin .pips-help-trigger b{display:flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;margin:0;padding:0;}
body.pips-admin .pips-help-trigger.pips-help-centered{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;}

/* v28.3: consistent navigation columns, mobile header and complete thin borders. */
body.pips-admin .sidebar-nav.nav .nav-link{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto;column-gap:10px;align-items:center;justify-content:start;text-align:left;transform:none;}
body.pips-admin .sidebar-nav.nav .nav-link>i{grid-column:1;width:20px;min-width:20px;margin:0;justify-self:center;}
body.pips-admin .sidebar-nav.nav .nav-link>span:not([data-enquiry-badge]):not(.badge){grid-column:2;min-width:0;margin:0;text-align:left;}
body.pips-admin .sidebar-nav.nav .nav-link>[data-enquiry-badge],body.pips-admin .sidebar-nav.nav .nav-link>.badge{grid-column:3;justify-self:end;margin-left:0!important;}
body.pips-admin .sidebar-header{border-bottom:1px solid #d4ded7;}
body.pips-admin .pips-help-panel{border:1px solid #b7cbbf;}
body.pips-admin .pips-help-panel::after{display:none;}
body.pips-admin .main-content>.container,body.pips-admin .main-content>.container-fluid,body.pips-admin .main-content>.wizard-shell,body.pips-admin .main-content>.form-shell,body.pips-admin .main-content>.pips-analysis{width:100%!important;max-width:none!important;margin-inline:0;}
@media(max-width:991.98px){
 body.pips-admin .topbar{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:8px 12px;min-height:64px;align-items:center;flex-wrap:nowrap;}
 body.pips-admin .topbar>button[data-bs-toggle=offcanvas]{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important;font-size:0;line-height:1;min-width:44px;}
 body.pips-admin .topbar>button[data-bs-toggle=offcanvas]>i{font-size:18px;line-height:1;margin:0;}
 body.pips-admin .topbar>div:first-of-type{min-width:0;max-width:100%;align-self:center;}
 body.pips-admin .topbar .page-title{font-size:clamp(.95rem,3.7vw,1.1rem);line-height:1.25;overflow-wrap:anywhere;margin:0;}
 body.pips-admin .topbar>.d-flex{justify-self:end;align-items:center!important;flex-wrap:nowrap;margin:0;gap:0;}
 body.pips-admin .pips-help-trigger,body.pips-admin .pips-help-trigger.pips-help-centered{position:static!important;transform:none!important;left:auto;top:auto;width:44px;height:44px;min-width:44px;margin:0 5px 0 0;padding:7px;}
 body.pips-admin .topbar .admin-profile-dropdown>.dropdown-toggle{width:44px;min-width:44px;height:44px;padding:0!important;justify-content:center;gap:0;}
 body.pips-admin .topbar .profile-icon{margin:0;font-size:26px;}
 body.pips-admin .topbar .admin-profile-dropdown>.dropdown-toggle>span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
 body.pips-admin .topbar .admin-profile-dropdown>.dropdown-toggle::after{display:none;}
 body.pips-admin .sidebar>.d-lg-none{display:flex;align-items:center;justify-content:flex-end;width:100%;margin:0;}
 body.pips-admin .sidebar-nav.nav{padding-inline:10px;}
}

/* v31 approved workspace: green navigation; certificate frame only on right content pane. */
body.pips-approved-workspace{--admin-primary:#004d40;--admin-accent:#df8135;--pips-brown:#76573e;--pips-line:#dbe3de;background:#f5f7f5!important;padding-bottom:0!important;color:#172c25;}
body.pips-approved-workspace .sidebar{background:#004d40!important;border-right:1px solid #2e7162;}
body.pips-approved-workspace .sidebar-nav .nav-link{color:#ecf6f1!important;font-size:13.5px;min-height:38px;padding:8px 12px;margin-bottom:2px;border:1px solid transparent;}
body.pips-approved-workspace .sidebar-nav .nav-link.active{background:#176b55!important;color:#fff!important;border:1px solid #8ab8a7!important;border-radius:7px;box-shadow:none!important;}
body.pips-approved-workspace .sidebar-nav .nav-link.active::before{display:none!important;}
body.pips-approved-workspace .sidebar-nav .nav-link:hover{background:#155e50!important;color:#fff!important;}
body.pips-approved-workspace .sidebar-nav .nav-section-title{color:#b7d5cb;font-size:10px;letter-spacing:.8px;list-style:none;padding:12px 12px 6px;}
body.pips-approved-workspace .sidebar-header{border-bottom:1px solid #377668;}
body.pips-approved-workspace .sidebar-header img{background:white;padding:4px;border-radius:3px;}
body.pips-approved-workspace .sidebar-header .logo-text{color:#fff;}
body.pips-approved-workspace .main-wrapper{position:relative;border:1px solid #00663f;padding:5px;margin:8px 8px 8px calc(var(--admin-sidebar-width) + 8px)!important;min-height:calc(100dvh - 16px);background:#f5f7f5;}
body.pips-approved-workspace .main-wrapper::after{content:"";position:absolute;inset:4px;border:1px solid #b08d40;pointer-events:none;z-index:20;}
body.pips-approved-workspace .topbar{position:sticky;top:6px;left:auto!important;right:auto!important;width:100%;padding:12px 22px;min-height:68px;background:#fff;border-bottom:1px solid var(--pips-line);box-shadow:none!important;display:flex;align-items:center;gap:12px;}
body.pips-approved-workspace .pips-back-breadcrumb{min-width:0;flex:1;}
body.pips-approved-workspace .pips-back-breadcrumb a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:6px 4px;color:var(--pips-brown);font-size:12px;text-decoration:none;}
body.pips-approved-workspace .pips-back-breadcrumb a:hover{text-decoration:underline;}
body.pips-approved-workspace .topbar>.d-flex{margin-left:auto;align-items:center!important;gap:0;}
body.pips-approved-workspace .main-content{padding:24px!important;width:100%;min-width:0;max-width:none!important;}
body.pips-approved-workspace .main-content>.container,body.pips-approved-workspace .main-content>.container-fluid,body.pips-approved-workspace .wizard-shell,body.pips-approved-workspace .form-shell,body.pips-approved-workspace .pips-analysis{width:100%!important;max-width:none!important;margin-inline:0!important;}
body.pips-approved-workspace .main-content>.row.justify-content-center>[class*="col-lg-"],body.pips-approved-workspace .main-content>.container-fluid>.row.justify-content-center>[class*="col-lg-"]{flex:0 0 100%;max-width:100%;}
body.pips-approved-workspace .card,body.pips-approved-workspace .widget-card,body.pips-approved-workspace .action-card,body.pips-approved-workspace .kpi-card,body.pips-approved-workspace .metric-card,body.pips-approved-workspace .alert{border:1px solid var(--pips-line)!important;border-radius:9px;box-shadow:none!important;}
body.pips-approved-workspace .card-header,body.pips-approved-workspace .widget-card .card-header{background:#fff!important;color:#244333!important;border-bottom:1px solid var(--pips-line)!important;padding:16px 19px;}
body.pips-approved-workspace .card-body{padding:19px;}
body.pips-approved-workspace .action-card:hover{transform:none;box-shadow:none!important;}
body.pips-approved-workspace .border-start{border:1px solid var(--pips-line)!important;}
body.pips-approved-workspace .pips-help-panel{border:1px solid #b7cbbf!important;}
body.pips-approved-workspace .pips-help-panel::after{display:none!important;}
body.pips-approved-workspace .sa-banner-strip{position:static!important;margin:0 8px 8px calc(var(--admin-sidebar-width) + 8px);height:auto!important;min-height:48px;padding:12px 20px;max-width:none;width:auto;border:1px solid var(--pips-line);}
body.pips-approved-workspace .sa-banner-logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;}
body.pips-approved-workspace .sa-banner-logos img{height:25px;max-width:85px;object-fit:contain;}
body.pips-approved-workspace .table{font-size:12px;border-color:var(--pips-line);vertical-align:middle;}
body.pips-approved-workspace .table thead th{background:#f5f8f5!important;color:#53685b!important;border-bottom:1px solid var(--pips-line)!important;font-size:11px;line-height:1.5;padding:12px 14px;}
body.pips-approved-workspace .table td{padding:12px 14px;line-height:1.5;}
body.pips-approved-workspace .table-responsive{max-width:100%;overscroll-behavior-inline:contain;}
body.pips-approved-workspace .text-warning,body.pips-approved-workspace .badge.bg-warning{color:#86410f!important;}
body.pips-approved-workspace .badge.bg-warning{background:#fff2e6!important;border:1px solid #e9be9b;}
body.pips-approved-workspace .btn{border-radius:7px;min-height:38px;font-size:13px;}
body.pips-approved-workspace a:focus-visible,body.pips-approved-workspace button:focus-visible,body.pips-approved-workspace input:focus-visible,body.pips-approved-workspace select:focus-visible{outline:3px solid #96783c;outline-offset:3px;}
body.pips-approved-workspace .pips-notification-bell{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid transparent;background:transparent;color:#004d40;border-radius:7px;font-size:20px;}
body.pips-approved-workspace .pips-notification-bell:hover{background:#edf3ef;}
body.pips-approved-workspace [data-pips-notification-count]{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:1px 4px;display:grid;place-items:center;border:1px solid #fff;border-radius:20px;background:#df8135;color:#17372b;font-size:10px;font-weight:700;}
body.pips-approved-workspace [data-pips-notification-count][hidden]{display:none;}
.pips-notification-popover{position:fixed;z-index:1050;right:22px;top:78px;width:390px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 105px);overflow:auto;border:1px solid #b7cbbf;border-radius:9px;background:#fff;color:#172c25;box-shadow:0 8px 24px #17372b14;}
.pips-notification-popover header,.pips-notification-popover footer{padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.pips-notification-popover header{border-bottom:1px solid #dbe3de;}.pips-notification-popover h2{font-size:16px;margin:0;}
.pips-notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px 17px;border-bottom:1px solid #e3e9e5;}
.pips-notification-item.is-unread{background:#f2f7f3;}.pips-notification-item a{color:#004d40;font-size:13px;font-weight:600;text-decoration:none;}.pips-notification-item a:hover{text-decoration:underline;}
.pips-notification-item p{font-size:12px;color:#5f7068;margin:5px 0;}.pips-notification-item time{font-size:11px;color:#76573e;}.pips-notification-item button{align-self:center;font-size:12px;}
.pips-notification-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0;}.pips-notification-toolbar select{width:auto;max-width:100%;}.pips-notification-centre{border:1px solid #dbe3de;border-radius:9px;background:#fff;padding:20px;}
.pips-notification-error{padding:16px;color:#86410f;}.pips-notification-empty{padding:20px;color:#5f7068;}
@media(min-width:992px) and (max-height:760px){body.pips-approved-workspace .sidebar-nav .nav-link{padding-block:5px;min-height:32px;margin-bottom:1px;font-size:13px;}body.pips-approved-workspace .sidebar-nav .nav-section-title{padding-block:8px 4px;}}
@media(max-width:991.98px){
 body.pips-approved-workspace .main-wrapper{margin:6px!important;min-height:calc(100dvh - 12px);}
 body.pips-approved-workspace .topbar{display:grid;grid-template-columns:44px minmax(0,1fr) auto;padding:8px 10px;gap:5px;min-height:64px;}
 body.pips-approved-workspace .pips-back-breadcrumb a{font-size:11px;gap:5px;line-height:1.3;overflow-wrap:anywhere;}
 body.pips-approved-workspace .pips-back-breadcrumb i{display:none;}
 body.pips-approved-workspace .topbar>button[data-bs-toggle=offcanvas]{grid-column:1;}
 body.pips-approved-workspace .topbar>.d-flex{grid-column:3;}
 body.pips-approved-workspace .pips-help-trigger{width:44px!important;min-width:44px!important;margin-right:5px!important;}
 body.pips-approved-workspace .sidebar-nav .nav-link{min-height:44px;padding-block:11px;font-size:13px;}
 body.pips-approved-workspace .main-content{padding:18px 14px!important;}
 body.pips-approved-workspace .sa-banner-strip{margin:0 6px 6px!important;padding:12px;}
 body.pips-approved-workspace .form-control,body.pips-approved-workspace .form-select{font-size:16px;min-height:44px;}
 .pips-notification-popover{right:14px;top:82px;max-height:calc(100dvh - 108px);}
 .pips-notification-centre{padding:15px;}.pips-notification-toolbar select{width:100%;}
}
@media(max-width:640px){
 body.pips-approved-workspace table[data-pips-mobile-records] thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);}
 body.pips-approved-workspace table[data-pips-mobile-records] tbody{display:block;}
 body.pips-approved-workspace table[data-pips-mobile-records] tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #dbe3de;padding:10px 5px;}
 body.pips-approved-workspace table[data-pips-mobile-records] td{display:block;border:0!important;padding:7px 9px;font-size:12px;overflow-wrap:anywhere;}
 body.pips-approved-workspace table[data-pips-mobile-records] td:first-child,body.pips-approved-workspace table[data-pips-mobile-records] td:last-child,body.pips-approved-workspace table[data-pips-mobile-records] td[colspan]{grid-column:1/-1;}
 body.pips-approved-workspace table[data-pips-mobile-records] td::before{content:attr(data-pips-label);display:block;font-size:10px;color:#76573e;margin-bottom:4px;}
}
@media(prefers-reduced-motion:reduce){body.pips-approved-workspace *{scroll-behavior:auto!important;transition:none!important;}}

body.pips-approved-workspace .main-wrapper>.sa-banner-strip{margin:0 24px 20px!important;}
@media(max-width:991.98px){body.pips-approved-workspace .main-wrapper>.sa-banner-strip{margin:0 14px 16px!important;}}

body.pips-approved-public{background:#f5f7f5;color:#172c25;}body.pips-approved-public>main{width:100%;max-width:none;}body.pips-approved-public .card,body.pips-approved-public .alert{border:1px solid #dbe3de!important;box-shadow:none!important;}body.pips-approved-public .card-header{background:#fff;color:#004d40;border-bottom:1px solid #dbe3de;}body.pips-approved-public .btn-success{background:#00663f;border-color:#00663f;}body.pips-approved-public .text-muted{color:#5f7068!important;}body.pips-approved-public .footer{border-top:1px solid #dbe3de;}

body.pips-approved-workspace{padding-left:0!important;}

/* v32: calm shared surfaces and a structured dashboard using the existing live controls. */
body.pips-approved-workspace .sidebar-header{background:#004d40!important;color:#fff;border-bottom:1px solid #377668;}
body.pips-approved-workspace .sidebar-header .logo-text{color:#fff!important;}
body.pips-approved-workspace .main-content{background:#f5f7f5!important;background-image:none!important;}
body.pips-approved-workspace .alert-info{background:#f1f6f2;color:#244333;}
body.pips-approved-workspace .metric-item{border:1px solid var(--pips-line)!important;box-shadow:none!important;}
body.pips-approved-workspace .table thead th{white-space:normal;overflow-wrap:anywhere;}
body.pips-approved-workspace .table a,body.pips-approved-workspace .table button{touch-action:manipulation;}
.pips-notification-popover footer{flex-wrap:wrap;justify-content:flex-start;border-top:1px solid #dbe3de;}
body.pips-approved-workspace .pips-notification-toolbar{padding:14px;background:#f5f8f5;border:1px solid #dbe3de;border-radius:7px;gap:10px;}
body.pips-approved-workspace .pips-notification-toolbar label{font-size:12px;font-weight:600;color:#53685b;margin:0;}
body.pips-approved-workspace [data-notification-context]{padding:0 2px;font-size:12px;line-height:1.65;color:#76573e!important;}
body.pips-approved-workspace .pips-notification-empty{margin:0;border:1px solid #dbe3de;border-radius:7px;background:#fff;line-height:1.7;}
body.pips-approved-workspace .pips-dashboard-v32 #dashboard-controls{padding:0 0 16px;margin:0 0 18px;border-bottom:1px solid var(--pips-line);gap:12px;}
body.pips-approved-workspace .pips-dashboard-v32 #exportPdfBtn{background:#fff;color:#76573e;border:1px solid #c6d3ca;}
body.pips-approved-workspace .pips-dashboard-v32 #exportPdfBtn:hover{background:#edf3ef;color:#004d40;border-color:#88ab99;}
body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px;align-items:start;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-summary,body.pips-approved-workspace .pips-dashboard-v32 #quick-actions{grid-column:1/-1;min-width:0;margin:0!important;}
body.pips-approved-workspace .pips-dashboard-v32 .metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;}
body.pips-approved-workspace .pips-dashboard-v32 .metric-item{padding:16px 17px;border-radius:9px;min-width:0;}
body.pips-approved-workspace .pips-dashboard-v32 .metric-title{font-size:12px;line-height:1.5;max-width:calc(100% - 24px);color:#5f7068;margin-bottom:8px;}
body.pips-approved-workspace .pips-dashboard-v32 .metric-value{font-size:27px;line-height:1.2;font-weight:650;color:#183e2e;}
body.pips-approved-workspace .pips-dashboard-v32 .metric-icon{font-size:17px;opacity:.55;top:17px;right:15px;}
body.pips-approved-workspace .pips-dashboard-v32 .metric-item .progress{margin-top:9px;background:#e8eeea;height:4px!important;}
body.pips-approved-workspace .pips-dashboard-v32 #quick-actions .card-header{padding:12px 17px;}
body.pips-approved-workspace .pips-dashboard-v32 #quick-actions .card-body{padding:14px;}
body.pips-approved-workspace .pips-dashboard-v32 .quick-actions-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:10px;}
body.pips-approved-workspace .pips-dashboard-v32 .action-card{min-width:0;min-height:52px;flex-direction:row;justify-content:flex-start;gap:10px;padding:12px;background:#fff;text-align:left;}
body.pips-approved-workspace .pips-dashboard-v32 .action-card .icon-wrapper{font-size:17px;line-height:1;margin:0;flex:0 0 20px;text-align:center;}
body.pips-approved-workspace .pips-dashboard-v32 .action-card span{font-size:12px;line-height:1.45;color:#234333;}
body.pips-approved-workspace .pips-dashboard-v32 .action-card[hidden]{display:none!important;}
body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard>.main-column{grid-column:1;grid-row:3;min-width:0;}
body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard>.sidebar-column{grid-column:2;grid-row:3;min-width:0;display:flex;flex-direction:column;gap:16px;}
body.pips-approved-workspace .pips-dashboard-v32 .sidebar-column>.d-flex{gap:16px!important;}
body.pips-approved-workspace .pips-dashboard-v32 .card-header .card-title{font-size:14px;font-weight:600;line-height:1.45;}
body.pips-approved-workspace .pips-dashboard-v32 .widget-card{border-radius:9px;}
body.pips-approved-workspace .pips-dashboard-v32 .widget-card .card-header{padding:15px 17px;}
body.pips-approved-workspace .pips-dashboard-v32 .widget-card .card-body{padding:17px;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-enquiry{display:block!important;margin:0!important;padding:18px;background:#fff;border:1px solid var(--pips-line);border-radius:9px;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-enquiry h2{font-size:14px;line-height:1.5;color:#244333;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-enquiry>div:first-child{font-size:13px;line-height:1.7;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-enquiry .text-muted{font-size:11px;color:#5f7068!important;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-case-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:14px;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-case-actions .btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;margin:0;min-height:40px;font-size:12px;}
body.pips-approved-workspace .pips-dashboard-v32 #alerts .alert{background:#fbf5ed!important;color:#76573e!important;padding:14px;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-empty{font-size:12px;line-height:1.7;color:#5f7068;margin:0;}
@media(max-width:1199.98px){body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard{grid-template-columns:minmax(0,1fr);}body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard>.sidebar-column,body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard>.main-column{grid-column:1;grid-row:auto;}body.pips-approved-workspace .pips-dashboard-v32 .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body.pips-approved-workspace .pips-dashboard-v32 #dashboard-controls>.d-flex{flex-wrap:wrap;gap:8px;}body.pips-approved-workspace .pips-dashboard-v32 #dashboard-controls .btn{min-height:44px;}body.pips-approved-workspace .pips-dashboard-v32 .metrics-grid{gap:10px;}body.pips-approved-workspace .pips-dashboard-v32 .metric-item{padding:14px 12px;}body.pips-approved-workspace .pips-dashboard-v32 .metric-value{font-size:24px;}body.pips-approved-workspace .pips-dashboard-v32 .metric-title{max-width:100%;font-size:11px;padding-right:13px;}body.pips-approved-workspace .pips-dashboard-v32 .metric-icon{font-size:13px;top:15px;right:10px;}body.pips-approved-workspace .pips-dashboard-v32 #main-dashboard{gap:14px;}body.pips-approved-workspace .pips-notification-toolbar select{width:100%;}body.pips-approved-workspace .pips-notification-toolbar .btn{min-height:44px;}}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-case-actions .btn-primary{background:#00663f;border-color:#00663f;color:#fff;}
body.pips-approved-workspace .pips-dashboard-v32 .pips-dashboard-case-actions .btn-outline-dark{border-color:#b7cbbf;color:#004d40;}
@media(max-width:640px){body.pips-approved-workspace .pips-dashboard-v32 .quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body.pips-approved-workspace .pips-dashboard-v32 .action-card{padding:10px;gap:7px;min-height:56px;}}

/* v34: clear role education and complete, thin biometric metric borders. */
body.pips-approved-workspace .biometrics-container .info-card{border-width:1px!important;border-style:solid!important;box-shadow:none!important;}
body.pips-approved-workspace .pips-user-management{width:100%;min-width:0;}
body.pips-approved-workspace .pips-user-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
body.pips-approved-workspace .pips-user-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:9px 15px;border:1px solid #c6d6cc;border-radius:7px;color:#315541;background:#fff;text-decoration:none;font-size:13px;}
body.pips-approved-workspace .pips-user-tabs .is-active{background:#00663f;color:#fff;border-color:#00663f;}
body.pips-approved-workspace .pips-user-editor{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);align-items:start;gap:20px;}
body.pips-approved-workspace .pips-user-editor>*,body.pips-approved-workspace .pips-role-cards>*{min-width:0;}
body.pips-approved-workspace .pips-role-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
body.pips-approved-workspace .pips-role-tag{display:inline-block;font-size:11px;line-height:1.4;padding:4px 8px;border:1px solid #bdd1c4;border-radius:5px;color:#315541;background:#f3f7f4;text-decoration:none;}
body.pips-approved-workspace .pips-role-scope{padding:12px;border:1px solid #d2ded6;border-radius:6px;background:#f6f8f6;}
body.pips-approved-workspace .pips-role-scope>strong{font-size:12px;display:block;margin-bottom:6px;}
body.pips-approved-workspace .pips-role-owner-notice{padding:12px;border:1px solid #d9b889;border-radius:6px;background:#fff6eb;color:#684c2d;}
body.pips-approved-workspace .pips-role-permissions{list-style:none;padding:0;margin:12px 0 0;}
body.pips-approved-workspace .pips-role-permissions li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:9px 0;border-bottom:1px solid #e1e8e3;}
body.pips-approved-workspace .pips-role-permissions li:last-child{border-bottom:0;}
body.pips-approved-workspace .pips-role-permissions strong{font-size:11px;color:#315541;}
body.pips-approved-workspace .pips-user-management summary{cursor:pointer;color:#315541;font-weight:600;padding-block:5px;}
body.pips-approved-workspace .pips-user-management a:not(.btn):not(.is-active){color:#00663f;}
body.pips-approved-workspace .pips-access-notice{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 15px;border:1px solid #c6d6cc;border-radius:7px;background:#f3f7f4;color:#315541;margin-bottom:18px;font-size:12px;}
body.pips-approved-workspace .pips-access-notice span{color:#5f7068;}
@media(max-width:991.98px){body.pips-approved-workspace .pips-user-editor{grid-template-columns:minmax(0,1fr);gap:16px;}}
@media(max-width:767px){body.pips-approved-workspace .pips-role-cards{grid-template-columns:minmax(0,1fr);gap:14px;}body.pips-approved-workspace .pips-role-matrix{display:none;}body.pips-approved-workspace .pips-user-editor button[type=submit]{min-height:44px;}body.pips-approved-workspace .pips-role-guide .card-body{padding:16px;}}

body.pips-approved-workspace[data-pips-read-only="true"] .email-reminder-btn{display:none!important;}

body.pips-approved-workspace .pips-auditor-scope{padding:15px;border:1px solid #c6d6cc;border-radius:7px;background:#f6f8f6;}
body.pips-approved-workspace .pips-department-checklist{max-height:240px;overflow-y:auto;border:1px solid #d2ded6;border-radius:6px;background:#fff;}
body.pips-approved-workspace .pips-department-option{display:flex;align-items:center;gap:10px;padding:11px;border-bottom:1px solid #e1e8e3;font-size:12px;min-height:44px;}
body.pips-approved-workspace .pips-department-option[hidden]{display:none;}
body.pips-approved-workspace .pips-audit-workspace .table-responsive{overflow-y:hidden;flex-shrink:0;}
body.pips-approved-workspace .pips-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;}

body.pips-approved-workspace .pips-auditor-scope input[type=checkbox]{accent-color:#00663f;}

/* v35: quiet, accessible records with full themed borders. */
body.pips-admin .pips-record-table{width:100%;border:1px solid var(--admin-border,#d9e3dd);border-collapse:collapse;font-size:.875rem;}
body.pips-admin .pips-record-table>thead>tr>th{padding:11px 12px;background:#f2f6f3;color:var(--admin-primary,#004d40);border:1px solid #d9e3dd;vertical-align:middle;line-height:1.35;}
body.pips-admin .pips-record-table>tbody>tr>td,body.pips-admin .pips-record-table>tbody>tr>th{padding:10px 12px;border:1px solid #d9e3dd;vertical-align:top;line-height:1.5;overflow-wrap:anywhere;}
body.pips-admin .pips-record-table .pips-table-number{text-align:right;font-variant-numeric:tabular-nums;}
body.pips-admin .pips-record-table .pips-table-identifier{font-variant-numeric:tabular-nums;white-space:nowrap;}
body.pips-admin .pips-table-region{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;}
body.pips-admin .pips-table-region:focus-visible{outline:2px solid var(--admin-primary,#004d40);outline-offset:2px;}
body.pips-admin .pips-table-note{max-width:32rem;min-width:9rem;}
body.pips-admin .pips-table-note summary{cursor:pointer;color:var(--admin-primary,#004d40);}
body.pips-admin .pips-table-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;}
body.pips-admin .pips-table-status{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px;margin:8px 0;border:1px solid #d9e3dd;border-radius:6px;background:#fafcfb;color:#59462f;}
body.pips-admin .pips-table-status[hidden]{display:none;}
body.pips-admin .pips-managed-table .dataTables_processing{display:none!important;}
body.pips-admin .dataTables_wrapper .dataTables_filter,body.pips-admin .dataTables_wrapper .dataTables_length{margin-bottom:12px;}
body.pips-admin .dataTables_wrapper .dataTables_info,body.pips-admin .dataTables_wrapper .dataTables_paginate{padding-top:12px;}
body.pips-admin .pips-record-table .action-cell,body.pips-admin .pips-record-table .row-actions{display:flex;gap:6px;align-items:flex-start;flex-wrap:wrap;}
body.pips-admin .pips-record-table td.action-cell{display:table-cell;}
body.pips-admin .pips-record-table td.action-cell .btn{margin:0 5px 5px 0;}
@media(max-width:640px){
 body.pips-admin .pips-record-table .btn,body.pips-admin .dataTables_wrapper .page-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;}
 body.pips-admin .dataTables_filter input,body.pips-admin .dataTables_length select{font-size:16px;min-height:44px;max-width:100%;}
 body.pips-admin table[data-pips-mobile-records]{display:block;table-layout:fixed;}
 body.pips-admin table[data-pips-mobile-records] tbody{width:100%;}
 body.pips-admin table[data-pips-mobile-records] tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;border:1px solid #d9e3dd;margin:0 0 10px;border-radius:6px;}
 body.pips-admin table[data-pips-mobile-records] tbody td,body.pips-admin table[data-pips-mobile-records] tbody th{display:block!important;min-width:0;white-space:normal;border:0!important;padding:8px;text-align:left;font-size:13px;}
 body.pips-admin table[data-pips-mobile-records] tbody td:first-child,body.pips-admin table[data-pips-mobile-records] tbody th:first-child,body.pips-admin table[data-pips-mobile-records] tbody td:last-child,body.pips-admin table[data-pips-mobile-records] tbody td[colspan]{grid-column:1/-1;}
 body.pips-admin table[data-pips-mobile-records] tbody td::before,body.pips-admin table[data-pips-mobile-records] tbody th::before{content:attr(data-pips-label);display:block;color:#76573e;font-size:11px;font-weight:600;margin-bottom:4px;}
 body.pips-admin table[data-pips-mobile-records] tbody td[colspan]::before{display:none;}
}

/* v36: retained application history and required employee instruction. */
body.pips-approved-workspace .pips-case-facts,body.pips-approved-workspace .pips-register-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body.pips-approved-workspace .pips-case-facts dt,body.pips-approved-workspace .pips-register-metrics dt{color:#5f7068;font-size:11px;font-weight:500;margin-bottom:6px;}
body.pips-approved-workspace .pips-case-facts dd{font-size:13px;overflow-wrap:anywhere;margin:0;}
body.pips-approved-workspace .pips-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;}
body.pips-approved-workspace .pips-audit-entry{padding:16px 0;border-bottom:1px solid #dbe3de;}
body.pips-approved-workspace .pips-audit-entry:last-child{border-bottom:0;padding-bottom:0;}
body.pips-approved-workspace .pips-submission-overview{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2fr);gap:24px;align-items:center;}
body.pips-approved-workspace .pips-submission-chart{height:220px;min-width:0;}
body.pips-approved-workspace .pips-register-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:14px;}
body.pips-approved-workspace .pips-register-metrics>div{padding:16px;background:#f5f8f5;border:1px solid #dbe3de;border-radius:8px;}
body.pips-approved-workspace .pips-register-metrics dd{font-size:25px;font-weight:600;color:#194532;margin:0;}
body.pips-approved-workspace .pips-case-workspace .card,body.pips-approved-workspace .pips-audit-workspace .card{min-width:0;}
body.pips-approved-workspace .pips-audit-workspace td:last-child{max-width:480px;min-width:190px;line-height:1.7;}
@media(max-width:767px){body.pips-approved-workspace .pips-case-facts{grid-template-columns:minmax(0,1fr);gap:14px;}body.pips-approved-workspace .pips-submission-overview{grid-template-columns:minmax(0,1fr);gap:16px;}body.pips-approved-workspace .pips-audit-workspace td:last-child{min-width:0;max-width:none;}body.pips-approved-workspace .pips-register-metrics>div{padding:13px;}body.pips-approved-workspace .pips-case-workspace button[type=submit]{min-height:44px;width:100%;}}

/* New review and audit links retain the approved green theme. */
body.pips-approved-workspace :is(.pips-case-workspace,.pips-audit-workspace,.pips-verification-register) a:not(.btn){color:var(--pips-green,#00663f);text-underline-offset:3px;}
body.pips-approved-workspace :is(.pips-case-workspace,.pips-audit-workspace,.pips-verification-register) a:not(.btn):hover{color:var(--pips-brown,#684c2d);text-decoration:underline;}

body.pips-approved-workspace :is(.pips-case-workspace,.pips-audit-workspace) .table-responsive{flex-shrink:0;overflow-y:hidden;}

/* e-PIPS v37: quiet section controls; full borders follow the administrator theme. */
body.pips-admin main .pips-section-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.4rem;margin:0 0 .8rem;padding:0;color:#52645d}
body.pips-admin main .pips-section-tools-label{font-size:.78rem;margin-inline-end:.15rem}
body.pips-admin main .pips-section-tools[hidden]{display:none!important}
body.pips-admin main .pips-section-head{display:flex!important;align-items:center;flex-wrap:wrap;gap:.4rem;min-width:0;position:relative;padding-inline-end:3.2rem!important;min-height:2.8rem}
body.pips-admin main .pips-section-head>h2,body.pips-admin main .pips-section-head>h3,body.pips-admin main .pips-section-head>h4,body.pips-admin main .pips-section-head>h5,body.pips-admin main .pips-section-head>h6{margin-block:0;min-width:0;overflow-wrap:anywhere}
body.pips-admin main .pips-generated-section-head{padding:.55rem .8rem;border-bottom:1px solid #d8e2dd;background:#fafcfb;color:#174e40}
body.pips-admin main .pips-section-heading{font-size:.87rem;font-weight:600}
body.pips-admin main .pips-section-toggle{display:inline-flex;align-items:center;justify-content:center;position:absolute;inset-inline-end:.5rem;inset-block-start:.4rem;width:32px;height:32px;min-width:32px;border:1px solid #b6cbc1;border-radius:6px;background:#fff;color:#005241;cursor:pointer;padding:0;line-height:1}
body.pips-admin main .pips-section-toggle:hover{background:#eef5f1;border-color:#587f6b}
body.pips-admin main .pips-section-toggle:focus-visible{outline:2px solid #a96c32;outline-offset:2px}
body.pips-admin main .pips-section-chevron{display:block;width:9px;height:9px;border:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(225deg);margin-top:4px}
body.pips-admin main .pips-section-toggle[aria-expanded=false] .pips-section-chevron{transform:rotate(45deg);margin-top:-4px}
body.pips-admin main .pips-section.pips-section-closed{height:auto!important;min-height:0!important;align-self:start}
body.pips-admin main .pips-section.pips-section-closed>.pips-section-piece{display:none!important}
body.pips-admin main .pips-section-frame{display:block;margin-bottom:1rem;min-width:0;border:1px solid #d8e2dd;border-radius:8px;background:#fff;overflow:visible}
body.pips-admin main .pips-section-frame>.pips-section-piece{margin:.8rem;max-width:calc(100% - 1.6rem)}
body.pips-admin main .metrics-grid.pips-section>.pips-section-head{grid-column:1/-1;border:1px solid #d8e2dd;border-radius:6px}
body.pips-admin main .row.pips-section>.pips-section-head{flex:0 0 100%;width:100%;border:1px solid #d8e2dd;border-radius:6px}
body.pips-admin main fieldset.pips-section>legend.pips-section-head{float:none;width:100%;font-size:inherit}
body.pips-admin main details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.6rem;cursor:pointer}
body.pips-admin main details>summary::-webkit-details-marker{display:none}
body.pips-admin main details>summary::after{content:"";flex:0 0 9px;width:9px;height:9px;margin-inline-end:.3rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
body.pips-admin main details[open]>summary::after{transform:rotate(225deg);margin-top:5px}
@media(max-width:767px){body.pips-admin main .pips-section-toggle{width:44px;height:44px;min-width:44px}body.pips-admin main .pips-section-tools button{min-height:44px}body.pips-admin main .pips-section-head{gap:.3rem;min-height:3.45rem;padding-inline-end:3.8rem!important}body.pips-admin main .pips-section-frame>.pips-section-piece{margin:.6rem;max-width:calc(100% - 1.2rem)}}
@media print{body.pips-admin main .pips-section-tools,body.pips-admin main .pips-section-toggle{display:none!important}body.pips-admin main .pips-section.pips-section-closed>.pips-section-piece:not([hidden]):not(.d-none){display:var(--pips-section-display,block)!important}body.pips-admin main .pips-section{height:auto!important;min-height:0!important}body.pips-admin main details>summary::after{display:none}}

body.pips-admin main .pips-icon-action{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:36px;height:36px;min-width:36px;padding:0!important;line-height:1;border-width:1px;border-style:solid;border-radius:6px;flex:0 0 36px}
body.pips-admin main .pips-icon-action i{font-size:.95rem;line-height:1;pointer-events:none}
body.pips-admin main .row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.35rem}
body.pips-admin main .pips-icon-action:focus-visible{outline:2px solid #a96c32;outline-offset:2px}
@media(max-width:767px){body.pips-admin main .pips-icon-action{width:44px;height:44px;min-width:44px;flex-basis:44px}}

/* e-PIPS v38: calm, responsive department opening workspace. */
body.pips-admin .pips-opening-composer{max-height:70dvh;overflow:auto;padding:1.25rem;}
body.pips-admin .pips-opening-facts{display:flex;flex-direction:column;gap:.35rem;padding:1rem;border:1px solid #ccdcd4;border-radius:.5rem;margin-bottom:1rem;}
body.pips-admin .pips-opening-addresses{display:grid;grid-template-columns:minmax(5rem,9rem) minmax(0,1fr);gap:.65rem 1rem;}
body.pips-admin .pips-opening-addresses dt{font-weight:600;color:#76573e;}
body.pips-admin .pips-opening-addresses dd{margin:0;overflow-wrap:anywhere;}
body.pips-admin .pips-opening-preview{width:100%;height:48dvh;min-height:260px;border:1px solid #ccdcd4;background:#fff;border-radius:.35rem;}
body.pips-admin .pips-period-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;}
body.pips-admin .pips-period-metrics>div{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border:1px solid #d6e1d9;border-radius:.5rem;}
body.pips-admin .pips-period-metrics strong{font-size:1.7rem;color:#00663f;}
body.pips-admin .pips-opening-announcement-title{padding:.8rem;border:1px solid #d6e1d9;}
@media(max-width:767px){body.pips-admin .pips-opening-composer{padding:1rem;max-height:68dvh;}body.pips-admin .pips-period-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}body.pips-admin .pips-opening-addresses{grid-template-columns:minmax(0,1fr);gap:.2rem;}body.pips-admin .pips-opening-addresses dd{margin-bottom:.75rem;}}
