/* Desktop uses a full-width masthead, a launcher and a separate store overview. */
body.workday, body.directory, body.identity {
 font-family: var(--fa-reading);
 line-height: 1.8;
}
body.workday[data-app], body.directory {
 --ink: #202a32;
 --muted: #566571;
 --line: #dce1e4;
 --paper: #f6f7f8;
 background: var(--paper);
 color: var(--ink);
}
body.workday .topbar, body.directory .top {
 background: #fff;
 border-color: #e0e4e7;
}
body.workday[data-app="home"] .topbar {
 background: #fff;
 padding-inline: max(4vw, calc((100vw - 1300px) / 2));
}
body.workday[data-app="home"] main {
 max-width: 1300px;
 width: 92%;
 padding: 26px 0 46px;
}
body.workday[data-app="home"] .portal-brand b, .rail .brand strong {
 font: 770 1.45rem/1.5 var(--fa-title);
}
body.workday[data-app="home"] .portal-landing {
 display: grid;
 grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr);
 grid-template-areas: "mast mast" "apps overview";
 align-items: start;
 gap: 26px;
}
.portal-landing > .portal-hero { grid-area: mast; }
.portal-landing > .ventures { grid-area: apps; }
.home-sidebar {
 grid-area: overview;
 min-width: 0;
 display: grid;
 gap: 16px;
}
.portal-hero {
 display: grid;
 grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
 position: relative;
 isolation: isolate;
 overflow: hidden;
 min-height: 225px;
 border: 1px solid #263c39;
 border-radius: 19px;
 background: #1b3331;
 color: #fff;
 box-shadow: none;
}
.portal-hero::before {
 content: "";
 position: absolute;
 inset: 0 auto 0 0;
 width: 46%;
 z-index: -1;
 background: url(media/shop-counter.webp) center 54% / cover;
}
.portal-hero-copy {
 max-width: none;
 align-self: center;
 padding: 24px clamp(22px, 4vw, 52px);
}
.portal-hero-copy > span { color: #c7d8d3; font-size: .82rem; font-weight: 500; }
.portal-hero h1 {
 font: 760 clamp(2.4rem, 4vw, 3.65rem)/1.43 var(--fa-title);
 margin: .05em 0;
 color: #fff;
 text-shadow: none;
}
.portal-hero .hero-store, .public-hero p {
 color: #d5e4df;
 font-size: 1rem;
 margin: 0;
}
.portal-hero-actions { margin-top: 15px; gap: 8px; }
.portal-hero-actions button { min-height: 42px; border-radius: 9px; font: 620 .89rem/1.65 var(--fa-reading); }
.portal-hero .portal-primary { color: #12392d; background: #c9ebc4; }
.portal-hero .portal-quiet { color: white; background: #284541; border: 1px solid #77918a; }
.portal-hero .portal-quiet:hover { background: #34554f; }
.public-hero { min-height: 205px; }
.ventures-title { gap: .8rem; margin: 0 0 12px; min-height: 42px; }
.ventures-title h2, .home-followup h2 {
 font: 720 clamp(1.23rem,1.7vw,1.57rem)/1.65 var(--fa-title);
 color: #202c32;
}
.venture-search { background: #fff; border-color: #cfd8db; border-radius: 9px; }
.venture-search input { font-size: .9rem; }
.venture-verdast { --tile-bg:#4142a1; --tile-ink:#fff; --tile-mark:#29276e; }
.venture-cashier { --tile-bg:#f3ca55; --tile-ink:#34290b; --tile-mark:#765708; }
.venture-storefront { --tile-bg:#7746ad; --tile-ink:#fff; --tile-mark:#502b7b; }
.venture-content { --tile-bg:#ffd5e4; --tile-ink:#582237; --tile-mark:#9b355f; }
.venture-supply { --tile-bg:#cd723e; --tile-ink:#191610; --tile-mark:#673514; }
.venture-account { --tile-bg:#b4dcf2; --tile-ink:#153e53; --tile-mark:#28647f; }
.venture-marketing { --tile-bg:#ad3746; --tile-ink:#fff; --tile-mark:#771e2a; }
.venture-people { --tile-bg:#ead4ed; --tile-ink:#482850; --tile-mark:#793d81; }
.venture-academy { --tile-bg:#304956; --tile-ink:#fff; --tile-mark:#20343f; }
.ventures .venture-grid {
 grid-template-columns: repeat(2,minmax(0,1fr));
 gap: 12px;
}
.venture-grid .venture-tile {
 position: relative;
 display: grid;
 grid-template-columns: minmax(0,1fr) 36%;
 grid-template-rows: auto 1fr;
 gap: 5px 0;
 align-content: start;
 align-items: start;
 justify-items: start;
 padding: 13px 16px;
 min-height: 118px;
 border-radius: 13px;
 border: 1px solid color-mix(in srgb,var(--tile-mark) 25%,var(--tile-bg));
 color: var(--tile-ink);
 background: var(--tile-bg);
 box-shadow: none;
}
.venture-grid .venture-tile::after { content:none; }
.venture-grid .venture-tile:hover:not([aria-disabled="true"]) {
 transform: translateY(-2px);
 box-shadow: 0 5px 12px #1e303218;
}
.venture-grid .venture-tile .v-art, .venture-grid > .venture-tile:nth-child(9):last-child .v-art {
 position: absolute;
 inset: 0 auto 0 0;
 width: 35%;
 height: auto;
 border-radius: 0;
 background: var(--poster-art) center / cover no-repeat;
 mask-image: none;
}
.venture-grid .venture-tile .tile-top {
 grid-column: 1;
 grid-row: 1;
 width: 22px;
 height: 22px;
 background: transparent;
 color: var(--tile-ink);
}
.venture-grid .tile-top .venture-mark { width: 20px; height: 20px; }
.venture-grid .venture-tile .tile-copy {
 grid-column: 1;
 grid-row: 2;
 align-self: end;
 gap: 2px;
 max-width: 100%;
 width: auto;
 padding: 0;
}
.venture-grid .venture-tile .tile-copy strong {
 font: 740 clamp(1.28rem,1.8vw,1.6rem)/1.52 var(--fa-title);
 color: var(--tile-ink);
}
.venture-grid .venture-tile .tile-copy small {
 font: 480 .89rem/1.65 var(--fa-reading);
 color: var(--tile-ink);
 max-width: none;
}
.venture-grid .tile-arrow { display: none; }
.venture-grid .venture-tile[aria-disabled="true"] { opacity: .78; }
.family-grid.venture-grid { gap: 12px; }
.home-sidebar .trend-panel, .finance-trend {
 --plot-bg:#fff; --plot-ink:#182e32; --plot-sub:#506168; --plot-rule:#d7e1e0;
 --plot-accent:#167465; --plot-picked:#154e47; --plot-column:#79ab9f;
 background: var(--plot-bg);
 border: 1px solid var(--line,#dce1e4);
 border-radius: 15px;
 box-shadow: none;
}
.home-sidebar .trend-panel { min-height: 275px; padding: 17px 19px; }
.trend-panel .segmented { background: #eef3f2; border-color: #d8e1df; }
.trend-panel .segmented button[aria-pressed="true"] { background: white; color: #15574a; box-shadow: 0 1px 4px #172f2a21; }
.trend-panel .daily-delta.rise { color: #1d6951; }
.trend-panel .daily-delta.fall { color: #8b4928; }
.trend-reading > strong { font-weight: 720; }
.home-followup {
 padding: 14px 19px 8px;
 border-radius: 15px;
 border: 1px solid var(--line);
 background: white;
}
.home-followup h2 { font-size: 1.08rem; margin-bottom: 3px; }
.home-followup button {
 display: flex;
 justify-content: start;
 align-items: center;
 gap: 10px;
 width: 100%;
 min-height: 62px;
 padding: 8px 0;
 text-align: start;
 background: white;
 color: #233038;
 border-radius: 0;
}
.home-followup button + button { border-top: 1px solid #e3e8e8; }
.home-followup .followup-mark { display: grid; place-items: center; background: #f1f3f7; width: 35px; height: 35px; flex: none; border-radius: 8px; }
.followup-mark svg { width: 21px; height: 21px; }
.home-followup small, .home-followup strong { display: block; }
.home-followup small { font: 480 .8rem/1.55 var(--fa-reading); color: #53636c; }
.home-followup strong { font: 600 .92rem/1.7 var(--fa-reading); overflow-wrap: anywhere; }

.account-trigger, .directory .account-trigger {
 background: #35226e;
 color: white;
 border: 1px solid #35226e;
 border-radius: 12px;
 padding: .35em .75em;
 font: 700 .88rem/1.65 var(--fa-reading);
 text-decoration: none;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: .4em;
 min-height: 44px;
 white-space: nowrap;
}
.account-trigger:hover, .directory .account-trigger:hover {
 background: #26164f;
 color: white;
}
.account-trigger svg {
 width: 19px;
 height: 19px;
 flex: none;
}
.account-dialog {
 border: 1px solid #e1dcec;
 width: min(28rem, calc(100% - 32px));
 max-height: calc(100dvh - 32px);
 border-radius: 22px;
 padding: 1.3rem;
 background: #fff;
 color: #252037;
 box-shadow: 0 24px 85px #19122d55;
}
.account-dialog::backdrop {
 background: #17122880;
}
.account-dialog header {
 display: flex;
 justify-content: space-between;
 align-items: start;
 gap: .9rem;
}
.account-dialog h2 {
 margin: 0;
 font: 700 1.85rem/1.35 var(--fa-title);
}
.account-dialog p:not(:empty) {
 margin-block: .6rem 1.15rem;
}
.account-dialog .account-close {
 min-width: 44px;
 min-height: 44px;
 padding: 0;
 font-size: 1.5rem;
 background: #f0ebff;
 color: #382471;
}
body.workday[data-app="sign-in"] .frame {
 display: block;
}
body.workday[data-app="sign-in"] :is(.rail, .top-start, #heading, #dock, .store-pill) {
 display: none;
}
body.workday[data-app="sign-in"] .portal-nav {
 display: inline-flex;
}
body.workday[data-app="sign-in"] .portal-nav > :not(.portal-brand) {
 display: none;
}
.sign-in-card {
 width: min(100%, 34rem);
 margin: clamp(1rem, 5vh, 4rem) auto;
}
.sign-in-card .portal-hero {
 min-height: 147px;
 border-radius: 19px 19px 0 0;
 box-shadow: none;
}
.sign-in-card .portal-hero h1 {
 font-size: clamp(2rem, 8vw, 3.1rem);
 margin: 0;
}
.sign-in-card .sign-in-controls {
 display: grid;
 justify-items: start;
 gap: 12px;
 background: white;
 border: 1px solid #e2dced;
 padding: clamp(16px, 4vw, 28px);
 border-radius: 0 0 19px 19px;
}
.sign-in-controls .form {
 width: 100%;
}

/* Shared work surfaces and action hierarchy. */
.workday .rail {
 background: #fdfefe;
 border-color: #dce3e4;
 padding-inline: 14px;
}
.workday .rail .brand { margin-inline: 7px; }
.workday .brand small { font-size: .77rem; }
.workday .nav-row { gap: 10px; font: 510 .93rem/1.7 var(--fa-reading); border-radius: 8px; }
.workday .nav-row[aria-current] {
 background: var(--nav-wash);
 border-color: transparent;
 color: var(--nav-color);
}
.workday .nav-row[aria-current]::after { display: none; }
.workday .nav-row .glyph { background: transparent; }
.workday .topbar { height: 62px; }
body.workday .card {
 border: 1px solid var(--line);
 border-radius: 13px;
 box-shadow: none;
}
body.workday .card h2 { font: 700 1.15rem/1.62 var(--fa-title); }
body.workday .card h3 { font: 640 1rem/1.68 var(--fa-title); }
.workday .entry { padding-block: 12px; border-color: #e7eaeb; }
.workday .entry p { font-weight: 430; }
.workday .card .empty { padding: .8rem; border-radius: 8px; background: #f4f6f7; }
.workday :is(.form,.fields) label { font-size: .9rem; font-weight: 560; }
body.workday :is(.form,.fields) :is(input,textarea,select):not([type=checkbox],[type=radio]) {
 background: #fcfdfd;
 border: 1px solid #bec9cd;
 color: #202a32;
 border-radius: 8px;
 min-height: 45px;
 font: 470 1rem/1.65 var(--fa-reading);
}
.workday :is(input,textarea,select)::placeholder { color: #687680; opacity: 1; }
body.workday :is(.form,.fields) :is(input,textarea,select):focus {
 outline: 2px solid var(--theme);
 outline-offset: 1px;
}
.workday :is(button,.btn) { font-family: var(--fa-reading); }
.workday button.primary, .workday a.primary { border-radius: 8px; font-weight: 650; }
.workday :is(.secondary,.filters button,.quick-products button,.chips button) {
 border-radius: 8px;
 font-weight: 550;
}
.workday :is(.secondary,.filters button,.quick-products button):hover { filter: none; box-shadow: inset 0 0 0 1px var(--theme); }
.workday .filters button[aria-pressed="true"], .workday .quick-products button[aria-pressed="true"] {
 background: var(--wash);
 color: var(--theme);
 box-shadow: inset 0 0 0 1px var(--theme);
}
.workday .metric { border-radius: 12px; padding: 14px 16px; box-shadow: none; }
.workday .metric strong { font-weight: 700; }
.workday .metric div:first-child { color: #4e5b63; }
.workday .stat { background: #f1f5f5; color: #20383a; border-radius: 9px; }
.workday .insight { background: #f3f6f6; color: #233b3b; }
.workday .receipt { color: #1e2929; background: #fff; }
.workday .receipt .amount { font-variant-numeric: tabular-nums; }
.workday .learning-step { font-weight: 530; }
.workday .session, body.workday[data-app="cashier"] .ticket {
 background: #223431;
 color: white;
}
.workday .session .empty, .workday .ticket .empty { background: transparent; color: #e5edeb; }
.workday .session .empty b,.workday .ticket .empty b { color: white; }
.workday .ticket .primary { background: #f4d476; color: #33290e; }
.workday .ticket .receipt h2, .workday .ticket .receipt h3 { color: #1e2929; }
.workday .stock-position { border-radius: 7px; }
.workday .product-card { border-color: #d6dddf; border-radius: 11px; }
body.workday #heading:has(.venture-mark) {
 position: relative;
 min-height: 145px;
 padding: 17px 24px;
 color: var(--tile-ink);
 background: var(--tile-bg);
 border: 1px solid color-mix(in srgb,var(--tile-mark) 25%,var(--tile-bg));
 border-radius: 13px;
}
body.workday #heading:has(.venture-mark)::before {
 width: clamp(125px,22%,235px);
 background: var(--poster-art) center / cover;
 mask-image: none;
}
body.workday #heading:has(.venture-mark) > div { max-width: 70%; }
body.workday #heading:has(.venture-mark) #title {
 font: 740 clamp(1.72rem,3vw,2.5rem)/1.5 var(--fa-title);
 margin: .08em 0;
 color: var(--tile-ink);
}
body.workday #heading:has(.venture-mark) #intro {
 color: var(--tile-ink);
 font-size: .95rem;
 line-height: 1.8;
}
body.workday #heading:has(.venture-mark) #mode {
 color: var(--tile-ink);
 font-weight: 550;
 gap: 7px;
}
body.workday #heading #mode .venture-mark { color: currentColor; background: transparent; padding: 0; width: 21px; height: 21px; }
body.workday[data-app="today"] .hero { background: #1b3331; border-radius: 14px; }
body.workday[data-app="today"] .hero-copy h1 { font: 730 clamp(1.85rem,3.5vw,3rem)/1.45 var(--fa-title); }
.workday .hero .hero-secondary { background: #274540; border-color: #79928c; }
body.workday .account-trigger, body.directory .account-trigger, .identity-panel .btn {
 color: #fff;
 background: #233e39;
 border-color: #233e39;
 font-weight: 580;
 border-radius: 9px;
}
body.workday .account-trigger:hover, body.directory .account-trigger:hover { background: #142b27; }
.workday .ink-settings, .directory .ink-settings { border-radius: 9px; color:#39484e; }
.workday .ink-settings .type-icon, .directory .ink-settings .type-icon { color: #2b5048; }
.workday .store-pill { border: none; color: #44534e; background: #eef3f1; }
.workday .signal { background: #4f7561; }
.account-dialog { border-radius: 15px; padding: 1.35rem; }
.account-dialog::backdrop, .reading-dialog::backdrop { background: #11251e75; }
.account-dialog h2, .reading-dialog h2 { font: 690 1.35rem/1.6 var(--fa-title); }
.account-dialog .primary, .sign-in-controls .primary { background: #244a40; color: white; }
.sign-in-card { width: min(100%,32rem); }
.sign-in-card .portal-hero { min-height: 132px; }
.sign-in-card .portal-hero-copy { padding: 20px; }
.sign-in-card .portal-hero h1 { font-size: clamp(1.4rem,4vw,2rem); line-height: 1.55; }
.sign-in-card .sign-in-controls .primary { min-height: 44px; }
body.directory .global-search { border-color:#cdd6d8; border-radius:9px; }
body.directory #view { padding-top:24px; }
body.directory .family-launch { min-width:0; }
body.directory .home-assistant, body.directory .launcher-shortcuts { border-color: #dae1e1; }
body.workday .portal-nav [aria-current="page"]:not(.portal-brand) { color:#234e44; background:#eaf2ee; }
body.workday #dock { background:#fffffff5; border-color:#d8dfe0; }
body.workday #dock button { font-size:.76rem; font-weight:550; gap:2px; min-width:50px; min-height:46px; border-radius:9px; }
body.workday #dock button[aria-current] { background: #e6f0eb; color:#234d42; }
@media (max-width:1000px) and (min-width:761px) {
 body.workday[data-app="home"] .portal-landing { grid-template-columns:minmax(0,1.65fr) minmax(257px,1fr); gap:18px; }
 .venture-grid .venture-tile { padding:11px; min-height:112px; }
 .home-sidebar .trend-head { flex-wrap:wrap; }
}
@media (max-width:760px) {
 body.workday[data-app="home"] main { width:auto; padding:14px 14px 86px; }
 body.workday[data-app="home"] .topbar, body.workday .topbar { height:58px; padding-inline:14px; }
 body.workday[data-app="home"] .portal-landing { grid-template-columns:minmax(0,1fr); grid-template-areas:"mast" "apps" "overview"; gap:19px; }
 .portal-hero { min-height:175px; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); border-radius:14px; }
 .portal-hero::before { width:41%; }
 .portal-hero-copy { padding:17px; }
 .portal-hero h1 { font-size:clamp(1.8rem,6.5vw,2.55rem); }
 .portal-hero .hero-store, .public-hero p { font-size:.87rem; }
 .portal-hero-actions { gap:6px; margin-top:11px; }
 .portal-hero-actions button { min-height:39px; font-size:.83rem; padding:5px 9px; }
 .top-tools .store-pill { display:none; }
 .top-tools .store-pill:has(select) { display:flex; }
 .top-tools .store-pill select { max-width:23vw; }
 .ventures-title h2 { font-size:1.3rem; }
 body.workday .metric { padding:10px; }
 body.workday #heading:has(.venture-mark) { padding:13px 16px; min-height:114px; }
 body.workday #heading:has(.venture-mark)::before { width:24%; }
 body.workday #heading:has(.venture-mark) #title { font-size:1.7rem; }
 body.workday #heading:has(.venture-mark) #intro { font-size:.9rem; }
 body.workday .card h2 { font-size:1.1rem; }
 .home-sidebar .trend-panel { min-height:250px; }
 .home-followup button { min-height:57px; }
 .home-sidebar .trend-head { flex-wrap:wrap; }
 .chart-shortcut { color:#2d574e; }
}
@media (max-width:500px) {
 body.workday[data-app="home"] .portal-nav [data-nav="home"]:not(.portal-brand) { display:none; }
 .directory .bar button.profile { display:none; }
 .top-tools .account-trigger svg { display:none; }
 .portal-hero { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
 .portal-hero::before { width:37%; }
 .ventures .venture-grid, .family-grid.venture-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
 .venture-grid .venture-tile, .venture-grid > .venture-tile:nth-child(9):last-child {
  display:grid; grid-template-columns:30px minmax(0,1fr) 23%; grid-template-rows:auto;
  align-items:center; gap:9px; padding:9px 12px; min-height:73px; border-radius:10px;
 }
 .venture-grid .venture-tile .tile-top { grid-area:1 / 1; align-self:center; justify-self:center; }
 .venture-grid .venture-tile .tile-copy { grid-area:1 / 2; align-self:center; gap:1px; max-width:100%; }
 .venture-grid .venture-tile .tile-copy strong { font-size:1.2rem; line-height:1.48; }
 .venture-grid .venture-tile .tile-copy small { font-size:.84rem; line-height:1.65; }
 .venture-grid .venture-tile .v-art, .venture-grid > .venture-tile:nth-child(9):last-child .v-art {
  width:23%; height:auto; inset:0 auto 0 0; background-size:cover; mask-image:none;
 }
 .sign-in-card .portal-hero { min-height:109px; }
}
@media print {
 .home-sidebar, .topbar, #dock { display:none; }
}

/* Figures use the face's natural digit spacing; tables keep aligned columns. */
.workday :is(.trend-reading,.trend-reading > strong,.trend-foot,.metric strong,.stat strong,.receipt .amount,.ticket .total) {
 font-variant-numeric: proportional-nums;
}
.workday .trend-reading bdi, .workday .trend-foot bdi { font-variant-numeric: proportional-nums; }
.workday .trend-reading > strong { font-size: clamp(1.8rem,2.7vw,2.65rem); }
.section-links {
 display: flex;
 gap: .3rem .48rem;
 flex-wrap: wrap;
 align-items: center;
 margin: -4px 0 16px;
}
.section-links button {
 font: 560 .85rem/1.65 var(--fa-reading);
 padding: .35rem .75rem;
 min-height: 36px;
 color: #394951;
 background: #fdfefe;
 border: 1px solid #cdd7da;
 border-radius: 8px;
}
.section-links button:hover { color: var(--theme); border-color: var(--theme); }
#desk h2[tabindex] { scroll-margin-top: 16px; }
#desk[aria-busy="true"]:empty::after {
 display: block;
 content: "";
 height: 5px;
 width: min(11rem,40%);
 margin: 18px auto;
 border-radius: 6px;
 background: linear-gradient(90deg,var(--wash),var(--theme),var(--wash));
 animation: work-loading 1s ease-in-out infinite alternate;
}
@keyframes work-loading { from {opacity:.3} to {opacity:.9} }
@media(prefers-reduced-motion:reduce) { #desk[aria-busy="true"]:empty::after {animation:none} }
.venture-grid .venture-tile .v-art, .venture-grid > .venture-tile:nth-child(9):last-child .v-art {
 border-radius: 0 38% 0 0;
}
@media(max-width:760px) {
 .section-links { flex-wrap:nowrap; overflow-x:auto; padding:4px 2px 6px; margin:-3px 0 10px; }
 .section-links button { flex:none; min-height:40px; }
 .home-sidebar .portal-chart { grid-row:auto; }
 .workday[data-app]:not([data-app="home"]):not([data-app="sign-in"]) .top-start #context-name { display:inline; font:650 .92rem/1.5 var(--fa-reading); }
 .workday[data-app]:not([data-app="home"]) .top-start :is(.slash,.crumb) { display:none; }
 .workday .mobile-menu { background:#edf2f1; color:#25473e; }
}
@media(max-width:500px) {
 .venture-grid .venture-tile .v-art, .venture-grid > .venture-tile:nth-child(9):last-child .v-art { border-radius:0 22% 0 0; }
 .portal-hero-actions { flex-direction:row; }
}
@media print { .section-links { display:none; } }
