/* Calm work surfaces: hierarchy comes from spacing and dividers, not nested boxes. */
body{background:#fff;color:#282c32}main>header{background:#fff}#content{gap:20px;padding-top:24px}button,select,input,textarea{border-radius:9px}button.solid{border-radius:9px;padding:9px 14px;min-height:38px;font-weight:600}button:focus-visible,a:focus-visible{outline:2px solid #69778a;outline-offset:3px}.intro{align-items:center}.intro h1{font-size:22px;line-height:30px;letter-spacing:-.6px}.intro p{color:#79808b}#content>.panel,#content>.grid>.panel{border:0;border-radius:0;background:transparent;padding:0}#content>.grid{gap:24px}#content>.grid>.panel{padding-top:14px;border-top:1px solid #e9ebee}#content>.panel+.panel{padding-top:16px;border-top:1px solid #e9ebee}.sectionHeading{margin-bottom:14px}.settingsTabs,.hrTabs{gap:20px;border-bottom:1px solid #e8ebef;padding:0;margin-bottom:14px}.settingsTabs>button,.hrTabs>button{position:relative;border:0;background:transparent;color:#7b818c;border-radius:0;margin:0;padding:10px 0;min-height:42px;font-weight:500}.settingsTabs>button.solid,.hrTabs>button.solid{color:#252c36;background:transparent;font-weight:650}.settingsTabs>button.solid:after,.hrTabs>button.solid:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#353e4b;border-radius:2px}.settingsTabs>button:hover,.hrTabs>button:hover{color:#202a37;background:transparent}.memberRow{padding:14px 0;border-color:#edf0f3}.memberRow button,.sectionHeading>button{border-color:transparent;background:#f4f5f7}.card{border-color:transparent;border-radius:12px;background:#f6f7f9}.homeSummary{gap:0!important;border-bottom:1px solid #e8ebee;padding-bottom:18px}.homeSummaryCard{border:0!important;border-radius:0!important;background:transparent!important;padding:8px 18px!important;position:relative}.homeSummaryCard+.homeSummaryCard:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:1px;background:#e9ecf0}.homeSummaryCard .num{font-size:25px;margin:8px 0 4px}.homeSummaryCard:hover{background:#f7f8fa!important;border-radius:10px!important}.pill{border-radius:20px;padding:4px 8px;background:#f1f4f3;font-size:11px}.fieldSiteGrid>.panel{border:0;border-radius:12px;background:#f6f8f7;padding:18px}.projectSurface{border:0;border-radius:0;padding:0;background:transparent}.projectWorkspace>.projectPageHead{height:auto!important;min-height:0!important;padding:0!important;margin-bottom:18px}.projectWorkspace .homeListRow{height:auto!important;min-height:64px!important;width:100%!important}.projectWorkspace .taskTitle{height:auto!important}.projectScroll th{background:#f7f8fa}.projectScroll td{padding:13px 10px}.projectCount{margin:14px 0}.kanbanColumn{background:#f6f7f9;border-radius:12px}.taskCard{border-color:#e9ecf0;border-radius:10px;background:white}.workspaceHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.workspaceHeading>div{min-width:0;flex:1}.workspaceHeading h1{font-size:23px;line-height:31px;letter-spacing:-.7px;margin:0 0 4px;word-break:keep-all}.workspaceHeading p{font-size:12px;line-height:19px;color:#7b828e;margin:0}.workspaceHeading>button{flex:none;white-space:nowrap}.workspaceFootnote{font-size:11px;line-height:18px;color:#969ca5;margin:20px 0 0}
/* CRM uses a flat contact list and a clear empty state. */
.crmWorkspace{width:100%;min-width:0}.crmTabs{display:flex;gap:24px;border-bottom:1px solid #e7eaef;margin-bottom:18px}.crmTabs>button{position:relative;border:0;background:transparent;min-height:44px;padding:8px 0;color:#818791;border-radius:0;font-size:14px;white-space:nowrap}.crmTabs>button.selected{font-weight:650;color:#2b333f}.crmTabs>button.selected:after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#343e4c;border-radius:2px}.crmTabs>button>span{font-size:11px;color:#87909b;padding-left:5px;font-weight:500}.crmSearchbar{display:flex;align-items:center;gap:14px;margin-bottom:10px}.crmSearch{display:flex;align-items:center;gap:7px;background:#f4f5f7;border-radius:10px;max-width:340px;flex:1;min-width:0;padding:0 12px}.crmSearch>span{color:#89919d;font-size:20px}.crmSearch input{width:100%;min-width:0;height:40px;border:0;background:transparent;padding:8px 0;font-size:13px}.crmSearch input:focus{outline:0}.crmSearch:focus-within{box-shadow:0 0 0 2px #b3bfce}.crmSearchbar>.sub{white-space:nowrap}.crmList{min-height:180px}.crmList>.homeListRow{gap:12px;min-height:78px;border-color:#eceff3;padding:16px 0;align-items:center}.crmList>.homeListRow>span:first-child{flex:none;min-width:38px}.crmAvatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#edf1ed;color:#63766a;font-weight:600;font-size:15px}.crmAvatar.person{border-radius:50%;background:#f0f1f5;color:#69748a}.crmRowText{flex:1;min-width:0}.crmRowText b{font-size:14px}.crmRowText small{line-height:18px;margin-top:3px;overflow-wrap:anywhere}.crmRowText em{font-style:normal;font-size:12px;color:#8a929f;font-weight:400}.crmRenewal{color:#9a753a!important}.eventArrow{color:#a5acb5;font-size:20px}.crmEmpty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:36px 16px 42px}.crmEmpty>span{font-size:28px;line-height:40px;color:#a0a8b2;opacity:.8;margin-bottom:10px}.crmEmpty h2{font-size:15px;font-weight:600;margin:0 0 6px}.crmEmpty p{font-size:12px;color:#8d95a0;line-height:20px;margin:0 0 18px;word-break:keep-all}.crmEmpty>button{min-height:38px;font-size:12px}
/* Unified calendar: row height follows its content; mobile month never overflows. */
.unifiedWorkspace .workspaceHeading{margin-bottom:16px}.unifiedViewbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.unifiedViewbar>div:last-child{display:flex;gap:12px;align-items:center}.viewSegments{display:flex;align-items:center;gap:3px;padding:3px;border-radius:10px;background:#f1f3f5}.unifiedWorkspace .viewSegments>button{border:0;background:transparent;color:#8a929f;padding:5px 14px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;font-size:12px!important}.unifiedWorkspace .viewSegments>button.selected{background:white;color:#303947;font-weight:600;box-shadow:0 1px 3px #27304012!important}.unifiedWorkspace .quietButton{border:0;background:transparent;color:#6d7787;padding:5px 0!important;font-size:12px!important}.unifiedSourceBar{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.unifiedSourceBar label{position:relative;cursor:pointer}.unifiedSourceBar input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none}.unifiedSourceBar label>span{display:block;border:1px solid transparent;border-radius:20px;background:#f6f7f9;color:#a0a7b1;padding:5px 10px;font-size:11px;line-height:18px}.unifiedSourceBar label:has(input:checked)>span{background:#edf1f0;color:#566b61}.unifiedSourceBar label:has(input:focus-visible)>span{outline:2px solid #77869a;outline-offset:2px}.unifiedWorkspace .unifiedConnectionStatus{display:flex;justify-content:space-between;align-items:center;width:100%;height:auto!important;min-height:30px!important;padding:3px 0 10px!important;border:0;border-bottom:1px solid #edf0f3;border-radius:0!important;background:transparent;color:#939ba7;font-size:11px!important}.unifiedConnectionStatus>span{color:#7d8999}.unifiedSurface{margin-top:12px;min-width:0}.unifiedMonthNav{display:flex;align-items:center;gap:8px;margin:0 0 12px;min-height:40px}.unifiedMonthNav>b{font-size:17px;letter-spacing:-.4px}.unifiedMonthNav>.sub{font-size:11px}.unifiedMonthNav>div{display:flex;gap:3px;align-items:center;margin-left:auto}.unifiedWorkspace .unifiedMonthNav button{border:0;background:transparent;height:36px!important;min-height:36px!important;padding:5px 9px!important;font-size:13px!important}.unifiedWorkspace .unifiedMonthNav button:hover{background:#f4f5f7}.unifiedAgenda{width:100%;min-width:0}.unifiedWorkspace .unifiedEventRow{display:flex;align-items:center;gap:10px;width:100%!important;min-height:76px!important;height:auto!important;margin:0!important;padding:14px 0!important;background:transparent;border:0;border-bottom:1px solid #edf0f3;border-radius:0!important;text-align:left;white-space:normal;line-height:20px!important}.unifiedEventRow:hover{background:#fafbfc!important}.eventColor{width:4px;min-height:38px;flex:none;align-self:stretch;border-radius:4px}.eventText{flex:1;min-width:0}.eventText>b{display:block;font-size:13px;line-height:20px;overflow-wrap:anywhere;font-weight:600}.eventText>small{display:block;font-size:11px;color:#8992a0;line-height:17px;overflow-wrap:anywhere;margin-top:2px}.eventSource{font-size:10px;color:#8c96a4;flex:none;white-space:nowrap}.unifiedEmpty{padding:24px 12px;text-align:center}.unifiedEmpty>span{display:block;font-size:25px;margin-bottom:8px}.unifiedEmpty>b{font-size:13px;font-weight:550}.unifiedEmpty>p{font-size:11px;color:#929aa6;margin:5px 0}.phoneWeekdays,.phoneMonthDays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.phoneWeekdays{text-align:center;font-size:11px;color:#98a0aa;margin:5px 0}.phoneWeekdays>span:first-child{color:#bd8585}.phoneWeekdays>span:last-child{color:#8199b9}.unifiedWorkspace .phoneDay{width:100%!important;height:47px!important;min-height:47px!important;padding:2px 0!important;border:0;border-radius:0!important;background:transparent;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:2px}.phoneDay>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;font-size:13px;line-height:30px;color:#353d48}.phoneDay.today>span{color:#b75c54;font-weight:700}.phoneDay.selected>span{background:#343e4a;color:#fff}.phoneDay.outside>span{color:#c3c8cf}.phoneDay>i{display:flex;gap:2px;height:4px;align-items:center}.phoneDay>i>em{display:block;width:4px;height:4px;border-radius:50%}.unifiedDayHeading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e9edf1;margin-top:14px;padding-top:16px}.unifiedDayHeading>h2{font-size:14px;margin:0}.unifiedDayHeading>span{font-size:11px;color:#98a0ab}
@media(max-width:600px){main{min-height:100dvh;display:flex;flex-direction:column}main>header{flex:none;min-height:52px}#content{flex:1;width:100%;padding:20px 18px;gap:18px}.intro h1{font-size:20px;line-height:28px}.workspaceHeading{gap:8px;align-items:center;margin-bottom:18px}.workspaceHeading h1{font-size:20px;line-height:28px;letter-spacing:-.6px}.workspaceHeading p{font-size:11px;line-height:18px}.workspaceHeading>button{font-size:12px;padding:8px 10px;min-height:40px}.homeSummaryCard{padding:8px 12px!important}.homeSummaryCard:nth-child(3):before{display:none}.homeSummaryCard .num{font-size:24px}.settingsTabs,.hrTabs{gap:18px;flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.settingsTabs>button,.hrTabs>button{flex:none;min-height:44px;white-space:nowrap;font-size:12px}.crmTabs{gap:24px;margin-bottom:14px}.crmSearchbar{gap:10px}.crmSearchbar>.sub{font-size:10px}.crmSearch{max-width:none;padding:0 10px}.crmSearch input{height:42px}.crmEmpty{padding:30px 8px 36px}.crmEmpty p{max-width:260px}.crmList>.homeListRow{gap:10px}.crmAvatar{width:34px;height:34px;min-width:34px!important;font-size:13px}.crmRowText b{font-size:13px}.crmRowText small{font-size:11px}.unifiedStandalone{display:none}.unifiedWorkspace .workspaceHeading p{max-width:none}.unifiedSourceBar{gap:5px}.unifiedSourceBar label>span{padding:4px 8px;font-size:10px}.unifiedWorkspace .unifiedConnectionStatus{font-size:10px!important}.unifiedWorkspace .unifiedMonthNav{margin-bottom:8px}.unifiedWorkspace .unifiedEventRow{gap:8px;min-height:76px!important}.eventText>small{font-size:10px}.eventSource{font-size:9px;max-width:54px;white-space:normal;line-height:15px}.eventArrow{font-size:18px}.bottom{position:sticky;bottom:0;flex:none;display:flex;align-items:center;justify-content:space-around;width:100%;padding:6px 6px max(6px,env(safe-area-inset-bottom));border-top:1px solid #eceff2;background:#ffffffed;backdrop-filter:blur(14px);z-index:10}.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0;min-height:50px;padding:5px 2px;font-size:10px;line-height:15px;border:0;border-radius:10px;color:#929aa6;background:transparent}.bottom button .bottomIcon{font-size:19px;line-height:24px}.bottom button[aria-current=page]{color:#303b48;background:#f1f3f5;font-weight:600}.projectWorkspace button:not(.calendarRangeBar):not(.phoneDay):not(.unifiedEventRow):not(.taskTitle){min-height:40px!important}.projectWorkspace .viewSegments button{min-height:32px!important}.projectWorkspace .unifiedConnectionStatus{min-height:30px!important}.projectWorkspace .unifiedMonthNav button{min-height:36px!important}.fieldSiteGrid{gap:12px}.fieldSiteGrid>.panel{padding:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Dialog chrome never overlaps the independently scrolling form body. */
#modal[open]{display:flex;flex-direction:column;padding:0!important;overflow:hidden;max-height:calc(100dvh - 40px)}#modal>.modalCloseBar{position:static;flex:none;z-index:auto;margin:0;padding:10px 18px;min-height:52px;border-bottom:1px solid #eceff3;background:white}#modal>.modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:18px;padding:20px 22px 22px}#modal>.modalBody>h2{font-size:18px;line-height:26px;margin:0 0 10px}#modal>.modalBody>h3{border-top:1px solid #e5e7eb;padding-top:16px;margin:18px 0 12px}#modal>.modalBody>p{margin:0 0 12px}#modal>.modalBody>.formField{margin-bottom:12px}#modal .formField,#modal .checkRow,#modal .inlineControl{scroll-margin-block:18px}#modal .modalBody .actions{position:static;bottom:auto}#modal.taskSide[open]{height:100dvh;max-height:100dvh;padding:0!important}#modal.projectSettingsMenu[open]{padding:0!important}#modal .settingsMenuHeader{margin-bottom:14px}#modal .modalBody .formFeedback{position:static!important;margin-top:12px}#modal .modalBody button{max-width:100%;white-space:normal}#modal .inlineControl{align-items:stretch}#modal .inlineControl>button{white-space:nowrap}@media(max-width:600px){#modal[open]{max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}#modal>.modalCloseBar{padding:8px 14px;min-height:52px}#modal>.modalBody{padding:16px 18px 20px;scroll-padding:16px}#modal.taskSide[open]{width:100%;max-height:100dvh}#modal.projectSettingsMenu[open]{width:auto;max-height:85dvh}#modal .modalBody label.checkRow{min-height:44px}}

#modal>.modalCloseBar{justify-content:space-between;gap:12px}#modal .modalHeaderTitle{flex:1;min-width:0;margin:0;font-size:15px;line-height:24px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#modal .modalCloseButton{flex:none}#modal>.modalCloseBar:has(>.modalCloseButton:only-child){justify-content:flex-end}

.accessReadiness{padding:14px 0 14px 14px;border-left:2px solid #b4c3b9;color:#52635a}.accessReadiness p{font-size:12px;line-height:19px;margin:6px 0;color:#8b94a0}.accessReadiness a,.accessSection a,.accessPreviewLink{font-size:12px;color:#657b72}.accessSection{border-top:1px solid #eceff2;padding:20px 0}.accessSteps{padding-left:20px;font-size:13px;color:#77828f}.accessSteps li{padding:5px 0}
/* Keep demonstration controls out of the phone header. */
@media(max-width:600px){body main>header .tools{display:none!important}body main>header{height:auto!important;min-height:52px!important;box-sizing:border-box;padding:14px 18px!important;align-items:center!important;flex-wrap:nowrap!important}body main>header>b{min-width:0;line-height:24px}}
body.mobile main>header .tools{display:none!important}

.iosClock{padding:0!important;border:1px solid #dfe1e4!important;border-radius:18px!important;background:#fff!important;width:min(360px,calc(100vw - 24px))!important;max-height:90dvh!important;box-shadow:0 18px 60px #0003!important;overflow:hidden!important}.iosClock::backdrop{background:#0005}.iosClockBar{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf0f2}.iosClockBar button,.iosClockClear{border:0!important;background:transparent!important;color:#326baf!important;font-size:14px!important;min-height:40px!important;margin:0!important;padding:8px 12px!important;width:auto!important}.iosClockBar b{font-size:15px}.iosClockWheels{position:relative;display:grid;grid-template-columns:1.2fr 1fr 1fr;margin:12px 20px}.iosClockWheels:before{content:'';position:absolute;top:72px;left:0;right:0;height:36px;border-radius:9px;background:#f0f1f3;pointer-events:none}.iosClockWheel{position:relative;height:180px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;padding:72px 0;box-sizing:border-box;overscroll-behavior:contain;touch-action:pan-y}.iosClockWheel::-webkit-scrollbar{display:none}.iosClockWheel button{display:block;width:100%!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;font-size:20px!important;line-height:36px!important;text-align:center;color:#979ba3;scroll-snap-align:center;border-radius:0!important}.iosClockWheel button[aria-selected=true]{color:#252a30;font-weight:650}.iosClockClear{display:block;margin:0 auto 10px!important;color:#7a8089!important}@media(max-width:600px){.iosClock{margin:auto auto max(12px,env(safe-area-inset-bottom))!important;position:fixed!important;inset:auto 0 0!important;border-radius:20px!important}}
