@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Shrikhand&display=swap");   /* the dashboard loads only this file */
/* header.css — the product's header (the app, the form, sign-in, the dashboard): the landing's nav box, from the
   library template's measured build (web/css/site.css) — one box 912 wide, r10, a 2px line in the card tone, 16 from
   the top; the brand in its face, the accent slab with an ink line as the one button, and the account as a round chip
   that opens a panel. Self-contained (the dashboard loads only this file). Behaviour: web/js/header.js. */
.hd{--hd-paper:#f4f2ec;--hd-ink:#141414;--hd-mute:#575755;--hd-line:#dedcd6;--hd-accent:#141414;--hd-rose:#edc5be;--hd-ease:cubic-bezier(.2,.7,.2,1);
  position:fixed;top:16px;left:50%;z-index:50;width:min(912px,calc(100% - 40px));min-height:68px;transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:8px 8px 8px 14px;background:var(--hd-paper);border:2px solid var(--hd-line);border-radius:10px;
  font-family:"Figtree",system-ui,sans-serif;font-size:16px;font-weight:600;line-height:1;color:var(--hd-ink);-webkit-font-smoothing:antialiased}
.hd *{box-sizing:border-box}.hd [hidden]{display:none!important}
.hd-grp{position:relative;display:flex;align-items:center;gap:8px;min-width:0}
.hd-grp:empty{display:none}
:where(.hd) :where(a,button){font:inherit;color:inherit;text-decoration:none;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}   /* :where — a reset must not outrank the parts below */
.hd :focus-visible{outline:2px solid var(--hd-accent);outline-offset:3px;border-radius:6px}
.hd-brand{display:inline-flex;align-items:center;min-height:44px;padding:0 8px 2px 6px;font-family:'Shrikhand',Georgia,serif;font-weight:400;font-size:22px;letter-spacing:-.01em;white-space:nowrap}
.hd-item{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:999px;color:var(--hd-mute);white-space:nowrap;transition:color .3s,background-color .3s}
@media (hover:hover){.hd-item:hover{color:var(--hd-ink)}}.hd-item:active{background:rgba(20,20,20,.08)}
.hd-item[aria-current="page"]{color:var(--hd-ink)}.hd-item[aria-current="page"]::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--hd-ink)}   /* where you are */
.hd-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;border-radius:8px;border:2px solid var(--hd-ink)!important;background:var(--hd-rose)!important;color:var(--hd-ink);font-weight:600;font-size:16px;white-space:nowrap;transition:transform .2s}
.hd-cta:hover{transform:scale(.98)}.hd-cta:active{transform:scale(.95)}
@media (max-width:991px){.hd{top:8px;min-height:58px;padding:4px 6px 4px 8px}.hd-cta{min-height:44px;padding:0 12px;font-size:14px}.hd-brand{font-size:20px}}
/* the label rolls up into itself under the pointer — the engine's own "roll" device */
.hd-roll{position:relative;display:inline-block;overflow:hidden;line-height:1.3;vertical-align:top}.hd-roll>span{display:block;transition:transform .35s var(--hd-ease)}.hd-roll>span+span{position:absolute;left:0;top:100%}
@media (hover:hover){.hd-cta:hover .hd-roll>span{transform:translateY(-100%)}}
/* the account: a round chip with the visitor's initial */
.hd-me{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--hd-rose);font-weight:500;font-size:15px;text-transform:uppercase;transition:box-shadow .2s,transform .2s var(--hd-ease)}
.hd-me:active{transform:scale(.95)}.hd-me[aria-expanded="true"]{box-shadow:0 0 0 2px var(--hd-paper),0 0 0 3.5px var(--hd-ink)}
@media (hover:hover){.hd-me:hover{box-shadow:0 0 0 2px var(--hd-paper),0 0 0 3.5px rgba(20,20,20,.35)}.hd-me[aria-expanded="true"]:hover{box-shadow:0 0 0 2px var(--hd-paper),0 0 0 3.5px var(--hd-ink)}}
.hd-pop{position:absolute;top:calc(100% + 10px);right:0;width:min(308px,calc(100vw - 32px));padding:8px;border-radius:22px;background:#fdfdfc;box-shadow:0 0 0 1px var(--hd-line),0 28px 64px -22px rgba(20,20,20,.34),0 6px 18px -10px rgba(20,20,20,.14);
  transform-origin:calc(100% - 28px) 0;opacity:0;visibility:hidden;transform:translateY(-6px) scale(.97);transition:opacity .16s ease,transform .22s var(--hd-ease),visibility 0s .22s}
.hd-pop.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .16s ease,transform .28s var(--hd-ease)}
.hd-who{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:10px 10px 14px;margin-bottom:6px;border-bottom:1px solid var(--hd-line)}
.hd-who i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--hd-rose);font-style:normal;font-weight:500;font-size:15px;text-transform:uppercase}
.hd-who small{display:block;margin-bottom:6px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--hd-mute)}
.hd-who b{display:block;font-weight:500;font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:0 12px;border-radius:14px;font-weight:500;font-size:15px;text-align:left;transition:background-color .2s}
.hd-row::after{content:"→";color:var(--hd-mute);transition:transform .25s var(--hd-ease)}
@media (hover:hover){.hd-row:hover{background:rgba(20,20,20,.06)}.hd-row:hover::after{transform:translateX(3px)}}.hd-row:active{background:rgba(20,20,20,.1)}
.hd-row[aria-current="page"]::after{content:"";width:6px;height:6px;margin-right:4px;border-radius:50%;background:var(--hd-accent);transform:none}
.hd-row.hd-out{margin-top:6px;color:var(--hd-mute);border-top:1px solid var(--hd-line);border-radius:0 0 14px 14px;min-height:48px}.hd-row.hd-out::after{content:none}
.hd-pop>*{opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .3s var(--hd-ease),background-color .2s}.hd-pop.is-open>*{opacity:1;transform:none;transition-delay:calc(40ms + var(--i,0) * 35ms),calc(40ms + var(--i,0) * 35ms),0s}
@media (max-width:640px){.hd-wide{display:none!important}}
@media (max-width:380px){.hd{padding-inline:6px;gap:6px}.hd-cta{padding:0 15px;font-size:14px}.hd-brand{font-size:18px;padding-left:10px;padding-right:8px}}
@media (max-width:340px){.hd{padding-inline:4px}.hd-cta{padding:0 12px}.hd-brand{font-size:17px;padding-left:8px;padding-right:6px}}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.hd-grp{background:var(--hd-paper);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media (prefers-reduced-motion:reduce){.hd *,.hd *::after{transition:none!important}.hd-cta:hover .hd-roll>span{transform:none}}
