/* Zogby portal: dashboard and status pages. Colors only through the design variables. One hue for every meter. */
.pd{display:grid;gap:var(--space-6);align-content:start;min-width:0;font-size:17px;line-height:1.5}
.pd [hidden]{display:none!important}
.pd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pd-mut{color:var(--ink-muted);font-size:15px;line-height:22px}
.pd-num{font-variant-numeric:tabular-nums}
.pd-big{font-size:20px;line-height:26px;font-weight:600}
.pd-row{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.pd-stack{display:grid;gap:var(--space-6);min-width:0}
.pd-acts{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.pd a:focus-visible,.pd button:focus-visible,.pd textarea:focus-visible,.pd input:focus-visible,.pd [tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.pd-btn2{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 var(--space-6);border:1px solid var(--border);border-radius:var(--radius-sm);background:transparent;color:var(--ink);font:600 15px var(--font-text);cursor:pointer}
.pd-btn2:hover{border-color:var(--ink)}.pd-btn2[disabled]{color:var(--ink-muted);border-color:var(--rule);cursor:not-allowed}
.pd-lbtn{display:inline-flex;align-items:center;min-height:48px;padding:0 4px;border:0;background:none;color:var(--ink);font:600 15px var(--font-text);text-decoration:underline!important;text-underline-offset:3px;cursor:pointer}
.pd-link{display:inline-flex;align-items:center;min-height:48px;font-weight:600;font-size:15px;text-decoration:underline!important;text-underline-offset:3px;justify-self:start;margin-bottom:-12px}
.pd-h4{font-size:17px;line-height:24px;font-weight:600;margin-top:var(--space-2)}
/* sub navigation */
.pd-sub{display:flex;gap:4px;overflow-x:auto;margin:0 calc(var(--space-4)*-1);padding:0 var(--space-4);scrollbar-width:none;border-bottom:1px solid var(--rule)}.pd-sub::-webkit-scrollbar{display:none}
.pd-sub a{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 12px;white-space:nowrap;font-size:15px;font-weight:500;color:var(--ink-muted);border-bottom:2px solid transparent}
.pd-sub a[aria-current]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.pd-sub a:hover{color:var(--ink)}
/* dashboard */
.pd-greet h1{overflow-wrap:anywhere}
.pd-hero>div,.pd-act{display:grid;gap:var(--space-3);align-content:start}
.pd-now{font-family:var(--font-display);font-weight:400;font-size:clamp(22px,2.4vw,30px);line-height:1.2;letter-spacing:-.015em}
.pd-trk{list-style:none;margin:var(--space-2) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.pd-trk li{display:grid;gap:8px;font-size:14px;line-height:18px;color:var(--ink-muted)}
.pd-seg{display:block;height:8px;border-radius:2px;background:var(--surface-sunk);overflow:hidden}
.pd-seg i{display:block;height:100%;width:0;background:var(--accent);transition:width .3s ease-out}
.pd-trk li[data-on] .pd-seg i{width:100%}
.pd-trk li:nth-child(2) .pd-seg i{transition-delay:.12s}.pd-trk li:nth-child(3) .pd-seg i{transition-delay:.24s}.pd-trk li:nth-child(4) .pd-seg i{transition-delay:.36s}
.pd-trk li[data-on]{color:var(--ink)}.pd-trk li[aria-current]{font-weight:700}
.pd-trk li[aria-current] .pd-stepn::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:6px;vertical-align:1px}
@media(prefers-reduced-motion:reduce){.pd-seg i,.pd-ring circle{transition:none!important}}
.pd-next{font-size:16px;line-height:24px}
.pd-plain{margin:0;padding-left:20px;display:grid;gap:4px}
.pd-fams{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.pd-fam{display:grid;gap:2px;padding:14px 16px;border:1px solid var(--rule);border-radius:var(--radius-md);min-height:48px}.pd-fam:hover{border-color:var(--ink)}.pd-fam span{color:var(--ink-muted);font-size:15px;line-height:22px}
.pd-dl{display:grid;margin:0}.pd-dl>div{display:flex;justify-content:space-between;gap:var(--space-4);padding:10px 0;border-bottom:1px solid var(--rule)}.pd-dl>div:last-child{border-bottom:0}
.pd-dl dt{color:var(--ink-muted);font-size:15px}.pd-dl dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}
.pd-tasks{list-style:none;margin:0;padding:0;display:grid}
.pd-task{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--rule);min-height:64px}.pd-task:last-child{border-bottom:0}
.pd-task a{flex:1;display:grid;gap:2px;padding:10px 0;min-width:0}.pd-task a b{font-weight:600;overflow-wrap:anywhere}.pd-task a span{color:var(--ink-muted);font-size:14px;line-height:20px}
.pd-task a:hover b{text-decoration:underline;text-underline-offset:3px}
.pd-task[data-done] a b{font-weight:400;color:var(--ink-muted);text-decoration:line-through}
.pd-chk{flex:none;width:48px;height:48px;display:grid;place-items:center;margin-left:-12px;cursor:pointer}
.pd-chk input{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin:0;border:1.5px solid var(--border);border-radius:2px;background:var(--paper);cursor:pointer;display:grid;place-items:center}
.pd-chk input:checked{background:var(--ink);border-color:var(--ink)}.pd-chk input:checked::after{content:"";width:11px;height:6px;border-left:2px solid var(--on-ink);border-bottom:2px solid var(--on-ink);transform:rotate(-45deg) translateY(-1px)}
.pd-auto{flex:none;width:24px;height:24px;margin:0 12px 0 0;border:1.5px dashed var(--border);border-radius:2px;display:grid;place-items:center}
.pd-auto.is-done{border-style:solid;background:var(--surface-sunk)}.pd-auto.is-done::after{content:"";width:11px;height:6px;border-left:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(-45deg) translateY(-1px)}
.pd-none{color:var(--ink-muted);padding:12px 0;list-style:none;display:block!important;min-height:0!important}
.pd-ringrow{display:flex;align-items:center;gap:var(--space-4);min-height:48px}
.pd-ring{position:relative;flex:none;width:112px;height:112px}.pd-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.pd-ring circle{fill:none;stroke-width:10;transition:stroke-dasharray .3s ease-out}.pd-ring .bg{stroke:var(--surface-sunk)}.pd-ring .ac{stroke:var(--accent)}.pd-ring .up{stroke:var(--accent);opacity:.35}
.pd-ringn{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;line-height:1}.pd-ringn b{font-size:32px;font-weight:600}.pd-ringn>span{font-size:13px;color:var(--ink-muted);margin-top:4px}
.pd-ringt{display:grid;gap:4px;min-width:0}.pd-ringt b{font-size:20px;line-height:26px}.pd-ringt span{color:var(--ink-muted);font-size:15px;line-height:22px}
.pd-key{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--ink-muted)}.pd-key li{display:flex;align-items:center;gap:6px}
.pd-key i{width:12px;height:12px;border-radius:2px;background:var(--accent)}.pd-key .k2{opacity:.35}.pd-key .k3{background:var(--surface-sunk);border:1px solid var(--rule)}
.pd-rows{list-style:none;margin:0;padding:0}
.pd-two{display:grid;gap:2px;min-width:0}.pd-two>span{color:var(--ink-muted);font-size:15px;line-height:22px;overflow-wrap:anywhere}.pd-two.pd-r{justify-items:end;flex:none}
a.pd-two{flex:1;min-height:48px;align-content:center}a.pd-two:hover b{text-decoration:underline;text-underline-offset:3px}
.pd-new{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:6px}
.pd-tl{list-style:none;margin:0;padding:0;display:grid}
.pd-tl li{position:relative;display:grid;gap:2px;padding:0 0 16px 22px}.pd-tl li:last-child{padding-bottom:0}
.pd-tl li::before{content:"";position:absolute;left:0;top:7px;width:9px;height:9px;border-radius:50%;border:2px solid var(--ink);background:var(--paper)}
.pd-tl li:first-child::before{background:var(--ink)}
.pd-tl li::after{content:"";position:absolute;left:6px;top:22px;bottom:-5px;width:1px;background:var(--rule)}.pd-tl li:last-child::after{display:none}
.pd-tl time{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}
.pd-tl .pd-none{padding-left:0}.pd-tl .pd-none::before,.pd-tl .pd-none::after{display:none}
/* application status */
.pd-reasons,.pd-steps{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.pd-reasons li,.pd-steps li{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--rule);border-radius:var(--radius-md)}
.pd-steps{counter-reset:s}.pd-steps li{counter-increment:s;padding-left:56px;position:relative}
.pd-steps li::before{content:counter(s);position:absolute;left:16px;top:14px;width:28px;height:28px;border:1px solid var(--ink);border-radius:2px;display:grid;place-items:center;font:500 13px var(--font-mono)}
.pd-score{display:grid;gap:var(--space-4);align-items:center}
@media(min-width:700px){.pd-score{grid-template-columns:auto minmax(0,1fr);gap:var(--space-8)}.pd-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pd-scoren{display:flex;align-items:baseline;gap:8px}.pd-scoren b{font-size:64px;line-height:1;font-weight:600;letter-spacing:-.02em}.pd-scoren span{color:var(--ink-muted);font-size:15px}
.pd-score>div{display:grid;gap:8px;min-width:0}
.pd-meter{position:relative;height:12px;border-radius:2px;background:var(--surface-sunk);overflow:hidden}.pd-meter i{display:block;height:100%;background:var(--accent)}
.pd-meter span{position:absolute;top:0;bottom:0;width:2px;background:var(--paper)}
.pd-levels{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));font-size:14px;line-height:18px;color:var(--ink-muted)}
.pd-levels small{display:block;font-size:12px}.pd-levels li[data-on]{color:var(--ink);font-weight:700}
.pd-slot{border:1px dashed var(--border);border-radius:var(--radius-md);padding:var(--space-4)}
.pd-secs{display:grid;gap:var(--space-4)}.pd-secs .pd-sec{border-top:1px solid var(--rule);padding-top:4px}.pd-secs .pd-h4{margin:0}
.pd-change,.pd-compose{display:grid;gap:10px}.pd-change{border:1px solid var(--rule);border-radius:var(--radius-md);padding:var(--space-4)}
.pd label,.pd-lab{font-weight:600;font-size:15px}
.pd textarea{width:100%;min-height:96px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:400 17px/1.5 var(--font-text);resize:vertical}
.pd-err{color:var(--negative);font-size:15px}
.pd-confirm{border:1px solid var(--ink);border-radius:var(--radius-md);padding:var(--space-4);display:grid;gap:12px;margin-top:12px}
.pd-confirm:not([hidden])~*{margin-top:0}
[data-k=c-manage]>div{display:grid;gap:12px}
/* applications list */
.pd-apps-h,.pd-app{display:grid;grid-template-columns:minmax(0,2.2fr) 1fr 1.3fr 1fr auto;gap:var(--space-4);align-items:center}
.pd-apps-h{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted);padding-bottom:8px;border-bottom:1px solid var(--rule)}
.pd-apps-h span:last-child{width:64px}
.pd-app{padding:16px 0;border-bottom:1px solid var(--rule);min-height:72px}.pd-app:hover b{text-decoration:underline;text-underline-offset:3px}
.pd-app small{display:block;color:var(--ink-muted);font:500 12px var(--font-mono);margin-top:2px}.pd-open{font-weight:600;width:64px;white-space:nowrap}
@media(max-width:699px){.pd-apps-h{display:none}.pd-app{grid-template-columns:1fr 1fr;gap:10px 16px;border:1px solid var(--rule);border-radius:var(--radius-md);padding:16px}
 .pd-app>span:first-child{grid-column:1/-1}.pd-app [data-l]::before{content:attr(data-l);display:block;font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:4px}.pd-open{width:auto;align-self:end;justify-self:end}}
/* messages */
.pd-mail{display:grid;gap:var(--space-6);min-width:0}
.pd-thrlist{display:grid}
.pd-thr{display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;min-height:72px;padding:12px;margin:0 -12px;border:0;border-bottom:1px solid var(--rule);background:none;color:var(--ink);font:inherit;cursor:pointer;border-radius:0}
.pd-thr:last-child{border-bottom:0}.pd-thr:hover{background:var(--surface)}.pd-thr[aria-current]{box-shadow:inset 3px 0 0 var(--ink);background:var(--surface)}
.pd-thr .pd-two:first-child>span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.pd-back{display:inline-flex;align-items:center;min-height:48px;border:0;background:none;color:var(--ink);font:600 15px var(--font-text);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:0}
.pd-back::before{content:"←";font-family:var(--font-mono);margin-right:8px}
.pd-thread:focus{outline:none}
.pd-bubbles{list-style:none;margin:0;padding:0;display:grid;gap:12px;max-height:440px;overflow:auto}
.pd-b{display:grid;gap:4px;max-width:min(520px,88%);justify-self:start}.pd-b p{padding:12px 14px;border:1px solid var(--rule);border-radius:var(--radius-md);background:var(--surface);overflow-wrap:anywhere;white-space:pre-wrap}
.pd-b .pd-mut{font-size:13px}
.pd-b[data-from=you]{justify-self:end;justify-items:end}.pd-b[data-from=you] p{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.pd-b[data-from=system] p{background:var(--tint);border-color:var(--tint)}
.pd-compose{border-top:1px solid var(--rule);padding-top:var(--space-4)}
.pd-tiles{display:flex;flex-wrap:wrap;gap:12px}
.pd-tile{min-height:48px;padding:8px 16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:500 15px/1.3 var(--font-text);text-align:left;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.pd-tile:hover{border-color:var(--ink)}.pd-tile[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.pd-tile .pd-num{font:500 12px var(--font-mono);opacity:.75}
@media(max-width:899px){.pd-mail[data-open=""] .pd-thread{display:none}.pd-mail:not([data-open=""]) .pd-threads{display:none}.pd-bubbles{max-height:none}}
@media(min-width:900px){.pd-mail{grid-template-columns:minmax(260px,1fr) minmax(0,2fr);align-items:start}.pd-back{display:none}.pd-thread>.pd-row:first-child{display:none}}
/* notifications */
.pd-notes{list-style:none;margin:0;padding:0;display:grid}
.pd-note{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--rule);min-height:72px}.pd-note:last-child{border-bottom:0}
.pd-note a{flex:1;display:grid;gap:6px;padding:14px 0;min-width:0}.pd-note a b{font-weight:400;overflow-wrap:anywhere}.pd-note[data-unread] a b{font-weight:600}.pd-note a:hover b{text-decoration:underline;text-underline-offset:3px}
.pd-notem{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.pd-notem time,.pd-unread{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}.pd-unread{color:var(--ink)}
.pd-note .pd-lbtn{flex:none;white-space:nowrap}
/* 390px: hero and next action fit the first screen */
@media(max-width:899px){.pd{gap:var(--space-4)}.pd-grid{gap:var(--space-4)}.pd .pt-card{padding:20px}[data-pd=dash] .pd-sub{order:99;border-bottom:0;border-top:1px solid var(--rule)}
 [data-pd=dash] .pd-greet h1{font-size:24px}}
.pd-big a{display:inline-flex;align-items:center;min-height:48px}.pd-big:has(a){margin:-11px 0}
.pd-trk li{align-content:start}
@media(min-width:1000px){.pd-grid>[data-k=c-offers]:has(+[data-k=c-funding][hidden]){grid-column:span 12}}
