/* Approved Pulse production visual layer; existing application actions remain authoritative. */

html[data-pulse] {--motion-ease:cubic-bezier(.23,1,.32,1)}
html[data-pulse] body:is([data-page=home],[data-page=roster]) .app-header{padding-bottom:10px}
html[data-pulse] body[data-page=home] .glass-shift-flow{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);}
.motion-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 20px;min-height:72px;z-index:1;pointer-events:none}
.motion-hero-kicker{display:block;font-size:10px;letter-spacing:2px;text-transform:uppercase;margin-bottom:7px}
.motion-hero-value{font-size:64px;font-weight:500;line-height:.85;letter-spacing:-4px}
.motion-hero-value small{font-size:25px;letter-spacing:-1px;margin-left:4px}
.motion-hero-caption{max-width:105px;text-align:right;font-size:12px;line-height:1.35}
.motion-orbit{display:none;pointer-events:none}
html[data-pulse] body[data-page=home] .glass-shift-labels,html[data-pulse] body[data-page=home] .glass-shift-foot{position:relative;z-index:1}
html[data-pulse] body[data-page=home] .glass-home-group{position:relative;isolation:isolate;overflow:hidden;padding:19px!important}
html[data-pulse] body[data-page=home] .glass-home-group.is-collapsed{padding:19px!important}
html[data-pulse] body[data-page=home] .glass-group-head strong{font-weight:600;}
html[data-pulse] body[data-page=home] .glass-group-head>span{border-radius:50px;}
html[data-pulse] body[data-page=home] .glass-home-check{transition:background 220ms ease,border-color 220ms ease;}
html[data-pulse] body[data-page=home] .glass-workblock{position:relative;isolation:isolate;}
html[data-pulse] body[data-page=home] .glass-workblock .daily-copy{letter-spacing:-.4px;}
html[data-pulse] body[data-page=home] .glass-workblock .daily-label{letter-spacing:1.5px;font-size:9px}
html[data-pulse] body[data-page=roster] .schedule-month{position:relative;isolation:isolate;overflow:hidden;min-height:110px;margin:0 0 14px;padding:18px 12px;}
html[data-pulse] body[data-page=roster] .schedule-month-title strong{font-size:25px;letter-spacing:-.7px}
html[data-pulse] body[data-page=roster] .schedule-calendar{padding:13px 10px 15px!important;position:relative;isolation:isolate}
html[data-pulse] body[data-page=roster] .schedule-stats{padding:16px 5px;margin-top:18px}
html[data-pulse] body[data-page=roster] .schedule-stats strong{font-size:31px}

html[data-pulse] body[data-page=home] .glass-shift-flow{border-radius:42px 42px 12px 42px}
html[data-pulse] body[data-page=home] .glass-home-group{border-radius:12px 35px 35px 35px!important}
html[data-pulse] body[data-page=home] .glass-workblock{border-radius:35px 12px 35px 35px}
html[data-pulse] body[data-page=home] .team-widget{border-radius:30px 30px 12px 30px}
html[data-pulse] body[data-page=roster] .schedule-month{border:1px solid var(--line);border-radius:35px 35px 10px 35px}
html[data-pulse] body[data-page=roster] .schedule-calendar{border-radius:10px 30px 30px 30px}
html[data-pulse] body[data-page=roster] .schedule-stats{border-radius:28px 10px 28px 28px}


.motion-orbit circle{stroke-width:1}
.motion-orbit .motion-orbit-fill{stroke-width:3;stroke-linecap:round}

.motion-sweep{position:absolute;inset:0;pointer-events:none;z-index:2}
@media(prefers-reduced-motion:reduce){.motion-sweep{display:none}html[data-pulse] *{scroll-behavior:auto!important}}

html[data-pulse] body:is([data-page=home],[data-page=roster]) #root{min-height:100dvh}


html[data-pulse] .page-heading h1{font-weight:600;letter-spacing:-1.2px}
html[data-pulse] .page-heading .eyebrow{letter-spacing:1.8px;font-size:10px}
html[data-pulse] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){border-radius:18px}
html[data-pulse] :is(button,input,textarea,select,a):focus-visible{outline:2px solid var(--all-accent);outline-offset:3px}
html[data-pulse] :is(.toolbar,.order-group-tabs){gap:8px}

html[data-pulse] body[data-page=recipes] .recipe-grid{gap:12px}
html[data-pulse] body[data-page=recipes] .recipe-card{border:1px solid var(--line);border-radius:var(--all-corner);overflow:hidden}
html[data-pulse] body[data-page=recipes] .recipe-thumb{border-radius:0;aspect-ratio:1.32;object-fit:cover}
html[data-pulse] body[data-page=recipes] .recipe-card h3{font-size:17px;line-height:1.15;letter-spacing:-.3px}
html[data-pulse] body[data-page=recipes] .toolbar{padding:0 0 12px}

html[data-pulse] body[data-page=stop] .board-list [data-board-card]{border-radius:var(--all-corner)}

html[data-pulse] body[data-page=orders] :is(.supplier-card,.order-group){border:1px solid var(--line);border-radius:var(--all-corner)}
html[data-pulse] body[data-page=orders] .supplier-card .eyebrow{font-size:10px;letter-spacing:1.4px}
html[data-pulse] body[data-page=orders] .stock-order-row .norm-cell{border:1px solid var(--line);border-radius:14px}
html[data-pulse] body[data-page=orders] .quantity-control{border:1px solid var(--line);border-radius:18px}
html[data-pulse] body[data-page=orders] .order-actions{backdrop-filter:blur(16px);border-radius:25px}
html[data-pulse] body[data-page=orders] .category-heading{border-radius:14px}

html[data-pulse] body:is([data-page=shift],[data-page=weekly]) #content>section.card{border-radius:var(--all-corner);padding:19px}
html[data-pulse] body:is([data-page=shift],[data-page=weekly]) .card-head h3{font-size:24px;letter-spacing:-.5px}
html[data-pulse] body:is([data-page=shift],[data-page=weekly]) .check-row{margin-top:6px;padding-block:11px;border-radius:18px}
html[data-pulse] .glass-check-tools summary{border:1px solid var(--line)}

html[data-pulse] body[data-page=handover] .board-list .glass{border-radius:var(--all-corner)}
html[data-pulse] body[data-page=handover] .page-heading{flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px}
html[data-pulse] body[data-page=handover] .glass-stop-icon{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#79628a30;color:var(--glass-accent)}
html[data-pulse] body[data-page=handover] .glass-stop-icon svg{width:22px;height:22px}
html[data-pulse] body[data-page=handover] .board-list{gap:10px}
html[data-pulse] body[data-page=handover] [data-board-card]{position:relative;padding:17px;border:1px solid #cebbda35;background:linear-gradient(125deg,#352b393b,#15131bb8)}
html[data-pulse] body[data-page=handover] [data-board-card]:has(.glass-stop-resolve)>h2,
html[data-pulse] body[data-page=handover] [data-board-card]:has(.glass-stop-resolve)>.method{padding-right:63px}
html[data-pulse] body[data-page=handover] .board-list h2{font-size:17px;font-weight:600;line-height:1.35;letter-spacing:0;margin:0 0 6px}
html[data-pulse] body[data-page=handover] .board-list .method{font-size:14px;line-height:1.5;color:#d1ccd7;margin:0 0 9px;white-space:pre-wrap}
html[data-pulse] body[data-page=handover] .board-list .meta{font-size:11px;color:#bfb7c7;margin:9px 0 0}
html[data-pulse] body[data-page=handover] .glass-stop-resolve{position:absolute;right:17px;top:17px;width:52px;height:52px;min-height:52px}
html[data-pulse] body[data-page=handover] .glass-stop-resolve svg{width:30px;height:30px}
html[data-pulse] body[data-page=handover] .card-actions{border-top:1px solid #cebbda22;padding-top:10px;margin-top:12px;gap:8px}
html[data-pulse] body[data-page=handover] .card-actions button{min-height:40px;background:transparent;border-color:#cebbda30;color:#d6c5e2;padding:8px 11px;border-radius:18px}
html[data-pulse] body[data-page=handover] .card-actions button:disabled{opacity:.65}
html[data-pulse] body[data-page=handover] .card-actions .danger{color:#e5aaa6}
html[data-pulse] body[data-page=handover] .glass-handover-comments{margin-left:auto}

html[data-pulse] .glass-more .wide,html[data-pulse] .glass-profile-row{border:1px solid var(--line);border-radius:22px;padding:18px 20px;min-height:66px}
html[data-pulse] .glass-more .wide:nth-child(odd){border-top-left-radius:12px}
html[data-pulse] .glass-profile .profile-card{border:1px solid var(--line);border-radius:var(--all-corner);padding:28px 18px}
html[data-pulse] .glass-profile .profile-card h2{font-size:28px;letter-spacing:-.65px}

html[data-pulse] body:is([data-page=menu],[data-page=menu-admin]) .card{border-radius:var(--all-corner)}
html[data-pulse] .management-workspace{border-radius:var(--all-corner)}
html[data-pulse] .management-workspace>h2{font-size:12px;letter-spacing:1.2px}
html[data-pulse] .management-workspaces .management-zone-grid>button{border-radius:19px}

html[data-pulse] #dialog{border-radius:32px 32px 18px 18px}
html[data-pulse] #dialog::backdrop{backdrop-filter:blur(6px)}
html[data-pulse] #dialog .dialog-head h2{font-size:26px;letter-spacing:-.65px}

html[data-pulse] body[data-page=login] .identity-card{border-radius:var(--all-corner)}
html[data-pulse] body[data-page=login] .login-submit{border-radius:22px}
html[data-pulse] body[data-glass-intro] .intro-body .glass{border-radius:var(--all-corner)}
html[data-pulse] body[data-glass-intro] .intro-body h1{font-size:38px;line-height:1.04;letter-spacing:-1.4px}
@media(max-width:360px){html[data-pulse] .page-heading h1{font-size:28px}html[data-pulse] .glass-more .wide,html[data-pulse] .glass-profile-row{padding:15px}html[data-pulse] body[data-page=recipes] .recipe-card h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){html[data-pulse] *{scroll-behavior:auto!important}}

html[data-pulse] body[data-page]:not([data-page=login]):not([data-glass-intro]) #root{min-height:100dvh}


html[data-pulse] body[data-page=home] .glass-shift-flow{min-height:0;padding:18px 17px 14px;margin:6px 0 12px}
html[data-pulse] body[data-page=home] .motion-hero{min-height:62px;margin-bottom:16px}
html[data-pulse] body[data-page=home] .motion-hero-value{font-size:48px;letter-spacing:-2.5px}
html[data-pulse] body[data-page=home] .motion-hero-kicker{font-size:9px;letter-spacing:1.3px;margin-bottom:6px}
html[data-pulse] body[data-page=home] .glass-home-group,html[data-pulse] body[data-page=home] .glass-home-group.is-collapsed{padding:12px 15px!important}
html[data-pulse] body[data-page=home] .glass-group-head{min-height:44px}
html[data-pulse] body[data-page=home] .glass-group-head strong{font-size:19px;letter-spacing:-.35px}
html[data-pulse] body[data-page=home] .glass-group-head>span{padding:5px 7px;font-size:12px}
html[data-pulse] body[data-page=home] .glass-home-check{min-height:48px;padding-block:9px}
html[data-pulse] body[data-page=home] .main-tasks{gap:10px;margin-bottom:10px}
html[data-pulse] body[data-page=home] .glass-workblock{margin-bottom:12px}
html[data-pulse] body[data-page=home] .glass-workblock .glass-daily{padding:15px!important;min-height:90px}
html[data-pulse] body[data-page=home] .glass-workblock .daily-copy{font-size:18px;line-height:1.2}
html[data-pulse] body[data-page=home] .glass-workblock .quick-pair button{min-height:70px;padding:13px}
html[data-pulse] body[data-page=home] .glass-workblock .glass-board-count{font-size:21px;top:6px}
html[data-pulse] body[data-page=home] .orders-due{min-height:76px;padding:14px}
html[data-pulse] body[data-page=home] .team-widget{padding:3px 14px}
html[data-pulse] body[data-page=home] .team-person{padding:9px 0;min-height:44px}
html[data-pulse] body[data-page=home] .section-title{margin-bottom:9px}
html[data-pulse] body[data-page=home] #content>.wide{min-height:48px}


html[data-pulse] body[data-page=orders] #suppliers{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
html[data-pulse] body[data-page=orders] .supplier-card{
 display:grid;grid-template-columns:1fr;gap:0;position:relative;isolation:isolate;text-align:left;overflow:hidden;
 background:linear-gradient(135deg,#ffffff12,#141719d9 70%);
 border:1px solid color-mix(in srgb,var(--glass-accent) 27%,transparent);
 border-radius:27px;box-shadow:inset 0 1px #ffffff0c;
}
html[data-pulse] body[data-page=orders] .supplier-card::after{
 content:'';position:absolute;width:116px;height:116px;right:-30px;top:-40px;
 border:1px solid color-mix(in srgb,var(--glass-accent) 19%,transparent);
 border-radius:50%;pointer-events:none;z-index:-1;
 box-shadow:0 0 0 18px color-mix(in srgb,var(--glass-accent) 3%,transparent);
}
html[data-pulse] body[data-page=orders] .supplier-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:10px}
html[data-pulse] body[data-page=orders] .supplier-top .supplier-symbol{
 display:grid;place-items:center;width:43px;height:43px;padding:10px;border-radius:15px;
 color:var(--glass-accent);background:color-mix(in srgb,var(--glass-accent) 10%,transparent);
 border:1px solid color-mix(in srgb,var(--glass-accent) 19%,transparent);
}
html[data-pulse] body[data-page=orders] .supplier-symbol svg{width:23px;height:23px}
html[data-pulse] body[data-page=orders] .supplier-top .soft-pill{
 font-size:11px;padding:7px 11px;border-radius:99px;background:#ffffff0b;border:1px solid #ffffff18;color:var(--text);
}
html[data-pulse] body[data-page=orders] .supplier-card h3{font-weight:600;letter-spacing:-.5px;line-height:1.12}
html[data-pulse] body[data-page=orders] .supplier-card>.meta{color:var(--muted)}
html[data-pulse] body[data-page=orders] .supplier-bottom{font-size:12px;line-height:1.35;margin-top:auto;padding-top:13px;border-top:1px solid #ffffff1c;color:var(--text)}
html[data-pulse] body[data-page=orders] .supplier-bottom svg{width:22px;height:22px;flex-shrink:0;color:var(--glass-accent)}
html[data-pulse] body[data-page=orders] .supplier-card.ready{border-color:#bbcd8f54;background:linear-gradient(125deg,#729c551f,#141719d9 75%)}
html[data-pulse] body[data-page=orders] .supplier-card.ready .supplier-symbol,
html[data-pulse] body[data-page=orders] .supplier-card.ready .soft-pill{color:#bbcd8f;border-color:#bbcd8f38;background:#bbcd8f12}

html[data-pulse] body[data-page=orders] .order-workspace{padding:14px;border-color:#ffffff28}
html[data-pulse] body[data-page=orders] .order-workspace .order-group-tabs{margin:14px 0 6px}
html[data-pulse] body[data-page=orders] .order-workspace .category-heading{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 margin:18px 2px 9px;padding:0 0 9px;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;
 color:var(--glass-accent);border-bottom:1px solid color-mix(in srgb,var(--glass-accent) 32%,transparent);
}
html[data-pulse] body[data-page=orders] .category-heading small{font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}
html[data-pulse] body[data-page=orders] .order-workspace .stock-order-row{
 margin:0 0 10px;min-height:0;
 grid-template-columns:minmax(0,1fr) 116px;grid-template-areas:'name name' 'norm label' 'norm qty';
 border:1px solid #ffffff21;border-radius:20px;
}
html[data-pulse] body[data-page=orders] .order-workspace .stock-order-row:last-child{border-bottom:1px solid #ffffff21}
html[data-pulse] body[data-page=orders] .order-workspace .product-name{font-size:16px;font-weight:600;line-height:1.3;padding-bottom:4px;color:var(--text)}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell{
 display:flex;align-items:baseline;align-self:stretch;align-content:center;gap:3px 5px;border-radius:14px;
 background:color-mix(in srgb,var(--glass-accent) 8%,transparent);
 border:1px solid color-mix(in srgb,var(--glass-accent) 19%,transparent);
}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell>.stock-caption{font-size:11px;line-height:1.25;color:var(--text)}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell strong{line-height:1.1;color:var(--glass-accent);font-variant-numeric:tabular-nums}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell>span:not([class]){color:var(--glass-accent);font-size:12px}
html[data-pulse] body[data-page=orders] .order-workspace .quantity-label{font-size:11px;color:var(--muted);margin:0;align-self:end}
html[data-pulse] body[data-page=orders] .order-workspace .quantity-control{background:#070c1180;border-color:#ffffff2b;min-height:44px;border-radius:14px}
html[data-pulse] body[data-page=orders] .order-workspace .quantity-control button{min-height:44px;color:var(--glass-accent)}
html[data-pulse] body[data-page=orders] .order-workspace .quantity-control input{font-size:18px;font-weight:600;color:var(--text)}
@media(max-width:370px){
 html[data-pulse] body[data-page=orders] .order-workspace{padding:11px}
 html[data-pulse] body[data-page=orders] .order-workspace .stock-order-row{padding:12px;gap:9px 8px;grid-template-columns:minmax(0,1fr) 112px}
 html[data-pulse] body[data-page=orders] .order-workspace .quantity-control{width:112px;grid-template-columns:34px minmax(0,1fr) 34px}
 html[data-pulse] body[data-page=orders] .order-workspace .norm-cell{padding:9px}
}

html[data-pulse] body[data-page=orders] .supplier-card>.eyebrow{justify-self:start;border:1px solid #dcbb7e35;border-radius:20px;color:var(--glass-accent);font-size:10px;letter-spacing:.6px;background:#dcbb7e0b}
html[data-pulse] body[data-page=orders] .supplier-card.ready>.eyebrow{color:#bbcd8f;border-color:#bbcd8f44;background:#bbcd8f12}
html[data-pulse] body[data-page=orders] .supplier-card h3{display:flex;align-items:center;justify-content:space-between;}
html[data-pulse] body[data-page=orders] .supplier-card h3::after{content:'↗';display:grid;place-items:center;border:1px solid #ffffff25;border-radius:50%;font-weight:400;color:var(--glass-accent)}
html[data-pulse] body[data-page=orders] .supplier-card>.meta{border-top:1px solid #ffffff22;margin:0;line-height:1.5}
html[data-pulse]{--all-accent:var(--glass-accent);--all-corner:32px 32px 12px 32px}
html[data-pulse] body[data-page=home]:not([data-glass-intro]) #root{background:radial-gradient(ellipse at 100% 25%,rgb(0 0 0 / .29),transparent 61%),radial-gradient(ellipse at 0% 70%,rgb(0 0 0 / .12),transparent 57%)!important}
html[data-pulse] .glass-shift-flow{background:var(--home-glass-surface,rgba(15,17,16,.76))}
.motion-hero{color:var(--home-light,var(--text))}.motion-hero-kicker,.motion-hero-caption{color:var(--home-muted,var(--muted))}
html[data-pulse] body[data-page=orders] .supplier-card{min-height:0;padding:13px 16px}
html[data-pulse] body[data-page=orders] .supplier-card>.eyebrow{padding:4px 8px}
html[data-pulse] body[data-page=orders] .supplier-card h3{font-size:21px;margin:7px 0}
html[data-pulse] body[data-page=orders] .supplier-card h3::after{width:27px;height:27px;font-size:17px}
html[data-pulse] body[data-page=orders] .supplier-card>.meta{padding-top:7px;font-size:12px}
html[data-pulse] body[data-page=orders] #suppliers{gap:10px}
html[data-pulse] body[data-page=orders] .order-workspace .stock-order-row{padding:12px;gap:6px 8px;margin-bottom:8px}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell{min-height:54px;padding:7px 9px}
html[data-pulse] body[data-page=orders] .order-workspace .norm-cell strong{font-size:23px}
html[data-pulse] body[data-pulse-role=admin]:not([data-page=login]):not([data-glass-intro]):before{background:linear-gradient(180deg,#000c 0%,#000e 48%,#000 92%),url('/glass-home-memory.png') 72% 0 / auto 760px no-repeat!important;opacity:.62!important}
html[data-pulse] body[data-pulse-role=admin] #root{background:transparent!important}
html[data-pulse] body[data-pulse-role=staff][data-page=more]:before{background:radial-gradient(ellipse at 90% 25%,#8eafd245,transparent 65%),radial-gradient(ellipse at 10% 80%,#000b,transparent 65%),linear-gradient(#0009,#000d),url('/glass-memory.webp') center/cover!important;opacity:1!important}
.update-dot{display:inline-block;width:7px;height:7px;min-width:7px;border-radius:50%;background:#e96866;box-shadow:0 0 9px #e9686655;margin-left:7px;vertical-align:middle}
.dock button{position:relative}.dock .update-dot{position:absolute;top:7px;right:13%;margin:0}.profile-button{position:relative}.profile-button>.update-dot{position:absolute;top:2px;right:2px}
/* Updates live on their destination dots; no decorative inbox-like hand in the header. */
html[data-pulse] .app-header:after{display:none}

.pulse-manager-browse{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 18px}.pulse-manager-browse .wide{font-size:13px;min-height:48px}

html[data-pulse] body[data-page=home]:not([data-glass-intro]) #content>.note{background:#151515c9;border-color:#ffffff26;color:#d4d5d3}

/* Final v13 outer shell: compact text navigation for both roles. */
html[data-pulse] .nav.dock{width:min(calc(100% - 20px),440px);bottom:max(12px,env(safe-area-inset-bottom));background:#19171ded;border:1px solid #ffffff29;border-radius:29px;padding:7px 4px;gap:0;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
html[data-pulse] body[data-pulse-role=staff] .nav.dock{grid-template-columns:repeat(5,minmax(0,1fr))}
html[data-pulse] body[data-pulse-role=admin] .nav.dock{grid-template-columns:repeat(6,minmax(0,1fr))}
html[data-pulse] .nav.dock .dock-indicator{display:none}
html[data-pulse] .nav.dock button{min-width:0;min-height:54px;padding:8px 2px;font-size:11px;border:0;border-radius:20px;background:none;color:#eeece7}
html[data-pulse] .nav.dock button.active{background:#c0d1eb;color:#14202b}
html[data-pulse] .nav.dock button>span{font:inherit;margin:0}
@media(min-width:900px){html[data-pulse] .nav.dock{width:650px;max-width:none}}
@media(prefers-reduced-transparency:reduce){html[data-pulse] .nav.dock{background:#19171d;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Custom v13 screens use the outer shell; embedded legacy screens keep their own header geometry. */
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .app-v3{max-width:460px;padding:18px 16px 112px}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .app-header{height:62px;min-height:62px;padding:0;margin-bottom:22px}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .brand{width:125px}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .brand img{width:125px;height:62px}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .profile-button .avatar{width:40px;height:40px;background:#222;border-color:#ffffff33}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .page-heading{margin:0 0 20px}
html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .page-heading h1{font-size:29px;line-height:normal;letter-spacing:-1px;margin:0}
@media(min-width:900px){html[data-pulse] body:is([data-page=profile],[data-page=learning],[data-page=team],[data-page=employee],[data-page=notes],[data-page=control],[data-page=notifications],[data-pulse-role=staff][data-page=more]) .app-v3{max-width:960px}}

html[data-pulse] body[data-pulse-role=staff][data-page=more] .pulse-staff-more>.panel{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:1px solid #ffffff22;border-radius:32px 32px 12px 32px;padding:18px;margin-bottom:14px;background:linear-gradient(115deg,#ffffff0d,#1010109e);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#eeece7;font-size:15px;text-align:left}
@media(prefers-reduced-transparency:reduce){html[data-pulse] body[data-pulse-role=staff][data-page=more] .pulse-staff-more>.panel{background:#141414;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Manager surfaces keep Pulse geometry and transparency; only neutral black glass.
   data-pulse-role is staff during label preview, preserving employee page colours. */
html[data-pulse] body[data-pulse-role=admin]{--glass-accent:#dcbb7e;--glass-fog:#272727}
html[data-pulse] body[data-pulse-role=admin] :is(#dialog,#menu-viewer){--dialog-surface:linear-gradient(#0d0d0de8,#080808f2),url('/glass-architecture.webp') center/cover,#090909;--dialog-panel:#141414ed}
html[data-pulse] body[data-pulse-role=admin] :is(.management-zone-grid>button,.management-list,.management-summary:not(.management-beam),.management-inline-item,.glass-profile-pane>.card){background:linear-gradient(125deg,#ffffff0b,#111c);color:#f4f2ed}
html[data-pulse] body[data-pulse-role=admin] :is(#management-hub-search,.management-body input,.management-body textarea,.management-body select){background:#111c;color:#f4f2ed}
html[data-pulse] body[data-pulse-role=admin] :is(.management-footer,.schedule-footer){background:#111e}
html[data-pulse] body[data-pulse-role=admin] .management-footer .gold,
html[data-pulse] body[data-pulse-role=admin] :is(.management-tabs button.active,.management-chips button.active,.management-week button.active){background:#dcbb7e;color:#211b11}
html[data-pulse] body[data-pulse-role=admin] .management-topline>button:first-child{color:#e5ddcf}
html[data-pulse] body[data-pulse-role=admin] :is(.management-note,.management-row small,.management-zone-copy small,.management-editor label,.management-editor .meta){color:#c3c1bc}
html[data-pulse] body[data-pulse-role=admin] .management-log-detail{background:transparent;color:#eae7e0}
html[data-pulse] body[data-pulse-role=admin] .management-message-text{line-height:1.65;overflow-wrap:anywhere}
html[data-pulse] body[data-pulse-role=admin] .nav.dock button.active{background:#e0c28a;color:#241c10}
html[data-pulse] body[data-pulse-role=admin] .schedule-row-time button{white-space:normal;max-width:145px;font-size:12px;line-height:1.3;padding:8px 10px;min-height:40px}
html[data-pulse] body[data-pulse-role=admin] .schedule-row .schedule-person{min-width:0;overflow-wrap:anywhere}

/* Native disclosure semantics, with a consistent Pulse expand/collapse control.
   Existing custom checklist, chart-cell and overflow controls keep their icons. */
html[data-pulse] summary{list-style:none}
html[data-pulse] summary::-webkit-details-marker{display:none}
html[data-pulse] summary::marker{content:''}
html[data-pulse] details:not(.order-more):not(.management-inline-item):not(.glass-check-tools)>summary:not(.analytics summary){display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;line-height:1.4}
html[data-pulse] details:not(.order-more):not(.management-inline-item):not(.glass-check-tools)>summary:not(.analytics summary)::after{content:'';display:block;flex:0 0 26px;width:26px;height:26px;margin-left:auto;border:1px solid #ffffff20;border-radius:50%;background:linear-gradient(currentColor,currentColor) center/10px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 10px no-repeat,#ffffff06;color:#d6ccba}
html[data-pulse] details[open]:not(.order-more):not(.management-inline-item):not(.glass-check-tools)>summary:not(.analytics summary)::after{background:linear-gradient(currentColor,currentColor) center/10px 1.5px no-repeat,#dcbb7e12;border-color:#dcbb7e45;color:#dcbb7e}
html[data-pulse] summary:focus-visible{outline:2px solid #dcbb7e;outline-offset:3px;border-radius:12px}
html[data-pulse] .pulse-disclosure-icon{width:26px;height:26px;flex:0 0 26px;padding:5px;border:1px solid #ffffff20;border-radius:50%;background:#ffffff06;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;color:#d6ccba}
html[data-pulse] [aria-expanded=true]>.pulse-disclosure-icon{color:#dcbb7e;border-color:#dcbb7e45;background:#dcbb7e12}
html[data-pulse] [aria-expanded=true]>.pulse-disclosure-icon>.pulse-disclosure-vertical{opacity:0}

/* Neutral fallback for both roles. Page art/fog and component state surfaces stay local.
   Personal notes own gold/green backgrounds in pulse-personal.css; do not recolour them here. */
html[data-pulse]{--pulse-surface:linear-gradient(125deg,#ffffff0b,#111c);--pulse-input:#111c;--pulse-action:#dcbb7e;--pulse-action-ink:#211b11;--pulse-sheet:#151515;--pulse-bar:#111f;--bg:#0d0d0d;--text:#f4f2ed;--muted:#c3c1bc}
html[data-pulse] body :is(.glass,.card,.widget,.recipe-card,.supplier-card,.menu-stack .wide,.profile-card,.identity-card){background:var(--pulse-surface)}
html[data-pulse] body :is(input,textarea,select){background-color:var(--pulse-input);color:var(--text)}
html[data-pulse] body :is(.note:not(:where(.notes-list .note)),.tabs button:not(.active),.check-row:not(.done),.glass-home-check:not(.done)){background:#1119}
html[data-pulse] body .check-button:not(.done .check-button){background:#111c}
html[data-pulse] body :is(.management-footer,.editor-footer,.order-actions){background:var(--pulse-bar)}
html[data-pulse] body[data-page=orders] .order-workspace{background:var(--pulse-surface)}
html[data-pulse] body[data-page=orders] .order-workspace :is(#order-search,.quantity-control){background:#0d0d0d99}
html[data-pulse] body[data-page=orders] .order-workspace .stock-order-row{background:linear-gradient(130deg,#ffffff09,#1119)}
html[data-pulse] body[data-page=orders] .order-more-panel{background:#151515}
html[data-pulse] body[data-page=orders] .order-actions #save-draft{background:#111c;color:#f4f2ed}
html[data-pulse] body[data-page=orders] .order-actions #save-ready{background:#dcbb7e;color:#211b11}
html[data-pulse] body :is(.management-zone-grid>button,.management-list,.management-summary:not(.management-beam),.management-inline-item,.glass-profile-pane>.card){background:var(--pulse-surface)}
html[data-pulse] body .nav.dock button.active{background:#e0c28a;color:#241c10}
html[data-pulse] body .nav.dock{background:#171717ed}
html[data-pulse] body :is(.glass-workblock,.glass-home-group){background:var(--pulse-surface)}
html[data-pulse] body[data-page=home] .glass-workblock .glass-daily{background:#10101080}
html[data-pulse] body:is([data-page=shift],[data-page=weekly]) #content>section.card{background:var(--pulse-surface)}
/* Completed rows keep their green beam; no status is reduced to colour alone. */
html[data-pulse] body :is(.glass-home-group,.glass-daily).is-done{background:var(--pulse-surface)}
html[data-pulse] body :is(#dialog,#menu-viewer){--dialog-surface:linear-gradient(#0d0d0de8,#080808f2),url('/glass-architecture.webp') center/cover,#090909;--dialog-panel:#141414ed}
html[data-pulse] #dialog.management-editor .management-body :is(input,textarea,select){background:#171717;color:#f4f2ed}
html[data-pulse] .identity-card{background:var(--pulse-surface)}
html[data-pulse] .login-submit{background:#dcbb7e;color:#211b11}
html[data-pulse] .login-submit:hover{background:#e6cd9e!important}
html[data-pulse] .arrow-disc{background:#171717;color:#dcbb7e}
html[data-pulse] body .avatar{background-color:#292929}
html[data-pulse] body :is(.schedule-wish-avatar,.schedule-wish-more){background-color:#343434}
