/* The first paint uses the current palette before account data and shell initialization. */
:root{color:#19212a;background:#f5f6f7;font-family:'Segoe UI',system-ui,sans-serif}
body{background:#f5f6f7;color:#19212a}
body>header{background:#fff;color:#19212a;border-bottom:1px solid #e5e8e7;box-shadow:none}
body>header b{font-size:20px;letter-spacing:-.5px}body>header small{color:#69717b}
#appLoading{display:none}
body.app-loading #appLoading{display:block;padding:28px 0;font-size:15px;color:#69717b}
body.app-loading #app,body.app-loading main>.notice,body.app-loading>.app-legal-links{display:none}
/* Prototype-inspired presentation. Existing workflows and status colors stay intact. */
body.workspace-shell{--workspace-ink:#19212a;--workspace-muted:#69717b;--workspace-accent:#d85f36;--workspace-dark:#101820;background:#f5f6f7;color:var(--workspace-ink);font-family:'Segoe UI',system-ui,sans-serif;min-height:100dvh;height:auto;overflow:auto;padding-left:236px}
body.workspace-shell>header{background:#fff;color:#19212a;border-bottom:1px solid #e5e8e7;padding:23px 36px;min-height:80px;box-shadow:none}
body.workspace-shell>header b{font-size:20px;letter-spacing:-.5px}body.workspace-shell>header small{font-size:12px;color:#69717b}
body.workspace-shell>main{width:100%;max-width:1420px;margin:0 auto;padding:18px 36px 40px;height:auto;overflow:visible;display:block}
.workspace-shell .app-nav,.workspace-shell .app-nav[hidden]{display:flex!important;position:fixed;inset:0 auto 0 0;width:236px;height:100dvh;background:#101820;color:#e8edec;flex-direction:column;gap:5px;border:0;border-radius:0;padding:28px 16px 20px;margin:0;z-index:35;overflow-y:auto;white-space:normal}
.workspace-shell .app-nav button{display:flex;align-items:center;flex:0 0 auto;gap:12px;width:100%;min-height:43px;text-align:left;justify-content:flex-start;padding:11px 13px;margin:0;border:0;background:transparent;box-shadow:none;color:#aeb8c0;font-size:13px;font-weight:650;border-radius:10px}
.workspace-shell .app-nav button:hover{background:#202b32;color:white}.workspace-shell .app-nav button.active{background:#2b343b;color:white}.workspace-shell .app-nav button.active svg{color:#ff936b}.workspace-shell .app-nav svg{width:19px;height:19px;flex:0 0 19px}
.workspace-brand{display:flex;align-items:center;gap:11px;padding:0 10px 30px}.workspace-brand>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e66b40;color:white;font-size:24px;font-weight:800}.workspace-brand b{font-size:19px;letter-spacing:-.5px;color:white}.workspace-brand small{display:block;font-size:9px;letter-spacing:1.7px;color:#96a0a8;margin-top:3px}.workspace-nav-label{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#8998a3;padding:0 13px 10px}.workspace-nav-foot{margin-top:auto;border-top:1px solid #2d353b;padding:20px 13px 0;color:#a5afb7;font-size:12px;line-height:1.6}
.workspace-shell .app-toolbar{padding:14px 0 20px;margin-bottom:20px;gap:18px;border-bottom:1px solid #e5e8e7}.workspace-shell .location-picker{max-width:300px}.workspace-shell .location-picker select{font-size:14px;padding:11px 13px;border-color:#dce1e0;border-radius:10px;box-shadow:none}.workspace-shell .location-picker>span{color:#69717b;letter-spacing:1.5px}.workspace-shell .account-chip{font-size:13px}.workspace-shell .account-chip small{color:#69717b}.workspace-shell .avatar{background:#eef0f2;color:#53606a;border:1px solid #e0e4e8}.workspace-shell .signout{color:#69717b}
.workspace-shell .page-heading{margin:25px 0 22px}.workspace-shell .page-heading h1{font-size:30px;line-height:1.15;letter-spacing:-1.1px;font-weight:750;color:#19212a}.workspace-shell .page-heading p{color:#69717b;line-height:1.5}.workspace-shell h2{color:#19212a;font-weight:700;letter-spacing:-.35px}.workspace-shell h3{letter-spacing:-.2px}.workspace-shell p{line-height:1.6}
.workspace-shell section{border-color:#e5e8e7;border-radius:18px;box-shadow:0 12px 30px #19212a07;background:white;padding:23px}.workspace-shell input,.workspace-shell select,.workspace-shell textarea{border-color:#dce1e0;border-radius:10px;color:#19212a;background:white}.workspace-shell input:focus-visible,.workspace-shell select:focus-visible,.workspace-shell textarea:focus-visible{outline:2px solid #e99372;outline-offset:2px}.workspace-shell button:focus-visible,.workspace-shell a:focus-visible{outline:3px solid #e99372;outline-offset:3px}
.workspace-shell button:not(.app-tile):not(.signout):not(.account-chip):not(.tracker-count):not(.message-row):not(.person-row):not(.candor-list-row):not(.text-edit):not(.writing-assistant-button){border-radius:10px}
.workspace-shell button.secondary{background:#f0f2f1;color:#39454a;border-color:#dfe4e2}.workspace-shell .app-back,.workspace-shell .app-home-button{background:white;color:#46525b;border:1px solid #dfe4e2}
.workspace-shell.app-home .employee-launcher,.workspace-shell .employee-launcher.with-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:20px;height:auto;min-height:0}
.workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:154px;min-height:154px;background:white;border:1px solid #e5e8e7;border-radius:17px;padding:19px;box-shadow:0 10px 24px #19212a05;color:#19212a;display:grid;grid-template-columns:1fr;grid-template-rows:39px 22px 20px 18px;gap:5px;text-align:left;align-content:start;justify-items:start;position:relative;transition:transform .15s,box-shadow .15s,border-color .15s}
.workspace-shell .app-tile:hover{transform:translateY(-2px);box-shadow:0 14px 30px #19212a0b!important;border-color:#e0b49e!important}.workspace-shell .app-tile b{font-size:14px;font-weight:700}.workspace-shell .app-tile small{font-size:12px;color:#69717b;margin:0}.workspace-shell .app-tile .launcher-icon{width:36px;height:36px;border-radius:10px;background:#fff0e8;color:#bb5c39;margin:0}.workspace-shell .app-tile .launcher-icon svg{width:21px;height:21px}.workspace-shell .app-tile.training .launcher-icon{background:#f9e9e5;color:#b95d4e}.workspace-shell .app-tile.documents .launcher-icon{background:#eaf0f7;color:#5b7699}.workspace-shell .app-tile.inbox .launcher-icon{background:#eee9f4;color:#7b6397}.workspace-shell .app-tile.team .launcher-icon{background:#e6f3ed;color:#468264}
.workspace-shell .home-compliance-alert{border-radius:16px;background:#fff7e7;border:1px solid #f2dfb9;box-shadow:none;padding:18px 21px}.workspace-shell .home-compliance-alert button{background:#101820;color:white}.workspace-shell .personal-compliance{margin-top:9px;font-size:12px}.workspace-shell .manager-extras{margin:22px 0;display:flex;gap:10px}.workspace-shell .app-legal-links{margin:28px 28px 0;padding:22px;border-top:1px solid #e5e8e7;color:#69717b}
.workspace-shell .attendance-overview{background:#f9faf8;border-color:#e5e8e7}.workspace-shell .attendance-period-table .tracker-row{background:#f9faf8}.workspace-shell .message-row{border-color:#e5e8e7}.workspace-shell .candor-master{border-color:#e5e8e7;box-shadow:0 12px 30px #19212a07}.workspace-shell .candor-answer h3{color:#263644}.workspace-shell .employee-action-card{border-color:#e5e8e7;background:white}
/* Full-page readers retain their dedicated fit-to-page behavior. */
body.workspace-shell.document-reader-mode{padding-left:0}.workspace-shell.document-reader-mode .app-nav{display:none!important}
@media(min-width:781px){.workspace-shell>aside[aria-label='Demo controls'],.workspace-shell>[aria-label='Demo controls']{margin-left:0}.workspace-shell .app-page{min-width:0}.workspace-shell .grid{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}}
@media(max-width:1100px) and (min-width:781px){body.workspace-shell{padding-left:210px}.workspace-shell .app-nav{width:210px;padding-left:12px;padding-right:12px}body.workspace-shell>main{padding-left:24px;padding-right:24px}.workspace-brand{gap:9px;padding-left:5px}.workspace-brand b{font-size:17px}.workspace-shell.app-home .employee-launcher{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){body.workspace-shell{padding-left:0}body.workspace-shell>header{min-height:64px;padding:17px 20px}body.workspace-shell>main{padding:14px 18px 32px}.workspace-shell .app-nav,.workspace-shell .app-nav[hidden]{position:sticky;top:0;inset:auto;width:100%;height:auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:9px 0;gap:5px;background:#f5f6f7;z-index:20;border-bottom:1px solid #e5e8e7;margin:0 0 15px}.workspace-shell .app-nav button{width:auto;min-height:37px;padding:9px 12px;color:#58656e;background:white;border:1px solid #e3e7e5;font-size:12px;white-space:nowrap;gap:7px}.workspace-shell .app-nav button.active{background:#101820;color:white;border-color:#101820}.workspace-shell .app-nav svg{width:16px;height:16px;flex-basis:16px}.workspace-brand,.workspace-nav-label,.workspace-nav-foot{display:none}.workspace-shell .app-toolbar{margin-bottom:10px;padding:10px 0 14px;flex-wrap:wrap}.workspace-shell .location-picker{max-width:none;min-width:100%}.workspace-shell .page-heading{margin:19px 0}.workspace-shell .page-heading h1{font-size:26px}.workspace-shell.app-home .employee-launcher,.workspace-shell .employee-launcher.with-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:143px;min-height:143px;padding:15px;grid-template-rows:36px 22px 18px 18px;gap:4px}.workspace-shell .app-tile small{font-size:11px}.workspace-shell section{padding:18px;border-radius:15px}.workspace-shell .app-legal-links{margin:20px 18px 0;padding:20px 0}.workspace-shell .account-chip>span:last-child{max-width:185px}}
@media(prefers-reduced-motion:reduce){.workspace-shell .app-tile{transition:none}.workspace-shell .app-tile:hover{transform:none}}

body.workspace-shell.document-reader-mode>main{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:6px;padding-bottom:6px;margin:0 auto;max-width:1150px}body.workspace-shell.document-reader-mode{height:100dvh;overflow:hidden;display:flex;flex-direction:column}body.workspace-shell.document-reader-mode>header{min-height:0;padding-top:7px;padding-bottom:7px;flex:0 0 auto}

/* One palette: slate surfaces, restrained terracotta accents, semantic status colors. */
body.workspace-shell{color:#26313a;font-size:15px;background:#f5f6f7}
body.workspace-shell>header{display:none}
body.workspace-shell>main{padding-top:16px;max-width:1360px}
.workspace-shell main>.notice{font-size:10px;color:#7a838c;margin:0 0 10px;letter-spacing:.02em}
.workspace-shell .app-toolbar{margin:0 -36px;padding:17px 36px;background:#fff;border-bottom:1px solid #e4e7eb;min-height:82px}
.workspace-shell .location-picker{max-width:270px}.workspace-shell .location-picker select{font-size:13px;background:#f8f9fa;border-color:#e0e4e8;min-height:40px;box-shadow:none}
.workspace-shell .app-top-navigation{display:flex;align-items:center;gap:8px;padding:15px 0 0;margin:0;min-height:45px}
.workspace-shell .app-top-navigation button{min-height:32px;height:32px;font-size:11px;padding:6px 10px;margin:0;background:transparent;color:#68747e;border:1px solid #dfe4e8;box-shadow:none}
.workspace-shell .app-top-navigation #reportBug{margin-left:auto;background:transparent;color:#68747e;border-color:transparent}
.workspace-shell .page-heading{margin:25px 0 20px}.workspace-shell .page-heading h1{font-size:28px;font-weight:720;letter-spacing:-.9px;color:#26313a}.workspace-shell .page-heading p{font-size:13px;color:#75808a}
.workspace-shell.app-home .page-heading{background:transparent;min-height:0;padding:0;border:0;border-radius:0;margin:27px 0 20px}.workspace-shell.app-home .page-heading h1{color:#26313a;font-size:30px;margin:0 0 6px}.workspace-shell.app-home .page-heading:after{display:none}
.workspace-shell.app-home .personal-compliance{display:inline-flex;align-items:center;background:white!important;color:#596671!important;border:1px solid #e2e6e9!important;padding:7px 10px;min-height:32px;font-size:11px;margin-top:12px;box-shadow:none}
.workspace-shell .app-tile .launcher-icon,.workspace-shell .app-tile.training .launcher-icon,.workspace-shell .app-tile.documents .launcher-icon,.workspace-shell .app-tile.inbox .launcher-icon,.workspace-shell .app-tile.team .launcher-icon{background:#f5eee9;color:#a96446;border-radius:10px}
.workspace-shell .app-tile:hover{border-color:#cbbdb4!important;box-shadow:0 6px 18px #26313a08!important}
.workspace-shell.app-home .employee-launcher,.workspace-shell .employee-launcher.with-directory{gap:15px;margin-top:20px}
.workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:142px;min-height:142px;border-radius:13px;box-shadow:0 3px 12px #26313a03;padding:19px;grid-template-rows:36px 20px 18px 16px;gap:4px}
.workspace-shell section,.workspace-shell .candor-master{border-radius:13px;border-color:#e3e7eb;box-shadow:0 3px 14px #26313a03}
.workspace-shell button:where(:not(.app-tile):not(.tracker-count):not(.message-row):not(.person-row):not(.candor-list-row):not(.attendance-edit-button):not(.attendance-review-needed):not(.compliance-action):not(.writing-assistant-button):not(.text-edit):not(.signout):not(.account-chip):not(.personal-compliance)){background-color:#28353f;color:#fff}
.workspace-shell button.secondary{background:#eef1f3;color:#53616b;border-color:#dfe4e8}
.workspace-shell .app-nav button{background:transparent;color:#aeb8c0}.workspace-shell .app-nav button:hover{background:#202b32;color:#fff}.workspace-shell .app-nav button.active{background:#2b343b;color:white}.workspace-shell .app-nav button.active svg{color:#d39575}
.workspace-shell .app-top-navigation button,.workspace-shell .app-top-navigation #reportBug{background:transparent;color:#68747e}
.workspace-shell .message-compose-actions button:not(:first-child),.workspace-shell .message-filters button{background:white;color:#596671;border-color:#e0e5e8}
.workspace-shell .home-compliance-alert{background:#fffaf1;border-color:#eee2c9;padding:16px 19px;border-radius:12px;box-shadow:none}.workspace-shell .home-compliance-alert button{background:#28353f;color:white}
.workspace-shell .avatar{background:#eef0f2;border-color:#e0e4e8;color:#53606a}.workspace-shell .app-legal-links{font-size:11px;color:#84909a}
.workspace-shell .tracker-back,.workspace-shell .text-edit{background:transparent!important;color:#697682!important}
.workspace-shell button.attendance-review-needed{background:#bd3e46;color:white}.workspace-shell button.attendance-edit-button{background:#fff2c8;color:#71561b;border-color:#ead598}
.workspace-shell .attendance-period-table,.workspace-shell .attendance-review-summary,.workspace-shell .attendance-overview{color:#3b4852}.workspace-shell .tracker-group:not(.no_call_no_show):not(.shift_pickup){background:#f7f8f9}.workspace-shell .tracker-count{color:#3b4852}
.workspace-shell .app-tile .unread-count{right:13px;top:13px}.workspace-shell .maintenance-tile-status{font-size:10px}
@media(max-width:1100px) and (min-width:781px){.workspace-shell .app-toolbar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}}
@media(max-width:780px){body.workspace-shell>header{display:block;padding:17px 18px;min-height:0;background:white;border-bottom:1px solid #e4e7eb}body.workspace-shell>header small{display:none}.workspace-shell .app-toolbar{margin:0 -18px;padding:14px 18px;min-height:0}.workspace-shell .app-top-navigation{padding-top:12px}.workspace-shell .app-nav,.workspace-shell .app-nav[hidden]{margin-top:12px;background:#f5f6f7;padding:9px 0}.workspace-shell .app-nav button{background:white;color:#63707b;border:1px solid #e0e5e8}.workspace-shell .app-nav button.active{background:#28353f;color:white;border-color:#28353f}.workspace-shell .page-heading h1{font-size:25px}.workspace-shell.app-home .page-heading{padding:0;margin:20px 0;min-height:0}.workspace-shell.app-home .page-heading h1{font-size:27px}.workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:140px;min-height:140px;padding:15px}.workspace-shell .app-tile b{font-size:13px}.workspace-shell .app-tile small{font-size:11px;white-space:normal;line-height:1.35}}
.workspace-shell .employee-training-category.secondary{background:#fff;color:#2c3943;border:1px solid #e1e6ea;box-shadow:0 2px 7px #26313a03;border-radius:12px}.workspace-shell .employee-training-category.secondary:hover{border-color:#c2cbd2;background:#fff}.workspace-shell a{color:#596976}.workspace-shell .app-legal-links a{color:#7b8790}.workspace-shell .training-category-head,.workspace-shell .training-category-title{color:#2c3943}.workspace-shell button.danger{background:#bd3e46;color:#fff}
@media(min-width:1200px){.workspace-shell.app-home .employee-launcher,.workspace-shell .employee-launcher.with-directory{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:148px;min-height:148px}}
@media(min-width:781px){.workspace-shell.app-home .app-top-navigation{position:relative;top:24px;height:0;min-height:0;padding:0;justify-content:flex-end;z-index:1}.workspace-shell.app-home .page-heading{padding-right:240px}.workspace-shell.app-home .page-heading>div{width:100%}}


/* Home tiles provide navigation; inner pages retain the sidebar. */
body.workspace-shell.app-home{padding-left:0}
.workspace-shell .app-nav[hidden]{display:none!important}


body.workspace-shell.app-home>header{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:18px 36px;background:#fff;border-bottom:1px solid #e4e7eb}
body.workspace-shell.app-home>header b{font-size:26px;letter-spacing:-.6px;color:#26343e}
body.workspace-shell.app-home>header b span{font-weight:500}
@media(max-width:780px){body.workspace-shell.app-home>header{padding:16px 18px;min-height:64px}body.workspace-shell.app-home>header b{font-size:24px}}


.personal-record-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.personal-record-pagination button{margin:0;padding:8px 13px;min-height:36px}.personal-record-pagination span{font-size:13px;color:#69717b}.personal-record-pagination button:disabled{opacity:.4;cursor:default}

/* Messages: one neutral inbox surface with explicit text contrast. */
.workspace-shell #messageHub{background:#fff;border:1px solid #dfe3e8;border-radius:14px;box-shadow:none;color:#25313c}
.workspace-shell #messageHub .inbox-row{background:#fff;color:#25313c;border:0;border-bottom:1px solid #e3e7ec;border-left:3px solid transparent;border-radius:0;box-shadow:none;margin:0;padding:17px 14px;text-align:left;min-height:90px}
.workspace-shell #messageHub .inbox-row.is-unread{background:#f5f7fa;border-left-color:#486a91}
.workspace-shell #messageHub .inbox-row:hover{background:#edf1f6}
.workspace-shell #messageHub .inbox-row .inbox-row-heading b{color:#202c38;font-size:16px;font-weight:550;line-height:1.5}
.workspace-shell #messageHub .inbox-row.is-unread .inbox-row-heading b{font-weight:750;color:#182634}
.workspace-shell #messageHub .inbox-row .inbox-preview{color:#42515f;font-size:14px;line-height:1.6;font-weight:400;margin-top:4px}
.workspace-shell #messageHub .inbox-row .inbox-meta,.workspace-shell #messageHub .inbox-row .inbox-row-heading time{color:#596879;font-size:12px;font-weight:400}
.workspace-shell #messageHub .inbox-chevron{color:#64748b}
.workspace-shell #messageHub .message-filters{background:#f1f3f6;border:1px solid #e0e5eb;box-shadow:none}
.workspace-shell #messageHub .message-filters button{color:#445365;background:transparent;box-shadow:none;border:0}
.workspace-shell #messageHub .message-filters button[aria-pressed=true]{background:#34485e;color:#fff;box-shadow:none}
.workspace-shell #messageHub>label{color:#344255;font-size:14px}
.workspace-shell #messageHub input{background:#fff;color:#25313c;border-color:#cbd3dd}
.workspace-shell #messageHub input::placeholder{color:#64748b}
.workspace-shell #messageHub .inbox-badge{background:#e9edf2;color:#435167;font-weight:650}
.workspace-shell #messageHub .inbox-badge.new{background:#e5eef9;color:#234f80}
.workspace-shell #messageHub .inbox-badge.action{background:#fbe9e7;color:#9a3026}
.workspace-shell #messageHub .inbox-badge.pending{background:#fff0cb;color:#795300}
.workspace-shell #messageHub #messageComposeOptions button.secondary{background:#fff;color:#34485e;border:1px solid #ccd4df}
.workspace-shell #messageHub #hubStatus{color:#596879}
@media(max-width:600px){.workspace-shell #messageHub{padding:14px}.workspace-shell #messageHub .inbox-row{padding:15px 10px}.workspace-shell #messageHub .inbox-row-heading{display:block}.workspace-shell #messageHub .inbox-row-heading time{display:block;margin-top:3px}.workspace-shell #messageHub .inbox-row-footer{flex-wrap:wrap;gap:8px}}

.personal-record-pagination[hidden]{display:none!important}.workspace-shell #messageHub .inbox-badge.sent{background:#edf0f5;color:#435a73}.workspace-shell #messagePagination button{background:#fff;color:#34485e;border:1px solid #ccd4df}.workspace-shell #messagePagination button:disabled{opacity:.4}

/* Shared neutral interaction states. Status colors retain their meanings. */
body.workspace-shell{--ryse-line:#e1e6ec;--ryse-ink:#26343e;--ryse-muted:#647180;--ryse-focus:#557a9f;--ryse-hover:#edf1f5}
.workspace-shell button.secondary:hover:not(:disabled){background:#e4eaf0;color:#304357;border-color:#b7c4d1}
.workspace-shell :is(.teammate-row,.person-row,.candor-list-row,.employee-lesson-row,.employee-training-category,.employment-value,.module-tile):hover:not(:disabled){background:#f0f3f7;color:#26343e;border-color:#bac7d4}
.workspace-shell .teammate-actions button:hover:not(:disabled){background:#edf1f5;border-color:#bac7d4;color:#26343e}
.workspace-shell button.account-chip:hover{background:#f1f4f7;border-color:#d4dce5;color:#26343e}
.workspace-shell .history-entry>summary:hover{background:#f0f3f7}
.workspace-shell .history-entry>summary strong{color:#34485b}
.workspace-shell .employment-value,.workspace-shell .profile-employment-fields .employment-value{background:#f7f9fb;color:#34485b;border-color:#dce3ea}
.workspace-shell .maintenance-row:hover{background:#edf1f5!important;border-color:#b7c4d1!important}
.workspace-shell .tracker-count:hover,.workspace-shell .attendance-trackers .tracker-group:not(.lifetime-tracker) .tracker-count:hover{background:#e9eef4;border-color:#b7c4d1}
.workspace-shell .tracker-count.selected-tracker{background:#e5edf6;border-color:#7893af;box-shadow:0 0 0 1px #7893af}
.workspace-shell .tracker-count.selected-tracker span{color:#354f6b}
.workspace-shell .app-top-navigation :is(#appBack,#appHome,#reportBug):hover{background:#e9eef4;border-color:#c1cdda;color:#34485b}
.workspace-shell #messageComposeOptions button:not(:first-child):hover{background:#edf1f5;color:#34485b;border-color:#bac7d4}
.workspace-shell :is(button,a,summary):focus-visible{outline:3px solid #557a9f;outline-offset:3px}
.workspace-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{outline:2px solid #557a9f;outline-offset:1px;border-color:#7893af;box-shadow:0 0 0 3px #e8eff7}
.workspace-shell .native-toc-link:hover{background:#e8eef5;color:#2f485f}
.workspace-shell :is(.incident-context,.candor-guidance,.candor-compose .candor-guidance,.help-bubble.assistant,.help-answer){background:#f3f5f8;color:#3b4b5c;border-color:#dce3ea}
.workspace-shell :is(.teammate-name small,.teammate-actions span,.maintenance-row small,.message-post small){color:#637181}
.workspace-shell .employee-training-category .category-icon{background:#eef1f5;color:#6b7887}
@media(max-width:780px){.workspace-shell .app-nav button:hover{background:#e9eef4;color:#34485b}.workspace-shell .app-nav button.active:hover{background:#344554;color:#fff}}
.workspace-shell .teammate-actions button{background:#fff;color:#2c3e50;border:1px solid #dce3ea;box-shadow:none}
.workspace-shell .teammate-actions button:hover:not(:disabled){background:#edf1f5;color:#26343e;border-color:#bac7d4}
.workspace-shell .teammate-actions button span{color:#5a6a7b}
.workspace-shell .profile-employment-fields .employment-value :is(small,span){color:#637181}
.workspace-shell :is(.employee-lesson-row,.teammate-row,.compliance-person,.compliance-missing-person,.category-library-lesson,.lesson-library-card){background:#fff;color:#34485b;border-color:#dce3ea}
.workspace-shell :is(.employee-lesson-row,.teammate-row,.compliance-person,.compliance-missing-person,.category-library-lesson,.lesson-library-card):hover:not(:disabled){background:#edf1f5;color:#26343e;border-color:#bac7d4}
/* Handbook reader uses the same slate-and-white palette as the app. */
.workspace-shell .native-reader{background:#fff;color:#26343e;border-color:#dce3ea}
.workspace-shell .native-reader-header{background:#fff;color:#26343e;border-color:#dce3ea}
.workspace-shell .native-reader-header h1{color:#26343e}
.workspace-shell .native-reader-header :is(small,label){color:#637181}
.workspace-shell .native-toc{background:#f2f4f7;border-color:#dce3ea;color:#46566a}
.workspace-shell .native-toc h2{color:#637181}
.workspace-shell .native-toc-link{background:#34414d;color:#fff;box-shadow:none}
.workspace-shell .native-toc-link:hover{background:#45596d;color:#fff}
.workspace-shell .native-toc-link[aria-current=true],.workspace-shell .native-toc-link[aria-current=true]:hover{background:#526f8f;color:#fff;box-shadow:inset 3px 0 #a8bfd9}
.workspace-shell .native-article{background:#fff;color:#26343e}
.workspace-shell .native-article :is(h2,h3){color:#26343e}
.workspace-shell .native-article :is(p,li){color:#344255}
.workspace-shell .native-article small{color:#637181}
.workspace-shell .native-section-pager{border-color:#dce3ea}
.workspace-shell .native-reader :is(input,select){background:#fff;color:#26343e;border-color:#cbd4de}
.workspace-shell .native-reader a{color:#405e7c}
.workspace-shell.document-reader-mode .reader-heading{background:#28353f;color:#fff}
.workspace-shell.document-reader-mode .reader-heading :is(h1,.tracker-back){color:#fff!important}
.workspace-shell .pdf-reader-toolbar{background:#f4f6f8;color:#344255;border-color:#dce3ea}
.workspace-shell .pdf-page-scroll{background:#e9edf2}
.workspace-shell :is(.reader-file-actions a,.pdf-accessible-text summary,.document-file-actions a){color:#405e7c}
.workspace-shell #helpPanel{width:min(340px,calc(100vw - 32px));padding:16px;border-color:#dce3ea;box-shadow:0 12px 36px #26343e26;background:#fff;color:#26343e}
.workspace-shell #helpPanel .help-welcome{font-size:15px;line-height:1.5;margin:14px 0 4px;color:#344255}
.workspace-shell #helpPanel .help-disclosure{font-size:11px;color:#637181;margin:8px 0}
.workspace-shell #helpPanel #helpMode{color:#637181;font-size:11px}
.workspace-shell #helpPanel #helpConversation:empty,.workspace-shell #helpPanel .help-actions:empty{display:none}
.workspace-shell #helpPanel form{margin-top:8px;gap:8px}
.workspace-shell #helpPanel form>label{margin:6px 0;font-size:12px;color:#526174}
.workspace-shell #helpPanel form>button{margin:0;padding:8px 13px;min-height:36px;font-size:13px}
.workspace-shell #helpPanel [hidden]{display:none!important}

.workspace-shell .native-article a.native-policy-reference{color:#405e7c;text-decoration:underline;text-underline-offset:3px;font-weight:600}.workspace-shell .native-article a.native-policy-reference:hover{color:#263f59;background:#edf2f8;border-radius:3px}

.helper-review-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.helper-review-filters label{flex:1;min-width:140px}.helper-review-entry{border-top:1px solid #e2e7ec;padding:12px 0}.helper-review-entry summary{cursor:pointer;padding:8px 0}.helper-review-entry summary small{display:block;color:#637181;margin-top:6px}.helper-review-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.helper-review-entry form{background:#f5f7fa;padding:15px;border:1px solid #e0e5eb;border-radius:10px;margin:16px 0}.helper-hold input,.helper-example-form input[type=checkbox]{display:inline-block;width:auto;margin:0 7px 0 0}.helper-rating{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 12px;font-size:11px;color:#637181}.workspace-shell #helpPanel .helper-rating button{background:#fff;color:#435a73;border:1px solid #ccd5df;min-height:30px;margin:0;padding:5px 8px;font-size:11px}.helper-rating small{flex-basis:100%}.helper-examples{margin:18px 0}.workspace-shell #helpPanel .help-disclosure a{color:#405e7c;text-decoration:underline}
/* Home training status uses the same semantic colors as the personal status light. */
.workspace-shell .app-tile .training-count{display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;color:#334155;background:#eef2f6}
.workspace-shell .app-tile .training-count.yellow{color:#784500;background:#fff0bc;border-color:#e9c65b}
.workspace-shell .app-tile .training-count.red{color:#9f2329;background:#ffe4e6;border-color:#efa4aa}
.workspace-shell .app-tile .training-count .compliance-light{width:9px;height:9px;min-width:9px}

/* Public account screens share the workspace's neutral palette. */
body.signed-out{background:#f5f6f7;color:#26313a;font-family:'Segoe UI',system-ui,sans-serif}
body.signed-out .auth-brand{color:#26313a;letter-spacing:2px}
body.signed-out .brand-symbol{background:#29343e;color:#fff;box-shadow:none}
body.signed-out .auth-card{background:#fff;border:1px solid #e0e4e8;box-shadow:0 12px 36px #26313a08}
body.signed-out .auth-intro,body.signed-out .remember-choice,body.signed-out .create-prompt,body.signed-out .auth-footnote,body.signed-out .signup-note,body.signed-out .invite-note{color:#697580}
body.signed-out .auth-card input{background:#fff;border-color:#cbd2da;color:#26313a;accent-color:#394957}
body.signed-out .auth-card input:focus{outline:2px solid #9aa9b7;outline-offset:2px}
body.signed-out .auth-primary{background:#29343e;color:#fff;box-shadow:none}
body.signed-out .auth-primary:hover{background:#3c4c5b}
body.signed-out .auth-link,body.signed-out .password-field button{background:transparent;color:#46586a}
body.signed-out .auth-link:hover,body.signed-out .password-field button:hover{background:#eef1f4;color:#26313a}
body.signed-out .auth-secondary{background:#fff;border-color:#cbd2da;color:#394957}
body.signed-out .auth-secondary:hover{background:#eef1f4}
body.signed-out .auth-message{background:#f0f3f6;border-color:#d5dde5;color:#394957}
body.signed-out .auth-message.error{background:#fff1f0;border-color:#e8c7c4;color:#963d35}
body.signed-out .auth-divider{background:#e2e6eb}
body.signed-out .app-legal-links,body.signed-out .app-legal-links a{color:#697580}
body.signed-out button:focus-visible,body.signed-out a:focus-visible{outline:3px solid #9aa9b7;outline-offset:3px}
body.signed-out .auth-card,body.signed-out .auth-card h1,body.signed-out .auth-card label{color:#26313a}

/* First sign-in notices use the same neutral account-screen styling. */
body:has(.legal-setup){background:#f5f6f7;color:#26313a;font-family:'Segoe UI',system-ui,sans-serif}
body:has(.legal-setup)>header,body:has(.legal-setup) main>.notice{display:none}
body:has(.legal-setup)>main{max-width:860px;padding:38px 24px 12px}
.legal-setup{background:#fff;color:#26313a;border:1px solid #e0e4e8;border-radius:16px;padding:30px;box-shadow:0 10px 32px #26313a06}
.legal-setup .setup-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.legal-setup .setup-identity strong{font-size:22px;letter-spacing:-.5px}.legal-setup .setup-identity span{font-size:12px;color:#697580}
.legal-setup .setup-account{font-size:12px;color:#697580;margin:0 0 24px;overflow-wrap:anywhere}
.legal-setup .page-heading{margin:0 0 20px}.legal-setup h1,.legal-setup h2,.legal-setup label{color:#26313a}.legal-setup h1{font-size:27px}.legal-setup .page-heading p,.legal-setup small,.legal-setup .muted{color:#697580}
.legal-setup .notice{background:#f1f4f7;border:1px solid #e0e5eb;color:#52616e;border-radius:10px;padding:14px;line-height:1.6}
.legal-setup .legal-policy-link{border-color:#e2e6eb;padding:20px 0;gap:16px}.legal-setup .legal-policy-link h2{font-size:17px;margin:0 0 5px}
.legal-setup .legal-read-link{background:#f0f3f6;border:1px solid #d6dfe6;color:#394957;border-radius:8px;padding:9px 15px;white-space:nowrap}.legal-setup .legal-read-link:hover{background:#e4eaf0}
.legal-setup .legal-choice{background:#fff;border-color:#dce2e8;color:#394957;line-height:1.6}.legal-setup input[type=checkbox]{accent-color:#394957;flex-shrink:0}
.legal-setup button{background:#29343e;color:#fff;box-shadow:none}.legal-setup button:hover{background:#3c4c5b}.legal-setup button.secondary{background:#eef1f4;color:#46586a;border:1px solid #dce2e8}
.legal-setup button:focus-visible,.legal-setup a:focus-visible,.legal-setup input:focus-visible{outline:3px solid #9aa9b7;outline-offset:3px}
body:has(.legal-setup) .app-legal-links,body:has(.legal-setup) .app-legal-links a{color:#697580}
@media(max-width:560px){body:has(.legal-setup)>main{padding:18px 14px}.legal-setup{padding:20px}.legal-setup .setup-identity{align-items:baseline}.legal-setup .setup-account{line-height:1.6}.legal-setup h1{font-size:24px}}

/* A compact, calm welcome step rather than a second dashboard. */
body:has(.legal-setup)>main{max-width:700px;padding-top:42px}
.legal-setup{padding:32px 34px;border-radius:20px;box-shadow:0 10px 40px #26313a06;border-color:#e4e8ed;margin:0}
.legal-setup .setup-identity{margin-bottom:12px}.legal-setup .setup-identity strong{display:flex;align-items:center;gap:9px;font-size:18px}.legal-setup .setup-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#29343e;color:#fff;font-size:18px;font-weight:750}.legal-setup .setup-identity>span{font-size:11px;color:#7a8692}
.legal-setup .setup-account{margin:0 0 27px;padding-bottom:23px;border-bottom:1px solid #edf0f3;color:#7a8692;font-size:12px}
.legal-setup .page-heading{display:block;position:relative;padding:0;margin:0 0 23px}.legal-setup .page-heading h1{font-size:28px;letter-spacing:-.9px;line-height:1.2;margin:0 0 9px}.legal-setup .page-heading p{font-size:14px;line-height:1.6;color:#697580;margin:0;max-width:440px}.legal-setup #legalSignOut{position:absolute;right:0;top:-70px;background:transparent;border:0;font-size:11px;padding:4px;margin:0;color:#697580}.legal-setup .setup-identity>span{margin-right:61px}
.legal-setup .legal-policy-link{background:#f8f9fb;border:1px solid #e5e9ee;border-radius:11px;padding:16px 17px;display:flex;align-items:center;justify-content:space-between;margin:10px 0;gap:14px}.legal-setup .legal-policy-link h2{font-size:15px;font-weight:650;margin:0 0 4px}.legal-setup .legal-policy-link small{font-size:11px;color:#7a8692}.legal-setup .legal-read-link{background:#fff;border:1px solid #dce2e8;padding:7px 13px;font-size:12px;text-decoration:none;border-radius:7px}
.legal-setup #legalAccept{margin-top:24px}.legal-setup .legal-choice{display:flex;align-items:flex-start;gap:11px;padding:0;border:0;border-radius:0;background:transparent;margin:17px 0;font-size:13px;font-weight:400;line-height:1.6}.legal-setup .legal-choice input{width:17px;height:17px;margin:2px 0 0;flex:0 0 17px}
.legal-setup .setup-receipt-note{font-size:11px;line-height:1.6;color:#7a8692;margin:20px 0}.legal-setup .setup-continue{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:10px;padding:13px 16px;font-size:14px;font-weight:600;margin:0}
body:has(.legal-setup) .app-legal-links{max-width:640px;margin:17px auto;padding:12px 20px;border:0;font-size:11px;text-align:center;color:#7a8692}body:has(.legal-setup) .app-legal-links p{display:none}body:has(.legal-setup) .app-legal-links small{display:block;margin-top:8px;color:#929ba4}
@media(max-width:560px){body:has(.legal-setup)>main{padding:20px 14px 0}.legal-setup{padding:24px 21px;border-radius:16px}.legal-setup .page-heading h1{font-size:25px}.legal-setup .setup-account{font-size:11px}.legal-setup #legalSignOut{top:-67px}.legal-setup .setup-identity>span{display:none}.legal-setup .legal-policy-link{padding:14px}.legal-setup .legal-choice{font-size:13px}}

/* Portrait phones: compact header, one-page Home and an explicit navigation menu. */
.mobile-nav-toggle{display:none}
@media(max-width:600px){
 body.workspace-shell{padding-left:0;font-size:15px}
 body.workspace-shell>header,body.workspace-shell.app-home>header{display:flex;align-items:center;min-height:54px;padding:13px 16px;background:#fff;border-bottom:1px solid #e3e7ed}
 body.workspace-shell>header b{font-size:20px;letter-spacing:-.5px}body.workspace-shell>header small{display:none}
 body.workspace-shell>main{padding:0 16px 76px;max-width:100%}.workspace-shell main>.notice{display:none}
 .workspace-shell .app-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;margin:0 -16px;padding:8px 16px 12px;min-height:0}
 .workspace-shell .account-chip{grid-column:1;grid-row:1;justify-self:start;min-width:0;min-height:44px;margin:0;padding:4px 0;gap:9px;text-align:left}.workspace-shell .account-chip>span:last-child{max-width:220px}.workspace-shell .account-chip small{font-size:11px}.workspace-shell .avatar{width:32px;height:32px;min-width:32px}
 .workspace-shell .signout{grid-column:2;grid-row:1;min-height:44px;padding:8px 0 8px 10px;margin:0;font-size:12px}
 .workspace-shell .location-picker{grid-column:1/-1;grid-row:2;min-width:0;max-width:none;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:8px;margin:0}
 .workspace-shell .location-picker>span{font-size:9px;letter-spacing:1px}.workspace-shell .location-picker select{width:100%;min-width:0;margin:0;min-height:44px;font-size:16px;padding:9px 11px}
 .workspace-shell .app-top-navigation{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;padding:10px 0;margin:0;min-height:0;border:0}
 .workspace-shell .app-top-navigation :is(#appBack,#appHome,#reportBug,.mobile-nav-toggle){height:44px;min-height:44px;padding:9px 11px;line-height:22px;font-size:12px;margin:0;white-space:nowrap}
 .workspace-shell .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;color:#46586a;border:1px solid #dce2e8}
 .workspace-shell .app-top-navigation #reportBug{width:44px;min-width:44px;margin-left:auto;padding:11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce2e8;background:#fff}.workspace-shell #reportBug svg{width:20px;height:20px;flex:0 0 20px}
 .workspace-shell #reportBug span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .workspace-shell.app-home .app-top-navigation{position:absolute;top:5px;right:13px;width:44px;padding:0;min-height:0;margin:0}.workspace-shell.app-home .app-top-navigation>:not(#reportBug){display:none}.workspace-shell.app-home #reportBug{border:0;background:transparent}
 .workspace-shell .app-nav,.workspace-shell .app-nav[hidden]{display:none!important}.workspace-shell.mobile-nav-open .app-nav:not([hidden]){position:relative;inset:auto;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:auto;max-height:55dvh;overflow-y:auto;overflow-x:hidden;gap:7px;padding:10px;margin:0 0 16px;border:1px solid #dfe5ec;background:#eef2f6;border-radius:12px;z-index:20}
 .workspace-shell .app-nav button{width:100%;min-width:0;min-height:46px;white-space:normal;justify-content:flex-start;padding:10px;font-size:12px;line-height:1.4;margin:0}.workspace-shell .workspace-brand,.workspace-shell .workspace-nav-label,.workspace-shell .workspace-nav-foot{display:none}
 .workspace-shell .page-heading{margin:14px 0 16px;gap:10px;flex-wrap:wrap}.workspace-shell .page-heading h1{font-size:25px;line-height:1.2}.workspace-shell .page-heading p{font-size:13px;line-height:1.5;margin-top:6px}
 .workspace-shell.app-home .page-heading{margin:20px 0 16px;padding:0}.workspace-shell.app-home .page-heading h1{font-size:27px}.workspace-shell.app-home .personal-compliance{margin-top:9px;min-height:32px}
 .workspace-shell.app-home .employee-launcher,.workspace-shell .employee-launcher.with-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px}
 .workspace-shell.app-home .employee-launcher .app-tile,.workspace-shell .employee-launcher.with-directory .app-tile{height:auto;min-height:116px;padding:13px;display:grid;grid-template-rows:30px minmax(18px,auto) auto auto;gap:5px;align-content:start;border-radius:13px;text-align:left}
 .workspace-shell .app-tile .launcher-icon{width:30px;height:30px;border-radius:9px}.workspace-shell .app-tile .launcher-icon svg{width:20px;height:20px}
 .workspace-shell .app-tile>b{display:block;min-height:0;line-height:1.3;font-size:13px;text-align:left}.workspace-shell .app-tile.repairs>b{font-size:12px}.workspace-shell .app-tile>small{display:block;font-size:11px;line-height:1.35;color:#73808b;white-space:normal}.workspace-shell .app-tile .maintenance-tile-status{grid-row:4;line-height:1.4;font-size:10px;white-space:normal}
 .workspace-shell .manager-extras{flex-wrap:wrap;gap:9px;margin:16px 0}.workspace-shell .manager-extras button{min-height:44px;margin:0;font-size:13px}
 .workspace-shell :is(section,article,form,fieldset,.grid>*){min-width:0}.workspace-shell section{padding:17px}.workspace-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;min-height:44px}.workspace-shell textarea{min-height:100px}.workspace-shell fieldset{margin-left:0;margin-right:0}
 .workspace-shell button:not(.app-tile):not(.tracker-count):not(.account-chip):not(.personal-compliance):not(.text-edit){min-height:44px}.workspace-shell .writing-assistant-button{min-height:44px;padding:9px 12px;white-space:normal}
 .workspace-shell #messageHub{padding:14px}.workspace-shell #messageHub .message-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:14px 0;padding:4px}.workspace-shell #messageHub .message-filters button{width:100%;min-width:0;min-height:44px;font-size:12px;padding:8px 4px;margin:0;white-space:nowrap}
 .workspace-shell .maintenance-columns{grid-template-columns:minmax(0,1fr);gap:16px}.workspace-shell .maintenance-recipients{flex-wrap:wrap}.workspace-shell .maintenance-card pre{overflow-wrap:anywhere}
 .workspace-shell .attendance-report-dialog,.workspace-shell .profile-edit-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}.workspace-shell .attendance-time-fields :is(input,label){min-width:0;width:100%}
 .workspace-shell .native-reader-header{padding:14px;gap:12px}.workspace-shell .native-reader-header h1{font-size:20px;overflow-wrap:anywhere}.workspace-shell .native-reader-layout{grid-template-columns:minmax(0,1fr)}.workspace-shell .native-section-pager{flex-wrap:wrap}.workspace-shell .native-section-pager button{flex:1;min-width:0;white-space:normal}
 .workspace-shell .app-legal-links{margin:16px 0 0;padding:16px 0;font-size:11px;text-align:center}.workspace-shell .app-legal-links p{display:none}
 #ryseHelper{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}#ryseHelper .help-launch{width:44px;height:44px;min-width:44px;border-radius:13px}
 .workspace-shell #helpPanel{right:0;bottom:56px;width:calc(100vw - 24px);max-height:75dvh;padding:18px;border-radius:16px}.workspace-shell #helpPanel input{font-size:16px}.workspace-shell #helpPanel .help-heading button{width:44px;min-height:44px;padding:8px}.workspace-shell #helpConversation{max-height:30dvh}
}
/* Native date controls must shrink with the invitation form on portrait phones. */
.workspace-shell #personInvite{min-width:0}
.workspace-shell #personInvite label:has(>input[type=date]){display:grid;grid-template-columns:minmax(0,1fr);min-width:0}
.workspace-shell #personInvite input[type=date]{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;inline-size:100%;min-inline-size:0;max-inline-size:100%;min-height:46px;appearance:none;-webkit-appearance:none;overflow:hidden}
.workspace-shell #personInvite input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
.workspace-shell #personInvite input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}
.workspace-shell #personInvite input[type=date]::-webkit-calendar-picker-indicator{flex:0 0 auto;width:18px;height:18px;margin:0;padding:0}
/* Compact owner-only test-account confirmation. */
.test-cleanup-dialog{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #dfe4e9;border-radius:16px;color:#26333e;background:#fff;box-shadow:0 18px 70px #17263533}
.test-cleanup-dialog::backdrop{background:#17263566}
.test-cleanup-dialog h2{margin:0 0 16px;font-size:22px}
.test-cleanup-dialog p,.test-cleanup-dialog small,.test-cleanup-dialog li{overflow-wrap:anywhere;line-height:1.5}
.test-cleanup-dialog small{display:block;margin-top:16px;color:#697786}
.test-cleanup-dialog details{font-size:13px;color:#536270}
.test-cleanup-dialog summary{cursor:pointer;padding:8px 0}
.test-cleanup-dialog [role=status]:empty{display:none}
.test-cleanup-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px;flex-wrap:wrap}
.test-cleanup-actions button{margin:0;min-height:44px}
.test-cleanup-dialog button:disabled{opacity:.55;cursor:wait}

#pendingAdministrators .person-row small{text-transform:none;overflow-wrap:anywhere;}
#pendingAdministrators .person-row>div{min-width:0;}

.pending-person{padding:14px 0;border-bottom:1px solid var(--line,#e0e5ea);}.pending-person:last-child{border-bottom:0;}.pending-person .person-row small{text-transform:none;overflow-wrap:anywhere;}.pending-person .person-row>div{min-width:0;}.pending-person .team-page-actions{margin-top:10px;gap:8px;}

button.person-profile-button{display:flex;align-items:center;gap:12px;width:100%;padding:14px;text-align:left;background:#f0f3f6;color:#273640;border:1px solid #d9e1e8;border-radius:12px;}button.person-profile-button:hover{background:#e5ebf1;border-color:#b9c6d2;}button.person-profile-button:focus-visible{outline:3px solid #778da1;outline-offset:3px;}.person-profile-name{flex:1;min-width:0;}.person-profile-name small{display:block;overflow-wrap:anywhere;text-transform:none;}button.person-profile-button .admin-badge,button.person-profile-button .demo-label{flex-shrink:0;}@media(max-width:480px){button.person-profile-button{flex-wrap:wrap;}button.person-profile-button .person-profile-name{flex-basis:calc(100% - 60px);}}

/* Keep the primary inbox filters together at phone widths. */
@media(max-width:600px){
 .workspace-shell #messageHub{padding:14px;border-radius:14px;}
 .workspace-shell #messageHub #messageComposeOptions{margin:0 0 16px;}
 .workspace-shell #messageHub #messageComposeOptions button{min-height:44px;padding:10px 14px;font-size:14px;}
 .workspace-shell #messageHub .message-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;box-sizing:border-box;gap:4px;margin:0 0 16px;padding:4px;background:#f1f3f6;}
 .workspace-shell #messageHub .message-filters button{min-height:44px;min-width:0;width:100%;margin:0;padding:8px 4px;font-size:13px;line-height:1.25;white-space:normal;border-radius:7px;}
 .workspace-shell #messageHub .message-filters button[hidden]{display:none!important;}
 .workspace-shell #messageHub .message-filters [data-filter=action],.workspace-shell #messageHub .message-filters [data-filter=awaiting]{grid-column:1/-1;}
 .workspace-shell #messageHub .message-search{display:block;margin:0;font-size:13px;font-weight:600;line-height:1.4;color:#596879;}
 .workspace-shell #messageHub #messageSearch{width:100%;min-width:0;min-height:44px;height:44px;margin:6px 0 0;padding:10px 12px;font-size:16px;line-height:22px;box-sizing:border-box;}
 .workspace-shell #messageRows{margin-top:16px;}
 .workspace-shell #messageRows>p{margin:0;padding:24px 8px;text-align:center;font-size:14px;line-height:1.5;color:#657281;}
 .workspace-shell #messageHub #hubStatus{margin:8px 0 0;}
}

/* Keep Help clear of phone edges and the legal footer. */
@media(max-width:600px){
 #ryseHelper{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));}
 #ryseHelper .help-launch{display:flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;min-height:46px;margin:0;padding:0;border-radius:50%;font-size:23px;line-height:1;box-shadow:0 3px 12px #25313c26;}
 #ryseHelper #helpPanel{bottom:60px;right:0;width:min(340px,calc(100vw - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100dvh - 110px - env(safe-area-inset-bottom,0px));box-sizing:border-box;}
 .app-legal-links{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px));}
}

.help-backdrop[hidden]{display:none!important;}.help-backdrop{display:none;}
#ryseHelper .help-privacy{font-size:11px;color:#637181;margin:8px 0;}
#ryseHelper .help-privacy summary{cursor:pointer;line-height:1.5;}
@media(max-width:600px){
 #ryseHelper[data-open=true] .help-launch{visibility:hidden;}
 #ryseHelper .help-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:#17232e55;backdrop-filter:blur(2px);box-shadow:none;}
 #ryseHelper #helpPanel:not([hidden]){position:fixed;left:12px;right:12px;bottom:calc(12px + var(--help-keyboard-offset,0px) + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:calc(var(--help-visible-height,100dvh) - 36px - env(safe-area-inset-bottom,0px));padding:16px;border-radius:18px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 12px 40px #17232e33;}
 #ryseHelper .help-heading{gap:12px;align-items:center;}#ryseHelper .help-heading b{font-size:18px;}#ryseHelper #helpMode{font-size:11px;}
 #ryseHelper #helpPanel .help-heading button{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:0;font-size:22px;}
 #ryseHelper #helpPanel .help-welcome{margin:12px 0;font-size:15px;line-height:1.45;}
 #ryseHelper #helpPanel .help-privacy{margin:10px 0;font-size:11px;}
 #ryseHelper #helpPanel .help-disclosure{margin:8px 0;font-size:11px;line-height:1.5;}
 #ryseHelper #helpConversation{max-height:min(38dvh,260px);overflow-y:auto;}
 #ryseHelper #helpPanel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:14px 0 0;padding:8px 0 0;background:#fff;position:sticky;bottom:0;}
 #ryseHelper #helpPanel form label{min-width:0;margin:0;font-size:0;}
 #ryseHelper #helpPanel form input{width:100%;height:46px;min-height:46px;box-sizing:border-box;margin:0;padding:10px 12px;font-size:16px;line-height:24px;border-radius:10px;}
 #ryseHelper #helpPanel form>button{height:46px;min-height:46px;margin:0;padding:10px 16px;border-radius:10px;font-size:14px;}
 #ryseHelper #helpPanel #clearHelpChat{grid-column:1/-1;justify-self:start;height:auto;min-height:32px;padding:5px 0;background:transparent;border:0;font-size:12px;}
}

#ryseHelper .help-photo-tools{margin-top:12px;}#ryseHelper .help-photo-toggle{font-size:12px;min-height:36px;padding:6px 10px;margin:0;background:#f2f5f7;color:#34485e;border:1px solid #d7dfe7;}#ryseHelper .help-photo-choices{display:flex;gap:8px;margin-top:8px;}#ryseHelper .help-photo-choices[hidden],#ryseHelper .help-photo-preview[hidden],#ryseHelper .help-photo-notice[hidden]{display:none!important;}#ryseHelper .help-photo-choices button,#ryseHelper [data-remove-photo]{font-size:12px;min-height:40px;padding:8px;margin:0;}#ryseHelper .help-photo-preview{display:flex;gap:12px;align-items:center;margin-top:8px;}#ryseHelper .help-photo-preview img{width:72px;height:72px;object-fit:contain;border-radius:8px;background:#f2f4f6;}#ryseHelper .help-photo-notice,#ryseHelper .help-photo-status{font-size:11px;line-height:1.5;color:#637181;margin:6px 0;}#ryseHelper .help-photo-status:empty{display:none;}#ryseHelper .help-photo-tools input[hidden]{display:none!important;}

/* One message composer: attachment, question, send. */
#ryseHelper #helpPanel form{display:block;margin:12px 0 0;padding:0;}
#ryseHelper #helpPanel .help-composer{display:grid;grid-template-columns:44px minmax(0,1fr) 40px;gap:2px;align-items:center;padding:4px;border:1px solid #cbd4de;border-radius:14px;background:#fff;}
#ryseHelper #helpPanel .help-composer:focus-within{border-color:#7893af;box-shadow:0 0 0 2px #e8eff7;}
#ryseHelper #helpPanel .help-composer label{font-size:0;min-width:0;margin:0;}
#ryseHelper #helpPanel .help-composer input,#ryseHelper #helpPanel .help-composer input:focus{height:44px;min-height:44px;width:100%;margin:0;padding:8px 2px;box-sizing:border-box;border:0;outline:0;box-shadow:none;background:transparent;font-size:16px;line-height:24px;}
#ryseHelper #helpPanel .help-composer .help-photo-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#526477;font-size:28px;font-weight:400;line-height:1;}
#ryseHelper #helpPanel .help-composer .help-photo-toggle:hover{background:#f0f3f6;}
#ryseHelper #helpPanel .help-composer .help-send{display:flex;align-items:center;justify-content:center;min-width:36px;width:36px;height:36px;min-height:36px;margin:0;padding:0;border-radius:50%;font-size:25px;line-height:1;background:#273640;color:#fff;}
#ryseHelper .help-photo-tools{margin-top:0;}#ryseHelper .help-photo-choices{margin:10px 0 0;padding:6px;gap:6px;background:#f3f5f7;border-radius:12px;}#ryseHelper .help-photo-choices button{flex:1;}
#ryseHelper .help-photo-preview{position:relative;display:inline-block;width:64px;height:64px;margin:10px 0 0;}
#ryseHelper .help-photo-preview img{display:block;width:64px;height:64px;object-fit:cover;border:1px solid #dce3ea;border-radius:10px;box-sizing:border-box;}
#ryseHelper .help-photo-preview [data-remove-photo]{position:absolute;top:-10px;right:-10px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;margin:0;padding:0;border-radius:50%;border:2px solid #fff;background:#273640;color:#fff;font-size:21px;line-height:1;}
#ryseHelper .help-photo-notice{font-size:10px;line-height:1.4;margin:6px 0 0;}#ryseHelper .help-photo-status{margin:4px 0 0;}

#ryseHelper #helpPanel .help-composer{display:block;padding:4px;}
#ryseHelper #helpPanel .help-composer-line{display:grid;grid-template-columns:44px minmax(0,1fr) 40px;gap:2px;align-items:center;}
#ryseHelper #helpPanel .help-composer .help-photo-preview{display:block;width:64px;height:64px;margin:10px 8px 6px;}
#ryseHelper #helpPanel .help-composer .help-photo-preview[hidden]{display:none!important;}
#ryseHelper #helpPanel form .help-photo-notice{font-size:10px;line-height:1.4;margin:6px 2px 0;color:#637181;}
