@font-face{font-family:Sora;src:url('/fonts/Sora-Variable.woff2') format('woff2');font-style:normal;font-weight:100 800;font-display:swap}
:root{color-scheme:light;--wc-bg:#F8F6F0;--wc-cream:#F8F6F0;--wc-surface:#fff;--wc-ink:#153451;--wc-muted:#526977;--wc-primary:#087C83;--wc-secondary:#24B9B4;--wc-border:#DBE6EB;--wc-radius-card:22px;--wc-font-family:Sora,ui-sans-serif,system-ui,sans-serif}
*{box-sizing:border-box}html,body,button,input,select,textarea{font-family:var(--wc-font-family)}body{margin:0;background:var(--wc-bg);color:var(--wc-ink);line-height:1.65;font-size:15px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4.5vw,62px);line-height:1.17;letter-spacing:-.045em;margin-bottom:24px}h2{font-size:23px;line-height:1.35;letter-spacing:-.025em;margin-bottom:12px}h3{font-size:17px}p{color:var(--wc-muted)}a{color:var(--wc-primary);text-underline-offset:4px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;border-radius:14px;padding:12px 22px;font-size:14px;font-weight:600;border:1px solid transparent;text-decoration:none;cursor:pointer;transition:transform .12s,background .12s,box-shadow .12s}button:hover,.button:hover{transform:translateY(-1px)}button:active,.button:active{transform:translateY(3px)}button:disabled{opacity:.65;cursor:wait;transform:none;box-shadow:none}.primary{background:var(--wc-primary);color:#fff;border:1px solid #06646E;box-shadow:inset 0 2px 0 #FFFFFF35,0 4px 0 #064C5B,0 7px 12px #15345110}.primary:hover{background:#08727B;box-shadow:inset 0 2px 0 #FFFFFF35,0 5px 0 #064C5B,0 8px 15px #15345115}.subtle{background:white;border-color:#C2D3DC;color:var(--wc-ink);box-shadow:inset 0 2px 0 white,0 3px 0 #C6D6DE}.full{width:100%;margin-top:24px}.brand{display:block;width:210px;height:40px;object-fit:contain;object-position:left center}.public-header{max-width:1280px;margin:auto;padding:22px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.public-header nav{display:flex;align-items:center;gap:30px}.public-header nav>a:first-child{font-weight:600;text-decoration:none;color:var(--wc-ink)}.landing{max-width:1280px;margin:auto;padding:0 40px}.hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:50px;min-height:560px;padding:50px 0 70px}.hero h1>span{color:var(--wc-primary)}.eyebrow,.step-label{font-size:11px;font-weight:700;letter-spacing:.12em;color:#526977;display:block;margin-bottom:20px}.lead{font-size:18px;max-width:510px;margin-bottom:30px;line-height:1.8}.quiet{font-size:12px;margin:18px 0 0}.card{background:white;border:1px solid var(--wc-border);border-radius:22px;padding:30px;box-shadow:0 10px 32px #15345108}.intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:50px}.intro-grid h2{font-size:18px;margin-top:22px}.intro-grid p{margin-bottom:0;font-size:14px}.tile{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;font-size:13px;font-weight:700;flex-shrink:0}.aqua{background:#E8F5F2}.blue{background:#EAF2F9}.mint{background:#E9F6F2}.public-footer{text-align:center;color:var(--wc-muted);font-size:12px;padding:30px;border-top:1px solid var(--wc-border)}.canopy-scene{height:390px;position:relative;background:#EAF3F5;border-radius:44% 44% 32% 32%;isolation:isolate}.canopy-house{position:absolute;left:26%;top:40%;width:47%;height:43%;border-radius:15px;background:#fffdf6;box-shadow:12px 15px 0 #C7DDE4;transform:rotate(-4deg)}.canopy-roof{position:absolute;left:23%;top:21%;width:52%;height:45%;border-radius:28px;background:#2788B0;transform:rotate(42deg) skew(-8deg,-8deg);z-index:-1}.window{position:absolute;left:18%;top:24%;height:45px;width:45px;border:7px solid #C6DFE6;background:#B9E6EA;border-radius:12px}.door{position:absolute;right:14%;bottom:0;width:50px;height:83px;border-radius:30px 30px 0 0;background:#53C8B2}.scene-ground{position:absolute;left:10%;right:8%;bottom:9%;height:18px;background:#CEDFE5;border-radius:50%;z-index:-2}.scene-label{position:absolute;left:20%;top:3%;background:#fff;padding:10px 18px;border-radius:12px;transform:rotate(-7deg);font-size:12px;box-shadow:0 7px 0 #DAE8ED}.little-card{position:absolute;right:-3%;bottom:9%;transform:rotate(6deg);background:#fff;border:1px solid var(--wc-border);border-radius:17px;padding:16px 22px;font-size:13px;box-shadow:0 10px 20px #15345112}.check{display:inline-block;background:#C7EDE1;border-radius:50%;width:25px;height:25px;text-align:center;margin-right:8px}.plant{position:absolute;left:9%;bottom:12%;height:105px;width:50px}.plant span{display:block;width:40px;height:42px;background:#316D8B;border-radius:5px 5px 14px 14px;position:absolute;bottom:0}.plant i,.plant b{position:absolute;width:28px;height:65px;border-radius:100% 0 100% 0;background:#35afa1;bottom:36px;left:18px;transform:rotate(18deg)}.plant b{left:-3px;transform:scaleX(-1) rotate(25deg);height:45px}
.auth-layout{max-width:1100px;margin:30px auto 70px;padding:0 30px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.auth-story h1{font-size:45px}.auth-story p{max-width:360px}.auth-card{padding:38px}.auth-card h2{font-size:28px}.auth-card .step-label{margin-bottom:10px}label{display:block;font-weight:600;font-size:13px;margin:18px 0 7px}input,select,textarea{width:100%;border:1px solid #C5D6DE;border-radius:12px;background:#fff;color:var(--wc-ink);padding:12px 14px;font-size:14px;min-height:46px}small{display:block;color:var(--wc-muted);font-size:11px;margin-top:7px}.notice{padding:16px 20px;border-radius:14px;font-size:13px;margin:18px 0;border:1px solid transparent}.error{background:#fff0ef;border-color:#f0c6c3;color:#913332}.success{background:#e8f7ee;border-color:#b6dfc7;color:#22633e}.info{background:#EEF6F8;border-color:#CEDFE7;color:#365C72}.validation-errors{padding-left:20px;color:#a02e3c;font-size:13px}.invalid{border-color:#c04455}.story-illustration{height:230px;position:relative;margin-top:30px}.workspace{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;background:white;border-right:1px solid var(--wc-border);padding:26px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand{margin-bottom:35px}.sidebar .eyebrow{padding-left:15px;font-size:10px}.sidebar nav a{display:flex;gap:15px;padding:14px;border-radius:13px;text-decoration:none;font-size:13px;font-weight:600}.sidebar nav .selected{background:#EAF2F9}.sidebar-note{margin-top:auto;padding:25px 15px 5px}.sidebar-note p{font-size:12px}.workspace-body{flex:1;min-width:0}.workspace-top{position:sticky;top:0;z-index:20;min-height:80px;border-bottom:1px solid var(--wc-border);display:flex;justify-content:space-between;align-items:center;padding:18px 40px;background:#fff;font-size:12px;color:var(--wc-muted)}.dashboard{padding:40px;max-width:1320px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center}.page-heading h1{font-size:34px;margin-bottom:10px}.page-heading .eyebrow{font-size:10px;margin-bottom:12px}.company-banner{display:flex;align-items:center;justify-content:space-between;margin:24px 0;background:#fff}.company-banner p{margin-bottom:0;font-size:13px}.company-banner .step-label{margin-bottom:10px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.stat{box-shadow:none}.stat>span{font-size:12px;font-weight:600}.stat strong{display:block;font-size:36px;font-weight:600;margin-top:6px}.stat small{margin-top:0}.setup-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.setup-grid h2{font-size:21px}.setup-grid p{font-size:13px}.empty{text-align:center;padding:30px 15px;border:1px dashed var(--wc-border);border-radius:16px;margin:20px 0}.empty p{margin-bottom:0}.empty-icon{font-size:42px;color:#248995;display:block;margin-bottom:10px}.inline-form{display:flex;gap:10px}.inline-form input{min-width:0}.inline-form button{white-space:nowrap}.badge{display:inline-block;border-radius:30px;background:#EDF3F6;padding:5px 10px;font-size:10px;color:#4A6475}.branch-list{list-style:none;margin:20px 0;padding:0;max-height:350px;overflow:auto}.branch-list li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--wc-border);font-size:13px}.branch-list .badge{margin-left:auto}.next-card{background:#F7FAFA}.skeleton{min-height:200px;color:var(--wc-muted)}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}:focus-visible{outline:3px solid #087C83;outline-offset:4px}#blazor-error-ui{display:none;background:#fff0ec;padding:16px;position:fixed;bottom:0;width:100%;z-index:100}
@media(min-width:1500px){.hero{min-height:650px}}@media(max-width:1000px){.hero{gap:30px}.canopy-scene{height:330px}.sidebar{width:210px}.dashboard{padding:25px}.setup-grid{grid-template-columns:1fr}.auth-layout{gap:35px}.auth-story h1{font-size:37px}.public-header{padding:20px 30px}}@media(max-width:700px){.public-header{padding:12px 20px}.brand{width:160px;height:34px}.public-header nav{gap:14px}.public-header .button{font-size:12px;padding:10px 13px}.landing{padding:0 24px}.hero{grid-template-columns:1fr;padding:35px 0;gap:40px}.hero h1{font-size:44px}.hero .lead{font-size:16px}.canopy-scene{height:310px;max-width:400px;width:90%;margin:0 auto 20px}.intro-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr;padding:0 20px;margin-top:20px;gap:25px}.auth-story h1{font-size:32px}.auth-story .story-illustration,.auth-story .quiet{display:none}.auth-card{padding:25px}.sidebar{width:100%;height:auto;position:static;padding:10px 20px;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid var(--wc-border)}.sidebar .brand{margin:0}.sidebar .eyebrow,.sidebar-note{display:none}.sidebar nav a{font-size:11px;padding:10px}.workspace{display:block}.workspace-top{padding:12px 22px;min-height:65px}.dashboard{padding:24px 18px;padding-bottom:max(30px,env(safe-area-inset-bottom))}.page-heading h1{font-size:28px}.stats-grid{gap:12px}.stat{padding:20px}.company-banner{padding:22px}.card{border-radius:18px}.setup-grid>.card{padding:24px}.inline-form{flex-direction:column}.page-heading .eyebrow{font-size:9px}.notice{padding:14px}.public-footer{padding:25px}}@media(max-width:400px){.public-header nav>a:first-child{display:none}.public-header .brand{width:145px}.hero h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* WorkCanopy brand depth: dimensional controls and original low-poly artwork. */
.primary:active,.primary:hover:active{box-shadow:inset 0 1px 0 #FFFFFF25,0 1px 0 #064C5B}
.subtle:active{box-shadow:0 1px 0 #C6D6DE}
button:disabled:hover{box-shadow:none;transform:none}
.poly-icon{display:inline-block;width:40px;height:40px;flex-shrink:0;vertical-align:middle;overflow:visible}
.feature-icon{width:68px;height:68px;filter:drop-shadow(0 6px 5px #1534510A)}
.menu-icon{width:32px;height:32px}
.sidebar nav a{align-items:center;gap:10px;min-height:54px;border:1px solid transparent}
.sidebar nav .selected{background:#E7F4F2;color:#153451;border-color:#B6D9D5;box-shadow:inset 0 2px 0 #FFFFFFD9,0 3px 0 #B5D3D0}
.sidebar nav a:active{transform:translateY(2px);box-shadow:0 1px 0 #B5D3D0}
.hero-building{position:absolute;width:72%;height:82%;left:16%;top:11%;filter:drop-shadow(8px 14px 8px #15345112)}
.canopy-scene{background:#ECF4F6;border:1px solid #DDEBEF;border-radius:32px}
.scene-label{color:#275571;box-shadow:0 4px 0 #D2E2E9;border:1px solid #DCE8ED}
.little-card{border-radius:13px;box-shadow:0 4px 0 #D2E2E9}
.check{color:#145F54}
.plant{left:4%;bottom:8%;transform:scale(.85)}
.folder-illustration{width:220px;height:220px;filter:drop-shadow(6px 12px 6px #1534510A);margin-left:20px}
.folder-illustration.small{width:135px;height:135px;margin:0 0 20px;display:block}

.empty-icon{width:72px;height:72px;margin:0 auto 14px;display:block}
.branch-icon{width:38px;height:38px}


.intro-grid .card{border-color:#DFE8ED}
:focus-visible{outline-color:#177CA3}
@media(max-width:700px){.menu-icon{width:27px;height:27px}.sidebar nav a{min-height:48px;gap:8px}.hero-building{width:75%;left:13%}.canopy-scene{border-radius:24px}.feature-icon{width:60px;height:60px}}
.office-scene{height:420px;background:#ECF3F5;border-color:#DDE8EC;overflow:hidden;display:flex;align-items:center;justify-content:center}
.office-illustration{display:block;width:100%;height:100%;object-fit:contain;padding:10px 8px;filter:drop-shadow(0 15px 12px #1534510A)}
@media(max-width:1000px){.office-scene{height:360px}}
@media(max-width:700px){.office-scene{height:330px;width:100%;max-width:440px}.office-illustration{padding:6px}}
/* Dashboard item icons use the same decorative low-poly family as navigation. */
.company-identity{display:flex;align-items:center;gap:20px;min-width:0}
.company-identity>div{min-width:0;overflow-wrap:anywhere}
.dashboard-icon-surface{display:flex;align-items:center;justify-content:center;width:76px;height:76px;flex-shrink:0;border:1px solid #D5E8E8;border-radius:18px;background:#EFF7F6;box-shadow:inset 0 1px 0 white}
.company-icon{width:56px;height:56px}
.stat-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px}
.stat-heading>span{font-size:12px;font-weight:600}
.stat-icon{width:52px;height:52px;filter:drop-shadow(0 4px 3px #15345109)}
.section-icon-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.section-icon-heading .step-label{margin:0}
.section-icon{width:34px;height:34px}
@media(max-width:700px){.company-identity{gap:14px}.dashboard-icon-surface{width:56px;height:56px;border-radius:14px}.company-icon{width:42px;height:42px}.stat-heading{gap:8px;align-items:flex-start}.stat-icon{width:40px;height:40px}.stat-heading>span{font-size:11px}.section-icon-heading{gap:8px}.section-icon-heading .step-label{font-size:10px}}
/* Borderless office with floating, clearly planned integration badges. */
.office-visual{margin:0;min-width:0}
.office-scene{height:450px;border:0;border-radius:0;background:transparent;overflow:visible;isolation:isolate}
.office-illustration{width:84%;height:84%;padding:0;pointer-events:none}
.integration-badge{position:absolute;width:88px;min-height:82px;padding:12px 6px 9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px solid #E2E9E7;border-radius:18px;background:#FFFFFFF5;box-shadow:0 10px 24px #1534510C,0 3px 0 #DFE7E5;animation:integration-float 7s ease-in-out infinite;pointer-events:none}
.integration-badge svg{width:32px;height:32px;display:block}
.integration-badge span{font-size:8px;font-weight:600;line-height:1.3;color:#3D5969;text-align:center;white-space:nowrap}
.orbit-microsoft{left:5%;top:5%;animation-delay:-1s}
.orbit-telegram{right:5%;top:3%;animation-delay:-3s}
.orbit-google{left:0;top:43%;animation-delay:-5s}
.orbit-paystack{right:0;top:42%;animation-delay:-2s}
.orbit-livekit{left:19%;bottom:0;animation-delay:-4s}
.orbit-ollama{right:17%;bottom:0;animation-delay:-6s}
.integration-caption{text-align:center;margin-top:22px;color:var(--wc-muted);font-size:10px;letter-spacing:.03em}
@keyframes integration-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@media(max-width:1000px){.office-scene{height:400px}.integration-badge{width:76px;min-height:76px}.integration-badge span{font-size:7px}.orbit-microsoft{left:1%}.orbit-telegram{right:1%}}
@media(max-width:700px){.office-scene{width:100%;height:380px;max-width:440px;margin:0 auto}.integration-badge{width:74px;min-height:73px;padding:10px 4px 8px;border-radius:15px}.integration-badge svg{width:29px;height:29px}.orbit-microsoft{left:3%;top:3%}.orbit-telegram{right:3%;top:1%}.orbit-livekit{left:15%}.orbit-ollama{right:14%}.integration-caption{margin:20px 0 8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.integration-badge{animation:none;transform:none}}
.integration-badge span{white-space:normal;max-width:100%;line-height:1.35}
.orbit-livekit,.orbit-ollama{width:108px;min-height:84px}
.orbit-google{left:auto;right:0;top:43%}
.orbit-livekit{left:4%;bottom:17%}
.orbit-ollama{right:18%;bottom:0}
@media(max-width:1000px){.orbit-livekit,.orbit-ollama{width:94px}.orbit-livekit{left:0}}
@media(max-width:700px){.orbit-livekit,.orbit-ollama{width:91px}.orbit-livekit{left:0;bottom:18%}.orbit-google{left:auto;right:0;top:42%}.orbit-ollama{right:18%;bottom:0}}
/* Full product vision: one customer-facing feature card with honest availability. */
.feature-showcase{padding:44px;margin:0 0 54px;scroll-margin-top:24px}
.feature-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:end;margin-bottom:28px}
.feature-intro h2{font-size:clamp(28px,3.2vw,40px);line-height:1.2;letter-spacing:-.04em;margin:0}
.feature-intro h2 span{color:var(--wc-primary)}
.feature-intro .eyebrow{margin-bottom:14px}
.feature-intro>p{font-size:15px;line-height:1.85;max-width:410px;margin:0 0 3px}
.feature-available{display:flex;align-items:center;gap:14px;background:#EFF7F3;border:1px solid #D6E8DF;border-radius:16px;padding:19px 22px;margin-bottom:38px}
.availability-dot{width:9px;height:9px;border-radius:50%;background:#24866C;box-shadow:0 0 0 5px #E0F0E8;flex-shrink:0}
.feature-available>div{flex:1}.feature-available strong{display:block;font-size:13px}.feature-available>div>span{font-size:11px;color:var(--wc-muted);display:block;margin-top:4px}
.feature-available .button{font-size:12px;padding:10px 16px;white-space:nowrap}
.feature-roadmap-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:8px}
.feature-roadmap-heading h3{font-size:13px;margin:0;font-weight:600}.feature-roadmap-heading .badge{white-space:nowrap}
.feature-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
.feature-group{padding:26px 0;border-top:1px solid var(--wc-border);min-width:0}
.feature-group-heading{display:flex;align-items:center;gap:13px;margin-bottom:12px}.feature-group-heading h3{font-size:17px;letter-spacing:-.025em;line-height:1.4;margin:0}
.catalog-icon{width:43px;height:43px}.feature-group>p{font-size:12px;line-height:1.8;margin-bottom:15px;max-width:440px}
.feature-group ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.feature-group li{position:relative;padding-left:16px;font-size:11px;color:#435F70;line-height:1.6}.feature-group li:before{content:'';position:absolute;width:5px;height:5px;border-radius:2px;background:#70AFA9;left:0;top:6px}
.feature-footnote{border-top:1px solid var(--wc-border);padding-top:24px;margin-top:6px}.feature-footnote p{font-size:11px;line-height:1.8;margin:0}.feature-footnote p+p{font-size:10px;margin-top:9px}.feature-footnote strong{color:var(--wc-ink)}
@media(min-width:1500px){.feature-catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 30px}.feature-group-heading{align-items:flex-start;flex-direction:column}.feature-group-heading h3{min-height:48px}.feature-group>p{min-height:66px}}
@media(max-width:700px){.feature-showcase{padding:26px 22px;margin-bottom:30px}.feature-intro{grid-template-columns:1fr;gap:18px}.feature-intro>p{font-size:13px}.feature-available{flex-wrap:wrap;padding:18px;gap:14px}.feature-available>div{flex-basis:80%}.feature-available .button{margin-left:22px}.feature-roadmap-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:16px}.feature-catalog{grid-template-columns:1fr}.feature-group{padding:23px 0}.feature-group-heading h3{font-size:17px}.feature-group li{font-size:12px}.feature-group>p{font-size:13px}.feature-footnote p{font-size:12px}}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.department-list small{margin-top:3px}
@media(max-width:1000px){.setup-grid{grid-template-columns:1fr}}
@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.department-stat{grid-column:1/-1}}
.startup-splash{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;text-align:center;background:var(--wc-cream)}
.splash-emblem{width:108px;height:108px;display:grid;place-items:center;border:1px solid #E2E9E2;border-radius:28px;background:#fff;box-shadow:0 15px 40px #15345109;margin-bottom:28px}.splash-emblem img{width:72px;height:auto}.splash-wordmark{width:270px;max-width:80vw;height:48px;object-fit:contain}.startup-splash p{font-size:13px;margin:14px 0 24px}.splash-dots{display:flex;gap:7px;margin:0 0 18px}.splash-dots span{width:7px;height:7px;border-radius:50%;background:#087C83;animation:splash-pulse 1.3s ease-in-out infinite}.splash-dots span:nth-child(2){animation-delay:.18s}.splash-dots span:nth-child(3){animation-delay:.36s}.startup-splash small{font-size:10px;letter-spacing:.05em}@keyframes splash-pulse{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
.employee-page{max-width:1220px;padding:30px 36px 60px;margin:auto}.employee-page h1{font-size:36px}.employee-directory,.employee-create{margin-top:24px}.directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px}.directory-toolbar p{font-size:12px;margin-bottom:0}.directory-toolbar form{display:flex;gap:10px;min-width:330px}.directory-toolbar h2{margin-bottom:6px}.employee-table-wrap{overflow-x:auto;margin:24px 0}.employee-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;min-width:680px}.employee-table th{font-size:11px;color:var(--wc-muted);font-weight:600;background:#F6F8F7}.employee-table th,.employee-table td{padding:16px 14px;border-bottom:1px solid var(--wc-border);vertical-align:top}.employee-table small{font-size:10px;overflow-wrap:anywhere}.directory-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--wc-muted)}.employee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin-bottom:26px}.employee-create>p{font-size:12px}.employee-create .section-icon-heading h2{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.employee-page{padding:24px 18px 40px}.directory-toolbar{align-items:stretch;flex-direction:column;gap:18px}.directory-toolbar form{min-width:0}.directory-toolbar input{min-width:0}.employee-form-grid{grid-template-columns:1fr}.employee-directory,.employee-create{padding:22px}.sidebar nav{display:flex;gap:8px;flex-wrap:wrap}.directory-pagination .subtle{padding:9px 12px;font-size:11px}.employee-page h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.splash-dots span{animation:none;opacity:.8}}
.employee-actions{display:flex;justify-content:flex-end;margin-top:20px}.employee-modal{width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--wc-border);border-radius:24px;padding:30px;background:var(--wc-cream);color:var(--wc-ink);box-shadow:0 24px 80px #15345133}.employee-modal::backdrop{background:#15345166;backdrop-filter:blur(4px)}.employee-modal .employee-create{margin:0}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.modal-heading h2{font-size:23px}.modal-close{font-size:24px;line-height:1;padding:8px 12px;min-width:40px}.modal-cancel{margin-left:12px}.employee-modal .employee-form-grid{margin-bottom:24px}body:has(.employee-modal[open]){overflow:hidden}@media(max-width:700px){.employee-modal{padding:22px;max-height:calc(100dvh - 24px)}.employee-modal .employee-create{padding:0}.modal-heading h2{font-size:21px}}
.department-modal-actions{display:flex;gap:12px;margin-top:28px}.employee-modal>p{font-size:12px;margin-top:18px}.department-list .subtle{padding:8px 12px;font-size:11px}
.setup-grid>.card{min-width:0;align-self:start}.structure-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:26px;padding-top:20px;border-top:1px solid var(--wc-border);font-size:13px;font-weight:600}.setup-grid .branch-list{max-height:240px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior-y:contain;margin:12px 0 0;padding-right:8px}.setup-grid .branch-list li>span:not(.badge){min-width:0;overflow-wrap:anywhere}.setup-grid .branch-list .badge,.setup-grid .branch-list button,.setup-grid .branch-list svg{flex-shrink:0}.setup-grid .branch-list:focus-visible{outline-offset:2px}@media(max-width:700px){.setup-grid .branch-list{max-height:220px}.setup-grid .branch-list li{gap:8px;flex-wrap:wrap}.setup-grid .branch-list li>span:not(.badge){flex:1;min-width:80px}}
.structure-search{display:flex;align-items:center;gap:8px}.structure-search input{min-width:0}.structure-search button{flex-shrink:0}
.employee-table td:has(.employee-status-action){white-space:nowrap}.employee-table td:has(.employee-status-action) .subtle{display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:10px 12px}.employee-status-action{margin-left:8px}.badge.status-inactive{background:#F5EFE4;color:#72552F}.badge.status-active{background:#E7F4EF;color:#24634D}
.employee-filters{display:flex;align-items:flex-end;gap:16px;margin-top:12px;flex-wrap:wrap}.employee-filters>div{flex:1;min-width:180px}.employee-filters>button{flex-shrink:0}

.employee-row-actions{white-space:nowrap}.employee-history-action{margin-left:8px}.employee-activity-list{list-style:none;padding:0;margin:24px 0;max-height:380px;overflow:auto}.employee-activity-list li{padding:16px 0;border-bottom:1px solid var(--wc-border)}.employee-activity-list strong,.employee-activity-list span,.employee-activity-list time{display:block}.employee-activity-list span{font-size:13px;margin-top:6px}.employee-activity-list time{font-size:11px;color:var(--wc-muted);margin-top:6px}
.employee-table th:last-child,.employee-table td:last-child{width:1%;padding-right:0;white-space:nowrap}.employee-row-actions{text-align:right}
.employee-actions{gap:12px;flex-wrap:wrap}

/* Keep page width fixed while route content changes height. */
html{scrollbar-gutter:stable}

/* Keep the membership label/action and History on one aligned row. */
.employee-table .member-actions-cell{vertical-align:middle}
.member-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap}
.member-row-actions small{margin:0;white-space:nowrap;overflow-wrap:normal}
.member-row-actions .employee-history-action{margin-left:0;flex-shrink:0}

/* Align member filters and their reset action as a single toolbar. */
.directory-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}
.directory-filters>div{flex:1;min-width:200px}
.directory-filters label{margin:0 0 7px}
.directory-filters select,.directory-filters>button{height:48px}
.directory-filters>button{flex-shrink:0;white-space:nowrap}
@media(max-width:600px){.directory-filters{flex-direction:column;align-items:stretch}.directory-filters>div{min-width:0;width:100%}.directory-filters>button{width:100%}}

/* Keep profile associations separate from the compact row actions. */
.employee-account-action{display:block;margin:8px 0 0;padding:6px 10px;min-height:32px;font-size:.75rem}
.account-link-search{display:flex;align-items:flex-end;gap:12px;margin:20px 0}
.account-link-search>div{flex:1;min-width:0}.account-link-search label{margin:0 0 7px}
.account-link-search input,.account-link-search button{height:48px;margin:0}
.account-link-options{border:0;padding:0;margin:16px 0;max-height:280px;overflow:auto}
.account-link-options>label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line,#e2e8e5);margin:0;cursor:pointer}
.account-link-options input{width:18px;height:18px;margin:0;flex-shrink:0}.account-link-options small{display:block;overflow-wrap:anywhere}
.account-link-current{padding:12px 0}
@media(max-width:600px){.account-link-search{flex-direction:column;align-items:stretch}}

.employment-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0 12px;align-items:start}
.employment-summary label,.employment-field-label{display:block;font-weight:600;font-size:.85rem;line-height:20px;margin:0 0 7px}
.employment-summary input{height:48px;margin:0;width:100%}
.employment-manager-value{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}
.employment-manager-value small{display:block;color:var(--muted);font-size:.75rem;margin:2px 0 0;line-height:1.3}.employment-manager-value button{height:48px;margin:0}
@media(max-width:600px){.employment-summary{grid-template-columns:1fr}}

.role-name-field{margin:20px 0}.role-name-field label{margin:0 0 7px}.role-name-field input{height:48px;margin:0}
.role-permission-picker{border:0;padding:0;margin:20px 0;max-height:300px;overflow:auto}
.role-permission-picker legend{font-weight:700;margin-bottom:8px}
.role-permission-picker>label{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;margin:0;font-weight:400;font-size:.85rem}
.role-permission-picker input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:0;accent-color:var(--teal,#087f88)}
.role-permission-details summary{cursor:pointer;font-size:.85rem}.role-permission-details ul{font-size:.8rem;padding-left:18px;max-height:200px;overflow:auto;max-width:340px;white-space:normal}.role-permission-details li{margin:6px 0}

/* Card actions share the heading row; search stays on its own spaced row. */
.card-heading-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.card-heading-actions>div{min-width:0;flex:1}.card-heading-actions h2{margin:0}
.card-heading-actions p{margin:8px 0 0;font-size:12px;color:var(--wc-muted)}
.card-heading-actions>.button,.card-heading-actions>button{flex-shrink:0;margin:0;min-height:48px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}
.role-search-toolbar{display:flex;align-items:center;gap:12px;max-width:440px;margin:0 0 24px auto}
.role-search-toolbar input{min-width:0;flex:1;margin:0;height:48px}.role-search-toolbar button{margin:0;height:48px;flex-shrink:0}
@media(max-width:700px){.card-heading-actions{align-items:stretch;flex-direction:column;gap:16px}.card-heading-actions>.button,.card-heading-actions>button{align-self:flex-start}.role-search-toolbar{max-width:none;width:100%}}

.member-role-list{list-style:none;padding:0;margin:12px 0;max-height:220px;overflow:auto}
.member-role-list>li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--wc-border)}
.member-role-list>li>div{min-width:0;flex:1}.member-role-list small{display:block;margin-top:4px}.member-role-list details{font-size:.8rem;margin-top:6px}.member-role-list details ul{padding-left:18px}
.member-role-list button{flex-shrink:0;margin:0}.role-review-permissions{padding-left:20px;max-height:240px;overflow:auto;font-size:.85rem}.role-review-permissions li{margin:8px 0}
dialog:has(#member-roles-title) .account-link-options input{min-height:18px}dialog:has(#member-roles-title) .account-link-options>label{min-height:44px}
.member-assigned-roles{margin:20px 0}.member-assigned-roles>summary{font-weight:700;cursor:pointer}

.card-heading-actions>.card-action-group{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:12px}
.card-action-group>.button,.card-action-group>button{margin:0;min-height:48px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}
.directory-search-row{display:flex;align-items:center;gap:12px;max-width:440px;margin:0 0 24px auto}
.directory-search-row input{flex:1;min-width:0;height:48px;margin:0}.directory-search-row button{height:48px;margin:0;flex-shrink:0}
.org-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0 12px;font-size:.85rem;overflow-wrap:anywhere}
.org-breadcrumbs a{color:var(--wc-teal,#087f88);text-underline-offset:3px}.org-breadcrumbs [aria-current=page]{font-weight:700}
.org-view-note{font-size:.8rem;color:var(--wc-muted);margin:0 0 24px;max-width:780px}
.org-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),320px));justify-content:center;gap:24px;list-style:none;padding:0;margin:24px 0 32px}
.org-grid>li{min-width:0;display:flex;position:relative}.org-grid>li>.org-person{flex:1}
.org-person{background:#fff;border:1px solid var(--wc-border);border-radius:20px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;overflow-wrap:anywhere}
.org-person-heading{display:flex;align-items:center;gap:12px}.org-person-heading>div{min-width:0}.org-person-heading h3{font-size:1rem;margin:0;line-height:1.5}.org-person-heading small{display:block;font-size:.7rem;color:var(--wc-muted);margin:3px 0 0}
.org-person-heading .section-icon{flex-shrink:0;width:40px;height:40px}.org-person .org-job-title{font-size:.85rem;margin:0;color:var(--wc-muted)}
.org-person dl{margin:0;font-size:.8rem;width:100%}.org-person dl>div{margin:8px 0}.org-person dt{color:var(--wc-muted);font-size:.7rem}.org-person dd{margin:2px 0 0;font-weight:600}
.org-person .org-reporting-context{font-size:.75rem;color:var(--wc-muted);margin:0}
.org-person-footer{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:auto;padding-top:12px;width:100%;border-top:1px solid var(--wc-border);font-size:.75rem;color:var(--wc-muted)}
.org-person-footer .button{margin:0;min-height:44px;display:flex;align-items:center;justify-content:center}
.org-person-selected{background:var(--wc-cream);border-color:#a6ceca}.org-selected-wrap{max-width:360px;margin:24px auto 0}.org-selected-wrap::after{content:"";display:block;height:24px;width:1px;background:var(--wc-border);margin:auto}
.org-level-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.org-level-heading h3{margin:0;font-size:1rem}.org-level-heading>span{font-size:.75rem;color:var(--wc-muted)}
.org-grid-connected{border-top:1px solid var(--wc-border);padding-top:24px}.org-grid-connected>li::before{content:"";position:absolute;top:-25px;left:50%;height:24px;width:1px;background:var(--wc-border)}
@media(max-width:1000px){.card-heading-actions:has(.card-action-group){align-items:stretch;flex-direction:column;gap:16px}.card-heading-actions>.card-action-group{justify-content:flex-start}}
@media(max-width:700px){.directory-search-row{max-width:none;width:100%}.org-chart{padding:22px}.org-breadcrumbs{font-size:.75rem}.org-person{padding:18px}.card-action-group{width:100%}}

/* Read-only employee self-service: consistent alignment with workspace cards. */
.my-profile-card{max-width:1000px}
.my-profile-identity{display:flex;align-items:center;gap:16px;padding:24px 0;border-bottom:1px solid var(--wc-border)}
.my-profile-identity h3,.my-profile-identity p{margin:0;overflow-wrap:anywhere}
.my-profile-identity p{margin-top:6px;color:var(--wc-muted)}
.my-profile-identity>.badge{margin-left:auto;flex-shrink:0}
.my-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px;margin:28px 0}
.my-profile-details dt{font-size:.8rem;color:var(--wc-muted);margin-bottom:8px}
.my-profile-details dd{margin:0;overflow-wrap:anywhere;font-weight:500}
.my-profile-note{padding:18px 20px;border-radius:14px;background:var(--wc-bg);color:var(--wc-muted);font-size:.85rem;line-height:1.7;margin:0}
@media(max-width:700px){.my-profile-details{grid-template-columns:1fr;gap:24px}.my-profile-identity{flex-wrap:wrap}.my-profile-identity>.badge{margin-left:0}.my-profile-card{padding:22px}}

.my-profile-workspace{max-width:440px;margin-bottom:24px}

.my-profile-header-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){.my-profile-header-actions{gap:8px}.my-profile-header-actions .button,.my-profile-header-actions button{font-size:11px;padding:10px 12px}}

/* Keep keyboard navigation targets clear of the persistent workspace navbar. */
.workspace-body main,.workspace-body h1{scroll-margin-top:110px}

.offboarding-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:20px 0}.offboarding-summary dt{font-size:12px;color:var(--wc-muted);margin-bottom:6px}.offboarding-summary dd{margin:0;overflow-wrap:anywhere;font-weight:500}.offboarding-note{font-size:13px}.offboarding-confirm{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--wc-border);border-radius:12px;line-height:1.7}.offboarding-confirm input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin:3px 0 0}.offboarding-summary+.notice p{margin:8px 0 0}@media(max-width:700px){.offboarding-summary{grid-template-columns:1fr;gap:16px}}

.offboarding-actions{flex-wrap:wrap}.offboarding-actions button{min-height:48px}@media(max-width:500px){.offboarding-actions button{width:100%}}

.session-scope-note{font-size:13px;line-height:1.8;margin:0 0 20px}.session-current{display:table;margin-top:8px}.session-table{table-layout:auto}.session-table th,.session-table td{white-space:nowrap}.session-table .member-row-actions small{margin:0}.session-table th:last-child,.session-table td:last-child{width:1%}

/* Native WorkCanopy Chat: cream, navy and teal; independently scrollable panes. */
.chat-page{max-width:1440px;padding-bottom:24px}.chat-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);height:calc(100dvh - 255px);min-height:460px;max-height:1000px;padding:0;overflow:hidden}.chat-inbox{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--wc-border)}.chat-inbox-heading{padding:20px 18px 12px;display:flex;align-items:center;gap:12px;justify-content:space-between}.chat-inbox-heading h2{font-size:16px;margin:0}.chat-inbox-heading button{font-size:11px;padding:10px 12px;min-height:42px;white-space:nowrap}.chat-view-tabs{display:flex;gap:8px;padding:0 18px 16px}.chat-view-tabs button{font-size:11px;min-height:36px;padding:6px 12px;box-shadow:none}.chat-view-tabs [aria-pressed=true]{background:var(--wc-primary);color:#fff;border-color:var(--wc-primary)}.chat-conversation-list{flex:1;overflow-y:auto;min-height:0;padding:0 10px 14px}.chat-conversation{display:flex;align-items:center;gap:10px;padding:14px 10px;border-radius:14px;text-decoration:none;color:var(--wc-ink);border:1px solid transparent;margin-bottom:4px}.chat-conversation.selected{background:#E8F4F1;border-color:#BDDBD4}.chat-conversation>span:nth-child(2){min-width:0;flex:1}.chat-conversation strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversation small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0}.chat-avatar{width:34px;height:34px;background:#DDEFF0;color:#156879;border-radius:12px;display:grid;place-items:center;font-weight:700;flex-shrink:0}.chat-list-empty{text-align:center;padding:30px 10px;font-size:12px}.chat-list-empty p{margin-top:16px}.chat-connection{padding:12px 18px;margin:0;font-size:10px;border-top:1px solid var(--wc-border);background:#FBFCFA}.chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#FFFEFB}.chat-thread-heading{display:flex;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid var(--wc-border);background:#fff}.chat-thread-heading>div{flex:1;min-width:0}.chat-thread-heading h2{font-size:17px;margin:0;overflow-wrap:anywhere}.chat-thread-heading small{margin-top:4px;font-size:10px}.chat-thread-heading button{min-height:40px;font-size:11px;padding:8px 12px}.chat-preferences{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 22px;background:#EDF6F3;border-bottom:1px solid var(--wc-border)}.chat-preferences label{display:flex;align-items:center;gap:8px;font-size:11px;margin:0}.chat-preferences input{width:16px;min-height:16px;height:16px;margin:0}.chat-preferences button{font-size:10px;padding:6px 10px;min-height:34px}.chat-timeline{flex:1;min-height:0;overflow-y:auto;padding:18px 24px;overscroll-behavior:contain}.chat-message{max-width:82%;width:fit-content;border:1px solid #DDE6E5;background:#fff;border-radius:16px 16px 16px 4px;padding:12px 16px;margin:12px 0;overflow-wrap:anywhere}.chat-message.outgoing{margin-left:auto;border-radius:16px 16px 4px 16px;background:#E5F3EF;border-color:#C4DFD5}.chat-message strong{font-size:10px;color:#426775}.chat-message p{color:var(--wc-ink);font-size:13px;line-height:1.75;white-space:pre-wrap;margin:4px 0 8px}.chat-message footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;color:var(--wc-muted);font-size:9px}.chat-message footer button{font-size:10px;min-height:30px;padding:4px 10px}.chat-message.pending{border-style:dashed}.chat-date{font-size:10px;color:var(--wc-muted);text-align:center;margin:16px 0}.chat-older{display:block;margin:0 auto;font-size:11px;min-height:36px;padding:6px 12px}.chat-first-message{text-align:center;font-size:12px;margin:24px}.chat-typing{height:22px;flex-shrink:0;font-size:10px;padding:0 22px;color:var(--wc-muted)}.chat-composer{padding:12px 20px 18px;border-top:1px solid var(--wc-border);background:#fff}.chat-composer textarea{resize:vertical;max-height:180px;min-height:66px;font-size:13px}.chat-composer>div{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px}.chat-composer span{font-size:10px;color:var(--wc-muted)}.chat-composer button{min-height:40px;font-size:12px;padding:8px 18px}.chat-help{font-size:11px;padding:0 20px 12px;margin:0;background:#fff}.chat-welcome{margin:auto 30px;border:0}.chat-welcome h2{font-size:22px}.chat-welcome p{font-size:13px}.chat-back{display:none}.chat-contact-list{list-style:none;margin:20px 0;padding:0;max-height:340px;overflow-y:auto}.chat-contact-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--wc-border)}.chat-contact-list strong{font-size:13px}.chat-contact-list button{font-size:12px;min-height:42px;padding:8px 16px}.chat-nav-unread{margin-left:auto}
@media(max-width:1000px){.chat-workspace{grid-template-columns:240px minmax(0,1fr)}.chat-timeline{padding:14px}.chat-thread-heading{padding:14px}.chat-inbox-heading{flex-wrap:wrap}.chat-page .page-heading h1{font-size:29px}}
@media(max-width:700px){.chat-workspace{display:flex;min-height:520px;height:calc(100dvh - 190px)}.chat-inbox{width:100%;border:0}.chat-thread{display:none}.chat-has-thread .chat-inbox{display:none}.chat-has-thread .chat-thread{display:flex;width:100%}.chat-back{display:inline-flex;font-size:11px;padding:8px 10px;min-height:38px}.chat-composer{padding:10px 14px max(14px,env(safe-area-inset-bottom))}.chat-message{max-width:92%}.chat-page .page-heading h1{font-size:27px}.chat-page .page-heading .feature-icon{width:48px;height:48px}.chat-preferences{padding:12px 14px;gap:12px}.chat-inbox-heading{flex-wrap:nowrap}}

.chat-alert-toggle{margin:10px 18px;min-height:36px;font-size:10px;padding:6px 10px;box-shadow:none}

/* Chat group/channel controls keep a shared rhythm at laptop and narrow widths. */
.chat-kind-filter{padding:0 18px 14px;display:grid;gap:10px}.chat-kind-filter select{width:100%;min-height:40px;font-size:11px}.chat-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chat-inline-actions button{flex:1;min-height:38px;padding:8px 10px;font-size:11px;white-space:nowrap}.chat-member-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.chat-member-search input,.chat-member-search button{height:46px;margin:0}.chat-checkbox{display:flex;align-items:center;gap:12px;cursor:pointer}.chat-checkbox input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0}.chat-create-modal form>label{display:block;margin:18px 0 8px}.chat-create-modal form>.chat-checkbox{display:flex;margin-top:18px}.chat-help-inline{font-size:11px;line-height:1.7;color:var(--wc-muted)}.chat-contact-list small{display:block;margin-top:5px}.chat-contact-list li>div{min-width:0;overflow-wrap:anywhere}.chat-contact-list li>button{flex-shrink:0}.chat-thread-heading>div{min-width:0;flex:1}.chat-thread-heading h2{overflow-wrap:anywhere}.chat-thread-heading{flex-wrap:wrap;gap:10px}.chat-preferences{flex-wrap:wrap}.chat-preferences label{display:flex;align-items:center;gap:8px}.chat-preferences input{width:16px;height:16px;margin:0}@media(max-width:700px){.chat-thread-heading>div{flex-basis:45%}.chat-contact-list{max-height:240px}.chat-kind-filter{padding-bottom:12px}}

@media(max-width:700px){.workspace:has(.chat-page) .sidebar{flex-direction:column;align-items:flex-start;gap:10px;padding:12px 18px;overflow:hidden}.workspace:has(.chat-page) .sidebar .brand{height:30px;width:160px;flex-shrink:0}.workspace:has(.chat-page) .sidebar nav{display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:5px;gap:8px}.workspace:has(.chat-page) .sidebar nav a{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:8px 10px}.chat-page .page-heading{gap:12px}.chat-page .page-heading h1{font-size:24px}.chat-workspace{min-height:420px;height:calc(100dvh - 365px)}.chat-thread-heading small{margin-top:4px}.chat-composer textarea{resize:none}}

.chat-composer>.chat-compose-box{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:8px;margin:0;padding:8px;border:1px solid #D8E3E4;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.chat-compose-box:focus-within{border-color:#5A9E9F;box-shadow:0 0 0 2px #087C8312}.chat-composer .chat-compose-box textarea{display:block;width:100%;border:0;border-radius:0;box-shadow:none;outline:none;background:transparent;padding:8px;min-height:64px;max-height:180px;line-height:1.65;font-size:13px;margin:0;resize:none}.chat-composer .chat-send{width:44px;height:44px;min-height:44px;padding:12px;margin:0 0 2px;border:0;border-radius:10px;box-shadow:none;background:#087C83;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transform:none}.chat-composer .chat-send:hover:not(:disabled){background:#066B71;box-shadow:none;transform:none}.chat-composer .chat-send:active:not(:disabled){background:#055F65;box-shadow:none;transform:none}.chat-composer .chat-send:disabled{background:#EEF3F3;color:#A0B3B6;opacity:1;box-shadow:none}.chat-send svg{width:20px;height:20px;display:block}

.chat-search-launch{margin:0 18px 12px;min-height:40px;padding:8px 12px;display:flex;align-items:center;gap:9px;font-size:11px;box-shadow:none}.chat-search-launch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.chat-search-modal .modal-heading h2{font-size:21px}.chat-search-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.chat-search-filters>div{min-width:0}.chat-search-filters input,.chat-search-filters select{height:46px;min-width:0}.chat-search-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:20px 0}.chat-search-actions button{min-height:46px}.chat-search-results{border-top:1px solid var(--wc-border);padding:8px 6px 0 0}.chat-search-hit{padding:18px 0;border-bottom:1px solid var(--wc-border)}.chat-search-hit header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.chat-search-hit strong{font-size:13px;overflow-wrap:anywhere}.chat-search-hit time{font-size:10px;line-height:1.6;color:var(--wc-muted);flex-shrink:0}.chat-search-hit p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0}.chat-search-hit button{font-size:11px;min-height:38px;padding:8px 12px}.chat-search-modal>.department-modal-actions{margin-top:18px}@media(max-width:700px){.chat-search-filters{grid-template-columns:1fr;gap:0}.chat-search-modal .modal-heading h2{font-size:19px}.chat-search-hit header{flex-direction:column;gap:8px}.chat-search-actions{flex-wrap:wrap;justify-content:flex-start}}

.chat-search-options{margin-top:16px}.chat-search-options summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--wc-ink);padding:8px 0}.chat-search-options summary span{font-size:11px;font-weight:400;color:var(--wc-muted)}

.chat-composer>.chat-compose-box{grid-template-columns:36px minmax(0,1fr) 44px;gap:4px}.chat-composer .chat-attach{width:36px;height:44px;min-height:44px;padding:9px;margin-bottom:2px;background:transparent;border:0;box-shadow:none;color:#66828A;display:grid;place-items:center}.chat-attach svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chat-composer .chat-attach:hover:not(:disabled){background:#EEF5F4;box-shadow:none}.chat-composer .chat-attach:disabled{opacity:.4}.chat-message .chat-file-card,.chat-search-hit .chat-file-card{display:flex;align-items:center;gap:12px;width:100%;min-width:180px;max-width:100%;padding:12px;margin:10px 0;background:#fff;border:1px solid #D4E3E0;border-radius:12px;box-shadow:none;text-align:left;color:var(--wc-ink)}.chat-file-card>span{min-width:0;flex:1}.chat-file-card strong{font-size:12px;overflow-wrap:anywhere}.chat-file-card small{font-size:10px;margin-top:5px}.chat-file-card>svg{width:21px;height:24px;fill:none;stroke:#24848A;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}.chat-file-error{font-size:11px!important;color:#913332!important}.chat-upload-summary{margin:20px 0;padding:16px;background:#EDF5F2;border:1px solid #C8DFD8;border-radius:14px;overflow-wrap:anywhere}.chat-upload-summary strong{font-size:13px}.chat-upload-summary p{font-size:12px;line-height:1.7;margin:12px 0 0}.chat-upload-summary button{font-size:11px;min-height:40px;margin-top:12px}.chat-upload-modal input[type=file]{font-size:12px}.chat-upload-modal textarea{resize:vertical;max-height:180px}@media(max-width:700px){.chat-message .chat-file-card{min-width:0}.chat-upload-modal .department-modal-actions{flex-wrap:wrap}}

.chat-storage-launch{margin:8px 18px 0;min-height:40px}
.chat-storage-modal{max-width:600px}
.chat-storage-summary{padding:20px;border-radius:16px;background:#e8f4f1;margin:20px 0}
.chat-storage-summary strong{font-size:1.1rem}.chat-storage-summary strong span{font-size:.85rem;font-weight:400}
.chat-storage-summary progress{display:block;width:100%;height:12px;accent-color:#087f89;margin:14px 0}
.chat-storage-summary p{margin:0;font-size:.85rem}
.chat-storage-breakdown{margin:0 0 20px}.chat-storage-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e1e8e8}
.chat-storage-breakdown dt{font-weight:600}.chat-storage-breakdown dd{margin:0;text-align:right;white-space:nowrap;font-weight:600}
.chat-storage-breakdown small{display:block;font-size:.75rem;line-height:1.6;font-weight:400;color:#62767d}
@media(max-width:480px){.chat-storage-summary{padding:16px}.chat-storage-summary strong span{display:block;margin-top:4px}.chat-storage-breakdown>div{gap:12px}.chat-storage-breakdown dt{font-size:.85rem}}

.chat-inbox-search{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin:12px 18px 0;align-items:center}
.chat-inbox-search input{min-width:0;width:100%;height:44px;margin:0;font-size:.8rem}.chat-inbox-search button{min-height:44px;padding:10px;display:grid;place-items:center}
.chat-inbox-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.chat-inbox-query-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 18px 0;font-size:.75rem}.chat-inbox-query-summary span{overflow-wrap:anywhere;min-width:0}.chat-inbox-query-summary button{flex-shrink:0;min-height:36px;padding:6px 10px}

.chat-inbox{overflow-y:auto}.chat-inbox>*{flex-shrink:0}.chat-inbox .chat-conversation-list{flex:1 0 140px}
.chat-inbox-search{margin-bottom:10px}.chat-inbox-options{margin:0 0 8px}.chat-inbox-options>summary{cursor:pointer;padding:10px 18px;font-size:.75rem;font-weight:600;color:var(--wc-primary)}.chat-inbox-options>summary span{font-weight:400;font-size:.65rem}.chat-inbox-options[open]>summary{margin-bottom:6px}

.chat-conversation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px;margin-bottom:4px}.chat-conversation-row .chat-conversation{margin:0;min-width:0}
.chat-read-action{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--wc-primary);box-shadow:none;flex-shrink:0}.chat-read-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chat-read-action:hover{background:#e8f4f1}.chat-read-action:disabled{opacity:.45;cursor:wait}

.chat-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;flex-wrap:wrap}.chat-member-actions button{min-height:40px;white-space:nowrap}
@media(max-width:540px){.chat-contact-list li:has(.chat-member-actions){flex-wrap:wrap;gap:12px}.chat-member-actions{width:100%;justify-content:flex-start}.chat-member-actions button{flex:1}}

.chat-ownership-history{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px;max-height:45vh;overflow:auto}.chat-ownership-history li{padding:16px;border:1px solid var(--wc-border);border-radius:14px;display:grid;gap:8px;overflow-wrap:anywhere}.chat-ownership-history time{font-size:.8rem;color:var(--wc-muted)}

.chat-ownership-modal .department-modal-actions,.employee-modal .department-modal-actions{flex-wrap:wrap}.chat-ownership-modal .modal-heading h2{font-size:22px}.chat-ownership-modal .modal-heading p{font-size:12px;overflow-wrap:anywhere}

.chat-image-preview-action{min-height:40px;font-size:11px;margin:0 0 10px;box-shadow:none}.chat-image-modal{width:min(900px,calc(100vw - 36px))}.chat-image-modal .modal-heading h2{font-size:22px}.chat-image-modal .modal-heading p{font-size:12px;overflow-wrap:anywhere}.chat-image-stage{display:flex;justify-content:center;align-items:center;margin-top:20px;min-height:100px;background:#fff;border:1px solid var(--wc-border);border-radius:14px;padding:12px}.chat-image-stage img{display:block;max-width:100%;max-height:60vh;object-fit:contain}.chat-image-modal .department-modal-actions{justify-content:flex-end;flex-wrap:wrap}@media(max-width:540px){.chat-image-modal .modal-heading h2{font-size:20px}.chat-image-stage{padding:6px}.chat-image-stage img{max-height:52vh}}

.chat-search-hit>.chat-image-preview-action{margin-right:10px}

.project-search{display:flex;align-items:center;gap:12px;margin:24px 0}.project-search input{flex:1;min-width:0;margin:0;height:46px}.project-search button{height:46px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.project-card{border:1px solid var(--wc-border);border-radius:18px;padding:22px;display:flex;flex-direction:column;min-width:0}.project-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-card h3{font-size:18px;margin:0;overflow-wrap:anywhere}.project-card .badge{white-space:nowrap}.project-description{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.project-facts{display:flex;gap:24px;margin:16px 0 24px;font-size:12px}.project-facts dt{color:var(--wc-muted);font-size:11px;margin-bottom:6px}.project-facts dd{margin:0}.project-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}.project-actions button{min-height:42px;font-size:12px}.project-modal h2{font-size:22px}.project-modal .modal-heading p{font-size:12px;overflow-wrap:anywhere}.project-modal .department-modal-actions{flex-wrap:wrap}.project-modal textarea{resize:vertical;max-height:220px}.project-modal label{font-size:12px}@media(max-width:760px){.project-grid{grid-template-columns:1fr}.project-card-title{flex-wrap:wrap}}@media(max-width:540px){.project-modal .employee-form-grid{grid-template-columns:1fr}.project-page .page-heading h1{font-size:28px}.project-card{padding:18px}}

/* A bounded desktop sidebar and native-style mobile navigation share the same access policy. */
.workspace>.sidebar{height:100dvh;overflow:hidden}.sidebar>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 4px 12px}.sidebar>a,.sidebar>.eyebrow{flex-shrink:0}.sidebar-note{flex-shrink:0;margin-top:12px}.mobile-bottom-nav{display:none}.mobile-more-menu{width:min(420px,calc(100vw - 32px))}.mobile-more-menu h2{font-size:20px}.mobile-more-menu nav{display:grid;gap:6px;margin-top:18px}.mobile-more-menu nav a{display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 14px;border-radius:14px;text-decoration:none;color:var(--wc-ink);font-size:13px;font-weight:600}.mobile-more-menu nav a[aria-current=page]{background:#E7F4F2}.mobile-more-menu .menu-icon{width:32px;height:32px}
.task-filters{display:grid;grid-template-columns:minmax(160px,2fr) minmax(120px,1fr) auto auto;gap:16px;align-items:end;margin:24px 0}.task-filters label:not(.task-mine){margin:0 0 8px}.task-filters input,.task-filters select,.task-filters button{height:46px;margin:0}.task-mine{display:flex;align-items:center;gap:9px;white-space:nowrap;margin:0;min-height:46px;font-size:12px}.task-mine input[type=checkbox]{width:18px;height:18px;min-height:18px}.task-facts{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin:16px 0 24px;font-size:12px}.task-facts dt{font-size:11px;color:var(--wc-muted);margin-bottom:6px}.task-facts dd{margin:0;overflow-wrap:anywhere}.project-actions a.button{min-height:42px;font-size:12px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center}.task-card .project-description:empty{display:none}
@media(min-width:701px) and (max-height:620px){.sidebar .brand{margin-bottom:14px}.sidebar-note{display:none}}
@media(max-width:1000px){.task-filters{grid-template-columns:1fr 1fr}.task-filters button{justify-self:end;width:100%}}
@media(max-width:700px){
 .workspace>.sidebar{display:none!important}.workspace-body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}.workspace-top>span:first-child{display:none}.workspace-top{min-height:56px;padding:10px 18px;justify-content:flex-end}.workspace-top:not(:has(a,button,input,select)){display:none}.workspace-body main,.workspace-body h1{scroll-margin-top:76px}
 .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:stretch;gap:6px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));min-height:76px;background:#FFFEFB;border-top:1px solid #D6E5DF;border-radius:22px 22px 0 0;box-shadow:0 -8px 30px #173B4D0D}
 .mobile-bottom-nav>a,.mobile-bottom-nav>button{position:relative;flex:1;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid transparent;border-radius:14px;background:transparent;box-shadow:none;color:#567078;font-size:10px;font-weight:600;padding:5px 4px;text-decoration:none;white-space:nowrap}
 .mobile-bottom-nav .menu-icon{width:29px;height:29px;flex-shrink:0}.mobile-bottom-nav>.selected{background:#E5F3ED;color:#075E66;border-color:#C9E2D8}.mobile-bottom-nav .chat-nav-unread{position:absolute;top:2px;right:15%;margin:0;background:#087C83;color:white;min-width:17px;padding:2px 5px;font-size:9px}.mobile-bottom-nav>a:active,.mobile-bottom-nav>button:active{transform:translateY(1px)}
 .mobile-more-menu{position:fixed;top:auto;bottom:calc(90px + env(safe-area-inset-bottom,0px));margin:0 auto;max-height:calc(100dvh - 132px - env(safe-area-inset-bottom,0px));overflow:auto;padding:24px;border-radius:24px}
 .workspace:has(.chat-page) .chat-workspace{height:calc(100dvh - 280px);min-height:360px}.task-page .page-heading h1{font-size:28px;overflow-wrap:anywhere}.task-filters{gap:14px}
}
@media(max-width:420px){.task-filters{grid-template-columns:1fr}.task-filters button{justify-self:stretch}.task-facts{grid-template-columns:1fr 1fr}}

@media(max-width:700px){
 .workspace:has(.chat-page){height:100dvh;min-height:0}.workspace:has(.chat-page) .workspace-body{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 .workspace:has(.chat-page) .workspace-top{flex-shrink:0}.workspace:has(.chat-page) .chat-page{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:16px;padding-bottom:12px}.workspace:has(.chat-page) .chat-page>.page-heading{flex-shrink:0}.workspace:has(.chat-page) .chat-workspace{height:auto;min-height:0;flex:1}
 .chat-page:has(.chat-composer textarea:focus)>.page-heading{display:none!important}
}
@media(max-width:700px) and (max-height:600px){.workspace:has(.chat-page) .chat-page>.page-heading{display:none}}

.my-task-filters{grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto;}
@media(max-width:700px){.my-task-filters{grid-template-columns:1fr;}}

.task-activity-list{list-style:none;padding:0;margin:24px 0}.task-activity-list li{padding:18px 0;border-bottom:1px solid var(--wc-border,#e4e9e7);overflow-wrap:anywhere}.task-activity-list time{display:block;font-size:11px;color:var(--wc-muted);margin-top:6px}.task-activity-list p{margin:8px 0 0;font-size:13px}

.task-view-switch{display:flex;gap:8px;margin:20px 0}.task-view-switch button{min-width:80px;min-height:42px}.task-view-switch [aria-pressed=true]{background:#e3f1ed;border-color:#8bb9ae;color:var(--wc-ink)}
.board-filters{grid-template-columns:minmax(0,1fr) auto auto}.board-help{font-size:12px;color:var(--wc-muted)}.task-board{display:grid;grid-template-columns:repeat(4,minmax(260px,1fr));gap:16px;overflow-x:auto;padding:4px 2px 16px;align-items:start;overscroll-behavior-x:contain}.task-board-column{background:#f4f5f0;border:1px solid var(--wc-border);border-radius:18px;padding:14px;min-width:0}.board-column-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.board-column-heading h3{font-size:15px;margin:0}.board-task{background:white;padding:16px;margin-bottom:14px;gap:12px}.board-task h4{font-size:15px;margin:0;overflow-wrap:anywhere}.board-task p{font-size:12px;margin:0;overflow-wrap:anywhere}.board-task .task-facts{margin:0 0 8px;gap:12px}.board-task .project-actions{gap:8px}.board-task .project-actions button{padding:9px 10px;font-size:11px}.task-board-column .directory-pagination{gap:8px;flex-wrap:wrap;font-size:11px}.task-board-column .directory-pagination button{padding:8px 10px;font-size:11px}.board-empty{font-size:12px;padding:12px 0}.task-board-section{min-width:0}
@media(max-width:700px){.board-filters{grid-template-columns:1fr}.task-board{grid-template-columns:1fr;overflow-x:visible}.task-board-column{padding:16px}}

.task-checklist{list-style:none;padding:0;margin:24px 0}.task-checklist li{border-bottom:1px solid var(--wc-border);padding:14px 0}.task-checklist label{display:flex;align-items:flex-start;gap:12px;margin:0!important;cursor:pointer}.task-checklist input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0;accent-color:#267f82}.task-checklist span{line-height:1.6;overflow-wrap:anywhere;min-width:0}.checklist-completed{text-decoration:line-through;color:var(--wc-muted)}.checklist-add{margin-top:24px}.checklist-add>div{display:flex;gap:12px;align-items:stretch}.checklist-add input{flex:1;min-width:0;margin:0;height:46px}.checklist-add button{height:46px;white-space:nowrap}.checklist-add small{display:block;margin-top:10px;color:var(--wc-muted);font-size:11px}@media(max-width:540px){.checklist-add>div{flex-direction:column}}

.task-comments{list-style:none;padding:0;margin:24px 0}.task-comments li{padding:18px 0;border-bottom:1px solid var(--wc-border);overflow-wrap:anywhere}.task-comments time{display:block;color:var(--wc-muted);font-size:11px;margin-top:6px}.task-comments li p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:12px 0 0}.task-comment-form{margin-top:24px}.task-comment-form textarea{width:100%;box-sizing:border-box}.task-comment-form>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.task-comment-form small{font-size:11px;color:var(--wc-muted)}

.task-comment-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:20px 0}.task-comment-context h3{flex:1;min-width:160px;overflow-wrap:anywhere;font-size:16px;margin:0}.task-comment-context button{font-size:12px;min-height:42px}

.comment-thread{margin:24px 0;padding:0}.comment-thread li{position:relative;display:flex;align-items:flex-start;gap:14px;padding:0 0 22px;border:0}.comment-thread li:not(:last-child)::before{content:"";position:absolute;left:19px;top:42px;bottom:0;width:2px;background:#dbe7e2}.comment-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;border-radius:13px;background:#dcece6;color:#205b69;font-size:12px;font-weight:700;box-shadow:0 2px 0 #c1d7ce;position:relative;z-index:1}.comment-message{flex:1;min-width:0;border:1px solid #e0e8e3;border-radius:0 16px 16px 16px;background:#fff;padding:14px 16px}.comment-message header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 14px}.comment-message strong{font-size:12px}.comment-thread time{margin:0;font-size:10px}.comment-thread li p{margin-top:10px}.thread-note{font-size:11px;color:var(--wc-muted);line-height:1.7}.task-comment-form{padding-top:18px;border-top:1px solid var(--wc-border)}
.task-deadline-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:14px}.task-deadline-summary>.card{display:flex;align-items:center;gap:16px;padding:20px}.task-deadline-summary span{display:block;font-size:12px;color:var(--wc-muted)}.task-deadline-summary strong{display:block;font-size:28px;margin-top:6px}.deadline-context{font-size:11px;color:var(--wc-muted);line-height:1.8;margin:12px 0 20px}.my-task-filters{grid-template-columns:minmax(160px,2fr) minmax(120px,1fr) minmax(140px,1fr) auto}
@media(max-width:1000px){.my-task-filters{grid-template-columns:1fr 1fr}}@media(max-width:700px){.task-deadline-summary{grid-template-columns:1fr;gap:12px}.task-deadline-summary>.card{padding:16px}.task-deadline-summary>.card>div{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1}.task-deadline-summary strong{margin:0;font-size:24px}.my-task-filters{grid-template-columns:1fr}.comment-thread li{gap:10px}.comment-avatar{flex-basis:32px;height:32px;border-radius:10px}.comment-thread li:not(:last-child)::before{left:15px;top:34px}.comment-message{padding:12px}}

.task-comment-form>.task-comment-compose{position:relative;display:block}.task-comment-compose textarea{display:block;margin:0;padding-right:66px;min-height:110px;resize:vertical}.task-comment-compose .task-comment-send{position:absolute;right:10px;bottom:12px;width:42px;height:42px;min-height:42px;padding:10px;border-radius:12px;display:flex;align-items:center;justify-content:center}.task-comment-send svg{width:22px;height:22px;flex-shrink:0}.task-comment-form>small{display:block;margin-top:9px}

.project-task-progress{border-top:1px solid var(--wc-border);padding-top:18px;margin:0 0 22px}.project-progress-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;margin-bottom:12px}.project-progress-heading>span{color:var(--wc-muted)}.project-progress-heading strong{font-weight:600}.project-task-progress progress{display:block;width:100%;height:8px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e6eeea;accent-color:#2b968d}.project-task-progress progress::-webkit-progress-bar{background:#e6eeea;border-radius:8px}.project-task-progress progress::-webkit-progress-value{background:#2b968d;border-radius:8px}.project-task-progress progress::-moz-progress-bar{background:#2b968d;border-radius:8px}.project-task-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0}.project-task-counts dt{font-size:11px;color:var(--wc-muted);margin-bottom:6px}.project-task-counts dd{font-size:20px;font-weight:700;margin:0}.project-overdue dd{color:#9c4e2e}

.timeline-filters{display:grid;grid-template-columns:1fr 1fr auto auto auto;align-items:end;gap:16px;margin:24px 0}.timeline-filters label:not(.task-mine){font-size:12px;margin:0 0 8px}.timeline-filters input[type=date],.timeline-filters button{height:46px;margin:0}.task-agenda{margin:24px 0}.task-agenda-day{border-left:2px solid #dbe7e2;margin-left:16px;padding:0 0 22px 24px}.task-agenda-day>h3{display:flex;align-items:center;gap:10px;font-size:15px;margin:0 0 16px}.task-agenda-day>h3 .section-icon{width:32px;height:32px;margin-left:-41px;background:var(--wc-cream);flex-shrink:0}.timeline-task{background:white;margin-bottom:12px;gap:14px}.timeline-task h4{font-size:16px;margin:0;overflow-wrap:anywhere}.timeline-task-owner{font-size:12px;color:var(--wc-muted);margin:0;overflow-wrap:anywhere}.task-view-switch{flex-wrap:wrap}
@media(max-width:1100px){.timeline-filters{grid-template-columns:1fr 1fr}.timeline-filters button{grid-column:1 / -1}}@media(max-width:540px){.timeline-filters{grid-template-columns:1fr}.task-agenda-day{padding-left:16px;margin-left:10px}.task-agenda-day>h3 .section-icon{margin-left:-33px}.timeline-task{padding:16px}}

@media(max-width:540px){.timeline-task .project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.timeline-task .project-actions button{min-width:0;padding:8px;font-size:11px;min-height:42px;white-space:normal}}

.checklist-item-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.checklist-item-row>label{flex:1;min-width:0}.checklist-item-row .checklist-edit-button{flex-shrink:0;font-size:11px;padding:7px 12px;min-height:34px}.checklist-edit{padding:4px 0}.task-checklist .checklist-edit>label{display:block;font-size:12px;margin-bottom:10px!important}.checklist-edit>input{width:100%;box-sizing:border-box;margin:0;height:46px}.checklist-edit>div{display:flex;justify-content:flex-end;gap:10px;margin:14px 0 10px}.checklist-edit small{display:block;font-size:11px;color:var(--wc-muted)}

.checklist-item-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.checklist-item-actions .checklist-move-button{width:34px;min-height:34px;padding:6px;font-size:16px;line-height:1}.checklist-item-row{align-items:center}@media(max-width:540px){.checklist-item-row{flex-wrap:wrap;gap:12px}.checklist-item-row>label{flex-basis:100%}.checklist-item-actions{margin-left:auto}.checklist-item-actions .checklist-move-button,.checklist-item-actions .checklist-edit-button{min-height:40px}.checklist-item-actions .checklist-move-button{width:40px}}

.milestone-list{list-style:none;margin:24px 0;padding:0;max-height:300px;overflow-y:auto;overscroll-behavior:contain}.milestone-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--wc-border)}.milestone-list li>div{min-width:0}.milestone-list strong{display:block;font-size:13px;overflow-wrap:anywhere}.milestone-list time{display:block;font-size:11px;color:var(--wc-muted);margin:8px 0}.milestone-list button{flex-shrink:0;min-height:40px;font-size:12px;padding:8px 14px}.milestone-overdue{display:inline-block;margin-left:8px;font-size:11px;color:#9c4e2e}.milestone-form{margin-top:24px;border-top:1px solid var(--wc-border);padding-top:20px}.milestone-form h3{font-size:16px;margin:0 0 18px}.milestone-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}.milestone-form-actions small{font-size:11px;color:var(--wc-muted);margin-right:auto}.milestone-form .employee-form-grid{align-items:end}@media(max-width:540px){.milestone-form-actions small{flex-basis:100%;margin:0}.project-page .project-card .project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.project-page .project-card .project-actions>*{min-width:0;box-sizing:border-box;width:100%;min-height:42px}}

.task-file-list{list-style:none;padding:0;margin:20px 0;max-height:300px;overflow-y:auto}
.task-file-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line,#dce5e5)}
.task-file-list li>div{min-width:0}.task-file-list strong{display:block;overflow-wrap:anywhere}.task-file-list small{display:block;margin-top:6px;color:var(--muted,#61737c)}
.task-file-list button{flex-shrink:0}.task-file-upload{display:grid;gap:12px;padding-top:20px;border-top:1px solid var(--line,#dce5e5)}
.task-file-upload input{width:100%;min-width:0;padding:12px;background:white;border:1px solid var(--line,#dce5e5);border-radius:12px}
.task-file-upload-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.task-file-upload-actions span{min-width:0;overflow-wrap:anywhere}.task-file-upload-actions button{flex-shrink:0}
@media(max-width:540px){.task-file-list li{flex-wrap:wrap;gap:12px}.task-file-list li>div{width:100%}.task-file-list button{margin-left:auto}.task-file-upload-actions{align-items:stretch;flex-direction:column}.task-card .project-actions,.board-task .project-actions,.timeline-task .project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.task-card .project-actions>*,.board-task .project-actions>*,.timeline-task .project-actions>*{width:100%;min-height:42px}}

.task-notification-filters{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:20px 0}.task-notification-filters label{margin:0}
.task-notification-list{list-style:none;padding:0;margin:24px 0}.task-notification-list>li{display:flex;gap:16px;padding:22px 18px;border:1px solid var(--line,#dce5e5);border-radius:16px;margin-bottom:14px;background:white}.task-notification-list>li.notification-unread{background:#edf8f3;border-color:#b5d9cd}.task-notification-list>li>.section-icon{flex:0 0 40px}.task-notification-content{flex:1;min-width:0}.notification-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.notification-heading h3{margin:0;overflow-wrap:anywhere}.task-notification-content p{margin:10px 0;overflow-wrap:anywhere}.task-notification-content time{font-size:.8rem;color:var(--muted,#61737c)}.task-notification-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;align-items:center}
@media(max-width:540px){.task-notification-list>li{padding:16px 12px;gap:10px}.task-notification-list>li>.section-icon{flex-basis:28px;width:28px;height:28px}.notification-heading{flex-wrap:wrap;gap:8px}.notification-heading h3{width:100%}.task-notification-actions{display:grid;grid-template-columns:1fr}.task-notification-actions>*{width:100%;min-height:44px}.task-notification-filters{gap:10px}.task-notification-filters button{flex-shrink:0}}

/* Shared workspace alerts remain in the top bar across workspace navigation. */
.workspace .workspace-top{padding-right:160px;min-height:86px;display:flex}
.workspace-alert-controls{position:fixed;top:18px;right:28px;z-index:85;display:flex;align-items:center;gap:10px}
.workspace-alert-controls button{position:relative;width:44px;height:44px;min-height:44px;padding:10px;border-radius:13px;gap:0}
.workspace-alert-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.alert-count{position:absolute;right:-7px;top:-8px;border:2px solid white;border-radius:20px;background:#087d85;color:white;padding:0 5px;min-width:23px;font-size:10px;line-height:19px;font-weight:700}
.workspace-alert-toast{position:fixed;right:24px;bottom:calc(24px + var(--wc-ai-offset,0px));z-index:100;width:350px;max-width:calc(100vw - 32px);padding:20px;background:#fffefb;border:1px solid #bad9d0;border-radius:20px;box-shadow:0 12px 44px #1534512b;display:grid;gap:10px}
.alert-toast-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.alert-toast-heading button{width:34px;min-height:34px;padding:0;border-radius:10px;font-size:20px}.workspace-alert-toast p{margin:0;color:var(--wc-ink);font-weight:600;overflow-wrap:anywhere}.workspace-alert-toast small{color:var(--wc-muted);overflow-wrap:anywhere}.workspace-alert-toast .button{margin-top:4px;min-height:42px}
@media(max-width:760px){.workspace .workspace-top{padding-right:128px;min-height:66px}.workspace-alert-controls{top:10px;right:16px;gap:8px}.workspace-alert-controls button{width:40px;height:40px;min-height:40px;padding:9px}.workspace-alert-toast{right:16px;bottom:calc(94px + env(safe-area-inset-bottom,0px) + var(--wc-ai-offset,0px));width:350px}}

.workspace .workspace-top{gap:12px;flex-wrap:wrap}.workspace .workspace-top>.my-profile-header-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}

.project-activity-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:20px 0}.project-activity-filters label{display:block;margin-bottom:8px}.project-activity-filters select{width:100%;min-height:46px}.project-activity-feed{list-style:none;margin:20px 0;padding:0 8px 0 0;max-height:420px;overflow-y:auto}.project-activity-feed>li{display:flex;gap:14px;padding-bottom:20px;position:relative}.project-activity-feed>li:not(:last-child)::before{content:"";position:absolute;left:19px;top:42px;bottom:0;width:2px;background:#dce9e3}.activity-feed-marker{flex:0 0 40px;position:relative;background:#f6f7f2;border-radius:12px;height:40px}.activity-feed-marker .section-icon{width:40px;height:40px}.project-activity-feed article{flex:1;min-width:0;padding:12px 14px;border:1px solid #dce7e1;border-radius:14px;background:white}.activity-feed-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.activity-feed-meta time{font-size:10px;color:var(--wc-muted)}.project-activity-feed p{margin:10px 0 4px;font-size:13px;overflow-wrap:anywhere}.activity-feed-subject{font-size:12px;color:var(--wc-muted);overflow-wrap:anywhere}
.project-page .project-card .project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-page .project-card .project-actions>*{width:100%}.project-page .project-card .project-actions>:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:540px){.project-activity-filters{grid-template-columns:minmax(0,1fr) auto;gap:10px}.project-activity-filters button{width:auto;padding-left:14px;padding-right:14px}.project-activity-feed{max-height:38dvh}.project-activity-feed>li{gap:10px}.activity-feed-marker,.activity-feed-marker .section-icon{width:30px;height:30px}.activity-feed-marker{flex-basis:30px}.project-activity-feed>li:not(:last-child)::before{left:14px;top:34px}.project-activity-feed article{padding:10px 12px}}

.project-activity-context button{gap:10px}.project-activity-context button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:540px){.project-activity-context{display:flex;flex-direction:row;align-items:flex-start;gap:10px}.project-activity-context>div{min-width:0;flex:1}.project-activity-context h3{margin-bottom:8px}.project-activity-context p{margin-bottom:0;font-size:10px}.project-activity-context button{width:44px;min-width:44px;min-height:44px;padding:10px}.project-activity-context button span{display:none}.project-activity-filters{margin-top:16px;margin-bottom:16px}}

.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.report-summary .card{display:flex;flex-direction:column;gap:8px}.report-summary strong{font-size:2rem;color:var(--navy,#123255)}.report-check{display:flex;align-items:center;gap:8px;white-space:nowrap;min-height:44px}.report-check input{width:18px;height:18px;margin:0}.task-filters.my-task-filters:has(.report-check){display:flex;flex-wrap:wrap;align-items:end}.task-filters:has(.report-check)>div:first-child{flex:1 1 220px}.report-rows{border-top:1px solid #e4e9e7}.report-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr) minmax(120px,1fr) 120px;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid #e4e9e7}.report-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;overflow-wrap:anywhere}.report-row h3{margin:0;font-size:1rem}.report-row small{color:#627476}@media(max-width:650px){.report-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-row{grid-template-columns:1fr 1fr;gap:16px}.report-row>div:first-child{grid-column:1/-1}.task-filters:has(.report-check)>div,.task-filters:has(.report-check)>button{flex:1 1 100%}.report-check{flex:1 1 100%}}

.report-heading-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.workload-list{max-height:400px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}.workload-row{padding:18px 0;border-bottom:1px solid #e4e9e7}.workload-row h3{margin:0 0 12px;overflow-wrap:anywhere}.workload-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 12px}.workload-row dt,.workload-row small{color:#627476;font-size:.8rem}.workload-row dd{margin:6px 0 0;font-size:1.3rem;font-weight:700;color:#123255}@media(max-width:600px){.report-heading-actions{width:100%}.report-heading-actions button{flex:1}.workload-list{max-height:38dvh}.workload-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

.task-title-link{color:inherit;text-decoration:none;overflow-wrap:anywhere}.task-title-link:hover{text-decoration:underline;text-underline-offset:4px}.task-detail-card h2{overflow-wrap:anywhere;max-width:100%}.task-detail-card{margin-bottom:24px}.task-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.task-detail-facts dt{color:#627476;font-size:.85rem;margin-bottom:8px}.task-detail-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}.task-detail-facts small{display:block;margin-top:6px;color:#627476;font-weight:400}.task-detail-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.task-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.task-detail-section{display:flex;align-items:center;text-align:left;gap:16px;padding:20px;min-width:0}.task-detail-section>span:first-of-type{flex:1;min-width:0}.task-detail-section strong,.task-detail-section small{display:block}.task-detail-section small{margin-top:8px;font-weight:400;line-height:1.5;color:#627476}.task-detail-section .section-icon{flex-shrink:0}@media(max-width:650px){.task-detail-facts{grid-template-columns:1fr;gap:20px}.task-detail-sections{grid-template-columns:1fr}.task-detail-section{padding:16px}.task-detail-card .card-heading-actions>div:first-child{min-width:0}}

.task-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.task-detail-facts{grid-template-columns:1fr}}

.task-detail-card>button{margin-bottom:24px}

.milestone-task-progress{display:grid;gap:8px;width:100%;margin-top:12px}.milestone-task-progress progress{width:100%;height:9px;accent-color:#07858a}.milestone-task-progress small{color:#627476}.project-context-actions{display:flex;gap:12px;margin-bottom:16px}.chat-context-link{display:block;padding:12px 20px;border-bottom:1px solid #e1e8e5}

.planning-modal{max-height:90dvh;overflow-y:auto}.planning-save{display:flex;justify-content:flex-end;margin:16px 0 24px}.planning-predecessors{list-style:none;padding:0;max-height:200px;overflow:auto}.planning-predecessors li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e1e8e5}.planning-predecessors small{display:block;color:#627476;margin-top:6px}.planning-candidates>div{display:flex;gap:12px}.planning-candidates input{flex:1;min-width:0}.planning-candidate-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.gantt-dates,.gantt-row-heading,.gantt-row-meta{display:flex;justify-content:space-between;align-items:center;gap:16px}.gantt-dates{padding:16px 0;color:#627476}.gantt-row{padding:18px 0;border-bottom:1px solid #e1e8e5}.gantt-row-heading a{font-weight:600;overflow-wrap:anywhere}.gantt-track{position:relative;height:32px;margin:14px 0;background:#eef2ee;border-radius:8px;overflow:hidden}.gantt-bar{position:absolute;top:5px;height:22px;background:#0b858a;border-radius:5px;min-width:3px}.gantt-done{background:#386a55}.gantt-blocked{background:#ae762d}.gantt-row-meta{font-size:.8rem;color:#627476}@media(max-width:650px){.planning-candidate-actions button{flex:1 1 45%}.planning-candidate-actions button:last-child{flex-basis:100%}.gantt-row-meta{align-items:flex-start;flex-direction:column;gap:6px}.task-view-switch{flex-wrap:wrap}.task-detail-card .report-heading-actions{width:100%}.task-detail-card .report-heading-actions button{flex:1 1 40%}}

.archive-filter{display:flex;align-items:center;gap:.6rem;margin:1rem 0;font-size:.85rem}.archive-filter input{width:18px;height:18px;margin:0;flex:none}.archive-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.archive-item{display:flex;align-items:center;justify-content:space-between;gap:1rem}.archive-item>span{overflow-wrap:anywhere}.checklist-item-actions{flex-wrap:wrap}.project-modal{max-height:90dvh;overflow:auto}@media(max-width:600px){.archive-actions{justify-content:flex-start}.archive-item{align-items:flex-start}.milestone-list>li{flex-wrap:wrap}.task-file-list>li{flex-wrap:wrap}}
.checklist-item-actions>button{min-height:34px;font-size:11px;padding:7px 12px}.checklist-item-row>label{flex-basis:35%}.archive-filter input{min-height:18px;accent-color:var(--wc-teal,#087f83)}.archive-actions{flex-shrink:0}@media(max-width:540px){.checklist-item-row>label{flex-basis:100%}.checklist-item-actions>button{min-height:40px}.task-file-list .archive-actions{width:100%;justify-content:flex-end}.task-file-list .archive-actions button{margin-left:0}}

.operation-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.operation-totals>div{padding:14px;border-radius:14px;background:#edf4f1;min-width:0}.operation-totals small,.operation-totals strong{display:block;overflow-wrap:anywhere}.operation-totals small{font-size:11px;margin-bottom:8px}.operation-totals strong{font-size:17px}.operation-form{padding:20px 0;border-top:1px solid var(--wc-border);margin-top:20px}.operation-form .employee-form-grid{align-items:end}.operation-form label{display:block;font-size:12px;margin-bottom:9px}.operation-form input,.operation-form select{min-height:46px;margin-bottom:0;width:100%;box-sizing:border-box}.operation-form textarea{width:100%;min-height:80px;box-sizing:border-box}.operation-inline{display:flex;align-items:stretch;gap:12px}.operation-inline input{min-width:0;flex:1}.operation-inline button{white-space:nowrap}.operation-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.operation-footer small,.operation-form>small{font-size:11px;color:var(--wc-muted)}.operation-footer button{flex-shrink:0}.operation-list{list-style:none;padding:0;max-height:300px;overflow:auto}.operation-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--wc-border)}.operation-list li>div{min-width:0}.operation-list strong,.operation-list small{display:block;font-size:12px;overflow-wrap:anywhere}.operation-list small{color:var(--wc-muted);margin-top:7px}.operation-list p{white-space:pre-wrap;font-size:12px;margin:8px 0;overflow-wrap:anywhere}.operation-list button{flex-shrink:0}.preference-options{display:grid;gap:16px;margin-bottom:24px}.preference-options label{display:flex;gap:12px;align-items:center;margin:0}.preference-options input,.operation-form .archive-filter input{width:18px;height:18px;min-height:18px;flex:none;margin:0}.operation-form .archive-filter{display:flex;align-items:center}.project-page .project-card .project-actions>button:last-child{grid-column:auto}@media(max-width:540px){.operation-totals{grid-template-columns:1fr}.operation-totals>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.operation-totals small{margin:0}.operation-footer,.operation-inline{flex-direction:column;align-items:stretch}.operation-list li{flex-wrap:wrap}.operation-list button{margin-left:auto}.operation-form .employee-form-grid{grid-template-columns:1fr}.task-file-list .archive-actions{flex-wrap:wrap}}

@media(max-width:540px){.task-file-list .archive-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center}.task-file-list .archive-actions button{width:100%;padding:8px 6px;min-height:42px;font-size:11px}.task-file-list .archive-actions .badge{text-align:center;padding:5px 4px}}

.preference-options input{accent-color:var(--wc-teal,#087f83)}

.document-library{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.document-folders{padding:22px}.document-folders h2{font-size:17px}.document-folders>button{width:100%}.document-folders ul{list-style:none;padding:0;max-height:420px;overflow:auto}.document-folders li button{width:100%;text-align:left;overflow-wrap:anywhere;margin:5px 0}.document-folders small{font-size:11px;color:var(--wc-muted)}.document-results{min-width:0}.document-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr) auto;gap:12px;align-items:end;margin:24px 0}.document-filters label{display:block;font-size:12px;margin-bottom:8px}.document-filters input,.document-filters select{height:46px;margin:0;width:100%}.document-filters button{height:46px}.document-list{list-style:none;padding:0}.document-list li{display:flex;gap:15px;align-items:center;border-bottom:1px solid var(--wc-border);padding:20px 0}.document-list li>div{flex:1;min-width:0}.document-list h3{margin:0;font-size:15px;overflow-wrap:anywhere}.document-list p{margin:8px 0;font-size:12px;overflow-wrap:anywhere}.document-list small{font-size:11px;color:var(--wc-muted)}.document-detail>h3{margin-top:24px}.document-link-picker{margin-top:20px}.document-link-picker summary{cursor:pointer;padding:12px 0;font-weight:600;font-size:13px}.document-link-picker label{margin-top:16px}.document-reviews li{align-items:flex-start;flex-wrap:wrap}.document-detail .operation-form input,.document-detail .operation-form select{margin-bottom:16px}.document-detail .archive-filter input{margin-bottom:0}.document-detail textarea{width:100%;min-height:80px}.document-folders .selected{background:#dcefed}.document-results>.card-heading-actions{flex-wrap:wrap}@media(max-width:1000px){.document-library{grid-template-columns:1fr}.document-folders ul{max-height:170px}.document-filters{grid-template-columns:minmax(0,1fr) minmax(140px,.7fr)}.document-filters>button{grid-column:1/-1}}@media(max-width:540px){.document-filters{grid-template-columns:1fr}.document-list li{flex-wrap:wrap}.document-list li>button{margin-left:auto}.document-results .archive-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.document-results .archive-actions button{width:100%;font-size:12px}.document-folders .card-heading-actions{flex-wrap:wrap}}

/* Document actions and search rows share a consistent control height. */
.document-results>.card-heading-actions>.archive-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.document-detail .operation-inline{align-items:center;margin-bottom:16px}.document-detail .operation-form .operation-inline input{margin:0;height:46px;min-height:46px}.document-detail .operation-inline button{height:46px;margin:0}.document-detail .archive-actions{display:flex;gap:10px;flex-wrap:wrap}.document-detail .archive-filter input{accent-color:var(--wc-teal)}@media(max-width:540px){.document-results>.card-heading-actions>.archive-actions{display:grid;grid-template-columns:1fr 1fr}.document-detail .operation-inline{align-items:stretch}.document-detail .operation-inline input{flex:auto}.document-detail .archive-actions>button{flex:1;white-space:normal;min-width:0}}
.document-results>.card-heading-actions>.archive-actions{flex:0 1 auto}.document-results>.card-heading-actions>div:first-child{flex:1 1 180px}

.document-kind-icon{width:38px;height:38px;flex:0 0 38px;display:block}.document-item-identity{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.document-item-identity>div{min-width:0}.microsoft-file-list li{flex-wrap:nowrap}.microsoft-file-list .document-item-identity strong{line-height:1.5}.folder-card-title{display:flex;align-items:center;gap:10px}.folder-card-title .document-kind-icon{width:30px;height:30px;flex-basis:30px}.document-folders>button,.document-folders li button{display:flex;align-items:center;gap:10px;justify-content:flex-start}.document-folders button .document-kind-icon{width:28px;height:28px;flex-basis:28px}.document-folders button span{min-width:0;overflow-wrap:anywhere;text-align:left}@media(max-width:540px){.microsoft-file-list li{flex-wrap:wrap}.microsoft-file-list .document-item-identity{flex-basis:100%}.microsoft-file-list li>button{margin-left:50px}}

@media(max-width:540px){.document-version-list .document-item-identity{flex-basis:100%}.document-version-list li>button{margin-left:50px}}

.microsoft-provider-icon{width:24px;height:24px;flex:0 0 24px;display:block}.microsoft-connect-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px}.microsoft-connect-actions>button>span{line-height:1.4}@media(max-width:540px){.microsoft-connect-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.microsoft-connect-actions>button{width:100%;justify-content:flex-start}}

.document-folders>.card-heading-actions{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px}.document-folders .folder-card-title{min-width:0;gap:8px;margin:0}.document-folders>.card-heading-actions>.folder-settings-button{width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:10px;align-self:center;box-sizing:border-box}.folder-settings-button svg{width:22px;height:22px;display:block;flex:none}

.folder-tree-scroll{max-height:420px;overflow:auto;margin:16px 0;scrollbar-gutter:stable}.folder-tree,.document-folders .folder-tree{list-style:none;padding:0;margin:0;max-height:none;overflow:visible}.folder-tree li{position:relative;margin:0;padding:0;list-style:none}.folder-tree .folder-tree-nested,.document-folders .folder-tree-nested{margin-left:14px;padding-left:16px;border-left:1px solid #b9cfc9;min-width:160px}.folder-tree-nested>li:before{content:"";position:absolute;left:-16px;top:27px;width:16px;border-top:1px solid #b9cfc9}.folder-tree-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:5px 0}.document-folders .folder-tree-select{width:100%;margin:0;min-height:44px;padding:10px;box-sizing:border-box;gap:8px}.document-folders .folder-tree-select .document-kind-icon{width:24px;height:24px;flex-basis:24px}.folder-tree-select span{font-size:12px;line-height:1.5}.folder-manager-tree{max-height:320px}.folder-manager-tree .folder-tree-row{border-bottom:1px solid var(--wc-border);min-width:180px;padding:10px 0}.folder-manager-tree strong,.folder-manager-tree small{display:block;overflow-wrap:anywhere;font-size:12px}.folder-manager-tree small{margin-top:5px;color:var(--wc-muted)}.folder-tree-actions{display:flex;gap:6px;flex:none}.folder-tree-actions>.folder-icon-action{width:40px;height:40px;min-height:40px;padding:9px;display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0;box-sizing:border-box}.folder-icon-action svg{width:20px;height:20px;flex:none}.folder-manager-tree .folder-tree-nested>li:before{top:39px}@media(max-width:1000px){.document-folders .folder-tree-scroll{max-height:240px}}@media(max-width:540px){.folder-tree-row{gap:8px}.folder-manager-tree .document-kind-icon{width:28px;height:28px;flex-basis:28px}.folder-manager-tree .folder-tree-row{min-width:180px}.folder-tree-actions>.folder-icon-action{width:36px;height:40px;padding:8px}.folder-tree .folder-tree-nested,.document-folders .folder-tree-nested{margin-left:12px;padding-left:12px}.folder-tree-nested>li:before{left:-12px;width:12px}}

.document-folders .folder-tree-nested{min-width:120px}

.document-folders .folder-tree-select span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}

.document-notification-card{margin-bottom:24px}.document-preview-section>button{margin-top:14px}.document-preview-frame{margin-top:18px;border:1px solid var(--wc-border);border-radius:12px;overflow:hidden;background:white}.document-preview-frame iframe{display:block;width:100%;height:450px;border:0;background:white}.document-preview-frame img{display:block;max-width:100%;max-height:600px;object-fit:contain;margin:auto}.document-comment-threads,.document-comment-replies{list-style:none;padding:0;margin:20px 0}.document-comment-threads>li{margin-bottom:20px}.document-comment{padding:16px;background:white;border:1px solid var(--wc-border);border-radius:12px;overflow-wrap:anywhere}.document-comment strong,.document-comment time{display:block;font-size:12px}.document-comment time{font-size:10px;color:var(--wc-muted);margin-top:6px}.document-comment p{font-size:12px;line-height:1.7;white-space:pre-wrap}.document-comment>button{font-size:11px;min-height:34px;padding:6px 12px}.document-comment-replies{margin:0 0 0 16px;padding:12px 0 0 16px;border-left:1px solid #b9cfc9}.document-comment-replies>li{position:relative;margin-bottom:12px}.document-comment-replies>li:before{content:"";position:absolute;left:-16px;top:24px;width:16px;border-top:1px solid #b9cfc9}.document-comment-replies:empty{display:none}.document-comment-composer{position:relative}.document-comment-composer textarea{min-height:110px;padding:14px 64px 14px 14px;resize:vertical}.document-comment-composer>button{position:absolute;right:10px;bottom:12px;width:42px;height:42px;min-height:42px;padding:10px;display:flex;align-items:center;justify-content:center}.document-comment-composer svg{width:22px;height:22px}.document-reply-context{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;font-size:12px}@media(max-width:540px){.document-preview-frame iframe{height:360px}.document-discussion .directory-pagination{flex-wrap:wrap;gap:8px}.document-comment-replies{margin-left:10px;padding-left:12px}.document-comment-replies>li:before{left:-12px;width:12px}}

.approval-chain{border-top:1px solid var(--border,#dde5df);padding-top:1rem;margin-top:1.25rem}.approval-stage-picker li>div:first-child,.document-reviews li>div:first-child{min-width:0;overflow-wrap:anywhere}.approval-stage-picker .archive-actions{flex-shrink:0;flex-wrap:nowrap}.approval-stage-picker button{min-width:2.5rem;padding:.5rem}.document-detail .operation-inline select{min-width:0;flex:1}@media(max-width:600px){.approval-stage-picker li,.document-reviews li{align-items:flex-start;flex-wrap:wrap}.approval-stage-picker .archive-actions{margin-left:auto}.document-reviews .archive-actions{width:100%}}
.document-detail .operation-form .operation-inline select{margin-bottom:0;height:46px;min-height:46px}.approval-chain{border-color:var(--wc-border)}

.document-extracted-preview{margin-top:20px}.office-preview-table{overflow:auto;max-height:460px;border:1px solid var(--wc-border);border-radius:12px;margin-top:16px}.office-preview-table table{border-collapse:collapse;width:100%}.office-preview-table td{border:1px solid var(--wc-border);padding:12px;min-width:120px;max-width:400px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.extracted-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;max-height:400px;overflow:auto}.document-extracted-preview .card-heading-actions{flex-wrap:wrap;gap:12px}

.workflow-template-card,.workflow-notification-card{margin-top:24px}.workflow-stage-editor{border:1px solid var(--wc-border);border-radius:16px;padding:18px;margin:24px 0;min-width:0}.workflow-stage-editor legend{font-weight:600;font-size:14px;padding:0 8px}.workflow-stage-editor details summary{cursor:pointer;padding:12px 0;font-size:13px;font-weight:600}.workflow-template-modal .operation-inline{align-items:stretch}.workflow-template-modal .operation-inline input{margin:0}.workflow-template-modal .archive-actions,.workflow-page .archive-actions{display:flex;flex-wrap:wrap;gap:10px}.workflow-template-search{flex:1;min-width:0}.workflow-template-search label{display:block;font-size:12px;margin:8px 0}.workflow-template-search input{width:100%;height:46px;margin:0}.workflow-template-card>.operation-inline{align-items:flex-end;margin-top:20px}.workflow-template-card>.operation-inline>button{height:46px}.workflow-page .card-heading-actions{flex-wrap:wrap;gap:14px}.workflow-description{white-space:pre-wrap;overflow-wrap:anywhere}.workflow-steps{max-height:480px}.workflow-steps li{align-items:flex-start;flex-wrap:wrap}.workflow-steps .archive-actions{display:flex;flex-wrap:wrap;gap:8px}.workflow-steps li>div:first-child{flex:1;min-width:160px}.workflow-template-modal .operation-inline>button{height:46px}.workflow-template-modal input,.workflow-template-modal select{width:100%;min-width:0}.workflow-page .document-list .archive-actions{flex-wrap:wrap}@media(max-width:540px){.workflow-template-card>.operation-inline{align-items:stretch}.workflow-stage-editor{padding:14px}.workflow-stage-editor .archive-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.workflow-stage-editor .archive-actions button{font-size:11px;padding:10px 5px;white-space:normal}.workflow-steps .archive-actions{width:100%}.workflow-steps .archive-actions button{flex:1}.workflow-template-card .document-list li>.archive-actions{width:100%}}

.office-preview-table{margin-bottom:18px}.workflow-request-modal .operation-form>input,.workflow-request-modal .operation-form>select,.workflow-request-modal .operation-form>textarea{margin-bottom:16px}.workflow-request-modal .operation-form>details{margin-top:12px}.workflow-request-modal .operation-inline{align-items:stretch}.workflow-request-modal .operation-inline input{margin:0}.workflow-request-modal .operation-inline button{height:46px}

.leave-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:20px 0}.leave-balance{padding:20px;border:1px solid var(--border,#dfdfd5);border-radius:16px;background:#fffdf7}.leave-balance h3{margin:0 0 12px}.leave-balance strong{font-size:1.8rem;color:#17536e}.leave-balance small{font-size:.85rem;font-weight:500}.leave-balance p{margin:12px 0 0}.leave-type-list{max-height:400px;overflow:auto;overscroll-behavior:contain}@media(max-width:600px){.leave-balances{grid-template-columns:1fr}}

.leave-filters{grid-template-columns:120px auto;justify-content:start}.leave-manager-filters{grid-template-columns:100px minmax(0,1.1fr) minmax(0,1fr) auto;justify-content:stretch}.leave-filters>div{min-width:0}.leave-filters .operation-inline{gap:8px}.leave-filters .operation-inline button{padding-inline:14px}.leave-form-modal .operation-form>label:not(:first-child){margin-top:18px}.leave-form-modal .employee-form-grid{margin:18px 0 0;align-items:start}.leave-form-modal .modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.leave-form-modal .operation-form>p{font-size:12px}.leave-form-modal .operation-inline button{height:46px}.leave-form-modal .operation-form{padding-bottom:0}
@media(max-width:1000px){.leave-manager-filters{grid-template-columns:100px minmax(0,1fr)}.leave-manager-filters>button{grid-column:auto}.leave-manager-filters>div:nth-child(3){grid-column:1/-1}.leave-manager-filters>button:last-child{grid-column:1/-1}}
@media(max-width:540px){.leave-filters,.leave-manager-filters{grid-template-columns:1fr;justify-content:stretch}.leave-manager-filters>div:nth-child(3){grid-column:auto}.leave-filters .operation-inline{flex-direction:row}.leave-form-modal .operation-inline{flex-direction:row}.leave-form-modal .operation-inline input{width:0}.leave-form-modal .modal-actions>button{flex:1}}

.leave-page>.card{margin-top:24px}.leave-page>.card>.thread-note{margin-top:18px}

.leave-calendar-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 14px;align-items:end;margin-top:24px}.leave-calendar-filters>div{min-width:0}.leave-calendar-filters label,.leave-holiday-year label{display:block;font-size:12px;margin-bottom:9px}.leave-calendar-filters input,.leave-calendar-filters select,.leave-holiday-year input{height:46px;width:100%;margin:0}.leave-calendar-filters button{height:46px}.leave-calendar-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0;font-size:11px}.leave-calendar-scroll{overflow-x:auto;border:1px solid var(--wc-border);border-radius:14px;margin:20px 0}.leave-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:700px}.leave-calendar-weekday{text-align:center;font-size:12px;font-weight:600;padding:12px;background:var(--wc-cream)}.leave-calendar-day,.leave-calendar-padding{min-height:110px;padding:9px;border-top:1px solid var(--wc-border);border-right:1px solid var(--wc-border);min-width:0;display:flex;flex-direction:column;gap:5px;background:#fff}.leave-calendar-day.non-working{background:#f1f1eb}.leave-calendar-day.is-selected{box-shadow:inset 0 0 0 2px var(--wc-teal,#23859b)}.leave-date-button{border:0;background:none;box-shadow:none;padding:4px;text-align:left;min-height:30px;color:var(--wc-ink);font-weight:600;border-radius:6px}.leave-date-button small{font-size:10px;font-weight:400}.leave-calendar-tag{display:block;padding:5px 7px;border-radius:7px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leave-calendar-tag.approved{background:#dcf0e8;color:#145548}.leave-calendar-tag.pending{background:#f6e9ca;color:#654c17}.leave-calendar-holiday{font-size:10px;color:#17536e;overflow-wrap:anywhere}.leave-calendar-day>small{font-size:10px}.leave-calendar-settings section{margin-top:24px;padding-top:20px;border-top:1px solid var(--wc-border)}.leave-calendar-settings h3{font-size:17px}.leave-weekdays{border:0;margin:16px 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.leave-weekdays legend{font-size:12px;margin-bottom:14px}.leave-weekdays label{display:flex;align-items:center;gap:9px;font-size:12px;min-height:38px}.leave-weekdays input{width:18px;height:18px;margin:0;flex:none}.leave-holiday-year{align-items:end;max-width:350px}.leave-holiday-year>div{min-width:0;flex:1}.leave-holiday-year button{height:46px}.leave-calendar-settings .operation-form{margin-bottom:20px}.leave-holiday-list{max-height:300px;overflow:auto;margin-top:20px}.leave-holiday-list h4{margin:0;font-size:13px}.leave-holiday-list .archive-actions{flex:none;display:flex;gap:8px}.leave-icon-action{padding:8px;width:38px;min-height:38px}.leave-icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.leave-calendar-settings .operation-form h4{margin:0 0 18px}.leave-calendar-settings .employee-form-grid{margin-bottom:20px;align-items:end}
@media(max-width:900px){.leave-calendar-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.leave-calendar-filters{grid-template-columns:1fr 1fr}.leave-calendar-filters>div:nth-child(n+3){grid-column:1/-1}.leave-weekdays{grid-template-columns:repeat(2,minmax(0,1fr))}.leave-holiday-year{flex-direction:row;align-items:end}.leave-holiday-year input{min-width:0}.leave-holiday-list li{flex-wrap:nowrap}.leave-calendar-grid{min-width:630px}}

.leave-calendar-filters input,.leave-calendar-filters select{min-width:0;box-sizing:border-box}.leave-calendar-mobile-hint{display:none}@media(max-width:700px){.leave-calendar-mobile-hint{display:block}}

.leave-policy-fields{border:0;padding:0;margin:0;min-width:0}.leave-policy-fields legend{font-size:15px;font-weight:600;margin-bottom:20px}.leave-policy-fields h3,.leave-policy-modal>h3{font-size:17px;margin:24px 0 18px}.leave-policy-fields input,.leave-policy-fields select{margin-bottom:0;min-width:0}.leave-policy-fields .employee-form-grid{margin-bottom:18px;align-items:start}.leave-policy-fields .thread-note{margin:16px 0}.leave-policy-modal .modal-actions{display:flex;justify-content:flex-end;margin-top:20px}.leave-policy-modal .document-list h4{font-size:13px;margin:0}.leave-credit-list{max-height:300px;overflow:auto}.leave-balance>button{margin-top:18px;font-size:12px;min-height:42px}.document-list li>.leave-request-actions{flex:0 1 auto;max-width:460px;gap:8px;justify-content:flex-end}.leave-request-actions a,.leave-request-actions button{min-height:44px;font-size:12px;display:inline-flex;align-items:center;justify-content:center}.leave-form-modal>p{font-size:12px;line-height:1.8}@media(max-width:700px){.document-list li>.leave-request-actions{max-width:none;flex-basis:100%;width:100%;justify-content:flex-start}.leave-request-actions a,.leave-request-actions button{flex:1 1 120px}.leave-policy-modal .employee-form-grid{grid-template-columns:1fr}}

.leave-policy-fields .leave-carry-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.leave-policy-fields input,.leave-policy-fields select{height:46px}.leave-policy-fields label{display:block;margin-bottom:9px}@media(max-width:700px){.leave-policy-fields .leave-carry-fields{grid-template-columns:1fr}}

.expense-page>.card{margin-top:24px}.expense-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;align-items:end;margin:24px 0 16px}.expense-filters label,.expense-fields label,.expense-modal>label,.expense-action-section label{display:block;margin:0 0 9px;font-size:12px}.expense-filters input,.expense-filters select,.expense-filters button{height:46px;margin:0;width:100%;min-width:0}.expense-page .card-heading-actions,.expense-modal .card-heading-actions{gap:16px;flex-wrap:wrap}.expense-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:22px 0}.expense-totals article{padding:18px;background:var(--wc-cream);border-radius:14px}.expense-totals p{display:flex;justify-content:space-between;gap:16px;font-size:12px}.expense-claims li>div{min-width:0;flex:1}.expense-claims li>button{flex:none}.expense-fields{border:0;padding:0;margin:0;min-width:0}.expense-modal input:not([type=file]),.expense-modal select{height:46px;width:100%;margin:0 0 18px;min-width:0}.expense-modal textarea{width:100%;margin:0 0 18px}.expense-modal .employee-form-grid{align-items:start;gap:18px}.expense-modal .operation-inline input{margin:0}.expense-modal .operation-inline button{height:46px}.expense-modal .modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.expense-line-editor{border:1px solid var(--wc-border);padding:18px;border-radius:14px;margin:18px 0}.expense-line-editor h4{margin:0}.expense-line-editor>.employee-form-grid{margin-top:18px}.expense-line-total{text-align:right;font-weight:600}.expense-detail-total{font-size:28px;font-weight:700;color:var(--wc-ink)}.expense-action-section{border-top:1px solid var(--wc-border);padding-top:20px;margin-top:24px}.expense-action-section .operation-inline{margin-bottom:18px}.expense-files .archive-actions{display:flex;gap:8px;flex-wrap:wrap}.expense-category-list{max-height:350px;overflow:auto}.expense-category-list .archive-actions{display:flex;gap:8px}.expense-modal h4{font-size:13px;margin:0}.expense-modal>.archive-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:700px){.expense-filters{grid-template-columns:1fr 1fr}.expense-filters>div:nth-child(3),.expense-filters>div:nth-child(4){grid-column:1/-1}.expense-modal .employee-form-grid{grid-template-columns:1fr}.expense-claims li,.expense-files li{flex-wrap:wrap}.expense-files .archive-actions{width:100%}.expense-claims li>button{margin-left:auto}.expense-modal .modal-actions button{flex:1}.expense-page .card-heading-actions>.archive-actions{display:flex;flex-wrap:wrap;gap:10px}.expense-category-list li{flex-wrap:wrap}}

.expense-modal>h3{margin-top:26px;margin-bottom:18px}.expense-modal>.archive-actions{margin-bottom:24px}.expense-modal .expense-detail-total{font-size:28px;font-weight:700}.expense-files li>div:not(.archive-actions){flex:1;min-width:0}.expense-files li>.archive-actions{flex:0 0 auto;margin-left:auto}@media(max-width:700px){.expense-files li>.archive-actions{flex:1 0 100%;justify-content:flex-end}.expense-files li>.menu-icon{flex:none}}

.expense-filters>div{min-width:0}.expense-filters input,.expense-filters select,.expense-modal input:not([type=file]),.expense-modal select,.expense-modal textarea{box-sizing:border-box;max-width:100%;min-width:0}.expense-page .card-heading-actions>.archive-actions{display:flex;flex:0 0 auto;gap:10px}

html[lang="zh-Hans"] body{font-family:Sora,"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif}.language-selector{position:relative;display:inline-flex;align-items:center;min-width:0}.language-selector select{width:140px;height:42px;padding:7px 28px 7px 10px;margin:0;border-radius:12px;box-sizing:border-box;font:inherit;font-size:12px;min-width:0}.language-error{position:absolute;top:100%;right:0;min-width:200px;padding:10px;background:#fff;color:#963c37;border-radius:10px}.public-language-actions{display:flex;gap:18px;align-items:center}.culture-card{margin-block:24px;padding:24px}.culture-fields{border:0;padding:0;margin:24px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}.culture-fields>div{min-width:0}.culture-fields label{display:block;font-size:12px;margin-block-end:9px}.culture-fields select{height:46px;width:100%;min-width:0;box-sizing:border-box;margin:0}.culture-fields>label,.culture-fields>select{grid-column:1/-1}.workspace-alert-controls{gap:8px}@media(max-width:700px){.culture-fields{grid-template-columns:1fr}.public-language-actions{gap:10px}.language-selector select{width:100px;font-size:11px}.workspace-alert-controls .language-selector select{width:88px}.culture-card{padding:20px}.workspace-top{padding-inline-end:220px!important}}

.workspace .workspace-top{padding-inline-end:320px}.public-header{flex-wrap:wrap;gap:16px}.public-language-actions{margin-inline-start:auto}@media(max-width:700px){.workspace .workspace-top{padding-top:64px;padding-inline:18px!important;min-height:112px;justify-content:flex-start}.public-language-actions{width:100%;justify-content:space-between}.workspace-alert-controls{top:10px;right:16px}.culture-fields select{max-width:100%}}

/* CRM shares the cream/navy/teal workspace language. */
.crm-tabs,.crm-record-meta,.crm-reference-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.crm-tabs .is-active{background:#e6f3ef;border-color:#327c81;color:#153956}.crm-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:24px 0}.crm-filters>div{flex:1;min-width:180px}.crm-filters label:not(.crm-check){display:block;margin-bottom:8px}.crm-check{display:flex;align-items:center;gap:8px;min-height:46px;margin:0}.crm-check input{width:18px;height:18px;margin:0}.crm-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px}.crm-record{border:1px solid #dce6e3;border-radius:18px;padding:20px;min-width:0}.crm-record-heading{display:flex;align-items:center;gap:12px}.crm-record-heading>div{flex:1;min-width:0}.crm-record h2{font-size:1.1rem;margin:0;overflow-wrap:anywhere}.crm-record p{margin:6px 0}.crm-record-meta{font-size:.85rem;margin:16px 0;overflow-wrap:anywhere}.crm-record .member-row-actions{flex-wrap:wrap}.crm-due{color:#9c4923;font-weight:650}.crm-modal{width:min(660px,calc(100vw - 32px));box-sizing:border-box}.crm-reference{margin:16px 0}.crm-reference-search input{flex:1;min-width:120px}.crm-reference small{display:block;margin-top:6px}.crm-timeline{list-style:none;padding:0 0 0 18px;border-left:2px solid #b9d8cf;margin:20px 0}.crm-timeline li{position:relative;padding:0 0 20px 8px}.crm-timeline li:before{content:"";position:absolute;left:-25px;top:5px;width:10px;height:10px;border-radius:50%;background:#327c81}.crm-timeline time{display:block;color:#64737b;font-size:.8rem}.crm-timeline p,.crm-notes{white-space:pre-wrap;overflow-wrap:anywhere}.crm-modal .employee-form-grid>div{min-width:0}.crm-modal .modal-heading h2{overflow-wrap:anywhere}
@media(max-width:600px){.crm-filters{align-items:stretch}.crm-filters>div{flex-basis:100%;min-width:0}.crm-filters>button{width:100%}.crm-directory .card-heading-actions{align-items:stretch;flex-direction:column}.crm-tabs{gap:8px}.crm-tabs>button{flex:1;padding:10px 8px}.crm-record{padding:16px}.crm-modal .employee-form-grid{grid-template-columns:1fr}.crm-modal .modal-heading{gap:10px}.crm-modal h2{font-size:1.15rem}}

.crm-directory .card-heading-actions{flex-wrap:wrap;align-items:flex-start}.crm-directory .card-heading-actions>.crm-tabs{flex:1 1 420px;gap:8px}.crm-tabs>button{flex:1 1 90px;min-width:0;white-space:normal;overflow-wrap:anywhere;min-height:46px;padding:10px 12px;font-size:.82rem}@media(max-width:600px){.crm-directory .card-heading-actions>.crm-tabs{flex-basis:auto;width:100%}.crm-tabs>button{flex:1 1 0}}

@media(max-width:600px){.crm-tabs>button{padding:10px 6px;font-size:.78rem;white-space:nowrap;overflow-wrap:normal}}

.crm-page-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 20px}.crm-followups{margin-bottom:24px}.crm-plan-list{list-style:none;margin:0;padding:0}.crm-plan-list>li{display:flex;align-items:center;gap:20px;padding:22px 0;border-top:1px solid var(--wc-border);flex-wrap:wrap}.crm-plan-list>li>div:first-child{flex:1 1 300px;min-width:0}.crm-plan-list h3{margin:0;font-size:1rem;overflow-wrap:anywhere}.crm-plan-list p{margin:8px 0}.crm-plan-dates{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.85rem}.crm-plan-list .member-row-actions{flex-wrap:wrap}.crm-followups .card-heading-actions{flex-wrap:wrap}.crm-followups .card-heading-actions>div{flex-basis:300px}.crm-modal input,.crm-modal textarea,.crm-modal select{box-sizing:border-box;max-width:100%}@media(max-width:600px){.crm-plan-list>li>.member-row-actions{width:100%}.crm-plan-list .member-row-actions>button{flex:1}.crm-followups .card-heading-actions>div{flex-basis:auto}.crm-followups .directory-pagination{gap:8px}.crm-followups .crm-filters>div{min-width:0}}

.crm-modal .modal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.crm-modal .modal-actions>button{min-height:46px;margin:0}@media(max-width:600px){.crm-modal .modal-actions>button{flex:1 1 110px}}

.company-culture-card{padding:20px 24px}.company-culture-card h2{margin:0 0 8px}.company-culture-card>p{margin:0 0 16px}.company-culture-card form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.company-culture-card .culture-fields{flex:1 1 240px;grid-template-columns:1fr;margin:0;max-width:400px}.company-culture-card form>button{min-height:46px;margin:0}@media(max-width:600px){.company-culture-card{padding:20px}.company-culture-card .culture-fields{max-width:none}.company-culture-card form>button{width:100%}}

.crm-pipeline{margin-bottom:24px}.crm-pipeline .card-heading-actions{flex-wrap:wrap;gap:16px}.crm-pipeline .card-heading-actions>div{flex:1;min-width:220px}.crm-pipeline-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:24px 0}.crm-pipeline-totals article{background:#f4f8f5;border:1px solid var(--wc-border);padding:18px;border-radius:16px}.crm-pipeline-totals h3{margin:0 0 12px}.crm-pipeline-totals dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0;font-size:12px}.crm-pipeline-totals dd{margin:0;text-align:end;font-weight:600;overflow-wrap:anywhere}.crm-pipeline .crm-record h3{margin:0}.crm-stage-list{max-height:240px;overflow:auto;margin:20px 0;padding-right:6px}.crm-stage-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--wc-border)}.crm-stage-list span{min-width:0;overflow-wrap:anywhere}.crm-stage-list button{flex-shrink:0}.crm-forecast{margin:24px 0}.crm-forecast summary{cursor:pointer;font-weight:600}.crm-forecast-list{max-height:320px;overflow:auto;margin-top:16px}.crm-forecast-list>div{display:flex;flex-wrap:wrap;gap:12px;padding:14px 0;border-bottom:1px solid var(--wc-border);font-size:12px}.crm-forecast-list strong{flex:1 1 160px}.crm-pipeline .member-row-actions{flex-wrap:wrap}@media(max-width:600px){.crm-pipeline-totals{grid-template-columns:1fr}.crm-pipeline-totals dl{grid-template-columns:1fr}.crm-pipeline-totals dd{text-align:start}.crm-pipeline .member-row-actions>button{flex:1 1 110px}.crm-forecast-list>div{flex-direction:column}.crm-forecast-list strong{flex-basis:auto}}

/* One shared workspace navbar: page context and account controls share a baseline. */
.workspace-global-bar{position:sticky;top:0;z-index:85;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 28px;min-height:78px;background:#fff;border-bottom:1px solid var(--wc-border);box-sizing:border-box;flex-shrink:0}
.workspace-page-context{min-width:0;flex:1}.workspace-global-bar .workspace-top{position:static;min-height:0;padding:0!important;border:0;background:transparent;gap:16px;flex-wrap:wrap;display:flex;font-size:12px}.workspace-global-bar .workspace-top>span{min-width:0;overflow-wrap:anywhere}.workspace-global-bar .workspace-top .button,.workspace-global-bar .workspace-top button{min-height:44px;margin:0;padding:10px 16px}.workspace-global-bar .workspace-top>.my-profile-header-actions:empty{display:none}
.workspace-account-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}.workspace-global-bar .workspace-alert-controls{position:static;display:flex;align-items:center;gap:8px}.workspace-global-bar .language-selector select{width:180px;height:44px;min-height:44px;margin:0}.workspace-global-bar .workspace-signout{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;min-height:44px;padding:10px 14px;margin:0;white-space:nowrap}.workspace-signout svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.workspace-global-bar .workspace-alert-controls button{width:44px;height:44px;min-height:44px;margin:0;padding:10px}.workspace-signout-error{position:absolute;right:28px;top:100%;max-width:min(420px,calc(100vw - 32px));margin:8px 0;box-shadow:var(--wc-shadow)}
@media(max-width:1100px){.workspace-global-bar{gap:16px;padding:14px 20px}.workspace-global-bar .workspace-signout>span{display:none}.workspace-global-bar .workspace-signout{width:44px;padding:10px}.workspace-global-bar .language-selector select{width:160px}}
@media(max-width:700px){.workspace-global-bar{flex-wrap:wrap;gap:12px;padding:12px 16px;min-height:68px}.workspace-account-controls{order:0;width:100%;gap:12px}.workspace-global-bar .workspace-alert-controls{flex:1;min-width:0}.workspace-global-bar .language-selector{flex:1}.workspace-global-bar .language-selector select{width:100%;min-width:0}.workspace-global-bar .workspace-alert-controls button{flex:0 0 44px}.workspace-page-context{order:1;flex-basis:100%}.workspace-page-context:not(:has(a,button,input,select)){display:none}.workspace-global-bar .workspace-top{justify-content:flex-start;gap:8px}.workspace-global-bar .workspace-top>span:first-child{display:none}.workspace-body main,.workspace-body h1{scroll-margin-top:136px}.workspace:has(.chat-page) .workspace-global-bar{flex-shrink:0}}

.crm-customer-tabs{flex-wrap:wrap;margin:20px 0}.crm-customer-tabs>button{flex:1 1 110px}.crm-pipeline .operation-list .member-row-actions{flex-wrap:wrap}

.crm-import-preview{max-height:260px;overflow:auto;padding:12px 28px;border:1px solid var(--wc-border);border-radius:12px}.crm-import-preview li{padding:8px 0}.crm-pipeline code{display:block;white-space:normal;overflow-wrap:anywhere;font-size:11px;margin:12px 0}

.crm-quote-line{border:1px solid var(--wc-border);border-radius:14px;padding:16px;margin:16px 0;min-width:0}.crm-quote-line legend{font-size:12px;padding:0 6px}.crm-quote-detail{border-top:1px solid var(--wc-border);margin-top:24px;padding-top:20px}.crm-quote-snapshot{margin:16px 0;padding:16px;border:1px solid var(--wc-border);border-radius:14px}.crm-quote-snapshot summary{cursor:pointer;font-weight:600}.crm-quote-line .member-row-actions{justify-content:space-between}

/* Customer portal uses the same cream, navy and teal foundations. */
.portal-shell{max-width:1100px;margin:auto;padding:24px;display:grid;gap:20px}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.portal-shell .card{padding:24px}.portal-shell textarea{width:100%}@media(max-width:600px){.portal-shell{padding:16px;gap:16px}.portal-shell .card{padding:16px}.portal-header .member-row-actions{flex-wrap:wrap}}

.crm-page-actions button[aria-pressed="true"]{background:#e6f3ef;border-color:#327c81;color:#153956}

.portal-header .brand{width:190px;max-width:100%;height:auto}.portal-header .member-row-actions{gap:12px}.portal-header .language-selector{width:210px;max-width:100%}.portal-header .language-selector select{width:100%;min-width:0}@media(max-width:600px){.portal-header{display:grid;grid-template-columns:1fr;gap:16px}.portal-header .member-row-actions{width:100%;justify-content:space-between;flex-wrap:nowrap}.portal-header .language-selector{flex:1;min-width:0;max-width:230px}.portal-header .brand{width:180px}}
.billing-page{display:grid;gap:24px}.billing-page .page-heading{margin-bottom:0}.billing-summary{display:flex;justify-content:space-between;gap:24px;align-items:center}.billing-actions,.billing-interval{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.billing-actions button,.billing-actions .button,.billing-interval button{min-height:46px}.billing-interval [aria-pressed=true]{background:var(--wc-primary);color:white}.billing-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.billing-plan{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--wc-border);border-radius:18px;gap:8px}.billing-plan h3,.billing-plan p{margin:0}.billing-plan .primary{margin-top:16px;width:100%;min-height:46px}.billing-price{font-size:1.3rem;font-weight:700}.billing-consent{display:flex;align-items:flex-start;gap:12px;margin:24px 0 12px}.billing-consent input{width:20px;height:20px;flex:none}.billing-invoices article{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--wc-border);padding:20px 0}.billing-invoices strong{overflow-wrap:anywhere}.billing-invoices article>div:last-child{text-align:right}@media(max-width:760px){.billing-plans{grid-template-columns:1fr}.billing-summary{align-items:stretch;flex-direction:column}.billing-invoices article{align-items:flex-start;flex-direction:column}.billing-invoices article>div:last-child{text-align:left}.billing-page .card-heading-actions{flex-wrap:wrap;gap:16px}.billing-actions>*{flex:1}}
.billing-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--wc-border)}.billing-notice strong{overflow-wrap:anywhere}.billing-page form .billing-actions{margin-top:20px}.billing-invoices .button,.billing-invoices button{min-height:46px;margin:4px 0 4px 8px}@media(max-width:760px){.billing-notice{align-items:stretch;flex-direction:column}.billing-invoices .button,.billing-invoices button{margin-left:0;margin-right:8px}}

.billing-plan button{width:100%}
.public-pricing{margin:58px 0 60px;scroll-margin-top:30px}.public-pricing-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:22px}.public-pricing-heading>div:first-child{max-width:660px}.public-pricing-heading .eyebrow{margin-bottom:12px}.public-pricing-heading h2{font-size:clamp(26px,3vw,36px);margin-bottom:12px}.public-pricing-heading p{margin-bottom:0}.public-pricing-heading .billing-interval{flex-shrink:0}.public-pricing-trial{padding:16px 20px;border-radius:14px;background:#e8f3ed;color:var(--wc-ink);margin-bottom:24px}.public-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.public-price-card{display:flex;flex-direction:column;padding:28px;position:relative;min-width:0}.public-price-featured{border-color:var(--wc-primary);box-shadow:0 10px 30px #08727b10}.public-price-heading{display:flex;gap:14px;align-items:center;margin-bottom:14px}.public-price-heading h3{font-size:23px;margin:0}.public-price-description{min-height:54px;margin-bottom:20px;font-size:14px}.public-price-amount{font-size:clamp(24px,2.4vw,32px);font-weight:700;letter-spacing:-.04em;line-height:1.3;overflow-wrap:anywhere;color:var(--wc-ink);font-variant-numeric:tabular-nums}.public-price-period{font-size:12px;margin:8px 0 20px}.public-price-seats{font-weight:600;color:var(--wc-primary);padding-bottom:18px;border-bottom:1px solid var(--wc-border);margin-bottom:18px}.public-price-card ul{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:14px;flex:1}.public-price-card li{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;color:var(--wc-ink)}.public-price-card li svg{width:18px;height:18px;flex:none;margin-top:2px;stroke:var(--wc-primary);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.public-price-card>.button{width:100%;margin-top:auto;min-height:48px}.public-pricing-footnote{text-align:center;font-size:12px;margin:22px 0 0}@media(max-width:1000px){.public-pricing-heading{align-items:flex-start;flex-direction:column}.public-price-card{padding:22px}.public-pricing-grid{gap:16px}}@media(max-width:760px){.public-pricing{margin:36px 0 40px}.public-pricing-grid{grid-template-columns:1fr}.public-price-description{min-height:0}.public-price-amount{font-size:30px}.public-price-card{padding:26px}.public-pricing-heading .billing-interval{width:100%}.public-pricing-heading .billing-interval button{flex:1}.public-pricing-trial{font-size:13px}}

.public-pricing-heading h2{text-wrap:balance;white-space:pre-line}
.case-page{display:grid;gap:24px}.case-page .page-heading{margin-bottom:0}.case-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(140px,1fr));gap:16px;align-items:end;margin:24px 0}.case-filters .crm-check{align-self:center;margin:0}.case-filters button{justify-self:start}.case-records{display:grid;gap:18px}.case-record{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border:1px solid var(--wc-border);border-radius:18px}.case-record>div:first-child{flex:1;min-width:0}.case-record h3{margin:10px 0 6px;overflow-wrap:anywhere}.case-record p{margin-bottom:12px}.case-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;margin-bottom:14px}.case-page progress,.portal-case-updates progress{display:block;max-width:100%;width:100%;height:10px;accent-color:var(--wc-primary);margin:10px 0 20px}.case-page .member-row-actions,.case-stage-modal .modal-actions{gap:12px;flex-wrap:wrap}.case-record>.member-row-actions{flex-shrink:0}.case-items{list-style:none;margin:20px 0 30px;padding:0}.case-items>li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--wc-border)}.case-item-label{display:flex;align-items:flex-start;gap:14px;min-width:0}.case-item-label>input{width:20px;height:20px;flex:none;margin-top:4px}.case-item-label p{margin:5px 0 0;font-size:12px}.case-item-label strong{overflow-wrap:anywhere}.case-stage-move{display:flex;gap:12px;align-items:end;margin:22px 0 30px}.case-stage-move>div{flex:1;max-width:360px}.case-detail-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:32px}.case-detail-columns form .member-row-actions{margin:16px 0}.case-timeline{list-style:none;border-left:2px solid var(--wc-border);padding-left:22px;margin:26px 0}.case-timeline li{position:relative;padding:0 0 24px}.case-timeline li:before{content:'';position:absolute;left:-29px;top:7px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:var(--wc-primary)}.case-timeline p{margin:5px 0}.case-public-update{padding:20px 0;border-bottom:1px solid var(--wc-border)}.case-public-update h4{margin:0 0 8px}.case-public-update p{margin-bottom:10px}.case-stage-modal{max-width:960px}.case-stage-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px}.case-stage-list{max-height:440px;overflow:auto;padding-right:8px}.case-stage-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--wc-border);padding:16px 0}.case-stage-list p{font-size:12px;margin:5px 0 0}.portal-case-updates .card{margin:20px 0}.case-page .case-details>p.crm-notes{white-space:pre-wrap}@media(max-width:1100px){.case-record{align-items:flex-start;flex-direction:column}.case-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.case-filters,.case-detail-columns,.case-stage-layout{grid-template-columns:1fr}.case-stage-list{max-height:240px}.case-items>li{align-items:flex-start;flex-direction:column}.case-record{padding:20px}.case-stage-move{align-items:stretch;flex-direction:column}.case-stage-move>div{max-width:none}.case-page .card-heading-actions{flex-wrap:wrap;gap:16px}.case-record .member-row-actions{width:100%}.case-record .member-row-actions>*{flex:1}.case-page .card{min-width:0}}

.case-details>.card-heading-actions{flex-wrap:wrap;align-items:flex-start}.case-details>.card-heading-actions h2{min-width:0;max-width:100%;overflow-wrap:anywhere}.case-item-label>div,.case-stage-list article>div{min-width:0;overflow-wrap:anywhere}.case-public-update h4,.portal-case-updates h3{overflow-wrap:anywhere}

.case-items{max-height:540px;overflow:auto;padding-right:8px}.case-filters>button{grid-column:-2 / -1;justify-self:end}

/* Reports: shared rows and actions remain aligned at narrow widths. */
.overview-page{display:grid;gap:24px}.overview-page .page-heading{margin-bottom:0}.overview-filters form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}.overview-filters label{display:block;margin-bottom:7px}.overview-filters input,.overview-filters select{width:100%;min-height:46px;box-sizing:border-box}.overview-filter-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.overview-filter-actions button{min-height:46px}.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.overview-metric{display:grid;grid-template-columns:40px 1fr;text-align:left;gap:10px;min-width:0;white-space:normal;background:var(--wc-surface,#fff);color:var(--wc-ink,#153956);padding:22px;box-shadow:none}.overview-metric strong{font-size:2rem;grid-column:2}.overview-metric small{grid-column:1/-1;font-weight:400;line-height:1.7;color:var(--wc-muted)}.overview-metric.selected{outline:2px solid #168b88;outline-offset:1px}.overview-metric .menu-icon{width:36px;height:36px}.overview-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.overview-values>div{display:grid;gap:8px;padding:12px;background:#f7f6f0;border-radius:12px;overflow-wrap:anywhere}.overview-record{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:24px;padding:22px 0;border-bottom:1px solid #e3ece8;align-items:start;overflow-wrap:anywhere}.overview-record h3{margin-top:0}.overview-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.overview-record dt{font-size:.78rem;color:var(--wc-muted)}.overview-record dd{margin:7px 0 0}.overview-record p{margin:10px 0}.overview-page .card-heading-actions{gap:16px;flex-wrap:wrap}.overview-page .directory-pagination{gap:12px}.overview-page .deadline-context{margin:0}.overview-page .thread-note{line-height:1.8}
@media(max-width:900px){.overview-filters form,.overview-values{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-record{grid-template-columns:1fr}.overview-filter-actions{grid-column:1/-1}}
@media(max-width:540px){.overview-filters form,.overview-values{grid-template-columns:1fr}.overview-metrics{grid-template-columns:1fr}.overview-metric{padding:20px}.overview-record dl{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-page .card-heading-actions>button{width:100%}.overview-filter-actions button{flex:1}.overview-page .card{min-width:0}}

.overview-filter-actions{align-items:stretch}.overview-filter-actions button{display:flex;align-items:center;justify-content:center;font-size:.82rem;line-height:1.45;padding:10px 12px;white-space:normal}

.overview-card-action{grid-column:1/-1;color:#176f73;font-size:.8rem;font-weight:650}.overview-drilldown{width:min(1000px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto}.overview-drilldown .modal-heading{gap:16px;align-items:flex-start}.overview-drilldown .modal-heading h2{margin:0;overflow-wrap:anywhere}.overview-drilldown .modal-close{flex-shrink:0}.overview-drilldown .card-heading-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.overview-drilldown .thread-note{line-height:1.8}.overview-drilldown .directory-pagination{gap:12px}.overview-drilldown .overview-record:last-child{margin-bottom:20px}@media(max-width:540px){.overview-drilldown .card-heading-actions>button{width:100%}.overview-drilldown .modal-heading h2{font-size:1.2rem}.overview-drilldown .overview-record dl{grid-template-columns:1fr 1fr}}

.overview-drilldown .modal-heading{margin-bottom:16px}

.overview-drilldown{height:min(660px,calc(100dvh - 32px));overflow:hidden}.overview-drilldown[open]{display:flex;flex-direction:column}.overview-drilldown .modal-heading{flex:0 0 auto}.overview-dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}.overview-dialog-body>.thread-note{font-size:.8rem}.overview-dialog-body .card-heading-actions>p{font-size:.85rem}

html:has(.overview-page){scrollbar-gutter:stable}

/* GeoView: compact controls, bounded lists, illustrative map and mobile fallback. */
.geo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.7rem 0}.geo-actions h3{margin:0 auto 0 0}.geo-toolbar{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:.9rem;margin:1rem 0;align-items:end}.geo-toolbar input,.geo-toolbar select{width:100%;min-width:0}.geo-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.25rem;align-items:start}.geo-scene-card{min-width:0;overflow:hidden}.geo-canvas{height:480px;width:100%;border-radius:18px;overflow:hidden;background:#f8f4eb;touch-action:none}.geo-canvas canvas{display:block;width:100%;height:100%;outline-offset:-4px}.geo-map-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.geo-map-controls button{min-width:42px}.geo-panels{display:grid;gap:1rem}.geo-panels .card{min-width:0}.geo-own form{display:grid;gap:.65rem}.geo-own form label:not(.geo-check){margin:0 0 -.35rem}.geo-own form p{margin-bottom:0}.geo-check{display:flex;align-items:center;gap:.6rem;margin:.8rem 0;line-height:1.5}.geo-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:0;accent-color:#159c8c}.geo-directory{max-height:380px;overflow:auto;overscroll-behavior:contain;padding-right:.3rem}.geo-row{display:flex!important;align-items:center;gap:.75rem;width:100%;text-align:start;min-height:64px;margin-bottom:.5rem;border:1px solid #dbe5de!important;border-radius:12px!important;padding:.65rem!important;white-space:normal!important}.geo-row>span:nth-child(2){flex:1;min-width:0}.geo-row strong{display:block;overflow-wrap:anywhere}.geo-row small{display:block;font-weight:400;color:#596e73;margin-top:.25rem}.geo-row.selected{background:#e4f3ed!important}.geo-avatar{display:grid;place-items:center;width:36px;height:36px;background:#d7ece4;border-radius:12px;color:#17445e;flex-shrink:0}.geo-notice{font-size:.85rem;background:#f7f3e9;padding:.8rem;border-radius:10px;white-space:pre-wrap}.geo-modal{width:min(920px,calc(100vw - 28px));max-height:90dvh}.geo-dialog-body{max-height:calc(88dvh - 90px);min-height:280px;overflow:auto;padding:0 .25rem .5rem}.geo-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:end}.geo-admin-grid input,.geo-admin-grid select{width:100%}.geo-dialog-body form>label:not(.geo-check){display:block;margin-top:.8rem}.geo-dialog-body textarea,.geo-dialog-body form>input,.geo-dialog-body form>select{width:100%}.geo-admin-split{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:1.25rem}.geo-admin-list{max-height:420px;overflow:auto;overscroll-behavior:contain}.geo-history{display:grid;gap:.4rem;padding:1rem 0;border-bottom:1px solid #dce6df}.geo-form-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.8rem;padding-top:1rem;margin-top:.8rem}.geo-dialog-body details{margin:1rem 0}.geo-dialog-body summary{cursor:pointer;color:#17536e}.geo-page .badge{white-space:normal}
@media(max-width:1100px){.geo-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.geo-workspace{grid-template-columns:minmax(0,1fr) 280px}.geo-canvas{height:420px}}
@media(max-width:760px){.geo-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-toolbar>div:first-child{grid-column:1/-1}.geo-workspace{grid-template-columns:1fr}.geo-panels{grid-template-columns:1fr}.geo-canvas{height:330px}.geo-admin-split{grid-template-columns:1fr}.geo-admin-list{max-height:220px}.geo-admin-grid{grid-template-columns:1fr}.geo-directory{max-height:300px}.geo-row .badge{font-size:.7rem}.geo-dialog-body{max-height:calc(88dvh - 90px)}}

.geo-tabs [role=tab][aria-selected=true]{background:#dcefe7;border-color:#328578;box-shadow:inset 0 0 0 1px #328578,0 3px 0 #b4d5ca;color:#174b54}.geo-field-error{display:block;color:#a22d32;font-size:.8rem;line-height:1.5;margin-top:.35rem}.geo-field-error:empty{display:none}.geo-modal [aria-invalid=true]{border-color:#a22d32;outline-color:#a22d32}

.geo-modal[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 40px)}.geo-modal .modal-heading{flex:0 0 auto}.geo-modal .geo-dialog-body{flex:1 1 auto;min-height:0;max-height:none;overflow:auto}

/* Purchasing: bounded modal bodies, aligned form controls and readable financial tables. */
.purchase-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1rem 0}.purchase-toolbar h3,.purchase-toolbar p{margin:0}.purchase-view-tabs,.purchase-row-actions,.purchase-form-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.purchase-view-tabs .selected{background:#dcefe7;border-color:#328578}.purchase-filter{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) auto;gap:1rem;align-items:end}.purchase-filter label{margin:0 0 .4rem}.purchase-filter input,.purchase-filter select{width:100%}.purchase-table-wrap{width:100%;overflow:auto;overscroll-behavior:contain;margin:1rem 0}.purchase-table{width:100%;border-collapse:collapse;text-align:start;font-size:.84rem}.purchase-table th{font-weight:600;background:#f3f7f3;color:#395c66}.purchase-table th,.purchase-table td{padding:.9rem .75rem;border-bottom:1px solid #dce5df;vertical-align:top}.purchase-table small{display:block;white-space:normal;overflow-wrap:anywhere;margin-top:.3rem;color:#5b7277}.purchase-table .numeric{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}.purchase-table td>input{min-width:110px;width:100%}.purchase-table details{min-width:130px;margin-top:.6rem}.purchase-table details[open]{min-width:320px}.purchase-table summary{cursor:pointer;color:#17536e}.purchase-table .purchase-row-actions{flex-wrap:nowrap;white-space:nowrap}.purchase-text{white-space:pre-wrap;overflow-wrap:anywhere}.purchase-modal{width:min(800px,calc(100vw - 28px))}.purchase-modal.purchase-wide{width:min(1040px,calc(100vw - 28px))}.purchase-modal[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 40px)}.purchase-modal .modal-heading{flex:0 0 auto}.purchase-modal-body{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1 1 auto;padding:0 .35rem .7rem}.purchase-modal-body form>label{display:block;margin:.85rem 0 .35rem}.purchase-modal-body input:not([type=checkbox]),.purchase-modal-body select,.purchase-modal-body textarea{width:100%;min-width:0}.purchase-modal-body label{margin:0 0 .35rem}.purchase-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:end}.purchase-form-grid>div{min-width:0}.purchase-check{display:flex!important;align-items:center;gap:.65rem;margin:.9rem 0!important}.purchase-check input{height:18px;width:18px;min-height:18px;margin:0;accent-color:#159c8c;flex-shrink:0}.purchase-line-editor{display:grid;grid-template-columns:minmax(180px,2fr) minmax(70px,.7fr) minmax(90px,.8fr) minmax(110px,1fr) 42px;gap:.7rem;align-items:end;margin:1rem 0;padding-bottom:1rem;border-bottom:1px solid #dce5df}.purchase-line-editor label{font-size:.76rem;display:block;line-height:1.5;min-height:2.3em}.purchase-remove{width:42px;padding:.6rem;font-size:20px}.purchase-form-actions{justify-content:flex-end;margin:1.2rem 0 .3rem}.purchase-total{text-align:end;font-size:1rem;font-variant-numeric:tabular-nums}.purchase-section{border-top:1px solid #dce5df;margin-top:1.5rem;padding-top:1.2rem}.purchase-submit-form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:.8rem;align-items:end}.purchase-history-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;padding:.7rem 0;border-bottom:1px solid #e4eae5}.purchase-evidence-picker{border:1px solid #dce5df;padding:1rem;border-radius:14px;margin-top:1rem}.purchase-evidence-picker h4{margin:0}.purchase-evidence-picker .purchase-toolbar{align-items:end}.purchase-evidence-picker .purchase-toolbar>div{flex:1;min-width:150px}.purchase-evidence-list{list-style:none;padding:0;margin:.7rem 0}.purchase-evidence-list li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.5rem 0;overflow-wrap:anywhere}.purchase-picker-results{display:flex;flex-direction:column;gap:.5rem;max-height:180px;overflow:auto}.purchase-document-option{text-align:start;justify-content:flex-start}.purchase-delivery{border:1px solid #dce5df;border-radius:14px;padding:1rem;margin:.8rem 0}.purchase-delivery small{color:#5b7277}.purchase-activity{max-height:280px;overflow:auto}.purchase-activity>div{display:grid;gap:.3rem;padding:.7rem 0;border-bottom:1px solid #e4eae5}.purchase-activity small{color:#5b7277}.purchase-approval-snapshot{border:1px solid #dce5df;padding:1rem;border-radius:14px;margin:1rem 0}
@media(max-width:900px){.purchase-filter{grid-template-columns:1fr 1fr}.purchase-filter>.purchase-row-actions{grid-column:1/-1;justify-content:flex-end}.purchase-line-editor{grid-template-columns:1fr 1fr 42px}.purchase-line-editor>div:first-child{grid-column:1/3}.purchase-line-editor>div:nth-child(2){grid-column:1}.purchase-line-editor>div:nth-child(4){grid-column:1/3}.purchase-line-editor>button{grid-column:3;grid-row:3}.purchase-table{min-width:580px}}
@media(max-width:580px){.purchase-filter,.purchase-form-grid,.purchase-submit-form{grid-template-columns:1fr}.purchase-filter>.purchase-row-actions{grid-column:auto}.purchase-view-tabs{gap:.5rem}.purchase-view-tabs button{font-size:.8rem;padding:.7rem 1rem}.purchase-toolbar{align-items:stretch}.purchase-toolbar .primary{align-self:start}.purchase-form-actions{gap:.8rem}.purchase-modal-body .purchase-form-grid{gap:.85rem}.purchase-section .purchase-table{min-width:540px}}
.sync-status-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;padding:.55rem .75rem;white-space:nowrap}.sync-status-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.sync-status-button b{border-radius:50%;background:#fae8c8;color:#684b16;min-width:22px;line-height:22px}.offline-center{width:min(850px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:hidden}.offline-center[open]{display:flex;flex-direction:column}.offline-center-body{overflow:auto;min-height:0;padding:.25rem;overscroll-behavior:contain}.offline-center-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.offline-center fieldset{border:1px solid #d8e3dc;border-radius:14px;padding:1rem}.offline-center pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.8rem;background:#f0eee6;padding:.75rem;border-radius:10px;max-height:220px;overflow:auto}.offline-entry{border:1px solid #dce5df;border-radius:14px;padding:1rem;margin:1rem 0}.offline-draft-status{display:block;font-size:.8rem;color:#795a22;margin:.65rem 0}.offline-center input[type=password]{width:100%;box-sizing:border-box}.offline-center #offline-hours{display:block;width:8rem;max-width:100%;box-sizing:border-box}.offline-center .modal-actions{display:flex;gap:12px;margin-top:24px}.offline-center form+h3{margin-top:24px}.workspace-account-controls{flex-wrap:wrap;gap:.65rem}@media(max-width:700px){.sync-status-button span{display:none}.sync-status-button{padding:.55rem}.workspace-account-controls{gap:.35rem}.offline-center{padding:1rem}}
.inventory-tabs{flex-wrap:wrap;gap:8px}.inventory-filter{align-items:end;flex-wrap:wrap}.inventory-filter>div{min-width:150px;flex:1}.inventory-table code{display:block;font-size:10px;overflow-wrap:anywhere;max-width:240px;margin:.5rem 0}.inventory-edit .purchase-modal-body>form>button{margin-top:12px}.inventory-table td .badge{display:block;width:max-content;max-width:100%;margin-top:6px}@media(max-width:700px){.inventory-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:6px}.inventory-tabs button{white-space:nowrap}.inventory-filter>div{min-width:0;flex-basis:100%}.inventory-table{min-width:680px}.inventory-page .purchase-toolbar>h2{margin:0}.inventory-edit .purchase-form-actions{gap:12px;flex-wrap:wrap}}

/* One spacing rule for every notification module, including conditional cards. */
.notifications-page{display:flex;flex-direction:column;gap:24px}.notifications-page>.card,.notifications-page>.page-heading,.notifications-page>.notice{margin:0}

.asset-page{display:grid;gap:24px}.asset-page>.page-heading,.asset-page>.thread-note{margin:0}.asset-tabs,.asset-actions{display:flex;flex-wrap:wrap;gap:12px}.asset-page .purchase-row-actions{gap:12px}.asset-filter{display:flex;flex-wrap:wrap;align-items:end;gap:16px}.asset-filter>div{flex:1 1 170px;min-width:0}.asset-filter input:not([type=checkbox]),.asset-filter select{width:100%;min-width:0}.asset-filter .purchase-row-actions{flex:0 0 auto}.asset-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.asset-facts dt{font-size:12px;color:var(--wc-muted);margin-bottom:8px}.asset-facts dd{margin:0;overflow-wrap:anywhere}.asset-facts small{display:block;margin-top:6px}.asset-notes{white-space:pre-wrap;overflow-wrap:anywhere}.asset-timeline{list-style:none;margin:24px 0;padding:0}.asset-timeline>li{display:flex;gap:20px;padding:0 0 28px 10px;position:relative}.asset-timeline>li:not(:last-child):before{content:"";position:absolute;left:15px;top:14px;bottom:0;width:2px;background:#c8dfd8}.asset-timeline-dot{margin-top:8px;width:12px;height:12px;border-radius:50%;background:var(--wc-primary);flex:none;z-index:1}.asset-timeline>li>div{min-width:0;flex:1}.asset-timeline p{margin:10px 0}.asset-timeline small{color:var(--wc-muted)}.asset-timeline details{margin-top:14px}.asset-timeline summary{cursor:pointer;font-size:12px}.asset-timeline .asset-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-label{display:flex;gap:24px;align-items:center;justify-content:space-between}.asset-label>div{min-width:0}.asset-label img{width:200px;max-width:100%;height:auto}.asset-edit form>.purchase-form-actions{margin-top:24px;gap:12px}.asset-edit form>button{margin-top:20px}.asset-table{min-width:780px}@media(max-width:700px){.asset-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.asset-tabs button{white-space:nowrap}.asset-filter>div{flex-basis:100%}.asset-filter .purchase-row-actions{flex:1}.asset-label{flex-direction:column;align-items:flex-start}.asset-actions button{flex:1 1 140px}.asset-timeline .notification-heading{flex-direction:column;gap:8px}}@media(max-width:420px){.asset-facts{grid-template-columns:1fr}}

/* Constrain intrinsic table/tab widths to the asset page on narrow screens. */
.asset-page{min-width:0;grid-template-columns:minmax(0,1fr)}.asset-page>*{min-width:0}.asset-page .asset-tabs{max-width:100%;min-width:0}.asset-page .purchase-table-wrap{max-width:100%;min-width:0}

/* Keep category toggles separate from filter actions and full-width field rules. */
.asset-filter>.purchase-check{flex:0 1 auto;min-width:0;align-self:flex-end;min-height:46px;margin:0!important;gap:10px}.asset-filter>.purchase-check input[type=checkbox]{width:18px;min-width:18px;flex:0 0 18px}@media(max-width:700px){.asset-filter>.purchase-check{flex-basis:100%}.asset-filter>.purchase-row-actions{flex:1 0 100%;justify-content:flex-start}}

.attendance-page{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}.attendance-page>*{min-width:0}.attendance-page>.page-heading{margin:0}.attendance-tabs{max-width:100%;gap:12px}.attendance-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:24px 0}.attendance-filters>div{flex:1 1 170px;min-width:0}.attendance-filters input,.attendance-filters select{width:100%;min-width:0}.attendance-filters>.purchase-row-actions{flex:0 0 auto;gap:12px}.attendance-weekdays{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0;padding:16px;border:1px solid var(--wc-border);border-radius:12px}.attendance-weekdays label{display:flex;align-items:center;gap:8px;margin:0}.attendance-weekdays input{width:18px;height:18px;min-width:18px;margin:0}.attendance-edit .purchase-form-actions{gap:12px;margin-top:24px}.attendance-totals{display:flex;flex-wrap:wrap;gap:24px;padding:16px 0}.attendance-totals strong{display:block;font-size:24px}.attendance-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--wc-border)}.attendance-sheet-row p{margin:8px 0}.attendance-evidence{list-style:none;padding:0;margin:24px 0}.attendance-evidence>li{border:1px solid var(--wc-border);border-radius:14px;padding:20px;margin-bottom:16px;overflow-wrap:anywhere}.attendance-evidence h3{margin-bottom:10px}.attendance-location-choice,.attendance-holidays{margin:20px 0;padding:16px;border:1px solid var(--wc-border);border-radius:14px}.attendance-location-choice .purchase-row-actions{gap:12px}.attendance-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:20px 0}.attendance-calendar article{border:1px solid var(--wc-border);border-radius:12px;padding:12px;min-width:0;overflow-wrap:anywhere}.attendance-calendar p{font-size:12px;margin:8px 0}.attendance-calendar .badge{white-space:normal}.attendance-table{min-width:900px}.attendance-page .purchase-table-wrap{min-width:0;max-width:100%}.attendance-page .purchase-row-actions{gap:12px}@media(max-width:900px){.attendance-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.attendance-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.attendance-tabs button{white-space:nowrap}.attendance-filters>div{flex-basis:100%}.attendance-filters>.purchase-row-actions{flex-basis:100%}.attendance-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-sheet-row{align-items:flex-start;flex-direction:column}.attendance-page .page-heading>div{min-width:0}.attendance-page h1{overflow-wrap:anywhere}}

.accounting-choice-list{max-height:15rem;overflow:auto;display:grid;gap:.75rem;padding:.5rem 0}.accounting-funding{display:grid;gap:1rem;margin:1.25rem 0;padding:1rem;border:1px solid var(--border,#dce6e2);border-radius:16px}.accounting-modal fieldset{min-width:0}.accounting-modal .accounting-grid>label{min-width:0}.accounting-modal select{max-width:100%}
.crm-outlook-connections li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.crm-outlook-account{display:grid;gap:8px;min-width:0;overflow-wrap:anywhere}.crm-outlook-connected{justify-self:start;padding:5px 10px;border-radius:999px;background:#e8f5ed;color:#216343;font-size:.8rem;font-weight:600}

.work-inbox-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.work-inbox-tabs button{display:flex;align-items:center;gap:10px}.work-inbox-tabs button span{padding:2px 8px;background:#e8f5ed;border-radius:99px;font-size:.75rem}.work-inbox-tabs .is-active{background:#dcefe3;border-color:#a2cbb6;color:#17536e}.work-inbox-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:16px;align-items:end}.work-inbox-filters label{display:grid;gap:8px;margin:0;min-width:0}.work-inbox-filter-actions,.work-inbox-item-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.work-inbox-help{padding:0;margin:20px 0;color:var(--wc-muted);font-size:.85rem}.work-inbox-batch{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:20px 0}.work-inbox-batch>div{display:flex;gap:10px;flex-wrap:wrap}.work-inbox-check{display:flex;align-items:center;gap:10px}.work-inbox-check input,.work-inbox-select input{width:20px;height:20px;min-height:20px;accent-color:var(--wc-primary)}.work-inbox-list{list-style:none;padding:0;margin:0}.work-inbox-list>li{display:grid;grid-template-columns:22px 44px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px 0;border-top:1px solid var(--wc-border)}.work-inbox-icon{width:44px;height:44px}.work-inbox-content{min-width:0}.work-inbox-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:.75rem;color:var(--wc-muted)}.work-inbox-tags span{background:#f0f5f2;padding:4px 8px;border-radius:8px}.work-inbox-tags .needs-action{background:#fff1d6;color:#795719}.work-inbox-title{font-weight:600;overflow-wrap:anywhere}.work-inbox-list .is-unread .work-inbox-title{font-weight:750}.work-inbox-content p{margin:8px 0 0;font-size:.8rem;color:var(--wc-muted)}.work-inbox-overdue{color:#a94343;font-weight:600}.work-inbox-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}@media(max-width:1000px){.work-inbox-filters{grid-template-columns:1fr 1fr}.work-inbox-list>li{grid-template-columns:22px 40px minmax(0,1fr)}.work-inbox-item-actions{grid-column:3}}@media(max-width:600px){.work-inbox-filters{grid-template-columns:1fr}.work-inbox-filter-actions>*{flex:1}.work-inbox-list>li{grid-template-columns:22px minmax(0,1fr);gap:12px}.work-inbox-icon{display:none}.work-inbox-item-actions{grid-column:2}.work-inbox-item-actions>*{flex:1;text-align:center}.work-inbox-batch>div{width:100%}.work-inbox-batch button{flex:1}.work-inbox-pagination{justify-content:space-between;font-size:.8rem}}

/* Online-only WorkCanopy Voice. Fixed dock stays clear of mobile navigation. */
.voice-dock{position:fixed;right:24px;bottom:calc(24px + var(--wc-ai-offset,0px));z-index:1200;width:min(390px,calc(100vw - 32px));padding:20px;border:1px solid #c8ded7;border-radius:20px;background:#fffdf8;box-shadow:0 12px 48px #15374626;color:#153746}.voice-dock header{display:flex;align-items:center;justify-content:space-between;gap:16px}.voice-dock header p{margin:6px 0;overflow-wrap:anywhere}.voice-status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;margin:16px 0}.voice-status span{font-variant-numeric:tabular-nums}.voice-actions{display:flex;gap:12px;flex-wrap:wrap}.voice-actions button{flex:1}.voice-help{padding:0;margin:16px 0 0;font-size:.8rem;line-height:1.6;color:#526e75}.voice-devices{display:grid;gap:12px;margin-top:16px}.voice-devices label{display:grid;gap:6px;font-size:.8rem}.voice-devices select{width:100%;min-width:0}.voice-history{max-height:80dvh;overflow:auto;width:min(640px,calc(100vw - 32px))}.voice-history-list{list-style:none;padding:0}.voice-history-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #dce6e2;padding:18px 0}.voice-history-list p{margin:8px 0}.voice-history-list time{font-size:.8rem}.chat-thread-heading{flex-wrap:wrap;gap:12px}@media(max-width:700px){.voice-dock{right:16px;bottom:calc(88px + env(safe-area-inset-bottom) + var(--wc-ai-offset,0px));padding:16px;max-height:65dvh;overflow:auto}}

.chat-message-toast{z-index:110}.chat-message-link{display:grid;gap:8px;text-decoration:none;color:var(--wc-ink);overflow-wrap:anywhere}.chat-message-link:focus-visible{outline:3px solid var(--wc-mint,#82d9bc);outline-offset:4px;border-radius:8px}.chat-message-link .button{display:flex;align-items:center;justify-content:center}

.app-update-toast{z-index:120}.app-update-toast>button{min-height:44px}body:has(.app-update-toast) .workspace-alert-toast:not(.app-update-toast){bottom:calc(280px + var(--wc-ai-offset,0px))}@media(max-width:760px){body:has(.app-update-toast) .workspace-alert-toast:not(.app-update-toast){bottom:calc(340px + env(safe-area-inset-bottom,0px) + var(--wc-ai-offset,0px))}}

.chat-call-event{display:flex;align-items:flex-start;gap:12px;width:fit-content;max-width:100%;margin:14px auto;padding:14px 18px;border:1px solid #cde2d9;border-radius:16px;background:#edf7f1;color:var(--wc-ink);overflow-wrap:anywhere}.chat-call-event>svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6}.chat-call-event p{margin:5px 0;font-size:.85rem}.chat-call-event footer{display:flex;flex-wrap:wrap;gap:12px;color:var(--wc-muted);font-size:.75rem}.chat-call-event.missed{background:#fff4eb;border-color:#efd8c7}.voice-history-list li{display:block;padding:0;border:0}.voice-history-list .chat-call-event{margin:12px 0;width:100%}.voice-history .chat-help-inline{margin:0 0 16px}.voice-history .department-modal-actions{margin-top:20px;padding-top:16px;border-top:1px solid #dce6e2}

.voice-call-icon,.chat-call-event>.voice-call-icon{width:40px;height:40px;flex:0 0 40px;display:block;stroke:none;fill:none}.call-icon-background{fill:#dcefe5;stroke:#b6d7c5;stroke-width:1}.call-icon-handset,.call-icon-mark{fill:none;stroke:#1b645b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.voice-call-icon.unanswered .call-icon-background{fill:#fbe7dc;stroke:#ebc7b5}.voice-call-icon.unanswered .call-icon-mark{stroke:#a94b37}

.ai-page .ai-policy{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.ai-policy p{margin:8px 0 0}.ai-policy button{flex-shrink:0}.ai-help{padding:0;margin:12px 0;color:var(--wc-muted);line-height:1.6}.ai-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}.ai-workspace form{display:grid;gap:16px}.ai-workspace label{display:grid;gap:8px}.ai-workspace textarea{width:100%;resize:vertical}.ai-result-heading,.ai-result header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ai-result{margin-top:20px;padding-top:20px;border-top:1px solid #dce6e2;display:grid;gap:10px}.ai-output{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:.9rem;line-height:1.7;margin:0;padding:16px;border-radius:12px;background:#f5f5ed}.ai-document-picker{display:flex;align-items:end;gap:12px}.ai-document-picker label{flex:1;min-width:0}@media(max-width:900px){.ai-workspace{grid-template-columns:1fr}.ai-page .ai-policy{align-items:flex-start;flex-direction:column}}

body:has(.ai-launcher){--wc-ai-offset:80px}.ai-launcher{position:fixed;right:24px;bottom:24px;z-index:90;display:grid;place-items:center;width:64px;height:64px;min-height:64px;border:1px solid #a6cfc4;border-radius:22px;background:#fffdf7;box-shadow:0 5px 0 #c5dcd3,0 10px 28px #173f5e24;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}.ai-launcher .poly-icon{width:48px;height:48px}.ai-launcher:hover{transform:translateY(-2px)}.ai-launcher:focus-visible{outline:3px solid #207e82;outline-offset:5px}@media(max-width:760px){.ai-launcher{right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:60px;height:60px;min-height:60px;border-radius:20px}}@media(prefers-reduced-motion:reduce){.ai-launcher{transition:none}.ai-launcher:hover{transform:none}}

body:has(.ai-launcher) .workspace-body::after{content:"";display:block;height:var(--wc-ai-offset,0px);flex-shrink:0}@media(min-width:701px){body:has(.ai-launcher) .workspace:has(.chat-page) .chat-workspace{height:calc(100dvh - 255px - var(--wc-ai-offset,0px));min-height:280px}}

body:has(.chat-composer textarea:focus) .ai-launcher{display:none}@media(max-width:700px) and (max-height:600px){body:has(.chat-composer textarea:focus){--wc-ai-offset:0px}}

/* Compact, edge-aligned AI guidance above the drafting workspace. */
.ai-guidance{display:grid;gap:6px;margin:0;color:var(--wc-muted);font-size:.875rem;line-height:1.6;max-width:86ch}.ai-guidance p{margin:0;padding:0}.ai-guidance+.ai-workspace{margin-top:20px}

/* Branded AI activity orb; decorative motion with an accessible text status. */
.ai-thinking{display:flex;align-items:center;gap:16px;padding:16px 0;min-width:0}.ai-thinking>div{min-width:0}.ai-thinking strong{font-size:.9rem;color:var(--wc-ink)}.ai-thinking p{margin:5px 0 0;color:var(--wc-muted);font-size:.85rem;line-height:1.6}.ai-orb{position:relative;display:block;flex:0 0 64px;width:64px;height:64px;border-radius:50%;isolation:isolate;background:radial-gradient(circle at 35% 30%,#f5fff9,#e6f6f0 55%,#c6e7e0);box-shadow:inset 0 0 12px #ffffffcc,0 4px 18px #177c7a1a;overflow:hidden}.ai-orb>span{position:absolute;inset:10px 7px;border:3px solid #159c98;border-radius:44% 56% 65% 35% / 56% 35% 65% 44%;animation:ai-orbit 3.6s linear infinite;opacity:.8}.ai-orb>span:nth-child(2){inset:7px 12px;border-color:#17496c;animation-duration:4.8s;animation-direction:reverse;transform:rotate(65deg)}.ai-orb>span:nth-child(3){inset:13px 6px;border-color:#55c9a8;animation-duration:2.8s;transform:rotate(130deg)}.ai-orb>i{position:absolute;inset:23px;border-radius:50%;background:#fffef5;box-shadow:0 0 13px 7px #ecfff6b3;animation:ai-breathe 2s ease-in-out infinite}@keyframes ai-orbit{to{transform:rotate(360deg)}}@keyframes ai-breathe{50%{transform:scale(1.3);opacity:.65}}@media(prefers-reduced-motion:reduce){.ai-orb>span,.ai-orb>i{animation:none}}

.public-pricing-included{margin-top:24px;padding:26px}.public-pricing-included h3{margin:0 0 20px;font-size:19px}.public-pricing-included ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 28px;list-style:none;margin:0;padding:0}.public-pricing-included li{position:relative;padding-left:18px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.public-pricing-included li::before{content:"";position:absolute;left:0;top:7px;width:7px;height:7px;border-radius:50%;background:var(--wc-primary)}@media(max-width:900px){.public-pricing-included ul{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.public-pricing-included ul{grid-template-columns:1fr}.public-pricing-included{padding:24px}}

/* Shared loading state: reserve space without a visible text flash. */
.loading-indicator{display:flex;align-items:center;justify-content:center;min-height:88px;width:100%;padding:20px 0;box-sizing:border-box}.loading-wheel{display:block;width:34px;height:34px;flex:none;border:3px solid #d4e9e1;border-top-color:#147f84;border-right-color:#53bca5;border-radius:50%;animation:wc-loading-roll .85s linear infinite}@keyframes wc-loading-roll{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-wheel{animation:none;border-top-color:#147f84}}

/* Native visual approval graph and scheduled triggers. */
.wf-studio-modal{width:min(1280px,96vw);max-width:1280px}.wf-author-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:24px;align-items:start;margin-top:20px}.wf-inspector{min-width:0;max-height:700px;overflow:auto;padding:0 8px 8px 0}.wf-inspector h3{margin:0 0 14px}.wf-inspector .employee-form-grid{grid-template-columns:1fr;gap:14px}.wf-inspector .workflow-stage-editor{margin:0}.wf-graph-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.wf-graph-toolbar button{min-height:36px;padding:8px 12px;font-size:12px}.wf-zoom-control{display:flex;align-items:center;gap:14px;margin-top:16px;font-size:13px}.wf-zoom-control input{max-width:180px;padding:0;min-height:24px}.wf-graph-help,.wf-dependencies p,.wf-plain-help{font-size:12px;color:var(--wc-muted);line-height:1.6;padding:0;margin:12px 0}.wf-graph-viewport{max-height:440px;overflow:auto;border:1px solid var(--wc-border);border-radius:16px;background-color:#F5F7F0;background-image:radial-gradient(#bfd5ca 1px,transparent 1px);background-size:18px 18px}.wf-graph-canvas{position:relative;width:1100px;height:1000px;transform-origin:top left}.wf-connections{position:absolute;inset:0;pointer-events:none}.wf-connections>path{fill:none;stroke:#298E87;stroke-width:2}.wf-node{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;width:220px;height:88px;background:#fffdf8;border:2px solid #afcec2;border-radius:16px;padding:12px 18px;touch-action:none;user-select:none;box-shadow:0 4px 0 #cadfd4;overflow:hidden;text-align:left}.wf-node small{font-size:12px;color:var(--wc-muted)}.wf-node strong{display:block;max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px;color:var(--wc-ink)}.wf-node.is-selected{border-color:#087c83;background:#e5f5ed}.wf-node:focus-visible{outline:3px solid #216d92;outline-offset:4px}.wf-terminal{position:absolute;left:420px;width:220px;height:60px;display:grid;place-items:center;border:1px solid #adcbbd;border-radius:30px;background:#e2f3e8;color:#17536e;font-size:15px;font-weight:600}.wf-start{top:20px}.wf-end{top:925px}.wf-dependencies{margin:18px 0 0;padding:16px;border:1px solid var(--wc-border);border-radius:14px;display:grid;gap:10px}.wf-dependencies .purchase-check{justify-content:flex-start;font-size:13px}.wf-schedules{margin-top:24px}.wf-schedule-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:24px 0;padding-bottom:24px;border-bottom:1px solid var(--wc-border)}.wf-schedule-form label{display:grid;gap:8px;font-size:13px}.wf-schedule-form .wf-wide{grid-column:1/-1}.wf-run-history{margin-top:24px;padding-top:24px;border-top:1px solid var(--wc-border)}.wf-run-history ol{list-style:none;padding:0;margin:0;display:grid;gap:14px}.wf-run-history li{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;background:#f5f7f0;border-radius:14px}.wf-run-history li p{margin:8px 0 0}.wf-run-history li a{flex-shrink:0}.wf-schedules .purchase-row-actions{flex-wrap:wrap}@media(max-width:960px){.wf-author-grid{grid-template-columns:1fr}.wf-inspector{max-height:none;padding:0}.wf-graph-viewport{max-height:350px}}@media(max-width:600px){.wf-schedule-form{grid-template-columns:1fr}.wf-run-history li{align-items:flex-start;flex-direction:column}.wf-studio-modal{width:96vw}.wf-dependencies{padding:12px}.wf-graph-toolbar .purchase-row-actions{gap:8px}.wf-schedules .card-heading-actions{align-items:flex-start;flex-direction:column}}

.wf-studio-meta{display:grid;grid-template-columns:2fr 1fr;gap:22px}.wf-studio-meta>div{display:grid;gap:8px}.wf-zoom-control input{accent-color:var(--wc-primary)}.wf-schedules .card-heading-actions>.purchase-row-actions{flex:0 1 auto;justify-content:flex-end}.wf-studio-modal .thread-note{margin-top:12px}.wf-schedule-form .purchase-form-actions{margin-top:0}@media(max-width:600px){.wf-studio-meta{grid-template-columns:1fr;gap:16px}.wf-schedules .card-heading-actions>.purchase-row-actions{justify-content:flex-start}}

.wf-graph-editor{min-width:0;width:100%}.wf-graph-viewport{min-width:0;width:100%}.wf-schedule-form select{min-width:0;width:100%}@media(max-width:960px){.wf-author-grid{grid-template-columns:minmax(0,1fr)}}

.public-price-action{margin-top:auto;width:100%}.public-price-action>.button,.public-price-action>button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px}.billing-plan-selection{min-width:0}.billing-plan-selection>.card-heading-actions{margin-bottom:22px}.billing-plan-selection>.thread-note{padding:0;margin:20px 0 0}

.billing-plan-selection>.card-heading-actions>.billing-interval{flex:0 0 auto}
