/* Approved styles.css is byte-identical to the preview. Local additions only. */
.nav-item[href]{text-decoration:none}.nav-item[href]:hover{background:#e2ebe4}.nav-item[href]:focus-visible,.mobile-settings-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}.mobile-settings-link{display:none}.model-help{font-size:12px;line-height:1.6;color:var(--muted)}.settings-card select:disabled{background:#f1f4f1;color:#697d70;cursor:not-allowed}.settings-card .settings-empty{padding:16px 18px;margin:18px 0;background:#f0f4ef;border-left:3px solid #8b9f8c;border-radius:0 7px 7px 0}.settings-empty strong{display:block;font-size:14px;margin-bottom:5px;color:var(--deep)}.settings-card .settings-empty p{margin:0;font-size:13px}@media(max-width:760px){.mobile-settings-link:not([hidden]){display:flex;align-items:center;gap:9px;align-self:flex-start;min-height:44px;margin:0 24px 10px;color:var(--green);text-decoration:none;font-size:13px;font-weight:600}.mobile-settings-link .icon{width:18px;height:18px}}
.login-page{background:#f4f5ef;min-height:100dvh}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1.12fr 1fr;max-width:1600px;margin:auto}.login-intro{background:#e4ebe2;position:relative;padding:64px clamp(36px,7vw,110px);overflow:hidden;display:flex;flex-direction:column}.login-brand{font-weight:800;font-size:42px;letter-spacing:-3px;text-decoration:none;color:#244e40;margin-bottom:90px}.login-brand span{color:#b98260}.login-intro h1{font-size:clamp(32px,3.3vw,52px);line-height:1.14;letter-spacing:-2px;font-weight:550;margin:20px 0}.login-description{max-width:350px;color:#5c7164;line-height:1.8}.login-lines{position:absolute;bottom:105px;right:-90px;display:flex;gap:24px;transform:rotate(-24deg);opacity:.3}.login-lines span{display:block;width:125px;height:175px;border:1px solid #859d86}.login-lines span:nth-child(2){height:270px;margin-top:-95px}.login-lines span:nth-child(3){height:350px;margin-top:-175px}.login-environment{margin-top:auto;padding-top:100px;font-size:10px;letter-spacing:1.1px;line-height:2}.login-environment span{font-size:12px;letter-spacing:0;color:#6c7e6d}.login-card{align-self:center;padding:70px clamp(30px,6vw,95px);max-width:610px;width:100%}.login-card h2{font-size:32px;letter-spacing:-1px;margin:12px 0}.login-lead{color:var(--muted);margin-bottom:32px}#login-form{display:flex;flex-direction:column;gap:10px}#login-form label,#resume-login label,.settings-card label{font-size:12px;font-weight:600}#login-form input,#resume-login input,.settings-card select,.settings-card input{display:block;min-height:48px;border:1px solid #cdd8ce;border-radius:7px;background:#fafcf8;padding:10px 13px;width:100%;margin-bottom:12px}#mfa-field{display:flex;flex-direction:column;gap:10px}.primary-button{background:var(--green);color:white;min-height:46px;border-radius:7px;padding:10px 20px}.primary-button:hover:not(:disabled){background:var(--deep)}.login-help{margin-top:26px;color:var(--muted);font-size:12px;line-height:1.8}.login-footnote{margin-top:42px;padding-top:24px;border-top:1px solid var(--line);font-size:10px;line-height:1.7;color:#8a9488}.form-error,#resume-error{color:#8a3934;background:#f8ece7;padding:12px;border-radius:6px;font-size:12px;line-height:1.6}.load-more{font-size:11px;color:var(--green);min-height:36px;background:#f1f6f0}.state-warning{padding:10px 16px;background:#fff4d8;color:#745b32;font-size:12px;line-height:1.5}.sidebar-bottom #logout{margin-bottom:18px}.app-shell.menu-expanded{grid-template-columns:208px 300px minmax(350px,1fr) 350px}.menu-expanded .sidebar{align-items:stretch;padding-left:16px;padding-right:16px}.menu-expanded .brand-compact{display:none}.menu-expanded .brand>div{display:block}.menu-expanded .brand strong{font-size:32px;letter-spacing:-2px}.brand-caption{display:block;font-size:8px;letter-spacing:1.1px}.menu-expanded .nav-item{width:100%;justify-content:flex-start;padding:0 12px;gap:10px}.menu-expanded .nav-item span{display:inline;font-size:12px}.menu-expanded .profile>div{display:block;font-size:11px;margin-top:8px}.menu-expanded .profile small{display:block;color:var(--muted);font-size:10px}.menu-expanded #expand-menu{align-self:flex-end}.small-copy{overflow-wrap:anywhere}.state-empty{padding:30px 24px;color:var(--muted);line-height:1.8}.context-edit-field{display:block;margin:15px 0}.context-edit-field input,.context-edit-field select{width:100%;min-height:44px;margin-top:6px;padding:8px;border:1px solid var(--line);border-radius:5px;background:white}.source-row{margin:10px 0;padding:12px;background:#f1f5f2;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.settings-page{min-height:100dvh}.settings-layout{display:grid;grid-template-columns:230px minmax(0,850px);gap:48px;max-width:1300px;padding:45px;margin:auto}.settings-nav .login-brand{display:block;margin-bottom:32px}.settings-nav a{display:block;min-height:46px;padding:12px;border-radius:6px;text-decoration:none;margin:3px 0;font-size:13px}.settings-nav a[aria-current]{background:#e1ebdf;font-weight:600}.settings-main h1{font-size:34px;letter-spacing:-1.2px;margin:12px 0 25px}.settings-card{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;margin-bottom:20px}.settings-card h2{font-size:17px;margin-bottom:12px}.settings-card p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:14px}.settings-card dl{display:grid;grid-template-columns:1fr 1fr;font-size:13px;gap:12px}.settings-card dd{margin:0}.settings-card select{margin-top:6px}.settings-status{display:inline-flex;border-radius:20px;padding:6px 11px;font-size:11px;background:#f4ecda;color:#80633d;margin-bottom:20px}.settings-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.settings-table td,.settings-table th{padding:14px 10px;border-bottom:1px solid var(--line)}#session-dialog{max-width:440px;width:90%;padding:30px}#session-dialog h2{margin:12px 0}#session-dialog p{margin-bottom:14px;line-height:1.6}#session-dialog input{margin-top:6px}#session-dialog::backdrop{background:#edf2eef9}.assistant-model{font-size:9px;color:#87948a;margin-top:10px}.message-text{overflow-wrap:anywhere}.profile{max-width:100%}
@media(max-width:1320px){.app-shell.menu-expanded{grid-template-columns:180px 285px minmax(320px,1fr)}.menu-expanded .context-panel{position:fixed;right:0;top:34px;bottom:0;width:360px;z-index:20;display:none}.menu-expanded .context-panel.open{display:flex}.menu-expanded .context-button{display:flex}}
@media(max-width:760px){.login-layout{display:block}.login-intro{padding:28px 28px 26px;min-height:245px}.login-brand{font-size:32px;margin-bottom:26px}.login-intro h1{font-size:30px;letter-spacing:-1px;margin:12px 0}.login-description,.login-lines,.login-environment{display:none}.login-card{padding:34px 28px}.login-card h2{font-size:28px}.settings-layout{display:block;padding:20px}.settings-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:24px}.settings-nav .login-brand{width:100%;margin:0 0 12px}.settings-nav a{font-size:11px;padding:10px}.settings-card{padding:18px;overflow:auto}.settings-main h1{font-size:28px}.app-shell.menu-expanded{grid-template-columns:1fr}.app-shell.menu-expanded .sidebar{display:none}.menu-expanded .context-panel{width:100%;top:34px}.thread-heading{padding-left:14px;padding-right:14px}.bubble{max-width:95%}.preview-bar{padding:0 10px}.preview-detail{display:none}}
.settings-page{max-width:1040px;margin:0 auto;padding:40px 28px 80px;color:#243f3a}.settings-heading h1{font-size:40px;margin:20px 0 8px}.settings-back{display:block;margin-bottom:30px;color:inherit}.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0}.settings-tabs a{padding:13px 18px;border:1px solid #d7ded9;border-radius:7px;color:inherit;text-decoration:none}.settings-tabs a[aria-current]{background:#24453f;color:#fff}.settings-card{background:#fff;border:1px solid #dce1dc;border-radius:12px;padding:28px;margin:20px 0}.settings-card h2{font-size:22px;margin:0 0 12px}.settings-card p{line-height:1.6}.settings-card table{width:100%;border-collapse:collapse;font-size:14px}.settings-card td,.settings-card th{text-align:left;padding:14px 8px;border-bottom:1px solid #e5e7e3}.settings-card form{display:grid;gap:20px;max-width:560px}.settings-card label{display:grid;gap:8px}.settings-card select{padding:12px;border:1px solid #bccac2;border-radius:6px;background:#fff}.settings-card button{padding:13px 20px;background:#24453f;color:white;border:0;border-radius:6px;cursor:pointer;min-height:44px;margin:8px 8px 0 0}.settings-card button:disabled{opacity:.5}.settings-card input[type=checkbox]{width:22px;height:22px}.settings-card img{max-width:240px;display:block;margin-top:20px}#settings-feedback{min-height:24px;line-height:1.5}@media(max-width:600px){.settings-page{padding:24px 16px}.settings-heading h1{font-size:32px}.settings-card{padding:18px;overflow-x:auto}.settings-tabs a{flex:1;text-align:center}.settings-card td,.settings-card th{padding:12px 5px;font-size:12px}}
/* Operational multi-number controls, using the approved reference palette. */
.channel-filter-label{display:flex;align-items:center;gap:12px;font-size:12px;color:#52695c;margin-bottom:12px}.channel-filter-label select{flex:1;min-width:0;min-height:44px;border:1px solid #cdd9d0;background:#fff;border-radius:7px;padding:9px;color:#24453f}.channel-tag{display:inline-flex;padding:3px 7px;border-radius:5px;background:#edf3ed;color:#405f4b;font-size:10px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.conversation-bottom{flex-wrap:wrap;row-gap:7px}.list-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap}.list-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status-open{background:#e4edf9;color:#315780}.status-pending{background:#fff0cf;color:#805411}.status-resolved{background:#e0efe4;color:#28613e}.origin-strip{padding:10px 24px;background:#f4f7f2;border-bottom:1px solid #e1e8e0;color:#52695c;font-size:12px;overflow-wrap:anywhere}.channel-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.number-card h2{margin-top:14px}.number-card .phone{color:#53685d}.admin-form{display:grid;gap:14px;max-width:680px;margin:20px 0}.admin-form label{display:flex;flex-direction:column;gap:6px;font-size:13px}.admin-form input:not([type=checkbox]),.admin-form select{min-height:44px;min-width:0;width:100%;padding:10px;border:1px solid #cbd9cf;border-radius:6px;background:white}.admin-form input[type=checkbox]{width:18px;height:18px}.admin-form fieldset{border:1px solid #d9e2d9;border-radius:8px;padding:12px}.admin-form .person-check{flex-direction:row;align-items:center;min-height:44px}.admin-form [hidden]{display:none!important}.table-wrap{overflow:auto;margin-top:22px}.table-wrap button,.settings-card button{min-height:44px}.settings-team-table{width:100%;border-collapse:collapse;font-size:13px}.settings-team-table td,.settings-team-table th{padding:12px;text-align:left;border-bottom:1px solid #e1e8e0}.settings-card{min-width:0}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #315780;outline-offset:3px}
@media(max-width:760px){.channel-cards{grid-template-columns:1fr}.origin-strip{padding:9px 14px;font-size:11px}.settings-page{padding:24px 16px}.settings-tabs{flex-wrap:wrap}.settings-team-table{min-width:620px}.settings-card{padding:18px}.admin-form{max-width:100%}}
.reports-link{padding:8px 22px;font-size:12px;color:#315780;min-height:36px}.settings-tabs button{padding:12px;border:1px solid #cbd9cf;border-radius:6px;min-height:44px}.settings-tabs button[aria-current]{background:#24453f;color:white}.settings-card p{overflow-wrap:anywhere}.inbox-heading h1 span{font-size:11px;white-space:nowrap}.settings-page pre{font:inherit;line-height:1.7}.settings-tabs [hidden]{display:none!important}

.admin-form[hidden]{display:none!important}

/* Empty operational state, without invented channels or conversations. */
.no-selection .thread-heading,.no-selection .thread-toolbar,.no-selection #origin-strip,.no-selection #composer-form{display:none!important}.no-selection #context-panel{visibility:hidden}.no-selection .messages{display:flex;align-items:center;justify-content:center}.central-empty{max-width:380px;padding:30px;text-align:center;color:#52695c}.central-empty h2{font-size:24px;color:#24453f}.central-empty p{line-height:1.7}.central-empty a{display:inline-flex;background:#24453f;color:white;border-radius:7px;padding:14px 20px;margin-top:15px;text-decoration:none;min-height:44px}.qr-panel{padding-top:16px}.qr-panel img{width:240px;height:240px;object-fit:contain;background:white}.qr-panel button{background:#566c62}.channel-state{font-size:13px;line-height:1.6}

.empty-register{display:none}@media(max-width:760px){.empty-register{display:block;padding:14px 18px;margin:0 20px;text-align:center;background:#24453f;color:white;border-radius:7px;text-decoration:none;min-height:44px}}
.history-status{padding:10px 18px;background:#f1f5f2;color:#365c53;font-size:12px;border-bottom:1px solid #dce5df;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.history-status[hidden]{display:none}.history-status button{background:white;border:1px solid #ccdcd3;padding:6px 10px;border-radius:6px;color:inherit}
.avatar .contact-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.avatar:has(.contact-photo){overflow:hidden}

/* Operational conversation tools; widths are bounded by workspace.js. */
.inbox-panel,.context-panel{position:relative}.panel-resizer{position:absolute;top:0;bottom:0;width:9px;z-index:5;cursor:col-resize;touch-action:none}.panel-resizer:hover,.panel-resizer:focus-visible{background:#8eb4a66b;outline:2px solid var(--green);outline-offset:-2px}#resize-inbox{right:-5px}#resize-assistant{left:-5px}
#contact-name{font:inherit;color:inherit;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:32px;padding:0;background:none}#contact-name:hover{text-decoration:underline;text-underline-offset:3px}#contact-name:focus-visible{outline:2px solid var(--green)}#contact-avatar{flex-shrink:0;cursor:pointer}.thread-identity{min-width:0}.thread-identity h2{overflow:hidden}.thread-identity>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#close-context,.context-button{display:inline-flex!important;flex-shrink:0}.team-tabs{gap:14px;padding-inline:17px}.team-tabs button{min-height:44px}.context-panel .field-row{align-items:flex-start}.field-row strong{overflow-wrap:anywhere;min-width:0}.assistant-context{overflow-wrap:anywhere}.assistant-form-footer{flex-wrap:wrap}.assistant-shortcuts{gap:5px}.contact-details{text-align:center;overflow-wrap:anywhere}.contact-details h3{font-size:19px;line-height:1.4;margin:14px 0}.contact-detail-photo{width:110px;height:110px;font-size:32px;margin:0 auto}.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-block:20px}.contact-actions button{margin:0}.context-content>p.small-copy{font-size:12px;line-height:1.6}
.message-menu{position:absolute;right:4px;top:2px;width:36px;height:36px;border-radius:8px;font-size:22px;color:#537260;background:transparent}.message-menu:hover{background:#d5e5da}.bubble{position:relative;padding-right:38px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.message-text a{color:#255f83;text-decoration:underline}.message-text code{white-space:pre-wrap;background:#00000008;border-radius:3px;padding:1px 4px}.reaction-chip{display:inline-block;padding:3px 7px;border:1px solid var(--line);border-radius:12px;margin:4px 4px 0 0;background:white}.message-found .bubble{outline:3px solid #b2933c;outline-offset:3px}.personal-tag{display:block;color:var(--green);font-size:10px}.personal-unread .conversation-line strong:before{content:'';display:inline-block;width:7px;height:7px;margin-right:5px;background:var(--green);border-radius:50%}
.load-media,.download-media{display:block;font-size:12px;min-height:44px;padding:12px 0;color:var(--green);text-decoration:underline;text-align:left}.loaded-media{max-width:100%}.loaded-media img,.loaded-media video{display:block;width:100%;max-width:320px;max-height:320px;object-fit:contain;border-radius:5px}.loaded-media audio{width:260px;max-width:100%}.loaded-media img{cursor:zoom-in}.message-search{display:flex;flex-direction:column;gap:10px}.search-hit{display:flex;flex-direction:column;gap:5px;padding:13px;text-align:left;line-height:1.5;width:100%;overflow-wrap:anywhere;border-bottom:1px solid var(--line);min-height:44px}.search-hit:hover{background:#edf3ee}.message-search-results,.gallery-results{max-height:58dvh;overflow:auto}.gallery-item{padding:10px 0;border-bottom:1px solid var(--line)}mark{background:#fae8a5;color:#293c34}.layout-controls input[type=range]{padding:0;min-height:44px}.notification-option{display:flex;align-items:center;gap:12px;min-height:48px}.notification-option input{width:20px;height:20px}.reaction-choice{min-width:48px;min-height:48px;font-size:22px;padding:8px}.emoji-choices{display:flex;flex-wrap:wrap;gap:5px}.edit-message{width:100%;min-height:140px;border:1px solid var(--line);padding:12px;margin:10px 0}.quote-preview{display:flex;align-items:center;gap:15px;padding:10px 14px;border-left:3px solid var(--green);background:#edf3ed;font-size:12px}.quote-preview span{flex:1;overflow-wrap:anywhere}.quote-preview button{min-height:44px;color:var(--green)}.history-window-note{display:flex;justify-content:space-between;align-items:center;padding:8px 18px;background:#fff4d8;font-size:12px}.history-window-note button{min-height:40px;text-decoration:underline}.composer-top{flex-wrap:wrap}.composer-top #writing-tools{width:36px;height:36px;font-size:12px}.composer-top .composer-tabs{flex:1}.composer-top #composer-context{max-width:100%;overflow-wrap:anywhere}.thread-toolbar{gap:7px}.thread-toolbar>.tag-row{min-width:0;flex:1}#conversation-tools{flex-shrink:0}
/* One grid contract: workspace.js docks the team panel only when all columns
   fit. Hiding it must remove its track, not leave a blank fourth column. */
.app-shell,.app-shell.menu-expanded{
  --nav-width:70px;
  height:calc(100dvh - 34px);min-height:0;
  grid-template-columns:var(--nav-width) var(--inbox-width,320px) minmax(0,1fr);
}
.app-shell.context-docked:not(.ai-closed){
  grid-template-columns:var(--nav-width) var(--inbox-width,320px) minmax(0,1fr) var(--assistant-width,350px);
}
.app-shell>.context-panel{
  display:none;position:fixed!important;right:0!important;top:34px!important;bottom:0;
  width:min(100%,var(--assistant-width,350px))!important;z-index:20;
  box-shadow:-12px 0 36px #1f40321c;
}
.app-shell:not(.ai-closed)>.context-panel.open{display:flex}
.app-shell.context-docked:not(.ai-closed)>.context-panel{
  display:flex;position:relative!important;top:auto!important;right:auto!important;
  width:auto!important;box-shadow:none;z-index:1;
}
.app-shell:not(.context-docked) #resize-assistant{display:none}
/* Keep headers reachable while either docked or overlay contents scroll. */
.app-shell .assistant-view{overflow-y:auto}
/* Reserve readable content, excluding responsive padding; the pane scrolls
   instead of shrinking a populated history down to its padding alone. */
.app-shell .assistant-messages{box-sizing:content-box;min-height:96px}
@media(min-width:1024px){.app-shell.menu-expanded{--nav-width:208px}}
@media(min-width:761px) and (max-width:1023px){
  .app-shell.menu-expanded .sidebar{align-items:center;padding-inline:12px}
  .app-shell.menu-expanded .brand-compact{display:block}
  .app-shell.menu-expanded .brand>div,.app-shell.menu-expanded .nav-item span,.app-shell.menu-expanded .profile>div{display:none}
  .app-shell.menu-expanded .nav-item{width:48px;justify-content:center;padding:0}
  .app-shell.menu-expanded #expand-menu{align-self:center}
}
@media(max-width:760px){
  .app-shell,.app-shell.menu-expanded{display:block}
  .app-shell .sidebar{display:none}
  .app-shell .list-meta>span:first-child{display:none}
  .app-shell #mobile-view{display:block;border:0;background:none;font-size:12px;color:#788f7e;padding:6px 0;min-height:44px}
  .app-shell .inbox-panel{height:100%;border:0}
  .app-shell .thread-panel{display:none;height:100%}
  .app-shell.show-thread .inbox-panel{display:none}
  .app-shell.show-thread .thread-panel{display:flex}
  .app-shell>.context-panel{width:100%!important}
  .mobile-back{display:inline-flex}
  .panel-resizer{display:none}.message-menu{width:40px;height:40px}
  .bubble{padding-right:42px}.context-content{padding:20px}
  .contact-detail-photo{width:96px;height:96px}.thread-toolbar{flex-wrap:nowrap}
  .thread-toolbar .assignee{max-width:48%;overflow:hidden}
  .thread-toolbar .assignee>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .composer-tabs{min-width:0}.thread-identity h2{font-size:15px}
  #contact-name{min-height:40px}.reaction-choice{min-width:48px;min-height:48px}
}
/* Operational instructions are body text, not miniature decorative captions. */
.app-shell .conversation-work,.app-shell .conversation-preview,
.app-shell .local-notice,.app-shell #composer-context,
.app-shell .assistant-privacy strong,.app-shell .assistant-privacy span,
.app-shell .assistant-context,.app-shell .assistant-form label,
.app-shell .assistant-demo-note{font-size:12px;line-height:1.5}
.app-shell .local-notice,.app-shell #composer-context{color:var(--muted)}
.app-shell .composer-top{height:auto;min-height:44px;padding-block:5px;gap:4px 10px}
.app-shell .composer-tabs{height:36px}
@media(max-height:560px){
  .thread-heading{height:64px;padding-block:8px}
  .thread-toolbar{height:40px}.origin-strip{padding-block:6px}
  .composer-top{height:38px}.local-notice{margin-top:4px}
}
.claim-conversation{display:block;min-height:40px;padding:7px 15px;margin:3px auto;background:#e4eee7;border:1px solid #b7cdc0;border-radius:6px;color:var(--green);font-size:12px}.attachment-draft video{max-width:100%;max-height:160px}
.quoted-message{display:block;text-align:left;width:100%;padding:10px;margin-bottom:8px;border-left:3px solid var(--green);background:#00000006;border-radius:4px;font-size:12px;min-height:44px;overflow-wrap:anywhere}

/* Compact list and composer; operational warnings and draft previews still expand. */
.app-shell .inbox-heading{height:66px;padding:14px 16px 8px}
.app-shell .inbox-heading .eyebrow{display:none}
.app-shell .inbox-heading h1{font-size:23px}
.app-shell .inbox-controls{padding:0 14px 8px}
.app-shell .channel-filter-label{margin-bottom:8px}
.app-shell .channel-filter-label select{min-height:34px;padding:6px;font-size:12px}
.app-shell .conversation-card{padding:9px 10px;gap:9px;border-radius:7px}
.app-shell .conversation-card .avatar{width:34px;height:34px;font-size:11px}
.app-shell .conversation-bottom{margin-top:4px;row-gap:3px}
.app-shell .conversation-preview{margin-top:3px}
.app-shell .channel-tag,.app-shell .list-status{padding:1px 5px}
.app-shell .conversation-work{margin-top:1px;display:none}
.app-shell .composer-wrap{padding:2px 12px}
.app-shell .history-details{flex-shrink:0;max-height:35%;overflow:auto;background:rgba(255,255,255,.46);font-size:12px;color:var(--muted)}
.app-shell .history-details>summary{cursor:pointer;padding:4px 14px;text-align:center;list-style-position:inside}
.app-shell .history-details>summary:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.app-shell.no-selection .history-details{display:none}
.app-shell .history-details .origin-strip,.app-shell .history-details .history-status{background:transparent}
.app-shell .composer-top{height:22px;min-height:22px;padding:0;gap:4px}
.app-shell .composer-tabs{height:24px;gap:12px}
.app-shell .composer-top #writing-tools{height:24px;width:28px}
.app-shell #composer-context{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-shell .compose-line{padding:3px;gap:4px;border-radius:9px}
.app-shell .compose-line textarea{height:32px;padding:6px 5px;font-size:14px}
.app-shell .compose-line .icon-button{height:30px;width:30px}
.app-shell .compose-line .send-button{height:30px;width:30px;min-height:30px}
.app-shell .local-notice{margin:2px 0 0;font-size:12px;line-height:16px}
@media(max-width:760px){
  .app-shell .composer-wrap{padding:4px 8px 6px}
  .app-shell .compose-line .icon-button,.app-shell .compose-line .send-button{min-width:36px;min-height:36px}
  .app-shell .compose-line textarea{font-size:16px}
}

/* Approved compact conversation layout. Alpha applies to backgrounds, not text. */
.app-shell .thread-panel{background-color:#f2f0e9;background-image:radial-gradient(#c9cebd66 .65px,transparent .65px);background-size:19px 19px}
.app-shell .thread-heading{height:46px;padding:5px 14px;gap:8px;background:rgba(255,255,255,.70);border-bottom-color:rgba(101,121,115,.12)}
.app-shell .thread-heading .thread-channel-label{display:none}
.app-shell .thread-heading>.avatar{width:26px;height:26px;font-size:10px}
.app-shell .thread-identity h2{font-size:14px;margin:0 0 2px}
.app-shell #contact-name{min-height:0;line-height:17px}
.app-shell .thread-identity>span{font-size:10px;line-height:12px}
.app-shell .thread-heading .icon-button{width:30px;height:30px;min-height:30px}
.app-shell .resolve-button{height:30px;min-height:30px;padding:5px 8px;font-size:11px}
.app-shell .thread-toolbar{height:24px;min-height:24px;padding:1px 14px;gap:7px;background:rgba(255,255,255,.46);border-bottom-color:rgba(101,121,115,.12)}
.app-shell .thread-toolbar .icon-button,.app-shell .assignee{height:22px;min-height:22px;padding:1px 4px;font-size:10px}
.app-shell .thread-toolbar .avatar{width:18px;height:18px;font-size:9px}
.app-shell .thread-toolbar .tag{padding:1px 5px;font-size:10px}
.app-shell .messages{background:transparent}
@media(max-width:760px){
  .app-shell .thread-heading{padding-inline:10px}
  .app-shell .thread-heading .icon-button{min-width:36px;height:36px}
  .app-shell .thread-toolbar{padding-inline:8px}
}
