/*! sources:d62ef6278f37467b7337ca053a913626af0863ee65a507dc43bbb78fad58338a */
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url("../fonts/hanken-grotesk-latin.a6b899943e31.woff2") format("woff2")}
*{box-sizing:border-box}
html{background:var(--quantum-white);color:var(--studio-black);font-family:var(--font-sans);font-size:17px;scroll-behavior:smooth}
html[data-font-scale="large"]{font-size:19px}
html[data-font-scale="extra_large"]{font-size:21px}
body{margin:0;min-width:320px;line-height:1.5}
a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit}button{cursor:pointer}
:root{--focus-ring:var(--studio-black)}
:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.topbar,.tool-rail{--focus-ring:var(--quantum-white)}
.skip-link{position:fixed;left:1rem;top:-5rem;background:#ffe17a;color:#2d2200;padding:.65rem 1rem;z-index:1000;border-radius:var(--radius-control)}.skip-link:focus{top:1rem}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.icon{display:inline-block;width:1.15rem;height:1.15rem;flex:0 0 auto;background:currentColor;mask:var(--icon-url) center/contain no-repeat;-webkit-mask:var(--icon-url) center/contain no-repeat}
.topbar{height:72px;border-bottom:var(--line-soft);background:rgb(251 251 250 / 96%);display:grid;grid-template-columns:minmax(250px,1fr) minmax(280px,560px) minmax(180px,1fr);align-items:center;padding:0 1rem;position:sticky;top:0;z-index:40;backdrop-filter:blur(12px);box-shadow:0 1px 10px rgb(18 18 17 / 4%)}
.workspace-context{display:flex;align-items:center;min-width:0}.menu{position:relative}.menu>summary{list-style:none}.menu>summary::-webkit-details-marker{display:none}.workspace-trigger{display:flex;align-items:center;gap:.7rem;min-width:0;padding:.45rem .6rem;border-radius:var(--radius-control);cursor:pointer}.workspace-trigger:hover{background:var(--neutral-100)}.workspace-mark,.workspace-option-mark{width:38px;height:38px;border-radius:12px;background:var(--studio-black);color:white;display:grid;place-items:center;font-family:var(--font-display);font-size:1.1rem}.workspace-copy{display:grid;line-height:1.1;min-width:0}.workspace-copy strong{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.85rem}.workspace-copy small{color:var(--neutral-600);font-size:.68rem;margin-top:.22rem}.workspace-trigger>.icon{width:.9rem;height:.9rem;color:var(--neutral-600)}
.menu-popover{position:absolute;top:calc(100% + .5rem);z-index:80;background:var(--paper);border:var(--line);border-radius:var(--radius-popover);box-shadow:var(--shadow-raised);padding:.55rem;min-width:310px}.menu-heading{font-size:.64rem;text-transform:uppercase;letter-spacing:.1em;color:var(--neutral-600);font-weight:700;margin:.4rem .55rem .5rem}.workspace-option{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:.7rem;align-items:center;padding:.65rem;border-radius:var(--radius-control)}.workspace-option:hover{background:var(--neutral-100);text-decoration:none}.workspace-option[aria-current="page"]{background:color-mix(in srgb,var(--accent) 8%,white)}.workspace-option span:nth-child(2){display:grid}.workspace-option strong{font-size:.8rem}.workspace-option small{font-size:.68rem;color:var(--neutral-600)}.workspace-option>.icon{color:var(--positive)}
.global-search{height:40px;display:flex;align-items:center;gap:.6rem;background:var(--paper);border:var(--line-soft);border-radius:12px;padding:0 .75rem;box-shadow:0 1px 2px rgb(18 18 17 / 3%)}.global-search:focus-within{border-color:var(--neutral-600);box-shadow:0 0 0 3px rgb(18 18 17 / 6%)}.global-search .icon{color:var(--neutral-600)}.global-search input{border:0;padding:0;background:transparent;min-width:0}.global-search input:focus{outline:0}.global-search kbd{font:600 .62rem var(--font-sans);color:var(--neutral-500);border:var(--line-soft);border-radius:5px;padding:.12rem .35rem;background:var(--neutral-50);white-space:nowrap}
.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.icon-button{width:40px;height:40px;border:var(--line-soft);border-radius:12px;background:var(--paper);display:grid;place-items:center;color:var(--neutral-700);position:relative}.icon-button:hover{background:var(--neutral-100);text-decoration:none}.notification-count{position:absolute;right:-3px;top:-4px;background:var(--accent);color:white;border-radius:999px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;font-size:.62rem;font-weight:700;border:2px solid var(--quantum-white)}.profile-menu>summary{cursor:pointer}.profile-popover{right:0;min-width:300px}.profile-summary{display:grid;grid-template-columns:42px minmax(0,1fr);gap:.75rem;align-items:center;padding:.55rem}.profile-summary>span:last-child{display:grid}.profile-summary strong{font-size:.83rem}.profile-summary small{font-size:.7rem;color:var(--neutral-600)}.profile-icon{width:42px;height:42px;border-radius:13px;background:var(--neutral-100);display:grid;place-items:center}.profile-role{display:block;margin:.15rem .55rem .55rem;padding-bottom:.65rem;border-bottom:var(--line-soft);font-size:.68rem;color:var(--neutral-600)}.profile-popover>a{display:flex;align-items:center;gap:.65rem;border-radius:var(--radius-control);padding:.7rem;font-size:.78rem}.profile-popover>a:hover{background:var(--neutral-100);text-decoration:none}
.review-personas{display:grid;gap:.15rem;margin:.2rem .55rem .6rem;padding-bottom:.65rem;border-bottom:var(--line-soft)}.review-personas .menu-heading{padding:.2rem .15rem}.review-personas a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .6rem;border-radius:var(--radius-control);font-size:.76rem}.review-personas a:hover,.review-personas a[aria-current="true"]{background:var(--neutral-100);text-decoration:none}.review-personas .icon{width:.9rem;height:.9rem}
.notification-menu>summary{list-style:none;cursor:pointer}.notification-menu>summary::-webkit-details-marker{display:none}.notification-link{background:var(--electric-rosin);color:var(--studio-black);border-color:color-mix(in srgb,var(--electric-rosin) 65%,var(--studio-black))}.notification-link:hover{background:color-mix(in srgb,var(--electric-rosin) 88%,white)}.notification-count{background:var(--voltage-coral);color:var(--studio-black);border-color:var(--quantum-white)}.notification-popover{right:0;width:min(390px,calc(100vw - 1.5rem));padding:0;overflow:hidden}.notification-popover-header{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;background:var(--electric-rosin);color:var(--studio-black)}.notification-popover-header>span{display:flex;align-items:center;gap:.7rem}.notification-popover-header>span>span:last-child{display:grid}.notification-popover-header small{font-size:.72rem}.notification-popover-header .icon-button{width:36px;height:36px;border-color:rgb(18 18 17 / 20%);background:rgb(255 255 255 / 40%)}.notification-popover-icon{width:38px;height:38px;border-radius:11px;background:var(--studio-black);color:var(--electric-rosin);display:grid;place-items:center}.notification-preview-list{max-height:420px;overflow:auto}.notification-preview-list form{margin:0}.notification-preview-item{width:100%;display:grid;grid-template-columns:16px minmax(0,1fr);gap:.7rem;text-align:left;padding:.82rem 1rem;border:0;border-bottom:var(--line-soft);background:var(--paper);color:var(--studio-black)}a.notification-preview-item{display:grid}.notification-preview-item:hover{background:var(--neutral-50);text-decoration:none}.notification-preview-item>span:last-child{display:grid;gap:.16rem}.notification-preview-item strong{font-size:.86rem}.notification-preview-item small{font-size:.72rem;color:var(--neutral-500)}.notification-preview-item>span:last-child>span{font-size:.78rem;color:var(--neutral-600)}.notification-unread-dot{width:9px;height:9px;border-radius:50%;background:var(--voltage-coral);margin-top:.35rem;box-shadow:0 0 0 3px color-mix(in srgb,var(--voltage-coral) 20%,white)}.notification-read-icon{color:var(--positive);margin-top:.05rem}.notification-read-icon .icon{width:.95rem;height:.95rem}.notification-empty{display:grid;justify-items:center;text-align:center;gap:.35rem;padding:2rem 1rem;color:var(--neutral-600)}.notification-empty>.icon{width:1.8rem;height:1.8rem;color:var(--positive)}.notification-empty strong{color:var(--studio-black)}.notification-popover-footer{width:100%;min-height:44px;box-sizing:border-box;justify-content:center;text-align:center;padding:.75rem 1rem;background:var(--neutral-100);font-size:.8rem;font-weight:700}.notification-popover-footer:hover{text-decoration:none;background:var(--neutral-200)}
.suite-frame{display:grid;grid-template-columns:84px 224px minmax(0,1fr);min-height:calc(100vh - 72px)}
.tool-rail{background:linear-gradient(180deg,#201a3a 0%,var(--studio-black) 42%);color:var(--neutral-300);padding:.65rem .4rem;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column;align-items:center;gap:.35rem;z-index:25}.tool-rail-item{width:72px;min-height:64px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.28rem;position:relative;text-align:center;transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),transform var(--duration-fast) var(--ease-standard)}.tool-rail-item>.icon{width:1.35rem;height:1.35rem}.tool-rail-label{display:block;font-size:.72rem;line-height:1;font-weight:650}.tool-rail-item:hover{background:rgb(255 255 255 / 10%);color:white;text-decoration:none}.tool-rail-item[aria-current="page"]{background:var(--tool-color);color:var(--tool-on);font-weight:700}.tool-rail-item[aria-current="page"]::before{content:"";position:absolute;left:-6px;width:4px;height:32px;border-radius:0 5px 5px 0;background:var(--electric-rosin)}.tool-rail-item.is-disabled{opacity:.5;cursor:not-allowed}.tool-lock{position:absolute;right:8px;top:8px;width:17px;height:17px;border-radius:6px;background:var(--neutral-800);color:var(--electric-rosin);display:grid;place-items:center}.tool-lock .icon{width:9px;height:9px}.tool-divider{width:36px;border-top:1px solid var(--neutral-700);margin:.2rem 0}.tool-rail-settings{margin-top:auto}.tool-rail-item::after{content:attr(data-tooltip);position:absolute;left:calc(100% + .7rem);top:50%;transform:translateY(-50%);background:var(--neutral-900);color:white;border-radius:7px;padding:.35rem .55rem;font-size:.72rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity var(--duration-fast)}.tool-rail-item:hover::after,.tool-rail-item:focus-visible::after{opacity:1}
.tool-notification-count{position:absolute;top:5px;right:7px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border:2px solid var(--studio-black);border-radius:999px;background:var(--voltage-coral);color:var(--studio-black);font-size:12px;font-weight:850;line-height:1}.tool-rail-item[aria-current="page"] .tool-notification-count{border-color:var(--tool-color)}
.context-sidebar{background:linear-gradient(180deg,var(--paper),var(--neutral-50));border-right:var(--line-soft);padding:1.1rem .8rem 1.4rem;position:sticky;top:72px;height:calc(100vh - 72px);overflow:auto}.context-heading{display:flex;align-items:center;gap:.7rem;padding:.25rem .45rem 1.1rem;margin-bottom:.45rem;border-bottom:var(--line-soft)}.context-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--tool-color);color:var(--tool-on)}.context-heading>div{display:grid;line-height:1.1}.context-heading span:not(.icon):not(.context-icon){font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:var(--neutral-500)}.context-heading strong{font-size:1rem;margin-top:.25rem}.context-sidebar nav{display:grid;gap:.18rem}.context-sidebar nav a,.context-tools a{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.62rem .72rem;border-radius:10px;font-size:.86rem;color:var(--neutral-700)}.context-sidebar nav a:hover,.context-tools a:hover{background:var(--neutral-100);text-decoration:none;color:var(--studio-black)}.context-sidebar nav a[aria-current="page"]{background:color-mix(in srgb,var(--tool-color) 18%,white);color:var(--studio-black);box-shadow:inset 3px 0 var(--tool-color);font-weight:700}.context-sidebar nav .icon,.context-tools .icon{width:1.05rem;height:1.05rem}.nav-count{margin-left:auto;background:var(--electric-rosin);color:var(--studio-black);border-radius:999px;min-width:22px;padding:.08rem .4rem;text-align:center;font-size:max(.72rem,13px);font-weight:800}.context-primary{display:grid;grid-template-columns:1.05rem minmax(0,1fr) 1.05rem;align-items:center;justify-items:center;gap:.5rem;margin-top:1rem;background:var(--tool-color);color:var(--tool-on);border-radius:10px;padding:.7rem;font-size:.82rem;font-weight:750;text-align:center}
.context-primary::after{content:""}
.context-primary:has(>.icon+.icon)::after{display:none}.context-primary:hover{text-decoration:none;filter:brightness(.96)}.context-tools{border-top:var(--line-soft);margin-top:1rem;padding-top:.8rem}.context-tools p{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--neutral-500);margin:.2rem .7rem .4rem}
.main{min-width:0;padding:2rem clamp(1.25rem,3vw,3rem) 4rem;max-width:1600px;width:100%}
.messages{position:fixed;right:1.25rem;top:82px;width:min(420px,calc(100vw - 2.5rem));z-index:50;display:grid;gap:.5rem}.message{background:var(--paper);border:var(--line);border-left:4px solid var(--neutral-600);border-radius:var(--radius-control);box-shadow:var(--shadow-raised);padding:.8rem 1rem;font-size:.86rem}.message.success{border-left-color:var(--positive)}.message.error{border-left-color:var(--critical)}
.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;border-bottom:var(--line);padding-bottom:1.4rem;margin-bottom:1.75rem}.eyebrow{margin:0 0 .4rem;color:var(--accent);font-size:.66rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700}.page-header h1,h1,h2,h3{font-family:var(--font-display);font-optical-sizing:auto;font-weight:500;margin:0}h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.02;letter-spacing:-.025em}h2{font-size:1.45rem;line-height:1.18;letter-spacing:-.015em}h3{font-size:1.05rem}.page-intro{color:var(--neutral-600);max-width:66ch;margin:.55rem 0 0}.actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.button,button.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.62rem 1rem;border:1px solid var(--studio-black);border-radius:var(--radius-control);background:var(--studio-black);color:var(--quantum-white);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;transition:transform var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.button:hover{text-decoration:none;background:var(--neutral-800)}.button:active{transform:translateY(1px)}.button--secondary{background:transparent;color:var(--studio-black)}.button--secondary:hover{background:var(--neutral-100)}.button--danger{background:var(--critical);border-color:var(--critical)}.button--small{min-height:32px;padding:.4rem .7rem;font-size:.68rem}

/* Feedback is anchored bottom-left. Top-right is where every page header puts
   its principal action, and bottom-right belongs to the voice launcher, so a
   toast in either place covers the control the reader reaches for next. */
.messages{top:auto;bottom:1.25rem;right:auto;left:1.25rem}
.message{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:start}
.message-dismiss{border:0;background:transparent;padding:.1rem .2rem;line-height:1;color:var(--neutral-600);border-radius:var(--radius-control)}
.message-dismiss:hover{color:var(--studio-black)}
.message-dismiss .icon{width:.9rem;height:.9rem}
.message--inline{position:static;width:auto;margin-bottom:1rem}
@media(max-width:760px){.messages{left:1rem;right:1rem;bottom:calc(1rem + 72px);width:auto}}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-bottom:2rem}.metric{background:var(--paper);border:var(--line);border-radius:var(--radius-surface);padding:1.3rem}.metric strong{display:block;font-family:var(--font-display);font-size:2.2rem;font-weight:500;line-height:1}.metric span{color:var(--neutral-600);font-size:.75rem;margin-top:.5rem;display:block}.metric--focus{background:var(--studio-black);color:white;border-color:var(--studio-black)}.metric--focus span{color:var(--neutral-400)}
.layout-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:1.5rem;align-items:start}.panel{background:var(--paper);border:var(--line);border-radius:var(--radius-surface);padding:1.25rem}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:var(--line-soft);margin-bottom:.3rem}.panel-header small{color:var(--neutral-600)}
.table-wrap{overflow-x:auto;border:var(--line);border-radius:var(--radius-surface);background:var(--paper)}table{border-collapse:collapse;width:100%;font-size:.82rem}th{text-align:left;font-size:max(.65rem,13px);text-transform:uppercase;letter-spacing:.08em;color:var(--neutral-600);background:var(--neutral-100);padding:.72rem .85rem;border-bottom:var(--line)}th:first-child{border-top-left-radius:calc(var(--radius-surface) - 1px)}th:last-child{border-top-right-radius:calc(var(--radius-surface) - 1px)}td{padding:.85rem;border-bottom:var(--line-soft);vertical-align:top}tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--neutral-50)}td strong{font-weight:650}.muted{color:var(--neutral-600)}.fine{font-size:.72rem}.nowrap{white-space:nowrap}
.status{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--neutral-300);padding:.22rem .48rem;border-radius:999px;font-size:.67rem;font-weight:650;white-space:nowrap}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--neutral-500)}.status--active::before,.status--complete::before,.status--approved::before{background:var(--positive)}.status--urgent::before,.status--rejected::before,.status--overdue::before{background:var(--critical)}.status--pending::before,.status--ready_for_review::before{background:var(--notice)}.status--in_progress::before{background:var(--info)}
.priority{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.priority--urgent,.priority--high{color:var(--critical)}
.list{list-style:none;margin:0;padding:0}.list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:var(--line-soft)}.list-row:last-child{border-bottom:0}.list-copy{display:grid;gap:.25rem}.list-copy small{color:var(--neutral-600)}
.board{display:grid;grid-template-columns:repeat(6,minmax(240px,1fr));gap:.8rem;overflow-x:auto;padding-bottom:.75rem}.board-column{background:var(--neutral-100);border:1px solid var(--neutral-200);border-radius:var(--radius-surface);padding:.75rem;min-height:280px}.board-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.task-card{display:grid;gap:.55rem;background:var(--paper);border:var(--line-soft);border-radius:var(--radius-control);padding:.8rem;margin-bottom:.6rem;box-shadow:0 1px 2px rgb(18 18 17 / 4%)}.task-card:hover{text-decoration:none;border-color:var(--neutral-500);box-shadow:0 5px 16px rgb(18 18 17 / 7%)}.task-card small{color:var(--neutral-600)}
.form-card{max-width:840px;background:var(--paper);border:var(--line);border-radius:var(--radius-surface);padding:clamp(1.25rem,3vw,2rem)}form .field,form p{display:grid;gap:.35rem;margin:0 0 1rem}label{font-size:.72rem;font-weight:700}input,select,textarea{width:100%;border:var(--line);background:white;color:var(--studio-black);border-radius:var(--radius-control);padding:.65rem .75rem}input[type="checkbox"]{width:auto}textarea{resize:vertical}.helptext{font-size:.72rem;color:var(--neutral-600)}.errorlist{color:var(--critical);font-size:.75rem;margin:.2rem 0;padding-left:1rem}.form-actions{display:flex;justify-content:flex-end;gap:.6rem;border-top:var(--line-soft);padding-top:1rem;margin-top:1.25rem}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:1.5rem;align-items:start}.definition-list{margin:0}.definition-list div{display:grid;grid-template-columns:minmax(100px,.55fr) 1fr;gap:1rem;padding:.7rem 0;border-bottom:var(--line-soft)}.definition-list dt{font-size:.66rem;text-transform:uppercase;letter-spacing:.07em;color:var(--neutral-600);font-weight:700}.definition-list dd{margin:0}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;padding:0 0 1rem 1.25rem;border-left:1px solid var(--neutral-300)}.timeline li::before{content:"";position:absolute;left:-4px;top:.35rem;width:7px;height:7px;background:var(--studio-black);border-radius:50%}.timeline small{color:var(--neutral-600)}
.capacity-bar{height:8px;background:var(--neutral-200);margin-top:.45rem;overflow:hidden;border-radius:999px}.capacity-bar span{display:block;height:100%;background:var(--studio-black);border-radius:999px}.capacity-bar.is-over span{background:var(--critical)}
.empty-state{text-align:center;padding:4rem 1.5rem;border:var(--line);border-radius:var(--radius-surface);background:var(--paper)}.empty-state p:not(.eyebrow){color:var(--neutral-600);max-width:48ch;margin:.65rem auto 1.25rem}
.action-group{display:flex;gap:.6rem;flex-wrap:wrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:start}.panel--wide{grid-column:1/-1}.section-heading{display:flex;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:var(--line-soft);margin-bottom:1rem}.stacked-form{margin-top:1rem}.compact-list{display:grid;margin-bottom:1rem}.compact-list>div,.rule-row{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:var(--line-soft)}.compact-list span,.rule-row span,.status-map span{font-size:.72rem;color:var(--neutral-600)}details:not(.menu):not(.org-branch){border-top:var(--line-soft);padding-top:.9rem;margin-top:.9rem}summary{font-size:.75rem;font-weight:700;cursor:pointer}.status-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.status-map>div{display:grid;grid-template-columns:auto 1fr;gap:.2rem .55rem;align-items:center;background:var(--neutral-100);border-radius:var(--radius-control);padding:.7rem}.status-map>div>span:last-child{grid-column:2}.status-dot{width:9px;height:9px;background:var(--status-colour);border-radius:50%}.notice{background:var(--neutral-100);border-left:3px solid var(--notice);border-radius:0 var(--radius-control) var(--radius-control) 0;padding:.8rem 1rem;font-size:.8rem}
.module-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.module-admin-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:.8rem;align-items:center;border:var(--line-soft);border-radius:var(--radius-surface);padding:1rem}.module-admin-card.is-future{background:var(--neutral-50);color:var(--neutral-600)}.module-admin-icon{width:44px;height:44px;border-radius:13px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);display:grid;place-items:center}.module-admin-copy{display:grid;gap:.3rem}.module-admin-title{display:flex;align-items:center;gap:.55rem}.module-admin-copy p{display:block;margin:0;color:var(--neutral-600);font-size:.75rem}.module-admin-copy small{font-size:.66rem;color:var(--neutral-500)}.module-admin-card form{margin:0}.module-admin-card .status .icon{width:.72rem;height:.72rem}
.empty-icon{width:48px;height:48px;border-radius:14px;background:var(--neutral-100);display:grid;place-items:center;margin:0 auto 1rem;color:var(--neutral-700)}

/* Load is a number first and a bar second. The bar is drawn from data at
   runtime (see hydrateMeasuredStyles); the figure beside it is server-rendered,
   so the cell still states the load if the bar never draws. */
.capacity-cell{display:grid;grid-template-columns:minmax(64px,1fr) auto;gap:.6rem;align-items:center}
.capacity-cell .capacity-bar{margin-top:0}
.capacity-figure{font-size:.82rem;font-variant-numeric:tabular-nums;color:var(--neutral-700);white-space:nowrap}
.capacity-flag{color:var(--critical);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.7rem}
/* Replaces a repeated inline margin; the strict CSP refuses style attributes. */
.is-spaced-above{margin-top:1.5rem}
/* htmx request indicators. htmx would inject these as an inline <style>, which
   the strict CSP refuses, so app.ts turns that off and the rules live here. */
.htmx-indicator{opacity:0;visibility:hidden}
.htmx-request .htmx-indicator,.htmx-request.htmx-indicator{opacity:1;visibility:visible;transition:opacity 200ms ease-in}
.org-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.org-search{display:flex;align-items:center;gap:.55rem;min-width:min(520px,100%);border:var(--line);border-radius:var(--radius-control);background:var(--paper);padding:.35rem .4rem .35rem .75rem}.org-search input{border:0;padding:.35rem 0}.org-search input:focus{outline:0}.org-facts{display:flex;align-items:center;gap:1.2rem;color:var(--neutral-600);font-size:.72rem}.org-facts strong{color:var(--studio-black)}.org-matches{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1rem;align-items:center;border:var(--line);border-radius:var(--radius-surface);padding:1rem;margin-bottom:1rem;background:var(--paper)}.org-match-list{display:flex;gap:.5rem;overflow-x:auto}.org-match-list a{display:flex;align-items:center;gap:.5rem;padding:.45rem .65rem;background:var(--neutral-100);border-radius:var(--radius-control);font-size:.72rem;white-space:nowrap}.org-match-list a:hover{text-decoration:none;background:var(--neutral-200)}.org-match-list a>span:last-child{display:grid}.org-match-list small{color:var(--neutral-600)}.org-explorer{border:var(--line);border-radius:var(--radius-popover);background:var(--paper);overflow:hidden}.org-explorer-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:var(--line-soft)}.org-explorer-header>div{display:flex;align-items:center;gap:.7rem}.org-explorer-header>div>div{display:grid}.org-explorer-header small{color:var(--neutral-600);font-size:.7rem}.org-canvas{--org-branch:2rem;overflow:auto;padding:2rem;min-height:480px;background-color:var(--neutral-50);background-image:radial-gradient(var(--neutral-200) .55px,transparent .55px);background-size:22px 22px}.org-tree{list-style:none;margin:0;padding:var(--org-branch) 0 0;display:flex;align-items:flex-start;justify-content:safe center;gap:1.5rem;position:relative}.org-tree--roots{min-width:max-content}.org-tree:not(.org-tree--roots)::before{content:"";position:absolute;top:0;left:50%;height:var(--org-branch);border-left:1px solid var(--neutral-300)}.org-tree>.org-node{position:relative;display:flex;flex-direction:column;align-items:center}.org-tree:not(.org-tree--roots)>.org-node::before{content:"";position:absolute;top:calc(var(--org-branch) * -1);left:50%;height:var(--org-branch);border-left:1px solid var(--neutral-300)}.org-tree:not(.org-tree--roots)>.org-node::after{content:"";position:absolute;top:calc(var(--org-branch) * -1);left:0;right:0;border-top:1px solid var(--neutral-300)}.org-tree:not(.org-tree--roots)>.org-node:first-child::after{left:50%}.org-tree:not(.org-tree--roots)>.org-node:last-child::after{right:50%}.org-tree:not(.org-tree--roots)>.org-node:only-child::after{display:none}.org-person-card{width:260px;min-height:108px;display:flex;flex-direction:column;border:var(--line);border-radius:var(--radius-surface);background:var(--paper);box-shadow:0 3px 14px rgb(18 18 17 / 6%);position:relative;padding:.8rem}.org-person-card.is-match{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.org-person-main{display:grid;grid-template-columns:42px minmax(0,1fr);gap:.7rem;align-items:start}.org-person-main:hover{text-decoration:none}.org-avatar,.mini-avatar{border-radius:12px;background:var(--studio-black);color:white;display:grid;place-items:center;font-size:.68rem;font-weight:700}.org-avatar{width:42px;height:42px}.org-person-copy{display:grid;line-height:1.2;min-width:0}.org-person-copy>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-person-copy strong{font-size:.8rem}.org-person-copy small{font-size:.7rem;color:var(--neutral-600);margin-top:.2rem}.org-person-copy span{font-size:.65rem;color:var(--neutral-500);margin-top:.2rem}.org-toggle{position:absolute;right:.55rem;top:.55rem;width:28px;height:28px;border:0;border-radius:8px;background:var(--neutral-100);display:grid;place-items:center}.org-toggle .icon{width:.8rem;height:.8rem;transition:transform var(--duration-fast)}.org-toggle[aria-expanded="false"] .icon{transform:rotate(-90deg)}.org-report-count{display:inline-flex;align-items:center;align-self:flex-start;margin-top:auto;padding:.2rem .5rem;border-radius:999px;background:var(--neutral-100);font-size:.65rem;font-weight:600;color:var(--neutral-600);font-variant-numeric:tabular-nums}
.project-page-header .button,.project-detail-header .button,.button .icon{gap:.5rem}.project-summary-strip{display:flex;align-items:center;gap:0;border:var(--line);border-radius:var(--radius-surface);background:var(--paper);padding:.7rem;margin-bottom:1.25rem;width:max-content}.project-summary-strip>span{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:.4rem;padding:.15rem 1rem;border-right:var(--line-soft)}.project-summary-strip>span:last-child{border-right:0}.project-summary-strip strong{font-size:1.1rem}.project-summary-strip small{color:var(--neutral-600);font-size:.7rem}.project-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.project-card{display:grid;gap:1.25rem;border:var(--line);border-radius:var(--radius-popover);background:var(--paper);padding:1.2rem;min-height:310px;transition:transform var(--duration-fast),box-shadow var(--duration-fast),border-color var(--duration-fast)}.project-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:var(--shadow-raised);border-color:var(--neutral-500)}.project-card-top{display:flex;align-items:center;justify-content:space-between}.project-icon{width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);display:grid;place-items:center}.project-icon--large{width:52px;height:52px;border-radius:15px}.project-code{font-size:.64rem;color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-weight:700}.project-card h2{font-family:var(--font-sans);font-size:1rem;font-weight:700;margin-top:.25rem}.project-card p{color:var(--neutral-600);font-size:.76rem;margin:.45rem 0 0}.project-progress>div:first-child{display:flex;justify-content:space-between;font-size:.7rem;margin-bottom:.45rem}.progress-track{height:7px;background:var(--neutral-200);border-radius:999px;overflow:hidden}.progress-track>span{display:block;height:100%;background:var(--accent);border-radius:999px}.project-card-meta{display:grid;gap:.45rem;border-top:var(--line-soft);padding-top:.8rem;color:var(--neutral-600);font-size:.68rem}.project-card-meta>span{display:flex;align-items:center;gap:.45rem}.project-card-meta .icon{width:.85rem;height:.85rem}
.work-glance{display:flex;gap:.55rem;flex-wrap:wrap}.work-glance>span{border:var(--line-soft);border-radius:999px;padding:.35rem .65rem;font-size:.68rem;background:var(--paper)}.is-urgent,.is-overdue{color:var(--critical)!important}.work-filter-bar{display:grid;grid-template-columns:minmax(240px,1fr) 180px 160px auto;gap:.65rem;margin-bottom:1rem}.work-filter-bar label{margin:0}.filter-search{display:flex;align-items:center;gap:.5rem;border:var(--line);border-radius:var(--radius-control);padding:0 .7rem;background:var(--paper)}.filter-search input{border:0;padding:.65rem 0}.filter-search input:focus{outline:0}.work-list{border:var(--line);border-radius:var(--radius-surface);background:var(--paper);overflow:hidden}.work-list-head,.work-row{display:grid;grid-template-columns:minmax(280px,2fr) minmax(150px,1fr) 130px 90px 140px;gap:.8rem;align-items:center}.work-list-head{background:var(--neutral-100);padding:.65rem 1rem;color:var(--neutral-600);font-size:.64rem;text-transform:uppercase;letter-spacing:.08em}.work-row{padding:.8rem 1rem;border-top:var(--line-soft);font-size:.76rem}.work-row:hover{background:var(--neutral-50);text-decoration:none}.work-title{display:flex;align-items:center;gap:.7rem;min-width:0}.work-title>span:last-child{display:grid}.work-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-title small{font-size:.66rem;color:var(--neutral-600)}.task-state-ring{width:18px;height:18px;border:2px solid var(--neutral-400);border-radius:50%;flex:0 0 auto}.status-ring--complete{border-color:var(--positive);background:radial-gradient(circle,var(--positive) 0 35%,transparent 40%)}.status-ring--in_progress{border-color:var(--info)}.status-ring--ready_for_review{border-color:var(--notice);background:var(--accent-light)}.status-ring--blocked{border-color:var(--critical)}.work-project,.work-date{display:flex;align-items:center;gap:.4rem;color:var(--neutral-600)}.work-project .icon,.work-date .icon{width:.85rem;height:.85rem}
.project-detail-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:1.2rem}.back-link{display:inline-flex;align-items:center;gap:.45rem;color:var(--neutral-600);font-size:.7rem;margin-bottom:1rem}.back-link .icon{width:.85rem;height:.85rem}.project-title-row{display:flex;align-items:flex-start;gap:1rem}.project-title-row h1{font-size:clamp(2rem,3vw,3rem)}.project-meta-bar{display:flex;align-items:center;gap:1.2rem;border:var(--line);border-radius:var(--radius-surface);background:var(--paper);padding:.75rem 1rem;margin-bottom:1rem;font-size:.7rem;color:var(--neutral-600)}.project-meta-bar>span{display:flex;align-items:center;gap:.4rem}.project-meta-bar .icon{width:.9rem;height:.9rem}.project-meta-progress{display:flex;align-items:center;gap:.6rem;margin-left:auto;min-width:180px}.project-meta-progress .progress-track{flex:1}.view-tabs{display:flex;align-items:center;gap:.2rem;border-bottom:var(--line);margin-bottom:1rem}.view-tabs a{display:flex;align-items:center;gap:.45rem;padding:.65rem .85rem;border-radius:9px 9px 0 0;color:var(--neutral-600);font-size:.74rem}.view-tabs a:hover{background:var(--neutral-100);text-decoration:none}.view-tabs a[aria-current="page"]{color:var(--studio-black);font-weight:700;background:var(--paper);box-shadow:inset 0 -2px var(--accent)}.view-tabs .icon{width:.95rem;height:.95rem}.project-board{grid-template-columns:repeat(6,minmax(260px,1fr))}.board-heading>span:first-child{display:flex;align-items:center;gap:.45rem}.column-count{background:var(--paper);border-radius:999px;padding:.1rem .45rem}.status-dot--in_progress{background:var(--info)}.status-dot--ready_for_review{background:var(--notice)}.status-dot--complete{background:var(--positive)}.status-dot--blocked{background:var(--critical)}.task-card-top,.task-card-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.task-card-top>.icon{width:1rem;height:1rem;color:var(--neutral-500)}.task-card-meta{border-top:var(--line-soft);padding-top:.55rem;font-size:.66rem;color:var(--neutral-600)}.mini-avatar{width:24px;height:24px;border-radius:8px}.task-card-meta>span:nth-child(2){margin-right:auto}.task-date{display:flex;align-items:center;gap:.25rem}.task-date .icon{width:.75rem;height:.75rem}.board-empty{font-size:.7rem;color:var(--neutral-500);text-align:center;padding:1.4rem}.board-add{display:flex;align-items:center;justify-content:center;gap:.4rem;border:1px dashed var(--neutral-300);border-radius:var(--radius-control);padding:.55rem;color:var(--neutral-600);font-size:.7rem}.board-add:hover{background:var(--paper);text-decoration:none}.timeline-view{border:var(--line);border-radius:var(--radius-surface);background:var(--paper);overflow:hidden}.timeline-header,.timeline-row{display:grid;grid-template-columns:260px minmax(620px,1fr)}.timeline-header{background:var(--neutral-100);font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:var(--neutral-600)}.timeline-header>span,.timeline-header>div{padding:.75rem 1rem}.timeline-header>div{display:flex;justify-content:space-between;border-left:var(--line-soft)}.timeline-header>div span{font-weight:400}.timeline-row{border-top:var(--line-soft);min-height:60px}.timeline-row:hover{text-decoration:none;background:var(--neutral-50)}.timeline-label{display:grid;padding:.7rem 1rem}.timeline-label strong{font-size:.76rem}.timeline-label small{font-size:.66rem;color:var(--neutral-600)}.timeline-track{position:relative;border-left:var(--line-soft);background-image:linear-gradient(to right,var(--neutral-200) 1px,transparent 1px);background-size:10% 100%}.timeline-bar{position:absolute;top:17px;height:26px;min-width:28px;border-radius:8px;background:var(--neutral-700);color:white;padding:.25rem .45rem;font-size:.62rem;overflow:hidden}.status-bar--in_progress{background:var(--info)}.status-bar--blocked{background:var(--critical)}.status-bar--ready_for_review{background:var(--notice)}.status-bar--complete{background:var(--positive)}.task-group{border:var(--line);border-radius:var(--radius-surface);background:var(--paper);overflow:hidden;margin-bottom:.8rem}.task-group-heading{display:flex;justify-content:space-between;align-items:center;padding:.7rem .8rem;background:color-mix(in srgb,var(--accent) 7%,white);font-size:.72rem}.task-group-heading>span:first-child{display:flex;align-items:center;gap:.45rem}.group-toggle{width:26px;height:26px;border:0;border-radius:7px;background:transparent;display:grid;place-items:center}.group-toggle:hover{background:rgb(255 255 255 / 70%)}.group-toggle .icon{width:.8rem;height:.8rem}.project-task-head,.project-task-row{display:grid;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) 120px 90px 140px;gap:.8rem;align-items:center}.project-task-head{padding:.55rem 1rem;background:var(--neutral-50);font-size:.62rem;text-transform:uppercase;letter-spacing:.07em;color:var(--neutral-600)}.project-task-row{padding:.72rem 1rem;border-top:var(--line-soft);font-size:.74rem}.project-task-row:hover{background:var(--neutral-50);text-decoration:none}.assignee-cell{display:flex;align-items:center;gap:.5rem}.group-empty{padding:1.2rem;text-align:center;color:var(--neutral-500);font-size:.72rem}
.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-hero{background:var(--studio-black);color:var(--quantum-white);padding:clamp(2rem,7vw,7rem);display:flex;flex-direction:column;justify-content:space-between}.login-hero h1{font-size:clamp(3rem,7vw,7rem);max-width:9ch}.login-hero p{color:var(--neutral-400);max-width:52ch}.login-panel{display:grid;place-items:center;padding:2rem}.login-card{max-width:420px;width:100%}.login-card h2{font-size:2rem;margin-bottom:.75rem}
.local-review-entry{display:grid;grid-template-columns:44px minmax(0,1fr);gap:.8rem;align-items:center;border:var(--line);border-radius:var(--radius-surface);padding:1rem;margin:1.2rem 0;background:var(--paper);box-shadow:var(--shadow-raised)}.local-review-icon{width:44px;height:44px;border-radius:13px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);display:grid;place-items:center}.local-review-entry>div{display:grid}.local-review-entry p{margin:.15rem 0 0;color:var(--neutral-600);font-size:.72rem}.local-review-entry .button{grid-column:1/-1}.login-divider{display:flex;align-items:center;gap:.7rem;margin:1.2rem 0;color:var(--neutral-500);font-size:.64rem;text-transform:uppercase;letter-spacing:.08em}.login-divider::before,.login-divider::after{content:"";height:1px;background:var(--neutral-200);flex:1}
@media(max-width:1200px){.suite-frame{grid-template-columns:68px 204px minmax(0,1fr)}.project-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-list-head,.work-row{grid-template-columns:minmax(240px,2fr) minmax(130px,1fr) 110px 80px}.work-list-head>span:last-child,.work-row>span:last-child{display:none}.project-task-head,.project-task-row{grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) 110px 130px}.project-task-head>span:nth-child(4),.project-task-row>span:nth-child(4){display:none}.org-canvas{padding:1.5rem}.org-person-card{width:230px}}
@media(max-width:1000px){.topbar{grid-template-columns:minmax(220px,1fr) minmax(240px,1.3fr) auto}.workspace-copy strong{max-width:180px}.suite-frame{grid-template-columns:64px minmax(0,1fr)}.context-sidebar{display:none}.metric-grid{grid-template-columns:repeat(2,1fr)}.layout-two,.detail-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.panel--wide{grid-column:auto}.module-admin-grid{grid-template-columns:1fr}.project-card-grid{grid-template-columns:1fr 1fr}.project-meta-bar{flex-wrap:wrap}.project-meta-progress{margin-left:0;min-width:160px}.work-filter-bar{grid-template-columns:minmax(220px,1fr) 150px 150px auto}.org-tree{justify-content:flex-start}.org-tree--roots{min-width:max-content}}
@media(max-width:700px){.topbar{height:64px;grid-template-columns:minmax(0,1fr) auto;padding:0 .7rem}.workspace-copy small,.workspace-trigger>.icon,.global-search{display:none}.workspace-copy strong{max-width:190px}.workspace-mark{width:36px;height:36px}.suite-frame{display:block;min-height:calc(100vh - 64px)}.tool-rail{position:fixed;bottom:0;top:auto;left:0;right:0;width:auto;height:62px;z-index:60;display:flex;flex-direction:row;justify-content:center;padding:.45rem;background:var(--studio-black);overflow-x:auto}.tool-rail-item{width:46px;height:46px;flex:0 0 46px}.tool-rail-item[aria-current="page"]::before{left:50%;top:-7px;width:24px;height:4px;transform:translateX(-50%);border-radius:0 0 4px 4px}.tool-rail-item::after{display:none}.tool-divider{width:1px;height:28px;border-top:0;border-left:1px solid var(--neutral-700)}.tool-rail-settings{margin-top:0;margin-left:auto}.main{padding:1.25rem 1rem 5.5rem}.page-header,.project-detail-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:2.3rem}.metric-grid{grid-template-columns:1fr 1fr}.layout-two,.detail-grid{grid-template-columns:1fr}.login-shell{grid-template-columns:1fr}.login-hero{min-height:42vh}.login-hero h1{font-size:3rem}.board,.project-board{grid-template-columns:repeat(6,82vw)}.status-map{grid-template-columns:1fr}.compact-list>div,.rule-row{align-items:flex-start;flex-direction:column}.project-card-grid{grid-template-columns:1fr}.project-summary-strip{width:100%;overflow-x:auto}.project-summary-strip>span{min-width:max-content}.work-filter-bar{grid-template-columns:1fr 1fr}.filter-search{grid-column:1/-1}.work-list{overflow-x:auto}.work-list-head,.work-row{min-width:720px}.project-title-row{align-items:flex-start}.project-icon--large{width:44px;height:44px}.project-meta-bar{align-items:flex-start}.project-meta-progress{width:100%}.view-tabs{overflow-x:auto}.project-list-view{overflow-x:auto}.task-group{min-width:720px}.timeline-view{overflow-x:auto}.timeline-header,.timeline-row{min-width:880px}.org-toolbar{align-items:flex-start;flex-direction:column}.org-facts{padding-left:.25rem}.org-matches{grid-template-columns:1fr}.org-explorer-header{align-items:flex-start}.org-explorer-header>.fine{display:none}.org-canvas{padding:1rem}.menu-popover{position:fixed;left:.75rem;right:.75rem;top:70px;min-width:0}.profile-popover{left:auto}.module-admin-card{grid-template-columns:42px minmax(0,1fr)}.module-admin-card form{grid-column:2}.project-card{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Accessibility-led Symphony polish: electric module roles, comfortable type, and readable hierarchy cards. */
.org-person-card{width:280px;min-height:132px;padding:.9rem;gap:.7rem}.org-person-card.is-match{border-color:var(--voltage-coral);box-shadow:0 0 0 3px color-mix(in srgb,var(--voltage-coral) 16%,transparent)}.org-person-main{grid-template-columns:44px minmax(0,1fr);gap:.75rem;padding-right:2rem}.org-avatar,.mini-avatar{background:var(--voltage-coral);color:var(--studio-black);font-size:.76rem;font-weight:800}.org-avatar{width:44px;height:44px}.org-person-copy{line-height:1.25}.org-person-copy strong{font-size:.9rem}.org-person-copy small{font-size:.8rem}.org-person-copy span{font-size:.76rem}.org-toggle{right:.6rem;top:.6rem;width:34px;height:34px;border-radius:10px;background:var(--neutral-100);color:var(--neutral-600)}.org-toggle:hover{background:var(--neutral-200);color:var(--studio-black)}.org-toggle .icon{width:.9rem;height:.9rem}.org-report-count{font-size:.72rem}
.project-icon{width:42px;height:42px;background:var(--quantum-violet);color:var(--studio-black)}.project-icon--large{width:54px;height:54px}.project-code{font-size:.74rem;color:var(--neutral-700);font-weight:800}.project-card h2{font-size:1.08rem;font-weight:750}.project-card p{font-size:.84rem}.project-progress>div:first-child{font-size:.78rem}.progress-track{height:8px}.progress-track>span{background:var(--quantum-violet)}.project-card-meta{gap:.5rem;padding-top:.85rem;font-size:.78rem}.project-card-meta .icon{width:.9rem;height:.9rem}
.workspace-copy small,.workspace-option small,.profile-summary small,.profile-role,.menu-heading,.fine,.eyebrow,.metric span,.status,.priority,.board-heading,label,.helptext,.definition-list dt,.compact-list span,.rule-row span,.status-map span,summary,.module-admin-copy small,.org-facts,.org-match-list a,.org-explorer-header small,.project-summary-strip small,.work-glance>span,.work-list-head,.work-title small,.back-link,.project-meta-bar,.view-tabs a,.task-card-meta,.board-empty,.board-add,.timeline-header,.timeline-label small,.timeline-bar,.task-group-heading,.project-task-head,.project-task-row,.group-empty,.local-review-entry p,.login-divider{font-size:max(.76rem,13px)}
table,.context-sidebar nav a,.context-tools a,.notification-preview-item>span:last-child>span,.notification-preview-item small,.work-row{font-size:max(.84rem,14px)}
.page-intro,.panel p,.list-copy span{font-size:1rem;line-height:1.55}.org-explorer-header strong{font-size:1rem}.button,button.button{min-height:44px;font-size:.78rem}.button--small{min-height:36px;font-size:.74rem}
@media(max-width:1200px){.suite-frame{grid-template-columns:84px 204px minmax(0,1fr)}.org-person-card{width:260px}}
@media(max-width:1000px){.suite-frame{grid-template-columns:84px minmax(0,1fr)}}
@media(max-width:700px){.tool-rail{height:74px;padding:.35rem}.tool-rail-item{width:62px;min-height:60px;height:60px;flex:0 0 62px}.tool-rail-label{font-size:.68rem}.tool-lock{right:5px;top:5px}.main{padding-bottom:6.5rem}.org-person-card{width:260px}.project-icon--large{width:46px;height:46px}}

/* CRM: a relationship workspace with a bright live-signal role and review-first messaging. */
.button--ghost{background:transparent;color:var(--neutral-700);border-color:var(--neutral-300)}.button--ghost:hover{background:var(--neutral-100)}.positive-text{color:var(--positive);font-weight:700}
.crm-page-header{padding-bottom:.3rem}.crm-metrics .metric{position:relative;overflow:hidden}.crm-metrics .metric::after{content:"";position:absolute;right:-32px;bottom:-50px;width:110px;height:110px;border-radius:50%;background:color-mix(in srgb,var(--neon-rouge) 9%,transparent)}.metric-icon{width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--neon-rouge) 14%,white);display:grid;place-items:center;margin-bottom:.65rem}.metric-icon .icon{width:1rem;height:1rem}.crm-section-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:1.8rem 0 .8rem}.crm-section-heading h2{margin:.1rem 0 0;font-size:1.35rem}.crm-section-heading>a{display:flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:700}.crm-section-heading .icon{width:.9rem;height:.9rem}
.crm-pipeline-summary{display:grid;grid-template-columns:repeat(4,minmax(200px,1fr));gap:.8rem;overflow-x:auto;padding-bottom:.5rem}.crm-stage-summary{min-width:220px;border:var(--line);border-top:4px solid var(--stage-colour,var(--neon-rouge));border-radius:var(--radius-surface);background:var(--paper);padding:.9rem}.crm-stage-summary>div{display:flex;align-items:center;gap:.5rem}.crm-stage-summary>div>span:last-child{margin-left:auto;border-radius:999px;background:var(--neutral-100);padding:.1rem .45rem;font-size:.76rem}.crm-stage-dot{width:10px;height:10px;border-radius:50%;background:var(--stage-colour,var(--neon-rouge));flex:0 0 auto}.crm-stage-summary>p{font-size:.76rem;color:var(--neutral-600);margin:.25rem 0 .8rem}.crm-stage-summary>a{display:grid;padding:.65rem 0;border-top:var(--line-soft)}.crm-stage-summary>a:hover{text-decoration:none;color:var(--neutral-700)}.crm-stage-summary>a>strong{font-size:.85rem}.crm-stage-summary>a>span{font-size:.76rem;color:var(--neutral-600)}.crm-stage-empty{display:block;padding:.8rem 0;color:var(--neutral-500);font-size:.78rem}.crm-home-lower{margin-top:1.25rem}.crm-message-callout{background:linear-gradient(145deg,color-mix(in srgb,var(--neon-rouge) 12%,white),color-mix(in srgb,var(--electric-rosin) 14%,white));border-color:color-mix(in srgb,var(--neon-rouge) 30%,var(--neutral-200))}.crm-callout-icon,.record-avatar{width:52px;height:52px;border-radius:15px;background:var(--neon-rouge);color:var(--studio-black);display:grid;place-items:center}.crm-callout-icon .icon,.record-avatar .icon{width:1.35rem;height:1.35rem}.crm-message-callout h2{font-size:1.45rem;margin:.2rem 0}.crm-message-callout .button{margin-top:.5rem}
.crm-activity-list{display:grid}.crm-activity{display:grid;grid-template-columns:36px minmax(0,1fr);gap:.75rem;padding:.8rem 0;border-bottom:var(--line-soft)}.crm-activity:last-child{border-bottom:0}.crm-activity-icon{width:36px;height:36px;border-radius:11px;background:color-mix(in srgb,var(--neon-rouge) 12%,white);display:grid;place-items:center}.crm-activity-icon .icon{width:.9rem;height:.9rem}.crm-activity>div{display:grid}.crm-activity strong{font-size:.86rem}.crm-activity span,.crm-activity small{color:var(--neutral-600);font-size:.76rem}.empty-inline{padding:1rem 0;color:var(--neutral-600);font-size:.82rem}
.crm-filter{grid-template-columns:minmax(280px,1fr) auto}.crm-contact-filter{grid-template-columns:minmax(280px,1fr) 190px auto}.record-avatar--person{font-size:1rem;font-weight:800}.record-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:var(--line);border-radius:var(--radius-surface);background:var(--paper);margin-bottom:1.25rem;overflow:hidden}.record-highlights>div{display:grid;padding:1rem;border-right:var(--line-soft)}.record-highlights>div:last-child{border-right:0}.record-highlights span{font-size:.76rem;color:var(--neutral-600)}.record-highlights strong{font-size:.92rem;margin-top:.2rem}.crm-fact-list{display:grid;gap:.8rem}.crm-fact{padding:.9rem;border:var(--line-soft);border-radius:var(--radius-control);background:var(--neutral-50)}.crm-fact>span{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.crm-fact p{margin:.45rem 0}.crm-fact small{color:var(--neutral-600);font-size:.74rem}.sensitive-badge{display:inline-flex!important;align-items:center;gap:.3rem;border-radius:999px;background:color-mix(in srgb,var(--electric-rosin) 28%,white);padding:.2rem .5rem;color:var(--neutral-800)!important;font-size:.7rem!important}.sensitive-badge .icon{width:.75rem;height:.75rem}
.crm-opportunity-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem;overflow-x:auto;padding-bottom:1rem}.crm-opportunity-column{border:var(--line-soft);border-top:4px solid var(--stage-colour,var(--neon-rouge));border-radius:var(--radius-surface);background:var(--neutral-100);padding:.75rem;min-height:420px}.crm-opportunity-column>header{display:flex;justify-content:space-between;gap:.5rem;align-items:center;padding:.15rem .15rem .75rem}.crm-opportunity-column>header>span{display:flex;align-items:center;gap:.45rem}.crm-opportunity-column>header small{color:var(--neutral-600);font-size:.72rem}.crm-deal-card{display:grid;gap:.45rem;background:var(--paper);border:var(--line-soft);border-radius:var(--radius-control);padding:.9rem;margin-bottom:.65rem;box-shadow:0 2px 7px rgb(18 18 17 / 4%)}.crm-deal-card:hover{text-decoration:none;border-color:var(--neutral-500);box-shadow:var(--shadow-raised)}.crm-deal-account{font-size:.72rem;color:var(--neutral-600)}.crm-deal-card>strong{font-size:.9rem}.crm-deal-value{font-size:1rem;font-weight:800}.crm-deal-meta{display:flex;align-items:center;gap:.4rem;border-top:var(--line-soft);padding-top:.55rem;font-size:.74rem;color:var(--neutral-600)}.crm-deal-meta small{margin-left:auto}.crm-next-step{display:flex;align-items:center;gap:.35rem;border-radius:8px;background:color-mix(in srgb,var(--neon-rouge) 8%,white);padding:.45rem;font-size:.73rem}.crm-next-step .icon{width:.75rem;height:.75rem}.crm-stage-path{display:flex;overflow-x:auto;margin-bottom:1rem;border:var(--line);border-radius:var(--radius-control);background:var(--paper);padding:.4rem}.crm-stage-path form{flex:1}.crm-stage-path button,.crm-stage-path>span{display:flex;width:100%;align-items:center;justify-content:center;gap:.4rem;min-width:135px;border:0;border-radius:8px;background:transparent;padding:.65rem .75rem;color:var(--neutral-600);font-size:.78rem}.crm-stage-path button:hover{background:var(--neutral-100)}.crm-stage-path .is-current{background:var(--neon-rouge);color:var(--studio-black);font-weight:800}.crm-stage-path button>span,.crm-stage-path>span>span{width:22px;height:22px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:.68rem}
.crm-messages-header{margin-bottom:1rem}.crm-inbox-grid{display:grid;grid-template-columns:minmax(220px,270px) minmax(390px,1fr) minmax(300px,370px);height:calc(100vh - 245px);min-height:620px;border:var(--line);border-radius:var(--radius-popover);background:var(--paper);overflow:hidden;box-shadow:0 5px 24px rgb(18 18 17 / 5%)}.crm-thread-pane,.crm-conversation-pane,.crm-review-pane{min-width:0;min-height:0}.crm-thread-pane{border-right:var(--line-soft);background:var(--neutral-50);display:flex;flex-direction:column}.crm-review-pane{border-left:var(--line-soft);background:var(--neutral-50);overflow-y:auto}.crm-review-pane>section{border-bottom:var(--line-soft)}.crm-pane-header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.8rem;border-bottom:var(--line-soft)}.crm-pane-header>div{display:grid}.crm-pane-header strong{font-size:.86rem}.crm-pane-header small{font-size:.72rem;color:var(--neutral-600)}.crm-pane-header>.icon{width:1rem;height:1rem;color:var(--neutral-600)}.crm-thread-list{overflow-y:auto}.crm-thread-list>a{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.75rem;border-bottom:var(--line-soft)}.crm-thread-list>a:hover{text-decoration:none;background:var(--paper)}.crm-thread-list>a[aria-current="page"]{background:color-mix(in srgb,var(--neon-rouge) 10%,white);box-shadow:inset 3px 0 var(--neon-rouge)}.crm-thread-list>a>span:nth-child(2){display:grid;min-width:0}.crm-thread-list>a strong,.crm-thread-list>a small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-thread-list>a strong{font-size:.82rem}.crm-thread-list>a small{font-size:.72rem;color:var(--neutral-600)}.channel-avatar{width:38px;height:38px;border-radius:12px;background:var(--studio-black);color:white;display:grid;place-items:center}.channel-avatar .icon{width:1rem;height:1rem}.channel-avatar--whatsapp{background:#25d366;color:#0c3219}.channel-avatar--gmail{background:var(--voltage-coral);color:var(--studio-black)}.channel-avatar--outlook{background:var(--info);color:white}.channel-avatar--demo{background:var(--quantum-violet);color:var(--studio-black)}.thread-time{display:grid;justify-items:end;color:var(--neutral-600);font-size:.68rem}.thread-time strong,.suggestion-count{display:grid;place-items:center;min-width:21px;height:21px;border-radius:999px;background:var(--neon-rouge);color:var(--studio-black);font-size:.68rem}.crm-conversation-pane{display:grid;grid-template-rows:auto 1fr auto}.crm-conversation-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:66px;padding:.7rem 1rem;border-bottom:var(--line-soft)}.crm-conversation-header>div{display:flex;align-items:center;gap:.65rem}.crm-conversation-header>div>span:last-child{display:grid}.crm-conversation-header strong{font-size:.9rem}.crm-conversation-header small{font-size:.74rem;color:var(--neutral-600)}.crm-conversation-header>a{display:flex;align-items:center;gap:.3rem;color:var(--neutral-700);font-size:.76rem;font-weight:700}.crm-conversation-header .icon{width:.85rem;height:.85rem}.crm-message-stream{overflow-y:auto;padding:1rem;background:linear-gradient(150deg,color-mix(in srgb,var(--quantum-violet) 4%,white),color-mix(in srgb,var(--electric-rosin) 5%,white))}.crm-message{max-width:min(78%,620px);border:var(--line-soft);border-radius:14px 14px 14px 4px;background:var(--paper);padding:.75rem .85rem;margin-bottom:.75rem;box-shadow:0 2px 8px rgb(18 18 17 / 4%)}.crm-message--outbound{margin-left:auto;border-radius:14px 14px 4px 14px;background:color-mix(in srgb,var(--quantum-violet) 13%,white)}.crm-message>div{display:flex;justify-content:space-between;gap:1rem;font-size:.7rem}.crm-message>div time{color:var(--neutral-600)}.crm-message p{font-size:.86rem;line-height:1.5;margin:.35rem 0 0}.crm-message>small{display:flex;align-items:center;gap:.3rem;border-top:1px solid rgb(18 18 17 / 10%);margin-top:.55rem;padding-top:.45rem;color:var(--neutral-600);font-size:.68rem}.crm-message>small .icon{width:.75rem;height:.75rem}.crm-composer{border-top:var(--line-soft);padding:.75rem;background:var(--paper)}.crm-composer label{display:none}.crm-composer textarea{width:100%;min-height:72px;resize:vertical;border-radius:var(--radius-control)}.crm-composer>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.5rem}.crm-composer>div>span{display:flex;align-items:center;gap:.35rem;color:var(--neutral-600);font-size:.7rem}.crm-composer>div>span .icon{width:.8rem;height:.8rem}.crm-pane-empty{display:grid;justify-items:center;text-align:center;gap:.35rem;padding:2rem 1rem;color:var(--neutral-600);font-size:.78rem}.crm-pane-empty>.icon{width:1.4rem;height:1.4rem}.crm-pane-empty--large{align-content:center;height:100%}.crm-pane-empty--large h2{margin:0;color:var(--studio-black)}.crm-pane-empty--large p{margin:0}.crm-proposal-list{display:grid;gap:.7rem;padding:.75rem}.crm-proposal{border:var(--line-soft);border-radius:var(--radius-control);background:var(--paper);padding:.75rem}.crm-proposal.is-sensitive{border-color:color-mix(in srgb,var(--electric-rosin) 65%,var(--neutral-300));box-shadow:inset 3px 0 var(--electric-rosin)}.crm-proposal>div:first-child{display:grid;grid-template-columns:34px minmax(0,1fr);gap:.6rem}.crm-proposal>div:first-child>span:last-child{display:grid}.crm-proposal>div:first-child small{color:var(--neutral-600);font-size:.68rem}.crm-proposal-icon{width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--neon-rouge) 12%,white);display:grid;place-items:center}.crm-proposal-icon .icon{width:.9rem;height:.9rem}.crm-change-preview{display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:.4rem!important;align-items:center;margin:.7rem 0}.crm-change-preview>span:not(.icon){display:grid;align-content:start;min-height:58px;border-radius:8px;background:var(--neutral-100);padding:.5rem}.crm-change-preview small{color:var(--neutral-600);font-size:.65rem}.crm-change-preview strong{font-size:.76rem;overflow-wrap:anywhere}.crm-change-preview>.icon{width:.8rem;height:.8rem}.sensitive-note{display:flex;gap:.4rem;align-items:flex-start;background:color-mix(in srgb,var(--electric-rosin) 22%,white);border-radius:8px;padding:.55rem!important;margin:.5rem 0!important;font-size:.7rem!important;line-height:1.35!important}.sensitive-note .icon{width:.8rem;height:.8rem;flex:0 0 auto}.crm-proposal-actions{display:flex!important;justify-content:flex-end!important;gap:.4rem!important;margin-top:.6rem}.crm-proposal-actions .button{min-height:36px}.crm-assistant>form{padding:.75rem}.crm-assistant textarea{width:100%;min-height:76px}.crm-assistant form>.button{width:100%;margin-top:.5rem}.crm-assistant-draft{border:var(--line-soft);border-radius:var(--radius-control);background:var(--paper);margin:.75rem;padding:.75rem}.crm-assistant-draft.requires-human{border-color:color-mix(in srgb,var(--voltage-coral) 45%,var(--neutral-300))}.crm-assistant-draft>div:first-child{display:flex;justify-content:space-between;gap:.5rem}.crm-assistant-draft p{font-size:.78rem!important;line-height:1.45!important}.crm-assistant-draft>small{color:var(--neutral-600);font-size:.68rem}.crm-assistant-draft details{font-size:.7rem}.crm-assistant-draft ul{padding-left:1.1rem}.crm-handoff-notice{display:flex;gap:.65rem;padding:.9rem;background:color-mix(in srgb,var(--voltage-coral) 12%,white)}.crm-handoff-notice>.icon{width:1rem;height:1rem}.crm-handoff-notice>div{display:grid}.crm-handoff-notice span{font-size:.72rem;color:var(--neutral-700)}
.crm-manual-handoff{padding:.75rem}.crm-manual-handoff details{margin:0!important;padding:0!important;border:0!important}.crm-manual-handoff summary{display:flex;align-items:center;gap:.45rem}.crm-manual-handoff summary .icon{width:.9rem;height:.9rem}.crm-manual-handoff form{margin-top:.75rem}.crm-manual-handoff textarea{width:100%;min-height:70px}.crm-manual-handoff .button{width:100%;margin-top:.5rem}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.knowledge-card{display:grid;align-content:start;border:var(--line);border-radius:var(--radius-surface);background:var(--paper);padding:1.1rem;min-height:290px}.knowledge-card>div{display:flex;justify-content:space-between}.knowledge-icon{width:40px;height:40px;border-radius:12px;background:var(--electric-rosin);display:grid;place-items:center}.knowledge-icon .icon{width:1rem;height:1rem}.knowledge-card h2{font-family:var(--font-sans);font-size:1.05rem}.knowledge-card>p:not(.eyebrow){color:var(--neutral-600);font-size:.82rem}.knowledge-card footer{display:grid;gap:.2rem;border-top:var(--line-soft);padding-top:.75rem;margin-top:auto;color:var(--neutral-600);font-size:.7rem}.channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.channel-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:.8rem;border:var(--line);border-radius:var(--radius-surface);background:var(--paper);padding:1rem}.channel-card-icon{width:48px;height:48px;border-radius:14px}.channel-card h2{font-family:var(--font-sans);font-size:1rem;margin:.1rem 0}.channel-card p:not(.eyebrow){color:var(--neutral-600);font-size:.8rem}.channel-account{display:inline-block;border-radius:999px;background:var(--neutral-100);padding:.25rem .55rem;font-size:.72rem}.channel-safety{display:flex;gap:1rem;align-items:flex-start;margin-top:1rem}.channel-safety h2{margin:.1rem 0}
@media(max-width:1400px){.crm-inbox-grid{grid-template-columns:230px minmax(350px,1fr) 320px}.crm-pipeline-summary{grid-template-columns:repeat(4,minmax(230px,1fr))}}
@media(max-width:1180px){.crm-inbox-grid{grid-template-columns:220px minmax(360px,1fr)}.crm-review-pane{grid-column:1/-1;border-left:0;border-top:var(--line-soft);display:grid;grid-template-columns:1fr 1fr;height:auto;max-height:none}.crm-inbox-grid{height:auto;min-height:650px}.crm-conversation-pane{height:650px}.crm-review-pane>section{border-right:var(--line-soft)}.knowledge-grid{grid-template-columns:1fr 1fr}.record-highlights{grid-template-columns:1fr 1fr}.record-highlights>div:nth-child(2){border-right:0}.record-highlights>div:nth-child(-n+2){border-bottom:var(--line-soft)}}
@media(max-width:760px){.crm-section-heading{align-items:flex-start;flex-direction:column}.crm-pipeline-summary{grid-template-columns:repeat(4,82vw)}.crm-filter,.crm-contact-filter{grid-template-columns:1fr}.crm-contact-filter .filter-search,.crm-filter .filter-search{grid-column:auto}.record-highlights{grid-template-columns:1fr}.record-highlights>div{border-right:0;border-bottom:var(--line-soft)}.record-highlights>div:last-child{border-bottom:0}.crm-opportunity-board{grid-template-columns:repeat(6,82vw)}.crm-inbox-grid{display:block;border:0;border-radius:0;box-shadow:none}.crm-thread-pane{border:var(--line);border-radius:var(--radius-surface);max-height:300px;margin-bottom:.8rem}.crm-conversation-pane{height:650px;border:var(--line);border-radius:var(--radius-surface);overflow:hidden}.crm-review-pane{display:block;border:var(--line);border-radius:var(--radius-surface);margin-top:.8rem}.crm-message{max-width:90%}.crm-composer>div{align-items:flex-start;flex-direction:column}.crm-composer .button{width:100%}.knowledge-grid,.channel-grid{grid-template-columns:1fr}.channel-card{grid-template-columns:48px minmax(0,1fr)}.channel-card>.status{grid-column:2}.channel-safety{align-items:flex-start;flex-direction:column}}
/* 2026 Calm Electric product direction: approachable Symphony chrome, clear paths, stable module colour. */
html{background:var(--canvas)}
body{background:var(--canvas);color:#1d1922}

.topbar{
  height:68px;
  grid-template-columns:minmax(270px,1fr) minmax(320px,620px) minmax(180px,1fr);
  padding:0 18px;
  color:white;
  background:var(--shell-ink);
  border-bottom:0;
  box-shadow:0 3px 18px rgb(20 14 27 / 16%);
  backdrop-filter:none;
}
.workspace-trigger{min-height:48px;padding:5px 8px 5px 5px}
.workspace-trigger:hover{background:rgb(255 255 255 / 9%)}
.workspace-mark{width:40px;height:40px;border-radius:12px;background:var(--electric-rosin);color:var(--studio-black);font-weight:750}
.workspace-copy strong{font-size:.88rem;color:white}
.workspace-copy small{color:#cfc7d8;font-size:max(.69rem,13px)}
.workspace-trigger>.icon{color:#cfc7d8}
.global-search{height:42px;background:rgb(255 255 255 / 11%);border:1px solid rgb(255 255 255 / 17%);box-shadow:none}
.global-search:focus-within{background:white;border-color:white;box-shadow:0 0 0 3px rgb(255 224 75 / 40%);color:var(--studio-black)}
.global-search .icon{color:#d8d1df}
.global-search input{color:white}
.global-search input::placeholder{color:#d8d1df;opacity:1}
.global-search:focus-within input{color:var(--studio-black)}
.global-search:focus-within input::placeholder{color:var(--neutral-600)}
.global-search kbd{color:#ddd7e4;border-color:rgb(255 255 255 / 15%);background:rgb(255 255 255 / 8%)}
.global-search:focus-within kbd{color:var(--neutral-600);border-color:var(--neutral-200);background:var(--neutral-50)}
.top-actions .icon-button{border-color:rgb(255 255 255 / 16%);background:rgb(255 255 255 / 8%);color:white}
.top-actions .icon-button:hover{background:rgb(255 255 255 / 16%)}
.top-actions .notification-link{background:var(--electric-rosin);border-color:var(--electric-rosin);color:var(--studio-black)}
.top-actions .notification-link:hover{background:#ffe878}
.notification-count{border-color:var(--shell-ink)}

.suite-frame{grid-template-columns:82px 244px minmax(0,1fr);min-height:calc(100vh - 68px)}
.tool-rail{
  top:68px;
  height:calc(100vh - 68px);
  padding:12px 7px;
  gap:6px;
  color:#cfc8d7;
  background:#1d1727;
  border-right:1px solid rgb(255 255 255 / 7%);
}
.tool-rail-item{width:66px;min-height:61px;border-radius:15px;gap:5px}
.tool-rail-item>.icon{width:1.28rem;height:1.28rem}
.tool-rail-label{font-size:max(.68rem,13px);font-weight:600}
.tool-rail-item:hover{background:rgb(255 255 255 / 9%)}
.tool-rail-item[aria-current="page"]{box-shadow:0 5px 18px color-mix(in srgb,var(--tool-color) 22%,transparent)}
.tool-rail-item[aria-current="page"]::before{left:-7px;width:4px;height:28px;border-radius:0 8px 8px 0;background:white}
.tool-divider{border-color:#4b4258}
.tool-lock{right:6px;top:6px;background:#3b3346;color:var(--electric-rosin)}

.context-sidebar{
  top:68px;
  height:calc(100vh - 68px);
  padding:20px 14px;
  background:var(--canvas-tint);
  border-right:1px solid #ded8e4;
}
.context-heading{padding:2px 6px 18px;margin-bottom:8px;border-bottom:1px solid #ddd7e2}
.context-icon{width:42px;height:42px;border-radius:13px;box-shadow:0 5px 15px color-mix(in srgb,var(--tool-color) 20%,transparent)}
.context-heading span:not(.icon):not(.context-icon),.context-tools p{color:#6b6472;font-size:max(.67rem,13px);font-weight:750}
.context-heading strong{font-size:1.05rem;font-weight:750}
.context-sidebar nav{gap:4px}
.context-sidebar nav a,.context-tools a{min-height:46px;padding:10px 12px;border-radius:11px;color:#50475a;font-size:max(.84rem,14px);font-weight:550}
.context-sidebar nav a:hover,.context-tools a:hover{background:rgb(255 255 255 / 72%)}
.context-sidebar nav a[aria-current="page"]{background:white;box-shadow:inset 4px 0 var(--tool-color),0 3px 12px rgb(29 23 39 / 5%);font-weight:750}
.context-primary{min-height:46px;border-radius:11px;box-shadow:0 5px 16px color-mix(in srgb,var(--tool-color) 20%,transparent);text-transform:none;letter-spacing:0}
.context-tools{border-color:#ddd7e2}
.org-avatar,.org-person-copy span,.org-report-count{font-size:13px}
.org-person-copy small{font-size:14px}

.main{max-width:none;padding:28px clamp(22px,3vw,48px) 64px;background:#fbfafc}
.page-header{
  align-items:center;
  padding:24px 26px;
  margin-bottom:22px;
  background:white;
  border:1px solid #e1dce5;
  border-radius:16px;
  box-shadow:var(--shadow-soft);
}
.page-header>div:first-child{position:relative;padding-left:16px}
.page-header>div:first-child::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:5px;border-radius:8px;background:var(--tool-color)}
.page-header h1,h1,h2,h3{font-family:var(--font-display);font-weight:650}
h1{font-size:clamp(2rem,3.4vw,3.15rem);line-height:1.04;letter-spacing:-.035em}
h2{font-size:1.38rem;letter-spacing:-.02em}
.page-intro{color:#675f6d;line-height:1.55}
.eyebrow{color:#6f2e42;font-size:max(.67rem,13px);letter-spacing:.11em}
body.tool-people .eyebrow,body.tool-projects .eyebrow,body.tool-crm .eyebrow{color:#554c5d}

.button,button.button{
  min-height:44px;
  border-radius:10px;
  padding:.65rem 1rem;
  font-size:max(.78rem,14px);
  font-weight:750;
  text-transform:none;
  letter-spacing:0;
  box-shadow:0 2px 7px rgb(18 18 17 / 9%);
}
.button--secondary{background:white;box-shadow:none}
.button--ghost{box-shadow:none}
body.tool-people .page-header .button:not(.button--secondary),body.tool-people .context-primary{background:var(--voltage-coral);border-color:var(--voltage-coral);color:var(--studio-black)}
body.tool-projects .page-header .button:not(.button--secondary),body.tool-projects .context-primary{background:var(--quantum-violet);border-color:var(--quantum-violet);color:var(--studio-black)}
body.tool-crm .page-header .button:not(.button--secondary),body.tool-crm .context-primary{background:var(--neon-rouge);border-color:var(--neon-rouge);color:var(--studio-black)}

.panel,.metric,.table-wrap,.form-card,.project-card,.knowledge-card,.channel-card,.record-highlights,.crm-inbox-grid{border-color:#dfdae3;box-shadow:var(--shadow-soft)}
.panel{border-radius:16px;padding:1.35rem}
.panel-header{border-color:#ebe7ee}
.table-wrap{border-radius:14px}
th{background:#f2eff5;color:#655d6e}
tbody tr:hover{background:#f8f6fa}
.form-card{border-radius:16px}
input,select,textarea{min-height:44px;border-color:#cbc4d1;background:#fff}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--quantum-violet);box-shadow:0 0 0 3px rgb(117 103 255 / 13%)}
.people-filter{display:grid;grid-template-columns:minmax(260px,1fr) 210px auto;align-items:center;gap:10px;margin-bottom:16px;padding:12px;background:white;border:1px solid #dfdae3;border-radius:14px;box-shadow:var(--shadow-soft)}
.people-filter>div{min-width:0}
.people-filter-search{position:relative}
.people-filter-search>.icon{position:absolute;left:14px;top:50%;width:1rem;height:1rem;color:#746b7c;transform:translateY(-50%);pointer-events:none}
.people-filter-search input{padding-left:42px}
.people-filter input,.people-filter select{margin:0}
.people-filter .button{white-space:nowrap}
.status{background:white}
.project-card,.task-card,.crm-deal-card,.knowledge-card,.channel-card{transition:transform var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),border-color var(--duration-fast) var(--ease-standard)}
.project-card:hover,.task-card:hover,.crm-deal-card:hover,.knowledge-card:hover,.channel-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgb(29 23 39 / 10%)}

/* Home: one strong opening, then familiar routes and a calm priority queue. */
.home-hero{
  position:relative;
  isolation:isolate;
  min-height:220px;
  overflow:hidden;
  padding:34px 36px;
  color:white;
  background:linear-gradient(125deg,#2a1c3b 0%,#493774 62%,#5d4d91 100%);
  border:0;
  box-shadow:0 16px 42px rgb(47 34 73 / 20%);
}
.home-hero::after{content:"";position:absolute;z-index:-1;right:-76px;bottom:-120px;width:330px;height:330px;border:64px solid rgb(255 224 75 / 17%);border-radius:50%}
.home-hero>div:first-child{padding-left:0;max-width:780px}
.home-hero>div:first-child::before{display:none}
.home-hero .eyebrow{color:var(--electric-rosin);margin-bottom:12px}
.home-hero h1{max-width:13ch;font-size:clamp(2.55rem,4.2vw,4.25rem);font-weight:700;letter-spacing:-.045em}
.home-hero .page-intro{max-width:58ch;color:#e9e3ef;font-size:1.04rem}
.home-hero-actions{align-self:flex-end;position:relative;z-index:1}
.home-hero .button{background:var(--electric-rosin);border-color:var(--electric-rosin);color:var(--studio-black)}
.home-hero .button:hover{background:#ffe878}
.home-hero .button--secondary{background:rgb(255 255 255 / 9%);border-color:rgb(255 255 255 / 55%);color:white;box-shadow:none}
.home-hero .button--secondary:hover{background:rgb(255 255 255 / 16%)}

.home-metrics{gap:12px;margin:-42px 20px 30px;position:relative;z-index:3}
.home-metrics .metric{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:116px;padding:18px;background:white;color:var(--studio-black);border:0;border-radius:14px;overflow:hidden}
.home-metrics .metric::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--metric-colour,var(--quantum-violet))}
.home-metrics .metric:nth-child(1){--metric-colour:var(--electric-rosin)}
.home-metrics .metric:nth-child(2){--metric-colour:var(--voltage-coral)}
.home-metrics .metric:nth-child(3){--metric-colour:var(--quantum-violet)}
.home-metrics .metric:nth-child(4){--metric-colour:var(--neon-rouge)}
.home-metrics .metric strong{grid-column:2;font-size:2.1rem;font-weight:700}
.home-metrics .metric>span:last-child{grid-column:2;color:#675f6d;margin-top:1px;font-size:max(.76rem,14px)}
.metric-symbol{grid-row:1/3;width:46px;height:46px;border-radius:13px;display:grid!important;place-items:center;background:color-mix(in srgb,var(--metric-colour) 22%,white);color:var(--studio-black);margin:0!important}
.metric-symbol .icon{width:1.15rem;height:1.15rem}

.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}
.section-heading h2{font-size:1.5rem}
.home-module-section{margin-bottom:28px}
.home-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-module-card{--module-card:var(--electric-rosin);display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:92px;padding:16px;background:white;border:1px solid #dfdae3;border-radius:15px;box-shadow:var(--shadow-soft);transition:transform var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}
.home-module-card:hover{transform:translateY(-2px);text-decoration:none;box-shadow:0 13px 30px rgb(29 23 39 / 10%)}
.home-module-card--people{--module-card:var(--voltage-coral)}
.home-module-card--projects{--module-card:var(--quantum-violet)}
.home-module-card--crm{--module-card:var(--neon-rouge)}
.home-module-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:var(--module-card);color:var(--studio-black)}
.home-module-card>span:nth-child(2){display:grid;gap:2px}
.home-module-card strong{font-size:1rem}
.home-module-card small{color:#706779;font-size:max(.73rem,13px);line-height:1.35}
.home-module-card>.icon{width:1rem;height:1rem;color:#776f7f;transition:transform var(--duration-fast) var(--ease-standard)}
.home-module-card:hover>.icon{transform:translateX(3px)}

.home-lower-grid{grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:18px}
.home-priority-panel,.home-guide-card{min-height:350px}
.arrow-link{display:inline-flex;align-items:center;gap:6px;font-size:max(.78rem,14px);font-weight:700}
.arrow-link .icon{width:.9rem;height:.9rem}
.home-task-list .list-row{grid-template-columns:42px minmax(0,1fr) auto;gap:12px;padding:15px 2px}
.task-row-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#fff2ec;color:var(--critical)}
.task-row-icon .icon{width:1rem;height:1rem}
.task-row-status{display:grid;justify-items:end;gap:3px}
.task-row-status small{font-size:max(.7rem,13px)}
.home-guide-card{position:relative;overflow:hidden;background:#fff8d9;border-color:#eadb93}
.home-guide-card::after{content:"";position:absolute;right:-44px;top:-54px;width:150px;height:150px;border-radius:50%;background:rgb(255 224 75 / 32%)}
.home-guide-icon{position:relative;z-index:1;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--electric-rosin);margin-bottom:15px}
.home-guide-icon .icon{width:1.15rem;height:1.15rem}
.home-guide-card h2{max-width:18ch}
.home-guide-steps{list-style:none;margin:20px 0;padding:0;display:grid;gap:13px}
.home-guide-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start}
.home-guide-steps li>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--studio-black);color:white;font-size:.72rem;font-weight:750}
.home-guide-steps p{display:grid;margin:0!important;line-height:1.25!important}
.home-guide-steps strong{font-size:max(.78rem,14px)}
.home-guide-steps small{margin-top:3px;color:#6f663f;font-size:max(.7rem,13px);line-height:1.35}
.home-guide-card .button{position:relative;z-index:1}

@media(max-width:1200px){
  .suite-frame{grid-template-columns:76px 220px minmax(0,1fr)}
  .tool-rail-item{width:62px}
  .home-module-grid{grid-template-columns:1fr}
}
@media(max-width:1000px){
  .topbar{grid-template-columns:minmax(220px,1fr) minmax(240px,1.25fr) auto}
  .suite-frame{grid-template-columns:70px minmax(0,1fr)}
  .home-hero{min-height:250px}
}
@media(max-width:700px){
  .topbar{height:64px;grid-template-columns:minmax(0,1fr) auto;padding:0 10px}
  .workspace-trigger{padding-left:2px}
  .workspace-copy strong{max-width:180px;font-size:.82rem}
  .top-actions{gap:5px}
  .top-actions .icon-button{width:40px;height:40px}
  .suite-frame{min-height:calc(100vh - 64px)}
  .tool-rail{top:auto;height:74px;padding:6px;background:#1d1727;justify-content:flex-start}
  .tool-rail-item{width:58px;min-height:58px;height:58px;flex-basis:58px;border-radius:13px}
  .tool-rail-item[aria-current="page"]::before{background:white}
  .tool-rail-label{font-size:13px}
  .main{padding:16px 14px 98px}
  .page-header{padding:20px;border-radius:14px;align-items:flex-start}
  .page-header>div:first-child{padding-left:13px}
  .page-header h1{font-size:2.15rem}
  .page-header .actions{width:100%}
  .page-header .actions .button{flex:1}
  .home-hero{min-height:0;padding:26px 22px 76px;border-radius:16px}
  .home-hero>div:first-child{padding-left:0}
  .home-hero h1{font-size:2.65rem}
  .home-hero-actions{align-self:stretch}
  .home-metrics{grid-template-columns:1fr 1fr;margin:-54px 10px 26px;gap:9px}
  .home-metrics .metric{grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:142px;padding:14px;gap:4px}
  .metric-symbol{grid-row:auto;width:38px;height:38px;border-radius:11px}
  .home-metrics .metric strong,.home-metrics .metric>span:last-child{grid-column:1}
  .home-metrics .metric strong{font-size:1.75rem}
  .home-module-grid{grid-template-columns:1fr}
  .home-module-card{min-height:84px;padding:13px}
  .home-lower-grid{grid-template-columns:1fr}
  .home-task-list .list-row{grid-template-columns:36px minmax(0,1fr)}
  .task-row-icon{width:34px;height:34px}
  .task-row-status{grid-column:2;justify-items:start;display:flex;align-items:center;gap:8px}
  .panel{border-radius:14px;padding:1.1rem}
  .people-filter{grid-template-columns:1fr 1fr;padding:10px}
  .people-filter-search{grid-column:1/-1}
  .people-filter .button{width:100%}
}

/* 2026-08-21: clearer voice discovery, centred summaries, setup guidance, and KMS. */
body.tool-kms .page-header .button:not(.button--secondary),body.tool-kms .context-primary{background:var(--tool-color);border-color:var(--tool-color);color:white}

.home-leave-action{background:var(--accent)!important;border:1px solid white!important;color:white!important;box-shadow:0 0 0 1px var(--accent),0 4px 12px rgb(36 24 45 / 12%)!important}
.home-leave-action:hover{color:white!important;filter:brightness(1.08)}
.home-module-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.home-module-card--kms{--module-card:#e6f0f1}
.home-module-card--kms .home-module-icon{color:#365f67}

.crm-metrics .metric{display:grid;grid-template-rows:auto auto auto;align-content:center;justify-items:center;text-align:center;min-height:172px;padding:1.2rem}
.crm-metrics .metric-icon{margin:0 0 .7rem}
.crm-metrics .metric strong{font-size:clamp(1.75rem,2.6vw,2.35rem);overflow-wrap:anywhere}
.crm-metrics .metric>span:last-child{margin-top:.45rem}
.crm-metrics .metric::after{z-index:0}
.crm-metrics .metric>*{position:relative;z-index:1}

.channel-card{align-items:center;color:inherit;min-height:172px}
.channel-card:hover{text-decoration:none;border-color:#aaa2b1}
.channel-card-icon{display:grid;place-items:center;align-self:center}
.channel-card>div{align-self:center}
.channel-card-end{display:grid;align-self:stretch;align-content:space-between;justify-items:end;gap:16px}
.channel-card-action{display:flex;align-items:center;gap:8px;color:#5d5365;font-size:max(.72rem,13px);font-weight:750;white-space:nowrap}
.channel-card-action .icon{width:.9rem;height:.9rem}
.channel-setup-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.8fr);gap:18px;align-items:start}
.channel-setup-aside{display:grid;gap:18px}
.channel-steps ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.channel-steps li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid #ebe7ee}
.channel-steps li:last-child{border-bottom:0;padding-bottom:0}
.channel-steps li>span{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#f0edf4;color:#43384d;font-weight:800}
.channel-steps h3{font-family:var(--font-sans);font-size:1rem;font-weight:750;margin:0 0 4px}
.channel-steps p{color:#655d6e;margin:0;line-height:1.5}
.check-list{display:grid;gap:12px;padding:0;list-style:none}
.check-list li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;line-height:1.45}
.check-list .icon{width:18px;height:18px;color:#315e45;margin-top:2px}
.channel-boundary{display:flex;align-items:flex-start;gap:14px;background:#f3f6f4}
.channel-boundary h2{margin:.15rem 0 .4rem}
.channel-boundary p:last-child{color:#58625c;margin:0}

.kms-page-header>div:first-child::before{background:var(--tool-color)}
.kms-orientation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}
.kms-orientation>div{display:flex;align-items:center;gap:14px;min-height:96px;padding:16px 18px;border:1px solid #dfdae3;border-radius:12px;background:white}
.kms-orientation-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:var(--lm-tint);color:var(--lm-accent-ink)}
.kms-orientation-icon .icon{width:1.1rem;height:1.1rem}
.kms-orientation>div>span:last-child{display:grid;gap:2px}
.kms-orientation strong{font-size:1.4rem;line-height:1}
.kms-orientation small{color:#655d6e;font-size:max(.72rem,13px)}
.kms-library{margin-bottom:24px}
.kms-library-heading{align-items:end}
.kms-search{display:grid;grid-template-columns:auto minmax(210px,320px) auto;align-items:center;gap:8px}
.kms-search>.icon{width:1rem;height:1rem;color:#6c6374}
.kms-search input{margin:0}
.kms-document-list{overflow:hidden;border:1px solid #dfdae3;border-radius:12px;background:white}
.kms-document-row{display:grid;grid-template-columns:44px minmax(190px,1.3fr) minmax(160px,1fr) auto minmax(130px,.7fr) 20px;align-items:center;gap:14px;min-height:88px;padding:14px 16px;border-bottom:1px solid #ebe7ee;color:inherit}
.kms-document-row:last-child{border-bottom:0}
.kms-document-row:hover{background:#f8faf9;text-decoration:none}
.kms-file-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--lm-tint);color:var(--lm-accent-ink);flex:0 0 auto}
.kms-file-icon .icon{width:1rem;height:1rem}
.kms-document-copy,.kms-document-owner{display:grid;gap:3px;min-width:0}
.kms-document-copy strong,.kms-document-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kms-document-copy small,.kms-document-owner small,.kms-document-projects small{color:#6a6270;font-size:max(.68rem,13px)}
.kms-document-owner strong{font-size:max(.72rem,13px)}
.kms-document-projects{display:flex;gap:5px;flex-wrap:wrap}
.kms-document-projects>span{padding:4px 8px;border-radius:999px;background:#f0edf4;font-size:13px}
.kms-document-row>.icon{width:.95rem;height:.95rem;color:#706779}
.kms-form-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,.75fr);gap:18px;align-items:start}
.kms-upload-form .form-actions{justify-content:flex-end}
.kms-upload-form ul,.kms-access-editor ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0}
.kms-upload-form ul label,.kms-access-editor ul label{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 11px;border:1px solid #d8d2dc;border-radius:10px;background:#faf9fb;font-weight:600}
.kms-upload-form ul input,.kms-access-editor ul input{min-height:0;width:18px;height:18px;margin:0}
.kms-access-explainer{display:flex;gap:14px;background:#f1f6f5}
.kms-access-explainer h2{margin:.15rem 0 1rem}
.kms-access-explainer ol{display:grid;gap:14px;padding-left:1.2rem;margin:0}
.kms-access-explainer li span{display:block;color:#5d6663;margin-top:3px}
.kms-document-header{margin-top:14px;padding:22px 24px;border:1px solid #dfdae3;border-radius:12px;background:white}
.kms-record-avatar{background:#e7f0f1;color:#365f67}
.kms-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}
.kms-document-facts dl{display:grid;margin:0}
.kms-document-facts dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #ebe7ee}
.kms-document-facts dl>div:last-child{border-bottom:0}
.kms-document-facts dt{color:#6a6270}
.kms-document-facts dd{margin:0;font-weight:650;overflow-wrap:anywhere}
.kms-project-links>div:last-child,.project-knowledge-list{display:grid}
.kms-project-links a,.project-knowledge-list>a{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ebe7ee;color:inherit}
.kms-project-links a:last-child,.project-knowledge-list>a:last-child{border-bottom:0}
.kms-project-links a:hover,.project-knowledge-list>a:hover{text-decoration:none}
.kms-project-links a>span:nth-child(2),.project-knowledge-list>a>span:nth-child(2){display:grid;gap:2px}
.kms-project-links small,.project-knowledge-list small{color:#6a6270;font-size:max(.7rem,13px)}
.kms-project-links a>.icon,.project-knowledge-list>a>.icon{width:.9rem;height:.9rem;color:#6a6270}
.kms-people-list{display:grid;gap:10px}
.kms-people-list>span{display:flex;align-items:center;gap:10px}
.kms-people-list>span>span:last-child{display:grid;gap:2px}
.kms-people-list small{color:#6a6270;font-size:13px}
.kms-access-editor{grid-column:1/-1}
.kms-access-editor form{max-width:860px}
.project-knowledge{margin:18px 0}
.project-knowledge .panel-header>a{display:flex;align-items:center;gap:8px;font-weight:750}
.project-knowledge .panel-header>a .icon{width:.9rem;height:.9rem}

@media(max-width:1100px){
  .channel-setup-layout,.kms-form-layout{grid-template-columns:1fr}
  .kms-document-row{grid-template-columns:44px minmax(180px,1fr) auto 20px}
  .kms-document-projects,.kms-document-owner{display:none}
}
@media(max-width:760px){
  .crm-metrics .metric{min-height:148px}
  .channel-card{grid-template-columns:48px minmax(0,1fr);align-items:center}
  .channel-card-end{grid-column:2;display:flex;align-items:center;justify-content:space-between}
  .kms-orientation{grid-template-columns:1fr}
  .kms-library-heading{align-items:stretch}
  .kms-search{grid-template-columns:20px minmax(0,1fr)}
  .kms-search .button{grid-column:1/-1}
  .kms-document-row{grid-template-columns:40px minmax(0,1fr) 18px;padding:12px}
  .kms-document-row>.status{grid-column:2;justify-self:start}
  .kms-detail-grid{grid-template-columns:1fr}
  .kms-access-editor{grid-column:auto}
  .kms-upload-form ul,.kms-access-editor ul{grid-template-columns:1fr}
  .kms-document-facts dl>div{grid-template-columns:1fr;gap:3px}
}

/* 2026 OKR and privacy foundation: calm canvas, accessible module accents, shared work patterns. */
.notification-popover-header .icon-button{border-color:rgb(18 18 17 / 28%);background:rgb(255 255 255 / 54%);color:var(--studio-black)}
.notification-popover-footer,.notification-popover-footer:hover{color:var(--studio-black)}

.page-header{border-radius:var(--radius-surface)}
.button,.icon-button,input,select,textarea,.context-primary,.context-sidebar nav a,.tool-rail-item{border-radius:var(--radius-control)}
.button{gap:9px}
select:not([multiple]){min-height:44px;appearance:none;padding-right:2.65rem;background-image:url("../icons/chevron-down.038632b9dc5e.svg");background-repeat:no-repeat;background-size:16px;background-position:right .85rem center}

body.tool-people .page-header .button:not(.button--secondary),body.tool-people .context-primary,
body.tool-projects .page-header .button:not(.button--secondary),body.tool-projects .context-primary,
body.tool-crm .page-header .button:not(.button--secondary),body.tool-crm .context-primary,
body.tool-finance .page-header .button:not(.button--secondary),body.tool-finance .context-primary,
body.tool-okrs .page-header .button:not(.button--secondary),body.tool-okrs .context-primary,
body.tool-privacy .page-header .button:not(.button--secondary),body.tool-privacy .context-primary{background:var(--tool-color);border-color:var(--tool-color);color:white}
.context-icon{background:color-mix(in srgb,var(--tool-color) 12%,white);color:var(--tool-color);box-shadow:none}
.tool-rail-item[aria-current="page"]{background:var(--tool-color);color:var(--tool-on);box-shadow:none}
.tool-rail-item[aria-current="page"]::before{background:var(--electric-rosin)}

.home-header{background:white;box-shadow:none}
.home-header>div:first-child::before{background:var(--accent)}
.objective-overview,.today-section,.home-module-section{margin-bottom:2rem}
.objective-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.objective-summary-card{display:grid;gap:12px;min-width:0;padding:1.15rem;background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface);box-shadow:0 1px 2px rgb(24 18 31 / 4%)}
.objective-summary-card:hover{text-decoration:none;border-color:#aaa2b1;box-shadow:var(--shadow-soft)}
.objective-card-top,.objective-progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.objective-summary-card h3{font-family:var(--font-sans);font-size:1rem;font-weight:750;line-height:1.35}
.objective-summary-card p,.objective-summary-card small{color:#655d6e;font-size:max(.73rem,13px);margin:0}
.objective-progress-row .progress-track{flex:1}
.progress-track{height:9px;background:#e7e3e9;border-radius:999px;overflow:hidden}
.progress-track>span{display:block;height:100%;background:var(--tool-color);border-radius:inherit}
.progress-track--large{height:13px}
.objective-prompts{display:flex;gap:12px;margin-top:12px}
.objective-prompts>div{display:grid;gap:3px;flex:1;border-left:4px solid var(--notice);background:#faf7eb;border-radius:0 var(--radius-control) var(--radius-control) 0;padding:.8rem 1rem}
/* Legal vocabulary is unavoidable here; each heading carries a sentence saying
   what it means for the person reading it. */
.section-gloss{margin:.3rem 0 0;font-size:.86rem;line-height:1.5;color:var(--neutral-600);max-width:68ch}
.panel-header .section-gloss{margin-top:.35rem}
dt .fine{display:block;font-weight:400;text-transform:none;letter-spacing:0;color:var(--neutral-600)}
.objective-prompts span{color:#655d6e;font-size:max(.75rem,14px)}
.status--on_track::before{background:var(--positive)}
.status--at_risk::before,.status--stale::before{background:var(--notice)}
.status--off_track::before,.status--blocked::before{background:var(--critical)}

.today-queue{background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface);overflow:hidden}
.today-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:12px 16px;border-bottom:1px solid #ebe7ee}
.today-row:last-child{border-bottom:0}.today-row:hover{background:#f8f7f9;text-decoration:none}
.today-row>span:nth-child(2){display:grid;gap:2px}.today-row small{color:#655d6e;font-size:max(.72rem,13px)}
.today-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-control);background:#f0edf4;color:#51465e}
.today-icon .icon{width:1rem;height:1rem}.today-icon.is-urgent{background:#f9e8e5;color:var(--critical)}
.home-module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-module-card{--module-card:#f4f0f5}.home-module-card--people{--module-card:#f8e9e6}.home-module-card--projects{--module-card:#eeecfb}.home-module-card--crm{--module-card:#f8e8ef}.home-module-card--finance{--module-card:#e9f3ed}
.home-module-icon{background:var(--module-card);color:#31283a}.home-module-card--people .home-module-icon{color:#8f3028}.home-module-card--projects .home-module-icon{color:#5140b7}.home-module-card--crm .home-module-icon{color:#9e1b4d}.home-module-card--finance .home-module-icon{color:#245b42}

.okr-focus,.okr-list-section{margin-bottom:1.5rem}.okr-focus .objective-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.okr-score-panel{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center;background:#f7f4f6;border:1px solid #dfdae3;border-radius:var(--radius-surface);padding:1.25rem;margin-bottom:1.5rem}
.okr-score-panel>div:first-child{display:grid;gap:4px}.okr-score-panel>div:first-child>strong{font-family:var(--font-display);font-size:2.25rem}.okr-score-panel>p{grid-column:2;color:#655d6e;margin:0;font-size:max(.75rem,14px)}
.kr-list{display:grid;gap:12px;margin-bottom:1.5rem}.kr-card{display:grid;gap:14px;background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface);padding:1.1rem}
.kr-main{display:flex;justify-content:space-between;gap:18px}.kr-main>div{display:grid;gap:6px}.kr-main h3{font-family:var(--font-sans);font-weight:750}.kr-main p{margin:0;color:#655d6e;font-size:max(.74rem,13px)}.kr-main>strong{font-size:1.4rem}
.kr-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.kr-values>span{display:grid;background:#f6f4f7;border-radius:var(--radius-control);padding:.7rem}.kr-values small{color:#655d6e;font-size:13px}.kr-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.kr-actions small{color:#655d6e;font-size:13px}
.formula-note{margin:0;color:#655d6e;font-size:max(.74rem,13px)}

.finance-code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.finance-code-card{display:grid;gap:10px;padding:1.15rem;background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface)}.finance-code-card:hover{text-decoration:none;border-color:#aaa2b1;box-shadow:var(--shadow-soft)}.finance-code-card>div:first-child{display:flex;justify-content:space-between;gap:8px}.finance-code-card h2{font-family:var(--font-sans);font-size:1.05rem}.finance-code-card dl{display:grid;grid-template-columns:1fr 1fr;margin:4px 0 0;border-top:1px solid #ebe7ee}.finance-code-card dl>div{display:grid;padding:.65rem 0}.finance-code-card dt{color:#655d6e;font-size:13px}.finance-code-card dd{margin:0;font-weight:750}.forecast-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#dcd6e1;border:1px solid #dcd6e1;border-radius:var(--radius-surface);overflow:hidden;margin-bottom:1.25rem}.forecast-summary>div{display:grid;gap:5px;background:white;padding:1rem}.forecast-summary small{color:#655d6e;font-size:13px}.forecast-summary strong{font-size:1.1rem}.projection-explainer{margin-bottom:1.25rem}.projection-visual{margin:1rem 0 .75rem}.projection-scale{position:relative;display:flex;height:30px;border-radius:6px;background:#f2eff4;overflow:visible}.projection-actual{display:block;height:100%;background:#315d87;border-radius:6px 0 0 6px}.projection-committed{display:block;height:100%;border-radius:0 6px 6px 0;background:repeating-linear-gradient(135deg,#315d87 0,#315d87 5px,transparent 5px,transparent 10px);border:1px dashed #315d87;border-left:0}.projection-target{position:absolute;top:-6px;bottom:-6px;width:3px;background:#6b2334;border-radius:2px}.projection-target::after{content:"";position:absolute;left:-3px;top:-4px;width:9px;height:9px;border-radius:50%;background:#6b2334}.projection-visual.is-over .projection-committed{background:repeating-linear-gradient(135deg,#7a2e27 0,#7a2e27 5px,transparent 5px,transparent 10px);border-color:#7a2e27}.projection-outcome{margin:.6rem 0 0;font-size:.86rem;color:var(--neutral-700)}.projection-key{display:flex;flex-wrap:wrap;gap:16px;color:#655d6e;font-size:13px}.projection-key span{display:flex;align-items:center;gap:7px}.projection-key i{display:block;width:26px}.line-solid{border-top:3px solid #315d87}.line-dashed{border-top:3px dashed #315d87}.target-marker{height:14px;border-left:3px solid #6b2334}
.finance-code-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:-.6rem 0 1rem;padding:.75rem 1rem;background:#f1f6f3;border:1px solid #d7e4dc;border-radius:var(--radius-surface);font-size:max(.75rem,14px)}.finance-code-chip{display:inline-flex;align-items:center;border:1px solid #cfc8d4;border-radius:999px;padding:.22rem .55rem;background:white;font-size:13px}

.quick-capture{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:10px;background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface);padding:10px;margin-bottom:1rem}.quick-capture label{padding-left:5px}.quick-capture input{margin:0}.week-view{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;overflow-x:auto;padding-bottom:.75rem}.week-day{min-height:320px;background:#f6f4f7;border:1px solid #dfdae3;border-radius:var(--radius-surface);overflow:hidden}.week-day.is-today{border-color:#5948c8;box-shadow:inset 0 3px #5948c8}.week-day>header{display:flex;justify-content:space-between;padding:.7rem;background:white;border-bottom:1px solid #e5e1e8;font-size:14px}.week-day>div{display:grid;gap:7px;padding:7px}.week-day a{display:grid;grid-template-columns:10px 1fr;gap:5px;background:white;border:1px solid #e5e1e8;border-radius:var(--radius-control);padding:.65rem}.week-day a:hover{text-decoration:none;border-color:#aaa2b1}.week-day a small{grid-column:2;color:#655d6e;font-size:13px}.week-day p{color:#766e7e;font-size:13px;padding:.4rem;margin:0}

.board-dropzone{min-height:130px}.task-card[draggable="true"]{cursor:grab}.task-card.is-dragging{opacity:.55;cursor:grabbing}.task-card.is-saving{opacity:.65;pointer-events:none}.board-column.is-drop-target{border-color:#5948c8;background:#f0eefb;box-shadow:inset 0 0 0 2px rgb(89 72 200 / 16%)}.task-card-link{display:grid;gap:.55rem;color:inherit}.task-card-link:hover{text-decoration:none}.task-card-menu{position:relative}.task-card-menu summary{width:34px;height:34px;list-style:none}.task-card-menu summary::-webkit-details-marker{display:none}.task-card-menu .menu-popover{right:0;left:auto;top:38px;min-width:250px;padding:.8rem;z-index:20}.task-card-menu form{display:grid;gap:.65rem}.task-card-menu label{display:grid;gap:.35rem}.task-card-menu select{margin:0}.task-card-menu small{font-size:13px;color:#655d6e;line-height:1.4}.work-sections{display:grid;gap:1.6rem}.work-sections .section-heading{align-items:center;margin-bottom:.65rem}.bulk-action-bar{display:grid;grid-template-columns:minmax(220px,1fr) 190px minmax(190px,1fr) auto;gap:10px;align-items:end;padding:0 0 1rem;border-bottom:1px solid #ebe7ee}.bulk-action-bar>div{display:grid}.bulk-action-bar small{color:#655d6e;font-size:13px}.bulk-action-bar label{margin:0}.bulk-action-bar input,.bulk-action-bar select{margin:0}.approval-select-row{grid-template-columns:28px minmax(0,1fr) auto}.approval-select-row>label{display:grid;place-items:center;margin:0}.approval-select-row input{width:18px;height:18px;margin:0}

.decision-panel{margin-bottom:1.25rem}.decision-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,auto);gap:18px;align-items:start;padding:1rem 0;border-bottom:1px solid #ebe7ee}.decision-row:last-child{border-bottom:0}.decision-row>div:first-child{display:grid;gap:4px}.decision-row span,.decision-row p{color:#655d6e;font-size:max(.74rem,14px);margin:0}.leave-decision-actions{display:flex;gap:10px}.leave-decision-actions form{display:flex;align-items:end;gap:8px;margin:0}.leave-decision-actions label{display:grid;gap:4px}.leave-decision-actions label span{font-size:13px}.decision-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f1f6f3;border:1px solid #d7e4dc;border-radius:var(--radius-surface);padding:1rem;margin:1rem 0}.decision-bar p{display:grid;gap:2px;margin:0}.decision-bar span{color:#655d6e;font-size:14px}

.followup-sections{display:grid;gap:14px}.followup-row{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(520px,1.3fr);gap:18px;align-items:end;padding:1rem 0;border-bottom:1px solid #ebe7ee}.followup-row:last-child{border-bottom:0}.followup-summary{display:grid;grid-template-columns:10px minmax(0,1fr);gap:10px;align-items:start}.followup-summary .status-dot{margin-top:7px;background:var(--stage-colour,#777)}.followup-summary>div{display:grid}.followup-summary small{color:#655d6e;font-size:13px}.followup-inline{display:grid;grid-template-columns:minmax(170px,1fr) minmax(210px,auto) minmax(150px,auto) auto;gap:8px;align-items:end}.followup-inline label{display:grid;gap:4px;min-width:0}
.followup-inline input,.followup-inline select{max-width:100%}.followup-inline label span{font-size:13px;color:#655d6e}.followup-inline input,.followup-inline select{margin:0}

.health-boundary{display:flex;gap:14px;align-items:flex-start;background:#f8eee9;border:1px solid #e7cfc5;border-radius:var(--radius-surface);padding:1rem;margin-bottom:1.25rem}.health-boundary>.icon{color:#7a2e27}.health-boundary p{margin:.2rem 0 0;color:#654f48}.privacy-profile{margin-bottom:1.25rem}

@media(max-width:1200px){.objective-summary-grid,.finance-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.followup-row{grid-template-columns:1fr}.followup-inline{grid-template-columns:1fr 1fr 1fr auto}.bulk-action-bar{grid-template-columns:1fr 1fr}.bulk-action-bar>div{grid-column:1/-1}}
@media(max-width:760px){.objective-summary-grid,.okr-focus .objective-summary-grid,.finance-code-grid,.home-module-grid{grid-template-columns:1fr}.objective-prompts{display:grid}.today-row{grid-template-columns:38px minmax(0,1fr)}.today-row>.status,.today-row>.priority{grid-column:2;justify-self:start}.okr-score-panel{grid-template-columns:1fr}.okr-score-panel>p{grid-column:1}.kr-values{grid-template-columns:1fr 1fr}.forecast-summary{grid-template-columns:1fr 1fr}.quick-capture{grid-template-columns:1fr}.decision-row{grid-template-columns:1fr}.leave-decision-actions,.leave-decision-actions form{display:grid}.followup-inline,.bulk-action-bar{grid-template-columns:1fr}.decision-bar{align-items:stretch;flex-direction:column}.section-heading{align-items:flex-start;gap:6px;flex-direction:column}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card,.task-card,.crm-deal-card,.knowledge-card,.channel-card,.home-module-card,.tool-rail-item{transition:none}.project-card:hover,.task-card:hover,.crm-deal-card:hover,.knowledge-card:hover,.channel-card:hover,.home-module-card:hover{transform:none}.task-card.is-dragging{opacity:1}}


/* A seven-day week fits the desktop canvas (see .week-view above). Below the
   tablet breakpoint it returns to fixed day columns inside its own scroller so
   each day stays readable rather than collapsing to a sliver. */
@media(max-width:900px){.week-view{grid-template-columns:repeat(7,minmax(150px,1fr))}}
.projection-visual--compact{margin:.75rem 0 0}
.projection-visual--compact .projection-scale{height:14px;border-radius:4px}
.projection-visual--compact .projection-actual{border-radius:4px 0 0 4px}
.projection-visual--compact .projection-committed{border-radius:0 4px 4px 0}
.projection-visual--compact .projection-target::after{width:7px;height:7px;left:-2px}
/* Action clarity, weekly time, project detail and confirmation-led voice flows. */
[hidden]{display:none!important}
.button.button--secondary,button.button.button--secondary{background:transparent;color:var(--studio-black);border-color:var(--studio-black)}.button.button--secondary:hover,button.button.button--secondary:hover{background:var(--neutral-100)}
.leave-decision-form .button:not(.button--secondary){background:var(--tool-color);border-color:var(--tool-color);color:white}
.leave-decision-form{display:grid;grid-template-columns:minmax(290px,1fr) auto;gap:10px;align-items:end;min-width:min(520px,100%)}
.leave-decision-form label{display:grid;gap:5px;margin:0}.leave-decision-form input{margin:0}.decision-buttons{display:flex;gap:8px;align-items:center}.decision-buttons .button{white-space:nowrap}
.leave-table th:last-child,.leave-table td:last-child{min-width:220px}.leave-action-cell{vertical-align:middle}.leave-action-cell form{margin:0}.leave-cancellation{border:0!important;padding:0!important;margin:0!important}.leave-cancellation summary{display:inline-flex;align-items:center;min-height:36px;color:var(--tool-color);font-size:14px}.leave-cancel-form{display:grid;grid-template-columns:minmax(190px,1fr) auto;gap:10px;align-items:end;margin-top:10px!important;padding:12px;background:#f8f7f9;border:1px solid #e5e1e8;border-radius:var(--radius-control)}.leave-cancel-form label{grid-column:1/-1;margin:0}.leave-cancel-form input,.leave-cancel-form button{margin:0}

.timesheet-status-summary{display:grid;justify-items:end;gap:7px}.timesheet-status-summary strong{font-size:1.15rem}.time-grid-panel{padding:0;overflow:hidden}.time-grid-panel>.panel-header{padding:1.2rem 1.25rem;margin:0}.weekly-time-form{margin:0}.time-grid-wrap{overflow:auto}.time-grid{min-width:850px;table-layout:fixed}.time-grid th{background:#f6f4f7}.time-grid th:first-child{width:125px}.time-grid th:nth-child(2){width:175px}.time-grid th:nth-child(3){width:150px}.time-grid th:nth-child(4){width:175px}.time-grid th:nth-child(5){width:80px}.time-grid th:nth-child(6){width:180px}.time-grid td{padding:6px;vertical-align:top}.time-grid input,.time-grid select{min-height:42px;margin:0;padding:.55rem .65rem;font-size:14px}.time-grid td:nth-child(5) input{min-width:70px}.time-grid .errorlist{margin:4px 0 0;font-size:12px}.optional{font-size:11px;font-weight:500;text-transform:none;letter-spacing:0;color:#766e7e}.time-grid-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-top:1px solid #e5e1e8;background:#faf9fb}.time-grid-actions p{display:flex;align-items:center;gap:8px;margin:0;color:#655d6e;font-size:14px}.time-grid-actions .icon{width:1rem;height:1rem}.timesheet-decision{margin-top:1.25rem}

.project-command{margin-bottom:1.25rem;padding:clamp(1.1rem,2vw,1.5rem);background:white;border:1px solid #ded9e3;border-radius:var(--radius-surface);box-shadow:0 1px 2px rgb(24 18 31 / 4%)}.project-command .project-detail-header{align-items:flex-start;margin:0;padding-bottom:1.25rem}.project-title-meta{display:flex;align-items:center;gap:10px;margin-bottom:6px}.project-title-meta .eyebrow{margin:0}.project-snapshot-grid{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(220px,.7fr) minmax(280px,1fr);gap:1px;background:#ddd8e1;border:1px solid #ddd8e1;border-radius:var(--radius-surface);overflow:hidden}.project-snapshot{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:start;padding:15px;background:#f8f7f9}.project-snapshot--progress{background:#f2f0fb}.project-snapshot--finance{background:#f1f6f3}.snapshot-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:white;color:#5140b7;border:1px solid #e1ddea}.project-snapshot--finance .snapshot-icon{color:#286548}.snapshot-icon .icon{width:1rem;height:1rem}.project-snapshot>div{display:grid;gap:5px;min-width:0}.project-snapshot small{font-size:13px;color:#655d6e}.project-snapshot strong{font-size:15px}.project-snapshot>div>span{font-size:13px;color:#655d6e}.project-snapshot .progress-track{margin:3px 0;width:100%}.snapshot-chips{display:flex;gap:6px;flex-wrap:wrap}.project-snapshot a{font-size:13px;font-weight:700;margin-top:2px}

.time-grid-help{margin:.5rem 0 0;font-size:.82rem;color:var(--neutral-600);max-width:68ch}
.time-grid-actions{flex-wrap:wrap;gap:.6rem}

/* Week view: state the range, let the reader move between weeks, and show work
   that is still owed from before it. */
.week-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}
.week-range{display:flex;align-items:baseline;gap:.6rem;font-size:1rem}
.week-badge{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--neutral-600)}
.week-steps{display:flex;gap:.4rem}
.week-carried{border:var(--line);border-left:4px solid var(--critical);border-radius:var(--radius-surface);background:var(--paper);padding:.85rem 1rem;margin-bottom:.85rem}
.week-carried .eyebrow{margin:0 0 .5rem}
.week-carried ul{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.week-carried li{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;font-size:.86rem}
.week-carried li a{display:inline-flex;align-items:center;gap:.45rem}

/* Leave balance: the number people came for, then the working that produced it. */
.leave-balance{margin-bottom:1.25rem}
.leave-balance h2{font-size:clamp(1.5rem,2.4vw,2rem)}
.balance-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));background:var(--paper);border:1px solid var(--neutral-200);border-radius:var(--radius-surface);overflow:hidden;margin-top:1rem}
.balance-figures>div{padding:.85rem 1rem;display:grid;gap:.2rem;border-right:1px solid var(--neutral-200)}
.balance-figures>div:last-child{border-right:0}
.balance-figures small{font-size:13px;color:var(--neutral-600)}
.balance-figures strong{font-size:1.15rem;font-variant-numeric:tabular-nums}
.balance-figures-total{background:color-mix(in srgb,var(--tool-color) 8%,white)}
.balance-figures-total strong{color:var(--tool-color)}
.balance-note{display:flex;align-items:flex-start;gap:.55rem;margin:.85rem 0 0;font-size:.9rem;color:var(--neutral-700);line-height:1.55}
.balance-note .icon{width:1rem;height:1rem;flex:0 0 auto;margin-top:.15rem;color:var(--neutral-600)}
.balance-note--forecast{border-top:var(--line-soft);padding-top:.85rem}

/* Leave rules */
.policy-list{display:grid;gap:1rem}
.policy-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));background:var(--paper);border:1px solid var(--neutral-200);border-radius:var(--radius-surface);overflow:hidden;margin:0}
.policy-rules>div{padding:.8rem 1rem;display:grid;gap:.25rem;border-right:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200)}
.policy-rules dt{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--neutral-600)}
.policy-rules dd{margin:0;font-size:.95rem;font-weight:600}
.policy-rules dd .fine{display:block;font-weight:400;font-size:13px;color:var(--neutral-600);margin-top:.15rem}
.year-close-panel{display:grid;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid var(--neutral-200);border-radius:var(--radius-control);background:var(--neutral-100)}
.year-close-panel h3{margin:.2rem 0}.year-close-panel p{margin:.25rem 0 0}.year-close-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;padding-top:1rem;border-top:1px solid var(--neutral-200)}
.year-close-actions strong{margin-right:auto}.year-close-history{padding-top:.25rem}.year-close-history summary{font-weight:600;cursor:pointer}.year-close-history ul{display:grid;gap:.45rem;margin:.75rem 0 0;padding-left:1.2rem}.year-close-history li{color:var(--neutral-600)}

/* Multi-choice fields render as a list of checkboxes; keep each control beside
   its own label rather than stacked above it. */
.field ul{list-style:none;margin:.35rem 0 0;padding:0;display:grid;gap:.35rem}
.field ul li{margin:0}
.field ul li label{display:flex;align-items:center;gap:.55rem;font-weight:500;min-height:32px}
.field ul li input[type="checkbox"],.field ul li input[type="radio"]{width:18px;height:18px;margin:0;flex:0 0 auto}

/* Everyone's weekly time: a person and a status, then the list. Wraps to its own rows on a phone. */
.timesheet-everyone-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:0 0 14px}
.timesheet-everyone-filter label{flex:0 0 auto;align-self:center;font-weight:600;font-size:14px}
.timesheet-everyone-filter input,.timesheet-everyone-filter select{flex:1 1 180px;min-width:0}
.task-focus{margin-bottom:14px;background:white;border:1px solid #dcd7e1;border-radius:var(--radius-surface);overflow:hidden;box-shadow:0 1px 2px rgb(24 18 31 / 4%)}.task-focus::before{content:"";display:block;height:5px;background:var(--tool-color)}.task-focus-header{display:flex;justify-content:space-between;gap:24px;padding:clamp(1.2rem,3vw,2rem)}.task-focus-header h1{font-size:clamp(2rem,3.5vw,3.25rem);max-width:24ch}.task-focus-actions{display:flex;align-items:flex-start;gap:10px}.task-state{display:flex;gap:7px;align-items:center;min-height:34px}.task-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #ebe7ee;background:#faf9fb}.task-facts>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 10px;padding:14px 16px;border-right:1px solid #ebe7ee}.task-facts>div:last-child{border-right:0}.task-fact-icon{grid-row:1/3;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#ece9f8;color:#5140b7}.task-fact-icon .icon{width:1rem;height:1rem}.task-facts small{font-size:12px;color:#6c6474}.task-facts strong{font-size:14px;line-height:1.25}.task-next-action{display:grid;grid-template-columns:48px minmax(220px,.7fr) minmax(360px,1.3fr);gap:16px;align-items:start;padding:18px;margin-bottom:14px;background:#f2f0fb;border:1px solid #d8d2ef;border-radius:var(--radius-surface)}.task-next-action--review{background:#f1f6f3;border-color:#d4e3da}.next-action-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#5948c8;color:white}.task-next-action--review .next-action-icon{background:#286548}.next-action-icon .icon{width:1.2rem;height:1.2rem}.task-next-action h2{font-size:1.35rem}.task-next-action p{color:#655d6e;font-size:14px;margin:.3rem 0 0}.task-next-action form{margin:0}.task-next-action textarea{margin:0 0 8px}.task-next-action .leave-decision-form{grid-template-columns:1fr}.task-next-action .decision-buttons{justify-content:flex-end}.task-detail-shell{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:14px;align-items:start}.task-detail-main,.task-detail-aside{display:grid;gap:14px}.task-content-section{padding:0;overflow:hidden}.task-content-section>.panel-header{padding:1.1rem 1.25rem;margin:0}.task-content-block{padding:1.15rem 1.25rem}.task-content-block+.task-content-block{border-top:1px solid #ebe7ee}.task-content-block h3{font-family:var(--font-sans);font-size:14px;font-weight:750;margin:0 0 8px}.empty-inline{display:flex;flex-wrap:nowrap;gap:10px;align-items:center;padding:14px!important;color:#655d6e}.empty-inline>.icon{flex:0 0 auto;width:1rem;height:1rem}.empty-inline>span:last-child{display:grid;min-width:0}.empty-inline strong{color:#31283a;font-size:14px}.empty-inline small{font-size:13px}.attachment-form,.comment-form{display:grid;gap:8px;margin-top:12px}.attachment-form p,.comment-form p{margin:0}.attachment-form .button,.comment-form .button{justify-self:start}.update-list .list-row{grid-template-columns:34px minmax(0,1fr)}.update-list .mini-avatar{width:34px;height:34px}.definition-list--stacked div{grid-template-columns:1fr;gap:3px}.audited-controls{margin:0!important}.audited-controls p{font-size:13px}.audited-controls form{display:grid;gap:7px;margin-top:12px}.audited-controls form .button{margin-top:4px}

.error-page{position:relative;display:grid;justify-items:center;text-align:center;max-width:720px;margin:clamp(2rem,8vh,7rem) auto;padding:clamp(2rem,6vw,4rem);background:white;border:1px solid #ddd8e1;border-radius:18px;overflow:hidden}.error-code{position:absolute;right:18px;top:-18px;font-family:var(--font-display);font-size:8rem;line-height:1;color:#f0edf2;pointer-events:none}.error-icon{position:relative;width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:#eeecfb;color:#5140b7;margin-bottom:18px}.error-icon .icon{width:1.6rem;height:1.6rem}.error-page h1{font-size:clamp(2.3rem,6vw,4.2rem);max-width:12ch}.error-page>p:not(.eyebrow){max-width:48ch;color:#655d6e}.error-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}

.voice-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px;align-items:start}.voice-capture{padding:0;overflow:hidden}.voice-capture-header{display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;align-items:center;padding:1.3rem;border-bottom:1px solid #e8e4eb;background:#f4f1fb}.voice-capture-header p{margin:.25rem 0 0;color:#655d6e;font-size:14px}.voice-orb{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#5948c8;color:white}.voice-orb .icon{width:1.35rem;height:1.35rem}.voice-capture.is-listening .voice-orb{background:#b51f58;box-shadow:0 0 0 7px rgb(181 31 88 / 12%)}.voice-controls{display:flex;align-items:center;gap:10px;padding:14px 1.3rem;border-bottom:1px solid #e8e4eb}.voice-status{font-size:14px;color:#655d6e}.voice-intake-form{padding:1.3rem}.voice-intake-form textarea{font-size:17px;line-height:1.55}.voice-boundary{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;background:#f1f6f3;border-color:#d4e3da}.voice-boundary>.icon{width:1.3rem;height:1.3rem;color:#286548;margin:8px}.voice-boundary ol{padding-left:1.2rem;color:#554e5c;font-size:14px}.voice-boundary li+li{margin-top:8px}.voice-boundary p:last-child{padding-top:12px;border-top:1px solid #d4e3da;font-size:13px;color:#655d6e}.voice-preview-layout{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(480px,1.3fr);gap:16px;align-items:start}.transcript-card blockquote{margin:1rem 0;padding:1rem;background:#f7f5f8;border-left:4px solid #5948c8;border-radius:0 10px 10px 0;font-size:16px;line-height:1.6}.voice-file-note{display:flex;align-items:center;gap:8px;font-size:13px;color:#655d6e}.preview-form-card{padding:0;overflow:hidden}.preview-form-card>.panel-header{padding:1.2rem 1.3rem;margin:0;background:#faf9fb}.preview-form-card>form{padding:1.3rem}.preview-consequence{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;padding:12px;background:#f1f6f3;border:1px solid #d4e3da;border-radius:10px}.preview-consequence .icon{color:#286548}.preview-consequence p{margin:0;font-size:13px;color:#554e5c}.preview-target{display:flex;align-items:center;gap:11px;margin:-8px 0 14px;padding:12px 14px;background:white;border:1px solid #ddd8e1;border-radius:var(--radius-surface)}.preview-target>div{display:grid}.preview-target small,.preview-target span{font-size:13px;color:#655d6e}.current-value-list{display:grid;margin-top:18px;border-top:1px solid #e8e4eb}.current-value-list h3{font-family:var(--font-sans);font-size:14px;margin:15px 0 5px}.current-value-list>div{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;padding:9px 0;border-bottom:1px solid #ede9ef}.current-value-list span{font-size:13px;color:#655d6e}.current-value-list strong{font-size:13px}.voice-preview-layout--crm .transcript-card{position:sticky;top:78px}
.voice-demo{display:flex;align-items:center;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid #dcd6e1;border-radius:var(--radius-control);background:#faf9fb}.voice-demo>div{display:grid;gap:.15rem;margin-right:auto}.voice-demo span{font-size:13px;color:#655d6e}.voice-capture-header .voice-private-note{display:flex;align-items:center;gap:7px;margin-top:.65rem;color:#3f5f52}.voice-private-note .icon{width:1rem;height:1rem;flex:0 0 auto}

@media(max-width:1120px){.project-snapshot-grid{grid-template-columns:1fr 1fr}.project-snapshot--progress{grid-column:1/-1}.task-facts{grid-template-columns:1fr 1fr}.task-facts>div:nth-child(2){border-right:0}.task-facts>div:nth-child(-n+2){border-bottom:1px solid #ebe7ee}.task-next-action{grid-template-columns:48px 1fr}.task-next-action form{grid-column:2}.voice-preview-layout,.voice-layout{grid-template-columns:1fr}.voice-preview-layout--crm .transcript-card{position:static}}
@media(max-width:760px){.leave-decision-form{grid-template-columns:1fr;min-width:0}.decision-buttons{display:grid;grid-template-columns:1fr 1fr}.leave-cancel-form{grid-template-columns:1fr}.leave-cancel-form label{grid-column:auto}.time-grid-actions{align-items:stretch;flex-direction:column}.timesheet-status-summary{justify-items:start}.project-snapshot-grid{grid-template-columns:1fr}.project-snapshot--progress{grid-column:auto}.task-focus-header{display:grid}.task-focus-actions{justify-content:space-between}.task-facts{grid-template-columns:1fr}.task-facts>div{border-right:0;border-bottom:1px solid #ebe7ee!important}.task-facts>div:last-child{border-bottom:0!important}.task-next-action{grid-template-columns:1fr}.next-action-icon{width:42px;height:42px}.task-next-action form{grid-column:1}.task-detail-shell{grid-template-columns:1fr}.voice-controls{align-items:flex-start;flex-direction:column}.voice-preview-layout{grid-template-columns:1fr}.voice-demo{align-items:stretch;flex-direction:column}.voice-demo .button{width:100%}.error-page{margin:1rem auto;padding:2rem 1.2rem}.error-code{font-size:6rem}.preview-form-card>form,.voice-intake-form{padding:1rem}}


/* One due-date treatment for every project view. Overdue is carried by the word
   as well as the colour, so the meaning survives grayscale and colour-vision
   differences. */
.task-due{display:inline-flex;align-items:center;gap:.35rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.task-due .icon{width:.85rem;height:.85rem;flex:0 0 auto}
.task-due.is-undated{color:var(--neutral-500)}
.due-flag{margin-left:.15rem;padding:.1rem .4rem;border-radius:999px;background:color-mix(in srgb,var(--critical) 12%,white);color:var(--critical);font-size:max(.72rem,13px);font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.timeline-label .task-due{margin-top:.2rem;font-size:.72rem;color:var(--neutral-600)}
.timeline-legend{display:flex;flex-wrap:wrap;gap:.25rem 1rem;padding:.55rem 1rem;border-top:var(--line-soft);font-size:.72rem;color:var(--neutral-600)}
.timeline-legend>span{display:inline-flex;align-items:center;gap:.4rem}
.timeline-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.field-error{display:block;margin:.35rem 0 0;color:var(--critical);font-size:.78rem;font-weight:600}
[aria-invalid="true"]{border-color:var(--critical)}
.decision-note{display:block;margin-top:.2rem;color:var(--neutral-600);font-size:.76rem}
.decision-days{font-variant-numeric:tabular-nums}
.project-knowledge-empty{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;padding:.7rem .9rem;border:1px dashed var(--neutral-300);border-radius:var(--radius-surface);color:var(--neutral-600);font-size:.86rem}
.project-knowledge-empty .icon{width:1rem;height:1rem;flex:0 0 auto}
/* Voice-first interaction, personal settings and tenant policy hierarchy. */
.voice-readiness{margin:0 0 20px;padding:12px 14px;border-left:3px solid var(--tool-color);background:#f4f2f6;color:#554e5d;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.voice-readiness--unavailable{border-left-color:#756787}
.page-header.voice-transcript-header .page-intro{display:block;overflow:visible;max-height:none;-webkit-line-clamp:unset}
.actions .button,.back-link,.context-sidebar nav a,.context-tools a,.profile-popover>a,.notification-popover-footer{display:inline-flex;align-items:center;gap:9px}
.actions .button .icon,.back-link .icon,.context-sidebar nav a>.icon,.context-tools a>.icon,.profile-popover>a>.icon{align-self:center}

.voice-quick-launch{position:fixed;right:24px;bottom:24px;z-index:34;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;min-width:190px;min-height:64px;padding:8px 16px 8px 8px;border:0;border-radius:18px;background:var(--tool-color);color:white;box-shadow:0 14px 34px rgb(31 21 43 / 26%);text-align:left}
.voice-quick-launch:hover{filter:brightness(1.07)}.voice-quick-launch:active{transform:translateY(1px)}
.voice-quick-launch-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:rgb(255 255 255 / 16%)}
.voice-quick-launch-icon .icon{width:1.25rem;height:1.25rem}.voice-quick-launch>span:last-child{display:grid;line-height:1.2}.voice-quick-launch strong{font-size:14px}.voice-quick-launch small{margin-top:3px;color:rgb(255 255 255 / 82%);font-size:13px}
.voice-quick-dialog{width:min(920px,calc(100vw - 40px));height:min(820px,calc(100vh - 40px));padding:0;border:1px solid #cfc8d4;border-radius:18px;background:white;box-shadow:0 24px 80px rgb(25 17 36 / 34%);overflow:hidden}
.voice-quick-dialog::backdrop{background:rgb(24 17 33 / 58%);backdrop-filter:blur(3px)}
.voice-quick-dialog>header{height:66px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 14px;border-bottom:1px solid #e5e0e8;background:#fbfafc}
.voice-quick-dialog>header>span{display:flex;align-items:center;gap:10px}.voice-quick-dialog>header>span>span:last-child{display:grid;line-height:1.2}.voice-quick-dialog>header small{color:#665d6e;font-size:13px}.voice-quick-dialog>header strong{font-size:16px}
.voice-dialog-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--tool-color);color:white}.voice-dialog-mark .icon{width:1.1rem;height:1.1rem}
.voice-dialog-content{display:block;width:100%;height:calc(100% - 66px);overflow:auto;background:#fbfafc}
.voice-dialog-content>.page-header,.voice-dialog-content>.voice-layout,.voice-dialog-content>.voice-preview-layout,.voice-dialog-content>.preview-target{margin-left:22px;margin-right:22px}.voice-dialog-content>.page-header{margin-top:22px}
.voice-dialog-loading,.voice-dialog-error{min-height:260px;display:grid;place-content:center;justify-items:center;gap:10px;padding:28px;text-align:center;color:#655d6e}.voice-dialog-loading .icon{width:1.4rem;height:1.4rem;color:var(--tool-color)}.voice-dialog-error strong{color:#7a2e27}.voice-dialog-error p{margin:0}
.voice-embed-body{background:#fbfafc}.voice-embed-main{min-height:100vh;padding:22px}.voice-embed-main .page-header{padding:18px 20px;margin-bottom:14px;box-shadow:none}.voice-embed-main .page-header h1{font-size:clamp(1.8rem,5vw,2.45rem)}.voice-embed-main .voice-layout{grid-template-columns:1fr}.voice-embed-main .voice-boundary{margin-top:0}.voice-embed-main .voice-preview-layout{grid-template-columns:1fr}.voice-embed-main .voice-preview-layout--crm .transcript-card{position:static}
.voice-listen-button{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;min-width:250px;min-height:64px;padding:7px 14px 7px 7px;border:1px solid var(--tool-color);border-radius:14px;background:var(--tool-color);color:white;text-align:left}
.voice-listen-button>span:last-child{display:grid;line-height:1.2}.voice-listen-button small{margin-top:3px;color:rgb(255 255 255 / 82%);font-size:13px}.voice-listen-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:11px;background:rgb(255 255 255 / 17%)}.voice-listen-icon .icon{width:1.2rem;height:1.2rem}.voice-listen-button.is-listening{background:#7a2e27;border-color:#7a2e27}.voice-capture.is-listening .voice-status{color:#7a2e27;font-weight:700}
.voice-modal-result{max-width:560px;margin:clamp(40px,12vh,120px) auto;padding:clamp(28px,6vw,54px);display:grid;justify-items:center;text-align:center;background:white;border:1px solid #ded8e3;border-radius:16px}.voice-result-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:18px;border-radius:16px;background:#eaf3ed;color:#286548}.voice-result-icon .icon{width:1.35rem;height:1.35rem}.voice-modal-result h1{font-size:2.35rem}.voice-modal-result>p:not(.eyebrow){max-width:44ch;color:#655d6e}.voice-modal-result .button{margin-top:12px}

.home-settings-section{margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid #e1dce5}.home-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-setting-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;background:white;border:1px solid #dfdae3;border-radius:var(--radius-surface);isolation:isolate}.home-setting-card:hover{text-decoration:none;border-color:#aaa2b1}.home-setting-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#f0edf4;color:#51465e}.home-setting-card>span:nth-child(2){display:grid}.home-setting-card small{color:#655d6e;font-size:13px}.home-setting-card>.icon{width:.95rem;height:.95rem;color:#706879}
.settings-tabs{display:flex;align-items:center;gap:6px;margin:-8px 0 18px;padding:6px;border:1px solid #dfdae3;border-radius:12px;background:#f4f1f6;overflow-x:auto}.settings-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 13px;border-radius:10px;color:#5c5363;font-size:max(.78rem,14px);font-weight:650;white-space:nowrap}.settings-tabs a:hover{background:rgb(255 255 255 / 70%);text-decoration:none}.settings-tabs a[aria-current="page"]{background:white;color:var(--studio-black);box-shadow:0 2px 8px rgb(29 23 39 / 7%);font-weight:750}.settings-tabs .icon{width:1rem;height:1rem}.appearance-card{max-width:780px}.appearance-card fieldset{margin:0;padding:0;border:0}.appearance-card legend{font-size:1.25rem;font-weight:750}.appearance-intro{max-width:58ch;margin:.25rem 0 1rem;color:#655d6e}.font-scale-options{display:grid;gap:10px}.font-scale-option{display:grid;grid-template-columns:24px 64px minmax(0,1fr);align-items:center;gap:12px;min-height:76px;padding:12px 14px;border:1px solid #dcd6e1;border-radius:12px;background:white;cursor:pointer}.font-scale-option:hover{border-color:#a9a0af}.font-scale-option:has(input:checked){border-color:var(--tool-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tool-color) 12%,transparent);background:color-mix(in srgb,var(--tool-color) 4%,white)}.font-scale-option input{width:20px;height:20px;margin:0}.font-scale-option>span:last-child{display:grid}.font-scale-option small{color:#655d6e}.font-scale-sample{display:grid;place-items:center;width:58px;height:48px;border-radius:10px;background:#f1eef4;color:#302a35;font-weight:750}.font-scale-option--standard .font-scale-sample{font-size:17px}.font-scale-option--large .font-scale-sample{font-size:19px}.font-scale-option--extra_large .font-scale-sample{font-size:21px}
.role-badge{display:grid;min-width:170px;padding:12px 14px;border-left:4px solid var(--tool-color);background:#f6f3f7;border-radius:0 10px 10px 0}.role-badge small{color:#655d6e;font-size:13px}.permissions-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(440px,1.3fr);gap:16px;align-items:start}.permissions-summary{position:sticky;top:92px}.permissions-summary .notice{display:flex;align-items:flex-start;gap:9px}.permissions-summary .notice .icon{margin-top:3px}.permission-group+.permission-group{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #e8e4eb}.permission-group h3{font-family:var(--font-sans);font-size:15px}.permission-group ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0}.permission-group li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:10px;background:#f8f7f9;border-radius:10px}.permission-group li>.icon{width:.9rem;height:.9rem;margin-top:3px;color:#286548}.permission-group li>span{display:grid}.permission-group small{color:#655d6e;font-size:13px;line-height:1.35}
.policy-toggle-form>p{padding:14px;background:#f7f5f8;border-radius:10px}.policy-toggle-form>p label{display:flex;align-items:flex-start;gap:10px}.policy-toggle-form input[type="checkbox"]{width:22px;height:22px;min-height:22px;margin-top:2px}.policy-state{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border:1px solid #dce6df;background:#f1f6f3;border-radius:10px}.policy-state>.icon{width:1rem;height:1rem;color:#286548;justify-self:center}.policy-state>span{display:grid}.policy-state small{color:#655d6e;font-size:13px}

@media(max-width:760px){
  .voice-quick-launch{right:12px;bottom:86px;display:grid;grid-template-columns:44px;width:58px;min-width:58px;height:58px;min-height:58px;padding:7px;border-radius:16px}.voice-quick-launch-icon{width:44px;height:44px}.voice-quick-launch>span:last-child{display:none}
  .voice-quick-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}.voice-quick-dialog>header{height:62px}.voice-dialog-content{height:calc(100% - 62px)}.voice-dialog-content>.page-header,.voice-dialog-content>.voice-layout,.voice-dialog-content>.voice-preview-layout,.voice-dialog-content>.preview-target{margin-left:12px;margin-right:12px}.voice-dialog-content>.page-header{margin-top:12px}.voice-embed-main{padding:12px}.voice-embed-main .page-header{padding:16px}.voice-embed-main .voice-boundary,.voice-dialog-content .voice-boundary{display:none}.voice-page-header .page-intro{font-size:14px}
  .voice-listen-button{width:100%;min-width:0}.voice-controls{width:100%}.voice-status{line-height:1.4}.voice-capture-header{grid-template-columns:46px minmax(0,1fr);padding:1rem}.voice-orb{width:46px;height:46px;border-radius:13px}
  .home-settings-grid,.permissions-layout{grid-template-columns:1fr}.permissions-summary{position:static}.permission-group ul{grid-template-columns:1fr}.role-badge{width:100%}.settings-tabs{margin-top:-4px}.font-scale-option{grid-template-columns:24px 52px minmax(0,1fr);padding:11px}.font-scale-sample{width:48px}
}
@media(min-width:761px) and (max-width:1180px){.home-settings-grid{grid-template-columns:1fr 1fr}.home-setting-card:last-child{grid-column:1/-1}}
/* Narrow-viewport navigation.

   Below 1000px the context sidebar used to be `display:none` with nothing in
   its place, so every second-level destination — Leave, Weekly time, My work,
   Approvals, Capacity, Contacts, Accounts, Private cost rates — became
   unreachable without typing a URL. The sidebar is not hidden any more: it
   reflows into a scrollable strip of chips directly under the top bar, using
   the same markup, links and accessible names as the desktop rail. */
@media(max-width:1000px){
  .context-sidebar{
    display:flex;align-items:center;position:static;height:auto;width:auto;
    grid-column:2;grid-row:1;
    background:var(--paper);border-right:0;border-bottom:var(--line-soft);
    padding:0;overflow:visible;
  }
  /* The rail is still vertical between 700px and 1000px, so it has to span both
     rows. Left in row 1 it sized that row to its own full height and pushed the
     page content hundreds of pixels below the fold. */
  .suite-frame>.tool-rail{grid-column:1;grid-row:1 / span 2}
  .suite-frame>.context-sidebar{align-self:start}
  .suite-frame>.main{grid-column:2;grid-row:2}
  /* The page header already names the tool, and the bottom rail already lists
     every enabled tool, so only the module's own pages belong in the strip. */
  .context-sidebar .context-heading,
  .context-sidebar .context-tools,
  .context-sidebar .context-primary{display:none}
  .context-sidebar nav{
    flex:1 1 auto;min-width:0;
    display:flex;flex-direction:row;gap:6px;
    overflow-x:auto;scroll-snap-type:x proximity;
    padding:10px 14px;margin:0;
    -webkit-overflow-scrolling:touch;
  }
  /* Help joins the strip as its last chip. Left as a block it became a second
     full-width band under the chips, reading as two cards stuck together, and
     WCAG 2.2 Consistent Help means it cannot simply be dropped here. */
  .context-sidebar-help{
    flex:0 0 auto;margin:0;padding:10px 14px 10px 8px;
    border-top:0;border-left:var(--line-soft);
  }
  .context-sidebar-help a{
    min-height:44px;padding:10px 14px;white-space:nowrap;
    border:var(--line-soft);border-radius:999px;background:var(--neutral-50);
  }
  .context-sidebar nav a{
    flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;
    min-height:44px;padding:10px 14px;border-radius:999px;
    border:var(--line-soft);background:var(--neutral-50);
  }
  .context-sidebar nav a[aria-current="page"]{
    background:var(--studio-black);color:var(--quantum-white);
    box-shadow:none;border-color:var(--studio-black);
  }
  .context-sidebar nav a[aria-current="page"] .nav-count{background:var(--quantum-white);color:var(--studio-black)}
}
@media(max-width:700px){
  .suite-frame{display:block}
  .context-sidebar{border-bottom:var(--line-soft)}
}

/* The bottom tool rail scrolls when a workspace has many tools enabled. Locked
   tools are dropped here because they are not actionable on a phone, and an
   edge fade shows that the row continues. The Home screen keeps the complete,
   labelled directory of tools for anyone who misses the scroll. */
@media(max-width:700px){
  .tool-rail .tool-rail-item.is-disabled{display:none}
  .tool-rail{
    justify-content:flex-start;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    mask:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);
    -webkit-mask:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);
  }
  .tool-rail-item{scroll-snap-align:center}
  .tool-rail-item[aria-current="page"]{scroll-snap-align:center}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
  .context-sidebar nav,.tool-rail{scroll-snap-type:none}
}

/* One principal action per view.

   Each module repeated its page-header action in the sidebar as a second filled
   button — two equally-weighted copies of the same thing, which leaves neither
   dominant. The sidebar keeps the route and reads as what it is: a quiet way to
   start something new, subordinate to the action in the page header. */
.context-primary{
  background:transparent;border:1px dashed var(--neutral-300);
  color:var(--neutral-700);box-shadow:none;font-weight:650;
}
.context-primary:hover{
  background:var(--paper);border-style:solid;border-color:var(--tool-color);
  color:var(--tool-color);filter:none;
}
.context-primary .icon{color:var(--tool-color)}

/* The voice launcher floats over the page, so the page has to end above it.
   Without this it covered the last conversation message at 390px and sat on the
   quick-add row on a project. */
.main{padding-bottom:calc(64px + 48px)}
@media(max-width:700px){.main{padding-bottom:calc(62px + 64px + 40px)}}
/* Local-review role demonstration. The entire pattern is absent in production. */
.demo-role-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:0 0 18px;padding:13px 14px;border:1px solid #d8d1df;border-radius:12px;background:#f6f3f8;color:var(--studio-black)}
.demo-role-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.demo-role-badge{align-self:start;margin-top:2px;padding:5px 7px;border-radius:7px;background:var(--shell-ink);color:white;font-size:max(.65rem,12px);font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.demo-role-copy{display:grid;min-width:0;line-height:1.25}
.demo-role-copy small{color:#655d6e;font-size:max(.68rem,13px)}
.demo-role-copy strong{font-size:max(.88rem,15px)}
.demo-role-copy>span{margin-top:3px;color:#51495a;font-size:max(.72rem,13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-role-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.demo-role-powers{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 7px;color:#44394d;font-size:max(.72rem,13px);font-weight:700}
.demo-role-powers .icon{width:1rem;height:1rem}
.demo-role-next{gap:8px;white-space:nowrap}
.demo-role-next .icon{width:.9rem;height:.9rem}
.demo-role-menu>summary{cursor:pointer}
.demo-role-popover{right:0;left:auto;width:min(410px,calc(100vw - 28px));max-height:min(600px,calc(100vh - 120px));overflow:auto;padding:8px}
.demo-role-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border-radius:10px;color:var(--studio-black)}
.demo-role-option:hover,.demo-role-option[aria-current="true"]{background:#eee9f2;text-decoration:none}
.demo-role-option>span:first-child{display:grid;gap:2px}
.demo-role-option strong{font-size:max(.76rem,14px)}
.demo-role-option small{color:#655d6e;font-size:max(.68rem,13px);line-height:1.35}
.demo-role-option>.icon{width:1rem;height:1rem;color:var(--positive)}

.review-personas a>span:first-child{display:grid;gap:2px}
.review-personas a strong{font-size:max(.72rem,13px)}
.review-personas a small{max-width:240px;color:var(--neutral-600);font-size:max(.65rem,12px);line-height:1.3}

.demo-login-roles{margin:-2px 0 18px;border:1px solid var(--neutral-200);border-radius:12px;background:white;overflow:hidden}
.demo-login-roles>summary{min-height:44px;padding:11px 13px;cursor:pointer;font-size:max(.74rem,14px);font-weight:750}
.demo-login-roles>div{display:grid;border-top:1px solid var(--neutral-200);max-height:330px;overflow:auto}
.demo-login-roles a{display:grid;gap:3px;padding:11px 13px;border-bottom:1px solid var(--neutral-100);color:var(--studio-black)}
.demo-login-roles a:last-child{border-bottom:0}
.demo-login-roles a:hover{background:var(--neutral-50);text-decoration:none}
.demo-login-roles strong{font-size:max(.76rem,14px)}
.demo-login-roles span{color:var(--neutral-600);font-size:max(.68rem,13px);line-height:1.35}

@media(max-width:900px){
  .demo-role-bar{grid-template-columns:1fr;gap:12px}
  .demo-role-actions{justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:520px){
  .demo-role-bar{padding:12px;margin-bottom:14px}
  .demo-role-copy>span{white-space:normal}
  .demo-role-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .demo-role-powers{grid-column:1/-1;padding:0}
  .demo-role-next{width:100%}
  .demo-role-menu{justify-self:end}
}
/* Mobile-first voice review, resumable drafts, and governed tool configuration. */
.voice-intake-form{padding:0}.voice-purpose,.voice-input-step{padding:24px;border-bottom:1px solid #e8e4eb}.voice-section-heading{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:18px}.voice-section-heading h3{margin:1px 0 3px;font-family:var(--font-sans);font-size:1.15rem}.voice-section-heading p{max-width:62ch;margin:0;color:#655d6e;font-size:15px;line-height:1.5}.voice-step{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#ebe7f8;color:#4937a9;font-size:14px;font-weight:750}.voice-purpose-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.voice-purpose-fields>.field:only-child{grid-column:1/-1}.voice-purpose-fields .field{margin:0}.voice-method{padding:20px;border:1px solid #ddd8e3;border-radius:12px;background:white}.voice-method--primary{border-color:#d8d1ec;background:#faf9fd}.voice-method-heading{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}.voice-method-heading>.icon{width:20px;height:20px;margin:5px;color:var(--tool-color)}.voice-method-heading h4{margin:0 0 3px;font-family:var(--font-sans);font-size:1.05rem}.voice-method-heading p{max-width:62ch;margin:0;color:#655d6e;font-size:15px;line-height:1.5}.voice-method .voice-controls{display:grid;grid-template-columns:1fr;justify-items:start;gap:10px;margin-top:16px;padding:0;border:0}.voice-method .voice-status{max-width:62ch;line-height:1.5}.voice-method .voice-private-note{max-width:62ch;margin:13px 0 0;padding-top:13px;border-top:1px solid #e5e0eb;color:#3f5f52;font-size:14px}.voice-choice-divider{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin:16px 0;color:#766e7d;font-size:14px;font-weight:700}.voice-choice-divider::before,.voice-choice-divider::after{content:"";height:1px;background:#e2dde6}.voice-method--text .field{margin:16px 0 0}.voice-method--text textarea{min-height:150px;font-size:17px;line-height:1.55}.voice-upload{margin-top:16px;padding-top:14px;border-top:1px solid #e5e0eb}.voice-upload summary{width:max-content;min-height:44px;display:flex;align-items:center;color:#4937a9;font-weight:700;cursor:pointer}.voice-upload[open] summary{margin-bottom:12px}.voice-upload .field{margin:0}.voice-upload input[type=file]{min-height:44px}.voice-submit-actions{margin:0;padding:20px 24px 24px}.voice-submit-actions .button{min-height:48px}.voice-demo{margin:20px 24px 0}
.voice-recording-review{display:grid;grid-template-columns:1fr;align-items:start;gap:14px;width:100%;margin-top:16px;padding:16px;border:1px solid #d9d3df;border-radius:12px;background:white}.voice-recording-review[hidden]{display:none}.voice-recording-review>div{display:flex;align-items:center;gap:10px}.voice-recording-review>div>span:last-child{display:grid;gap:2px}.voice-recording-review>div>.icon{flex:0 0 auto;color:var(--tool-color)}.voice-recording-review small{color:#655d6e;line-height:1.4}.voice-recording-review audio,.transcript-card audio{width:100%;min-height:44px}.voice-recording-review .button{justify-self:start;white-space:nowrap}
.voice-preview-sidebar{display:grid;gap:14px;align-self:start}.voice-preview-layout--crm .voice-preview-sidebar{position:sticky;top:78px}.transcript-card audio{margin:12px 0 4px}.voice-transcription-warning{margin-top:12px;padding:12px;border:1px solid #e5c3b9;border-radius:10px;background:#fff7f3;color:#71382d}.voice-transcription-warning p{margin:4px 0 0;font-size:13px}
.voice-missing-panel{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start;margin:-4px 0 16px;padding:16px 18px;border:1px solid #e1c99a;border-radius:12px;background:#fffaf0}.voice-missing-panel>.icon{width:22px;height:22px;margin:7px;color:#79530c}.voice-missing-panel h2{margin:1px 0 3px;font-size:1.15rem}.voice-missing-panel p{margin:0;color:#645637}.voice-missing-panel .eyebrow{color:#79530c}
.voice-follow-up{padding:0;overflow:hidden}.voice-follow-up>.panel-header{padding:16px 18px;margin:0;background:#faf9fb}.voice-follow-up>.panel-header p:last-child{max-width:52ch;margin:4px 0 0;color:#655d6e;font-size:14px;line-height:1.45}.voice-follow-up>form{display:grid;gap:14px;padding:16px 18px}.voice-follow-up .voice-method{padding:14px}.voice-follow-up .voice-method-heading{grid-template-columns:30px minmax(0,1fr);gap:9px}.voice-follow-up .voice-method-heading h3{margin:0 0 3px;font-family:var(--font-sans);font-size:1rem}.voice-follow-up .voice-controls{padding:0}.voice-follow-up .voice-listen-button{min-width:0;min-height:54px;grid-template-columns:40px minmax(0,1fr);padding:6px 12px 6px 6px}.voice-follow-up .voice-listen-icon{width:40px;height:40px}.voice-follow-up .voice-recording-review{grid-template-columns:1fr;padding:12px}.voice-follow-up .voice-recording-review .button{justify-self:start}.voice-follow-up .voice-choice-divider{margin:0}.voice-follow-up-form>.button{justify-self:stretch}
.voice-preview-actions{align-items:center;flex-wrap:wrap}.voice-preview-actions .button:last-child{margin-left:auto}
.transcript-review-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.45fr);gap:18px;align-items:start}.transcript-source-card,.transcript-approval-card{padding:20px}.transcript-source-card{background:#faf9fd}.transcript-source-card audio{width:100%;min-height:44px;margin:12px 0 4px}.transcript-approval-card form{display:grid;gap:18px}.transcript-approval-card textarea{min-height:240px;font-size:17px;line-height:1.6}.transcript-approval-note{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;padding:14px 16px;border:1px solid #d9e6df;border-radius:12px;background:#f6fbf8;color:#355b49}.transcript-approval-note .icon{width:20px;height:20px;margin-top:2px}.transcript-approval-note p{margin:0;line-height:1.5}.field-evidence-list{display:grid;gap:8px;margin:0 0 20px;padding:0;list-style:none}.field-evidence-row{display:grid;grid-template-columns:minmax(120px,.4fr) minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 14px;border:1px solid #e4dfe7;border-radius:10px;background:#faf9fb}.field-evidence-row>strong{font-size:14px}.field-evidence-row blockquote{margin:0;color:#554d5d;font-size:14px;line-height:1.45}.field-evidence-row .status{white-space:nowrap}.approved-transcript{margin-bottom:18px;padding:16px;border:1px solid #ded9e3;border-radius:12px;background:#faf9fb}.approved-transcript .panel-header{margin-bottom:10px}.approved-transcript p:last-child{margin:0;white-space:pre-wrap;line-height:1.6}
.voice-draft-shelf{margin-bottom:18px;padding:0;overflow:hidden;border-color:#d8d0df;isolation:isolate}.voice-draft-shelf>.panel-header{padding:16px 18px;margin:0;background:#f7f4fb}.voice-draft-list{display:grid}.voice-draft-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 18px;border-top:1px solid #ebe7ee;color:inherit}.voice-draft-row:hover{background:#faf8fc}.voice-draft-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}.voice-draft-icon .icon{width:18px;height:18px}.voice-draft-link{display:grid;min-width:0;gap:2px;color:inherit;text-decoration:none}.voice-draft-link:hover{text-decoration:none}.voice-draft-link strong,.voice-draft-link small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-draft-row small{color:#655d6e}.voice-draft-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.voice-draft-actions form{margin:0}.voice-draft-count{display:grid;place-items:center;min-width:32px;height:32px;padding:0 9px;border:1px solid #d4ced8;border-radius:10px;background:white;font-weight:750}.voice-state-badge{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid #cfdcd4;border-radius:10px;background:#f3f8f5;color:#2f6049;font-size:max(.72rem,13px);font-weight:750;white-space:nowrap}.voice-state-badge .icon{width:15px;height:15px}.voice-state-badge--needs-detail{border-color:#e3cab8;background:#fff8f1;color:#7b4529}.voice-draft-delete{display:inline-flex;align-items:center;gap:7px;min-width:auto}.voice-draft-delete .icon{width:15px;height:15px}
.panel-header-icon,.notice-icon{display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#f0edf4;color:#51465e}.panel-header-icon{width:38px;height:38px}.panel-header-icon .icon{width:18px;height:18px}.notice-icon{width:28px;height:28px;background:#e4f0e9;color:#286548}.notice-icon .icon{width:15px;height:15px}.preview-consequence{grid-template-columns:28px minmax(0,1fr);align-items:start}.transcript-card--disclosure,.voice-follow-up{padding:0;overflow:visible}details.transcript-card--disclosure:not(.menu),details.voice-follow-up:not(.menu){margin:0;padding:0;border-top:var(--line)}.transcript-card--disclosure>summary,.voice-follow-up-summary{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:11px;min-height:66px;margin:0;padding:13px 14px;border:0;list-style:none}.transcript-card--disclosure>summary::-webkit-details-marker,.voice-follow-up-summary::-webkit-details-marker{display:none}.transcript-card--disclosure>summary>span:nth-child(2),.voice-follow-up-summary>span:nth-child(2){display:grid}.transcript-card--disclosure>summary small,.voice-follow-up-summary small{color:#655d6e;font-weight:500}.transcript-card--disclosure>summary>.icon,.voice-follow-up-summary>.icon{width:17px;height:17px;transition:transform var(--duration-fast) var(--ease-standard)}.transcript-card--disclosure[open]>summary>.icon,.voice-follow-up[open]>.voice-follow-up-summary>.icon{transform:rotate(180deg)}.transcript-card-body,.voice-follow-up-form{padding:0 14px 14px;border-top:1px solid #ebe7ee}.transcript-card-body{padding-top:2px}.voice-follow-up-form{padding-top:14px}.voice-follow-up:not([open]),.transcript-card--disclosure:not([open]){overflow:hidden}.voice-follow-up:not([open]) .voice-follow-up-form,.transcript-card--disclosure:not([open]) .transcript-card-body{display:none}
.module-admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tool-settings-grid>.panel:first-child{align-self:start}.tool-settings-grid{margin-bottom:18px}.tool-configuration-form{max-width:none}.tool-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tool-rule-grid>.field{margin:0;padding:14px;border:1px solid #e3dee6;border-radius:12px;background:#fbfafc}.tool-rule-grid .field--choice-group{grid-column:1/-1}.tool-rule-grid .field--choice-group>div{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:8px}.tool-rule-grid .field--choice-group label{display:flex;align-items:center;gap:8px;font-weight:600}.tool-rule-grid .field--choice-group input{width:18px;height:18px}
@media(max-width:1120px){.voice-preview-layout--crm .voice-preview-sidebar{position:static}}
@media(max-width:900px){.transcript-review-layout{grid-template-columns:1fr}.transcript-source-card{order:0}.transcript-approval-card{order:1}}
@media(max-width:760px){.voice-purpose,.voice-input-step{padding:18px 16px}.voice-purpose-fields{grid-template-columns:1fr}.voice-purpose-fields>.field:only-child{grid-column:auto}.voice-method{padding:16px}.voice-recording-review{padding:14px}.voice-recording-review .button,.voice-method .voice-listen-button{width:100%}.voice-demo{margin:18px 16px 0}.voice-submit-actions{padding:18px 16px 20px}.voice-submit-actions .button{width:100%}.voice-preview-actions{display:grid;grid-template-columns:1fr 1fr}.voice-preview-actions .button{width:100%;margin:0!important}.voice-preview-actions .button:last-child{grid-column:1/-1;min-height:48px}.voice-missing-panel{grid-template-columns:36px minmax(0,1fr);padding:14px}.voice-draft-row{grid-template-columns:38px minmax(0,1fr);align-items:start;padding:12px 14px}.voice-draft-actions{grid-column:2;justify-content:space-between;flex-wrap:wrap}.voice-draft-delete .icon{width:17px;height:17px}.field-evidence-row{grid-template-columns:1fr}.field-evidence-row .status{justify-self:start}.transcript-source-card,.transcript-approval-card{padding:16px}.tool-rule-grid{grid-template-columns:1fr}.tool-rule-grid .field--choice-group{grid-column:auto}.module-admin-actions{width:100%}.module-admin-actions .button,.module-admin-actions form{flex:1}.module-admin-actions form .button{width:100%}}
.voice-draft-delete{display:grid;place-items:center;width:48px;min-width:48px;height:48px;padding:0;overflow:hidden;font-size:0;line-height:0}.voice-draft-delete .icon{width:19px;height:19px}
@media(max-width:420px){.voice-listen-button{min-height:68px}.voice-preview-actions{grid-template-columns:1fr}.voice-preview-actions .button:last-child{grid-column:auto}.voice-capture-header p{font-size:15px}.voice-status{font-size:14px}.voice-intake-form textarea{min-height:160px}.voice-section-heading{grid-template-columns:28px minmax(0,1fr);gap:10px}.voice-step{width:28px;height:28px}}

/* One clear voice path, with typing and uploads retained as calm fallbacks. */
.voice-layout--simple{display:block;max-width:900px;margin:0 auto}.voice-capture--simple{padding:0;overflow:hidden}.voice-purpose--compact{padding:20px 22px}.voice-section-heading--plain{display:block;margin-bottom:14px}.voice-section-heading--plain h2{font-size:1.25rem}.voice-input-step--simple{display:grid;gap:0;padding:0}.voice-primary-action{padding:24px 22px;background:color-mix(in srgb,var(--tool-color) 5%,white);border-bottom:var(--line-soft)}.voice-primary-action .voice-method-heading{grid-template-columns:42px minmax(0,1fr)}.voice-method-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--tool-color);color:white}.voice-method-icon .icon{width:19px;height:19px}.voice-primary-action .voice-controls{display:grid;justify-items:start;gap:10px;margin-top:18px}.voice-primary-action .voice-recording-review{margin-top:16px}.voice-text-fallback{display:grid;grid-template-columns:minmax(180px,.42fr) minmax(300px,1fr);gap:22px;align-items:start;padding:22px;border-bottom:var(--line-soft)}.voice-text-fallback h3{font-family:var(--font-sans);font-size:17px;font-weight:800}.voice-text-fallback p{margin:4px 0 0;color:var(--neutral-600);font-size:14px;line-height:1.45}.voice-text-fallback .field{margin:0}.voice-text-fallback textarea{min-height:112px;margin:0;font-size:17px}.voice-input-step--simple>.voice-upload{margin:0;padding:0 22px;border:0;border-bottom:var(--line-soft)}.voice-input-step--simple>.voice-upload>summary{min-height:52px;gap:9px}.voice-input-step--simple>.voice-upload>summary .icon{width:17px;height:17px}.voice-input-step--simple>.voice-upload>div{padding-bottom:18px}.voice-demo-disclosure{margin:0!important;padding:0 22px!important;border:0!important;border-bottom:var(--line-soft)!important}.voice-demo-disclosure>summary{min-height:50px;display:flex;align-items:center;color:var(--neutral-600)}.voice-demo-disclosure>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 16px}.voice-demo-disclosure p{margin:0;color:var(--neutral-600);font-size:14px}.voice-safety-note{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;margin:18px 22px 0;padding:12px 14px;border-radius:10px;background:var(--neutral-50);color:var(--neutral-700);font-size:14px}.voice-safety-note .icon{width:18px;height:18px;margin-top:2px;color:var(--positive)}.field-evidence-disclosure{margin:16px 0 0!important;padding:0!important;border:0!important;border-top:var(--line-soft)!important}.field-evidence-disclosure>summary{min-height:48px;display:flex;align-items:center;color:var(--neutral-600)}.field-evidence-disclosure .field-evidence-list{margin:0 0 12px}
@media(max-width:700px){.voice-purpose--compact,.voice-primary-action,.voice-text-fallback{padding:18px 16px}.voice-text-fallback{grid-template-columns:1fr;gap:12px}.voice-input-step--simple>.voice-upload,.voice-demo-disclosure{padding-left:16px!important;padding-right:16px!important}.voice-safety-note{margin-left:16px;margin-right:16px}.voice-demo-disclosure>div{align-items:flex-start;flex-direction:column}.voice-primary-action .voice-listen-button{width:100%}}
/* Marketing: evidence-led acquisition and customer-value views. */
.crm-callout-icon,.record-avatar{background:var(--studio-black);color:white}
.marketing-overview{padding:0;overflow:hidden;margin-bottom:1.8rem;border-color:color-mix(in srgb,var(--quantum-violet) 22%,var(--neutral-200));box-shadow:0 10px 30px rgb(18 18 17 / 5%)}
.marketing-overview__intro{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.3rem 1.4rem;background:linear-gradient(120deg,color-mix(in srgb,var(--quantum-violet) 7%,white),color-mix(in srgb,var(--neon-rouge) 5%,white))}
.marketing-overview__intro h2{margin:.08rem 0 .25rem;font-size:clamp(1.35rem,2vw,1.7rem)}
.marketing-overview__intro p:not(.eyebrow){max-width:70ch;margin:0;color:var(--neutral-700)}
.heading-with-help{display:flex;align-items:center;gap:9px}.heading-with-help h2{margin:0}.compact-help{position:relative;margin:0!important;padding:0!important;border:0!important}.compact-help>summary{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #d8d2dc;border-radius:10px;background:white;list-style:none}.compact-help>summary::-webkit-details-marker{display:none}.compact-help>summary:hover{background:#f5f2f7}.compact-help>summary .icon{width:16px;height:16px}.compact-help>div{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:min(320px,calc(100vw - 64px));padding:12px 14px;border:1px solid #d7d1dc;border-radius:10px;background:white;box-shadow:0 12px 30px rgb(26 19 34 / 16%);color:#554d5d;font-size:max(.72rem,14px);line-height:1.45}.marketing-overview,.crm-message-callout{isolation:isolate}
.marketing-overview__icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--studio-black);color:white}
.marketing-overview__icon .icon{width:1.4rem;height:1.4rem}
.marketing-overview__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:var(--line-soft)}
.marketing-overview__metrics>div{display:grid;align-content:start;gap:.35rem;padding:1.15rem 1.4rem;border-right:var(--line-soft)}
.marketing-overview__metrics>div:last-child{border-right:0}
.marketing-overview__metrics span,.contact-value-grid span{color:var(--neutral-600);font-size:max(.72rem,14px);font-weight:650}
.marketing-overview__metrics strong{font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.2}
.marketing-overview__metrics small,.contact-value-grid small{color:var(--neutral-600);font-size:max(.68rem,13px);line-height:1.4}
.crm-section-heading p{margin:.25rem 0 0;color:var(--neutral-600);font-size:max(.76rem,14px)}
.marketing-metrics .metric{display:grid;grid-template-rows:auto auto auto auto;align-content:center;justify-items:center;text-align:center;min-height:190px;padding:1.25rem}
.marketing-metrics .metric-icon{margin:0 0 .7rem}
.marketing-metrics .metric>strong{font-family:var(--font-sans);font-size:clamp(1.65rem,2.5vw,2.2rem);overflow-wrap:anywhere}
.marketing-metrics .metric>span:not(.metric-icon){font-size:max(.75rem,14px);font-weight:700}
.marketing-metrics .metric>small{margin-top:.35rem;color:var(--neutral-600);font-size:max(.68rem,13px);line-height:1.35}
.marketing-metrics .metric--focus>small{color:var(--neutral-400)}
.marketing-model-card{margin-bottom:1rem;padding:1.35rem}
.marketing-model-card>.panel-header{align-items:flex-start}
.marketing-model-card>p{max-width:86ch;color:var(--neutral-700)}
.marketing-formula{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin:1rem 0;padding:1rem;border-radius:var(--radius-control);background:var(--neutral-100)}
.marketing-formula span,.marketing-formula strong{padding:.35rem .55rem;border-radius:8px;background:var(--paper);font-size:max(.75rem,14px)}
.marketing-formula>span[aria-hidden="true"]{padding:0;background:transparent;color:var(--neutral-500);font-weight:800}
.marketing-formula strong{background:var(--studio-black);color:white}
.marketing-model-details{margin-top:1rem;border-top:var(--line-soft);padding-top:.85rem}
.marketing-model-details summary{cursor:pointer;font-weight:700}
.marketing-model-details dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:.9rem 0 0}
.marketing-model-details dl>div{padding:.75rem;border:var(--line-soft);border-radius:var(--radius-control);background:var(--neutral-50)}
.marketing-model-details dt{color:var(--neutral-600);font-size:max(.68rem,13px)}
.marketing-model-details dd{margin:.2rem 0 0;font-weight:750}
.marketing-not-ready{display:grid;grid-template-columns:40px minmax(0,1fr);gap:.85rem;align-items:start;padding:1rem;border-radius:var(--radius-surface);background:color-mix(in srgb,var(--quantum-violet) 8%,white)}
.marketing-not-ready>.icon{width:1.1rem;height:1.1rem;margin:.6rem auto;color:var(--neutral-700)}
.marketing-not-ready h3{margin:0 0 .25rem;font-family:var(--font-sans);font-size:1rem}
.marketing-not-ready p{margin:.2rem 0;color:var(--neutral-700)}
.marketing-freshness{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;margin-top:1rem;padding-top:.8rem;border-top:var(--line-soft);color:var(--neutral-600);font-size:max(.7rem,13px)}
.marketing-freshness a{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto;font-weight:700}
.marketing-freshness .icon,.panel-header a .icon{width:.85rem;height:.85rem}
.marketing-table-panel{padding:0;overflow:hidden;margin-bottom:1rem}
.marketing-table-panel>.panel-header{padding:1.1rem 1.2rem;margin:0}
.marketing-table-panel>.panel-header p:not(.eyebrow){margin:.25rem 0 0;color:var(--neutral-600);font-size:max(.74rem,14px)}
.marketing-table-panel>.table-wrap{border:0;border-top:var(--line-soft);border-radius:0}
.marketing-table td small{display:block;margin-top:.2rem;color:var(--neutral-600);font-size:max(.68rem,13px)}
.marketing-rank{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--neutral-100);font-weight:800}
.marketing-table tbody tr:first-child .marketing-rank{background:var(--studio-black);color:white}
.marketing-breakdowns{align-items:start;margin-top:1rem}
.contact-value-card{margin-bottom:1rem;padding:1.2rem}
.contact-value-card .panel-header a{display:inline-flex;align-items:center;gap:.4rem;font-size:max(.72rem,14px);font-weight:700}
.contact-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:var(--line-soft);border-radius:var(--radius-surface);overflow:hidden}
.contact-value-grid>div{display:grid;gap:.3rem;padding:1rem;border-right:var(--line-soft)}
.contact-value-grid>div:last-child{border-right:0}
.contact-value-grid strong{font-size:1.05rem;overflow-wrap:anywhere}
@media(max-width:980px){.marketing-overview__metrics{grid-template-columns:1fr}.marketing-overview__metrics>div{border-right:0;border-bottom:var(--line-soft)}.marketing-overview__metrics>div:last-child{border-bottom:0}.marketing-metrics{grid-template-columns:1fr 1fr}.marketing-model-details dl,.contact-value-grid{grid-template-columns:1fr 1fr}.contact-value-grid>div:nth-child(2){border-right:0}.contact-value-grid>div:nth-child(-n+2){border-bottom:var(--line-soft)}}
@media(max-width:680px){.marketing-overview__intro{grid-template-columns:48px minmax(0,1fr);padding:1rem}.marketing-overview__icon{width:48px;height:48px;border-radius:14px}.marketing-overview__intro>.button{grid-column:1/-1;width:100%}.compact-help>div{right:0;left:auto}.marketing-metrics{grid-template-columns:1fr}.marketing-metrics .metric{min-height:160px}.marketing-model-details dl,.contact-value-grid{grid-template-columns:1fr}.contact-value-grid>div{border-right:0;border-bottom:var(--line-soft)}.contact-value-grid>div:last-child{border-bottom:0}.marketing-freshness{align-items:flex-start;flex-direction:column}.marketing-freshness a{margin-left:0}.marketing-formula{align-items:stretch;flex-direction:column}.marketing-formula>span[aria-hidden="true"]{text-align:center}.marketing-not-ready{grid-template-columns:1fr}.marketing-not-ready>.icon{margin:0}.marketing-breakdowns{display:block}}

/* Opportunity board: stable stage widths prevent cards and metadata collapsing. */
.opportunity-page-header{align-items:flex-end}.opportunity-board-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--neutral-200);border-radius:12px;background:white}.opportunity-board-toolbar form{display:flex;align-items:end;gap:8px}.opportunity-board-toolbar form label{display:grid;gap:5px;color:var(--neutral-600);font-size:13px;font-weight:700}.opportunity-board-toolbar select{min-width:220px}.opportunity-board-toolbar dl{display:flex;align-items:stretch;margin:0}.opportunity-board-toolbar dl>div{display:grid;gap:2px;min-width:130px;padding:2px 16px;border-left:var(--line-soft)}.opportunity-board-toolbar dt{color:var(--neutral-600);font-size:13px}.opportunity-board-toolbar dd{margin:0;font-size:17px;font-weight:800}.crm-opportunity-board{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(270px,310px);gap:12px;max-width:100%;overflow-x:auto;padding:2px 2px 18px;scroll-snap-type:x proximity}.crm-opportunity-column{min-width:0;padding:12px;border-radius:12px;scroll-snap-align:start}.crm-opportunity-column>header{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:5px}.crm-opportunity-column>header>span{min-width:0}.crm-opportunity-column>header strong{overflow-wrap:anywhere}.crm-opportunity-column>header>small{padding-left:20px}.crm-deal-card{min-width:0;border-radius:10px;padding:14px;overflow:hidden}.crm-deal-card>strong,.crm-deal-account,.crm-deal-value{overflow-wrap:anywhere}.crm-deal-meta{justify-content:space-between;min-width:0}.crm-deal-meta>span{display:flex;align-items:center;gap:6px;min-width:0}.crm-deal-meta>span>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-deal-meta>small{flex:0 0 auto;margin:0}.crm-stage-age{color:var(--neutral-600);font-size:13px}.crm-next-step{align-items:flex-start;min-width:0}.crm-next-step>span:last-child{min-width:0;overflow-wrap:anywhere}.crm-next-step .icon{flex:0 0 auto;margin-top:2px}

/* Marketing settings: sales process first, advanced intake detail disclosed later. */
.marketing-settings-lead{padding:20px;margin-bottom:18px}.pipeline-settings-list{display:grid;gap:14px}.pipeline-settings-card{border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50);overflow:hidden}.pipeline-settings-card.is-muted{opacity:.72}.pipeline-settings-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:white;border-bottom:var(--line-soft)}.pipeline-settings-card>header>div:first-child{display:grid;gap:3px}.pipeline-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pipeline-settings-card header small{color:var(--neutral-600)}.pipeline-stage-settings{display:grid;margin:0}.stage-stack-help{display:flex;align-items:center;gap:8px;margin:0;padding:10px 16px;border-bottom:var(--line-soft);color:var(--neutral-600);font-size:13px}.stage-stack-help .icon{width:16px;height:16px}.pipeline-stage-settings>[data-stage-list]{display:grid}.pipeline-stage-row{display:grid;grid-template-columns:36px 12px minmax(0,1fr) 70px;align-items:center;gap:9px;min-height:66px;padding:7px 10px;border-bottom:var(--line-soft);background:var(--neutral-50)}.pipeline-stage-row:last-child{border-bottom:0}.pipeline-stage-row:focus-within,.pipeline-stage-row:hover{background:white}.pipeline-stage-row.is-dragging{opacity:.55;box-shadow:0 10px 24px rgb(18 18 17 / 12%)}.pipeline-stage-settings.is-saving{pointer-events:none;opacity:.72}.stage-drag-handle,.stage-order-actions button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--neutral-500);cursor:grab}.stage-drag-handle:hover,.stage-order-actions button:hover:not(:disabled){border-color:var(--neutral-200);background:white;color:var(--studio-black)}.stage-drag-handle:active{cursor:grabbing}.stage-drag-handle .icon,.stage-order-actions .icon{width:17px;height:17px}.pipeline-stage-link{display:grid;grid-template-columns:minmax(0,1fr) 70px 18px;align-items:center;gap:12px;min-width:0;padding:7px 4px;color:inherit}.pipeline-stage-link:hover{text-decoration:none}.pipeline-stage-link>span:first-child{display:grid;min-width:0}.pipeline-stage-settings small{color:var(--neutral-600);font-size:13px;line-height:1.35}.stage-probability{display:grid;text-align:right;font-weight:800}.stage-probability small{font-size:11px;font-weight:600}.pipeline-stage-link>.icon{width:16px;color:var(--neutral-500)}.stage-order-actions{display:none;grid-template-columns:repeat(2,36px);gap:4px}.stage-order-actions button:disabled{opacity:.28;cursor:not-allowed}.stage-stack-status{min-height:0;margin:0;padding:0 16px;color:var(--neutral-600);font-size:13px}.stage-stack-status:not(:empty){min-height:36px;padding-top:8px;padding-bottom:8px;border-top:var(--line-soft)}.marketing-configuration-form{display:grid;gap:16px}.marketing-settings-grid{margin:0}.score-settings-panel{grid-column:span 2}.score-rule-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.score-rule-groups fieldset{display:grid;align-content:start;gap:12px;margin:0;padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50)}.score-rule-groups legend{padding:0 6px;font-weight:800}.score-rule-groups .field{display:grid;gap:6px;margin:0}.settings-disclosure{border:0}.settings-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;cursor:pointer;list-style:none}.settings-disclosure>summary::-webkit-details-marker{display:none}.settings-disclosure>summary>span:first-child{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px}.settings-disclosure>summary>span:first-child>.icon{width:42px;height:42px;padding:11px;border-radius:10px;background:color-mix(in srgb,var(--neon-rouge) 9%,white);color:var(--neon-rouge)}.settings-disclosure>summary>span>span{display:grid}.settings-disclosure>summary small{color:var(--neutral-600);font-weight:500}.settings-disclosure[open]>summary{margin-bottom:16px;border-bottom:var(--line-soft);padding-bottom:14px}.measurement-settings-card{align-self:start}.settings-save-bar{position:sticky;bottom:12px;z-index:4;box-shadow:0 12px 32px rgb(18 18 17 / 12%)}.pipeline-stage-form-panel{max-width:760px}.pipeline-stage-form-panel .field--choice-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none}.pipeline-stage-form-panel .field--choice-group label{display:flex;align-items:center;gap:8px;min-height:40px}.pipeline-stage-form-panel .field--choice-group input{width:18px;height:18px}.stage-colour-field{margin:0;padding:0;border:0}.stage-colour-field legend{margin-bottom:7px;font-weight:700}.stage-colour-control{display:flex;align-items:center;gap:10px}.stage-colour-control input[type=color]{width:56px;min-width:56px;height:44px;padding:4px}.stage-colour-control span{color:var(--neutral-600);font-size:14px}.stage-colour-defaults{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.stage-colour-defaults button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid var(--neutral-300);border-radius:10px;background:white}.stage-colour-defaults button>span{width:24px;height:24px;border-radius:7px;background:var(--stage-colour)}.stage-colour-defaults button[aria-pressed=true]{border-color:var(--studio-black);box-shadow:0 0 0 2px white,0 0 0 4px var(--studio-black)}.danger-disclosure{margin-top:18px;padding-top:14px;border-top:var(--line-soft)}.danger-disclosure>summary{cursor:pointer;font-weight:750}.danger-disclosure p{color:var(--neutral-600)}
@media(max-width:1050px){.opportunity-page-header{align-items:flex-start}.opportunity-board-toolbar{align-items:stretch;flex-direction:column}.opportunity-board-toolbar dl{width:100%}.opportunity-board-toolbar dl>div{flex:1}.score-rule-groups{grid-template-columns:1fr 1fr}.score-rule-groups fieldset:last-child{grid-column:1/-1}.score-settings-panel{grid-column:auto}.marketing-settings-grid{grid-template-columns:1fr}}
@media(max-width:700px){.opportunity-page-header>.actions{width:100%;display:grid;grid-template-columns:1fr}.opportunity-board-toolbar{padding:12px}.opportunity-board-toolbar form{display:grid;grid-template-columns:minmax(0,1fr) auto}.opportunity-board-toolbar form label{grid-column:1/-1}.opportunity-board-toolbar select{min-width:0;width:100%}.opportunity-board-toolbar dl{display:grid;grid-template-columns:1fr 1fr}.opportunity-board-toolbar dl>div{min-width:0;padding:8px 10px;border-left:0;border-top:var(--line-soft)}.opportunity-board-toolbar dl>div:last-child{grid-column:1/-1}.crm-opportunity-board{grid-auto-columns:minmax(270px,86vw)}.pipeline-settings-card>header{align-items:flex-start;flex-direction:column}.pipeline-settings-card>header>.actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.stage-stack-help{display:none}.pipeline-stage-row{grid-template-columns:12px minmax(0,1fr) 76px;padding:8px 10px}.stage-drag-handle{display:none}.pipeline-stage-link{grid-template-columns:minmax(0,1fr) 58px}.pipeline-stage-link>.icon{display:none}.stage-order-actions{display:grid}.stage-order-actions button{border-color:var(--neutral-200);background:white}.score-rule-groups{grid-template-columns:1fr}.score-rule-groups fieldset:last-child{grid-column:auto}.settings-save-bar{position:static;align-items:stretch;flex-direction:column}.settings-save-bar .button{width:100%}.pipeline-stage-form-panel .field--choice-group>div{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pipeline-stage-row.is-dragging{opacity:1}}
.stage-order-actions{display:grid}
/* People governance, department cues, weekly-time locks, and Projects daily reports. */
.status--future::before{background:var(--info)}.status--inactive::before,.status--dismissed::before{background:var(--neutral-500)}.status--submitted::before,.status--accepted::before{background:var(--positive)}.status--transcript_review::before,.status--suggested::before{background:var(--notice)}.status--draft::before{background:var(--info)}
.department-row{--department-tone:#746a7b}.department-row td:first-child{box-shadow:inset 4px 0 var(--department-tone);padding-left:1rem}.department-tone-0{--department-tone:#477b69}.department-tone-1{--department-tone:#5d6fb4}.department-tone-2{--department-tone:#8a5fa7}.department-tone-3{--department-tone:#b05f72}.department-tone-4{--department-tone:#a56d32}.department-tone-5{--department-tone:#39758c}.department-tone-6{--department-tone:#657a3d}.department-tone-7{--department-tone:#7d697b}.org-person-card[class*="department-tone-"]{box-shadow:inset 3px 0 var(--department-tone),0 3px 14px rgb(18 18 17 / 6%);padding-left:calc(.9rem + 3px)}.org-person-card[class*="department-tone-"] .org-avatar{background:color-mix(in srgb,var(--department-tone) 16%,white);color:color-mix(in srgb,var(--department-tone) 88%,black)}
.org-view-tabs{margin-bottom:14px;overflow-x:auto}.org-view-tabs a{white-space:nowrap}.people-profile-header{margin-bottom:18px}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:18px;align-items:start}.profile-facts,.role-reference,.people-okr-panel,.role-suggestions{padding:20px}.job-description-link{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:12px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50);color:inherit}.job-description-link>span:nth-child(2){display:grid;min-width:0}.job-description-link small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600)}.role-reference form{margin-top:14px}.people-okr-panel,.role-suggestions,.people-status-control{margin-top:18px}.people-okr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.people-okr-card{display:grid;gap:10px;padding:14px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50);color:inherit}.people-okr-card .status{justify-self:start}.people-okr-card small{color:var(--neutral-600)}.person-kr-list{display:grid;margin-top:16px;border-top:var(--line-soft)}.person-kr-list>a{display:flex;justify-content:space-between;gap:16px;padding:12px 2px;border-bottom:var(--line-soft);color:inherit}.person-kr-list>a>span:first-child{display:grid}.person-kr-list small{color:var(--neutral-600)}.suggestion-list{display:grid;gap:12px}.suggestion-list>article{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50)}.suggestion-list>article>div:first-child{display:grid;gap:7px}.suggestion-list .status{justify-self:start}.suggestion-list p{max-width:70ch;margin:0;color:var(--neutral-600)}.people-status-control>form{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end;margin-top:14px}.people-status-control label{display:grid;gap:6px}
.people-directory-table tr[data-row-link]{cursor:pointer}.people-directory-table tr[data-row-link] td{transition:background var(--duration-fast) var(--ease-standard)}.people-directory-table tr[data-row-link]:hover td,.people-directory-table tr[data-row-link]:focus-within td{background:var(--neutral-50)}.people-primary-link{display:inline-flex;align-items:center;gap:8px;color:inherit}.people-primary-link .icon{width:16px;height:16px;opacity:.55;transition:transform var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) var(--ease-standard)}.people-directory-table tr[data-row-link]:hover .people-primary-link .icon,.people-primary-link:focus .icon{opacity:1;transform:translateX(2px)}.directory-action{text-align:right;white-space:nowrap}.directory-end-link{color:var(--critical);border-color:color-mix(in srgb,var(--critical) 45%,transparent)}.directory-end-link:hover{background:color-mix(in srgb,var(--critical) 8%,var(--quantum-white));color:var(--critical);border-color:var(--critical)}.people-end-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px}.people-end-summary p{margin:0;max-width:64ch;color:var(--neutral-600)}.employment-end-header{margin-bottom:18px}.employment-end-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px;align-items:start}.employment-end-form{margin:0}.employment-end-consequences{padding:20px}.employment-end-consequences ul{display:grid;gap:14px;margin:18px 0 0;padding-left:20px}.employment-end-consequences li{padding-left:4px;color:var(--neutral-700)}.field--confirmation>label:first-child{display:none}.confirmation-choice{display:grid!important;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start!important}.confirmation-choice input{width:20px;height:20px;margin-top:2px}
.period-lock-list{display:grid;gap:10px}.period-lock-list>article,.period-lock-notice{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start;padding:14px;border:1px solid #dfd6c7;border-radius:12px;background:#fffaf3}.period-lock-list .icon,.period-lock-notice>.icon{width:20px;height:20px;margin:7px;color:#79530c}.period-lock-list article>span:last-child{display:grid}.period-lock-list small{color:var(--neutral-600)}
.table-substatus{display:block;margin-top:5px;color:var(--neutral-600);font-size:13px}.correction-request-panel{margin-top:18px}.correction-request-panel blockquote{margin:0 0 14px;padding:12px 14px;border-left:3px solid var(--notice);border-radius:0 10px 10px 0;background:var(--neutral-50);color:var(--neutral-700)}.finance-time-decision>div:first-child{display:grid;gap:5px}.finance-time-decision>div:first-child>span{max-width:70ch;color:var(--neutral-600)}
.work-list-head--checklist,.work-row--checklist{grid-template-columns:44px minmax(250px,2fr) minmax(140px,1fr) 120px 90px 140px}.checklist-action{display:grid;place-items:center}.checklist-action form{margin:0}.checklist-action button,.checklist-state{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--neutral-300);border-radius:10px;background:white;color:var(--neutral-600)}.checklist-action button{cursor:pointer}.checklist-action button:hover{border-color:var(--tool-color);background:color-mix(in srgb,var(--tool-color) 8%,white);color:var(--tool-color)}.checklist-action .icon{width:17px;height:17px}.checklist-state{border-color:#bcd5c8;background:#f2f8f5;color:var(--positive)}.work-row--checklist .work-title{text-decoration:none;color:inherit}.work-row--checklist .work-title:hover strong{text-decoration:underline}
.daily-report-intake{padding:0;overflow:hidden}.daily-report-intake .voice-method{margin:20px}.daily-report-intake .voice-choice-divider{margin:0 20px}.daily-report-intake .form-actions{padding:0 20px 20px}.daily-report-list{display:grid}.daily-report-list>a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 2px;border-bottom:var(--line-soft);color:inherit}.daily-report-list>a:last-child{border-bottom:0}.daily-report-list>a>span:nth-child(2){display:grid;min-width:0}.daily-report-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600)}.daily-report-avatar,.daily-report-date{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color);font-weight:750}.daily-report-date{gap:0}.daily-report-date strong{line-height:1}.daily-report-date small{font-size:11px;text-transform:uppercase}.daily-report-review-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}.daily-report-review-grid>.panel{padding:20px}.daily-task-snapshot{display:grid}.daily-task-snapshot>div{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 0;border-bottom:var(--line-soft)}.daily-task-snapshot>div:last-child{border-bottom:0}.daily-task-snapshot .icon{width:18px;height:18px;margin-top:2px;color:var(--positive)}.daily-task-snapshot>div>span:nth-child(2){display:grid}.daily-task-snapshot small,.daily-task-snapshot time{color:var(--neutral-600);font-size:max(.72rem,13px)}.daily-report-summary{margin:0;white-space:pre-wrap;font-size:17px;line-height:1.65}
@media(max-width:1200px){.work-list-head--checklist,.work-row--checklist{grid-template-columns:44px minmax(230px,2fr) minmax(120px,1fr) 110px 90px}.work-list-head--checklist>span:last-child,.work-row--checklist>span:last-child{display:none}}
@media(max-width:820px){.profile-overview-grid,.daily-report-review-grid,.employment-end-grid{grid-template-columns:1fr}.people-okr-grid{grid-template-columns:1fr}.suggestion-list>article{align-items:flex-start;flex-direction:column}.people-status-control>form{grid-template-columns:1fr}.people-end-summary{align-items:flex-start;flex-direction:column}.daily-report-intake .voice-method{margin:16px}.daily-report-intake .voice-choice-divider{margin:0 16px}.daily-report-intake .form-actions{padding:0 16px 16px}}
@media(max-width:700px){.work-list-head--checklist,.work-row--checklist{min-width:780px}.daily-report-list>a{grid-template-columns:42px minmax(0,1fr)}.daily-report-list>a>.status{grid-column:2;justify-self:start}.profile-facts,.role-reference,.people-okr-panel,.role-suggestions{padding:16px}}

/* Personnel-file progressive disclosure and calmer manager decisions. */
.profile-tabs{margin-top:-6px;margin-bottom:18px;overflow-x:auto}.profile-tabs a{white-space:nowrap}.profile-section-directory{margin-top:24px}.profile-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-section-grid>a{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:92px;padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:white;color:inherit}.profile-section-grid>a:hover{text-decoration:none;border-color:var(--neutral-400);background:var(--neutral-50)}.profile-section-grid>a>span:nth-child(2){display:grid;min-width:0}.profile-section-grid small{color:var(--neutral-600);line-height:1.4}.profile-section-grid>a>.icon{width:16px;color:var(--neutral-500)}.profile-section-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}.profile-section-icon .icon{width:18px}.profile-balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:18px}.profile-balance-grid>article{display:grid;gap:4px;padding:18px;border:1px solid var(--neutral-200);border-radius:12px;background:white}.profile-balance-grid small,.profile-balance-grid span{color:var(--neutral-600)}.profile-balance-grid strong{font-size:1.55rem}.profile-history-panel{padding:20px}.profile-leave-list{display:grid;border-top:var(--line-soft)}.profile-leave-list>details{border-bottom:var(--line-soft)}.profile-leave-list>details>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:12px 2px;cursor:pointer}.profile-leave-list>details>summary>span:first-child{display:grid}.profile-leave-list summary small{color:var(--neutral-600)}.profile-leave-detail{padding:0 0 18px 28px}.profile-leave-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.profile-leave-detail dl>div{padding:12px;border-radius:10px;background:var(--neutral-50)}.profile-leave-detail dt{font-size:13px;color:var(--neutral-600)}.profile-leave-detail dd{margin:4px 0 0;line-height:1.5}.compact-timeline{margin-top:14px}.profile-ledger-disclosure{margin-top:18px}.profile-ledger-disclosure>summary{cursor:pointer;font-weight:700}.separation-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;margin-top:14px;padding:14px;border-radius:10px;background:var(--neutral-50)}.separation-summary p{margin:0;color:var(--neutral-700)}.separation-withdraw-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:14px;align-items:end;margin-top:14px}.separation-withdraw-form label{display:grid;gap:6px}.separation-withdraw-form>div{display:grid;justify-items:end;gap:7px}.separation-withdraw-form small{color:var(--neutral-600)}
.manager-leave-queue{margin-bottom:20px}.queue-count{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border-radius:999px;background:var(--neutral-100);color:var(--neutral-700);font-size:13px;font-weight:700}.manager-leave-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.manager-leave-card{display:grid;align-content:start;border:1px solid var(--neutral-200);border-radius:12px;background:white;overflow:hidden}.manager-leave-card>header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:15px;border-bottom:var(--line-soft)}.manager-leave-card>header>span:nth-child(2){display:grid}.manager-leave-card header small{color:var(--neutral-600)}.manager-leave-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color);font-weight:750}.manager-leave-facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--neutral-200)}.manager-leave-facts>div{display:grid;gap:3px;padding:12px 15px;background:var(--neutral-50)}.manager-leave-facts small{color:var(--neutral-600)}.manager-leave-reason,.decision-note-disclosure{margin:0 15px;border-bottom:var(--line-soft)}.manager-leave-reason>summary,.decision-note-disclosure>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--neutral-700);font-weight:700}.manager-leave-reason p{margin:0 0 8px;line-height:1.55}.manager-leave-reason small{display:block;margin:0 0 12px;color:var(--neutral-600)}.manager-leave-decision{display:grid;gap:12px;padding:0 15px 15px}.decision-note-disclosure{margin:0}.decision-note-disclosure input{margin:0 0 12px}.manager-leave-decision .decision-buttons{justify-content:flex-end}
@media(max-width:980px){.profile-section-grid,.manager-leave-list{grid-template-columns:1fr 1fr}.profile-section-grid>a:last-child{grid-column:1/-1}}
@media(max-width:700px){.profile-section-grid,.manager-leave-list,.profile-leave-detail dl{grid-template-columns:1fr}.profile-section-grid>a:last-child{grid-column:auto}.profile-leave-list>details>summary{align-items:flex-start;flex-direction:column}.profile-leave-detail{padding-left:0}.separation-withdraw-form{grid-template-columns:1fr}.separation-withdraw-form>div{justify-items:stretch}.manager-leave-card>header{grid-template-columns:42px minmax(0,1fr)}.manager-leave-card>header>.status{grid-column:2;justify-self:start}.manager-leave-decision .decision-buttons{display:grid;grid-template-columns:1fr 1fr}}.home-day-tasks{display:grid;gap:6px;padding:8px}.home-day-tasks>p{margin:8px 2px;color:var(--neutral-500);font-size:13px}.home-calendar-task{display:grid;grid-template-columns:30px minmax(0,1fr);gap:7px;align-items:start;padding:8px;border-radius:10px;background:var(--neutral-50)}.home-calendar-task form{margin:0}.task-check{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--neutral-500);cursor:pointer}.task-check:hover,.task-check:focus-visible{background:white;color:var(--accent)}.task-check .icon{width:18px;height:18px}.task-check.is-static{cursor:default}.home-calendar-task>a{display:grid;gap:2px;min-width:0}.home-calendar-task strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.home-calendar-task small{font-size:12px;color:var(--neutral-600)}.home-calendar-task.is-complete{opacity:.58}.home-calendar-task.is-complete strong{text-decoration:line-through}


/* Recurring work is configured away from the already-dense project command surface. */
.recurrence-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:18px;align-items:start}.recurrence-list>div:last-child{display:grid}.recurrence-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border-top:var(--line-soft)}.recurrence-card.is-paused{opacity:.65}.recurrence-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent)}.recurrence-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.recurrence-card p{margin:3px 0;color:var(--neutral-700)}.recurrence-card small{color:var(--neutral-600)}.recurrence-form .stacked-form{padding:16px}.recurrence-form .field{display:grid;gap:6px;margin-bottom:13px}.recurrence-form ul[id$="_weekdays"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none}.recurrence-form ul[id$="_weekdays"] label{display:flex;align-items:center;gap:8px;min-height:36px}.recurrence-form ul[id$="_weekdays"] input{width:18px;height:18px}.project-task-head,.project-task-row{grid-template-columns:minmax(230px,2fr) minmax(130px,1fr) 165px 90px 140px}.project-task-row>*{min-width:0}.project-task-row .work-title,.project-task-row .assignee-cell{min-width:0}.project-task-row .work-title strong,.project-task-row .assignee-cell{overflow-wrap:anywhere}.project-task-row .task-due{display:grid;grid-template-columns:auto minmax(0,1fr);white-space:normal;align-items:center}.project-task-row .task-due .due-flag{grid-column:1/-1;justify-self:start;margin:3px 0 0}.task-group-heading>span:first-child{min-width:0}.task-group-heading strong{overflow-wrap:anywhere}
@media(max-width:900px){.recurrence-layout{grid-template-columns:1fr}.project-detail-header{align-items:flex-start;flex-direction:column}.project-detail-header>.actions{width:100%;flex-wrap:wrap}}

/* Task actions belong with the tasks they change, rather than in the project banner. */
.project-task-controls{display:grid;grid-template-columns:minmax(360px,1fr) auto;gap:12px;align-items:center;margin-bottom:16px;padding:10px;border:1px solid var(--neutral-200);border-radius:12px;background:white}.project-task-controls .quick-capture{margin:0;padding:0;border:0}.project-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.project-task-actions .button{min-height:42px}.project-task-actions .nav-count{margin-left:2px}

/* Reminder-like recurring task setup: schedule first, secondary task detail on demand. */
.recurrence-page-header{margin-bottom:18px}.recurrence-list,.recurrence-form{overflow:hidden}.recurrence-stack{display:grid}.recurrence-card{min-height:74px;padding:12px 16px}.recurrence-check{width:36px;height:36px;display:grid;place-items:center;border:2px solid color-mix(in srgb,var(--accent) 55%,var(--neutral-300));border-radius:50%;color:var(--accent)}.recurrence-check .icon{width:17px;height:17px}.recurrence-card-copy{display:grid;min-width:0}.recurrence-card-copy p{font-size:14px}.recurrence-card form{margin:0}.recurrence-card .icon-button{width:42px;height:42px}.recurrence-editor{display:grid;margin:0}.recurrence-editor-group{display:grid;gap:12px;padding:18px;border-bottom:var(--line-soft)}.recurrence-editor-group h3{display:flex;align-items:center;gap:9px;font-family:var(--font-sans);font-size:16px;font-weight:800}.recurrence-editor-group h3 .icon{width:18px;height:18px;color:var(--accent)}.recurrence-editor .field{display:grid;gap:6px;margin:0}.recurrence-repeat-grid,.recurrence-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.recurrence-weekdays ul[id$="_weekdays"]{grid-template-columns:repeat(2,minmax(0,1fr))}.recurrence-weekdays ul[id$="_weekdays"] label{min-height:42px;padding:6px 9px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-50)}details.recurrence-more:not(.menu){margin:0;padding:0;border:0;border-bottom:var(--line-soft)}.recurrence-more>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;list-style:none;color:var(--neutral-700)}.recurrence-more>summary::-webkit-details-marker{display:none}.recurrence-more>summary>span:first-child{display:flex;align-items:center;gap:9px}.recurrence-more>summary .icon{width:17px;height:17px}.recurrence-more>div{display:grid;gap:12px;padding:4px 18px 18px}.recurrence-more[open]>summary>.icon{transform:rotate(180deg)}.recurrence-create{margin:16px 18px 18px;min-height:46px}

@media(max-width:1100px){.project-task-controls{grid-template-columns:1fr}.project-task-actions{justify-content:flex-start}}
@media(max-width:700px){.project-task-controls{padding:10px}.project-task-actions{display:grid;grid-template-columns:1fr 1fr}.project-task-actions .button:last-child{grid-column:1/-1}.recurrence-repeat-grid,.recurrence-detail-grid{grid-template-columns:1fr}.recurrence-card{grid-template-columns:36px minmax(0,1fr) auto;padding:12px}.recurrence-title{align-items:flex-start;flex-direction:column}.recurrence-card-copy p{line-height:1.4}.recurrence-weekdays ul[id$="_weekdays"]{grid-template-columns:1fr}}
@media(max-width:1200px){.project-task-head,.project-task-row{grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) 150px 140px}}
/* Private personnel documents, Finance salaries, payslips, and Home self-service. */
.icon-button[data-tooltip]{position:relative}.icon-button[data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:20;right:0;top:calc(100% + 8px);width:max-content;max-width:240px;padding:7px 9px;border-radius:8px;background:var(--neutral-900);color:white;font-size:13px;font-weight:650;line-height:1.35;opacity:0;pointer-events:none;transform:translateY(-3px);transition:opacity var(--duration-fast),transform var(--duration-fast)}.icon-button[data-tooltip]:hover::after,.icon-button[data-tooltip]:focus-visible::after{opacity:1;transform:translateY(0)}
.private-records-panel{padding:20px}.private-records-panel .panel-header{align-items:flex-start}.private-records-panel .panel-header p{max-width:62ch;margin:.35rem 0 0;color:var(--neutral-600)}.hiring-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.hiring-document-group{padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50)}.hiring-document-group>div:first-child{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:10px}.hiring-document-group h3{margin:0;font-size:1rem}.hiring-document-group>a{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:10px;align-items:center;padding:11px 0;border-top:var(--line-soft);color:inherit}.hiring-document-group>a>span:first-child{display:grid;min-width:0}.hiring-document-group small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600)}.hiring-document-group>p{margin:0;color:var(--neutral-600)}
.salary-explainer{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:18px;padding:15px 18px;background:var(--neutral-50)}.salary-explainer>.icon{width:20px;height:20px;margin-top:2px;color:var(--tool-color)}.salary-explainer p{margin:0;line-height:1.55}.salary-directory{min-width:1040px}.salary-directory td:first-child,.salary-directory td:nth-child(2),.salary-directory td:nth-child(5){display:table-cell}.salary-directory td>span,.salary-directory td>small{display:block;margin-top:4px;color:var(--neutral-600)}.salary-payslip-links{display:grid;gap:6px}.salary-payslip-links>a{display:flex;align-items:center;justify-content:space-between;gap:10px;white-space:nowrap}.status--issued::before{background:var(--positive)}.payslip-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.payslip-review-grid>.panel{padding:20px}.decision-footer{display:flex;justify-content:flex-end;margin-top:18px}.decision-footer form{margin:0}
.my-documents-panel{padding:0;overflow:hidden}.my-documents-panel>.panel-header{padding:20px}.document-list{display:grid;border-top:var(--line-soft)}.document-row{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:13px;align-items:center;min-height:82px;padding:14px 20px;border-bottom:var(--line-soft);color:inherit}.document-row:last-child{border-bottom:0}.document-row:hover{background:var(--neutral-50);text-decoration:none}.document-row>span:nth-child(2){display:grid;min-width:0}.document-row small{color:var(--neutral-600)}.document-row>.icon{width:18px;color:var(--neutral-600)}
@media(max-width:820px){.hiring-document-grid,.payslip-review-grid{grid-template-columns:1fr}.private-records-panel{padding:16px}.private-records-panel .panel-header{gap:14px}.salary-directory-wrap{margin-inline:-4px}.document-row{padding-inline:16px}}
@media(max-width:520px){.private-records-panel .panel-header{align-items:stretch;flex-direction:column}.private-records-panel .panel-header .button{width:100%}.hiring-document-grid{gap:10px}.decision-footer,.decision-footer form,.decision-footer .button{width:100%}.icon-button[data-tooltip]::after{right:-6px;max-width:min(240px,calc(100vw - 48px))}}
/* Marketing refresh: task-first hierarchy, calm grouping, and readable records. */
body.tool-crm{--marketing-ink:#48142d;--marketing-accent:#9f2454;--marketing-soft:#fbf4f7;--marketing-line:#e7dce2}
body.tool-crm .context-nav .module-settings-link,.module-settings-link{margin-top:8px;box-shadow:0 -1px var(--neutral-200)}

/* Overview: a single principal action and a compact capture path. */
.marketing-quick-actions{display:grid;grid-template-columns:minmax(190px,.42fr) minmax(0,1.58fr);gap:24px;align-items:center;margin:0 0 28px;padding:18px 20px;border:1px solid var(--marketing-line);border-radius:var(--radius-surface);background:var(--paper)}
.marketing-quick-actions h2{margin:2px 0 0;font-size:clamp(1.1rem,1.8vw,1.35rem)}
.marketing-quick-actions nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--neutral-200);border-radius:var(--radius-control);overflow:hidden;background:var(--neutral-50)}
.marketing-quick-actions nav>a{display:grid;grid-template-columns:42px minmax(0,1fr) 16px;gap:10px;align-items:center;min-height:74px;padding:10px 12px;border-right:1px solid var(--neutral-200);color:inherit}
.marketing-quick-actions nav>a:last-child{border-right:0}
.marketing-quick-actions nav>a:hover{background:var(--paper);text-decoration:none}
.marketing-quick-actions nav>a>span:nth-child(2){display:grid;min-width:0}
.marketing-quick-actions nav>a strong{font-size:max(.78rem,15px);line-height:1.25}
.marketing-quick-actions nav>a small{color:var(--neutral-600);font-size:max(.68rem,13px);line-height:1.3}
.marketing-quick-actions nav>a>.icon{width:15px;height:15px;color:var(--neutral-500)}
.marketing-action-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:var(--marketing-ink);color:white}
.marketing-action-icon .icon{width:18px;height:18px}
.crm-section-heading{margin-top:8px;padding-top:0}
.crm-pipeline-summary{gap:12px}
.crm-stage-summary{border:1px solid var(--neutral-200);border-top:3px solid var(--stage-colour,var(--marketing-accent));box-shadow:none}
.crm-stage-summary>div>span:last-child{min-width:28px;text-align:center;background:var(--neutral-100);color:var(--studio-black)}
.crm-stage-summary>a{padding:11px 0}
.crm-stage-summary>a:hover{color:var(--marketing-ink)}
.crm-home-lower{align-items:stretch;margin:22px 0 28px}
.crm-message-callout{border-color:var(--marketing-line);background:var(--marketing-soft);box-shadow:none}
.crm-callout-icon,.record-avatar{border-radius:12px;background:var(--marketing-ink);color:white}
.crm-message-callout .button{background:var(--marketing-ink);color:white}
.marketing-overview{margin:0;padding:0;border-color:var(--neutral-200);box-shadow:none}
.marketing-overview__intro{background:var(--neutral-50)}
.marketing-overview__icon{border-radius:12px;background:var(--marketing-ink);color:white}

/* Pipeline: stable columns, clear next actions, and restrained status colour. */
.opportunity-board-toolbar{align-items:center;margin-bottom:10px;border-color:var(--neutral-200);box-shadow:none}
.opportunity-board-toolbar dl{margin-left:auto}
.marketing-toolbar-link{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 10px;border-radius:var(--radius-control);color:var(--neutral-700);font-size:max(.72rem,14px);font-weight:700}
.marketing-toolbar-link:hover{background:var(--neutral-100);text-decoration:none}
.marketing-toolbar-link .icon{width:16px;height:16px}
.opportunity-scroll-hint{display:none;align-items:center;gap:7px;margin:0 0 10px;color:var(--neutral-600);font-size:max(.7rem,13px)}
.opportunity-scroll-hint .icon{width:15px;height:15px}
.crm-opportunity-board{gap:14px;padding:3px 3px 22px}
.crm-opportunity-column{border:1px solid var(--neutral-200);border-top:3px solid var(--stage-colour,var(--marketing-accent));background:#f7f6f7;box-shadow:none}
.crm-opportunity-column>header{padding:4px 4px 12px;border-bottom:1px solid var(--neutral-200)}
.crm-opportunity-column>header>small{padding-left:20px}
.crm-deal-card{gap:9px;margin-top:11px;margin-bottom:0;border-color:var(--neutral-200);box-shadow:0 1px 2px rgb(18 18 17 / 4%)}
.crm-deal-card:hover{border-color:#b8aab1;box-shadow:0 7px 18px rgb(37 21 29 / 8%)}
.crm-deal-account{color:var(--neutral-600);font-size:max(.68rem,13px);font-weight:650}
.crm-deal-card>strong{font-size:max(.82rem,16px);line-height:1.35}
.crm-deal-value{font-size:1.08rem}
.crm-next-step{display:grid;grid-template-columns:22px minmax(0,1fr);gap:7px;align-items:start;padding:9px;border:1px solid var(--marketing-line);border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink);font-size:max(.7rem,13px);line-height:1.35}
.crm-next-step>.icon{width:14px;height:14px;margin:3px auto 0}
.crm-next-step>span{display:grid}
.crm-next-step small{color:var(--neutral-600);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.crm-next-step--empty{border-color:var(--neutral-200);background:var(--neutral-50);color:var(--neutral-600)}
.crm-deal-meta{gap:8px;margin-top:2px;padding-top:10px}
.crm-stage-age{font-size:max(.68rem,13px)}
.board-add{min-height:42px;margin-top:10px;border-radius:10px}

/* Contact and account directories become scannable records on every width. */
.marketing-directory{overflow:hidden;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:var(--paper)}
.marketing-directory__toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
.marketing-directory__toolbar>div{flex:0 0 auto}
.marketing-directory__toolbar h2{margin:0;font-size:1.25rem}
.marketing-directory__toolbar p{margin:2px 0 0;color:var(--neutral-600);font-size:max(.7rem,13px)}
.marketing-directory .work-filter-bar{flex:1;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.marketing-directory .table-wrap{margin:0;border:0;border-radius:0}
.marketing-record-table table{margin:0}
.marketing-record-table th{background:var(--paper);color:var(--neutral-600);font-size:max(.68rem,13px)}
.marketing-record-table td{vertical-align:middle}
.marketing-record-table tbody tr:hover{background:#fcfafb}
.marketing-person{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:190px;color:inherit}
.marketing-person:hover{text-decoration:none}
.marketing-person>.mini-avatar{width:40px;height:40px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink);font-weight:800}
.marketing-person>.mini-avatar .icon{width:17px;height:17px}
.marketing-person>span:last-child{display:grid;min-width:0}
.marketing-person strong,.marketing-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketing-person small{color:var(--neutral-600);font-size:max(.68rem,13px)}

/* Record pages: identity first, one prominent action, then context. */
.marketing-record-header{align-items:flex-end}
.marketing-record-header .actions{align-items:center}
.marketing-icon-button{width:44px;min-width:44px;height:44px;padding:0;display:grid;place-items:center}
.marketing-icon-button .icon{width:18px;height:18px}
.marketing-next-action-panel{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;margin:0 0 16px;padding:15px 18px;border:1px solid var(--marketing-line);border-radius:var(--radius-surface);background:var(--marketing-soft)}
.marketing-next-action-panel__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--marketing-ink);color:white}
.marketing-next-action-panel__icon .icon{width:18px;height:18px}
.marketing-next-action-panel h2{margin:1px 0;font-size:clamp(1rem,1.8vw,1.25rem)}
.marketing-next-action-panel p:not(.eyebrow){margin:0;color:var(--neutral-600);font-size:max(.7rem,13px)}
.marketing-next-action-panel>a{font-weight:750;color:var(--marketing-ink)}
.crm-stage-path{gap:4px;padding:5px;border-color:var(--neutral-200)}
.crm-stage-path button,.crm-stage-path>span{min-height:42px}
.crm-stage-path .is-current{background:var(--marketing-ink);color:white}
.record-highlights{border-color:var(--neutral-200);box-shadow:none}

/* Follow-up queue: urgent work is visible without flooding the page with colour. */
.followup-sections{gap:18px}
.followup-section{overflow:hidden;padding:0}
.followup-section>.panel-header{margin:0;padding:17px 20px;border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
.followup-section>.panel-header p:not(.eyebrow){margin:2px 0 0;color:var(--neutral-600);font-size:max(.7rem,13px)}
.followup-section--overdue{border-left:4px solid #a44d18}
.followup-section--overdue>.panel-header{background:#fff8f2}
.followup-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid var(--neutral-300);border-radius:10px;background:var(--paper);font-weight:800}
.followup-list{padding:0 20px}
.followup-row{gap:22px;padding:16px 0}
.followup-summary{grid-template-columns:10px minmax(0,1fr);gap:11px}
.followup-summary a{font-size:max(.78rem,15px)}
.followup-summary small{margin-top:2px;font-size:max(.68rem,13px)}
.followup-inline{grid-template-columns:minmax(180px,1.35fr) minmax(185px,.85fr) minmax(140px,.7fr) auto;gap:10px}
.followup-inline input,.followup-inline select{min-height:42px}

/* Performance: numbers align left and the principal comparison leads. */
.marketing-metrics .metric{align-content:start;justify-items:start;min-height:170px;padding:20px;text-align:left}
.marketing-metrics .metric-icon{margin:0 0 12px}
.marketing-metrics .metric--focus{background:var(--marketing-ink);color:white}
.marketing-metrics .metric--focus .metric-icon{background:white;color:var(--marketing-ink)}
.marketing-metrics .metric--focus>small{color:#eadde3}
.marketing-model-card,.marketing-table-panel{box-shadow:none}
.marketing-formula{background:var(--neutral-50)}
.marketing-formula strong{background:var(--marketing-ink)}
.marketing-rank{border-radius:8px}
.marketing-table tbody tr:first-child .marketing-rank{background:var(--marketing-ink)}

/* Messages: calm panes, readable focus, and safe icon contrast. */
.crm-inbox-grid{border-color:var(--neutral-200);box-shadow:0 8px 22px rgb(37 21 29 / 6%)}
.crm-thread-pane,.crm-review-pane{background:#faf9fa}
.crm-thread-list>a[aria-current="page"]{background:var(--marketing-soft);box-shadow:inset 3px 0 var(--marketing-accent)}
.channel-avatar--whatsapp{background:#197b4c;color:white}
.channel-avatar--gmail{background:#a13c2e;color:white}
.channel-avatar--demo{background:#5e3bb7;color:white}
.thread-time strong,.suggestion-count{background:var(--marketing-ink);color:white}
.crm-message-stream{background:#f7f6f7}
.crm-message{border-color:var(--neutral-200);box-shadow:none}
.crm-message--outbound{background:var(--marketing-soft)}
.crm-proposal{border-color:var(--neutral-200);box-shadow:none}
.crm-proposal-icon{background:var(--marketing-soft);color:var(--marketing-ink)}
.crm-assistant-draft{box-shadow:none}
.crm-composer textarea{min-height:82px}

/* Setup and guidance: less copy, clearer disclosure, predictable controls. */
.knowledge-card,.channel-card{border-color:var(--neutral-200);box-shadow:none}
.knowledge-card{min-height:250px}
.knowledge-icon{border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}
.channel-card:hover{border-color:#baa8b1;text-decoration:none;box-shadow:0 7px 18px rgb(37 21 29 / 7%)}
.channel-card-icon{border-radius:12px}
.channel-safety{display:block;padding:0;overflow:hidden}
.channel-safety>summary{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:12px;align-items:center;min-height:76px;padding:12px 16px;cursor:pointer;list-style:none}
.channel-safety>summary::-webkit-details-marker{display:none}
.channel-safety>summary>span:nth-child(2){display:grid}
.channel-safety>summary strong{font-size:max(.8rem,16px)}
.channel-safety>summary>.icon{width:17px;height:17px}
.channel-safety>p{margin:0;padding:0 16px 16px 76px;color:var(--neutral-700)}
.pipeline-settings-card,.score-rule-groups fieldset{box-shadow:none}
.pipeline-stage-row{background:var(--paper)}
.pipeline-stage-row:hover,.pipeline-stage-row:focus-within{background:var(--marketing-soft)}
.stage-order-actions{display:none}

/* Marketing home: immediate customer work leads; planning metrics stay elsewhere. */
.marketing-home-header{align-items:flex-end}
.marketing-voice-primary{min-height:46px;background:var(--marketing-ink);color:#fff}
.marketing-home-capture{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;margin:0 0 30px;padding:20px 22px;border:1px solid var(--marketing-line);border-radius:var(--radius-surface);background:linear-gradient(120deg,var(--marketing-soft),var(--paper) 68%)}
.marketing-home-capture__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:12px;background:var(--marketing-ink);color:#fff}
.marketing-home-capture__icon .icon{width:22px;height:22px}
.marketing-home-capture h2{margin:1px 0 3px;font-size:clamp(1.05rem,2vw,1.35rem)}
.marketing-home-capture p:not(.eyebrow){max-width:680px;margin:0;color:var(--neutral-700);font-size:max(.72rem,14px)}
.marketing-home-capture .actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.marketing-home-capture .button{min-height:44px}
.marketing-home-drafts{margin-bottom:30px}
.marketing-home-section{margin:0 0 30px}
.marketing-home-section>.section-heading{align-items:flex-end;margin-bottom:12px}
.marketing-home-section>.section-heading h2{margin:2px 0 1px}
.marketing-home-section>.section-heading p:not(.eyebrow){margin:0;color:var(--neutral-600);font-size:max(.7rem,13px)}
.marketing-home-section>.section-heading>a{display:inline-flex;align-items:center;gap:6px;font-weight:750;color:var(--marketing-ink)}
.marketing-home-section>.section-heading>a .icon{width:15px;height:15px}
.marketing-home-list{overflow:visible;padding:0;box-shadow:none}
.marketing-home-followups{display:grid}
.marketing-home-followup{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:86px;padding:14px 18px;border-bottom:1px solid var(--neutral-200)}
.marketing-home-followup:last-child{border-bottom:0}
.marketing-home-followup.is-overdue{box-shadow:inset 4px 0 #a44d18}
.marketing-home-followup__time{display:grid;justify-items:center;align-content:center;min-height:58px;padding:5px 8px;border-radius:10px;background:var(--neutral-100);line-height:1.15}
.marketing-home-followup__time>span{color:var(--neutral-600);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.marketing-home-followup__time>strong{font-size:max(.78rem,15px)}
.marketing-home-followup__time>small{color:var(--neutral-600);font-size:12px}
.marketing-home-followup.is-overdue .marketing-home-followup__time{background:#fff3e8;color:#7c360f}
.marketing-home-followup__copy{display:grid;min-width:0;gap:3px}
.marketing-home-followup__copy a{min-width:0;color:inherit;font-size:max(.8rem,16px);line-height:1.35}
.marketing-home-followup__copy a:hover{color:var(--marketing-ink)}
.marketing-home-followup__copy>span{overflow:hidden;color:var(--neutral-600);font-size:max(.68rem,13px);text-overflow:ellipsis;white-space:nowrap}
.marketing-home-followup__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
body.tool-crm details.followup-reschedule{position:relative;margin:0;padding:0;border:0}
.followup-reschedule>summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px 11px;border:1px solid var(--neutral-300);border-radius:var(--radius-control);background:var(--paper);font-size:max(.7rem,13px);font-weight:750;cursor:pointer;list-style:none}
.followup-reschedule>summary::-webkit-details-marker{display:none}
.followup-reschedule>summary .icon{width:15px;height:15px}
.followup-reschedule[open]>summary{border-color:var(--marketing-ink);color:var(--marketing-ink)}
.followup-reschedule>form{position:absolute;z-index:20;top:calc(100% + 8px);right:0;display:grid;grid-template-columns:minmax(210px,1fr) minmax(190px,.9fr) auto;gap:10px;align-items:end;width:min(640px,calc(100vw - 64px));padding:14px;border:1px solid var(--neutral-300);border-radius:var(--radius-surface);background:var(--paper);box-shadow:0 16px 34px rgb(37 21 29 / 16%)}
.followup-reschedule label{display:grid;gap:5px;color:var(--neutral-700);font-size:max(.68rem,13px);font-weight:700}
.followup-reschedule input{min-height:42px}
.marketing-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 24px}
.marketing-home-card{overflow:hidden;padding:0;box-shadow:none}
.marketing-home-card>.panel-header{margin:0;padding:17px 20px;border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
.marketing-home-card>.panel-header h2{margin:2px 0 0;font-size:1.2rem}
.marketing-home-card>.panel-header>a{font-size:max(.7rem,13px);font-weight:750;color:var(--marketing-ink)}
.marketing-lead-list,.marketing-target-list{display:grid;padding:4px 20px}
.marketing-lead-list>a,.marketing-target-list>a{display:grid;align-items:center;min-height:70px;padding:10px 0;border-bottom:1px solid var(--neutral-200);color:inherit}
.marketing-lead-list>a:last-child,.marketing-target-list>a:last-child{border-bottom:0}
.marketing-lead-list>a:hover,.marketing-target-list>a:hover{text-decoration:none}
.marketing-lead-list>a{grid-template-columns:40px minmax(0,1fr) auto;gap:11px}
.marketing-lead-list .mini-avatar{width:40px;height:40px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink);font-weight:800}
.marketing-lead-list>a>span:nth-child(2),.marketing-target-list>a>span:first-child{display:grid;min-width:0}
.marketing-lead-list strong,.marketing-lead-list small,.marketing-target-list strong,.marketing-target-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketing-lead-list small,.marketing-target-list small,.marketing-lead-list time{color:var(--neutral-600);font-size:max(.66rem,12px)}
.marketing-target-list>a{grid-template-columns:minmax(0,1fr) minmax(132px,.42fr);gap:16px}
.marketing-target-progress{display:grid;grid-template-columns:minmax(76px,1fr) 38px;gap:8px;align-items:center}
.marketing-target-progress>span{height:7px;overflow:hidden;border-radius:999px;background:var(--neutral-200)}
.marketing-target-progress i{display:block;width:0;height:100%;border-radius:inherit;background:var(--marketing-accent)}
.marketing-target-progress>strong{text-align:right;font-size:max(.7rem,13px)}
.marketing-home-card .empty-inline{padding:22px 0}
.marketing-later-followups{overflow:visible;margin-top:10px;padding:0}
.marketing-later-followups>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:12px 18px;cursor:pointer;list-style:none}
.marketing-later-followups>summary::-webkit-details-marker{display:none}
.marketing-later-followups>summary>span:first-child{display:flex;align-items:center;gap:12px}
.marketing-later-followups>summary>span:first-child>.icon{width:38px;height:38px;padding:9px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}
.marketing-later-followups>summary>span:first-child>span{display:grid}
.marketing-later-followups>summary small{color:var(--neutral-600)}
.marketing-later-followups[open]>summary{border-bottom:1px solid var(--neutral-200)}

/* Voice intake keeps the optional context out of the primary recording path. */
body.tool-crm details.voice-context-disclosure{margin:0 0 16px;padding:0;border:1px solid var(--neutral-200);border-radius:var(--radius-control);background:var(--neutral-50)}
.voice-context-disclosure>summary{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:60px;padding:9px 13px;cursor:pointer;list-style:none}
.voice-context-disclosure>summary::-webkit-details-marker{display:none}
.voice-context-disclosure>summary>.icon:first-child{width:38px;height:38px;padding:10px;border-radius:10px;background:var(--paper);color:var(--marketing-ink)}
.voice-context-disclosure>summary>span:nth-child(2){display:grid}
.voice-context-disclosure>summary small{color:var(--neutral-600);font-size:max(.66rem,12px)}
.voice-context-disclosure>summary>.icon:last-child{width:16px;height:16px}
.voice-context-disclosure>.field{padding:0 13px 13px}
.voice-detail-hint{margin-top:8px!important;padding:9px 11px;border-left:3px solid var(--marketing-accent);border-radius:0 8px 8px 0;background:var(--marketing-soft);color:var(--neutral-700)!important;font-size:max(.68rem,13px)!important}
.marketing-match-panel{border-color:var(--marketing-line);background:var(--marketing-soft)}

/* Voice intake: recording leads; typed guidance stays scannable and secondary. */
body.tool-crm .voice-layout--simple{max-width:960px}
body.tool-crm .voice-capture--simple{border-color:var(--marketing-line);box-shadow:0 10px 28px rgb(37 21 29 / 6%)}
body.tool-crm .voice-primary-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:26px;background:var(--marketing-soft)}
body.tool-crm .voice-primary-action .voice-controls{justify-items:end;margin:0}
body.tool-crm .voice-primary-action .voice-recording-review{grid-column:1/-1}
body.tool-crm .voice-text-fallback{grid-template-columns:minmax(260px,.58fr) minmax(380px,1fr);gap:28px;padding:26px}
body.tool-crm .voice-text-fallback>.field{align-self:stretch}
body.tool-crm .voice-text-fallback textarea{min-height:190px}
.voice-detail-checklist{margin-top:14px;padding:13px 15px;border-left:3px solid var(--marketing-accent);border-radius:0 10px 10px 0;background:var(--marketing-soft)}
.voice-detail-checklist>strong{display:block;color:var(--marketing-ink);font-size:max(.7rem,13px)}
.voice-detail-checklist ul{margin:8px 0 0;padding-left:18px;color:var(--neutral-700);font-size:max(.7rem,14px);line-height:1.45}
.voice-detail-checklist li+li{margin-top:5px}
.marketing-record-actions{width:56px;text-align:right}
.marketing-record-actions .marketing-icon-button{width:40px;min-width:40px;height:40px}

@media(max-width:1100px){
  .marketing-quick-actions{grid-template-columns:1fr;gap:14px}
  .opportunity-board-toolbar{align-items:stretch;flex-direction:column}
  .opportunity-board-toolbar dl{margin-left:0}
  .marketing-toolbar-link{align-self:flex-start}
  .marketing-directory__toolbar{align-items:stretch;flex-direction:column}
  .followup-row{grid-template-columns:1fr}
  .followup-inline{grid-template-columns:minmax(180px,1.2fr) minmax(180px,.9fr) minmax(140px,.7fr) auto}
  .marketing-home-capture{grid-template-columns:52px minmax(0,1fr)}
  .marketing-home-capture .actions{grid-column:2;justify-content:flex-start}
  .marketing-home-followup{grid-template-columns:68px minmax(0,1fr)}
  .marketing-home-followup__actions{grid-column:2;justify-content:flex-start}
  .followup-reschedule>form{right:auto;left:0}
}

@media(max-width:760px){
  .marketing-quick-actions{padding:16px}
  .marketing-quick-actions nav{grid-template-columns:1fr}
  .marketing-quick-actions nav>a{border-right:0;border-bottom:1px solid var(--neutral-200)}
  .marketing-quick-actions nav>a:last-child{border-bottom:0}
  .marketing-overview__intro{grid-template-columns:48px minmax(0,1fr)}
  .marketing-overview__intro>.button{grid-column:1/-1}
  .opportunity-board-toolbar dl{display:grid;grid-template-columns:1fr 1fr}
  .opportunity-board-toolbar dl>div{min-width:0;padding:8px 10px;border-left:0;border-top:1px solid var(--neutral-200)}
  .opportunity-board-toolbar dl>div:last-child{grid-column:1/-1}
  .opportunity-scroll-hint{display:flex}
  .crm-opportunity-board{grid-auto-columns:minmax(274px,86vw)}
  .marketing-record-header .actions{display:grid;grid-template-columns:44px 1fr 1fr;width:100%}
  .marketing-record-header .actions .button:not(.marketing-icon-button){width:100%}
  .marketing-next-action-panel{grid-template-columns:40px minmax(0,1fr)}
  .marketing-next-action-panel__icon{width:40px;height:40px}
  .marketing-next-action-panel>a{grid-column:2}
  .marketing-directory__toolbar{padding:16px}
  .marketing-directory .work-filter-bar{display:grid;grid-template-columns:1fr}
  .marketing-directory .filter-search{grid-column:auto}
  .marketing-record-table{overflow:visible}
  .marketing-record-table table,.marketing-record-table tbody,.marketing-record-table tr,.marketing-record-table td{display:block;width:100%}
  .marketing-record-table thead{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
  .marketing-record-table tbody{display:grid}
  .marketing-record-table tr{padding:14px 16px;border-bottom:1px solid var(--neutral-200)}
  .marketing-record-table tr:last-child{border-bottom:0}
  .marketing-record-table td{display:grid;grid-template-columns:minmax(94px,.45fr) minmax(0,1fr);gap:12px;align-items:center;padding:7px 0;border:0;text-align:left}
  .marketing-record-table td::before{content:attr(data-label);color:var(--neutral-600);font-size:max(.68rem,13px);font-weight:700}
  .marketing-record-table td:first-child{display:block;padding-bottom:11px}
  .marketing-record-table td:first-child::before{display:none}
  .marketing-person{min-width:0}
  .marketing-record-actions{width:100%;text-align:left}
  .marketing-record-actions .marketing-icon-button{justify-self:end}
  .followup-list{padding:0 16px}
  .followup-inline{grid-template-columns:1fr 1fr}
  .followup-inline label:first-of-type{grid-column:1/-1}
  .followup-inline .button{width:100%;align-self:end}
  .marketing-metrics .metric{min-height:150px}
  .stage-order-actions{display:grid}
  .channel-safety>p{padding-left:16px}
  .marketing-home-header{align-items:stretch}
  .marketing-home-header .marketing-voice-primary{align-self:flex-start}
  .marketing-home-grid{grid-template-columns:1fr}
  .followup-reschedule>form{position:static;grid-template-columns:1fr;width:100%;margin-top:8px;box-shadow:none}
  body.tool-crm .voice-primary-action{grid-template-columns:1fr;gap:16px;padding:20px 18px}
  body.tool-crm .voice-primary-action .voice-controls{justify-items:stretch}
  body.tool-crm .voice-text-fallback{grid-template-columns:1fr;gap:18px;padding:20px 18px}
}

@media(max-width:520px){
  .marketing-record-header .actions{grid-template-columns:44px minmax(0,1fr)}
  .marketing-record-header .actions .button:last-child{grid-column:1/-1}
  .followup-inline{grid-template-columns:1fr}
  .followup-inline label:first-of-type{grid-column:auto}
  .marketing-directory__toolbar .button{width:100%}
  .marketing-overview__metrics>div{padding:17px}
  .marketing-home-capture{grid-template-columns:44px minmax(0,1fr);padding:16px}
  .marketing-home-capture__icon{width:44px;height:44px}
  .marketing-home-capture .actions{grid-column:1/-1;display:grid;grid-template-columns:1fr}
  .marketing-home-capture .button{width:100%}
  .marketing-home-followup{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:13px}
  .marketing-home-followup__actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .marketing-home-followup__actions>.button,.followup-reschedule>summary{width:100%}
  .followup-reschedule>form{grid-column:1/-1}
  .marketing-target-list>a{grid-template-columns:1fr;gap:8px}
}

@media(prefers-reduced-motion:reduce){.crm-deal-card,.channel-card{transition:none}}
/* 15 Oct review: with one pipeline there is no picker, so figures start at the left. */
.opportunity-board-toolbar>dl:first-child{margin-left:0}
.marketing-home-later{margin:.15rem 0 0;color:var(--lm-muted,#655d6e);font-size:var(--lm-small,.875rem)}
/* Phone-first presentation. Desktop layouts remain the source of truth above 700px. */
.mobile-tool-menu,.mobile-page-picker,.demo-role-mobile-actions,.project-mobile-description{display:none}
body details.project-overview-details[data-mobile-disclosure],body details.work-filters-disclosure[data-mobile-disclosure]{margin:0;padding:0;border:0}
.project-overview-details>summary,.work-filters-disclosure>summary{display:none}
body details.voice-draft-disclosure[data-mobile-disclosure]{margin:0 0 24px;padding:0;border:1px solid var(--neutral-200)}
.voice-draft-disclosure>summary{list-style:none;cursor:pointer}
.voice-draft-disclosure>summary::-webkit-details-marker{display:none}
.voice-draft-disclosure .disclosure-chevron{width:18px;height:18px;flex:none;color:var(--neutral-600)}
.voice-draft-disclosure[open] .disclosure-chevron{transform:rotate(180deg)}

@media(max-width:700px){
  /* A stable, reachable dock replaces the sideways list of eight tools. */
  body .tool-rail{display:flex;justify-content:space-around;gap:4px;min-height:68px;height:auto;padding:6px 12px calc(6px + env(safe-area-inset-bottom));overflow:visible;mask:none;-webkit-mask:none;border-top:1px solid #494352;isolation:isolate}
  body .tool-rail>.tool-rail-item,body .tool-rail>.tool-divider{display:none}
  body .tool-rail>.tool-rail-item:first-child,body .tool-rail>.tool-rail-item[aria-current="page"]{display:flex;flex:1;min-width:0;max-width:140px;min-height:54px;margin:0;padding:6px 8px;gap:4px}
  body .tool-rail>.tool-rail-item::before{display:none}
  body .tool-rail .tool-rail-label{font-size:max(.76rem,13px);line-height:1.15;white-space:normal}
  body .tool-rail>.tool-rail-item>.icon{width:22px;height:22px;flex:none}
  body .tool-rail>.tool-rail-item[aria-current="page"]{background:rgb(255 255 255 / 14%);color:white;box-shadow:inset 0 -3px var(--electric-rosin);border-radius:10px}
  .mobile-tool-menu{display:block;flex:1;max-width:140px;min-width:0;position:static}
  .mobile-tool-menu>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;padding:6px 8px;border-radius:10px;color:white;list-style:none;font-size:max(.76rem,13px);font-weight:650}
  .mobile-tool-menu>summary::-webkit-details-marker{display:none}
  .mobile-tool-menu>summary .icon{width:22px;height:22px}
  .mobile-tool-menu[open]>summary{background:rgb(255 255 255 / 14%)}
  body .mobile-tool-popover{position:absolute;inset:auto 12px calc(100% + 8px);width:auto;max-height:calc(100dvh - 150px);overflow:auto;padding:16px;background:var(--paper);border:1px solid var(--neutral-300);border-radius:16px;box-shadow:0 -8px 32px rgb(20 16 27 / 15%);color:var(--studio-black)}
  .mobile-tool-heading{display:grid;gap:2px;margin-bottom:14px}
  .mobile-tool-heading strong{font-size:1.05rem}.mobile-tool-heading>span{color:var(--neutral-600);font-size:.82rem}
  .mobile-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body .mobile-tool-grid>a{display:flex;align-items:center;gap:10px;min-width:0;min-height:56px;padding:12px;border:1px solid var(--neutral-200);border-radius:10px;color:var(--studio-black);font-size:.88rem;font-weight:650;overflow-wrap:anywhere}
  body .mobile-tool-grid>a[aria-current="page"]{background:var(--neutral-100);border-color:var(--neutral-500)}
  .mobile-tool-grid>a>.icon{width:21px;height:21px;flex:none}.mobile-tool-grid .nav-count{margin-left:auto}
  /* Tool-local pages stay in one quiet, scrollable tab row. */
  .context-sidebar nav{gap:4px;padding:6px 12px;scrollbar-width:none}
  .context-sidebar nav::-webkit-scrollbar{display:none}
  body .context-sidebar nav a{min-height:44px;padding:9px 12px;border:0;border-radius:10px;background:transparent;font-size:.86rem;gap:8px}
  body .context-sidebar nav a[aria-current="page"]{background:var(--neutral-100);color:var(--studio-black);box-shadow:inset 0 -2px var(--tool-color)}
  .context-sidebar nav a>.icon{width:18px;height:18px;flex:none}
  .context-sidebar.has-mobile-picker nav,.context-sidebar.has-mobile-picker .context-tools{display:none}
  .mobile-page-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:8px 14px;margin:0}
  .mobile-page-picker>span{font-size:.88rem;font-weight:750;color:var(--studio-black)}
  .mobile-page-picker select{width:100%;min-width:0;min-height:44px;background-color:var(--neutral-50);font-size:.94rem}
  .main{padding:16px 14px calc(156px + env(safe-area-inset-bottom))}
  /* Local review must not occupy the first half of every phone screen. */
  body .demo-role-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 10px;margin-bottom:16px}
  .demo-role-identity{gap:9px}.demo-role-badge{align-self:center;margin:0}
  .demo-role-copy small,.demo-role-copy>span,.demo-role-actions>.demo-role-powers,.demo-role-actions>.demo-role-next{display:none}
  body .demo-role-actions{display:block}.demo-role-copy strong{font-size:.88rem}
  .demo-role-menu>summary{width:44px;height:44px;min-height:44px}
  .demo-role-mobile-actions{display:grid;gap:4px;border-bottom:1px solid var(--neutral-200);padding-bottom:8px;margin-bottom:8px}
  .demo-role-mobile-actions>a{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;font-size:.88rem}
  /* Keep the page's purpose visible without a desktop-sized hero. */
  body .page-header{padding:18px;margin-bottom:18px;gap:16px}
  body .page-header h1{font-size:1.65rem;line-height:1.12;overflow-wrap:anywhere}
  body .page-intro{font-size:.94rem;line-height:1.5;margin-top:8px}
  body .page-header .eyebrow{font-size:.72rem;margin-bottom:6px}
  body .page-header>.button{min-height:44px;align-self:stretch;justify-content:center;margin:0}
  .button,.icon-button,input:not([type="checkbox"]):not([type="radio"]),select{min-height:44px}
  input,select,textarea{font-size:max(1rem,16px)}
  .button .icon{flex-shrink:0}.panel-header{gap:12px}
  body .voice-quick-launch{bottom:calc(82px + env(safe-area-inset-bottom));right:14px;width:52px;height:52px;min-height:52px;border-radius:16px}
  body .tool-rail>.voice-quick-launch{position:static;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;max-width:140px;width:auto;height:54px;min-height:54px;padding:6px 8px;border:0;border-radius:10px;box-shadow:none;background:var(--tool-color);color:white}
  body .tool-rail>.voice-quick-launch>span:last-child{display:none}
  body .tool-rail>.voice-quick-launch .voice-quick-launch-icon{display:grid;place-items:center;width:22px;height:22px;min-width:22px;padding:0;border-radius:0;background:transparent}
  body .tool-rail>.voice-quick-launch .icon{width:22px;height:22px}
  body .tool-rail>.voice-quick-launch::after{content:"Voice";font-size:max(.76rem,13px);line-height:1.15;font-weight:650}
  body .voice-quick-dialog{max-width:100%;width:100%;max-height:calc(100dvh - 16px);margin:auto 0 0;border-radius:16px 16px 0 0}
  .voice-dialog-content>.voice-page-header{display:none}
  .voice-dialog-content>.voice-layout{margin-top:12px}
  /* Project discovery: concise cards, one-line summary and resumable notes. */
  .project-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:12px 0;margin-bottom:16px}
  .project-summary-strip>span{display:grid;grid-template-columns:1fr;gap:3px;min-width:0;padding:0 10px;text-align:center}
  .project-summary-strip strong{font-size:1.12rem}.project-summary-strip small{font-size:.76rem;line-height:1.25}
  .project-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .project-card{min-height:0;padding:16px;gap:14px;border-radius:12px}
  .project-card h2{font-size:1.12rem;line-height:1.25}.project-card p{font-size:.88rem;line-height:1.45}
  .project-card .project-code{font-size:.7rem;overflow-wrap:anywhere}
  .project-card-meta{grid-template-columns:1fr auto;gap:10px;font-size:.82rem}.project-card-meta>span:first-child{grid-column:1/-1}
  .project-card-meta .icon{flex:none;width:16px;height:16px}
  body .voice-draft-disclosure>summary{display:flex;align-items:center;gap:10px;padding:14px;margin:0;border:0;background:var(--neutral-50)}
  .voice-draft-disclosure>summary>div{flex:1;min-width:0}
  .voice-draft-disclosure>summary .eyebrow,.voice-draft-disclosure>summary .muted{display:none}
  .voice-draft-disclosure>summary h2{margin:0;font-size:1rem;line-height:1.25}
  .voice-draft-disclosure .voice-draft-row{padding:14px;gap:10px}
  .voice-draft-row .voice-draft-link{min-width:0}.voice-draft-link strong{font-size:.94rem}
  .voice-draft-link small{font-size:.82rem;line-height:1.4}
  /* Collapse supporting project facts, never the work or overdue state. */
  body .project-command{padding:16px;margin-bottom:16px}
  body .project-detail-header{margin:0;padding:0;border:0}
  .project-detail-header .page-intro{display:none}
  .project-mobile-description{display:block;margin:14px 0 0;font-size:.94rem;line-height:1.5;color:var(--neutral-600)}
  .project-title-row{align-items:flex-start;gap:12px;min-width:0}.project-title-row>div{min-width:0}
  .project-title-row>.project-icon{width:40px;height:40px;min-width:40px;flex:none;border-radius:10px}
  body .project-title-row h1{font-size:1.6rem;line-height:1.15;overflow-wrap:anywhere}
  .project-title-meta{flex-wrap:wrap;gap:8px}.project-title-meta .eyebrow{overflow-wrap:anywhere}
  body details.project-overview-details[data-mobile-disclosure]{margin-top:16px;border-top:1px solid var(--neutral-200)}
  .project-overview-details>summary{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:12px 0 0;min-height:52px;list-style:none;font-size:.86rem}
  .project-overview-details>summary>span:nth-child(2){grid-column:1;font-weight:400;color:var(--neutral-600)}
  .project-overview-details>summary>.icon{grid-column:2;grid-row:1/span 2;width:18px;align-self:center}
  .project-overview-details>summary::-webkit-details-marker,.work-filters-disclosure>summary::-webkit-details-marker{display:none}
  .project-overview-details[open]>summary>.icon{transform:rotate(180deg)}
  .project-overview-details .project-snapshot-grid{margin-top:14px;grid-template-columns:1fr}
  .project-knowledge-empty{flex-wrap:wrap;line-height:1.45;font-size:.86rem}
  .view-tabs{gap:0;display:flex;overflow-x:auto}.view-tabs>a{flex:1;justify-content:center;min-height:44px;padding:9px 10px;font-size:.82rem;white-space:nowrap}
  .view-tabs>a>.icon{width:16px;height:16px;flex:none}
  .project-task-controls{padding:12px;gap:12px}
  body .project-task-controls .quick-capture{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .project-task-controls .quick-capture label{grid-column:1/-1;font-size:.82rem}
  .project-task-controls .quick-capture input{min-width:0;width:100%}
  .project-task-controls .quick-capture .button{padding:10px;font-size:.82rem}
  body .project-task-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body .project-task-actions .button,body .project-task-actions .button:last-child{grid-column:auto;min-width:0;min-height:44px;padding:8px 4px;gap:5px;font-size:.76rem;white-space:normal;text-align:center}
  .project-task-actions .button>.icon{width:15px;height:15px}
  /* The list becomes real task cards, not a cropped desktop table. */
  .project-list-view,.work-list{overflow:visible}
  body .project-list-view .task-group{min-width:0;width:100%}
  body .project-task-head,body .work-list-head{display:none}
  body .project-task-row{display:grid;min-width:0;width:100%;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;align-items:center}
  body .project-task-row .work-title{display:flex;grid-column:1/-1;align-items:flex-start;min-width:0;font-size:1rem}
  .project-task-row .work-title strong{white-space:normal;line-height:1.4}
  .project-task-row .task-state-ring{flex:none;margin-top:3px}
  body .project-task-row>span{display:block;min-width:0;font-size:.82rem}
  body .project-task-row>span:nth-child(4){display:block}
  body .project-task-row>.assignee-cell{display:flex;gap:8px;align-items:center}
  .project-task-row .mini-avatar{flex:none;width:28px;height:28px}
  .project-task-row>span:nth-child(3){justify-self:end}.project-task-row>span:nth-child(5){justify-self:end}
  .project-task-row .task-due{font-size:.8rem}.project-task-row .priority,.project-task-row .status{font-size:.76rem;white-space:normal;line-height:1.3}
  .task-group-heading{padding:12px;gap:10px}.task-group-heading strong{font-size:.94rem}.task-group-heading>span:last-child{white-space:nowrap;font-size:.76rem}
  .group-toggle{width:44px;height:44px;flex:none}
  .project-knowledge>.panel-header{align-items:flex-start;flex-direction:column;padding:16px}
  .project-knowledge>.panel-header h2{font-size:1.12rem;line-height:1.25}
  .project-knowledge>.panel-header .eyebrow,.project-knowledge>.panel-header .muted{display:none}
  .project-knowledge>.panel-header>a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.88rem}
  body details.work-filters-disclosure[data-mobile-disclosure]{margin-bottom:18px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--paper)}
  .work-filters-disclosure>summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 14px;list-style:none;font-size:.88rem}
  .work-filters-disclosure>summary .icon{width:17px;height:17px}.work-filters-disclosure>summary .icon:last-child{margin-left:auto}
  .work-filters-disclosure .work-filter-bar{display:grid;grid-template-columns:1fr 1fr;padding:12px;margin:0;gap:10px}
  .work-filter-bar .filter-search,.work-filter-bar>.button{grid-column:1/-1}
  body .work-row--checklist{display:grid;min-width:0;width:100%;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:16px 12px}
  .work-row--checklist>.checklist-action{grid-column:1;grid-row:1/span 3;align-self:start}
  .checklist-action button,.checklist-state{width:44px;height:44px}
  .work-row--checklist>.work-title{grid-column:2/-1;grid-row:1;font-size:1rem;white-space:normal}
  .work-row--checklist .work-title strong{white-space:normal;line-height:1.4}.work-row--checklist .work-title small{font-size:.76rem;line-height:1.4}
  body .work-row--checklist>.work-project{display:flex;grid-column:2/-1;grid-row:2;font-size:.82rem;white-space:normal}
  body .work-row--checklist>.work-date{display:flex;grid-column:2/-1;grid-row:3;font-size:.82rem}
  body .work-row--checklist>span:nth-child(5){display:block;grid-column:2;grid-row:4}
  body .work-row--checklist>span:last-child{display:block;grid-column:3;grid-row:4;justify-self:end}
  .work-row--checklist .status,.work-row--checklist .priority{font-size:.76rem;white-space:normal;line-height:1.3}
  .work-sections .section-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px;padding:0 0 12px}
  .work-sections .section-heading>div{min-width:0}.work-sections .section-heading>.nav-count{margin:0;flex:none}
  .work-sections .section-heading .eyebrow{display:none}.work-sections .section-heading h2{margin:0;font-size:1.2rem}
  /* Directory records keep every field and their table semantics on phones. */
  body .people-directory-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}
  body .people-directory-table{display:block;width:100%;min-width:0;background:transparent}
  .people-directory-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .people-directory-table tbody{display:grid;gap:14px}
  body .people-directory-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;min-width:0;padding:16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
  body .people-directory-table td{min-width:0;padding:0;border:0;background:transparent;font-size:.94rem;line-height:1.4;overflow-wrap:anywhere}
  .people-directory-table td:first-child{grid-column:1;grid-row:1}
  body .people-directory-table .department-row{box-shadow:inset 4px 0 var(--department-tone)}
  body .people-directory-table .department-row td:first-child{border:0;box-shadow:none}
  .people-directory-table td:nth-child(6){grid-column:2;grid-row:1;align-self:start}
  .people-directory-table td:nth-child(2),.people-directory-table td:nth-child(3){grid-column:1/-1}
  .people-directory-table td[data-mobile-label]::before{content:attr(data-mobile-label);display:block;margin-bottom:3px;font-size:.76rem;color:var(--neutral-600)}
  .people-directory-table .people-primary-link{min-height:44px;align-items:center;font-size:1rem}
  .people-directory-table td:first-child>br{display:none}
  .people-directory-table td:first-child>.fine{display:block;font-size:.76rem}
  .people-directory-table .status{font-size:.76rem;white-space:normal}
  .people-directory-table td[colspan]{grid-column:1/-1}
  /* Document lookup comes before the library's secondary summary counts. */
  .kms-orientation{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:18px;padding:14px 0;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
  .kms-orientation>div{display:block;min-width:0;min-height:0;padding:0 10px;border:0;border-radius:0;background:transparent;text-align:center}
  .kms-orientation>div+div{border-left:1px solid var(--neutral-200)}
  .kms-orientation-icon{display:none}.kms-orientation>div>span:last-child{gap:7px}
  .kms-orientation strong{font-size:1.12rem}.kms-orientation small{font-size:.76rem;line-height:1.35}
  .kms-library-heading{flex-direction:column;align-items:stretch;gap:12px;padding-top:0}.kms-library-heading .eyebrow{display:none}
  .kms-library-heading .kms-search{width:100%;max-width:none}
}
/* Campaign lead capture and triage: source first, then owner, then shared task. */
.marketing-contacts-header{align-items:flex-end}
.marketing-contacts-header .actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.lead-inbox-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.lead-inbox-summary>div,.lead-inbox-summary>a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:72px;padding:12px 15px;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:var(--paper);color:inherit}
.lead-inbox-summary>a:hover{border-color:var(--marketing-line);background:var(--marketing-soft);text-decoration:none}
.lead-inbox-summary__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}
.lead-inbox-summary__icon .icon{width:19px;height:19px}
.lead-inbox-summary>div>span:nth-child(2),.lead-inbox-summary>a>span:nth-child(2){display:grid}
.lead-inbox-summary small{color:var(--neutral-600);font-size:max(.68rem,13px)}
.lead-inbox-summary strong{font-size:1.2rem;line-height:1.15}
.lead-inbox-summary>a>.icon{width:17px;height:17px;color:var(--neutral-500)}
.lead-contact-filter{grid-template-columns:minmax(230px,1.45fr) repeat(3,minmax(145px,.7fr)) auto}
.lead-source,.lead-owner,.lead-task-link{display:grid;gap:2px;min-width:0}
.lead-source strong,.lead-owner strong,.lead-task-link strong{font-size:max(.72rem,14px);line-height:1.3}
.lead-source small,.lead-owner small,.lead-task-link small{overflow:hidden;color:var(--neutral-600);font-size:max(.66rem,12px);text-overflow:ellipsis;white-space:nowrap}
.lead-task-link{color:inherit}
.lead-task-link:hover{color:var(--marketing-ink)}
.lead-record-table .status--lead{background:#eaf3ff;color:#245984}
.lead-record-table .status--contacted{background:#f1edff;color:#533e97}
.lead-record-table .status--qualified{background:#e8f5ec;color:#2f6844}
.lead-record-table .status--nurturing{background:#fff4dc;color:#755419}
.lead-record-table .status--unqualified,.lead-record-table .status--inactive{background:var(--neutral-100);color:var(--neutral-700)}
.lead-record-table .marketing-record-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;width:auto}
.lead-capture-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.34fr);gap:20px;align-items:start}
.lead-capture-form{padding:0;overflow:hidden}
.lead-capture-form>section{padding:22px}
.lead-capture-form>section+section{border-top:1px solid var(--neutral-200)}
.lead-form-section-heading{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:18px}
.lead-form-section-heading>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--marketing-ink);color:#fff;font-weight:800}
.lead-form-section-heading h2{margin:0;font-size:1.2rem}
.lead-form-section-heading p{margin:3px 0 0;color:var(--neutral-600);font-size:max(.7rem,14px)}
.lead-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}
.lead-form-grid .field{margin:0}
.lead-form-grid .field--wide{grid-column:1/-1}
.lead-consent-field{grid-template-columns:auto minmax(0,1fr);align-items:start}
.lead-consent-field .helptext,.lead-consent-field .errorlist{grid-column:2}
.lead-capture-form>.form-actions{margin:0;padding:18px 22px;background:var(--neutral-50)}
.lead-capture-note{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;position:sticky;top:88px}
.lead-capture-note h2{margin:2px 0 6px;font-size:1.05rem}
.lead-capture-note p:last-child{margin:0;color:var(--neutral-700);font-size:max(.7rem,14px)}
.lead-triage-layout{display:grid;grid-template-columns:minmax(260px,.38fr) minmax(0,1fr);gap:20px;align-items:start}
.lead-triage-contact{position:sticky;top:88px}
.lead-triage-person{display:grid;grid-template-columns:52px minmax(0,1fr);gap:13px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--neutral-200)}
.lead-triage-person .record-avatar{width:52px;height:52px}
.lead-triage-person h2{margin:1px 0;font-size:1.15rem}
.lead-triage-person p:last-child{margin:0;color:var(--neutral-600);overflow-wrap:anywhere}
.lead-triage-contact .definition-list{margin-top:14px}
.lead-triage-form{padding:22px}
.lead-triage-form>.panel-header{margin-bottom:18px}
.lead-triage-form>.panel-header p:last-child{margin:4px 0 0;color:var(--neutral-600)}
.lead-triage-task-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.lead-context-panel{margin-bottom:20px}
.lead-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;border:1px solid var(--neutral-200);border-radius:var(--radius-control);overflow:hidden}
.lead-context-grid>div{display:grid;gap:3px;min-height:76px;padding:13px 15px;border-right:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200)}
.lead-context-grid>div:nth-child(3n){border-right:0}
.lead-context-grid>div:nth-last-child(-n+3){border-bottom:0}
.lead-context-grid dt{color:var(--neutral-600);font-size:max(.66rem,12px);font-weight:700}
.lead-context-grid dd{margin:0;overflow-wrap:anywhere;font-size:max(.72rem,14px);font-weight:700}
.lead-assignment-callout{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:14px;padding:13px;border-radius:var(--radius-control);background:var(--marketing-soft)}
.lead-assignment-callout>.icon{width:40px;height:40px;padding:10px;border-radius:10px;background:var(--paper);color:var(--marketing-ink)}
.lead-assignment-callout p{margin:2px 0 0;color:var(--neutral-700);font-size:max(.68rem,13px)}
.inbound-lead-header{align-items:flex-end}
.inbound-lead-tabs{display:flex;gap:8px;margin:0 0 20px;padding:4px;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:var(--paper);overflow-x:auto}
.inbound-lead-tabs a{display:flex;gap:10px;align-items:center;min-height:42px;padding:8px 12px;border-radius:var(--radius-control);color:var(--neutral-700);white-space:nowrap}
.inbound-lead-tabs a:hover,.inbound-lead-tabs a[aria-current="page"]{background:var(--marketing-soft);color:var(--marketing-ink);text-decoration:none}
.inbound-lead-tabs strong{min-width:24px;padding:2px 7px;border:1px solid currentColor;border-radius:999px;text-align:center;font-size:12px}
.inbound-lead-list{display:grid;gap:12px}
.inbound-lead-card{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:20px;align-items:center;margin:0;padding:16px 18px}
.inbound-lead-card__source{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.inbound-lead-card__source>span:last-child,.inbound-lead-card__person,.inbound-lead-card__state{display:grid;gap:3px;min-width:0}
.inbound-lead-card small,.inbound-lead-card__person span{color:var(--neutral-600);font-size:max(.66rem,13px);overflow-wrap:anywhere}
.inbound-lead-card__source strong,.inbound-lead-card__person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbound-lead-card__state{justify-items:start}
.inbound-lead-card .status--needs_review{background:#fff4dc;color:#755419}
.inbound-lead-card .status--accepted{background:#e8f5ec;color:#2f6844}
.inbound-lead-card .status--rejected{background:var(--neutral-100);color:var(--neutral-700)}
.inbound-review-layout{display:grid;grid-template-columns:minmax(250px,.35fr) minmax(0,1fr);gap:20px;align-items:start}
.inbound-review-reason{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;position:sticky;top:88px}
.inbound-review-reason h2{margin:2px 0 7px;font-size:1.05rem}
.inbound-review-reason p:last-child{margin:0;color:var(--neutral-600);font-size:max(.7rem,14px)}
.inbound-review-form{padding:0;overflow:hidden}
.inbound-review-form fieldset{margin:0;padding:22px;border:0}
.inbound-review-form fieldset+fieldset{border-top:1px solid var(--neutral-200)}
.inbound-review-form legend{margin:0 0 16px;padding:0;font-size:1.15rem;font-weight:800}
.inbound-resolution-options ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 15px;padding:0;list-style:none}
.inbound-resolution-options label{display:flex;gap:9px;align-items:center;min-height:48px;padding:10px 12px;border:1px solid var(--neutral-300);border-radius:var(--radius-control);font-weight:700}
.inbound-review-form>.form-actions{margin:0;padding:18px 22px;background:var(--neutral-50)}
.marketing-lead-connections{margin-top:20px}
.lead-connection-grid{display:grid;gap:10px}
.lead-connection-grid article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--neutral-200);border-radius:var(--radius-control)}
.lead-connection-grid article>div{display:grid;gap:2px;min-width:0}
.lead-connection-grid article span,.lead-connection-grid article small{color:var(--neutral-600);font-size:max(.66rem,13px);overflow-wrap:anywhere}

@media(max-width:1100px){
  .lead-contact-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lead-contact-filter .filter-search{grid-column:1/-1}
  .lead-capture-layout,.lead-triage-layout{grid-template-columns:1fr}
  .lead-capture-note,.lead-triage-contact{position:static}
  .inbound-lead-card{grid-template-columns:repeat(2,minmax(0,1fr))}
  .inbound-review-layout{grid-template-columns:1fr}
  .inbound-review-reason{position:static}
}

@media(max-width:760px){
  .marketing-contacts-header{align-items:stretch}
  .marketing-contacts-header .actions{display:grid;grid-template-columns:1fr 1fr}
  .marketing-contacts-header .actions .button{width:100%}
  .lead-inbox-summary{grid-template-columns:1fr}
  .lead-contact-filter{grid-template-columns:1fr}
  .lead-contact-filter .filter-search{grid-column:auto}
  .lead-form-grid,.lead-triage-task-fields,.lead-context-grid{grid-template-columns:1fr}
  .lead-context-grid>div,.lead-context-grid>div:nth-child(3n),.lead-context-grid>div:nth-last-child(-n+3){border-right:0;border-bottom:1px solid var(--neutral-200)}
  .lead-context-grid>div:last-child{border-bottom:0}
  .lead-assignment-callout{grid-template-columns:40px minmax(0,1fr)}
  .lead-assignment-callout .button{grid-column:1/-1;width:100%}
  .inbound-lead-header{align-items:stretch}
  .inbound-lead-header .button{width:100%}
  .inbound-lead-card{grid-template-columns:1fr;gap:13px}
  .inbound-lead-card__action .button{width:100%}
  .inbound-resolution-options ul{grid-template-columns:1fr}
  .lead-connection-grid article{grid-template-columns:44px minmax(0,1fr)}
  .lead-connection-grid article>.status{grid-column:2;justify-self:start}
}

@media(max-width:520px){
  .marketing-contacts-header .actions{grid-template-columns:1fr}
  .lead-capture-form>section,.lead-triage-form{padding:18px}
  .lead-capture-form>.form-actions{padding:16px 18px}
  .inbound-review-form fieldset{padding:18px}
  .inbound-review-form>.form-actions{padding:16px 18px}
}
/* Personal calendar choices and governed OKR recommendation journeys. */
.calendar-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:18px;align-items:start}
.calendar-choice-card,.calendar-connect-card{margin:0}
.calendar-master-choice,.calendar-item-choices>label{display:flex;align-items:flex-start;gap:12px;min-height:64px;padding:14px;border:1px solid var(--neutral-300);border-radius:var(--radius-control);background:white;cursor:pointer}
.calendar-master-choice{margin-top:1rem;background:color-mix(in srgb,var(--accent) 5%,white);border-color:color-mix(in srgb,var(--accent) 24%,var(--neutral-300))}
.calendar-master-choice input,.calendar-item-choices input{width:20px;height:20px;flex:0 0 auto;margin:2px 0 0}
.calendar-master-choice span,.calendar-item-choices span{display:grid;gap:2px}.calendar-master-choice small,.calendar-item-choices small{color:var(--neutral-600);line-height:1.45}
.calendar-item-choices{display:grid;gap:10px;margin-top:12px}
/* Invitations sit apart from the display choices: this one sends mail. */
.calendar-invite-choice{margin-top:18px;padding-top:16px;border:0;border-top:1px solid var(--neutral-200)}
.calendar-invite-choice legend{float:left;width:100%;padding:0;font-weight:700}
.calendar-invite-choice legend+*{clear:both}
.calendar-invite-choice>label{display:flex;align-items:flex-start;gap:12px;min-height:64px;margin-top:12px;padding:14px;border:1px solid var(--neutral-300);border-radius:var(--radius-control);background:white;cursor:pointer}
.calendar-invite-choice>label input{width:20px;height:20px;flex:0 0 auto;margin:2px 0 0}
.calendar-invite-choice>label span{display:grid;gap:2px}
.calendar-invite-choice>label small{color:var(--neutral-600);line-height:1.45}
.calendar-invite-choice .fine{margin-top:10px}
.calendar-invite-problem{display:flex;align-items:flex-start;gap:8px;color:var(--critical)}
.calendar-invite-problem .icon{width:15px;height:15px;flex:0 0 auto;margin-top:2px}
.calendar-steps{display:grid;gap:0;list-style:none;margin:1rem 0;padding:0}.calendar-steps li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid var(--neutral-200)}.calendar-steps li:last-child{border-bottom:0}.calendar-steps li>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--neutral-100);font-weight:750}.calendar-steps li>div{display:grid;gap:2px}.calendar-steps small{color:var(--neutral-600)}
.calendar-link-actions{display:grid;gap:12px}.calendar-link-actions>.button{justify-content:center}.calendar-link-actions details{border:1px solid var(--neutral-300);border-radius:var(--radius-control);padding:12px}.calendar-link-actions summary{font-weight:700;cursor:pointer}.calendar-link-actions details[open] summary{margin-bottom:12px}.copy-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.copy-field input{margin:0;font-size:14px}.calendar-reset-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid var(--neutral-200)}
.strategy-profile-form{display:grid;gap:18px}.strategy-profile-form .form-card{margin:0}.form-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.field--wide{grid-column:1/-1}
.recommendation-builder{margin-bottom:2rem}.recommendation-run-form{display:grid;gap:18px}.recommendation-scope-details{border:1px solid var(--neutral-300);border-radius:var(--radius-control);padding:12px}.recommendation-scope-details summary{font-weight:700;cursor:pointer}.recommendation-scope-details[open] summary{margin-bottom:14px}
.recommendation-run{margin-top:2rem}.recommendation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recommendation-card{display:grid;align-content:start;gap:16px;min-width:0;padding:18px;border:1px solid var(--neutral-300);border-radius:var(--radius-surface);background:white}.recommendation-card--accepted{background:color-mix(in srgb,var(--positive) 5%,white)}.recommendation-card--dismissed{opacity:.72}.recommendation-card__header{display:grid;gap:8px}.recommendation-card h3{font-family:var(--font-sans);font-size:1.15rem;line-height:1.3}.recommendation-card p{margin:0;color:var(--neutral-700)}.recommendation-card details{border-top:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200);padding:10px 0}.recommendation-card summary{cursor:pointer;font-weight:700}.recommendation-card details[open] summary{margin-bottom:8px}
.suggested-kr-list{display:grid;gap:10px;list-style:none;padding:0;margin:10px 0 0}.suggested-kr-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px}.suggested-kr-list li>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--neutral-100);font-size:13px;font-weight:750}.suggested-kr-list li>div{display:grid;gap:2px}.suggested-kr-list small{color:var(--neutral-600);line-height:1.4}.recommendation-actions{display:grid;gap:8px;margin-top:auto}.recommendation-actions>.button{justify-content:center}.recommendation-actions form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.recommendation-actions select{margin:0}.recommendation-first-run{margin-top:1.25rem}.recommendation-empty{margin-top:1rem}
.recommendation-review-form{display:grid;gap:22px}.recommendation-kr-editor{display:grid;gap:14px}.recommendation-kr-editor .form-card{position:relative;margin:0;padding-left:70px}.recommendation-kr-number{position:absolute;left:18px;top:20px;width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-control);background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);font-weight:800;font-size:13px}.recommendation-kr-editor details{margin-top:8px}.recommendation-kr-editor summary{cursor:pointer;font-weight:700}.recommendation-kr-editor details p{color:var(--neutral-600);margin:.5rem 0 0}
@media(max-width:1000px){.calendar-settings-layout{grid-template-columns:1fr}.recommendation-grid{grid-template-columns:1fr 1fr}.form-grid--three{grid-template-columns:1fr}}
@media(max-width:700px){.recommendation-grid{grid-template-columns:1fr}.copy-field,.recommendation-actions form{grid-template-columns:1fr}.calendar-reset-form{align-items:stretch;display:grid}.recommendation-kr-editor .form-card{padding-left:16px;padding-top:72px}.recommendation-kr-number{left:16px;top:16px}.strategy-profile-form .form-grid--two,.recommendation-run-form .form-grid--two{grid-template-columns:1fr}.field--wide{grid-column:auto}}
.calendar-pause{display:grid;gap:4px;margin-top:14px;max-width:320px}
.calendar-pause label{font-weight:700}
.calendar-pause small{color:var(--neutral-600);line-height:1.45}
.calendar-pause-note{display:flex;align-items:flex-start;gap:8px}
.calendar-pause-note .icon{width:15px;height:15px;flex:0 0 auto;margin-top:2px}
/* Scoped proposal review: one action, optional evidence, no crowded dashboard. */
.proposal-list { display: grid; gap: 16px; }
.proposal-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.proposal-row > div { min-width: 0; }
.proposal-row h2 { font-size: 1.15rem; overflow-wrap: anywhere; margin: 12px 0 8px; }
.proposal-row > .button { flex-shrink: 0; }
.proposal-form { max-width: 760px; }
.proposal-form > p { display: grid; gap: 8px; margin-block: 20px; }
.proposal-form input:not([type="checkbox"]):not([type="hidden"]), .proposal-form select, .proposal-form textarea { width: 100%; min-height: 44px; }
.proposal-form details { margin-top: 24px; }
.proposal-form details > *:not(summary) { margin-top: 12px; }
.briefing-filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto; align-items: end; gap: 12px; }
.team-briefing-content > .panel { margin-top: 20px; }
.briefing-filters .field { display: grid; gap: 6px; margin: 0; }
.briefing-filters > .button { min-height: 44px; margin: 0; white-space: nowrap; }
.briefing-reader { padding: 0; overflow: visible; }
.briefing-reader-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: var(--line-soft); }
.briefing-reader-header h2 { margin-top: 2px; }
.briefing-actions { display: flex; align-items: center; gap: 8px; }
.briefing-actions .icon-button { width: 44px; height: 44px; flex: 0 0 44px; }
.briefing-actions .icon-button .icon { width: 18px; height: 18px; }
.briefing-actions .icon-button[disabled] { opacity: .42; cursor: not-allowed; }
.briefing-actions .icon-button[hidden] { display: none; }
.briefing-playback-primary { background: var(--studio-black); border-color: var(--studio-black); color: white; }
.briefing-playback-primary:hover { background: var(--neutral-800); }
.briefing-status { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 10px 20px; border-bottom: var(--line-soft); background: var(--neutral-50); color: var(--neutral-600); font-size: max(.76rem, 14px); }
.briefing-transcript { padding: 20px; }
.briefing-transcript { font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.briefing-person { padding-block: 16px; border-bottom: 1px solid var(--color-border, #ddd); }
.team-followup-form { display: grid; gap: 20px; margin-top: 20px; }
.team-followup-form .proposal-form p:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.proposal-form audio { width: 100%; }
.team-followup-form .proposal-form input[type="checkbox"] { width: 24px; height: 24px; }
@media (max-width: 700px) {
  .work-view-tabs > a { min-width: max-content; }
  .proposal-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .proposal-row > .button { width: 100%; }
  .proposal-form .actions { display: grid; gap: 12px; }
  .briefing-filters { grid-template-columns: 1fr; }
  .briefing-filters > .button { width: 100%; }
  .briefing-reader-header { align-items: flex-start; padding: 16px; }
  .briefing-status, .briefing-transcript { padding-inline: 16px; }
}
/* Projects information architecture and reading-order refinements. */
body.tool-projects .project-page-header{align-items:center}
body.tool-projects .project-page-header h1{max-width:20ch}
body.tool-projects .project-page-header .page-intro{max-width:58ch}

/* Resumable voice work is useful, but must not compete with the project list. */
body.tool-projects .voice-draft-shelf{margin-bottom:20px;border-color:var(--neutral-200);box-shadow:0 1px 2px rgb(24 18 31 / 3%)}
body.tool-projects .voice-draft-shelf>.panel-header{align-items:center;min-height:88px;padding:16px 20px;background:var(--neutral-50)}
body.tool-projects .voice-draft-shelf>.panel-header>div{display:grid;gap:3px;min-width:0}
body.tool-projects .voice-draft-heading{display:flex;align-items:center;gap:10px;min-width:0}
body.tool-projects .voice-draft-heading h2{font-family:var(--font-sans);font-size:1.18rem;font-weight:800;line-height:1.2}
body.tool-projects .voice-draft-count{min-width:26px;height:26px;padding:0 8px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tool-color) 13%,white);color:var(--tool-color);font-size:13px}
body.tool-projects .voice-draft-shelf>.panel-header .muted{margin:0;font-size:14px}
body.tool-projects .voice-draft-row{grid-template-columns:minmax(0,1fr) auto;gap:18px;min-height:76px;padding:12px 16px}
body.tool-projects .voice-draft-link{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;border-radius:10px}
body.tool-projects .voice-draft-link:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
body.tool-projects .voice-draft-copy{display:grid;gap:2px;min-width:0}
body.tool-projects .voice-draft-copy strong{font-size:15px;line-height:1.3}
body.tool-projects .voice-draft-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600);font-size:14px}
body.tool-projects .voice-draft-copy time{color:var(--neutral-500);font-size:12px}
body.tool-projects .voice-draft-actions{gap:8px}
body.tool-projects .voice-draft-actions .voice-state-badge{min-height:32px;padding:5px 8px;border:0;background:transparent}
body.tool-projects .voice-draft-actions .voice-state-badge--needs-detail{color:#7b4529}
body.tool-projects .voice-draft-delete{width:44px;min-width:44px;height:44px;border-color:var(--neutral-300);color:var(--neutral-600)}
body.tool-projects .voice-draft-delete:hover{border-color:var(--critical);background:#fff5f5;color:var(--critical)}

/* Dictation is one quick-capture composer, not a visually heavy wizard. */
body.tool-projects .voice-page-header{min-height:0;margin-bottom:16px;padding:17px 20px}
body.tool-projects .voice-page-header .eyebrow{margin-bottom:3px}
body.tool-projects .voice-page-header h1{font-size:clamp(1.85rem,3vw,2.35rem)}
body.tool-projects .voice-page-header .page-intro{margin-top:4px;font-size:15px}
body.tool-projects .voice-layout--simple{max-width:820px}
body.tool-projects .voice-capture--simple{border-color:var(--neutral-200);box-shadow:0 8px 28px rgb(31 24 43 / 6%)}
body.tool-projects .voice-purpose--compact{display:grid;grid-template-columns:minmax(160px,.34fr) minmax(0,1fr);gap:20px;align-items:center;padding:18px 20px;background:var(--neutral-50)}
body.tool-projects .voice-purpose--compact>h2{margin:0;font-family:var(--font-sans);font-size:1rem;font-weight:800}
body.tool-projects .voice-purpose-fields{grid-template-columns:minmax(230px,.8fr) minmax(240px,1fr);gap:14px;align-items:start}
body.tool-projects .voice-purpose-fields .field{margin:0}
body.tool-projects .voice-kind-field{min-width:0;padding:0;border:0}
body.tool-projects .voice-kind-field legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.tool-projects .voice-kind-options>div{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--neutral-300);border-radius:12px;background:var(--paper)}
body.tool-projects .voice-kind-options>div>div{min-width:0}
body.tool-projects .voice-kind-options label{position:relative;display:grid;place-items:center;min-height:40px;padding:7px 10px;border-radius:9px;color:var(--neutral-600);font-size:14px;font-weight:750;cursor:pointer}
body.tool-projects .voice-kind-options input{position:absolute;opacity:0;pointer-events:none}
body.tool-projects .voice-kind-options label:has(input:checked){background:color-mix(in srgb,var(--tool-color) 11%,white);color:var(--tool-color)}
body.tool-projects .voice-kind-options label:has(input:focus-visible){outline:3px solid var(--focus-ring);outline-offset:2px}
body.tool-projects .voice-project-context[hidden]{display:none}
body.tool-projects .voice-project-context label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.tool-projects .voice-project-context select{height:48px}
body.tool-projects .voice-project-context .helptext{margin-top:5px;font-size:12px}
body.tool-projects .voice-input-step--simple{border-bottom:0}
body.tool-projects .voice-primary-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:22px 20px;background:var(--paper);border-bottom:0}
body.tool-projects .voice-primary-action .voice-method-heading{grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center}
body.tool-projects .voice-primary-action .voice-method-heading h2{margin:0;font-family:var(--font-sans);font-size:1.22rem;font-weight:800}
body.tool-projects .voice-primary-action .voice-method-heading p{margin:3px 0 0;color:var(--neutral-600);font-size:14px;line-height:1.4}
body.tool-projects .voice-primary-action .voice-controls{justify-items:end;margin:0}
body.tool-projects .voice-primary-action .voice-status{max-width:260px;color:var(--neutral-600);font-size:13px;text-align:right}
body.tool-projects .voice-primary-action .voice-recording-review{grid-column:1/-1}
body.tool-projects .voice-choice-divider{margin:0 20px;color:var(--neutral-500);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
body.tool-projects .voice-text-fallback{display:block;padding:18px 20px 20px;border-bottom:0}
body.tool-projects .voice-text-fallback .field{margin:0}
body.tool-projects .voice-text-fallback textarea{min-height:112px;margin:0;font-size:17px}
body.tool-projects .voice-text-fallback .helptext{margin-top:7px;font-size:13px}
body.tool-projects .voice-more-inputs{margin:0 20px!important;padding:0!important;border:0!important;border-top:var(--line-soft)!important}
body.tool-projects .voice-more-inputs>summary{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;gap:9px;align-items:center;min-height:52px;color:var(--neutral-600);font-size:14px;font-weight:700;list-style:none;cursor:pointer}
body.tool-projects .voice-more-inputs>summary::-webkit-details-marker{display:none}
body.tool-projects .voice-more-inputs>summary>.icon{width:17px;height:17px}
body.tool-projects .voice-more-inputs>summary>.icon:last-child{transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .voice-more-inputs[open]>summary>.icon:last-child{transform:rotate(180deg)}
body.tool-projects .voice-more-inputs__body{display:grid;gap:16px;padding:2px 0 18px}
body.tool-projects .voice-more-inputs__body>.field{margin:0}
body.tool-projects .voice-demo-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-radius:10px;background:var(--neutral-50)}
body.tool-projects .voice-demo-option>div{display:grid;gap:2px}
body.tool-projects .voice-demo-option small{color:var(--neutral-600);font-size:13px}
body.tool-projects .voice-form-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 20px;border-top:var(--line-soft);background:var(--neutral-50)}
body.tool-projects .voice-form-footer .voice-safety-note{margin:0;padding:0;background:transparent}
body.tool-projects .voice-submit-actions{display:flex;justify-content:flex-end;margin:0;padding:0}

/* Reusable Projects panels share one icon, title, context, action rhythm. */
body.tool-projects .project-action-panel{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:18px;padding:18px 20px;background:color-mix(in srgb,var(--tool-color) 5%,white)}
body.tool-projects .project-action-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--tool-color);color:white}
body.tool-projects .project-action-icon .icon{width:20px;height:20px}
body.tool-projects .project-action-panel h2{font-family:var(--font-sans);font-size:1.12rem;font-weight:800}
body.tool-projects .project-action-panel p:not(.eyebrow){margin:4px 0 0;color:var(--neutral-600);font-size:14px}
body.tool-projects details.project-report-disclosure:not(.menu){margin:0 0 18px;padding:0;overflow:hidden;border:var(--line);border-radius:var(--radius-surface);background:var(--paper)}
body.tool-projects .project-report-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;padding:10px 16px;list-style:none}
body.tool-projects .project-report-disclosure>summary::-webkit-details-marker{display:none}
body.tool-projects .project-report-disclosure>summary>span:first-child{display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 10px;align-items:center}
body.tool-projects .project-report-disclosure>summary>span:first-child>.icon{grid-row:1/3;width:18px;height:18px;color:var(--tool-color)}
body.tool-projects .project-report-disclosure>summary small{color:var(--neutral-600);font-weight:500}
body.tool-projects .project-report-disclosure>summary>.icon{width:18px;height:18px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .project-report-disclosure[open]>summary>.icon{transform:rotate(180deg)}
body.tool-projects .project-report-disclosure .daily-report-list{padding:0 16px;border-top:var(--line-soft)}
body.tool-projects .project-report-handoff{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;margin:24px 0 0;padding:18px 20px;border-color:color-mix(in srgb,var(--tool-color) 20%,var(--neutral-200));background:color-mix(in srgb,var(--tool-color) 4%,white);box-shadow:none}
body.tool-projects .project-report-handoff__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--tool-color) 12%,white);color:var(--tool-color)}
body.tool-projects .project-report-handoff__icon .icon{width:20px;height:20px}
body.tool-projects .project-report-handoff h2{margin:0;font-family:var(--font-sans);font-size:1.12rem;font-weight:800}
body.tool-projects .project-report-handoff p:not(.eyebrow){max-width:62ch;margin:4px 0 0;color:var(--neutral-600);font-size:14px;line-height:1.45}
body.tool-projects .project-data-panel{padding:0;overflow:hidden}
body.tool-projects .project-data-panel>.panel-header{margin:0;padding:17px 20px;background:var(--neutral-50)}
body.tool-projects .project-data-panel>.table-wrap{border:0;border-radius:0}
body.tool-projects .capacity-table{width:100%;table-layout:fixed}
body.tool-projects .capacity-table th:nth-child(1){width:28%}
body.tool-projects .capacity-table th:nth-child(2){width:19%}
body.tool-projects .capacity-table th:nth-child(3),body.tool-projects .capacity-table th:nth-child(4),body.tool-projects .capacity-table th:nth-child(5){width:12%}
body.tool-projects .capacity-table th:nth-child(6){width:17%}
body.tool-projects .capacity-table td:nth-child(3),body.tool-projects .capacity-table td:nth-child(4),body.tool-projects .capacity-table td:nth-child(5){white-space:nowrap}

/* Task details follow one calm path: understand the work, act, then inspect support. */
body.tool-projects .task-focus--detail{margin-bottom:16px;border-color:var(--neutral-200);box-shadow:0 4px 18px rgb(31 24 43 / 4%)}
body.tool-projects .task-focus--detail::before{height:4px}
body.tool-projects .task-focus--detail .task-focus-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;padding:24px 28px 22px}
body.tool-projects .task-heading{display:grid;gap:9px;min-width:0}
body.tool-projects .task-heading-kicker{display:flex;align-items:center;min-height:28px}
body.tool-projects .task-heading-kicker .eyebrow{margin:0}
body.tool-projects .task-focus--detail h1{max-width:30ch;font-size:clamp(2rem,3vw,2.7rem);line-height:1.03}
body.tool-projects .task-focus--detail .page-intro{max-width:72ch;margin:0;color:var(--neutral-600);font-size:15px;line-height:1.55}
body.tool-projects .task-focus--detail .task-focus-actions{display:grid;justify-items:end;gap:16px;min-width:250px;padding-top:2px}
body.tool-projects .task-focus--detail .task-state{display:grid;grid-template-columns:repeat(2,minmax(104px,auto));gap:10px;min-height:0}
body.tool-projects .task-focus--detail .task-state-item{display:grid;align-content:start;gap:6px;padding:10px 12px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-50)}
body.tool-projects .task-focus--detail .task-state-item small{color:var(--neutral-600);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
body.tool-projects .task-focus--detail .task-state-item .status{justify-self:start}
body.tool-projects .task-focus--detail .task-state-item .priority{min-height:24px;display:flex;align-items:center}
body.tool-projects .task-focus--detail .task-focus-buttons{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.tool-projects .task-focus--detail .task-focus-actions .button{min-height:42px}
body.tool-projects .task-focus--detail .task-facts{background:var(--neutral-50)}
body.tool-projects .task-focus--detail .task-facts>div{grid-template-columns:32px minmax(0,1fr);gap:1px 10px;padding:12px 16px}
body.tool-projects .task-focus--detail .task-fact-icon{width:32px;height:32px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}
body.tool-projects .task-focus--detail .task-facts small{font-size:12px}
body.tool-projects .task-focus--detail .task-facts strong{font-size:14px}
body.tool-projects .task-related-strip{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;align-items:center;padding:12px 16px;border-top:var(--line-soft);background:color-mix(in srgb,var(--crm-color,#d62d72) 4%,white)}
body.tool-projects .task-related-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--crm-color,#d62d72) 11%,white);color:var(--crm-color,#a51f58)}
body.tool-projects .task-related-icon .icon{width:17px;height:17px}
body.tool-projects .task-related-strip>span:last-child{display:grid;grid-template-columns:auto 1fr;gap:1px 9px;align-items:baseline;min-width:0}
body.tool-projects .task-related-strip small{grid-column:1/-1;color:var(--neutral-600);font-size:12px}
body.tool-projects .task-related-strip strong{font-size:14px}
body.tool-projects .task-related-strip>span:last-child>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600);font-size:14px}

body.tool-projects .task-next-action{grid-template-columns:44px minmax(210px,.62fr) minmax(340px,1.38fr);gap:16px;align-items:center;margin-bottom:16px;padding:20px 22px;border-color:color-mix(in srgb,var(--tool-color) 22%,white);background:color-mix(in srgb,var(--tool-color) 7%,white)}
body.tool-projects .task-next-action--review{border-color:#d4e3da;background:#f1f6f3}
body.tool-projects .task-next-action .next-action-icon{width:44px;height:44px;border-radius:12px;background:var(--tool-color)}
body.tool-projects .task-next-action--review .next-action-icon{background:#286548}
body.tool-projects .task-next-action h2{font-family:var(--font-sans);font-size:1.22rem;line-height:1.25}
body.tool-projects .task-next-action form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end}
body.tool-projects .task-next-action form>label{grid-column:1/-1;margin:0;font-size:13px}
body.tool-projects .task-next-action textarea{min-height:64px;margin:0;resize:vertical}
body.tool-projects .task-next-action form>.button{min-height:44px;margin:0}
body.tool-projects .task-next-action .leave-decision-form{grid-template-columns:minmax(0,1fr) auto}
body.tool-projects .task-next-action .leave-decision-form>label{grid-column:auto}
body.tool-projects .task-next-action .decision-buttons{align-items:end}

body.tool-projects .task-detail-shell{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:16px}
body.tool-projects .task-detail-main,body.tool-projects .task-detail-aside{gap:16px}
body.tool-projects .task-content-section{border-color:var(--neutral-200);box-shadow:0 2px 12px rgb(31 24 43 / 3%)}
body.tool-projects .task-content-section>.panel-header{padding:17px 20px;background:var(--neutral-50)}
body.tool-projects .task-content-section>.panel-header h2,body.tool-projects .task-approval-card .panel-header h2{font-family:var(--font-sans);font-size:1.12rem}
body.tool-projects .task-updates-panel>.update-list{border-bottom:var(--line-soft)}
body.tool-projects .task-updates-panel>.comment-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:0;padding:16px 20px 20px}
body.tool-projects .task-updates-panel>.comment-form>p{margin:0}
body.tool-projects .task-updates-panel>.comment-form .button{min-height:44px;margin:0}
body.tool-projects .task-content-block{padding:16px 20px}
body.tool-projects .task-files-disclosure{margin:0;border:0;border-top:var(--line-soft);border-radius:0}
body.tool-projects .task-files-disclosure>summary,body.tool-projects .task-support-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;padding:10px 16px;list-style:none;cursor:pointer}
body.tool-projects .task-files-disclosure>summary::-webkit-details-marker,body.tool-projects .task-support-disclosure>summary::-webkit-details-marker{display:none}
body.tool-projects .task-files-disclosure>summary>span:first-child,body.tool-projects .task-support-disclosure>summary>span:first-child{display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 10px;align-items:center;min-width:0}
body.tool-projects .task-files-disclosure>summary>span:first-child>.icon,body.tool-projects .task-support-disclosure>summary>span:first-child>.icon{grid-row:1/3;width:18px;height:18px;color:var(--tool-color)}
body.tool-projects .task-files-disclosure>summary>span:first-child>span,body.tool-projects .task-support-disclosure>summary>span:first-child>span{display:grid;min-width:0}
body.tool-projects .task-files-disclosure summary small,body.tool-projects .task-support-disclosure summary small{color:var(--neutral-600);font-size:13px;font-weight:500}
body.tool-projects .task-files-disclosure>summary>.icon,body.tool-projects .task-support-disclosure>summary>.icon{width:18px;height:18px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .task-files-disclosure[open]>summary>.icon,body.tool-projects .task-support-disclosure[open]>summary>.icon{transform:rotate(180deg)}
body.tool-projects .task-files-disclosure[open]>summary{border-bottom:var(--line-soft)}
body.tool-projects .task-approval-card{padding:0;overflow:hidden;border-color:var(--neutral-200)}
body.tool-projects .task-approval-card>.panel-header{margin:0;padding:16px;background:var(--neutral-50)}
body.tool-projects .task-approval-card .definition-list{margin:0;padding:6px 16px 12px}
body.tool-projects .task-approval-card .definition-list>div{padding:10px 0}
body.tool-projects .task-support-disclosure{margin:0!important;padding:0!important;overflow:hidden;border-color:var(--neutral-200)}
body.tool-projects .task-support-disclosure>.timeline{max-height:360px;margin:0;padding:16px 18px 18px 38px;overflow:auto;border-top:var(--line-soft)}
body.tool-projects .task-support-disclosure__body{padding:0 16px 16px;border-top:var(--line-soft)}
body.tool-projects .task-support-disclosure__body>p{margin-top:14px}

@media(max-width:700px){
  body.tool-projects .project-page-header{align-items:flex-start}
  body.tool-projects .voice-draft-shelf>.panel-header{min-height:0;padding:14px}
  body.tool-projects .voice-draft-shelf>.panel-header .muted{display:none}
  body.tool-projects .voice-draft-heading h2{font-size:1rem}
  body.tool-projects .voice-draft-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 14px}
  body.tool-projects .voice-draft-link{grid-template-columns:38px minmax(0,1fr);gap:10px}
  body.tool-projects .voice-draft-actions{justify-content:space-between;padding-left:48px}
  body.tool-projects .voice-draft-copy small{font-size:13px}
  body.tool-projects .voice-page-header{padding:14px 16px}
  body.tool-projects .voice-page-header .page-intro{display:none}
  body.tool-projects .voice-purpose--compact{grid-template-columns:1fr;gap:10px;padding:14px 16px}
  body.tool-projects .voice-purpose-fields{grid-template-columns:1fr;gap:10px}
  body.tool-projects .voice-project-context .helptext{display:none}
  body.tool-projects .voice-primary-action{grid-template-columns:1fr;gap:14px;padding:18px 16px}
  body.tool-projects .voice-primary-action .voice-controls{justify-items:stretch}
  body.tool-projects .voice-primary-action .voice-status{text-align:left}
  body.tool-projects .voice-choice-divider{margin:0 16px}
  body.tool-projects .voice-text-fallback{padding:16px}
  body.tool-projects .voice-more-inputs{margin-left:16px!important;margin-right:16px!important}
  body.tool-projects .voice-demo-option{align-items:stretch;flex-direction:column}
  body.tool-projects .voice-form-footer{grid-template-columns:1fr;padding:16px}
  body.tool-projects .voice-form-footer .voice-safety-note{font-size:13px}
  body.tool-projects .voice-submit-actions .button{width:100%}
  body.tool-projects .project-action-panel{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px}
  body.tool-projects .project-action-panel>.button{grid-column:1/-1;width:100%;justify-content:center}
  body.tool-projects .project-report-disclosure .daily-report-list{padding:0 14px}
  body.tool-projects .project-report-handoff{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px}
  body.tool-projects .project-report-handoff>.button{grid-column:1/-1;width:100%;justify-content:center}
  body.tool-projects .capacity-table-wrap{overflow:visible}
  body.tool-projects .capacity-table{display:block;min-width:0}
  body.tool-projects .capacity-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.tool-projects .capacity-table tbody{display:grid;gap:12px;padding:14px;background:var(--neutral-50)}
  body.tool-projects .capacity-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
  body.tool-projects .capacity-table td{display:grid;gap:3px;padding:0;border:0;font-size:14px}
  body.tool-projects .capacity-table td:first-child{grid-column:1/-1;padding-bottom:10px;border-bottom:var(--line-soft)}
  body.tool-projects .capacity-table td[data-mobile-label]::before{content:attr(data-mobile-label);color:var(--neutral-600);font-size:12px;font-weight:650}
  body.tool-projects .capacity-table td:last-child{grid-column:1/-1}
  body.tool-projects .task-focus--detail .task-focus-header{grid-template-columns:1fr;gap:16px;padding:18px 16px}
  body.tool-projects .task-heading-kicker{align-items:flex-start}
  body.tool-projects .task-focus--detail h1{font-size:clamp(1.8rem,9vw,2.25rem);line-height:1.08}
  body.tool-projects .task-focus--detail .page-intro{font-size:15px}
  body.tool-projects .task-focus--detail .task-focus-actions{justify-items:stretch;gap:12px;min-width:0;padding:0}
  body.tool-projects .task-focus--detail .task-state{grid-template-columns:1fr 1fr}
  body.tool-projects .task-focus--detail .task-focus-buttons{display:grid;grid-template-columns:1fr}
  body.tool-projects .task-focus--detail .task-focus-actions .button{width:100%;justify-content:center}
  body.tool-projects .task-focus--detail .task-facts{grid-template-columns:1fr 1fr}
  body.tool-projects .task-focus--detail .task-facts>div{grid-template-columns:30px minmax(0,1fr);padding:11px 12px;border-right:0!important;border-bottom:var(--line-soft)!important}
  body.tool-projects .task-focus--detail .task-facts>div:nth-child(odd){border-right:var(--line-soft)!important}
  body.tool-projects .task-focus--detail .task-facts>div:nth-last-child(-n+2){border-bottom:0!important}
  body.tool-projects .task-focus--detail .task-fact-icon{width:30px;height:30px}
  body.tool-projects .task-related-strip{padding:12px 14px}
  body.tool-projects .task-related-strip>span:last-child{grid-template-columns:1fr}
  body.tool-projects .task-related-strip>span:last-child>span{white-space:normal}
  body.tool-projects .task-next-action{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px}
  body.tool-projects .task-next-action form,body.tool-projects .task-next-action .leave-decision-form{grid-column:1/-1;grid-template-columns:1fr}
  body.tool-projects .task-next-action form>label{grid-column:auto}
  body.tool-projects .task-next-action form>.button{width:100%;justify-content:center}
  body.tool-projects .task-next-action .decision-buttons{display:grid;grid-template-columns:1fr}
  body.tool-projects .task-detail-shell{grid-template-columns:1fr}
  body.tool-projects .task-updates-panel>.comment-form{grid-template-columns:1fr;padding:14px}
  body.tool-projects .task-updates-panel>.comment-form .button{width:100%;justify-content:center}
  body.tool-projects .task-content-section>.panel-header,body.tool-projects .task-content-block{padding-left:14px;padding-right:14px}
}
/* Marketing Customers and Campaigns: quiet operational hierarchy. */
body.tool-crm .context-nav-group{display:block;margin:14px 12px 4px;color:var(--neutral-500);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
body.tool-crm .context-nav-group:first-child{margin-top:4px}
body.tool-crm .context-nav .module-settings-link{margin-top:16px}
.settings-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:980px}
.settings-index>a{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:13px;align-items:center;min-height:82px;padding:15px 17px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);color:inherit}
.settings-index>a:hover{border-color:#baa8b1;background:var(--marketing-soft);text-decoration:none}.settings-index>a>span:nth-child(2){display:grid}.settings-index small{color:var(--neutral-600);font-size:max(.66rem,12px)}.settings-index>a>.icon{width:17px;height:17px;color:var(--neutral-500)}
.settings-index__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}.settings-index__icon .icon{width:19px;height:19px}.settings-area-back{margin-top:-8px}
.marketing-page-header{align-items:flex-end}
.lead-attention-strip{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;margin-bottom:16px;padding:14px 16px;border:1px solid var(--marketing-line);border-radius:12px;background:var(--marketing-soft)}
.lead-attention-strip__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--paper);color:var(--marketing-ink)}.lead-attention-strip__icon .icon{width:18px;height:18px}.lead-attention-strip>div:nth-child(2){display:grid}.lead-attention-strip>div:nth-child(2)>span{color:var(--neutral-600);font-size:max(.68rem,13px)}.lead-attention-strip .actions{display:flex;gap:8px}
.customer-directory__header{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(480px,1.35fr);gap:24px;align-items:end;padding:20px;border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
.customer-directory__header h2{margin:2px 0 0;font-size:1.25rem}.customer-directory__header p:not(.eyebrow){margin:4px 0 0;color:var(--neutral-600);font-size:max(.7rem,13px);line-height:1.4}
.customer-directory__filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,.55fr) auto;gap:10px;align-items:end;margin:0}.customer-directory__filters .filter-search{min-width:0}.customer-directory__filters select{width:100%;min-width:0}.customer-directory__filters .button{min-width:92px}
.customer-directory__columns,.customer-card{display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(150px,.68fr) minmax(160px,.72fr) minmax(210px,1fr) 24px;gap:18px;align-items:center}
.customer-directory__columns{min-height:42px;padding:0 20px;border-bottom:1px solid var(--neutral-200);color:var(--neutral-600);font-size:max(.63rem,12px);font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.customer-card-list,.campaign-card-list{display:grid}
.customer-card{min-height:84px;padding:14px 20px;border-bottom:1px solid var(--neutral-200);color:inherit}
.customer-card:last-child{border-bottom:0}.customer-card:hover{background:var(--marketing-soft);text-decoration:none}
.customer-card__profile{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:center;min-width:0}
.customer-card__avatar,.campaign-card__mark{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}
.customer-card__avatar .icon,.campaign-card__mark .icon{width:19px;height:19px}
.customer-card__identity,.customer-card__relationship,.customer-card__owner,.customer-card__next{display:grid;gap:2px;min-width:0}
.customer-card__relationship>.status{justify-self:start;width:max-content;max-width:100%}
.customer-card__relationship>small{display:none}.customer-card small,.customer-card__owner small,.customer-card__next small{color:var(--neutral-600);font-size:max(.66rem,12px)}
.customer-card__identity strong,.customer-card__owner strong,.customer-card__next strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-card__open{display:grid;place-items:center;width:24px;height:40px;color:var(--neutral-500)}.customer-card__open .icon{width:17px;height:17px}
.customer-hero,.campaign-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr) 44px;gap:22px;align-items:center;margin-bottom:18px;padding:22px;border:1px solid var(--marketing-line);border-radius:12px;background:linear-gradient(120deg,var(--marketing-soft),var(--paper) 72%)}
.customer-hero__identity{display:grid;grid-template-columns:52px minmax(0,1fr);gap:15px;align-items:start}
.customer-hero h1,.campaign-hero h1{margin:2px 0 5px;font-size:clamp(1.7rem,3vw,2.55rem)}
.customer-hero p:not(.eyebrow),.campaign-hero p:not(.eyebrow){max-width:720px;margin:0;color:var(--neutral-700)}
.customer-hero__next{display:grid;gap:2px;padding-left:18px;border-left:1px solid var(--marketing-line)}
.customer-hero__next small{color:var(--neutral-600)}.customer-hero__next strong{font-size:1.05rem}.customer-hero__next span{color:var(--neutral-600);font-size:max(.68rem,13px)}
.record-tabs{display:flex;gap:4px;margin:0 0 18px;padding:4px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);overflow-x:auto}
.record-tabs a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px 13px;border-radius:9px;color:var(--neutral-600);font-size:max(.7rem,14px);font-weight:700;white-space:nowrap}
.record-tabs a:hover{background:var(--neutral-100);text-decoration:none}.record-tabs a[aria-current="page"]{background:var(--marketing-ink);color:#fff}
.customer-overview-grid,.campaign-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.customer-focus-card,.customer-context-preview,.customer-section,.campaign-overview-grid>.panel,.campaign-evidence{box-shadow:none}
.customer-work-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--neutral-200);color:inherit}
.customer-work-row:hover{text-decoration:none}.customer-work-row>span{display:grid}.customer-work-row small{color:var(--neutral-600);font-size:max(.66rem,12px)}
.customer-context-preview article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--neutral-200)}
.customer-context-preview article p{margin:0}.customer-context-preview article small{color:var(--neutral-600)}
.customer-row-list{display:grid}.customer-row-list>a,.customer-row-list>article{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;gap:13px;align-items:center;padding:14px 0;border-top:1px solid var(--neutral-200);color:inherit}
.customer-row-list>a:hover{text-decoration:none}.customer-row-list>a>span:nth-child(2),.customer-row-list>article>span:first-child{display:grid}.customer-row-list small{color:var(--neutral-600)}
.customer-row-list article dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:12px;border-radius:10px;background:var(--neutral-50)}
.customer-row-list article dl div{display:grid}.customer-row-list dt{color:var(--neutral-600);font-size:max(.65rem,12px)}.customer-row-list dd{margin:0;font-weight:700}
.customer-note-list{display:grid;gap:10px}.customer-note-list article{padding:15px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-50)}
.customer-note-list article header{display:flex;justify-content:space-between;gap:12px}.customer-note-list article time,.customer-note-list article small{color:var(--neutral-600);font-size:max(.65rem,12px)}.customer-note-list article p{margin:11px 0 6px}
.customer-value-total{display:grid;justify-items:start;margin-bottom:18px;padding:18px;border-radius:12px;background:var(--marketing-soft)}
.customer-value-total strong{font-size:clamp(1.7rem,3vw,2.4rem)}.customer-value-total small,.customer-value-total span{color:var(--neutral-600)}
.marketing-form-header{margin-bottom:16px}.marketing-form-card{max-width:820px}.marketing-form-card form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.marketing-form-card .field:has(textarea),.marketing-form-card .field:has(ul),.marketing-form-card .form-actions,.marketing-form-card .errorlist{grid-column:1/-1}
.campaign-directory{display:grid;gap:14px}.campaign-filter{display:flex;align-items:center;gap:9px;justify-self:end}.campaign-filter label{font-weight:700}.campaign-filter select{min-width:190px}
.campaign-card{display:grid;grid-template-columns:48px minmax(240px,1fr) minmax(420px,1.5fr) 18px;gap:16px;align-items:center;padding:17px 18px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);color:inherit}
.campaign-card+.campaign-card{margin-top:10px}.campaign-card:hover{border-color:#baa8b1;box-shadow:0 7px 18px rgb(37 21 29 / 7%);text-decoration:none}
.campaign-card__purpose{display:grid;min-width:0}.campaign-card__purpose>small{color:var(--marketing-accent);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.campaign-card__purpose>strong{font-size:max(.8rem,16px)}.campaign-card__purpose>span{overflow:hidden;color:var(--neutral-600);font-size:max(.68rem,13px);text-overflow:ellipsis;white-space:nowrap}
.campaign-card dl,.campaign-hero dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.campaign-card dl div,.campaign-hero dl div{display:grid}.campaign-card dt,.campaign-hero dt{color:var(--neutral-600);font-size:max(.62rem,12px)}.campaign-card dd,.campaign-hero dd{margin:0;font-size:max(.68rem,13px);font-weight:750}.campaign-card>.icon{width:17px;height:17px;color:var(--neutral-500)}
.campaign-hero{grid-template-columns:minmax(0,1fr) minmax(480px,.75fr) 44px}.campaign-hero dl{grid-template-columns:repeat(3,minmax(0,1fr))}
.campaign-facts{display:grid;gap:14px;margin:0}.campaign-facts div{display:grid;gap:3px;padding-top:12px;border-top:1px solid var(--neutral-200)}.campaign-facts dt{color:var(--neutral-600);font-size:max(.66rem,12px)}.campaign-facts dd{margin:0}
.campaign-channel-list{display:grid}.campaign-channel-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 0;border-top:1px solid var(--neutral-200)}.campaign-channel-list article>span:nth-child(2){display:grid}.campaign-channel-list small{color:var(--neutral-600)}
.campaign-channel-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--marketing-soft);color:var(--marketing-ink)}.campaign-channel-icon .icon{width:17px;height:17px}
.campaign-section-heading{align-items:flex-end;margin:0 0 14px}.campaign-metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.campaign-metric-grid>div{display:grid;align-content:start;min-height:110px;padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}.campaign-metric-grid span{color:var(--neutral-600);font-size:max(.65rem,12px)}.campaign-metric-grid strong{margin-top:8px;font-size:clamp(1rem,2vw,1.45rem)}
.campaign-import-source{display:flex;align-items:center;gap:12px;max-width:820px;margin-bottom:14px;padding:14px;border:1px solid var(--marketing-line);border-radius:12px;background:var(--marketing-soft)}.campaign-import-source>.icon{width:24px;height:24px}.campaign-import-source>div{display:grid}.campaign-import-source small{color:var(--neutral-600)}
.customer-summary-review{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(18rem,.65fr);gap:20px;align-items:start}.customer-summary-review>.panel{margin:0}
@media(max-width:1100px){.customer-directory__header{grid-template-columns:1fr}.customer-directory__columns,.customer-card{grid-template-columns:minmax(230px,1.15fr) minmax(145px,.7fr) minmax(150px,.75fr) minmax(180px,.9fr) 24px;gap:14px}.campaign-card{grid-template-columns:48px minmax(220px,1fr) minmax(330px,1.2fr) 18px}.campaign-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.campaign-hero{grid-template-columns:minmax(0,1fr) 44px}.campaign-hero dl{grid-column:1/-1}}
@media(max-width:860px){.customer-directory__columns{display:none}.customer-card{grid-template-columns:minmax(0,1fr) auto 24px;gap:12px 16px;align-items:start;margin:12px;border:1px solid var(--neutral-200);border-radius:12px;padding:16px}.customer-card:last-child{border-bottom:1px solid var(--neutral-200)}.customer-card__profile{grid-column:1}.customer-card__relationship{grid-column:2;justify-items:end}.customer-card__relationship>small{display:block}.customer-card__owner,.customer-card__next{padding-top:12px;border-top:1px solid var(--neutral-200)}.customer-card__owner{grid-column:1}.customer-card__next{grid-column:2/4;min-width:180px}.customer-card__open{grid-column:3;grid-row:1;align-self:center;margin-right:-4px}}
@media(max-width:760px){body.tool-crm .context-nav-group{display:none}.marketing-page-header{align-items:stretch}.customer-directory__header{gap:16px;padding:16px}.customer-directory__filters{grid-template-columns:minmax(0,1fr) auto}.customer-directory__status{grid-column:1}.customer-directory__filters .button{grid-column:2;grid-row:2;width:auto}.customer-hero,.campaign-hero{grid-template-columns:1fr 44px;gap:14px;padding:18px}.customer-hero__identity{grid-template-columns:44px minmax(0,1fr)}.customer-hero__next{grid-column:1/-1;padding:12px 0 0;border-top:1px solid var(--marketing-line);border-left:0}.record-tabs{margin-inline:-2px}.customer-overview-grid,.campaign-overview-grid{grid-template-columns:1fr}.customer-context-preview article{grid-template-columns:auto minmax(0,1fr)}.customer-context-preview article>small{grid-column:2}.customer-row-list article dl{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-form-card form{grid-template-columns:1fr}.marketing-form-card .field,.marketing-form-card .form-actions{grid-column:auto}.campaign-filter{display:grid;grid-template-columns:1fr auto;justify-self:stretch}.campaign-filter label{grid-column:1/-1}.campaign-card{grid-template-columns:44px minmax(0,1fr) 16px;padding:15px}.campaign-card dl{grid-column:2/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.campaign-card__purpose>span{white-space:normal}.campaign-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.campaign-section-heading{align-items:stretch}}
@media(max-width:520px){.customer-card{grid-template-columns:1fr;margin:10px;padding:15px}.customer-card__profile,.customer-card__relationship,.customer-card__owner,.customer-card__next{grid-column:1}.customer-card__relationship{justify-items:start;padding:11px 0 0;border-top:1px solid var(--neutral-200)}.customer-card__owner,.customer-card__next{padding-top:10px}.customer-card__open{display:none}.customer-card__identity strong,.customer-card__owner strong,.customer-card__next strong{white-space:normal}.customer-row-list>a,.customer-row-list>article{grid-template-columns:auto minmax(0,1fr)}.customer-row-list>a>.status{grid-column:2}.campaign-card dl{grid-template-columns:1fr 1fr}.campaign-metric-grid{grid-template-columns:1fr 1fr}.campaign-metric-grid>div{min-height:92px}.campaign-hero dl{grid-template-columns:1fr 1fr}.campaign-hero dl>div:first-child{grid-column:1/-1}}
@media(max-width:760px){.settings-index{grid-template-columns:1fr}.customer-summary-review{grid-template-columns:1fr}}
@media(max-width:760px){.lead-attention-strip{grid-template-columns:44px minmax(0,1fr)}.lead-attention-strip .actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.lead-attention-strip .button{width:100%}}
.customer-storyline-link{display:inline-flex;align-items:center;gap:.35rem;margin-top:.45rem;font-size:.86rem;font-weight:600}
.customer-storyline-link .icon{width:.95rem;height:.95rem}
.customer-row-list>.customer-delivery-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}
.customer-delivery-row>.status{justify-self:end;white-space:nowrap}
/* Calm, reversible work: primary content stays visible while secondary sections fold away. */
.section-disclosure {
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius-surface);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.section-disclosure > summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 24px;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
}
.section-disclosure > summary::-webkit-details-marker { display: none; }
.section-disclosure > summary:hover { background: var(--neutral-50); }
.section-disclosure > summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tool-color) 38%, transparent);
  outline-offset: -3px;
}
.section-disclosure__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tool-color) 10%, white);
  color: var(--tool-color);
}
.section-disclosure__icon .icon { width: 20px; height: 20px; }
.section-disclosure__heading { display: grid; gap: 2px; min-width: 0; }
.section-disclosure__heading .eyebrow { margin: 0; }
.section-disclosure__heading > strong { font-size: 1.2rem; line-height: 1.25; }
.section-disclosure__heading > small { color: var(--neutral-600); font-size: max(.72rem, 13px); }
.section-disclosure__count {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 10px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-weight: 750;
}
.section-disclosure__chevron { width: 18px; height: 18px; transition: transform var(--duration-fast) var(--ease-standard); }
.section-disclosure[open] > summary { border-bottom: var(--line-soft); }
.section-disclosure[open] > summary .section-disclosure__chevron { transform: rotate(180deg); }
.section-disclosure__body { padding: 18px 20px 20px; }

.home-suggestions { border-color: color-mix(in srgb, var(--tool-color) 26%, var(--neutral-200)); }
.home-suggestions > summary { background: color-mix(in srgb, var(--tool-color) 4%, white); }
.home-suggestion-list { display: grid; }
.home-suggestion-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 74px;
  padding: 13px 20px;
  color: inherit;
  border-bottom: var(--line-soft);
}
.home-suggestion-row:hover { background: var(--neutral-50); text-decoration: none; }
.home-suggestion-row__marker {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tool-color) 9%, white);
  color: var(--tool-color);
}
.home-suggestion-row__marker .icon { width: 17px; height: 17px; }
.home-suggestion-row__copy { display: grid; gap: 3px; min-width: 0; }
.home-suggestion-row__copy > strong { overflow-wrap: anywhere; }
.home-suggestion-row__copy > small { color: var(--neutral-600); line-height: 1.4; }
.home-suggestion-row__copy > span { color: var(--neutral-500); font-size: 12px; }
.home-suggestion-row__action { display: inline-flex; align-items: center; gap: 8px; color: var(--tool-color); font-weight: 750; }
.home-suggestion-row__action .icon { width: 15px; height: 15px; }
.home-suggestions__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--neutral-50);
  color: var(--neutral-600);
  font-size: max(.72rem, 13px);
}
.home-suggestions__footer > span { display: inline-flex; align-items: center; gap: 8px; }
.home-suggestions__footer .icon { width: 16px; height: 16px; }
.home-suggestions__footer a { font-weight: 750; }

.home-supporting-disclosure { margin-top: 24px; }
.home-supporting-disclosure .section-heading--action { justify-content: flex-end; margin-bottom: 12px; }
.home-supporting-disclosure .section-disclosure__body { padding-top: 14px; }
.home-module-section { margin-bottom: 28px; }

.task-undo {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--positive) 32%, var(--neutral-200));
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--positive) 7%, white);
}
.task-undo__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: white; color: var(--positive); }
.task-undo__icon .icon { width: 19px; height: 19px; }
.task-undo > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.task-undo small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--neutral-600); }
.task-undo form { margin: 0; }

.settings-disclosure { max-width: 100%; }
.settings-disclosure__body { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.settings-disclosure__body p { max-width: 66ch; margin: 0; color: var(--neutral-600); }

.marketing-home-drafts.section-disclosure > summary { background: color-mix(in srgb, var(--tool-color) 4%, white); }
.marketing-home-drafts.section-disclosure > .voice-draft-list { border-top: 0; }
.okr-forecast-disclosure .section-disclosure__body > p { margin-top: 0; }

@media (max-width: 700px) {
  .section-disclosure > summary { grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 10px; min-height: 72px; padding: 13px 14px; }
  .section-disclosure__icon { width: 40px; height: 40px; border-radius: 10px; }
  .section-disclosure__heading > strong { font-size: 1.05rem; }
  .section-disclosure__heading > small { display: none; }
  .section-disclosure__body { padding: 14px; }
  .home-suggestion-row { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .home-suggestion-row__marker { width: 34px; height: 34px; }
  .home-suggestion-row__copy > small { display: none; }
  .home-suggestion-row__action { grid-column: 2; justify-self: start; }
  .home-suggestions__footer { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .task-undo { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 10px; }
  .task-undo__icon { width: 38px; height: 38px; }
  .task-undo .button { min-width: 44px; padding-inline: 10px; }
  .settings-disclosure__body { align-items: stretch; flex-direction: column; }
  .settings-disclosure__body .button { width: 100%; }
}
/* Schedule-led weekly time and People work-rule configuration. */
.timesheet-status-summary{min-width:190px;padding:14px 16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);justify-items:start}.timesheet-status-summary .status{justify-self:start}.timesheet-status-summary small{color:var(--neutral-600);font-size:13px}
.work-week-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0 0 18px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-200);overflow:hidden}.work-week-overview>div{display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center;padding:14px;background:var(--paper)}.work-week-overview__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}.work-week-overview__icon .icon{width:18px;height:18px}.work-week-overview>div>span:last-child{display:grid;gap:2px}.work-week-overview small{color:var(--neutral-600);font-size:13px}.work-week-overview strong{font-size:17px;font-variant-numeric:tabular-nums}
.time-grid-panel>.panel-header{padding:20px 22px 17px;border-bottom:var(--line-soft)}.time-grid-panel .panel-header h2{font-size:clamp(1.35rem,2vw,1.65rem)}.time-grid{min-width:840px}.time-grid th:first-child{width:170px}.time-grid th:nth-child(2){width:210px}.time-grid th:nth-child(3){width:165px}.time-grid th:nth-child(4){width:90px}.time-grid th:nth-child(5){width:220px}.time-grid th:nth-child(6){width:56px}.time-grid td{padding:9px 7px;vertical-align:top}.time-grid input,.time-grid select{min-height:44px;font-size:15px}.time-grid td:nth-child(4) input{min-width:72px}.time-day-cell{display:grid;gap:5px}.time-day-cell small{color:var(--neutral-600);font-size:12px;line-height:1.35}.time-holiday{display:flex;align-items:center;gap:5px;color:var(--notice)}.time-holiday .icon{width:14px;height:14px}.time-row-remove{width:56px;text-align:center}.time-row-remove>input{position:absolute;opacity:0;pointer-events:none}.time-row-remove .icon-button{width:44px;height:44px;color:var(--neutral-600)}.time-row-remove .icon-button:hover{color:var(--critical);border-color:color-mix(in srgb,var(--critical) 45%,var(--neutral-300));background:color-mix(in srgb,var(--critical) 6%,white)}.time-grid-actions{padding:14px 16px}.time-grid-secondary-actions{display:flex;gap:8px;flex-wrap:wrap}.time-grid-help{margin:0;padding:0 16px 15px;max-width:none}.submitted-time-table{border:var(--line);border-radius:12px}.submitted-time-table table{margin:0}
.settings-shortcut{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:18px}.settings-shortcut h2{font-size:1.2rem}.settings-shortcut p{margin:3px 0 0}.settings-shortcut .button{white-space:nowrap}.people-rules-header{align-items:flex-end}.work-rule-summary{min-width:180px;display:grid;gap:2px;padding:14px 16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}.work-rule-summary>span,.work-rule-summary small{color:var(--neutral-600);font-size:13px}.work-rule-summary strong{font-size:1.45rem}.people-rules-form{display:grid;gap:18px}.work-week-editor,.annual-holiday-editor{margin:0}.work-rule-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:24px;align-items:start}.workday-picker{margin:0;padding:0;border:0}.workday-picker legend,.daily-hours-field>label{margin-bottom:8px;font-weight:750}.workday-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.workday-picker>div>div>label{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-50);font-weight:650}.workday-picker input{width:18px;height:18px;margin:0}.daily-hours-field{margin:0}.daily-hours-field input{min-height:44px}.holiday-year-header{align-items:center;margin-bottom:0;padding-bottom:16px;border-bottom:var(--line-soft)}.year-switcher{display:flex;align-items:center;gap:8px}.year-switcher strong{min-width:52px;text-align:center}.year-switcher .icon-button{width:44px;height:44px}.holiday-rows{display:grid}.holiday-row{display:grid;grid-template-columns:minmax(170px,.45fr) minmax(260px,1fr) 44px;gap:12px;align-items:end;padding:14px 0;border-bottom:var(--line-soft)}.holiday-row .field{display:grid;gap:5px;margin:0}.holiday-row input{min-height:44px;margin:0}.holiday-remove{width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.holiday-remove>input{position:absolute;opacity:0;pointer-events:none}.holiday-remove .icon-button{width:44px;height:44px;color:var(--neutral-600)}.holiday-remove:hover .icon-button{color:var(--critical);border-color:var(--critical)}.holiday-empty{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:20px 0;color:var(--neutral-600)}.holiday-empty>.icon{width:20px;margin:11px}.holiday-empty p{display:grid;margin:0}.holiday-empty strong{color:var(--studio-black)}.add-holiday{margin-top:14px}.people-rules-save,.people-rules-save p{margin:0}
@media(max-width:980px){.work-week-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.work-rule-fields{grid-template-columns:1fr}.workday-picker>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.timesheet-status-summary,.work-rule-summary{width:100%}.work-week-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.work-week-overview>div{grid-template-columns:34px minmax(0,1fr);padding:11px}.work-week-overview__icon{width:34px;height:34px}.time-grid-wrap{overflow:visible}.time-grid{display:block;min-width:0}.time-grid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.time-grid tbody{display:grid;gap:12px;padding:12px;background:var(--neutral-50)}.time-grid tr{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:14px;border:1px solid var(--neutral-200);border-radius:12px;background:white}.time-grid td{display:grid;gap:5px;width:auto!important;padding:0;border:0}.time-grid td::before{content:attr(data-label);color:var(--neutral-600);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.time-grid td:nth-child(2),.time-grid td:nth-child(3),.time-grid td:nth-child(5){grid-column:1/-1}.time-grid td.time-row-remove{display:flex;align-items:flex-end;justify-content:flex-end;grid-column:2;grid-row:1}.time-grid td.time-row-remove::before{display:none}.time-grid td:first-child{grid-column:1}.time-grid input,.time-grid select{width:100%;font-size:16px}.time-grid-actions{display:grid;gap:10px}.time-grid-secondary-actions{display:grid;grid-template-columns:1fr}.time-grid-actions .button{width:100%}.time-grid-help{padding:0 14px 14px}.settings-shortcut{grid-template-columns:40px minmax(0,1fr)}.settings-shortcut .button{grid-column:1/-1;width:100%}.workday-picker>div{grid-template-columns:1fr 1fr}.holiday-year-header{align-items:flex-start}.holiday-row{grid-template-columns:1fr 44px}.holiday-row .field{grid-column:1}.holiday-row .field:nth-child(2){grid-row:2}.holiday-remove{grid-column:2;grid-row:1;align-self:end}.people-rules-save{align-items:stretch}.people-rules-save .button{width:100%}}
@media(max-width:390px){.work-week-overview{grid-template-columns:1fr 1fr}.work-week-overview>div{grid-template-columns:1fr;gap:6px}.workday-picker>div{grid-template-columns:1fr}.time-grid tr{grid-template-columns:minmax(0,1fr) 44px}.time-grid td:nth-child(4){grid-column:1}.time-grid td.time-row-remove{grid-column:2}}
.industry-settings{display:grid;gap:22px;max-width:1040px}.industry-settings>.section-heading{margin:0}.industry-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.industry-preset-grid>a{display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:4px 10px;align-items:center;min-height:92px;padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50);color:inherit}.industry-preset-grid>a:hover{text-decoration:none;background:white;border-color:var(--neutral-300)}.industry-preset-grid>a[aria-current=page]{background:white;border-color:var(--studio-black);box-shadow:inset 3px 0 0 var(--quantum-violet)}.industry-preset-grid strong{font-size:16px}.industry-preset-grid small{grid-column:1;color:var(--neutral-600);line-height:1.45}.industry-preset-grid .icon{grid-column:2;grid-row:1/3;width:16px;color:var(--neutral-500)}.industry-configuration-form{display:grid;gap:20px}.industry-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.industry-language-grid .field{margin:0}.industry-field-choices{display:grid;gap:10px;margin:0;padding:16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50)}.industry-field-choices legend{padding:0 6px;font-weight:800}.industry-field-choices>p{margin:0;color:var(--neutral-600)}.industry-field-choices ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.industry-field-choices label{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 10px;border:1px solid var(--neutral-200);border-radius:10px;background:white;font-size:14px}.industry-field-choices input{width:18px;height:18px;margin:0}.industry-privacy-note{display:grid;gap:3px}.industry-privacy-note span{color:var(--neutral-600)}
@media(max-width:800px){.industry-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.industry-preset-grid,.industry-language-grid,.industry-field-choices ul{grid-template-columns:1fr}.industry-settings{gap:18px}.industry-preset-grid>a{min-height:78px}.industry-configuration-form .decision-bar{align-items:stretch;flex-direction:column}.industry-configuration-form .decision-bar .button{width:100%}}
.record-custom-fields{margin-bottom:18px}.record-custom-fields dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.record-custom-fields dl>div{display:grid;gap:3px;align-content:start;min-height:88px;padding:13px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-50)}.record-custom-fields dt,.record-custom-fields small{color:var(--neutral-600);font-size:12px}.record-custom-fields dd{margin:0;font-weight:750;overflow-wrap:anywhere}.record-custom-fields small{margin-top:auto}
@media(max-width:800px){.record-custom-fields dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.record-custom-fields dl{grid-template-columns:1fr}.record-custom-fields dl>div{min-height:0}}
/* Task detail: one decision first, supporting context on demand. */
body.tool-projects .task-focus--detail {
  position: relative;
  margin-bottom: 16px;
  overflow: visible;
  border-color: var(--neutral-200);
  box-shadow: 0 2px 10px rgb(31 24 43 / 3%);
}

body.tool-projects .task-focus--detail::before {
  height: 3px;
}

body.tool-projects .task-focus--detail .task-focus-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
}

body.tool-projects .task-heading {
  gap: 12px;
}

body.tool-projects .task-heading-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  min-height: 24px;
}

body.tool-projects .task-heading-kicker .eyebrow {
  margin-right: 4px;
}

body.tool-projects .task-focus--detail .task-state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 0;
}

body.tool-projects .task-focus--detail .priority {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 0;
  color: var(--neutral-600);
}

body.tool-projects .task-focus--detail .priority--high,
body.tool-projects .task-focus--detail .priority--urgent {
  color: var(--critical);
}

body.tool-projects .task-focus--detail h1 {
  max-width: 28ch;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}

body.tool-projects .task-focus--detail .page-intro,
body.tool-projects .task-source-summary {
  max-width: 68ch;
  margin: 0;
  color: var(--neutral-600);
  font-size: 16px;
  line-height: 1.55;
}

body.tool-projects .task-source-summary {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

body.tool-projects .task-source-summary>.icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--crm-color, #a51f58);
}

body.tool-projects .task-source-summary strong {
  color: var(--neutral-800);
}

body.tool-projects .task-core-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  margin-top: 4px;
  padding-top: 16px;
  border-top: var(--line-soft);
}

body.tool-projects .task-core-facts>.task-core-fact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 44px;
}

body.tool-projects .task-core-facts .icon {
  width: 18px;
  height: 18px;
  color: var(--tool-color);
}

body.tool-projects .task-core-fact>span:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: baseline;
}

body.tool-projects .task-core-facts small {
  color: var(--neutral-600);
  font-size: 13px;
}

body.tool-projects .task-core-facts strong {
  color: var(--neutral-800);
  font-size: 14px;
}

body.tool-projects .task-core-fact--editable {
  margin: -7px;
  padding: 7px;
  border-radius: var(--radius-control);
  color: inherit;
  transition: background var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

body.tool-projects .task-core-fact--editable:hover {
  background: color-mix(in srgb, var(--tool-color) 6%, white);
  text-decoration: none;
}

body.tool-projects .task-core-fact--editable:focus-visible {
  outline: 2px solid var(--tool-color);
  outline-offset: 2px;
}

body.tool-projects .task-core-fact__edit {
  width: 15px !important;
  height: 15px !important;
  opacity: .55;
}

body.tool-projects .task-inline-title-edit {
  color: inherit;
}

body.tool-projects .task-inline-title-edit:hover {
  color: var(--tool-color);
  text-decoration: none;
}

body.tool-projects .task-inline-title-edit>.icon {
  width: .48em;
  height: .48em;
  margin-left: 5px;
  color: var(--tool-color);
  opacity: .58;
  vertical-align: .1em;
}

body.tool-projects .task-inline-chip-edit {
  gap: 6px;
  border-radius: 8px;
}

body.tool-projects .task-inline-chip-edit:hover {
  background: var(--neutral-100);
  text-decoration: none;
}

body.tool-projects .task-inline-chip-edit>.icon {
  width: 13px;
  height: 13px;
}

/* Task editing mirrors the facts shown on the detail page: essentials first,
   secondary planning on demand, and one unambiguous save action. */
body.tool-projects .task-edit-page-header {
  align-items: end;
  max-width: 1040px;
  margin-bottom: 16px;
}

body.tool-projects .task-edit-page-header .status {
  flex: 0 0 auto;
}

body.tool-projects .task-edit-form {
  display: grid;
  gap: 16px;
  max-width: 1040px;
}

body.tool-projects .task-edit-source {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--crm-color, #a51f58) 18%, var(--neutral-200));
  border-radius: var(--radius-surface);
  background: color-mix(in srgb, var(--crm-color, #a51f58) 4%, white);
}

body.tool-projects .task-edit-source__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--crm-color, #a51f58) 10%, white);
  color: var(--crm-color, #a51f58);
}

body.tool-projects .task-edit-source__icon .icon,
body.tool-projects .task-edit-source>a .icon {
  width: 17px;
  height: 17px;
}

body.tool-projects .task-edit-source>span:nth-child(2) {
  display: grid;
  gap: 2px;
}

body.tool-projects .task-edit-source small {
  color: var(--neutral-600);
  font-size: 14px;
}

body.tool-projects .task-edit-source>a {
  min-height: 44px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

body.tool-projects .task-edit-source>a:hover {
  background: white;
  text-decoration: none;
}

body.tool-projects .task-edit-section,
body.tool-projects .task-edit-more {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.tool-projects .task-edit-section__header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: var(--line-soft);
  background: var(--neutral-50);
}

body.tool-projects .task-edit-section__number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--tool-color);
  color: white;
  font-weight: 800;
}

body.tool-projects .task-edit-section__header h2 {
  margin: 1px 0 0;
  font-size: 1.25rem;
}

body.tool-projects .task-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

body.tool-projects .task-edit-grid>.field {
  align-content: start;
  margin: 0;
}

body.tool-projects .task-edit-grid>.field--wide {
  grid-column: 1 / -1;
}

body.tool-projects .task-edit-grid textarea {
  min-height: 112px;
}

body.tool-projects .task-edit-field--focused {
  margin: -8px !important;
  padding: 8px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--tool-color) 6%, white);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--tool-color) 22%, transparent);
}

body.tool-projects .task-edit-locked-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius-control);
  background: var(--neutral-200);
}

body.tool-projects .task-edit-locked-summary>span {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: white;
}

body.tool-projects .task-edit-locked-summary small {
  color: var(--neutral-600);
  font-size: 13px;
}

body.tool-projects .task-edit-more>summary {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
}

body.tool-projects .task-edit-more>summary::-webkit-details-marker {
  display: none;
}

body.tool-projects .task-edit-more>summary>span:first-child {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

body.tool-projects .task-edit-more>summary>span:first-child>.icon {
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--tool-color) 8%, white);
  color: var(--tool-color);
}

body.tool-projects .task-edit-more>summary>span>span {
  display: grid;
  gap: 2px;
}

body.tool-projects .task-edit-more>summary small {
  color: var(--neutral-600);
  font-size: 14px;
  font-weight: 500;
}

body.tool-projects .task-edit-more[open]>summary {
  border-bottom: var(--line-soft);
}

body.tool-projects .task-edit-more[open]>summary>.icon {
  transform: rotate(180deg);
}

body.tool-projects .task-edit-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: var(--line);
  border-radius: var(--radius-surface);
  background: white;
  box-shadow: var(--shadow-soft);
}

body.tool-projects .task-edit-actions>span {
  display: grid;
  gap: 2px;
}

body.tool-projects .task-edit-actions small {
  color: var(--neutral-600);
  font-size: 13px;
}

body.tool-projects .task-page-menu {
  justify-self: end;
}

body.tool-projects .task-page-menu>summary {
  width: 44px;
  height: 44px;
  cursor: pointer;
}

body.tool-projects .task-page-menu__popover {
  right: 0;
  left: auto;
  min-width: 250px;
  padding: 6px;
}

body.tool-projects .task-page-menu__popover>a {
  min-height: 44px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--neutral-800);
  font-size: 14px;
  font-weight: 650;
}

body.tool-projects .task-page-menu__popover>a:hover {
  background: var(--neutral-100);
  text-decoration: none;
}

body.tool-projects .task-page-menu__popover .icon {
  width: 17px;
  height: 17px;
  color: var(--tool-color);
}

body.tool-projects .task-next-action {
  grid-template-columns: 44px minmax(220px, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: 20px 22px;
  margin: 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--tool-color) 18%, white);
  border-radius: 0;
  background: color-mix(in srgb, var(--tool-color) 5%, white);
  box-shadow: none;
}

body.tool-projects .task-next-action:last-child,
body.tool-projects .task-next-step-note:last-child {
  border-radius: 0 0 var(--radius-surface) var(--radius-surface);
}

body.tool-projects .task-next-action h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

body.tool-projects .task-next-action p:not(.eyebrow) {
  max-width: 48ch;
}

body.tool-projects .task-next-step-note {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 64px;
  padding: 12px clamp(22px, 3vw, 32px);
  border-top: var(--line-soft);
  background: var(--neutral-50);
}

body.tool-projects .task-next-step-note>.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--tool-color);
}

body.tool-projects .task-next-step-note>span:last-child {
  display: grid;
  gap: 2px;
}

body.tool-projects .task-next-step-note small {
  color: var(--neutral-600);
  font-size: 12px;
}

body.tool-projects .task-next-step-note strong {
  color: var(--neutral-800);
  font-size: 14px;
}

body.tool-projects .task-completion-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

body.tool-projects form[data-task-form] > [data-task-recovery],
body.tool-projects form[data-task-form] > [data-task-draft-status] {
  grid-column: 1 / -1;
  flex-basis: 100%;
  min-width: 0;
}

body.tool-projects form[data-task-form] > [data-task-recovery][hidden],
body.tool-projects form[data-task-form] > [data-task-draft-status][hidden] {
  display: none;
}

body.tool-projects details.task-note-disclosure:not(.menu) {
  position: relative;
  width: 210px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.tool-projects .task-note-disclosure>summary {
  min-height: 44px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  background: white;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 650;
  list-style: none;
}

body.tool-projects .task-note-disclosure>summary::-webkit-details-marker {
  display: none;
}

body.tool-projects .task-note-disclosure>summary span {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 550;
}

body.tool-projects .task-note-disclosure>textarea {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, calc(100vw - 48px));
  min-height: 100px;
  margin: 0;
  padding: 12px;
  border-color: var(--neutral-300);
  background: white;
  box-shadow: var(--shadow-raised);
}

body.tool-projects .task-support-hub {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: var(--neutral-200);
  box-shadow: none;
}

body.tool-projects .task-support-hub__header {
  display: flex;
  align-items: center;
  padding: 18px 20px 16px;
  background: var(--neutral-50);
}

body.tool-projects .task-support-hub__header h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
}

body.tool-projects details.task-support-row:not(.menu) {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: var(--line-soft);
  border-radius: 0;
}

body.tool-projects .task-support-row>summary {
  min-height: 64px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  list-style: none;
}

body.tool-projects .task-support-row>summary::-webkit-details-marker {
  display: none;
}

body.tool-projects .task-support-row>summary:hover {
  background: var(--neutral-50);
}

body.tool-projects .task-support-row>summary>span:first-child {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 11px;
  align-items: center;
  min-width: 0;
}

body.tool-projects .task-support-row>summary>span:first-child>.icon {
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  color: var(--tool-color);
}

body.tool-projects .task-support-row>summary>span:first-child>span {
  display: grid;
  min-width: 0;
}

body.tool-projects .task-support-row>summary strong {
  font-size: 15px;
}

body.tool-projects .task-support-row>summary small {
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 500;
}

body.tool-projects .task-support-row>summary>.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform var(--duration-fast) var(--ease-standard);
}

body.tool-projects .task-support-row[open]>summary>.icon {
  transform: rotate(180deg);
}

body.tool-projects .task-support-row__body {
  padding: 0 20px 20px;
  border-top: var(--line-soft);
}

body.tool-projects .task-support-row__body>.list,
body.tool-projects .task-support-row__body>.task-support-subsection>.list {
  margin: 0;
}

body.tool-projects .task-support-subsection {
  padding-top: 18px;
}

body.tool-projects .task-support-subsection+ .task-support-subsection {
  margin-top: 18px;
  border-top: var(--line-soft);
}

body.tool-projects .task-support-subsection h3,
body.tool-projects .task-responsibility-grid h3 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 14px;
}

body.tool-projects .task-support-row .comment-form {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 14px 0 0;
  padding: 0;
}

body.tool-projects .task-responsibility-grid {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 18px;
}

body.tool-projects .task-responsibility-grid .definition-list {
  margin: 0;
}

body.tool-projects .task-responsibility-grid .timeline {
  max-height: 340px;
  margin: 0;
  overflow: auto;
}

body.tool-projects .task-support-row.audited-controls .task-support-row__body {
  padding-top: 16px;
}

@media (max-width: 820px) {
  body.tool-projects .task-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tool-projects .task-next-action {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.tool-projects .task-completion-form,
  body.tool-projects .task-next-action .leave-decision-form {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  body.tool-projects .task-completion-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.tool-projects details.task-note-disclosure:not(.menu) {
    width: auto;
  }
}

@media (max-width: 700px) {
  body.tool-projects .task-focus--detail .task-focus-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    padding: 18px 16px 16px;
  }

  body.tool-projects .task-heading-kicker {
    align-items: center;
  }

  body.tool-projects .task-focus--detail h1 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.08;
  }

  body.tool-projects .task-focus--detail .page-intro,
  body.tool-projects .task-source-summary {
    font-size: 15px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.tool-projects .task-core-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.tool-projects .task-core-facts>.task-core-fact {
    align-items: start;
  }

  body.tool-projects .task-core-fact>span:nth-child(2) {
    display: grid;
    gap: 1px;
  }

  body.tool-projects .task-edit-page-header {
    align-items: start;
  }

  body.tool-projects .task-edit-page-header>.status {
    justify-self: start;
  }

  body.tool-projects .task-edit-source {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px 14px;
  }

  body.tool-projects .task-edit-source__icon {
    width: 38px;
    height: 38px;
  }

  body.tool-projects .task-edit-source>a {
    grid-column: 2;
    justify-self: start;
    padding: 0;
  }

  body.tool-projects .task-edit-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body.tool-projects .task-edit-grid>.field--wide {
    grid-column: auto;
  }

  body.tool-projects .task-edit-locked-summary {
    grid-template-columns: 1fr;
  }

  body.tool-projects .task-edit-more>summary {
    padding: 9px 16px;
  }

  body.tool-projects .task-edit-more>summary small {
    display: none;
  }

  body.tool-projects .task-edit-actions { display: grid; }

  body.tool-projects .task-edit-actions>.actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
  }

  body.tool-projects .task-edit-actions .button {
    width: 100%;
    justify-content: center;
  }

  body.tool-projects .task-page-menu__popover {
    position: absolute;
    top: 52px;
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 48px));
    min-width: 0;
  }

  body.tool-projects .task-next-action {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 16px;
  }

  body.tool-projects .task-next-action .next-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  body.tool-projects .task-next-action h2 {
    font-size: 1.13rem;
  }

  body.tool-projects .task-next-action p:not(.eyebrow) {
    margin-top: 2px;
    font-size: 13px;
  }

  body.tool-projects .task-completion-form {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  body.tool-projects .task-completion-form>.button {
    order: -1;
  }

  body.tool-projects details.task-note-disclosure:not(.menu),
  body.tool-projects .task-completion-form>.button {
    width: 100%;
  }

  body.tool-projects .task-note-disclosure>textarea {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  body.tool-projects .task-support-hub__header {
    padding: 16px;
  }

  body.tool-projects .task-support-row>summary {
    min-height: 62px;
    padding: 10px 16px;
  }

  body.tool-projects .task-support-row__body {
    padding: 0 16px 16px;
  }

  body.tool-projects .task-support-row .comment-form,
  body.tool-projects .task-responsibility-grid {
    grid-template-columns: 1fr;
  }

  body.tool-projects .task-support-row .comment-form .button,
  body.tool-projects .attachment-form .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tool-projects .task-support-row>summary>.icon {
    transition: none;
  }
}
/* Projects: direction-first work management, informed by category conventions
   while retaining Strativarius calm hierarchy and Symphony-wide tokens. */
body.tool-projects .project-nav-label{display:block;margin:14px 10px 4px;color:var(--neutral-500);font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
body.tool-projects .context-sidebar nav .project-nav-label:first-child{margin-top:8px}
body.tool-projects .context-create{position:relative;margin-top:12px}
body.tool-projects .context-create>summary{margin:0;cursor:pointer;list-style:none}
body.tool-projects .context-create>summary::-webkit-details-marker{display:none}
body.tool-projects .context-create>summary>.icon:last-child{width:15px;height:15px;margin-left:auto;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .context-create>summary>.icon{color:white}
body.tool-projects .context-create[open]>summary>.icon:last-child{transform:rotate(180deg)}
body.tool-projects .context-create__menu{top:calc(100% + 7px);left:0;right:0;min-width:230px;padding:7px}
body.tool-projects .context-create__menu>a,body.tool-projects .project-more-menu .menu-popover>a,body.tool-projects .project-create-menu .menu-popover>a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;min-height:52px;padding:8px;border-radius:9px;color:inherit}
body.tool-projects .context-create__menu>a:hover,body.tool-projects .project-more-menu .menu-popover>a:hover,body.tool-projects .project-create-menu .menu-popover>a:hover{background:var(--neutral-100);text-decoration:none}
body.tool-projects .context-create__menu>a>.icon,body.tool-projects .project-more-menu .menu-popover>a>.icon,body.tool-projects .project-create-menu .menu-popover>a>.icon{width:18px;height:18px;justify-self:center;color:var(--tool-color)}
body.tool-projects .context-create__menu>a>span,body.tool-projects .project-more-menu .menu-popover>a>span,body.tool-projects .project-create-menu .menu-popover>a>span{display:grid;gap:2px}
body.tool-projects .context-create__menu small,body.tool-projects .project-more-menu small,body.tool-projects .project-create-menu small{color:var(--neutral-600);font-size:12px;line-height:1.3}

/* Portfolio: one scan line per project instead of equal-weight card walls. */
body.tool-projects .portfolio-focus{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:16px 18px;border:1px solid color-mix(in srgb,var(--tool-color) 18%,var(--neutral-200));border-radius:12px;background:color-mix(in srgb,var(--tool-color) 4%,white)}
body.tool-projects .portfolio-focus__heading{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center}
body.tool-projects .portfolio-focus__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--tool-color);color:white}
body.tool-projects .portfolio-focus__icon .icon{width:20px;height:20px}
body.tool-projects .portfolio-focus h2,body.tool-projects .project-directory h2{font-family:var(--font-sans);font-size:1.14rem;line-height:1.2}
body.tool-projects .portfolio-focus .eyebrow,body.tool-projects .project-directory .eyebrow{margin-bottom:3px}
body.tool-projects .portfolio-focus__facts{display:flex;align-items:stretch}
body.tool-projects .portfolio-focus__facts>span{display:grid;justify-items:center;gap:1px;min-width:92px;padding:2px 18px;border-left:1px solid var(--neutral-200)}
body.tool-projects .portfolio-focus__facts strong{font-size:1.2rem;line-height:1.2}
body.tool-projects .portfolio-focus__facts small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-directory{overflow:hidden;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);box-shadow:0 3px 16px rgb(31 24 43 / 4%)}
body.tool-projects .project-directory__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:var(--neutral-50)}
body.tool-projects .project-directory__heading>span{color:var(--neutral-600);font-size:13px}
body.tool-projects .project-directory__head,body.tool-projects .project-directory__row{display:grid;grid-template-columns:minmax(290px,2fr) 120px minmax(150px,.8fr) minmax(150px,.85fr) 135px 22px;gap:16px;align-items:center}
body.tool-projects .project-directory__head{padding:9px 18px;border-top:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200);color:var(--neutral-500);font-size:11px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
body.tool-projects .project-directory__row{min-height:84px;padding:12px 18px;border-bottom:1px solid var(--neutral-200);color:inherit}
body.tool-projects .project-directory__row:last-child{border-bottom:0}
body.tool-projects .project-directory__row:hover{background:color-mix(in srgb,var(--tool-color) 3%,white);text-decoration:none}
body.tool-projects .project-directory__row:focus-visible{position:relative;z-index:1;outline:3px solid var(--focus-ring);outline-offset:-3px}
body.tool-projects .project-directory__identity{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
body.tool-projects .project-directory__identity>span:last-child{display:grid;gap:2px;min-width:0}
body.tool-projects .project-directory__identity small{color:var(--tool-color);font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
body.tool-projects .project-directory__identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
body.tool-projects .project-directory__identity>span>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-600);font-size:13px}
body.tool-projects .project-directory__health{display:grid;justify-items:start;gap:5px}
body.tool-projects .project-directory__health small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-directory__progress{display:grid;gap:6px}
body.tool-projects .project-directory__progress>span:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
body.tool-projects .project-directory__progress small{color:var(--neutral-600);font-size:11px}
body.tool-projects .project-directory__owner,body.tool-projects .project-directory__date{display:flex;align-items:center;gap:8px;min-width:0;color:var(--neutral-600);font-size:13px}
body.tool-projects .project-directory__owner>span:last-child,body.tool-projects .project-directory__date>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .project-directory__date>.icon,body.tool-projects .project-directory__open>.icon{width:16px;height:16px;flex:none}
body.tool-projects .project-directory__open{color:var(--tool-color)}

/* My Work: the visible order follows act, unblock, wait, then plan. */
body.tool-projects .work-section{padding:0;border-radius:12px}
body.tool-projects .work-section--today .work-list{border-color:color-mix(in srgb,var(--tool-color) 24%,var(--neutral-200));box-shadow:0 4px 18px rgb(31 24 43 / 4%)}
body.tool-projects .work-section--blocked .section-heading{padding-left:12px;border-left:4px solid var(--critical)}
body.tool-projects .work-section--waiting .section-heading{padding-left:12px;border-left:4px solid var(--notice)}
body.tool-projects .work-later{overflow:hidden;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
body.tool-projects .work-later>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:12px;align-items:center;min-height:64px;padding:11px 16px;list-style:none;cursor:pointer}
body.tool-projects .work-later>summary::-webkit-details-marker{display:none}
body.tool-projects .work-later>summary>span:first-child{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center}
body.tool-projects .work-later>summary>span:first-child>.icon{width:18px;height:18px;justify-self:center;color:var(--neutral-500)}
body.tool-projects .work-later>summary>span:first-child>span{display:grid;gap:2px}
body.tool-projects .work-later>summary small{color:var(--neutral-600);font-size:12px}
body.tool-projects .work-later>summary>.icon{width:17px;height:17px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .work-later[open]>summary>.icon{transform:rotate(180deg)}
body.tool-projects .work-later__body{padding:0 12px 12px;border-top:1px solid var(--neutral-200)}
body.tool-projects .work-later__body .work-list{margin-top:12px}

/* Project workspace: one action, one workbench, supporting detail on demand. */
body.tool-projects .project-command{padding:0;overflow:visible}
body.tool-projects .project-command .project-detail-header{padding:22px 24px 18px}
body.tool-projects .project-title-row{min-width:0}
body.tool-projects .project-title-row h1{font-size:clamp(2rem,3vw,2.65rem);line-height:1.05}
body.tool-projects .project-title-row .page-intro{max-width:68ch;margin-top:8px;font-size:15px;line-height:1.5}
body.tool-projects .project-command__actions{display:flex;align-items:center;gap:8px;flex:none}
body.tool-projects .project-command__actions>.button{min-height:44px}
body.tool-projects .project-more-menu{position:relative}
body.tool-projects .project-more-menu>summary{width:44px;height:44px;list-style:none}
body.tool-projects .project-more-menu>summary::-webkit-details-marker{display:none}
body.tool-projects .project-more-menu .menu-popover{top:50px;right:0;left:auto;min-width:265px;padding:7px}
body.tool-projects .project-workspace-nav{display:flex;align-items:center;gap:4px;padding:0 18px;border-top:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200);background:var(--neutral-50);overflow-x:auto}
body.tool-projects .project-workspace-nav>a{display:flex;align-items:center;gap:7px;min-height:48px;padding:8px 12px;color:var(--neutral-600);font-size:13px;white-space:nowrap}
body.tool-projects .project-workspace-nav>a:hover{color:var(--studio-black);text-decoration:none}
body.tool-projects .project-workspace-nav>a[aria-current="location"]{color:var(--studio-black);font-weight:750;box-shadow:inset 0 -3px var(--tool-color)}
body.tool-projects .project-workspace-nav .icon{width:16px;height:16px}
body.tool-projects .project-overview-details{padding:18px 20px 20px}
body.tool-projects .project-overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);gap:14px;margin-bottom:14px}
body.tool-projects .project-direction-card,body.tool-projects .project-health-card{border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
body.tool-projects .project-direction-card{padding:16px}
body.tool-projects .project-direction-card__heading{display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center;margin-bottom:12px}
body.tool-projects .project-direction-card__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 11%,white);color:var(--tool-color)}
body.tool-projects .project-direction-card__icon .icon{width:19px;height:19px}
body.tool-projects .project-direction-card h2{font-family:var(--font-sans);font-size:1.1rem}
body.tool-projects .project-next-list{display:grid;border-top:1px solid var(--neutral-200)}
body.tool-projects .project-next-list>a{display:grid;grid-template-columns:20px minmax(0,1fr) 17px;gap:10px;align-items:center;min-height:50px;padding:8px 2px;border-bottom:1px solid var(--neutral-200);color:inherit}
body.tool-projects .project-next-list>a:last-child{border-bottom:0}
body.tool-projects .project-next-list>a:hover{text-decoration:none}
body.tool-projects .project-next-list>a>span:nth-child(2){display:grid;gap:2px}
body.tool-projects .project-next-list small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-next-list>a>.icon{width:15px;height:15px;color:var(--neutral-500)}
body.tool-projects .project-health-card{display:grid;align-content:center;gap:12px;padding:18px;background:color-mix(in srgb,var(--tool-color) 4%,white)}
body.tool-projects .project-health-card>div:first-child{display:grid;gap:2px}
body.tool-projects .project-health-card small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-health-card>div:first-child strong{font-size:1.55rem}
body.tool-projects .project-health-card>div:first-child span{color:var(--neutral-600);font-size:13px}
body.tool-projects .project-health-card__facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:5px;border-top:1px solid var(--neutral-200)}
body.tool-projects .project-health-card__facts>span{display:grid;gap:2px}
body.tool-projects .project-snapshot-grid{grid-template-columns:repeat(3,minmax(0,1fr));border-color:var(--neutral-200);background:var(--neutral-200)}
body.tool-projects .project-snapshot{background:var(--neutral-50)}

body.tool-projects .project-workbench{margin-bottom:16px;padding:0;overflow:visible;border-color:var(--neutral-200);box-shadow:0 4px 18px rgb(31 24 43 / 4%)}
body.tool-projects .project-workbench__header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 20px 0;background:var(--paper);border-radius:12px 12px 0 0}
body.tool-projects .project-workbench__header h2{font-family:var(--font-sans);font-size:1.3rem}
body.tool-projects .project-workbench__header p:not(.eyebrow){margin:4px 0 14px;color:var(--neutral-600);font-size:13px}
body.tool-projects .project-workbench__header .view-tabs{flex:none;margin:0;border:0}
body.tool-projects .project-workbench__header .view-tabs a{min-height:44px;border-radius:9px 9px 0 0}
body.tool-projects .project-workbench__toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:12px;align-items:end;padding:14px 16px;border-top:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
body.tool-projects .project-workbench .quick-capture{display:grid;gap:5px;margin:0;padding:0;border:0}
body.tool-projects .project-workbench .quick-capture>label,body.tool-projects .project-view-settings label>span{color:var(--neutral-600);font-size:12px;font-weight:700}
body.tool-projects .project-workbench .quick-capture>span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
body.tool-projects .project-workbench .quick-capture input{min-width:0;height:44px;margin:0}
body.tool-projects .project-workbench .quick-capture .button{height:44px;margin:0}
body.tool-projects .project-view-settings{display:flex;align-items:end;gap:7px;margin:0}
body.tool-projects .project-view-settings label{display:grid;gap:5px;margin:0}
body.tool-projects .project-view-settings select{min-width:120px;height:44px;margin:0}
body.tool-projects .project-view-settings>.button{height:44px;margin:0}
body.tool-projects .project-view-settings>small{display:none;align-items:center;gap:5px;color:var(--neutral-500);font-size:11px}
body.tool-projects .project-view-settings>small>.icon{width:13px;height:13px}
body.tool-projects .project-create-menu{position:relative}
body.tool-projects .project-create-menu>summary{height:44px;list-style:none;cursor:pointer;white-space:nowrap}
body.tool-projects .project-create-menu>summary::-webkit-details-marker{display:none}
body.tool-projects .project-create-menu .menu-popover{top:50px;right:0;left:auto;min-width:270px;padding:7px}
body.tool-projects .project-workbench__body{padding:16px;background:var(--paper);border-radius:0 0 12px 12px}
body.tool-projects .project-workbench__body .task-group{margin-bottom:12px;border-color:var(--neutral-200);box-shadow:none}
body.tool-projects .project-workbench__body .task-group:last-child{margin-bottom:0}
body.tool-projects .task-group>summary{list-style:none;cursor:pointer}
body.tool-projects .task-group>summary::-webkit-details-marker{display:none}
body.tool-projects .task-group>summary>span:first-child>.icon{width:16px;height:16px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .task-group:not([open])>summary>span:first-child>.icon{transform:rotate(-90deg)}
body.tool-projects .task-group__body{border-top:1px solid var(--neutral-200)}
body.tool-projects .task-group__body .project-task-head{border-bottom:0}
body.tool-projects .project-board{margin:0;padding:0;background:transparent}

body.tool-projects .project-support{display:grid;gap:12px;margin-bottom:24px}
body.tool-projects .project-support-card{overflow:hidden;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
body.tool-projects .project-support-card>summary{display:grid;grid-template-columns:40px minmax(0,1fr) auto 18px;gap:11px;align-items:center;min-height:64px;padding:11px 16px;list-style:none;cursor:pointer}
body.tool-projects .project-support-card>summary::-webkit-details-marker{display:none}
body.tool-projects .project-support-card__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}
body.tool-projects .project-support-card__icon .icon{width:18px;height:18px}
body.tool-projects .project-support-card>summary>span:nth-child(2){display:grid;gap:2px}
body.tool-projects .project-support-card>summary small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-support-card>summary>.icon{width:17px;height:17px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .project-support-card[open]>summary>.icon{transform:rotate(180deg)}
body.tool-projects .project-support-card__body{padding:0 16px 16px;border-top:1px solid var(--neutral-200)}
body.tool-projects .project-update-row{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:10px;align-items:center;min-height:64px;padding:10px 0;border-bottom:1px solid var(--neutral-200);color:inherit}
body.tool-projects .project-update-row:hover{text-decoration:none}
body.tool-projects .project-update-row>span:nth-child(2){display:grid;gap:2px;min-width:0}
body.tool-projects .project-update-row small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-update-row>span:nth-child(2)>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--neutral-700);font-size:13px}
body.tool-projects .project-update-row>.icon{width:15px;height:15px;color:var(--neutral-500)}
body.tool-projects .project-people-list{display:grid}
body.tool-projects .project-people-list>div{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:58px;padding:9px 0;border-bottom:1px solid var(--neutral-200)}
body.tool-projects .project-people-list>div>span:nth-child(2){display:grid;gap:2px}
body.tool-projects .project-people-list small{color:var(--neutral-600);font-size:12px}
body.tool-projects .project-support-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:14px}
body.tool-projects .project-support-card .project-knowledge-list{margin:0}

@media(max-width:1100px){
  body.tool-projects .project-directory__head,body.tool-projects .project-directory__row{grid-template-columns:minmax(260px,1.8fr) 110px minmax(140px,.8fr) 125px 20px}
  body.tool-projects .project-directory__owner{display:none}
  body.tool-projects .project-workbench__toolbar{grid-template-columns:1fr auto}
  body.tool-projects .project-workbench .quick-capture{grid-column:1/-1}
  body.tool-projects .project-overview-grid{grid-template-columns:1fr minmax(220px,.55fr)}
}

@media(max-width:700px){
  body.tool-projects .portfolio-focus{align-items:stretch;flex-direction:column;gap:14px;padding:14px}
  body.tool-projects .portfolio-focus__facts{border-top:1px solid var(--neutral-200);padding-top:12px}
  body.tool-projects .portfolio-focus__facts>span{flex:1;min-width:0;padding:2px 8px;border-left:1px solid var(--neutral-200)}
  body.tool-projects .portfolio-focus__facts>span:first-child{border-left:0}
  body.tool-projects .project-directory{overflow:visible;border:0;background:transparent;box-shadow:none}
  body.tool-projects .project-directory__heading{padding:0 0 12px;background:transparent}
  body.tool-projects .project-directory__head{display:none}
  body.tool-projects .project-directory__rows{display:grid;gap:12px}
  body.tool-projects .project-directory__row{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:0;padding:15px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
  body.tool-projects .project-directory__identity{grid-column:1/-1}
  body.tool-projects .project-directory__identity>span>span{white-space:normal;line-height:1.4}
  body.tool-projects .project-directory__health{grid-column:1;grid-row:2}
  body.tool-projects .project-directory__progress{grid-column:1/-1;grid-row:3}
  body.tool-projects .project-directory__date{grid-column:1;grid-row:4}
  body.tool-projects .project-directory__open{grid-column:2;grid-row:2/5;align-self:center}
  body.tool-projects .project-directory__open{display:none}
  body.tool-projects .project-command .project-detail-header{padding:17px 16px 15px}
  body.tool-projects .project-command__actions{width:100%;padding-left:56px}
  body.tool-projects .project-command__actions>.button{flex:1;justify-content:center}
  body.tool-projects .project-workspace-nav{padding:0 8px}
  body.tool-projects .project-workspace-nav>a{min-height:46px;padding:8px 10px}
  body.tool-projects .project-overview-details{padding:0}
  body.tool-projects .project-overview-grid{grid-template-columns:1fr;margin-top:14px}
  body.tool-projects .project-direction-card{padding:14px}
  body.tool-projects .project-health-card{padding:14px}
  body.tool-projects .project-snapshot-grid{grid-template-columns:1fr}
  body.tool-projects .project-workbench__header{align-items:stretch;flex-direction:column;gap:0;padding:16px 14px 0}
  body.tool-projects .project-workbench__header .view-tabs{width:100%;overflow-x:auto}
  body.tool-projects .project-workbench__header .view-tabs>a{flex:1;justify-content:center;min-width:max-content}
  body.tool-projects .project-workbench__toolbar{grid-template-columns:1fr;padding:12px}
  body.tool-projects .project-view-settings{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.tool-projects .project-view-settings label{min-width:0}
  body.tool-projects .project-view-settings select{width:100%;min-width:0}
  body.tool-projects .project-view-settings>.button{grid-column:1/-1;width:100%;justify-content:center}
  body.tool-projects .project-create-menu,body.tool-projects .project-create-menu>summary{width:100%}
  body.tool-projects .project-create-menu>summary{justify-content:center}
  body.tool-projects .project-workbench__body{padding:12px}
  body.tool-projects .project-board{display:grid;grid-template-columns:1fr!important;gap:12px;overflow:visible}
  body.tool-projects .project-board .board-column{width:100%;min-width:0}
  body.tool-projects .project-support-card>summary{grid-template-columns:38px minmax(0,1fr) auto 17px;padding:10px 12px}
  body.tool-projects .project-support-card__body{padding:0 12px 12px}
  body.tool-projects .project-update-row>span:nth-child(2)>span{white-space:normal}
  body.tool-projects .project-people-list>div{grid-template-columns:34px minmax(0,1fr)}
  body.tool-projects .project-people-list .status{grid-column:2;justify-self:start}
  body.tool-projects .project-support-actions{display:grid;grid-template-columns:1fr}
  body.tool-projects .project-support-actions .button{width:100%;justify-content:center}
  body.tool-projects .work-later>summary{padding:10px 12px}
}
/* Limelight My work uses the library's directory layout and components. These
   row rules are feature-owned because a task has a separate submit action. */
body.lm-my-work .lm-my-undo{display:flex;align-items:center;gap:.8rem;padding:.85rem 1.1rem;border-left:4px solid var(--lm-success)}
body.lm-my-work .lm-my-undo>div{min-width:0;flex:1}
body.lm-my-work .lm-my-undo p{color:var(--lm-muted);font-size:var(--lm-small)}
body.lm-my-work .lm-my-undo form{margin:0;flex:none}
body.lm-my-work .lm-my-work-tabs{margin:0}
body.lm-my-work .lm-my-work-brief{display:grid;grid-template-columns:2.47rem minmax(9rem,.8fr) minmax(0,1.2fr);align-items:center;gap:.75rem;padding:.9rem 1.18rem}
body.lm-my-work .lm-my-work-brief__count,body.lm-my-work .lm-my-work-brief__focus{min-width:0}
body.lm-my-work .lm-my-work-brief__count p{color:var(--lm-muted);font-size:var(--lm-small)}
body.lm-my-work .lm-my-work-brief__focus{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding-left:1rem;border-left:1px solid var(--lm-line);color:var(--lm-ink);text-decoration:none}
body.lm-my-work .lm-my-work-brief__focus>span:first-child{display:grid;gap:.15rem;min-width:0}
body.lm-my-work .lm-my-work-brief__focus strong{font-weight:600;line-height:1.3;overflow-wrap:anywhere}
body.lm-my-work .lm-my-work-brief__focus>.icon{flex:none;color:var(--lm-accent-ink)}
body.lm-my-work .lm-my-work-brief__focus:hover strong{text-decoration:underline;text-underline-offset:.14em}
body.lm-my-work .lm-directory>.lm-toolbar{border-top:0}
body.lm-my-work .lm-my-work-toolbar{gap:1rem;align-items:flex-end}
body.lm-my-work .lm-my-work-toolbar>.lm-search{width:min(22rem,100%);flex:1 1 15rem}
body.lm-my-work .lm-my-work-toolbar>.lm-search input,body.lm-my-work .lm-my-work-filters__fields select,body.lm-my-work .lm-my-work-filters__fields>.lm-button{height:max(46px,var(--lm-control-height));min-height:max(46px,var(--lm-control-height))}
body.lm-my-work .lm-my-work-filters{flex:none;min-width:0;margin:0;padding:0;border:0;background:transparent}
body.lm-my-work .lm-my-work-filters>summary{display:none}
body.lm-my-work .lm-my-work-filters__fields{display:flex;align-items:end;gap:.6rem}
body.lm-my-work .lm-my-work-filters__fields label{display:grid;gap:.2rem;min-width:8rem;margin:0;color:var(--lm-muted);font-size:var(--lm-caption)}
body.lm-my-work .lm-my-work-filters__fields select{width:100%;min-width:0;min-height:var(--lm-control-height);padding:.5rem 2rem .5rem .7rem;border:1px solid var(--lm-control-line);border-radius:var(--lm-radius-control);background:#fff;color:var(--lm-ink);font-size:var(--lm-small)}
body.lm-my-work .lm-my-work-filters__fields>.lm-button{white-space:nowrap}
body.lm-my-work .lm-my-work-groups{display:grid}
body.lm-my-work .lm-my-work-group{min-width:0;border-top:1px solid var(--lm-line)}
body.lm-my-work .lm-my-work-group__heading{display:flex;align-items:center;gap:.75rem;padding:1.05rem 0 .75rem}
body.lm-my-work .lm-my-work-group__heading>div{min-width:0;flex:1}
body.lm-my-work .lm-my-work-group__heading h3{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:1.1rem}
body.lm-my-work .lm-my-work-list{min-width:0}
body.lm-my-work .lm-my-work-list__head,body.lm-my-work .lm-my-work-row{display:grid;grid-template-columns:44px minmax(11rem,2fr) minmax(6.5rem,.9fr) minmax(6.5rem,.85fr) minmax(4rem,.55fr) minmax(6rem,.85fr);gap:.7rem;align-items:center}
body.lm-my-work .lm-my-work-list__head{padding:.3rem 0 .65rem;border-bottom:1px solid #b9b5bd;color:var(--lm-muted);font-size:var(--lm-caption)}
body.lm-my-work .lm-my-work-row{min-height:5.4rem;padding:.8rem 0;border-bottom:1px solid var(--lm-line);font-size:var(--lm-small)}
body.lm-my-work .lm-my-work-row:last-child{border-bottom:0}
body.lm-my-work .lm-my-work-row__complete form{margin:0}
body.lm-my-work .lm-my-work-row__complete :is(button,.lm-my-work-row__done){display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--lm-control-line);border-radius:var(--lm-radius-control);background:#fff;color:var(--lm-accent-ink)}
body.lm-my-work .lm-my-work-row__complete button{cursor:pointer}
body.lm-my-work .lm-my-work-row__complete button:hover{background:var(--lm-tint);border-color:var(--lm-accent-ink)}
body.lm-my-work .lm-my-work-row__complete .lm-my-work-row__done{background:#eaf4ee;color:var(--lm-success);border-color:var(--lm-success)}
body.lm-my-work .lm-my-work-row__title{display:grid;grid-template-columns:2.24rem minmax(0,1fr) 2.59rem;gap:.65rem;align-items:center;color:var(--lm-ink);text-decoration:none;min-width:0}
body.lm-my-work .lm-my-work-row__title:hover strong{text-decoration:underline;text-underline-offset:.15em}
body.lm-my-work .lm-my-work-row__title .lm-open{justify-self:end}
body.lm-my-work .lm-my-work-row__title .lm-icon-tile{width:2.24rem;height:2.24rem}
body.lm-my-work .lm-my-work-row__title>span:nth-child(2){display:grid;gap:.2rem;min-width:0}
body.lm-my-work .lm-my-work-row__title strong{overflow-wrap:anywhere;line-height:1.35}
body.lm-my-work .lm-my-work-row__title small{font-size:var(--lm-caption)}
body.lm-my-work .lm-my-work-row :is(.lm-my-work-row__project,.lm-my-work-row__due,.lm-my-work-row__priority,.lm-my-work-row__status){min-width:0;overflow-wrap:anywhere}
body.lm-my-work .lm-my-work-row :is(.lm-my-work-row__project,.lm-my-work-row__due){color:var(--lm-muted)}
body.lm-my-work .lm-my-work-row__due.is-overdue{color:var(--lm-danger)}
body.lm-my-work .lm-my-work-row__priority{font-weight:600}
body.lm-my-work .lm-my-work-row :is(.lm-my-work-row__project,.lm-my-work-row__due,.lm-my-work-row__priority,.lm-my-work-row__status)>small{display:none}
body.lm-my-work .lm-my-work-empty{padding:.9rem 0 1.3rem;color:var(--lm-muted);font-size:var(--lm-small)}
body.lm-my-work .lm-my-work-later{border:0;border-top:1px solid var(--lm-line);border-radius:0;box-shadow:none}
body.lm-my-work .lm-my-work-later>summary{padding:1rem 0}
body.lm-my-work .lm-my-work-later>summary>.lm-pill{margin-left:auto;flex:none;white-space:nowrap}
body.lm-my-work .lm-my-work-later>summary::after{margin-left:0}
body.lm-my-work .lm-my-work-later>div{padding:0}
@media(min-width:1001px){
  body.lm-my-work .voice-quick-launch{right:14px;bottom:calc(82px + env(safe-area-inset-bottom));grid-template-columns:44px;width:58px;min-width:58px;height:58px;min-height:58px;padding:7px;border-radius:16px}
  body.lm-my-work .voice-quick-launch-icon{width:44px;height:44px}
  body.lm-my-work .voice-quick-launch>span:last-child{display:none}
  body.lm-my-work .lm-my-work-toolbar,body.lm-my-work .lm-my-work-group__heading,body.lm-my-work .lm-my-work-list__head,body.lm-my-work .lm-my-work-row{padding-right:4.75rem}
}
@media(max-width:1050px){
  body.lm-my-work .lm-my-work-brief{grid-template-columns:2.47rem minmax(0,1fr)}
  body.lm-my-work .lm-my-work-brief__focus{grid-column:2;grid-row:2;margin-top:.15rem;padding-left:0;border-left:0}
  body.lm-my-work .lm-my-work-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}
  body.lm-my-work .lm-my-work-toolbar>.lm-search{width:100%}
  body.lm-my-work .lm-my-work-filters__fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto}
  body.lm-my-work .lm-my-work-list__head{display:none}
  body.lm-my-work .lm-my-work-row{grid-template-columns:44px repeat(2,minmax(0,1fr));gap:.5rem .8rem;align-items:start;padding:1rem 0}
  body.lm-my-work .lm-my-work-row__complete{grid-column:1;grid-row:1}
  body.lm-my-work .lm-my-work-row__title{grid-column:2/-1;grid-row:1;min-height:44px}
  body.lm-my-work .lm-my-work-row__project{grid-column:2;grid-row:2}
  body.lm-my-work .lm-my-work-row__due{grid-column:3;grid-row:2}
  body.lm-my-work .lm-my-work-row__priority{grid-column:2;grid-row:3}
  body.lm-my-work .lm-my-work-row__status{grid-column:3;grid-row:3}
  body.lm-my-work .lm-my-work-row :is(.lm-my-work-row__project,.lm-my-work-row__due,.lm-my-work-row__priority,.lm-my-work-row__status)>small{display:block;color:var(--lm-muted);font-size:var(--lm-caption);font-weight:400}
}
@media(max-width:1000px){
  body.lm-my-work .lm-mobile-dock>.voice-quick-launch{position:static;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:auto;min-width:44px;height:auto;min-height:48px;padding:4px;border:0;border-radius:8px;box-shadow:none;background:transparent;color:#534d5b;text-align:center;font:400 .765rem/1.3 var(--lm-font)}
  body.lm-my-work .lm-mobile-dock>.voice-quick-launch .voice-quick-launch-icon{width:23px;height:23px;border-radius:0;background:transparent}
  body.lm-my-work .lm-mobile-dock>.voice-quick-launch .voice-quick-launch-icon .icon{width:23px;height:23px}
  body.lm-my-work .lm-mobile-dock>.voice-quick-launch>span:last-child{display:none}
  body.lm-my-work .lm-mobile-dock>.voice-quick-launch::after{content:"Voice"}
}
@media(max-width:700px){
  body.lm-my-work .lm-stage--compact{padding:.8rem 1rem}
  body.lm-my-work .lm-stage--compact h1{margin:.35rem 0 .2rem}
  body.lm-my-work .lm-my-work-brief{grid-template-columns:2.47rem minmax(0,1fr);gap:.45rem .7rem;padding:.75rem .85rem}
  body.lm-my-work .lm-my-work-brief__focus{grid-column:2;grid-row:auto;margin-top:.1rem}
  body.lm-my-work .lm-my-undo{display:grid;grid-template-columns:2.47rem minmax(0,1fr);padding:.85rem}
  body.lm-my-work .lm-my-undo form{grid-column:2}
  body.lm-my-work .lm-my-work-filters{border:1px solid var(--lm-line);border-radius:var(--lm-radius-control);background:#fff}
  body.lm-my-work .lm-my-work-filters>summary{display:flex;align-items:center;gap:.55rem;min-height:var(--lm-control-height);padding:.6rem .75rem;list-style:none;cursor:pointer;font-size:var(--lm-small);font-weight:600}
  body.lm-my-work .lm-my-work-filters>summary::-webkit-details-marker{display:none}
  body.lm-my-work .lm-my-work-filters>summary>.icon:last-child{margin-left:auto}
  body.lm-my-work .lm-my-work-filters[open]>summary>.icon:last-child{transform:rotate(180deg)}
  body.lm-my-work .lm-my-work-filters__fields{grid-template-columns:minmax(0,1fr);padding:.75rem;border-top:1px solid var(--lm-line)}
  body.lm-my-work .lm-my-work-filters__fields label{min-width:0}
  body.lm-my-work .lm-my-work-filters__fields>.lm-button{width:100%}
  body.lm-my-work .lm-my-work-row{grid-template-columns:44px minmax(0,1fr);gap:.6rem .7rem}
  body.lm-my-work .lm-my-work-row__title{grid-column:2}
  body.lm-my-work .lm-my-work-row__title .lm-icon-tile{display:none}
  body.lm-my-work .lm-my-work-row__title{grid-template-columns:minmax(0,1fr) 2.59rem}
  body.lm-my-work .lm-my-work-row__project,body.lm-my-work .lm-my-work-row__due{grid-column:2;grid-row:auto}
  body.lm-my-work .lm-my-work-row__priority{grid-column:2;grid-row:auto}
  body.lm-my-work .lm-my-work-row__status{grid-column:2;grid-row:auto}
  body.lm-my-work .lm-my-work-row__project,body.lm-my-work .lm-my-work-row__due{font-size:var(--lm-small)}
}
body.lm-my-work .lm-my-work-row__priority.is-routine{color:var(--lm-muted);font-weight:400}
/* Domain compositions: canonical Limelight form/field and directory primitives. */
.lm-task-create__section{display:grid;gap:1rem;min-width:0;margin:0;padding:1.4rem 0 0;border:0;border-top:1px solid var(--lm-line)}
.lm-task-create__section legend{float:left;width:100%;padding:0;font:700 1.2rem/1.3 var(--lm-font);color:var(--lm-ink)}
.lm-task-create__hint{color:var(--lm-muted);font-size:var(--lm-small)}
.lm-task-create .lm-field>label{font-size:.94rem;font-weight:700;line-height:1.4}
.lm-task-create .lm-field :is(input,select,textarea){font-weight:400;line-height:1.5}
/* Forms and task records contain editable work: the assistant must not cover it. */
body.tool-projects:has(.lm-task-create,.task-focus--detail) .voice-quick-launch{position:static;width:max-content;max-width:calc(100% - 48px);margin:1rem 24px 24px auto}
@media(max-width:1024px){
  body.tool-projects:has(.lm-task-create,.task-focus--detail) .voice-quick-launch{margin-bottom:100px;grid-template-columns:44px minmax(0,1fr);height:auto}
  body.tool-projects:has(.lm-task-create,.task-focus--detail) .voice-quick-launch>span:last-child{display:grid}
}
.lm-project-preview{position:relative}
.lm-project-preview--open{z-index:3}
.lm-project-preview__name{color:var(--lm-ink);text-decoration:none}
.lm-project-preview__name:hover{text-decoration:underline}
.lm-project-preview .lm-identity>div{min-width:0}
.lm-project-preview .lm-identity small{display:block}
.lm-project-preview__banner{position:absolute;top:100%;left:0;width:min(32rem,100%);max-height:18rem;overflow:auto;padding:1rem 1.2rem;border:1px solid var(--lm-control-line);border-left:4px solid var(--lm-accent-ink);border-radius:var(--lm-radius-card);background:var(--lm-paper);box-shadow:var(--lm-shadow);color:var(--lm-ink);font-size:1rem;overflow-wrap:anywhere}
.lm-project-preview__banner p{margin-top:.5rem;white-space:pre-line;line-height:1.5}
.lm-project-preview--above .lm-project-preview__banner{top:auto;bottom:100%}
@media(max-width:600px){.lm-task-create .lm-field-pair{grid-template-columns:minmax(0,1fr)}}

/* A quiet checklist: one action, then the task title; no repeated folder tiles. */
body.lm-my-work .lm-my-work-group__heading>.lm-icon-tile{display:none}
body.lm-my-work .lm-my-work-group__heading{padding:1rem 0 .65rem}
body.lm-my-work .lm-my-work-group__heading h3{font-size:1rem;gap:.5rem}
body.lm-my-work .lm-my-work-group__heading .lm-badge{min-width:1.5rem;min-height:1.5rem;padding:.12rem .45rem;border:0;border-radius:6px;background:var(--lm-tint);color:var(--lm-accent-ink);font-size:.75rem;font-weight:600;line-height:1.2}
body.lm-my-work .lm-my-work-group__heading .lm-kicker{margin-top:.2rem;font-size:var(--lm-caption)}
body.lm-my-work .lm-my-work-row__title>.lm-icon-tile{display:none}
body.lm-my-work .lm-my-work-row__title{grid-template-columns:minmax(0,1fr) 2.59rem}
body.lm-my-work .lm-my-work-row .lm-my-work-row__complete button{border:0;background:transparent;border-radius:8px;position:relative}
body.lm-my-work .lm-my-work-row__complete button::before{content:'';width:22px;height:22px;border:1.5px solid var(--lm-control-line);border-radius:6px;background:var(--lm-paper)}
body.lm-my-work .lm-my-work-row__complete button:hover::before{border-color:var(--lm-accent-ink);background:var(--lm-tint)}
body.lm-my-work .lm-my-work-row__complete button:focus-visible{outline:2px solid var(--lm-accent-ink);outline-offset:2px}
@media(forced-colors:active){body.lm-my-work .lm-my-work-row__complete button::before{border-color:ButtonText}}
/* Domain composition only: canonical Limelight chrome, fields and disclosures. */
.lm .project-history-body{max-width:1040px;width:100%;margin-inline:auto;min-width:0;gap:20px}
.lm .project-history-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--lm-muted);font-size:var(--lm-small)}
.lm .project-history-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(2,minmax(150px,1fr));gap:16px;align-items:end;margin-top:16px}
.lm .project-history-filters .lm-form-actions{margin:0;align-self:end}
.lm .project-history-filters .lm-form-errors{grid-column:1/-1}
.lm .project-history-heading,.lm .project-history-day__heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.lm .project-history-heading h2{display:flex;align-items:center;gap:8px}
.lm .project-history-page-hint{font-size:var(--lm-small);color:var(--lm-muted)}
.lm .project-history-day{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;align-items:start}
.lm .project-history-day__heading{display:grid;gap:8px;padding:8px 0;border:0;color:var(--lm-muted)}
.lm .project-history-day__heading h3{display:grid;gap:4px;font-size:var(--lm-small);margin:0;scroll-margin-top:100px}
.lm .project-history-day__heading h3>span{font-size:2.5rem;line-height:1;font-weight:600;color:var(--lm-accent-ink);font-variant-numeric:tabular-nums}
.lm .project-history-day__heading small{font-size:var(--lm-small)}
.lm .project-story-chapter{position:relative;min-width:0;border-left:1px solid var(--lm-control-line);padding-left:24px}
.lm .project-history-events{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.lm .project-history-event{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px 16px;align-items:start;padding:20px 24px;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:var(--lm-white,#fff);scroll-margin-top:100px;transition:border-color 180ms ease,box-shadow 180ms ease}
.lm .project-history-event::before{content:"";position:absolute;left:-30px;top:32px;width:9px;height:9px;border-radius:50%;background:var(--lm-accent-ink);box-shadow:0 0 0 5px var(--lm-paper,#f4f3f1)}
.lm .project-history-event:hover,.lm .project-history-event:focus-within{border-color:var(--lm-accent-ink);box-shadow:0 4px 18px rgb(25 20 32 / 6%)}
.lm .project-history-event>.lm-button{grid-column:2;justify-self:start}
.lm .project-history-event__icon{display:grid;place-items:center;width:40px;height:40px;background:var(--lm-tint);color:var(--lm-accent-ink);border-radius:var(--lm-radius-control)}
.lm .project-history-event__copy{min-width:0;overflow-wrap:anywhere}
.lm .project-history-event__copy h4{font-size:1.1rem;margin:8px 0 3px;line-height:1.3}
.lm .project-history-event__copy p{margin:4px 0}
.lm .project-history-event__actor{font-size:var(--lm-small);color:var(--lm-muted)}
.lm .project-history-event__meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:var(--lm-small);color:var(--lm-muted)}
.lm .project-history-more{margin-top:14px;background:transparent;border:0;border-radius:0}
.lm .project-history-more>summary{padding:10px 0;min-height:44px}
.lm .project-story-filters>summary{display:flex;align-items:center;gap:12px}
.lm .project-story-filters>summary>span:nth-child(2){display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.lm .project-story-filters small{font-size:var(--lm-small);font-weight:400;color:var(--lm-muted)}
.lm .project-story-filters__hint{display:none}
.lm .project-story-filters>summary strong{font-size:1rem}
.lm .project-story-filters>summary>span:nth-child(2){flex:1}
.lm .project-story-filters .project-history-filters{padding:24px;margin:0;gap:24px 20px}
.lm-shell.tool-projects .lm .project-history-filters :is(input,select){height:auto;min-height:52px;line-height:1.5;padding-block:10px;box-sizing:border-box}
.lm .project-history-filters .lm-field>label{display:block;margin-bottom:8px}
.lm .project-history-filter-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;border-top:1px solid var(--lm-line);padding-top:20px}
.lm .project-history-filter-footer>p{margin:0;font-size:var(--lm-small);color:var(--lm-muted)}
.lm .project-history-filter-footer .lm-form-actions{border:0;padding:0}
.lm .project-story-current{display:flex;align-items:flex-start;gap:12px 20px;flex-wrap:wrap;padding:16px 20px;border-left:3px solid var(--lm-control-line);border-radius:var(--lm-radius-control);background:var(--lm-tint)}
.lm .project-story-current>div{flex:1 1 28rem;min-width:0}
.lm .project-story-current strong{font-size:1rem;font-weight:600}
.lm .project-story-current p{margin:4px 0;padding:0;border:0;background:none;font-size:var(--lm-small);color:var(--lm-muted);line-height:1.6}
.lm .project-story-current a{font-size:var(--lm-small);min-height:44px;display:inline-flex;align-items:center;gap:8px}
.lm .project-story-current__links{display:flex;gap:8px 16px;flex-wrap:wrap}
.lm .project-history-event__excerpt{max-width:65ch;font-size:1rem;line-height:1.6}
.lm .project-story-index{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 12px}
.lm .project-story-index a{display:grid;gap:4px;min-width:88px;padding:10px 16px;border-radius:var(--lm-radius-control);background:var(--lm-tint);color:var(--lm-accent-ink);text-decoration:none;font-weight:650}
.lm .project-story-index small{font-size:var(--lm-small);font-weight:400}
.lm .project-story-exits{display:flex;gap:16px;flex-wrap:wrap;padding-top:12px}
.lm .project-story-exits a{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:600}
@media(prefers-reduced-motion:reduce){.lm .project-history-event{transition:none}}
@keyframes project-story-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){html:not([data-reduce-motion="true"]) .project-history-more[open]>.project-history-events{animation:project-story-reveal 180ms ease-out}}
html[data-reduce-motion="true"] .project-history-event{transition:none}
.lm .project-history-source-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}
.lm .project-history-source-facts dt{font-size:var(--lm-small);color:var(--lm-muted)}
.lm .project-history-source-facts dd{margin:4px 0 0;font-weight:650}
.lm .project-history-excerpt{padding-top:20px;border-top:1px solid var(--lm-line);overflow-wrap:anywhere;max-width:70ch}
.lm-shell.tool-projects:has(.project-history-body) .voice-quick-launch{position:static;width:max-content;max-width:calc(100% - 48px);margin:1rem 24px 24px auto}
@media(max-width:768px){.lm .project-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.lm .project-history-filters>.lm-field:first-of-type,.lm .project-history-filters>.lm-form-actions{grid-column:1/-1}.lm .project-history-event{grid-template-columns:32px minmax(0,1fr);padding:16px;gap:12px}.lm .project-history-event__icon{width:32px;height:32px}.lm .project-history-event>.lm-button{grid-column:2;justify-self:start}.lm .project-history-day__heading{padding:16px}.lm .project-history-source-facts{grid-template-columns:1fr}.lm .project-history-current{padding:16px}}
@media(max-width:768px){.lm .project-history-day{grid-template-columns:1fr;gap:12px}.lm .project-history-day__heading{padding:8px 0;display:flex;align-items:center;gap:12px}.lm .project-history-day__heading h3{display:flex;align-items:baseline;gap:8px}.lm .project-history-day__heading h3>span{font-size:1.7rem}.lm .project-story-chapter{margin-left:5px;padding-left:16px}.lm .project-history-event::before{left:-22px}.lm .project-story-filters .project-history-filters{padding:0 16px 16px}}
@media(max-width:768px){.lm .project-story-filters .project-history-filters{padding:20px 16px}}
@media(max-width:480px){.lm .project-history-filters{grid-template-columns:minmax(0,1fr)}.lm .project-history-filters .lm-form-actions{flex-wrap:wrap}.lm .project-story-filters__hint{display:none}.lm .project-history-filter-footer .lm-form-actions{width:100%;display:grid;grid-template-columns:1fr}.lm .project-history-filter-footer button{grid-row:1}.lm .project-story-current{padding:16px}.lm .project-story-current>div{flex-basis:calc(100% - 44px)}}
/* Projects table board: familiar spreadsheet mechanics inside the calm Symphony shell. */
body.tool-projects .project-board-shell{
  --board-line:var(--neutral-200);
  --board-soft:color-mix(in srgb,var(--tool-color) 5%,white);
  --board-focus:color-mix(in srgb,var(--tool-color) 14%,white);
}

body.tool-projects .board-compose{
  display:grid;
  grid-template-columns:minmax(280px,1fr) auto;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  border-top:1px solid var(--board-line);
  background:var(--neutral-50);
}
body.tool-projects .board-compose .quick-capture>span{
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:44px;
  padding-left:12px;
  border:1px solid var(--neutral-300);
  border-radius:10px;
  background:var(--paper);
}
body.tool-projects .board-compose .quick-capture>span:focus-within{
  border-color:var(--tool-color);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--tool-color) 18%,transparent);
}
body.tool-projects .board-compose .quick-capture .icon{
  width:18px;
  height:18px;
  color:var(--tool-color);
}
body.tool-projects .board-compose .quick-capture input{
  width:100%;
  height:42px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:15px;
}
body.tool-projects .board-compose .quick-capture input:focus{outline:0;box-shadow:none}
body.tool-projects .board-compose .quick-capture .button{
  min-width:92px;
  height:36px;
  min-height:36px;
  margin-right:4px;
}

body.tool-projects .board-viewbar{
  position:relative;
  display:grid;
  grid-template-columns:minmax(170px,1fr) repeat(3,minmax(116px,auto)) auto auto;
  gap:8px;
  align-items:end;
  padding:11px 16px;
  border-top:1px solid var(--board-line);
  border-bottom:1px solid var(--board-line);
  background:var(--paper);
}
body.tool-projects .board-viewbar>label:not(.board-search){display:grid;gap:4px}
body.tool-projects .board-viewbar>label>span{
  color:var(--neutral-600);
  font-size:11px;
  font-weight:750;
}
body.tool-projects .board-viewbar select,
body.tool-projects .board-viewbar .button{
  width:100%;
  min-width:0;
  height:40px;
  min-height:40px;
  margin:0;
  font-size:13px;
}
body.tool-projects .board-search{
  position:relative;
  display:flex;
  align-items:center;
  align-self:end;
  min-width:0;
}
body.tool-projects .board-search>.icon{
  position:absolute;
  left:12px;
  z-index:1;
  width:16px;
  height:16px;
  color:var(--neutral-500);
  pointer-events:none;
}
body.tool-projects .board-search input{
  width:100%;
  height:40px;
  margin:0;
  padding:0 12px 0 38px;
  font-size:14px;
}
body.tool-projects .board-column-picker{position:relative;align-self:end}
body.tool-projects .board-column-picker>summary{list-style:none;cursor:pointer}
body.tool-projects .board-column-picker>summary::-webkit-details-marker{display:none}
body.tool-projects .board-column-picker__menu{
  position:absolute;
  top:46px;
  right:0;
  z-index:12;
  display:grid;
  gap:5px;
  width:220px;
  padding:12px;
  border:1px solid var(--neutral-200);
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 12px 32px rgb(31 24 43 / 14%);
}
body.tool-projects .board-column-picker__menu>strong{margin-bottom:4px;font-size:13px}
body.tool-projects .board-column-picker__menu label{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:36px;
  margin:0;
  padding:5px 7px;
  border-radius:8px;
  font-size:14px;
  cursor:pointer;
}
body.tool-projects .board-column-picker__menu label:hover{background:var(--neutral-50)}
body.tool-projects .board-column-picker__menu input{width:18px;height:18px;margin:0}
body.tool-projects .board-viewbar>small{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--neutral-500);
  font-size:11px;
}
body.tool-projects .board-viewbar>small>.icon{width:13px;height:13px}

body.tool-projects .project-main-table{display:grid;gap:14px;min-width:0}
body.tool-projects .task-board-group{
  position:relative;
  overflow:visible;
  margin:0;
  border:1px solid var(--board-line);
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 2px 10px rgb(31 24 43 / 3%);
  min-width:0;
  width:100%;
  max-width:100%;
}
body.tool-projects .task-board-group>summary{
  display:grid;
  grid-template-columns:5px minmax(0,1fr) 18px;
  gap:11px;
  align-items:center;
  min-height:54px;
  padding:8px 15px 8px 0;
  list-style:none;
  cursor:pointer;
}
body.tool-projects .task-board-group>summary::-webkit-details-marker{display:none}
body.tool-projects .task-board-group__marker{
  align-self:stretch;
  width:5px;
  border-radius:0 4px 4px 0;
  background:var(--tool-color);
}
body.tool-projects .task-board-group>summary>span:nth-child(2){display:flex;align-items:baseline;gap:9px;min-width:0}
body.tool-projects .task-board-group>summary strong{font-size:15px}
body.tool-projects .task-board-group>summary small{color:var(--neutral-500);font-size:12px}
body.tool-projects .task-board-group>summary>.icon{
  width:16px;
  height:16px;
  transition:transform var(--duration-fast) var(--ease-standard);
}
body.tool-projects .task-board-group:not([open])>summary>.icon{transform:rotate(-90deg)}
body.tool-projects .task-board-group__tools{
  position:absolute;
  top:7px;
  right:42px;
  z-index:3;
}
body.tool-projects .task-board-group__tools>details{position:relative}
body.tool-projects .task-board-group__tools summary{list-style:none}
body.tool-projects .task-board-group__tools summary::-webkit-details-marker{display:none}
body.tool-projects .task-board-group__menu{
  position:absolute;
  top:42px;
  right:0;
  z-index:12;
  display:grid;
  gap:12px;
  width:min(320px,calc(100vw - 48px));
  padding:14px;
  border:1px solid var(--neutral-200);
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 14px 36px rgb(31 24 43 / 16%);
}
body.tool-projects .task-board-group__menu form{display:grid;gap:7px;margin:0}
body.tool-projects .task-board-group__menu label{display:grid;gap:5px;margin:0;font-size:12px;font-weight:700}
body.tool-projects .task-board-group__menu input{height:42px;margin:0}
body.tool-projects .task-board-group__order{display:grid;grid-template-columns:1fr 1fr;gap:7px}
body.tool-projects .task-board-group__order .button{width:100%;justify-content:center}

body.tool-projects .task-board-table-wrap{overflow-x:auto;border-top:1px solid var(--board-line)}
body.tool-projects .task-board-table{
  width:100%;
  min-width:1050px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}
body.tool-projects .task-board-table th,
body.tool-projects .task-board-table td{
  padding:7px 9px;
  border-right:1px solid var(--board-line);
  border-bottom:1px solid var(--board-line);
  vertical-align:middle;
  text-align:left;
}
body.tool-projects .task-board-table th:last-child,
body.tool-projects .task-board-table td:last-child{border-right:0}
body.tool-projects .task-board-table tbody tr:last-child td{border-bottom:0}
body.tool-projects .task-board-table th{
  height:36px;
  padding-block:6px;
  background:var(--neutral-50);
  color:var(--neutral-600);
  font-size:11px;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.tool-projects .task-board-table .task-board-col--task{width:290px}
body.tool-projects .task-board-table .task-board-col--owner{width:135px}
body.tool-projects .task-board-table .task-board-col--status{width:145px}
body.tool-projects .task-board-table .task-board-col--due{width:128px}
body.tool-projects .task-board-table .task-board-col--priority{width:112px}
body.tool-projects .task-board-table .task-board-col--updates{width:92px}
body.tool-projects .task-board-table .task-board-col--actions{width:82px}
body.tool-projects .task-board-table td{height:58px;background:var(--paper);font-size:13px}
body.tool-projects .task-board-table tr:hover td{background:var(--board-soft)}
body.tool-projects .task-board-table tr.is-subitem td:first-child{padding-left:30px}
body.tool-projects .task-board-table input,
body.tool-projects .task-board-table select{
  width:100%;
  min-width:0;
  height:38px;
  margin:0;
  padding-block:0;
  border-color:transparent;
  background:transparent;
  font-size:13px;
}
body.tool-projects .task-board-table input:hover,
body.tool-projects .task-board-table select:hover{border-color:var(--neutral-300);background:var(--paper)}
body.tool-projects .task-board-table input:focus,
body.tool-projects .task-board-table select:focus{border-color:var(--tool-color);background:var(--paper)}
body.tool-projects .task-board-item{display:grid;grid-template-columns:15px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
body.tool-projects .task-board-item>div{display:grid;gap:2px;min-width:0}
body.tool-projects .task-board-item a{overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .task-board-item a:hover{text-decoration:none;color:var(--tool-color)}
body.tool-projects .task-board-item strong{font-size:14px}
body.tool-projects .task-board-item small{
  overflow:hidden;
  color:var(--neutral-500);
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.tool-projects .task-board-title-input{font-weight:700}
body.tool-projects .task-state-ring{width:13px;height:13px}
body.tool-projects .task-board-person{display:flex;align-items:center;gap:8px;min-width:0}
body.tool-projects .task-board-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .task-board-person .mini-avatar{width:28px;height:28px;flex:none;font-size:10px}
body.tool-projects .task-board-status,
body.tool-projects .task-board-priority{
  font-weight:700;
}
body.tool-projects .status-field--complete{background:color-mix(in srgb,var(--success) 9%,white)!important}
body.tool-projects .status-field--blocked,
body.tool-projects .priority-field--urgent{background:color-mix(in srgb,var(--critical) 8%,white)!important}
body.tool-projects .priority-field--high{background:color-mix(in srgb,var(--notice) 10%,white)!important}
body.tool-projects .task-board-updates{display:flex;align-items:center;gap:7px;min-height:38px;color:var(--neutral-700)}
body.tool-projects .task-board-updates:hover{text-decoration:none;color:var(--tool-color)}
body.tool-projects .task-board-updates>.icon{width:16px;height:16px}
body.tool-projects .task-board-updates small{color:var(--neutral-500);font-size:10px}
body.tool-projects .task-board-save{white-space:nowrap}
body.tool-projects .task-board-save .icon-button{display:inline-grid;margin-left:4px}
body.tool-projects .task-board-save .icon-button[type="submit"]{border-color:color-mix(in srgb,var(--tool-color) 25%,var(--neutral-200));color:var(--tool-color)}
body.tool-projects .task-board-empty{padding:22px!important;color:var(--neutral-500);text-align:center!important}

body.tool-projects .task-board-add-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:46px;
  padding:4px 10px;
  border-top:1px solid var(--board-line);
  background:var(--neutral-50);
}
body.tool-projects .task-board-add-row>.icon{width:16px;height:16px;color:var(--neutral-500)}
body.tool-projects .task-board-add-row input{height:38px;margin:0;border-color:transparent;background:transparent;font-size:13px}
body.tool-projects .task-board-add-row input:focus{border-color:var(--tool-color);background:var(--paper)}
body.tool-projects .task-board-add-row button{
  min-width:64px;
  height:36px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--tool-color);
  font:inherit;
  font-weight:750;
  cursor:pointer;
}
body.tool-projects .task-board-add-row button:hover{background:var(--board-focus)}
body.tool-projects .task-board-new-group{
  border:1px dashed var(--neutral-300);
  border-radius:12px;
  background:var(--neutral-50);
  min-width:0;
  width:100%;
  max-width:100%;
}
body.tool-projects .task-board-new-group>summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:48px;
  padding:8px 14px;
  list-style:none;
  color:var(--tool-color);
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}
body.tool-projects .task-board-new-group>summary::-webkit-details-marker{display:none}
body.tool-projects .task-board-new-group>summary>.icon{width:17px;height:17px}
body.tool-projects .task-board-new-group>form{display:grid;gap:7px;padding:0 14px 14px}
body.tool-projects .task-board-new-group label{font-size:12px;font-weight:700}
body.tool-projects .task-board-new-group form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body.tool-projects .task-board-new-group input{height:42px;margin:0}

@media(max-width:1100px){
  body.tool-projects .board-viewbar{grid-template-columns:minmax(180px,1fr) repeat(2,minmax(116px,auto)) auto}
  body.tool-projects .board-viewbar>label:nth-of-type(4){grid-column:auto}
  body.tool-projects .board-column-picker{grid-row:2}
  body.tool-projects .board-viewbar>small{grid-column:auto;align-self:center}
}

@media(max-width:700px){
  body.tool-projects .project-board-shell{margin-inline:0}
  body.tool-projects .board-compose{grid-template-columns:1fr;padding:12px}
  body.tool-projects .board-compose .quick-capture>span{grid-template-columns:20px minmax(0,1fr) 72px;padding-left:10px}
  body.tool-projects .board-compose .quick-capture .button{min-width:68px;padding-inline:8px}
  body.tool-projects .board-viewbar{grid-template-columns:1fr 1fr;padding:10px 12px}
  body.tool-projects .board-search{grid-column:1/-1}
  body.tool-projects .board-column-picker{grid-row:auto}
  body.tool-projects .board-column-picker>summary{justify-content:center}
  body.tool-projects .board-viewbar>.button{width:100%;justify-content:center}
  body.tool-projects .board-viewbar>small{grid-column:1/-1}
  body.tool-projects .project-main-table{gap:12px}
  body.tool-projects .project-main-table>*{min-width:0;max-width:100%}
  body.tool-projects .task-board-group>summary{min-height:56px;padding-right:12px}
  body.tool-projects .task-board-group>summary>span:nth-child(2){display:grid;gap:1px}
  body.tool-projects .task-board-group__tools{top:8px;right:38px}
  body.tool-projects .task-board-table-wrap{overflow:visible;border-top:1px solid var(--board-line)}
  body.tool-projects .task-board-table{display:block;width:100%;min-width:0;max-width:100%}
  body.tool-projects .task-board-table thead{display:none}
  body.tool-projects .task-board-table tbody{display:grid;width:100%;min-width:0}
  body.tool-projects .task-board-table tr{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    border-bottom:1px solid var(--board-line);
    background:var(--paper);
    width:100%;
    min-width:0;
  }
  body.tool-projects .task-board-table tr:last-child{border-bottom:0}
  body.tool-projects .task-board-table td{
    display:grid;
    gap:5px;
    width:auto!important;
    height:auto;
    min-width:0;
    min-height:62px;
    padding:9px 12px;
    border-right:1px solid var(--board-line);
    border-bottom:1px solid var(--board-line);
  }
  body.tool-projects .task-board-table td:nth-child(even){border-right:0}
  body.tool-projects .task-board-table td:first-child{
    grid-column:1/-1;
    min-height:66px;
    padding:11px 12px;
    border-right:0;
  }
  body.tool-projects .task-board-table tr.is-subitem td:first-child{padding-left:26px}
  body.tool-projects .task-board-table td::before{
    content:attr(data-label);
    color:var(--neutral-500);
    font-size:10px;
    font-weight:750;
    letter-spacing:.05em;
    text-transform:uppercase;
  }
  body.tool-projects .task-board-table td:first-child::before{display:none}
  body.tool-projects .task-board-table input,
  body.tool-projects .task-board-table select{height:44px;border-color:var(--neutral-200);background:var(--paper)}
  body.tool-projects .task-board-save{display:flex!important;align-items:center;justify-content:flex-start;gap:6px}
  body.tool-projects .task-board-save::before{width:100%}
  body.tool-projects .task-board-save .icon-button{width:44px;height:44px;flex:0 0 44px;margin:0}
  body.tool-projects .task-board-group__tools .icon-button{width:40px;height:40px}
  body.tool-projects .task-board-add-row{grid-template-columns:18px minmax(0,1fr);padding:7px 10px}
  body.tool-projects .task-board-add-row button{grid-column:2;width:100%;min-height:40px;background:var(--board-focus)}
  body.tool-projects .task-board-new-group form>div{grid-template-columns:1fr}
  body.tool-projects .task-board-new-group .button{width:100%;justify-content:center}
}

@media(prefers-reduced-motion:reduce){
  body.tool-projects .task-board-group>summary>.icon{transition:none}
}
/* HR-owned people imagery shared across Symphony modules. */
.person-avatar{
  position:relative;
  display:inline-grid;
  place-items:center;
  flex:none;
  width:36px;
  height:36px;
  overflow:hidden;
  border:2px solid var(--paper);
  border-radius:50%;
  background:color-mix(in srgb,var(--neutral-900) 7%,var(--paper));
  color:var(--neutral-800);
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
}
.person-avatar img{width:100%;height:100%;object-fit:cover}
.person-avatar--small{width:30px;height:30px;font-size:10px}
.person-avatar--stack{width:38px;height:38px;margin-left:-9px;box-shadow:0 0 0 1px var(--neutral-200)}
.person-avatar--stack:first-child{margin-left:0}
.person-avatar--more{background:var(--neutral-100);font-size:10px}
.person-avatar--profile{width:76px;height:76px;border-width:3px;font-size:20px;box-shadow:0 0 0 1px var(--neutral-200)}
.person-avatar--topbar{width:34px;height:34px;border-width:1px;font-size:10px}
.person-avatar--menu{width:42px;height:42px;border-width:1px;font-size:12px}

.people-profile-identity{display:flex;align-items:center;gap:16px;min-width:0}
.people-profile-photo-wrap{position:relative;display:inline-flex;flex:none}
.people-profile-photo-edit{
  position:absolute;
  right:-3px;
  bottom:-3px;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:2px solid var(--paper);
  border-radius:50%;
  background:var(--neutral-900);
  color:white;
  box-shadow:0 3px 10px rgb(31 24 43 / 16%);
}
.people-profile-photo-edit:hover{color:white;text-decoration:none;transform:translateY(-1px)}
.people-profile-photo-edit .icon{width:15px;height:15px}
.profile-photo-form{max-width:780px;margin-inline:auto;overflow:hidden}
.profile-photo-form>header{display:flex;align-items:center;gap:18px;padding:24px;border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
.profile-photo-form>header h1{margin:.1em 0;font-size:clamp(28px,4vw,40px)}
.profile-photo-form>header p:last-child{margin:0;color:var(--neutral-600)}
.profile-photo-form>form{display:grid;gap:18px;padding:24px}
.profile-photo-form>form>label:not(.checkbox-row){display:grid;gap:7px;font-weight:750}
.profile-photo-form>form>label small{color:var(--neutral-600);font-size:13px;font-weight:500}
.profile-photo-form input[type="file"]{min-height:48px;padding:10px;border:1px dashed var(--neutral-300);border-radius:10px;background:var(--neutral-50)}
.photo-upload-status{margin:-8px 0 0;color:var(--neutral-600);font-size:14px;line-height:1.5}
.profile-photo-form .checkbox-row{display:flex;align-items:center;gap:10px;min-height:44px}
.profile-photo-form .checkbox-row input{width:20px;height:20px;margin:0}
.photo-cropper{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:32px;align-items:center;padding:24px;border:1px solid var(--neutral-200);border-radius:16px;background:var(--neutral-50)}
.photo-cropper[hidden]{display:none}.photo-crop-preview{width:min(100%,280px);aspect-ratio:1;overflow:hidden;border:8px solid var(--paper);border-radius:50%;background:var(--neutral-200);box-shadow:0 0 0 1px var(--neutral-300);cursor:grab;touch-action:none}.photo-crop-preview[data-dragging="true"]{cursor:grabbing}.photo-crop-preview:focus-visible{outline:3px solid var(--focus-ring);outline-offset:4px}.photo-crop-preview img{width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none;transition:transform .12s ease-out,object-position .12s ease-out}
.photo-crop-controls{display:grid;gap:16px}.photo-crop-controls h2{margin:0;font-size:1.2rem}.photo-crop-controls p{max-width:42ch;margin:4px 0 0;color:var(--neutral-600)}.photo-crop-controls label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:12px;font-weight:700}.photo-crop-controls input[type="range"]{width:100%;min-height:44px;margin:0;accent-color:var(--lm-accent,var(--tool-color))}.photo-crop-reset{justify-self:start;min-height:44px}
.profile-photo-unlinked{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:center;padding:24px}.profile-photo-unlinked>.icon{width:24px;height:24px;margin:12px;color:var(--neutral-600)}.profile-photo-unlinked p{margin:4px 0 0;color:var(--neutral-600)}

@media(max-width:700px){
  .person-avatar--profile{width:64px;height:64px}
  .people-profile-identity{align-items:flex-start;gap:12px}
  .profile-photo-form>header,.profile-photo-form>form{padding:18px}
  .photo-cropper{grid-template-columns:1fr;justify-items:center}.photo-crop-controls{width:100%}.photo-crop-controls label{grid-template-columns:1fr;gap:4px}.profile-photo-unlinked{grid-template-columns:40px minmax(0,1fr)}.profile-photo-unlinked .button{grid-column:1/-1;width:100%}
}
@media(prefers-reduced-motion:reduce){.photo-crop-preview img{transition:none}}
/* Project detail: the board is the destination; context is available on demand. */
body.tool-projects .project-command--focused{margin-bottom:14px;border-color:var(--neutral-200);box-shadow:0 8px 24px rgb(31 24 43 / 4%)}
body.tool-projects .project-command--focused .project-detail-header{min-height:0;padding:18px 20px 16px}
body.tool-projects .project-command--focused .project-title-row{align-items:flex-start}
body.tool-projects .project-command--focused .project-icon--large{width:46px;height:46px;border-radius:12px}
body.tool-projects .project-command--focused h1{margin:3px 0 5px;font-size:clamp(26px,3vw,38px);line-height:1.08}
body.tool-projects .project-command--focused .page-intro{max-width:760px;margin:0;color:var(--neutral-600);font-size:15px;line-height:1.45}
body.tool-projects .project-command__aside{display:flex;align-items:center;gap:12px;flex:none}
body.tool-projects .project-avatar-stack{display:flex;align-items:center;padding-left:9px}
body.tool-projects .project-command--focused .project-workspace-nav{padding-inline:12px;border-top:1px solid var(--neutral-200)}
body.tool-projects .project-command--focused .project-workspace-nav>a{min-height:44px;padding:9px 12px;font-size:13px}

body.tool-projects .project-overview-details{padding:0;border-top:1px solid var(--neutral-200);background:var(--neutral-50)}
body.tool-projects .project-overview-details>summary{
  display:grid;
  grid-template-columns:minmax(170px,1fr) auto 18px;
  gap:12px;
  align-items:center;
  min-height:50px;
  padding:8px 18px;
  list-style:none;
  cursor:pointer;
}
body.tool-projects .project-overview-details>summary::-webkit-details-marker{display:none}
body.tool-projects .project-overview-details>summary>span:first-child{display:flex;align-items:center;gap:9px}
body.tool-projects .project-overview-details>summary>span:first-child>.icon{width:17px;height:17px;color:var(--tool-color)}
body.tool-projects .project-overview-details>summary>span:nth-child(2){color:var(--neutral-600);font-size:13px}
body.tool-projects .project-overview-details>summary>.icon{width:16px;height:16px;transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .project-overview-details[open]>summary>.icon{transform:rotate(180deg)}
body.tool-projects .project-overview-focus{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr);
  gap:18px;
  padding:18px;
  border-top:1px solid var(--neutral-200);
  background:var(--paper);
}
body.tool-projects .project-overview-focus>.progress-track{grid-column:1/-1;margin:0}
body.tool-projects .project-overview-focus .section-heading{margin:0 0 9px;padding:0;border:0}
body.tool-projects .project-overview-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:start;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50)}
body.tool-projects .project-overview-facts>div{display:grid;gap:2px;min-width:0;padding:14px;border-left:1px solid var(--neutral-200)}
body.tool-projects .project-overview-facts>div:first-child{border-left:0}
body.tool-projects .project-overview-facts span,body.tool-projects .project-overview-facts small{overflow:hidden;color:var(--neutral-600);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .project-overview-facts strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .project-finance-summary{grid-column:1/-1;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding-top:2px}
body.tool-projects .project-finance-summary>.icon{width:18px;height:18px;color:var(--neutral-500)}
body.tool-projects .project-finance-summary>span{display:grid;gap:2px}
body.tool-projects .project-finance-summary small{color:var(--neutral-600)}

body.tool-projects .project-workbench{margin-top:0;border-color:var(--neutral-200);box-shadow:0 8px 24px rgb(31 24 43 / 4%)}
body.tool-projects .project-workbench__header{align-items:end;padding:14px 16px 0}
body.tool-projects .project-workbench__header>div{padding-bottom:10px}
body.tool-projects .project-workbench__header h2{margin:1px 0 0;font-size:22px}
body.tool-projects .project-workbench__header p:not(.eyebrow){display:none}
body.tool-projects .project-workbench__header .view-tabs{margin:0;border:0}
body.tool-projects .project-workbench__header .view-tabs>a{min-height:42px;padding:8px 12px}

body.tool-projects .project-board-commandbar{display:grid;grid-template-columns:minmax(440px,1fr) auto;gap:24px;align-items:center;padding:10px 16px;border-top:1px solid var(--neutral-200);border-bottom:1px solid var(--neutral-200);background:var(--neutral-50)}
body.tool-projects .project-board-commandbar--viewer{grid-template-columns:minmax(0,520px);justify-content:end}
body.tool-projects .board-compose{display:grid;grid-template-columns:minmax(280px,560px) auto;justify-content:start;gap:10px;align-items:center;min-width:0;padding:0;border:0;background:transparent}
body.tool-projects .board-compose .quick-capture{display:block;width:100%;min-width:0}
body.tool-projects .board-compose .quick-capture>span{box-sizing:border-box;height:46px;min-height:46px}
body.tool-projects .project-create-menu>summary{box-sizing:border-box;height:46px;min-height:46px;margin:0}
body.tool-projects .project-board-tools{position:relative;display:grid;grid-template-columns:minmax(240px,420px) auto;justify-content:end;gap:8px;align-items:center;min-width:0;padding:0;border:0;background:transparent}
body.tool-projects .board-search-form{display:flex;min-width:0;margin:0}
body.tool-projects .board-search{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr) 34px;gap:5px;align-items:center;width:100%;height:46px;min-height:46px;padding:2px 3px 2px 11px;border:1px solid var(--neutral-300);border-radius:10px;background:var(--paper)}
body.tool-projects .board-search:focus-within{border-color:var(--tool-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tool-color) 15%,transparent)}
body.tool-projects .board-search>.icon{position:static;width:16px;height:16px;color:var(--neutral-500)}
body.tool-projects .board-search input{height:34px;padding:0;border:0;background:transparent;box-shadow:none;font-size:14px}
body.tool-projects .board-search input:focus{outline:0;box-shadow:none}
body.tool-projects .board-search .icon-button{width:32px;height:32px;min-height:32px}
body.tool-projects .board-options{position:relative;display:flex;align-items:stretch;justify-self:stretch;margin:0;padding:0;border:0}
body.tool-projects .board-options>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:46px;min-height:46px;margin:0;list-style:none;cursor:pointer;white-space:nowrap}
body.tool-projects .board-options>summary::-webkit-details-marker{display:none}
body.tool-projects .board-options>summary .status-dot{width:7px;height:7px;margin-left:2px}
body.tool-projects .board-options .board-viewbar{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  left:auto;
  z-index:20;
  display:grid;
  grid-template-columns:repeat(3,minmax(135px,1fr));
  gap:12px;
  width:min(680px,calc(100vw - 48px));
  max-width:calc(100vw - 48px);
  max-height:min(560px,calc(100vh - 140px));
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:16px;
  border:1px solid var(--neutral-200);
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 18px 48px rgb(31 24 43 / 16%);
}
body.tool-projects .board-options .board-viewbar>label{display:grid;gap:5px;margin:0}
body.tool-projects .board-options .board-viewbar>label>span,body.tool-projects .board-column-picker legend{color:var(--neutral-600);font-size:11px;font-weight:750}
body.tool-projects .board-options .board-viewbar select{width:100%;height:42px;margin:0;font-size:13px}
body.tool-projects .board-column-picker{grid-column:1/-1;margin:0;padding:0;border:0}
body.tool-projects .board-column-picker__menu{position:static;display:flex;flex-wrap:wrap;gap:6px;width:auto;padding:7px 0 0;border:0;background:transparent;box-shadow:none}
body.tool-projects .board-column-picker__menu label{display:flex;align-items:center;gap:6px;min-height:36px;padding:5px 9px;border:1px solid var(--neutral-200);border-radius:9px;background:var(--neutral-50);font-size:12px;font-weight:650}
body.tool-projects .board-column-picker__menu input{width:16px;height:16px;margin:0}
body.tool-projects .board-options__actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:3px}
body.tool-projects .project-workbench__body{padding-top:14px}

body.tool-projects .task-board-group{display:block}
body.tool-projects .task-board-group__header{display:grid;grid-template-columns:5px minmax(0,1fr) 44px 44px;gap:11px;align-items:center;min-height:72px;padding:8px 10px 8px 0}
body.tool-projects .task-board-group__title{grid-column:2;display:flex;align-items:baseline;gap:9px;min-width:0;overflow:hidden;flex-wrap:wrap;row-gap:1px}
body.tool-projects .task-board-group__tools{position:relative;top:auto;right:auto;grid-column:3;align-self:center;justify-self:center;margin:0;z-index:4}
body.tool-projects .task-board-group__tools .icon-button{box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0}
body.tool-projects .task-board-group__toggle{grid-column:4;box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;border-color:transparent;background:transparent}
body.tool-projects .task-board-group__toggle .icon{transition:transform var(--duration-fast) var(--ease-standard)}
body.tool-projects .task-board-group__toggle[aria-expanded="false"] .icon{transform:rotate(-90deg)}
body.tool-projects .task-board-group__content{min-width:0}
body.tool-projects .task-board-group__title strong{font-size:max(.88rem,15px)}
body.tool-projects .task-board-group__title small{font-size:max(.76rem,13px)}
body.tool-projects .task-board-table{min-width:1200px}
body.tool-projects .task-board-table .task-board-col--task{width:19rem}
body.tool-projects .task-board-table .task-board-col--owner{width:10rem}
body.tool-projects .task-board-table .task-board-col--status{width:10.5rem}
body.tool-projects .task-board-table .task-board-col--timeline{width:9rem}
body.tool-projects .task-board-table .task-board-col--priority{width:7.5rem}
body.tool-projects .task-board-table .task-board-col--updates{width:6rem}
body.tool-projects .task-board-table .task-board-col--files{width:4.5rem}
body.tool-projects .task-board-table .task-board-col--actions{width:4rem}
body.tool-projects .task-board-table th{height:42px;padding:8px 10px;font-size:max(.72rem,13px)}
body.tool-projects .task-board-table td{height:64px;padding:9px 10px;font-size:max(.82rem,14px)}
body.tool-projects .task-board-table :is(input,select){height:42px;font-size:max(.82rem,14px)}
body.tool-projects .task-board-title-input{width:calc(100% + 6px);margin-inline-start:-6px;padding-inline:6px;font-size:max(.86rem,15px)}
body.tool-projects .task-board-item{grid-template-columns:28px minmax(0,1fr);gap:10px}
body.tool-projects .task-board-item__state{display:grid;width:28px;min-height:44px;place-items:center}
body.tool-projects .task-board-item__content{display:grid;gap:2px;min-width:0}
body.tool-projects .task-state-ring{box-sizing:border-box;width:24px;height:24px;border-width:2px}
body.tool-projects .task-board-person--editable{gap:4px}
body.tool-projects .task-board-person--editable .task-board-owner{min-width:0}
body.tool-projects .task-board-timeline,body.tool-projects .task-board-files{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--neutral-700);font-size:max(.76rem,13px);font-weight:650}
body.tool-projects .task-board-timeline:hover,body.tool-projects .task-board-files:hover{color:var(--tool-color);text-decoration:none}
body.tool-projects .task-board-timeline .icon,body.tool-projects .task-board-files .icon{width:17px;height:17px;color:var(--neutral-500)}
body.tool-projects .task-card-meta .person-avatar{margin-right:1px}
body.tool-projects .task-board-item__meta{display:flex;align-items:center;gap:9px;min-width:0;min-height:17px}
body.tool-projects .task-board-item__meta>small{overflow:hidden;min-width:0;color:var(--neutral-600);font-size:max(.72rem,13px);text-overflow:ellipsis;white-space:nowrap}
body.tool-projects .task-board-detail-link{display:inline-flex;flex:none;align-items:center;gap:4px;min-height:26px;color:var(--tool-color)!important;font-size:max(.72rem,13px);font-weight:700}
body.tool-projects .task-board-detail-link>.icon{width:14px;height:14px}
body.tool-projects .task-board-detail-link:hover{text-decoration:underline!important}
body.tool-projects .task-board-save{text-align:center}
body.tool-projects .task-board-save .icon-button{margin-left:0}

@media(max-width:900px){
  body.tool-projects .project-board-commandbar{grid-template-columns:1fr;gap:10px;padding:10px 12px}
  body.tool-projects .project-board-commandbar--viewer{justify-content:stretch}
  body.tool-projects .project-board-tools{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch}
  body.tool-projects .project-overview-focus{grid-template-columns:1fr}
  body.tool-projects .project-overview-focus>.progress-track,body.tool-projects .project-finance-summary{grid-column:1}
  body.tool-projects .project-command__aside{align-self:flex-start}
}

@media(max-width:700px){
  body.tool-projects .project-command--focused .project-detail-header{display:grid;gap:13px;padding:15px}
  body.tool-projects .project-command--focused .project-title-row{grid-template-columns:42px minmax(0,1fr);gap:11px}
  body.tool-projects .project-command--focused .project-icon--large{width:42px;height:42px}
  body.tool-projects .project-command--focused h1{font-size:27px}
  body.tool-projects .project-command__aside{width:100%;justify-content:space-between;padding-left:53px}
  body.tool-projects .project-avatar-stack{padding-left:0}
  body.tool-projects .project-command--focused .project-workspace-nav{overflow-x:auto;padding-inline:4px}
  body.tool-projects .project-command--focused .project-workspace-nav>a{flex:0 0 auto}
  body.tool-projects .project-overview-details>summary{grid-template-columns:minmax(0,1fr) 18px;padding:9px 14px}
  body.tool-projects .project-overview-details>summary>span:nth-child(2){grid-column:1;font-size:12px}
  body.tool-projects .project-overview-details>summary>.icon{grid-column:2;grid-row:1/3}
  body.tool-projects .project-overview-focus{padding:14px}
  body.tool-projects .project-overview-facts{grid-template-columns:1fr}
  body.tool-projects .project-overview-facts>div{border-top:1px solid var(--neutral-200);border-left:0}
  body.tool-projects .project-overview-facts>div:first-child{border-top:0}
  body.tool-projects .project-workbench__header{padding:13px 12px 0}
  body.tool-projects .project-workbench__header>div{padding-bottom:7px}
  body.tool-projects .board-compose{grid-template-columns:1fr;padding:0}
  body.tool-projects .project-board-tools{grid-template-columns:minmax(0,1fr) auto;padding:0}
  body.tool-projects .board-options{position:static}
  body.tool-projects .board-options>summary{width:46px;padding:0;font-size:0}
  body.tool-projects .board-options>summary>.icon{margin:0}
  body.tool-projects .board-options .board-viewbar{top:calc(100% + 8px);right:12px;left:12px;width:auto;max-width:none;max-height:calc(100vh - 156px);grid-template-columns:1fr 1fr}
  body.tool-projects .board-column-picker,body.tool-projects .board-options__actions{grid-column:1/-1}
  body.tool-projects .board-options__actions .button{flex:1;justify-content:center}
  body.tool-projects .project-workbench__body{padding:10px}
  body.tool-projects .task-board-group__header{grid-template-columns:5px minmax(0,1fr) 44px 44px;padding-right:8px}
  body.tool-projects .task-board-group__title{display:grid;gap:1px}
  body.tool-projects .task-board-table{width:100%;min-width:0;max-width:100%}
  body.tool-projects .task-board-table td::before{font-size:13px}
  /* Phone rows (15 Oct review): cells grow with their controls instead of
     clipping them, and the row's save button says what it does. */
  body.tool-projects .task-board-table td,body.tool-projects .task-board-table td:first-child{height:auto}
  body.tool-projects .task-board-table td.task-board-save{grid-column:1/-1;min-height:0;border-right:0}
  body.tool-projects .task-board-table td.task-board-save::before{display:none}
  body.tool-projects .task-board-save .icon-button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;flex:1 1 auto!important;gap:.4rem;padding:0 1rem;font-weight:650}
  body.tool-projects .task-board-save__text{display:inline!important}
}

@media(max-width:430px){
  body.tool-projects .project-avatar-stack .person-avatar:nth-child(n+5){display:none}
  body.tool-projects .project-overview-focus{gap:13px}
  body.tool-projects .board-compose .quick-capture>span{grid-template-columns:20px minmax(0,1fr)}
  body.tool-projects .board-compose .quick-capture .button{grid-column:1/-1;width:100%;height:40px;margin:0 0 4px}
  body.tool-projects .board-options .board-viewbar{grid-template-columns:1fr}
  body.tool-projects .board-options .board-viewbar>label,body.tool-projects .board-column-picker,body.tool-projects .board-options__actions{grid-column:1}
}

body.tool-projects .task-board-save__text{display:none}
body.lm-shell.tool-projects .project-support{max-width:none}
/* Portfolio attention (15 Oct review): every project needing action, not only the first. */
body.lm-shell .portfolio-attention{padding:1.15rem 1.35rem}
body.lm-shell .portfolio-attention h2{display:flex;align-items:center;gap:.6rem;font-size:1.02rem;font-weight:650}
body.lm-shell .portfolio-attention h2 .icon{width:1.1rem;height:1.1rem}
body.lm-shell .portfolio-attention .settings-todo .lm-button{min-height:2.5rem;padding:.4rem .85rem;font-size:var(--lm-small)}
/* Account-owned accessibility preferences. These apply across every Symphony tool. */
.accessibility-card form{display:grid;gap:24px}
.accessibility-options{display:grid;gap:10px;padding-top:22px;border-top:1px solid var(--neutral-200)}
.accessibility-option{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;min-height:72px;margin:0;padding:14px 16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);cursor:pointer}
.accessibility-option:hover{border-color:var(--neutral-400);background:var(--neutral-50)}
.accessibility-option:has(input:checked){border-color:var(--neutral-700);box-shadow:0 0 0 2px var(--neutral-100)}
.accessibility-option input{width:20px;height:20px;margin:3px 0 0;accent-color:var(--lm-accent,var(--accent))}
.accessibility-option>span{display:grid;gap:2px;min-width:0}
.accessibility-option strong{font-size:max(.88rem,15px);line-height:1.35}
.accessibility-option small{color:var(--neutral-600);font-size:max(.76rem,13px);line-height:1.45}

html[data-high-contrast="true"]{--neutral-200:#cececa;--neutral-300:#aaa9a5;--neutral-500:#51514f;--neutral-600:#3f3f3d;--neutral-700:#292928;--line:1px solid #8f8f8b;--line-soft:1px solid #bdbdb8}
html[data-high-contrast="true"] :is(.button--secondary,.icon-button,input,select,textarea){border-color:var(--neutral-700)}
html[data-high-contrast="true"] :is(.page-intro,small,.muted){color:var(--neutral-700)}

html[data-larger-controls="true"] :is(.button,.icon-button,input,select,textarea){min-height:44px}
html[data-larger-controls="true"] .icon-button{width:44px;height:44px}
html[data-larger-controls="true"] body.tool-projects .task-board-table :is(input,select){height:44px}

html[data-reduce-motion="true"]{scroll-behavior:auto}
html[data-reduce-motion="true"] *,html[data-reduce-motion="true"] *::before,html[data-reduce-motion="true"] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}

@media(max-width:700px){
  .accessibility-card form{gap:20px}
  .accessibility-option{min-height:76px;padding:14px}
}
/* Workspace access keeps a person's tool choices separate from role permissions. */
.workspace-member-list{display:grid;border:1px solid var(--neutral-200);border-radius:12px;overflow:hidden}
.workspace-member-row{display:grid;grid-template-columns:44px minmax(180px,1fr) minmax(150px,.55fr) auto;gap:14px;align-items:center;min-height:72px;padding:12px 14px;background:var(--paper)}
.workspace-member-row+.workspace-member-row{border-top:1px solid var(--neutral-200)}
.workspace-member-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);font-size:15px;font-weight:800}
.workspace-member-identity,.workspace-member-role{display:grid;gap:2px;min-width:0}
.workspace-member-identity strong,.workspace-member-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-member-identity small,.workspace-member-role small{color:var(--neutral-600);font-size:max(.72rem,13px)}
.workspace-member-role strong{font-size:max(.78rem,14px)}
.workspace-invitations{margin-top:18px!important}
.access-page-header{margin-top:12px}
.membership-access-card{max-width:820px}
.membership-access-form{margin-top:0}
.membership-tool-picker{display:grid;gap:10px;margin:4px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--neutral-200)}
.membership-tool-picker legend{padding:0;font-size:max(.86rem,15px);font-weight:800}
.membership-tool-picker>.helptext{margin:0}
.membership-tool-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.membership-tool-options>div{display:contents}
.membership-tool-option{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;min-height:78px;margin:0;padding:14px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper);cursor:pointer}
.membership-tool-option:hover{border-color:var(--neutral-400);background:var(--neutral-50)}
.membership-tool-option:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 10%,transparent)}
.membership-tool-option input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--lm-accent,var(--accent))}
.membership-tool-option>span{display:grid;gap:2px}
.membership-tool-option strong{font-size:max(.82rem,14px)}
.membership-tool-option small{color:var(--neutral-600);font-size:max(.72rem,13px);font-weight:500;line-height:1.4}
.permission-tool-list{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--neutral-200)}
.permission-tool-list h3{margin:0 0 2px;font-size:max(.82rem,14px)}
.permission-tool-list>span{display:grid;grid-template-columns:12px minmax(0,1fr);gap:2px 8px;align-items:center;font-size:max(.76rem,13px);font-weight:700}
.permission-tool-list>span small{grid-column:2;color:var(--neutral-600);font-size:max(.7rem,12px);font-weight:500}

@media(max-width:700px){
  .workspace-member-row{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:12px}
  .workspace-member-role{grid-column:2}
  .workspace-member-row>.button{grid-column:3;grid-row:1/3;width:44px;min-width:44px;padding:0;font-size:0}
  .workspace-member-row>.button::before{content:"\2192";font-size:20px}
  .membership-tool-options{grid-template-columns:1fr}
  .membership-access-card{padding:18px 16px}
}

/* Features and compliance: a profile's commitments read as a checked list, one rule per line. */
.compliance-commitments{display:grid;gap:10px;margin:0 0 1rem;padding:0;list-style:none}
.compliance-commitments li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;line-height:1.45}
.compliance-commitments .icon{width:18px;height:18px;margin-top:2px;color:var(--accent)}
.compliance-confirm{display:flex;align-items:flex-start;gap:10px;font-weight:600;cursor:pointer}
.compliance-confirm input{width:18px;height:18px;margin-top:2px;flex:none}
.module-admin-grid.compliance-list{grid-template-columns:1fr}
.compliance-list .module-admin-copy p{max-width:72ch}
/* Phone: the action moves under the copy so the title and its status chips can wrap
   instead of pushing the card (and the page) wider than the screen. */
@media(max-width:700px){
  .compliance-list .module-admin-card{grid-template-columns:36px minmax(0,1fr);align-items:start}
  .compliance-list .module-admin-actions{grid-column:2}
  .compliance-list .module-admin-title{display:flex;flex-wrap:wrap;gap:.35rem .5rem;min-width:0}
  .compliance-list .module-admin-title .status{white-space:normal}
}
/* Mobile-first experience layer.

   Desktop retains the established Symphony shell. At phone widths the interface
   becomes task-oriented: the active tool supplies two primary destinations,
   one voice action and one More sheet. Supporting navigation and local-review
   controls remain available without sitting above every page. */
.mobile-header-home,
.mobile-header-tools,
.mobile-context-link {
  display: none;
}

@media (max-width: 700px) {
  /* Compact global header: workspace, Home, tool switch, alerts and account. */
  body .topbar {
    height: 60px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 0 10px;
  }

  .workspace-context,
  .workspace-menu,
  .workspace-trigger,
  .workspace-copy {
    min-width: 0;
  }

  body .workspace-trigger {
    min-height: 44px;
    padding: 4px;
  }

  body .workspace-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body .workspace-copy strong {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .top-actions {
    gap: 4px;
  }

  body .top-actions .icon-button {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  body .mobile-header-home,
  body .mobile-header-tools {
    display: grid;
  }

  body.tool-home .mobile-header-home {
    display: none;
  }

  body .suite-frame {
    min-height: calc(100vh - 60px);
  }

  /* Module navigation belongs in the dock and More sheet, not in a second
     header row. The permission-filtered desktop links remain the source. */
  body .context-sidebar {
    display: none;
  }

  body .main {
    padding: 12px 12px calc(96px + env(safe-area-inset-bottom));
  }

  body .tool-rail.mobile-context-dock {
    min-height: 70px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    gap: 3px;
  }

  body .tool-rail.mobile-context-dock>.tool-rail-item,
  body .tool-rail.mobile-context-dock>.tool-divider {
    display: none !important;
  }

  body .mobile-context-link,
  body .tool-rail>.voice-quick-launch,
  body .mobile-tool-menu {
    flex: 1 1 0;
    max-width: 112px;
    min-width: 0;
  }

  body .mobile-context-link {
    position: relative;
    min-height: 54px;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 10px;
    color: #d8d1df;
    font-size: max(.76rem, 13px);
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  body .mobile-context-link:hover {
    color: white;
    text-decoration: none;
  }

  body .mobile-context-link[aria-current="page"] {
    background: rgb(255 255 255 / 14%);
    box-shadow: inset 0 -3px var(--electric-rosin);
    color: white;
  }

  body .mobile-context-link>.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  body .mobile-context-link>.nav-count {
    position: absolute;
    top: 2px;
    right: max(6px, calc(50% - 28px));
    min-width: 18px;
    padding: 1px 5px;
    font-size: 11px;
  }

  body .mobile-tool-menu>summary,
  body .tool-rail>.voice-quick-launch {
    min-height: 54px;
  }

  body .mobile-tool-popover {
    position: fixed;
    inset: auto 10px calc(76px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 148px - env(safe-area-inset-bottom));
    padding: 16px;
    overflow: auto;
    border-radius: 16px;
  }

  .mobile-context-more {
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: var(--line-soft);
  }

  .mobile-context-more__links {
    display: grid;
    gap: 4px;
  }

  body .mobile-context-more__link {
    min-height: 48px;
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--neutral-800);
    font-size: 15px;
    font-weight: 650;
  }

  body .mobile-context-more__link:hover,
  body .mobile-context-more__link[aria-current="page"] {
    background: var(--neutral-100);
    text-decoration: none;
  }

  .mobile-context-more__link>.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--tool-color);
  }

  .mobile-context-more__link>.nav-count {
    margin-left: auto;
  }

  body .mobile-tool-grid>a {
    min-height: 58px;
    font-size: 14px;
  }

  /* Demo roles are a review facility, not the user's next task. Keep them in
     More on phones and restore their original position above 700px. */
  body .mobile-tool-popover .demo-role-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 18px 0 0;
    padding: 12px;
    border: var(--line-soft);
    border-radius: 12px;
    background: var(--neutral-50);
  }

  .mobile-tool-popover .demo-role-copy small,
  .mobile-tool-popover .demo-role-copy>span,
  .mobile-tool-popover .demo-role-actions>.demo-role-powers,
  .mobile-tool-popover .demo-role-actions>.demo-role-next {
    display: none;
  }

  /* Shared page hierarchy: purpose, one useful action row, then content. */
  body .page-header {
    gap: 13px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
  }

  body .page-header>div:first-child {
    padding-left: 12px;
  }

  body .page-header>div:first-child::before {
    width: 4px;
  }

  body .page-header h1 {
    font-size: clamp(1.55rem, 7.5vw, 1.85rem);
    line-height: 1.12;
  }

  body .page-header .page-intro {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--neutral-600);
    font-size: 15px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body .page-header .actions,
  body .page-header .action-group {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 0 3px;
    scrollbar-width: none;
  }

  body .page-header .actions::-webkit-scrollbar,
  body .page-header .action-group::-webkit-scrollbar {
    display: none;
  }

  body .page-header .actions>.button,
  body .page-header .action-group>.button {
    min-height: 48px;
    flex: 0 0 auto;
  }

  body .page-header .actions:has(>.button:nth-child(3)),
  body .page-header .action-group:has(>.button:nth-child(3)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body .page-header .actions:has(>.button:nth-child(3))>.button,
  body .page-header .action-group:has(>.button:nth-child(3))>.button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body .page-header .actions:has(>.button:nth-child(3))>.button:nth-child(3),
  body .page-header .action-group:has(>.button:nth-child(3))>.button:nth-child(3) {
    grid-column: 1 / -1;
  }

  body :is(.button, .icon-button, summary, input:not([type="checkbox"]):not([type="radio"]), select) {
    min-height: 48px;
  }

  body .panel,
  body details:not(.menu) {
    border-radius: 12px;
  }

  /* Task detail is one decision surface, followed by optional context. */
  body.tool-projects .main>.back-link {
    min-height: 44px;
    margin: 0 0 8px;
    font-size: 14px;
  }

  body.tool-projects .task-focus--detail {
    margin-bottom: 12px;
    border-radius: 12px;
  }

  body.tool-projects .task-focus--detail .task-focus-header {
    padding: 16px;
  }

  body.tool-projects .task-heading {
    gap: 10px;
  }

  body.tool-projects .task-heading-kicker,
  body.tool-projects .task-focus--detail .task-state {
    gap: 7px;
  }

  body.tool-projects .task-focus--detail .status,
  body.tool-projects .task-focus--detail .priority {
    font-size: 12px;
  }

  body.tool-projects .task-core-facts {
    margin-top: 2px;
    padding-top: 13px;
  }

  body.tool-projects .task-core-facts small {
    font-size: 12px;
  }

  body.tool-projects .task-core-facts strong {
    font-size: 13px;
    line-height: 1.35;
  }

  body.tool-projects .task-next-action {
    padding: 14px 16px 16px;
  }

  body.tool-projects .task-next-action .eyebrow {
    margin-bottom: 2px;
  }

  body.tool-projects .task-completion-form>.button,
  body.tool-projects .task-next-action .decision-buttons>.button {
    min-height: 50px;
  }

  body.tool-projects .task-next-step-note {
    min-height: 62px;
    padding: 11px 16px;
  }

  body.tool-projects .task-support-hub__header {
    min-height: 54px;
    padding: 14px 16px;
  }

  body.tool-projects .task-support-hub__header h2 {
    font-size: 1.05rem;
  }

  body.tool-projects .task-support-row>summary {
    min-height: 58px;
  }

  body.tool-projects .task-support-row>summary small {
    display: none;
  }
}

@media (max-width: 370px) {
  body .workspace-copy {
    display: none;
  }

  body .mobile-context-link,
  body .mobile-tool-menu>summary,
  body .tool-rail>.voice-quick-launch {
    font-size: 12px;
  }
}
/* Guided operational forms and the live-workspace access surfaces. */
.guided-form-header{margin-bottom:18px}
.guided-form{display:grid;gap:18px;max-width:1180px;margin-inline:auto}
.guided-form-section{overflow:hidden;padding:0;border:1px solid var(--neutral-200,#dedbe2);border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(34,28,40,.045)}
.guided-form-section__intro{display:flex;align-items:flex-start;gap:14px;padding:20px 22px;border-bottom:1px solid var(--neutral-200,#dedbe2);background:var(--neutral-50,#faf9fb)}
.guided-form-section__intro h2{margin:0;font-size:1.12rem}.guided-form-section__intro p{max-width:64ch;margin:4px 0 0;color:var(--neutral-600,#655d6e)}
.guided-form-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eeeafd;color:#5140b5;font-weight:800}
.guided-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;padding:22px}.guided-form-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.guided-field{align-content:start;margin:0}.guided-field--wide{grid-column:1/-1}.guided-field label{display:inline-flex;align-items:baseline;gap:3px;font-weight:700}.guided-field input,.guided-field select,.guided-field textarea{width:100%}
.required-mark,.required-key>span{color:#a23a32;font-weight:800}.required-key{display:inline-flex;flex:0 0 auto;align-items:baseline;gap:4px;margin:0;color:var(--neutral-600,#655d6e);font-size:.9rem;white-space:nowrap}
.guided-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 2px 24px}.guided-form-footer .form-actions{margin:0}
.guided-form-disclosure{overflow:hidden;border:1px solid var(--neutral-200,#dedbe2);border-radius:12px;background:#fff}.guided-form-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:14px 20px;cursor:pointer}.guided-form-disclosure>summary>span:first-child{display:grid;gap:2px}.guided-form-disclosure>summary small{color:var(--neutral-600,#655d6e)}.guided-form-disclosure__body{padding:0 20px 20px}
.guided-form-section--accent{border-color:#d8d1f7}.guided-form-section--accent .guided-form-section__intro{background:#f7f5ff}
.guided-choice-field{padding:22px;border:0;margin:0}.guided-choice-field legend,.project-create-people legend{font-weight:800}.guided-choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.guided-choice-option,.people-access-option{display:flex;align-items:flex-start;gap:12px;min-height:64px;padding:13px 14px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:#fff;cursor:pointer}.guided-choice-option:hover,.people-access-option:hover{border-color:#8476cf;background:#faf9ff}.guided-choice-option input,.people-access-option input{flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px!important;margin:2px 0 0!important;accent-color:var(--lm-accent,#5b48c8)}.guided-choice-option span,.people-access-option span{display:grid;min-width:0;gap:2px}.guided-choice-option small,.people-access-option small{color:var(--neutral-600,#655d6e);line-height:1.35}
.customer-guided-form .guided-form-section>.guided-field{padding:0 22px 22px}
.project-create-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:22px}.project-create-people fieldset{min-width:0;border:0;padding:0;margin:0}.people-access-options{display:grid;gap:8px;margin-top:12px}.project-access-form .people-access-options{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 22px 22px}
.followup-section .followup-list{padding:0 20px}.followup-row{min-width:0;align-items:end}.followup-summary,.followup-summary>div,.followup-inline,.followup-inline label{min-width:0}.followup-summary a,.followup-summary small{overflow-wrap:anywhere}.followup-task-link{display:inline-flex!important;align-items:center;gap:6px;margin-top:6px;width:max-content;max-width:100%;font-size:.82rem!important;font-weight:700}.followup-task-link .icon{width:16px;height:16px}.followup-inline>*{min-width:0}.followup-save{min-height:42px;white-space:nowrap}
.workspace-roles{margin-top:18px;border-top:1px solid var(--neutral-200,#dedbe2);padding-top:14px}.workspace-roles>summary{font-weight:800;cursor:pointer}.role-admin-list{display:grid;margin:12px 0}.role-admin-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--neutral-200,#dedbe2)}.role-admin-row>span{display:grid}.role-admin-row small{color:var(--neutral-600,#655d6e)}
.role-editor-card{max-width:980px;margin-inline:auto}.role-capability-picker{border:0;margin:0;padding:0}.role-capability-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-capability-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px}.role-capability-option input{width:20px;height:20px;min-height:20px;margin:2px 0 0}.role-capability-option span{display:grid;min-width:0}.role-capability-option small{color:var(--neutral-600,#655d6e);overflow-wrap:anywhere}
.gateway-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;max-width:980px}.gateway-card__icon{display:grid;place-items:center;width:58px;height:58px;border-radius:12px;background:#eeeafd;color:#5140b5}.gateway-card__icon .icon{width:28px;height:28px}.gateway-card h2{margin:2px 0 4px}.gateway-card p{margin:0;color:var(--neutral-600,#655d6e)}
@media(max-width:900px){.guided-form-grid--three,.project-create-people,.role-capability-options{grid-template-columns:1fr}.followup-inline{grid-template-columns:minmax(0,1fr) minmax(170px,.7fr)!important}.followup-inline label:first-of-type{grid-column:1/-1}.followup-inline .followup-save{width:100%}.gateway-card{grid-template-columns:auto 1fr}.gateway-card .button{grid-column:1/-1;width:100%}}
@media(max-width:640px){.guided-form{gap:14px;padding-bottom:76px}.guided-form-section__intro{padding:16px}.guided-form-grid,.guided-choice-field,.project-create-people{grid-template-columns:1fr;padding:16px;gap:14px}.guided-choice-options,.project-access-form .people-access-options{grid-template-columns:1fr;padding:0 16px 16px}.guided-form-footer{position:sticky;z-index:4;bottom:70px;margin-inline:-12px;padding:12px;background:rgba(255,255,255,.96);border-top:1px solid var(--neutral-200,#dedbe2);box-shadow:0 -8px 20px rgba(34,28,40,.06)}.guided-form-footer .form-actions{display:flex}.guided-form-footer .button{min-height:48px}.followup-section .followup-list{padding:0 16px}.followup-inline{grid-template-columns:1fr!important}.followup-inline label:first-of-type{grid-column:auto}.followup-row{padding:16px 0}.gateway-card{grid-template-columns:1fr}.gateway-card__icon{width:48px;height:48px}}
.profile-popover{color:var(--studio-black);max-height:min(70vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:8px}.profile-popover .profile-summary{padding:8px}.profile-popover .profile-summary strong{color:var(--studio-black)}.profile-popover .profile-summary small,.profile-popover .profile-role{color:var(--neutral-600)}.profile-popover-section{display:grid;gap:2px;margin-top:4px;padding-top:6px;border-top:1px solid var(--neutral-200)}.profile-popover-section .menu-heading{margin:4px 8px 2px}.profile-popover>a{color:var(--studio-black);min-height:44px;padding:9px 10px}.profile-popover>a:hover{color:var(--studio-black)}.profile-popover-section a{display:flex;align-items:center;gap:9px;border-radius:var(--radius-control);color:var(--studio-black);min-height:44px;padding:9px 10px;font-size:.78rem}.profile-popover-section a:hover{background:var(--neutral-100);text-decoration:none}.profile-popover-section a .icon,.profile-popover-signout .icon{width:18px;height:18px;color:var(--neutral-700)}.profile-popover-signout{border-top:1px solid var(--neutral-200);margin-top:6px;padding-top:10px!important}
.context-sidebar-help{margin-top:auto;padding:12px 14px;border-top:1px solid var(--neutral-200)}.context-sidebar-help a{display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 10px;border-radius:var(--radius-control);color:var(--studio-black)}.context-sidebar-help a:hover,.context-sidebar-help a[aria-current="page"]{background:var(--neutral-100);text-decoration:none}.help-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);gap:20px;align-items:start}.help-expectations{padding:22px}.help-expectations ul{padding-left:20px;line-height:1.65}.help-history{margin-top:20px}.help-ticket-list{display:grid}.help-ticket-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--neutral-200)}.help-ticket-list article>div{display:grid;gap:3px}.help-ticket-list small{color:var(--neutral-600)}.required-mark{color:#a23a32;font-weight:800}@media(max-width:760px){.help-layout{grid-template-columns:1fr}.help-expectations{order:-1}}
.workspace-popover .workspace-option{color:var(--studio-black)}.workspace-popover .workspace-option strong{color:var(--studio-black)}.workspace-popover .workspace-option small{color:var(--neutral-600)}.workspace-popover .workspace-option:hover,.workspace-popover .workspace-option[aria-current="page"]{color:var(--studio-black)}.workspace-popover .workspace-option[aria-current="page"]{background:var(--neutral-100)}.workspace-popover .workspace-option>.icon{color:var(--positive)}.signed-out-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--wash,#f7f5f8)}.signed-out-card{width:min(100%,520px);padding:48px 40px;text-align:center;background:var(--paper,#fff);border:var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow-raised)}.signed-out-mark{width:64px;height:64px;margin:0 auto 24px;display:grid;place-items:center;border-radius:20px;background:color-mix(in srgb,var(--positive) 14%,white);color:var(--positive)}.signed-out-mark .icon{width:28px;height:28px}.signed-out-card h1{margin:8px 0 12px}.signed-out-card p:not(.eyebrow){color:var(--neutral-700);line-height:1.55;margin:0 auto 28px;max-width:34rem}.signed-out-card .button{min-height:48px}@media(max-width:560px){.signed-out-card{padding:36px 24px}}
.signed-out-mark--warning{background:color-mix(in srgb,var(--accent) 12%,white);color:var(--accent)}
/* Work patterns: the policy library, policy editors and a person's pattern choice. */
.work-policy-section{margin-bottom:18px}.work-policy-section .panel-header{align-items:flex-start;gap:16px}
.work-policy-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--neutral-200,#dedbe2)}
.work-policy-row{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(120px,auto);gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--neutral-200,#dedbe2)}.work-policy-row:last-child{border-bottom:0}
.work-policy-row__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}.work-policy-row__icon .icon{width:18px;height:18px}
.work-policy-row__main{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}
.work-policy-row__name{color:inherit;font-size:17px;font-weight:700;text-decoration:none}.work-policy-row__name:hover{text-decoration:underline}
.work-policy-row__meta{flex-basis:100%;color:var(--neutral-600,#655d6e);font-size:15px;overflow-wrap:anywhere}
.work-policy-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:color-mix(in srgb,var(--tool-color) 12%,white);color:var(--tool-color);font-size:13px;font-weight:700}
.work-policy-row__usage{display:grid;justify-items:end;gap:2px;font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.work-policy-row__usage small{color:var(--neutral-600,#655d6e);font-size:13px;font-weight:400}
.work-policy-empty{padding:18px 0 4px;border-top:1px solid var(--neutral-200,#dedbe2)}.work-policy-empty p{display:grid;gap:4px;margin:0}.work-policy-empty span{color:var(--neutral-600,#655d6e)}
.work-policy-name{max-width:520px;margin-bottom:18px}.work-policy-fields{padding:0 0 4px}
.work-policy-standard{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:14px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:var(--neutral-50,#faf9fb)}
.work-policy-standard input{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:var(--lm-accent,var(--tool-color))}
.work-policy-standard span{display:grid;gap:2px}.work-policy-standard label{font-weight:700}.work-policy-standard small{color:var(--neutral-600,#655d6e)}
.work-policy-delete{max-width:1180px;margin:24px auto 8px;padding-top:18px;border-top:1px solid var(--neutral-200,#dedbe2)}.work-policy-delete h2{margin:0 0 8px;font-size:1rem}
.work-pattern-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.work-pattern-panel{display:none;padding:16px 0 0}
.work-pattern-choice:has(input[value="group"]:checked) [data-pattern-panel="group"],.work-pattern-choice:has(input[value="individual"]:checked) [data-pattern-panel="individual"]{display:grid}
@supports not selector(:has(*)){.work-pattern-panel{display:grid}}
.work-pattern-manage{margin:14px 0 0;color:var(--neutral-600,#655d6e)}
.fact-detail{display:block;color:var(--neutral-600,#655d6e);font-size:14px}
@media (max-width:760px){
  .work-policy-section .panel-header{flex-direction:column}
  .work-policy-row{grid-template-columns:40px minmax(0,1fr)}
  .work-policy-row__usage{grid-column:2;justify-items:start;text-align:left}
  .work-pattern-options{grid-template-columns:1fr}
}
.holiday-source{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px}.holiday-source .field{flex:1 1 220px;min-width:0;margin:0}.holiday-source select{width:100%}.holiday-source .helptext{flex-basis:100%;margin:0}
.holiday-suggestions{display:grid;gap:18px}.holiday-suggestion-group{min-width:0;margin:0;padding:0;border:0}.holiday-suggestion-group legend,.holiday-suggestion-group>summary{margin-bottom:10px;font-weight:700;cursor:default}.holiday-suggestion-group>summary{cursor:pointer}.holiday-suggestion-group small{margin-left:6px;color:var(--neutral-600,#655d6e);font-weight:400}
.holiday-suggestion-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.holiday-suggestion{display:flex;align-items:flex-start;gap:10px;min-height:56px;padding:10px 12px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:#fff;cursor:pointer}
.holiday-suggestion input{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:var(--lm-accent,var(--tool-color))}.holiday-suggestion span{display:grid;gap:2px;min-width:0}.holiday-suggestion small{color:var(--neutral-600,#655d6e)}
.holiday-suggestion:has(input:checked){border-color:color-mix(in srgb,var(--tool-color) 45%,white);background:color-mix(in srgb,var(--tool-color) 5%,white)}
.holiday-year-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.holiday-selection-count{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--neutral-800,#342f39);font-size:14px;white-space:nowrap}
@media(max-width:700px){.holiday-year-actions{width:100%;justify-content:space-between}.holiday-selection-count{order:1}.year-switcher{order:2}}
.work-pattern-own{min-width:0;margin:0;padding:0;border:0}.work-pattern-own legend{margin-bottom:8px;font-weight:700}.work-pattern-own .guided-choice-options{grid-template-columns:1fr;margin-top:0}
/* The organisation standard leads the library; the rule for who follows it sits in the same region. */
.work-standard{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 32px;align-items:start;margin-bottom:18px}
.work-standard h2{display:grid;gap:6px;margin:0}.work-standard h2 .eyebrow{margin:0}
.work-standard__figure{font-size:clamp(2rem,4vw,2.75rem);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.work-standard__detail{margin:8px 0 0;font-size:17px}
.work-standard__facts{display:flex;flex-wrap:wrap;gap:8px 32px;margin:16px 0 0}.work-standard__facts dt{color:var(--neutral-600,#655d6e);font-size:13px}.work-standard__facts dd{margin:0;font-weight:600}
.work-standard__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
/* Workday policies and the groups built from them share one region; the groups band hangs off the list above. */
.work-weeks__block{min-width:0}
.work-weeks__heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:4px 0 10px}.work-weeks__heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:1.1rem}
.work-weeks__count{display:inline-grid;place-items:center;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.work-weeks__block--groups{position:relative;margin-top:6px;padding:0 16px 6px;border-radius:12px;background:var(--neutral-50,#faf9fb)}
.work-weeks__join{display:flex;align-items:center;gap:10px;margin:0;padding:12px 0 6px;color:var(--neutral-600,#655d6e);font-size:13px;font-weight:700}
.work-weeks__join::before{content:"";width:2px;height:22px;margin-left:19px;border-radius:2px;background:color-mix(in srgb,var(--tool-color) 45%,white)}
.work-weeks__block--groups .work-policy-list{border-top-color:var(--neutral-200,#dedbe2)}
/* Each row opens its editor from anywhere on it; the Edit button carries the single link. */
.work-policy-row{position:relative;grid-template-columns:40px minmax(0,1fr) minmax(110px,auto) auto}
.work-policy-row__edit::after{content:"";position:absolute;inset:0}
.work-policy-row:hover .work-policy-row__name{text-decoration:underline}
.work-policy-chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;margin:4px 0 0;padding:0;list-style:none}
.work-policy-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border:1px solid var(--neutral-200,#dedbe2);border-radius:999px;background:var(--paper,#fff);color:inherit;font-size:14px;font-weight:600;text-decoration:none}
.work-policy-chip .icon{width:14px;height:14px;color:var(--tool-color)}.work-policy-chip:hover{border-color:color-mix(in srgb,var(--tool-color) 45%,white)}
.work-policy-chip--holiday .icon{color:var(--neutral-600,#655d6e)}
/* Hours each day × days = hours a week, so either figure can be typed. */
.work-hours{min-width:0;margin:20px 0 0;padding:0;border:0}.work-hours legend{margin-bottom:8px;font-weight:700}
.work-hours__equation{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px}
.work-hours__field{flex:0 1 180px;margin:0}.work-hours__field input{width:100%}
.work-hours__op{padding-bottom:10px;color:var(--neutral-600,#655d6e);font-size:20px}
.work-hours__days{display:flex;align-items:baseline;gap:4px;margin:0;padding-bottom:10px;white-space:nowrap}.work-hours__days strong{font-variant-numeric:tabular-nums}
.work-hours .helptext{display:block;margin-top:8px}
@media (max-width:760px){
  .work-standard{grid-template-columns:1fr}.work-standard__actions{justify-content:flex-start}
  .work-policy-row{grid-template-columns:40px minmax(0,1fr) auto}
  .work-policy-row__usage{grid-column:2}
  .work-policy-row__edit{grid-column:3;grid-row:1;align-self:start}
  .work-weeks__block--groups{padding:0 12px 6px}
}
@media (max-width:420px){
  .work-hours__field{flex:1 1 100%}.work-hours__op{display:none}.work-hours__days{padding:0}
}
/* Who follows what: the same precedence order, told with real numbers. */
.pattern-ledger{grid-column:1/-1;padding-top:16px;border-top:1px solid var(--neutral-200,#dedbe2)}
.pattern-ledger__lead{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0 0 12px}.pattern-ledger__lead span{color:var(--neutral-600,#655d6e)}
.pattern-ledger__rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;counter-reset:none}
.pattern-ledger__rows li{display:grid;align-content:start;gap:8px;padding:12px 14px;border:1px solid var(--neutral-200,#dedbe2);border-radius:12px;background:var(--paper,#fff)}
.pattern-ledger__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pattern-ledger__count{font-size:1.65rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.pattern-ledger__text{display:grid;gap:2px;min-width:0}.pattern-ledger__text small{color:var(--neutral-600,#655d6e)}
.pattern-ledger__icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}.pattern-ledger__icon .icon{width:16px;height:16px}
.pattern-ledger__rows li.is-empty{background:var(--neutral-50,#faf9fb)}
.pattern-ledger__rows li.is-empty .pattern-ledger__count{color:var(--neutral-600,#655d6e);font-weight:600}
.pattern-ledger__rows li.is-empty .pattern-ledger__icon{background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e)}
@media (max-width:980px){.pattern-ledger__rows{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.pattern-ledger__rows{grid-template-columns:1fr}}
/* Sign-in access, one-time details, account pages and the support-session banner. */
.sign-in-access{display:grid;gap:16px;padding:0 22px 22px}.sign-in-page .sign-in-access,.sign-in-page .panel .sign-in-access{padding:0}
.access-toggle{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:var(--neutral-50,#faf9fb);cursor:pointer}
.access-toggle input{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:var(--lm-accent,var(--tool-color))}.access-toggle span{display:grid;gap:2px}.access-toggle small{color:var(--neutral-600,#655d6e)}
.sign-in-access:has(.access-toggle input:not(:checked)) .sign-in-access__details{display:none}
.sign-in-access__details{display:grid;gap:14px}.access-role,.access-password{padding:0}.access-method{padding:0}
.access-method-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.access-password{display:none;margin-top:14px}.sign-in-access:has(input[value="password"]:checked) .access-password{display:grid}
@supports not selector(:has(*)){.access-password{display:grid}.sign-in-access__details{display:grid}}
.sign-in-page{display:grid;gap:18px;margin-top:18px}.sign-in-role{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}.sign-in-role .guided-field{flex:1 1 260px;margin:0}
.sign-in-details{display:grid;gap:14px;max-width:760px}.sign-in-details h2{margin:0}
.copy-field{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.copy-field input{flex:1 1 320px;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.copy-field__secret{font-size:1.15rem;letter-spacing:.04em}
.copy-status{color:var(--neutral-600,#655d6e);font-size:.9rem}
.account-page{display:grid;place-items:start center;min-height:70vh;padding:48px 16px}.account-card{display:grid;gap:14px;width:min(100%,480px)}.account-card h1{margin:0}.account-form{display:grid;gap:14px}.account-form .button{justify-self:start}
.login-password-form{display:grid;gap:8px}.login-password-form>input:not([type="hidden"]){margin-bottom:8px}.login-password-form>#login-password{margin-bottom:0}.login-password-form>.button{justify-self:start;margin-top:4px}
.support-banner{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 18px;background:#3b2a6b;color:#fff}
.support-banner .icon{width:18px;height:18px}.support-banner p{flex:1 1 320px;margin:0}.support-banner span{opacity:.9}
.support-banner .button{background:#fff;color:#3b2a6b;border-color:#fff}
@media print{.support-banner,.topbar,.tool-rail,.context-sidebar,.mobile-dock,.sign-in-details .form-actions,.copy-field .button{display:none!important}.sign-in-details{border:0;box-shadow:none}}
@media (max-width:760px){.access-method-options{grid-template-columns:1fr}.support-banner{padding:10px 14px}}
.support-banner--platform{background:var(--studio-black,#121211)}
/* Task steps, task templates and the progress of every templated task. */
.task-steps{margin:18px 0}.task-steps .panel-header{align-items:flex-start;gap:16px}
.step-rail{display:flex;gap:4px;margin:4px 0 14px}.step-rail__segment{flex:1 1 0;height:6px;border-radius:0;background:var(--neutral-200,#dedbe2)}
.step-rail__segment.is-done{background:var(--tool-color)}.step-rail__segment.is-current{background:color-mix(in srgb,var(--tool-color) 40%,white)}
.step-rail--compact{width:120px;margin:0}.step-rail--compact .step-rail__segment{height:5px}
.step-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.step-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:#fff}
.step-row.is-current{border-color:color-mix(in srgb,var(--tool-color) 45%,white);background:color-mix(in srgb,var(--tool-color) 5%,white)}
.step-row.is-done .step-row__title{color:var(--neutral-600,#655d6e);text-decoration:line-through}.step-row.is-cancelled{opacity:.6}
.step-row__marker{display:grid;place-items:center;color:var(--neutral-600,#655d6e)}.step-row.is-done .step-row__marker{color:#2f7a4f}.step-row.is-current .step-row__marker{color:var(--tool-color)}
.step-row__marker .icon{width:20px;height:20px}
.step-row__copy{display:grid;gap:2px;min-width:0}.step-row__title{color:inherit;font-weight:600;text-decoration:none;overflow-wrap:anywhere}.step-row__title:hover{text-decoration:underline}
.step-row__copy small{color:var(--neutral-600,#655d6e)}
.step-row__actions{display:flex;align-items:center;gap:6px}.step-row__actions form{margin:0}
.step-add{margin-top:14px;border-top:1px solid var(--neutral-200,#dedbe2);padding-top:12px}.step-add>summary{display:inline-flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}
.step-add__form{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:12px}.step-add__form .guided-field{margin:0}
.task-step-context{display:flex;align-items:center;gap:10px;margin:18px 0;padding:12px 16px}.task-step-context p{margin:0}
/* A template is a blueprint: identity, then the sequence, then the copies running from it. */
.template-card{margin-bottom:18px}
.template-card__head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 16px;align-items:start;padding-bottom:14px;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.template-card__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}.template-card__icon .icon{width:20px;height:20px}
.template-card__title{min-width:0}.template-card__title h2{font-size:1.3rem}.template-card__title .muted{margin:5px 0 0;max-width:64ch}
.template-card__head .actions{align-self:center;white-space:nowrap}
/* The rail carries the order: numbered nodes joined by one hairline. */
.template-plan{display:grid;margin:14px 0 0;padding:0;list-style:none}
.template-plan li{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;padding:9px 0}
.template-plan li::before{content:"";position:absolute;left:15px;top:0;bottom:0;border-left:1px solid var(--neutral-300,#c9c5cf)}
.template-plan li:first-child::before{top:26px}.template-plan li:last-child::before{bottom:calc(100% - 26px)}
.template-plan li:only-child::before{display:none}
.template-plan__index{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--neutral-200,#dedbe2);background:var(--paper,#fff);color:var(--neutral-600,#655d6e);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.template-plan__body{display:grid;gap:4px;min-width:0;align-self:center}
.template-plan__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--neutral-600,#655d6e);font-size:14px}
.template-plan__owner{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 9px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--studio-black,#121211);font-size:13px;font-weight:600}
.template-plan__owner .icon{width:14px;height:14px;color:var(--neutral-600,#655d6e)}
.template-plan__timing{font-variant-numeric:tabular-nums}
.template-plan-wrap{padding:0 22px 22px}
/* Every copy running from the template, with how far it has got. */
.template-runs{margin-top:16px;padding-top:14px;border-top:1px solid var(--neutral-200,#dedbe2)}
.template-runs h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:1rem}
.template-runs__count{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 7px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e);font-size:12px;font-weight:700}
.template-run-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.template-run{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:11px 13px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:var(--neutral-50,#faf9fb)}
.template-run__name{color:inherit;font-weight:650;text-decoration:none;overflow-wrap:anywhere}.template-run__name:hover{text-decoration:underline}
.template-run__progress{display:flex;align-items:center;gap:10px;white-space:nowrap}.template-run__progress strong{font-variant-numeric:tabular-nums;font-size:14px}
.template-run__meta{grid-column:1/-1;color:var(--neutral-600,#655d6e)}
/* The editor uses the same numbered rail as the plan a reader sees, so building a
   template and reading one are obviously the same thing. */
.template-step-hint{margin:0 22px 12px;color:var(--neutral-600,#655d6e)}
.template-step-rows{display:grid;gap:6px;padding:0 22px 22px}
.template-step-row,.template-step-head{display:grid;grid-template-columns:34px minmax(0,2.1fr) minmax(190px,1.1fr) 88px 106px;gap:12px;align-items:center}
.template-step-head{padding:0 22px 6px;color:var(--neutral-600,#655d6e);font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.template-step-row{position:relative;padding:5px 0}
.template-step-row::before{content:"";position:absolute;left:16px;top:0;bottom:0;border-left:1px solid var(--neutral-200,#dedbe2)}
.template-step-row:first-child::before{top:50%}.template-step-row:last-child::before{bottom:50%}
.template-step-row__number{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--neutral-200,#dedbe2);background:var(--paper,#fff);color:var(--neutral-600,#655d6e);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.template-step-row .field{margin:0;min-width:0}
.template-step-row input,.template-step-row select{width:100%;margin:0}
.template-step-row__day input{text-align:center;font-variant-numeric:tabular-nums}
/* Remove is a labelled control with an obvious pressed state, not a bare tick box. */
.template-step-row__remove{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid var(--neutral-200,#dedbe2);border-radius:var(--radius-control,10px);background:var(--paper,#fff);color:var(--neutral-600,#655d6e);font-size:14px;font-weight:600;cursor:pointer}
.template-step-row__remove:hover{border-color:#a23a32;color:#a23a32}
.template-step-row__remove input{width:16px;height:16px;margin:0;accent-color:#a23a32}
.template-step-row__remove .icon{width:15px;height:15px}
.template-step-row:has(.template-step-row__remove input:checked){opacity:.6}
.template-step-row:has(.template-step-row__remove input:checked) input[type=text]{text-decoration:line-through}
.template-step-row__remove:has(input:checked){border-color:#a23a32;background:color-mix(in srgb,#a23a32 8%,white);color:#a23a32}
/* An empty row is an invitation, not a step: it recedes until someone types in it. */
.template-step-row:has(input[type=text]:placeholder-shown) .template-step-row__number{border-style:dashed;color:var(--neutral-500,#8b8496)}
.template-step-row:has(input[type=text]:placeholder-shown) input[type=text]{border-style:dashed}
.template-step-row:has(input[type=text]:placeholder-shown) select,
.template-step-row:has(input[type=text]:placeholder-shown) .template-step-row__day input{opacity:.55}
.template-step-row:has(input[type=text]:placeholder-shown) .template-step-row__remove{visibility:hidden}
@media (max-width:1000px){
  .step-add__form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step-add__form > :first-child,.step-add__form > .button{grid-column:1 / -1}
  .step-add__form > .button{justify-self:start}
}
@media (max-width:760px){
  .step-row{grid-template-columns:28px minmax(0,1fr)}.step-row__actions{grid-column:2;flex-wrap:wrap}
  .step-add__form{grid-template-columns:1fr}
  .template-step-head{display:none}
  .template-step-row{grid-template-columns:34px minmax(0,1fr);align-items:start;padding-bottom:12px;border-bottom:1px solid var(--neutral-200,#dedbe2)}
  .template-step-row::before{display:none}
  .template-step-row>*:not(.template-step-row__number){grid-column:2}
  .template-step-row__remove{justify-self:start}
  .template-step-hint{margin:0 14px 12px}
  .template-card__head{grid-template-columns:auto minmax(0,1fr)}
  .template-card__head .actions{grid-column:1/-1;justify-self:start}
  .template-run{grid-template-columns:1fr}.template-run__progress{justify-content:flex-start}
  .template-plan-wrap{padding:0 14px 18px}
}
/* People settings: the hub, section markers shared across its pages, and departments. */
.section-marker{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:0 14px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.marker-index{margin-right:8px;padding-right:8px;border-right:1px solid var(--neutral-300,#c9c5cf);color:var(--neutral-600,#655d6e);font-variant-numeric:tabular-nums}
.section-marker__icon,.settings-area__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}
.section-marker__icon .icon,.settings-area__icon .icon{width:20px;height:20px}
.section-marker--lead .section-marker__icon{background:var(--tool-color);color:var(--paper,#fff)}
.section-marker__text{min-width:0}.section-marker__text .eyebrow{margin-bottom:3px}.section-marker__text h2{font-size:1.25rem}
.section-marker__text .muted{margin:5px 0 0;max-width:64ch}
.section-marker__action{align-self:center;white-space:nowrap}
/* The settings hub: policy areas an admin sets once. */
.settings-areas{margin-bottom:18px}
.settings-area-list{margin:0;padding:0;list-style:none}
.settings-area{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.settings-area:last-child{border-bottom:0}
.settings-area__icon{align-self:start}
.settings-area__text{min-width:0}.settings-area__text .eyebrow{margin-bottom:2px}.settings-area__text .muted{margin:4px 0 0;max-width:64ch}
.settings-area__link{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-display);font-size:1.2rem;font-weight:600;color:inherit;text-decoration:none}
.settings-area__link .icon{width:16px;height:16px;color:var(--tool-color)}
.settings-area__link:hover{text-decoration:underline}
.settings-area__facts{display:flex;flex-wrap:wrap;gap:6px 8px;margin:10px 0 0;padding:0;list-style:none}
.settings-area__facts li{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e);font-size:13px;font-weight:600}
.leave-rules-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.leave-rules-link .icon{width:15px;height:15px}
/* Personnel onboarding: a stable wayfinding rail reduces the feeling of one long form. */
.person-guided-form{grid-template-columns:220px minmax(0,1fr);align-items:start;max-width:1240px}.person-guided-form>.guided-form-section,.person-guided-form>.guided-form-footer,.person-guided-form>.errorlist{grid-column:2}.person-form-guide{position:sticky;top:96px;grid-column:1;grid-row:1/span 8;padding:18px;border-left:3px solid var(--tool-color);background:var(--neutral-50,#faf9fb)}.person-form-guide h2{margin:3px 0 16px;font-size:1.2rem}.person-form-guide ol{display:grid;gap:12px;margin:0;padding:0;list-style:none}.person-form-guide li{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px}.person-form-guide li span{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--neutral-300,#c9c5cf);border-radius:9px;background:var(--paper,#fff);font-size:13px}.person-form-guide>p:last-child{margin:18px 0 0;color:var(--neutral-600,#655d6e);font-size:14px;line-height:1.5}.form-error-summary{grid-column:1/-1;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start;padding:16px 18px;border:1px solid color-mix(in srgb,var(--critical) 35%,white);border-radius:12px;background:color-mix(in srgb,var(--critical) 5%,white)}.form-error-summary>.icon{width:22px;height:22px;margin:9px;color:var(--critical)}.form-error-summary h2{margin:0;font-size:1.05rem}.form-error-summary p{margin:4px 0 0;color:var(--neutral-700,#514b57)}.person-structure-link{display:flex;align-items:center;gap:8px;margin:0;padding:0 22px 20px;color:var(--neutral-600,#655d6e);font-size:14px}.person-structure-link .icon{width:16px;height:16px}.person-optional-section .guided-form-step{background:color-mix(in srgb,var(--positive) 12%,white);color:var(--positive)}.person-optional-section .guided-form-step .icon{width:17px;height:17px}
.person-guided-form>.person-form-guide{grid-row:auto}
@media (max-width:760px){
  .section-marker{grid-template-columns:auto minmax(0,1fr);gap:8px 12px}
  .section-marker__action{grid-column:1/-1;justify-self:start}
  .settings-area{grid-template-columns:auto minmax(0,1fr);gap:8px 12px}
}
@media(max-width:940px){.person-guided-form{grid-template-columns:1fr}.person-guided-form>.guided-form-section,.person-guided-form>.guided-form-footer,.person-guided-form>.errorlist,.person-form-guide{grid-column:1}.person-form-guide{position:static;grid-row:auto}.person-form-guide ol{grid-template-columns:1fr 1fr}.person-form-guide>p:last-child{margin-top:14px}}
@media(max-width:560px){.person-form-guide ol{grid-template-columns:1fr}.person-structure-link{padding-inline:16px}}
/* A tool names one accountable owner, and anyone who may change it alongside them.
   The list scales with the workspace, so current helpers read as chips and the
   picker stays one compact control. */
.tool-helpers{min-width:0;margin:18px 0 0}
.tool-helpers select{width:100%;max-width:520px;min-height:180px;padding:6px}
.tool-helpers select option{padding:7px 8px;border-radius:8px}
.tool-helpers .helptext{display:block;margin-top:8px}
.tool-helper-current{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;list-style:none}
.tool-helper-current li{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:0 11px;border:1px solid var(--neutral-200,#dedbe2);border-radius:999px;background:var(--paper,#fff);font-weight:600;font-size:14px}
.tool-helper-current .icon{width:14px;height:14px;color:var(--neutral-600,#655d6e)}
.tool-helper-current small{color:var(--neutral-600,#655d6e);font-weight:500}
/* Departments: a compact outline first, editing only after deliberate disclosure. */
.department-structure{overflow:hidden;padding:0}
.department-structure__heading{align-items:center;margin:0;padding:20px 22px;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.department-structure__heading .muted{margin-top:4px}
.department-structure__total{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid var(--neutral-200,#dedbe2);border-radius:999px;color:var(--neutral-600,#655d6e);font-size:13px;font-weight:700;white-space:nowrap}
.organisation-unit-list{margin:0;padding:0;list-style:none}
.organisation-unit-list>li+li{border-top:1px solid var(--neutral-200,#dedbe2)}
.organisation-unit{background:var(--paper,#fff)}
.organisation-unit>summary{list-style:none}.organisation-unit>summary::-webkit-details-marker{display:none}
.organisation-unit__summary{display:grid;grid-template-columns:42px minmax(180px,.8fr) minmax(220px,1.2fr) auto;align-items:center;gap:14px;min-height:72px;padding:12px 18px;cursor:pointer}
.organisation-unit__summary:hover,.organisation-unit[open]>.organisation-unit__summary{background:var(--neutral-50,#faf9fb)}
.organisation-unit__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}
.organisation-unit__icon .icon{width:19px;height:19px}
.organisation-unit__identity{display:grid;min-width:0}.organisation-unit__identity strong{overflow:hidden;text-overflow:ellipsis;font-size:16px;white-space:nowrap}.organisation-unit__identity small{margin-top:2px;color:var(--neutral-600,#655d6e);font-size:13px}
.organisation-unit__teams{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}.organisation-unit__teams>span{overflow:hidden;max-width:160px;padding:5px 9px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--neutral-700,#514b57);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.organisation-unit__teams .is-empty{background:transparent;color:var(--neutral-600,#655d6e);font-weight:500}.organisation-unit__teams .is-more{flex:none;background:transparent}
.organisation-unit__manage{display:inline-flex;align-items:center;gap:8px;color:var(--tool-color);font-size:13px;font-weight:750;white-space:nowrap}.organisation-unit__manage .icon{width:16px;height:16px;transition:transform var(--duration-fast)}.organisation-unit[open] .organisation-unit__manage .icon{transform:rotate(180deg)}
.organisation-unit__editor{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(380px,1.25fr);border-top:1px solid var(--neutral-200,#dedbe2);background:var(--neutral-50,#faf9fb)}
.organisation-unit__section{min-width:0;padding:18px}.organisation-unit__section+.organisation-unit__section{border-left:1px solid var(--neutral-200,#dedbe2)}
.organisation-unit__section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px}.organisation-unit__section-heading h3{margin:2px 0 0;font-size:1rem}.organisation-unit__section-heading>span{color:var(--neutral-600,#655d6e);font-size:12px;font-weight:700;white-space:nowrap}
.department-row__rename{display:grid;gap:6px;margin:0}.department-row__rename>label{font-size:13px;font-weight:700}.department-row__rename>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.department-row__rename input{min-width:0;margin:0}
.department-row__remove{margin:12px 0 0}.department-row__locked{color:var(--neutral-600,#655d6e);font-size:13px;white-space:nowrap}.organisation-unit__note{margin:12px 0 0;color:var(--neutral-600,#655d6e);font-size:13px;line-height:1.45}
.team-list{display:grid;gap:6px;margin:0 0 12px;padding:0;list-style:none}.team-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:46px;padding:3px 4px 3px 10px;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:var(--paper,#fff)}
.team-row__rename{display:flex;align-items:center;gap:6px;min-width:0;margin:0}.team-row__rename input{min-width:0;margin:0;border-color:transparent;background:transparent}.team-row__rename input:focus{border-color:var(--tool-color);background:var(--paper,#fff)}
.team-row__usage{color:var(--neutral-600,#655d6e);font-size:12px;white-space:nowrap}
.team-add{display:grid;gap:6px;margin:0;padding-top:12px;border-top:1px solid var(--neutral-200,#dedbe2)}.team-add>label{font-size:13px;font-weight:700}.team-add>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.team-add input{margin:0}
.department-create{padding:0;overflow:hidden}.department-create__heading{margin:0;padding:20px 22px 16px}.department-create__options{border-top:1px solid var(--neutral-200,#dedbe2)}
.department-source+.department-source{border-top:1px solid var(--neutral-200,#dedbe2)}.department-source>summary{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 18px;cursor:pointer;list-style:none}.department-source>summary::-webkit-details-marker{display:none}.department-source>summary:hover{background:var(--neutral-50,#faf9fb)}.department-source>summary>span:nth-child(2){display:grid}.department-source>summary strong{font-size:15px}.department-source>summary small{margin-top:2px;color:var(--neutral-600,#655d6e);font-size:12px}.department-source>summary>.icon{width:16px;height:16px;transition:transform var(--duration-fast)}.department-source[open]>summary>.icon{transform:rotate(180deg)}
.department-source__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--neutral-100,#f1eff3);color:var(--tool-color)}.department-source__icon .icon{width:18px;height:18px}
.department-source__body{padding:16px 18px 20px;border-top:1px solid var(--neutral-200,#dedbe2);background:var(--neutral-50,#faf9fb)}.department-source__body>p{margin:0 0 14px;color:var(--neutral-600,#655d6e)}
.department-suggestions{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.department-add{display:grid;grid-template-columns:minmax(240px,460px) auto;align-items:end;gap:10px}.department-add>.guided-field{min-width:0}.department-add>.button{margin-bottom:1px}
@media(max-width:760px){
  .department-structure__heading{align-items:flex-start;padding:18px}.department-structure__total{margin-top:2px}
  .organisation-unit__summary{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:12px 14px}.organisation-unit__teams{grid-column:2/-1;grid-row:2}.organisation-unit__manage{grid-column:3;grid-row:1;font-size:0}.organisation-unit__manage .icon{width:18px;height:18px}
  .organisation-unit__editor{grid-template-columns:1fr}.organisation-unit__section+.organisation-unit__section{border-top:1px solid var(--neutral-200,#dedbe2);border-left:0}.team-list>li{grid-template-columns:minmax(0,1fr) auto}.team-row__rename{grid-column:1/-1}.team-row__usage{grid-column:1}.team-add>div,.department-row__rename>div{grid-template-columns:1fr}.team-add .button,.department-row__rename .button{width:100%}
  .department-create__heading{padding:18px}.department-source>summary{padding-inline:14px}.department-source__body{padding:14px}.department-add{grid-template-columns:1fr}.department-add>.button{width:100%}
}
/* Notifications: a row is the thing it refers to, so the whole row opens it. */
.notification-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.notification-filters a{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid var(--neutral-200,#dedbe2);border-radius:999px;background:var(--paper,#fff);color:inherit;font-size:14px;font-weight:600;text-decoration:none}
.notification-filters a .icon{width:15px;height:15px;color:var(--neutral-600,#655d6e)}
.notification-filters a span{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--neutral-100,#f1eff3);font-size:12px;font-variant-numeric:tabular-nums}
.notification-filters a[aria-current="page"]{border-color:var(--studio-black,#121211);background:var(--studio-black,#121211);color:var(--quantum-white,#fbfbfa)}
.notification-filters a[aria-current="page"] .icon{color:inherit}
.notification-filters a[aria-current="page"] span{background:rgb(255 255 255 / 22%);color:inherit}
.notification-group{margin-bottom:18px}
.notification-list{display:grid;margin:0;padding:0;list-style:none}
.notification-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.notification-row:last-child{border-bottom:0}
.notification-row form{margin:0;min-width:0}
.notification-open{display:grid;grid-template-columns:38px minmax(0,1fr);gap:13px;align-items:start;width:100%;padding:14px 10px 14px 2px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer;font:inherit;color:inherit}
.notification-open:hover{background:var(--neutral-50,#faf9fb)}
.notification-open__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e)}
.notification-open__icon .icon{width:18px;height:18px}
.notification-open__copy{display:grid;gap:3px;min-width:0}
.notification-open__copy strong{font-size:16px;font-weight:650;overflow-wrap:anywhere}
.notification-open__copy small{color:var(--neutral-600,#655d6e);overflow-wrap:anywhere}
.notification-open__meta{color:var(--neutral-600,#655d6e);font-size:13px}
.notification-row.is-unread .notification-open__icon{background:color-mix(in srgb,var(--tool-color) 12%,white);color:var(--tool-color)}
.notification-row.is-unread .notification-open__copy strong{font-weight:750}
.notification-row.is-unread .notification-open__copy strong::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:var(--tool-color);vertical-align:middle}
.notification-list--read .notification-open__copy strong{font-weight:600;color:var(--neutral-600,#655d6e)}
.notification-row__mute{align-self:center;white-space:nowrap}
.notification-empty{display:flex;align-items:center;gap:14px;padding:16px 2px 6px}
.notification-empty .icon{width:22px;height:22px;color:var(--positive,#3f5e3a)}
.notification-empty p{display:grid;gap:3px;margin:0}.notification-empty span{color:var(--neutral-600,#655d6e)}
/* Follow or ignore: one row per category, three states, no wall of switches. */
.follow-list{display:grid;margin:0;padding:0 22px 22px;list-style:none}
.follow-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--neutral-200,#dedbe2)}
.follow-row:last-child{border-bottom:0}
.follow-row__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:color-mix(in srgb,var(--tool-color) 9%,white);color:var(--tool-color)}
.follow-row__icon .icon{width:18px;height:18px}
.follow-row__copy{display:grid;gap:3px;min-width:0}.follow-row__copy small{color:var(--neutral-600,#655d6e)}
.follow-row__choices{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0}
.follow-choice{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid var(--neutral-200,#dedbe2);border-radius:999px;background:var(--paper,#fff);font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.follow-choice input{width:16px;height:16px;margin:0;accent-color:var(--lm-accent,var(--tool-color))}
.follow-choice:has(input:checked){border-color:color-mix(in srgb,var(--tool-color) 45%,white);background:color-mix(in srgb,var(--tool-color) 6%,white)}
.follow-row__always{display:grid;gap:2px;margin:0;text-align:right;font-weight:600}.follow-row__always small{color:var(--neutral-600,#655d6e);font-weight:400}
@media (max-width:760px){
  .notification-row{grid-template-columns:1fr}
  .notification-row__mute{justify-self:start;padding:0 0 12px 53px}
  .follow-row{grid-template-columns:40px minmax(0,1fr)}
  .follow-row__choices,.follow-row__always{grid-column:1/-1;text-align:left}
  .follow-list{padding:0 14px 18px}
}
.notification-repeats{display:inline-flex;align-items:center;min-height:22px;margin-left:6px;padding:0 9px;border-radius:999px;background:var(--neutral-100,#f1eff3);color:var(--neutral-600,#655d6e);font-size:12px;font-weight:700;vertical-align:middle}
@media (max-width:760px){
  .notifications-header .actions{width:100%;flex-direction:column;align-items:stretch}
  .notifications-header .actions form,.notifications-header .actions>.button{width:100%}
  .notifications-header .actions .button{width:100%;justify-content:center}
}
/* Finance books: a decision queue first, registers that read like ledgers, and documents that state their consequence. */
body.tool-finance{--books-warm:color-mix(in srgb,var(--notice) 12%,white);--books-urgent:color-mix(in srgb,var(--critical) 9%,white);--books-rule:var(--neutral-200,#dedbe2);--books-ink:color-mix(in srgb,var(--tool-color) 80%,black);--books-gutter:22px;--sheet-gutter:clamp(22px,3vw,36px)}

/* Navigation: the places in the books, and the views inside the current place, in one block above the title so neither moves as the person cycles through them. */
.books-nav{margin:0 0 18px;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper);overflow:hidden}
.books-sections{display:flex;gap:4px;padding:4px;overflow-x:auto;scrollbar-width:thin}
.books-sections a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 13px;border-radius:9px;color:var(--neutral-600);font-size:max(.7rem,14px);font-weight:700;white-space:nowrap;text-decoration:none}
.books-sections a .icon{width:16px;height:16px;color:var(--neutral-500)}
.books-sections a:hover{background:var(--neutral-100);text-decoration:none}
.books-sections a[aria-current="page"]{background:var(--tool-color);color:var(--tool-on)}
.books-sections a[aria-current="page"] .icon{color:currentColor}
.books-views{display:flex;align-items:center;gap:4px;padding:6px 8px;overflow-x:auto;border-top:1px solid var(--books-rule);background:var(--neutral-50);scrollbar-width:thin}
.books-views__label{display:inline-flex;align-items:center;gap:2px;padding-right:4px;color:var(--neutral-500);font-size:13px;font-weight:700;white-space:nowrap}
.books-views__label .icon{width:14px;height:14px}
.books-views a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:999px;color:var(--neutral-600);font-size:max(.68rem,13px);font-weight:650;white-space:nowrap;text-decoration:none}
.books-views a:hover{background:var(--neutral-200);text-decoration:none}
.books-views a[aria-current="page"]{background:var(--paper);border:1px solid var(--tool-color);color:var(--tool-color);font-weight:750}
/* Where you are, once a page sits below a view. */
.books-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0 0 12px;padding-left:calc(var(--books-gutter) - 7px);font-size:14px}
.books-crumbs a{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 7px;border-radius:8px;color:var(--neutral-600);font-weight:650;text-decoration:none}
.books-crumbs a:hover{background:var(--neutral-100);color:var(--studio-black);text-decoration:none}
.books-crumbs a .icon{width:14px;height:14px}
.books-crumbs__sep{width:14px;height:14px;color:var(--neutral-400)}
.books-crumbs [aria-current="page"]{padding:0 7px;color:var(--studio-black);font-weight:700}
.books-back{margin-bottom:12px}

/* One left edge. The banner, the panels and the first column of every table start at the same gutter. */
.books-header{align-items:flex-end;gap:18px;padding-left:var(--books-gutter);padding-right:var(--books-gutter)}
.books-header>div:first-child{padding-left:0}
.books-header>div:first-child::before{left:-13px}
.books-header h1{font-size:clamp(1.75rem,2.6vw,2.35rem);letter-spacing:-.025em}
.books-header .page-intro{max-width:58ch;line-height:1.5;min-height:3em}
.books-lines,.books-panel,.books-document-facts,.books-fieldset,.books-statement,.books-meta{padding-left:var(--books-gutter);padding-right:var(--books-gutter)}
.books-table th:first-child,.books-table td:first-child{padding-left:var(--books-gutter)}
.books-table th:last-child,.books-table td:last-child{padding-right:var(--books-gutter)}
.books-lines .books-table-wrap,.books-panel .books-table-wrap{margin-left:calc(var(--books-gutter) * -1);margin-right:calc(var(--books-gutter) * -1);border-left:0;border-right:0;border-radius:0}
.books-panel-label{margin:0 0 10px;color:var(--neutral-600);font-family:var(--font-sans);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

/* Filters are a quieter second layer than the view tabs. */
.books-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.books-filters a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--books-rule);border-radius:999px;background:var(--paper);color:var(--neutral-700);font-size:14px;font-weight:600;text-decoration:none}
.books-filters a[aria-current="true"]{border-color:var(--neutral-800);background:var(--neutral-800);color:white}
.books-filters a span{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--neutral-100);color:var(--neutral-700);font-size:12px}
.books-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--books-rule);border-radius:10px;background:var(--neutral-50);color:var(--neutral-700);font-size:15px}
.books-note .icon{flex:0 0 16px;width:16px;height:16px;margin-top:3px;color:var(--neutral-500)}
.books-footnote{margin:6px 0 14px;color:var(--neutral-600);font-size:14px}
.books-footnote a{font-weight:650}

/* Figures: the few numbers that describe the position, set in tabular figures. */
.books-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:0 0 18px}
.books-figure{display:grid;align-content:start;gap:4px;min-width:0;padding:14px 16px;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper)}
.books-figure>span{color:var(--neutral-600);font-size:13px;font-weight:650}
.books-figure strong{font-size:clamp(1.15rem,1.7vw,1.5rem);font-weight:650;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}
.books-figure small{color:var(--neutral-600);font-size:13px}
.books-figure--warm{border-color:color-mix(in srgb,var(--notice) 45%,white);background:var(--books-warm)}

/* Today: a sentence, one place to start, then the work grouped by what the person does. */
.books-today{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;margin:0 0 16px}
.books-today h1{margin:0;font-size:clamp(1.9rem,3.2vw,2.6rem)}
.books-today__summary{margin:6px 0 0;color:var(--neutral-700);font-size:17px;font-variant-numeric:tabular-nums}
.books-record{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.books-record__label{margin-right:4px;color:var(--neutral-600);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.books-record a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--books-rule);border-radius:10px;background:var(--paper);color:var(--neutral-800);font-size:14px;font-weight:650;text-decoration:none}
.books-record a:hover{border-color:color-mix(in srgb,var(--tool-color) 45%,white)}
.books-record a .icon{width:16px;height:16px;color:var(--tool-color)}

/* Start here: the one dominant element on the page. Filled dark so it can never be mistaken for another card. */
.books-focus{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:14px 20px;align-items:center;margin:0 0 22px;padding:20px 24px;border-radius:16px;background:var(--books-ink);color:white;box-shadow:var(--shadow-soft)}
.books-focus--urgent{background:linear-gradient(90deg,var(--critical) 0 6px,var(--books-ink) 6px)}
.books-focus__step{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:0;color:rgb(255 255 255 / 72%);font-family:var(--font-sans);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.books-focus__index{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 6px;border-radius:7px;background:rgb(255 255 255 / 16%);color:white;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.books-focus__icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:rgb(255 255 255 / 14%);color:white}
.books-focus--urgent .books-focus__icon{background:var(--critical)}
.books-focus__icon .icon{width:26px;height:26px}
.books-focus__text{min-width:0}
.books-focus__text h2{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;color:white;font-size:1.5rem}
.books-focus__text p:last-child{margin:5px 0 0;color:rgb(255 255 255 / 80%);font-size:15px}
.books-focus__count{display:inline-grid;place-items:center;min-width:28px;height:26px;padding:0 8px;border-radius:999px;background:rgb(255 255 255 / 18%);font-family:var(--font-sans);font-size:14px;font-weight:750}
.books-focus__amount{display:grid;justify-items:end;gap:2px;margin:0}
.books-focus__amount span{color:rgb(255 255 255 / 72%);font-size:13px;font-weight:650}
.books-focus__amount strong{color:white;font-size:1.5rem;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.books-focus__action{white-space:nowrap;background:white;border-color:white;color:var(--books-ink)}
.books-focus__action:hover{background:rgb(255 255 255 / 90%);border-color:transparent;color:var(--books-ink)}
.books-focus__action .icon{width:16px;height:16px;margin-left:6px}

/* Lanes: four wide sections in a fixed order, each opening with the three that matter most. */
.books-lanes{display:grid;gap:18px;margin:0 0 26px}
.books-lane{min-width:0;border:1px solid var(--books-rule);border-radius:16px;background:var(--paper);overflow:hidden}
.books-lane.is-clear{background:var(--neutral-50)}
.books-lane__head{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 24px;border-bottom:1px solid var(--books-rule)}
.books-lane.is-clear .books-lane__head{border-bottom:0;padding:16px 24px}
.books-lane__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}
.books-lane--urgent .books-lane__icon{background:color-mix(in srgb,var(--critical) 10%,white);color:var(--critical)}
.books-lane--warm .books-lane__icon{background:color-mix(in srgb,var(--notice) 20%,white);color:var(--neutral-900)}
.books-lane.is-clear .books-lane__icon{background:color-mix(in srgb,var(--positive) 12%,white);color:var(--positive)}
.books-lane__icon .icon{width:22px;height:22px}
.books-lane__title{min-width:0}
.books-lane__step{margin:0 0 2px;color:var(--neutral-500);font-family:var(--font-sans);font-size:12px;font-weight:700;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.books-lane__title h2{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:0;font-size:1.3rem}
.books-lane__note{margin:3px 0 0;color:var(--neutral-600);font-size:14px;line-height:1.4}
.books-lane__count{display:inline-grid;place-items:center;min-width:26px;height:24px;padding:0 8px;border-radius:999px;background:var(--neutral-100);font-family:var(--font-sans);font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
.books-lane--urgent .books-lane__count{background:var(--critical);color:white}
.books-lane__total{display:grid;justify-items:end;margin:0;line-height:1.2}
.books-lane__total strong{font-size:1.2rem;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.books-lane__total span{color:var(--neutral-600);font-size:12px;font-weight:650}
.books-lane__list{display:grid;margin:0;padding:0;list-style:none}
.books-lane__list li+li{border-top:1px solid var(--books-rule)}
.books-lane__more{border-top:1px solid var(--books-rule)}
.books-lane__more>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 24px;color:var(--neutral-600);font-size:14px;font-weight:650;cursor:pointer;list-style:none}
.books-lane__more>summary::-webkit-details-marker{display:none}
.books-lane__more>summary:hover{background:var(--neutral-50);color:var(--studio-black)}
.books-lane__more>summary:focus-visible{outline:3px solid var(--focus-ring,#5948c8);outline-offset:-3px}
.books-lane__more>summary .icon{width:16px;height:16px;color:var(--neutral-500);transition:transform .15s ease}
.books-lane__more[open]>summary{border-bottom:1px solid var(--books-rule)}
.books-lane__more[open]>summary .icon{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.books-lane__more>summary .icon{transition:none}}

/* A task row: the same five columns down the lane, so titles, flags and money line up. */
.books-task{display:grid;grid-template-columns:40px minmax(0,1fr) 116px 148px 16px;gap:18px;align-items:center;min-height:76px;padding:14px 24px;color:inherit;text-decoration:none}
.books-task:hover{background:var(--neutral-50);text-decoration:none}
.books-task:focus-visible{outline:3px solid var(--focus-ring,#5948c8);outline-offset:-3px}
.books-task__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--neutral-100);color:var(--neutral-700)}
.books-task--urgent .books-task__icon{background:color-mix(in srgb,var(--critical) 12%,white);color:var(--critical)}
.books-task--warm .books-task__icon{background:color-mix(in srgb,var(--notice) 20%,white);color:var(--neutral-900)}
.books-task__icon .icon{width:18px;height:18px}
.books-task__text{display:grid;gap:3px;min-width:0}
.books-task__text strong{font-size:16px;font-weight:650}
.books-task__text small{color:var(--neutral-600);font-size:14px;line-height:1.4}
.books-task__count{display:inline-grid;place-items:center;min-width:24px;height:21px;padding:0 7px;border-radius:999px;background:var(--neutral-100);font-family:var(--font-sans);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums;vertical-align:1px}
.books-task__amount{text-align:right;font-size:16px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.books-task__go{width:16px;height:16px;color:var(--neutral-500)}
.books-flag{display:inline-flex;align-items:center;justify-self:start;gap:6px;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.books-flag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.books-flag--urgent{background:color-mix(in srgb,var(--critical) 12%,white);color:var(--critical)}
.books-flag--soon{background:color-mix(in srgb,var(--notice) 22%,white);color:var(--neutral-900)}
.books-flag--focus{background:var(--books-ink);color:white}
.books-flag--none{padding:0}
.books-flag--none::before{display:none}
.books-task.is-focus{background:color-mix(in srgb,var(--tool-color) 5%,white);box-shadow:inset 3px 0 0 var(--books-ink)}

.books-position{margin:0 0 12px;padding-top:14px;border-top:1px solid var(--books-rule)}
.books-position__title{margin:0 0 10px;font-family:var(--font-sans);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--neutral-600)}
.books-position__figures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper);overflow:hidden}
.books-position__figures>div{display:grid;gap:4px;min-width:0;padding:12px 14px;border-left:1px solid var(--books-rule)}
.books-position__figures>div:first-child{border-left:0}
.books-position__figures dt{display:flex;align-items:center;gap:6px;color:var(--neutral-600);font-size:13px;font-weight:650}
.books-position__figures dt .icon{width:14px;height:14px}
.books-position__figures dd{margin:0;font-size:1.2rem;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Set-up invitation. */
.books-setup{max-width:760px;margin:18px 0;padding:clamp(20px,4vw,40px);border:1px solid var(--books-rule);border-radius:16px;background:var(--paper)}
.books-setup h1{margin:0 0 10px;font-size:clamp(1.9rem,3.5vw,2.6rem)}
.books-setup>p{max-width:60ch;margin:0 0 20px;color:var(--neutral-700);font-size:17px}
.books-setup-steps{display:grid;gap:0;margin:0 0 24px;padding:0;list-style:none;counter-reset:books-step;border-top:1px solid var(--books-rule)}
.books-setup-steps li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 12px;padding:12px 0;border-bottom:1px solid var(--books-rule);counter-increment:books-step}
.books-setup-steps li::before{content:counter(books-step,decimal-leading-zero);grid-row:span 2;color:var(--tool-color);font-weight:750;font-variant-numeric:tabular-nums}
.books-setup-steps span{color:var(--neutral-600);font-size:15px}

/* Registers. Money aligns right in tabular figures; a warm row is a condition worth looking at, not an alarm. */
.books-table-wrap{margin-bottom:18px}
.books-table{font-size:15px}
.books-table th.is-numeric,.books-table td.is-numeric{text-align:right}
.books-table td{vertical-align:top}
.books-table tbody tr.is-warm{background:var(--books-warm)}
.books-table tbody tr.is-urgent{background:var(--books-urgent)}
.books-amount{font-variant-numeric:tabular-nums;white-space:nowrap}
.books-cell-link{font-weight:650}
.books-sub{display:block;margin-top:2px;color:var(--neutral-600);font-size:13px;font-weight:400;overflow-wrap:anywhere}
.books-empty{display:grid;justify-items:start;gap:8px;padding:28px;border:1px dashed var(--neutral-300);border-radius:14px;background:var(--paper)}
.books-empty h2{font-size:1.25rem}
.books-empty p{margin:0;color:var(--neutral-600)}

/* Statements read like statements: ruled, grouped, totals set apart. */
.books-statement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.books-statement{padding:18px 20px;margin-bottom:14px}
.books-statement h2{font-size:1.35rem}
.books-statement .books-table td,.books-statement .books-table th{padding:.55rem .6rem}
.books-statement-section th{padding-top:1.1rem!important;background:none;color:var(--neutral-800);font-size:13px;letter-spacing:.06em}
.books-statement-group th{background:none;color:var(--neutral-600);font-size:12px;text-transform:none;letter-spacing:0;font-weight:650;border-bottom:0}
.books-statement-subtotal td{border-top:1px solid var(--neutral-300);font-weight:650}
.books-statement-total td{border-top:2px solid var(--neutral-800);font-weight:750;font-size:16px}
.books-statement-kinds{margin:0 0 12px}
.books-subheading{margin:18px 0 8px;font-size:1.05rem}
.books-filed{margin:8px 0;border-top:1px solid var(--books-rule);padding-top:8px}
.books-filed summary{cursor:pointer;font-weight:650;min-height:40px;display:flex;align-items:center}
.books-dp-working{margin:6px 0 12px}

/* Metrics: value first, the working one disclosure away. */
.books-section{margin:0 0 20px}
.books-section>h2{margin:0 0 10px;font-size:1.3rem}
.books-metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.books-metric{display:grid;align-content:start;gap:6px;padding:16px;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper)}
.books-metric h3{margin:0;font-family:var(--font-sans);font-size:14px;font-weight:650;color:var(--neutral-600)}
.books-metric-value{margin:0;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}
.books-metric.is-missing .books-metric-value{color:var(--neutral-500);font-size:1.05rem;font-weight:600}
.books-metric-missing{margin:0;color:var(--neutral-600);font-size:14px}
.books-metric-formula summary{cursor:pointer;min-height:36px;display:flex;align-items:center;color:var(--neutral-700);font-size:14px;font-weight:650}
.books-metric-formula p{margin:4px 0 8px;font-size:14px}
.books-metric-formula dl{display:grid;gap:4px;margin:0}
.books-metric-formula dl>div{display:flex;justify-content:space-between;gap:12px;font-size:14px;border-top:1px solid var(--books-rule);padding-top:4px}
.books-metric-formula dt{color:var(--neutral-600)}
.books-metric-formula dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}

/* Forecast weeks. */
.books-assumptions{margin:0 0 14px;padding-left:18px;color:var(--neutral-600);font-size:14px}
.books-forecast{display:grid;border:1px solid var(--books-rule);border-radius:14px;background:var(--paper);overflow:hidden}
.books-week{border-top:1px solid var(--books-rule)}
.books-week:first-child{border-top:0}
.books-week summary{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:56px;padding:8px 16px;cursor:pointer;list-style:none}
.books-week summary::-webkit-details-marker{display:none}
.books-week summary strong{font-variant-numeric:tabular-nums}
.books-week.is-negative summary strong{color:var(--critical)}
.books-week-date{font-weight:650}
.books-week-flow{display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--neutral-600);font-size:14px;font-variant-numeric:tabular-nums}
.books-week-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:4px 16px 16px}
.books-week-detail h3{margin:0 0 6px;font-family:var(--font-sans);font-size:14px}
.books-week-detail ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.books-week-detail li{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.books-week-detail li span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Reconciliation lines. */
.books-statement-lines{display:grid;border:1px solid var(--books-rule);border-radius:14px;background:var(--paper);overflow:hidden}
.books-line{padding:10px 16px;border-top:1px solid var(--books-rule)}
.books-line:first-child{border-top:0}
.books-line--unmatched{background:var(--books-warm)}
.books-line-main{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;gap:12px;align-items:center}
.books-line-date{color:var(--neutral-600);font-size:14px;font-variant-numeric:tabular-nums}
.books-line-text{display:grid;min-width:0}
.books-line-text small{color:var(--neutral-600);font-size:13px}
.books-line-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:10px 0 2px 68px}
.books-line-actions form{margin:0}
.books-amount.is-negative{color:var(--neutral-800)}

/* Exports and history. */
.books-exports{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;margin:0 0 16px}
.books-export{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper);color:inherit;text-decoration:none}
.books-export:hover{border-color:color-mix(in srgb,var(--tool-color) 45%,white)}
.books-export>span:nth-child(2){display:grid;gap:2px}
.books-export small{color:var(--neutral-600);font-size:14px}
.books-export-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}
.books-export-icon .icon,.books-export>.icon{width:18px;height:18px}
.books-history{display:grid;gap:0;margin:0;padding:0;list-style:none}
.books-history li{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:8px 0;border-top:1px solid var(--books-rule)}
.books-history li:first-child{border-top:0}
.books-history time{color:var(--neutral-600);font-size:14px;font-variant-numeric:tabular-nums}
.books-history span{display:grid}
.books-history small{color:var(--neutral-600);font-size:13px}

@media (max-width:1100px){
  .books-task{grid-template-columns:40px minmax(0,1fr) auto 16px;gap:4px 14px}
  .books-task__icon{grid-column:1;grid-row:1/-1}
  .books-task__text{grid-column:2;grid-row:1/-1}
  .books-flag{grid-column:3;grid-row:1;justify-self:end}
  .books-task__amount{grid-column:3;grid-row:2}
  .books-task__go{grid-column:4;grid-row:1/-1}
  .books-position__figures{grid-template-columns:repeat(3,minmax(0,1fr))}
  .books-position__figures>div:nth-child(4){border-left:0}
  .books-position__figures>div:nth-child(n+4){border-top:1px solid var(--books-rule)}
}
@media (max-width:900px){
  .books-statement-grid{grid-template-columns:1fr}
  .books-week-detail{grid-template-columns:1fr}
}
@media (max-width:700px){
  .books-nav{margin-left:-2px;margin-right:-2px}
  .books-sections a{min-height:44px;padding:0 10px}
  .books-views__label{display:none}
  .books-header{align-items:flex-start}
  .books-header .actions{width:100%}
  .books-header .page-intro{min-height:0}
  .books-quick .button{flex:1 1 auto}
  .books-focus{grid-template-columns:44px minmax(0,1fr);gap:10px 14px;padding:16px}
  .books-focus__icon{width:44px;height:44px}
  .books-focus__icon .icon{width:22px;height:22px}
  .books-focus__amount{grid-column:2;justify-items:start}
  .books-focus__action{grid-column:1/-1;justify-content:center}
  .books-task{grid-template-columns:36px minmax(0,1fr) 16px;gap:6px 12px;min-height:0;padding:14px 14px}
  .books-task__icon{width:36px;height:36px;grid-column:1;grid-row:1}
  .books-task__text{grid-column:2;grid-row:1}
  .books-flag{grid-column:2;grid-row:2;justify-self:start}
  .books-task__amount{grid-column:2;grid-row:3;text-align:left}
  .books-task__go{grid-column:3;grid-row:1}
  .books-lane__head{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px 14px}
  .books-lane__icon{width:44px;height:44px}
  .books-lane__total{grid-column:2;justify-items:start}
  .books-lane__more>summary{padding:0 14px}
  .books-position__figures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .books-position__figures>div{border-left:0;border-top:1px solid var(--books-rule)}
  .books-position__figures>div:nth-child(-n+2){border-top:0}
  .books-position__figures>div:nth-child(even){border-left:1px solid var(--books-rule)}
  .books-record{width:100%}
  .books-figures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .books-statement{padding:14px}
  .books-line-main{grid-template-columns:44px minmax(0,1fr) auto}
  .books-line-main>.status{grid-column:2;justify-self:start}
  .books-line-actions{margin-left:0}
  .books-week summary{grid-template-columns:minmax(0,1fr) auto}
  .books-week-flow{grid-column:1/-1;grid-row:2}
  .books-history li{grid-template-columns:1fr}
}
@media (max-width:420px){
  .books-figures{grid-template-columns:1fr}
}
/* Finance documents: the sheet a company issues, and the record Symphony keeps of it. */
/* Documents. */
.books-document-aside{display:grid;justify-items:end;gap:10px}
.books-document-facts{padding:16px var(--books-gutter);margin-bottom:14px}
.books-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px 24px;margin:0}
.books-facts>div{display:grid;gap:2px;min-width:0}
.books-facts dt{color:var(--neutral-600);font-size:13px;font-weight:650}
.books-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.books-totals{display:grid;justify-content:end;gap:4px;margin:12px 0 0}
.books-totals>div{display:grid;grid-template-columns:minmax(160px,auto) 160px;gap:16px}
.books-totals dt{color:var(--neutral-600);text-align:right}
.books-totals dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.books-totals .is-total{padding-top:6px;border-top:1px solid var(--neutral-300);font-weight:750}
.books-totals .is-total dt{color:inherit}
/* With a sheet, the paper carries the number: the bar above it only says what kind of record this is and where it stands. */
.books-docbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 14px;padding:0 var(--books-gutter)}
.books-docbar h1{margin:0;font-family:var(--font-sans);font-size:14px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--neutral-600)}
.books-docbar p{margin:4px 0 0;max-width:70ch;color:var(--neutral-600);font-size:14px}
.books-docbar__aside{display:flex;flex-wrap:wrap;align-items:center;gap:10px}

/* The sheet: the document as the issuer would put it on paper. Everything Symphony knows *about* it belongs below, not here. */
/* With paper on the page, everything about that paper keeps the paper's width. */
.books-doc--paper{max-width:980px}
.books-sheet{margin:0 0 18px;border:1px solid var(--books-rule);border-radius:14px;background:white;box-shadow:0 20px 44px -30px rgb(24 16 34 / 40%);overflow:hidden}
.books-sheet__head{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:20px 32px;padding:var(--sheet-gutter) var(--sheet-gutter) 22px;border-bottom:3px solid var(--tool-color)}
.books-sheet--draft .books-sheet__head{border-bottom-color:var(--neutral-300)}
.books-sheet__from{margin:0 0 6px;color:var(--neutral-500);font-family:var(--font-sans);font-size:12px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.books-sheet__name{margin:0;font-family:var(--font-display);font-size:clamp(1.3rem,2.2vw,1.65rem);font-weight:650;letter-spacing:-.02em;line-height:1.15}
.books-sheet__line{margin:3px 0 0;color:var(--neutral-700);font-size:14px;line-height:1.45}
.books-sheet__marks{display:flex;flex-wrap:wrap;gap:4px 18px;margin:8px 0 0;color:var(--neutral-600);font-size:13px}
.books-sheet__marks strong{color:var(--studio-black);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.books-sheet__title{justify-self:end;text-align:right}
.books-sheet__kind{margin:0;color:var(--tool-color);font-family:var(--font-sans);font-size:13px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.books-sheet__number{margin:4px 0 0;font-family:var(--font-display);font-size:clamp(1.2rem,2vw,1.5rem);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.books-sheet__dated{margin:3px 0 0;color:var(--neutral-600);font-size:14px}
.books-sheet__stamp{display:inline-block;margin:10px 0 0;padding:3px 10px;border:1px solid currentColor;border-radius:6px;color:var(--neutral-500);font-family:var(--font-sans);font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.books-sheet__between{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px 32px;padding:22px var(--sheet-gutter);border-bottom:1px solid var(--books-rule)}
.books-sheet__partyname{margin:0;font-size:1.05rem;font-weight:700}
.books-sheet__terms{display:grid;align-content:start;gap:7px;margin:0}
.books-sheet__terms>div{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:14px}
.books-sheet__terms dt{color:var(--neutral-600);font-size:14px}
.books-sheet__terms dd{margin:0;font-size:14px;font-weight:650;text-align:right}
.books-sheet__lines{margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.books-sheet__lines .books-table th{background:var(--neutral-50)}
.books-sheet__lines .books-table th:first-child,.books-sheet__lines .books-table td:first-child{padding-left:var(--sheet-gutter)}
.books-sheet__lines .books-table th:last-child,.books-sheet__lines .books-table td:last-child{padding-right:var(--sheet-gutter)}
.books-sheet__serial{width:34px;color:var(--neutral-500);font-variant-numeric:tabular-nums}
.books-sheet__foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:20px 32px;padding:20px var(--sheet-gutter);border-top:1px solid var(--books-rule)}
.books-sheet__words{max-width:46ch}
.books-sheet__words p:last-child{margin:0;font-size:15px;font-weight:650;line-height:1.45}
.books-sheet__foot .books-totals{margin:0}
.books-sheet__sign{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 32px;padding:20px var(--sheet-gutter) 24px;border-top:1px solid var(--books-rule)}
.books-sheet__note{max-width:56ch;margin:0;color:var(--neutral-600);font-size:13px;line-height:1.5}
.books-sheet__signature{margin-left:auto;text-align:right}
.books-sheet__signature p{margin:0 0 44px;font-size:14px;font-weight:650}
.books-sheet__signature span{display:inline-block;padding-top:7px;border-top:1px solid var(--neutral-400);color:var(--neutral-600);font-size:13px}

/* The record: what Symphony stored, deliberately unlike the paper above it. */
.books-meta{margin-bottom:14px;padding-top:20px;padding-bottom:18px;background:transparent;border-color:var(--books-rule);box-shadow:none}
.books-meta__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:16px}
.books-meta__head h2{margin:0;font-size:1.05rem}
.books-meta__head p{margin:0;color:var(--neutral-600);font-size:13px}
.books-meta__facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px 24px;margin:0}
.books-meta__facts>div{display:grid;gap:3px;min-width:0}
.books-meta__facts dt{color:var(--neutral-600);font-size:12px;font-weight:600}
.books-meta__facts dd{margin:0;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.books-meta__facts dd a{font-weight:600}
.books-meta__sub{margin:22px 0 4px;padding-top:16px;border-top:1px solid var(--books-rule);color:var(--neutral-600);font-size:12px;font-weight:600}
.books-events{display:grid;margin:0;padding:0;list-style:none}
.books-events li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 16px;padding:9px 0;border-top:1px solid var(--neutral-100);font-size:14px}
.books-events li:first-child{border-top:0}
.books-event__what{min-width:0;overflow-wrap:anywhere}
.books-event__meta{color:var(--neutral-600);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.books-meta .books-meta__foot{display:grid;gap:4px;margin:16px 0 0;color:var(--neutral-600);font-size:12px;overflow-wrap:anywhere}
.books-meta__foot code{font-size:11.5px;letter-spacing:-.01em}

.books-panel{margin-bottom:14px;padding:18px var(--books-gutter)}
.books-panel--warm{border-color:color-mix(in srgb,var(--notice) 45%,white);background:var(--books-warm)}
.books-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.books-list li{padding:8px 0;border-top:1px solid var(--books-rule)}
.books-list li:first-child{border-top:0}
.books-journal-link{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--neutral-600);font-size:15px}
.books-journal-link .icon{width:16px;height:16px}
.books-actions{display:grid;gap:10px;margin-top:6px}
.books-actions .decision-bar{position:static;box-shadow:none}
.books-actions .decision-bar.is-primary{border-color:color-mix(in srgb,var(--tool-color) 40%,white);background:color-mix(in srgb,var(--tool-color) 5%,white)}
.books-inline-field{display:grid;gap:4px;min-width:180px}
.books-inline-field span{font-size:13px;font-weight:650}
.books-inline-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0}
.books-number-input{max-width:130px;text-align:right}
.books-prose{max-width:72ch;margin:0;line-height:1.6}

/* Issuing: a short, visible window to recall, before anything is posted. */
.books-pending{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:6px 14px;align-items:center;margin:0 0 16px;padding:14px 16px;border:1px solid var(--tool-color);border-radius:14px;background:color-mix(in srgb,var(--tool-color) 7%,white)}
.books-pending__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--books-ink);color:white}
.books-pending__icon .icon{width:18px;height:18px}
.books-pending__text{display:grid;gap:2px}
.books-pending__text strong{font-size:16px;font-variant-numeric:tabular-nums}
.books-pending__text span{color:var(--neutral-600);font-size:14px}
.books-pending form{grid-column:3;grid-row:1}
.books-pending__track{grid-column:1/-1;height:4px;border-radius:4px;background:color-mix(in srgb,var(--tool-color) 18%,white);overflow:hidden}
.books-pending__track span{display:block;height:100%;background:var(--tool-color);transform-origin:left}
@media(prefers-reduced-motion:no-preference){.books-pending__track span{transition:transform .2s linear}}

/* Sending: one action that opens the mail app, and the words to paste where it cannot fill them in. */
.books-send{margin:0 0 16px;padding:16px var(--books-gutter)}
.books-send__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.books-send__head h2{margin:0;font-size:1.05rem}
.books-send__head p{margin:2px 0 0;color:var(--neutral-600);font-size:14px}
.books-send__head p a{font-weight:600}
.books-send__primary{white-space:nowrap}
.books-send .books-send__manual{margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid var(--books-rule);border-radius:0;background:none}
.books-send .books-send__manual summary{cursor:pointer;font-weight:500;width:max-content;max-width:100%;color:var(--neutral-600);font-size:14px}
.books-send__manual summary:hover{color:var(--studio-black)}
.books-send__copy{display:grid;gap:14px;margin-top:14px}
.books-send__field{display:grid;gap:6px}
.books-send__label{display:flex;align-items:center;justify-content:space-between;gap:12px}
.books-send__label label{font-size:12px;font-weight:600;color:var(--neutral-600)}
.books-send__copybtn{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 8px;border:0;border-radius:8px;background:none;color:var(--neutral-700);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.books-send__copybtn:hover{background:var(--neutral-100);color:var(--studio-black)}
.books-send__copybtn .icon{width:15px;height:15px}
.books-send__field input,.books-send__field textarea{width:100%;background:var(--neutral-50);font-size:14px}
.books-send__field textarea{resize:vertical;line-height:1.55}
.books-send .books-send__attach{margin:0;color:var(--neutral-600);font-size:14px}
.books-send__attach a{font-weight:600}

/* Evidence files: named, sized, attributed, and downloadable. */
.books-evidence{margin-bottom:14px;padding:18px var(--books-gutter)}
.books-evidence__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:10px}
.books-evidence__head h2{margin:0;font-size:1.05rem}
.books-evidence .books-evidence__head p{margin:0;color:var(--neutral-600);font-size:13px}
.books-files{display:grid;margin:0;padding:0;list-style:none}
.books-files li{display:grid;grid-template-columns:32px minmax(0,1fr) 36px;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--neutral-100)}
.books-files li:first-child{border-top:0}
.books-files__icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--neutral-100);color:var(--neutral-700)}
.books-files__icon .icon,.books-files__get .icon{width:16px;height:16px}
.books-files__text{display:grid;gap:1px;min-width:0}
.books-files__text a{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.books-files__text small{color:var(--neutral-600);font-size:12px;overflow-wrap:anywhere}
.books-files__get{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--neutral-600)}
.books-files__get:hover{background:var(--neutral-100);color:var(--studio-black)}
.books-files__add{display:grid;gap:6px;margin-top:10px;padding-top:12px;border-top:1px solid var(--books-rule)}
.books-files__pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.books-files__pick input[type=file]{flex:1 1 220px;min-width:0;width:auto;padding:0;border:0;background:none;font-size:14px}
.books-files__add small{color:var(--neutral-600);font-size:12px}
.books-document-facts .books-panel-label{margin-bottom:8px;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}

@media (max-width:700px){
  .books-panel,.books-document-facts{padding:14px}
  .books-send__head{flex-direction:column;align-items:stretch}
  .books-send__primary{justify-content:center}
  .books-pending{grid-template-columns:40px minmax(0,1fr)}
  .books-pending form{grid-column:1/-1;grid-row:auto}
  .books-pending form .button{width:100%;justify-content:center}
  .books-document-aside{justify-items:start}
  .books-totals{justify-content:stretch}
  .books-totals>div{grid-template-columns:minmax(0,1fr) auto}
  .books-sheet__head{grid-template-columns:1fr;gap:18px}
  .books-sheet__title{justify-self:start;text-align:left}
  .books-sheet__between{gap:18px}
  .books-sheet__terms dd{text-align:left}
  .books-sheet__terms>div{grid-template-columns:minmax(0,1fr) minmax(0,auto)}
  .books-sheet__foot{flex-direction:column}
  .books-sheet__foot .books-totals{width:100%}
  .books-sheet__sign{flex-direction:column;align-items:stretch}
  .books-sheet__signature{margin-left:0;text-align:left}
  .books-sheet__signature p{margin-bottom:38px}
  .books-meta__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
  .books-events li{flex-direction:column}
  .books-docbar{padding:0}
}

/* How far a job has come, so its next step needs no hunting. */
.books-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin:0 0 16px;padding:0;list-style:none;border:1px solid var(--books-rule);border-radius:12px;background:var(--paper);overflow:hidden}
.books-stage{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:12px 16px;border-left:1px solid var(--books-rule)}
.books-stage:first-child{border-left:0}
.books-stage__mark{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--neutral-200);color:var(--neutral-600);font-family:var(--font-sans);font-size:13px;font-weight:750}
.books-stage__mark .icon{width:14px;height:14px}
.books-stage__text{display:grid;gap:1px;min-width:0}
.books-stage__text strong{font-size:15px;font-weight:650}
.books-stage__text small{color:var(--neutral-600);font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.books-stage--done .books-stage__mark{background:var(--tool-color);color:var(--tool-on)}
.books-stage--current{background:color-mix(in srgb,var(--tool-color) 6%,white)}
.books-stage--current .books-stage__mark{background:var(--books-ink);color:white}
.books-stage--todo .books-stage__text strong,.books-stage--todo .books-stage__text small{color:var(--neutral-500)}
@media (max-width:820px){
  .books-stages{grid-template-columns:1fr}
  .books-stage{border-left:0;border-top:1px solid var(--books-rule)}
  .books-stage:first-child{border-top:0}
}
/* Finance forms: numbered fieldsets, a grid of fields, the choices as one row, and the decision at the end. */
/* Forms: numbered fieldsets, a grid of fields, lines as a table, and the decision at the end. */
.books-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-width:1180px}
.books-form>*,.books-lines,.books-panel,.books-statement{min-width:0}
.books-fieldset{margin:0;padding:18px var(--books-gutter);min-width:0}
/* A legend sits on the fieldset's border by default, so the card's edge runs through the heading. Floating it puts it inside the card. */
.books-fieldset>legend{float:left;width:100%;display:flex;align-items:center;gap:10px;margin:0 0 4px;padding:0;font-family:var(--font-display);font-size:1.15rem;font-weight:500}
.books-fieldset>legend+*,.books-grid,.books-checks{clear:both}
.books-fieldset::after{content:"";display:block;clear:both}
.books-step{display:inline-grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;background:var(--neutral-100);color:var(--neutral-700);font-family:var(--font-sans);font-size:13px;font-weight:750}
.books-section-head{display:flex;align-items:center;gap:10px;margin:0 0 4px;font-size:1.15rem;font-weight:500}
.books-fieldset-note{max-width:72ch;margin:6px 0 14px;color:var(--neutral-600);font-size:14px;line-height:1.45}
.books-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:0 16px;align-items:start}
.books-grid .field:has(textarea){grid-column:1/-1;max-width:72ch}
@media (min-width:900px){.books-grid .field:has(input[type=file]){grid-column:span 2}}
.books-decision .button{white-space:nowrap}
.books-decision .button .icon{color:inherit}

/* Yes/no choices as one row of targets, so they never float mid-row or sink to the bottom of a tall one. */
.books-checks{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 14px}
.books-field--check{display:flex!important;align-items:center;gap:10px;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--books-rule);border-radius:10px;background:var(--paper)}
.books-field--check:hover{border-color:color-mix(in srgb,var(--tool-color) 45%,white)}
.books-field--check:has(input:checked){border-color:var(--tool-color);background:color-mix(in srgb,var(--tool-color) 8%,white)}
.books-field--check:focus-within{outline:3px solid var(--focus-ring,#5948c8);outline-offset:2px}
.books-field--check input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--lm-accent,var(--tool-color))}
.books-field--check label{font-size:15px;font-weight:600;cursor:pointer}
.books-field--check .helptext{flex-basis:100%;margin-bottom:4px}
.books-lines{padding:18px var(--books-gutter);container:finance-lines / inline-size}
.books-lines .books-section-head{margin-bottom:4px}
.books-line-table{min-width:880px;font-size:1rem}
.books-line-table td{position:relative;padding:.5rem .45rem}
.books-line-table input:not([type=checkbox]),.books-line-table select{min-width:96px;min-height:40px}
.books-line-table input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:10px 0;accent-color:var(--lm-accent,var(--tool-color))}
.books-line-table tr.has-error td{background:var(--books-urgent)}
.books-line-label{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.books-errors{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid color-mix(in srgb,var(--critical) 35%,white);border-radius:12px;background:var(--books-urgent)}
.books-errors .icon{flex:0 0 18px;width:18px;height:18px;margin-top:2px;color:var(--critical)}
.books-errors ul{margin:6px 0 0;padding-left:18px}
.books-decision{position:sticky;bottom:12px;z-index:2;box-shadow:var(--shadow-raised)}
.books-choose{max-width:560px;display:grid;gap:10px;padding:20px var(--books-gutter)}
.books-choose .actions{justify-content:flex-end}

@media (max-width:700px){
  .books-fieldset,.books-lines{padding:14px}
  .books-grid{grid-template-columns:1fr}
  .books-inline-field{min-width:0;flex:1 1 100%}
  .books-decision{position:static;box-shadow:none}
}
/* Respond to the actual form width, including the desktop's split layout.
   A phone and a narrow desktop form must not squeeze the same ten columns. */
@container finance-lines (max-width:900px){
  .books-lines .books-table-wrap{overflow:visible;margin:0;border:0;background:none;box-shadow:none}
  .books-line-table{min-width:0}
  .books-line-table thead{display:none}
  .books-line-table,.books-line-table tbody{display:grid;gap:10px}
  .books-line-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:14px;border:1px solid var(--books-rule);border-radius:var(--lm-radius-card,14px);background:var(--paper)}
  .books-lines .books-line-table td{display:grid;gap:4px;padding:0;border:0;min-width:0}
  .books-line-table td::before{content:none}
  .books-line-table .books-line-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;margin:0;font-size:var(--lm-small,14px);font-weight:650;color:var(--neutral-600)}
  .books-line-table input:not([type=checkbox]),.books-line-table select{min-width:0;width:100%}
  .books-line-table td:has(textarea),.books-line-table td[data-label="Description"],.books-line-table td[colspan]{grid-column:1 / -1}
}
@container finance-lines (max-width:540px){
  .books-line-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Names, descriptions and selected records need a full reading measure.
     Pair only short quantities/amounts, not long text in half-width slots. */
  .books-line-table td:has(select),.books-line-table td:has(input[type=text]),.books-line-table td:has(input[type=date]),.books-line-table td:has(textarea){grid-column:1 / -1}
  .books-line-table td[data-label="Unit"]:has(input[type=text]){grid-column:auto}
}
/* A vendor at a glance: what is owed, what is due next, what was paid last. */
.books-glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1px;margin:0 0 16px;border:1px solid var(--books-rule);border-radius:14px;background:var(--books-rule);overflow:hidden}
.books-glance__tile{display:grid;align-content:start;gap:3px;min-width:0;padding:14px 16px;background:var(--paper)}
.books-glance__label{display:flex;align-items:center;gap:6px;color:var(--neutral-600);font-size:12px;font-weight:600}
.books-glance__label .icon{width:14px;height:14px}
.books-glance__tile strong{font-size:1.15rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.books-glance__tile small{color:var(--neutral-600);font-size:12.5px;overflow-wrap:anywhere}
.books-glance__tile.is-warn{box-shadow:inset 3px 0 var(--notice)}
.books-glance__tile.is-warn .books-glance__label{color:color-mix(in srgb,var(--notice) 70%,black)}
.books-glance__tile.is-danger{box-shadow:inset 3px 0 var(--critical)}
.books-glance__tile.is-danger .books-glance__label{color:var(--critical)}
.books-doc-tabs{margin-bottom:12px}
.books-files__pick select{flex:0 1 230px;min-width:0;font-size:14px}

/* The page a vendor opens from their details link. */
.vendor-page{place-items:start center}
.vendor-card{display:grid;gap:18px;width:min(100%,760px);padding:24px}
.vendor-card__head h1{margin:4px 0 6px;font-size:clamp(1.6rem,4vw,2.1rem)}
.vendor-card__head p:last-child{margin:0;color:var(--neutral-600)}
.vendor-form{display:grid;gap:18px}
.vendor-form__section{display:grid;gap:10px;margin:0;padding:16px 0 0;border:0;border-top:1px solid var(--books-rule,var(--neutral-200))}
.vendor-form__section legend{float:left;width:100%;margin:0 0 4px;padding:0;font-size:1.05rem;font-weight:700}
.vendor-form__section legend+*{clear:both}
.vendor-form__note{margin:0;color:var(--neutral-600);font-size:14px}
.vendor-form__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0 16px;align-items:start}
.vendor-form__grid .field{margin-bottom:12px}
.vendor-form__submit{display:grid;gap:8px;justify-items:start;padding-top:8px}
.vendor-page .vendor-page__fine{margin:0;color:var(--neutral-600);font-size:13px}
@media (max-width:700px){
  .vendor-card{padding:18px 16px}
  .vendor-form__grid{grid-template-columns:1fr}
  .vendor-form__submit .button{width:100%;justify-content:center}
  .books-glance{grid-template-columns:1fr 1fr}
  .books-glance__tile:last-child:nth-child(odd){grid-column:1/-1}
}

/* A month picker: quiet, one line, scrolls sideways on a phone rather than wrapping into a wall. */
.books-periods{display:flex;gap:4px;margin:0 0 12px;overflow-x:auto;scrollbar-width:none}
.books-periods::-webkit-scrollbar{display:none}
.books-periods a{flex:0 0 auto;padding:6px 10px;border-radius:8px;color:var(--neutral-600);font-size:13.5px;font-weight:600;text-decoration:none;white-space:nowrap}
.books-periods a:hover{background:var(--neutral-100);color:var(--studio-black)}
.books-periods a[aria-current="true"]{background:var(--neutral-100);color:var(--studio-black);box-shadow:inset 0 -2px var(--tool-color)}
/* Help & Learning Centre: calm guidance, progressive disclosure, and readable long-form content. */
.help-centre,.help-article-shell,.help-path-page{width:min(100%,1180px);margin-inline:auto}
.help-hero{max-width:820px;margin:8px auto 46px;text-align:center}
.help-hero h1{margin:.2rem 0 .65rem;font-size:clamp(2rem,4vw,3.35rem);line-height:1.05;letter-spacing:-.035em}
.help-hero>p:not(.eyebrow,.help-search-status){max-width:650px;margin:0 auto;color:var(--neutral-700)}
.help-search{display:flex;align-items:center;gap:12px;max-width:720px;margin:28px auto 0;padding:0 18px;border:1px solid var(--neutral-300);border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(27,22,34,.08)}
.help-search:focus-within{outline:3px solid color-mix(in srgb,var(--accent) 24%,transparent);border-color:var(--accent)}
.help-search .icon{width:22px;height:22px;color:var(--neutral-600)}
.help-search input{width:100%;min-height:62px;padding:0;border:0;background:transparent;font-size:1.06rem;outline:0}
.help-search-clear{min-width:48px;min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--lm-accent-ink,#474745);font:inherit;font-size:.88rem;font-weight:800;cursor:pointer}
.help-search-status{min-height:1.5rem;margin:8px 0 0;font-size:.9rem}
.help-search-results{margin:-16px 0 42px;padding:24px;border:1px solid var(--neutral-200);border-radius:16px;background:#fff;box-shadow:0 18px 44px rgba(27,22,34,.08)}
.help-search-results-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.help-search-results-heading h2{margin:.15rem 0 0;font-size:1.4rem}
.help-search-result-list{display:grid}.help-search-result{display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:96px;padding:16px 4px;border-top:1px solid var(--neutral-200)}.help-search-result:first-child{border-top:0}.help-search-result:hover{text-decoration:none}.help-search-result-type{align-self:start;margin-top:3px;color:var(--lm-accent-ink,#474745);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.help-search-result-copy{display:grid;gap:3px;min-width:0}.help-search-result-copy strong{font-size:1.02rem}.help-search-result-copy small{color:var(--neutral-700)}.help-search-result-copy em{margin-top:4px;color:var(--neutral-600);font-size:.8rem;font-style:normal}.help-search-result>.icon{color:var(--lm-accent-ink,#474745)}.help-search-support-link{display:inline-flex;margin-top:16px;color:var(--lm-accent-ink,#474745);font-weight:750}
.help-context-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin-bottom:42px;padding:24px;border:1px solid var(--lm-line,#e6e3e9);border-radius:16px;background:var(--lm-tint,#f1f1f0)}
.help-context-card h2{margin:2px 0 5px;font-size:1.3rem}.help-context-card p:not(.eyebrow){margin:0 0 8px;color:var(--neutral-700)}
.help-card-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--lm-accent-ink,#474745);color:#fff}.help-card-icon .icon{width:25px;height:25px}
.help-reading-time{color:var(--neutral-600);font-size:.86rem;white-space:nowrap}
.help-section{margin:42px 0}.help-section-heading{align-items:end;margin-bottom:18px}.help-section-heading>p{max-width:420px;margin:0;color:var(--neutral-600);text-align:right}
.help-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.help-path-card{display:flex;flex-direction:column;min-height:230px;padding:20px;border:1px solid var(--neutral-200);border-radius:14px;background:#fff;transition:border-color .15s ease,transform .15s ease}
.help-path-card:hover{border-color:var(--lm-control-line,#928997);transform:translateY(-2px)}
.help-path-card>div:first-child{display:flex;justify-content:space-between;gap:10px;color:var(--neutral-600);font-size:.8rem}.help-path-count{font-weight:700;color:var(--lm-accent-ink,#474745)}
.help-path-card h3{margin:20px 0 7px;font-size:1.12rem}.help-path-card p{margin:0 0 18px;color:var(--neutral-700);font-size:.92rem;line-height:1.5}.help-path-card .text-link{margin-top:auto;font-weight:750;color:var(--lm-accent-ink,#474745)}
.help-guide-groups{display:grid;gap:10px}.help-guide-group{overflow:hidden;border:1px solid var(--neutral-200);border-radius:12px;background:#fff}
.help-guide-group>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:14px 18px;cursor:pointer;font-weight:800}.help-guide-group>summary span:last-child{color:var(--neutral-600);font-size:.84rem;font-weight:600}
.help-guide-list{border-top:1px solid var(--neutral-200)}.help-guide-list>a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:14px 18px;border-top:1px solid var(--neutral-100)}.help-guide-list>a:first-child{border-top:0}.help-guide-list>a:hover{background:var(--neutral-50);text-decoration:none}.help-guide-list>a>span:first-child{display:grid;gap:3px;min-width:0}.help-guide-list small{color:var(--neutral-600);font-size:.86rem;white-space:normal}
.help-troubleshooting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-quiet-card{display:flex;align-items:flex-start;gap:13px;min-height:86px;padding:17px;border:1px solid var(--neutral-200);border-radius:12px;background:#fff}.help-quiet-card:hover{border-color:var(--neutral-400);text-decoration:none}.help-quiet-card>.icon{margin-top:3px;color:#6755c3}.help-quiet-card>span:last-child{display:grid;gap:3px}.help-quiet-card small{color:var(--neutral-600)}
.help-support{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:28px;margin:52px 0 42px;padding:28px;border-radius:16px;background:var(--neutral-100)}.help-support-intro h2{margin:.2rem 0 .5rem}.help-support-intro p:last-child{margin:0;color:var(--neutral-700)}
.help-support-disclosure{align-self:start;border:1px solid var(--neutral-300);border-radius:12px;background:#fff}.help-support-disclosure>summary{display:flex;align-items:center;min-height:56px;padding:12px 16px;cursor:pointer;font-weight:800}.help-support-disclosure[open]>summary{border-bottom:1px solid var(--neutral-200)}.help-support-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(200px,.65fr);gap:20px;padding:20px}.help-support-layout form{display:grid;gap:14px}.help-support-note{padding:16px;border-radius:10px;background:#f7f5ef}.help-support-note p{margin:6px 0 0;color:var(--neutral-700);font-size:.88rem}.help-ticket-list article{min-height:60px}
.help-no-results{padding:40px;text-align:center;border:1px dashed var(--neutral-300);border-radius:14px}.help-no-results h2{margin:0 0 6px}.help-no-results p{margin:0 0 18px;color:var(--neutral-600)}

.help-breadcrumbs{display:flex;align-items:center;gap:8px;margin:0 0 24px;color:var(--neutral-700);font-size:.9rem}.help-breadcrumbs a{display:inline-flex;align-items:center;gap:6px;min-height:40px}.help-breadcrumbs .icon{width:17px;height:17px}
.help-article-header{max-width:820px;margin:0 auto 28px}.help-article-header h1{margin:.15rem 0 .55rem;font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.02;letter-spacing:-.04em}.help-article-header .page-intro{max-width:720px}.help-article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;color:var(--neutral-600);font-size:.86rem}
.help-article-layout{display:grid;grid-template-columns:210px minmax(0,760px);justify-content:center;align-items:start;gap:46px}.help-contents{position:sticky;top:100px;padding:16px 0;border-top:2px solid var(--studio-black)}.help-contents ol,.help-mobile-contents ol{display:grid;gap:9px;margin:12px 0 0;padding-left:18px;color:var(--neutral-700);font-size:.86rem}.help-contents a[aria-current="true"]{color:var(--lm-accent-ink,#474745);font-weight:750}.help-mobile-contents{display:none}
.help-article-body{min-width:0}.help-outcome{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(0,1.25fr);gap:24px;padding:22px;border-radius:14px;background:#f6f4ff}.help-outcome h2{margin:2px 0 0;font-size:1.1rem}.help-outcome>p{margin:0;align-self:center;color:var(--neutral-700)}
.help-before{margin:18px 0 30px;padding:20px 22px;border:1px solid var(--neutral-200);border-radius:12px}.help-before h2{margin:0 0 10px;font-size:1.12rem}.help-before ul{margin:0;padding-left:22px}
.help-prose{font-size:1rem;line-height:1.72}.help-prose h2{margin:2.2rem 0 .7rem;font-size:1.55rem;line-height:1.2;scroll-margin-top:110px}.help-prose h3{margin:1.7rem 0 .5rem;font-size:1.15rem;scroll-margin-top:110px}.help-prose p{margin:.65rem 0 1rem;color:#3f3b43}.help-prose ol,.help-prose ul{display:grid;gap:.65rem;margin:.8rem 0 1.4rem;padding-left:1.5rem}.help-prose li{padding-left:.3rem}.help-prose code{padding:.1rem .35rem;border-radius:4px;background:var(--neutral-100);font-size:.88em}.help-prose a{color:var(--lm-accent-ink,#474745);text-decoration:underline;text-underline-offset:3px}
.help-figure{margin:26px 0}.help-figure img{display:block;width:100%;height:auto;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-100)}.help-figure figcaption{margin-top:8px;color:var(--neutral-600);font-size:.84rem}.help-figure-key{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0;padding:0;list-style:none}.help-figure-key li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border:1px solid var(--neutral-200);border-radius:10px;background:var(--neutral-050)}.help-figure-key li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--studio-black);color:#fff;font-size:.8rem;font-weight:850}.help-figure-key p{margin:2px 0 0;color:var(--neutral-800);line-height:1.45}
.help-figure-frame{position:relative}.help-figure--annotated picture{display:block}.help-figure-marker{position:absolute;display:grid;place-items:center;width:32px;height:32px;translate:-50% -50%;border:3px solid #fff;border-radius:50%;background:var(--studio-black);color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.24);font-size:.82rem;font-weight:850}
.help-faqs{margin-top:42px}.help-faqs h2,.help-related h2{font-size:1.35rem}.help-faqs details{border-top:1px solid var(--neutral-200)}.help-faqs details:last-child{border-bottom:1px solid var(--neutral-200)}.help-faqs summary{padding:15px 0;cursor:pointer;font-weight:750}.help-faqs p{margin:0 0 16px;color:var(--neutral-700)}
.help-article-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:38px}.help-article-pagination a{display:grid;gap:3px;padding:15px;border:1px solid var(--neutral-200);border-radius:10px}.help-article-pagination a:hover{border-color:#9d92d4;text-decoration:none}.help-article-pagination small{color:var(--neutral-600)}.help-article-pagination .help-next{text-align:right;grid-column:2}
.help-related{margin-top:34px}.help-related>div{display:grid;gap:8px}.help-related a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 0;border-bottom:1px solid var(--neutral-200);font-weight:700}.help-still-need{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:38px;padding:20px;border-radius:12px;background:var(--neutral-100)}.help-still-need p{margin:3px 0 0;color:var(--neutral-600)}

.help-path-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;margin:20px 0 42px}.help-path-header h1{margin:.2rem 0 .5rem;font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.04}.help-path-summary{display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:baseline;padding:18px 22px;border-radius:12px;background:#f6f4ff}.help-path-summary strong{font-size:1.35rem}.help-path-summary span{color:var(--neutral-600)}
.help-path-sequence{max-width:900px}.help-path-sequence>.section-heading>p{max-width:360px;margin:0;color:var(--neutral-600);text-align:right}.help-path-sequence>ol{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}.help-path-sequence>ol>li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:112px;padding:17px;border:1px solid var(--neutral-200);border-radius:12px;background:#fff}.help-sequence-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eeeafd;color:var(--lm-accent-ink,#474745);font-weight:800}.help-path-sequence h3{margin:0 0 4px}.help-path-sequence p{margin:0 0 6px;color:var(--neutral-600);font-size:.9rem}

@media(max-width:960px){.help-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-article-layout{grid-template-columns:minmax(0,760px)}.help-contents{display:none}.help-mobile-contents{display:block;max-width:760px;margin:0 auto 18px;padding:0 16px;border:1px solid var(--neutral-200);border-radius:10px}.help-mobile-contents>summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:800}.help-mobile-contents ol{padding-bottom:14px}.help-support{grid-template-columns:1fr}.help-support-layout{grid-template-columns:minmax(0,1fr) minmax(180px,.55fr)}}
@media(max-width:680px){.help-centre,.help-article-shell,.help-path-page{width:100%}.help-hero{margin:0 auto 30px;text-align:left}.help-hero h1{font-size:2.15rem}.help-hero>p:not(.eyebrow,.help-search-status){margin:0}.help-search{margin-top:20px;padding:0 14px}.help-search input{min-height:54px;font-size:1rem}.help-context-card{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px}.help-context-card .button{grid-column:1/-1;width:100%}.help-card-icon{width:44px;height:44px}.help-section{margin:32px 0}.help-section-heading{align-items:start}.help-section-heading>p{display:none}.help-path-grid,.help-troubleshooting-grid{grid-template-columns:1fr}.help-path-card{min-height:190px}.help-guide-group>summary{padding:13px 14px}.help-guide-list>a{align-items:flex-start;min-height:78px;padding:14px}.help-guide-list>a>.help-reading-time{display:none}.help-support{margin:38px -12px 28px;padding:22px 16px;border-radius:0}.help-support-layout{grid-template-columns:1fr;padding:16px}.help-support-note{order:-1}.help-article-header{margin-bottom:20px}.help-article-header h1{font-size:2.2rem}.help-breadcrumbs{align-items:flex-start;flex-wrap:wrap}.help-mobile-contents{margin-bottom:14px}.help-outcome{grid-template-columns:1fr;gap:10px;padding:18px}.help-before{padding:17px}.help-prose{line-height:1.65}.help-prose h2{font-size:1.4rem}.help-figure-marker{width:28px;height:28px;border-width:2px}.help-figure-key{grid-template-columns:1fr}.help-article-pagination{grid-template-columns:1fr}.help-article-pagination .help-next{grid-column:1;text-align:left}.help-still-need{align-items:stretch;flex-direction:column}.help-still-need .button{width:100%}.help-path-header{grid-template-columns:1fr;gap:18px;margin-bottom:30px}.help-path-header h1{font-size:2.2rem}.help-path-summary{width:max-content}.help-path-sequence>.section-heading{align-items:start}.help-path-sequence>.section-heading>p{margin-top:6px;text-align:left}.help-path-sequence>ol>li{grid-template-columns:auto minmax(0,1fr);align-items:start}.help-path-sequence>ol>li>.button{grid-column:1/-1;width:100%}.help-sequence-number{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.help-path-card{transition:none}.help-path-card:hover{transform:none}}

@media(max-width:680px){.help-search-results{margin-top:-8px;padding:18px 16px}.help-search-results-heading{align-items:start}.help-search-results-heading .button{display:none}.help-search-result{grid-template-columns:1fr auto;gap:8px;padding:16px 0}.help-search-result-type{grid-column:1/-1;margin:0}.help-search-result-copy small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
.release-page{display:grid;gap:var(--space-6);max-width:1120px;margin:0 auto;padding-bottom:var(--space-8)}
.release-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-5)}
.release-hero h1{margin:.2rem 0 .65rem}
.release-list{display:grid;gap:var(--space-5)}
.release-card{overflow:hidden;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:var(--paper);box-shadow:var(--shadow-soft)}
.release-card--current{border-top:4px solid var(--accent)}
.release-card__header{padding:clamp(1.25rem,3vw,2rem);background:var(--neutral-50)}
.release-card__header h2{margin:.55rem 0 .35rem;font-size:clamp(1.35rem,2vw,1.75rem)}
.release-card__header p{max-width:66ch;margin:0;color:var(--neutral-600)}
.release-card__meta{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;color:var(--neutral-600);font-size:.9rem}
.release-version{font-weight:750;color:var(--studio-black)}
.release-change-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.release-change{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:var(--space-4);padding:1.35rem clamp(1.25rem,3vw,2rem);border-top:1px solid var(--neutral-200)}
.release-change:nth-child(odd){border-right:1px solid var(--neutral-200)}
.release-change__area{align-self:start;width:max-content;max-width:100%;padding:.32rem .58rem;border-radius:999px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);font-size:.78rem;font-weight:750}
.release-change h3{margin:0 0 .28rem;font-size:1rem}
.release-change p{margin:0;color:var(--neutral-600);line-height:1.55}
@media(max-width:760px){.release-hero{display:grid}.release-hero .button{width:100%;justify-content:center}.release-change-list{grid-template-columns:1fr}.release-change{grid-template-columns:1fr;gap:.65rem}.release-change:nth-child(odd){border-right:0}}
.meta-connection-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(15rem,.85fr) auto;align-items:center;gap:var(--space-5);padding:clamp(1.15rem,2.5vw,1.7rem);margin-top:var(--space-5);border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:linear-gradient(135deg,var(--paper),var(--neutral-50))}
.meta-connection-card--active{border-color:color-mix(in srgb,var(--positive) 35%,var(--neutral-200))}
.meta-connection-card__identity{display:flex;align-items:flex-start;gap:var(--space-4)}
.meta-connection-card__identity h3{margin:.15rem 0 .35rem;font-size:1.22rem}.meta-connection-card__identity p{margin:0;color:var(--neutral-600);line-height:1.5}
.meta-connection-card__icon{display:grid;place-items:center;flex:0 0 3.25rem;width:3.25rem;height:3.25rem;border-radius:1rem;background:#1877f2;color:white;font-size:1.8rem;font-weight:800;font-family:Arial,sans-serif}
.meta-connection-card__state{display:grid;gap:.25rem;padding-left:var(--space-5);border-left:1px solid var(--neutral-200)}
.meta-connection-card__state .status{width:max-content}.meta-connection-card__state small{color:var(--neutral-600);line-height:1.4}
.meta-connection-card__action{justify-self:end}.meta-connection-card__action form{margin:0}
.meta-connection-card__action .button:disabled{border-color:var(--neutral-300);background:var(--neutral-200);color:var(--neutral-600);box-shadow:none;cursor:not-allowed}
.meta-connection-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:var(--space-4) 0 0;padding:0;overflow:hidden;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);background:var(--neutral-200);list-style:none}
.meta-connection-steps li{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--paper)}.meta-connection-steps li>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);font-weight:800}.meta-connection-steps div{display:grid}.meta-connection-steps small{color:var(--neutral-600)}
.meta-select-page{display:grid;gap:var(--space-5);max-width:900px;margin:0 auto}.meta-page-picker fieldset{border:0;margin:0;padding:0}.meta-page-picker legend{font-size:1.2rem;font-weight:760}.meta-page-options{display:grid;gap:.75rem;margin-top:var(--space-4)}
.meta-page-option{display:flex;align-items:center;gap:var(--space-3);min-height:4.5rem;padding:1rem;border:1px solid var(--neutral-200);border-radius:var(--radius-surface);cursor:pointer}.meta-page-option:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,white)}.meta-page-option input{width:1.25rem;height:1.25rem}.meta-page-option__mark{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.75rem;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent)}.meta-page-option>span:last-child{display:grid}.meta-page-option small{color:var(--neutral-600)}
@media(max-width:860px){.meta-connection-card{grid-template-columns:1fr}.meta-connection-card__state{padding:var(--space-4) 0 0;border-left:0;border-top:1px solid var(--neutral-200)}.meta-connection-card__action{justify-self:stretch}.meta-connection-card__action .button,.meta-connection-card__action form{width:100%}.meta-connection-steps{grid-template-columns:1fr}.meta-select-page .decision-bar{align-items:stretch}.meta-select-page .decision-bar .button{width:100%;justify-content:center}}
/* A customer's trade, read from the books and shown in Marketing: the same tiles and tables Finance uses, so the figures look the same in both places. */

/* The books components read tokens that are only set on Finance pages. Give them the same values where Marketing borrows them. */
.customer-glance,.customer-trade-panel,.customer-waiting{--books-rule:var(--neutral-200,#dedbe2);--books-gutter:22px;--books-warm:color-mix(in srgb,var(--notice) 12%,white);--books-urgent:color-mix(in srgb,var(--critical) 9%,white)}
.customer-glance{margin-bottom:18px}

/* The join between the two tools, stated once under the customer's name. */
.customer-billing{display:flex;align-items:flex-start;gap:9px;margin:-6px 0 16px;color:var(--neutral-700);font-size:15px;line-height:1.45}
.customer-billing .icon{flex:0 0 auto;width:16px;height:16px;margin-top:2px;color:var(--neutral-600)}
.customer-billing a{font-weight:600}
.customer-billing__gstin{color:var(--neutral-600);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.customer-billing--missing{padding:12px 14px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--neutral-50,#f7f6f8)}

/* What's waiting: two named groups, so what we owe and what they owe never hide in each other. */
.customer-waiting{margin-bottom:18px}
.customer-waiting__group+.customer-waiting__group{margin-top:14px;padding-top:14px;border-top:1px solid var(--books-rule)}
.customer-waiting__group h3{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:15px}
.customer-waiting__count{min-width:22px;padding:1px 7px;border-radius:999px;background:var(--neutral-100,#f0eef2);color:var(--neutral-700);font-size:12.5px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.customer-waiting ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.customer-waiting__item{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:start;padding:9px 0}
.customer-waiting__item .icon{width:16px;height:16px;margin-top:3px;color:var(--neutral-600)}
.customer-waiting__text{display:grid;gap:1px;min-width:0;overflow-wrap:anywhere}
.customer-waiting__text small{color:var(--neutral-600);font-size:13px}
.customer-waiting__amount{font-weight:600}
/* Urgency owns the warm family, and is never colour alone: the wording already says "overdue". */
.customer-waiting__item.is-danger .icon,.customer-waiting__item.is-danger .customer-waiting__amount{color:var(--critical)}
.customer-waiting__item.is-warn .icon{color:color-mix(in srgb,var(--notice) 70%,black)}

.customer-trade-panel{margin-bottom:18px}
.customer-trade-more{margin:12px 0 0;color:var(--neutral-600);font-size:14px}
.customer-trade-more a{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.customer-trade-more .icon{width:14px;height:14px}

@media(max-width:520px){.customer-waiting__item{grid-template-columns:18px minmax(0,1fr)}.customer-waiting__amount{grid-column:2}}
/* Type to find a record, and add a new buyer or vendor where the form allows it. A text box in front of the select it replaces. */
.combobox{position:relative;width:100%;min-width:0}
.combobox__input{width:100%}
.combobox__list{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);max-height:min(320px,50vh);margin:0;padding:4px;overflow:auto;list-style:none;border:1px solid var(--neutral-200,#dedbe2);border-radius:10px;background:var(--paper,#fff);box-shadow:0 14px 34px rgba(18,18,17,.14)}
.combobox__option{padding:9px 11px;border-radius:8px;cursor:pointer;line-height:1.35;overflow-wrap:anywhere}
.combobox__option[aria-selected="true"]{background:var(--neutral-100,#f0eef2);outline:2px solid var(--focus,#2b59c3);outline-offset:-2px}
.combobox__option--create{margin-top:4px;border-top:1px solid var(--neutral-200,#dedbe2);border-radius:0 0 8px 8px;font-weight:600}
.combobox__empty{padding:9px 11px;color:var(--neutral-600)}
.combobox__note{margin:6px 0 0;color:var(--neutral-600);font-size:13.5px}
.combobox .errorlist{margin-top:6px}
@media(max-width:520px){.combobox__list{max-height:45vh}}
/* A buyer's purchase order: what was read, then the next step after checking it. */
.buyer-order-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin-top:18px}
.buyer-order-next>div:first-child{flex:1 1 320px}
.buyer-order-next h2{margin:2px 0 4px}
.buyer-order-reading .books-list{margin:0 0 10px}
/* Calm relationship entry and project collaboration controls. */
.guided-form-shell {
  width: min(100%, 58rem);
  margin: 1.5rem auto 3rem;
}

.guided-form-shell--narrow { width: min(100%, 42rem); }

.guided-form-shell__header { margin-bottom: 1.25rem; }
.guided-form-shell__header h1 { margin: .2rem 0 .55rem; }
.guided-form-shell__header .page-intro { max-width: 48rem; margin: 0; }

.guided-form-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--paper, #fff);
  border: 1px solid var(--neutral-200, #dedbe2);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgb(34 28 40 / .045);
}

.guided-form-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.guided-form-card legend { margin-bottom: .8rem; font-weight: 750; }
.guided-form-card label { display: grid; gap: .4rem; font-size: .95rem; }
.guided-form-card label small { color: var(--neutral-600, #655d6e); font-size: .86rem; font-weight: 400; line-height: 1.45; }

.marketing-directory__toolbar > div > p {
  margin: .35rem 0 0;
  color: var(--neutral-600, #655d6e);
  font-size: .94rem;
}

.lead-contact-filter {
  grid-template-columns: minmax(17rem, 1fr) auto auto;
  align-items: center;
}

.contact-filter-disclosure {
  position: relative;
}

.contact-filter-disclosure > summary {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  border: 1px solid var(--neutral-200, #dedbe2);
  border-radius: .7rem;
  color: var(--studio-black, #1f1b24);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.contact-filter-disclosure > summary::-webkit-details-marker { display: none; }
.contact-filter-disclosure > summary::before { content: "⌄"; margin-right: .45rem; font-size: 1.1em; }
.contact-filter-disclosure[open] > summary::before { transform: rotate(180deg); }

.contact-filter-disclosure__body {
  position: absolute;
  z-index: 5;
  top: calc(100% + .45rem);
  right: 0;
  min-width: min(22rem, calc(100vw - 2rem));
  display: grid;
  gap: .75rem;
  padding: 1rem;
  background: var(--paper, #fff);
  border: 1px solid var(--neutral-200, #dedbe2);
  border-radius: .8rem;
  box-shadow: 0 14px 32px rgb(24 20 38 / .14);
}

.contact-filter-disclosure__body label {
  display: grid;
  gap: .35rem;
  color: var(--neutral-600, #655d6e);
  font-size: .9rem;
  font-weight: 650;
}

.contact-filter-disclosure__body select { min-height: 2.75rem; }

.contact-guided-form .guided-form-section { margin-bottom: 1rem; }
.contact-guided-form .guided-form-disclosure { margin: 1rem 0; }
.contact-guided-form .guided-form-disclosure--nested { margin-bottom: .75rem; }

.update-list > .task-update-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: .75rem;
}

.task-update-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-left: auto;
  align-items: center;
  min-width: max-content;
}

.task-update-actions form { margin: 0; }
.task-update-actions .button { white-space: nowrap; min-height: 44px; }
.task-update-copy { min-width: 0; overflow-wrap: anywhere; }
.task-update-copy > span { white-space: pre-line; }
.task-update-references { margin-top: .75rem; padding-top: .75rem; border-top: var(--line-soft); }
.finance-document-references { min-width: 0; max-width: 64rem; }
.finance-document-references>h3 { font-size:1rem; margin:0 0 12px; }
.finance-document-reference-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr)); gap:12px; list-style:none; margin:0; padding:0; }
.finance-document-reference { display:grid; grid-template-columns:24px minmax(0,1fr) 44px; align-items:start; gap:12px; padding:16px; border:1px solid var(--lm-line); border-radius:var(--lm-radius-control); min-width:0; overflow-wrap:anywhere; background:var(--lm-tint); }
.finance-document-reference__icon { color:var(--lm-accent-ink); margin-top:10px; }
.finance-document-reference__title { display:flex; align-items:center; min-height:44px; font-weight:650; color:var(--lm-ink); text-decoration:none; line-height:1.4; }
.finance-document-reference small { display:block; font-size:var(--lm-small); color:var(--lm-muted); }
.finance-document-reference__remove { display:inline-flex; align-items:center; min-height:44px; font-size:var(--lm-small); color:var(--lm-muted); }
.finance-document-reference__open { display:grid; place-items:center; min-height:44px; color:var(--lm-accent-ink); border-radius:var(--lm-radius-control); }
.finance-document-reference a:hover { text-decoration:underline; }
.lm .project-support { max-width:1120px; width:100%; margin-inline:auto; }
.lm-shell.tool-projects .lm .project-support-card>summary { grid-template-columns:40px minmax(0,1fr) auto; }
.lm-shell.tool-projects .lm .project-support-card>summary strong { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.lm-shell.tool-projects .lm .project-support-card>summary strong { font-size:1.05rem; }
.lm-shell.tool-projects .lm .project-support-card>summary small { font-size:var(--lm-small); font-weight:400; }
.lm-shell.tool-projects .lm .project-support-card>summary strong .lm-badge { margin:0; }
body.lm-shell.tool-projects:has(.project-support) .voice-quick-launch { position:static; width:max-content; max-width:calc(100% - 48px); margin:1rem 24px 24px auto; }
.lm-shell.tool-projects .lm .project-support-card>summary strong .lm-badge { font-size:var(--lm-small); }
.lm-shell.tool-projects .lm .project-support-card__body { min-width:0; padding:20px; }
.lm-shell.tool-projects .lm .project-update-row { grid-template-columns:36px minmax(0,1fr); align-items:start; gap:14px; }
.lm-shell.tool-projects .lm .project-update-content { min-width:0; max-width:70ch; overflow-wrap:anywhere; }
.lm-shell.tool-projects .lm .project-update-content>small { display:block; font-size:var(--lm-small); color:var(--lm-muted); margin-top:3px; }
.lm-shell.tool-projects .lm .project-update-content>p { margin:12px 0; font-size:1rem; line-height:1.6; }
.lm .project-update-source { display:inline-flex; align-items:center; min-height:44px; gap:8px; font-size:var(--lm-small); font-weight:600; color:var(--lm-accent-ink); }
.lm-shell.tool-projects .lm .project-update-content .finance-document-references { margin-top:12px; }
.lm .project-updates-tools { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding-bottom:16px; }
.lm .project-updates-tools>a { min-height:44px; display:inline-flex; align-items:center; }
@media(max-width:600px){.finance-document-reference{padding:12px;gap:8px;grid-template-columns:20px minmax(0,1fr) 36px}.finance-document-reference__open{min-width:36px}.lm-shell.tool-projects .lm .project-update-row{grid-template-columns:28px minmax(0,1fr);gap:10px}}
body.tool-projects .task-updates-panel > .comment-form > [role=alert] { grid-column: 1 / -1; }
.menu-popover__danger { color: var(--critical, #9b2634) !important; }

.delete-confirmation > label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem 1rem;
  background: color-mix(in srgb, var(--critical, #9b2634) 7%, var(--paper, #fff));
  border-radius: .65rem;
}
.delete-confirmation input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: .15rem; }

@media (max-width: 720px) {
  .guided-form-shell { margin-top: 1rem; }
  .lead-contact-filter { grid-template-columns: 1fr auto; }
  .lead-contact-filter .filter-search { grid-column: 1 / -1; }
  /* On a phone the filters open in place: a floating panel anchored to an indented
     button ran past the screen edge and made the whole page scroll sideways. */
  .contact-filter-disclosure__body { position: static; min-width: 0; width: auto; max-width: none; margin-top: .5rem; box-shadow: none; }
  .update-list > .task-update-row { grid-template-columns: 34px minmax(0, 1fr); }
  .task-update-actions { grid-column: 2; justify-self: start; margin-left: 0; min-width: 0; }
}

@media (max-width: 430px) {
  .lead-contact-filter { grid-template-columns: 1fr; }
  .lead-contact-filter .button { width: 100%; justify-content: center; }
  .contact-filter-disclosure > summary { width: 100%; justify-content: center; }
}
/* Industry packs: a preview that says, part by part, what will be added and what is kept. */
.pack-list{display:grid;gap:12px;max-width:880px}
.pack-card{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:18px 20px;border:1px solid var(--neutral-200);border-radius:var(--radius-surface,12px);background:var(--paper)}
.pack-card__icon,.pack-layer__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--neutral-100);color:var(--neutral-700)}
.pack-card__copy h2{margin:0 0 4px;font-size:1.15rem}
.pack-card__copy p{margin:0;color:var(--neutral-700)}
.pack-card__copy small,.pack-applied{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:var(--neutral-600);font-size:14px}
.pack-card__copy small .icon,.pack-applied .icon{width:15px;height:15px;color:var(--positive)}

.pack-promise{display:flex;gap:10px;align-items:flex-start;max-width:880px;margin:0 0 8px;padding:12px 14px;border-radius:var(--radius-control,10px);background:var(--neutral-50);color:var(--neutral-700)}
.pack-promise .icon{flex:0 0 auto;width:20px;height:20px;margin-top:2px;color:var(--positive)}
.pack-applied{display:flex;margin:0 0 16px}

.pack-form{display:grid;gap:14px;max-width:880px}
.pack-layer{margin:0;padding:18px 20px;border:1px solid var(--neutral-200);border-radius:var(--radius-surface,12px);background:var(--paper)}
.pack-layer.is-complete{background:var(--neutral-50)}
.pack-layer__head{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start}
.pack-layer__title h2{margin:0 0 2px;font-size:1.1rem}
.pack-layer__title p{margin:0;color:var(--neutral-600);font-size:15px}
.pack-layer__choose{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--neutral-300);border-radius:var(--radius-control,10px);font-weight:600;white-space:nowrap;cursor:pointer}
.pack-layer__choose input{width:18px;height:18px;margin:0}
.pack-layer__done{display:inline-flex;align-items:center;gap:6px;min-height:40px;color:var(--neutral-600);font-size:14px;white-space:nowrap}
.pack-layer__done .icon{width:16px;height:16px;color:var(--positive)}

.pack-layer details.pack-kept{margin:12px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.pack-kept summary{margin-top:10px;color:var(--neutral-600);font-size:14px;font-weight:600;cursor:pointer}
.pack-kept[open] summary{margin-bottom:0}
.pack-entries{display:grid;gap:0;margin:14px 0 0;padding:0;list-style:none;border-top:1px solid var(--line-soft,var(--neutral-200))}
.pack-entry{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line-soft,var(--neutral-200))}
.pack-entry:last-child{border-bottom:0}
.pack-entry__state{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;letter-spacing:.01em}
.pack-entry__state .icon{width:15px;height:15px}
.pack-entry--add .pack-entry__state{color:var(--studio-black)}
.pack-entry--add .pack-entry__state .icon{color:var(--positive)}
.pack-entry--kept .pack-entry__state,.pack-entry--kept .pack-entry__what{color:var(--neutral-600)}
.pack-entry--skipped .pack-entry__state{color:color-mix(in srgb,var(--notice) 70%,black)}
.pack-entry__what{display:grid;gap:2px;min-width:0}
.pack-entry__what strong{font-weight:600}
.pack-entry__what small{color:var(--neutral-600);font-size:14px;overflow-wrap:anywhere}

.pack-notes{padding:16px 20px;border-radius:var(--radius-surface,12px);background:var(--neutral-50)}
.pack-notes h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:1rem}
.pack-notes h2 .icon{width:18px;height:18px}
.pack-notes ul{margin:0;padding-left:20px;color:var(--neutral-700)}
.pack-notes li+li{margin-top:4px}
.pack-submit{display:grid;gap:8px;justify-items:start;padding-top:4px}
.pack-submit small{color:var(--neutral-600);font-size:14px}

@media (max-width:700px){
  .pack-card{grid-template-columns:auto 1fr;padding:16px}
  .pack-card .button{grid-column:1/-1;justify-content:center}
  .pack-layer{padding:16px}
  .pack-layer__head{grid-template-columns:auto 1fr}
  .pack-layer__choose,.pack-layer__done{grid-column:1/-1}
  .pack-entry{grid-template-columns:1fr;gap:2px}
  .pack-submit .button{width:100%;justify-content:center}
}
/* Property sales. Every status carries a word and an icon as well as a colour. */
body{--realty-sold:var(--neutral-100,#f1eff2);--realty-sold-ink:var(--neutral-700,#4a4650);--realty-rule:var(--neutral-200)}

.realty-header{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
.realty-header__actions{display:flex;flex-wrap:wrap;gap:8px}
.realty-projects{display:flex;gap:4px;margin:0 0 14px;overflow-x:auto;scrollbar-width:none}
.realty-projects a{flex:0 0 auto;padding:7px 12px;border-radius:8px;color:var(--neutral-600);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.realty-projects a[aria-current="page"]{background:var(--neutral-100);color:var(--studio-black)}

/* Statuses, used by the key, the grid and headings. */
.realty-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--realty-rule);border-radius:999px;background:var(--paper);font-size:13px;font-weight:600;white-space:nowrap}
.realty-status .icon{width:14px;height:14px}
.realty-status--large{padding:7px 14px;font-size:15px}
.realty-status--available{border-color:color-mix(in srgb,var(--positive) 55%,white)}
.realty-status--available .icon{color:var(--positive)}
.realty-status--blocked{border-color:color-mix(in srgb,var(--notice) 70%,white);background:color-mix(in srgb,var(--notice) 14%,white)}
.realty-status--held{border-style:dashed;background:var(--neutral-50);color:var(--neutral-600)}
.realty-status--booked,.realty-status--agreement,.realty-status--registered,.realty-status--possessed{border-color:transparent;background:var(--realty-sold);color:var(--realty-sold-ink)}

.realty-inventory-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:0 0 16px}
.realty-legend{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.realty-legend strong{font-variant-numeric:tabular-nums}
.realty-filter{display:flex;gap:8px;align-items:center}
.realty-filter label{font-weight:600}
.realty-filter select{min-width:140px}

/* The inventory grid: one row per floor, top floor first, one tile per home. */
.realty-towers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.realty-grid{display:grid;gap:6px;overflow-x:auto;padding-bottom:4px}
.realty-floor{display:grid;grid-template-columns:34px;grid-auto-flow:column;grid-auto-columns:minmax(74px,1fr);gap:6px}
.realty-floor__label{display:grid;place-items:center;color:var(--neutral-600);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.realty-unit{display:grid;gap:1px;min-height:64px;padding:7px 8px;border:1px solid var(--realty-rule);border-radius:9px;background:var(--paper);color:var(--studio-black);text-decoration:none;transition:border-color var(--duration-fast,.12s) var(--ease-standard,ease)}
.realty-unit strong{font-size:14px;font-variant-numeric:tabular-nums}
.realty-unit small{color:var(--neutral-600);font-size:11.5px}
.realty-unit__status{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700}
.realty-unit__status .icon{width:12px;height:12px}
.realty-unit:hover,.realty-unit:focus-visible{border-color:var(--studio-black)}
.realty-unit.realty-status--available .realty-unit__status{color:var(--positive)}
.realty-unit.realty-status--blocked{background:color-mix(in srgb,var(--notice) 14%,white);border-color:color-mix(in srgb,var(--notice) 60%,white)}
.realty-unit.realty-status--held{border-style:dashed;background:var(--neutral-50);color:var(--neutral-600)}
.realty-unit.realty-status--booked,.realty-unit.realty-status--agreement,.realty-unit.realty-status--registered,.realty-unit.realty-status--possessed{background:var(--realty-sold);border-color:transparent;color:var(--realty-sold-ink)}
.realty-unit.realty-status--booked small,.realty-unit.realty-status--agreement small,.realty-unit.realty-status--registered small,.realty-unit.realty-status--possessed small{color:var(--realty-sold-ink)}
.realty-unit.is-dimmed{opacity:.35}

/* Overview */
.realty-home{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}
.realty-list{display:grid;margin:0;padding:0;list-style:none}
.realty-list li+li{border-top:1px solid var(--realty-rule)}
.realty-list a{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:11px 0;color:inherit;text-decoration:none}
.realty-list a:hover strong{text-decoration:underline}
.realty-list__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--neutral-100)}
.realty-list strong{display:block;font-weight:600}
.realty-list small{display:block;color:var(--neutral-600);font-size:14px}
.realty-quiet{display:flex;gap:8px;align-items:center;margin:0;color:var(--neutral-600)}
.realty-quiet .icon{color:var(--positive)}
.realty-towers{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.realty-tower-card{padding:14px;border:1px solid var(--realty-rule);border-radius:10px}
.realty-tower-card__head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}
.realty-tower-card__head span{color:var(--neutral-600);font-size:14px}
.realty-meter{height:8px;margin:10px 0;border-radius:999px;background:var(--neutral-100);overflow:hidden}
.realty-meter span{display:block;width:0;height:100%;border-radius:inherit;background:var(--tool-color)}
.realty-tower-card__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:0}
.realty-tower-card__facts dt{color:var(--neutral-600);font-size:13px}
.realty-tower-card__facts dd{margin:0;font-weight:600}

/* Unit, booking and form pages */
.realty-detail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
.realty-detail__side{display:grid;gap:16px}
.realty-sheet{width:100%;border-collapse:collapse}
.realty-sheet th,.realty-sheet td{padding:10px 0;border-bottom:1px solid var(--realty-rule);text-align:left;vertical-align:top}
.realty-sheet th{font-weight:500}
.realty-sheet th small{display:block;color:var(--neutral-600);font-size:13.5px;font-weight:400}
.realty-sheet td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.realty-sheet__total th,.realty-sheet__total td{font-weight:700}
.realty-sheet__estimate th,.realty-sheet__estimate td{color:var(--neutral-600);border-bottom:0}
.realty-history{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.realty-history li{display:grid;gap:2px}
.realty-history small,.realty-history span{color:var(--neutral-600);font-size:14px}
.realty-disclosure{margin-top:12px}
.realty-disclosure summary{font-weight:600;cursor:pointer}
.realty-danger summary{color:var(--critical)}
.realty-form fieldset{margin:0 0 16px;padding:0;border:0}
.realty-form legend{margin-bottom:8px;font-size:1.05rem;font-weight:700}
.realty-links{display:grid;gap:8px;margin:0;padding:0;list-style:none}

/* A payment plan: each instalment, its amount and where it stands. */
.realty-plan{display:grid;margin:0;padding:0;list-style:none}
.realty-plan__row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(150px,auto);gap:12px;align-items:start;padding:11px 0;border-top:1px solid var(--realty-rule)}
.realty-plan__what strong{display:block;font-weight:600}
.realty-plan__what small{color:var(--neutral-600);font-size:13.5px}
.realty-plan__amount{font-variant-numeric:tabular-nums;font-weight:600}
.realty-plan__state{display:grid;gap:3px;justify-items:start;font-size:14px}
.realty-plan__state small{color:var(--neutral-600)}
.realty-plan__row--waiting .realty-plan__what,.realty-plan__row--waiting .realty-plan__amount{color:var(--neutral-600)}
.realty-state{display:inline-flex;align-items:center;gap:5px;font-weight:700}
.realty-state .icon{width:14px;height:14px}
.realty-state--paid{color:var(--positive)}
.realty-state--overdue{color:var(--critical)}
.realty-state--ready{color:color-mix(in srgb,var(--notice) 70%,black)}
.realty-state--waiting{color:var(--neutral-600);font-weight:600}

/* Construction stages */
.realty-construction{margin-bottom:16px}
.realty-stages{display:grid;margin:0;padding:0;list-style:none}
.realty-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px 0;border-top:1px solid var(--realty-rule)}
.realty-stage__mark .icon{width:20px;height:20px;color:var(--neutral-400)}
.realty-stage--certified .realty-stage__mark .icon{color:var(--positive)}
.realty-stage--done .realty-stage__mark .icon{color:color-mix(in srgb,var(--notice) 70%,black)}
.realty-stage__what strong{display:block;font-weight:600}
.realty-stage__what small{display:block;color:var(--neutral-600);font-size:13.5px}
.realty-stage--pending .realty-stage__what strong{color:var(--neutral-600);font-weight:500}
.realty-stage__note{color:var(--neutral-600);font-size:13.5px}
.realty-inline-form{display:flex;gap:6px;align-items:center}
.realty-inline-form input{max-width:160px}

@media (max-width:900px){
  .realty-home,.realty-detail{grid-template-columns:1fr}
}
@media (max-width:700px){
  .realty-header__actions{width:100%}
  .realty-header__actions .button{flex:1;justify-content:center}
  .realty-floor{grid-template-columns:26px;grid-auto-columns:minmax(66px,1fr)}
  .realty-plan__row{grid-template-columns:minmax(0,1fr) auto}
  .realty-plan__state{grid-column:1/-1}
  .realty-stage{grid-template-columns:auto minmax(0,1fr)}
  .realty-stage>form,.realty-stage>details,.realty-stage>.realty-stage__note{grid-column:2}
}
@media (prefers-reduced-motion:reduce){.realty-unit{transition:none}}
/* Opportunities: board, table and timeline views, and cards that move between stages. */
.opportunity-view-tabs{margin-bottom:12px}

/* The card is now an article holding a link and a Move menu, so it can be dragged. */
.crm-deal-card{position:relative;display:block;overflow:visible;padding:0}
.crm-deal-card[draggable="true"]{cursor:grab}
.crm-deal-card.is-dragging{opacity:.55;cursor:grabbing}
.crm-deal-card.is-saving{opacity:.65;pointer-events:none}
.crm-deal-card__link{display:grid;gap:9px;min-width:0;padding:14px;border-radius:inherit;color:inherit;overflow:hidden}
.crm-deal-card__link:hover{text-decoration:none}
.crm-deal-card__link>strong{font-size:max(.82rem,16px);line-height:1.35;overflow-wrap:anywhere}
/* The Move action owns the first row's end. Reserve its complete target and
   height so long account names and every deal title remain outside its box. */
.crm-deal-card[data-deal-card] .crm-deal-account{display:flex;align-items:center;min-height:44px;padding-right:52px}
.crm-deal-card__menu{position:absolute;top:8px;right:8px}
.crm-deal-card__menu summary{width:44px;height:44px;min-height:44px;list-style:none}
.crm-deal-card__menu summary::-webkit-details-marker{display:none}
.crm-deal-card__menu .menu-popover{right:0;left:auto;top:48px;min-width:230px;padding:.8rem;z-index:20}
.crm-deal-card__menu form{display:grid;gap:.65rem}
.crm-deal-card__menu label{display:grid;gap:.3rem}
.crm-opportunity-dropzone{min-height:72px}
.crm-opportunity-column.is-drop-target{border-color:var(--stage-colour,#5948c8);background:#f6f4fb}
.opportunity-board-help{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:var(--neutral-600);font-size:max(.7rem,14px)}
.opportunity-board-help .icon{width:15px;height:15px;flex:none}
.opportunity-board-error{margin:0 0 12px;padding:10px 14px;border:1px solid #e3b4ae;border-radius:10px;background:#fdf1ef;color:#8a2a1f;font-size:max(.72rem,14px)}

/* Table */
.opportunity-table-tools{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.opportunity-table-tools select{width:auto;min-width:200px}
.opportunity-table-tools label{white-space:nowrap;font-size:max(.7rem,14px);color:var(--neutral-600)}
.opportunity-table td{vertical-align:top}
.opportunity-table__sub{display:block;margin-top:2px;color:var(--neutral-600);font-size:max(.68rem,13px)}
.opportunity-stage-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.opportunity-table__missing{display:inline-flex;align-items:center;gap:5px;color:var(--neutral-600)}
.opportunity-table__missing .icon{width:14px;height:14px}

/* Timeline */
.opportunity-timeline-intro{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 12px;color:var(--neutral-600);font-size:max(.7rem,14px)}
.opportunity-late-key{display:inline-flex;align-items:center;gap:5px;color:#8a2a1f}
.opportunity-late-key .icon,.opportunity-timeline .timeline-label .icon{width:13px;height:13px;vertical-align:-2px}
.opportunity-timeline__scale{position:relative}
.opportunity-timeline__month{position:absolute;top:50%;transform:translate(-50%,-50%);font-weight:600;color:var(--neutral-600)}
.opportunity-timeline__scale>strong{position:relative;z-index:1;background:var(--neutral-100)}
.opportunity-timeline__bar{background:color-mix(in srgb,var(--stage-colour,#6b6b6b) 28%,#fff);border-left:4px solid var(--stage-colour,#6b6b6b);color:#141414;font-weight:600}
.opportunity-timeline__today{position:absolute;top:0;bottom:0;width:2px;background:#141414;opacity:.35}
.opportunity-timeline .timeline-row.is-late .timeline-label small:last-child{color:#8a2a1f;font-weight:600}
.opportunity-timeline .timeline-row.is-late .opportunity-timeline__bar{box-shadow:inset 0 0 0 2px #8a2a1f}
@media(max-width:700px){.opportunity-view-tabs>a{flex:1;justify-content:center}.opportunity-board-help{display:none}}
/* Books overview: each lane's heading reads as a heading, not as one more row.
   The head sits on a tinted band with a solid icon; the rows beneath are indented
   under the heading text and carry quieter, outlined icons. */
body.tool-finance .books-lane__head{background:color-mix(in srgb,var(--tool-color) 6%,white);border-bottom:1px solid color-mix(in srgb,var(--tool-color) 20%,white);box-shadow:inset 4px 0 0 var(--tool-color)}
body.tool-finance .books-lane--urgent .books-lane__head{background:color-mix(in srgb,var(--critical) 5%,white);border-bottom-color:color-mix(in srgb,var(--critical) 18%,white);box-shadow:inset 4px 0 0 var(--critical)}
body.tool-finance .books-lane--warm .books-lane__head{background:color-mix(in srgb,var(--notice) 10%,white);border-bottom-color:color-mix(in srgb,var(--notice) 35%,white);box-shadow:inset 4px 0 0 color-mix(in srgb,var(--notice) 80%,black)}
body.tool-finance .books-lane.is-clear .books-lane__head{background:transparent;box-shadow:none}
body.tool-finance .books-lane:not(.is-clear) .books-lane__icon{background:var(--tool-color);color:var(--tool-on,#fff)}
body.tool-finance .books-lane--urgent:not(.is-clear) .books-lane__icon{background:var(--critical);color:#fff}
body.tool-finance .books-lane--warm:not(.is-clear) .books-lane__icon{background:var(--notice);color:var(--neutral-900)}
body.tool-finance .books-lane__step{text-transform:uppercase}
body.tool-finance .books-lane__title h2{font-size:1.35rem;letter-spacing:-.01em}
body.tool-finance .books-lane__list .books-task{padding-left:88px}
body.tool-finance .books-lane__list .books-task__icon{width:34px;height:34px;border:1px solid var(--books-rule);background:var(--paper)}
body.tool-finance .books-lane__list .books-task__icon .icon{width:16px;height:16px}
body.tool-finance .books-lane__list .books-task{grid-template-columns:34px minmax(0,1fr) 116px 148px 16px}
body.tool-finance .books-lane__more>summary{padding-left:88px}
@media (max-width:1100px){body.tool-finance .books-lane__list .books-task{grid-template-columns:34px minmax(0,1fr) auto 16px}}
@media (max-width:700px){
  body.tool-finance .books-lane__list .books-task{padding-left:28px;grid-template-columns:30px minmax(0,1fr) 16px}
  body.tool-finance .books-lane__list .books-task__icon{width:30px;height:30px}
  body.tool-finance .books-lane__more>summary{padding-left:28px}
  body.tool-finance .books-task .books-flag--none{display:none}
}

/* Message connections: the privacy note was styled for a disclosure it no longer is,
   which left its text against the panel edge. Give it its own padding and gap. */
.panel.channel-safety:not(details){display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:start;margin-top:24px;padding:22px 24px}
.panel.channel-safety:not(details) h2{margin:.15rem 0 .5rem}
.panel.channel-safety:not(details) p:last-child{margin-bottom:0;color:var(--neutral-700);line-height:1.55}
@media (max-width:700px){.panel.channel-safety:not(details){grid-template-columns:1fr;gap:10px;padding:18px 16px}}
/* Home sales inside Marketing and Projects, and Marketing → Settings → Connections. */

/* Marketing settings tabs */
.marketing-settings-tabs{margin:0 0 18px}
.marketing-settings-tabs>a{white-space:nowrap}

/* Homes: the "What's waiting" list folds away above the grid */
.realty-waiting--compact{margin:0 0 18px;padding:0}
.realty-waiting--compact>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 20px;cursor:pointer;list-style:none}
.realty-waiting--compact>summary::-webkit-details-marker{display:none}
.realty-waiting--compact>summary .icon{width:18px;height:18px}
.realty-waiting--compact[open]>summary{border-bottom:1px solid var(--neutral-200)}
.realty-waiting--compact .realty-list{padding:6px 12px 12px}

/* Buyer → Home tab */
.realty-buyer-home{display:grid;gap:18px;margin-bottom:18px}
.realty-buyer-home__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.realty-buyer-home__head h2{margin:2px 0 4px}
.realty-buyer-home__head p{margin:0}
.realty-buyer-home .books-glance{margin:0}
.realty-buyer-home h3{margin:0 0 4px;font-size:1.05rem}
.realty-side-card{display:grid;gap:8px;padding:16px;border:1px solid var(--neutral-200);border-radius:12px;background:var(--paper)}
.realty-side-card p{margin:0}
.realty-side-card+.realty-side-card,.realty-side-card+details{margin-top:12px}

/* Buyers list: a buyer's home and what they owe */
.customer-card__home strong{white-space:normal}
.customer-card__money{display:inline-flex;align-items:center;gap:4px;color:var(--neutral-600)}
.customer-card__money.is-overdue{color:#8a2a1f;font-weight:650}
.customer-card__money .icon{width:13px;height:13px}

/* Partner account: bookings and brokerage */
.realty-partner{margin-bottom:18px}
.realty-partner h2 .icon,.realty-construction-panel h2 .icon{width:20px;height:20px;vertical-align:-3px;margin-right:6px}
.realty-partner__totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}
.realty-partner__totals>div{padding:12px 14px;border:1px solid var(--neutral-200);border-radius:10px}
.realty-partner__totals dt{color:var(--neutral-600);font-size:13px;font-weight:650}
.realty-partner__totals dd{margin:2px 0 0;font-size:1.15rem;font-weight:700;font-variant-numeric:tabular-nums}

/* Marketing home card */
.realty-card-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0}
.realty-card-figures>div{padding:10px 12px;border-radius:10px;background:var(--neutral-50)}
.realty-card-figures>div.is-danger{background:#fdf1ef}
.realty-card-figures dt{color:var(--neutral-600);font-size:13px}
.realty-card-figures dd{margin:2px 0 0;font-size:1.1rem;font-weight:700}

/* Projects: construction stages panel */
.realty-construction-panel{margin:0 0 18px}
.realty-construction-panel .realty-construction{margin-top:14px;padding-top:14px;border-top:1px solid var(--neutral-200)}
.realty-construction-panel .realty-construction h3{margin:0}
.project-finance-more{margin:4px 0 0 30px;font-size:13px}

/* Connections tab */
.marketing-connections{display:grid;gap:18px}
.marketing-connections>.panel{margin:0}
.connection-card--whatsapp .meta-connection-card__icon--whatsapp{background:#1f8f4e}
.connection-card--whatsapp .meta-connection-card__icon--whatsapp .icon{width:24px;height:24px}
.connection-card__form>summary{list-style:none;cursor:pointer}
.connection-card__form>summary::-webkit-details-marker{display:none}
.meta-connection-card .connection-card__form[open]{grid-column:1/-1}
.meta-connection-card .connection-card__form form{max-width:520px;margin-top:14px}
.connection-note{display:flex;gap:10px;align-items:flex-start;margin:0 0 16px;padding:12px 14px;border-radius:10px;background:var(--neutral-50);color:var(--neutral-700);font-size:max(.72rem,14px);line-height:1.5}
.connection-note .icon{flex:none;width:16px;height:16px;margin-top:3px}
.portal-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}
.portal-card{display:grid;gap:14px;align-content:start;padding:18px;border:1px solid var(--neutral-200);border-radius:14px;background:var(--paper)}
.portal-card__head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center}
.portal-card__head h3{margin:0}
.portal-card__head p{margin:2px 0 0}
.portal-card__mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#1b3a6b;color:#fff;font-weight:800;letter-spacing:-.02em}
.portal-card__mark--magicbricks{background:#c8102e}
.portal-card p{margin:0}
.portal-card__facts{display:grid;gap:8px;margin:0}
.portal-card__facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px}
.portal-card__facts dt{color:var(--neutral-600);font-size:13px;font-weight:650}
.portal-card__facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.portal-card code{font-size:13px;overflow-wrap:anywhere}
.portal-card__key{display:flex;gap:10px;padding:12px 14px;border:1px solid #d9c46a;border-radius:10px;background:#fffbe6}
.portal-card__key>div{display:grid;gap:4px;min-width:0}
.portal-card__key code{padding:6px 8px;border-radius:6px;background:#fff;user-select:all}
.portal-card__key .icon{flex:none;width:18px;height:18px;margin-top:2px}
.portal-card__actions{display:flex;flex-wrap:wrap;gap:8px}
.portal-card .connection-card__form{border-top:1px solid var(--neutral-200);padding-top:10px}
.portal-card .connection-card__form>summary{font-weight:650;color:var(--neutral-700)}
.portal-card__mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin-top:12px}
.portal-card__mapping .portal-card__secret,.portal-card__mapping>button{grid-column:1/-1}
.portal-card__mapping>button{justify-self:start}
.inline-form{display:inline}
.link-button{padding:0;border:0;background:none;color:var(--accent,#5948c8);font:inherit;text-decoration:underline;cursor:pointer}
.connection-more>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:650}
.connection-more>summary .icon{width:16px;height:16px}

/* Messages → Connections: the workspace's business connections */
.business-connections{margin:24px 0 0}
.business-connections__list{display:grid;gap:0;margin:0;padding:0;list-style:none}
.business-connections__list li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--neutral-200)}
.business-connections__list li:first-child{border-top:0}
.business-connections__list strong{display:block}
.business-connections__list small{color:var(--neutral-600)}
.business-connections__icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--neutral-100)}
.business-connections__icon .icon{width:17px;height:17px}
.crm-messages-actions{display:flex;flex-wrap:wrap;gap:8px}

@media (max-width:700px){
  .realty-buyer-home__head{flex-direction:column}
  .realty-partner__totals{grid-template-columns:1fr 1fr}
  .portal-card__mapping{grid-template-columns:1fr}
  .portal-card__facts>div{grid-template-columns:1fr;gap:2px}
  .portal-card__head{grid-template-columns:40px minmax(0,1fr)}
  .portal-card__head .status{grid-column:2;justify-self:start}
}
.realty-certified{margin:10px 0}
.realty-certified>summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--neutral-700);font-weight:650}
.realty-certified>summary .icon{width:16px;height:16px;color:var(--positive,#2f7d4f)}
/* The approved Limelight composition for new or redesigned surfaces (docs/design/DESIGN-CONSTITUTION.md):
   one dark orientation moment, then lightly raised section cards with jobs — overview, needs
   attention, the working directory. Each tool keeps its own restrained accent (--tool-color). */


.suite-card,.suite-attention{margin:0 0 16px;border:1px solid var(--neutral-200);border-radius:14px;background:var(--paper,#fff);box-shadow:0 4px 16px rgb(21 14 31 / 4.5%)}
.suite-card{padding:4px 20px 20px}
.suite-card__head{display:flex;align-items:center;gap:13px;padding:16px 0 14px;margin-bottom:14px;border-bottom:1px solid var(--neutral-200)}
.suite-card__head h2{margin:0;font-size:1.45rem;line-height:1.2}
.suite-card__label{margin:0 0 2px;color:var(--neutral-600);font-size:14px}
.suite-card__icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:11px;background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}
.suite-card__icon .icon{width:19px;height:19px}
.suite-card__count{margin-left:auto;padding:3px 10px;border:1px solid var(--neutral-200);border-radius:999px;color:var(--neutral-600);font-size:13px;white-space:nowrap}

.suite-attention{padding:14px 20px;border-left:4px solid var(--tool-color)}
.suite-attention__head{display:flex;align-items:center;gap:13px}
.suite-attention__head h2{margin:0;font-size:1.1rem}
.suite-attention .realty-list{margin-top:8px}

/* Homes: tower blocks sit inside the one directory card, not as cards of their own. */
.suite-directory .realty-tower{padding:0;border:0;background:none;box-shadow:none}
.suite-directory .realty-towers-grid{gap:28px}
.suite-directory .realty-inventory-tools{margin-top:0}

/* Portals and WhatsApp: neutral marks with the Marketing accent, not the portals' own brand fills. */
.portal-card__mark,.portal-card__mark--magicbricks{background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}
.connection-card--whatsapp .meta-connection-card__icon--whatsapp{background:color-mix(in srgb,var(--tool-color) 10%,white);color:var(--tool-color)}

@media (max-width:700px){
  .suite-card{padding:2px 14px 16px}
  .suite-card__head h2{font-size:1.25rem}
  .suite-attention{padding:12px 14px}
}
/* Limelight in Marketing and Projects (docs/design/references/limelight-projects/).
   Each list page opens with one dark orientation moment set in Newsreader Light, then white
   section cards on a warm canvas: overview, what needs attention, the working directory.
   The tool's own accent (--tool-color) is the only colour; forms and detail pages keep their
   quieter headers so the stage stays a moment, not a pattern on every screen. */

@font-face{font-family:"Newsreader";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/newsreader-light.4df1acc5d6dd.ttf") format("truetype")}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:300;font-display:swap;src:url("../fonts/newsreader-light-italic.7762c4faa5c3.ttf") format("truetype")}

body:is(.tool-crm,.tool-projects){--limelight-canvas:#f4f3f2;--limelight-card-line:#e6e3e9;--limelight-shadow:0 4px 16px rgb(21 14 31 / 4.5%);--limelight-soft:color-mix(in srgb,var(--tool-color) 9%,white);--limelight-ink:color-mix(in srgb,var(--tool-color) 78%,black)}
body:is(.tool-crm,.tool-projects),body:is(.tool-crm,.tool-projects) .main{background:var(--limelight-canvas)}

/* The orientation moment ---------------------------------------------------------------- */
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header){
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:196px;margin:0 0 16px;padding:28px 34px 30px;
  border:0;border-radius:16px;box-shadow:none;color:#fff;
background:radial-gradient(ellipse 470px 360px at 86% -34%,color-mix(in srgb,var(--tool-light,var(--tool-color)) 62%,transparent),color-mix(in srgb,var(--tool-light,var(--tool-color)) 16%,transparent) 42%,transparent 72%),#0d0c0e}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header)>div:first-child{padding-left:0}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header)>div:first-child::before{display:none}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:#e4e1e7;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .eyebrow::before{content:"";flex:none;width:28px;height:1px;background:currentColor;opacity:.6}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) h1{
  max-width:16ch;margin:0 0 12px;color:#fff;font-family:"Newsreader",Georgia,"Times New Roman",serif;font-size:clamp(2.6rem,4.6vw,3.85rem);font-weight:300;line-height:.95;letter-spacing:-.035em}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) h1 em{display:block;font-style:italic;font-weight:300}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) :is(.page-intro,p:not(.eyebrow)){max-width:560px;color:#c9c5cc;font-size:16px;line-height:1.5}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) a:not(.button){color:#e4e1e7}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button{min-height:48px;padding:0 22px;gap:12px;border-radius:999px;font-size:16px;font-weight:600;box-shadow:none}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button:not(.button--secondary){background:#fff;border-color:#fff;color:#18141d}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button:not(.button--secondary):hover{background:color-mix(in srgb,var(--tool-color) 10%,white);border-color:color-mix(in srgb,var(--tool-color) 10%,white)}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button--secondary{background:transparent;border-color:#8e8b95;color:#fff}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button--secondary:hover{background:#fff;color:#18141d}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button:focus-visible{outline:3px solid #fff;outline-offset:3px}
body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .button .icon{width:18px;height:18px}
body:is(.tool-crm,.tool-projects) .suite-stage__action{gap:14px}
body:is(.tool-crm,.tool-projects) .page-header.suite-stage .button{white-space:nowrap}
body:is(.tool-crm,.tool-projects) .suite-stage__action>.icon:last-child{margin-left:8px}
/* Facts that sit in a stage (My work's overdue count) read as light chips. */
body:is(.tool-crm,.tool-projects) .page-header .work-glance span{background:rgb(255 255 255 / 8%);border-color:rgb(255 255 255 / 20%);color:#fff}
body:is(.tool-crm,.tool-projects) .page-header .work-glance span.is-urgent{background:color-mix(in srgb,var(--critical,#b3261e) 30%,transparent);border-color:color-mix(in srgb,var(--critical,#b3261e) 60%,transparent)}

/* Section cards ------------------------------------------------------------------------- */
body:is(.tool-crm,.tool-projects) :is(.suite-card,.suite-attention,.suite-summary){border-color:var(--limelight-card-line);border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body:is(.tool-crm,.tool-projects) .suite-card__icon{background:var(--limelight-soft);color:var(--limelight-ink)}
.suite-display{font-family:"Newsreader",Georgia,"Times New Roman",serif;font-weight:300;letter-spacing:-.02em}
body:is(.tool-crm,.tool-projects) .suite-card__head h2.suite-display{font-family:"Newsreader",Georgia,"Times New Roman",serif;font-size:1.85rem;font-weight:300;line-height:1.1}

.suite-summary{display:flex;align-items:center;gap:15px;margin:0 0 14px;padding:17px 20px;border:1px solid var(--limelight-card-line,#e6e3e9)}
.suite-summary>div:nth-child(2){display:grid;gap:2px;min-width:0}
.suite-summary strong{font-size:17px;font-weight:600}
.suite-summary>div:nth-child(2)>span{color:var(--neutral-600);font-size:14px}
.suite-summary__meta{margin-left:auto;display:grid;justify-items:end;gap:3px}
.suite-pill{display:inline-flex;align-items:center;padding:3px 11px;border:1px solid var(--limelight-card-line,#e6e3e9);border-radius:999px;color:var(--neutral-600);font-size:13px;font-weight:500;white-space:nowrap}
.suite-pill--attention{border-color:color-mix(in srgb,var(--tool-color) 28%,white);color:var(--limelight-ink,var(--tool-color))}

.suite-attention--row{display:flex;align-items:center;gap:16px;padding:15px 20px}
.suite-attention--row .suite-card__label{margin:0 0 3px}
.suite-attention__message{margin:0;font-size:16px}
.suite-attention__message strong{font-weight:600}
.suite-attention__more{color:var(--neutral-600);font-size:14px}
.suite-outline-button{display:inline-flex;align-items:center;gap:12px;flex:none;margin-left:auto;min-height:44px;padding:0 17px;border:1px solid #a79da9;border-radius:999px;color:var(--ink,#18141d);font-size:15px;font-weight:500;white-space:nowrap;text-decoration:none}
.suite-outline-button:hover{background:var(--limelight-soft,#f4f0fa);text-decoration:none}
.suite-outline-button .icon{width:17px;height:17px}

.suite-card__head>div{flex:1 1 180px;min-width:0}
.suite-card :is(.marketing-lead-list,.marketing-target-list){padding:0}
.suite-card .marketing-home-list .empty-inline,.suite-card .marketing-target-list .empty-inline{padding:6px 0 2px}
.suite-card__head>:is(.suite-card__link,.suite-outline-button){margin-left:auto}
.suite-card__link{flex:none;color:var(--limelight-ink,var(--tool-color));font-size:14px;font-weight:650;white-space:nowrap}
body:is(.tool-crm,.tool-projects) .suite-card--attention{border-left:4px solid var(--tool-color)}
body.tool-crm .marketing-home-section{margin-bottom:16px}
body.tool-crm .marketing-home-grid{gap:16px;margin-bottom:16px}
body.tool-crm .marketing-home-card>.suite-card__head{margin-bottom:4px}

/* Existing panels in these tools take the same card surface, so every section reads alike. */
body:is(.tool-crm,.tool-projects) .main .panel{border-color:var(--limelight-card-line);border-radius:14px;box-shadow:var(--limelight-shadow)}
body:is(.tool-crm,.tool-projects) .main .panel .panel{box-shadow:none}

/* A directory: filter pills and a search on one line, then the rows. */
.suite-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 6px}
.suite-filters{display:flex;flex-wrap:wrap;gap:6px}
.suite-filters a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 15px;border:1px solid transparent;border-radius:999px;color:#4d4852;font-size:15px;text-decoration:none}
.suite-filters a span{color:var(--neutral-500);font-size:13px}
.suite-filters a:hover{background:var(--neutral-50,#f7f6f8);text-decoration:none}
.suite-filters a[aria-current]{background:var(--limelight-soft);border-color:color-mix(in srgb,var(--tool-color) 18%,white);color:var(--limelight-ink);font-weight:650}
.suite-filters a[aria-current] span{color:inherit}
.suite-search{position:relative;display:block;width:min(260px,100%)}
.suite-search input{width:100%;min-height:44px;padding:8px 44px 8px 15px;border:1px solid #d4d0d6;border-radius:10px;background:#fff;font-size:15px}
.suite-search input:focus{border-color:var(--tool-color)}
.suite-search button{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:8px;background:none;color:#555;cursor:pointer}
.suite-search button:hover{background:var(--neutral-50,#f4f3f5)}
.suite-search .icon{width:18px;height:18px}
.suite-directory__empty{margin:10px 0 4px;padding:18px 0;color:var(--neutral-600)}

/* Projects directory rows, in the concept's rhythm. */
body.tool-projects .project-directory{overflow:visible}
body.tool-projects .project-directory__head,body.tool-projects .project-directory__row{grid-template-columns:minmax(260px,2.4fr) minmax(104px,.8fr) minmax(118px,.85fr) minmax(120px,.8fr) minmax(100px,.75fr) 30px;gap:14px}
body.tool-projects .project-directory__head{padding:10px 0 12px;border-top:0;border-bottom:1px solid #b9b5bd;color:var(--neutral-600);font-size:13px;font-weight:500;letter-spacing:0;text-transform:none}
body.tool-projects .project-directory__row{min-height:0;padding:15px 0;border-bottom:1px solid var(--limelight-card-line)}
body.tool-projects .project-directory__row:hover{background:color-mix(in srgb,var(--tool-color) 3%,white)}
body.tool-projects .project-directory__identity{grid-template-columns:38px minmax(0,1fr);gap:13px}
body.tool-projects .project-directory__identity .project-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--tool-color) 16%,white);border-radius:10px;background:var(--limelight-soft);color:var(--limelight-ink)}
body.tool-projects .project-directory__identity .project-icon .icon{width:19px;height:19px}
body.tool-projects .project-directory__identity strong{font-size:17px;font-weight:600}
body.tool-projects .project-directory__code{color:var(--neutral-500);font-weight:600}
body.tool-projects .project-directory__health{display:flex;align-items:flex-start;gap:8px;font-size:14px;font-weight:500}
body.tool-projects .project-directory__health>span:last-child{display:grid;gap:1px}
body.tool-projects .project-directory__health small{font-weight:400}
.suite-health-dot{flex:none;width:8px;height:8px;margin-top:7px;border-radius:50%;background:#2e7852}
.is-attention>.suite-health-dot{background:#ac6418}
body.tool-projects .project-directory__progress{gap:9px;font-size:14px}
body.tool-projects .project-directory__progress>span:first-child{justify-content:flex-start;gap:5px}
body.tool-projects .project-directory__progress strong{font-weight:600}
body.tool-projects .project-directory__progress .progress-track{max-width:104px;height:4px;background:#e5e2e7}
body.tool-projects .project-directory__progress .progress-track>span{background:var(--tool-color)}
body.tool-projects .project-directory__owner{color:var(--ink,#18141d);font-size:14px}
body.tool-projects .project-directory__owner .mini-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#efeeeb;color:#29252c;font-size:11px;font-weight:700}
body.tool-projects .project-directory__date{color:var(--ink,#18141d);font-size:14px}
body.tool-projects .project-directory__open{display:grid;place-items:center;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--tool-color) 22%,white);border-radius:50%;color:var(--limelight-ink)}
body.tool-projects .project-directory__open .icon{width:16px;height:16px}

/* Phones and 200% zoom ------------------------------------------------------------------- */
@media (max-width:1100px){
  body.tool-projects .project-directory__head,body.tool-projects .project-directory__row{grid-template-columns:minmax(190px,2fr) 92px 100px 110px 92px 28px;gap:10px}
  body.tool-projects .project-directory__owner{display:flex}
}
@media (max-width:900px){
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header){display:block;min-height:0}
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header)>:not(:first-child){margin-top:20px}
  .suite-toolbar{flex-direction:column;align-items:stretch}
  .suite-search{width:100%}
  body.tool-projects .project-directory__head{display:none}
  body.tool-projects .project-directory__row{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
  body.tool-projects .project-directory__identity{grid-column:1/-1;grid-row:1;padding-right:40px}
  body.tool-projects .project-directory__health{grid-column:1;grid-row:2}
  body.tool-projects .project-directory__progress{grid-column:2;grid-row:2;justify-items:end}
  body.tool-projects .project-directory__owner{grid-column:1;grid-row:3}
  body.tool-projects .project-directory__date{grid-column:2;grid-row:3;justify-content:flex-end}
  body.tool-projects .project-directory__open{position:absolute;right:0;top:17px;grid-column:auto;grid-row:auto;display:grid}
  body.tool-projects .project-directory{border:1px solid var(--limelight-card-line);background:#fff;box-shadow:var(--limelight-shadow)}
  body.tool-projects .project-directory__rows{display:block}
  body.tool-projects .project-directory__row{padding:15px 0;border:0;border-bottom:1px solid var(--limelight-card-line);border-radius:0;background:none}
  body.tool-projects .project-directory__row:last-child{border-bottom:0}
  body.tool-projects .project-directory__identity>span>span{white-space:normal;line-height:1.4}
  body.tool-projects .project-directory__identity strong{white-space:normal}
}
@media (max-width:700px){
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header){padding:23px 21px 22px;border-radius:14px;background:radial-gradient(ellipse 300px 260px at 92% -40%,color-mix(in srgb,var(--tool-light,var(--tool-color)) 62%,transparent),transparent 72%),#0d0c0e}
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) h1{font-size:clamp(2.35rem,11vw,3.1rem);line-height:.96}
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header) .page-intro{display:block;font-size:15px;-webkit-line-clamp:unset}
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header)>.button{align-self:flex-start;width:auto;min-height:48px}
  .suite-summary{padding:13px;gap:11px}
  .suite-summary__meta{display:none}
  .suite-summary strong{font-size:15px}
  .suite-summary>div:nth-child(2)>span{font-size:13px}
  .suite-attention--row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px 12px;padding:13px;border-left-width:3px}
  .suite-attention--row .suite-outline-button{grid-column:2;justify-self:start;margin:0;min-height:40px}
  .suite-attention__message{font-size:15px}
  .suite-filters{gap:2px}
  .suite-filters a{min-height:40px;padding:0 11px;font-size:14px}
  body:is(.tool-crm,.tool-projects) .suite-card__head h2.suite-display{font-size:1.6rem}
  .suite-card__head{flex-wrap:wrap}
  .suite-card__head>.suite-outline-button{margin-left:53px}
  body:is(.tool-crm,.tool-projects) .suite-card--attention{border-left-width:3px}
}
@media (forced-colors:active){
  body:is(.tool-crm,.tool-projects) .page-header:is(.suite-stage,.project-page-header,.marketing-page-header,.crm-page-header,.opportunity-page-header,.marketing-performance-header,.crm-messages-header,.guided-form-header,.marketing-form-header,.channel-setup-header,.inbound-lead-header){border:1px solid CanvasText}
  .suite-filters a[aria-current],.suite-pill,.suite-health-dot{border:1px solid CanvasText}
}
/* Limelight shell (docs/design/references/limelight-projects/): one near-black frame for the top
   bar, tool rail and tool menu; the current tool's pages hang from a thin tree line; the page you
   are on is a light pill tinted with the tool's accent; the tool's main action is a white button.
   Navigation, order, labels and permissions are unchanged — this is a restyle, not a new menu. */

body{--limelight-shell:#0d0c0e;--limelight-shell-raised:#161419;--limelight-shell-line:#2b2830;--limelight-shell-text:#c7c5c9;--limelight-shell-muted:#8e8993}

body .topbar{background:var(--limelight-shell);border-bottom:1px solid var(--limelight-shell-line);box-shadow:none}
body .tool-rail{background:var(--limelight-shell);border-right:1px solid var(--limelight-shell-line)}
body .tool-rail-item[aria-current="page"]{background:color-mix(in srgb,var(--tool-color) 30%,var(--limelight-shell));color:#fff;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tool-color) 55%,transparent)}
body .tool-rail-item[aria-current="page"]::before{background:color-mix(in srgb,var(--tool-color) 45%,white)}

/* One continuous navigation surface, like the approved Projects concept. The
   permission-filtered tool and page links remain separate landmarks. */
.suite-navigation__brand{display:none}
@media (min-width:1001px){
  body .suite-frame{grid-template-columns:252px minmax(0,1fr)}
  body .suite-navigation{grid-column:1;grid-row:1;position:sticky;top:72px;align-self:start;display:flex;flex-direction:column;width:252px;height:calc(100dvh - 72px);overflow-y:auto;overflow-x:hidden;background:var(--limelight-shell);border-right:1px solid var(--limelight-shell-line);scrollbar-color:#4a4550 transparent;scrollbar-width:thin}
  body .suite-navigation__brand{display:grid;gap:1px;padding:20px 22px 14px;color:#fff;line-height:1.1}
  body .suite-navigation__brand strong{font-family:"Newsreader",Georgia,serif;font-size:1.34rem;font-weight:400;letter-spacing:-.035em}
  body .suite-navigation__brand span{color:#aaa6af;font-size:13px}
  body .tool-rail{position:static;display:grid;flex:0 0 auto;align-items:stretch;gap:2px;width:100%;height:auto;min-height:0;padding:4px 14px 8px;border:0;background:transparent}
  body .tool-rail-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:42px;padding:8px 12px;border-radius:9px;text-align:left;color:var(--limelight-shell-text)}
  body .tool-rail-item>.icon{width:19px;height:19px}
  body .tool-rail-label{font-size:14px;line-height:1.2;font-weight:550}
  body .tool-rail-item::after{display:none}
  body .tool-rail-item[aria-current="page"]{background:color-mix(in srgb,var(--tool-color) 11%,white);color:#1f1a24;box-shadow:none}
  body .tool-rail-item[aria-current="page"]::before{display:none}
  body .tool-rail-item:hover{background:#242127;color:#fff}
  body .tool-rail-item[aria-current="page"]:hover{background:color-mix(in srgb,var(--tool-color) 15%,white);color:#1f1a24}
  body .tool-rail-item:focus-visible{outline:2px solid #fff;outline-offset:2px}
  body .tool-divider{width:calc(100% - 16px);margin:6px 8px 10px;border-color:var(--limelight-shell-line)}
  body .tool-rail-settings{margin-top:6px}
  body .tool-notification-count{position:static;margin-left:auto;border:0;min-width:22px;height:22px;background:#3a3144;color:#fff}
  body .tool-rail-item[aria-current="page"] .tool-notification-count{background:#2a2430;color:#fff}
  body .context-sidebar{position:static;display:flex;flex-direction:column;flex:0 0 auto;width:100%;height:auto;min-height:0;overflow:visible;padding:0 14px 16px;background:transparent;border:0}
  body .context-heading{padding:12px 12px 8px;margin:0;border-top:1px solid var(--limelight-shell-line);border-bottom:0}
  body .context-heading .context-icon{display:none}
  body .context-heading>div{display:grid;gap:3px}
  body .context-heading strong{font-size:13px;font-weight:600}
  body .context-sidebar nav{margin:4px 0 0 20px;padding-left:10px}
  body .context-sidebar-help{margin-top:auto;padding-top:12px}
  body .main{grid-column:2;grid-row:1}
}

@media (max-width:1000px){
  .suite-navigation{display:contents}
}
@media (min-width:701px) and (max-width:1000px){
  body .suite-frame>.suite-navigation>.tool-rail{grid-column:1;grid-row:1 / span 2}
  body .suite-frame>.suite-navigation>.context-sidebar{grid-column:2;grid-row:1;align-self:start}
}

@media (min-width:1001px){
  body .context-sidebar{color:var(--limelight-shell-text)}
  body .context-heading{border-bottom:1px solid var(--limelight-shell-line);padding-bottom:1rem}
  body .context-heading span:not(.icon):not(.context-icon){color:var(--limelight-shell-muted);letter-spacing:.06em}
  body .context-heading strong{color:#fff;font-size:1.02rem}
  body .context-icon{background:color-mix(in srgb,var(--tool-color) 26%,var(--limelight-shell));color:color-mix(in srgb,var(--tool-color) 35%,white);border:1px solid color-mix(in srgb,var(--tool-color) 45%,transparent)}

  /* The tree line: this tool's pages hang from one quiet rule, as in the approved menu. */
  body .context-sidebar nav{margin:6px 0 0 14px;padding-left:10px;border-left:1px solid #3d3943;gap:2px}
  body .context-sidebar nav a{min-height:40px;padding:8px 10px;border-radius:9px;color:var(--limelight-shell-text);font-size:14px;font-weight:500;box-shadow:none}
  body .context-sidebar nav a:hover{background:#242127;color:#fff}
  body .context-sidebar nav a[aria-current="page"]{background:color-mix(in srgb,var(--tool-color) 11%,white);color:#1f1a24;font-weight:650;box-shadow:none}
  body .context-sidebar nav a .icon{color:currentColor;opacity:.9}
  body .context-sidebar nav a:focus-visible{outline:2px solid #fff;outline-offset:2px}
  body .context-sidebar :is(.context-nav-group,.project-nav-label){display:block;margin:14px 10px 4px;color:var(--limelight-shell-muted);font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:none}
  body .context-sidebar :is(.context-nav-group,.project-nav-label):first-child{margin-top:6px}
  body .context-sidebar nav .nav-count{background:#3a3144;color:#fff}
  body .context-sidebar nav a[aria-current="page"] .nav-count{background:#1f1a24;color:#fff}
  body .context-sidebar .module-settings-link{margin-top:6px;border-top:0}

  /* The tool's main action: a white button, as "Create" in the concept. */
  body .context-sidebar .context-primary{margin-top:16px;border:0;border-radius:11px;background:#fff;color:#141118;font-weight:650;box-shadow:none}
  body .context-sidebar .context-primary:hover{background:color-mix(in srgb,var(--tool-color) 10%,white);filter:none}
  body .context-sidebar .context-primary .icon,body.tool-projects .context-sidebar .context-create>summary>.icon{color:#141118}
  body .context-sidebar .context-primary>.icon:first-child{color:var(--tool-color)}
  body .context-sidebar .context-primary:focus-visible{outline:2px solid #fff;outline-offset:3px}
  body .context-sidebar :is(details,.context-create)>summary{border-radius:11px}

  body .context-sidebar-help{border-top:1px solid var(--limelight-shell-line)}
  body .context-sidebar-help a{color:var(--limelight-shell-text)}
  body .context-sidebar-help a:hover,body .context-sidebar-help a[aria-current="page"]{background:#242127;color:#fff}
  body .context-sidebar .context-tools a{color:var(--limelight-shell-text)}
  body .context-sidebar .context-tools a:hover{background:#242127;color:#fff}
}

@media (forced-colors:active){
  body .context-sidebar nav a[aria-current="page"]{border:1px solid Highlight}
}
/* Limelight on Marketing and Projects records and forms. A record opens with a compact dark
   header (who or what this is, its state, its actions); everything after it sits in white cards.
   Forms keep every field, step and rule; only their surfaces, controls and buttons change. */

/* Record headers ---------------------------------------------------------------------------- */
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header){
  color:#fff;border:0;border-radius:16px;box-shadow:none;padding:24px 28px;
  background:radial-gradient(ellipse 420px 320px at 90% -40%,color-mix(in srgb,var(--tool-color) 58%,transparent),color-mix(in srgb,var(--tool-color) 14%,transparent) 44%,transparent 72%),#0d0c0e}
body:is(.tool-crm,.tool-projects) :is(.project-command .project-detail-header,.task-focus-header){border-radius:14px 14px 0 0}
body:is(.tool-crm,.tool-projects) :is(.project-command,.task-focus){overflow:visible;border-color:var(--limelight-card-line);border-radius:14px;box-shadow:var(--limelight-shadow)}
body:is(.tool-crm,.tool-projects) .task-focus::before{display:none}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(h1,h2:first-of-type){
  color:#fff;font-family:"Newsreader",Georgia,"Times New Roman",serif;font-weight:300;letter-spacing:-.03em;line-height:1}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header) h1{font-size:clamp(2.2rem,3.6vw,3rem)}
body:is(.tool-crm,.tool-projects) .task-focus-header :is(h1,h2:first-of-type){font-size:clamp(1.9rem,3vw,2.5rem)}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .eyebrow{color:#e4e1e7;font-size:13px;font-weight:500;letter-spacing:.02em;text-transform:none}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(p:not(.eyebrow),.page-intro,small,dd,dt){color:#c9c5cc}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) strong{color:#fff}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .back-link{color:#cfcbd2}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(.record-avatar,.project-icon){background:rgb(255 255 255 / 9%);border:1px solid rgb(255 255 255 / 22%);color:#fff;box-shadow:none}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .button{border-radius:999px;box-shadow:none}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .button:not(.button--secondary){background:#fff;border-color:#fff;color:#18141d}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .button:not(.button--secondary):hover{background:color-mix(in srgb,var(--tool-color) 10%,white)}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(.button--secondary,.icon-button,.project-more-menu>summary){background:transparent;border:1px solid #8e8b95;color:#fff}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(.button--secondary,.icon-button,.project-more-menu>summary):hover{background:#fff;color:#18141d}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) :is(.button,.icon-button,summary,a):focus-visible{outline:3px solid #fff;outline-offset:3px}
/* Menus that open from a dark header are ordinary light menus. */
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .menu-popover{color:#18141d}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .menu-popover :is(a,button,strong,span){color:#18141d}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .menu-popover small{color:var(--neutral-600)}
body:is(.tool-crm,.tool-projects) .customer-hero__next{border-color:rgb(255 255 255 / 18%);background:rgb(255 255 255 / 6%)}
body:is(.tool-crm,.tool-projects) .marketing-record-header>div:first-child::before{display:none}
body:is(.tool-crm,.tool-projects) .marketing-record-header>div:first-child{padding-left:0}
body:is(.tool-crm,.tool-projects) .marketing-record-header{display:flex;flex-wrap:wrap;align-items:flex-end;gap:18px 24px}
body:is(.tool-crm,.tool-projects) .marketing-record-header>div:first-child{flex:1 1 auto;min-width:min(100%,360px)}
body:is(.tool-crm,.tool-projects) .marketing-record-header h1{max-width:none}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .status{background:rgb(255 255 255 / 12%);border:1px solid rgb(255 255 255 / 28%);color:#fff}
body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header) .status::before{background:currentColor}

/* The facts under a record header read as one card. */
body:is(.tool-crm,.tool-projects) :is(.record-highlights,.record-tabs){border-color:var(--limelight-card-line)}
body:is(.tool-crm,.tool-projects) .record-highlights{border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body:is(.tool-crm,.tool-projects) .record-tabs a[aria-current="page"]{background:var(--limelight-soft);color:var(--limelight-ink);border-color:color-mix(in srgb,var(--tool-color) 18%,white)}

/* Forms ------------------------------------------------------------------------------------- */
body:is(.tool-crm,.tool-projects) .main :is(.guided-form-section,.form-card,.guided-form-disclosure,.form-panel){border:1px solid var(--limelight-card-line);border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body:is(.tool-crm,.tool-projects) .main .guided-form-section .guided-form-section{box-shadow:none}
/* Canonical labelled toolbars and fields own geometry, contrast and error borders. */
body:is(.tool-crm,.tool-projects) .main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),select,textarea):not(:where(.lm-toolbar--filters *, .lm-field *)){border:1px solid #d4d0d6;border-radius:10px;background:#fff}
body:is(.tool-crm,.tool-projects) .main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),select):not(:where(.lm-toolbar--filters *, .lm-field *)){min-height:46px}
body:is(.tool-crm,.tool-projects) .main :is(input,select,textarea):focus{border-color:var(--tool-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tool-color) 16%,transparent)}
body:is(.tool-crm,.tool-projects) .main :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--lm-accent,var(--tool-color))}
body:is(.tool-crm,.tool-projects) .main :is(.guided-form-footer,.form-actions) .button{min-height:46px;padding:0 22px;border-radius:999px}
body:is(.tool-crm,.tool-projects) .main :is(.guided-form-footer,.form-actions) .button:not(.button--secondary){background:#1d1822;border-color:#1d1822;color:#fff}
body:is(.tool-crm,.tool-projects) .main :is(.guided-form-footer,.form-actions) .button:not(.button--secondary):hover{background:color-mix(in srgb,var(--tool-color) 45%,#1d1822);border-color:color-mix(in srgb,var(--tool-color) 45%,#1d1822)}
body:is(.tool-crm,.tool-projects) .main .guided-form-section__intro>span:first-child,body:is(.tool-crm,.tool-projects) .main .guided-step-number{background:var(--limelight-soft);color:var(--limelight-ink)}

@media (max-width:700px){
  body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header){padding:20px 18px;border-radius:14px}
  body:is(.tool-crm,.tool-projects) :is(.project-command .project-detail-header,.task-focus-header){border-radius:14px 14px 0 0}
  body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header) h1{font-size:clamp(2rem,9vw,2.5rem)}
}
@media (forced-colors:active){
  body:is(.tool-crm,.tool-projects) :is(.marketing-record-header,.customer-hero,.campaign-hero,.project-command .project-detail-header,.task-focus-header,.guided-form-shell__header){border:1px solid CanvasText}
}
/* The approved Limelight rhythm on People and Finance. Preserve their records,
   permissions and task order; only the orientation and working surfaces change. */
body:is(.tool-people,.tool-finance),body:is(.tool-people,.tool-finance) .main{background:var(--limelight-canvas,#f7f6f4)}

body:is(.tool-people,.tool-finance) .main>.page-header,
body.tool-finance .books-today.suite-stage,
body.tool-finance .books-setup{
  position:relative;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:18px 28px;min-height:192px;margin:0 0 18px;padding:28px 34px;
  border:0;border-radius:14px;color:#fff;box-shadow:none;
background:radial-gradient(ellipse 410px 280px at 92% -24%,color-mix(in srgb,var(--tool-light,var(--tool-color)) 34%,transparent),transparent 72%),#0d0c0e;
}
body:is(.tool-people,.tool-finance) .main>.page-header>div:first-child,
body.tool-finance .books-today__title{flex:1 1 340px;min-width:0}
body:is(.tool-people,.tool-finance) .main>.page-header :is(h1,h2),
body.tool-finance .books-today h1,
body.tool-finance .books-setup h1{max-width:17ch;color:#fff;font-family:"Newsreader",Georgia,"Times New Roman",serif;font-weight:300;font-size:clamp(2.6rem,4.4vw,4.2rem);line-height:.97;letter-spacing:-.035em}
body:is(.tool-people,.tool-finance) .main>.page-header h1 em{display:block;font-weight:300}
body:is(.tool-people,.tool-finance) .main>.page-header .eyebrow,
body.tool-finance .books-today .eyebrow,
body.tool-finance .books-setup .eyebrow{margin:0 0 12px;color:#ddd8e2;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}
body:is(.tool-people,.tool-finance) .main>.page-header .page-intro,
body.tool-finance .books-today__summary,
body.tool-finance .books-setup>p:not(.eyebrow){max-width:58ch;margin:14px 0 0;color:#d0cbd3;font-size:16px;line-height:1.5}
body:is(.tool-people,.tool-finance) .main>.page-header .button:not(.button--secondary){display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:10px 22px;border:1px solid #fff;border-radius:999px;background:#fff;color:#18141d;font-size:15px;font-weight:650;letter-spacing:0;text-transform:none;box-shadow:none}
body:is(.tool-people,.tool-finance) .main>.page-header .button:not(.button--secondary):hover{background:color-mix(in srgb,var(--tool-color) 10%,white)}
body:is(.tool-people,.tool-finance) .main>.page-header .button--secondary{border:1px solid rgb(255 255 255 / 48%);background:transparent;color:#fff}
body:is(.tool-people,.tool-finance) .main>.page-header .button--secondary:hover{background:#fff;color:#18141d}
body:is(.tool-people,.tool-finance) .main>.page-header .status{border:1px solid rgb(255 255 255 / 38%);background:rgb(255 255 255 / 12%);color:#fff}
body:is(.tool-people,.tool-finance) .main>.page-header .button .icon{width:18px;height:18px}
body:is(.tool-people,.tool-finance) .main>.page-header .button>.icon:last-child{margin-left:8px}
body:is(.tool-people,.tool-finance) .main>.page-header :is(a,button):focus-visible,
body.tool-finance .books-today a:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* People directory: overview, search, and records each have a clear job. */
body.tool-people .people-summary{margin-bottom:14px;padding:16px 20px;border:1px solid var(--limelight-card-line);border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body.tool-people .people-directory{padding:20px 22px 22px;border:1px solid var(--limelight-card-line);border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body.tool-people .people-directory .suite-card__head{margin-bottom:16px}
body.tool-people .people-directory .suite-display{font-family:"Newsreader",Georgia,serif;font-size:1.9rem;font-weight:300}
body.tool-people .people-filter{margin:0 0 16px;padding:0;border:0;border-radius:0;box-shadow:none}
body.tool-people .people-filter :is(input,select){min-height:46px;border:1px solid #d4d0d6;border-radius:10px;background:#fff}
body.tool-people .people-filter .button{min-height:46px;padding:0 20px;border-radius:10px;font-size:14px;letter-spacing:0;text-transform:none}
body.tool-people .people-directory-wrap{border:0;border-radius:0;box-shadow:none;overflow-x:auto}
body.tool-people .people-directory-table{margin:0;border:0}
body.tool-people .people-directory-table th{background:#fff;border-bottom:1px solid #b9b5bd;color:var(--neutral-600);font-size:13px;font-weight:550;letter-spacing:0;text-transform:none}
body.tool-people .people-directory-table td{border-bottom:1px solid var(--limelight-card-line);font-size:14px}
body.tool-people .people-directory-table .people-primary-link strong{font-size:16px;font-weight:650}

/* Finance: the daily decision remains first; one dark orientation moment is
   followed by a light action card and calm registers. */
body.tool-finance .books-today.suite-stage{align-items:flex-end;min-height:174px}
body.tool-finance .books-today h1{max-width:none;font-size:clamp(2.5rem,4vw,3.8rem)}
body.tool-finance .books-record{align-self:flex-end;max-width:100%}
body.tool-finance .books-record__label{color:#d0cbd3}
body.tool-finance .books-record a{border-color:rgb(255 255 255 / 38%);background:rgb(255 255 255 / 10%);color:#fff}
body.tool-finance .books-record a:hover{background:#fff;color:#17141a}
body.tool-finance .books-record a .icon{color:currentColor}
body.tool-finance .books-focus{border:1px solid var(--limelight-card-line);border-left:4px solid var(--tool-color);border-radius:14px;background:#fff;color:#1a1720;box-shadow:var(--limelight-shadow)}
body.tool-finance .books-focus--urgent{border-left-color:var(--critical);background:#fff}
body.tool-finance .books-focus__step,body.tool-finance .books-focus__amount span{color:var(--neutral-600)}
body.tool-finance .books-focus__index,body.tool-finance .books-focus__icon{background:color-mix(in srgb,var(--tool-color) 11%,white);color:color-mix(in srgb,var(--tool-color) 76%,black)}
body.tool-finance .books-focus--urgent .books-focus__icon{background:color-mix(in srgb,var(--critical) 10%,white);color:var(--critical)}
body.tool-finance .books-focus__text h2,body.tool-finance .books-focus__amount strong{color:#1a1720}
body.tool-finance .books-focus__text p:last-child{color:var(--neutral-600)}
body.tool-finance .books-focus__count{background:var(--neutral-100);color:#1a1720}
body.tool-finance .books-focus__action{border-color:#1a1720;background:#1a1720;color:#fff}
body.tool-finance .books-focus__action:hover{background:var(--tool-color);border-color:var(--tool-color);color:#fff}
body.tool-finance :is(.books-lane,.books-position,.finance-code-card,.books-nav){border-color:var(--limelight-card-line);border-radius:14px;background:#fff;box-shadow:var(--limelight-shadow)}
body.tool-finance .books-position{padding:20px 24px}
body.tool-finance .finance-code-card:hover{border-color:color-mix(in srgb,var(--tool-color) 45%,white)}
body.tool-finance .books-setup{display:block}
body.tool-finance .books-setup-steps{color:#fff}
body.tool-finance .books-setup-steps li span{color:#ddd8e2}
body.tool-finance .books-setup .button{margin-top:18px;border-color:#fff;background:#fff;color:#18141d}
body.tool-finance .books-setup .books-note{margin-top:18px}

@media(max-width:900px){
  body:is(.tool-people,.tool-finance) .main>.page-header,
  body.tool-finance .books-today.suite-stage{min-height:0;padding:24px}
  body.tool-finance .books-record{width:100%}
}
@media(max-width:700px){
  body:is(.tool-people,.tool-finance) .main>.page-header>div:first-child,
  body.tool-finance .books-today__title{flex:0 1 auto;width:100%}
  body:is(.tool-people,.tool-finance) .main>.page-header .page-intro{display:block;overflow:visible;-webkit-line-clamp:unset}
  body.tool-finance .main>.page-header .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;overflow:visible}
  body.tool-finance .main>.page-header .actions .button{width:100%;justify-content:center}
  body:is(.tool-people,.tool-finance) .main>.page-header,
  body.tool-finance .books-today.suite-stage,
  body.tool-finance .books-setup{padding:22px 20px}
  body:is(.tool-people,.tool-finance) .main>.page-header :is(h1,h2),
  body.tool-finance .books-today h1{font-size:clamp(2.45rem,11vw,3.15rem)}
  body.tool-people .people-directory{padding:16px}
  body.tool-people .people-directory-wrap{overflow:visible}
  body.tool-people .people-directory-table tr{border-color:var(--limelight-card-line);box-shadow:0 2px 7px rgb(18 18 17 / 4%)}
  body.tool-finance .books-record{align-items:stretch}
  body.tool-finance .books-record__label{width:100%}
  body.tool-finance .books-focus{grid-template-columns:44px minmax(0,1fr)}
  body.tool-finance .books-focus__amount,body.tool-finance .books-focus__action{grid-column:2;justify-self:start}
}
@media(forced-colors:active){
  body:is(.tool-people,.tool-finance) .main>.page-header,
  body.tool-finance .books-today.suite-stage{border:1px solid CanvasText}
}
/* Two deliberate command rows. Canonical fields/actions own their appearance;
   submit controls are siblings, never nested inside an input's label or box. */
body.tool-projects .project-board-commandbar{--lm-control-height:3rem;grid-template-columns:minmax(0,1fr);gap:12px;background:#fff;padding:16px}
body.tool-projects .project-board-commandbar :is(.board-compose,.project-board-tools){grid-template-columns:minmax(0,1fr) auto;gap:12px;width:100%;max-width:1120px;justify-content:start}
body.tool-projects .project-command-form{display:grid;grid-template-columns:minmax(0,1fr) 7rem;gap:12px;align-items:center;min-width:0;margin:0}
body.tool-projects .project-command-form .lm-field{gap:0}
body.tool-projects .project-board-commandbar .project-command-form :is(input,.lm-button){box-sizing:border-box;min-height:var(--lm-control-height);height:auto;margin:0}
body.tool-projects .project-command-form .lm-button{width:100%;justify-content:center;padding-inline:12px}
body.tool-projects .project-board-commandbar :is(.project-create-menu>summary,.board-options>summary){box-sizing:border-box;min-height:var(--lm-control-height);height:auto;margin:0;width:auto;justify-content:center;gap:.5rem;font-size:var(--lm-small);padding-inline:1rem}
body.tool-projects .project-create-menu>summary .icon{width:1rem;height:1rem;transition:transform 120ms}
body.tool-projects .project-create-menu[open]>summary .icon{transform:rotate(180deg)}
body.tool-projects .project-board-commandbar .board-options .board-viewbar{max-width:min(680px,calc(100vw - 32px))}
body.tool-projects .task-board-group__header{grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;min-height:64px;padding:10px 16px}
body.tool-projects .task-board-group__title{grid-column:1;display:flex;align-items:center;gap:8px}
body.tool-projects .task-board-group__tools{grid-column:2}
body.tool-projects .task-board-group__toggle{grid-column:3}
@media(max-width:700px){
  body.tool-projects .project-workbench__header{align-items:stretch}
  body.tool-projects .project-board-commandbar{padding:12px;gap:16px}
  body.tool-projects .project-board-commandbar :is(.board-compose,.project-board-tools){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  body.tool-projects .project-command-form{display:contents}
  body.tool-projects .project-command-form .lm-field{grid-column:1/-1}
  body.tool-projects .project-command-form .lm-button{grid-column:1}
  body.tool-projects .project-board-commandbar :is(.project-create-menu,.board-options){grid-column:2}
  body.tool-projects .project-board-commandbar :is(.project-create-menu>summary,.board-options>summary){width:100%}
  body.tool-projects .task-board-group__header{padding:10px 12px}
}
/* Marketing: keep directory search, filters, and follow-up editing legible at every width. */
body.tool-crm .marketing-home-snapshot {
  margin-bottom: 14px;
}

body.tool-crm .marketing-home-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

body.tool-crm .marketing-home-card > .suite-card__head h2 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.1;
}

body.tool-crm .marketing-home-drafts {
  margin-bottom: 14px;
}

body.tool-crm .marketing-home-section .marketing-home-followup {
  padding-inline: 2px;
}

body.tool-crm .marketing-home-followup__actions > .button {
  border: 1px solid #cbbfc7;
  background: #fff;
  color: var(--marketing-ink);
  box-shadow: none;
}

body.tool-crm .marketing-home-followup__actions > .button:hover {
  background: var(--limelight-soft);
}

body.tool-crm .lead-attention-strip {
  border-color: var(--limelight-card-line);
  border-left: 4px solid var(--tool-color);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--limelight-shadow);
}

body.tool-crm .lead-attention-strip__icon {
  background: var(--limelight-soft);
}

body.tool-crm .lead-attention-strip .button {
  min-height: 44px;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

@media (min-width: 701px) {
  body.tool-crm .voice-quick-launch--crm {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding: 6px 13px 6px 7px;
    border: 1px solid #d8cbd3;
    border-radius: 12px;
    background: #fff;
    color: #251e25;
    box-shadow: 0 5px 17px rgb(21 14 31 / 13%);
  }

  body.tool-crm .voice-quick-launch--crm .voice-quick-launch-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--limelight-soft);
    color: var(--marketing-ink);
  }

  body.tool-crm .voice-quick-launch--crm .voice-quick-launch-icon .icon {
    width: 17px;
    height: 17px;
  }

  body.tool-crm .voice-quick-launch--crm small {
    color: var(--neutral-600);
  }

  body.tool-crm .voice-quick-launch--crm:hover {
    background: var(--limelight-soft);
    filter: none;
  }
}

body.tool-crm .marketing-directory {
  overflow: visible;
  box-shadow: var(--limelight-shadow);
}

body.tool-crm .marketing-directory__toolbar,
body.tool-crm .customer-directory__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
}

body.tool-crm .marketing-directory__toolbar > div,
body.tool-crm .customer-directory__header > div {
  min-width: 0;
}

body.tool-crm .marketing-directory__heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

body.tool-crm .marketing-directory__heading > div {
  min-width: 0;
}

body.tool-crm .marketing-directory__heading h2 {
  margin: 1px 0 3px;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 1.9rem);
  font-weight: 300;
  line-height: 1.1;
}

body.tool-crm .marketing-directory__heading p:not(.suite-card__label) {
  margin: 0;
  color: var(--neutral-600);
  font-size: 14px;
}

body.tool-crm .marketing-directory__heading .suite-pill {
  justify-self: end;
}

body.tool-crm .campaign-directory {
  display: block;
  overflow: hidden;
  border: 1px solid var(--limelight-card-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--limelight-shadow);
}

body.tool-crm .campaign-directory__heading {
  padding: 20px 22px 14px;
}

body.tool-crm .campaign-directory__heading h2 {
  margin: 1px 0 3px;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 1.9rem);
  font-weight: 300;
  line-height: 1.1;
}

body.tool-crm .campaign-directory__heading p:not(.suite-card__label) {
  margin: 0;
  color: var(--neutral-600);
  font-size: 14px;
}

body.tool-crm .campaign-filter {
  justify-self: stretch;
  justify-content: flex-end;
  margin: 0 22px;
  padding: 0 0 16px;
  border-bottom: 1px solid #c8c3cb;
}

body.tool-crm .campaign-filter :is(select,.button) {
  min-height: 44px;
}

body.tool-crm .campaign-card {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--limelight-card-line);
  border-radius: 0;
  box-shadow: none;
}

body.tool-crm .campaign-card:last-child {
  border-bottom: 0;
}

body.tool-crm .campaign-card:hover {
  background: var(--limelight-soft);
  box-shadow: none;
}

body.tool-crm .campaign-card > .icon {
  width: 17px;
  height: 17px;
  border: 0;
  border-radius: 50%;
  color: var(--marketing-ink);
  outline: 1px solid #d9cbd3;
  outline-offset: 6px;
}

body.tool-crm .campaign-card:focus-visible {
  outline: 3px solid var(--marketing-accent);
  outline-offset: -3px;
}

body.tool-crm .opportunity-board-toolbar {
  border-color: var(--limelight-card-line);
  border-radius: 14px;
  box-shadow: var(--limelight-shadow);
}

body.tool-crm .marketing-directory .lead-contact-filter,
body.tool-crm .marketing-directory .customer-directory__filters {
  display: grid;
  width: 100%;
  margin: 0;
  align-items: center;
  gap: 10px;
}

body.tool-crm .marketing-directory .lead-contact-filter {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

body.tool-crm .marketing-directory .customer-directory__filters {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto;
}

body.tool-crm .marketing-directory .filter-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d4d0d6;
  border-radius: 10px;
  background: #fff;
}

body.tool-crm .marketing-directory .filter-search:focus-within {
  outline: 2px solid var(--marketing-accent);
  outline-offset: 2px;
}

body.tool-crm .marketing-directory .filter-search > .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--neutral-600);
}

body.tool-crm .marketing-directory .filter-search input {
  width: 100%;
  min-width: 0;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  box-shadow: none !important;
  background: transparent !important;
}

body.tool-crm .marketing-directory .contact-filter-disclosure > summary,
body.tool-crm .marketing-directory .customer-directory__filters select,
body.tool-crm .marketing-directory .customer-directory__filters .button,
body.tool-crm .marketing-directory .lead-contact-filter > .button {
  min-height: 48px;
}

body.tool-crm .marketing-directory .contact-filter-disclosure > summary {
  justify-content: center;
  background: #fff;
}

body.tool-crm .marketing-directory .contact-filter-disclosure {
  margin: 0;
  padding: 0;
  border: 0;
}

body.tool-crm .marketing-directory .contact-filter-disclosure__body {
  max-width: calc(100vw - 32px);
}

body.tool-crm .lead-record-table th,
body.tool-crm .customer-directory__columns {
  border-bottom: 1px solid #c8c3cb;
  background: #fff;
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

body.tool-crm .lead-record-table td {
  padding-block: 16px;
}

body.tool-crm .lead-record-table .marketing-person strong,
body.tool-crm .customer-card__identity strong {
  font-size: 16px;
  font-weight: 650;
}

body.tool-crm .lead-record-table .marketing-record-actions .button:not(.marketing-icon-button) {
  border: 1px solid #c9bbc4;
  background: #fff;
  color: var(--marketing-ink);
  box-shadow: none;
}

body.tool-crm .lead-record-table .marketing-record-actions .button:not(.marketing-icon-button):hover {
  background: var(--limelight-soft);
}

body.tool-crm .customer-card {
  min-height: 82px;
  border-color: var(--limelight-card-line);
}

body.tool-crm .customer-card__open {
  width: 30px;
  height: 30px;
  border: 1px solid #d9cbd3;
  border-radius: 50%;
  color: var(--marketing-ink);
}

body.tool-crm .customer-card:focus-visible,
body.tool-crm .marketing-person:focus-visible {
  outline: 3px solid var(--marketing-accent);
  outline-offset: 2px;
}

body.tool-crm .followup-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

/* Follow-up identity leads; customer context and the linked task action differ. */
body.tool-crm .followup-summary>div { gap:6px; }
body.tool-crm .followup-summary>div>a:first-child {
  font-size:1.125rem; line-height:1.35; color:var(--lm-ink); text-decoration:none;
}
body.tool-crm .followup-summary>div>a:first-child strong { font-weight:700; }
body.tool-crm .followup-summary>div>a:first-child:hover { text-decoration:underline; text-underline-offset:3px; }
body.tool-crm .followup-summary small {
  margin:0; color:var(--lm-muted); font-size:.8125rem; line-height:1.5;
}
body.tool-crm .followup-summary .followup-task-link {
  margin-top:2px; padding:0; min-height:44px; gap:7px;
  font-size:.8125rem!important; font-weight:600; color:var(--lm-accent-ink);
  text-decoration:underline; text-underline-offset:3px;
}
body.tool-crm .followup-inline label>span { font-size:.75rem; font-weight:600; color:var(--lm-muted); }
body.tool-crm .followup-summary a:focus-visible { outline:2px solid var(--lm-accent-ink); outline-offset:4px; border-radius:3px; }

body.tool-crm .followup-inline {
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, .85fr) minmax(140px, .65fr) auto;
  gap: 10px;
}

body.tool-crm .followup-inline input,
body.tool-crm .followup-inline select,
body.tool-crm .followup-save {
  min-height: 46px;
}

@media (max-width: 900px) {
  body.tool-crm .followup-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.tool-crm .followup-inline label:first-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.tool-crm .marketing-home-card > .suite-card__head h2 {
    font-size: 1.6rem;
  }

  body.tool-crm .marketing-directory__heading {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 12px;
  }

  body.tool-crm .marketing-directory__heading .suite-pill {
    grid-column: 2;
    justify-self: start;
  }

  body.tool-crm .campaign-directory__heading {
    padding: 18px 16px 14px;
  }

  body.tool-crm .campaign-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 16px;
  }

  body.tool-crm .campaign-filter label {
    grid-column: 1 / -1;
  }

  body.tool-crm .campaign-card {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 16px 54px 16px 16px;
  }

  body.tool-crm .campaign-card dl {
    grid-column: 2;
  }

  body.tool-crm .campaign-card > .icon {
    position: absolute;
    top: 24px;
    right: 23px;
  }

  body.tool-crm .opportunity-board-toolbar {
    gap: 10px;
  }

  body.tool-crm .opportunity-board-toolbar form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  body.tool-crm .opportunity-board-toolbar form label {
    grid-column: auto;
  }

  body.tool-crm .opportunity-board-toolbar form select {
    min-width: 0;
  }

  body.tool-crm .opportunity-board-toolbar dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }

  body.tool-crm .opportunity-board-toolbar dl > div,
  body.tool-crm .opportunity-board-toolbar dl > div:last-child {
    grid-column: auto;
    padding: 8px 6px;
    border-top: 1px solid var(--neutral-200);
  }

  body.tool-crm .opportunity-board-toolbar dd {
    font-size: 15px;
  }

  body.tool-crm .opportunity-board-toolbar .marketing-toolbar-link {
    justify-self: end;
    min-height: 36px;
  }

  body.tool-crm .marketing-directory__toolbar,
  body.tool-crm .customer-directory__header {
    padding: 18px 16px;
  }

  body.tool-crm .marketing-directory .lead-contact-filter,
  body.tool-crm .marketing-directory .customer-directory__filters {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  body.tool-crm .marketing-directory .filter-search {
    grid-column: 1 / -1;
  }

  body.tool-crm .marketing-directory .lead-contact-filter > .button,
  body.tool-crm .marketing-directory .customer-directory__filters > .button {
    grid-column: 2;
    grid-row: 2;
    width: auto;
  }

  body.tool-crm .marketing-directory .contact-filter-disclosure,
  body.tool-crm .marketing-directory .customer-directory__status {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  body.tool-crm .marketing-directory .customer-directory__status:nth-of-type(2) {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body.tool-crm .marketing-directory .contact-filter-disclosure__body {
    left: 0;
    right: auto;
  }

  body.tool-crm .followup-inline {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.tool-crm .followup-inline label:first-of-type {
    grid-column: auto;
  }

  body.tool-crm .customer-card {
    position: relative;
    padding-right: 52px;
  }

  body.tool-crm .customer-card__open {
    position: absolute;
    top: 15px;
    right: 14px;
    display: grid;
    margin: 0;
  }
}
/* Projects-only adaptation of working views to the approved Limelight library.
   Domain forms, actions, and permission gates remain in their owning templates. */
body.lm-shell.tool-projects .lm-project-page { display:grid; gap:var(--lm-gap); min-width:0; }
body.lm-shell.tool-projects .lm-project-page > .lm-back { margin-bottom:0; }
body.lm-shell.tool-projects .lm-project-page > :is(.panel,.form-card,.template-card,.project-workbench,.task-support-hub,.task-steps,.project-report-handoff,.project-action-panel,.daily-report-review-grid > .panel,.recurrence-layout > .panel) {
  background:var(--lm-paper); border:1px solid var(--lm-line); border-radius:var(--lm-radius-card); box-shadow:var(--lm-shadow); min-width:0;
}
body.lm-shell.tool-projects .lm-project-page > .lm-stage { margin:0; }
body.lm-shell.tool-projects .lm-project-page :is(.panel,.form-card) { min-width:0; }
body.lm-shell.tool-projects .lm-project-page :is(.button,.icon-button,button,input,select,textarea,summary,a) { scroll-margin-top:1rem; }
body.lm-shell.tool-projects .lm-project-page :is(.button,.icon-button,summary,button) { min-height:var(--lm-control-height); }
body.lm-shell.tool-projects .lm-project-page :is(.button,.icon-button,summary,button):focus-visible { outline:3px solid var(--lm-accent-ink); outline-offset:3px; }
body.lm-shell.tool-projects .lm-project-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { min-width:0; max-width:100%; }
body.lm-shell.tool-projects .lm-project-page .lm-stage :is(.lm-button,button):focus-visible { outline-color:#fff; }
/* Limelight's neutral link reset follows the legacy button rules in the build.
   Restore action contrast only inside Projects, without changing the library. */
body.lm-shell.tool-projects .lm-project-page a.button:not(.button--secondary):not(.button--ghost) { color:#fff; }
body.lm-shell.tool-projects .lm-project-page a.button--secondary,
body.lm-shell.tool-projects .lm-project-page a.button--ghost { color:var(--lm-ink); }
body.lm-shell.tool-projects .lm-project-page .task-focus-header :is(.priority,.task-priority,.task-core-fact a) { color:#fff; }

/* The actual library form layout is used by project creation and access. */
body.lm-shell.tool-projects .lm-project-form-layout .lm-form-body { min-width:0; }
body.lm-shell.tool-projects .lm-project-form-layout .guided-form { display:grid; gap:0; }
body.lm-shell.tool-projects .lm-project-form-layout .guided-form-section { margin:0; padding:1.35rem 0; border:0; border-top:1px solid var(--lm-line); border-radius:0; box-shadow:none; background:transparent; }
body.lm-shell.tool-projects .lm-project-form-layout .guided-form-section__intro { margin:0 0 1rem; }
body.lm-shell.tool-projects .lm-project-form-layout .guided-form-section__intro h2 { color:var(--lm-ink); font-size:1.2rem; }
body.lm-shell.tool-projects .lm-project-form-layout .guided-form-footer { margin:0; padding:1.3rem 0 0; border-top:1px solid var(--lm-line); box-shadow:none; background:transparent; }
body.lm-shell.tool-projects .lm-project-form-layout :is(.people-access-options,.guided-form-grid) { min-width:0; }
body.lm-shell.tool-projects .lm-project-form-layout .people-access-option { min-height:var(--lm-control-height); }
body.lm-shell.tool-projects .lm-project-form-layout .people-access-option:focus-within { outline:3px solid var(--lm-accent-ink); outline-offset:2px; }
body.lm-shell.tool-projects .lm-project-form-layout .form-actions .button { border-radius:var(--lm-radius-control); }

/* Project record: one orientation, then an aligned navigation and working area. */
body.lm-shell.tool-projects .lm-project-page .project-command { margin:0; overflow:visible; }
body.lm-shell.tool-projects .lm-project-page .project-command .project-detail-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1.2rem; min-height:0; padding:.85rem 1.25rem; border-radius:var(--lm-radius-card) var(--lm-radius-card) 0 0; background:#fff; color:var(--lm-ink); }
body.lm-shell.tool-projects .lm-project-page .project-command .project-detail-header :is(.status,.project-more-menu>summary) { color:var(--lm-ink); border-color:var(--lm-line); background:var(--lm-paper); }
body.lm-shell.tool-projects .lm-project-page .project-command .project-detail-header .project-more-menu .menu-popover { color:var(--lm-ink); }
body.lm-shell.tool-projects .lm-project-page .project-command__context { color:var(--lm-muted); font-size:var(--lm-small); }
body.lm-shell.tool-projects .lm-project-page .project-workspace-nav { display:flex; flex-wrap:wrap; gap:.25rem; margin:0; padding:0 1.1rem; border-bottom:1px solid var(--lm-line); }
body.lm-shell.tool-projects .lm-project-page .project-workspace-nav a { color:var(--lm-muted); border:0; border-bottom:3px solid transparent; border-radius:0; min-height:var(--lm-control-height); padding:.65rem .8rem; }
body.lm-shell.tool-projects .lm-project-page .project-workspace-nav a[aria-current] { color:var(--lm-accent-ink); border-bottom-color:var(--lm-accent); background:transparent; }
body.lm-shell.tool-projects .lm-project-page .project-overview-details { margin:0; border:0; border-radius:0 0 var(--lm-radius-card) var(--lm-radius-card); }
body.lm-shell.tool-projects .lm-project-page .project-overview-details > summary { min-height:var(--lm-control-height); }
body.lm-shell.tool-projects .lm-project-page .project-workbench { overflow:visible; }
body.lm-shell.tool-projects .lm-project-page .project-workbench__header { padding:1rem 1.25rem 0; }
body.lm-shell.tool-projects .lm-project-page .project-workbench__header h2 { font-size:1.55rem; }
body.lm-shell.tool-projects .lm-project-page .project-workbench .view-tabs { margin:0; border:0; }
body.lm-shell.tool-projects .lm-project-page .project-workbench .view-tabs a { border-bottom:3px solid transparent; border-radius:0; }
body.lm-shell.tool-projects .lm-project-page .project-workbench .view-tabs a[aria-current] { border-bottom-color:var(--lm-accent); color:var(--lm-accent-ink); }
body.lm-shell.tool-projects .lm-project-page .task-board-group { overflow-x:clip; }
body.lm-shell.tool-projects .lm-project-page .task-board-group__content { overflow-x:clip; }
body.lm-shell.tool-projects .lm-project-page .project-board-commandbar { border-top:1px solid var(--lm-line); }
body.lm-shell.tool-projects .lm-project-page .project-board-commandbar :is(.button,.board-search,.quick-capture>span) { border-radius:var(--lm-radius-control); }
body.lm-shell.tool-projects .lm-project-page .project-support-card { background:var(--lm-paper); border:1px solid var(--lm-line); border-radius:var(--lm-radius-card); box-shadow:var(--lm-shadow); }

/* The task, report and template records keep their domain-owned controls. */
body.lm-shell.tool-projects .lm-project-page .task-focus { margin:0; border-radius:var(--lm-radius-stage); overflow:visible; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header { border-radius:var(--lm-radius-stage) var(--lm-radius-stage) 0 0; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header h1 { font:300 clamp(2.2rem,4vw,3.5rem)/1.04 var(--lm-display); letter-spacing:-.035em; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header :is(.task-inline-title-edit,.task-inline-title-edit:hover) { color:#fff; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header :is(.task-inline-title-edit>.icon,.task-core-facts .icon) { color:#d9d4e6; opacity:1; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .page-intro { display:block; color:#d4d0d9; max-height:none; overflow:visible; -webkit-line-clamp:unset; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .task-source-summary { display:flex; color:#d4d0d9; max-height:none; overflow:visible; -webkit-line-clamp:unset; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .task-core-facts small { color:#bdb7c8; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .task-core-facts strong { color:#fff; }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .task-core-fact--editable:hover { background:rgb(255 255 255 / 12%); }
body.lm-shell.tool-projects .lm-project-page .task-focus-header .task-core-fact { border-radius:var(--lm-radius-control); }
body.lm-shell.tool-projects .lm-project-page .task-next-action { border-radius:0 0 var(--lm-radius-stage) var(--lm-radius-stage); }
body.lm-shell.tool-projects .lm-project-page :is(.task-support-hub,.task-steps,.template-card,.daily-report-intake,.briefing-reader,.project-data-panel,.project-report-handoff) { margin:0; }
body.lm-shell.tool-projects .lm-project-page .task-steps { padding:1.25rem; }
body.lm-shell.tool-projects .lm-project-page .template-card { padding:1.3rem; }
body.lm-shell.tool-projects .lm-project-page .daily-report-list--own { background:#fff; border:1px solid var(--lm-line); border-radius:var(--lm-radius-card); box-shadow:var(--lm-shadow); }
/* This list is its own card; the shared unboxed report rows have only a 2px inset. */
body.lm-shell.tool-projects .lm-project-page .daily-report-list--own > a { padding:1rem 1.25rem; }
body.lm-shell.tool-projects .lm-project-page .daily-report-list--own > a > span:nth-child(2) { gap:.25rem; }
body.lm-shell.tool-projects .lm-project-page .is-spaced-above { margin-top:0; }
body.lm-shell.tool-projects .lm-project-page .daily-report-list--own .empty-state { min-height:0; padding:2rem 1.5rem; }
body.lm-shell.tool-projects .lm-project-page > .panel > .empty-state { min-height:0; padding:2rem 1.5rem; border:0; box-shadow:none; background:transparent; }
body.lm-shell.tool-projects .lm-project-page .lm-project-record-stage { align-items:center; }
body.lm-shell.tool-projects .lm-project-page .lm-project-stage-status { flex:none; color:#fff; background:rgb(255 255 255 / 12%); border:1px solid rgb(255 255 255 / 35%); border-radius:999px; padding:.4rem .8rem; font-size:var(--lm-small); }
body.lm-shell.tool-projects .lm-project-page .briefing-filters { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; }
body.lm-shell.tool-projects .lm-project-page .briefing-filters .field { min-width:min(100%,12rem); flex:1; }
body.lm-shell.tool-projects .lm-project-page .bulk-action-bar { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; }
body.lm-shell.tool-projects .lm-project-page .bulk-action-bar > div { flex:1 1 14rem; }
body.lm-shell.tool-projects .lm-project-page .bulk-action-bar :is(label,button) { min-width:min(100%,10rem); }
body.lm-shell.tool-projects .lm-project-page .approval-select-row label:first-child { min-width:var(--lm-control-height); min-height:var(--lm-control-height); display:grid; place-items:center; }
body.lm-shell.tool-projects .lm-project-page .approval-select-row input[type=checkbox] { width:1.25rem; height:1.25rem; }
body.lm-shell.tool-projects .lm-project-page .capacity-table-wrap { overflow-x:auto; max-width:100%; }
body.lm-shell.tool-projects .lm-project-page .capacity-table { min-width:44rem; }
body.lm-shell.tool-projects .lm-project-page .capacity-table td { font-size:max(.875rem,var(--lm-small)); }

@media(max-width:800px) {
  body.lm-shell.tool-projects .lm-project-page .project-workbench__header { display:grid; gap:.5rem; }
  body.lm-shell.tool-projects .lm-project-page .project-workbench__header .view-tabs { overflow-x:auto; flex-wrap:nowrap; max-width:100%; }
  body.lm-shell.tool-projects .lm-project-page .project-workspace-nav { flex-wrap:nowrap; overflow-x:auto; max-width:100%; }
  body.lm-shell.tool-projects .lm-project-page .project-workspace-nav a { flex:none; }
  body.lm-shell.tool-projects .lm-project-page .project-command .project-detail-header { padding:.8rem; }
  body.lm-shell.tool-projects .lm-project-page .project-board-commandbar { display:grid; grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
  body.lm-shell.tool-projects .lm-project-page { gap:.72rem; }
  body.lm-shell.tool-projects .lm-project-page .daily-report-list--own > a { padding:1rem; }
  body.lm-shell.tool-projects .lm-project-page .lm-stage { padding:1.2rem; }
  body.lm-shell.tool-projects .lm-project-page .lm-stage h1 { font-size:2.2rem; }
  body.lm-shell.tool-projects .lm-project-page .lm-stage .lm-button { width:100%; }
  body.lm-shell.tool-projects .lm-project-page .project-command__aside { margin-left:auto; }
  body.lm-shell.tool-projects .lm-project-page .project-workbench__header { padding:.8rem .85rem 0; }
  body.lm-shell.tool-projects .lm-project-page .project-overview-details > summary { display:flex; flex-wrap:wrap; gap:.5rem; }
  body.lm-shell.tool-projects .lm-project-page .project-overview-details > summary > span:nth-child(2) { flex:1 1 100%; }
  body.lm-shell.tool-projects .lm-project-page .task-focus-header h1 { font-size:2rem; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table { min-width:0; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table thead { display:none; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table :is(tbody,tr,td) { display:block; width:100%; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table tr { padding:1rem 0; border-bottom:1px solid var(--lm-line); }
  body.lm-shell.tool-projects .lm-project-page .capacity-table td { display:flex; align-items:start; justify-content:space-between; gap:1rem; padding:.25rem 0; text-align:right; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table td:first-child { display:block; text-align:left; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table td[data-mobile-label]::before { content:attr(data-mobile-label); color:var(--lm-muted); text-align:left; }
  body.lm-shell.tool-projects .lm-project-page .capacity-table td .capacity-cell { max-width:60%; }
}

/* Task templates: a two-across library. Each card reads name → facts → when steps fall → the steps
   themselves, with the shared-owner rule said once and in-progress copies behind a disclosure. */
body.lm-shell.tool-projects .lm-template-summary { margin:0 0 12px; color:var(--lm-muted); font-size:.94rem; }
body.lm-shell.tool-projects .lm-template-summary strong { color:var(--lm-ink); font-weight:600; }
body.lm-shell.tool-projects .lm-template-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap:16px; align-items:start; }
body.lm-shell.tool-projects .lm-template { display:flex; flex-direction:column; gap:16px; padding:20px 22px; }
body.lm-shell.tool-projects .lm-template__head { display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:start; }
body.lm-shell.tool-projects .lm-template__icon { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:var(--lm-tint); color:var(--lm-accent-ink); }
body.lm-shell.tool-projects .lm-template__icon .icon { width:19px; height:19px; }
body.lm-shell.tool-projects .lm-template__title h2 { margin:0; font-family:var(--lm-display); font-weight:300; font-size:1.7rem; line-height:1.08; letter-spacing:-.015em; color:var(--lm-ink); }
body.lm-shell.tool-projects .lm-template__title p { margin:6px 0 0; color:var(--lm-muted); font-size:.94rem; line-height:1.45; }
body.lm-shell.tool-projects .lm-template__facts { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
body.lm-shell.tool-projects .lm-template__facts li { padding:4px 11px; border:1px solid var(--lm-line); border-radius:999px; color:var(--lm-muted); font-size:.82rem; }
body.lm-shell.tool-projects .lm-template__facts strong { color:var(--lm-ink); font-weight:650; font-variant-numeric:tabular-nums; }
body.lm-shell.tool-projects .lm-template__facts .is-live { border-color:color-mix(in srgb, var(--lm-accent) 30%, white); background:var(--lm-tint); color:var(--lm-accent-ink); }
body.lm-shell.tool-projects .lm-template__facts .is-live strong { color:inherit; }
body.lm-shell.tool-projects .lm-template__track { position:relative; height:12px; margin:0 6px; }
body.lm-shell.tool-projects .lm-template__line { position:absolute; left:0; right:0; top:5px; height:2px; border-radius:2px; background:var(--lm-line); }
body.lm-shell.tool-projects .lm-template__dot { position:absolute; top:1px; width:10px; height:10px; margin-left:-5px; border-radius:50%; background:#fff; border:2px solid var(--lm-accent); }
body.lm-shell.tool-projects .lm-template__steps { display:grid; margin:0; padding:0; list-style:none; border-top:1px solid var(--lm-line); }
body.lm-shell.tool-projects .lm-template__steps li { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:4px 12px; align-items:baseline; padding:10px 0; border-bottom:1px solid var(--lm-line); }
body.lm-shell.tool-projects .lm-template__index { color:var(--lm-muted); font-size:.78rem; font-variant-numeric:tabular-nums; }
body.lm-shell.tool-projects .lm-template__step { min-width:0; color:var(--lm-ink); font-size:.94rem; font-weight:500; line-height:1.35; }
body.lm-shell.tool-projects .lm-template__step small { display:inline-flex; align-items:center; gap:4px; margin-left:8px; color:var(--lm-accent-ink); font-size:.78rem; font-weight:500; }
body.lm-shell.tool-projects .lm-template__step small .icon { width:12px; height:12px; }
body.lm-shell.tool-projects .lm-template__when { color:var(--lm-muted); font-size:.82rem; white-space:nowrap; font-variant-numeric:tabular-nums; }
body.lm-shell.tool-projects .lm-template__note { display:flex; align-items:center; gap:8px; margin:-4px 0 0; color:var(--lm-muted); font-size:.82rem; }
body.lm-shell.tool-projects .lm-template__note .icon { width:14px; height:14px; flex:none; }
body.lm-shell.tool-projects .lm-template__runs { border:1px solid var(--lm-line); border-radius:10px; }
body.lm-shell.tool-projects .lm-template__runs>summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:0 14px; list-style:none; cursor:pointer; font-size:.9rem; font-weight:600; color:var(--lm-accent-ink); }
body.lm-shell.tool-projects .lm-template__runs>summary::-webkit-details-marker { display:none; }
body.lm-shell.tool-projects .lm-template__runs>summary .icon { width:16px; height:16px; transition:transform .15s ease; }
body.lm-shell.tool-projects .lm-template__runs[open]>summary .icon { transform:rotate(180deg); }
body.lm-shell.tool-projects .lm-template__runs .template-run-list { margin:0; padding:0 14px 10px; }
body.lm-shell.tool-projects .lm-template__actions { display:flex; justify-content:flex-end; gap:8px; margin-top:auto; padding-top:2px; }
body.lm-shell.tool-projects .lm-template__actions .lm-button { border-radius:999px; }
body.lm-shell.tool-projects .lm-template__actions .lm-button>.icon:last-child:not(:first-child) { display:none; }
@media (max-width:700px) {
  body.lm-shell.tool-projects .lm-template { padding:16px; }
  body.lm-shell.tool-projects .lm-template__title h2 { font-size:1.45rem; }
  body.lm-shell.tool-projects .lm-template__steps li { grid-template-columns:24px minmax(0,1fr); }
  body.lm-shell.tool-projects .lm-template__when { grid-column:2; }
  body.lm-shell.tool-projects .lm-template__actions .lm-button { flex:1; }
}
@media (prefers-reduced-motion:reduce) { body.lm-shell.tool-projects .lm-template__runs>summary .icon { transition:none; } }
/* Home and People opt into the approved Limelight library. Domain routes,
   permissions and writes remain in their existing views and templates. */
body.lm-shell .lm-home-page,body.lm-shell .lm-people-page{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--lm-gap);min-width:0}
body.lm-shell .lm-home-page>.lm-stage{margin:0}
body.lm-shell .lm-home-page :is(.button,.icon-button,button,summary),
body.lm-shell .lm-people-page :is(.button,.icon-button,button,summary){min-height:var(--lm-control-height)}
body.lm-shell .lm-home-page :is(input,select,textarea),
body.lm-shell .lm-people-page :is(input,select,textarea){min-width:0;max-width:100%}
body.lm-shell .lm-home-page a.button:not(.button--secondary):not(.button--ghost),
body.lm-shell .lm-people-page a.button:not(.button--secondary):not(.button--ghost){color:#fff}
body.lm-shell .lm-home-page a.button--secondary,
body.lm-shell .lm-people-page a.button--secondary{color:var(--lm-ink)}

/* Home: the week is the first working surface, with decisions and supporting
   context in separate quiet cards. Avoid a tall landing-page hero. */
body.lm-shell .lm-home-page>.lm-stage{min-height:0;padding:1.4rem 1.7rem}
body.lm-shell .lm-home-page>.lm-stage h1{font-size:2.8rem;margin:.45rem 0}
body.lm-shell .lm-home-page .today-section{margin:0;padding:1.1rem 1.25rem;min-width:0}
body.lm-shell .lm-home-page .section-heading{align-items:center;gap:.6rem 1rem;flex-wrap:wrap}
body.lm-shell .lm-home-page .section-heading h2{font:600 1.5rem/1.25 var(--lm-font);letter-spacing:-.02em}
body.lm-shell .lm-home-page .section-heading>a{display:inline-flex;align-items:center;gap:.35rem;min-height:var(--lm-control-height);color:var(--lm-accent-ink);font-size:var(--lm-small);font-weight:600}
/* Seven narrow day columns use stacked controls; wider day cards below can
   place the control beside the title without squeezing words or hit targets. */
body.lm-shell .lm-home-page .home-calendar-task{grid-template-columns:minmax(0,1fr);background:#f7f6f9}
body.lm-shell .lm-home-page .home-calendar-task>a{min-height:var(--lm-control-height)}
body.lm-shell .lm-home-page .task-check{width:var(--lm-control-height);height:var(--lm-control-height);border:1px solid var(--lm-control-line);border-radius:var(--lm-radius-control);background:#fff;color:var(--lm-accent-ink)}
body.lm-shell .lm-home-page .task-check.is-static{border-color:transparent;background:transparent}
/* A task is a full row{grid-template-columns:minmax(0,1fr);gap:0;background:transparent;border-top:1px solid var(--lm-line)}
body.lm-shell .lm-home-page .lm-home-week-clear{display:flex;align-items:center;gap:.75rem;padding:1rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-control);background:#f8f7fa}
body.lm-shell .lm-home-page .lm-home-week-clear p{color:var(--lm-muted);font-size:var(--lm-small)}
body.lm-shell .lm-home-page .home-suggestions,
body.lm-shell .lm-home-page .home-supporting-disclosure{margin:0;border-color:var(--lm-line);border-radius:var(--lm-radius-card);background:#fff;box-shadow:var(--lm-shadow)}
body.lm-shell .lm-home-page .home-suggestions>summary{background:#fff}
body.lm-shell .lm-home-page .section-disclosure__icon,
body.lm-shell .lm-home-page .home-suggestion-row__marker{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell .lm-home-page .home-suggestions__footer{background:#f8f7fa}
body.lm-shell .lm-home-page .today-queue{border:1px solid var(--lm-line);box-shadow:none}
body.lm-shell .lm-home-page .today-row{min-width:0}
body.lm-shell .lm-home-page .home-module-card{border-color:var(--lm-line);border-radius:var(--lm-radius-control);box-shadow:none}
body.lm-shell .lm-home-page .home-module-icon{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell .lm-home-page .home-module-card:hover{border-color:var(--lm-accent);box-shadow:var(--lm-shadow)}

/* Directory filters use the canonical lm-toolbar--filters recipe. */
/* This is a filter choice, not placeholder data; only this neutral default
   receives hint ink. Other selected statuses and entered queries remain dark. */
html body.lm-shell.tool-people #people-status:has(option[value="active"]:checked){color:var(--field-placeholder-ink)}
body.lm-shell .lm-home-page .home-day-more{display:flex;align-items:center;gap:.35rem;min-height:44px;padding:.5rem .25rem;font-size:var(--lm-small);font-weight:600;color:var(--lm-ink);text-decoration:underline;text-underline-offset:3px}
body.lm-shell .lm-home-page details.today-section{border:1px solid var(--lm-line);background:#fff;border-radius:var(--lm-radius-card)}
body.lm-shell .lm-home-page .home-decisions-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.25rem 0;margin:0;list-style:none;background:transparent;cursor:pointer}
body.lm-shell .lm-home-page .home-decisions-heading::-webkit-details-marker{display:none}
body.lm-shell .lm-home-page .home-decisions-heading h2{font:600 1.5rem/1.3 var(--lm-font);letter-spacing:-.02em;margin:.2rem 0;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
body.lm-shell .lm-home-page .home-decisions-heading small{font-size:var(--lm-small);font-weight:400;color:var(--lm-muted)}
body.lm-shell .lm-home-page .home-decisions-heading>.icon{flex-shrink:0}
body.lm-shell .lm-home-page .today-section[open]>.home-decisions-heading{margin-bottom:1rem}
body.lm-shell .lm-home-page .today-section[open]>.home-decisions-heading>.icon{transform:rotate(180deg)}
body.lm-shell .lm-home-page details.home-more-decisions{margin:0;padding:0;border:0;border-top:1px solid var(--lm-line);border-radius:0;background:transparent;box-shadow:none}
body.lm-shell .lm-home-page .home-more-decisions>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;list-style:none;margin:0;padding:.75rem 1rem;color:var(--lm-ink);font-size:var(--lm-small);cursor:pointer}
body.lm-shell .lm-home-page .home-more-decisions>summary::-webkit-details-marker{display:none}
.home-more-decisions:not([open]) .home-more-open,.home-more-decisions[open] .home-more-closed{display:none}
.home-more-decisions[open]>summary>.icon{transform:rotate(180deg)}
body.lm-shell.tool-people .lm-people-head,
body.lm-shell.tool-people .lm-people-row{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(6rem,1fr) minmax(6rem,1fr) minmax(6rem,.9fr) minmax(5rem,.75fr) minmax(6rem,.9fr) 2.59rem;gap:.65rem;align-items:center}
body.lm-shell.tool-people .lm-people-head{padding:.55rem 0;border-bottom:1px solid var(--lm-control-line);color:var(--lm-muted);font-size:var(--lm-caption)}
body.lm-shell.tool-people .lm-people-row{color:var(--lm-ink)}
body.lm-shell.tool-people .lm-people-row .lm-identity{min-width:0}
body.lm-shell.tool-people .lm-people-row .lm-identity small{overflow-wrap:anywhere}
body.lm-shell.tool-people .lm-people-row .person-avatar{width:2.24rem;height:2.24rem;flex:none;border-radius:50%;font-size:var(--lm-caption)}
body.lm-shell.tool-people .lm-people-row .person-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
body.lm-shell.tool-people .lm-people-fact{min-width:0;font-size:var(--lm-small)}
body.lm-shell.tool-people .lm-people-row .status{display:inline-flex;max-width:100%;white-space:normal}

/* Secondary People screens retain all domain controls inside a consistent
   stage-card rhythm. The detailed form uses the actual library form layout. */
body.lm-shell .lm-people-page>.page-header,
body.lm-shell .lm-home-subpage>.page-header{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem 1.5rem;min-height:0;margin:0;padding:1.45rem 1.65rem;border:0;border-radius:var(--lm-radius-stage);background:radial-gradient(ellipse 380px 260px at 90% -30%,color-mix(in srgb,var(--lm-light) 45%,transparent),transparent 75%),var(--lm-night);color:#fff;box-shadow:none}
body.lm-shell .lm-people-page>.page-header h1,
body.lm-shell .lm-home-subpage>.page-header h1{font:300 clamp(2rem,3.5vw,2.8rem)/1.05 var(--lm-display);letter-spacing:-.035em;color:#fff}
body.lm-shell .lm-people-page>.page-header :is(.eyebrow,.page-intro),
body.lm-shell .lm-home-subpage>.page-header :is(.eyebrow,.page-intro){display:block;max-width:60ch;margin:.35rem 0;color:#d4d0d9;max-height:none;overflow:visible;-webkit-line-clamp:unset}
body.lm-shell .lm-people-page>.page-header .button:not(.button--secondary),
body.lm-shell .lm-home-subpage>.page-header .button:not(.button--secondary){border-color:#fff;background:#fff;color:var(--lm-ink);border-radius:999px}
body.lm-shell .lm-people-page>.page-header a.button:not(.button--secondary){color:var(--lm-ink)}
body.lm-shell .lm-people-page>.page-header .button--secondary{border-color:#d4d0d9;background:transparent;color:#fff}
body.lm-shell .lm-people-page>.page-header .back-link{color:#fff}
body.lm-shell .lm-people-page>.page-header .status{background:rgb(255 255 255 / 12%);color:#fff;border-color:rgb(255 255 255 / 35%)}
body.lm-shell .lm-people-page>.page-header .person-avatar{border:2px solid #fff}
body.lm-shell .lm-people-page>.page-header :is(a,button):focus-visible,
body.lm-shell .lm-home-subpage>.page-header :is(a,button):focus-visible{outline-color:#fff}
body.lm-shell .lm-people-page>:is(.panel,.form-card,.profile-overview-grid,.profile-section-directory,.policy-list,.org-explorer,.sign-in-page,.people-rules-form,.work-policy-section),
body.lm-shell .lm-home-subpage>:is(.panel,.form-card,.layout-two){min-width:0}
body.lm-shell .lm-people-page>.panel,
body.lm-shell .lm-home-subpage>.panel,
body.lm-shell .lm-home-subpage>.form-card{margin:0;background:#fff;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);box-shadow:var(--lm-shadow)}
body.lm-shell .lm-people-page>.view-tabs,
body.lm-shell .lm-home-subpage>.view-tabs{display:flex;flex-wrap:wrap;gap:.25rem;max-width:100%;margin:0;padding:0 .6rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff}
body.lm-shell .lm-people-page>.view-tabs a{min-height:var(--lm-control-height);padding:.6rem .7rem;border-bottom:3px solid transparent;border-radius:0;color:var(--lm-muted)}
body.lm-shell .lm-people-page>.view-tabs a[aria-current]{border-bottom-color:var(--lm-accent);color:var(--lm-accent-ink);background:transparent}
body.lm-shell .lm-people-page .panel,
body.lm-shell .lm-home-subpage .panel{border-color:var(--lm-line);border-radius:var(--lm-radius-card);box-shadow:var(--lm-shadow)}
body.lm-shell .lm-people-page .table-wrap,
body.lm-shell .lm-home-subpage .table-wrap{max-width:100%;overflow-x:auto}
body.lm-shell .lm-people-page .is-spaced-above{margin-top:0}
body.lm-shell .lm-people-page .back-link{width:fit-content;min-height:var(--lm-control-height);color:var(--lm-accent-ink)}
body.lm-shell .lm-people-page :is(.guided-form-section,.guided-form-card,.person-form-guide,.work-standard,.work-policy-section,.org-explorer){border-color:var(--lm-line);box-shadow:var(--lm-shadow)}
body.lm-shell.tool-people .lm-form-layout .person-guided-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:none;margin:0}
body.lm-shell.tool-people .lm-form-layout .person-guided-form>:is(.guided-form-section,.guided-form-footer,.errorlist){grid-column:1}
body.lm-shell.tool-people .lm-form-layout .guided-form-section{margin:0;padding:1.3rem 0;border:0;border-top:1px solid var(--lm-line);border-radius:0;background:transparent;box-shadow:none}
body.lm-shell.tool-people .lm-form-layout .guided-form-section__intro{margin-bottom:1rem}
body.lm-shell.tool-people .lm-form-layout .guided-form-step{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell.tool-people .lm-form-layout .guided-form-footer{margin:0;padding:1.2rem 0 0;border-top:1px solid var(--lm-line);background:transparent;box-shadow:none}
body.lm-shell.tool-people .lm-form-layout .guided-choice-option{min-height:var(--lm-control-height)}
body.lm-shell.tool-people .lm-form-layout .lm-form-intro .lm-steps li{color:#e0dbe7}
body.lm-shell.tool-people .lm-form-layout .lm-form-intro .lm-steps:not(:has(li[aria-current])) li:first-child::before{background:#fff;color:var(--lm-ink)}

@media(max-width:1000px){
  body.lm-shell .lm-home-page .home-calendar-task{grid-template-columns:var(--lm-control-height) minmax(0,1fr)}
  body.lm-shell.tool-people .lm-people-head{display:none}
  body.lm-shell.tool-people .lm-people-row{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .7rem;padding:1rem 2.8rem 1rem 0}
  body.lm-shell.tool-people .lm-people-row>.lm-identity{grid-column:1/-1;margin-bottom:.35rem}
  body.lm-shell.tool-people .lm-people-row>.lm-people-fact{display:block}
  body.lm-shell.tool-people .lm-people-row>.lm-people-fact::before{content:attr(data-label);display:block;color:var(--lm-muted);font-size:var(--lm-caption)}
  body.lm-shell.tool-people .lm-people-row>.lm-open{position:absolute;right:0;top:1rem}
}
@media(max-width:600px){
  body.lm-shell .lm-home-page,body.lm-shell .lm-people-page{gap:.72rem}
  body.lm-shell .lm-home-page>.lm-stage{padding:1.05rem 1.2rem;gap:.45rem}
  body.lm-shell .lm-home-page>.lm-stage h1{font-size:2.1rem}
  body.lm-shell .lm-home-page>.lm-stage p:not(.lm-eyebrow){font-size:var(--lm-small)}
  body.lm-shell .lm-home-page>.lm-stage .lm-button{margin:0;min-height:var(--lm-control-height)}body.lm-shell .lm-home-page .today-section{padding:.9rem}
  body.lm-shell .lm-home-page .home-calendar-task{grid-template-columns:var(--lm-control-height) minmax(0,1fr)}
  body.lm-shell .lm-home-page .home-calendar-task strong{font-size:var(--lm-small)}
  body.lm-shell .lm-home-page .home-day-tasks>p{margin:.1rem 0}
  body.lm-shell .lm-home-page .section-heading h2{font-size:1.6rem}
  body.lm-shell .lm-people-page>.page-header,body.lm-shell .lm-home-subpage>.page-header{padding:1.15rem}
  body.lm-shell .lm-people-page>.page-header h1,body.lm-shell .lm-home-subpage>.page-header h1{font-size:2.15rem}
  body.lm-shell .lm-people-page>.view-tabs{flex-wrap:nowrap;overflow-x:auto}
  body.lm-shell .lm-people-page>.view-tabs a{flex:none}
  body.lm-shell.tool-people .lm-people-row{padding-right:2.8rem}
  body.lm-shell .lm-people-page .page-header .actions{display:flex;flex-wrap:wrap;overflow:visible}
  body.lm-shell.tool-people .lm-form-layout .lm-form-intro .lm-steps{display:none}
  body.lm-shell .lm-people-page .table-wrap::before{content:"Swipe sideways to see every column";display:block;padding:.35rem .75rem;color:var(--lm-muted);font-size:var(--lm-caption)}
}
@media(forced-colors:active){
  body.lm-shell .lm-people-page>.page-header,body.lm-shell .lm-home-subpage>.page-header{border:1px solid CanvasText;background:Canvas;color:CanvasText}
  body.lm-shell .lm-people-page>.page-header :is(h1,.eyebrow,.page-intro),body.lm-shell .lm-home-subpage>.page-header :is(h1,.eyebrow,.page-intro){color:CanvasText}
}

/* Home stage (15 Oct review): the approved Settings stage with an at-a-glance
   figure. Each numeral is a count the sections below make true, and links to it. */
body.lm-shell .lm-home-page>.home-stage{margin:0}
body.lm-shell .lm-home-page>.home-stage .lm-button{min-height:var(--lm-control-height)}
.home-stage-facts{display:grid;grid-template-columns:repeat(3,minmax(7.5rem,auto));margin:0;padding:0;list-style:none}
.home-stage-facts li{min-width:0;border-left:1px solid rgb(255 255 255 / 16%)}
.home-stage-facts a{display:grid;gap:.3rem;padding:.35rem 1.4rem .4rem;color:#fff;text-decoration:none;border-radius:8px}
.home-stage-facts a:hover{background:rgb(255 255 255 / 7%)}
.home-stage-facts strong{font:300 3.4rem/1 var(--lm-display);letter-spacing:-.04em;font-variant-numeric:lining-nums tabular-nums}
.home-stage-facts span{color:#fff;font-size:var(--lm-small);font-weight:600}
.home-stage-facts small{display:block;color:#bdb8c4;font-weight:400}
.home-stage-facts a.is-clear strong{color:#8f8a96}
/* Week: empty days stay quiet; today is named in words{align-items:center;gap:.4rem;flex-wrap:wrap}
body.lm-shell .lm-home-page .home-today-label{margin-left:auto;padding:.1rem .5rem;border-radius:999px;background:var(--lm-ink);color:#fff;font:600 var(--lm-caption)/1.5 var(--lm-font);font-style:normal}
body.lm-shell .lm-home-page .home-day-empty{color:var(--lm-muted);font-size:var(--lm-caption)}
body.lm-shell .lm-home-page .objective-prompts{display:block;margin:0;border-top:1px solid var(--lm-line)}
body.lm-shell .lm-home-page .objective-prompts .today-row{border-bottom:1px solid var(--lm-line)}
body.lm-shell .lm-home-page .objective-prompts .today-row:last-child{border-bottom:0}
body.lm-shell .lm-home-page .objective-prompts .today-row>span:nth-child(2){color:inherit;font-size:inherit}
body.lm-shell .lm-home-page .objective-prompts .today-row small{color:var(--lm-muted)}
body.lm-shell .lm-home-page .home-task-overdue{color:var(--lm-danger,#9b2c2c);font-weight:600}
@media(max-width:1240px){.home-stage-facts strong{font-size:2.7rem}.home-stage-facts a{padding-inline:1rem}}
@media(max-width:900px){
  body.lm-shell .lm-home-page>.home-stage{grid-template-columns:minmax(0,1fr)}
  .home-stage-facts{grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgb(255 255 255 / 16%);padding-top:.6rem}
  .home-stage-facts li:first-child{border-left:0}
  .home-stage-facts li:first-child a{padding-left:0}
}
@media(max-width:600px){
  .home-stage-facts strong{font-size:2.15rem}
  .home-stage-facts a{padding:.3rem .65rem}
  .home-stage-facts small{font-size:var(--lm-caption)}
}

/* People (15 Oct review): attention before the routine directory; the status
   disclosure reads as a compact card, not an empty panel. */
body.lm-shell.tool-people .people-attention{padding:1.15rem 1.35rem}
body.lm-shell.tool-people .people-attention h2{display:flex;align-items:center;gap:.6rem;font-size:1.02rem;font-weight:650}
body.lm-shell.tool-people .people-attention h2 .icon{width:1.1rem;height:1.1rem}
body.lm-shell.tool-people .people-attention .settings-todo .lm-button{min-height:2.5rem;padding:.4rem .85rem;font-size:var(--lm-small)}
@media(max-width:600px){
  body.lm-shell.tool-people .people-attention .settings-todo li{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:start;gap:.65rem}
  body.lm-shell.tool-people .people-attention .settings-todo li>.lm-button{grid-column:2;justify-self:start;max-width:100%}
}
body.lm-shell.tool-people details.people-status-control{margin:0;padding:0;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff}
body.lm-shell.tool-people details.people-status-control>summary{display:flex;align-items:center;min-height:3.25rem;margin:0;padding:.85rem 1.25rem;font-weight:600;cursor:pointer}
body.lm-shell.tool-people details.people-status-control[open]>summary{border-bottom:1px solid var(--lm-line)}
body.lm-shell.tool-people details.people-status-control>:not(summary){margin:1rem 1.25rem 1.25rem}
body.lm-shell .balance-figures-total{background:var(--lm-tint)}
body.lm-shell .balance-figures-total strong{color:var(--lm-ink)}
body.lm-shell .guided-form .work-pattern-manage{display:block;grid-column:1/-1;font-size:var(--lm-small)}
body.lm-shell.tool-people details.people-status-control>summary .icon{margin-left:auto;transition:transform .15s}
body.lm-shell.tool-people details.people-status-control[open]>summary .icon{transform:rotate(180deg)}
@media(max-width:600px){
  body.lm-shell .people-profile-header .people-profile-identity{flex-direction:column;align-items:flex-start;gap:.75rem}
}
/* Org chart on phones: the same nested list read as an indented outline, so
   nobody pans a cropped tree (15 Oct review). Desktop keeps the drawn tree. */
@media(max-width:700px){
  body.lm-shell .org-canvas{overflow:visible;padding:.75rem}
  body.lm-shell .org-tree,body.lm-shell .org-tree--roots{display:block;min-width:0;padding:0}
  body.lm-shell .org-tree:not(.org-tree--roots){margin:.2rem 0 0 1.1rem;padding-left:.85rem;border-left:1px solid var(--lm-line)}
  body.lm-shell .org-tree::before,body.lm-shell .org-tree>.org-node::before,body.lm-shell .org-tree>.org-node::after{display:none!important}
  body.lm-shell .org-tree>.org-node{display:block;padding-top:.55rem}
  body.lm-shell .org-person-card{width:auto;max-width:none;min-height:0}
}
@media(max-width:480px){
  body.lm-shell .people-profile-header .people-profile-identity{width:100%;text-align:left}
  body.lm-shell.tool-people .profile-facts .definition-list>div{grid-template-columns:minmax(0,1fr);gap:.15rem}
  body.lm-shell.tool-people .profile-facts .definition-list dd{overflow-wrap:anywhere}
  body.lm-shell.tool-people .role-reference .panel-header{flex-wrap:wrap}
}
/* Org chart connectors (15 Oct 2026): the bar runs at the middle of the gap, joins across the gaps
   between siblings, and every stem meets it, so the lines read as one tree. Desktop only; phones use the outline. */
@media(min-width:701px){
  body.lm-shell .org-canvas{--org-branch:2.5rem;--org-half:calc(var(--org-branch) / 2);--org-gap:1.5rem}
  body.lm-shell .org-tree{gap:var(--org-gap)}
  body.lm-shell .org-tree:not(.org-tree--roots)::before{height:var(--org-half)}
  body.lm-shell .org-tree:not(.org-tree--roots)>.org-node::before{top:calc(var(--org-half) * -1);height:var(--org-half)}
  body.lm-shell .org-tree:not(.org-tree--roots)>.org-node::after{top:calc(var(--org-half) * -1);left:calc(var(--org-gap) / -2);right:calc(var(--org-gap) / -2)}
  body.lm-shell .org-tree:not(.org-tree--roots)>.org-node:first-child::after{left:50%}
  body.lm-shell .org-tree:not(.org-tree--roots)>.org-node:last-child::after{right:50%}
  body.lm-shell .org-tree:not(.org-tree--roots)>.org-node:only-child::after{display:none}
}
/* Values are real data. Placeholders are lighter examples, never saved defaults.
   Applies to both legacy and Limelight forms; leave buttons and disabled states alone. */
:root{--field-value-ink:#201b26;--field-placeholder-ink:#6f6f6f}
html[data-high-contrast="true"]{--field-value-ink:#201b26;--field-placeholder-ink:#595360}
html body :is(input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):not([type="file"]),select,textarea):not(:disabled):not(select:has(option[value=""]:checked)){color:var(--field-value-ink)}
html body :is(input,textarea)::placeholder{color:var(--field-placeholder-ink);opacity:1;font-weight:400}
html body select:not(:disabled):has(option[value=""]:checked){color:var(--field-placeholder-ink)}
html body select option{color:var(--field-value-ink)}
@media(prefers-contrast:more){:root{--field-value-ink:#201b26;--field-placeholder-ink:#595360}}
@media(forced-colors:active){html:root{--field-value-ink:FieldText;--field-placeholder-ink:GrayText}}
/* Marketing uses Limelight's shared shell and stage. These adapters retain
   domain-owned controls, forms, filters, and permission-gated actions. */
/* Match the existing CRM scaffold's launcher clearance when scrolling this
   correction form. A visible footer may still sit behind the fixed launcher. */
html:has(.crm-contact-permissions-form){scroll-padding-block-end:calc(10rem + env(safe-area-inset-bottom))}
body.lm-shell.tool-crm .lm-marketing-page{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--lm-gap);min-width:0}
body.lm-shell.tool-crm .lm-marketing-page>.lm-stage{margin:0}
body.lm-shell.tool-crm .lm-marketing-page>.page-header,
body.lm-shell.tool-crm .lm-marketing-page>.guided-form-shell>.guided-form-shell__header{
  display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem 1.5rem;
  min-height:0;margin:0;padding:1.45rem 1.65rem;border:0;border-radius:var(--lm-radius-stage);
  background:radial-gradient(ellipse 380px 260px at 90% -30%,color-mix(in srgb,var(--lm-light) 45%,transparent),transparent 75%),var(--lm-night);
  color:#fff;box-shadow:none;
}
body.lm-shell.tool-crm .lm-marketing-page>.page-header h1,
body.lm-shell.tool-crm .lm-marketing-page>.guided-form-shell>.guided-form-shell__header h1{
  font:300 clamp(2rem,3.5vw,2.8rem)/1.05 var(--lm-display);letter-spacing:-.035em;color:#fff;
}
body.lm-shell.tool-crm .lm-marketing-page>.page-header :is(.eyebrow,.page-intro),
body.lm-shell.tool-crm .lm-marketing-page>.guided-form-shell>.guided-form-shell__header :is(.eyebrow,.page-intro){
  display:block;max-width:60ch;margin:.35rem 0;color:#d4d0d9;max-height:none;overflow:visible;-webkit-line-clamp:unset;
}
body.lm-shell.tool-crm .lm-marketing-page>.page-header .button:not(.button--secondary){border-color:#fff;background:#fff;color:var(--lm-ink);border-radius:999px}
body.lm-shell.tool-crm .lm-marketing-page>.page-header .back-link{color:#fff}
body.lm-shell.tool-crm .lm-marketing-page>.guided-form-shell>.guided-form-shell__header{display:grid;justify-content:start;align-content:center}
body.lm-shell.tool-crm .lm-marketing-page>:is(.suite-card,.panel,.marketing-directory,.campaign-directory,.form-card,.guided-form,.table-wrap,.settings-index,.followup-section){min-width:0;margin:0}
body.lm-shell.tool-crm .lm-marketing-page :is(.suite-card,.panel,.marketing-directory,.campaign-directory,.form-card,.guided-form-section,.table-wrap,.settings-index){border-color:var(--lm-line);border-radius:var(--lm-radius-card);background:#fff;box-shadow:var(--lm-shadow)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-snapshot{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;min-width:0;margin:0;padding:.9rem 1.1rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff;box-shadow:var(--lm-shadow)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-snapshot .suite-summary__meta{margin-left:auto}
body.lm-shell.tool-crm .lm-marketing-page .suite-card__icon,
body.lm-shell.tool-crm .lm-marketing-page .campaign-card__mark,
body.lm-shell.tool-crm .lm-marketing-page .customer-card__avatar{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--lm-gap)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-grid>*{min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .suite-card__head h2,
body.lm-shell.tool-crm .lm-marketing-page .marketing-directory__heading h2{font:300 1.8rem/1.1 var(--lm-display);letter-spacing:-.025em;color:var(--lm-ink)}
body.lm-shell.tool-crm .lm-marketing-page .panel-header h2{font:600 1.35rem/1.25 var(--lm-font);letter-spacing:-.02em;color:var(--lm-ink)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-section,
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-card{padding:1.1rem 1.25rem}
body.lm-shell.tool-crm .lm-marketing-page .marketing-home-followup__actions>.button{color:var(--lm-ink)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-directory,
body.lm-shell.tool-crm .lm-marketing-page .campaign-directory{padding:1.1rem 1.25rem}
body.lm-shell.tool-crm .lm-marketing-page .marketing-directory__heading,
body.lm-shell.tool-crm .lm-marketing-page .campaign-directory__heading{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .marketing-directory__heading>.suite-pill{margin-left:auto}
body.lm-shell.tool-crm .lm-marketing-page .campaign-filter{display:grid;grid-template-columns:auto minmax(10rem,18rem) auto;justify-content:start;align-items:center;gap:.7rem}
body.lm-shell.tool-crm .lm-marketing-page .campaign-filter :is(label,select,button){width:auto;margin:0}
body.lm-shell.tool-crm .lm-marketing-page .marketing-directory__toolbar,
body.lm-shell.tool-crm .lm-marketing-page .customer-directory__header{display:grid;gap:1rem}
body.lm-shell.tool-crm .lm-marketing-page .customer-directory__filters,
body.lm-shell.tool-crm .lm-marketing-page .work-filter-bar,
body.lm-shell.tool-crm .lm-marketing-page .campaign-filter,
body.lm-shell.tool-crm .lm-directory .customer-directory__filters{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap;max-width:100%}
body.lm-shell.tool-crm .lm-directory .customer-directory__filters{padding:1rem 0}
body.lm-shell.tool-crm .lm-marketing-page :is(.filter-search,.customer-directory__status),
body.lm-shell.tool-crm .lm-directory :is(.filter-search,.customer-directory__status){min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .filter-search,
body.lm-shell.tool-crm .lm-directory .filter-search{flex:1 1 15rem}
body.lm-shell.tool-crm .lm-directory .customer-directory__filters .filter-search input{width:100%;border:0!important;box-shadow:none;background:transparent}
body.lm-shell.tool-crm .lm-marketing-page :is(input,select,textarea),
body.lm-shell.tool-crm .lm-directory :is(input,select,textarea){min-width:0;max-width:100%}
body.lm-shell.tool-crm .lm-marketing-page :is(button,.button,summary),
body.lm-shell.tool-crm .lm-directory :is(button,.button,summary){min-height:var(--lm-control-height)}
body.lm-shell.tool-crm .lm-marketing-page .marketing-record-table{max-width:100%;overflow-x:auto}
body.lm-shell.tool-crm .lm-marketing-page .followup-sections{display:grid;gap:var(--lm-gap);min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .followup-section{padding:1.1rem 1.25rem}
body.lm-shell.tool-crm .lm-marketing-page .followup-inline{min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .guided-form-shell{display:grid;gap:var(--lm-gap);min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .guided-form,
body.lm-shell.tool-crm .lm-marketing-page .form-card{padding:1.25rem}
body.lm-shell.tool-crm .lm-marketing-page .guided-form-section{padding:1.25rem 0;border:0;border-top:1px solid var(--lm-line);box-shadow:none}
body.lm-shell.tool-crm .lm-marketing-page .guided-form-grid{min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .guided-form-footer{position:static;display:flex;flex-wrap:wrap;margin:0;padding:1.25rem 0 0;border-top:1px solid var(--lm-line);background:transparent;box-shadow:none}
body.lm-shell.tool-crm .lm-marketing-page .guided-form-footer .form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;min-width:0}
body.lm-shell.tool-crm .lm-marketing-page .back-link{width:fit-content;min-height:var(--lm-control-height);color:var(--lm-accent-ink)}
body.lm-shell.tool-crm .lm-marketing-page .view-tabs,
body.lm-shell.tool-crm .lm-marketing-page .record-tabs{max-width:100%;overflow-x:auto}
body.lm-shell.tool-crm .lm-form-layout .guided-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:none;margin:0;padding:0}
body.lm-shell.tool-crm .lm-form-layout .guided-form-section{margin:0;padding:1.25rem 0;border:0;border-top:1px solid var(--lm-line);border-radius:0;background:transparent;box-shadow:none}
body.lm-shell.tool-crm .lm-form-layout .guided-form-section__intro{padding:0 0 1rem;border:0;background:transparent}
body.lm-shell.tool-crm .lm-form-layout .guided-form-step{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell.tool-crm .lm-form-layout .guided-form-grid{min-width:0;padding:0}
body.lm-shell.tool-crm .lm-form-layout .guided-choice-field{padding:0 0 1.25rem}
body.lm-shell.tool-crm .lm-form-layout .guided-form-disclosure{margin-top:1.25rem}
body.lm-shell.tool-crm .lm-form-layout .guided-form-footer{position:static;display:flex;flex-wrap:wrap;margin:0;padding:1.25rem 0 0;border-top:1px solid var(--lm-line);background:transparent;box-shadow:none}
body.lm-shell.tool-crm .lm-form-layout .form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;min-width:0}
body.lm-shell.tool-crm .lm-form-layout .lm-form-intro .lm-steps li{color:#e0dbe7}
body.lm-shell.tool-crm .lm-form-layout .lm-form-intro .lm-steps:not(:has(li[aria-current])) li:first-child::before{background:#fff;color:var(--lm-ink)}
body.lm-shell.tool-crm .lm-directory .customer-card-list{min-width:0}
body.lm-shell.tool-crm .lm-directory .customer-directory__columns,
body.lm-shell.tool-crm .lm-directory .customer-card{min-width:0}
body.lm-shell.tool-crm .lm-directory .customer-card__relationship .status{display:inline-flex;width:fit-content;max-width:100%;white-space:normal}
@media(max-width:900px){body.lm-shell.tool-crm .lm-marketing-page .marketing-home-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  body.lm-shell.tool-crm .lm-marketing-page{gap:.72rem}
  body.lm-shell.tool-crm .lm-marketing-page>.lm-stage{padding:1.05rem 1.2rem;gap:.45rem}
  body.lm-shell.tool-crm .lm-marketing-page>.lm-stage h1{font-size:2.1rem}
  body.lm-shell.tool-crm .lm-marketing-page>.page-header,
  body.lm-shell.tool-crm .lm-marketing-page>.guided-form-shell>.guided-form-shell__header{padding:1.15rem}
  body.lm-shell.tool-crm .lm-marketing-page>.page-header h1{font-size:2.15rem}
  body.lm-shell.tool-crm .lm-marketing-page .marketing-directory,
  body.lm-shell.tool-crm .lm-marketing-page .campaign-directory,
  body.lm-shell.tool-crm .lm-marketing-page .followup-section{padding:.9rem}
  body.lm-shell.tool-crm .lm-marketing-page .marketing-home-snapshot .suite-summary__meta{margin-left:0}
  body.lm-shell.tool-crm .lm-marketing-page .customer-directory__filters>*{flex:1 1 100%}
  body.lm-shell.tool-crm .lm-marketing-page .campaign-filter{grid-template-columns:auto minmax(0,1fr)}
  body.lm-shell.tool-crm .lm-marketing-page .campaign-filter button{grid-column:2;justify-self:start}
  body.lm-shell.tool-crm .lm-marketing-page .view-tabs a,
  body.lm-shell.tool-crm .lm-marketing-page .record-tabs a{flex:none}
  body.lm-shell.tool-crm .lm-form-layout .lm-form-intro .lm-steps{display:none}
}
@media(forced-colors:active){body.lm-shell.tool-crm .lm-marketing-page>.page-header{border:1px solid CanvasText;background:Canvas;color:CanvasText}body.lm-shell.tool-crm .lm-marketing-page>.page-header :is(h1,.eyebrow,.page-intro){color:CanvasText}}
/* Compact phone records (15 Oct review): two facts per line, label above value,
   actions on their own line. Desktop padding no longer applies to phone cells. */
@media(max-width:760px){
  body.tool-crm .marketing-record-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem;row-gap:.65rem}
  body.tool-crm .marketing-record-table td,body.tool-crm .lead-record-table td{grid-template-columns:minmax(0,1fr);gap:.15rem;align-items:start;padding:0}
  body.tool-crm .marketing-record-table td::before{font-size:.74rem}
  body.tool-crm .marketing-record-table td:first-child,body.tool-crm .marketing-record-table td.marketing-record-actions{grid-column:1/-1}
  body.tool-crm .marketing-record-table td.marketing-record-actions{display:flex;flex-wrap:wrap;gap:.5rem}
  body.tool-crm .marketing-record-table td.marketing-record-actions::before{display:none}
}
/* Finance adopts the approved Limelight shell and page recipes. The books' posting,
   document and permission structures remain owned by Finance. */
body.lm-shell.tool-finance{--limelight-card-line:var(--lm-line);--limelight-shadow:var(--lm-shadow)}
/* Phase 3 invoice journey: library recipes, scoped operational composition. */
body.lm-shell.tool-finance .lm-invoice-page{min-width:0;grid-template-columns:minmax(0,1fr)}
body.lm-shell.tool-finance .lm-invoice-page>*{min-width:0}
/* Match supporting-note geometry, not its small type: blockers stay prominent. */
body.lm-shell.tool-finance :is(.lm-invoice-page,.lm-form-body) .lm-feedback{display:flex;align-items:flex-start;gap:.65rem;padding:.7rem .85rem;line-height:1.6}
body.lm-shell.tool-finance .lm-feedback>.icon{flex-shrink:0;margin-top:.2rem}
body.lm-shell.tool-finance .lm-finance-notice{background:var(--lm-canvas);border-color:var(--lm-control-line)}
body.lm-shell.tool-finance .lm-invoice-location{margin:0 0 .65rem;padding:0;gap:.2rem;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-invoice-location>a{min-height:var(--lm-control-height);border-radius:var(--lm-radius-control);color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-invoice-area-menu>summary{display:flex;align-items:center;gap:.65rem;min-height:var(--lm-control-height);padding:.55rem .8rem;border:1px solid var(--lm-control-line);border-radius:var(--lm-radius-control);background:var(--lm-paper,#fff);font-weight:600;color:var(--lm-ink)}
body.lm-shell.tool-finance .lm-invoice-area-menu>summary>.icon{width:1rem;height:1rem;color:var(--lm-accent-ink)}
body.lm-shell.tool-finance .lm-finance-switcher-label{display:grid;gap:.1rem;text-align:left}
body.lm-shell.tool-finance .lm-finance-switcher-label>span{color:var(--lm-muted);font-size:.765rem;font-weight:500;line-height:1.4}
body.lm-shell.tool-finance .lm-finance-switcher-label>strong{font-size:.94rem;font-weight:650;line-height:1.4}
body.lm-shell.tool-finance .lm-invoice-area-menu>summary:hover,body.lm-shell.tool-finance .lm-invoice-area-menu[open]>summary{background:var(--lm-tint);color:var(--lm-accent-ink)}
body.lm-shell.tool-finance .lm-invoice-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:.65rem 1rem;flex-wrap:wrap}
body.lm-shell.tool-finance .lm-invoice-collection-heading>.lm-card-heading{flex:0 1 auto}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu){position:relative}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu)>summary{list-style:none;cursor:pointer}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu)>summary::-webkit-details-marker{display:none}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu) .menu-popover{position:absolute;left:auto;right:0;top:calc(100% + .5rem);min-width:15rem;max-width:calc(100vw - 2rem);color:var(--lm-ink)}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu) .menu-popover a{display:flex;align-items:center;gap:.6rem;min-height:44px;padding:.6rem;border-radius:var(--lm-radius-control);color:var(--lm-ink)}
body.lm-shell.tool-finance :is(.lm-invoice-more,.lm-invoice-area-menu) .menu-popover a:hover{background:var(--lm-canvas)}
body.lm-shell.tool-finance .lm-invoice-area-menu .menu-popover{left:0;right:auto;max-height:65vh;overflow:auto}
body.lm-shell.tool-finance .lm-invoice-area-menu .menu-popover a{font-size:var(--lm-small);font-weight:500}
body.lm-shell.tool-finance .lm-invoice-area-menu .menu-popover a[aria-current]{color:var(--lm-accent-ink);background:var(--lm-tint);font-weight:650}
body.lm-shell.tool-finance .lm-invoice-area-menu .menu-popover a>.icon:last-child:not(:first-child){margin-left:auto}
body.lm-shell.tool-finance tr:is([id^="invoice-"],[id^="order-"]){scroll-margin-top:6rem}
body.lm-shell.tool-finance tr[id^="invoice-"] .status{white-space:nowrap}
body.lm-shell.tool-finance .lm-invoice-state-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
body.lm-shell.tool-finance .lm-invoice-essentials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0}
body.lm-shell.tool-finance .lm-invoice-essentials div{display:grid;align-content:start;gap:.35rem;min-width:0}
body.lm-shell.tool-finance .lm-invoice-essentials dt{color:var(--lm-muted);font-size:.824rem;line-height:1.5}
/* All essentials are peer facts. Position never changes their type hierarchy. */
body.lm-shell.tool-finance .lm-invoice-essentials dd{color:var(--lm-ink);font-size:1.18rem;font-weight:650;line-height:1.4;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.lm-shell.tool-finance .lm-invoice-guidance{margin:0;color:var(--lm-muted);max-width:75ch;line-height:1.6}
body.lm-shell.tool-finance .lm-invoice-action-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
body.lm-shell.tool-finance .lm-invoice-detail-body{padding:1.25rem;min-width:0}
body.lm-shell.tool-finance .lm-disclosure--inline>.lm-invoice-detail-body{padding:.35rem 0 .65rem}
/* Legacy table details add a second border/inset. Inline evidence owns neither. */
body.lm-shell.tool-finance .lm-invoice-page .lm-disclosure--inline{border:0;padding:0;margin:0;border-radius:0;background:transparent;box-shadow:none}
body.lm-shell.tool-finance .lm-invoice-page .lm-disclosure>summary{display:flex;gap:.4rem 1rem;align-items:center;flex-wrap:wrap}
body.lm-shell.tool-finance .lm-invoice-page .lm-disclosure>summary>span{font-weight:400;font-size:.824rem;color:var(--lm-muted);flex:1}
body.lm-shell.tool-finance .lm-invoice-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:.85rem}
body.lm-shell.tool-finance .lm-invoice-fields>div{display:grid;gap:.4rem;min-width:0}
body.lm-shell.tool-finance .lm-invoice-fields :is(input,label){margin:0}
body.lm-shell.tool-finance .lm-invoice-page :is(h2,h3){font-family:var(--lm-font);font-size:1.18rem;line-height:1.4;margin:0 0 .65rem}
/* Grid gap owns the rhythm; do not add heading margins to it a second time. */
body.lm-shell.tool-finance .lm-invoice-page .lm-card.lm-stack>:is(h2,h3,p){margin:0}
/* Record work cards share their essentials' gutter, not the legacy form cap. */
body.lm-shell.tool-finance .lm-invoice-page>form.lm-card.books-form{width:100%;max-width:none}
body.lm-shell.tool-finance :is(.lm-supplier-scope,.lm-supplier-request){display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin-bottom:1.5rem}
body.lm-shell.tool-finance :is(.lm-supplier-scope,.lm-supplier-request) :is(h2,h3,h4,p){margin:0}
body.lm-shell.tool-finance .lm-supplier-material{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem;padding-top:1rem;border-top:1px solid var(--lm-line)}
body.lm-shell.tool-finance .lm-supplier-scope .books-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
body.lm-shell.tool-finance .lm-supplier-scope h4{font-family:var(--lm-font);font-size:var(--lm-small);font-weight:650}
@media(max-width:768px){
  body.lm-shell.tool-finance .lm-invoice-essentials{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.lm-shell.tool-finance .lm-invoice-fields{grid-template-columns:1fr}
  body.lm-shell.tool-finance .lm-invoice-page .lm-disclosure>summary>span{flex-basis:100%}
}
@media(max-width:480px){
  body.lm-shell.tool-finance .lm-invoice-detail-body{padding:.85rem}
  body.lm-shell.tool-finance .lm-invoice-more .menu-popover{left:0;right:auto}
}
/* Finance page, form and responsive adapters; journeys live in 510-finance-journeys.css. */
body.lm-shell.tool-finance .lm-finance-page{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--lm-gap);min-width:0}
body.lm-shell.tool-finance .lm-finance-page>*{min-width:0;margin-top:0;margin-bottom:0}
body.lm-shell.tool-finance .lm-finance-page>.lm-stage{margin:0}
body.lm-shell.tool-finance .lm-finance-page>.page-header,
body.lm-shell.tool-finance .lm-finance-page>.books-header{
  display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem 1.5rem;
  min-height:0;padding:1.5rem 1.7rem;margin:0;border:0;border-radius:var(--lm-radius-stage);
  background:radial-gradient(ellipse 380px 260px at 90% -30%,color-mix(in srgb,var(--lm-accent) 45%,transparent),transparent 75%),var(--lm-night);
  color:#fff;box-shadow:none;
}
body.lm-shell.tool-finance .lm-finance-page>.page-header>div:first-child,
body.lm-shell.tool-finance .lm-finance-page>.books-header>div:first-child{min-width:0;flex:1 1 20rem;padding:0}
body.lm-shell.tool-finance .lm-finance-page>.page-header>div:first-child::before,
body.lm-shell.tool-finance .lm-finance-page>.books-header>div:first-child::before{display:none}
body.lm-shell.tool-finance .lm-finance-page>.page-header h1,
body.lm-shell.tool-finance .lm-finance-page>.books-header h1{max-width:25ch;margin:.4rem 0;color:#fff;font:300 clamp(2rem,3.4vw,2.85rem)/1.04 var(--lm-display);letter-spacing:-.035em}
body.lm-shell.tool-finance .lm-finance-page>.page-header :is(.eyebrow,.page-intro),
body.lm-shell.tool-finance .lm-finance-page>.books-header :is(.eyebrow,.page-intro){display:block;max-width:62ch;margin:.4rem 0;color:#d4d0d9;max-height:none;overflow:visible;-webkit-line-clamp:unset}
body.lm-shell.tool-finance .lm-finance-page>.page-header .back-link{color:#fff}
body.lm-shell.tool-finance .lm-finance-page>.page-header .actions,
body.lm-shell.tool-finance .lm-finance-page>.books-header .actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
body.lm-shell.tool-finance .lm-finance-page>.page-header .button,
body.lm-shell.tool-finance .lm-finance-page>.books-header .button{min-height:var(--lm-control-height);border-radius:999px}
body.lm-shell.tool-finance .lm-finance-page>.page-header .button:not(.button--secondary),
body.lm-shell.tool-finance .lm-finance-page>.books-header .button:not(.button--secondary){border-color:#fff;background:#fff;color:var(--lm-ink)}
body.lm-shell.tool-finance .lm-finance-page>.page-header .button--secondary,
body.lm-shell.tool-finance .lm-finance-page>.books-header .button--secondary{border-color:#a9a2ae;background:transparent;color:#fff}
body.lm-shell.tool-finance .lm-finance-page>.page-header :is(a,button):focus-visible,
body.lm-shell.tool-finance .lm-finance-page>.books-header :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:2px}
body.lm-shell.tool-finance .lm-finance-page :is(.panel,.finance-code-card,.books-lane,.books-position,.books-statement,.books-figure,.books-forecast,.books-sheet,.books-meta,.books-setup){border-color:var(--lm-line);border-radius:var(--lm-radius-card);box-shadow:var(--lm-shadow)}
/* Display type orients the page. Working sections keep the operational face. */
body.lm-shell.tool-finance .lm-finance-page .panel-header h2{font:650 1.18rem/1.3 var(--lm-font);letter-spacing:-.015em;color:var(--lm-ink)}
body.lm-shell.tool-finance .lm-finance-page .books-doc:not(.books-doc--paper){display:grid;gap:1rem;min-width:0}
body.lm-shell.tool-finance .lm-finance-page .books-doc:not(.books-doc--paper)>*{margin:0;min-width:0}
body.lm-shell.tool-finance .lm-finance-page .books-doc--paper>:is(.books-note,.books-task-route){margin-bottom:1rem}
body.lm-shell.tool-finance .lm-finance-page .books-doc>.lm-stage--compact{padding:1.25rem 1.5rem}
body.lm-shell.tool-finance .lm-finance-page .books-doc>.lm-stage--compact h1{font-size:2.35rem;margin:.45rem 0 .6rem}
body.lm-shell.tool-finance .lm-finance-page .books-panel{padding:1.25rem;scroll-margin-top:6rem}
body.lm-shell.tool-finance .lm-finance-page .books-lines.lm-directory{padding:1.25rem}
body.lm-shell.tool-finance .lm-finance-page .books-panel .panel-header{align-items:flex-start;gap:1rem;margin:0 0 .85rem;padding:0 0 .85rem}
body.lm-shell.tool-finance .lm-finance-page .books-panel .panel-header>div{min-width:0}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-fieldset-note{margin:.45rem 0 0;max-width:75ch;color:var(--lm-muted);font-size:.94rem;line-height:1.5}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-list{gap:0}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-list li{padding:.85rem 0}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-list li:first-child{padding-top:0}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-list li:last-child{padding-bottom:0}
body.lm-shell.tool-finance .lm-finance-page .books-panel .books-table-wrap{border-top:0}
body.lm-shell.tool-finance .lm .books-cell-link{color:var(--lm-accent-ink);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
body.lm-shell.tool-finance .lm .books-sub{margin-top:.3rem;color:var(--lm-muted);line-height:1.5}
body.lm-shell.tool-finance .lm .status{width:fit-content;max-width:100%;padding:.3rem .65rem;border:1px solid var(--lm-control-line);border-radius:999px;font:600 .824rem/1.4 var(--lm-font);letter-spacing:0;white-space:normal;overflow-wrap:normal;word-break:normal;background:#f3f2f1;color:var(--lm-ink)}
body.lm-shell.tool-finance .lm .status:is(.status--approved,.status--paid,.status--released,.status--complete,.status--on_track){border-color:#8eaf9c;background:#eaf4ee;color:#235c43}
body.lm-shell.tool-finance .lm .status:is(.status--pending,.status--overdue,.status--quarantine,.status--at_risk){border-color:#ba965f;background:#fff5e4;color:#754609}
body.lm-shell.tool-finance .lm .status:is(.status--rejected,.status--cancelled,.status--held){border-color:#c8989e;background:#fff0f1;color:#922b39}
body.lm-shell.tool-finance .lm .books-panel-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin:.6rem 0 0}
body.lm-shell.tool-finance .lm .books-tag{display:inline-flex;align-items:center;padding:.25rem .6rem;border:1px solid var(--lm-line);border-radius:6px;background:var(--lm-canvas);color:var(--lm-muted);font:500 .824rem/1.4 var(--lm-font);max-width:100%;overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm .books-quantity{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:.35rem;max-width:100%}
body.lm-shell.tool-finance .lm .books-quantity .books-amount{white-space:normal;overflow-wrap:anywhere;min-width:0}
body.lm-shell.tool-finance .lm .books-unit{font-size:.824rem;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm .books-panel-disclosure{scroll-margin-top:6rem;min-width:0}
body.lm-shell.tool-finance .lm .books-panel-disclosure>summary{padding:1rem 1.25rem;gap:.75rem}
body.lm-shell.tool-finance .lm .books-panel-disclosure>summary>div{flex:1;min-width:0}
body.lm-shell.tool-finance .lm .books-panel-disclosure h2{font:650 1.18rem/1.3 var(--lm-font);margin:0;color:var(--lm-ink)}
body.lm-shell.tool-finance .lm .books-disclosure-preview{margin:.35rem 0 0;font-size:.94rem;font-weight:400;line-height:1.5;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm .books-disclosure-toggle{font-size:.824rem;color:var(--lm-accent-ink);white-space:nowrap}
body.lm-shell.tool-finance .lm .books-panel-disclosure:not([open]) .when-open,
body.lm-shell.tool-finance .lm .books-panel-disclosure[open] .when-closed{display:none}
body.lm-shell.tool-finance .lm .books-panel-disclosure>.books-panel-content{padding:0 1.25rem 1.25rem;min-width:0}
body.lm-shell.tool-finance .lm .books-panel-content>.books-fieldset-note{margin:0 0 1rem;color:var(--lm-muted);line-height:1.5}
body.lm-shell.tool-finance .lm .books-panel-content .books-list{margin:0}
@media(min-width:601px){
  body.lm-shell.tool-finance .lm .books-table--demand{table-layout:fixed;width:100%}
  body.lm-shell.tool-finance .lm .books-table--demand th:nth-child(1){width:28%}
  body.lm-shell.tool-finance .lm .books-table--demand th:nth-child(2){width:24%}
  body.lm-shell.tool-finance .lm .books-table--demand th:nth-child(3){width:12%}
  body.lm-shell.tool-finance .lm .books-table--demand th:nth-child(n+4){width:18%}
  body.lm-shell.tool-finance .lm .books-table--demand td{vertical-align:top;overflow-wrap:anywhere}
}
/* A short task route explains the sequence without inventing completion. */
body.lm-shell.tool-finance .lm .books-task-route{padding:1.1rem 1.25rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff}
body.lm-shell.tool-finance .lm .books-task-route h2{font:650 1rem/1.4 var(--lm-font);margin:0 0 .8rem}
body.lm-shell.tool-finance .lm .books-task-route ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;list-style:none;padding:0;margin:0;counter-reset:route}
body.lm-shell.tool-finance .lm .books-task-route li{min-width:0;counter-increment:route}
body.lm-shell.tool-finance .lm .books-task-route a{display:grid;grid-template-columns:1.75rem minmax(0,1fr);column-gap:.65rem;align-items:start;min-height:44px;padding:.55rem;border-radius:var(--lm-radius-control);color:var(--lm-accent-ink)}
body.lm-shell.tool-finance .lm .books-task-route a::before{content:counter(route);display:grid;place-items:center;grid-row:span 2;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--lm-tint);font-weight:650}
body.lm-shell.tool-finance .lm .books-task-route strong{font-size:.94rem;text-decoration:underline;text-underline-offset:.2em}
body.lm-shell.tool-finance .lm .books-task-route small{grid-column:2;color:var(--lm-muted);font-size:.824rem;line-height:1.5;margin-top:.25rem}
body.lm-shell.tool-finance .lm .books-task-route a:hover{background:var(--lm-canvas);text-decoration:none}
/* Registers and forms are direct library layouts, outside .lm-finance-page. */
body.lm-shell.tool-finance .lm .button:not(.button--secondary):not(.button--ghost){color:#fff}
body.lm-shell.tool-finance .lm .button:is(.button--secondary,.button--ghost){color:var(--lm-ink)}
body.lm-shell.tool-finance .lm .lm-state{display:grid;justify-items:center;gap:.85rem;padding:2rem 1.25rem}
body.lm-shell.tool-finance .lm .lm-state p{max-width:55ch;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-navigation-create .context-primary{justify-content:flex-start}
body.lm-shell.tool-finance .lm-navigation-create .context-primary>.icon:first-child{margin-left:0}
body.lm-shell.tool-finance .lm .books-views a{border-radius:6px;border:0;border-bottom:3px solid transparent;min-height:44px}
body.lm-shell.tool-finance .lm .books-views a[aria-current="page"]{background:var(--lm-tint);border-color:var(--lm-accent-ink);color:var(--lm-accent-ink)}
body.lm-shell.tool-finance .lm .books-stage--todo .books-stage__text :is(strong,small){color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-finance-page .books-today.suite-stage{margin:0}
body.lm-shell.tool-finance .lm-finance-page .books-nav{margin:0;border-color:var(--lm-line);border-radius:var(--lm-radius-card);box-shadow:var(--lm-shadow)}
body.lm-shell.tool-finance .lm-finance-page .books-sections a,
body.lm-shell.tool-finance .lm-finance-page .books-views a{min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-finance-page .books-crumbs{margin:0;padding:0}
body.lm-shell.tool-finance .lm-finance-page .books-crumbs a{min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-finance-page .books-focus{margin:0;border-left-color:var(--lm-accent)}
body.lm-shell.tool-finance .lm-finance-page .books-lanes{gap:var(--lm-gap);margin:0}
body.lm-shell.tool-finance .lm-finance-page .books-lane__head{background:color-mix(in srgb,var(--lm-tint) 38%,white)}
body.lm-shell.tool-finance .lm-finance-page .books-position{margin:0}
body.lm-shell.tool-finance .lm-finance-page .books-position__figures{border-color:var(--lm-line)}
body.lm-shell.tool-finance .lm-finance-page .books-position__figures>div{min-width:0}
body.lm-shell.tool-finance .lm-finance-page .books-position__figures dd{white-space:normal;overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-finance-page .books-filters{margin:0}
body.lm-shell.tool-finance .lm-finance-page .table-wrap{min-width:0;max-width:100%}
body.lm-shell.tool-finance .lm-finance-page .salary-directory-wrap,
body.lm-shell.tool-finance .lm-finance-page>.table-wrap{border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff;box-shadow:var(--lm-shadow)}
body.lm-shell.tool-finance .lm-finance-page :is(input,select,textarea){min-width:0;max-width:100%}
body.lm-shell.tool-finance .lm-finance-page :is(button,.button,summary){min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-finance-page .button:not(.button--secondary):not(.button--ghost){color:#fff}
body.lm-shell.tool-finance .lm-finance-page>.page-header .button:not(.button--secondary),
body.lm-shell.tool-finance .lm-finance-page>.books-header .button:not(.button--secondary),
body.lm-shell.tool-finance .lm-finance-page .books-setup .button{color:var(--lm-ink)}
body.lm-shell.tool-finance .lm-finance-page :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--lm-accent-ink);outline-offset:2px}
body.lm-shell.tool-finance .lm-finance-codes{padding:0 1.2rem 1.2rem}
body.lm-shell.tool-finance .lm-finance-codes .finance-code-grid{min-width:0}
body.lm-shell.tool-finance .lm-finance-codes .finance-code-card{min-width:0;box-shadow:none}
body.lm-shell.tool-finance .lm-finance-codes .finance-code-card h3{font:600 1.12rem/1.25 var(--lm-sans);overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-finance-codes .finance-code-card dl{min-width:0}
body.lm-shell.tool-finance .lm-finance-codes .finance-code-card dd{overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-finance-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.55rem}
body.lm-shell.tool-finance .lm-finance-actions .button{min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-finance-actions .button:not(.button--secondary){color:#fff}
body.lm-shell.tool-finance .lm-directory .lm-stack{min-width:0}
body.lm-shell.tool-finance .lm-directory .books-figures{margin:0}
body.lm-shell.tool-finance .lm-directory .books-filters{padding:.65rem 0;border-top:1px solid var(--lm-line);margin:0}
body.lm-shell.tool-finance .lm-directory .books-filters a{min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-directory .books-table-wrap{margin:0;border:0;border-top:1px solid var(--lm-line);border-radius:0;background:transparent;box-shadow:none}
body.lm-shell.tool-finance .lm-directory .books-table th{background:#fff;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-directory .books-table td,
body.lm-shell.tool-finance .lm-directory .books-table th{padding:.8rem .7rem;min-width:0}
body.lm-shell.tool-finance .lm-directory .books-table td:first-child,
body.lm-shell.tool-finance .lm-directory .books-table th:first-child{padding-left:.25rem}
body.lm-shell.tool-finance .lm-directory .books-table td:last-child,
body.lm-shell.tool-finance .lm-directory .books-table th:last-child{padding-right:.25rem}
body.lm-shell.tool-finance .lm-form-layout{min-width:0}
/* Reuse Finance's canonical accent rather than the form recipe's Projects default. */
@media(forced-colors:none){
  body.lm-shell.tool-finance .lm-form-intro{background:radial-gradient(ellipse at 30% 0%,color-mix(in srgb,var(--lm-accent) 60%,transparent),transparent 65%),var(--lm-night)}
}
@media(min-width:801px){
  body.lm-shell.tool-finance .lm-form-layout{align-items:start;gap:var(--lm-gap);border:0;background:transparent;box-shadow:none;overflow:visible}
  body.lm-shell.tool-finance .lm-form-intro{position:sticky;top:calc(var(--lm-header-height,72px) + 1rem);min-height:16rem;border-radius:var(--lm-radius-stage)}
  body.lm-shell.tool-finance .lm-form-body{border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:#fff;box-shadow:var(--lm-shadow)}
}
body.lm-shell.tool-finance .lm-form-intro .lm-finance-consequence{padding:1rem;border:1px solid #7a7181;border-radius:var(--lm-radius-control);color:#fff!important;font-size:.95rem}
body.lm-shell.tool-finance .lm-form-body .books-form{max-width:none;gap:.9rem}
body.lm-shell.tool-finance .lm-form-body .books-fieldset{margin:0;padding:1.2rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);box-shadow:none}
body.lm-shell.tool-finance .lm-form-body .books-fieldset legend{padding:.15rem .45rem;font-size:1.05rem}
body.lm-shell.tool-finance .lm-form-body .books-fieldset .field label{font-size:.95rem}
body.lm-shell.tool-finance .lm-form-body .books-decision{position:static;display:grid;gap:1rem;margin:0;padding:1.1rem 0 0;border:0;border-top:1px solid var(--lm-line);background:transparent;box-shadow:none}
body.lm-shell.tool-finance .lm-form-body .books-decision .actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.55rem}
body.lm-shell.tool-finance .lm-form-body .books-decision .button{min-height:var(--lm-control-height)}
@media(max-width:800px){
  body.lm-shell.tool-finance .lm-finance-page .books-position__figures{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.lm-shell.tool-finance .lm-finance-page .forecast-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  body.lm-shell.tool-finance .lm .books-quantity{justify-content:flex-start}
  body.lm-shell.tool-finance .lm .books-panel-disclosure{scroll-margin-top:4.5rem}
  body.lm-shell.tool-finance .lm .books-panel-disclosure>summary{padding:1rem}
  body.lm-shell.tool-finance .lm .books-panel-disclosure>.books-panel-content{padding:0 1rem 1rem}
  body.lm-shell.tool-finance .lm-finance-page .books-panel{padding:1rem;scroll-margin-top:4.5rem}
  body.lm-shell.tool-finance .lm .books-task-route{padding:1rem}
  body.lm-shell.tool-finance .lm .books-task-route ol{grid-template-columns:1fr;gap:.15rem}
  body.lm-shell.tool-finance .lm .books-task-route a{padding:.4rem 0}
  body.lm-shell.tool-finance .lm-finance-page{gap:.75rem}
  body.lm-shell.tool-finance .lm-finance-page>.page-header,
  body.lm-shell.tool-finance .lm-finance-page>.books-header{padding:1.15rem}
  body.lm-shell.tool-finance .lm-finance-page>.page-header>div:first-child,
  body.lm-shell.tool-finance .lm-finance-page>.books-header>div:first-child{flex:0 1 auto;width:100%}
  body.lm-shell.tool-finance .lm-finance-page>.page-header h1,
  body.lm-shell.tool-finance .lm-finance-page>.books-header h1{font-size:2.15rem}
  body.lm-shell.tool-finance .lm-finance-page>.page-header .actions,
  body.lm-shell.tool-finance .lm-finance-page>.books-header .actions{width:100%}
  body.lm-shell.tool-finance .lm-finance-page>.page-header .actions>*{flex:1 1 auto}
  body.lm-shell.tool-finance .lm-finance-page .books-today.suite-stage{padding:1.1rem}
  body.lm-shell.tool-finance .lm-finance-page .books-today h1{font-size:2.25rem}
  body.lm-shell.tool-finance .lm-finance-page .books-record{gap:.4rem}
  body.lm-shell.tool-finance .lm-finance-page .books-record a{min-height:var(--lm-control-height)}
  body.lm-shell.tool-finance .lm-finance-page .books-position__figures dd{font-size:1rem}
  body.lm-shell.tool-finance .lm-finance-codes{padding:0 .9rem .9rem}
  body.lm-shell.tool-finance .lm-finance-actions{justify-content:flex-start}
  body.lm-shell.tool-finance .lm-finance-actions>*{flex:1 1 auto;justify-content:center}
  body.lm-shell.tool-finance .lm .books-views{flex-wrap:wrap;overflow:visible}
  body.lm-shell.tool-finance .lm .books-views a{min-height:44px}
  body.lm-shell.tool-finance .lm-directory .books-table-wrap{overflow:visible}
  body.lm-shell.tool-finance .lm-directory .books-table,
  body.lm-shell.tool-finance .lm-directory .books-table tbody{display:block;width:100%;min-width:0}
  body.lm-shell.tool-finance .lm-directory .books-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.lm-shell.tool-finance .lm-directory .books-table tbody tr{display:grid;gap:.55rem;padding:1rem .1rem;border-bottom:1px solid var(--lm-line);background:#fff}
  body.lm-shell.tool-finance .lm-directory .books-table tbody tr:last-child{border-bottom:0}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:.65rem;width:100%;padding:0;border:0!important;text-align:left!important;overflow-wrap:anywhere;white-space:normal}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td::before{content:attr(data-label);color:var(--lm-muted);font-size:.82rem;font-weight:600}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td:not(:first-child)>.books-sub{grid-column:2;margin-top:0}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td:first-child{display:block;padding:0 0 .35rem;border-bottom:1px solid var(--lm-line)!important;font-size:1rem}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td:first-child::before{display:none}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td :is(a,strong){overflow-wrap:anywhere;word-break:normal}
  body.lm-shell.tool-finance .lm-directory .books-table tfoot{display:block;padding:.9rem 0}
  body.lm-shell.tool-finance .lm-directory .books-table tfoot tr{display:grid;gap:.4rem}
  body.lm-shell.tool-finance .lm-directory .books-table tfoot td{display:block;padding:.3rem 0;text-align:left!important}
  body.lm-shell.tool-finance .lm-form-intro h1{font-size:2.2rem}
  body.lm-shell.tool-finance .lm-form-body .books-fieldset{padding:.9rem}
  body.lm-shell.tool-finance .lm-form-body .books-decision .actions>*{flex:1 1 100%;justify-content:center}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory),
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody{display:block;width:100%;min-width:0}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody tr{display:grid;gap:.6rem;padding:1rem;border-bottom:1px solid var(--lm-line)}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody tr:last-child{border-bottom:0}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody td{display:grid;grid-template-columns:7.3rem minmax(0,1fr);gap:.6rem;width:100%;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody td:first-child{display:block;padding:0 0 .35rem;border-bottom:1px solid var(--lm-line);font-weight:650}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody td:first-child::before{display:none}
  body.lm-shell.tool-finance .lm-finance-page :is(.finance-rates-table,.salary-directory) tbody td::before{color:var(--lm-muted);font-size:.82rem;font-weight:600}
  body.lm-shell.tool-finance .finance-rates-table td:nth-child(2)::before{content:"Hourly rate"}
  body.lm-shell.tool-finance .finance-rates-table td:nth-child(3)::before{content:"Effective from"}
  body.lm-shell.tool-finance .finance-rates-table td:nth-child(4)::before{content:"Effective until"}
  body.lm-shell.tool-finance .finance-rates-table td:nth-child(5)::before{content:"Set by"}
  body.lm-shell.tool-finance .salary-directory td:nth-child(2)::before{content:"CTC"}
  body.lm-shell.tool-finance .salary-directory td:nth-child(3)::before{content:"Monthly salary"}
  body.lm-shell.tool-finance .salary-directory td:nth-child(4)::before{content:"CTC paid"}
  body.lm-shell.tool-finance .salary-directory td:nth-child(5)::before{content:"Role ROI"}
  body.lm-shell.tool-finance .salary-directory td:nth-child(6)::before{content:"Recent payslips"}
  body.lm-shell.tool-finance .lm-finance-page .salary-directory-wrap,
  body.lm-shell.tool-finance .lm-finance-page>.table-wrap{overflow:visible}
}
@media(forced-colors:active){
  body.lm-shell.tool-finance .lm-finance-page>.page-header,
  body.lm-shell.tool-finance .lm-finance-page>.books-header{border:1px solid CanvasText;background:Canvas;color:CanvasText}
  body.lm-shell.tool-finance .lm-finance-page>.page-header :is(h1,.eyebrow,.page-intro),
  body.lm-shell.tool-finance .lm-finance-page>.books-header :is(h1,.eyebrow,.page-intro){color:CanvasText}
}
/* Compact phone records (15 Oct review): two facts per line, label above value,
   so a 25-row page reads as records rather than a 6,000px column. */
@media(max-width:600px){
  body.lm-shell.tool-finance .lm-directory .books-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem;row-gap:.6rem}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td{grid-template-columns:minmax(0,1fr);gap:.1rem}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td::before{font-size:.74rem;font-weight:600}
  body.lm-shell.tool-finance .lm-directory .books-table tbody td:first-child{grid-column:1/-1}
}
/* Tool settings: accountability spans the page. The owner and who can change the tool now sit on
   the left; everyone who may also change it is a filterable grid of checkboxes on the right, so a
   wide screen shows many names at once without a Ctrl/Cmd multi-select. */
.tool-settings-grid>.tool-accountability{grid-column:1/-1}
.tool-accountability__grid{display:grid;grid-template-columns:minmax(16rem,.8fr) minmax(0,1.6fr);gap:1.25rem 2.25rem;align-items:start;margin-top:.25rem}
.tool-accountability__owner{display:grid;gap:1rem;min-width:0}
.tool-accountability__owner .field{margin:0}
.tool-helper-now__label{margin:0 0 .45rem;font-size:.82rem;font-weight:650;color:var(--neutral-600,#625c68)}
.tool-helper-now .tool-helper-current{margin:0}
.tool-helpers{min-width:0;margin:0;padding:0;border:0}
.tool-helpers>legend{margin:0 0 .5rem;padding:0;font-weight:650;font-size:.88rem}
.tool-helpers__filter{position:relative;display:block;max-width:22rem;margin:0 0 .75rem}
.tool-helpers__filter .icon{position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:var(--neutral-600,#625c68);pointer-events:none}
.tool-helpers__filter input{width:100%;min-height:42px;padding:.5rem .75rem .5rem 2.3rem;border:1px solid #d4d0d6;border-radius:10px;background:#fff}
.tool-helpers__choices>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:6px;max-height:22rem;overflow-y:auto;padding:2px;margin:0}
.tool-helpers__choices>div>div[hidden]{display:none}
.tool-helpers__choices label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:8px 12px;border:1px solid #e6e3e9;border-radius:10px;background:#fff;font-weight:500;font-size:.9rem;line-height:1.3;cursor:pointer}
.tool-helpers__choices label:hover{border-color:color-mix(in srgb,var(--tool-color,#5635a5) 35%,white)}
.tool-helpers__choices label:has(input:checked){border-color:color-mix(in srgb,var(--tool-color,#5635a5) 45%,white);background:color-mix(in srgb,var(--tool-color,#5635a5) 8%,white)}
.tool-helpers__choices input[type=checkbox]{flex:none;width:18px;height:18px;margin:0;accent-color:var(--lm-accent,var(--tool-color,#5635a5))}
.tool-helpers__choices label:has(input:focus-visible){outline:3px solid var(--focus-ring,#5635a5);outline-offset:2px}
.tool-helpers__none{margin:.5rem 0 0;color:var(--neutral-600,#625c68)}
@media (max-width:900px){.tool-accountability__grid{grid-template-columns:1fr}.tool-helpers__filter{max-width:none}}
@media (forced-colors:active){.tool-helpers__choices label:has(input:checked){outline:2px solid Highlight}}
/* Accounts/report composition only. Tokens, navigation and financial rules are canonical. */
body.lm-shell.tool-finance .lm-report-page{width:100%;max-width:1240px;container:accounts-report / inline-size}
body.lm-shell.tool-finance .lm-report-page--reading{max-width:58rem}
body.lm-shell.tool-finance .lm-report-page>*{min-width:0}
body.lm-shell.tool-finance .lm-report-tools{justify-self:start;margin-top:.65rem}
body.lm-shell.tool-finance .lm-report-page :is(.panel,.books-section){margin:0;padding:1.25rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card);background:var(--lm-paper);box-shadow:var(--lm-shadow);min-width:0}
body.lm-shell.tool-finance .lm-report-page :is(h2,h3){font-family:var(--lm-font);font-size:1.18rem;line-height:1.4;margin:0 0 .65rem}
body.lm-shell.tool-finance .lm-report-page .panel-header{margin:0 0 1rem;padding:0;gap:1rem;flex-wrap:wrap}
body.lm-shell.tool-finance .lm-report-page .panel-header>div{min-width:0}
body.lm-shell.tool-finance .lm-report-page .books-footnote{margin-top:.75rem}
body.lm-shell.tool-finance .lm-report-page .books-table{width:100%;min-width:0;font-size:1rem}
body.lm-shell.tool-finance .lm-report-page .table-wrap{max-width:100%;margin:0;min-width:0;overflow:auto;border:0;border-radius:0;box-shadow:none;background:transparent}
body.lm-shell.tool-finance .lm-report-page .books-statement-grid{gap:var(--lm-gap)}
body.lm-shell.tool-finance .lm-report-page .books-statement :is(td,th){overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-report-page .books-statement td.is-numeric{white-space:nowrap;overflow-wrap:normal}
body.lm-shell.tool-finance .lm-report-page .books-metric-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}
body.lm-shell.tool-finance .lm-report-page .books-metric{border-radius:var(--lm-radius-card);border-color:var(--lm-line);padding:1rem;gap:.65rem;min-width:0}
body.lm-shell.tool-finance .lm-report-page .books-metric h3{font-size:var(--lm-small);color:var(--lm-muted);margin:0}
body.lm-shell.tool-finance .lm-report-page .books-metric-formula summary{min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-report-page .books-metric-formula :is(p,dl>div){font-size:var(--lm-small)}
body.lm-shell.tool-finance .lm-report-page .books-metric-formula dl>div{flex-wrap:wrap}
body.lm-shell.tool-finance .lm-report-page .books-metric-missing{font-size:var(--lm-small);color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-report-page .lm-disclosure>summary{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;min-height:var(--lm-control-height)}
body.lm-shell.tool-finance .lm-report-page .lm-disclosure>summary>span{font-size:var(--lm-small);font-weight:400;color:var(--lm-muted)}
body.lm-shell.tool-finance .lm-report-page .lm-disclosure .lm-invoice-detail-body{padding:1.25rem}
body.lm-shell.tool-finance .lm-report-page .books-week summary{min-height:var(--lm-control-height);padding:1rem;gap:.5rem 1rem;grid-template-columns:10rem minmax(0,1fr) auto}
body.lm-shell.tool-finance .lm-report-page .books-week summary strong{display:grid;gap:.15rem;text-align:right}
body.lm-shell.tool-finance .lm-report-page .books-week summary strong>small{font-size:var(--lm-small);color:var(--lm-muted);font-weight:400}
body.lm-shell.tool-finance .lm-report-page .books-week-detail :is(li,h3){font-size:1rem}
body.lm-shell.tool-finance .lm-report-page .books-week-detail li{flex-wrap:wrap;gap:.4rem 1rem}
body.lm-shell.tool-finance .lm-report-page .books-line-main{flex-wrap:wrap}
body.lm-shell.tool-finance .lm-report-page .books-line-actions{display:grid;gap:1rem;padding:1rem}
body.lm-shell.tool-finance .lm-report-page .books-line-actions form{display:flex;gap:.65rem;align-items:end;flex-wrap:wrap;min-width:0}
body.lm-shell.tool-finance .lm-report-page .books-inline-field{flex:1 1 16rem;min-width:0}
body.lm-shell.tool-finance .lm-report-page :is(.books-facts,.books-figures){margin:0}
body.lm-shell.tool-finance .lm-report-page .books-figure strong{font-size:1.35rem;overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-report-page .books-export{min-width:0;background:var(--lm-paper);border-color:var(--lm-line);border-radius:var(--lm-radius-card)}
body.lm-shell.tool-finance .lm-report-page .books-export>span{min-width:0}
body.lm-shell.tool-finance .lm-report-page .books-export small{font-size:var(--lm-small);line-height:1.6}
@container accounts-report (max-width:900px){
  .lm-report-page .books-statement-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:768px){
  body.lm-shell.tool-finance .lm-report-page :is(.panel,.books-section){padding:1rem}
  body.lm-shell.tool-finance .lm-report-page .books-week summary{grid-template-columns:minmax(0,1fr) auto}
  body.lm-shell.tool-finance .lm-report-page .books-week-flow{grid-column:1/-1;grid-row:2}
  body.lm-shell.tool-finance .lm-report-page .books-line-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem}
  body.lm-shell.tool-finance .lm-report-page .books-line-text{grid-column:1/-1;min-width:0}
  body.lm-shell.tool-finance .lm-report-page .books-line-actions .button{max-width:100%;white-space:normal}
}
/* Trusted actuals reuse the report canvas; figures and provenance stay together. */
body.lm-shell.tool-finance .lm-report-page .lm-ageing-bands{display:grid;gap:.75rem;margin:1.25rem 0}
body.lm-shell.tool-finance .lm-report-page .lm-ageing-band{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem 1rem;padding:.65rem 0;border-bottom:1px solid var(--lm-line)}
body.lm-shell.tool-finance .lm-report-page .lm-ageing-band strong{font-size:var(--lm-body);font-variant-numeric:tabular-nums;white-space:nowrap}
body.lm-shell.tool-finance .lm-report-page .lm-ageing-track{display:block;width:100%;grid-column:1/-1;height:.3rem;background:var(--lm-line);color:var(--lm-accent);border-radius:1rem;overflow:hidden}
body.lm-shell.tool-finance .lm-report-page .lm-position-bank{padding:1.25rem 0;border-top:1px solid var(--lm-line)}
body.lm-shell.tool-finance .lm-report-page .lm-position-section{scroll-margin-top:8rem}
body.lm-shell.tool-finance .lm-report-page .lm-position-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem;margin:1rem 0 1.5rem}
body.lm-shell.tool-finance .lm-report-page .lm-position-facts>div{min-width:0;padding:1rem;border:1px solid var(--lm-line);border-radius:var(--lm-radius-card)}
body.lm-shell.tool-finance .lm-report-page .lm-position-facts dt{color:var(--lm-muted);font-size:var(--lm-small);line-height:1.6}
body.lm-shell.tool-finance .lm-report-page .lm-position-facts dd{font-size:1.35rem;font-weight:600;margin:.4rem 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.lm-shell.tool-finance .lm-report-page .lm-statement-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.lm-shell.tool-finance .lm-report-page .lm-position-table{table-layout:fixed}
body.lm-shell.tool-finance .lm-report-page .lm-position-table :is(td,th){overflow-wrap:anywhere}
body.lm-shell.tool-finance .lm-report-page .lm-position-table td{vertical-align:top}
body.lm-shell.tool-finance .lm-report-page .lm-position-table .books-sub{margin-top:.35rem}
body.lm-shell.tool-finance .lm-report-page .lm-position-section>.lm-disclosure{margin-top:1.25rem}
body.lm-shell.tool-finance .lm-report-page .lm-position-calculation{margin-top:.6rem;font-size:var(--lm-small)}
body.lm-shell.tool-finance .lm-report-page .lm-position-calculation summary{min-height:var(--lm-control-height);cursor:pointer}
body.lm-shell.tool-finance .lm-report-page .lm-position-calculation dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin:.5rem 0}
body.lm-shell.tool-finance .lm-report-page .lm-position-calculation dd{margin:0;font-variant-numeric:tabular-nums}
@media(max-width:600px){
  body.lm-shell.tool-finance .lm-report-page .lm-statement-check-grid{grid-template-columns:minmax(0,1fr)}
  body.lm-shell.tool-finance .lm-report-page .lm-position-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  body.lm-shell.tool-finance .lm-report-page .lm-position-table :is(tbody,tr,td,tfoot,th){display:block;width:auto}
  body.lm-shell.tool-finance .lm-report-page .lm-position-table tbody tr{padding:.75rem 0;border-bottom:1px solid var(--lm-line)}
  body.lm-shell.tool-finance .lm-report-page .lm-position-table td{border:0;padding:.5rem 0;white-space:normal;text-align:left}
  body.lm-shell.tool-finance .lm-report-page .lm-position-table tbody td[data-label]::before{content:attr(data-label);display:block;font-size:var(--lm-small);color:var(--lm-muted);margin-bottom:.35rem;font-weight:600}
}
/* Approved Finance Studio reconciliation. Never alter other tools or issued paper. */
/* Shared stage/collection rules live in packages/limelight/src/finance.css. */
.lm-finance-bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem}
body.lm-shell.tool-finance .lm-finance-tile{position:relative;display:flex;flex-direction:column;gap:1rem;justify-content:space-between;grid-column:span 2;min-width:0;min-height:265px;border:1px solid #ddd9d5;border-radius:20px;padding:1.5rem;background:#fff;color:#242326;text-decoration:none;transition:transform 180ms ease,box-shadow 180ms ease}
body.lm-shell.tool-finance .lm-finance-tile--sales,body.lm-shell.tool-finance .lm-finance-tile--buying{grid-column:span 3;min-height:310px}
body.lm-shell.tool-finance .lm-finance-tile--dark{background:radial-gradient(ellipse at 100% 0,#235c43 0,#111113 75%);color:#fff;border-color:#252e27}
body.lm-shell.tool-finance .lm-finance-tile--warm{background:#e99864;border-color:#d78e5c;color:#241d18}
body.lm-shell.tool-finance .lm-finance-tile--audit{grid-column:span 6;min-height:125px;flex-direction:row;align-items:center;justify-content:flex-start}
.lm-finance-tile img{width:100%;max-width:250px;height:150px;object-fit:contain;align-self:center}
.lm-finance-tile--audit img{width:70px;height:70px;align-self:auto}
body.lm-shell.tool-finance .lm-finance-tile h2{font-size:1.35rem;font-weight:600;line-height:1.3;color:inherit;max-width:24ch;margin:0 0 .5rem}
body.lm-shell.tool-finance .lm-finance-tile p{font-size:.94rem;line-height:1.5;max-width:33ch;color:inherit;margin:0}
.lm-finance-tile>.icon{position:absolute;right:1.3rem;top:1.3rem;width:20px;height:20px}
.lm-finance-tile:hover{transform:translateY(-3px);box-shadow:0 12px 25px #14111815}
.lm-finance-tile:focus-visible{outline:3px solid var(--lm-accent);outline-offset:4px}
/* Draft continuation shares the canonical Finance collection/row recipe. */
body.lm-shell.tool-finance .lm-finance-billing{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:1.5rem;padding:1.75rem;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#235c43 0,#0d0c0e 75%);color:#fff}
body.lm-shell.tool-finance .lm-finance-billing h2{font-size:clamp(1.5rem,2.8vw,2rem);line-height:1.2;margin:.5rem 0 1rem;color:#fff}
body.lm-shell.tool-finance .lm-finance-billing p{color:#d4ded7;font-size:.94rem;line-height:1.6;margin:.25rem 0;max-width:62ch}
body.lm-shell.tool-finance .lm-finance-billing .lm-caption{font-size:.824rem;margin-top:.65rem}
body.lm-shell.tool-finance .lm-finance-billing-label{font-size:.824rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.lm-finance-billing img{width:100%;max-width:180px;align-self:center}
.lm-finance-billing .lm-button{margin-top:1rem}
body.lm-shell.tool-finance .lm-finance-working-lines>h2{font-size:1.35rem;margin:0 0 1rem}
body.lm-shell.tool-finance .lm-finance-working-lines .books-totals{width:min(100%,380px);margin-left:auto}
@media(min-width:1001px){body.lm-shell.tool-finance .lm-navigation--expanded .lm-rail-toggle{width:44px;height:44px;right:6px;top:10px}body.lm-shell.tool-finance .lm-navigation--expanded .lm-rail-toggle::after{content:'×';font-size:26px;line-height:1}}
@media(max-width:800px){.lm-finance-bento{grid-template-columns:repeat(2,minmax(0,1fr))}body.lm-shell.tool-finance .lm-finance-tile{grid-column:span 1;min-height:260px}body.lm-shell.tool-finance .lm-finance-tile--audit{grid-column:span 2;min-height:120px}}
@media(max-width:600px){.lm-finance-bento{grid-template-columns:minmax(0,1fr)}body.lm-shell.tool-finance .lm-finance-tile,body.lm-shell.tool-finance .lm-finance-tile--audit{grid-column:1;min-height:200px;padding:1.25rem}.lm-finance-tile img{width:95px;height:95px}body.lm-shell.tool-finance .lm-finance-billing{padding:1.25rem;grid-template-columns:minmax(0,1fr)}.lm-finance-billing img{display:none}}
@media(prefers-reduced-motion:reduce){.lm-finance-tile{transition:none}.lm-finance-tile:hover{transform:none}}
@media(forced-colors:active){body.lm-shell.tool-finance :is(.lm-finance-tile,.lm-finance-billing){background:Canvas;color:CanvasText;border:1px solid CanvasText}body.lm-shell.tool-finance :is(.lm-finance-billing h2,.lm-finance-billing p){color:CanvasText}.lm-finance-billing img,.lm-finance-tile img{display:none}body.lm-shell.tool-finance .lm-navigation .tool-rail-item[aria-current],body.lm-shell.tool-finance .lm-tool-pages nav a[aria-current]{background:Highlight;color:HighlightText;border-color:Highlight}}
/* Phone: work-area tiles become compact links so the figures below are reached quickly;
   the approved illustrations and warm tile colour remain on larger screens. */
@media(max-width:700px){body.lm-shell.tool-finance .lm-finance-tile,body.lm-shell.tool-finance .lm-finance-tile--sales,body.lm-shell.tool-finance .lm-finance-tile--buying{min-height:0;padding-top:1.1rem;padding-bottom:1.1rem}.lm-finance-tile img{display:none}}
/* Authentication entry only. Original Studio artwork; no letterform distortion. */
.login-curtain { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; height: 100dvh; position: fixed; inset: 0; color: #fff; background: transparent; overflow: auto; font-family: "Hanken Grotesk", sans-serif; }
.login-curtain:not([open]) { display: none; }
.login-curtain::backdrop { background: transparent; }
.has-login-curtain { overflow: hidden; }
.login-curtain__panels { position: fixed; inset: 0; display: flex; pointer-events: none; }
.login-curtain__panels i { flex: 1 1 0; margin-right: -1px; background: #080808; transform: translateY(0); transition: transform 700ms cubic-bezier(.22,1,.36,1); }
.login-curtain__panels i:nth-child(2) { transition-delay: 55ms; }
.login-curtain__panels i:nth-child(3) { transition-delay: 110ms; }
.login-curtain__panels i:nth-child(4) { transition-delay: 165ms; }
.login-curtain__panels i:nth-child(5) { transition-delay: 220ms; }
.login-curtain__panels i:nth-child(6) { transition-delay: 275ms; }
.login-curtain__light { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 80% 110%, rgb(138 92 240 / .2), transparent 55%); }
.login-curtain__content { position: relative; width: min(42rem, calc(100% - 3rem)); min-height: 100%; margin: auto; display: flex; flex-direction: column; justify-content: center; padding: max(5rem, 14vh) 0; }
.login-curtain__logo { display: block; width: 100%; height: auto; object-fit: contain; margin-bottom: 18%; animation: welcome-logo 900ms cubic-bezier(.22,1,.36,1) both; }
.login-curtain__rule { height: 1px; background: rgb(255 255 255 / .32); margin-bottom: 1.5rem; }
.login-curtain h2 { font-family: "Hanken Grotesk", sans-serif; font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 500; line-height: 1.4; margin: 0; color: #fff; overflow-wrap: anywhere; }
.login-curtain p { font-size: 1rem; line-height: 1.6; margin: .65rem 0 0; color: #d0ccd6; }
.login-curtain p.login-curtain__tip { max-width: 36rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .2); }
.login-curtain__preview { margin-top: 1rem; color: #d0ccd6; font-size: .85rem; }
.login-curtain__skip { position: fixed; bottom: max(1.5rem, env(safe-area-inset-bottom)); right: max(1.5rem, env(safe-area-inset-right)); min-height: 44px; max-width: calc(100% - 3rem); border: 1px solid #7e7987; border-radius: 10px; padding: .6rem 1rem; background: #080808; color: #fff; font: 500 1rem/1.5 "Hanken Grotesk", sans-serif; cursor: pointer; }
.login-curtain__skip:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.login-curtain.is-revealing .login-curtain__panels i { transform: translateY(-101%); }
.login-curtain.is-revealing .login-curtain__content, .login-curtain.is-revealing .login-curtain__light, .login-curtain.is-revealing .login-curtain__skip { opacity: 0; transition: opacity 220ms ease-out; }
@keyframes welcome-logo { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .login-curtain__content { width: calc(100% - 3rem); } .login-curtain__logo { margin-bottom: 3.25rem; } }
@media (prefers-reduced-motion: reduce) { .login-curtain__logo { animation: none; } .login-curtain__panels i, .login-curtain.is-revealing * { transition: none; } }
[data-reduce-motion="true"] .login-curtain__logo { animation: none; }
[data-reduce-motion="true"] .login-curtain__panels i { transition: none; }
[data-high-contrast="true"] .login-curtain__light { display: none; }
[data-high-contrast="true"] .login-curtain p { color: #fff; }
@media (forced-colors: active) { .login-curtain { color: CanvasText; } .login-curtain__panels i { background: Canvas; } .login-curtain__light { display: none; } .login-curtain__logo { forced-color-adjust: none; background: #080808; } .login-curtain h2, .login-curtain p, .login-curtain__preview { color: CanvasText; } .login-curtain__skip { color: ButtonText; background: ButtonFace; border-color: ButtonText; } }
/* Compose only: reuse the shared checkbox, keep its help and errors below it. */
body.lm-shell.tool-finance .lm-invoice-email-form .books-field--check{flex-wrap:wrap;padding-block:.75rem}
body.lm-shell.tool-finance .lm-invoice-email-form .books-field--check label{flex:1 1 12rem;min-width:0}
body.lm-shell.tool-finance .lm-invoice-email-form .books-field--check :is(.helptext,.errorlist){flex-basis:100%;margin:0}
