@layer reset, base, layout, components, responsive;
@layer components {
  .mail-detail { min-width:0; }
  .mail-layout-scroll { overflow-x:auto; max-width:100%; position:relative; }
  .workspace-scroll-hint { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:0; padding:8px 14px; color:var(--muted); font-size:11px; border-bottom:1px solid var(--line); }
  .workspace-scroll-hint .button { font-size:11px; }
  .side-divider { position:relative; align-self:stretch; min-height:100px; background:#edf2ef; cursor:col-resize; touch-action:none; z-index:1; }
  .side-divider::before { content:""; position:absolute; inset:0 -6px; }
  .side-divider::after { content:""; position:absolute; top:18px; left:4px; width:4px; height:28px; border-left:1px solid #829d94; border-right:1px solid #829d94; }
  .side-divider:hover,.side-divider:focus-visible { background:#d4e7dc; }
  .side-divider:focus-visible { outline-offset:-3px; }
  body.resizing-workspace,body.resizing-workspace * { cursor:col-resize!important; user-select:none!important; }
  body.resizing-workspace iframe { pointer-events:none; }
  .mail-workspace { display:grid; min-width:0; align-items:start; }
  .workspace-panel { min-width:0; background:var(--paper); border-bottom:1px solid var(--line); scroll-margin-top:calc(var(--header-height) + 12px); }
  .panel-chrome { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:8px 14px; border-bottom:1px solid var(--line); background:#f6f9f6; }
  .panel-chrome strong { font-size:12px; }.panel-chrome .flow { gap:4px; }
  .panel-chrome .button { padding:6px 8px; font-size:11px; }
  .panel-layout-options { display:flex; flex-wrap:wrap; gap:5px; padding:10px 14px; border-bottom:1px solid var(--line); }
  .panel-layout-options .button { font-size:11px; padding:7px 9px; min-height:36px; }
  .panel-layout-options .button[aria-pressed="true"] { border-color:var(--accent); background:var(--tint); color:var(--accent-dark); }
  .panel-content { min-width:0; position:relative; }
  .mail-workspace.has-side>[data-layout="side"] { border-right:1px solid var(--line); }
  .mail-workspace.has-side>[data-layout="side"]>.panel-content { max-height:calc(100dvh - 240px); min-height:300px; overflow:auto; }
  .mail-workspace.has-side .form-grid { grid-template-columns:1fr; }
  .mail-workspace.has-side .mail-header,.mail-workspace.has-side .mail-body,.mail-workspace.has-side .review-box { padding:18px; }
  .mail-workspace.has-side .mail-meta { flex-wrap:wrap; }
  .mail-workspace.has-side .mail-meta time { width:100%; margin-left:46px; }
  .mail-workspace.has-side>.is-collapsed[data-layout="side"] .panel-chrome { flex-direction:column; padding:12px 4px; }
  .mail-workspace.has-side>.is-collapsed[data-layout="side"] .panel-chrome strong { writing-mode:vertical-rl; margin-bottom:12px; }
  .is-collapsed .panel-layout-options,.is-collapsed .panel-resize { display:none; }
  .workspace-panel[data-layout="float"] { position:fixed; z-index:41; display:flex; flex-direction:column; border:1px solid #b6c9c1; border-radius:10px; box-shadow:0 12px 48px #142c3133; max-width:calc(100vw - 24px); overflow:hidden; }
  .workspace-panel[data-layout="float"]>.panel-content { overflow:auto; flex:1; min-height:0; }
  .workspace-panel[data-layout="float"]>.panel-chrome { flex-shrink:0; cursor:move; touch-action:none; }
  .workspace-panel[data-layout="float"]>.panel-layout-options { flex-shrink:0; }
  .workspace-panel[data-layout="float"].is-collapsed { height:auto!important; }
  .workspace-panel[data-layout="float"] .form-grid { grid-template-columns:1fr; }
  .panel-resize { display:none; }
  .workspace-panel[data-layout="float"]>.panel-resize { position:absolute; display:block; bottom:0; right:0; border:0; background:var(--tint); color:var(--accent); width:30px; height:30px; cursor:nwse-resize; touch-action:none; }
  .workspace-panel[data-layout="float"].is-collapsed>.panel-resize { display:none; }
  .shell.menu-open .work-dock,.shell.menu-open .workspace-panel[data-layout="float"] { visibility:hidden; }
  .message-list-toggle { margin:8px; }
  .mail-status { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:14px 24px; border-bottom:1px solid var(--line); background:#fbfcfa; }
  .mail-read-state { display:flex; align-items:center; gap:6px; }.mail-read-state .button { font-size:11px; }
  .mail-case-progress { flex:1; min-width:200px; }.mail-case-progress>small { display:block; font-size:10px; margin-bottom:5px; }
  .preview-file-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:16px; border-bottom:1px solid var(--line); }.preview-file-head strong { overflow-wrap:anywhere; min-width:0; font-size:13px; }
  .attachment-text { margin:0; padding:18px; font-family:inherit; font-size:13px; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
  .attachment-image { display:block; max-width:100%; max-height:70vh; object-fit:contain; margin:auto; }.attachment-pdf { width:100%; min-height:420px; border:0; }
  .work-dock { position:fixed; left:var(--nav-width); right:0; bottom:0; display:flex; align-items:center; gap:10px; padding:8px 12px; background:#f8faf8; border-top:1px solid #b7cbc1; box-shadow:0 -3px 16px #142c3112; z-index:24; }
  .work-dock-label { font-size:11px; white-space:nowrap; color:var(--muted); }.work-dock-label strong { margin-left:5px; }
  .work-tab-list { display:flex; gap:6px; min-width:0; overflow-x:auto; }.work-tab { display:flex; align-items:center; gap:8px; flex:0 0 auto; max-width:270px; min-width:150px; min-height:46px; border:1px solid var(--line); border-radius:6px 6px 0 0; background:white; padding:7px 12px; text-align:left; font-size:11px; }
  .work-tab.active { border-color:var(--accent); background:var(--tint); }.work-tab span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.work-tab small { display:block; font-size:9px; overflow:hidden; text-overflow:ellipsis; }
}
@layer responsive {
  .inbox.messages-collapsed { grid-template-columns:64px minmax(0,1fr); }
  .inbox.messages-collapsed .message-list .list-search,.inbox.messages-collapsed .message-items,.inbox.messages-collapsed #no-mail { display:none; }
  .inbox.messages-collapsed .message-list-toggle { writing-mode:vertical-rl; margin:8px 10px; min-height:110px; }
  .workspace.has-work-tabs main { padding-bottom:110px; }body:has(.workspace.has-work-tabs) .toast { bottom:90px; }
  html:has(.workspace.has-work-tabs) { scroll-padding-bottom:88px; }
  @media(max-width:900px) { .work-dock { left:0; } }
  @media(max-width:680px) {
    .panel-chrome { padding:8px 12px; }.panel-chrome .button,.panel-layout-options .button { min-height:44px; }
    .inbox.messages-collapsed { display:block; }.inbox.messages-collapsed .message-list-toggle { writing-mode:horizontal-tb; min-height:44px; }
    .mail-status { padding:12px 16px; gap:8px; }.mail-case-progress { min-width:100%; }
    .work-dock-label { display:none; }.work-dock { padding:6px; }.work-tab { max-width:220px; }
    .panel-resize { min-width:40px; min-height:40px; }
  }
}
@layer components {
  .reply-start [data-action="reply-open"] { min-height:44px; }
  .reply-area { border-top:1px solid var(--line); min-width:0; }
  .reply-start { display:flex; align-items:center; gap:14px; padding:20px 24px; flex-wrap:wrap; }
  .reply-composer { position:relative; padding:20px 24px; background:var(--paper); scroll-margin-top:calc(var(--header-height) + 12px); }
  .reply-composer>.spread { gap:12px; align-items:start; flex-wrap:wrap; }
  .reply-fields { margin:12px 0 8px; border-top:1px solid var(--line); }
  .reply-field-row { display:flex; align-items:center; min-height:34px; border-bottom:1px solid var(--line); gap:8px; }
  .reply-field-row:focus-within { border-bottom-color:var(--accent); background:#fbfdfb; }
  .reply-fields label { flex:0 0 44px; font-size:11px; font-weight:500; color:var(--muted); }
  .reply-field-row input { flex:1; width:0; min-width:0; min-height:32px; padding:5px 4px; font-size:13px; border:0; border-radius:0; background:transparent; }
  .reply-field-row input:focus-visible { outline-offset:-2px; }
  .reply-recipient-options { display:flex; gap:0; flex-shrink:0; }
  .reply-recipient-options .button { min-height:32px; padding:5px 7px; font-size:11px; font-weight:500; }
  .reply-recipient-options .button[aria-expanded="true"] { color:var(--accent); background:var(--tint); }
  .quote-actions { display:flex; flex-direction:column; gap:8px; padding-top:16px; margin-top:16px; border-top:1px solid var(--line); }
  .quote-actions .button { width:100%; }
  .case-row-actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:6px; }
  .payment-help { display:block; font-size:11px; margin-top:5px; }
  .editor-frame { border:1px solid var(--line); border-radius:7px; margin-top:7px; overflow:hidden; }
  .editor-frame:focus-within { border-color:var(--accent); }
  .editor-toolbar { display:flex; gap:5px; flex-wrap:wrap; padding:6px 8px; border-bottom:1px solid var(--line); background:#f7faf7; }
  .format-button { min-width:36px; min-height:38px; padding:6px 10px; border:0; border-radius:4px; background:transparent; font-size:13px; }
  .format-button:hover,.format-button[aria-pressed="true"] { background:var(--tint); color:var(--accent-dark); }
  .format-bold { font-weight:750; }.format-italic { font-style:italic; }.format-underline { text-decoration:underline; }
  .reply-editor { min-height:190px; max-height:480px; overflow-y:auto; padding:16px; outline-offset:-3px; font-size:14px; overflow-wrap:anywhere; }
  .reply-editor:empty:before { content:attr(data-placeholder); color:var(--muted); pointer-events:none; }
  .reply-editor p,.reply-message p { color:var(--text); margin-bottom:10px; }
  .reply-editor ul,.reply-editor ol,.reply-message ul,.reply-message ol { padding-left:24px; }
  .reply-attachment-head { display:flex; align-items:center; gap:12px; margin:18px 0 8px; font-size:12px; }
  .attach-label { position:relative; cursor:pointer; }
  .attach-label:focus-within { outline:3px solid var(--accent); outline-offset:3px; }
  .reply-files { padding:0; margin:0 0 8px; display:flex; flex-wrap:wrap; gap:8px; list-style:none; }
  .reply-files li { display:flex; align-items:center; border:1px solid var(--line); border-radius:6px; max-width:100%; min-width:0; }
  .file-name { display:flex; align-items:center; gap:9px; padding:10px 12px; background:none; border:0; text-align:left; min-width:0; }
  .file-name span { overflow-wrap:anywhere; min-width:0; font-size:12px; }.file-name small { display:block; }
  .reply-files .icon-button { flex-shrink:0; }
  .reply-actions { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); padding-top:18px; margin-top:18px; }
  .reply-suggestion { padding:18px; margin-top:18px; border:1px solid #b6cebe; border-radius:7px; background:#f3f8f3; }
  .reply-suggestion>.spread { flex-wrap:wrap; gap:8px; }.reply-suggestion textarea { margin-top:6px; }
  .sent-reply { border-bottom:1px solid var(--line); padding:0 24px; }
  .sent-reply summary { display:flex; align-items:center; gap:10px; padding:18px 0; cursor:pointer; list-style:none; }
  .sent-reply summary>span { flex:1; min-width:0; overflow-wrap:anywhere; font-weight:600; }.sent-reply summary small { display:block; font-weight:400; margin-top:3px; }
  .sent-reply-body { padding:0 0 22px; }.reply-addresses { display:grid; grid-template-columns:52px minmax(0,1fr); gap:6px 12px; margin:0 0 18px; font-size:12px; }
  .reply-addresses dt { color:var(--muted); }.reply-addresses dd { margin:0; overflow-wrap:anywhere; }
  .reply-message { overflow-wrap:anywhere; margin:16px 0; }
}
@layer responsive {
  @media(min-width:901px) { .quote-summary { position:sticky; top:92px; } }
  @media(max-width:680px) {
    .reply-start,.reply-composer { padding:18px 16px; }
    .reply-field-row { gap:4px; min-height:44px; }.reply-field-row input { min-height:44px; padding:6px 2px; }
    .reply-fields label { flex-basis:42px; }.reply-recipient-options .button { min-width:36px; min-height:44px; padding:6px 4px; }
    .reply-fields input,.reply-editor,.reply-suggestion textarea { font-size:16px; }
    .reply-composer .reply-actions { align-items:stretch; }.reply-actions>.flow { width:100%; justify-content:space-between; gap:8px; }
    .reply-actions .button { min-height:44px; }.reply-actions button[type=submit] { width:100%; justify-content:center; }
    .editor-toolbar { gap:2px; padding:5px; }.format-button { min-height:44px; padding:6px 8px; }
    .sent-reply { padding:0 16px; }.reply-suggestion { padding:14px; }
  }
}
@layer reset {
  * { box-sizing: border-box; }
  [hidden] { display:none!important; }
  body,h1,h2,h3,h4,p { margin: 0; }
  button,input,select,textarea { font: inherit; }
  button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
}
@layer base {
  :root { --ink:#172e33; --text:#243b3f; --muted:#637579; --line:#dce4e2; --paper:#fff; --canvas:#f5f7f5; --accent:#126553; --accent-dark:#0c4c3e; --tint:#e6f1eb; --amber:#8a561c; --amber-bg:#fff4de; --red:#a23b3b; --radius:10px; }
  html { color-scheme:light; scroll-behavior:smooth; }
  body { background:var(--canvas); color:var(--text); font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
  h1 { font-size:30px; line-height:1.2; letter-spacing:-1.1px; color:var(--ink); font-weight:650; }
  h2 { font-size:19px; line-height:1.35; letter-spacing:-.4px; font-weight:650; }
  h3 { font-size:15px; line-height:1.4; font-weight:650; }
  p { color:var(--muted); }
  button { color:inherit; }
  a { color:var(--accent); }
  :focus-visible { outline:3px solid #2a9079; outline-offset:3px; }
  button:disabled { cursor:not-allowed; opacity:.5; }
  input,select,textarea { min-width:0; max-width:100%; width:100%; background:#fff; color:var(--ink); border:1px solid #c8d5d0; border-radius:6px; padding:10px 11px; min-height:42px; }
  input[type=checkbox],input[type=radio] { width:18px; min-height:18px; accent-color:var(--accent); flex-shrink:0; }
  input[type=number] { font-variant-numeric:tabular-nums; }
  input:hover,select:hover,textarea:hover { border-color:#829d94; }
  label { display:grid; gap:6px; color:var(--text); font-size:12px; font-weight:600; }
  small { font-size:12px; color:var(--muted); }
  .mono,.money { font-variant-numeric:tabular-nums; }
  .money { white-space:nowrap; }
  .muted { color:var(--muted); }
  .green { color:var(--accent); }
  .red { color:var(--red); }
  .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .skip-link { position:fixed; top:12px; left:20px; z-index:100; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); background:white; }
  .skip-link:focus { width:auto; height:auto; overflow:visible; clip-path:none; padding:12px; }
}
@layer layout {
  .shell { min-height:100dvh; display:grid; grid-template-columns:220px minmax(0,1fr); }
  .sidebar { position:sticky; top:0; height:100dvh; background:var(--ink); color:#d7e2df; padding:31px 18px 20px; display:flex; flex-direction:column; z-index:20; }
  .brand { display:flex; align-items:center; gap:11px; padding:0 8px 32px; color:white; }
  .brand-mark { width:34px; height:34px; color:#a8d8c5; }
  .brand strong { letter-spacing:1.8px; font-size:16px; font-weight:650; }
  .brand small { display:block; color:#a1b7b4; font-size:10px; letter-spacing:1.2px; margin-top:3px; }
  .nav-caption { font-size:11px; color:#a1b7b4; padding:14px 12px 9px; }
  .nav-button { display:flex; align-items:center; gap:12px; border:0; border-radius:7px; background:transparent; color:#c3d2ce; width:100%; min-height:46px; padding:10px 12px; text-align:left; margin:3px 0; }
  .nav-button:hover { background:#ffffff0d; color:white; }
  a.nav-button { text-decoration:none; }
  .nav-button.active { background:#f0f6f2; color:#183d33; font-weight:650; }
  .nav-count { margin-left:auto; background:#ffffff13; border-radius:4px; font-size:11px; padding:1px 6px; }
  .active .nav-count { background:#d9e9df; }
  .sidebar-bottom { margin-top:auto; padding-top:25px; }
  .workspace-note { border-top:1px solid #385054; margin-top:20px; padding:20px 10px 0; font-size:11px; color:#acbfba; }
  .workspace-note strong { display:flex; gap:7px; align-items:center; font-size:12px; color:#d7e3df; margin-bottom:5px; }
  .status-dot { width:6px; height:6px; background:#a8d8c5; display:inline-block; border-radius:50%; }
  .workspace { min-width:0; }
  .topbar { min-height:74px; border-bottom:1px solid var(--line); background:#fbfcfa; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 32px; }
  .breadcrumb { display:flex; gap:12px; align-items:center; color:var(--muted); font-size:12px; }
  .breadcrumb strong { color:var(--text); font-weight:500; }
  .top-actions { display:flex; align-items:center; gap:12px; }
  .top-divider { height:24px; width:1px; background:var(--line); }
  .avatar { width:32px; height:32px; border-radius:50%; background:#e6e9df; color:#4a5943; display:inline-grid; place-items:center; font-size:11px; font-weight:700; flex-shrink:0; }
  main { max-width:1680px; margin:auto; padding:31px 32px 48px; min-height:calc(100dvh - 74px); }
  .page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:25px; }
  .page-head p { margin-top:8px; font-size:13px; }
  .page-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .section { margin-top:24px; }
  .section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
  .surface { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
  .surface-pad { padding:24px; }
  .inbox { display:grid; grid-template-columns:280px minmax(0,1fr); }
  .message-list { border-right:1px solid var(--line); background:#fafbf9; }
  .list-search { padding:17px; border-bottom:1px solid var(--line); }
  .mail-detail { min-width:0; }
  .mail-header { padding:26px 28px 21px; border-bottom:1px solid var(--line); }
  .mail-body { padding:24px 28px; font-size:13px; line-height:1.8; }
  .review-box { border-top:1px solid var(--line); background:#fbfcfa; padding:24px 28px; }
  .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px 18px; margin-top:18px; }
  .form-grid .wide { grid-column:1/-1; }
  .split { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:24px; align-items:start; }
  .two-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
  .stack { display:flex; flex-direction:column; gap:14px; }
  .flow { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
  .spread { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
  .mt { margin-top:20px; }
  .mb { margin-bottom:16px; }
}
@layer components {
  .button { min-height:40px; padding:9px 14px; background:white; border:1px solid #ccd8d2; border-radius:6px; display:inline-flex; align-items:center; justify-content:center; gap:8px; line-height:1.3; font-size:12px; font-weight:600; text-decoration:none; }
  .button:hover { background:#f1f6f2; border-color:#a5b8ad; }
  .button.primary { background:var(--accent); color:white; border-color:var(--accent); }
  .button.primary:hover { background:var(--accent-dark); }
  .button.ghost { background:transparent; border-color:transparent; }
  .button.ghost:hover { background:#eaf0eb; }
  .button.danger { color:var(--red); }
  .button.small { padding:7px 10px; min-height:36px; }
  .button svg { width:16px; height:16px; }
  .icon-button { border:0; border-radius:6px; background:transparent; width:40px; height:40px; display:inline-grid; place-items:center; flex-shrink:0; }
  .icon-button:hover { background:#eaf0eb; }
  .menu-toggle { display:none; }
  .badge { font-size:11px; font-weight:600; padding:4px 8px; background:#f0f3f1; color:#586c62; border-radius:4px; display:inline-flex; align-items:center; gap:5px; white-space:nowrap; line-height:1.4; }
  .badge.success { color:#28624c; background:#e8f3eb; }
  .badge.warning { color:var(--amber); background:var(--amber-bg); }
  .badge.error { color:#963d3d; background:#fbeceb; }
  .guide { display:flex; align-items:center; gap:16px; margin-bottom:22px; padding:16px 18px; background:#eaf1ec; border:1px solid #d3e2d7; border-radius:8px; }
  .guide-number { width:34px; height:34px; border:1px solid #b6cebe; display:grid; place-items:center; border-radius:50%; font-size:13px; color:var(--accent); flex-shrink:0; }
  .guide-copy { flex:1; min-width:0; }
  .guide-copy strong { font-size:13px; color:#244e3e; }
  .guide-copy p { font-size:12px; margin-top:2px; color:#4b685b; }
  .guide-controls { display:flex; gap:4px; align-items:center; }
  .guide-controls .icon-button { width:32px; height:32px; }
  .message-item { background:transparent; border:0; border-bottom:1px solid var(--line); padding:20px 18px; text-align:left; width:100%; }
  .message-item.selected { background:#edf3ed; box-shadow:inset 3px 0 var(--accent); }
  .message-item:hover { background:#eff3ef; }
  .message-item .sender { font-size:12px; font-weight:600; color:#4a6057; }
  .message-item h3 { margin:7px 0 5px; font-size:13px; }
  .message-item p { font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:10px; }
  .mail-meta { display:flex; align-items:center; gap:10px; margin-top:18px; font-size:12px; }
  .mail-meta .avatar { width:36px; height:36px; border-radius:8px; background:#eef1e6; }
  .mail-meta small { display:block; margin-top:1px; }
  .mail-meta time { margin-left:auto; color:var(--muted); white-space:nowrap; font-size:11px; }
  .attachment { display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line); background:white; border-radius:7px; padding:10px 12px; text-align:left; font-size:12px; margin-top:15px; max-width:100%; }
  .attachment span { overflow-wrap:anywhere; }
  .attachment small { display:block; font-size:10px; }
  .table-wrap { overflow-x:auto; }
  table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; }
  th { font-size:11px; font-weight:600; color:var(--muted); padding:13px 16px; border-bottom:1px solid var(--line); background:#f9faf8; white-space:nowrap; }
  td { padding:16px; border-bottom:1px solid #e8ede9; vertical-align:middle; }
  tbody tr:last-child td { border-bottom:0; }
  td strong { font-weight:600; }
  td small { display:block; font-size:11px; margin-top:4px; }
  td input,td select { min-height:36px; padding:7px 8px; font-size:12px; }
  .right { text-align:right; }
  .table-wrap input.number { width:76px; }
  .check-label { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:500; }
  .action-bar { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; padding:18px 24px; background:#fbfcfa; border-top:1px solid var(--line); }
  .action-bar p { font-size:12px; }
  .tabs { display:flex; gap:24px; border-bottom:1px solid var(--line); margin-bottom:24px; overflow-x:auto; }
  .tab { padding:0 1px 14px; border:0; border-bottom:2px solid transparent; background:transparent; font-size:12px; color:var(--muted); white-space:nowrap; min-height:44px; }
  .tab.active { color:var(--accent); border-bottom-color:var(--accent); font-weight:650; }
  .steps { display:flex; padding:18px 20px; gap:8px; align-items:center; margin-bottom:23px; overflow:auto; border:1px solid var(--line); background:#fff; border-radius:8px; }
  .step { display:flex; align-items:center; gap:7px; font-size:11px; white-space:nowrap; color:#73817a; }
  .step .dot { width:20px; height:20px; border-radius:50%; background:#f0f3ef; display:grid; place-items:center; font-size:10px; }
  .step.complete { color:var(--accent); }
  .step.complete .dot { background:#deeee2; }
  .step.current { color:var(--ink); font-weight:650; }
  .step.current .dot { background:var(--ink); color:white; }
  .step-line { flex:1; min-width:12px; height:1px; background:var(--line); }
  .detail-list { margin:0; display:grid; gap:18px; }
  .detail-list dt { font-size:11px; color:var(--muted); margin-bottom:3px; }
  .detail-list dd { margin:0; font-size:13px; font-weight:500; }
  .summary { padding:22px; }
  .summary h3 { margin-bottom:20px; }
  .summary-line { display:flex; justify-content:space-between; gap:15px; margin:12px 0; font-size:12px; }
  .summary-total { border-top:1px solid var(--line); padding-top:16px; margin-top:18px; }
  .summary-total strong { font-size:23px; font-weight:600; color:var(--ink); letter-spacing:-.5px; }
  .summary-note { background:#f1f6f0; padding:13px; border-radius:6px; font-size:11px; margin-top:18px; }
  .notice { display:flex; align-items:flex-start; gap:10px; background:#f0f4f0; border:1px solid #dbe5dc; border-radius:6px; padding:13px 15px; font-size:12px; color:#46614e; }
  .notice svg { width:17px; height:17px; margin-top:1px; }
  .notice.warning { background:#fff8e9; border-color:#ecdfbf; color:#80551f; }
  .notice.error { background:#fceeed; border-color:#efcdca; color:var(--red); }
  .supplier-row { display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; padding:21px 24px; border-bottom:1px solid var(--line); }
  .supplier-row:last-child { border-bottom:0; }
  .supplier-row p { font-size:12px; margin-top:4px; }
  .supplier-avatar { width:38px; height:38px; border-radius:8px; background:#edf0e8; display:grid; place-items:center; font-size:13px; color:#52604c; }
  .compare-choice { display:block; background:#f7faf6; border:1px solid var(--line); border-radius:6px; padding:10px; cursor:pointer; font-size:12px; font-weight:400; }
  .compare-choice:has(input:checked) { background:#e8f2e9; border-color:#559476; }
  .compare-choice strong { font-size:15px; }
  .compare-choice input { margin-right:7px; vertical-align:middle; }
  .compare-table { min-width:600px; }
  .compare-table th:first-child { width:30%; }
  .compare-table td { vertical-align:top; }
  .metrics { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--line); padding:22px 0 27px; margin-bottom:24px; }
  .metric { padding:0 25px; border-right:1px solid var(--line); }
  .metric:first-child { padding-left:0; }
  .metric:last-child { border:0; }
  .metric p { font-size:12px; margin-bottom:7px; }
  .metric strong { display:block; font-size:31px; font-weight:550; letter-spacing:-1px; color:var(--ink); line-height:1.3; }
  .metric small { display:block; margin-top:7px; font-size:11px; }
  .timeline { padding-left:9px; }
  .event { padding:0 0 23px 25px; border-left:1px solid var(--line); position:relative; }
  .event:before { content:""; position:absolute; left:-4px; top:6px; width:7px; height:7px; background:#8ead9a; border-radius:50%; }
  .event p { font-size:12px; margin-top:5px; }
  .event small { font-size:10px; }
  .empty { padding:50px 24px; text-align:center; }
  .empty svg { width:34px; height:34px; color:#80998c; margin-bottom:15px; }
  .empty h2 { margin-bottom:8px; }
  .empty p { max-width:430px; margin:0 auto 20px; }
  .journey-row { display:flex; align-items:center; gap:16px; width:100%; background:white; border:0; border-bottom:1px solid var(--line); text-align:left; padding:21px 0; }
  .journey-row:hover { background:#f8faf6; }
  .journey-index { font-size:22px; font-weight:400; color:#92a49a; width:30px; }
  .journey-row p { font-size:12px; margin-top:4px; }
  .journey-row>svg { margin-left:auto; color:var(--accent); }
  dialog { border:1px solid var(--line); border-radius:12px; padding:0; width:min(740px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); color:var(--text); box-shadow:0 24px 80px #122b3226; }
  dialog::backdrop { background:#112c3666; backdrop-filter:blur(3px); }
  .dialog-head { display:flex; align-items:center; justify-content:space-between; padding:20px 26px; border-bottom:1px solid var(--line); background:#fbfcf9; position:sticky; top:0; z-index:2; }
  .dialog-body { padding:24px 26px; }
  .dialog-footer { display:flex; gap:10px; justify-content:flex-end; padding:18px 26px; border-top:1px solid var(--line); background:#fbfcf9; position:sticky; bottom:0; flex-wrap:wrap; }
  .form-error { color:var(--red); padding-top:12px; font-size:12px; }
  .document { background:#fff; padding:12px 6px; }
  .document-brand { font-size:21px; letter-spacing:2px; color:var(--ink); font-weight:650; }
  .document h2 { font-size:26px; margin:30px 0 18px; }
  .document .doc-meta { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:25px 0; }
  .document .doc-meta p { margin-top:4px; font-size:12px; }
  .document .doc-total { text-align:right; margin-top:25px; font-size:20px; font-weight:600; }
  .document footer { margin-top:30px; padding-top:16px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
  .toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px); padding:13px 20px; border-radius:8px; background:var(--ink); color:white; box-shadow:0 8px 28px #13292f22; z-index:100; font-size:13px; opacity:0; transition:opacity .15s,transform .15s; pointer-events:none; max-width:calc(100vw - 40px); }
  .toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
  .mobile-scrim { display:none; }
  .field-help { font-size:11px; margin-top:5px; }
  .role-label { font-size:12px; }
}
@layer responsive {
  @media(min-width:1600px) { .inbox { grid-template-columns:310px minmax(0,1fr); } .mail-body { max-width:850px; } }
  @media(max-width:1150px) { .shell { grid-template-columns:185px minmax(0,1fr); } .sidebar { padding-left:12px; padding-right:12px; } .brand { gap:6px; padding-left:3px; } .brand strong { font-size:14px; } main { padding:25px 24px 40px; } .topbar { padding:12px 24px; } .inbox { grid-template-columns:230px minmax(0,1fr); } .mail-header,.mail-body,.review-box { padding:22px; } .split { grid-template-columns:minmax(0,1fr) 250px; gap:18px; } .breadcrumb .parent { display:none; } }
  @media(max-width:900px) { .shell { grid-template-columns:1fr; } .sidebar { position:fixed; left:0; width:230px; transform:translateX(-100%); transition:transform .15s; } .shell.menu-open .sidebar { transform:translateX(0); } .shell.menu-open .mobile-scrim { display:block; position:fixed; inset:0; background:#142c3166; z-index:19; border:0; } .menu-toggle { display:inline-grid; } .topbar { min-height:66px; } .breadcrumb { gap:6px; } .inbox { grid-template-columns:235px minmax(0,1fr); } .split { grid-template-columns:minmax(0,1fr) 245px; } .role-label { display:none; } .page-head h1 { font-size:28px; } .top-actions { gap:5px; } }
  @media(max-width:680px) { main { padding:23px 16px 34px; } .topbar { padding:9px 12px; gap:5px; } .topbar .top-divider { display:none; } .topbar .button { padding:8px 10px; font-size:11px; } .topbar .guide-toggle span { display:none; } .page-head { gap:12px; flex-wrap:wrap; margin-bottom:20px; } .page-head h1 { font-size:27px; } .page-head p { font-size:12px; } .page-actions { width:100%; } .inbox { display:block; } .message-list { border-right:0; border-bottom:1px solid var(--line); } .message-list .list-search { padding:12px; } .message-items { display:flex; overflow-x:auto; } .message-item { min-width:240px; max-width:240px; border-right:1px solid var(--line); border-bottom:0; padding:15px; } .message-item.selected { box-shadow:inset 0 -3px var(--accent); } .message-item p { display:none; } .message-item h3 { margin-bottom:10px; } .mail-header,.mail-body,.review-box { padding:20px 17px; } .mail-header h2 { font-size:18px; } .mail-meta { flex-wrap:wrap; } .mail-meta time { margin-left:46px; width:100%; } .form-grid { gap:14px; grid-template-columns:1fr; } .split,.two-columns { grid-template-columns:1fr; } .guide { padding:13px; gap:10px; align-items:flex-start; flex-wrap:wrap; } .guide-number { width:28px; height:28px; } .guide-copy { flex-basis:calc(100% - 48px); } .guide-controls { margin-left:38px; } .guide-copy p { font-size:11px; } .surface-pad { padding:18px; } .action-bar { padding:16px; } .action-bar>.button { width:100%; } .supplier-row { padding:17px; gap:10px; grid-template-columns:auto 1fr; } .supplier-row>.badge,.supplier-row>.button { grid-column:2; justify-self:start; } .metrics { grid-template-columns:1fr; padding:5px 0 15px; gap:15px; } .metric,.metric:first-child { border:0; padding:0 0 14px; border-bottom:1px solid var(--line); display:grid; grid-template-columns:1fr auto; align-items:center; } .metric strong { font-size:27px; grid-column:2; grid-row:1/3; } .metric p { margin:0; } .metric small { margin-top:3px; } .metric:last-child { padding-bottom:0; } td { padding:13px 12px; } th { padding:12px; } .mobile-table thead { display:none; } .mobile-table tr { display:block; padding:12px 16px; border-bottom:1px solid var(--line); } .mobile-table td { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:7px 0; border:0; text-align:right; } .mobile-table td:before { content:attr(data-label); font-size:11px; color:var(--muted); text-align:left; } .mobile-table td:first-child { font-size:13px; } .tabs { gap:22px; } .steps { padding:14px; } .dialog-head { padding:15px 18px; } .dialog-body { padding:20px 18px; } .dialog-footer { padding:14px 18px; } .dialog-footer .button { flex:1; } .document .doc-meta { grid-template-columns:1fr; } .summary { padding:20px; } .toast { bottom:16px; width:max-content; text-align:center; } }
  @media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
  @media print { .sidebar,.topbar,main,.toast { display:none!important; } dialog[open] { display:block; position:static; width:100%; max-height:none; border:0; box-shadow:none; } dialog::backdrop,.dialog-head,.dialog-footer { display:none; } .dialog-body { padding:0; } }
}

/* The brand and navigation share a width, while the header remains visible. */
@layer layout {
  .shell { --nav-width:220px; --header-height:76px; grid-template-columns:var(--nav-width) minmax(0,1fr); grid-template-rows:var(--header-height) 1fr; }
  .shell.menu-collapsed { --nav-width:72px; }
  .topbar { grid-column:1/-1; grid-row:1; display:grid; grid-template-columns:var(--nav-width) minmax(0,1fr); gap:0; padding:0; height:var(--header-height); min-height:0; position:sticky; top:0; z-index:30; }
  .brand-panel { height:100%; display:flex; align-items:center; justify-content:center; padding:7px 12px; background:#fff; border-right:1px solid var(--line); }
  .brand-image { display:block; object-fit:contain; }
  .brand-full { width:176px; height:64px; max-width:100%; }
  .brand-small { width:38px; height:38px; }
  .header-main { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 24px 0 16px; }
  .menu-toggle { display:inline-grid; width:44px; height:44px; }
  body.drawer-open { overflow:hidden; }
  .sidebar { grid-column:1; grid-row:2; top:var(--header-height); height:calc(100dvh - var(--header-height)); align-self:start; overflow-y:auto; padding-top:18px; }
  .workspace { grid-column:2; grid-row:2; }
  main { min-height:calc(100dvh - var(--header-height)); scroll-margin-top:calc(var(--header-height) + 16px); }
  #intake-form { scroll-margin-top:calc(var(--header-height) + 18px); }
  .skip-link { z-index:60; }
}
@layer components {
  .case-progress { min-width:170px; max-width:250px; width:100%; text-align:left; }
  .case-progress-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
  .case-progress-title strong { font-size:12px; font-weight:600; }
  .case-progress-title>span { color:var(--muted); font-size:10px; white-space:nowrap; }
  .case-progress-track { display:flex; gap:4px; }
  .case-progress-track>span { flex:1; height:5px; border-radius:3px; background:#e4eae6; }
  .case-progress-track>.done { background:#8ab9a4; }
  .case-progress-track>.current { background:var(--accent); }
  .case-progress-lost .case-progress-title strong { color:var(--red); }
  .case-progress-lost .case-progress-track>.done { background:#cba9a5; }
  .case-progress-lost .case-progress-track>.current { background:#9e5751; }
  .case-progress-lost small { font-size:10px; }
}
@layer responsive {
  .shell { grid-template-columns:var(--nav-width) minmax(0,1fr); }
  .topbar { padding:0; }
  .menu-toggle { display:inline-grid; }
  @media(min-width:901px) {
    .shell.menu-collapsed .sidebar { padding:18px 10px; }
    .shell.menu-collapsed .nav-button { position:relative; justify-content:center; padding:10px; }
    .shell.menu-collapsed .nav-label,.shell.menu-collapsed .nav-caption,.shell.menu-collapsed .workspace-note { display:none; }
    .shell.menu-collapsed .nav-count { position:absolute; top:3px; right:2px; min-width:15px; padding:0 3px; font-size:9px; }
    .shell.menu-collapsed .nav-button>svg { width:21px; height:21px; }
  }
  @media(min-width:901px) and (max-width:1150px) { .shell:not(.menu-collapsed) { --nav-width:200px; } .header-main { padding-right:20px; padding-left:10px; } }
  @media(max-width:900px) {
    .shell { --nav-width:60px; --header-height:68px; grid-template-columns:minmax(0,1fr); }
    .shell.menu-collapsed { --nav-width:60px; }
    .shell.menu-open { --nav-width:230px; }
    .topbar { grid-template-columns:var(--nav-width) minmax(0,1fr); min-height:0; }
    .brand-panel { padding:4px 8px; }
    .brand-full { width:176px; height:60px; }
    .brand-small { width:36px; height:36px; }
    .header-main { padding:0 12px 0 6px; gap:8px; }
    .sidebar { position:fixed; top:var(--header-height); bottom:0; width:230px; height:calc(100dvh - var(--header-height)); padding:16px 18px 20px; }
    .workspace { grid-column:1; }
    .shell.menu-open .mobile-scrim { top:var(--header-height); }
    .shell.menu-open .top-actions { display:none; }
    .shell.menu-open .breadcrumb>strong,.shell.menu-open .breadcrumb .parent { display:none; }
    .shell.menu-open .header-main { justify-content:flex-start; }
  }
  @media(max-width:680px) {
    .shell,.shell.menu-collapsed { --nav-width:54px; }
    .shell.menu-open { --nav-width:220px; }
    .header-main { padding:0 8px 0 2px; gap:2px; }
    .breadcrumb>strong { display:none; }
    .top-actions { gap:1px; }
    .topbar .role-switcher { padding:8px 4px; }
    .topbar .role-switcher>svg { display:none; }
    .case-progress { min-width:0; width:200px; max-width:calc(100vw - 135px); }
    .mobile-table td[data-label="Progress"] { align-items:flex-start; }
  }
  @media(max-width:360px) { .topbar .journeys-button { padding:8px; } .topbar .journeys-button svg { display:none; } }
}

@layer components {
  .directory-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 16px; }
  .directory-toolbar label { width:min(360px,100%); }
  .directory-table td { vertical-align:middle; }
  .record-value { min-width:0; }
  .record-value>strong,.record-value>small { display:block; }
  .record-value>small { margin-top:4px; }
  .contact-email { overflow-wrap:anywhere; }
  .customer-terms { display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .customer-terms p { margin:5px 0 8px; font-size:12px; }
  .customer-terms strong,.customer-terms small { display:block; }
  .customer-terms small { margin-top:5px; }
  .terms-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
  .approval-scope { border:1px solid var(--line); border-radius:7px; margin:22px 0 12px; padding:14px; }
  .approval-scope legend { padding:0 6px; font-weight:650; font-size:13px; }
  .approval-scope label { padding:9px 0; align-items:flex-start; line-height:1.5; }
  .approval-scope input { flex-shrink:0; margin-top:2px; }
  .approval-scope small { display:block; margin-top:8px; }
  .demo-review-checks { margin-top:18px; font-size:12px; color:var(--muted); }
  .demo-review-checks>summary { cursor:pointer; padding:6px 0; }
  .supplier-picker td { vertical-align:middle; }
  .supplier-picker td>strong { display:block; }
  .recipient-choice { display:flex; align-items:center; gap:8px; min-height:36px; cursor:pointer; }
  .recipient-choice input { width:18px; height:18px; accent-color:var(--accent); flex-shrink:0; }
  .recipient-choice span { font-size:12px; }
  .recipient-selected { background:var(--tint); }
  .recipient-list { margin:0 0 22px; border-bottom:1px solid var(--line); padding-bottom:12px; }
  .recipient-list>summary { cursor:pointer; padding:12px 0; font-weight:600; font-size:13px; color:var(--accent); }
  .recipient-list[open]>summary { margin-bottom:12px; }
  .search-result .spread { gap:16px; flex-wrap:wrap; }
}
@layer responsive {
  @media(max-width:680px) {
    .directory-toolbar { align-items:stretch; flex-direction:column; gap:8px; }
    .directory-toolbar label { width:100%; }
    .directory-toolbar input { font-size:16px; }
    .customer-terms { align-items:stretch; flex-direction:column; }
    .terms-actions { width:100%; }
    .terms-actions .button { min-height:44px; }
    .recipient-choice { min-height:44px; }
    .directory-table td,.supplier-picker td { overflow-wrap:anywhere; align-items:flex-start; }
    .directory-table td:before,.supplier-picker td:before { flex:0 0 95px; }
    .record-value { flex:1; }
    .record-value .recipient-choice { justify-content:flex-end; }
    .supplier-picker-head { flex-direction:column; align-items:stretch; }
    .supplier-picker-head>.button { align-self:flex-start; min-height:44px; }
    .search-result .flow { width:100%; }
    .search-result .button { min-height:44px; }
    .recipient-list>summary { min-height:44px; }
  }
}

@layer components {
  .directory-controls { margin:0 0 16px; }
  .directory-viewbar,.directory-filterbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
  .directory-viewbar { border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:12px; }
  .directory-viewbar label,.directory-filterbar label { margin:0; min-width:0; }
  .saved-view { width:210px; max-width:100%; }
  .saved-view select { font-weight:650; }
  .directory-controls-spacer { flex:1; }
  .directory-search { width:min(340px,100%); flex:1 1 220px; }
  .directory-sort-select { width:205px; }
  .directory-filterbar>small { margin-left:auto; white-space:nowrap; }
  .directory-filter-chips { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding-top:12px; }
  .directory-filter-chips .button:not(.ghost) { background:var(--tint); border-color:#c8dfd4; color:var(--accent); }
  .directory-filter-chips .button { white-space:normal; text-align:left; }
  .column-sort { padding:6px 0; text-align:left; border:0; background:transparent; color:inherit; font:inherit; font-weight:600; cursor:pointer; }
  .directory-scroll { position:relative; }
  .directory-scroll .record-value { overflow-wrap:anywhere; }
  .dialog-head h2 { min-width:0; overflow-wrap:anywhere; }
  .dialog-head>.icon-button { flex-shrink:0; }
  .dialog-body { overflow-wrap:anywhere; }
  .editable-directory td { min-width:130px; }
  .editable-directory td:first-child { min-width:210px; }
  .editable-directory .directory-row-actions { min-width:130px; }
  .directory-row-actions .record-value { display:flex; flex-wrap:wrap; gap:2px; }
  .column-options { display:flex; flex-direction:column; }
  .column-option { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding:8px 0; }
  .column-option label { flex:1; min-width:0; overflow-wrap:anywhere; }
  .column-option>div { display:flex; flex-shrink:0; gap:4px; }
  .column-option input { flex-shrink:0; }
  .directory-case-link { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:12px 0 16px; margin-top:-8px; }
  .directory-case-link strong { font-size:13px; }
  .directory-case-link small { display:block; margin-top:4px; }
  .received-email-text { white-space:pre-wrap; overflow-wrap:anywhere; }
  .incoming-links { padding:18px 24px; border-top:1px solid var(--line); background:var(--tint); display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
  .incoming-links p,.incoming-links>small { width:100%; }
}
@layer responsive {
  @media(max-width:680px) {
    .directory-viewbar { gap:7px; }
    .directory-viewbar .saved-view { width:100%; }
    .directory-controls-spacer { display:none; }
    .directory-filterbar { gap:8px; }
    .directory-search { flex-basis:100%; width:100%; }
    .directory-sort-select { flex:1; width:auto; }
    .directory-filterbar>small { width:100%; margin:2px 0 0; }
    .directory-controls .button,.column-option .button { min-height:44px; }
    .directory-controls input,.directory-controls select { font-size:16px; }
    .directory-table.editable-directory td { min-width:0; }
    .directory-row-actions .record-value { justify-content:flex-end; }
    .directory-case-link { align-items:flex-start; }
    .incoming-links { padding:16px; }
  }
}

@layer components {
  .mail-body { background:#edf2ef; }
  .email-message { border:1px solid #bdccc4; border-radius:8px; background:var(--paper); min-width:0; overflow:hidden; }
  .email-message-label { display:flex; align-items:center; gap:7px; padding:11px 20px; border-bottom:1px solid #e1e8e4; color:#50665b; font-size:12px; font-weight:600; line-height:1.4; }
  .email-message-label svg { width:16px; height:16px; flex-shrink:0; }
  .email-message-content { padding:20px; color:var(--text); font-size:14px; line-height:1.75; overflow-wrap:anywhere; }
  .email-message-content p { color:inherit; }
  .email-message-content .mt { margin-top:16px; }
  .email-message-attachments { padding:14px 20px; border-top:1px solid #e1e8e4; }
  .email-message-attachments .attachment { margin-top:0; }
  .mail-next-actions { display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin-top:16px; }
  .mail-next-actions>.mt,.mail-next-actions>.button { margin-top:0; }
  .mail-next-actions>.notice { align-self:stretch; }
}
@layer responsive {
  .mail-body { max-width:none; }
  @media(max-width:680px) {
    .mail-body,.mail-workspace.has-side .mail-body { padding:14px; }
    .email-message-label { padding:10px 14px; }
    .email-message-content { padding:16px 14px; }
    .email-message-attachments { padding:12px 14px; }
  }
}
