/* DP MI satvars */
.dpms { --ink: #171717; --muted: #5f6470; --line: #e3e7ef; --bg: #f5f7fc; --blue: #0b8ee8; --navy: #1d2b5c; --ok: #2f8a5a; --warn: #e08a00; --stop: #c62f3e; font-family: inherit; color: var(--ink); }
.dpms *, .dpms *::before, .dpms *::after { box-sizing: border-box; }
.dpms button { text-transform: none; letter-spacing: normal; text-shadow: none; min-height: 0; font-family: inherit; }
.dpms h1, .dpms h2, .dpms h3, .dpms h4 { color: var(--ink); margin: 0; }
.dpms-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.dpms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dpms a:focus-visible, .dpms button:focus-visible, .dpms input:focus-visible, .dpms summary:focus-visible { outline: 3px solid rgba(11, 142, 232, .45); outline-offset: 2px; }

/* Hero */
.dpms-hero { background: linear-gradient(135deg, #10172e 0%, #1d2b5c 100%); padding: 70px 0 56px; color: #fff; }
.dpms-label { display: inline-block; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.dpms-hero h1 { color: #fff; font-size: 50px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; max-width: 860px; }
.dpms-lead { color: #c9d2ea; font-size: 18px; line-height: 1.65; max-width: 820px; margin: 0 0 28px; }
.dpms-aud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.dpms .dpms-aud-btn { background: rgba(255, 255, 255, .08); color: #fff; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 14px 22px; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.dpms .dpms-aud-btn:hover { background: rgba(255, 255, 255, .14); }
.dpms .dpms-aud-btn.is-on { background: #fff; color: var(--navy); border-color: #fff; }
.dpms-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.dpms-nav a { color: #c9d2ea !important; font-weight: 700; font-size: 15px; text-decoration: none !important; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.dpms-nav a:hover { color: #fff !important; border-color: #fff; }

/* Sections */
.dpms-sec { padding: 64px 0; background: #fff; }
.dpms-sec-alt { background: var(--bg); }
.dpms-head { max-width: 800px; margin-bottom: 28px; }
.dpms-head h2 { font-size: 36px; line-height: 1.2; font-weight: 800; margin-bottom: 10px; }
.dpms-head p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Principles */
.dpms-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.dpms-pr { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 10px 28px rgba(20, 40, 80, .06); display: flex; flex-direction: column; scroll-margin-top: 120px; }
.dpms-pr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dpms-pr-ico { font-size: 28px; }
.dpms-pr-n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.dpms-pr h3 { font-size: 19px; line-height: 1.3; font-weight: 800; margin-bottom: 8px; }
.dpms-pr p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.dpms-pr h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; font-weight: 800; margin-bottom: 6px; }
.dpms-pr ul { margin: 0 0 12px; padding-left: 18px; flex: 1; }
.dpms-pr li { font-size: 14px; line-height: 1.45; margin-bottom: 6px; color: #2b2f36; }
.dpms-pr-basis { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.dpms-pr-basis > span:first-child { font-weight: 700; }
.dpms-basis { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.dpms-chip { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: var(--navy) !important; text-decoration: none !important; }
.dpms-chip:hover { border-color: var(--navy); }
.dpms-chip-p { background: #eef2ff; }

/* Tool check */
.dpms-check { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.dpms-check-main { background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 10px 30px rgba(20, 40, 80, .07); }
.dpms-modes { border: 0; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.dpms-modes legend, .dpms-qs-title { font-size: 18px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 0; }
.dpms-step { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; }
.dpms .dpms-mode { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; color: var(--ink); }
.dpms .dpms-mode strong { display: block; font-size: 16px; margin-bottom: 2px; }
.dpms .dpms-mode span { font-size: 14px; color: var(--muted); }
.dpms .dpms-mode:hover { border-color: #b8c0cc; }
.dpms .dpms-mode.is-on { border-color: var(--blue); background: #f1f8fe; }
.dpms-qs { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.dpms-q { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.dpms-q:last-child { border-bottom: 0; }
.dpms-q-t { font-size: 16px; font-weight: 700; line-height: 1.45; margin: 0 0 6px; }
.dpms-q-h { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin: 0 0 10px; }
.dpms-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dpms .dpms-opt { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; line-height: 1.35; }
.dpms .dpms-opt:hover { border-color: #b8c0cc; }
.dpms .dpms-opt.is-on.dpms-s-ok { border-color: var(--ok); background: #eef8f2; }
.dpms .dpms-opt.is-on.dpms-s-warn { border-color: var(--warn); background: #fff6e6; }
.dpms .dpms-opt.is-on.dpms-s-stop { border-color: var(--stop); background: #fdeef0; }
.dpms-result { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.dpms-res-empty { background: #fff; border: 2px dashed var(--line); border-radius: 18px; padding: 22px; color: var(--muted); font-size: 15px; }
.dpms-res-empty p { margin: 0; }
.dpms-res-card { border-radius: 18px; padding: 22px; color: #fff; background: #6b7280; }
.dpms-res-ok { background: var(--ok); } .dpms-res-warn { background: var(--warn); } .dpms-res-stop { background: var(--stop); } .dpms-res-pending { background: var(--navy); }
.dpms-res-card h3 { color: #fff; font-size: 22px; font-weight: 800; margin: 4px 0 6px; }
.dpms-res-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.dpms-res-progress { font-size: 12.5px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; opacity: .85; }
.dpms-res-light { display: flex; gap: 6px; margin-bottom: 10px; }
.dpms-res-light i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dpms-res-ok .l-ok, .dpms-res-warn .l-warn, .dpms-res-stop .l-stop { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.dpms-issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dpms-issues li { background: #fff; border-radius: 12px; padding: 12px 14px; border-left: 5px solid var(--warn); font-size: 14px; line-height: 1.45; }
.dpms-issues li.dpms-s-stop { border-left-color: var(--stop); }
.dpms-issues strong { display: block; margin-bottom: 4px; }
.dpms-issues span { color: #2b2f36; }
.dpms-res-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dpms .dpms-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; border: 2px solid var(--blue); background: #fff; color: var(--blue); }
.dpms .dpms-btn:hover { background: var(--blue); color: #fff; }
.dpms .dpms-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 14px; cursor: pointer; }
.dpms-res-note { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 0; }

/* Situations */
.dpms-sit-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dpms-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.dpms .dpms-filter { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.dpms .dpms-filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dpms-search input { width: 340px; max-width: 100%; border: 1px solid #d3d8e2; border-radius: 999px; padding: 10px 16px; font-size: 15px; font-family: inherit; margin: 0; height: auto; background: #fff; }
.dpms-sits { display: grid; gap: 10px; }
.dpms-sit { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--warn); border-radius: 14px; scroll-margin-top: 120px; }
.dpms-sit.dpms-v-yes { border-left-color: var(--ok); }
.dpms-sit.dpms-v-no { border-left-color: var(--stop); }
.dpms-sit summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.dpms-sit summary::-webkit-details-marker { display: none; }
.dpms-sit summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--muted); font-weight: 400; }
.dpms-sit[open] summary::after { content: "–"; }
.dpms-sit-t { font-size: 16px; font-weight: 700; line-height: 1.4; }
.dpms-badge { flex: 0 0 auto; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--warn); white-space: nowrap; }
.dpms-v-yes .dpms-badge { background: var(--ok); }
.dpms-v-no .dpms-badge { background: var(--stop); }
.dpms-sit-b { padding: 0 18px 18px 18px; font-size: 15px; line-height: 1.55; color: #2b2f36; }
.dpms-sit-b p { margin: 0 0 8px; }
.dpms-sit-b ul { margin: 0 0 12px; padding-left: 20px; }
.dpms-sit-b li { margin-bottom: 4px; }
.dpms-empty { color: var(--muted); }

/* Sources */
.dpms-sources { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.dpms-sources li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; scroll-margin-top: 120px; }
.dpms-sources li:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 142, 232, .2); }
.dpms-sources a { font-weight: 700; color: var(--navy) !important; }
.dpms-sources span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.dpms-note { background: #fff; border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: #2b2f36; }
.dpms-note p { margin: 0 0 10px; }
.dpms-note p:last-child { margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
	.dpms-check { grid-template-columns: 1fr; }
	.dpms-result { position: static; }
	.dpms-hero h1 { font-size: 40px; }
}
@media (max-width: 767px) {
	.dpms-wrap { padding: 0 16px; }
	.dpms-hero { padding: 44px 0 40px; }
	.dpms-hero h1 { font-size: 30px; }
	.dpms-lead { font-size: 16px; }
	.dpms .dpms-aud-btn { flex: 1 1 100%; }
	.dpms-sec { padding: 44px 0; }
	.dpms-head h2 { font-size: 27px; }
	.dpms-check-main { padding: 18px; }
	.dpms-sit summary { flex-wrap: wrap; gap: 8px; }
	.dpms-search input { width: 100%; }
}

/* MI marking */
.dpms-mark { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }
.dpms-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(20, 40, 80, .07); }
.dpms-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.dpms-muted { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.dpms-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.dpms-field input { width: 100%; border: 1px solid #d3d8e2; border-radius: 10px; padding: 11px 12px; font-size: 15px; font-weight: 400; font-family: inherit; margin: 0; height: auto; background: #fff; color: var(--ink); }
.dpms-fs { border: 0; padding: 0; margin: 0 0 16px; }
.dpms-fs legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; padding: 0; }
.dpms-lvls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dpms .dpms-lvl { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; color: var(--ink); }
.dpms .dpms-lvl strong { display: block; font-size: 15px; margin-bottom: 2px; }
.dpms .dpms-lvl span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.dpms .dpms-lvl-allowed.is-on { border-color: var(--ok); background: #eef8f2; }
.dpms .dpms-lvl-partial.is-on { border-color: var(--warn); background: #fff6e6; }
.dpms .dpms-lvl-forbidden.is-on { border-color: var(--stop); background: #fdeef0; }
.dpms-uses { display: grid; gap: 6px; }
.dpms-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; cursor: pointer; font-weight: 400; }
.dpms-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 17px; }
.dpms-label-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.dpms-label-card { background: #fff; border-radius: 18px; border: 3px solid var(--warn); padding: 0 0 18px; overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.dpms-label-card.dpms-lc-allowed { border-color: var(--ok); }
.dpms-label-card.dpms-lc-forbidden { border-color: var(--stop); }
.dpms-lc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; background: var(--warn); color: #fff; font-weight: 800; }
.dpms-lc-allowed .dpms-lc-head { background: var(--ok); }
.dpms-lc-forbidden .dpms-lc-head { background: var(--stop); }
.dpms-lc-head span { text-transform: uppercase; letter-spacing: .4px; font-size: 13px; }
.dpms-lc-head strong { font-size: 14px; text-align: right; }
.dpms-label-card h3 { font-size: 19px; font-weight: 800; margin: 14px 18px 4px; }
.dpms-label-card p { margin: 0 18px 8px; color: var(--muted); }
.dpms-label-card h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin: 12px 18px 4px; }
.dpms-label-card ul { margin: 0 18px; padding-left: 18px; }
.dpms-label-card li { margin-bottom: 3px; }

/* Responsibilities */
.dpms-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dpms-role { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(20, 40, 80, .05); }
.dpms-role-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dpms-role-h span { font-size: 26px; }
.dpms-role-h h3 { font-size: 17px; font-weight: 800; }
.dpms-role ul { margin: 0; padding-left: 18px; }
.dpms-role li { font-size: 14px; line-height: 1.45; margin-bottom: 6px; color: #2b2f36; }
.dpms-incident { background: #fff6e6; border: 1px solid #f5d79e; border-left: 6px solid var(--warn); border-radius: 14px; padding: 16px 20px; }
.dpms-incident h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.dpms-incident ul { margin: 0; padding-left: 18px; }
.dpms-incident li { font-size: 14.5px; line-height: 1.5; margin-bottom: 4px; }

/* Institution */
.dpms-lit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(20, 40, 80, .07); margin-bottom: 20px; }
.dpms-lit h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.dpms-lit p { font-size: 15px; line-height: 1.6; color: #2b2f36; margin: 0 0 10px; }
.dpms-lit-steps { background: var(--bg); border-radius: 14px; padding: 16px 18px; }
.dpms-lit-steps h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px; }
.dpms-lit-steps ol { margin: 0; padding-left: 20px; }
.dpms-lit-steps li { font-size: 14.5px; line-height: 1.5; margin-bottom: 6px; }
.dpms-inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dpms-cl-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.dpms-cl-progress .dpms-bar { flex: 1; height: 8px; background: #edf0f6; border-radius: 99px; overflow: hidden; }
.dpms-cl-progress .dpms-bar i { display: block; height: 100%; background: var(--ok); transition: width .3s ease; }
.dpms-cl-g { display: grid; gap: 8px; }
.dpms-policy-doc { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; max-height: 520px; overflow-y: auto; margin-bottom: 14px; font-size: 14px; line-height: 1.55; }
.dpms-policy-doc h2 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.dpms-policy-doc h3 { font-size: 14.5px; font-weight: 800; margin: 14px 0 4px; }
.dpms-policy-doc p { margin: 0 0 6px; }
.dpms-policy-doc mark { background: #fff1b8; padding: 0 3px; border-radius: 3px; }

@media (max-width: 1024px) {
	.dpms-mark, .dpms-inst-grid, .dpms-lit { grid-template-columns: 1fr; }
	.dpms-label-side { position: static; }
}
@media (max-width: 767px) {
	.dpms-lvls { grid-template-columns: 1fr; }
	.dpms-card, .dpms-lit { padding: 18px; }
}

/* Hub */
.dpms-hub-step { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 12px; }
.dpms-hub-step-dark { color: var(--ink); font-size: 22px; margin-bottom: 18px; }
.dpms-group { margin-bottom: 30px; }
.dpms-group h2 { font-size: 24px; font-weight: 800; margin: 0 0 2px; }
.dpms-group > p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.dpms-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dpms-tile { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none !important; color: var(--ink) !important; box-shadow: 0 8px 24px rgba(20, 40, 80, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dpms-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 40, 80, .1); border-color: var(--blue); }
.dpms-tile-ico { font-size: 30px; line-height: 1; }
.dpms-tile-t { font-size: 18px; font-weight: 800; line-height: 1.3; }
.dpms-tile-d { font-size: 14.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.dpms-tile-go { font-size: 14px; font-weight: 700; color: var(--blue); margin-top: 6px; }
.dpms-hub-foot { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.dpms-hub-foot p { margin: 0 0 6px; }
.dpms-hub-foot a { color: var(--blue) !important; font-weight: 700; }

/* Subpage header, tabs and pager */
.dpms-hero-sub { padding: 28px 0 26px; }
.dpms-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #c9d2ea; margin-bottom: 10px; }
.dpms-crumbs a { color: #fff !important; font-weight: 700; text-decoration: underline !important; }
.dpms-sub-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.dpms-sub-top h1 { color: #fff; font-size: 34px; line-height: 1.2; font-weight: 800; margin: 0; }
.dpms-hero-sub .dpms-aud { margin: 0; }
.dpms-hero-sub .dpms .dpms-aud-btn, .dpms-hero-sub .dpms-aud-btn { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.dpms-tabs { background: #fff; border-bottom: 1px solid var(--line); }
.dpms-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.dpms-tabs-in a { flex: 0 0 auto; padding: 14px 12px; font-size: 14.5px; font-weight: 700; color: var(--muted) !important; text-decoration: none !important; border-bottom: 3px solid transparent; white-space: nowrap; }
.dpms-tabs-in a:hover { color: var(--ink) !important; }
.dpms-tabs-in a.is-on { color: var(--navy) !important; border-bottom-color: var(--blue); }
.dpms-sec .dpms-head h2 { font-size: 26px; }
.dpms-pager { background: var(--bg); padding: 26px 0 40px; border-top: 1px solid var(--line); }
.dpms-pager .dpms-wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.dpms-pg { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none !important; color: var(--ink) !important; }
.dpms-pg:hover { border-color: var(--blue); }
.dpms-pg small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.dpms-pg span { font-size: 15px; font-weight: 800; }
.dpms-pg-next { text-align: right; }
.dpms-pg-home { text-align: center; }
@media (max-width: 767px) {
	.dpms-sub-top h1 { font-size: 26px; }
	.dpms-pager .dpms-wrap { grid-template-columns: 1fr; }
	.dpms-pg-next, .dpms-pg-home { text-align: left; }
}

/* Level matrix */
.dpms-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.dpms-stage { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(20, 40, 80, .05); display: flex; flex-direction: column; }
.dpms-stage-h { padding: 14px 18px; color: #fff; background: #4c6ef5; }
.dpms-stage-1 .dpms-stage-h { background: #3b5bdb; } .dpms-stage-2 .dpms-stage-h { background: #2c4bb8; } .dpms-stage-3 .dpms-stage-h { background: var(--navy); }
.dpms-stage-h span { display: block; font-size: 20px; font-weight: 800; }
.dpms-stage-h strong { font-size: 13.5px; font-weight: 700; opacity: .9; }
.dpms-stage-r { padding: 12px 18px; border-top: 1px solid var(--line); }
.dpms-stage-r:first-of-type { border-top: 0; }
.dpms-stage-r h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); margin-bottom: 4px; }
.dpms-stage-r p { margin: 0; font-size: 14px; line-height: 1.5; color: #2b2f36; }
.dpms-r-caution { background: #fff9ef; margin-top: auto; }
.dpms-matrix-note { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 16px 0 0; }

/* Agents */
.dpms-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 26px; }
.dpms-dim { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 8px 24px rgba(20, 40, 80, .05); }
.dpms-dim h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.dpms-dim ul { margin: 0; padding-left: 18px; }
.dpms-dim li { font-size: 14px; line-height: 1.45; margin-bottom: 6px; color: #2b2f36; }
.dpms-sub { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.dpms-actions { display: grid; gap: 8px; }
.dpms-act { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--warn); border-radius: 12px; padding: 12px 16px; }
.dpms-act .dpms-badge { background: var(--warn); min-width: 190px; text-align: center; }
.dpms-act-auto { border-left-color: var(--ok); } .dpms-act-auto .dpms-badge { background: var(--ok); }
.dpms-act-never { border-left-color: var(--stop); } .dpms-act-never .dpms-badge { background: var(--stop); }
.dpms-act strong { display: block; font-size: 15px; line-height: 1.4; }
.dpms-act div span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 767px) {
	.dpms-act { flex-direction: column; align-items: flex-start; gap: 8px; }
	.dpms-act .dpms-badge { min-width: 0; }
}

/* ===== Design 2.1: line icons, audience switch, tiles ===== */
.dpms { --g-daily: #0b8ee8; --g-learn: #7b3fe4; --g-inst: #0aa58f; --g-ref: #475569; }
.dpms-ic { width: 22px; height: 22px; flex: 0 0 auto; display: block; }
.dpms-ico-box .dpms-ic { width: 24px; height: 24px; }
.dpms-ico-box { --gc: var(--navy); display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; color: var(--gc); background: color-mix(in srgb, var(--gc) 12%, #fff); flex: 0 0 46px; }
.dpms-g-daily { --gc: var(--g-daily); }
.dpms-g-learn { --gc: var(--g-learn); }
.dpms-g-inst { --gc: var(--g-inst); }
.dpms-g-ref { --gc: var(--g-ref); }
.dpms-g-daily .dpms-ico-box, .dpms-ico-box.dpms-g-daily { --gc: var(--g-daily); }
.dpms-g-learn .dpms-ico-box, .dpms-ico-box.dpms-g-learn { --gc: var(--g-learn); }
.dpms-g-inst .dpms-ico-box, .dpms-ico-box.dpms-g-inst { --gc: var(--g-inst); }
.dpms-g-ref .dpms-ico-box, .dpms-ico-box.dpms-g-ref { --gc: var(--g-ref); }
.dpms-pr .dpms-ico-box { --gc: var(--navy); }
.dpms-dim .dpms-ico-box { --gc: var(--g-learn); }
.dpms-role .dpms-ico-box { --gc: var(--blue); width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
.dpms-role-h { gap: 12px; }
.dpms-incident h3 { display: flex; align-items: center; gap: 8px; color: #8a5200; }

/* Audience switch (segmented control) */
.dpms-aud { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; margin-bottom: 4px; }
.dpms .dpms-aud-btn { position: relative; display: flex; align-items: center; gap: 12px; min-width: 250px; text-align: left; background: transparent; border: 2px solid transparent; border-radius: 13px; padding: 12px 44px 12px 14px; color: rgba(255, 255, 255, .82); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; font-size: 15px; font-weight: 700; }
.dpms .dpms-aud-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dpms .dpms-aud-btn.is-on { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.dpms-aud-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .12); flex: 0 0 40px; }
.dpms-aud-btn.is-on .dpms-aud-ico { background: #eaf4fd; color: var(--blue); }
.dpms-aud-txt { display: flex; flex-direction: column; line-height: 1.25; }
.dpms-aud-txt strong { font-size: 16px; font-weight: 800; }
.dpms-aud-txt small { font-size: 12.5px; font-weight: 600; opacity: .8; margin-top: 2px; }
.dpms-aud-check { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); display: inline-flex; align-items: center; justify-content: center; }
.dpms-aud-check .dpms-ic { width: 14px; height: 14px; opacity: 0; }
.dpms-aud-btn.is-on .dpms-aud-check { background: var(--blue); border-color: var(--blue); color: #fff; }
.dpms-aud-btn.is-on .dpms-aud-check .dpms-ic { opacity: 1; }
.dpms-aud-compact { padding: 4px; border-radius: 14px; }
.dpms .dpms-aud-compact .dpms-aud-btn { min-width: 0; padding: 7px 36px 7px 8px; gap: 8px; border-radius: 10px; }
.dpms-aud-compact .dpms-aud-ico { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
.dpms-aud-compact .dpms-aud-ico .dpms-ic { width: 18px; height: 18px; }
.dpms-aud-compact .dpms-aud-txt strong { font-size: 14px; }
.dpms-aud-compact .dpms-aud-check { right: 9px; width: 20px; height: 20px; }

/* Group header */
.dpms-group { margin-bottom: 36px; }
.dpms-group-h { display: flex; align-items: center; gap: 12px; }
.dpms-group-h::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: var(--gc); }
.dpms-group-h h2 { font-size: 24px; font-weight: 800; margin: 0; }
.dpms-group-n { font-size: 12.5px; font-weight: 700; color: var(--gc); background: color-mix(in srgb, var(--gc) 10%, #fff); padding: 3px 10px; border-radius: 999px; }
.dpms-group > p { margin: 4px 0 16px 18px; }

/* Tiles */
.dpms-tiles { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.dpms-tile { position: relative; gap: 10px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.dpms-tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--gc); opacity: 0; transition: opacity .2s ease; }
.dpms-tile:hover { border-color: color-mix(in srgb, var(--gc) 45%, #fff); transform: translateY(-3px); }
.dpms-tile:hover::before { opacity: 1; }
.dpms-tile .dpms-ico-box { margin-bottom: 4px; }
.dpms-tile-t { font-size: 18px; }
.dpms-tile-go { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--gc); font-size: 14.5px; }
.dpms-tile-arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--gc) 12%, #fff); color: var(--gc); transition: background .2s ease, color .2s ease, transform .2s ease; }
.dpms-tile-arrow .dpms-ic { width: 18px; height: 18px; }
.dpms-tile:hover .dpms-tile-arrow { background: var(--gc); color: #fff; transform: translateX(3px); }

/* Subpage title with icon */
.dpms-sub-top h1 { display: flex; align-items: center; gap: 14px; }
.dpms-sub-top h1 .dpms-ico-box { background: rgba(255, 255, 255, .12); color: #fff; }

@media (max-width: 767px) {
	.dpms-aud { display: flex; width: 100%; }
	.dpms .dpms-aud-btn { min-width: 0; flex: 1 1 100%; }
	.dpms-aud-compact { width: auto; }
	.dpms .dpms-aud-compact .dpms-aud-btn { flex: 1 1 auto; }
}

/* Situation details v2 */
.dpms-sit-b { display: grid; gap: 14px; }
.dpms-sit-short { margin: 0 !important; font-size: 16px; font-weight: 700; color: var(--ink); }
.dpms-sit-blk { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.dpms-sit-blk h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: var(--navy); margin: 0 0 8px; }
.dpms-sit-blk h4 .dpms-ic { width: 18px; height: 18px; color: var(--blue); }
.dpms-sit-blk p { margin: 0; }
.dpms-legal { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dpms-legal li { display: grid; grid-template-columns: minmax(170px, 260px) 1fr; gap: 4px 14px; font-size: 14.5px; line-height: 1.5; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.dpms-legal li:last-child { border-bottom: 0; padding-bottom: 0; }
.dpms-legal strong { color: var(--navy); }
.dpms-steps-ol { margin: 0; padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.dpms-steps-ol li { counter-increment: st; position: relative; padding-left: 36px; font-size: 14.5px; line-height: 1.5; }
.dpms-steps-ol li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dpms-v-no .dpms-steps-ol li::before { background: var(--navy); }
@media (max-width: 767px) { .dpms-legal li { grid-template-columns: 1fr; } }

/* Print only the chosen block */
@media print {
	html.dpms-printing body * { visibility: hidden !important; }
	html.dpms-printing .dpms-print-target, html.dpms-printing .dpms-print-target * { visibility: visible !important; }
	html.dpms-printing .dpms-print-target { position: absolute; left: 0; top: 0; width: 100%; display: block; box-shadow: none; max-height: none; }
	html.dpms-printing .dpms-print-target .dpms-result { position: static; margin-top: 16px; }
	html.dpms-printing .dpms-print-target .dpms-res-actions { display: none; }
	.dpms-res-card, .dpms-opt.is-on, .dpms-lc-head, .dpms-label-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
