: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}

/* ==========================================================================
   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)}
