/* Tools share the same phone and account context as the inbox. */
.nav-glyph{font-size:23px;line-height:1}.menu-rail{padding-top:15px}.rail-brand{margin-bottom:16px}.rail-menu{gap:4px}.nav-button{min-height:53px;padding:8px 3px;gap:5px}.rail-bottom{padding-top:14px}.feature-workspace{grid-column:2;grid-row:3;min-height:0;min-width:0;overflow:auto;padding:28px 32px 48px;background:var(--chat)}.feature-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.feature-heading h1{font-size:27px;line-height:1.4;letter-spacing:-.7px;margin-top:5px}.feature-heading p:not(.eyebrow){font-size:12px;line-height:1.8;color:#7b8b7f;margin-top:8px}.feature-heading>button{flex-shrink:0;font-size:11px}.feature-feedback{font-size:12px;line-height:1.7;white-space:pre-line;color:var(--green);margin:10px 0}.feature-feedback:empty{display:none}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.feature-card{min-width:0;border:1px solid var(--line);background:#fff;border-radius:15px;padding:23px;margin:0 0 20px;box-shadow:0 3px 14px #23452f04}.feature-grid>.feature-card{margin-bottom:0}.feature-card h2{font-size:16px;letter-spacing:-.3px;margin:0 0 10px}.feature-help{font-size:11px;line-height:1.8;color:#7d8e80;margin:7px 0 12px;overflow-wrap:anywhere}.feature-card>button,.feature-toolbar button{font-size:11px;padding:9px 12px}.feature-card>.feature-form{margin-top:16px}.feature-form{display:grid;gap:12px}.feature-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:11px;line-height:1.6;font-weight:650;color:#657869;margin:13px 0 4px}.feature-field input,.feature-field select,.feature-field textarea{font-size:12px;font-weight:400;margin:0}.feature-field input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}.feature-field:has(input[type=checkbox]){flex-direction:row;align-items:center;justify-content:flex-start;gap:9px}.feature-form>button{font-size:12px;padding:11px 14px;justify-self:start;background:var(--green);color:#fff}.feature-list{display:grid;gap:10px;margin-top:14px;max-height:470px;overflow:auto;overscroll-behavior:contain}.feature-list>button{padding:12px;text-align:left;font-size:12px}.feature-row{border-top:1px solid var(--line);padding:15px 0 12px;overflow-wrap:anywhere}.feature-row strong{font-size:12px;font-weight:650;line-height:1.7;display:block}.feature-row p{font-size:11px;line-height:1.8;color:#7c8b7e;margin-top:4px}.feature-row button{font-size:10px;padding:7px 9px;margin:9px 6px 0 0}.feature-row.compact{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.feature-row.compact button{margin:0 0 0 auto}.feature-message-preview{white-space:pre-wrap;max-height:110px;overflow:auto}.feature-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.feature-empty{padding:22px 12px;font-size:12px;line-height:1.9;color:#93a092;text-align:center;white-space:pre-line;grid-column:1/-1}.feature-dialog{width:min(620px,calc(100vw - 28px))}.feature-dialog .feature-card{box-shadow:none;padding:0;border:0;margin:0}.feature-dialog .feature-form{gap:9px}.feature-dialog .dialog-header{margin-bottom:10px}.feature-dialog h2{font-size:21px}.compose-extras{margin:8px 0 0}.compose-tool-row{display:flex;flex-wrap:wrap;gap:5px}.compose-tool-row button{padding:5px 8px;font-size:10px;font-weight:500;background:#f0f5ed;color:#64805c}.attachment-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.attachment-chip{background:#e8f1e4;color:#507644;border:1px solid #d7e6d2;padding:5px 9px;font-size:10px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-status{font-size:9px;color:#91a08a;margin-top:6px}.draft-conflict{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;color:#946b26;border:1px solid #e9d6a7;border-radius:8px;background:#fff8e8;margin-top:8px;padding:9px}.draft-conflict button{font-size:9px;padding:5px 7px}.feature-conversation-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:7px}.feature-conversation-actions button{font-size:9px;font-weight:500;padding:4px 7px;background:transparent;border:1px solid #dee8d9;color:#718a62}.feature-labels,.lease-note{font-size:9px;color:#6e8861;padding:3px 6px;background:#edf3e8;border-radius:5px}.lease-note{background:#e7f2ee;color:#3e806b}.search-extra{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-top:7px;color:#5d7b56}.search-extra button{font-size:9px;padding:5px 7px}.conversation-panel{grid-template-rows:auto auto auto auto auto minmax(0,1fr) auto}.message-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.message-attachments button{font-size:10px;line-height:1.5;padding:8px 10px;overflow-wrap:anywhere;max-width:100%}.media-preview{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:10px;background:#edf1ec;margin:10px 0}.feature-download{display:inline-block;font-size:12px;padding:9px 13px;background:var(--green);color:#fff;text-decoration:none;border-radius:8px;margin-top:12px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;margin-bottom:23px}.media-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}.media-card>.feature-field{font-size:10px;margin:0}.media-card>strong{font-size:12px;overflow-wrap:anywhere;display:block}.media-type{font-size:46px;background:var(--chat);border-radius:9px;color:#91a68b;display:grid;place-items:center;height:100px;margin:10px 0 13px}.media-card>button{font-size:9px;padding:6px 8px;margin-top:8px}.media-card .message-attachments button{font-size:9px}.feature-user-controls{margin-top:10px}.feature-user-controls button{font-size:10px;padding:7px 9px}.is-error{color:#ad584a!important}.message-body{font-size:var(--message-font-size,14px)}
html[data-theme=theme-13],html[data-theme=theme-14],html[data-theme=theme-15],html[data-theme=theme-16]{--line:#48544c;color-scheme:dark}html[data-theme=theme-13] .messenger,html[data-theme=theme-14] .messenger,html[data-theme=theme-15] .messenger,html[data-theme=theme-16] .messenger{background:var(--chat)}html[data-theme=theme-13] :is(.topbar,.conversation-panel,.compose,.feature-card,.media-card,.connection-dialog,.history-controls,.message-body),html[data-theme=theme-14] :is(.topbar,.conversation-panel,.compose,.feature-card,.media-card,.connection-dialog,.history-controls,.message-body),html[data-theme=theme-15] :is(.topbar,.conversation-panel,.compose,.feature-card,.media-card,.connection-dialog,.history-controls,.message-body),html[data-theme=theme-16] :is(.topbar,.conversation-panel,.compose,.feature-card,.media-card,.connection-dialog,.history-controls,.message-body){background:var(--rail);color:var(--ink);border-color:#48544c}html[data-theme=theme-13] :is(input,textarea,select,.thread-header,.conversation-workflow,.pw-card),html[data-theme=theme-14] :is(input,textarea,select,.thread-header,.conversation-workflow,.pw-card),html[data-theme=theme-15] :is(input,textarea,select,.thread-header,.conversation-workflow,.pw-card),html[data-theme=theme-16] :is(input,textarea,select,.thread-header,.conversation-workflow,.pw-card){background:var(--chat);color:var(--ink);border-color:#48544c}html[data-theme=theme-13] .outbound .message-body,html[data-theme=theme-14] .outbound .message-body,html[data-theme=theme-15] .outbound .message-body,html[data-theme=theme-16] .outbound .message-body{background:#40564a;color:#fff}html[data-theme=theme-13] .conversation,html[data-theme=theme-14] .conversation,html[data-theme=theme-15] .conversation,html[data-theme=theme-16] .conversation{color:var(--ink)}
@media(max-width:1000px){.feature-workspace{padding:23px 22px 38px}.feature-grid{gap:15px}.feature-card{padding:18px}.feature-heading h1{font-size:24px}.rail-brand{margin-bottom:12px}.nav-button{min-height:48px;font-size:9px}.nav-glyph{font-size:20px}.feature-heading p:not(.eyebrow){font-size:11px}}
@media(max-width:780px){.feature-grid{grid-template-columns:minmax(0,1fr)}.feature-grid>.feature-card{margin-bottom:8px}.feature-workspace{padding:19px 17px 30px}.feature-heading{align-items:flex-start}.feature-heading h1{font-size:22px}.feature-heading>button{font-size:9px;padding:7px 9px}.media-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.feature-card{padding:17px}.menu-rail{padding-top:10px}.rail-brand{font-size:9px;gap:4px;margin-bottom:10px}.nav-button{font-size:8px;min-height:45px;padding:7px 1px;gap:4px}.rail-menu{gap:2px}.nav-glyph{font-size:18px}.rail-brand .brand-mark{width:30px;height:30px;font-size:15px}.compose-tool-row button{font-size:9px;padding:4px 6px}.compose-extras{margin-top:6px}.draft-status{font-size:8px}.feature-conversation-actions{gap:4px}.feature-conversation-actions button{font-size:8px;padding:3px 5px}.thread-panel{grid-template-rows:auto auto minmax(65px,1fr) auto}.compose{max-height:46dvh}.feature-field{font-size:11px}.feature-row.compact{gap:6px}.feature-dialog .dialog-header h2{font-size:18px}.feature-workspace #feature-description{max-width:230px}.message-body{font-size:var(--message-font-size,13px)}}
.conversation-panel>.section-title{grid-row:1}.conversation-panel>#search{grid-row:2}.conversation-panel>#conversation-filter{grid-row:3}.conversation-panel>#search-extra{grid-row:4}.conversation-panel>#message-count{grid-row:5}.conversation-panel>#conversations{grid-row:6}.conversation-panel>.history-controls{grid-row:7}html[data-theme]{color:var(--ink)}
.bulk-attachments{font-size:11px;color:#657869;line-height:1.7;margin-top:10px}.bulk-attachments summary{cursor:pointer;font-weight:650}.bulk-attachments .feature-list{max-height:180px;padding:0 8px}.bulk-attachments .feature-field{margin:3px 0}

/* Dark palettes use a light accent, so action text must use a dark foreground. */
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]){--on-accent:#172820;--muted:#becac2;--dark-control:#36453d}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.feature-field,.feature-help,.feature-heading p:not(.eyebrow),.feature-row p,.feature-empty,.bulk-attachments,.draft-status,.compose-heading,.compose-shortcut,.conversation-time,.conversation-preview,.list-caption,.history-controls p,.message-meta,.device-status,.current-user,.sync-status,.workflow-summary,.workflow-feedback,.pw-sender,.pw-character-count){color:var(--muted)}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.compose-heading span:first-child,.thread-header .eyebrow,.workflow-summary>span:first-child,.rail-brand,.thread-header h2){color:var(--ink)}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(button.secondary,.jump-latest,.small-button,.compose-tool-row button,.feature-conversation-actions button,.pw-close,.attachment-chip,.feature-labels,.lease-note){background:var(--dark-control);color:var(--ink);border-color:#65746a}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(button.secondary,.jump-latest,.small-button,.compose-tool-row button,.feature-conversation-actions button,.pw-close):hover{background:#485b4f;color:#fff}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.feature-form>button,#send-button,.pw-send,.feature-download,.login-card button,.user-create-form>button){background:var(--green);color:var(--on-accent)}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.feature-form>button,#send-button,.pw-send,.feature-download,.login-card button,.user-create-form>button):hover{background:var(--green);color:var(--on-accent);filter:brightness(.92)}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(input,textarea)::placeholder{color:#aebeb2;opacity:1}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.nav-button,.feature-feedback,.workflow-summary>.workflow-unread){color:var(--ink)}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) :is(.nav-button.active,.nav-button[aria-current=page],.conversation.active){background:#3d5044;color:#f0f6f1;border-color:#6e8474}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) .conversation:hover{background:#36453d}
html:is([data-theme=theme-13],[data-theme=theme-14],[data-theme=theme-15],[data-theme=theme-16]) .is-error{color:#ffb4a7!important}
.group-message-sender{font-size:10px;line-height:1.6;margin:0 0 5px;color:var(--green);font-weight:650}.compose #compose-mode{font-size:11px;padding:7px 10px;margin-bottom:8px}.compose #group-compose-notice{font-size:10px;margin:0 0 8px}.restore-list{max-height:360px}.feature-storage{margin-bottom:18px;padding:14px 17px;border:1px solid var(--line);border-radius:12px;background:var(--rail);font-size:12px;line-height:1.8}.feature-storage progress{width:100%;height:8px;display:block;margin:7px 0;accent-color:var(--green)}
.notification-tabs button[aria-pressed=true]{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);font-weight:700}.notification-tabs{margin-bottom:6px}.notification-tabs+.feature-list{margin-top:0}

.device-battery{font-size:12px;color:var(--green);font-weight:700;white-space:nowrap}
.recipient-suggestions{display:flex;flex-direction:column;gap:3px;max-height:220px;overflow:auto;border:1px solid #c7d9ce;border-radius:10px;background:#fff;padding:6px;margin:6px 0}
.recipient-suggestions[hidden]{display:none}.recipient-option{text-align:left;border:0;background:#eff6f1;padding:9px 12px;border-radius:6px;cursor:pointer}.recipient-option:focus,.recipient-option:hover{background:#dceee3}
#label-filter-wrap{margin:8px 0}#label-filter-wrap[hidden]{display:none}
.notification-live-view .nav-rail,.notification-live-view .rail,.notification-live-view .feature-back{display:none}
.notification-live-view .app-layout{grid-template-columns:1fr}.notification-live-view .feature-grid{grid-template-columns:1fr}.notification-live-view .topbar{flex-wrap:wrap}.notification-live-view #feature-content{max-width:800px;margin:auto}
.notification-live-view .menu-rail{display:none}.notification-live-view .messenger{grid-template-columns:1fr;grid-template-areas:"topbar" "banner" "workspace";}.notification-live-view #feature-back{display:none}
.conversation-panel{grid-template-rows:auto auto auto auto auto auto minmax(0,1fr) auto}.conversation-panel>#label-filter-wrap{grid-row:4}.conversation-panel>#search-extra{grid-row:5}.conversation-panel>#message-count{grid-row:6}.conversation-panel>#conversations{grid-row:7}.conversation-panel>.history-controls{grid-row:8}
.notification-live-view .topbar,.notification-live-view .banner,.notification-live-view .feature-workspace{grid-column:1}.notification-live-view .feature-workspace{padding:16px}
.device-connection-state{display:flex;flex-direction:column;gap:4px;min-width:0}.realtime-status{display:block!important;font-size:11px;line-height:1.5;color:#96723b;white-space:normal}.realtime-status[data-mode=connected]{color:var(--green)}.realtime-status[data-mode=unavailable]{color:#b14848}
