:root{--p-bg:#f4f7f9;--p-surface:#fff;--p-text:#19242d;--p-muted:#5d6b77;--p-line:#d7dfe5;--p-brand:#087d9f;--p-brand-dark:#056681;--p-selected:#edf7fa;--p-red:#b42318;--p-amber:#8a5b00;--p-green:#3d7000;--p-focus:#0b89ad}*{box-sizing:border-box}body{margin:0;background:var(--p-bg);color:var(--p-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}button,input,select,textarea{font:inherit}.lpv3-button{min-height:38px;padding:8px 12px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-surface);color:var(--p-text);font-weight:700}.lpv3-button:hover{border-color:var(--p-brand);color:var(--p-brand)}.lpv3-primary{background:var(--p-brand);border-color:var(--p-brand);color:#fff}.lpv3-primary:hover{background:var(--p-brand-dark);color:#fff}.lpv3-button:disabled{opacity:.55}.lpv3-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid color-mix(in srgb,var(--p-focus) 35%,transparent);outline-offset:1px}.lpv3-login{min-height:100dvh;display:grid;place-items:center;padding:20px}.lpv3-login-panel{width:min(420px,100%);padding:28px;border:1px solid var(--p-line);border-top:3px solid var(--p-brand);border-radius:6px;background:var(--p-surface);box-shadow:0 16px 38px rgba(13,50,66,.14)}.lpv3-kicker{margin:0 0 8px;color:var(--p-brand);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.lpv3-login h1{font-size:22px;margin:0 0 8px}.lpv3-login p{color:var(--p-muted)}label{display:grid;gap:5px;margin:14px 0;font-weight:700}input,select,textarea{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-surface);color:var(--p-text)}textarea{min-height:92px;resize:vertical}.lpv3-inline{display:flex;justify-content:flex-end;gap:8px}.lpv3-message{min-height:20px;margin-top:12px;color:var(--p-muted)}.lpv3-app{min-height:100dvh}.lpv3-header{height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;border-bottom:1px solid var(--p-line);background:var(--p-surface)}.lpv3-header>div{display:flex;align-items:center;gap:10px}.lpv3-header strong{font-size:17px}.lpv3-header span{color:var(--p-muted);font-size:11px}.lpv3-preview,.lpv3-banner{padding:10px 16px;border-bottom:1px solid var(--p-line);background:#fff5d9;color:#5e4200;font-weight:700}.lpv3-preview label{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 12px}.lpv3-preview select{width:auto;min-height:34px;background:#fff}.lpv3-commandbar{height:54px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--p-line);background:var(--p-surface)}.lpv3-commandbar nav{height:100%;display:flex;gap:20px}.lpv3-commandbar nav button{border:0;border-bottom:2px solid transparent;background:none;color:var(--p-muted);font-weight:800}.lpv3-commandbar nav button[aria-selected="true"]{border-bottom-color:var(--p-brand);color:var(--p-text)}.lpv3-commandbar nav span{display:inline-block;min-width:18px;border-radius:3px;background:var(--p-bg);font-size:10px;line-height:17px}.lpv3-search{margin:0}.lpv3-search input{width:240px}.lpv3-workspace{height:calc(100dvh - 110px);display:grid;grid-template-columns:minmax(360px,42%) 1fr}.lpv3-list,.lpv3-detail{overflow:auto;background:var(--p-surface)}.lpv3-detail{border-left:1px solid var(--p-line)}.lpv3-row{width:100%;display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:10px 12px;border:0;border-bottom:1px solid var(--p-line);background:var(--p-surface);color:var(--p-text);text-align:left}.lpv3-row:hover{background:color-mix(in srgb,var(--p-selected) 45%,var(--p-surface))}.lpv3-row[aria-selected="true"]{background:var(--p-selected);box-shadow:inset 0 -2px var(--p-brand)}.lpv3-row strong{font-size:13px}.lpv3-row small{color:var(--p-muted)}.lpv3-row .ref{font-variant-numeric:tabular-nums}.lpv3-row .row-status{font-weight:700;text-align:right}.lpv3-row .row-attention{grid-column:1/-1;color:var(--p-red);font-size:11px;font-weight:700}.lpv3-empty{padding:28px;color:var(--p-muted);text-align:center}.lpv3-detail-head{position:sticky;top:0;z-index:2;padding:13px 16px;border-bottom:1px solid var(--p-line);background:var(--p-surface)}.lpv3-detail-head h2{margin:0;font-size:16px}.lpv3-detail-head p{margin:4px 0 0;color:var(--p-muted);font-size:11px}.lpv3-section{padding:14px 16px;border-bottom:1px solid var(--p-line)}.lpv3-section h3{margin:0 0 8px;font-size:12px}.lpv3-actions{display:flex;flex-wrap:wrap;gap:8px}.lpv3-facts{display:grid;grid-template-columns:120px 1fr;gap:7px 12px}.lpv3-facts dt{color:var(--p-muted)}.lpv3-facts dd{margin:0;font-weight:600}.lpv3-thread{list-style:none;margin:0;padding:0}.lpv3-thread li{padding:9px 0;border-top:1px solid var(--p-line)}.lpv3-thread li:first-child{border:0}.lpv3-thread small{display:block;color:var(--p-muted)}.lpv3-file-state{padding:10px;border:1px solid var(--p-line);color:var(--p-muted)}.lpv3-settings{max-width:720px;margin:24px auto;padding:20px;border-top:2px solid var(--p-brand);background:var(--p-surface)}.lpv3-dialog-wrap{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px}.lpv3-dialog-wrap[hidden]{display:none}.lpv3-backdrop{position:absolute;inset:0;background:rgba(8,16,22,.58)}.lpv3-dialog{position:relative;width:min(520px,100%);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--p-line);border-radius:6px;background:var(--p-surface);box-shadow:0 18px 44px rgba(0,0,0,.28)}.lpv3-dialog header{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--p-line)}.lpv3-dialog h2{margin:0;font-size:16px}.lpv3-dialog header p{margin:4px 0 0;color:var(--p-muted);font-size:11px}.lpv3-dialog header button{width:38px;height:38px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-surface);font-size:20px}.lpv3-dialog form>div#lpv3Fields{padding:16px}.lpv3-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--p-line)}.lpv3-error,.lpv3-conflict{margin:0 16px 12px;color:var(--p-red);font-weight:700}.lpv3-conflict{padding:10px;border:1px solid var(--p-amber);background:#fff7e5;color:var(--p-text)}.lpv3-toasts{position:fixed;right:16px;bottom:16px;z-index:120;width:min(350px,calc(100vw - 32px));display:grid;gap:8px}.lpv3-toast{padding:11px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-surface);box-shadow:0 8px 22px rgba(0,0,0,.16);font-weight:700}
@media(max-width:720px){.lpv3-header{height:auto;min-height:60px;padding:8px 10px}.lpv3-header>div:first-child{display:grid;gap:0}.lpv3-commandbar{height:auto;align-items:stretch;flex-direction:column;padding:0 10px 8px}.lpv3-commandbar nav{height:44px}.lpv3-search input{width:100%;min-height:44px}.lpv3-workspace{display:block;height:auto}.lpv3-detail{display:none;position:fixed;inset:0;z-index:20;border:0}.lpv3-app.detail-open .lpv3-detail{display:block}.lpv3-app.detail-open .lpv3-list{display:none}.lpv3-detail-head{padding-top:max(13px,env(safe-area-inset-top))}.lpv3-detail-head:before{content:"← Cases";display:block;margin-bottom:8px;color:var(--p-brand);font-weight:800}.lpv3-button{min-height:44px}.lpv3-preview label{display:grid;margin:8px 0 0}.lpv3-dialog-wrap{align-items:end;padding:0}.lpv3-dialog{width:100%;max-height:92dvh;border-radius:6px 6px 0 0}}
.lpv3-settings>p{max-width:68ch;color:var(--p-muted);line-height:1.55}.lpv3-settings .lpv3-alert-choice{display:flex;align-items:flex-start;gap:10px;margin:18px 0;padding:12px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-bg)}.lpv3-alert-choice input{width:18px;min-height:18px;margin:2px 0 0;padding:0;flex:none}.lpv3-alert-choice span,.lpv3-alert-choice strong,.lpv3-alert-choice small{display:block}.lpv3-alert-choice small{margin-top:3px;color:var(--p-muted);font-weight:400;line-height:16px}
:where([hidden]){display:none!important}
.lpv3-unread{color:var(--lc-action,#1d6fd0);font-weight:700}
.lpv3-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.lpv3-section-heading span{color:var(--p-muted);font-size:11px}.lpv3-thread li{position:relative;padding-left:10px}.lpv3-thread li:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;background:var(--p-line)}.lpv3-thread li.from-office:before{background:var(--p-brand)}.lpv3-thread .who{font-weight:700}.lpv3-thread .when{float:right;color:var(--p-muted);font-size:11px}.lpv3-thread p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.lpv3-thread .lpv3-thread-empty{padding-left:0;color:var(--p-muted)}.lpv3-thread .lpv3-thread-empty:before{display:none}.lpv3-composer{margin-top:12px;padding-top:12px;border-top:1px solid var(--p-line)}.lpv3-composer label{margin:0 0 6px}.lpv3-composer textarea{min-height:86px}.lpv3-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.lpv3-composer-help{max-width:480px;margin:0;color:var(--p-muted);font-size:11px;line-height:16px}.lpv3-composer-status{margin:8px 0 0;color:var(--p-brand-dark);font-weight:700}
@media(max-width:720px){.lpv3-composer>div{align-items:stretch;flex-direction:column}.lpv3-composer button{width:100%}}

/* Reply window — the surface a texted link opens. Deliberately one column and
   one action: it is a form, not a workspace, and must not imply there is more to
   explore behind it. Same flat ruled grammar and tokens as the signed-in portal,
   so it reads as a narrow view of the same product rather than a different one. */
.lpv3-reply{min-height:100dvh;display:grid;place-items:start center;padding:20px}
.lpv3-reply-panel{width:min(520px,100%);padding:24px;border:1px solid var(--p-line);border-radius:6px;background:var(--p-surface);box-shadow:0 16px 38px rgba(13,50,66,.14)}
.lpv3-reply-panel h1{margin:0 0 4px;font-size:18px}
.lpv3-reply-case{font-weight:800;font-variant-numeric:tabular-nums}
.lpv3-reply-lead{margin:0 0 14px;color:var(--p-muted)}
/* Amber, quiet: a limit the reader should know about, not an alarm. */
.lpv3-reply-window{margin:14px 0 0;padding:8px 10px;border:1px solid var(--p-amber);border-radius:4px;background:#fff7e5;color:var(--p-text)}
.lpv3-reply-messages{max-height:min(56dvh,620px);margin:0 0 16px;padding:0;overflow:auto;overscroll-behavior:contain;list-style:none;border:1px solid var(--p-line);border-radius:4px;background:var(--p-bg);scrollbar-color:var(--p-muted) var(--p-bg)}
.lpv3-reply-messages li{padding:12px;overflow-wrap:anywhere}
.lpv3-reply-messages li+li{border-top:1px solid var(--p-line)}
.lpv3-reply-messages li.is-own{background:var(--p-selected)}
.lpv3-reply-messages .who{font-weight:800}
.lpv3-reply-messages .when{margin-left:8px;color:var(--p-muted);font-size:11px;font-variant-numeric:tabular-nums}
.lpv3-reply-messages p{margin:6px 0 0;white-space:pre-wrap}
.lpv3-reply-nomessage{color:var(--p-muted)}
.lpv3-reply-panel textarea{min-height:120px}
/* Stated as intent, not as a limitation: the narrow scope IS the feature. */
.lpv3-reply-scope{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--p-line);color:var(--p-muted)}
.lpv3-login-reason{margin:0 0 6px;color:var(--p-text);font-weight:800}
@media(max-width:720px){.lpv3-reply{padding:10px}.lpv3-reply-panel{padding:16px}.lpv3-reply-messages{max-height:48dvh}.lpv3-reply-panel button[type=submit]{width:100%}}
/* The closed-window action is an anchor doing a button's job. */
a.lpv3-button{display:inline-block;text-decoration:none;text-align:center}

/* iOS Safari zooms the page whenever a focused control is under 16px, and the
   base type here is 13px. On a phone that means tapping the reply box lurches
   the layout and leaves the user zoomed in. 16px on touch-sized viewports is the
   documented way to stop it; desktop keeps the dense type. */
@media(max-width:720px){
  input,select,textarea{font-size:16px}
}
/* Case media: visual previews while composing and usable inline playback. */
.lpv3-attach-row{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:8px}
/* The layout lived only under `.lpv3-composer-tools >`, so on the reply window
   -- the screen a texted link actually opens -- the global `label{display:grid}`
   won and stacked the paperclip above its own text in a 56px-tall control.
   The control owns its own layout now; the composer only adds placement. */
.lpv3-attach{display:inline-flex;align-items:center;gap:6px;flex:none;width:max-content;margin:0;cursor:pointer}
.lpv3-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.lpv3-thumb{position:relative;display:inline-block;width:72px;height:72px}
.lpv3-thumb img,.lpv3-thumb video{width:72px;height:72px;object-fit:cover;border:1px solid var(--p-line);border-radius:4px;display:block;background:var(--p-bg)}
.lpv3-thumb.is-uploading img,.lpv3-thumb.is-uploading video,.lpv3-thumb.has-error img,.lpv3-thumb.has-error video{filter:brightness(.55)}
.lpv3-thumb-state,.lpv3-thumb-retry{position:absolute;inset:0;display:grid;place-items:center;padding:6px;border:0;border-radius:4px;background:rgba(8,22,30,.54);color:#fff;font-size:10px;font-weight:800;text-align:center}
.lpv3-thumb-retry{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.lpv3-thumb-retry:hover{background:rgba(8,22,30,.72)}
.lpv3-thumb .lpv3-thumb-remove{position:absolute;z-index:2;top:-12px;right:-12px;display:grid;place-items:center;width:44px;height:44px;padding:13px;border:1px solid var(--p-line);border-radius:50%;background:var(--p-surface);color:var(--p-text)}
.lpv3-thumb-remove svg{width:14px;height:14px}
.lpv3-image{padding:0;border:0;background:none;display:inline-block;margin:8px 8px 0 0;cursor:zoom-in}
.lpv3-image img{max-width:min(260px,100%);max-height:260px;border:1px solid var(--p-line);border-radius:4px;display:block;background:var(--p-bg);min-width:120px;min-height:90px}
.lpv3-video{display:block;width:min(420px,100%);max-height:360px;margin:8px 8px 0 0;border:1px solid var(--p-line);border-radius:4px;background:#071016}
.lpv3-media-failed{display:flex;align-items:center;gap:12px;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-bg);color:var(--p-muted);cursor:pointer}
.lpv3-media-failed strong{color:var(--p-brand);font-size:inherit}
.lpv3-media-failed:hover,.lpv3-media-failed:focus-visible{border-color:var(--p-brand)}
.lpv3-video-failed{justify-content:space-between;flex-wrap:wrap;cursor:default}
.lpv3-media-failed-actions{display:flex;align-items:center;gap:4px}
.lpv3-media-failed-actions a,.lpv3-media-failed-actions button{display:inline-flex;align-items:center;min-height:44px;padding:8px;border:0;background:none;color:var(--p-brand);font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lpv3-lightbox{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:rgba(8,16,22,.82);cursor:zoom-out}
.lpv3-lightbox[hidden]{display:none}
.lpv3-lightbox img{max-width:100%;max-height:100%;border-radius:4px}
@media(max-width:720px){.lpv3-image img,.lpv3-video{max-width:100%;width:100%}}
.lpv3-thread-more{display:block;width:100%;margin-bottom:8px;padding:6px;border:1px dashed var(--p-line);border-radius:4px;background:none;color:var(--p-muted);font-weight:800}
.lpv3-thread-more:hover{color:var(--p-brand);border-color:var(--p-brand)}
/* Focus one case across the full width; the list is one click back. */
.lpv3-workspace.detail-only{grid-template-columns:1fr}
.lpv3-workspace.detail-only .lpv3-list{display:none}
.lpv3-workspace.detail-only .lpv3-detail{border-left:0}
.lpv3-detail-head{display:flex;align-items:flex-start;gap:12px}
.lpv3-detail-head>div{min-width:0;flex:1}
.lpv3-expand{flex:none;min-height:30px;padding:4px 9px;font-size:11px}
@media(max-width:720px){.lpv3-expand{display:none}}
::placeholder{color:var(--p-muted);opacity:1}
@media(max-width:720px){.lpv3-detail-head:before{content:none}.lpv3-expand{display:block}}
.lpv3-response-requested{display:block;width:max-content;margin-top:4px;padding:2px 5px;border-radius:3px;background:color-mix(in srgb,var(--p-amber) 12%,var(--p-surface));color:var(--p-amber);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}/* Already answered: same shape, no alarm colour. */
.lpv3-response-asked{display:block;width:max-content;margin-top:4px;padding:2px 5px;border-radius:3px;background:var(--p-bg);color:var(--p-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.lpv3-composer>p.lpv3-preview-note{margin:5px 0 0;line-height:16px}
/* Scoped like the staff app: `.lpv3-composer label` and the shared
   `input{min-height:40px}` both outrank a bare class, which flattened the
   box and blew the checkbox up to full field height. */
.lpv3-composer .lpv3-reminder-choice,.lpv3-reminder-choice{display:flex;align-items:flex-start;gap:9px;margin:10px 0 0;padding:9px 10px;border:1px solid var(--p-line);border-radius:6px;background:var(--p-bg);font-weight:400;cursor:pointer}.lpv3-composer .lpv3-reminder-choice input,.lpv3-reminder-choice input{width:18px;height:18px;min-height:18px;flex:none;margin:1px 0 0;padding:0;accent-color:var(--p-brand)}.lpv3-reminder-choice span{display:grid;gap:1px}.lpv3-reminder-choice strong{font-size:13px;line-height:1.3}.lpv3-reminder-choice small{color:var(--p-muted);font-size:11px;font-weight:400;line-height:1.35}
.lpv3-composer>.lpv3-composer-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px}.lpv3-composer-tools>.lpv3-attach{display:inline-flex;align-items:center;gap:6px;margin:0 auto 0 0;cursor:pointer}.lpv3-attach-icon{width:18px;height:18px;flex:none}.lpv3-preview-note{color:var(--p-muted);font-size:11px}.lpv3-send-actions{display:flex;flex:none;gap:8px}.lpv3-send-actions .lpv3-button{width:auto}.lpv3-action-more{position:relative;display:inline-block;align-self:center}.lpv3-action-more>summary{min-height:38px;display:flex;align-items:center;padding:0 8px;cursor:pointer;color:var(--p-muted);font-weight:700}.lpv3-action-more>summary:hover{color:var(--p-brand)}.lpv3-action-more>summary:focus-visible{outline:3px solid color-mix(in srgb,var(--p-focus) 35%,transparent);outline-offset:1px}.lpv3-action-more>.lpv3-action-menu{position:absolute;top:calc(100% + 5px);left:0;z-index:5;display:grid;gap:4px;min-width:180px;padding:6px;border:1px solid var(--p-line);border-radius:6px;background:var(--p-surface);box-shadow:0 10px 24px rgba(13,50,66,.16)}.lpv3-action-menu .lpv3-button{width:100%;min-height:34px;text-align:left;white-space:nowrap}
@media(max-width:1000px) and (min-width:721px){.lpv3-composer>.lpv3-composer-tools{flex-wrap:wrap}.lpv3-send-actions{margin-left:auto}}
@media(max-width:720px){.lpv3-detail-head{display:grid;grid-template-columns:minmax(0,1fr) auto}.lpv3-detail-head h2,.lpv3-detail-head p{overflow-wrap:anywhere}.lpv3-expand{max-width:112px;white-space:normal}.lpv3-section,.lpv3-composer-tools,.lpv3-send-actions{min-width:0}.lpv3-composer>.lpv3-composer-tools{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.lpv3-composer-tools>.lpv3-attach{width:auto;min-height:44px}.lpv3-preview-note{grid-column:1/-1}.lpv3-send-actions{display:grid;grid-template-columns:minmax(0,1fr)}.lpv3-send-actions .lpv3-button{width:100%;white-space:normal}.lpv3-composer .lpv3-reminder-choice{min-height:44px}.lpv3-action-more>summary{min-height:44px}.lpv3-action-more>.lpv3-action-menu{max-width:calc(100vw - 32px)}}
@media(max-width:370px){.lpv3-composer>.lpv3-composer-tools{grid-template-columns:1fr}.lpv3-composer-tools>.lpv3-attach{width:max-content}.lpv3-send-actions{grid-template-columns:1fr}}
/* Keep the final composer controls above the global notice lane. Attachment
   readiness itself stays inline with the composer, so it never obscures Send. */
.lpv3-detail{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
.lpv3-toasts{bottom:calc(16px + env(safe-area-inset-bottom));pointer-events:none}
.lpv3-alert-choice.is-unavailable{opacity:.62}.lpv3-alert-choice.is-unavailable small::after{content:" Available after the office completes its SMS privacy review."}

/* The lab case pane is the same operational workspace as the staff side. Use
   the pane's own width: status and case facts share a ruled row as soon as they
   fit, even when the worklist remains visible. */
.lpv3-detail{container-type:inline-size}
@container (min-width:480px){
  .lpv3-overview{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(260px,1.2fr);border-bottom:1px solid var(--p-line)}
  .lpv3-overview>.lpv3-section{min-width:0;border-right:1px solid var(--p-line);border-bottom:0}
  .lpv3-overview>.lpv3-section:last-child{border-right:0}
  .lpv3-overview .lpv3-facts{grid-template-columns:90px minmax(0,1fr)}
}

/* Reply first, history second. The composer stays in one reading column; its
   reminder and send controls become one compact footer when the pane is wide. */
.lpv3-composer>.lpv3-composer-main{display:block;min-width:0;margin:0}
.lpv3-composer>.lpv3-composer-side{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:10px;min-width:0;margin:10px 0 0}
.lpv3-composer-side>.lpv3-reminder-choice{margin-top:0}
.lpv3-composer-side>.lpv3-composer-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:0}
.lpv3-composer-status{grid-column:1/-1}
.lpv3-compose-unavailable{margin:12px 0 0;color:var(--p-muted)}
.lpv3-composer+.lpv3-thread,.lpv3-compose-unavailable+.lpv3-thread{margin-top:16px;padding-top:12px;border-top:1px solid var(--p-line)}
.lpv3-thread-more{margin:8px 0 0}
@container (min-width:640px){
  .lpv3-composer textarea{min-height:96px}
  .lpv3-composer-main>.lpv3-preview-note{max-width:72ch}
  .lpv3-composer>.lpv3-composer-side{grid-template-columns:minmax(260px,1fr) auto;align-items:center}
}
@media(max-width:720px){
  .lpv3-composer-side>.lpv3-composer-tools{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
  .lpv3-composer-side>.lpv3-composer-tools>.lpv3-attach{width:auto;min-height:44px}
}

/* Keep the short dates together instead of stretching them to opposite edges. */
.lpv3-facts{margin:0}
/* The first column matches the list's own label column so `Sent` lines up under
   `Procedure`; the trailing 1fr keeps the pair together and puts the slack at
   the end rather than between a label and its own date. */
.lpv3-facts>.lpv3-facts-row{grid-column:1/-1;display:grid;grid-template-columns:90px max-content max-content minmax(0,1fr);gap:7px 12px;align-items:baseline}
@container (max-width:479px){
  .lpv3-facts>.lpv3-facts-row{grid-template-columns:90px minmax(0,1fr)}
}
@container (min-width:480px){
  .lpv3-overview>.lpv3-section:first-child{display:grid;align-content:center;gap:8px}
  .lpv3-overview>.lpv3-section:first-child>h3{margin:0}
}

/* Sign-in extras: a "remember this device" checkbox (the global `label` rule is
   a grid, which would stack the box above its text) and the returning-device
   button that stands in for the whole email-code round trip. */
.lpv3-checkbox{display:flex;align-items:center;gap:9px;margin:14px 0;font-weight:600}
.lpv3-checkbox input{width:18px;min-height:18px;margin:0;padding:0;flex:none}
.lpv3-continue{width:100%;margin:14px 0 2px}
