:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#24382d;background:#f5f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#173f2c;color:#fff;padding:28px 18px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-family:inherit;font-size:20px;font-weight:700;letter-spacing:-.03em}.brand-mark{background:#d8e9c4;color:#173f2c;border-radius:12px;width:39px;height:39px;display:grid;place-items:center;font-size:24px}.brand span small{display:block;font:500 10px system-ui,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#b6cbb9}.nav-label{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.14em;color:#9eb7a3;margin:0 12px 10px}.nav{display:grid;gap:4px}.nav button{border:0;background:transparent;color:#c4d6c7;text-align:left;padding:11px 12px;border-radius:9px;font-weight:600}.nav button:hover,.nav button.active{background:#315c42;color:#fff}.nav button span{display:inline-block;width:27px;font-size:16px}.sidebar-footer{margin-top:auto;border-top:1px solid #43694e;padding:18px 10px 0;font-size:12px;color:#c4d6c7}.sidebar-footer strong{display:block;color:white;font-size:14px;margin-bottom:4px}.main{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid #e6eae2;display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:#758375;font-size:13px}.workspace-name{font-weight:700;color:#2b4232}.content{max-width:1450px;margin:auto;padding:36px 42px 60px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:700;color:#79916d}.page-head h1,.login h1{font:700 34px system-ui,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.035em;margin:7px 0}.page-head p,.muted{color:#7b8a7d;margin:0;font-size:14px;line-height:1.5}.button{border:0;background:#235c3b;color:white;border-radius:10px;padding:11px 16px;font-weight:700}.button:hover{background:#17452c}.button.secondary{background:#e8efe4;color:#285237}.button.ghost{background:transparent;color:#376848;padding:7px}.button.danger{background:#f9e8e6;color:#a63b31}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:white;border:1px solid #e6ebe2;border-radius:15px;padding:20px;box-shadow:0 3px 14px #223b2906}.metric{min-height:128px}.metric .icon{height:33px;width:33px;border-radius:10px;background:#eff5e9;color:#46754c;display:grid;place-items:center;margin-bottom:14px}.metric strong{display:block;font:700 27px system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.metric label{font-size:12px;color:#7a8a7d}.two-col{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-head h2,.card h2{font:700 18px system-ui,-apple-system,BlinkMacSystemFont,sans-serif;margin:0}.section-head p{font-size:12px;color:#89968b;margin:4px 0 0}.hero{background:#e4eddb;border-radius:18px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;overflow:hidden}.hero h2{font:700 25px system-ui,-apple-system,BlinkMacSystemFont,sans-serif;margin:4px 0 7px;letter-spacing:-.025em}.hero p{color:#66806a;font-size:13px;margin:0}.hero img{width:112px;height:112px;object-fit:contain;margin:-12px 20px -15px 0}.list{display:grid}.row{display:flex;gap:13px;align-items:center;padding:14px 0;border-top:1px solid #edf0eb}.row:first-child{border-top:0}.row-main{flex:1;min-width:0}.row strong{font-size:14px;display:block}.row p{font-size:12px;color:#849187;margin:4px 0 0;white-space:pre-wrap}.badge{display:inline-block;font-size:11px;font-weight:700;background:#eff5e9;color:#548154;border-radius:20px;padding:5px 9px;white-space:nowrap}.badge.draft{background:#fff2dd;color:#9b702b}.empty{color:#8b998d;font-size:13px;padding:25px 4px;text-align:center}.actions{display:flex;gap:7px;flex-wrap:wrap}.stack{display:grid;gap:18px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tabs button{background:white;border:1px solid #e3eae0;border-radius:9px;padding:9px 13px;color:#728275}.tabs button.active{background:#235c3b;color:#fff;border-color:#235c3b}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:#edf3e8}.login{width:min(100%,440px);background:#fff;padding:36px;border-radius:20px;box-shadow:0 20px 70px #193c2520}.login .brand{color:#1d4d31;margin-bottom:30px}.login p{color:#758578;font-size:14px}.form{display:grid;gap:14px;margin-top:22px}.field{display:grid;gap:6px;font-size:12px;font-weight:700;color:#536858}.field input,.field select,.field textarea{width:100%;border:1px solid #dce5da;border-radius:9px;padding:11px 12px;color:#263e2d;background:#fff}.field textarea{min-height:88px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}dialog{border:0;border-radius:17px;padding:0;max-width:min(500px,calc(100vw - 30px));width:100%;box-shadow:0 20px 80px #13271a40}dialog::backdrop{background:#142b1caf}#modal-content{padding:25px}#modal-content h2{font:700 23px system-ui,-apple-system,BlinkMacSystemFont,sans-serif;margin:0}#notice{position:fixed;right:22px;bottom:22px;background:#1f4e32;color:white;padding:12px 16px;border-radius:10px;display:none;max-width:360px;z-index:5}#notice.error{background:#9e3b31}.loading{padding:40px}.check{accent-color:#28613d;width:18px;height:18px}.inline{display:flex;gap:8px;align-items:center}.inline input{flex:1}.small{font-size:12px}.subtle{color:#8a998a}.count{font-size:12px;color:#9aa69a}.mobile-nav{display:none}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:15px}.sidebar .nav-label,.sidebar-footer{display:none}.brand{margin-bottom:4px}.nav{display:flex;overflow-x:auto}.nav button{white-space:nowrap}.sidebar{gap:12px}.nav button span{width:auto;margin-right:6px}.topbar{height:54px;padding:0 20px}.content{padding:25px 20px}.grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}}@media(max-width:500px){.page-head{align-items:flex-start}.page-head h1{font-size:29px}.hero img{width:75px;height:75px;margin-right:0}.card{padding:16px}.grid{gap:10px}.page-head{flex-wrap:wrap}}

/* Consistent, accessible line icons and a mascot that blends into the hero. */
.ui-icon{display:block;width:20px;height:20px;flex:none}.brand-mark .ui-icon{width:23px;height:23px;stroke-width:2}.nav button{display:flex;align-items:center;gap:11px}.nav button .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;flex:none}.metric .ui-icon{width:19px;height:19px}.hero img{mix-blend-mode:multiply}
@media(max-width:850px){.nav button .nav-icon{width:20px;margin-right:0}}
.lineup-groups{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;padding:16px 0}.lineup-group{flex:0 0 min(100%,380px);border:1px solid #e6e8e7;border-radius:18px;padding:14px;background:#fff}.lineup-group h3{margin:0 4px 12px;font-size:20px;color:#1b2025}.lineup-rows{border:1px solid #e6e8e7;border-radius:15px;background:#fafafa;overflow:hidden}.lineup-position+.lineup-position{border-top:1px solid #e8e9e9}.lineup-position{padding:11px 12px}.lineup-heading{display:flex;align-items:center;gap:12px;min-height:38px}.lineup-heading strong{flex:1;color:#171b20;font-size:16px}.lineup-count{color:#6d7580;white-space:nowrap}.lineup-add{border:0;border-radius:999px;background:#d4e6fc;color:#153f81;padding:7px 13px;font-weight:700;white-space:nowrap}.lineup-add:hover{background:#bfd9fa}.lineup-add:focus-visible{outline:3px solid #265da4;outline-offset:2px}.lineup-person{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:8px;font-size:14px}.lineup-person small{display:block;color:#737d80}.lineup-group + .lineup-group{margin-left:0}details{margin-top:14px}summary{cursor:pointer;font-weight:700}

/* Shared visual language with the Peblo Business iOS app. */
:root{color:#111827;background:#f2f2f7}
.sidebar{background:#fff;color:#111827;border-right:1px solid #e5e7eb}
.brand{color:#111827;font-size:18px;letter-spacing:-.025em}
.brand-mark{background:transparent;width:40px;height:40px;flex:none}
.brand-mark img{display:block;width:40px;height:40px;object-fit:contain}
.brand span small{color:#525c6e;letter-spacing:.08em}
.nav-label{color:#6b7280}
.nav button{color:#374151;border-radius:12px}
.nav button:hover,.nav button.active{background:#dbeafe;color:#1e3a8a}
.sidebar-footer{border-color:#e5e7eb;color:#525c6e}
.sidebar-footer strong{color:#111827}
.topbar{border-color:#e5e7eb;color:#525c6e}
.workspace-name{color:#111827}
.eyebrow{color:#525c6e}
.page-head p,.muted,.section-head p,.row p,.metric label,.subtle,.count{color:#525c6e}
.button{background:#1e3a8a;border-radius:13px}
.button:hover{background:#172f72}
.button.secondary{background:#dbeafe;color:#1e3a8a}
.button.ghost{background:transparent;color:#1e3a8a}
.button.danger{background:#f9e8e6;color:#a63b31}
.card{border:1px solid rgba(17,24,39,.07);border-radius:18px;box-shadow:none}
.metric .icon{background:#eff6ff;color:#1e3a8a}
.hero{background:#dbeafe;border-radius:20px}
.hero p{color:#525c6e}
.hero img{mix-blend-mode:normal}
.row{border-color:#eceef1}
.badge{background:#eaf4ea;color:#336e40}
.badge.draft{background:#fff2dd;color:#805918}
.empty{color:#525c6e}
.tabs button{border-color:#e1e5eb;color:#525c6e;border-radius:12px}
.tabs button.active{background:#1e3a8a;border-color:#1e3a8a;color:#fff}
.login-wrap{background:#f2f2f7}
.login{border-radius:20px;box-shadow:0 16px 50px rgba(17,24,39,.08)}
.login .brand{color:#111827}
.login p,.field{color:#525c6e}
.field input,.field select,.field textarea{border-color:#d7dce4;border-radius:10px;color:#111827}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,button:focus-visible{outline:3px solid #93b4f3;outline-offset:2px}
dialog{color:#111827;border-radius:20px;box-shadow:0 20px 80px rgba(17,24,39,.25)}
dialog::backdrop{background:rgba(17,24,39,.55)}
#notice{background:#1e3a8a}
#notice.error{background:#9e3b31}
.check{accent-color:#1e3a8a}
@media(max-width:850px){.sidebar{border-right:0;border-bottom:1px solid #e5e7eb}.nav button{flex:none}.content{padding-bottom:36px}}

/* A shared, card-based language for Now and every workspace screen. */
:root{color:#101b2b;background:#f1f1f6}
body{background:#f1f1f6;-webkit-font-smoothing:antialiased}
.sidebar{background:#fff;border-color:#eceef2}
.brand{gap:4px;color:#111d29;font-size:20px;font-weight:750;white-space:nowrap}
.brand-mark,.brand-mark img{width:37px;height:37px}
.brand span small{display:inline;color:#111d29;font-size:12px;letter-spacing:0;text-transform:none;font-weight:500}
.nav button{color:#59677a}.nav button:hover,.nav button.active{background:#eef3fa;color:#224a9a}
.topbar{border-color:#ebedf1}.content{max-width:1180px}
.page-head h1,.login h1{color:#111d2c;letter-spacing:-.04em}
.page-head p,.section-head p,.row p,.metric label,.subtle,.count{color:#718095}
.page-head .eyebrow{color:#8791a0}
.card{background:#fff;border:1px solid #edf0f3;border-radius:20px;padding:22px}
.button{background:#244b99;border-radius:11px}.button:hover{background:#193c82}.button.secondary{background:#edf3fb;color:#244b99}.button.ghost{color:#244b99}
.tabs button{background:#fff;border-color:#e5e8ed;color:#69778b}.tabs button.active{background:#244b99;border-color:#244b99}
.row{border-color:#edf0f3}.badge{background:#edf5ef;color:#477450}.hero{background:#eef4f2}.hero p{color:#6a7d7a}
.login-wrap{background:#f1f1f6}.login{border-radius:24px}.login .brand{color:#111d29}.login .brand small{color:#111d29}.login .field{color:#617085}.login p{color:#718095}
.field input,.field select,.field textarea{border-color:#dfe4eb;color:#101b2b}
.mobile-top-brand,.mobile-profile,.mobile-bottom{display:none}
.now-layout{max-width:760px;margin:0 auto;display:grid;gap:13px}
.now-hero,.now-panel{background:#fff;border-radius:22px}
.now-hero{position:relative;overflow:hidden;padding:22px 28px 24px;min-height:210px}
.now-hero-top{display:flex;justify-content:space-between;align-items:center}.now-hero-actions{display:flex;align-items:center;gap:16px}
.hero-notifications,.hero-avatar,.mobile-profile{border:0;display:grid;place-items:center;cursor:pointer}.hero-notifications{background:transparent;color:#101b2b;padding:8px}.hero-notifications .ui-icon{width:23px;height:23px}
.hero-avatar,.mobile-profile{width:38px;height:38px;border-radius:50%;background:#426d47;color:white;font-size:12px;font-weight:700}
.now-welcome{position:relative;z-index:1;margin-top:14px}.now-welcome>span,.now-welcome>p{font-size:16px;color:#687588;margin:0}.now-welcome h1{font-size:42px;line-height:1.05;letter-spacing:-1.8px;margin:3px 0;color:#071927}.now-welcome button{display:flex;align-items:center;gap:7px;background:none;border:0;padding:12px 0 0;color:#244b99;font-size:14px;font-weight:650}.now-welcome button span{color:#687588}.now-welcome button b{font-size:23px;font-weight:400;line-height:1}.now-welcome button .ui-icon{width:23px;height:23px}
.day-scene{position:absolute;width:min(45%,260px);height:auto;right:12px;bottom:12px;pointer-events:none}
.now-panel{padding:21px 22px}.now-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.now-panel-heading h2{font-size:20px;line-height:1.2;letter-spacing:-.5px;margin:0}.now-panel-heading p{font-size:12px;color:#7c8795;margin:4px 0 0}.now-panel-heading>button{display:flex;gap:5px;align-items:center;border:0;background:none;padding:5px 0;color:#244b99;font-weight:650;white-space:nowrap}
.now-rows{display:grid;gap:7px}.now-row{width:100%;min-width:0;min-height:48px;display:flex;align-items:center;gap:13px;padding:11px 13px;text-decoration:none;text-align:left;background:#fff;border:1px solid #e6e8ec;border-radius:12px;color:#101b2b;font:inherit;cursor:pointer}.now-row>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.now-row strong{font-size:14px;line-height:1.3}.now-row small{font-size:12px;line-height:1.35;color:#758399;overflow-wrap:anywhere}.now-row>b{font-size:25px;line-height:1;font-weight:400;color:#718096}.now-icon{color:#244b99;display:flex}.now-icon .ui-icon{width:23px;height:23px}.now-empty{border:1px solid #edf0f3;border-radius:12px;padding:17px;color:#718095;font-size:13px}
.connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.connect-grid button{position:relative;border:0;border-radius:13px;text-align:left;min-width:0;padding:13px;background:#f2f7f5;display:flex;align-items:flex-start;flex-direction:column;color:#152535}.connect-grid button:nth-child(2){background:#f5f4fa}.connect-grid button>span{display:flex;color:#315e60;margin-bottom:11px}.connect-grid button:nth-child(2)>span{color:#596a9d}.connect-grid strong{font-size:14px}.connect-grid small{font-size:11px;color:#728187;margin-top:5px}.connect-grid b{position:absolute;right:13px;bottom:13px;color:#71858a}
.space-heading{margin:0 0 24px}.space-heading h1{font-size:34px;letter-spacing:-1px;margin:7px 0}.space-heading p{color:#718095;font-size:14px;margin:0}.spaces-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.space-card{background:#fff;border:1px solid #edf0f3;border-radius:18px;padding:20px;display:flex;align-items:center;gap:14px;text-align:left;color:#152535;min-width:0}.space-card>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.space-card strong{font-size:15px}.space-card small{color:#718095;font-size:12px;line-height:1.4}.space-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#244b99;background:#edf3fb;flex:none}.space-arrow{font-size:25px;color:#8a96a5;font-weight:400}
.create-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.create-heading h2{margin-top:8px!important}.dialog-close{border:0;background:#f1f3f6;border-radius:50%;width:34px;height:34px;font-size:25px;line-height:1;color:#536174}.create-list{display:grid;margin-top:18px}.create-list button{border:0;border-top:1px solid #eceff3;background:#fff;padding:16px 2px;display:flex;text-align:left;align-items:center;gap:12px}.create-list button>span:first-child{display:flex;flex:1;flex-direction:column;gap:5px}.create-list strong{font-size:14px;color:#152535}.create-list small{font-size:12px;color:#718095}.create-list button>span:last-child{font-size:24px;color:#8a96a5}
@media(max-width:850px){
 .shell{display:block}.sidebar{display:none}.topbar{height:64px;padding:10px 18px;background:#fff;border-bottom:1px solid #eceef2}.topbar .workspace-name,.topbar-date{display:none}.mobile-top-brand{display:block;border:0;background:none;padding:0}.mobile-profile{display:grid}.home-shell .topbar{display:none}
 .content{padding:20px 14px calc(110px + env(safe-area-inset-bottom,0px))}.home-shell .content{padding:16px 12px calc(110px + env(safe-area-inset-bottom,0px))}
 .mobile-bottom{display:flex;position:fixed;z-index:4;bottom:0;left:0;right:0;height:76px;padding:4px 16px calc(5px + env(safe-area-inset-bottom,0px));align-items:center;justify-content:space-around;background:#fffffff5;border-top:1px solid #eef0f1;backdrop-filter:blur(15px)}
 .mobile-bottom button{height:58px;min-width:78px;border:0;background:none;position:relative;color:#7a8088;font-size:15px;font-weight:650}.mobile-bottom button.active{color:#142133}.mobile-bottom button.active:after{content:"";position:absolute;bottom:3px;left:50%;transform:translateX(-50%);width:34px;height:3px;border-radius:4px;background:#dc806b}.mobile-bottom .mobile-create{height:52px;min-width:52px;width:52px;border-radius:50%;background:#df725b;color:#fff;font-size:34px;font-weight:300;line-height:1;box-shadow:0 3px 10px #d86f5830}
 .now-layout{gap:12px}.now-hero{padding:17px 22px 18px;min-height:200px}.now-welcome{margin-top:10px}.now-welcome h1{font-size:clamp(31px,9vw,42px)}.now-welcome>span,.now-welcome>p{font-size:15px}.day-scene{width:48%;right:4px;bottom:8px}.now-panel{padding:18px 18px 16px}.now-panel-heading h2{font-size:20px}.now-panel-heading>button{font-size:13px}
 .page-head{margin-bottom:18px}.page-head h1{font-size:29px}.page-head p{font-size:13px}.card{border-radius:20px;padding:18px}.stack{gap:12px}.two-col{gap:12px;margin-top:12px}.grid{gap:10px}.tabs{gap:7px;margin-bottom:14px}.tabs button{font-size:13px}.hero{border-radius:20px}.space-heading h1{font-size:30px}.spaces-grid{grid-template-columns:1fr;gap:9px}.space-card{padding:16px;border-radius:16px}.lineup-group{flex-basis:min(100%,380px)}#notice{bottom:90px;left:14px;right:14px;max-width:none;z-index:6}
}
@media(max-width:360px){.now-hero{padding-left:17px;padding-right:17px}.now-panel{padding-left:15px;padding-right:15px}.now-panel-heading h2{font-size:18px}.now-panel-heading>button{font-size:12px}.day-scene{width:44%}.now-welcome h1{font-size:32px}.now-welcome>span,.now-welcome>p{font-size:13px}.space-card{padding:13px}}

/* Fade the illustration into its surrounding card on every edge. */
.day-scene{
  -webkit-mask-image:linear-gradient(to right, transparent, #000 16%, #000 84%, transparent),linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right, transparent, #000 16%, #000 84%, transparent),linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  mask-composite:intersect;
}
/* Raised create control and compact, readable action choices. */
.create-intro{font-size:13px;line-height:1.5;color:#738095;margin:8px 0 18px}.create-list{gap:9px;margin-top:0}.create-list button{border:1px solid #e9edf1;border-radius:14px;padding:12px;background:#fff}.create-list button>span:first-child{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#edf3fb;color:#244b99}.create-list button>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:5px}.create-list button>span:last-child{font-size:24px;color:#8a96a5}.create-list button:hover{background:#f6f9fc}
@media(max-width:850px){.mobile-bottom{overflow:visible}.mobile-bottom button.active{color:#244b99}.mobile-bottom button.active:after{background:#244b99}.mobile-bottom .mobile-create{transform:translateY(-14px);background:#244b99;border:4px solid #fff;height:60px;width:60px;min-width:60px;box-shadow:0 5px 14px #173b7626}.mobile-bottom .mobile-create:hover{background:#173c83}}

/* Schedule builder */
.builder-page{max-width:1050px;margin:auto}.builder-back,.builder-link{border:0;background:none;padding:5px 0;color:#315a9c;font:inherit;font-size:13px;font-weight:700}.builder-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 16px;padding:30px 32px;border-radius:22px;background:linear-gradient(115deg,#e9f2ef,#eef2fb);color:#14283a}.builder-kicker,.builder-step{font-size:10px;letter-spacing:.13em;font-weight:800;color:#537a77}.builder-hero h1{font-size:clamp(29px,4vw,39px);letter-spacing:-1.5px;line-height:1.08;margin:9px 0}.builder-hero p{max-width:540px;margin:0;color:#61778a;font-size:14px;line-height:1.55}.builder-hero-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:25px;background:#ffffffa8;color:#527f81;transform:rotate(6deg);flex:none}.builder-hero-icon .ui-icon{width:37px;height:37px}.builder-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px;align-items:start}.builder-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.builder-card-head h2{font-size:21px;letter-spacing:-.5px;margin:7px 0}.builder-card-head p,.builder-hint,.builder-save p,.builder-footnote{font-size:12px;line-height:1.5;color:#748297;margin:0}.builder-fields{display:grid;gap:16px;margin-top:24px}.builder-fields .field{font-size:12px;color:#536478}.builder-fields input{min-height:44px}.builder-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.builder-primary{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:48px;text-align:left}.builder-primary:disabled{opacity:.6}.builder-profile-list{margin:18px 0 12px;max-height:430px;overflow:auto}.builder-profile-list .row{gap:6px}.builder-profile-list .row p{line-height:1.4}.builder-result{margin-top:14px;scroll-margin-top:16px}.builder-status{border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;white-space:nowrap}.builder-status.ready{background:#edf6ef;color:#39724b}.builder-status.needs{background:#fff4df;color:#95672c}.builder-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px}.builder-results-grid h3{font-size:14px;margin:0 0 8px}.builder-results-grid h3 span{color:#8b98a7;font-weight:500}.builder-save{display:flex;align-items:center;gap:15px;border-top:1px solid #edf0f3;margin-top:16px;padding-top:18px}.builder-footnote{padding:16px 4px}.builder-link{margin-top:10px}
@media(max-width:700px){.builder-layout,.builder-results-grid{grid-template-columns:1fr}.builder-hero{padding:24px 20px}.builder-hero-icon{width:56px;height:56px;border-radius:18px}.builder-hero-icon .ui-icon{width:27px;height:27px}.builder-save{align-items:stretch;flex-direction:column}.builder-save .button{width:100%}}
@media(max-width:420px){.builder-pair{grid-template-columns:1fr}.builder-hero-icon{display:none}.builder-card-head{flex-wrap:wrap}}
@media(min-width:851px) and (max-width:1120px){.builder-layout{grid-template-columns:1fr}}
.builder-window,.availability-day{min-width:0;border:1px solid #e3e9ed;border-radius:12px;padding:14px;display:grid;gap:10px}.builder-window legend,.availability-day legend{padding:0 6px;font-weight:700;color:#526679;font-size:13px}.builder-window .builder-link{text-align:left}.availability-day{margin:10px 0}.availability-day legend input{width:auto;min-height:0;vertical-align:middle}.availability-day .field{margin:0}.availability-day input[type=time]{min-width:0}
.schedule-board{margin:16px 0}.schedule-filters{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.schedule-filters .field{min-width:150px;flex:1}.timeline-scroll{overflow:auto;max-height:75vh;border:1px solid #dfe7e4;border-radius:10px}.timeline{min-width:850px}.timeline-head,.timeline-body{display:grid;grid-template-columns:70px repeat(7,minmax(110px,1fr))}.timeline-head{position:sticky;top:0;z-index:4;background:#f4f7f5;border-bottom:1px solid #dfe7e4}.timeline-head>*{padding:12px 6px;font-size:12px;text-align:center}.timeline-body{height:1440px}.timeline-hours{display:grid;grid-template-rows:repeat(24,1fr);color:#758478;font-size:11px}.timeline-hours div{padding:4px;border-bottom:1px solid #edf1ef;text-align:center}.timeline-day{position:relative;border-left:1px solid #e2eae5;background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,#e8eeea 59px,#e8eeea 60px)}.timeline-shift{position:absolute;overflow:hidden;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:1px solid #81b8aa;border-radius:6px;background:#d9f2eb;color:#174f42;text-align:left;padding:5px;font-size:11px}.timeline-shift:hover,.timeline-shift:focus{z-index:3;outline:2px solid #317a66}.timeline-shift.draft{background:repeating-linear-gradient(135deg,#d9e9fb,#d9e9fb 5px,#eaf3ff 5px,#eaf3ff 10px);border-color:#8eacd3;color:#29496c}.timeline-shift strong,.timeline-shift span,.timeline-shift small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-board .builder-hint{margin-top:10px}
.employee-board{margin:16px 0}.employee-toggle{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.employee-scroll{overflow:auto;max-height:70vh;border:1px solid #dfe7e4;border-radius:10px}.employee-inner{min-width:1600px}.employee-heading,.employee-row{display:grid;grid-template-columns:170px minmax(1400px,1fr)}.employee-heading{position:sticky;top:0;z-index:8;background:#f4f7f5;height:62px;border-bottom:1px solid #dfe7e4}.employee-heading>strong,.employee-name{position:sticky;left:0;z-index:6;background:#f4f7f5;padding:12px;font-size:12px;border-right:1px solid #dfe7e4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-heading>strong{z-index:9}.employee-ruler{position:relative}.employee-ruler span,.employee-ruler b{position:absolute;top:8px;transform:translateX(-1px);font-size:10px;color:#697c73;white-space:nowrap}.employee-ruler b{top:32px;color:#315f9c;background:#edf3ff;padding:2px 4px;border-radius:4px}.employee-row{min-height:48px;border-bottom:1px solid #e9eeeb}.employee-name{background:#fff}.employee-lane{position:relative;touch-action:pan-y;background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),#e4ece7 calc(100% / 24 - 1px),#e4ece7 calc(100% / 24));cursor:crosshair}.employee-lane:hover{background-color:#f8fbf9}.daypart-line{position:absolute;top:0;bottom:0;width:2px;background:#749bd3;pointer-events:none;z-index:1}.employee-shift{position:absolute;top:5px;bottom:5px;display:flex;background:#d9f2eb;border:1px solid #78ac9e;border-radius:6px;z-index:2;min-width:8px}.employee-shift.draft{background:repeating-linear-gradient(135deg,#d9e9fb,#d9e9fb 5px,#eaf3ff 5px,#eaf3ff 10px);border-color:#8eacd3}.employee-shift button{flex:1;min-width:0;border:0;background:transparent;color:#234e46;font-size:11px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px}.employee-handle{width:9px;flex:none;cursor:ew-resize;background:#5b9889;touch-action:none}.employee-handle[hidden]{display:none}.employee-drag-preview{position:absolute;top:3px;bottom:3px;z-index:5;background:#74aa9c88;border:1px dashed #276e5b;pointer-events:none}.employee-board .builder-hint{margin-top:10px}
/* Compact automatic scheduling requirements */
.builder-window{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:8px;padding:10px}.builder-window>label:nth-of-type(1){grid-column:span 1}.builder-window>label:nth-of-type(2){grid-column:span 3}.builder-window .builder-pair{grid-column:span 2;gap:8px}.builder-window .builder-link{grid-column:1/-1;margin:0;font-size:11px}.builder-fields{gap:9px;margin-top:16px}.builder-fields input,.builder-fields select{min-height:38px;padding:8px}.builder-window legend{font-size:11px}.builder-layout{grid-template-columns:minmax(0,1.5fr) minmax(240px,.65fr)}@media(max-width:700px){.builder-layout{grid-template-columns:1fr}.builder-window{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-window>label:nth-of-type(2){grid-column:span 1}.builder-window .builder-pair{grid-column:span 1;grid-template-columns:1fr}}
.builder-auto-link{display:inline-block;margin-top:12px;color:#315a9c;font-size:13px;font-weight:700;text-decoration:none}.builder-form{scroll-margin-top:16px}
.team-person{display:flex;align-items:center;gap:14px;width:100%;padding:14px 2px;border:0;border-bottom:1px solid #edf0eb;background:transparent;text-align:left;color:inherit}.team-person>span:first-child{flex:1;min-width:0}.team-person strong,.team-person small{display:block}.team-person small{margin-top:4px;color:#7a8b80}.team-person:hover{background:#f7faf7}.team-profile{max-width:900px;margin:auto}.team-profile .page-head{margin-top:14px}.team-profile .stack{margin-top:0}
.availability-choice{border-bottom:1px solid #e5ebe6;padding:8px 0}.availability-choice [hidden]{display:none}.availability-range{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;margin:8px 0}.availability-range button{border:0;background:none;color:#486b91;padding:10px;font-size:12px}
.operating-day{border:1px solid #e3e9ed;border-radius:12px;padding:10px;min-width:0}.operating-day legend{padding:0 6px;font-size:12px;font-weight:700}.operating-day legend input{width:auto;min-height:0}.operating-day>.builder-pair{margin-bottom:8px}.coverage-part{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;align-items:end;padding:8px 0;border-top:1px solid #edf1ef}.coverage-part .builder-link{margin:0}.operating-day>.builder-link{margin:0}@media(max-width:550px){.coverage-part{grid-template-columns:1fr 1fr}.coverage-part>.builder-hint{grid-column:1/-1}}

/* Full-width sections fade into the page; the greeting has a separate icon. */
html{background:#fff}.resources-empty{color:#718095;font-size:13px;line-height:1.5;padding:7px 0}.resource-edit-list{display:grid;gap:12px}.resource-edit-row{display:grid;gap:10px;padding:14px;border:1px solid #e6eaf0;border-radius:12px}.resource-edit-row .section-head{margin:0}.resource-error{font-size:12px;color:#a63b31;margin:0}.now-welcome-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.now-welcome{flex:1;min-width:0}.greeting-symbol{display:grid;place-items:center;flex:none;width:72px;height:72px;border-radius:50%;background:#fff8df;color:#edc764}.greeting-symbol svg{width:39px;height:39px}
@media(max-width:850px){.home-shell .content{padding:0 0 calc(110px + env(safe-area-inset-bottom,0px));max-width:none}.home-shell .now-layout{max-width:none;gap:8px}.home-shell .now-hero,.home-shell .now-panel{width:100%;margin:0;border-radius:0;background:linear-gradient(to bottom,#fff 0%,#fff 85%,#f1f1f6 100%)}.home-shell .now-hero{padding:20px 24px 23px}.home-shell .now-panel{padding:18px 24px 23px}}
@media(max-width:360px){.home-shell .now-hero,.home-shell .now-panel{padding-left:18px;padding-right:18px}.greeting-symbol{width:50px;height:50px}.greeting-symbol svg{width:28px;height:28px}}

@media(max-width:850px){.home-shell .now-panel{background:linear-gradient(to bottom,#f1f1f6 0%,#fff 15%,#fff 85%,#f1f1f6 100%)}}

@media(max-width:850px){.home-shell .now-panel{background:linear-gradient(to right,#f1f1f6,transparent 5%,transparent 95%,#f1f1f6),linear-gradient(to bottom,#f1f1f6,#fff 15%,#fff 85%,#f1f1f6)}}

@media(max-width:850px){.home-shell .now-panel{border-radius:24px;overflow:hidden}}

@media(max-width:850px){.home-shell .now-layout{gap:12px;padding:12px 16px 0}.home-shell .now-hero,.home-shell .now-panel{width:100%;margin:0;border-radius:20px;background:#fff;box-shadow:0 1px 3px rgba(25,39,60,.05)}.home-shell .now-hero{padding:22px 20px 24px}.home-shell .now-panel{padding:20px}}

.check-row{display:flex;align-items:center;gap:8px;font-size:14px;margin:4px 0}
.check-row input{width:auto}
/* Workplace modules */
.form-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.form-row>.field{flex:1 1 140px}.form-row>.check-row{flex:0 0 120px}.form-row>.button{margin-bottom:2px}
fieldset.field{border:1px solid #dce5da;border-radius:12px;padding:10px 14px;margin:0}fieldset.field legend{padding:0 6px;font-weight:700}
.badge.warn{background:#fff2dd;color:#9b5a12}
details summary{cursor:pointer;margin:6px 0}
#modal-content form .card{box-shadow:none}
@media(max-width:500px){.form-row>.field,.form-row>.check-row{flex:1 1 100%}}

.verify-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:10px 14px;border-radius:12px;background:#fff6dc;border:1px solid #ecd9a0;color:#5a4710;font-size:14px}
.setup-ro .section-head{margin-bottom:4px}
.setup-ro .lineup-count.short{color:#b3261e;font-weight:700}
.setup-ro .lineup-person .button.ghost{white-space:nowrap}
.setup-note{margin:0}
.auth-more{display:grid;gap:4px;margin-top:22px;padding-top:18px;border-top:1px solid #e9ece8;text-align:center;font-size:13px;color:#718095}.auth-more span{font-weight:700;color:#525c6e;margin-bottom:2px}.auth-more button{border:0;background:transparent;color:#244b99;font-size:13px;padding:4px;text-decoration:underline;text-underline-offset:2px}.auth-more button:hover{color:#17366f}
/* Schedule builder: steps, plan rows, draft preview on the calendar, gap filling */
.builder-top{margin:10px 0 14px}
.builder-top h1{font-size:clamp(26px,3.6vw,34px);letter-spacing:-1px;margin:6px 0 4px}
.builder-top p{margin:0;color:#61778a;font-size:14px}
.builder-steps{position:sticky;top:0;z-index:20;display:flex;gap:6px;overflow-x:auto;padding:6px;margin:0 0 14px;background:#f1f4f8;border:1px solid #e3e8ef;border-radius:14px}
.builder-steps button{flex:1 0 auto;border:0;border-radius:10px;padding:10px 14px;background:transparent;color:#526079;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.builder-steps button.active{background:#fff;color:#1c2f52;box-shadow:0 1px 3px #1c2f5222}
.board-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.template-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:14px}
.template-bar .field{flex:1;min-width:220px;margin:0}
.operating-days{display:grid;gap:12px}
.operating-day.closed{opacity:.6}
.part-head,.coverage-part{display:grid;grid-template-columns:96px minmax(120px,1.6fr) 74px 74px 28px;gap:8px;align-items:center}
.part-head{padding:6px 0 2px;font-size:11px;font-weight:700;color:#748297;text-transform:uppercase;letter-spacing:.06em}
.coverage-part{padding:6px 0;border-top:1px solid #edf1ef}
.coverage-part .field{margin:0}
.coverage-part input{min-height:40px}
.part-start{font-size:12px;font-weight:700;color:#536478}
.part-remove{font-size:20px;line-height:1;margin:0;padding:4px}
.part-actions{display:flex;flex-wrap:wrap;gap:4px 16px;padding-top:6px}
.part-actions .builder-link{margin:0}
.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:550px){.part-head{display:none}.coverage-part{grid-template-columns:1fr 1fr;row-gap:6px}.coverage-part>.part-start,.coverage-part>.field:first-child{grid-column:1/-1}.part-remove{justify-self:end}}
.timeline-shift.ghost{background:#fff6e5;border:1.5px dashed #d79a2b;color:#6b4508}
.timeline-shift.ghost.skipped{opacity:.4;text-decoration:line-through;background:#f4f4f4;border-color:#b7b7b7;color:#666}
.timeline-shift.context{background:#eef2f6;border-color:#cdd6e0;color:#5d6b7c}
.timeline-gap{position:absolute;z-index:1;border-radius:6px;background:repeating-linear-gradient(135deg,#fde4e4,#fde4e4 6px,#fff1f1 6px,#fff1f1 12px);border-left:3px solid #d65050;pointer-events:none;overflow:hidden}
.timeline-gap span,.timeline-gap small{display:block;padding:3px 5px 0;font-size:10px;font-weight:700;color:#9a2b2b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-gap small{font-weight:500;padding-top:0}
.legend-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.legend{display:inline-block;width:14px;height:10px;border-radius:3px;vertical-align:middle}
.legend.ghost{background:#fff6e5;border:1.5px dashed #d79a2b}
.legend.context{background:#eef2f6;border:1px solid #cdd6e0}
.legend.gap{background:#fde4e4;border-left:3px solid #d65050}
.gap-list{margin-top:14px}
.gap-item{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:12px;padding:14px 0;border-top:1px solid #edf0f3}
.gap-item p{margin:3px 0 0;font-size:12px;color:#748297}
.gap-candidates{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.candidate{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:1px solid #cfe3d7;border-radius:10px;background:#f2faf5;padding:7px 11px;font:inherit;font-size:13px;color:#1f4b33;cursor:pointer;text-align:left}
.candidate small{font-size:11px;color:#5d7a68}
.candidate.partial{background:#fffaf0;border-color:#eedbb5;color:#5d4513}
.candidate.unmarked{background:#f6f7f9;border-color:#e1e5eb;color:#3d4757}
.candidate:hover,.candidate:focus-visible{outline:2px solid #2f6f4b;outline-offset:1px}
@media(max-width:700px){.gap-item{grid-template-columns:1fr}}
.proposed-list{margin-top:14px}
.proposed-list summary{cursor:pointer;font-weight:700;padding:4px 0}
.employee-avail{position:absolute;top:2px;bottom:2px;background:#dff3e5;border-radius:4px;pointer-events:none;z-index:0}
.employee-name small{display:block;font-weight:500;color:#7a8a80;font-size:10px;margin-top:2px}
.copy-skipped{max-height:50vh;overflow:auto}
.builder-steps:focus-within{outline:none}
.timeline-shift{margin-left:1px}
.timeline{min-width:980px}
@media(max-width:550px){.coverage-part .sr-label{position:static;width:auto;height:auto;clip:auto;overflow:visible;display:block;font-size:11px;color:#748297;margin-bottom:2px}.coverage-part>.field:nth-child(2){grid-column:1/-1}.coverage-part>.part-remove{grid-column:1/-1;justify-self:end}.coverage-part{padding:10px 0}}

/* ==========================================================================
   App parity: visual layer matching Peblo Business for iPhone
   (tokens from the app's `enum Peblo`). Desktop keeps the sidebar.
   ========================================================================== */
:root{--wine:#1e3a8a;--ink:#111827;--muted:#525c6e;--rose:#dbeafe;--cream:#f8f7f4;--green:#336e40;--ios-bg:#f2f2f7;--hair:rgba(17,24,39,.09);--fill:rgba(30,58,138,.07);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--ios-bg)}
body{background:var(--ios-bg);color:var(--ink)}
.ui-icon{width:1em;height:1em}
.ios-avatar{width:var(--size,36px);height:var(--size,36px);border-radius:50%;display:inline-grid;place-items:center;color:#fff;font-weight:600;font-size:calc(var(--size,36px)*.36);flex:none}

/* Sidebar */
.sidebar.app-side{background:#fff;border-right:1px solid rgba(60,60,67,.12);padding:20px 14px 16px;gap:14px;overflow-y:auto}
.app-side .brand{color:var(--ink);font-size:18px;padding:0 8px}
.app-side .brand small{color:var(--muted)}
.side-create{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--wine);color:#fff;padding:12px;font-size:15px;font-weight:700;box-shadow:0 3px 6px rgba(30,58,138,.18)}
.side-create:hover{background:#17306f}
.app-side .nav{display:grid;gap:2px}
.app-side .nav-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0;padding:14px 10px 6px}
.app-side .nav button{display:flex;align-items:center;gap:12px;border-radius:12px;padding:10px;font-size:15px;font-weight:500;color:var(--ink)}
.app-side .nav button .nav-icon{width:auto;font-size:19px;color:var(--wine);display:inline-flex}
.app-side .nav button:hover{background:var(--ios-bg);color:var(--ink)}
.app-side .nav button.active{background:var(--rose);color:var(--wine);font-weight:600}
.side-me{margin-top:auto;display:flex;align-items:center;gap:10px;border:0;background:var(--ios-bg);border-radius:14px;padding:10px;text-align:left;color:var(--ink);font:inherit}
.side-me span:last-child{display:grid;gap:2px;min-width:0}
.side-me strong{font-size:15px}
.side-me small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-create:focus-visible,.side-me:focus-visible,.app-side .nav button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
@media(min-width:851px){.topbar{display:none}.shell{grid-template-columns:264px minmax(0,1fr)}.content{padding-top:28px}}

/* Page structure: SectionHeading, Card, PrimaryButton, segmented pickers */
.page-head h1{font:700 21px/1.2 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;letter-spacing:0;color:var(--ink);margin:0 0 4px}
.page-head p,.section-head p,.row p,.metric label,.subtle,.count,.muted{color:var(--muted)}
.page-head p{font-size:15px}
.card{background:#fff;border:1px solid var(--hair);border-radius:18px;padding:16px;box-shadow:none}
.section-head h2,.card h2{font:700 17px/1.3 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink)}
.button{background:var(--wine);color:#fff;border-radius:12px;padding:11px 16px;font-size:15px;font-weight:700}
.button:hover{background:#17306f}
.button.secondary{background:var(--fill);color:var(--wine);border:0}
.button.ghost{background:none;color:var(--wine)}
.row{border-color:rgba(60,60,67,.12)}
.row strong{font-size:15px;font-weight:600;color:var(--ink)}
.row p{font-size:12px}
.badge{background:rgba(51,110,64,.1);color:var(--green);font-size:11px;font-weight:700;border-radius:20px}
.badge.draft{background:rgba(82,92,110,.1);color:var(--muted)}
.tabs{display:flex;flex-wrap:nowrap;gap:0;padding:2px;border-radius:9px;background:rgba(118,118,128,.12);overflow-x:auto;scrollbar-width:none}
.tabs button,.tabs button.active{flex:1 0 auto;border:0;border-radius:7px;padding:7px 12px;background:none;color:var(--ink);font-size:13px;font-weight:500;white-space:nowrap}
.tabs button.active{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)}
input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:10px;border:1px solid var(--hair);background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--wine);outline-offset:0}

/* Now (DashboardHomeView) */
.now-hero{background:linear-gradient(#fff 0,#fff 85%,var(--ios-bg) 100%);border-radius:0 0 20px 20px}
.now-welcome>span,.now-welcome>p{font-size:15px;color:var(--muted)}
.now-welcome h1{font-size:36px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.now-welcome button{color:var(--wine);font-size:15px;font-weight:600}
.now-welcome button span{color:var(--wine)}
.greeting-symbol.app-scene{background:none;width:104px;height:104px}
.greeting-symbol.app-scene svg{width:104px;height:104px}
.now-panel{border-radius:20px;padding:18px 22px 23px}
.now-panel-heading h2{font-size:20px;font-weight:700;color:var(--ink)}
.now-panel-heading button{color:var(--wine);font-size:15px;font-weight:600}
.now-row{border:1px solid var(--hair);border-radius:12px;background:#fff}
.now-icon{color:var(--wine)}
@media(min-width:851px){.now-hero-top .brand,.now-hero-actions{display:none}}

/* Create menu (QuickCreateMenu) */
.app-sheet-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}
.app-sheet-head h2{text-align:center;font-size:17px!important;font-weight:600}
.app-sheet-head span{width:64px}
.sheet-close{border:0;background:rgba(118,118,128,.12);border-radius:20px;padding:10px 16px;font-size:16px;color:var(--ink)}
dialog#modal{background:var(--ios-bg);border-radius:20px}
.create-intro{color:var(--muted);font-size:15px}
.create-list{display:grid;gap:9px}
.create-list button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#fff;border-radius:14px;padding:12px;text-align:left;color:var(--ink)}
.create-list button strong{display:block;font-size:15px;font-weight:700}
.create-list button small{display:block;font-size:12px;color:var(--muted)}
.create-list button>span:nth-child(2){flex:1}
.create-list button>.ui-icon{color:var(--muted);font-size:15px;stroke-width:2.6}
.create-action-icon{width:44px;height:44px;border-radius:12px;background:var(--fill);color:var(--wine);display:grid;place-items:center;font-size:20px;flex:none}

/* Phones: the app's Now · ＋ · Spaces bar */
@media(max-width:850px){
  .mobile-bottom{background:#fff;border-top:1px solid rgba(0,0,0,.06)}
  .mobile-bottom>button:not(.mobile-create){color:var(--muted);font-size:15px;font-weight:600;background:none}
  .mobile-bottom>button.active:not(.mobile-create){color:var(--wine)}
  .mobile-create{background:var(--wine)!important;color:#fff!important;border:4px solid #fff!important;box-shadow:0 3px 6px rgba(30,58,138,.18)}
}
.now-hero{border-radius:20px}
.now-layout .stay-grid>*,.now-layout [class*="connect"]{background:none}
.connect-grid button{background:none!important;border:0}
.connect-grid button>span:first-child{font-size:30px;color:var(--wine)}
.connect-grid button strong{font-size:15px;color:var(--ink)}
.connect-grid button small{font-size:12px;color:var(--muted)}

.join-code{background:#f3f7ef;border-radius:12px;padding:14px 16px;margin-bottom:14px}.join-code p{margin:0 0 10px;font-size:13px;line-height:1.5;color:#536858}.join-code strong{font-size:16px;letter-spacing:.08em;color:#1d4d31}
.button.ghost.danger-text{color:#a63b31}

/* Large-team scheduling */
.builder-page{max-width:1440px}
.people-week-scroll{overflow:auto;max-height:70vh;border:1px solid #dfe7e4;border-radius:12px}
.people-week{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}
.people-week th,.people-week td{padding:8px;border-right:1px solid #e8eeeb;border-bottom:1px solid #e8eeeb;text-align:left;vertical-align:top}
.people-week thead th{position:sticky;top:0;z-index:3;background:#f4f7f5;color:#586b62}
.people-week th:first-child{position:sticky;left:0;z-index:2;width:155px;background:#fff}
.people-week thead th:first-child{z-index:4;background:#f4f7f5}
.people-week tbody th small{display:block;color:#758478;font-weight:400;margin-top:5px}
.week-shift{display:block;width:100%;border:1px solid #a7cfbf;border-radius:7px;background:#e7f5ed;color:#234e46;text-align:left;padding:6px;margin-bottom:4px;font:inherit;cursor:pointer}
.week-shift.draft{border-color:#b5ccea;background:#edf4fd;color:#29496c}
.week-shift strong,.week-shift span{display:block;overflow-wrap:anywhere}.week-shift span{margin-top:3px;font-size:11px}.week-empty{color:#aab6af}
.builder-team-list{max-height:65vh}.builder-team-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid #e9eeeb}.builder-team-row label{display:flex;align-items:flex-start;gap:12px;flex:1;cursor:pointer}.builder-team-row label span{min-width:0}.builder-team-row small{display:block;margin-top:4px;color:#718077;line-height:1.4}.builder-team-row input{margin-top:3px}
.builder-zone-warning{border-left:3px solid #d6a24a;background:#fff8e9;color:#725723;padding:10px 12px;border-radius:4px;font-size:13px;line-height:1.45}
.builder-metrics{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.builder-metrics span{flex:1;min-width:120px;background:#f4f7f5;padding:10px;border-radius:9px;font-size:12px;color:#63736c}.builder-metrics strong{display:block;font-size:17px;color:#213f35}
.gap-item summary{cursor:pointer;line-height:1.5}.gap-item[open] .gap-candidates{margin-top:10px}
.schedule-view-controls{margin-bottom:12px}
@media(max-width:700px){.builder-page{max-width:100%}.people-week{min-width:0;display:block}.people-week thead{display:none}.people-week tbody,.people-week tr,.people-week th,.people-week td{display:block;width:100%!important}.people-week tr{border-bottom:1px solid #dfe7e4}.people-week th:first-child{position:static;background:#f4f7f5}.people-week td{display:flex;gap:8px;align-items:flex-start;border:0;padding:4px 10px}.people-week td:before{content:attr(data-day);min-width:34px;color:#758478;padding-top:6px}.people-week td:has(.week-empty){display:none}.people-week-scroll{max-height:none}.week-shift{max-width:100%}.builder-metrics span{min-width:40%}}

.week-shift.skipped{opacity:.6;text-decoration:line-through;background:#f1f1f1;border-color:#cdd3cf;color:#5d6862}

/* Schedule workspace */
.week-day-link,.week-add,.week-availability{border:0;background:transparent;color:#315f9c;font:inherit;text-align:left;cursor:pointer}
.week-day-link{font-weight:700;padding:2px}.week-add,.week-availability{display:block;padding:5px 2px;font-size:11px}.week-add:hover,.week-day-link:hover,.week-availability:hover{text-decoration:underline}
.week-availability{color:#397b63}.day-workspace{margin-top:20px}.day-workspace .section-head{align-items:end}.dayparts{margin:12px 0;flex-wrap:wrap}.coverage-strip{display:flex;overflow-x:auto;gap:1px;background:#e2e9e5;border:1px solid #dfe7e4;border-radius:10px}.coverage-strip>div{flex:1 0 100px;min-height:66px;background:#f7faf8;padding:9px;display:flex;flex-direction:column;gap:3px;font-size:12px}.coverage-strip span{color:#52665b}.coverage-short{color:#9d4d24;font-weight:700}.timeline-group{position:sticky;left:0;background:#edf3f0;padding:7px 12px;font-size:12px;font-weight:700;color:#405b4e}.copy-skipped{max-height:42vh;overflow:auto}.employee-name small{display:block;color:#758478;font-weight:400;margin-top:3px}.employee-shift button{font-weight:600}
@media(max-width:700px){.day-workspace .section-head{align-items:start}.coverage-strip>div{flex-basis:105px}.week-add{min-width:48px}.people-week td:before{min-width:88px}.schedule-view-controls,.board-actions{flex-wrap:wrap}}

/* ===== Now: one main column + one side column. Phones flatten them back to the app's order. ===== */
.now-main,.now-aside{display:contents}
.now-hero{order:0}.now-attention{order:1}.now-resources{order:2}.now-tasks{order:3}.now-connect{order:4}.now-updates{order:5}
.now-stats,.desk-crumbs,.jump-button{display:none}

/* ===== Jump to a page (⌘K / Ctrl+K) ===== */
dialog.jump-modal{max-width:min(560px,calc(100vw - 32px));margin-top:12vh;border-radius:14px;box-shadow:0 24px 70px rgba(17,24,39,.28),0 0 0 1px rgba(17,24,39,.06)}
dialog.jump-modal::backdrop{background:rgba(17,24,39,.32)}
.jump-modal #modal-content{padding:0}
.jump-input{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--hair);color:var(--muted)}
.jump-input .ui-icon{width:18px;height:18px}
.jump-input input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:16px;color:var(--ink)}
.jump-input input::-webkit-search-cancel-button{display:none}
.jump-input kbd,.jump-button kbd{font:600 11px/1 system-ui,-apple-system,sans-serif;padding:4px 6px;border:1px solid rgba(17,24,39,.12);border-bottom-width:2px;border-radius:5px;background:#f6f7f9;color:#6b7280;white-space:nowrap}
.jump-list{max-height:min(420px,60vh);overflow:auto;padding:6px}
.jump-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:10px 12px;border-radius:8px;text-align:left;color:var(--ink);font-size:14px;font-weight:500}
.jump-item .ui-icon{width:18px;height:18px;color:var(--muted)}
.jump-item.active{background:#e8eefb;color:var(--wine)}
.jump-item.active .ui-icon{color:var(--wine)}
.jump-item small{margin-left:auto;font-size:12px;color:var(--muted)}
.jump-empty{padding:22px;color:var(--muted);font-size:14px;text-align:center}

/* ===== Desktop & laptop layout (the phone layout below 851px is unchanged) ===== */
@media(min-width:851px){
 body{background:#f4f5f8}
 .shell{grid-template-columns:248px minmax(0,1fr)}

 /* Sidebar: compact, grouped navigation */
 .sidebar.app-side{background:#fbfbfd;border-right:1px solid rgba(17,24,39,.08);padding:16px 12px 14px;gap:8px;scrollbar-width:thin}
 .app-side .brand{padding:4px 8px 8px;font-size:17px}
 .app-side .brand-mark,.app-side .brand-mark img{width:32px;height:32px}
 .side-create{justify-content:flex-start;gap:10px;border-radius:10px;padding:9px 12px;font-size:14px;font-weight:600;box-shadow:0 1px 2px rgba(30,58,138,.25),inset 0 1px 0 rgba(255,255,255,.12)}
 .side-create .ui-icon{width:17px;height:17px}
 .app-side .nav{gap:1px}
 .app-side .nav-label{font-size:11px;font-weight:600;letter-spacing:.08em;padding:16px 10px 6px;color:#8a93a3}
 .app-side .nav button{width:100%;gap:10px;padding:7px 10px;border-radius:8px;font-size:14px;font-weight:500;color:#374151}
 .app-side .nav button .nav-icon{color:#7b8494}
 .app-side .nav button .ui-icon{width:18px;height:18px}
 .app-side .nav button:hover:not(.active){background:rgba(17,24,39,.05);color:var(--ink)}
 .app-side .nav button.active{background:#e8eefb;color:var(--wine);font-weight:600}
 .app-side .nav button.active .nav-icon{color:var(--wine)}
 .side-me{background:transparent;border:1px solid rgba(17,24,39,.08);border-radius:10px;padding:8px}
 .side-me:hover{background:#fff}
 .side-me strong{font-size:14px}

 /* Top bar: where you are, quick jump, today's date */
 .topbar,.home-shell .topbar{display:flex;position:sticky;top:0;z-index:3;height:60px;gap:16px;padding:0 32px;background:rgba(244,245,248,.85);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid rgba(17,24,39,.07)}
 .topbar .workspace-name{display:none}
 .desk-crumbs{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;color:var(--muted)}
 .desk-crumbs button{border:0;background:none;padding:4px 6px;border-radius:6px;color:var(--muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
 .desk-crumbs button:hover{background:rgba(17,24,39,.06);color:var(--ink)}
 .desk-crumbs span{color:#c0c5ce}
 .desk-crumbs strong{color:var(--ink);font-weight:600;white-space:nowrap}
 .jump-button{display:flex;align-items:center;gap:8px;margin-left:auto;width:min(300px,30vw);height:36px;padding:0 7px 0 11px;border:1px solid rgba(17,24,39,.1);border-radius:9px;background:#fff;color:#6b7280;font-size:13.5px;box-shadow:0 1px 2px rgba(17,24,39,.04)}
 .jump-button:hover{border-color:rgba(17,24,39,.2);color:var(--ink)}
 .jump-button .ui-icon{width:16px;height:16px}
 .jump-button kbd{margin-left:auto}
 .topbar-date{font-size:13px;color:var(--muted);white-space:nowrap}

 /* Page frame */
 .content,.home-shell .content{max-width:1320px;padding:28px 32px 56px}
 .page-head{align-items:flex-end;margin-bottom:22px}
 .page-head h1{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.02em;margin:0 0 4px}
 .page-head p{font-size:14px}
 .card{border:1px solid rgba(17,24,39,.08);border-radius:14px;padding:20px;box-shadow:0 1px 2px rgba(17,24,39,.04)}
 .button{border-radius:9px;padding:9px 14px;font-size:14px;font-weight:600}
 .button:not(.ghost):not(.secondary):not(.danger):hover{background:#17306f}
 .button.secondary:hover{background:rgba(30,58,138,.12)}
 .button:focus-visible,.tabs button:focus-visible,.now-stat:focus-visible,.now-row:focus-visible,.jump-button:focus-visible,.desk-crumbs button:focus-visible,.connect-grid button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
 .verify-banner{border-radius:10px;padding:8px 8px 8px 14px}
 .row{padding:12px 4px}

 /* Tabs: underlined like a desktop app rather than an iOS segmented control */
 .tabs{background:none;padding:0;border-radius:0;gap:2px;border-bottom:1px solid rgba(17,24,39,.1);margin-bottom:20px;overflow-x:auto}
 .tabs button,.tabs button.active{flex:0 0 auto;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 12px;background:none;box-shadow:none;color:var(--muted);font-size:14px;font-weight:500}
 .tabs button:hover{color:var(--ink)}
 .tabs button.active{color:var(--wine);border-bottom-color:var(--wine);font-weight:600}

 /* Now: dashboard */
 .now-layout{max-width:none;gap:20px}
 .now-hero{min-height:0;padding:26px 30px;border:1px solid rgba(17,24,39,.08);border-radius:16px;background:radial-gradient(120% 140% at 100% 0%,#e9effc 0%,rgba(233,239,252,0) 55%),#fff;box-shadow:0 1px 2px rgba(17,24,39,.04)}
 .now-welcome{margin-top:0}
 .now-welcome h1{font-size:34px;letter-spacing:-.02em}
 .now-welcome>span,.now-welcome>p{font-size:15px}
 .now-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;position:relative;z-index:1}
 .now-stat{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;border:1px solid rgba(17,24,39,.08);border-radius:12px;background:rgba(255,255,255,.85);text-align:left;color:var(--ink);transition:border-color .15s,box-shadow .15s}
 .now-stat:hover{border-color:rgba(30,58,138,.3);box-shadow:0 2px 8px rgba(30,58,138,.08)}
 .now-stat>span:last-child{min-width:0}
 .now-stat-icon{flex:none;width:36px;height:36px;border-radius:10px;background:#e8eefb;color:var(--wine);display:grid;place-items:center}
 .now-stat-icon .ui-icon{width:18px;height:18px}
 .now-stat small{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}
 .now-stat strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .now-panel{border:1px solid rgba(17,24,39,.08);border-radius:14px;padding:18px 20px 20px;box-shadow:0 1px 2px rgba(17,24,39,.04)}
 .now-panel-heading h2{font-size:17px;letter-spacing:-.01em}
 .now-panel-heading>button,.now-panel-heading .button.ghost{font-size:14px}
 .now-row{border-radius:10px;padding:10px 12px;transition:background .15s,border-color .15s}
 .now-row:hover{background:#f7f9fd;border-color:rgba(30,58,138,.22)}
 .now-icon .ui-icon{width:20px;height:20px}
 .now-row>b{font-size:20px}
 .connect-grid button{padding:12px;border-radius:10px}
 .connect-grid button:hover{background:#f7f9fd!important}
}

/* Wide screens: the Now dashboard splits into a main column and a side column */
@media(min-width:1100px){
 .now-layout{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start}
 .now-hero{grid-column:1/-1}
 .now-main,.now-aside{display:grid;gap:20px;align-content:start;min-width:0}
 .now-aside{position:sticky;top:80px}
}
@media(min-width:851px) and (max-width:1199px){.topbar-date{display:none}}

/* ======================================================================
   Bold theme (2026-11-20): navy sidebar, gradient Now header, colored
   stat tiles, and stronger cards, tabs, buttons and empty states.
   ====================================================================== */
:root{--b-bg:#f3f5fb;--b-ink:#0f172a;--b-muted:#5b6683;--b-line:rgba(15,23,42,.08);--b-accent:#3b5bfd;--b-accent-2:#7c4dff;--b-navy:#0b1530;--b-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.06);--b-shadow-lg:0 22px 50px rgba(11,21,48,.22)}
.tone-blue,.kpi-blue{--tone:#3b5bfd;--tone-bg:#e9eeff}.tone-violet,.kpi-violet{--tone:#7c4dff;--tone-bg:#f1ebff}.tone-teal,.kpi-teal{--tone:#0d9488;--tone-bg:#d9f5f0}.tone-amber,.kpi-amber{--tone:#d97706;--tone-bg:#fff1d6}.tone-rose{--tone:#e11d48;--tone-bg:#ffe4ea}.tone-green,.kpi-green{--tone:#16a34a;--tone-bg:#dcfce7}.tone-slate{--tone:#475569;--tone-bg:#eceff5}
body{background:var(--b-bg)}

/* ---- Now dashboard ---- */
.dash{display:grid;gap:22px}
.dash-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:24px;padding:30px 34px 32px;color:#fff;background:radial-gradient(55% 120% at 100% 0%,rgba(124,77,255,.6),transparent 62%),radial-gradient(45% 90% at 0% 100%,rgba(20,184,166,.38),transparent 62%),linear-gradient(135deg,#0b1530 0%,#1a2f7a 55%,#3b5bfd 100%);box-shadow:var(--b-shadow-lg)}
.dash-hero:before,.dash-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.dash-hero:before{right:-70px;bottom:-110px;width:320px;height:320px;border:46px solid rgba(255,255,255,.06)}
.dash-hero:after{right:240px;top:-90px;width:180px;height:180px;background:rgba(255,255,255,.05)}
.dash-hero-top{display:none}
.dash-hero-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:center}
.dash-date{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.dash-date .greeting-symbol,.dash-date .app-scene{display:inline-flex;width:30px;height:30px;margin:0;flex:none}
.dash-date svg{width:30px;height:30px}
.dash-hello h1{margin:10px 0 8px;font-size:46px;line-height:1.04;font-weight:800;letter-spacing:-.035em;color:#fff}
.dash-summary{margin:0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.82)}
.dash-summary b{color:#fff}
.dash-quick{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.dash-quick button{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:9px 15px;background:rgba(255,255,255,.1);color:#fff;font-size:14px;font-weight:650;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s,transform .15s}
.dash-quick button:first-child{background:#fff;border-color:#fff;color:#13235a}
.dash-quick button:hover{background:rgba(255,255,255,.2);transform:translateY(-1px)}
.dash-quick button:first-child:hover{background:#eef2ff}
.dash-quick .ui-icon{width:17px;height:17px}
.dash-shift{display:grid;gap:6px;text-align:left;border:1px solid rgba(255,255,255,.24);border-radius:20px;padding:22px;background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;transition:background .15s}
.dash-shift:hover{background:rgba(255,255,255,.18)}
.dash-shift small{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.dash-shift strong{font-size:22px;line-height:1.2;letter-spacing:-.01em}
.dash-shift span{font-size:14px;color:rgba(255,255,255,.82)}
.dash-shift em{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-style:normal;font-size:14px;font-weight:700}
.dash-shift em .ui-icon{width:16px;height:16px}

.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kpi{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:12px;align-items:center;text-align:left;border:1px solid var(--b-line);border-radius:18px;padding:18px;background:#fff;box-shadow:var(--b-shadow);color:var(--b-ink);font:inherit}
button.kpi{cursor:pointer;transition:transform .15s,box-shadow .15s}
button.kpi:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.1)}
.kpi-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--tone-bg);color:var(--tone)}
.kpi-icon .ui-icon{width:23px;height:23px}
.kpi-body strong{display:block;font-size:32px;line-height:1;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.kpi-body span{display:block;margin-top:5px;font-size:13px;font-weight:650;color:var(--b-muted)}
.kpi small{grid-column:1/-1;padding-top:11px;border-top:1px dashed var(--b-line);font-size:12px;font-weight:650;color:var(--tone)}

.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:22px;align-items:start}
.dash-col{display:grid;gap:22px;min-width:0;align-content:start}
.dash-card{background:#fff;border:1px solid var(--b-line);border-radius:20px;padding:22px;box-shadow:var(--b-shadow)}
.dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.dash-card-head h2{margin:0;font-size:18px;font-weight:750;letter-spacing:-.01em;color:var(--b-ink)}
.dash-card-head p{margin:3px 0 0;font-size:13px;color:var(--b-muted)}
.dash-card-head>button:not(.button){display:inline-flex;align-items:center;gap:5px;flex:none;border:0;border-radius:999px;padding:7px 12px;background:#eef1ff;color:#2f4bd8;font-size:13px;font-weight:700;white-space:nowrap}
.dash-card-head>button:not(.button):hover{background:#e0e6ff}
.dash-card-head>button .ui-icon{width:15px;height:15px}

.agenda{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.agenda-item{width:100%;display:grid;grid-template-columns:78px 12px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--b-line);border-radius:14px;padding:13px 14px;background:#fbfcff;text-align:left;color:var(--b-ink);transition:border-color .15s,background .15s}
.agenda-item:hover{border-color:rgba(59,91,253,.35);background:#f5f7ff}
.agenda-item time{font-size:13px;font-weight:750;color:var(--b-accent);font-variant-numeric:tabular-nums}
.agenda-dot{width:12px;height:12px;border-radius:50%;border:3px solid var(--b-accent);background:#fff}
.agenda-text{min-width:0}
.agenda-text strong{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agenda-text small{display:block;margin-top:2px;font-size:12px;color:var(--b-muted)}
.agenda-item>.ui-icon{width:18px;height:18px;color:#94a0b8}
.agenda-item.late time,.agenda-item.late small{color:#e11d48}
.agenda-item.late .agenda-dot{border-color:#e11d48}
.dash-more{display:inline-flex;align-items:center;gap:6px;margin-top:12px;border:0;background:none;color:#2f4bd8;font-weight:700;font-size:13px}
.dash-more .ui-icon{width:15px;height:15px}

.feed{list-style:none;margin:0;padding:0;display:grid}
.feed li+li{border-top:1px solid var(--b-line)}
.feed button{width:100%;display:flex;align-items:flex-start;gap:14px;border:0;border-radius:12px;padding:14px 6px;background:none;text-align:left;color:var(--b-ink)}
.feed button:hover{background:#f7f8fc}
.feed-text{min-width:0;display:grid;gap:3px}
.feed-text strong{font-size:15px}
.feed-text small{font-size:13px;line-height:1.45;color:#46516b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feed-text em{font-style:normal;font-size:12px;color:var(--b-muted)}

.attn-list{display:grid;gap:8px}
.attn-item{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #fde3b0;border-radius:14px;padding:12px;background:#fffaf0;text-align:left;color:var(--b-ink)}
.attn-item:hover{border-color:#f5c56a}
.attn-icon{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#fff1d6;color:#d97706}
.attn-icon .ui-icon{width:19px;height:19px}
.attn-text{flex:1;min-width:0}
.attn-text strong{display:block;font-size:14px}
.attn-text small{display:block;margin-top:2px;font-size:12px;line-height:1.4;color:#7a6a4b}
.attn-item>.ui-icon{width:18px;height:18px;color:#c9a865}

.res-list{display:grid;gap:8px}
.res-item{display:flex;align-items:center;gap:12px;border:1px solid var(--b-line);border-radius:14px;padding:12px;text-decoration:none;color:var(--b-ink)}
.res-item:hover{border-color:rgba(13,148,136,.4);background:#f4fbfa}
.res-icon{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#d9f5f0;color:#0d9488}
.res-icon .ui-icon{width:19px;height:19px}
.res-item>span:nth-child(2){flex:1;min-width:0}
.res-item strong{display:block;font-size:14px}
.res-item small{display:block;font-size:12px;color:var(--b-muted)}
.res-item>.ui-icon{width:16px;height:16px;color:#94a0b8}

.connect-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.connect-tiles button{display:grid;justify-items:start;gap:3px;border:0;border-radius:16px;padding:16px;background:linear-gradient(135deg,#3b5bfd,#7c4dff);text-align:left;color:#fff;transition:transform .15s,filter .15s}
.connect-tiles button:nth-child(2){background:linear-gradient(135deg,#0d9488,#2bc4ad)}
.connect-tiles button:hover{transform:translateY(-2px);filter:brightness(1.06)}
.connect-tiles span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;margin-bottom:10px;background:rgba(255,255,255,.18)}
.connect-tiles strong{font-size:15px}
.connect-tiles small{font-size:12px;color:rgba(255,255,255,.82)}

.dash-empty{display:grid;justify-items:center;gap:6px;padding:28px 16px;border:1.5px dashed #d8deeb;border-radius:16px;text-align:center;color:var(--b-muted);font-size:13px}
.dash-empty>.ui-icon{width:26px;height:26px;padding:10px;box-sizing:content-box;border-radius:14px;background:#e9eeff;color:var(--b-accent)}
.dash-empty strong{font-size:15px;color:var(--b-ink)}
.dash-empty.compact{grid-auto-flow:column;justify-content:start;align-items:center;padding:14px;gap:12px;text-align:left}
.dash-empty.compact>.ui-icon{width:18px;height:18px;padding:8px}

@media(max-width:1240px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.dash-grid{grid-template-columns:minmax(0,1fr)}.dash-hero-body{grid-template-columns:minmax(0,1fr)}.dash-shift{max-width:420px}}
@media(max-width:850px){
 .home-shell .content{padding:12px 12px calc(110px + env(safe-area-inset-bottom,0px))}
 .dash{gap:14px}
 .dash-hero{border-radius:22px;padding:16px 18px 20px}
 .dash-hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
 .dash-hero-top .brand,.dash-hero-top .brand small{color:#fff}
 .dash-hero .hero-avatar{background:rgba(255,255,255,.2)}
 .dash-hello h1{font-size:32px}
 .dash-summary{font-size:15px}
 .dash-quick{flex-wrap:nowrap;overflow-x:auto;margin:18px -18px 0 0;padding-right:18px;scrollbar-width:none}
 .dash-quick::-webkit-scrollbar{display:none}
 .dash-quick button{flex:none}
 .dash-shift{padding:16px}
 .dash-kpis{gap:10px}
 .kpi{padding:14px 14px 12px 16px;border-radius:16px;column-gap:10px}
 .kpi-icon{width:38px;height:38px;border-radius:12px}
 .kpi-body strong{font-size:24px}
 .dash-grid,.dash-col{display:contents}
 .dash-attention{order:2}.dash-agenda{order:3}.dash-feed{order:4}.dash-resources{order:5}.dash-connect{order:6}
 .dash-card{padding:18px;border-radius:18px}
 .agenda-item{grid-template-columns:62px 12px minmax(0,1fr) auto;gap:10px;padding:12px}
}
@media(max-width:360px){.dash-kpis{grid-template-columns:minmax(0,1fr)}}

/* ---- Navigation: deep navy sidebar ---- */
@media(min-width:851px){
 .sidebar.app-side{background:linear-gradient(180deg,#0b1530 0%,#12215a 100%);border-right:0;color:#fff;scrollbar-color:rgba(255,255,255,.2) transparent}
 .app-side .brand,.app-side .brand small{color:#fff}
 .app-side .brand small{opacity:.7}
 .side-create{background:linear-gradient(135deg,#3b5bfd,#7c4dff);box-shadow:0 10px 22px rgba(59,91,253,.38)}
 .side-create:hover{background:linear-gradient(135deg,#3b5bfd,#7c4dff);filter:brightness(1.1)}
 .app-side .nav-label{color:rgba(255,255,255,.42)}
 .app-side .nav button{color:rgba(255,255,255,.78)}
 .app-side .nav button .nav-icon{color:rgba(255,255,255,.5)}
 .app-side .nav button:hover:not(.active){background:rgba(255,255,255,.07);color:#fff}
 .app-side .nav button.active{background:rgba(255,255,255,.12);color:#fff;box-shadow:none}
 .app-side .nav button.active .nav-icon{color:#9db0ff}
 .side-me{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff}
 .side-me small{color:rgba(255,255,255,.6)}
 .side-me:hover{background:rgba(255,255,255,.1)}
 .side-create:focus-visible,.side-me:focus-visible,.app-side .nav button:focus-visible{outline-color:#9db0ff}
 .topbar,.home-shell .topbar{background:rgba(243,245,251,.85)}
 .content,.home-shell .content{max-width:1360px}
}

/* ---- Page headers with a colored icon ---- */
.page-head-main{display:flex;align-items:center;gap:16px;min-width:0}
.page-icon{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--tone),color-mix(in srgb,var(--tone) 55%,#7c4dff));box-shadow:0 10px 22px color-mix(in srgb,var(--tone) 30%,transparent)}
.page-icon .ui-icon{width:26px;height:26px;color:#fff}
@media(min-width:851px){.page-head h1{font-size:28px;font-weight:800;letter-spacing:-.025em;color:var(--b-ink)}.page-head{margin-bottom:24px}}
@media(max-width:850px){.page-icon{width:42px;height:42px;border-radius:13px}.page-icon .ui-icon{width:21px;height:21px}.page-head-main{gap:12px}}

/* ---- Cards, rows, empty states ---- */
.card{border:1px solid var(--b-line);border-radius:20px;box-shadow:var(--b-shadow)}
.section-head h2,.card h2{font-weight:750;letter-spacing:-.01em}
.row{border-top-color:var(--b-line)}
.card.list .row{border-radius:12px;padding-left:10px;padding-right:10px;transition:background .15s}
.card.list .row:hover{background:#f7f9ff}
.empty{display:grid;justify-items:center;gap:12px;padding:44px 16px;color:var(--b-muted);font-size:14px;text-align:center}
.empty:before{content:"";width:58px;height:58px;border-radius:18px;background:#e9eeff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bfd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center/26px no-repeat}
.verify-banner{background:#fff8e6;border-color:#f6dc9c}

/* ---- Buttons and form fields ---- */
.button{background:linear-gradient(135deg,#2741c9,#3b5bfd);box-shadow:0 4px 12px rgba(59,91,253,.24);transition:filter .15s,box-shadow .15s}
.button:not(.ghost):not(.secondary):not(.danger):hover{background:linear-gradient(135deg,#2741c9,#3b5bfd);filter:brightness(1.08);box-shadow:0 6px 16px rgba(59,91,253,.32)}
.button.secondary{background:#eef1ff;color:#2741c9;box-shadow:none}
.button.secondary:hover{background:#e2e7ff}
.button.ghost{background:transparent;box-shadow:none;color:#2f4bd8}
.button.danger{background:#ffe4ea;color:#be123c;box-shadow:none}
.field input,.field select,.field textarea{border:1px solid #d9deea;border-radius:11px;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--b-accent);box-shadow:0 0 0 4px rgba(59,91,253,.15)}
dialog{border-radius:22px}

/* ---- Tabs: pill switcher ---- */
@media(min-width:851px){
 .tabs{width:fit-content;max-width:100%;gap:4px;padding:5px;border:1px solid var(--b-line);border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}
 .tabs button,.tabs button.active{margin:0;border:0;border-radius:10px;padding:8px 15px}
 .tabs button:hover:not(.active){background:#f1f4fb;color:var(--b-ink)}
 .tabs button.active{background:linear-gradient(135deg,#1a2f7a,#3b5bfd);color:#fff;box-shadow:0 4px 12px rgba(59,91,253,.3)}
}

/* ---- Stat tiles (Reports) and banners (Recognition) ---- */
.grid>.card.metric{position:relative;overflow:hidden;min-height:0;padding:20px 20px 18px}
.grid>.card.metric strong{font-size:32px;font-weight:800;letter-spacing:-.03em;color:var(--b-ink);font-variant-numeric:tabular-nums}
.grid>.card.metric label{display:block;margin-top:6px;font-size:13px;font-weight:600}
.hero{position:relative;overflow:hidden;background:radial-gradient(55% 120% at 100% 0%,rgba(124,77,255,.55),transparent 62%),linear-gradient(135deg,#0b1530,#1a2f7a 60%,#3b5bfd);color:#fff;border-radius:22px;box-shadow:var(--b-shadow-lg)}
.hero h2{color:#fff;font-size:30px;font-weight:800}
.hero p,.hero .eyebrow{color:rgba(255,255,255,.78)}

/* ---- Page-specific layouts ---- */
.page-shifts .content>.stack>.card:first-child .actions{align-items:flex-end}
.page-shifts .content>.stack>.card:first-child .field{min-width:180px}
@media(min-width:1100px){
 .page-settings .content>.stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .page-settings .content>.stack>.card:first-child{grid-column:1/-1}
}
.agenda-item time{white-space:nowrap}
@media(max-width:850px){.agenda-item{grid-template-columns:66px 10px minmax(0,1fr) auto}.agenda-item time{font-size:12px}}
/* No colored edge stripes anywhere: boxes use a full, even border instead. */
.builder-zone-warning{border:1px solid #f1d9a8;border-radius:12px}
.timeline-gap,.legend.gap{border-left:0}
.timeline-gap{box-shadow:inset 0 0 0 1px rgba(214,80,80,.35)}

/* ======================================================================
   Icons stand on their own: no background chips behind any icon.
   ====================================================================== */
.metric .icon,.space-icon,.builder-hero-icon,.create-action-icon,.now-stat-icon,.kpi-icon,.attn-icon,.res-icon,.connect-tiles span,.page-icon,.action-icon,.now-icon,.dash-empty>.ui-icon{background:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.page-icon{width:auto;height:auto;color:var(--tone)}
.page-icon .ui-icon{width:32px;height:32px;color:var(--tone)}
.kpi-icon,.attn-icon,.res-icon,.now-stat-icon,.create-action-icon,.space-icon{width:auto;height:auto}
.kpi-icon .ui-icon{width:28px;height:28px}
.attn-icon .ui-icon,.res-icon .ui-icon{width:22px;height:22px}
.connect-tiles span{width:auto;height:auto;margin-bottom:8px}
.connect-tiles span .ui-icon{width:28px;height:28px}
.builder-hero-icon{transform:none}
.dash-empty>.ui-icon{width:32px;height:32px;color:var(--b-accent)}
.empty:before{width:40px;height:40px;border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bfd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center/36px no-repeat}
@media(max-width:850px){.page-icon .ui-icon{width:26px;height:26px}}
