/* Bureau communications — a self-contained interview application. */
.comms .comms-continuity{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-width:0;padding:11px 22px;border-bottom:1px solid var(--comms-line);color:var(--comms-muted)}
.comms .comms-continuity>p{min-width:0;font-size:11px;line-height:1.6}.comms .comms-continuity strong{font-weight:600;color:var(--comms-ink)}
.comms .comms-continuity-saved{color:var(--comms-green)}.comms .comms-continuity>button{flex-shrink:0;min-height:36px;padding:7px 11px;border:1px solid var(--comms-line);border-radius:5px;background:transparent;color:var(--comms-ink);font-size:11px;font-weight:500;white-space:nowrap}
.comms .comms-continuity>button:hover{background:var(--comms-line)}.comms .comms-continuity>button:disabled{opacity:.5}
html[data-layout="mobile"] .comms .comms-continuity{padding:6px 14px;gap:10px}html[data-layout="mobile"] .comms .comms-continuity>button{min-height:44px}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-continuity{display:none}
.comms{--comms-ink:#d7ddd8;--comms-muted:#a1afa8;--comms-dim:#778980;--comms-line:#35413b;--comms-amber:#d9b883;--comms-green:#99baa6;color:var(--comms-ink);background:#1b221f;border:1px solid #3b4840;border-radius:4px;overflow:hidden;box-shadow:0 18px 45px #0003;min-width:0;font:13px/1.6 "Segoe UI",Arial,sans-serif}
.comms *{box-sizing:border-box}.comms a{color:inherit}.comms h1,.comms h2,.comms h3,.comms p{margin:0}.comms h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#f0eee3;letter-spacing:-1px}.comms h2,.comms h3{color:#dce2db}.comms button,.comms input,.comms textarea{font-family:inherit}.comms a:focus-visible,.comms button:focus-visible,.comms input:focus-visible,.comms textarea:focus-visible,.comms [tabindex]:focus-visible{outline:2px solid #e4bf83;outline-offset:3px}.comms [hidden]{display:none!important}
.comms-toolbar{display:flex;align-items:center;gap:20px;min-height:49px;padding:11px 18px;border-bottom:1px solid #445047;background:#273029;box-shadow:inset 0 1px #62716033}.comms-app-name{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:11px;letter-spacing:.6px;font-weight:600}.comms-app-name .inline-icon{color:var(--comms-amber);width:19px;height:19px}.comms-service{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:10px;color:#c0b69f}.comms-service i{width:5px;height:5px;border-radius:50%;background:#caa76b;box-shadow:0 0 9px #caa76b25}.comms-service.comms-configured{color:#b7ccbc}.comms-configured i{background:#94bba3}.comms-toolbar-case{font:9px/1.4 Consolas,"Courier New",monospace;letter-spacing:1px;color:#a6b2a8;border-left:1px solid #465249;padding-left:18px;white-space:nowrap}
.comms-workspace{display:grid;grid-template-columns:233px minmax(0,1fr);align-items:stretch;min-height:660px}.comms-roster{min-width:0;background:#1c2520;border-right:1px solid var(--comms-line);display:flex;flex-direction:column}.comms-roster-head{padding:22px 17px 15px}.comms-roster-title{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;text-decoration:none}.comms-roster-title span{font:10px/1.3 Consolas,"Courier New",monospace;border:1px solid #526056;color:#b7c4ba;padding:3px 6px;border-radius:3px}.comms-roster-head p{font-size:10px;color:var(--comms-muted);margin:3px 0 18px}.comms #comms-contact-search{width:100%;background:#151d19;border:1px solid #3b4940;color:#e1e5dc;padding:9px 10px;border-radius:3px;font-size:11px;line-height:1.5}.comms input::placeholder,.comms textarea::placeholder{color:#87998e;opacity:1}.comms-contact-list{display:flex;flex-direction:column;gap:3px;padding:0 8px 15px}.comms-contact{display:flex;align-items:center;gap:11px;padding:13px 10px;border:1px solid transparent;border-radius:3px;text-decoration:none;transition:background .16s,border-color .16s;min-width:0;position:relative}.comms-contact:hover{background:#2a352d;border-color:#465349}.comms-contact.comms-selected{background:linear-gradient(110deg,#3a3f30,#2a332b);border-color:#656249}.comms-contact.comms-selected:before{content:"";position:absolute;left:-9px;top:14px;bottom:14px;width:3px;background:#d8b27b}.comms-avatar{width:36px;height:41px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(145deg,#37453c,#263129);border:1px solid #4a5a4e;color:#b5c7b8;font:15px Georgia,serif;box-shadow:inset 0 0 0 3px #29352d}.comms-selected .comms-avatar{border-color:#776c50;color:#dbc293;background:linear-gradient(145deg,#454838,#30382c)}.comms-contact-copy{min-width:0;display:grid;gap:3px}.comms-contact-copy strong{font-size:12px;font-weight:600;color:#d8dfd5;line-height:1.35}.comms-contact-copy>span{font-size:10px;line-height:1.4;color:#a2b2a6}.comms-contact-copy small{font:9px/1.4 Consolas,"Courier New",monospace;color:#829888}.comms-selected .comms-contact-copy small{color:#c5b588}.comms-contact-arrow{margin-left:auto;font-size:21px;color:#87978a}.comms-roster-foot{display:flex;align-items:flex-start;gap:9px;margin-top:auto;border-top:1px solid #344037;padding:20px 17px;font-size:10px;line-height:1.7;color:#8fa394}.comms-roster-foot .inline-icon{flex-shrink:0;width:16px;height:16px;margin-top:2px}.comms-roster-foot a{color:#c5d0c6;text-decoration:underline;text-underline-offset:3px}.comms-no-contacts{padding:18px 12px;font-size:11px;color:#a7b7ac}
.comms-welcome{min-width:0;padding:35px 38px 0;background:radial-gradient(ellipse at 65% 18%,#34433755,transparent 65%),#202722;display:flex;flex-direction:column}.comms-kicker{font:9px/1.5 Consolas,"Courier New",monospace;letter-spacing:1.5px;text-transform:uppercase;color:#bba984}.comms-welcome h1{font-size:42px;line-height:1.15;margin:8px 0 14px}.comms-welcome-head>p{font-size:13px;line-height:1.8;color:#aab9ad}.comms-idle{padding:34px 0 32px;max-width:560px}.comms-signal{display:flex;align-items:center;height:49px;gap:6px;margin-bottom:22px;width:min(295px,100%);opacity:.55;position:relative}.comms-signal:before{content:"";position:absolute;left:0;right:0;top:24px;border-top:1px solid #6d8b7744}.comms-signal span{display:block;background:#a4b498;width:3px;height:7px;z-index:1}.comms-signal span:nth-child(3n){height:18px;background:#bbc298}.comms-signal span:nth-child(4n){height:35px}.comms-signal span:nth-child(5n){height:48px;background:#bea777}.comms-signal span:nth-child(7n){height:25px}.comms-idle h2{font:normal 29px/1.3 Georgia,"Times New Roman",serif;letter-spacing:-.5px;margin:8px 0 12px;color:#e2e3d6}.comms-idle>p{max-width:500px;font-size:12px;line-height:1.9;color:#a3b2a6}.comms-workflow{display:flex;flex-wrap:wrap;gap:15px;margin-top:25px}.comms-workflow>span{font-size:10px;color:#b0bbac;white-space:nowrap}.comms-workflow b{font:10px Consolas,monospace;font-weight:400;margin-right:6px;color:#c8b185}.comms-overview-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #435044;border-bottom:1px solid #435044;margin-top:auto;padding:22px 0;gap:20px}.comms-overview-stats>div{display:flex;gap:13px;align-items:center}.comms-overview-stats strong{font:normal 28px/1 Georgia,serif;color:#d5c39f}.comms-overview-stats span{font-size:10px;line-height:1.5;color:#aebcae;max-width:70px}.comms-notice{display:flex;align-items:flex-start;gap:10px;padding:17px 20px;background:#293329;color:#b6c1ae;border-bottom:1px solid #404c3c}.comms-welcome>.comms-notice{margin:25px -38px 0;padding:18px 38px;border-bottom:0}.comms-notice .inline-icon{flex-shrink:0;width:16px;height:16px;margin-top:1px;color:#c6b48d}.comms-notice p{font-size:11px;line-height:1.7}.comms-notice a{color:#e2c48e;text-decoration:underline;text-underline-offset:3px}.comms-warning{background:#3d3727;color:#d3c5a7;border-bottom-color:#59503a}
.comms-session{min-width:0;background:#212923}.comms-identity{display:flex;align-items:center;gap:21px;padding:25px 27px;background:linear-gradient(115deg,#303a2f,#252e27);border-bottom:1px solid #435044}.comms-profile-mark{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:88px;height:98px;border:1px solid #69705a;color:#d1c5a0;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#9eae8e09 3px,#9eae8e09 4px),radial-gradient(ellipse at top,#52604a,#27352a);font:32px/1 Georgia,serif;box-shadow:inset 0 0 0 5px #273429;isolation:isolate;padding-bottom:10px}.comms-profile-mark:before,.comms-profile-mark:after{content:"";position:absolute;width:10px;height:10px;border:solid #b8bd9970;z-index:-1}.comms-profile-mark:before{top:9px;left:9px;border-width:1px 0 0 1px}.comms-profile-mark:after{bottom:27px;right:9px;border-width:0 1px 1px 0}.comms-profile-mark>span{position:absolute;bottom:0;left:0;right:0;text-align:center;font:7px/21px Consolas,monospace;letter-spacing:.6px;border-top:1px solid #7b896249;background:#243025;color:#a9b69b}.comms-identity-copy{min-width:0}.comms-identity h1{font-size:33px;line-height:1.18;margin:5px 0 5px}.comms-identity-copy>p{font-size:12px;color:#b0bdaa;line-height:1.5}.comms-public-link{display:inline-block;font-size:10px;color:#cfc6a7!important;text-underline-offset:4px;margin-top:10px}.comms-record-count{margin-left:auto;text-align:right;color:#c9bc99;flex-shrink:0}.comms-record-count strong{display:block;font:31px/1 Georgia,serif}.comms-record-count span{display:block;font:8px/1.5 Consolas,monospace;text-transform:uppercase;letter-spacing:.7px;margin-top:7px;color:#96a58f}.comms-session-grid{display:grid;grid-template-columns:minmax(0,1fr) 223px;min-width:0}.comms-record{min-width:0;background:#1c231f}.comms-section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid #3b473d;background:#263027}.comms-section-bar h2{font:600 11px/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:.2px;margin:0}.comms-section-bar>span{font:9px Consolas,monospace;color:#b2bca9;border:1px solid #53604d;padding:3px 6px;border-radius:2px}.comms-section-bar>.inline-icon{width:15px;height:15px;color:#bfb38b}.comms-transcript{padding:0 20px;min-height:244px;max-height:480px;overflow:auto;scrollbar-color:#64745d #1c231f;scrollbar-width:thin;background:repeating-linear-gradient(0deg,transparent,transparent 29px,#8ca48105 29px,#8ca48105 30px)}.comms-empty-record{padding:32px 16px 35px;text-align:center;max-width:390px;margin:0 auto}.comms-empty-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #4d5b46;border-radius:50%;background:#2d382b;color:#cbbd96;margin:0 auto 14px}.comms-empty-icon .inline-icon{width:19px;height:19px}.comms-empty-record .comms-kicker{font-size:8px;color:#91a287}.comms-empty-record h3{font:normal 24px/1.3 Georgia,serif;margin:8px 0 9px;color:#d6ddce}.comms-empty-record p{font-size:11px;line-height:1.85;color:#9eaf98}.comms-turn{padding:21px 0 8px}.comms-turn-number{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #394534;padding-bottom:11px;font:8px/1.5 Consolas,monospace;color:#7f9479;letter-spacing:.7px}.comms-turn-number time{color:#97a58e;letter-spacing:0}.comms-speaker{font-size:9px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#b7c5ac}.comms-question{padding:16px 0 12px}.comms-question>p{font-size:12px;line-height:1.8;color:#c2cabc;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}.comms-reply{padding:15px 17px 15px;background:#293327;border-left:2px solid #adab77;margin:0 0 16px}.comms-reply>.comms-speaker{color:#d3bf8d}.comms-delivery{font-size:10px;font-style:italic;color:#a2b397;line-height:1.65;margin-top:9px!important}.comms-reply blockquote{font:16px/1.9 Georgia,"Times New Roman",serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;color:#d4dccb}.comms-evidence-link{display:inline-flex;align-items:center;gap:6px;color:#c7d3ad!important;font-size:10px;text-underline-offset:3px;line-height:1.6}.comms-evidence-link .inline-icon{width:13px;height:13px;flex-shrink:0}.comms-turn-cost{font:9px/1.5 Consolas,monospace;color:#98ac8c;margin-top:12px}.comms-composer{padding:20px;background:#252e25;border-top:1px solid #47513f}.comms-composer>.comms-kicker{color:#a5b093;font-size:8px}.comms-topics{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 20px}.comms-topics button{padding:6px 9px;background:#303a2e;border:1px solid #536047;border-radius:3px;box-shadow:none;color:#c2cbb3;font-size:10px;line-height:1.4}.comms-topics button:hover{background:#414b37;border-color:#8a9471;color:#e0e6d1}.comms-composer>label{font-size:11px;font-weight:500;color:#d6dcc8;margin:0 0 8px}.comms #question{background:#192319;color:#e2e8d5;border:1px solid #5c674c;border-radius:3px;padding:13px 14px;min-height:107px;font-size:12px;line-height:1.8;box-shadow:inset 0 2px 5px #0002}.comms #question::placeholder{color:#94a384}.comms-composer-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:12px}.comms-composer-actions .check{font-size:10px;line-height:1.65;max-width:230px;color:#a9b79a;padding:0;align-items:flex-start}.comms input[type=checkbox]{accent-color:#c6b778;flex-shrink:0;width:14px;height:14px;margin-top:2px}.comms-composer-actions button.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;padding:10px 14px;background:#d0b683;color:#25291e;border:1px solid #dcc595;border-radius:3px;box-shadow:inset 0 1px #f3e5be55;font-size:11px;font-weight:600;line-height:1.4}.comms-composer-actions button.primary:hover{background:#e0c795}.comms-composer-actions button .inline-icon{width:15px;height:15px}.comms #interview-status{color:#97aa8a;font:9px/1.7 Consolas,monospace;margin:14px 0 0;min-height:15px}.comms-evidence{min-width:0;background:#222b22;border-left:1px solid #3f4b3b;display:flex;flex-direction:column}.comms-evidence>.comms-section-bar{padding-left:17px;padding-right:17px;background:#2b3429}.comms-tray-intro{padding:17px 17px 0}.comms-tray-intro p{color:#a6b29a;font-size:10px;line-height:1.8}.comms-tray-intro>span{display:block;margin-top:15px;font:8px/1.5 Consolas,monospace;letter-spacing:.7px;text-transform:uppercase;color:#b5c0a5}.comms-tray{padding:4px 10px 12px;margin:8px 0 0;max-height:348px;min-height:90px;overflow:auto;scrollbar-color:#657359 #222b22;scrollbar-width:thin}.comms-tray .check{border:1px solid transparent;border-bottom-color:#3b4633;padding:11px 7px;gap:9px;color:#c0cbb1;font-size:10px;line-height:1.6;align-items:flex-start;margin:0;border-radius:2px}.comms-tray .check:hover{background:#303b2c;border-color:#526044}.comms-tray .check:has(input:checked){border:1px solid #858a5d;background:#3a412c;color:#e0dec3}.comms-tray .check input{margin-top:2px}.comms-tray .check small{display:block;font:8px/1.6 Consolas,monospace;color:#91a281;margin-top:4px}.comms-wallet{border-top:1px solid #47513d;background:#293225;padding:19px 17px;margin-top:auto}.comms-wallet .comms-kicker{font-size:8px;color:#b9bd94;letter-spacing:.7px}.comms-balance{font:normal 28px/1.3 Georgia,serif;color:#dfcf9c;margin:5px 0 8px;overflow-wrap:anywhere}.comms-balance>span{font:10px "Segoe UI",Arial,sans-serif;color:#b6c0a4}.comms-wallet p{font-size:10px;line-height:1.8;color:#a2b190}.comms-wallet>a{display:inline-block;margin-top:10px;color:#d1c491;text-underline-offset:3px;font-size:10px}.comms-portrait-note{padding:13px 17px;border-top:1px solid #3d4935;color:#8fa17e;font-size:9px;line-height:1.7}
.is-small .comms-workspace{grid-template-columns:198px minmax(0,1fr)}.is-small .comms-contact{gap:8px;padding-left:7px;padding-right:7px}.is-small .comms-avatar{width:30px;height:36px;font-size:13px}.is-small .comms-contact-arrow{display:none}.is-small .comms-session-grid{grid-template-columns:minmax(0,1fr)}.is-small .comms-evidence{display:grid;grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #4a5440}.is-small .comms-evidence>.comms-section-bar{grid-column:1/-1}.is-small .comms-tray-intro{grid-column:1;padding-bottom:14px}.is-small .comms-tray{grid-column:1;grid-row:3/5;margin:0}.is-small .comms-wallet{grid-column:2;grid-row:2/4;margin:0;border-top:0;border-left:1px solid #46513b}.is-small .comms-portrait-note{grid-column:2;grid-row:4;border-left:1px solid #46513b}.is-small .comms-identity{padding:20px;gap:15px}.is-small .comms-profile-mark{width:71px;height:85px;font-size:27px}.is-small .comms-identity h1{font-size:29px}.is-small .comms-record-count{display:none}.is-small .comms-toolbar-case{display:none}.is-small .comms-welcome{padding:28px 25px 0}.is-small .comms-welcome>.comms-notice{margin-left:-25px;margin-right:-25px;padding-left:25px;padding-right:25px}.is-small .comms-overview-stats{gap:12px}.is-small .comms-overview-stats>div{display:block}.is-small .comms-overview-stats span{display:block;margin-top:6px;max-width:none}
.is-narrow .comms-workspace{grid-template-columns:minmax(0,1fr)}.is-narrow .comms-roster{border-right:0;border-bottom:1px solid #46543e}.is-narrow .comms-roster-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;padding:15px}.is-narrow .comms-roster-title{font-size:12px;gap:10px}.is-narrow .comms-roster-head p{font-size:9px;margin:0}.is-narrow .comms #comms-contact-search{width:100%;order:3;padding:7px 10px}.is-narrow .comms-contact-list{flex-direction:row;overflow-x:auto;padding:0 10px 12px;gap:6px;scrollbar-width:thin;scrollbar-color:#627357 #1c2520}.is-narrow .comms-contact{flex:0 0 175px;padding:9px 7px;background:#283327;border-color:#3d4c37;gap:8px}.is-narrow .comms-contact.comms-selected{border-color:#8f8961;background:#3b412d}.is-narrow .comms-contact.comms-selected:before{display:none}.is-narrow .comms-avatar{width:29px;height:34px;font-size:12px}.is-narrow .comms-contact-copy strong{font-size:10px}.is-narrow .comms-contact-copy>span{font-size:8px;max-height:23px;overflow:hidden}.is-narrow .comms-contact-copy small{font-size:8px}.is-narrow .comms-contact-arrow{display:none}.is-narrow .comms-roster-foot{display:none}.is-narrow .comms-toolbar{padding:11px 13px;gap:10px;flex-wrap:wrap}.is-narrow .comms-app-name{font-size:10px}.is-narrow .comms-service{font-size:8px}.is-narrow .comms-toolbar-case{display:none}.is-narrow .comms-session-grid{grid-template-columns:minmax(0,1fr)}.is-narrow .comms-welcome{padding:25px 20px 0}.is-narrow .comms-welcome h1{font-size:37px}.is-narrow .comms-welcome>.comms-notice{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.is-narrow .comms-identity{padding:21px 17px;gap:14px}.is-narrow .comms-profile-mark{width:64px;height:80px;font-size:25px}.is-narrow .comms-profile-mark>span{font-size:6px;line-height:18px}.is-narrow .comms-identity h1{font-size:28px}.is-narrow .comms-identity-copy>p{font-size:10px}.is-narrow .comms-record-count{display:none}.is-narrow .comms-section-bar{padding:13px 16px}.is-narrow .comms-transcript{padding:0 15px;max-height:400px}.is-narrow .comms-composer{padding:18px 15px}.is-narrow .comms-composer-actions{align-items:flex-start;flex-direction:column}.is-narrow .comms-composer-actions .check{max-width:none}.is-narrow .comms-composer-actions button.primary{width:100%}.is-narrow .comms-evidence{display:flex;border-left:0;border-top:1px solid #4a5440}.is-narrow .comms-wallet,.is-narrow .comms-portrait-note{border-left:0}.is-narrow .comms-wallet{border-top:1px solid #47513d;margin-top:0}.is-narrow .comms-tray{max-height:250px;padding-bottom:14px}.is-narrow .comms-idle{padding-top:28px}.is-narrow .comms-idle h2{font-size:25px}.is-narrow .comms-workflow{gap:11px}.is-narrow .comms-overview-stats{gap:10px}.is-narrow .comms-overview-stats>div{display:block}.is-narrow .comms-overview-stats strong{font-size:26px}.is-narrow .comms-overview-stats span{display:block;font-size:9px;margin-top:6px;max-width:none}
@media(max-width:900px){.comms-workspace{grid-template-columns:198px minmax(0,1fr)}.comms-session-grid{grid-template-columns:minmax(0,1fr)}.comms-record-count{display:none}.comms-evidence{border-left:0;border-top:1px solid #4a5440}.comms-toolbar-case{display:none}.comms-identity{padding:20px;gap:15px}.comms-contact-arrow{display:none}.comms-welcome{padding:28px 25px 0}.comms-welcome>.comms-notice{margin-left:-25px;margin-right:-25px;padding-left:25px;padding-right:25px}}
@media(max-width:600px){.comms-workspace{grid-template-columns:minmax(0,1fr)}.comms-roster{border-right:0;border-bottom:1px solid #46543e}.comms-roster-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;padding:15px}.comms-roster-title{font-size:12px;gap:10px}.comms-roster-head p{font-size:9px;margin:0}.comms #comms-contact-search{width:100%;order:3;padding:7px 10px}.comms-contact-list{flex-direction:row;overflow-x:auto;padding:0 10px 12px;gap:6px;scrollbar-width:thin}.comms-contact{flex:0 0 175px;padding:9px 7px;background:#283327;border-color:#3d4c37;gap:8px}.comms-contact.comms-selected:before{display:none}.comms-avatar{width:29px;height:34px;font-size:12px}.comms-contact-copy strong{font-size:10px}.comms-contact-copy>span{font-size:8px;max-height:23px;overflow:hidden}.comms-contact-copy small{font-size:8px}.comms-roster-foot{display:none}.comms-toolbar{padding:11px 13px;gap:10px;flex-wrap:wrap}.comms-app-name{font-size:10px}.comms-service{font-size:8px}.comms-welcome{padding:25px 20px 0}.comms-welcome>.comms-notice{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.comms-identity{padding:21px 17px;gap:14px}.comms-profile-mark{width:64px;height:80px;font-size:25px}.comms-profile-mark>span{font-size:6px;line-height:18px}.comms-identity h1{font-size:28px}.comms-identity-copy>p{font-size:10px}.comms-section-bar{padding:13px 16px}.comms-transcript{padding:0 15px;max-height:400px}.comms-composer{padding:18px 15px}.comms-composer-actions{align-items:flex-start;flex-direction:column}.comms-composer-actions .check{max-width:none}.comms-composer-actions button.primary{width:100%}.comms-overview-stats{gap:10px}.comms-overview-stats>div{display:block}.comms-overview-stats strong{font-size:26px}.comms-overview-stats span{display:block;font-size:9px;margin-top:6px;max-width:none}}
@media(prefers-reduced-motion:reduce){.comms-contact{transition:none}}

/* Mobile Field Terminal. The original nodes move into sheets; form state is shared. */
.comms-mobile-actions{display:none}.comms-sheet:not([open]){display:none}.comms-sheet-public:empty{display:none}
html[data-layout="mobile"] .comms{border:0;border-radius:0;box-shadow:none;min-width:0;max-width:100%;min-height:100%;font-size:13px}
html[data-layout="mobile"] .comms button,html[data-layout="mobile"] .comms a,html[data-layout="mobile"] .comms input,html[data-layout="mobile"] .comms textarea{-webkit-tap-highlight-color:#d9b88330}
html[data-layout="mobile"] .comms input[type="search"],html[data-layout="mobile"] .comms textarea{font-size:16px}
html[data-layout="mobile"] .comms[data-comms-view="conversation"]{height:100%;display:flex;flex-direction:column;overflow:hidden}
html[data-layout="mobile"] .comms[data-comms-view="conversation"]>.comms-toolbar{display:none}
html[data-layout="mobile"] .comms[data-comms-view="conversation"]>.comms-workspace{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
html[data-layout="mobile"] .comms-session{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain}
html[data-layout="mobile"] .comms-identity{padding:11px 15px;gap:12px;flex-shrink:0;min-height:76px}
html[data-layout="mobile"] .comms-profile-mark{width:43px;height:49px;font-size:21px;padding:0;box-shadow:inset 0 0 0 3px #273429}
html[data-layout="mobile"] .comms-profile-mark:before{top:6px;left:6px;width:6px;height:6px}
html[data-layout="mobile"] .comms-profile-mark:after{bottom:6px;right:6px;width:6px;height:6px}
html[data-layout="mobile"] .comms-profile-mark>span{display:none}
html[data-layout="mobile"] .comms-identity .comms-kicker{font-size:8px;line-height:1.3;letter-spacing:.9px}
html[data-layout="mobile"] .comms-identity h1{font-size:24px;line-height:1.1;margin:4px 0}
html[data-layout="mobile"] .comms-identity-copy>p{font-size:11px;line-height:1.4}
html[data-layout="mobile"] .comms-record-count{display:none}
html[data-layout="mobile"] .comms-mobile-actions{display:flex;align-items:stretch;flex-shrink:0;gap:8px;padding:8px 12px;background:#253126;border-bottom:1px solid #4b5843}
html[data-layout="mobile"] .comms-mobile-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 11px;flex:1;border:1px solid #5c6b51;background:#303e2c;color:#e0e7d5;border-radius:5px;font-size:12px;line-height:1.4;box-shadow:inset 0 1px #8ba27516;white-space:nowrap}
html[data-layout="mobile"] .comms-mobile-actions>button:hover{background:#3b4b33}
html[data-layout="mobile"] .comms-mobile-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
html[data-layout="mobile"] .comms-selection-count{font:11px/1.3 Consolas,monospace;min-width:20px;border-radius:3px;background:#536047;color:#e4dec1;padding:3px 5px}
html[data-layout="mobile"] .comms-session>.comms-notice{padding:9px 14px;gap:8px;flex-shrink:0}
html[data-layout="mobile"] .comms-session>.comms-notice p{font-size:11px;line-height:1.55}
html[data-layout="mobile"] .comms-session>.comms-notice a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;margin:-10px -2px}
html[data-layout="mobile"] .comms-session>form{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
html[data-layout="mobile"] .comms-session-grid{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
html[data-layout="mobile"] .comms-record{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
html[data-layout="mobile"] .comms-record>.comms-section-bar{padding:8px 14px;min-height:35px;flex-shrink:0}
html[data-layout="mobile"] .comms-section-bar h2{font-size:11px}
html[data-layout="mobile"] .comms-transcript{flex:1;min-height:86px;max-height:none;padding:0 14px;overflow:auto;overscroll-behavior:contain;scroll-padding-bottom:12px}
html[data-layout="mobile"] .comms-empty-record{padding:18px 7px;max-width:380px}
html[data-layout="mobile"] .comms-empty-icon{width:30px;height:30px;margin-bottom:8px}
html[data-layout="mobile"] .comms-empty-icon .inline-icon{width:16px;height:16px}
html[data-layout="mobile"] .comms-empty-record h3{font-size:22px;margin:6px 0 8px}
html[data-layout="mobile"] .comms-empty-record p{font-size:12px;line-height:1.65}
html[data-layout="mobile"] .comms-turn{padding-top:16px}
html[data-layout="mobile"] .comms-turn-number{font-size:9px}
html[data-layout="mobile"] .comms-speaker{font-size:10px}
html[data-layout="mobile"] .comms-question>p{font-size:14px}
html[data-layout="mobile"] .comms-reply{padding:13px}
html[data-layout="mobile"] .comms-reply blockquote{font-size:17px;line-height:1.7}
html[data-layout="mobile"] .comms-delivery{font-size:12px}
html[data-layout="mobile"] .comms-evidence-link{font-size:12px;min-height:44px;padding:8px 0}
html[data-layout="mobile"] .comms-turn-cost{font-size:10px}
html[data-layout="mobile"] .comms-composer{flex-shrink:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#273226;position:relative;box-shadow:0 -8px 20px #12201218}
html[data-layout="mobile"] .comms-composer>.comms-kicker{display:none}
html[data-layout="mobile"] .comms-topics{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:6px;margin:0 0 8px;padding-bottom:2px;max-width:100%;scrollbar-width:thin;scrollbar-color:#738667 transparent}
html[data-layout="mobile"] .comms-topics button{flex-shrink:0;min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap;border-color:#66745a}
html[data-layout="mobile"] .comms-composer>label{font-size:11px;line-height:1.4;margin-bottom:6px}
html[data-layout="mobile"] .comms #question{min-height:70px;height:70px;max-height:150px;padding:10px 12px;font-size:16px;line-height:1.45;resize:vertical;scroll-margin-bottom:18px}
html[data-layout="mobile"] .comms-composer-actions{flex-direction:row;align-items:center;gap:10px;margin-top:7px}
html[data-layout="mobile"] .comms-composer-actions .check{max-width:none;flex:1;font-size:11px;line-height:1.5;min-height:44px;align-items:center;padding:3px 0;gap:8px}
html[data-layout="mobile"] .comms-composer-actions .check input{width:19px;height:19px;margin:0}
html[data-layout="mobile"] .comms-composer-actions button.primary{width:auto;min-height:44px;padding:10px 12px;font-size:12px;gap:8px}
html[data-layout="mobile"] .comms #interview-status{margin-top:6px;font:10px/1.5 "Segoe UI",Arial,sans-serif;color:#b7c8a8;min-height:15px}

/* Contacts is an app home on mobile, with an ordinary readable roster. */
html[data-layout="mobile"] .comms[data-comms-view="contacts"]>.comms-toolbar{min-height:52px;padding:4px 15px}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-app-name{min-height:44px}
html[data-layout="mobile"] .comms[data-comms-view="contacts"]>.comms-workspace{display:flex;flex-direction:column;min-height:0}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-welcome{order:-1;padding:21px 18px 0}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-welcome h1{font-size:34px;margin:6px 0 10px}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-welcome-head>p{font-size:13px;line-height:1.65}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-idle,html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-overview-stats{display:none}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-welcome>.comms-notice{margin:17px -18px 0;padding:12px 18px}
html[data-layout="mobile"] .comms[data-comms-view="contacts"] .comms-welcome>.comms-notice p{font-size:12px}
html[data-layout="mobile"] .comms .comms-roster{border-right:0;display:flex;flex-direction:column;min-height:0;border-bottom:0}
html[data-layout="mobile"] .comms .comms-roster-head{display:block;padding:18px 16px 12px}
html[data-layout="mobile"] .comms .comms-roster-title{font-size:14px;min-height:44px;justify-content:flex-start;gap:10px}
html[data-layout="mobile"] .comms .comms-roster-head p{font-size:11px;margin:0 0 12px}
html[data-layout="mobile"] .comms #comms-contact-search{min-height:44px;width:100%;padding:10px 12px;font-size:16px}
html[data-layout="mobile"] .comms .comms-contact-list{display:flex;flex-direction:column;overflow:visible;gap:5px;padding:0 10px 15px}
html[data-layout="mobile"] .comms .comms-contact{flex:none;min-height:77px;padding:12px 10px;gap:12px;border:1px solid #3d4d36;background:#263324}
html[data-layout="mobile"] .comms .comms-contact.comms-selected{background:#3a432b;border-color:#8b8959}
html[data-layout="mobile"] .comms .comms-contact.comms-selected:before{display:none}
html[data-layout="mobile"] .comms .comms-avatar{width:38px;height:44px;font-size:16px}
html[data-layout="mobile"] .comms .comms-contact-copy strong{font-size:14px;line-height:1.3}
html[data-layout="mobile"] .comms .comms-contact-copy>span{font-size:12px;line-height:1.5;max-height:none;overflow:visible}
html[data-layout="mobile"] .comms .comms-contact-copy small{font-size:10px}
html[data-layout="mobile"] .comms .comms-contact-arrow{display:block}
html[data-layout="mobile"] .comms .comms-roster-foot{display:flex;font-size:12px;padding:16px;line-height:1.7}
html[data-layout="mobile"] .comms .comms-roster-foot a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;margin:-10px -2px}
html[data-layout="mobile"] .comms .comms-no-contacts{font-size:13px;padding:20px 10px}

/* Native modal sheets supply focus trapping, Escape, and modal background behavior. */
html[data-layout="mobile"] dialog.comms-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:680px;height:min(88dvh,calc(var(--field-viewport-height,100dvh) - 12px));max-height:calc(var(--field-viewport-height,100dvh) - 12px);padding:0;border:1px solid #637055;border-bottom:0;border-radius:17px 17px 0 0;background:#202c20;color:#dce4d0;box-shadow:0 -20px 80px #0008;overflow:hidden;overscroll-behavior:contain}
html[data-layout="mobile"] dialog.comms-sheet[open]{display:flex;flex-direction:column}
html[data-layout="mobile"] dialog.comms-sheet::backdrop{background:#07110cb3;backdrop-filter:blur(3px)}
html[data-layout="mobile"] .comms-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:17px 15px 13px;border-bottom:1px solid #536045;background:#2d3928}
html[data-layout="mobile"] .comms-sheet-head .comms-kicker{font-size:8px;color:#b9c29c;letter-spacing:1px}
html[data-layout="mobile"] .comms-sheet-head h2{font:normal 25px/1.25 Georgia,serif;letter-spacing:-.3px;margin:5px 0 0;color:#e7e7d4}
html[data-layout="mobile"] .comms-sheet-head>button{min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;border:1px solid #758060;border-radius:7px;background:#36452f;color:#e6e8d1;font:26px/1 "Segoe UI",Arial,sans-serif}
html[data-layout="mobile"] .comms-sheet-content{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom);scrollbar-width:thin;scrollbar-color:#7c8c66 #23301f}
html[data-layout="mobile"] .comms-sheet-public{padding:10px 16px 0}
html[data-layout="mobile"] .comms-sheet-public .comms-public-link{display:flex;align-items:center;min-height:44px;padding:8px 12px;background:#303d29;border:1px solid #566847;border-radius:4px;font-size:13px;margin:0;line-height:1.5}
html[data-layout="mobile"] .comms-sheet .comms-evidence{display:flex;flex-direction:column;border:0;min-height:100%;background:#233020}
html[data-layout="mobile"] .comms-sheet .comms-evidence>.comms-section-bar{display:none}
html[data-layout="mobile"] .comms-sheet .comms-tray-intro{padding:17px 17px 0;grid-column:auto}
html[data-layout="mobile"] .comms-sheet .comms-tray-intro p{font-size:13px;line-height:1.7;color:#bfcdb1}
html[data-layout="mobile"] .comms-sheet .comms-tray-intro>span{font-size:10px;margin-top:14px}
html[data-layout="mobile"] .comms-sheet .comms-tray{max-height:none;min-height:0;overflow:visible;margin:9px 0 0;padding:0 10px 16px;grid-column:auto;grid-row:auto}
html[data-layout="mobile"] .comms-sheet .comms-tray .check{min-height:64px;padding:13px 9px;font-size:13px;line-height:1.5;gap:12px;align-items:center}
html[data-layout="mobile"] .comms-sheet .comms-tray .check input{width:21px;height:21px;margin:0}
html[data-layout="mobile"] .comms-sheet .comms-tray .check small{font-size:10px;margin-top:4px}
html[data-layout="mobile"] .comms-sheet .comms-wallet{margin-top:auto;border-left:0;border-top:1px solid #526044;padding:18px;grid-column:auto;grid-row:auto}
html[data-layout="mobile"] .comms-sheet .comms-wallet .comms-kicker{font-size:9px}
html[data-layout="mobile"] .comms-sheet .comms-wallet p{font-size:12px;line-height:1.7}
html[data-layout="mobile"] .comms-sheet .comms-wallet>a{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-size:13px;padding:6px 0}
html[data-layout="mobile"] .comms-sheet .comms-portrait-note{font-size:11px;line-height:1.6;border-left:0;padding:13px 18px;grid-column:auto;grid-row:auto}
html[data-layout="mobile"] .comms-sheet-foot{flex-shrink:0;display:flex;flex-direction:column;gap:10px;padding:12px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid #606d4d;background:#2c3927;box-shadow:0 -5px 20px #13200e22}
html[data-layout="mobile"] .comms-selection-summary{font-size:12px;color:#c3d0ad;text-align:center}
html[data-layout="mobile"] .comms-sheet-foot>button{min-height:44px;padding:10px 14px;border:1px solid #dece9b;background:#d4bf8b;color:#28311e;border-radius:5px;font-size:14px;font-weight:600;line-height:1.4}

/* The shell follows visualViewport when the phone keyboard opens. */
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-identity,html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-session>.comms-notice,html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-topics{display:none}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-mobile-actions{padding-top:4px;padding-bottom:4px}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-record>.comms-section-bar{display:none}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-transcript{min-height:48px}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] #question{min-height:60px;height:60px}
html[data-layout="mobile"] .comms[data-comms-keyboard="true"] .comms-composer{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
@media(max-height:620px){html[data-layout="mobile"] .comms-identity{min-height:58px;padding-top:6px;padding-bottom:6px}html[data-layout="mobile"] .comms-profile-mark{display:none}html[data-layout="mobile"] .comms-identity h1{font-size:21px}html[data-layout="mobile"] .comms-session>.comms-notice{max-height:68px;overflow:auto}html[data-layout="mobile"] .comms-topics{margin-bottom:5px}html[data-layout="mobile"] .comms-empty-icon{display:none}html[data-layout="mobile"] .comms-empty-record{padding:10px 3px}}

/* Conversation owns the available window; auxiliary records open without losing drafts. */
html[data-layout="desktop"] .comms[data-comms-view="conversation"]{height:100%;min-height:100%;display:flex;flex-direction:column}
html[data-layout="desktop"] .comms[data-comms-view="conversation"]>.comms-toolbar{display:none}
html[data-layout="desktop"] .comms[data-comms-view="conversation"]>.comms-workspace{flex:1;min-height:0;grid-template-columns:190px minmax(0,1fr)}
html[data-layout="desktop"] .comms[data-comms-view="conversation"].comms-compact>.comms-workspace{grid-template-columns:minmax(0,1fr)}
html[data-layout="desktop"] .comms-session{display:flex;flex-direction:column;min-height:0;overflow:hidden}
html[data-layout="desktop"] .comms-session>form,html[data-layout="desktop"] .comms-session-grid,html[data-layout="desktop"] .comms-record{display:flex;flex-direction:column;flex:1;min-height:0}
html[data-layout="desktop"] .comms-identity{padding:12px 20px;gap:14px;flex:none}
html[data-layout="desktop"] .comms .comms-profile-mark{width:48px;height:58px;padding:0}
html[data-layout="desktop"] .comms-identity h1{font-size:25px;margin:2px 0 4px}
html[data-layout="desktop"] .comms-identity-copy>p{font-size:11px}
html[data-layout="desktop"] .comms-public-link{margin-top:4px}
html[data-layout="desktop"] .comms-record-count{display:none}
html[data-layout="desktop"] .comms-session>.comms-notice{padding:8px 20px;flex:none}
html[data-layout="desktop"] .comms .comms-continuity{padding:6px 20px}
html[data-layout="desktop"] .comms-record>.comms-section-bar{padding:7px 20px;flex:none}
html[data-layout="desktop"] .comms-transcript{flex:1;min-height:90px;max-height:none;padding:0 20px;overscroll-behavior:contain}
html[data-layout="desktop"] .comms-empty-record{padding:18px 12px}
html[data-layout="desktop"] .comms-empty-icon{display:none}
html[data-layout="desktop"] .comms-composer{padding:11px 20px;flex:0 1 auto;min-height:140px;overflow:auto;overscroll-behavior:contain}
html[data-layout="desktop"] .comms-composer>.comms-kicker{display:none}
html[data-layout="desktop"] .comms-topics{margin:0 0 8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}
html[data-layout="desktop"] .comms-topics button{white-space:nowrap;flex:none}
html[data-layout="desktop"] .comms #question{min-height:74px;height:74px;max-height:180px;padding:9px 12px;resize:vertical}
html[data-layout="desktop"] .comms .em-editor{min-height:74px;max-height:140px;padding:9px 12px;line-height:1.6}
html[data-layout="desktop"] .comms .em-toolbar button{min-height:34px;padding:5px 10px;font-size:11px}
html[data-layout="desktop"] .comms-composer-actions{flex-direction:row;align-items:center;margin-top:7px;gap:12px}
html[data-layout="desktop"] .comms-composer-actions:has(+ #interview-status){position:sticky;bottom:0;background:var(--paper);z-index:1}
html[data-layout="desktop"] .comms-composer-actions .check{max-width:none;flex:1}
html[data-layout="desktop"] .comms-composer-actions button.primary{width:auto}
html[data-layout="desktop"] .comms #interview-status{margin-top:5px}
html[data-layout="desktop"] .comms-workspace>.comms-roster{overflow:auto;min-height:0;border-right:1px solid var(--comms-line);border-bottom:0}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-roster-head{padding:15px 12px 10px;display:block}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-roster-head p{margin:5px 0 10px}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-contact{padding:10px 6px;gap:8px}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-contact-arrow{display:none}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-avatar{width:30px;height:36px}
html[data-layout="desktop"] .comms-workspace>.comms-roster .comms-roster-foot{padding:14px 12px}
html[data-layout="desktop"] .comms-mobile-actions{display:flex;gap:8px;padding:6px 20px;flex:none;border-bottom:1px solid var(--comms-line);background:var(--paper)}
html[data-layout="desktop"] .comms-mobile-actions>button{display:flex;align-items:center;gap:8px;min-height:34px;padding:6px 10px;color:var(--comms-ink);background:var(--card);border:1px solid var(--comms-line);border-radius:6px;font-size:11px}
html[data-layout="desktop"] .comms-mobile-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
html[data-layout="desktop"] .comms:not(.comms-compact) [data-comms-sheet-open="contacts"]{display:none}
html[data-layout="desktop"] .comms:not(.comms-compact) .comms-session{position:relative}
html[data-layout="desktop"] .comms:not(.comms-compact) .comms-identity{padding-right:200px}
html[data-layout="desktop"] .comms:not(.comms-compact) .comms-mobile-actions{position:absolute;right:18px;top:32px;padding:0;border:0;background:transparent}
html[data-layout="desktop"] .comms-selection-count{padding:1px 6px;border-radius:4px;background:var(--sage);color:var(--green)}

/* Desktop dialogs reuse the original evidence form and the same accessible focus behavior. */
html[data-layout="desktop"] dialog.comms-sheet{width:min(600px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 64px);margin:auto;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--comms-ink);box-shadow:0 18px 70px #132d4d55;overflow:hidden}
html[data-layout="desktop"] dialog.comms-sheet[open]{display:flex;flex-direction:column}
html[data-layout="desktop"] dialog.comms-sheet::backdrop{background:#21344466;backdrop-filter:blur(3px)}
html[data-layout="desktop"] .comms-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--paper);border-bottom:1px solid var(--line);flex:none}
html[data-layout="desktop"] .comms-sheet-head h2{font-size:21px;margin-top:4px}
html[data-layout="desktop"] .comms-sheet-head>button{width:40px;height:40px;font-size:24px;padding:0;color:var(--muted);background:var(--card);border-color:var(--line)}
html[data-layout="desktop"] .comms-sheet-content{overflow:auto;min-height:0;overscroll-behavior:contain}
html[data-layout="desktop"] .comms-sheet-public{padding:12px 20px 0}
html[data-layout="desktop"] .comms-sheet .comms-roster{border:0;overflow:visible}
html[data-layout="desktop"] .comms-sheet .comms-roster-head{padding:16px 20px;display:block}
html[data-layout="desktop"] .comms-sheet .comms-roster-head p{margin:4px 0 12px}
html[data-layout="desktop"] .comms-sheet .comms-contact-list{flex-direction:column;padding:0 12px 16px;overflow:visible}
html[data-layout="desktop"] .comms-sheet .comms-contact{flex:none;min-height:65px;padding:12px;gap:12px}
html[data-layout="desktop"] .comms-sheet .comms-contact-copy>span{max-height:none;font-size:12px}
html[data-layout="desktop"] .comms-sheet .comms-evidence{display:flex;flex-direction:column;border:0}
html[data-layout="desktop"] .comms-sheet .comms-evidence>.comms-section-bar{display:none}
html[data-layout="desktop"] .comms-sheet .comms-tray{max-height:none;overflow:visible;padding:6px 12px 16px}
html[data-layout="desktop"] .comms-sheet .comms-tray .check{min-height:48px;padding:12px 8px;font-size:12px;gap:12px;align-items:center}
html[data-layout="desktop"] .comms-sheet .comms-tray .check input{width:18px;height:18px}
html[data-layout="desktop"] .comms-sheet .comms-wallet{border-left:0;border-top:1px solid var(--line);margin-top:0;padding:16px 20px}
html[data-layout="desktop"] .comms-sheet .comms-portrait-note{border-left:0}
html[data-layout="desktop"] .comms-sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:var(--paper);border-top:1px solid var(--line);flex:none}
html[data-layout="desktop"] .comms-selection-summary{font-size:11px;color:var(--muted)}
html[data-layout="desktop"] .comms-sheet-foot>button{color:var(--card);background:var(--green);border-color:var(--green);font-size:12px;min-height:38px}
html[data-layout="mobile"] .comms[data-comms-view="conversation"] .comms-profile-mark{width:42px;height:50px}
/* The session bar already carries the turn count; keep only the accessible record heading. */
html[data-layout] .comms[data-comms-view="conversation"] .comms-record>.comms-section-bar{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[data-layout="mobile"] .comms[data-comms-view="conversation"] .comms-identity{padding-top:8px;padding-bottom:8px;min-height:0}
html[data-layout="mobile"] .comms[data-comms-view="conversation"] .comms-session>.comms-notice{padding-top:6px;padding-bottom:6px}
@media(max-height:850px){
  html[data-layout="desktop"] .comms[data-comms-view="conversation"] .comms-identity{padding-top:8px;padding-bottom:8px}
  html[data-layout="desktop"] .comms-identity .comms-kicker{display:none}
  html[data-layout="desktop"] .comms-identity h1{font-size:23px}
  html[data-layout="desktop"] .comms:not(.comms-compact) .comms-mobile-actions{top:22px}
  html[data-layout="desktop"] .comms-composer{max-height:200px}
}
@media(min-height:700px){html[data-layout="mobile"] .comms[data-comms-view="conversation"]:not([data-comms-keyboard="true"]) .comms-transcript{min-height:140px}}
