/* Existing Hub palette and control rhythm; no permission decision uses colors. */
#work-shell .hub-page-heading{display:flex;align-items:center;gap:12px;margin:0 0 20px;min-width:0}
#work-shell .hub-page-heading h1{font-size:24px;line-height:32px;margin:0;color:#233449}
#work-shell .hub-page-heading h1::before{content:none!important;display:none!important}
.hub-heading-icon{display:inline-flex;align-items:center;justify-content:center;background:#dceafb;color:#315c83;border:1px solid #a7c8e6;border-radius:7px;flex:0 0 34px;width:34px;height:34px}
.hub-heading-icon svg{width:21px;height:21px}
#work-shell .hub-primary{background:#315682;border:1px solid #315682;color:white;border-radius:4px;min-height:34px;padding:7px 12px;margin:0;font:inherit;font-size:12px}
#work-shell .hub-secondary{background:#e7f0f8;border:1px solid #b4c8da;color:#2e5474;border-radius:4px;min-height:34px;padding:7px 12px;margin:0;font:inherit;font-size:12px}
#work-shell :is(.hub-primary,.hub-secondary):disabled{opacity:.55;cursor:default}
.hub-settings-card{display:block!important;max-width:1100px;padding:18px;border:1px solid #cad8e6;border-radius:6px;background:white}
.hub-settings-card p{font-size:13px;line-height:1.7;color:#53677d}
.hub-setting-choice{display:flex!important;align-items:center;gap:8px;margin:12px 0;font-size:13px}
.hub-setting-choice input,.hub-settings-card input[type=checkbox]{width:17px!important;height:17px;min-height:17px;flex:none;margin:0}
.hub-table-wrap{max-width:100%;overflow-x:auto}.hub-settings-card table{min-width:650px;width:100%;border-collapse:collapse}.hub-settings-card th{background:#eaf0f6;color:#344b66}.hub-settings-card :is(th,td){padding:11px;border:1px solid #d6e0eb;text-align:left}
#work-shell .hub-settings-subnav{margin:3px 0 7px 20px;padding-left:10px;border-left:1px solid #56637b}
#work-shell .hub-settings-subnav>button{width:100%;margin:3px 0!important;font-size:12px!important;min-height:36px!important;padding:8px 10px!important;text-align:left;border:0;background:transparent;color:#eef3fa}
#work-shell .hub-settings-subnav>button.active{background:#405e80;border-radius:4px;box-shadow:inset 3px 0 #98c8ef}
#hub-settings-nav{width:100%;display:grid!important;grid-template-columns:18px minmax(0,1fr) 12px;gap:9px;align-items:center;text-align:left}
#hub-settings-nav svg{width:18px;height:18px}.hub-settings-subnav #permissions-nav{margin-top:0!important}
#work-shell :is(#hub-settings-nav,#nonresident-nav){background:transparent;border:0;color:#eef3fa;border-radius:4px;min-height:40px;padding:9px 10px;font-size:13px}
#work-shell :is(#hub-settings-nav,#nonresident-nav).active{background:#405e80;box-shadow:inset 3px 0 #98c8ef}
#work-shell #nonresident-navigation .module-subnav>button{background:transparent;border:0;color:#eef3fa}
#work-shell #nonresident-navigation .module-subnav>button.active{background:#405e80;box-shadow:inset 3px 0 #98c8ef}
.hub-has-reminders #view-dashboard .home-welcome{height:auto!important;min-height:210px!important;max-height:none!important;grid-template-columns:minmax(0,1fr) minmax(230px,42%);padding:24px!important;margin-bottom:24px}
.hub-has-reminders #view-dashboard .home-photo{height:170px;min-height:0;margin:0;overflow:hidden;border-radius:5px}
.hub-has-reminders #view-dashboard .home-photo img{width:100%;height:100%;object-fit:cover}
.hub-has-reminders #view-dashboard .home-greeting h1{font-size:29px!important;line-height:1.4}
.hub-has-reminders #dashboard-clock{position:static!important;font-size:13px!important;margin-top:16px!important;transform:none!important;align-self:flex-start!important;text-align:left!important;width:auto!important}
.hub-has-reminders #view-dashboard .home-copy{display:flex;flex-direction:column;justify-content:center}
.personal-reminders{background:white;border:1px solid #ccd9e6;border-radius:7px;padding:20px;margin-bottom:20px}
.reminder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.reminder-heading>.hub-page-heading{margin-bottom:12px!important}.reminder-heading h1{font-size:19px!important}.reminder-heading>span{font-size:12px;color:#6b7e94}
.reminder-tabs{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid #dce5ed}
.reminder-tabs button[aria-pressed=true]{background:#315682!important;color:white!important;border-color:#315682!important}.reminder-tabs button:last-child{margin-left:auto!important}
.reminder-item{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e1e8f0;gap:15px;min-width:0}.reminder-item>div{min-width:0}.reminder-item>div>button{text-align:left;white-space:normal;font-weight:600!important;background:transparent!important;padding:0!important;border:0!important;min-height:25px!important;color:#2e4d70!important}
.reminder-item p{font-size:13px;color:#52677c;margin:4px 0}.reminder-item time{font-size:11px;color:#7d8b9b}.reminder-unread-dot{width:8px;height:8px;background:#4b87bf;border-radius:50%;flex:0 0 8px}
.personal-reminders>small{font-size:11px;color:#728397}.personal-reminder-bell{position:relative;display:flex;align-items:center;justify-content:center;min-width:34px;width:34px;height:34px;padding:6px!important;background:#eff5fb!important;color:#365c80!important;border:1px solid #ccdae8!important;border-radius:6px;margin-left:auto!important}.personal-reminder-bell svg{width:21px;height:21px}.reminder-count{position:absolute;top:-6px;right:-6px;min-width:16px;border-radius:9px;padding:1px 4px;font-size:10px;background:#b45158;color:white}
.reminder-dialog a{display:inline-block;margin:12px 16px 12px 0;color:#315d86}
.reminder-setting-group{border:1px solid #d6e0eb;border-radius:6px;padding:12px 16px;margin:18px 0}.reminder-setting-group legend{font-size:14px;font-weight:600;color:#304d6b;padding:0 6px}.reminder-important-note{background:#fff8ec;border-left:3px solid #b9873f;border-radius:4px;padding:12px 15px;margin:16px 0}.reminder-important-note p{margin:6px 0 0}.reminder-history-state{font-size:11px;color:#526b7b;background:#eaf1f4;padding:5px 8px;border-radius:4px;white-space:nowrap}.reminder-event-history{font-size:12px;color:#52677c;padding:10px 0}.reminder-event-history li{margin:6px 0}
.reminder-setting-explanation{padding:12px 15px;background:#f4f8fc;border:1px solid #dce5ef;border-radius:5px;color:#304d6b;font-size:13px}.reminder-setting-explanation p{margin:6px 0 0}.hub-account-technical{margin-top:20px;padding-top:14px;border-top:1px solid #dce5ef}.hub-account-technical>summary{cursor:pointer;color:#365977;font-size:13px;line-height:1.6}.hub-account-technical[open]>summary{margin-bottom:12px}
.task-mention-composer{margin:8px 0 12px;font-size:12px}.task-mention-composer>button{min-height:29px;padding:4px 9px}.task-mention-selected{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.task-mention-chip{border-radius:4px!important;padding:3px 7px!important;min-height:26px!important}.task-mention-picker{display:flex;gap:7px 16px;flex-wrap:wrap;margin-top:8px;padding:10px;border:1px solid #c7d9e8;background:#f4f8fc;border-radius:5px}.task-mention-picker[hidden]{display:none!important}.task-mention-picker label{display:flex!important;align-items:center;gap:5px;font-size:12px}.task-mention-picker input{width:15px!important;min-height:15px;height:15px;margin:0}.task-mention-feedback{font-size:11px;color:#647a91;margin:5px 0}.mention-priority{border:1px solid #d5b27a;background:#fff9ef;border-radius:6px;padding:12px;margin:14px 0}.mention-priority h2{font-size:14px;color:#765321;margin:0 0 4px}.mention-item.is-unread{border-left:3px solid #b07831;padding-left:12px;background:#fffaf2}.mention-item>strong{white-space:nowrap;font-size:11px;color:#865c24;padding:4px 7px;background:#f5e6cb;border-radius:4px}.mention-item p{white-space:pre-wrap;overflow-wrap:anywhere}.mention-view-filters{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.mention-view-filters button[aria-pressed=true]{box-shadow:inset 0 -2px #315682}.personal-reminder-bell.has-unread-mentions{border-color:#c28d44!important;background:#fff5e4!important;color:#845818!important}.mention-arrival{position:fixed;right:24px;top:72px;z-index:2500;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 40px);padding:12px 16px;border:1px solid #c49c62;border-left:4px solid #b77b29;border-radius:6px;background:#fff8ec;color:#65471e;box-shadow:0 5px 18px #22344b26;font-size:13px}.mention-arrival strong{white-space:nowrap}.mention-arrival button{font-size:12px;min-height:28px}.mention-detail>p{white-space:pre-wrap;overflow-wrap:anywhere}.task-work-comment.is-mention-target,.nr-comment.is-mention-target{outline:2px solid #b9873f;background:#fff8eb;outline-offset:4px;border-radius:3px}
#work-shell :is(#view-single-invoice,.single-invoice)>h1{margin-bottom:20px!important}
@media(max-width:700px){.hub-has-reminders #view-dashboard .home-welcome{display:grid!important;grid-template-columns:1fr;padding:18px!important;gap:18px}.hub-has-reminders #view-dashboard .home-photo{height:130px}.personal-reminders{padding:14px}.reminder-heading{align-items:flex-start}.reminder-heading>span{padding-top:10px}.hub-settings-card{padding:12px}.reminder-item{align-items:flex-start}.hub-has-reminders #view-dashboard .home-greeting h1{font-size:24px!important}}
