.hub{color:#17354b;font-family:score,sans-serif}.hub-header{display:flex;justify-content:space-between;padding:18px;background:white}.hub-header a{color:#17354b}.hub .panel{background:#fff;border:1px solid #dfe6ec;border-radius:10px;padding:18px;margin:12px 0}.hub .hub-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hub .hub-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,2fr);gap:18px}.hub label{display:block;margin:10px 0}.hub input,.hub select,.hub textarea{box-sizing:border-box;width:100%;font:inherit;padding:9px;border:1px solid #cfdae2;border-radius:6px;color:#17354b;background:white}.hub textarea{min-height:100px;resize:vertical}.hub input[type=checkbox]{width:auto;margin-right:8px}.hub button{font:inherit;background:#fff;border:1px solid #cedae2;border-radius:6px;padding:9px 12px;color:#17354b;cursor:pointer}.hub button.primary{background:#123d59;color:white}.hub button:disabled{opacity:.5;cursor:wait}.hub .hub-mail{display:block;text-align:left;width:100%;margin:7px 0;overflow-wrap:anywhere}.hub .hub-mail.selected{border-color:#123d59;background:#eaf3f8}.hub small{color:#607a8a;display:block;margin:5px 0}.hub .hub-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;line-height:1.65;background:#f3f7fa;padding:12px}.hub .hub-action{border:1px solid #d6e2eb;border-radius:8px;padding:14px;margin:14px 0;overflow-wrap:anywhere}.hub .hub-message{padding:10px 0;white-space:pre-wrap;color:#9c3c30}.hub details summary{cursor:pointer;font-weight:500}.hub .hub-status{display:flex;gap:12px;flex-wrap:wrap}.hub .hub-event{padding:10px 0;border-bottom:1px solid #e4ebef}.hub .hub-inline{display:flex;gap:10px}.hub .hub-inline>*{flex:1}#hub-root{padding:12px}.hub .hub-instruction{min-height:70px}.hub .hub-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:800px){.hub .hub-grid{grid-template-columns:1fr}.hub .panel{padding:12px}.hub .hub-body{max-height:320px}.hub .hub-inline{display:block}.hub .hub-actions button{flex:1;min-width:110px}}

.hub .hub-heading{justify-content:flex-end}.hub .hub-heading h1,.hub .hub-heading h2{margin-right:auto}.hub .hub-mail-row{border:1px solid #dbe5ed;border-radius:9px;margin:10px 0;overflow:hidden}.hub .hub-mail-row .hub-mail{margin:0;border:0;border-radius:0;padding:14px}.hub .hub-title{display:block;margin-top:5px;font-size:1.05em}.hub .is-unread .hub-mail{background:#eef6fc;border-left:4px solid #23658e}.hub .is-unread .hub-title{font-weight:700}.hub .is-read .hub-title{font-weight:400}.hub .hub-read-label{font-size:.8em;color:#557488}.hub .is-unread .hub-read-label{font-weight:700;color:#15547c}.hub .is-expanded{border-color:#32759d}.hub .hub-inline-detail{padding:16px;border-top:1px solid #dbe5ed;overflow-wrap:anywhere;background:white}.hub .hub-inline-detail h2{font-size:1.15em}.hub .hub-settings{box-sizing:border-box;width:min(760px,calc(100vw - 28px));max-height:86vh;overflow:auto;border:1px solid #cbdce7;border-radius:12px;padding:22px;color:#17354b;background:white;box-shadow:0 16px 60px #102f4540}.hub .hub-settings::backdrop{background:#102a4366}.hub .hub-settings .hub-heading{position:sticky;top:-22px;background:white;z-index:2;padding:10px 0}.hub .hub-settings h2{font-size:1.2em}.hub #hub-pending-count{font-size:.9em;color:#607a8a}@media(max-width:800px){.hub .hub-inline-detail{padding:12px}.hub .hub-settings{padding:16px}.hub .hub-settings .hub-heading{top:-16px}.hub .hub-heading h1{font-size:1.5em}}

.hub .hub-attachments{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}.hub .hub-attachments small{width:100%}.hub .hub-file-view{display:block;max-width:100%;width:100%;border:1px solid #dbe5ed}.hub iframe.hub-file-view{height:65vh}.hub img.hub-file-view{height:auto;object-fit:contain}.hub #hub-file-download{color:#15547c}

.hub .hub-mail-heading{display:flex;align-items:stretch}.hub .hub-mail-heading .hub-mail{flex:1;min-width:0;width:auto}.hub .hub-check{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer}.hub .hub-check input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:0;accent-color:#15547c}.hub .hub-row-check{padding:12px;background:#f4f8fb}.hub .hub-bulkbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;border-bottom:1px solid #dbe5ed}.hub .hub-bulkbar .hub-actions{width:100%}.hub .hub-bulkbar button{padding:8px 10px}.hub .hub-bulkbar span{font-size:.9em;color:#607a8a}@media(max-width:800px){.hub .hub-bulkbar .hub-actions button{min-width:70px}.hub .hub-row-check{padding:10px}}

.hub .hub-mail-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;margin-top:18px}.hub .hub-mail-main{min-width:0}.hub .hub-folder-pane{align-self:start;background:#f7f9fc;border:1px solid #dbe5ed;border-radius:10px;padding:12px}.hub .hub-folder-pane>summary{padding:8px 4px;cursor:pointer}.hub .hub-mailboxes h2{font-size:1.1em;margin:12px 4px}.hub .hub-mailboxes h3{font-size:.9em;margin:22px 6px 8px;color:#687d8c}.hub .hub-mailbox{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin:3px 0;border:0;background:transparent;padding:11px 9px}.hub .hub-mailbox>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.hub .hub-mailbox b{color:#1365ce;font-weight:600;font-size:.9em}.hub .hub-mailbox.active{color:#075fae;background:#dfedfb;font-weight:700}.hub .hub-mailboxes small{font-size:.75em;line-height:1.5;margin-top:12px}.hub #hub-current-folder{font-size:1.2em;margin:5px 0}@media(max-width:800px){.hub .hub-mail-layout{grid-template-columns:1fr;gap:12px}.hub .hub-mailboxes{display:grid;grid-template-columns:1fr 1fr;gap:3px}.hub .hub-mailboxes h2,.hub .hub-mailboxes h3,.hub .hub-mailboxes small{grid-column:1/-1}.hub .hub-mailbox{margin:0;padding:10px 8px;font-size:.95em}}

/* The desktop header uses nav{display:flex}; mailbox navigation is vertical. */
.hub nav.hub-mailboxes{display:block;width:100%;min-width:0;max-width:100%}.hub nav.hub-mailboxes>h2,.hub nav.hub-mailboxes>h3{width:auto;white-space:normal}.hub nav.hub-mailboxes .hub-mailbox{box-sizing:border-box;flex:none;min-width:0;width:100%;max-width:100%}.hub nav.hub-mailboxes .hub-mailbox>span:nth-child(2){white-space:normal;word-break:keep-all;overflow-wrap:break-word}@media(max-width:800px){.hub nav.hub-mailboxes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

.hub-conversation{border:1px solid #d2e0eb;border-radius:14px;padding:14px;margin:0 0 20px;background:white}.hub-conversation details{margin-top:12px}.hub-conversation audio{max-width:100%;width:100%}.hub-voice-log{max-height:240px;overflow:auto}.hub-voice-log p{white-space:pre-wrap}.hub-conversation pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.hub-intake-row{display:block;width:100%;text-align:left;margin:8px 0;white-space:normal}.hub-intake-row small{display:block}.hub-intake-image{max-width:100%;height:auto}.hub-conversation [data-proposal] .panel{margin-top:12px}.hub-conversation form{margin:12px 0}.hub-conversation [data-intake] [data-items]{max-height:260px;overflow:auto}
.hub-conversation .hub-intake-image{display:block;max-height:300px;object-fit:contain;margin:12px auto}.hub-conversation [data-item]{scroll-margin-top:80px}

.hub-calendar .hub-event{border-bottom:1px solid #d7e2ed;padding:16px 0}.hub-calendar .hub-event p{margin:8px 0}.hub-calendar .hub-event-description{white-space:pre-wrap;overflow-wrap:anywhere}
.hub-month-toolbar{display:flex;align-items:center;justify-content:center;gap:18px}.hub-month-toolbar h2{min-width:160px;text-align:center}.hub-weekdays,.hub-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.hub-weekdays{text-align:center;margin-top:18px;font-weight:700}.hub-weekdays span{padding:8px 0}.hub-weekdays span:first-child{color:#b54343}.hub-weekdays span:last-child{color:#22658e}.hub .hub-day{box-sizing:border-box;min-width:0;min-height:105px;padding:7px 5px;border-radius:7px;text-align:left;align-self:stretch;overflow:hidden;background:white;border:1px solid #dbe5ed}.hub-day.outside{background:#f3f6f8;color:#97a4ae}.hub .hub-day.selected{border:2px solid #246488;background:#eef6fc}.hub-day.today .hub-day-number{background:#174e70;color:white;border-radius:50%;min-width:25px;line-height:25px;text-align:center;display:inline-block}.hub-day-number{display:block;font-weight:700}.hub-day-event{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8em;background:#e6f0f5;border-radius:3px;padding:2px;margin-top:4px;color:#173b53}.hub-day-more{font-size:.75em}.hub-date-range{margin-top:20px}.hub-calendar [data-day-title]{margin:22px 0 0}.hub-calendar [aria-pressed=true]{font-weight:700}.hub-calendar [data-calendar-view][aria-pressed=true],.hub-calendar [data-list-view][aria-pressed=true]{background:#e6f0f5;border-color:#246488}@media(max-width:600px){.hub .hub-day{min-height:76px;padding:4px 2px}.hub-day-event{font-size:10px;padding:1px}.hub-weekdays,.hub-month-grid{gap:2px}.hub-month-toolbar{gap:8px}.hub-month-toolbar h2{min-width:130px;font-size:1.2em}.hub-calendar>.panel{padding:12px}}

.hub-journal-stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.hub-journal-stats span{padding:10px;background:#eaf2f7;border-radius:8px}.hub-journal-stats b{margin-left:8px}.hub-journal-text{white-space:pre-wrap;overflow-wrap:anywhere}.hub-journal-review-row{border:1px solid #cadce8;border-radius:10px;margin:16px 0;padding:12px}.hub-journal textarea{resize:vertical}.hub-journal [aria-pressed=true]{background:#e6f0f5;border-color:#246488}
.hub .hub-month-grid>.hub-day{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0}.hub .hub-day .hub-day-number{flex:none;align-self:flex-start}.hub .hub-day .hub-day-event{max-width:100%;box-sizing:border-box;text-align:left}

.hub-calendar-dialog{position:fixed;inset:0;margin:auto;width:min(760px,94vw);max-height:88vh;overflow:auto;border:1px solid #cfdee7;border-radius:14px;padding:22px;box-sizing:border-box}.hub-calendar-dialog::backdrop{background:rgba(17,40,55,.42)}.hub-calendar-dialog:not([open]){display:none!important}.hub-calendar-dialog form{margin:0}.hub-calendar-dialog [data-calendar-close]{margin-left:auto}

.hub-mail-workspace>.hub-mail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 12px;padding:0}.hub-mail-heading .hub-mail-identity{min-width:0;flex:1}.hub-mail-heading .hub-mail-identity h1{margin:0;line-height:1.25}.hub-mail-heading .hub-mail-identity small{margin:5px 0 0;overflow-wrap:anywhere}.hub-mail-workspace>.hub-message:empty{display:none}.hub-mail-workspace>.hub-message:not(:empty){margin:4px 0 8px;padding:6px 0}.hub-mail-workspace>.hub-mail-layout{margin-top:8px}.hub-mail-header-actions{align-items:center;flex:0 0 auto}.hub-mail-header-actions button{margin:0}.hub-mail-main>.hub-toolbar{min-height:34px;align-items:center}@media(max-width:600px){.hub-mail-workspace>.hub-mail-heading{align-items:flex-start}.hub-mail-header-actions{gap:5px;flex-wrap:wrap;flex:1 1 100%;justify-content:flex-start}.hub-mail-header-actions button{padding:7px 10px;font-size:13px;flex:0 1 auto;min-width:0}}
.hub-calendar .hub-month-toolbar{display:grid;grid-template-columns:44px auto 44px;justify-content:center;align-items:center;gap:16px;margin:0 0 12px;padding:0;min-height:44px}.hub-calendar .hub-month-toolbar h2{margin:0;padding:0;min-width:0;line-height:44px;text-align:center;white-space:nowrap}.hub-calendar .hub-month-toolbar button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:0;line-height:1;font-size:24px}@media(max-width:600px){.hub-calendar .hub-month-toolbar{gap:12px}.hub-calendar .hub-month-toolbar h2{font-size:20px}}
.hub-calendar .hub-day-number,.hub-calendar .hub-day-event,.hub-calendar .hub-day-more,.hub-calendar .hub-event,.hub-calendar [data-calendar-message],.hub-calendar [data-calendar-sync-info],.hub .hub-account-status{font-size:inherit}
.hub-calendar>[data-calendar-message][hidden],.hub-calendar>[data-calendar-message]:empty{display:none!important;margin:0!important;padding:0!important;min-height:0!important}.hub-calendar>[data-calendar-message]{margin:6px 0;line-height:1.5}
