/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/design-preview/design-preview.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

/* Floating design preview button shared by every redesign preview; it opens the design, page and role switcher.
   It sits bottom-left over the empty part of each design's sidebar, above the sidebar footer, so it covers no control. */
.dp-switch { position: fixed; left: var(--dp-x, 16px); bottom: var(--dp-y, 16px); z-index: 60; font: 500 12.5px/1 Inter, ui-sans-serif, system-ui, sans-serif; color: #A1A1AA; }
.dp-switch[data-design='glass'] { --dp-x: 24px; --dp-y: 100px; }
.dp-switch[data-design='midnight'] { --dp-x: 10px; --dp-y: 132px; }
.dp-switch[data-design='raycast'] { --dp-x: 12px; --dp-y: 104px; }
.dp-switch button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* modal overlays own the screen; the Glass root is its own stacking context, so hide rather than rely on z-index */
:root:has(.dp-scrim) .dp-switch { visibility: hidden; }
.dp-switch .dp-fab, .dp-switch-panel { background: rgba(17, 18, 20, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 30px -10px rgba(0, 0, 0, .6); }
.dp-switch .dp-fab { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; color: #E4E4E7; }
.dp-switch .dp-fab:hover, .dp-switch.open .dp-fab { color: #fff; background: rgba(32, 33, 38, .94); }
.dp-fab svg { width: 14px; height: 14px; }
.dp-fab-tag { margin-left: 2px; padding: 0 6px; line-height: 18px; border-radius: 999px; background: #0052CC; color: #fff; font-size: 11px; font-weight: 600; }
.dp-switch :focus-visible { outline: 2px solid #4A8FE8; outline-offset: 2px; }
.dp-switch[data-design='glass'] .dp-fab:focus-visible { outline-color: #0052CC; }
.dp-switch-panel { position: absolute; left: 0; bottom: calc(100% + 8px); width: 220px; padding: 6px; border-radius: 14px; display: grid; gap: 6px; animation: dp-pop .14s ease-out; }
.dp-switch-list { display: grid; gap: 1px; }
.dp-switch-seg + .dp-switch-list { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 6px; }
.dp-switch-panel a, .dp-switch-panel button { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 10px; border-radius: 8px; color: inherit; text-decoration: none; text-align: left; white-space: nowrap; }
.dp-switch-panel a:hover, .dp-switch-panel button:hover { color: #F4F4F5; background: rgba(255, 255, 255, .06); }
.dp-switch-panel a[aria-current='page'] { background: #0052CC; color: #fff; }
.dp-switch-panel svg { width: 14px; height: 14px; flex: none; }
.dp-switch-panel .dp-cur { margin-left: auto; }
.dp-switch-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, .05); }
.dp-switch-seg a { justify-content: center; height: 28px; padding: 0 8px; border-radius: 7px; }
@keyframes dp-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Index page */
.dp-index { min-height: 100vh; background: #F6F7F9; color: #111827; font-family: Inter, ui-sans-serif, system-ui, sans-serif; padding: 64px 24px 96px; }
.dp-index-inner { max-width: 1040px; margin: 0 auto; }
.dp-index h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.dp-index .dp-lede { color: #6B7280; margin-top: 8px; font-size: 15px; max-width: 640px; line-height: 1.6; }
.dp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 32px; }
.dp-card { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 0 0 1px rgba(17, 24, 39, .07), 0 8px 24px -16px rgba(17, 24, 39, .25); display: flex; flex-direction: column; gap: 10px; }
.dp-card .dp-swatch { height: 120px; border-radius: 12px; }
.dp-card h2 { font-size: 18px; font-weight: 600; }
.dp-card p { font-size: 14px; color: #6B7280; line-height: 1.55; }
.dp-card .dp-links { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.dp-card .dp-links a { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 9px; font-size: 13.5px; font-weight: 500; text-decoration: none; color: #111827; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .14); }
.dp-card .dp-links a:first-child { background: #0052CC; color: #fff; box-shadow: none; }
.dp-note { margin-top: 28px; font-size: 13px; color: #6B7280; }

/* Shared preview overlays: toast, dialogs, palette, inbox — light (glass) and dark themes */
.dp-toast { position: fixed; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font: 500 13.5px/1.3 Inter, ui-sans-serif, system-ui, sans-serif; max-width: min(560px, 90vw); animation: dp-in .18s ease-out; }
.dp-toast.dark { background: #1F2024; color: #EDEDEF; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 16px 36px -12px rgba(0,0,0,.7); }
.dp-toast.dark svg { color: #4A8FE8; }
.dp-toast.light { background: rgba(255,255,255,.92); color: #2F2E2B; backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(47,46,43,.1), 0 16px 36px -14px rgba(30,64,120,.35); }
.dp-toast.light svg { color: #0052CC; }
@keyframes dp-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

.dp-scrim { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.dp-scrim.light { background: rgba(30, 50, 90, .18); backdrop-filter: blur(3px); }
.dp-scrim.dark { background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
.dp-scrim.clear { background: transparent; }
.dp-scrim button, .dp-scrim input, .dp-scrim select { font: inherit; }
.dp-scrim button { cursor: pointer; background: none; border: 0; color: inherit; padding: 0; text-align: left; }

.dp-dialog { width: 460px; border-radius: 16px; padding: 18px 20px 16px; display: grid; gap: 12px; font-size: 13.5px; }
.dp-dialog.light { background: rgba(255,255,255,.95); color: #2F2E2B; box-shadow: 0 0 0 1px rgba(47,46,43,.1), 0 30px 70px -20px rgba(30,64,120,.45); }
.dp-dialog.dark { background: #17181B; color: #EDEDEF; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px -20px rgba(0,0,0,.85); }
.dp-dialog-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.dp-dialog-head b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dp-dialog label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 500; opacity: .9; }
.dp-dialog input, .dp-dialog select { height: 34px; border-radius: 8px; padding: 0 10px; font-size: 13.5px; outline: 0; }
.dp-dialog.light input, .dp-dialog.light select { border: 1px solid rgba(47,46,43,.18); background: #fff; color: #2F2E2B; }
.dp-dialog.dark input, .dp-dialog.dark select { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #EDEDEF; }
.dp-dialog.light input:focus, .dp-dialog.light select:focus { border-color: #0052CC; box-shadow: 0 0 0 3px rgba(0,82,204,.15); }
.dp-dialog.dark input:focus, .dp-dialog.dark select:focus { border-color: #4A8FE8; box-shadow: 0 0 0 3px rgba(74,143,232,.18); }
.dp-dialog.dark select option { background: #17181B; }
.dp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dp-error { color: #D14343; font-size: 12.5px; }
.dp-dialog.dark .dp-error { color: #EF7B7B; }
.dp-dialog-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.dp-scrim .dp-btn { height: 34px; padding: 0 14px; border-radius: 9px; font-weight: 500; text-align: center; }
.dp-dialog.light .dp-btn { box-shadow: inset 0 0 0 1px rgba(47,46,43,.18); }
.dp-dialog.dark .dp-btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.dp-scrim .dp-btn.primary { background: #0052CC; color: #fff; box-shadow: none; }

.dp-palette { width: 600px; border-radius: 16px; overflow: hidden; }
.dp-palette.light { background: rgba(255,255,255,.94); color: #2F2E2B; backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(47,46,43,.1), 0 30px 70px -20px rgba(30,64,120,.45); }
.dp-palette.dark { background: #17181B; color: #EDEDEF; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px -20px rgba(0,0,0,.85); }
.dp-palette-q { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; opacity: .95; }
.dp-palette.light .dp-palette-q { border-bottom: 1px solid rgba(47,46,43,.09); }
.dp-palette.dark .dp-palette-q { border-bottom: 1px solid rgba(255,255,255,.08); }
.dp-palette-q input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: inherit; }
.dp-palette-list { padding: 6px; max-height: 380px; overflow-y: auto; }
.dp-scrim .dp-palette-item { width: 100%; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 9px; font-size: 14px; }
.dp-palette.light .dp-palette-item.on { background: rgba(0,82,204,.08); }
.dp-palette.dark .dp-palette-item.on { background: rgba(255,255,255,.07); }
.dp-palette-item .t { font-weight: 500; }
.dp-palette-item .s { opacity: .5; font-size: 13px; }
.dp-palette-ic, .dp-palette-av { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 600; flex: none; }
.dp-palette.light .dp-palette-ic, .dp-palette.light .dp-palette-av { background: rgba(47,46,43,.07); }
.dp-palette.dark .dp-palette-ic, .dp-palette.dark .dp-palette-av { background: rgba(255,255,255,.08); }
.dp-palette-av { border-radius: 50%; }
.dp-palette-enter { margin-left: auto; opacity: .5; }
.dp-palette-empty { padding: 18px 12px; opacity: .55; font-size: 13.5px; }

.dp-inbox { position: absolute; top: 58px; right: 24px; width: 400px; border-radius: 14px; padding: 12px 8px 8px; font-size: 13.5px; }
.dp-inbox.light { background: rgba(255,255,255,.95); color: #2F2E2B; box-shadow: 0 0 0 1px rgba(47,46,43,.1), 0 24px 60px -18px rgba(30,64,120,.45); }
.dp-inbox.dark { background: #17181B; color: #EDEDEF; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 60px -18px rgba(0,0,0,.85); }
.dp-inbox .dp-dialog-head { padding: 0 8px 8px; }
.dp-scrim .dp-link { font-size: 12.5px; font-weight: 500; color: #0052CC; }
.dp-inbox.dark .dp-link { color: #4A8FE8; }
.dp-scrim .dp-inbox-item { width: 100%; display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 10px; align-items: start; padding: 9px 8px; border-radius: 9px; }
.dp-inbox.light .dp-inbox-item:hover { background: rgba(47,46,43,.05); }
.dp-inbox.dark .dp-inbox-item:hover { background: rgba(255,255,255,.05); }
.dp-inbox-item b { display: block; font-weight: 500; }
.dp-inbox-item .s { display: block; opacity: .55; font-size: 12.5px; margin-top: 1px; }
.dp-inbox-item .when { opacity: .5; font-size: 12px; white-space: nowrap; }
.dp-inbox-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: #0052CC; }
.dp-inbox.dark .dp-inbox-dot { background: #4A8FE8; }
.dp-inbox-dot.high { background: #D9534F !important; }
.dp-inbox-dot.read { opacity: .25; }

/* Dropdown menu */
.dp-menu-wrap { position: relative; display: inline-flex; }
.dp-menu { position: absolute; top: calc(100% + 6px); z-index: 75; min-width: 210px; padding: 5px; border-radius: 11px; display: grid; font: 500 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; text-align: left; }
.dp-menu.right { right: 0; } .dp-menu.left { left: 0; }
.dp-menu.light { background: rgba(255,255,255,.97); color: #2F2E2B; box-shadow: 0 0 0 1px rgba(47,46,43,.1), 0 18px 40px -14px rgba(30,64,120,.4); }
.dp-menu.dark { background: #1C1D21; color: #EDEDEF; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px -14px rgba(0,0,0,.85); }
.dp-menu .dp-menu-item { width: 100%; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 6px; border-radius: 7px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; white-space: nowrap; }
.dp-menu.light .dp-menu-item:hover { background: rgba(0,82,204,.08); }
.dp-menu.dark .dp-menu-item:hover { background: rgba(255,255,255,.07); }
.dp-menu.light .dp-menu-item:focus-visible { background: rgba(0,82,204,.08); outline: 2px solid #0052CC; outline-offset: -2px; }
.dp-menu.dark .dp-menu-item:focus-visible { background: rgba(255,255,255,.07); outline: 2px solid #4A8FE8; outline-offset: -2px; }
.dp-menu .dp-menu-item.danger { color: #D14343; }
.dp-menu.dark .dp-menu-item.danger { color: #EF7B7B; }
.dp-menu-check { width: 14px; text-align: center; font-size: 12px; opacity: .8; }
.dp-menu-sep { display: block; height: 1px; margin: 4px 6px; background: currentColor; opacity: .1; }

/* Dialog extensions: generic forms, confirm, document preview, CSV import */
.dp-dialog.wide { width: 640px; }
.dp-dialog.doc { width: 620px; }
.dp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; max-height: 56vh; overflow-y: auto; padding: 2px; }
.dp-fields .full { grid-column: 1 / -1; }
.dp-dialog textarea { border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13.5px; outline: 0; resize: vertical; }
.dp-dialog.light textarea { border: 1px solid rgba(47,46,43,.18); background: #fff; color: #2F2E2B; }
.dp-dialog.dark textarea { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #EDEDEF; }
.dp-warn { font-size: 12.5px; padding: 8px 10px; border-radius: 8px; background: rgba(214,158,46,.16); color: #8F5B00; }
.dp-dialog.dark .dp-warn { color: #E2B04A; background: rgba(226,176,74,.12); }
.dp-hint { font-size: 12.5px; opacity: .6; line-height: 1.5; }
.dp-body { font-size: 13.5px; line-height: 1.55; opacity: .85; }
.dp-scrim .dp-btn.danger { background: #C93C37; }
.dp-scrim .dp-btn:disabled { opacity: .4; cursor: default; }
.dp-scrim .dp-btn { display: inline-flex; align-items: center; gap: 6px; }
.dp-page { border-radius: 10px; padding: 26px 30px; display: grid; gap: 10px; min-height: 360px; }
.dp-dialog.light .dp-page { background: #fff; box-shadow: inset 0 0 0 1px rgba(47,46,43,.1); }
.dp-dialog.dark .dp-page { background: #0F1012; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dp-page-h { font-size: 12px; opacity: .55; text-transform: uppercase; letter-spacing: .06em; }
.dp-page-t { font-size: 20px; font-weight: 600; }
.dp-page-l { font-size: 13px; opacity: .7; margin-bottom: 8px; }
.dp-page-line { height: 8px; border-radius: 4px; background: currentColor; opacity: .08; }
.dp-page-sig { margin-top: auto; font-size: 13px; opacity: .6; }
.dp-scrim .dp-drop { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 30px 20px; border-radius: 12px; border: 1.5px dashed currentColor; opacity: .85; }
.dp-drop span { font-size: 12.5px; opacity: .65; max-width: 440px; line-height: 1.5; }
.dp-table-wrap { max-height: 300px; overflow: auto; border-radius: 10px; }
.dp-dialog.light .dp-table-wrap { box-shadow: inset 0 0 0 1px rgba(47,46,43,.1); }
.dp-dialog.dark .dp-table-wrap { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.dp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dp-table th { text-align: left; font-weight: 500; opacity: .6; padding: 8px 10px; }
.dp-table td { padding: 8px 10px; border-top: 1px solid rgba(128,128,128,.15); }
.dp-pill { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.dp-pill.ok { background: rgba(0,82,204,.12); color: #0052CC; }
.dp-dialog.dark .dp-pill.ok { background: rgba(74,143,232,.16); color: #8DB8F2; }
.dp-pill.warn { background: rgba(214,158,46,.18); color: #8F5B00; }
.dp-dialog.dark .dp-pill.warn { color: #E2B04A; background: rgba(226,176,74,.14); }

.dp-inbox-counts { display: flex; align-items: center; gap: 12px; padding: 0 8px 8px; font-size: 12.5px; opacity: .8; }
.dp-inbox-counts span { display: inline-flex; align-items: center; gap: 6px; }
.dp-inbox-counts i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.dp-inbox-counts i.high { background: #D9534F; opacity: 1; }
.dp-inbox-counts i.medium { background: #D9A23A; opacity: 1; }
.dp-inbox .dp-inbox-item { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 10px; align-items: start; padding: 9px 8px; border-radius: 9px; }
.dp-inbox .dp-inbox-item.read { opacity: .6; }
.dp-scrim .dp-inbox-main { display: block; width: 100%; }
.dp-inbox-item .when { display: grid; justify-items: end; gap: 4px; }
.dp-scrim .dp-inbox-read { width: 24px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: #0052CC; }
.dp-inbox.dark .dp-inbox-read { color: #4A8FE8; }
.dp-inbox.light .dp-inbox-read:hover { background: rgba(0,82,204,.08); }
.dp-inbox.dark .dp-inbox-read:hover { background: rgba(255,255,255,.07); }
.dp-inbox-dot.medium { background: #D9A23A !important; }
.dp-scrim .dp-inbox-all { width: 100%; text-align: center; padding: 9px; margin-top: 4px; border-radius: 9px; font-size: 13px; font-weight: 500; opacity: .8; }
.dp-inbox.light .dp-inbox-all:hover { background: rgba(47,46,43,.05); }
.dp-inbox.dark .dp-inbox-all:hover { background: rgba(255,255,255,.05); }

/* Shared profile sections — colours, radius and fonts come from each design's --pf-* tokens */
.pf { display: grid; gap: 14px; color: var(--pf-text); container-type: inline-size; }
.pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--pf-line); }
.pf .pf-tab { height: 36px; padding: 0 12px; font-size: 13.5px; font-weight: 500; color: var(--pf-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pf .pf-tab:hover { color: var(--pf-text); }
.pf .pf-tab.on { color: var(--pf-text); border-color: var(--pf-accent); }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pf-card { padding: 16px 18px; border-radius: var(--pf-radius); background: var(--pf-card-bg); box-shadow: var(--pf-card-ring); min-width: 0; }
.pf-card.wide { grid-column: 1 / -1; }
.pf-ch { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pf-ch h3 { font-size: 14.5px; font-weight: 600; margin: 0; }
.pf-act { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pf .pf-btn { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--pf-text); box-shadow: inset 0 0 0 1px var(--pf-line2); background: var(--pf-btn-bg); }
.pf .pf-btn:hover { box-shadow: inset 0 0 0 1px var(--pf-accent); }
.pf .pf-btn.primary { background: var(--pf-accent-fill); color: #fff; box-shadow: none; }
.pf .pf-btn[aria-disabled="true"], .pf .pf-icon[aria-disabled="true"] { opacity: .4; cursor: default; }
.pf .pf-btn[aria-disabled="true"]:hover { box-shadow: inset 0 0 0 1px var(--pf-line2); }
.pf .pf-icon[aria-disabled="true"]:hover { background: none; color: var(--pf-muted); }
.pf .pf-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--pf-accent); }
.pf .pf-icon { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 6px; color: var(--pf-muted); }
.pf .pf-icon:hover { background: var(--pf-hover); color: var(--pf-text); }
.pf-kv { display: grid; gap: 0; margin: 0; }
.pf-kv > div { display: grid; grid-template-columns: minmax(120px, 42%) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--pf-line); font-size: 13.5px; }
.pf-kv > div:first-child { border-top: 0; }
.pf-kv dt { color: var(--pf-muted); }
.pf-kv dd { margin: 0; overflow-wrap: anywhere; }
.pf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pf-table th { text-align: left; font-weight: 500; color: var(--pf-muted); padding: 6px 8px; border-bottom: 1px solid var(--pf-line); white-space: nowrap; }
.pf-table td { padding: 8px; border-bottom: 1px solid var(--pf-line); vertical-align: top; }
.pf-table tr:last-child td { border-bottom: 0; }
.pf-row-act { white-space: nowrap; text-align: right; display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.pf-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; margin-left: 6px; border-radius: 5px; font-size: 11.5px; font-weight: 500; background: var(--pf-hover); color: var(--pf-muted); white-space: nowrap; }
.pf-chips .pf-chip { margin: 0 4px 0 0; height: 26px; padding: 0 10px; }
.pf-chips { margin-bottom: 10px; }
.pf-chip.acc { background: var(--pf-accent-soft); color: var(--pf-accent); }
.pf-chip.warn { background: var(--pf-warn-soft); color: var(--pf-warn); }
.pf-chip.bad { background: var(--pf-bad-soft); color: var(--pf-bad); }
.pf-muted { color: var(--pf-muted); font-size: 12.5px; margin-top: 3px; }
.pf-muted.mono, .pf .mono { font-family: var(--pf-mono, inherit); }
.pf-empty { color: var(--pf-muted); font-size: 13px; padding: 6px 0; }
.pf-meter { height: 8px; border-radius: 4px; background: var(--pf-hover); overflow: hidden; margin: 6px 0 8px; }
.pf-meter i { display: block; height: 100%; border-radius: 4px; background: var(--pf-accent-fill); }
/* Overview: a status card (design steps, completeness, engagement controls), then cards flowing into balanced columns */
.pf-ov { display: grid; gap: 14px; }
.pf-card.pf-ov-status { display: grid; gap: 12px 28px; align-items: start; }
.pf-ov-steps { display: grid; gap: 8px; min-width: 0; }
.pf-ov-steps h3, .pf-ov-comp h3 { font-size: 14.5px; font-weight: 600; margin: 0; }
.pf-ov-comp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; }
.pf-ov-comp > b { font-weight: 600; font-family: var(--pf-num, inherit); }
.pf-ov-comp .pf-meter { flex: 1 1 140px; height: 6px; margin: 0; }
.pf-ov-comp .pf-muted { flex-basis: 100%; margin: 0; }
.pf-ov-eng { display: grid; grid-template-columns: repeat(var(--eng-cols, 3), minmax(0, 1fr)); gap: 8px; }
.pf-ov-eng:has(> :nth-child(4)) { --eng-cols: 4; }
.pf-ov-eng > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 4px 6px 4px 12px; border-radius: 8px; background: var(--pf-hover); font-size: 13.5px; }
.pf-ov-eng span { color: var(--pf-muted); white-space: nowrap; }
.pf-ov-eng b { font-weight: 600; padding-right: 6px; }
/* OverviewFlow places each card (grid-row spans of 1px rows) once it has measured them; until then, and when narrow, they stack */
.pf-ov-flow { display: grid; gap: 14px; align-items: start; overflow-anchor: none; }
.pf-ov-flow[data-cols]:not([data-cols='1']) { grid-template-columns: repeat(var(--ov-cols), minmax(0, 1fr)); grid-auto-rows: 1px; row-gap: 0; align-items: stretch; }
.pf-ov-flow[data-measure] { grid-template-columns: repeat(var(--ov-cols), minmax(0, 1fr)); grid-auto-rows: auto; row-gap: 14px; align-items: start; }
.pf-ov-flow[data-measure] > * { grid-column: 1; }
.pf-ov-fill { display: flex; flex-direction: column; }
.pf-ov-flow[data-cols]:not([data-cols='1']) .pf-ov-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.pf-ov-flow[data-measure] .pf-ov-scroll { flex: none; overflow: visible; }
.pf-ov .pf-kv > div { grid-template-columns: minmax(110px, min(40%, 200px)) minmax(0, 1fr); }
@container (min-width: 900px) {
  .pf-card.pf-ov-status.has-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pf-ov-status .pf-ov-eng { grid-column: 1 / -1; }
}
@container (max-width: 959px) { .pf-ov-eng:has(> :nth-child(4)) { --eng-cols: 2; } }
@container (max-width: 799px) { .pf-ov-eng { --eng-cols: 2; } .pf-ov-eng > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@container (max-width: 519px) { .pf-ov-eng, .pf-ov-eng:has(> :nth-child(4)) { --eng-cols: 1; } }
.pf .pf-select { height: 28px; border-radius: 7px; padding: 0 8px; font: inherit; font-size: 13px; color: var(--pf-text); background: var(--pf-btn-bg); border: 1px solid var(--pf-line2); }
.pf .pf-select option { background: var(--pf-option-bg); color: var(--pf-text); }
.pf .pf-switch { width: 34px; height: 20px; border-radius: 10px; background: var(--pf-line2); position: relative; transition: background .15s; }
.pf .pf-switch i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.pf .pf-switch.on { background: var(--pf-accent-fill); }
.pf .pf-switch.on i { transform: translateX(14px); }
.pf-list { display: grid; }
.pf-li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--pf-line); font-size: 13.5px; }
.pf-li:first-child { border-top: 0; }
.pf-li > div:first-child { flex: 1; min-width: 0; }
.pf-li-act { display: flex; gap: 2px; align-items: center; }
.pf-banner { margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
.pf-banner.warn { background: var(--pf-warn-soft); color: var(--pf-warn); }
.pf-banner.bad { background: var(--pf-bad-soft); color: var(--pf-bad); }
.pf-budget { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.pf-budget span { display: block; color: var(--pf-muted); font-size: 12px; }
.pf-budget b { font-size: 18px; font-weight: 600; font-family: var(--pf-num, inherit); }
@container (max-width: 720px) { .pf-grid { grid-template-columns: 1fr; } }

/* List helpers: portal switch, pager — colours from each design's --pf tokens */
.dp-sw { position: relative; width: 32px; height: 18px; border-radius: 9px; border: 0; padding: 0; cursor: pointer; background: var(--pf-line2); transition: background .15s; vertical-align: middle; }
.dp-sw i { position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.dp-sw.on { background: var(--pf-accent-fill); }
.dp-sw.on i { transform: translateX(14px); }
.dp-muted { color: var(--pf-muted); }
.dp-pager { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--pf-muted); }
.dp-pager button { min-width: 26px; height: 26px; border-radius: 6px; border: 0; background: none; color: var(--pf-muted); font: inherit; cursor: pointer; }
.dp-pager button:hover:not(:disabled) { background: var(--pf-hover); color: var(--pf-text); }
.dp-pager button.on { background: var(--pf-accent-soft); color: var(--pf-accent); font-weight: 600; }
.dp-pager button:disabled { opacity: .35; cursor: default; }
.dp-pager-info { margin-right: 6px; font-size: 12.5px; color: var(--pf-muted); }
.dp-plan { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pf-muted); white-space: nowrap; }
.dp-plan i { display: inline-block; width: 64px; height: 5px; border-radius: 3px; background: var(--pf-line2); overflow: hidden; position: relative; }
.dp-plan i b { position: absolute; inset: 0 auto 0 0; background: var(--pf-accent-fill); border-radius: 3px; }
.dp-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 13px; background: var(--pf-warn-soft); color: var(--pf-warn); }
.dp-banner a, .dp-banner button { font-weight: 600; text-decoration: underline; color: inherit; background: none; border: 0; cursor: pointer; font: inherit; }
.dp-readonly { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--pf-warn-soft); color: var(--pf-warn); }
/* Participant hover preview — portalled to <body>; the --pf tokens are copied from the row it belongs to */
.dp-hc-anchor { display: inline-flex; min-width: 0; }
.dp-hc { z-index: 76; width: 320px; padding: 14px 16px; border-radius: 12px; display: grid; gap: 10px; font-size: 13px; line-height: 1.4; color: var(--pf-text); text-align: left; animation: dp-hc-in .12s ease-out; }
.dp-hc.light { background: rgba(255, 255, 255, .98); box-shadow: 0 0 0 1px rgba(47, 46, 43, .1), 0 18px 40px -14px rgba(30, 64, 120, .4); }
.dp-hc.dark { background: #1C1D21; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -14px rgba(0, 0, 0, .85); }
@keyframes dp-hc-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.dp-hc-head { display: flex; align-items: center; gap: 10px; }
.dp-hc-head > div { flex: 1; min-width: 0; display: grid; }
.dp-hc-head b { font-size: 14.5px; font-weight: 600; }
.dp-hc-head span { color: var(--pf-muted); font-size: 12.5px; }
.dp-hc-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; background: var(--pf-hover); color: var(--pf-muted); }
.dp-hc .dp-hc-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--pf-hover); color: var(--pf-text); }
.dp-hc .dp-hc-chip.acc { background: var(--pf-accent-soft); color: var(--pf-accent); }
.dp-hc-kv { margin: 0; display: grid; }
.dp-hc-kv > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 3px 0; }
.dp-hc-kv dt { color: var(--pf-muted); }
.dp-hc-kv dd { margin: 0; overflow-wrap: anywhere; }
.dp-hc .warn { color: var(--pf-warn); }
.dp-hc .bad { color: var(--pf-bad); }
.dp-hc-docs { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--pf-line); white-space: nowrap; }
.dp-hc-docs i { flex: 1; height: 5px; border-radius: 3px; background: var(--pf-line2); overflow: hidden; }
.dp-hc-docs i b { display: block; height: 100%; border-radius: 3px; background: var(--pf-accent-fill); }
.dp-hc-missing { display: grid; gap: 2px; margin-top: -4px; color: var(--pf-muted); font-size: 12.5px; }
.dp-hc-note { margin: 0; color: var(--pf-muted); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dp-hc .dp-hc-open { height: 30px; border: 0; border-radius: 8px; font: inherit; font-weight: 500; cursor: pointer; background: var(--pf-accent-soft); color: var(--pf-accent); }
.dp-hc .dp-hc-open:hover, .dp-hc .dp-hc-open:focus-visible { background: var(--pf-accent-fill); color: #fff; outline: 0; }

/* Dashboard widget grid: fixed columns × row units (--dx-cols, --dx-row, --dx-gap from each design).
   Every widget is a size container; its variants step at fixed widths/heights, so text never scales with the box.
   Type scale per design: --dx-fs-title, --dx-fs-value, --dx-fs-label, --dx-fs-caption. */
.dx-grid { display: grid; grid-template-columns: repeat(var(--dx-cols, 4), minmax(0, 1fr)); grid-auto-rows: var(--dx-row, 92px); grid-auto-flow: row dense; gap: var(--dx-gap, 12px); font-variant-numeric: tabular-nums; }
.dx-w { container: dxw / size; position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; color: var(--pf-text); }
.dx-wh { display: flex; align-items: center; gap: 8px; flex: none; min-width: 0; height: var(--dx-head, 40px); padding: 0 var(--dx-px, 16px); }
.dx-wh h2 { margin: 0; font-size: var(--dx-fs-title); font-weight: var(--dx-fw-title, 600); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dx-wc { font-size: var(--dx-fs-caption); color: var(--pf-muted); font-family: var(--pf-num, inherit); }
.dx-wr { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: var(--dx-fs-caption); color: var(--pf-muted); white-space: nowrap; flex: none; }
.dx-wb { flex: 1 1 0; min-height: 0; min-width: 0; display: flex; flex-direction: column; padding: 0 var(--dx-px, 16px) var(--dx-py, 14px); }
.dx-fitbox { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; }
.dx-fitbox > svg { position: absolute; inset: 0; display: block; overflow: visible; }
.dx-fitlist { flex: 1 1 0; min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(var(--dx-li, 44px), 1fr); }
.dx-fitlist > :first-child { border-top: 0 !important; }
.dx-tl { display: flex; align-items: center; gap: 6px; font-size: var(--dx-fs-label); font-weight: 500; color: var(--pf-muted); white-space: nowrap; min-width: 0; }
.dx-tl b { margin-left: auto; font-weight: 500; font-size: var(--dx-fs-caption); font-family: var(--pf-num, inherit); }

/* Shared widget bodies — colours from each design's --pf tokens */
.dx { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-height: 0; min-width: 0; color: var(--pf-text); font-size: var(--dx-fs-label, 13.5px); }
:where(.dx, .dx-cmp) button, :where(button.dx) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.dx-counts { display: flex; align-items: center; gap: 12px; font-size: var(--dx-fs-caption); color: var(--pf-muted); flex: none; }
.dx-counts span { display: inline-flex; align-items: center; gap: 6px; }
.dx-counts i { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-line2); }
.dx-counts i.high { background: var(--pf-bad); } .dx-counts i.medium { background: var(--pf-warn); }
.dx-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--dx-fs-caption); color: var(--pf-muted); white-space: nowrap; }
.dx-live b { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-accent-fill); box-shadow: 0 0 0 3px var(--pf-accent-soft); }
.dx-alerts { --dx-li: 52px; }
.dx-alert { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--pf-line); }
.dx-alert.read { opacity: .55; }
.dx-dot { width: 8px; height: 8px; border-radius: 50%; align-self: start; margin-top: 7px; background: var(--pf-line2); }
.dx-dot.high { background: var(--pf-bad); } .dx-dot.medium { background: var(--pf-warn); }
.dx .dx-alert-main { display: grid; gap: 1px; min-width: 0; }
.dx-alert-main b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-alert-main span { color: var(--pf-muted); font-size: var(--dx-fs-caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-alert-side { display: grid; justify-items: end; align-self: start; gap: 2px; white-space: nowrap; color: var(--pf-muted); font-size: var(--dx-fs-caption); }
.dx-time { font-family: var(--pf-num, inherit); }
.dx .dx-link { color: var(--pf-accent); font-size: var(--dx-fs-caption); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; font-family: inherit; }
.dx-foot { display: flex; align-items: center; gap: 14px; padding-top: 7px; margin-top: auto; border-top: 1px solid var(--pf-line); flex: none; min-width: 0; }
.dx-foot .dx-link:first-child:not(:only-child) { margin-right: auto; }
.dx-foot .dx-live { margin-left: 0; margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.dx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: none; }
.dx-tiles > div { padding: 6px 10px; border-radius: 8px; background: var(--pf-hover); min-width: 0; }
.dx-tiles > div > span { display: block; font-size: var(--dx-fs-caption); color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-tiles b { display: flex; align-items: baseline; gap: 6px; font-size: var(--dx-fs-title); font-weight: 600; line-height: 1.4; font-family: var(--pf-num, inherit); }
.dx-tiles .dx-short { display: none; }
.dx-tiles em { font-style: normal; font-weight: 500; font-size: var(--dx-fs-caption); color: var(--pf-accent); }
.dx-kv { margin: 0; display: grid; }
.dx-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--pf-line); min-width: 0; }
.dx-kv > div:first-child { border-top: 0; }
.dx-kv dt { color: var(--pf-muted); white-space: nowrap; }
.dx-kv dd { margin: 0; text-align: right; font-family: var(--pf-num, inherit); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-kv2 { grid-template-columns: repeat(2, minmax(0, 1fr)); -moz-column-gap: 18px; column-gap: 18px; flex: none; }
.dx-kv2 > div:nth-child(2) { border-top: 0; }
.dx-kv2 > .wide { grid-column: 1 / -1; }
.dx-stack { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; margin: 2px 0 6px; flex: none; }
.dx .dx-stack button { height: 100%; background: var(--pf-accent-fill); border-radius: 3px; }
.dx-legend { flex: 1 1 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: minmax(26px, 1fr); -moz-column-gap: 20px; column-gap: 20px; min-height: 0; overflow: hidden; }
.dx .dx-legend button { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 34px; align-items: center; gap: 8px; min-height: 26px; max-height: 40px; border-radius: 6px; }
.dx .dx-legend button:hover .l { text-decoration: underline; text-underline-offset: 3px; }
.dx-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--pf-accent-fill); }
.dx-legend .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-legend b { font-weight: 600; font-family: var(--pf-num, inherit); }
.dx-legend span:last-child { color: var(--pf-muted); font-size: var(--dx-fs-caption); text-align: right; font-family: var(--pf-num, inherit); }
.dx-rows { -moz-column-gap: 24px; column-gap: 24px; }
.dx .dx-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--pf-line); width: 100%; min-width: 0; }
.dx-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; background: var(--pf-hover); color: var(--pf-muted); flex: none; }
.dx-row-main { display: grid; min-width: 0; flex: 1; }
.dx-row-main b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-row-main span { color: var(--pf-muted); font-size: var(--dx-fs-caption); }
.dx-chip { display: inline-flex; height: 20px; align-items: center; padding: 0 7px; border-radius: 5px; font-size: var(--dx-fs-caption); font-weight: 500; background: var(--pf-hover); color: var(--pf-muted); white-space: nowrap; flex: none; }
.dx-chip.warn { background: var(--pf-warn-soft); color: var(--pf-warn); }
.dx-email { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-height: 0; padding: 0 var(--dx-px, 16px); }
.dx-email > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dx-email h2 { margin: 0; font-size: var(--dx-fs-title); font-weight: var(--dx-fw-title, 600); }
.dx-email b { font-weight: 500; font-size: var(--dx-fs-label); }
.dx-email span { color: var(--pf-muted); font-size: var(--dx-fs-caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-email-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--pf-warn-soft); color: var(--pf-warn); flex: none; }
.dx-email-ic.on { background: var(--pf-accent-soft); color: var(--pf-accent); }
.dx .dx-btn, .dx-range .dx-btn, .dx-email .dx-btn { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 7px; font-size: var(--dx-fs-caption); font-weight: 500; color: var(--pf-text); box-shadow: inset 0 0 0 1px var(--pf-line2); background: var(--pf-btn-bg); white-space: nowrap; cursor: pointer; border: 0; font-family: inherit; flex: none; }
.dx-range { display: flex; align-items: center; gap: 6px; color: var(--pf-muted); font-size: var(--dx-fs-caption); flex: none; min-width: 0; }
.dx-range input { height: 28px; width: 124px; min-width: 0; border-radius: 7px; padding: 0 6px; font: inherit; font-size: var(--dx-fs-caption); color: var(--pf-text); background: var(--pf-btn-bg); border: 1px solid var(--pf-line2); color-scheme: light dark; font-variant-numeric: tabular-nums; }
.dx-range .dx-link { color: var(--pf-accent); font-size: var(--dx-fs-caption); font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; }
.dx-range .dx-btn:last-child { margin-left: auto; }
.dx-bday { gap: 0; }
.dx .dx-bday-row { display: flex; align-items: baseline; gap: 8px; height: 24px; width: 100%; min-width: 0; }
.dx-bday-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; text-decoration: underline; text-decoration-color: var(--pf-line2); text-underline-offset: 3px; }
.dx-bday-row:hover b { text-decoration-color: var(--pf-accent); }
.dx-bday-row span { color: var(--pf-muted); font-size: var(--dx-fs-caption); white-space: nowrap; }
.dx-bday-row span:last-child { margin-left: auto; }
.dx-bday-row .t, .dx-bday-row em { display: none; font-style: normal; }
.dx-pay { gap: 0; }
.dx-pay-v { display: flex; align-items: baseline; gap: 6px; }
.dx-pay-v b { font-size: var(--dx-fs-value); font-weight: var(--dx-fw-value, 700); letter-spacing: -.02em; font-family: var(--pf-num, inherit); line-height: 1.1; white-space: nowrap; }
.dx-pay-v span, .dx-pay-run { color: var(--pf-muted); font-size: var(--dx-fs-caption); line-height: 1.35; white-space: nowrap; }
.dx-pay-run b { color: var(--pf-text); font-weight: 500; }
.dx-pay-ex { display: none; margin-top: auto; }
.dx-pay-ex > span { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--pf-line); font-size: var(--dx-fs-caption); color: var(--pf-muted); }
.dx-pay-ex b { color: var(--pf-text); font-weight: 500; font-family: var(--pf-num, inherit); }
.dx-cmp { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
.dx-cmp-main { min-height: 0; min-width: 0; display: flex; flex-direction: column; }
.dx-cmp-areas { display: grid; align-content: center; min-width: 0; }
.dx-cmp .dx-area { display: grid; grid-template-columns: max-content minmax(36px, 1fr) 26px 14px; align-items: center; gap: 10px; height: 32px; padding: 0 6px; margin: 0 -6px; border-radius: 7px; font-size: var(--dx-fs-label); }
.dx-cmp .dx-area:hover, .dx-cmp .dx-area.on { background: var(--pf-hover); }
.dx-area .l { white-space: nowrap; min-width: 92px; }
.dx-area em { font-style: normal; font-size: var(--dx-fs-caption); color: var(--pf-muted); font-family: var(--pf-num, inherit); }
.dx-area .tr { position: relative; height: 6px; border-radius: 3px; background: var(--pf-hover); }
.dx-area .tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--dx-ok-fill, var(--pf-accent-fill)); }
.dx-area[data-band='warn'] .tr i { background: var(--dx-warn-fill, var(--pf-warn)); }
.dx-area[data-band='bad'] .tr i { background: var(--dx-bad-fill, var(--pf-bad)); }
.dx-area .tr b { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--pf-text); opacity: .7; }
.dx-area .v { text-align: right; font-weight: 600; font-family: var(--pf-num, inherit); }
.dx-area[data-band='warn'] .v { color: var(--pf-warn); } .dx-area[data-band='bad'] .v { color: var(--pf-bad); }
.dx-area-go { color: var(--pf-muted); opacity: 0; }
.dx-area:hover .dx-area-go, .dx-area.on .dx-area-go, .dx-area:focus-visible .dx-area-go { opacity: 1; }
.dx-drill { padding: 8px 12px; border-radius: 10px; background: var(--pf-hover); gap: 0; overflow-y: auto; }
.dx-drill-h { display: flex; align-items: center; gap: 8px; font-size: var(--dx-fs-caption); font-weight: 600; color: var(--pf-muted); margin: 8px 0 2px; }
.dx-drill-h.first { margin-top: 0; min-height: 22px; }
.dx .dx-x { margin-left: auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: var(--pf-muted); flex: none; }
.dx .dx-x:hover { background: var(--pf-hover); color: var(--pf-text); }
.dx-export { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 5px 0; font-size: var(--dx-fs-caption); border-top: 1px solid var(--pf-line); }
.dx-export b { font-weight: 600; font-family: var(--pf-num, inherit); }

/* Widget variants by the widget's own size: compact < 380px wide, expanded ≥ 600px wide, tall ≥ 170px */
@container dxw (max-width: 299px) {
  .dx-wh { flex-wrap: wrap; align-content: center; row-gap: 1px; }
  .dx-wr { margin-left: 0; width: 100%; }
}
@container dxw (max-width: 499px) {
  .dx-tiles .dx-long { display: none; }
  .dx-tiles .dx-short { display: inline; }
}
@container dxw (max-width: 379px) {
  .dx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-kv2 { grid-template-columns: minmax(0, 1fr); }
  .dx-kv2 > div:nth-child(2) { border-top: 1px solid var(--pf-line); }
  .dx-email span { display: none; }
}
@container dxw (max-width: 439px) {
  .dx-cmp { grid-template-columns: minmax(0, 1fr); }
  .dx-cmp:not(.drilled) .dx-cmp-main { display: none; }
  .dx-cmp.drilled .dx-cmp-areas { display: none; }
}
@container dxw (min-width: 600px) {
  .dx-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-rows > :nth-child(2) { border-top: 0; }
}
@container dxw (min-width: 300px) {
  .dx-bday-row .t, .dx-bday-row em { display: inline; }
}
@container dxw (min-height: 170px) {
  .dx-pay-ex { display: grid; }
}

.dp-switch a, .dp-switch button { white-space: nowrap; }

