:root {
  color-scheme: light;
  --ink:#182e39; --muted:#50646a; --navy:#173641; --teal:#22635e;
  --line:#d6e1dc; --paper:#fff; --ground:#f0f4f1; --gold:#f1dec1;
  font-family:system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink); background:var(--ground); line-height:1.5;
}
*, *::before, *::after {box-sizing:border-box}
body {margin:0}
#app {min-height:100dvh;display:flex;flex-direction:column}
h1,h2,p {margin:0 0 .65rem}
h1 {font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.04em;line-height:1.15}
h2 {font-size:1.14rem;line-height:1.3}
button,input,textarea,select {font:inherit;color:inherit}
a {color:var(--teal);text-underline-offset:3px}
button {cursor:pointer}
button:disabled {cursor:wait;opacity:.65}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:3px solid #a46633;outline-offset:3px}
svg {flex:none}
.mast {background:var(--paper);border-bottom:1px solid var(--line)}
.mast-inner,.layout,.footer {width:min(1100px,100% - 48px);margin-inline:auto}
.mast-inner {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px}
.brand,.mast-tools {display:flex;align-items:center;gap:12px}
.brand {text-decoration:none;color:var(--ink);min-width:0}
.brand strong {display:block;font-family:Georgia,"Songti SC",serif;font-size:1.23rem;line-height:1.14;font-weight:500}
.brand small {display:block;color:var(--muted);font-size:.66rem;letter-spacing:.09em;margin-top:4px}
.monogram {display:grid;place-items:center;border-radius:6px;background:var(--navy);color:#fff9eb;min-width:40px;height:40px;font-family:Georgia,serif}
.text {border:0;border-radius:7px;min-height:44px;background:none;color:var(--teal);padding:6px 8px;font-size:.85rem;white-space:nowrap}
.text:hover,.back-button:hover {background:#e4ede8}
.layout {padding-block:26px 36px;flex:1}
.narrow {max-width:630px}
.hero {position:relative;overflow:hidden;padding:32px 36px 35px;border-radius:16px;background:#193b43;color:#fff;margin-bottom:20px}
.hero::after {content:"";position:absolute;right:-62px;top:-158px;width:365px;height:365px;border:1px solid #9fc5b94d;border-radius:50%;pointer-events:none;box-shadow:0 0 0 23px #9fc5b91c,0 0 0 49px #9fc5b912}
.hero>* {position:relative;z-index:1}
.hero p:last-child {color:#d7e9e4;margin:12px 0 0;max-width:39rem}
.landing {padding-block:53px}
.kicker {font-size:.73rem;letter-spacing:.12em;font-weight:750;color:var(--teal);margin-bottom:9px}
.hero .kicker {color:var(--gold)}
.entry-grid,.dashboard {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.dashboard {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.entry-card,.panel {background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:19px 20px}
.entry-card {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;text-decoration:none;color:var(--ink);min-height:100px}
.entry-card svg,.section-title svg {color:var(--teal)}
.entry-card h2 {margin-bottom:5px}
.entry-card p {margin:0;color:var(--muted)}
.entry-card:hover,.matter-row:hover,.persona:hover {border-color:#96b4a8;background:#f9fcf9}
.muted,small {color:var(--muted)}
.note,.footer {font-size:.78rem;margin-top:16px}
.sample-notice {padding:10px 18px;text-align:center;background:#fff0db;color:#66401f;font-size:.85rem}
.account-links {display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:14px 2px 0;font-size:.9rem}
.footer {display:flex;justify-content:space-between;gap:9px;padding-block:13px 20px;border-top:1px solid var(--line);color:var(--muted)}
.back,.back-button {display:inline-flex;align-items:center;min-height:44px;margin-bottom:11px}
.login {padding:24px}
.login h1 {font-size:clamp(1.6rem,4vw,2.2rem)}
.personas {display:grid;gap:9px;margin-top:15px}
.button {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:7px 11px;border:1px solid #b9cec4;border-radius:8px;background:var(--paper);font-size:.88rem;font-weight:620}
.button:hover {background:#edf4ef}
.button.primary {background:var(--teal);border-color:var(--teal);color:white}
.button.primary:hover {background:#164b45}
.button.persona {display:flex;justify-content:space-between;width:100%;text-align:left;min-height:58px;padding:10px 12px}
.button.persona+.persona {margin-top:7px}
.button.persona small {display:block;font-weight:400;font-size:.8rem}
.button.back-button {border:0;background:none;padding-inline:0;color:var(--teal)}
.section-title {display:flex;align-items:center;gap:9px;margin-bottom:11px}
.section-title h2 {margin:0}
.counter,.tag {display:inline-flex;align-items:center;width:fit-content;border-radius:40px;background:#e4f0e9;color:#24544b;padding:4px 8px;font-size:.74rem;font-weight:690;white-space:normal}
.tag.materials,.tag.replace,.tag.missing {background:#fff0db;color:#7d4720}
.tag.review,.tag.attorney-review,.tag.pending,.tag.neutral {background:#e8eff2;color:#36535e}
.tag.client-approval {background:#f3eaf4;color:#624465}
.matter-row {width:100%;border:1px solid transparent;border-top-color:#e3eae6;border-radius:7px;background:white;
  text-align:left;min-height:65px;display:grid;align-items:center;grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px;padding:10px 5px}
.matter-row strong {display:block;overflow-wrap:anywhere}
.case-number {font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--muted);display:block}
.matter-hero {padding:19px 22px;border:1px solid var(--line);border-radius:13px;background:#e5efea;margin-bottom:13px}
.matter-hero h1 {margin:0;font-size:clamp(1.65rem,4vw,2.45rem)}
.matter-hero p:last-child {margin:8px 0 0}
.line {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px 12px}
.panel .line {padding:8px 0;border-top:1px solid #e2ebe6}
.tabs {display:flex;gap:5px;flex-wrap:wrap;margin:0 0 13px}
.tabs .button[aria-pressed=true] {background:#dceae3;border-color:#abc6b8;color:#1e5148}
.spaced {margin-top:16px}
.slots,.events {list-style:none;margin:0;padding:0}
.slots li,.events li {padding:11px 0;border-top:1px solid #e2ebe6}
.slot-head,.slot-actions,.events li {display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;justify-content:space-between}
.slot-head small,.events span {display:block;font-size:.8rem;color:var(--muted)}
.slot-actions {justify-content:flex-start;margin-top:7px}
.workspace-actions {display:flex;justify-content:flex-end;margin:0 0 14px}
.return-feedback {border-left:3px solid #ac6437;background:#fff3e5;color:#713a21;border-radius:5px;padding:8px 12px;margin:9px 0}
.return-feedback p {margin:3px 0 0}
.review-note {white-space:pre-wrap;overflow-wrap:anywhere}
.return-form,.review-history,.send-form {margin-top:7px}
.return-form summary,.review-history summary,.send-form summary {display:list-item;min-height:0;padding:10px 0;color:var(--teal)}
.return-form form,.send-form form {border:1px solid var(--line);border-radius:8px;padding:9px 11px;margin:0}
fieldset {min-inline-size:0;max-inline-size:100%;border:1px solid var(--line);border-radius:8px;margin:10px 0;padding:3px 10px}
legend {max-inline-size:100%;overflow-wrap:anywhere;font-size:.85rem;font-weight:650;padding:0 3px}
.form-list {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px;min-width:0}
.form-card {min-width:0;max-width:100%;border:1px solid var(--line);border-radius:8px;padding:12px}
.form-card h3 {margin:0;font-size:1rem}
.form-answers {display:grid;gap:6px;margin:7px 0}
.form-answers div {display:grid;grid-template-columns:minmax(8rem,1fr) 2fr;gap:7px}
.form-answers dd {margin:0;overflow-wrap:anywhere}
.time-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:580px}
.time-pair input {min-width:0}
.events li p {width:100%;margin:0}
.file-link {display:inline-flex;align-items:center;min-height:44px;font-size:.86rem}
.messages {display:grid;gap:8px}
.message {background:#f1f5f3;border-radius:8px;padding:9px 11px;margin-right:20px;overflow-wrap:anywhere}
.message.own {margin:0 0 0 20px;background:#e4efe7}
.message time {color:var(--muted);font-size:.76rem;margin-left:4px}
.message p {margin:4px 0 0;white-space:pre-wrap}
form {margin-top:11px}
form label {display:block;font-size:.86rem;font-weight:620;margin:7px 0}
form select,form textarea,form input:not([type=checkbox]) {display:block;margin-top:4px;width:min(100%,580px);border:1px solid #bacdc3;border-radius:7px;padding:8px;background:white}
form .check {display:flex;align-items:center;gap:5px;min-height:36px}
summary {cursor:pointer;min-height:44px;font-weight:620}
.feedback {width:min(1100px,100% - 48px);margin:12px auto 0;padding:8px 12px;border-radius:7px;background:#e0eee2;color:#265248}
.feedback.error {background:#fff0e9;color:#873d2b}
.loading {padding:30px}
@media(max-width:640px) {
  .time-pair {grid-template-columns:minmax(0,1fr);gap:0}
  .mast-inner,.layout,.footer,.feedback {width:calc(100% - 26px)}
  .mast-inner {min-height:65px;gap:6px}
  .brand,.mast-tools {gap:6px}
  .brand strong {font-size:.95rem}
  .brand small {font-size:.59rem}
  .monogram {min-width:32px;height:32px;font-size:.8rem}
  .text {padding-inline:5px;font-size:.76rem}
  .layout {padding-block:13px 25px}
  .hero {padding:21px 16px;margin-bottom:12px}
  .hero::after {opacity:.5}
  .entry-grid,.dashboard {grid-template-columns:minmax(0,1fr);gap:10px}
  .entry-card,.panel {padding:13px 12px}
  .matter-hero {padding:13px}
  .matter-row {gap:5px}
  .matter-row svg {width:17px}
  .tag {font-size:.66rem;padding:4px 6px}
  .footer {font-size:.67rem}
  form select,form textarea,form input:not([type=checkbox]) {font-size:16px}
}
.firm-search {display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.firm-search label {flex:1;min-width:180px;margin:0}
.firm-person {display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:10px 0}
.firm-person label {flex:1;min-width:155px;margin:0}
.firm-code {overflow-wrap:anywhere}
.practice-switch {display:inline-block;margin-left:12px}
.practice-switch summary {display:list-item;cursor:pointer;text-decoration:underline}
.practice-switch nav {display:flex;justify-content:center;flex-wrap:wrap;gap:6px 15px;margin-top:8px}
.practice-switch nav [aria-current="page"] {font-weight:750}
.chat-log {display:grid;gap:8px;margin:12px 0}
.chat-log article {padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.chat-log time {margin-inline-start:10px;font-size:.8rem;color:var(--muted)}

/* Signed-in workspace */
.firm-nav-wrap {background:#fbfdfb;border-bottom:1px solid var(--line)}
.firm-navigation,.firm-case-navigation {width:min(1100px,100% - 48px);margin-inline:auto;display:flex;align-items:center;gap:4px}
.firm-navigation {overflow:auto;scrollbar-width:thin;padding-block:6px}
.firm-navigation .button {white-space:nowrap;flex:none;border-color:transparent;background:transparent;color:var(--muted)}
.firm-navigation .button:hover {background:#eef5ef}
.firm-navigation .button[aria-current=page] {color:#174b41;background:#e3efe8;border-color:#cfdfd4}
.firm-case-navigation {border-top:1px solid var(--line);gap:14px}
.firm-case-navigation strong {flex:none;font-size:.77rem;color:var(--muted)}
.firm-case-navigation .firm-navigation {width:100%;min-width:0}
.firm-home {padding-top:32px}
.firm-welcome {position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:end;gap:22px;
  background:linear-gradient(125deg,#102f34,#1a4b45);color:white;border-radius:19px;padding:clamp(24px,5vw,46px);min-height:235px}
.firm-welcome::after {content:"";position:absolute;z-index:-1;pointer-events:none;width:390px;height:390px;border-radius:50%;
  border:1px solid #f1dec136;box-shadow:0 0 0 24px #f1dec117,0 0 0 55px #f1dec10a;right:-100px;top:-263px}
.firm-welcome .kicker {color:#efd9af}
.firm-welcome-copy {min-width:0}
.firm-welcome h1 {font-family:Georgia,"Songti SC",serif;font-weight:500;overflow-wrap:anywhere}
.firm-welcome-copy p:last-child {margin:0;color:#daeae4}
.firm-identity {display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid #ffffff38;border-radius:12px;min-width:0;max-width:100%;background:#ffffff0c}
.firm-identity-icon {color:#efd9af;display:grid;place-items:center}
.firm-identity strong,.firm-identity small {display:block}
.firm-identity small {color:#d0e2db;overflow-wrap:anywhere}
.firm-practice-callout {display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f9f6ee;
  border:1px solid #e6ddc8;border-left:4px solid #aa8751;border-radius:13px;margin-top:18px;padding:18px 23px}
.firm-practice-callout .kicker {color:#775a2b;margin-bottom:3px}
.firm-practice-callout p:last-child {margin:0;color:var(--muted)}
.firm-practice-callout a {flex:none;text-decoration:none}
.firm-tools {margin-top:27px}
.firm-tools-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:11px}
.firm-tools-head h2 {margin:0;font-size:1.28rem}
.firm-tile-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:12px}
.firm-tile {display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:90px;text-align:left;
  padding:14px;border:1px solid var(--line);border-radius:13px;background:white}
.firm-tile-icon {display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:9px;background:#e9f2ec;color:#275b50}
.firm-tile-copy {display:grid;gap:3px;flex:1;min-width:0}
.firm-tile-copy strong {font-size:.98rem}
.firm-tile-copy small {font-size:.79rem;font-weight:450}
.firm-tile-static {background:#f8fbf9}
.firm-tile-status {font-size:.7rem;color:#5b6e68}
.form-list,.connection-list {display:grid;gap:12px;margin-top:14px}
.form-card {border:1px solid var(--line);border-radius:11px;padding:13px}
.form-card .line {border:0}
.form-card h3 {margin:0}
.answer-grid {display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:7px 12px;overflow-wrap:anywhere}
.answer-grid dd {margin:0}
.filing-steps {padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}
.filing-steps li {display:flex;align-items:center;gap:6px;padding:9px;border-radius:8px;background:#f2f6f3;color:var(--muted);font-size:.8rem}
.filing-steps li span {display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;border:1px solid #b5ccc0}
.filing-steps li[aria-current=step] {background:#dceee4;color:#153f36;font-weight:700}
@media(max-width:650px) {
  .firm-navigation,.firm-case-navigation {width:calc(100% - 28px)}
  .firm-case-navigation {gap:8px}
  .firm-case-navigation .firm-navigation {width:auto}
  .firm-home {padding-top:18px}
  .firm-welcome,.firm-practice-callout {align-items:flex-start;flex-direction:column}
  .firm-welcome {min-height:0;gap:16px}
  .firm-practice-callout {gap:12px;padding:15px}
  .firm-practice-callout a {width:100%}
}
.firm-case-tasks {margin:14px 0;padding:15px 17px;border:1px solid var(--line);border-radius:11px;background:#f6faf7}
.firm-case-tasks .muted {font-size:.8rem;margin-bottom:0}
.practice-tools {display:flex;flex-wrap:wrap;gap:9px;margin:0 0 13px}
.practice-tools .button {padding-inline:14px;color:#1b584c}
.practice-tools .button svg {width:18px;height:18px}

/* Operations workspace */
.desk-shell {--desk-navy:#182c3a;--desk-text:#263b49;--desk-faint:#647784;--desk-border:#e0e6e8;
  display:grid;grid-template-columns:226px minmax(0,1fr);width:min(1520px,100%);margin-inline:auto;flex:1;color:var(--desk-text);background:#f5f7f8}
.desk-sidebar {display:flex;flex-direction:column;align-self:start;position:sticky;top:0;min-height:calc(100dvh - 120px);padding:26px 14px 16px;
  border-right:1px solid var(--desk-border);background:#fbfcfc}
.desk-nav-caption {color:var(--desk-faint);font-size:.67rem;font-weight:800;letter-spacing:.12em;padding:0 12px 13px}
.desk-sidebar nav {display:grid;gap:4px}
.desk-sidebar .desk-nav-link {display:flex;justify-content:flex-start;width:100%;border:1px solid transparent;border-radius:8px;background:transparent;
  color:#4d6471;padding:9px 12px;text-align:left;font-weight:650;gap:10px}
.desk-sidebar .desk-nav-link:hover {background:#edf3f4}
.desk-sidebar .desk-nav-link[aria-current=page] {background:#e6eeef;border-color:#dbe8e9;color:#154d4b}
.desk-nav-link svg {width:17px;height:17px}
.desk-sidebar-user {display:flex;align-items:center;gap:9px;margin-top:auto;padding:15px 7px 0;border-top:1px solid var(--desk-border)}
.desk-sidebar-user strong,.desk-sidebar-user small {display:block;overflow-wrap:anywhere}
.desk-sidebar-user strong {font-size:.85rem}
.desk-sidebar-user small {font-size:.71rem}
.desk-avatar {display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#e5ecef;color:#2f4f64;font-size:.78rem;font-weight:750}
.desk-content {min-width:0}
.desk-content .layout {width:100%;padding:28px clamp(16px,3vw,43px) 42px}
.desk-content .layout.narrow {margin-inline:auto}
.desk-heading {display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:22px;padding:0 0 17px;border-bottom:1px solid var(--desk-border)}
.desk-heading h1,.desk-matter-heading h1 {font-family:Georgia,"Songti SC",serif;letter-spacing:-.035em;font-weight:500;font-size:clamp(2rem,4.6vw,3.3rem);color:var(--desk-navy);margin-bottom:8px}
.desk-heading .kicker,.desk-matter-heading .kicker {font-size:.7rem;color:#33615e}
.desk-heading .kicker span {margin-inline:4px;color:#8a6e42}
.desk-heading p:last-child {margin:0;font-size:.9rem;color:#566a77}
.desk-heading .primary {min-height:42px;padding-inline:14px;white-space:nowrap}
.desk-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.desk-metrics .desk-metric {display:grid;grid-template-columns:minmax(0,1fr);gap:5px;text-align:left;align-content:start;border:1px solid var(--desk-border);
  border-radius:12px;min-height:114px;padding:12px 15px;background:#fff;color:var(--desk-navy)}
.desk-metrics .desk-metric:hover {background:#f7fbfa;border-color:#adcbc8}
.desk-metric-top {display:flex;justify-content:space-between;gap:5px;align-items:center;color:#4c6672;font-size:.8rem}
.desk-metric-top svg {width:19px;height:19px;color:#23716a}
.desk-metric strong {font-weight:550;font-variant-numeric:tabular-nums;font-size:1.8rem;line-height:1.13}
.desk-metric small {font-size:.7rem;font-weight:450}
.desk-columns {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:17px;align-items:start}
.desk-columns>div {display:grid;gap:17px;min-width:0}
.desk-panel {border:1px solid var(--desk-border);border-radius:12px;background:white;min-width:0;overflow:hidden}
.desk-panel-head {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 17px 13px}
.desk-panel-head h2 {font-size:1.02rem;line-height:1.25;margin:0 0 4px;color:var(--desk-navy)}
.desk-panel-head p {color:var(--desk-faint);font-size:.77rem;margin:0}
.button.desk-link,.button.desk-case-open {border-color:transparent;background:transparent;color:#225f5b;padding:4px 5px;min-height:36px;font-size:.77rem;white-space:nowrap}
.button.desk-link:hover,.button.desk-case-open:hover {background:#edf5f2;border-color:#e0ebe6}
.desk-link svg,.desk-case-open svg {width:15px;height:15px}
.desk-docket,.desk-queue,.desk-dates {list-style:none;margin:0;padding:0}
.desk-table-head,.desk-docket-row {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(82px,1fr) minmax(56px,.65fr) auto;align-items:center;gap:9px}
.desk-table-head {padding:7px 15px;font-size:.69rem;font-weight:700;color:#536b78;background:#f4f7f7;border-top:1px solid var(--desk-border)}
.desk-docket-row {padding:11px 14px;border-top:1px solid var(--desk-border);min-height:65px}
.desk-case-name {display:flex;gap:8px;align-items:center;min-width:0}
.desk-case-name strong,.desk-case-name small,.desk-case-name div>span {display:block;overflow-wrap:anywhere}
.desk-case-name strong {font-size:.85rem;line-height:1.25}
.desk-case-name small {font-size:.66rem;color:#55707d}
.desk-case-name div>span,.desk-docket-date {font-size:.72rem;color:#526975}
.desk-docket-stage .tag {font-size:.67rem}
.desk-row-icon {display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:7px;color:#286861;background:#eaf3f0}
.desk-row-icon svg {width:16px;height:16px}
.desk-empty {padding:17px;font-size:.83rem;color:#617681;border-top:1px solid var(--desk-border)}
.desk-task,.desk-dates li:not(.desk-empty) {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 15px;border-top:1px solid var(--desk-border)}
.desk-task.urgent .desk-row-icon {background:#faf0df;color:#795728}
.desk-task strong,.desk-dates li div strong {display:block;font-size:.82rem;line-height:1.35;overflow-wrap:anywhere}
.desk-task small,.desk-dates li div small {display:block;font-size:.69rem;line-height:1.4}
.desk-task-actions {display:flex;align-items:center;gap:2px}
.desk-date-box {display:grid;justify-items:center;align-content:center;background:#f1f5f5;border:1px solid #e6eded;border-radius:8px;line-height:1;width:37px;height:38px}
.desk-date-box small {font-size:.63rem;color:#56717a;margin-bottom:3px}
.desk-date-box strong {font-size:.96rem}
.desk-pipeline {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:0 15px 16px}
.desk-pipeline .desk-pipeline-stage {display:grid;justify-content:stretch;gap:6px;align-content:center;min-width:0;text-align:left;padding:8px 9px;background:#f7f9f9;
  border-color:#e3e9ea;border-radius:7px;color:#405969;font-size:.72rem}
.desk-pipeline .desk-pipeline-stage:hover {background:#edf5f1;border-color:#afd0c6}
.desk-pipeline-line {display:flex;justify-content:space-between;align-items:center;gap:6px}
.desk-pipeline progress {display:block;width:100%;height:6px;accent-color:#38887d}
.desk-pipeline .tone-0 progress {accent-color:#ac8049}
.desk-pipeline .tone-3 progress {accent-color:#807196}
.desk-search {display:flex;flex-wrap:wrap;align-items:flex-end;gap:9px;margin:0;padding:0 15px 14px}
.desk-search label {min-width:110px;flex:1;margin:0;font-size:.77rem}
.desk-search .button svg {width:15px;height:15px}
.desk-matter-heading {background:#edf3f4;border:1px solid #dbe6e9;border-radius:14px;padding:18px 21px;margin-bottom:13px}
.desk-matter-heading h1 {font-size:clamp(1.75rem,4vw,2.8rem)}
.desk-case-meta {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px;padding-top:13px;border-top:1px solid #d6e1e3}
.desk-case-meta small,.desk-case-meta strong {display:block;overflow-wrap:anywhere}
.desk-case-meta small {font-size:.72rem}
.desk-case-meta strong {font-size:.85rem}
.desk-case-progress {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0 0 13px;padding:12px 8px;
  background:white;border:1px solid var(--desk-border,#e0e6e8);border-radius:12px}
.desk-case-progress li {display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;color:#5b6f78;padding:2px 4px;font-size:.76rem}
.desk-case-progress li>span {display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;border:1px solid #d7e3e3;font-size:.72rem}
.desk-case-progress li[aria-current=step] {color:#175c55}
.desk-case-progress li[aria-current=step]>span {background:#25675f;color:#fff;border-color:#25675f}
.desk-case-progress li.complete>span {background:#edf7f1;color:#22635e}
.desk-case-progress li svg {width:14px;height:14px}
.desk-case-tabs {display:flex;flex-wrap:wrap;border-bottom:1px solid var(--desk-border);padding-bottom:8px;gap:4px}
.desk-case-tabs .button {background:transparent;border-color:transparent;white-space:nowrap}
.desk-case-tabs .button[aria-pressed=true] {background:#e7f0ee;border-color:#d5e5df}
@media(max-width:1180px) {
  .desk-shell {grid-template-columns:184px minmax(0,1fr)}
  .desk-docket-row .desk-row-icon {display:none}
  .desk-columns {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
}
@media(max-width:940px) {
  .desk-columns {grid-template-columns:1fr}
  .desk-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:690px) {
  .desk-shell {grid-template-columns:minmax(0,1fr)}
  .desk-sidebar {position:static;display:block;min-height:0;padding:5px 10px;border-right:0;border-bottom:1px solid var(--desk-border)}
  .desk-nav-caption,.desk-sidebar-user {display:none}
  .desk-sidebar nav {display:flex;overflow:auto;gap:3px;scrollbar-width:thin;padding:2px}
  .desk-sidebar .desk-nav-link {width:auto;flex:none;white-space:nowrap;font-size:.78rem;padding-inline:8px;gap:5px}
  .desk-nav-link svg {width:15px;height:15px}
  .desk-content .layout {padding:19px 13px 28px}
  .desk-heading {margin-bottom:13px;padding-bottom:12px}
  .desk-metrics {gap:8px}
  .desk-metrics .desk-metric {min-height:90px;padding:9px 10px}
  .desk-metric strong {font-size:1.45rem}
  .desk-metric-top {font-size:.74rem}
  .desk-docket-row,.desk-table-head {grid-template-columns:minmax(0,1.4fr) minmax(57px,.8fr) minmax(47px,.6fr) auto;gap:5px;padding-inline:9px}
  .desk-docket-row .desk-case-open svg {display:none}
  .desk-docket-stage .tag {padding-inline:4px}
  .desk-case-meta {grid-template-columns:1fr 1fr}
  .desk-case-progress li {flex-direction:column;line-height:1.3;font-size:.68rem}
  .desk-case-tabs {overflow:auto;flex-wrap:nowrap;scrollbar-width:thin}
}
.desk-calendar h1 {font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:clamp(1.7rem,4vw,2.6rem)}
.desk-calendar-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(170px,1fr);gap:18px;margin-top:16px}
.desk-calendar-title {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.desk-calendar-title h2 {margin:0}
.desk-calendar-shift {width:41px;font-size:1.3rem}
.desk-calendar-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.desk-weekday {font-size:.67rem;color:#526975;font-weight:650;padding:3px}
.desk-calendar-grid .desk-calendar-day {min-width:0;justify-content:flex-start;flex-direction:column;padding:3px 1px;min-height:45px;gap:1px;
  border-radius:6px;border-color:#e1e7e8;background:#f8fafb;font-variant-numeric:tabular-nums}
.desk-calendar-grid .desk-calendar-day[aria-current=date] {border-color:#6d9693}
.desk-calendar-grid .desk-calendar-day[aria-pressed=true] {background:#dfeee9;border-color:#63998d;color:#174e48}
.desk-calendar-day small {display:grid;place-items:center;width:15px;height:14px;border-radius:8px;background:#dcebe7;color:#265f58;font-size:.63rem}
.desk-agenda {background:#f5f8f8;border:1px solid #e2ebeb;border-radius:9px;padding:12px;min-width:0}
.desk-agenda .events {overflow-wrap:anywhere}
@media(max-width:740px) {
  .desk-calendar-layout {grid-template-columns:1fr}
  .desk-calendar-grid {gap:3px}
}
.firm-practice-suite {background:#fbfaf6;border:1px solid #e7e1d3;border-radius:15px;margin:17px 0 20px;padding:16px 17px}
.firm-practice-suite header {display:flex;justify-content:space-between;gap:9px;align-items:flex-start;margin-bottom:13px}
.firm-practice-suite .kicker {color:#806139;margin-bottom:4px}
.firm-practice-suite header h2 {margin:0 0 4px}
.firm-practice-suite header p:last-child {font-size:.81rem;color:#50646a;margin:0}
.firm-practice-suite .tag {flex:none}
.firm-practice-roles {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.firm-practice-roles a {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;text-decoration:none;
  color:#243c49;background:#fff;border:1px solid #e3e5df;border-radius:9px;padding:9px}
.firm-practice-roles a:hover {background:#f4f9f7;border-color:#b4cfc3}
.firm-practice-roles strong,.firm-practice-roles small {display:block;overflow-wrap:anywhere}
.firm-practice-roles strong {font-size:.79rem}
.firm-practice-roles small {font-size:.68rem}
.firm-practice-roles .firm-tile-icon {width:30px;height:30px}
.firm-practice-roles a svg {width:16px;height:16px}
.firm-case-overview {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:start}
.firm-case-overview .firm-case-tasks {margin-top:0}
@media(max-width:840px) {.firm-practice-roles {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px) {
  .firm-case-overview {grid-template-columns:1fr}
  .firm-practice-roles a {grid-template-columns:auto minmax(0,1fr)}
  .firm-practice-roles a>svg {display:none}
}
.desk-agenda-header {display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:8px}
.desk-calendar-title>div {text-align:center}
.desk-calendar-title .desk-calendar-today {min-height:32px;padding:2px 8px;border-color:transparent;color:var(--teal)}
.firm-calendar-editor {margin-top:16px;border:1px solid var(--line);padding:14px;border-radius:10px;background:#f8fbf9}
.firm-calendar-editor [hidden] {display:none}
.team-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.team-columns label.check {align-items:start;padding:7px 0}
.team-columns label small {display:block}
.intake-number {display:flex;gap:12px;align-items:center;background:#edf4f3;padding:12px;border-radius:8px}
.intake-number output {font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.firm-team-dialog {width:min(690px,calc(100% - 28px));max-height:85vh;border:1px solid var(--line);border-radius:12px;padding:18px;color:var(--ink);background:var(--paper)}
.firm-team-dialog::backdrop {background:#122b3b88}
@media (max-width:420px) {.team-columns {grid-template-columns:1fr}}
[data-appointment-picker] {width:100%;min-width:0}
[data-appointment-picker] .desk-calendar-title {min-width:0}
[data-appointment-picker] .desk-calendar-title strong {min-width:0;text-align:center;overflow-wrap:anywhere}
[data-appointment-picker] [data-appointment-times], [data-appointment-picker] label {min-width:0;max-width:100%}
[data-appointment-preview] {display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;margin-bottom:8px}
.appointment-picker-grid {width:100%;max-width:440px;min-width:0;margin-bottom:14px}
.appointment-picker-grid .desk-calendar-day:disabled {cursor:default;color:var(--muted);opacity:.45}
.firm-intake-section {background:#f8fbfa}
[data-appointment-times][hidden] {display:none}
.appointment-time-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(60px,100%),1fr));gap:4px;margin-bottom:12px;width:100%;max-width:510px;min-width:0}
.appointment-time-grid .button {min-width:0;padding:3px 5px;min-height:44px;font-variant-numeric:tabular-nums}
.appointment-time-grid .button[aria-pressed=true] {background:#265f58;color:white}
.appointment-time-grid .button.in-range {background:#e6f1ec}
.auto-choice-group>label.check {display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 20px 0 0;cursor:pointer}
.auto-choice-group input[type=radio] {flex:none;width:20px;height:20px;margin:0}
.auto-choice-group>label:not(.check) {display:block;margin-top:10px}
.auto-choice-group>label:not(.check) select {max-width:100%;min-height:44px;margin-left:6px}
@media(max-width:740px) {
  .auto-choice-group>label.check {display:flex;margin-right:0}
  .auto-choice-group>label:not(.check) select {display:block;width:100%;margin:5px 0 0}
}

.firm-live-sidebar {min-height:calc(100dvh - 80px)}
.firm-live-shell .firm-case-navigation {width:100%;padding:5px clamp(10px,2vw,24px);border:0;border-bottom:1px solid var(--desk-border);background:#fff}
.firm-live-shell .firm-case-navigation .firm-navigation {flex-wrap:wrap;overflow:visible;margin:0}
.firm-live-shell .firm-case-navigation .button {min-height:36px}
.firm-live-dashboard .client-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
.firm-live-footer,.live-filters {padding:12px 16px}
.firm-live-footer {display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:8px}
.live-filters .firm-search {margin:0 0 10px}
.live-filters [aria-pressed=true] {background:#dcece8;border-color:#92b8ac}
.live-queue-note {margin:0;padding:0 16px 10px;color:var(--muted)}
.case-scope {margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:9px}
.firm-case-tasks .desk-task {padding-inline:0}
.firm-live-shell .desk-docket-stage {font-size:.78rem;overflow-wrap:anywhere}
@media(max-width:690px) {
  .firm-live-sidebar {min-height:0}
  .firm-live-shell .firm-case-navigation {align-items:flex-start;flex-direction:column;gap:1px}
  .firm-live-shell .firm-case-navigation .firm-navigation {width:100%;padding-block:2px}
  .firm-live-shell .firm-case-navigation .button {padding:2px 6px;font-size:.73rem;min-height:34px}
}
@media(max-width:410px) {.firm-live-dashboard .client-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}}
.firm-live-sidebar .firm-extra-nav {margin-top:15px;padding-top:14px;border-top:1px solid var(--desk-border)}
.firm-mobile-tools {display:none}
@media(max-width:690px) {
  .firm-live-sidebar .firm-primary-nav {flex-wrap:wrap;overflow:visible}
  .firm-live-sidebar .firm-extra-nav {display:none}
  .firm-live-sidebar .firm-mobile-tools {display:block;margin:3px 0 2px}
  .firm-live-sidebar .firm-mobile-tools summary {padding:6px 8px;color:#415e6d;font-size:.77rem}
  .firm-live-sidebar .firm-mobile-tools nav {flex-wrap:wrap;overflow:visible}
}
.document-list {display:grid;gap:8px;margin-top:12px}
.document-card {border:1px solid var(--line);border-radius:9px;background:white}
.document-card>summary {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px 13px;list-style:none}
.document-card>summary::-webkit-details-marker {display:none}
.document-card>summary strong::before {content:"›";display:inline-block;margin-right:6px;color:var(--teal)}
.document-card[open]>summary strong::before {transform:rotate(90deg)}
.document-card>summary strong,.document-card>summary small {display:block;overflow-wrap:anywhere}
.document-card-body {padding:9px 13px 14px;border-top:1px solid var(--line)}
.document-filters {padding-block:12px 2px}
.document-filters [aria-pressed=true] {background:#e2efea;border-color:#9dbeb4}
@media(max-width:690px) {
  .firm-live-sidebar .firm-primary-nav {display:flex;gap:3px;flex-wrap:nowrap}
  .firm-live-sidebar .firm-primary-nav .desk-nav-link {flex:1 1 0;min-width:0;justify-content:center;align-items:center;
    flex-direction:column;gap:2px;padding:4px 2px;font-size:.69rem;white-space:normal;text-align:center}
  .firm-live-sidebar .firm-primary-nav .desk-nav-link svg {width:16px;height:16px}
  .firm-live-shell .desk-docket-row {grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;
    grid-template-areas:"case-name open-case" "case-status case-date";padding:9px 12px}
  .firm-live-shell .desk-docket-row .desk-case-name {grid-area:case-name}
  .firm-live-shell .desk-docket-row .desk-case-open {grid-area:open-case;justify-self:end}
  .firm-live-shell .desk-docket-row .desk-docket-stage {grid-area:case-status}
  .firm-live-shell .desk-docket-row .desk-docket-date {grid-area:case-date;justify-self:end}
  .firm-live-shell .desk-table-head {display:none}
  .client-live .desk-columns>div:nth-child(2) {grid-row:1}
  .firm-live-dashboard .client-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
  .client-metrics .desk-metric-top svg {display:none}
}
.case-date-heading {font-size:.86rem;margin:13px 0 3px}
.case-last-activity {border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 12px;padding-top:8px;margin-top:8px}
.case-last-activity p {font-size:.76rem;color:var(--muted);margin:0}
@media(max-width:420px) {
  .mast-inner {gap:5px}
  .mast-tools {gap:2px}
  .mast-tools .text {padding-inline:4px;font-size:.73rem}
  .mast .brand {gap:6px}
  .mast .brand strong {font-size:1rem}
}
/* Action-oriented portal home and persistent client navigation. */
.gateway-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.gateway-panel .desk-panel-head {min-height:59px}
.gateway-panel .desk-panel-head h2 {font-size:1.1rem;margin:0}
.gateway-message.unread .desk-row-icon {background:#d9efea}
.gateway-message.unread strong {color:#17463f}
.gateway-waiting {margin:10px 0 0}
.gateway-case-picker {display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.gateway-case-picker label {flex:1 1 235px}
.gateway-client-shell {display:block;width:100%;max-width:1200px}
.gateway-client-nav {display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 14px;
  background:white;border-bottom:1px solid var(--desk-border)}
.gateway-client-nav .desk-nav-link {background:white;color:#3e5a69;border-color:transparent;min-height:44px}
.gateway-client-nav .desk-nav-link[aria-current=page] {background:#e5efec;border-color:#d9e8e3;color:#184d43}
.gateway-client-nav svg {width:18px;height:18px}
.gateway-client-shell .desk-content {min-height:65vh}
@media(max-width:690px) {
  .gateway-grid {grid-template-columns:minmax(0,1fr);gap:12px}
  .gateway-client-nav .desk-nav-link {flex:1 1 0;min-width:0;flex-direction:column;justify-content:center;gap:2px;padding:3px 2px;
    font-size:.73rem;white-space:normal;text-align:center}
  .firm-live-sidebar .firm-primary-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .firm-live-sidebar .firm-primary-nav .desk-nav-link {width:100%}
}
.gateway-profile {display:inline-flex;align-items:center;gap:4px}
.gateway-profile svg {width:17px;height:17px}
@media(max-width:460px) {.gateway-profile span {display:none}}

/* Shared portal surfaces, with a shortcut bar for clients and a workbench for staff. */
:root {--portal-blue:#195f88;--portal-dark:#153e5b;--portal-tint:#e9f3fa;--portal-rule:#d6e2eb}
.matter-mast .mast-inner,.gateway-mast .mast-inner {width:min(1520px,100%);padding-inline:clamp(14px,2.2vw,34px);min-height:66px}
.matter-mast .brand strong,.gateway-mast .brand strong {font-family:inherit;font-weight:690;letter-spacing:-.02em}
.matter-mast .monogram,.gateway-mast .monogram {background:var(--portal-dark)}
.matter-mast .primary,.firm-live-shell .button.primary {background:var(--portal-blue);border-color:var(--portal-blue)}
.matter-mast .primary:hover,.firm-live-shell .button.primary:hover {background:var(--portal-dark)}
.firm-live-shell {width:100%;max-width:none;--desk-navy:#1b3950;--desk-text:#263c4c;--desk-faint:#516b7c;--desk-border:var(--portal-rule);background:#f3f7fa}
.firm-live-sidebar {background:#fff;padding:18px 12px;min-height:calc(100dvh - 66px)}
.firm-live-sidebar .desk-nav-link[aria-current=page],.firm-live-shell .firm-navigation .button[aria-current=page] {background:var(--portal-tint);border-color:#c9e0f0;color:#144e75}
.firm-live-shell .desk-heading h1,.firm-live-shell .desk-matter-heading h1 {font-family:inherit;font-size:clamp(1.65rem,3vw,2.5rem);font-weight:700;letter-spacing:-.035em}
.firm-live-shell .desk-heading .kicker {color:var(--portal-blue)}
.firm-live-shell .desk-link,.firm-live-shell .desk-case-open {color:#195779}
.matter-global-search {margin:0;display:flex;align-items:center;gap:7px;flex:1;max-width:510px}
.matter-global-search label {display:flex;align-items:center;gap:7px;flex:1;margin:0;padding:0 10px;border:1px solid var(--portal-rule);background:#f3f7fa;border-radius:7px;color:#476b83}
.matter-global-search svg {width:17px;height:17px}
.matter-global-search input[type=search] {min-width:0;margin:0;padding:7px 0;border:0;background:transparent}
.matter-global-search .button {min-height:38px}
.matter-work {display:grid;min-width:0;gap:15px}
.matter-work .spaced {margin-top:0}
.matter-banner {background:#fff;border-bottom:1px solid var(--portal-rule)}
.matter-banner-inner {padding:12px clamp(16px,3vw,43px) 15px}
.matter-crumb {display:flex;align-items:center;gap:8px;font-size:.8rem;color:#446478;margin-bottom:3px;overflow-wrap:anywhere}
.matter-title {align-items:start}
.matter-title h1 {font-size:clamp(1.45rem,3vw,2.2rem);font-weight:700;overflow-wrap:anywhere;margin:0 0 3px}
.matter-title p {font-size:.85rem;color:#516b7c;margin:0}
.matter-banner .desk-case-meta {margin-top:11px;padding-top:10px}
.firm-live-shell .matter-banner .firm-case-navigation {padding:0 clamp(12px,3vw,43px);border:0}
.firm-live-shell .matter-banner .firm-navigation {position:relative;flex-wrap:nowrap;overflow-x:auto;padding:3px 2px;gap:4px}
.firm-live-shell .matter-banner .firm-navigation .button {min-height:44px;border-radius:5px 5px 0 0}
.firm-live-shell .matter-banner .firm-navigation .button[aria-current=page] {border-bottom:3px solid var(--portal-blue)}
.firm-live-shell .matter-overview {padding-top:18px}
.matter-facts {border-color:var(--portal-rule)}
.matter-facts .case-scope {margin-bottom:12px}
.matter-filters {display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:12px 15px;margin:0}
.matter-filters label {flex:1 1 128px;min-width:0;margin:0;font-size:.76rem}
.matter-filters label:first-child {flex:1.8 1 190px}
.matter-filters input[type=search],.matter-filters select {min-height:42px;width:100%;border-color:var(--portal-rule)}
.matter-table-head,.firm-live-shell .matter-table-row {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr) minmax(0,.85fr) minmax(0,1fr) auto;align-items:center;gap:9px}
.matter-table-head {padding:9px 14px;font-size:.76rem;font-weight:700;background:#edf3f7;border-top:1px solid var(--portal-rule)}
.matter-followup {font-size:.75rem;color:#516b7c;overflow-wrap:anywhere}
.matter-followup.has-wait {color:#86501d}
.firm-live-shell.gateway-client-shell {max-width:none;background:#edf5fb}
.gateway-client-shell .desk-content {width:min(1200px,100%);margin-inline:auto}
.gateway-client-bar {background:var(--portal-dark)}
.gateway-client-nav {width:min(1200px,100%);margin:auto;justify-content:flex-start;padding:6px clamp(12px,3vw,43px);gap:6px;background:transparent;border:0}
.gateway-client-nav .desk-nav-link,.gateway-menu summary {border:1px solid transparent;background:transparent;color:#fff;min-height:44px}
.gateway-client-nav .desk-nav-link:hover,.gateway-client-nav .desk-nav-link[aria-current=page],.gateway-menu[open]>summary {background:#285a79;border-color:#527994;color:#fff}
.gateway-menu {position:relative}
.gateway-menu summary {display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:7px;font-size:.86rem;white-space:nowrap}
.gateway-menu summary::-webkit-details-marker {display:none}
.gateway-menu-panel {z-index:8;position:absolute;top:calc(100% + 8px);left:0;width:min(280px,90vw);padding:12px;background:#fff;
  color:var(--portal-dark);border:1px solid var(--portal-rule);border-radius:9px;box-shadow:0 8px 24px #153e5b2b}
.gateway-menu-panel input {display:block;width:100%;min-height:40px;margin:5px 0 9px;padding:5px 8px;border:1px solid var(--portal-rule);border-radius:5px}
.gateway-menu-panel .desk-nav-link {width:100%;justify-content:flex-start;color:var(--portal-dark)}
.gateway-menu-panel .desk-nav-link:hover,.gateway-menu-panel .desk-nav-link[aria-current=page] {background:var(--portal-tint);border-color:#c9e0f0;color:var(--portal-dark)}
.gateway-menu-panel [hidden] {display:none}
.gateway-avatar {display:grid;place-items:center;flex:none;width:67px;height:67px;border-radius:50%;background:#d6e9f8;color:#165582;font-size:1.4rem;font-weight:700}
.gateway-grid {grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px}
.gateway-client-shell .gateway-panel .desk-panel-head {background:#f9fcff}
.gateway-client-shell .desk-row-icon,.firm-live-shell .desk-row-icon {background:#e7f1f8;color:#24638b}
.gateway-client-shell .gateway-message.unread strong {color:#154d76}
@media(max-width:950px) {
  .matter-table-head {display:none}
  .firm-live-shell .matter-table-row {grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"case-name open-case" "case-status case-date" "followup followup"}
  .matter-table-row .desk-case-name {grid-area:case-name}
  .matter-table-row .desk-case-open {grid-area:open-case;justify-self:end}
  .matter-table-row .desk-docket-stage {grid-area:case-status}
  .matter-table-row .desk-docket-date {grid-area:case-date;justify-self:end}
  .matter-followup {grid-area:followup}
}
@media(max-width:740px) {
  .matter-mast .mast-inner {flex-wrap:wrap;padding-block:8px}
  .matter-mast .mast-tools {margin-left:auto}
  .matter-global-search {order:3;max-width:none;flex:1 0 100%}
  .gateway-grid {grid-template-columns:minmax(0,1fr)}
  .firm-live-sidebar {min-height:0}
}
@media(max-width:690px) {
  .gateway-client-nav {position:static;width:100%;justify-content:flex-start;padding:4px 6px;box-shadow:none}
  .gateway-client-shell {padding-bottom:0}
  .gateway-client-nav .desk-nav-link {padding:3px;line-height:1.15}
  .gateway-menu summary {flex-direction:column;justify-content:center;gap:2px;font-size:.72rem;padding:3px 5px}
  .gateway-menu-panel .desk-nav-link {flex-direction:row;justify-content:flex-start;padding:6px;gap:7px}
  .gateway-avatar {width:49px;height:49px;font-size:1rem}
  .matter-banner .desk-case-meta {grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Gateway and matter workspace use different page compositions for different jobs. */
.gateway-mast {background:#b2e1e3;border:0}
.gateway-mast .mast-inner {width:min(1260px,100%);min-height:63px}
.gateway-mast .brand strong {color:#083979;font-size:clamp(1rem,2.2vw,1.43rem)}
.gateway-mast .brand small {color:#15566b}
.gateway-mast .monogram {background:#006d7e}
.gateway-mast .text {color:#133c64}
.gateway-client-shell {--gateway-blue:#205a94}
.firm-live-shell.gateway-client-shell {background:linear-gradient(110deg,#188eaa 0%,#8bcdd6 58%,#c4e7e9 100%)}
.gateway-client-bar {background:#f7fbfc;border-bottom:1px solid #d3e2e8;box-shadow:0 2px 3px #12516a16}
.gateway-client-nav {width:min(1260px,100%);padding:4px clamp(12px,2.2vw,28px);gap:clamp(5px,1vw,17px)}
.gateway-client-nav .desk-nav-link,.gateway-menu summary {color:#27475c;background:transparent;border-color:transparent}
.gateway-client-nav .desk-nav-link:hover,.gateway-client-nav .desk-nav-link[aria-current=page],.gateway-menu[open]>summary {
  background:#e1f0f9;border-color:#c7e1f1;color:#1a5588
}
.gateway-client-nav svg {width:30px;height:30px;padding:6px;background:#fff;color:#1b609b;border-radius:50%;box-shadow:0 1px 3px #1c55724d}
.gateway-menu summary svg {width:36px;height:36px;padding:7px;background:#24679f;color:white}
.gateway-menu-panel .desk-nav-link {font-weight:500;color:#214b6c}
.gateway-client-shell .desk-content {width:min(1260px,100% - 40px);background:#eef5f8;min-height:calc(100dvh - 118px)}
.gateway-client-shell .desk-content .gateway-home {padding:22px clamp(17px,3vw,43px) 38px}
.gateway-home h1 {font-size:clamp(1.3rem,2.4vw,2.05rem);font-weight:690;letter-spacing:-.02em;color:#194f87;margin-bottom:14px}
.gateway-person {display:flex;align-items:center;gap:9px;color:#23578d;margin-bottom:4px}
.gateway-person .gateway-avatar {width:40px;height:40px;background:#316da6;color:white;font-size:1.04rem}
.gateway-timeline {display:grid;gap:10px;margin-left:19px;padding:4px 0 12px 16px;border-left:4px solid #589bbd}
.gateway-timeline-item {position:relative;min-width:0}
.gateway-timeline-item:before {content:"";position:absolute;top:20px;left:-25px;width:13px;height:13px;border:3px solid #eef5f8;border-radius:50%;background:#4779a5}
.gateway-timeline .desk-panel {border-radius:5px;box-shadow:0 1px 3px #194d6522}
.gateway-timeline .desk-panel-head {min-height:48px;padding:9px 13px;background:#fff}
.gateway-timeline .desk-panel-head h2 {font-size:1rem;color:#214f76}
.gateway-timeline .desk-task,.gateway-timeline .desk-docket-row {min-height:55px}
.gateway-timeline .desk-row-icon {border-radius:4px;background:#eaf4ff;color:#205a94}
.gateway-timeline .desk-task.urgent .desk-row-icon {background:#ffefcc;color:#8a5318}

.docket-shell {--docket-navy:#0b2632;--docket-blue:#176dc3;--desk-border:#e1e4e8;grid-template-columns:232px minmax(0,1fr);background:white}
.docket-shell .desk-content {background:white}
.docket-shell .firm-live-sidebar {background:var(--docket-navy);color:#fff;min-height:100dvh;max-height:100dvh;overflow-y:auto;border:0;padding:22px 18px}
.docket-identity {display:grid;gap:18px;margin-bottom:21px;padding-bottom:21px;border-bottom:1px solid #294350}
.docket-identity .brand {color:#fff}
.docket-identity .brand strong {font-family:inherit;font-size:.99rem;font-weight:650}
.docket-identity .brand small,.docket-identity .desk-sidebar-user small {color:#afc2cb}
.docket-identity .monogram {background:#264b5e;color:white;min-width:34px;height:34px}
.docket-identity .desk-sidebar-user {padding:0;border:0;margin:0}
.docket-identity .desk-avatar {background:#1b79bc;color:white}
.docket-identity .docket-create.button {background:#b9431a;border-color:#b9431a;color:#fff;justify-content:flex-start}
.docket-identity .docket-create:before {content:"+";font-size:1.3rem;line-height:1}
.docket-shell .desk-nav-caption {color:#adc3cd;margin:0;padding:0 10px 6px;letter-spacing:0;text-transform:none;font-weight:500;font-size:.76rem}
.docket-shell .desk-nav-link.button {color:#f3f7fa;border-radius:7px;font-weight:500;min-height:40px}
.docket-shell .desk-nav-link.button:hover,.docket-shell .desk-nav-link.button[aria-current=page] {background:#365460;border-color:#365460;color:white}
.docket-shell .firm-extra-nav {border-top-color:#294350}
.docket-shell .matter-mast {position:relative;margin:0 clamp(14px,2.5vw,30px);border:1px solid var(--desk-border);border-top:0;border-radius:0 0 13px 13px}
.docket-shell .matter-mast .mast-inner {padding:5px 12px;min-height:49px}
.docket-shell .matter-mast .brand {display:none}
.docket-shell .matter-global-search {max-width:405px}
.docket-shell .matter-global-search label {background:#f4f4f5;border-color:#f4f4f5}
.docket-shell .matter-global-search .button {border-color:transparent;color:var(--docket-blue)}
.docket-shell .desk-content .layout {padding:23px clamp(14px,2.5vw,30px) 38px}
.docket-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 20px}
.docket-shell .docket-heading h1,.docket-shell .desk-heading h1,.docket-shell .matter-title h1 {
  font-family:Georgia,"Songti SC",serif;color:#12171d;font-size:clamp(1.68rem,3vw,2.56rem);font-weight:550;letter-spacing:-.04em
}
.docket-heading p {color:#596b7a;font-size:.85rem;margin:0}
.docket-preview.button {border-color:#9db8d6;color:#1b5e9a;text-decoration:none;flex:none}
.docket-work-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(175px,.28fr);gap:clamp(13px,2vw,27px);align-items:start}
.docket-widgets {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:clamp(12px,1.6vw,24px);background:#f4f7fb;border-radius:13px;align-items:start}
.docket-widget,.docket-feed {min-width:0}
.docket-widget.wide {grid-column:span 2}
.docket-widget>h2,.docket-feed>h2 {font-size:.98rem;color:#162331;margin-bottom:10px}
.docket-widget>h2:after,.docket-feed>h2:after {content:"";display:block;width:34px;height:2px;margin-top:3px;background:#2778c5}
.docket-widget .desk-panel,.docket-feed .desk-panel {border-radius:5px}
.docket-widget .desk-panel+.desk-panel {margin-top:8px}
.docket-widget .desk-panel-head,.docket-feed .desk-panel-head {min-height:0;align-items:flex-start;flex-wrap:wrap;padding:8px 9px;gap:2px 4px}
.docket-widget .desk-panel-head h2,.docket-feed .desk-panel-head h2 {font-size:.81rem}
.docket-widget .desk-panel-head p {display:none}
.docket-widget .desk-link,.docket-feed .desk-link,.docket-widget .desk-case-open {min-height:34px;white-space:normal}
.docket-widget .desk-docket-row,.docket-widget .desk-task,.docket-feed .desk-task {
  grid-template-columns:minmax(0,1fr) auto;grid-template-areas:none;gap:4px;padding:8px;align-items:start
}
.docket-widget .desk-docket-row>* {grid-area:auto}
.docket-widget .desk-table-head,.docket-widget .desk-row-icon,.docket-feed .desk-row-icon {display:none}
.docket-widget .desk-docket-stage,.docket-widget .desk-docket-date {grid-column:1/-1;justify-self:start}
.docket-widget .desk-docket-row .desk-case-open {grid-area:1/2;justify-self:end}
.docket-widget .desk-case-name {display:block}
.docket-feed .desk-panel {border:0}
.docket-feed .desk-queue {border-left:1px solid #91b5dc;margin-left:7px}
.docket-feed .desk-task {position:relative;border:0;padding:9px 4px 11px 12px}
.docket-feed .desk-task:before {content:"";position:absolute;width:9px;height:9px;border:2px solid #4c84be;background:#fff;border-radius:50%;left:-5px;top:13px}

.docket-shell .matter-banner {padding:0 clamp(14px,2.5vw,30px);border:0}
.docket-shell .matter-banner-inner,.docket-shell .matter-banner .firm-case-navigation {padding:0}
.docket-shell .matter-banner-inner {margin:17px 0 10px}
.docket-shell .matter-banner .firm-navigation {border:1px solid var(--desk-border);border-radius:8px;padding:0;gap:0}
.docket-shell .matter-banner .firm-navigation .button {min-height:42px;border-radius:0;border:0;border-right:1px solid #e8eaed;padding-inline:13px;color:#182a36}
.docket-shell .matter-banner .firm-navigation .button[aria-current=page] {background:#e5eef9;color:#0d61b7;border:0;border-right:1px solid #d5e4f6}
.docket-shell .matter-banner .desk-case-meta {margin:14px 0 0;padding:12px 13px;border:1px solid var(--desk-border);background:#fff}
.docket-shell .sample-matter .matter-banner {padding:0;margin-bottom:12px}
.docket-shell .sample-matter .matter-banner-inner {margin-top:0}
.docket-shell .firm-case-overview .panel,.docket-shell .firm-case-tasks,.docket-shell .matter-work-panel .panel {border-radius:5px}
.gateway-client-shell .matter-banner .desk-case-meta {margin:0 14px 10px;padding:8px}
@media(max-width:1100px) {
  .docket-shell {grid-template-columns:186px minmax(0,1fr)}
  .docket-shell .firm-live-sidebar {padding-inline:12px}
  .docket-work-grid {grid-template-columns:minmax(0,1fr) minmax(155px,.32fr)}
  .docket-widgets {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px) {
  .docket-shell {grid-template-columns:minmax(0,1fr)}
  .docket-shell .firm-live-sidebar {min-height:0;max-height:none;overflow:visible;position:static;padding:9px 9px 6px}
  .docket-identity {display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0 0 6px;padding:0 0 6px}
  .docket-identity .desk-sidebar-user,.docket-shell .desk-nav-caption {display:none}
  .docket-identity .docket-create.button {min-height:35px;font-size:.72rem}
  .docket-shell .firm-primary-nav .desk-nav-link {gap:3px;padding:3px;font-size:.7rem;line-height:1.15;min-height:39px}
  .docket-shell .firm-mobile-tools summary {color:#e6f2f7}
  .docket-shell .matter-mast {margin:0 9px}
  .docket-shell .matter-mast .mast-inner {flex-wrap:nowrap;gap:5px}
  .docket-shell .matter-global-search {flex:1 1 auto;order:0;min-width:0}
  .docket-shell .matter-global-search label {min-width:0;padding-inline:5px}
  .docket-shell .matter-global-search .button {font-size:.72rem;padding-inline:4px}
  .docket-work-grid {grid-template-columns:minmax(0,1fr)}
  .docket-heading {flex-wrap:wrap}
  .gateway-client-shell .desk-content {width:calc(100% - 12px)}
  .gateway-client-nav {padding:3px 4px;gap:1px}
  .gateway-client-nav svg,.gateway-menu summary svg {width:25px;height:25px;padding:5px}
  .gateway-client-nav .desk-nav-link,.gateway-menu summary {min-height:43px;font-size:.66rem}
  .gateway-timeline {margin-left:15px;padding-left:10px}
  .gateway-timeline-item:before {left:-19px}
}
@media(max-width:400px) {
  .docket-widgets {grid-template-columns:minmax(0,1fr)}
  .docket-widget.wide {grid-column:auto}
}
.gateway-login-layout {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:clamp(22px,6vw,74px);align-items:start;padding-block:40px}
.gateway-login-intro h1 {color:#1a5086;font-size:clamp(1.55rem,3vw,2.35rem);font-weight:690}
.gateway-login-features {display:grid;gap:18px;margin-top:23px}
.gateway-login-features>div {display:flex;align-items:flex-start;gap:14px}
.gateway-login-features svg {width:42px;height:42px;color:#286995;background:#e3f0fa;border-radius:50%;padding:8px}
.gateway-login-features h2 {margin-bottom:3px;color:#23578d}
.gateway-login-features p {margin:0;color:#4a667b}
.gateway-login-layout .login .primary {background:#1c649d;border-color:#1c649d}
.matter-crumb {flex-wrap:wrap}
.matter-crumb .desk-link {padding-left:0}
@media(max-width:720px) {
  .gateway-login-layout {grid-template-columns:minmax(0,1fr);gap:19px;padding-block:20px}
  .gateway-login-layout>div {grid-row:1}
  .gateway-login-intro {border-top:1px solid #cee0e9;padding-top:17px}
}

/* Keep primary actions legible without changing the two reference layouts. */
.gateway-timeline .desk-task strong,.docket-work-grid .desk-task strong {font-size:.9rem}
.gateway-timeline .desk-task small,.docket-work-grid .desk-task small {font-size:.77rem}
.gateway-timeline .desk-task .button,.docket-work-grid .desk-task .button {min-height:44px}
.gateway-timeline .desk-task .task-action {white-space:normal;text-align:center}
.gateway-menu-panel [data-menu-empty] {color:var(--muted);font-size:.86rem;margin:6px 0 0}
.gateway-menu-panel [data-menu-empty][hidden] {display:none}
@media(max-width:740px) {
  .docket-shell .firm-primary-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .docket-shell .firm-primary-nav .desk-nav-link {min-height:44px;font-size:.76rem}
  .firm-live-shell .matter-banner .firm-navigation {display:flex;flex-wrap:wrap;overflow:visible}
  .firm-live-shell .matter-banner .firm-navigation .button {min-height:44px;font-size:.79rem}
  .docket-shell .matter-banner .firm-navigation .button {padding-inline:8px}
  .gateway-client-nav .desk-nav-link,.gateway-menu summary {font-size:.73rem;min-height:46px}
  .firm-live-shell .desk-content .layout {padding-inline:14px}
  .firm-live-shell .desk-task {padding-inline:8px;gap:7px}
  .firm-live-shell .desk-task .task-action {min-height:44px;max-width:8rem;white-space:normal}
}

.official-package {margin-block:8px}
.official-package>summary,.issued-official-guide>summary {min-height:44px;padding:8px 4px;color:#204f72}
.official-guide {margin:7px 0 12px;padding:10px 12px;background:#f0f6fa;border-left:3px solid #75a8cd;overflow-wrap:anywhere}
.official-guide p {margin:0 0 5px}
.official-source {display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:.87rem}
.official-source a {display:inline-flex;align-items:center;min-height:40px}
.official-evidence>li {display:grid;gap:4px}
.official-package-picker {display:grid;gap:5px;margin:8px 0;font-size:.88rem}
.official-package-picker select {width:min(100%,580px);min-height:44px;padding:5px;border:1px solid var(--line);border-radius:5px;background:#fff}
.conversation-composer {margin:12px 0 18px;padding:10px 14px;background:#f0f6fb;border:1px solid #cde0ef;border-radius:8px}
.conversation-composer>summary {padding:8px 0;color:#174f78}
.conversation-composer form {margin-top:0}
.case-contact-action,.message-case-picker {margin-bottom:14px}
.case-contact-action svg {width:18px;height:18px}

.portal-skip {position:absolute;z-index:30;left:12px;top:8px;padding:12px;background:#fff;color:#174f78;
  border:2px solid #174f78;transform:translateY(-150%)}
.portal-skip:focus {transform:none}
#portal-main:focus {outline:0}
.matter-overdue {color:#8a351e}
p.matter-overdue {margin:8px clamp(14px,2vw,30px);font-size:.83rem}
.matter-overview .firm-case-navigation {margin:0;padding:0;border:0}
.matter-overview .firm-navigation {justify-content:flex-start}
.document-option summary,.document-history summary {min-height:44px;padding:10px 0;color:#174f78}
.document-actions {margin-top:7px}
.document-history {margin-top:4px;border-top:1px solid var(--line)}
.template-search {display:grid;gap:4px;font-size:.88rem;margin:10px 0 16px}
.template-search input {width:min(100%,410px);min-height:44px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:#fff}
[data-template-entry][hidden],[data-template-empty][hidden] {display:none}
@media(max-width:740px) {
  .matter-overview .firm-navigation .button,.case-contact-action .button {min-height:44px}
  .gateway-client-shell .matter-overview .firm-navigation {flex-wrap:wrap}
  .matter-overview .desk-case-progress {margin-bottom:0}
  .document-card .slot-actions .button,.document-actions .button {min-height:44px}
}

.conversation-audience {padding:10px 12px;border-left:3px solid var(--line);background:#f4f7f9;font-size:.88rem}
[data-questionnaire-review] h4 {margin:0 0 6px;font-size:1.1rem}
.questionnaire-answer {white-space:pre-wrap;overflow-wrap:anywhere}

.reply-context blockquote {margin:0 0 6px;padding:8px 12px;border-left:3px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}

/* Experience foundation: calm hierarchy, explicit state, recoverable work. */
.home-story,.case-story {background:#eff6fa;border:0;border-left:4px solid #477c9f;border-radius:0 12px 12px 0;padding:22px 25px;margin:0 0 24px;color:#1e435a}
.home-story {display:flex;gap:18px;align-items:flex-start}
.home-story h2,.case-story h2 {font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.5;margin:2px 0 8px;color:#143e5c;font-weight:650}
.home-story p,.case-story p {margin:0 0 6px;line-height:1.7;max-width:64ch}
.home-story .story-icon {display:grid;place-items:center;flex:0 0 42px;height:42px;background:#dcebf3;border-radius:50%}
.case-story small {display:block;color:#536b7a;margin-top:14px}
.gateway-timeline-item:has(.home-story):before {display:none}
.gateway-home>h1 {font-size:1.25rem;font-weight:500;margin-bottom:10px;color:#4d677a}
.gateway-timeline {border-left:0;padding-left:0;margin-left:0}
.gateway-timeline-item:before {display:none}
.gateway-panel {border-radius:10px}
.gateway-timeline .desk-panel-header {padding-block:18px}
.gateway-timeline .desk-task {padding:16px 18px;gap:14px;align-items:center}
.gateway-timeline .desk-task strong {font-size:1rem;line-height:1.5}
.gateway-timeline .desk-task small {font-size:.87rem;line-height:1.6;margin-top:4px}
.gateway-timeline .desk-empty {padding:20px;font-size:.95rem}
.case-story+.firm-case-tasks {border-top:0}
.draft-status {display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:.84rem;color:#526875;padding:10px 12px;background:#f1f5f7;border-radius:6px;margin:0 0 18px;min-height:42px}
.draft-status .text {font-size:inherit;min-height:32px}
.draft-comparison {padding:20px;border:2px solid #7194ad;background:#f7fafc;margin-bottom:20px}
.draft-comparison pre {font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;padding:10px;margin:0 0 8px}
.context-reference {display:flex;align-items:center;gap:12px;padding:13px 16px;background:#edf4f8;border-left:3px solid #6898b8;margin:12px 0}
.context-reference div {flex:1;min-width:0}.context-reference small,.context-reference strong {display:block;overflow-wrap:anywhere}
.context-reference small {color:#4d6577;font-size:.78rem;margin-bottom:4px}
.context-ask {margin:4px 0 14px;display:inline-flex;gap:6px;align-items:center;min-height:44px}
.document-steps {padding:14px 14px 14px 34px;background:#f5f8fa;margin-bottom:14px;line-height:1.8;font-size:.92rem}
.file-check {border:1px dashed #90afc2;padding:14px;margin:8px 0 18px;border-radius:8px;background:#f7fafc}
.file-check img {display:block;max-height:260px;max-width:100%;object-fit:contain;margin-block:12px}
.submission-receipt {border-left:3px solid #5a8f7d;padding:12px 16px;margin-top:18px;background:#eef7f2;font-size:.9rem}
.submission-receipt p {margin:5px 0;line-height:1.6}
.operation-status {position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:100;background:#173f58;color:#fff;border-radius:6px;padding:10px 18px;font-size:.9rem;box-shadow:0 5px 24px #15334426}
.field-error {display:block;color:#923b28;font-size:.86rem;padding:4px 0;font-weight:500}
[aria-invalid=true] {border-color:#a44d37!important;outline:1px solid #a44d37}
.form-chooser {display:flex;gap:8px;overflow-x:auto;padding:12px 0 18px;border-bottom:1px solid #dce5eb;margin-bottom:16px}
.form-chooser .button {display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:160px;max-width:300px;white-space:normal;padding:12px 16px;gap:3px}
.form-chooser .button[aria-pressed=true] {background:#e9f3f9;border-color:#4882a6;color:#163f5b}
.form-chooser small {font-weight:400;color:#5b6e79}
.questionnaire-nav {display:flex;align-items:center;gap:6px 15px;flex-wrap:wrap;padding:12px 15px;background:#f2f6f8;border-radius:6px;margin-bottom:20px;font-size:.85rem;position:sticky;top:8px;z-index:2;border:1px solid #dce5eb}
.questionnaire-nav a {padding:4px 0;line-height:1.5;max-width:260px}
.firm-intake-section {scroll-margin-top:110px;padding:22px 20px;margin-block:20px}
.firm-intake-section legend {font-size:1.05rem;color:#1c4967;padding:0 8px}
.answer-help {display:flex;align-items:center;gap:10px;font-size:.8rem!important;font-weight:400!important;color:#5c6b75;margin-top:-8px!important;margin-bottom:24px!important}
.answer-help select {max-width:300px!important;min-height:38px!important;font-size:.84rem!important;background:#f7fafb!important}
.form-list .form-card {width:100%;max-width:940px;margin-inline:auto;padding:24px}
.form-list .issued-official-guide {margin:10px 0 24px}
.search-results li>div {min-width:0;flex:1}.search-results small {display:block;color:#557082;margin-bottom:5px}
.search-results .review-note {font-size:.9rem;line-height:1.6}
.matter-global-search>.text {white-space:nowrap;font-size:.78rem}
form [hidden] {display:none!important}
@media(max-width:740px) {
  .home-story,.case-story {padding:18px 16px;margin-bottom:18px}.home-story {gap:10px}.home-story .story-icon {display:none}
  .gateway-home>h1 {font-size:1.03rem}.gateway-home .gateway-person {margin-block:8px 16px}
  .gateway-timeline .desk-task {display:grid;grid-template-columns:24px minmax(0,1fr);padding:15px 12px;gap:8px}
  .gateway-timeline .desk-task .task-action {grid-column:2;justify-self:start;max-width:none;padding-inline:15px}
  .firm-live-shell .desk-content .layout {padding-inline:12px}.gateway-client-shell .desk-content {width:100%}
  .firm-live-shell input,.firm-live-shell textarea,.firm-live-shell select,.login input {font-size:16px!important;min-height:44px}
  .firm-live-shell textarea {line-height:1.6}.firm-live-shell .button {min-height:44px}
  .form-list .form-card {padding:16px 8px}.firm-intake-section {padding:15px 12px;scroll-margin-top:12px}
  .questionnaire-nav {position:static;gap:6px 12px}.questionnaire-nav a {min-height:32px;display:flex;align-items:center}
  .answer-help {display:block;margin-top:0!important}.answer-help select {margin-top:5px;max-width:100%!important;font-size:14px!important}
  .context-reference {flex-wrap:wrap;padding:12px}.context-reference .button {margin-left:34px}
  .draft-comparison {padding:12px}.document-card-body {padding:14px 12px}
  .chat-log p {font-size:1rem;line-height:1.75}.conversation-audience {font-size:.9rem;line-height:1.7}
  .matter-global-search {flex-wrap:wrap}.matter-global-search>.text {font-size:.72rem}
  .slot-actions {padding-bottom:env(safe-area-inset-bottom,0px)}
}
@media(prefers-reduced-motion:reduce) {* {scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.manager-exceptions {margin:0 0 24px;background:#fff;border:1px solid #dbe5eb;border-top:3px solid #b18961;border-radius:8px;overflow:hidden}
.manager-exceptions>header {display:flex;justify-content:space-between;gap:16px;padding:18px 20px;align-items:center;background:#fbfaf7}
.manager-exceptions h2 {font-size:1.12rem;margin:0}.manager-exceptions .kicker {color:#846343;margin-bottom:5px}
.batch-review {margin:18px 0;padding:12px 16px;border:1px solid #c5d8e3;background:#f6fafc;border-radius:7px}
.batch-review>summary {min-height:40px;display:list-item;padding-top:7px;color:#205475}
.batch-results {padding:16px;border-left:3px solid #639684;background:#f0f7f4;margin-block:18px}.batch-results li {margin-bottom:8px;overflow-wrap:anywhere}
@media(max-width:740px) {.manager-exceptions>header {flex-wrap:wrap;padding:14px}.batch-review {padding:12px}.manager-exceptions .matter-table-row {padding:14px}}

/* Give the team's main queue room to read; keep schedules in a quieter rail. */
.docket-shell .ux-staff-home .docket-heading h1 {font-family:inherit;font-size:clamp(1.6rem,2.7vw,2rem);font-weight:650;letter-spacing:-.025em;margin:2px 0 8px;line-height:1.35}
.ux-staff-home .docket-heading {align-items:center;margin-bottom:24px}
.ux-staff-home .docket-heading .kicker {font-size:.72rem;color:#56717f;letter-spacing:.07em;margin:0 0 6px}
.ux-work-grid {grid-template-columns:minmax(0,1fr) minmax(265px,.46fr);gap:24px}
.ux-work-primary,.ux-work-secondary {min-width:0;display:grid;gap:22px;align-content:start}
.ux-work-primary .desk-panel,.ux-work-secondary .desk-panel {margin:0;box-shadow:none;border-radius:9px}
.ux-work-primary .desk-panel-head,.ux-work-secondary .desk-panel-head {padding:16px 18px;min-height:0;background:#f8fafb}
.ux-work-grid .desk-panel-head h2 {font-size:1rem}
.ux-work-grid .desk-task {padding:15px 16px;align-items:center;gap:12px}
.ux-work-grid .desk-task strong {font-size:.94rem;line-height:1.5}
.ux-work-grid .desk-task small {font-size:.82rem;line-height:1.65;margin-top:3px}
.ux-work-primary .desk-docket-row {padding:16px;grid-template-columns:minmax(170px,1fr) auto auto;gap:12px}
.ux-work-primary .desk-docket-date {grid-column:1;grid-row:2;margin-left:39px;font-size:.82rem;color:#607584}
.ux-work-primary .desk-docket-stage {grid-column:2;grid-row:1 / span 2}
.ux-work-primary .desk-case-open {grid-column:3;grid-row:1 / span 2}
.ux-work-secondary .desk-task {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.ux-work-secondary .desk-row-icon {display:none}
.ux-work-secondary .desk-empty {padding:20px 18px;font-size:.9rem;line-height:1.65;color:#5a6d79}
.ux-work-secondary .desk-docket-row {display:flex;flex-wrap:wrap;padding:14px;gap:10px}
.ux-work-secondary .desk-case-name {width:100%}
.ux-work-tools {display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 8px;border-top:1px solid #e3eaef}
.ux-work-tools>span {font-size:.8rem;color:#657986;margin-right:8px}
.ux-search-return {margin-bottom:14px;min-height:44px}
.chat-log article.search-matched {background:#edf5fa;border:1px solid #89aabe}
.search-match-label {display:block;margin:0 0 8px;color:#315c75;font-size:.78rem}
@media(max-width:1100px) {.ux-work-grid {grid-template-columns:minmax(0,1fr)}.ux-work-secondary {grid-template-columns:repeat(2,minmax(0,1fr))}.ux-work-secondary>.desk-panel:last-child {grid-column:1/-1}}
@media(max-width:740px) {.ux-work-grid {gap:18px}.ux-work-secondary {grid-template-columns:minmax(0,1fr)}.ux-work-primary .desk-panel-head,.ux-work-secondary .desk-panel-head {padding:14px}.ux-work-primary .desk-docket-row {grid-template-columns:minmax(0,1fr) auto;padding:14px}.ux-work-primary .desk-docket-stage {grid-column:1;grid-row:2;margin-left:0;justify-self:start}.ux-work-primary .desk-docket-date {grid-row:3;margin-left:0}.ux-work-primary .desk-case-open {grid-column:2;grid-row:1 / span 3}.ux-work-primary .desk-task {display:grid;grid-template-columns:22px minmax(0,1fr)}.ux-work-primary .desk-task .task-action {grid-column:2;justify-self:start}.ux-staff-home .docket-heading {align-items:flex-start}}
.account-entry-link{margin-top:24px;padding-top:20px;border-top:1px solid #dbe4e9;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:14px;color:#4d626f}
.account-entry-link a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#164c67;font-weight:650;text-decoration:underline;text-underline-offset:4px}
/* Immigration PDF preparation: a focused editor with a stable review rail. */
.auto-workspace{max-width:1440px}.auto-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:24px 0 14px}.auto-heading h1,.auto-heading h2{margin:6px 0 10px;font-size:clamp(23px,2.3vw,32px);line-height:1.25}.auto-heading p{max-width:780px}.auto-header-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.auto-notice{padding:12px 18px;border-left:3px solid #427d83;background:#edf5f5;color:#35575c;border-radius:0 8px 8px 0;margin:16px 0;font-size:14px}.auto-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:28px;align-items:start}.auto-editor{background:#fff;border:1px solid #d9e3e8;border-radius:12px;padding:26px;min-width:0}.auto-editor-top{display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;padding:12px 0;background:#fff;z-index:2;border-bottom:1px solid #e4ecee}.auto-editor-top label{display:flex;align-items:center;gap:10px;margin:0}.auto-editor-top select{width:130px}.auto-editor-top span{font-size:13px;color:#5b707d}.auto-field{padding:20px 0;border-bottom:1px solid #e8edef;scroll-margin-top:120px}.auto-field>label>span{display:block;font-size:15px;line-height:1.6;margin-bottom:10px;color:#263f4e;white-space:pre-wrap}.auto-field input,.auto-field select,.auto-field textarea{font-size:16px}.auto-field-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.auto-field-meta small{color:#56747b}.auto-field-meta label{font-size:12px;max-width:260px;margin:0}.auto-field-meta select{font-size:13px;padding:7px 9px;margin-top:4px}.auto-field-problem{border-left:3px solid #ad6926;padding-left:16px}.auto-field-error{color:#89521f;font-size:13px;margin:6px 0}.auto-required{color:#99602e}.auto-side{position:sticky;top:18px;padding:18px 4px;min-width:0}.auto-side h3{font-size:18px;margin:0 0 12px}.auto-side p{font-size:14px;line-height:1.7}.auto-side a{overflow-wrap:anywhere}.auto-side form{display:grid;gap:10px}.auto-side .button{max-width:100%;white-space:normal;text-align:left}.auto-workflow{border-top:1px solid #d3e1e5;margin-top:24px;padding-top:22px;display:grid;gap:12px}.auto-history{border-top:1px solid #d3e1e5;margin-top:22px;padding-top:18px}.auto-history summary{font-weight:600;cursor:pointer}.auto-history ul{padding-left:20px}.auto-history li{margin:12px 0;font-size:13px}.auto-history small{display:block;line-height:1.6;color:#637982}.auto-issues{list-style:none;padding:0}.auto-issues .button{font-size:12px;line-height:1.5;padding:6px 0;max-height:66px;overflow:hidden;display:block}.auto-pagination{display:flex;gap:14px;justify-content:space-between;padding-top:20px}.auto-save-state{font-size:13px;color:#416b63;min-height:22px}.auto-create{background:#f3f7f9;padding:22px;border-radius:10px;margin:22px 0}.auto-create summary{font-weight:600;cursor:pointer}.auto-create form{margin-top:18px}.auto-common-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.auto-common{margin:24px 0;padding:18px;border:1px solid #d7e4e7;border-radius:10px}.auto-common summary{font-weight:600;cursor:pointer}.auto-common-grid input{min-width:0}.auto-document-list{list-style:none;margin:24px 0;padding:0;border-top:1px solid #d9e3e8}.auto-document-list li{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 4px;border-bottom:1px solid #d9e3e8}.auto-document-list h3{margin:6px 0;font-size:19px}.auto-document-list p{margin:6px 0}.auto-document-list small{color:#657b85}.auto-stale,.auto-conflict{background:#fff7e8;border:1px solid #e6cf9b;border-radius:10px;padding:22px;margin:18px 0}.auto-conflict>div{border-top:1px solid #dfcaa5;padding-top:12px;margin-top:12px;overflow-wrap:anywhere}.auto-template-editor{max-width:1150px}.auto-template-fields details{padding:18px 0;border-bottom:1px solid #dce6e9}.auto-template-fields summary{cursor:pointer;font-size:15px;line-height:1.6}.auto-template-fields label{margin-top:12px}.auto-field-id{display:block;color:#6d7e86;overflow-wrap:anywhere;margin:8px 0}.auto-sticky-save{position:sticky;bottom:0;background:#fff;padding:16px 0;border-top:1px solid #d9e3e8;margin-top:24px}.auto-intro{max-width:760px;line-height:1.8}
@media(max-width:900px){.auto-layout{grid-template-columns:1fr}.auto-side{position:static;padding:22px;background:#f3f7f9;border-radius:10px}.auto-heading{display:block}.auto-header-actions{margin:16px 0}.auto-editor{padding:18px}.auto-common-grid{grid-template-columns:1fr}.auto-field-meta{align-items:flex-start;flex-direction:column}.auto-field-meta label{max-width:100%;width:100%}.auto-document-list li{align-items:flex-start}.auto-document-list .button{flex-shrink:0}.auto-side .auto-issues{display:none}.auto-workspace{padding-bottom:36px}.auto-sticky-save{padding-bottom:max(16px,env(safe-area-inset-bottom))}}
.permission-layout{max-width:1160px}.permission-editor>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.permission-editor h2{overflow-wrap:anywhere}.permission-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.permission-scope{background:#edf5f8;border-left:3px solid #4b7a91;padding:16px 20px;margin:20px 0;font-size:14px;line-height:1.75}.permission-scope p{margin:5px 0}.permission-list{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;margin:22px 0;border-top:1px solid #dbe5eb}.permission-option{display:flex!important;gap:13px;align-items:flex-start;border-bottom:1px solid #dbe5eb;padding:20px 0;margin:0!important}.permission-option input{width:20px!important;height:20px;min-width:20px;margin:3px 0!important;accent-color:#275d75}.permission-option strong,.permission-option small,.permission-option em{display:block;line-height:1.65}.permission-option strong{font-size:15px}.permission-option small{font-weight:400;color:#526875;margin-top:4px;font-size:13px}.permission-option em{font-style:normal;font-size:12px;color:#6b7780;margin-top:6px}.permission-option.unavailable{background:#f7f9fa;opacity:.78}.permission-members{list-style:none;padding:0;margin:0}.permission-members li{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid #e0e7eb}.permission-members span,.permission-members small{display:block;overflow-wrap:anywhere;line-height:1.7;color:#526875}.permission-members .button{flex-shrink:0}.permission-save{position:sticky;bottom:0;background:#fff;border-top:1px solid #cbdce5;padding:16px 0;display:flex;align-items:center;gap:24px;justify-content:space-between}.permission-save p{font-size:13px;max-width:680px}.permission-save .button{flex-shrink:0}.permission-confirm h4{font-size:16px}.permission-confirm li{margin:7px 0}.permission-locked{font-size:13px;line-height:1.65;color:#7b5e32;background:#fff7e9;padding:12px;border-radius:6px}
@media(max-width:700px){.permission-fields,.permission-list{grid-template-columns:1fr}.permission-members li{align-items:flex-start}.permission-members .button{font-size:13px;padding:8px 10px}.permission-save{align-items:stretch;flex-direction:column;gap:4px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.permission-editor.panel{padding:20px}.permission-layout{padding-inline:12px}.permission-option{padding:17px 5px}}

.knowledge-page{max-width:1120px}.knowledge-heading{padding:8px 0 22px}.knowledge-heading h1{margin:5px 0 9px}.knowledge-heading p{max-width:740px;color:var(--muted)}.knowledge-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.knowledge-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}.knowledge-basic-grid div{border-bottom:1px solid var(--line);padding-bottom:12px}.knowledge-basic-grid dt,.knowledge-history-item dt{font-size:13px;color:var(--muted)}.knowledge-basic-grid dd,.knowledge-history-item dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.knowledge-item{padding:24px 0;border-bottom:1px solid var(--line)}.knowledge-item:last-child{border-bottom:0}.knowledge-item h3{margin:0;font-size:17px}.knowledge-value{white-space:pre-wrap;margin:12px 0;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.knowledge-source{font-size:13px;color:var(--muted)}.knowledge-conflict{background:#fff7e8;border-left:3px solid #a96b10;padding:12px 15px;line-height:1.6}.knowledge-version-list{list-style:none;padding:0}.knowledge-version-list li{border-bottom:1px solid var(--line);padding:10px 0}.knowledge-version-list p{white-space:pre-wrap;margin:0 0 5px;overflow-wrap:anywhere}.knowledge-version-list small{color:var(--muted)}.knowledge-item form{max-width:680px;margin-top:16px}.knowledge-empty{padding:24px 0;color:var(--muted);max-width:720px;line-height:1.7}.knowledge-history-item{border-top:1px solid var(--line);padding:18px 0}.knowledge-history-item summary{cursor:pointer}.knowledge-history-item summary span{display:block;margin-top:5px;font-size:13px;color:var(--muted)}.knowledge-history-item dl{padding:10px 0}.knowledge-history-item dd{margin-bottom:20px}.knowledge-prefill-note{padding:14px 18px;background:#eef7f6;border-left:3px solid #39766e;margin:15px 0}.knowledge-prefill-note p{margin:7px 0 0;font-size:14px;line-height:1.7}.knowledge-field-note{display:block;color:#39675f;margin:5px 0 8px}.knowledge-template-setting{grid-column:1/-1}.knowledge-template-setting small{line-height:1.6;max-width:780px}@media(max-width:640px){.knowledge-basic-grid{grid-template-columns:1fr;gap:14px}.knowledge-tabs .button{flex:1 1 auto}.knowledge-item{padding:19px 0}.knowledge-item .line{align-items:flex-start;gap:8px}.knowledge-history-item summary{line-height:1.6}.knowledge-prefill-note{padding:12px}.knowledge-item select{max-width:100%;font-size:16px}}@media(prefers-reduced-motion:reduce){.knowledge-page *{scroll-behavior:auto}}
.knowledge-legacy{border:1px solid #a9c9c3;border-radius:8px;margin:18px 0;padding:16px 18px;background:#f8fcfb}.knowledge-legacy>summary{cursor:pointer}.knowledge-legacy>summary span{display:block;font-size:13px;color:var(--muted);margin-top:6px}.knowledge-legacy fieldset{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:6px}.knowledge-legacy legend{font-weight:600;padding:0 6px}.knowledge-legacy-choice{display:flex!important;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);cursor:pointer}.knowledge-legacy-choice input{width:auto!important;flex:none;margin-top:5px}.knowledge-legacy-choice>span{min-width:0}.knowledge-legacy-choice small{display:block;margin:4px 0;color:var(--muted)}.knowledge-legacy-value{display:block;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.knowledge-current{padding:10px;background:#edf3f2;white-space:pre-wrap;overflow-wrap:anywhere}

.frontdesk-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 22px}.frontdesk-tabs [aria-pressed=true],.frontdesk-note-filters [aria-pressed=true]{background:#dceeea;border-color:#9dbcb5}.frontdesk-list>.firm-search,.frontdesk-note-filters,.frontdesk-new-call{padding:18px 22px;border-bottom:1px solid #dce5e8;margin:0}.frontdesk-note-filters{display:flex;gap:8px;flex-wrap:wrap}.frontdesk-rows,.frontdesk-cases{list-style:none;margin:0;padding:0}.frontdesk-client-row,.frontdesk-case,.frontdesk-note-row{display:flex;align-items:center;gap:22px;padding:18px 22px;border-bottom:1px solid #e1e8eb}.frontdesk-client-row>div:first-child,.frontdesk-case>div:first-child,.frontdesk-note-row>div:first-child{flex:1;min-width:0}.frontdesk-client-row small,.frontdesk-case small,.frontdesk-note-row small{display:block;color:#5e7480;font-size:13px;margin-top:6px;line-height:1.6;overflow-wrap:anywhere}.frontdesk-note-row p{font-size:14px;line-height:1.7;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.frontdesk-team{display:flex;gap:20px;flex-wrap:wrap}.frontdesk-team>span{min-width:110px}.frontdesk-team small{display:block;font-size:12px;color:#637986;margin-top:5px}.frontdesk-pager{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:16px 22px}.frontdesk-detail{padding:24px}.frontdesk-profile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 30px;border-block:1px solid #e1e8eb;padding:22px 0;margin:22px 0}.frontdesk-profile dt{font-size:12px;color:#627987}.frontdesk-profile dd{margin:5px 0 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.frontdesk-detail h3{margin-top:24px}.frontdesk-call-form{background:#f3f8f9;padding:24px;margin:18px 0;border:1px solid #cfdfe5;border-radius:8px}.frontdesk-call-form>p{color:#52707e;font-size:14px;line-height:1.7}.frontdesk-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}.frontdesk-call-form footer{display:flex;gap:10px;justify-content:flex-end}.frontdesk-original{border-left:3px solid #3d8391;padding:15px 20px;background:#f3f8f9;white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere}.frontdesk-history{padding-left:20px;color:#53717e;font-size:13px;line-height:2}.frontdesk-detail details{margin-top:20px}.frontdesk-detail summary{cursor:pointer}@media(max-width:800px){.frontdesk-profile{grid-template-columns:1fr 1fr}.frontdesk-client-row,.frontdesk-case,.frontdesk-note-row{flex-wrap:wrap;gap:12px}.frontdesk-case .frontdesk-team{width:100%;order:2}}@media(max-width:560px){.frontdesk-detail{padding:18px}.frontdesk-profile,.frontdesk-form-grid{grid-template-columns:1fr}.frontdesk-call-form{padding:16px}.frontdesk-list>.firm-search{padding:16px}.frontdesk-client-row,.frontdesk-case,.frontdesk-note-row{padding:16px}.frontdesk-client-row>div:first-child,.frontdesk-note-row>div:first-child{flex-basis:75%}.frontdesk-call-form footer{flex-direction:column-reverse}.frontdesk-note-row .button{width:100%}}

.wix-intake-page{max-width:1440px;width:100%}.wix-intake-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:20px 0}.wix-intake-heading h1{margin:0 0 8px}.wix-intake-heading p{margin:0;color:var(--muted,#536879)}.wix-intake-connection{display:flex;justify-content:space-between;gap:28px;padding:20px 24px;margin:0 0 24px;border:1px solid #d5e5e9;background:#f2f8fa;border-radius:10px}.wix-intake-connection p{margin:6px 0 0}.wix-intake-connection>div:last-child{flex-shrink:0}.wix-intake-connection span,.wix-intake-connection strong{display:block}.wix-intake-connection span{font-size:.85rem;margin-bottom:6px;color:#536879}.wix-intake-table-wrap{overflow-x:auto}.wix-intake-table{border-collapse:collapse;width:100%;font-size:.93rem}.wix-intake-table th{text-align:left;color:#4c6274;background:#f7f9fa;font-weight:600}.wix-intake-table th,.wix-intake-table td{padding:14px 16px;border-bottom:1px solid #e0e7ec;vertical-align:middle}.wix-intake-page small{display:block;font-size:.83rem;color:#536879;margin-top:5px}.wix-intake-status{display:inline-block;font-size:.84rem;background:#edf4f7;border:1px solid #d9e5ea;border-radius:5px;padding:4px 8px;white-space:nowrap}.wix-intake-empty{padding:30px 16px;max-width:620px}.wix-intake-empty h3{margin:0 0 10px}.wix-intake-empty p{line-height:1.7}.wix-intake-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px}.wix-intake-columns>.panel{min-width:0}.wix-intake-columns h2{margin-top:0}.wix-intake-columns p{line-height:1.65}.wix-intake-fields{margin:20px 0}.wix-intake-fields>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;padding:12px 0;border-bottom:1px solid #e4ebef}.wix-intake-fields dt{color:#536879;font-size:.9rem}.wix-intake-fields dd{margin:0;overflow-wrap:anywhere}.wix-intake-warning{background:#fff8e9;border-left:3px solid #bd861f;padding:14px 18px 14px 34px;font-size:.9rem;line-height:1.6}.wix-intake-raw,.wix-intake-create{margin-top:24px;border-top:1px solid #dce5eb;padding-top:18px}.wix-intake-page summary{cursor:pointer;font-weight:600;line-height:1.5}.wix-intake-raw dl>div{padding:12px 0;border-bottom:1px solid #e3e9ee}.wix-intake-raw dt{font-size:.84rem;color:#536879}.wix-intake-raw dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.wix-intake-candidate{display:flex!important;align-items:flex-start;gap:10px;border:1px solid #dbe5eb;padding:13px;border-radius:7px;margin:10px 0}.wix-intake-candidate input{width:auto!important;margin-top:4px}.wix-intake-page fieldset{border:0;padding:0;margin:0}.wix-intake-page legend{font-weight:600}.wix-intake-page .check{display:flex;align-items:flex-start;gap:9px;line-height:1.5;margin:16px 0}.wix-intake-page .check input{width:auto;margin-top:4px}.wix-intake-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wix-intake-linked{padding:16px;background:#eff7f4;border:1px solid #d8e9e0;border-radius:8px;margin:16px 0}.wix-intake-linked p{margin:5px 0 12px}.wix-intake-history{margin-top:24px}.wix-intake-history .events li{align-items:start;gap:22px}.wix-intake-history .events li>strong{min-width:70px}.wix-intake-page form>.button{margin-top:8px}@media(max-width:900px){.wix-intake-columns{grid-template-columns:1fr}.wix-intake-connection{align-items:start;flex-direction:column;gap:18px}.wix-intake-table th,.wix-intake-table td{padding:12px}.wix-intake-table th:nth-child(2),.wix-intake-table td:nth-child(2){display:none}}@media(max-width:560px){.wix-intake-heading{align-items:flex-start;gap:16px;flex-direction:column}.wix-intake-form-grid{grid-template-columns:1fr}.wix-intake-fields>div{grid-template-columns:1fr;gap:5px}.wix-intake-table th:nth-child(4),.wix-intake-table td:nth-child(4){display:none}.wix-intake-table th,.wix-intake-table td{padding:10px 6px}.wix-intake-page .panel{padding:18px}.wix-intake-page .button{min-height:42px}.wix-intake-table .button{white-space:normal}.wix-intake-connection{padding:18px}}

.team-center-dialog{width:min(1160px,calc(100vw - 48px));max-width:1160px;height:min(86vh,940px);max-height:92dvh;padding:0;border:1px solid #d6e1e6;border-radius:18px;box-shadow:0 30px 100px #0b283a42;color:#123341;background:#fff}.team-center-dialog::backdrop{background:#102d4269;backdrop-filter:blur(3px)}.team-center-header{display:flex;justify-content:space-between;align-items:center;padding:22px 30px 18px;border-bottom:1px solid #e3eaee}.team-center-header h2{margin:4px 0 0;font-size:26px}.team-center-header .kicker{margin:0;color:#607988;font-size:11px;letter-spacing:.12em}.team-center-tabs{display:flex;gap:4px;padding:8px 24px;background:#f6f8fa;border-bottom:1px solid #dfe7eb;overflow-x:auto}.team-center-tabs .button{white-space:nowrap;background:transparent;border-color:transparent;border-radius:7px;color:#506879;padding:11px 16px;font-size:14px}.team-center-tabs [aria-current=page]{background:#fff;border-color:#d7e3e8;color:#074e66;box-shadow:0 1px 3px #183a4510}.team-center-body{height:calc(100% - 151px);overflow:auto;padding:26px 30px 40px;overscroll-behavior:contain}.team-center-body h3{font-size:19px;margin:0 0 12px}.team-center-body h4{font-size:15px}.team-center-body section+section{margin-top:30px}.team-my-profile{display:flex;align-items:center;gap:18px;padding-bottom:26px;border-bottom:1px solid #e3eaee}.team-my-profile>div{flex:1}.team-my-profile p{margin:4px 0;font-size:14px}.member-avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e7f0f4;color:#27556a;font-size:14px;font-weight:650;border:1px solid #d7e4e9}.member-avatar.large{width:70px;height:70px;font-size:23px}.team-member-list{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.team-member-list article{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #e7edf0}.team-member-list article>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.team-member-list article a,.team-member-list article span{font-size:13px;overflow-wrap:anywhere}.team-member-list article a{color:#43687b}.team-member-list article .member-avatar{font-size:14px}.team-section{margin-top:28px}.team-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.team-section-heading h2,.team-section-heading h3{margin:0 0 7px}.team-section-heading p{margin:0;color:#587180;font-size:14px}.team-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.team-center-dialog label,.team-editor label{display:grid;gap:7px;font-size:13px;font-weight:550}.team-center-dialog input:not([type=checkbox]),.team-center-dialog select,.team-center-dialog textarea,.team-editor input:not([type=checkbox]),.team-editor select,.team-editor textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid #cddae1;border-radius:7px;background:#fff;color:#193846;font:inherit}.team-center-dialog textarea{line-height:1.65}.team-center-dialog .check,.team-editor .check{display:flex;gap:9px;align-items:center;font-weight:400}.team-editor{background:#f6f9fa;border:1px solid #dce7eb;border-radius:10px;padding:22px;margin:20px 0;display:grid;gap:16px}.team-editor .button{justify-self:start}.team-editor .line{margin:0}.team-editor label+label{margin-top:0}.team-request,.team-notice{border-bottom:1px solid #e2e9ed;padding:17px 0}.team-request>summary,.team-notice>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}.team-request summary span,.team-notice summary small{font-size:13px;color:#5e7584}.team-notice summary small{display:block;margin-top:6px}.team-notice-body{white-space:pre-wrap;line-height:1.8;padding:20px 0}.team-differences{display:grid;grid-template-columns:170px 1fr;gap:10px;font-size:14px}.team-differences dd{margin:0;overflow-wrap:anywhere}.team-differences dd>span{color:#798a93}.team-request form{display:grid;gap:12px;padding:16px 0}.team-arrangements article{display:flex;justify-content:space-between;gap:18px;padding:19px 0;border-bottom:1px solid #e2eaee}.team-arrangements p{margin:6px 0;font-size:14px}.team-feedback{padding:12px 16px;background:#eaf6f0;border-radius:7px;color:#225b43}.team-feedback.error{background:#fff1ea;color:#8f371e}.team-table-wrap{overflow-x:auto}.team-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.team-table th{font-size:12px;font-weight:600;color:#5a7080;background:#f5f8fa;padding:12px}.team-table td{padding:14px 12px;border-bottom:1px solid #e2eaee;vertical-align:top}.team-table small{display:block;margin-top:5px;color:#687e8d}.team-table .button{font-size:12px;white-space:nowrap}.team-section .empty-note{padding:28px 0;color:#677f8d}.team-audit{padding:10px 0;border-bottom:1px solid #e2eaee;font-size:13px}.team-audit pre{white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto}.case-primary-actions{display:flex;gap:12px;margin:0 0 22px}.case-member{display:flex!important;align-items:center;gap:12px}.case-member>div{display:grid;gap:4px}.grouped-tools>summary{padding:15px 14px;color:#627d8b;font-size:13px;cursor:pointer}.grouped-tools>nav{padding-top:6px}.calendar-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px}.calendar-people{border-right:1px solid #dfe7eb;padding-right:18px}.calendar-people label{display:flex;gap:9px;align-items:center;padding:10px 0;font-size:13px}.calendar-scope-buttons{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px}.calendar-scope-buttons .button{font-size:12px;padding:8px}.calendar-scope-buttons [aria-pressed=true]{background:#e5f1f4;color:#07566b;border-color:#9ec4cd}.calendar-person-search{width:100%;margin:8px 0 12px}.calendar-entry{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #e3ebef}.calendar-entry>div{flex:1}.calendar-entry p{font-size:13px;line-height:1.6;margin:5px 0;color:#587181}.calendar-entry time{font-size:13px}.calendar-color{display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0;margin-top:4px;background:#2b7c99}.cal-color-0{background:#24688d}.cal-color-1{background:#8e60a1}.cal-color-2{background:#a46d28}.cal-color-3{background:#238579}.cal-color-4{background:#bd626f}.cal-color-5{background:#586eb5}.cal-color-6{background:#6b853e}.cal-color-7{background:#a95136}.calendar-colored-days{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;max-width:40px;margin:5px auto}.calendar-colored-days .calendar-color{width:5px;height:5px;margin:0}.home-agenda{margin-bottom:24px}.home-agenda-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.home-agenda-items{display:grid;grid-template-columns:repeat(3,1fr);gap:0 24px}.home-agenda-items article{padding:15px 0;border-bottom:1px solid #e5ecef}.home-agenda-items small{display:block;color:#657d8c;margin-top:6px}.calendar-workspace .desk-calendar-layout{grid-template-columns:minmax(260px,.8fr) minmax(280px,1fr)}.team-center-dialog [hidden]{display:none!important}
@media(max-width:900px){.team-center-dialog{width:calc(100vw - 24px);height:90dvh}.team-member-list{grid-template-columns:1fr}.calendar-workspace{grid-template-columns:1fr}.calendar-people{border-right:0;border-bottom:1px solid #e0e8ed}.calendar-people details>div{display:grid;grid-template-columns:1fr 1fr}.calendar-workspace .desk-calendar-layout{grid-template-columns:1fr}.home-agenda-items{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.team-center-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;border:0}.team-center-header{padding:18px}.team-center-header h2{font-size:22px}.team-center-tabs{padding:8px 12px}.team-center-tabs .button{padding:10px 12px}.team-center-body{padding:20px 16px 40px;height:calc(100dvh - 145px)}.team-fields{grid-template-columns:1fr}.team-my-profile{flex-wrap:wrap}.team-my-profile>.button{margin-left:88px}.team-section-heading{flex-wrap:wrap}.team-section-heading input{width:100%}.team-arrangements article{display:block}.team-arrangements .slot-actions{margin-top:13px}.team-editor{padding:16px}.team-differences{grid-template-columns:1fr}.team-differences dd{margin-bottom:12px}.case-primary-actions{flex-wrap:wrap}.team-table{min-width:580px}.home-agenda-items{grid-template-columns:1fr}.calendar-entry .button{padding:8px;font-size:12px}.team-center-body input,.team-center-body select,.team-center-body textarea{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.team-center-dialog,.team-center-dialog *{transition:none!important;animation:none!important}}

.calendar-client{grid-template-columns:minmax(0,1fr)}
.matter-subnav{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line,#dce5e9);padding:9px 0 0;margin:8px 0 0}.matter-subnav .button{font-size:13px;min-height:34px;padding:6px 12px;background:transparent;border-color:transparent}.matter-subnav [aria-current="page"]{color:#07596c;background:#eaf5f6;border-color:#c8e4e9}
.team-section-heading h1{font-size:32px;line-height:1.2;margin:6px 0 14px}.team-center-dialog{overflow:hidden}.team-center-body{height:auto;max-height:calc(86dvh - 154px)}body:has(.team-center-dialog[open]){overflow:hidden}.member-avatar+div{min-width:0}
@media(max-width:600px){.team-section-heading h1{font-size:28px}.team-center-body{max-height:calc(100dvh - 142px);padding-bottom:max(40px,env(safe-area-inset-bottom))}}
.team-center-dialog[open]{display:flex;flex-direction:column}.team-center-header,.team-center-tabs{flex-shrink:0}.team-center-body{flex:1;min-height:0;max-height:none;height:auto}
@media(max-width:600px){
  .team-my-profile{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px 16px;align-items:start}.team-my-profile>.button{grid-column:2;margin-left:0;justify-self:start}.team-my-profile p{overflow-wrap:anywhere}.team-my-profile>div{min-width:0}
  .team-center-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:7px 12px;overflow:visible}.team-center-tabs .button{white-space:normal;text-align:center;padding:9px 6px;font-size:12px;min-height:38px}
  .team-center-body{min-height:0;height:auto;max-height:none}.team-table{min-width:0}.team-time-summary thead,.billing-time-table thead{display:none}.team-time-summary,.team-time-summary tbody,.team-time-summary tr,.team-time-summary td,.billing-time-table,.billing-time-table tbody,.billing-time-table tr,.billing-time-table td{display:block}.team-time-summary tr,.billing-time-table tr{border-bottom:1px solid #dce5ea;padding:12px 0}.team-time-summary td,.billing-time-table td{border:0;padding:5px 0}.team-time-summary td:nth-child(2)::before{content:attr(data-label);display:inline;color:#637d8c;margin-right:8px}.team-time-summary td:nth-child(3)::before{content:attr(data-label);display:block;font-size:12px;color:#637d8c;margin-bottom:3px}.team-time-summary td:last-child .button,.billing-time-table td:last-child .button{min-height:42px}
}

.billing-setup{border:1px solid #d9e4ea;border-radius:8px;padding:18px;margin:22px 0}.billing-setup legend{font-weight:650;padding:0 8px}.billing-setup details{margin-top:16px}.billing-setup summary{cursor:pointer;font-size:14px}.billing-rate-list{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin-top:18px}.billing-rate-list label{display:flex!important;align-items:center;gap:12px;justify-content:space-between}.billing-rate-list label span{display:grid;gap:4px}.billing-rate-list label input{max-width:112px}.billing-rate-list small{color:#63808e;font-size:12px;font-weight:400}.invoice-card{border:1px solid #dce6ec;border-radius:9px;margin:14px 0;background:#fff}.invoice-card>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:20px;gap:20px}.invoice-card>summary small{display:block;color:#5c7685;margin-top:6px;font-size:13px}.invoice-detail{padding:0 20px 22px;border-top:1px solid #e1e9ee}.invoice-totals{display:grid;grid-template-columns:1fr auto;gap:10px;margin:22px 0 22px auto;max-width:380px;font-size:14px}.invoice-totals dd{text-align:right;margin:0;font-variant-numeric:tabular-nums}.invoice-totals dt:nth-last-of-type(1),.invoice-totals dd:last-child{font-weight:700;padding-top:12px;border-top:1px solid #dce6eb}.payment-row{display:flex;justify-content:space-between;gap:18px;padding:20px 0;border-top:1px solid #e3eaee}.payment-row small{display:block;color:#5e7685;margin-top:7px}.payment-row form{display:grid;gap:10px;max-width:340px}.invoice-void{margin-top:22px;color:#6e7074}.invoice-void form{padding:15px 0}.record-void{color:#8b999f;background:#f8fafb}.time-description{display:block;max-width:330px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin-top:6px}.billing-setup [hidden]{display:none!important}@media(max-width:600px){.billing-rate-list{grid-template-columns:1fr}.invoice-card>summary{padding:16px;font-size:14px}.invoice-detail{padding:0 14px 18px}.payment-row{display:block}.payment-row form{margin-top:15px;max-width:none}.invoice-detail .team-table{min-width:0}.invoice-totals{max-width:none}.billing-setup{padding:14px}}
.payment-mail-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;font:14px/1.7 system-ui}.invoice-totals dd{overflow-wrap:anywhere}
.time-completeness{padding:20px;border:1px solid #cbdedb;border-left:4px solid #276f67;border-radius:9px;background:#f1f8f5;margin:24px 0;min-width:0}.time-completeness h3{margin:0 0 10px}.time-completeness p{line-height:1.7}.time-completeness .button{white-space:normal;max-width:100%}.time-confirm-receipt{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.time-confirm-receipt .tag{display:inline-block;margin-top:7px;white-space:normal;line-height:1.5}.time-confirm-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.time-confirm-members article{border:1px solid #dce7eb;border-radius:8px;padding:16px;min-width:0}.time-confirm-members small{display:block;color:#627c88;margin-top:7px;line-height:1.6}.time-followup-create{border:1px solid #dce7eb;border-radius:8px;padding:16px;margin:15px 0}.time-followup-create summary{cursor:pointer;line-height:1.6}.time-followup{border:1px solid #e0e8eb;border-radius:8px;padding:18px;margin:14px 0;min-width:0}.time-followup header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.time-followup .tag{white-space:normal;line-height:1.5}.time-followup p,.time-followup small{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.time-followup small{display:block;color:#607b88}.time-review-note{padding:10px 12px;border-left:3px solid #b3833b;background:#fff8ed;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px}.time-followup-reply{border-left:3px solid #76a69e;padding:8px 12px;margin:15px 0;background:#f2f8f6}.time-followup .team-editor{margin-bottom:0}.time-confirm-history{margin:16px 0}.time-followups .team-editor,.time-followups fieldset{min-width:0}.billing-time-table td{overflow-wrap:anywhere}
@media(max-width:600px){.time-confirm-members{grid-template-columns:minmax(0,1fr)}.time-completeness,.time-followup,.time-followup-create{padding:14px}.time-followups .team-editor{padding:14px}.time-followups input,.time-followups select,.time-followups textarea,.time-completeness button{font-size:16px}.time-followups .button{white-space:normal;max-width:100%}.time-review-note{max-width:100%;box-sizing:border-box}.time-confirm-receipt{font-size:14px}}

.billing-timer-bar{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:12px 24px 0;padding:16px 18px;border:1px solid #a8cbc1;border-left:4px solid #237061;border-radius:8px;background:#edf7f2;min-width:0}.billing-timer-bar>div:first-child{flex:1;min-width:190px}.billing-timer-bar strong,.billing-timer-bar small{display:block;overflow-wrap:anywhere}.billing-timer-bar small{font-size:13px;line-height:1.6;margin-top:5px;color:#496d63}.billing-timer-clock{font:650 24px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;color:#164f43;font-variant-numeric:tabular-nums}.billing-timer-bar .slot-actions{margin:0;flex-wrap:wrap}.billing-case-timer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-top:14px;border-top:1px solid #dce7e9;background:#f5f9f8;min-width:0}.billing-case-timer small{display:block;font-size:13px;line-height:1.6;color:#60776e;margin-top:4px}.billing-case-timer .button{flex-shrink:0}.appointment-timer-actions{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.appointment-timer-actions small{font-size:13px;color:#57716a;line-height:1.6}.billing-timer-source{border-left:3px solid #9fbfb5;padding:8px 12px;margin:12px 0;background:#f4f8f6;overflow-wrap:anywhere}.billing-timer-source strong{font-size:14px}.billing-timer-source small{display:block!important;font-size:12px;line-height:1.7;margin-top:5px;color:#547067}.billing-timer-history article{padding:14px 0;border-top:1px solid #e0e9e7}.billing-timer-history>summary{cursor:pointer}.billing-timer-history article>small{color:#557568}.billing-timer-review{color:#876027;font-weight:600}
@media(max-width:600px){.billing-timer-bar{margin:10px 12px 0;padding:14px;gap:12px}.billing-timer-bar>div:first-child{flex-basis:100%;min-width:0}.billing-timer-bar .slot-actions{flex:1;justify-content:flex-end}.billing-timer-bar .button,.billing-case-timer .button{white-space:normal;max-width:100%}.billing-case-timer{padding:14px;align-items:flex-start;flex-direction:column}.appointment-timer-actions{align-items:flex-start;flex-direction:column}.billing-timer-source{padding:8px 10px}.billing-timer-source small{font-size:13px}.billing-timer-clock{font-size:22px}}

.storage-upload,.storage-prepared form{display:grid;gap:15px;margin:22px 0;padding:18px;border:1px solid #d7e5eb;border-radius:9px;background:#f4f9fb}.storage-upload h4{margin:0}.storage-upload p{font-size:14px;margin:0;line-height:1.6}.storage-upload label,.storage-prepared label{display:grid;gap:8px}.storage-upload input,.storage-prepared input,.storage-prepared select{max-width:100%;padding:10px;border:1px solid #cbdce4;border-radius:6px;background:white}.storage-upload button,.storage-prepared button{justify-self:start}.storage-prepared{margin:20px 0}.storage-prepared>summary{padding:12px 0;cursor:pointer;font-weight:600}

[data-storage-preview] img{display:block;max-width:100%;max-height:280px;object-fit:contain;border:1px solid #dce5e9;border-radius:6px}

.account-password-page{max-width:680px;padding-top:32px}.account-password-page .panel{padding:30px}.account-password-page form,.password-reset-panel form{display:grid;gap:16px}.account-password-page form>label,.password-reset-panel form>label{display:grid;gap:7px}.account-password-page form>.muted,.password-reset-panel form>.muted{margin:0}.password-account{display:grid;gap:5px;background:var(--wash,#f1f5f5);border-radius:8px;padding:14px 16px;overflow-wrap:anywhere}.password-account span{color:var(--muted,#52676a)}.account-password-management{display:grid;gap:20px}.account-password-management>.panel{margin:0}.password-reset-panel{border:2px solid var(--brand,#176b70);max-width:760px;width:100%}.password-account-list li{gap:16px;flex-wrap:wrap}.password-account-list li>div{min-width:0;flex:1 1 250px;overflow-wrap:anywhere}.password-account-list small{display:block;margin-top:5px}.password-required{color:#795900}.account-password-management time{font-size:.875rem;white-space:nowrap}@media(max-width:600px){.account-password-page .panel{padding:20px}.account-password-management .line{align-items:flex-start;gap:12px;flex-direction:column}.password-reset-panel{padding:20px}.password-account-list .button{width:100%}}

.workbench-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.workbench-home .ref-widget{min-width:0}.workbench-home li{overflow-wrap:anywhere}.workbench-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.assignment-rate{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px;margin:0 0 18px 28px;font-size:13px}.assignment-rate small{grid-column:1/-1}.team-center-tabs{flex-wrap:wrap}.team-center-body input,.team-center-body textarea{max-width:100%;min-width:0}@media(max-width:700px){.workbench-home{grid-template-columns:1fr}.assignment-rate{margin-left:0}.team-center-tabs .button{min-height:44px}}
.workbench-home .ref-widget{order:0;grid-column:auto;align-self:start}.workbench-home .ref-widget-body{min-height:0;border:1px solid #d4dfe5;border-radius:11px;padding:14px}.workbench-home .ref-widget-body>p{margin:0;line-height:1.6}.workbench-home .desk-queue:empty{display:none}.workbench-home .ref-compact-list{padding:0}.workbench-home .desk-queue{margin:0;padding:0}.workbench-home .ref-widget:last-child{grid-column:1/-1}
.workbench-home>.ref-widget:nth-child(n){order:0}

/* Reference-led staff workspace: light navigation, compact records, focused form steps. */
.docket-shell{--docket-navy:#062f40;--docket-blue:#0069c8;--desk-text:#123747;--desk-faint:#597184;--desk-border:#d7dfe4;grid-template-columns:244px minmax(0,1fr);color:var(--desk-text)}
.docket-shell .firm-live-sidebar{background:#f7f8f9;color:#123747;border-right:1px solid #d7dfe4;padding:24px 22px;scrollbar-width:thin}
.docket-identity{border:0;gap:23px;padding:0;margin-bottom:31px}.docket-identity .brand{color:#123747}.docket-identity .brand strong{font-size:14px;line-height:1.45}.docket-identity .brand small,.docket-identity .desk-sidebar-user small{color:#5a7285}.docket-identity .monogram{background:#fff0e9;color:#d74718;border:1px solid #f1ccbb;border-radius:7px}.docket-identity .desk-avatar{background:#9b52b1;font-size:14px;width:39px;height:39px}.docket-identity .desk-sidebar-user strong{font-weight:500;color:#073d53}.docket-identity .docket-create.button{background:#ec5423;border-color:#ec5423;border-radius:9px;min-height:40px;font-size:14px;gap:19px;justify-content:flex-start}
.docket-identity .docket-create.button:hover{background:#cc4216}.docket-shell .desk-nav-caption{color:#5f7688;padding-left:14px;margin-bottom:5px;font-size:13px}.docket-shell .desk-nav-link.button{color:#0e384b;font-size:14px;font-weight:400;min-height:40px;border-radius:10px;gap:11px;padding:8px 14px}.docket-shell .desk-nav-link.button svg{width:21px;height:21px;stroke-width:1.35;flex-shrink:0}.docket-shell .desk-nav-link.button:hover,.docket-shell .desk-nav-link.button[aria-current=page]{background:#e9edef;border-color:transparent;color:#0a3548}.docket-shell .desk-nav-link.button[aria-current=page]{font-weight:650}.docket-shell .firm-extra-nav{border:0;margin-top:25px;padding-top:0}.docket-shell .firm-extra-nav .desk-nav-link{font-size:13px}.docket-shell .firm-mobile-tools summary{color:#174257}
.docket-shell .matter-mast{position:sticky;top:0;z-index:20;background:#fff;border-color:#d6dfe5;margin:0 30px;border-radius:0 0 14px 14px}.docket-shell .matter-mast .mast-inner{min-height:53px;padding:5px 10px;max-width:none}.docket-shell .matter-global-search label{background:#fff;border:1px solid #d6dfe5;border-radius:9px}.docket-shell .matter-global-search{max-width:420px}.docket-shell .mast-tools .button{font-size:12px;padding-inline:9px;min-height:34px}.docket-shell .desk-content .layout{max-width:none;padding:26px 30px 40px}.docket-shell .docket-heading h1,.docket-shell .desk-heading h1,.docket-shell .matter-title h1,.docket-shell .auto-heading h1,.docket-shell .auto-heading h2{font-family:inherit;font-size:24px;line-height:1.3;letter-spacing:-.025em;font-weight:650;color:#052e3e}.docket-shell .docket-heading p,.docket-shell .desk-heading p{font-size:13px;line-height:1.6;margin-top:6px}.docket-shell .docket-heading{margin-bottom:26px}.docket-shell .kicker{font-size:11px;font-weight:550;letter-spacing:.06em}.docket-shell .button.primary{background:#052e3e;border-color:#052e3e;border-radius:6px;font-size:13px}.docket-shell .button.primary:hover{background:#0c5269}.docket-shell .button.ref-create-outline{border:1px solid #ee5a2e;color:#c84115;border-radius:9px;background:#fff;min-width:170px;min-height:40px}.docket-shell .button.ref-create-outline:hover{background:#fff4ef}.docket-shell .desk-link,.docket-shell .ref-name-link,.docket-shell .desk-case-open{color:#0069c8}.docket-shell .desk-link:hover,.docket-shell .ref-name-link:hover{color:#004786;text-decoration:underline;text-underline-offset:3px}.docket-shell .ref-name-link{background:transparent;border:0;min-height:30px;justify-content:flex-start;font-size:14px;font-weight:400;padding:3px 0;text-align:left;white-space:normal}
.ref-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}.ref-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px;background:#f6f8f9;padding:25px 25px 22px;border-radius:16px;align-items:start}.ref-widget{min-width:0;display:flex;flex-direction:column}.ref-widget>header{margin-bottom:12px}.ref-widget h2,.ref-activity h2{font-size:14px;font-weight:650;color:#082e40;margin:0}.ref-widget h2:after,.ref-activity h2:after{content:"";display:block;width:38px;height:2px;background:#ee6a3e;margin-top:5px}.ref-widget-body{background:#fff;border:1px solid #d4dfe5;border-bottom:0;border-radius:11px 11px 0 0;min-height:260px;overflow:hidden;min-width:0}.ref-widget>footer{border:1px solid #d4dfe5;border-radius:0 0 11px 11px;background:#fff;padding:3px 14px;min-height:40px}.ref-widget>footer .button{font-size:12px;padding:5px 0;min-height:30px}.ref-widget.ref-wide{grid-column:span 2}.ref-empty{min-height:258px;padding:26px 22px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#60768a;font-size:14px;line-height:1.65}.ref-empty svg{width:25px;height:25px;color:#57bdd0;margin-bottom:8px}.ref-empty p{max-width:260px;margin:8px 0}.ref-compact-list{list-style:none;padding:10px 16px;margin:0}.ref-compact-list li{padding:6px 0;border-bottom:1px solid #d9e1e6;min-height:46px}.ref-compact-list li:last-child{border:0}.ref-compact-list small{display:block;color:#627b8a;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.ref-deadline{display:block;color:#1b4557;font-size:12px;font-weight:500;padding:3px 0}.ref-count{font-size:11px;font-weight:500;background:#fff3cb;border-radius:5px;padding:2px 6px;white-space:nowrap}.ref-dashboard-grid .desk-row-icon{display:none}.ref-dashboard-grid .desk-task{display:block;padding:12px 15px;min-width:0}.ref-dashboard-grid .desk-task strong{font-size:13px;line-height:1.5}.ref-dashboard-grid .desk-task small{font-size:11px;line-height:1.55;margin-top:4px}.ref-dashboard-grid .desk-task .button{font-size:12px;min-height:30px;padding:4px 0;white-space:normal}.ref-dashboard-grid .desk-task .tag{font-size:10px}.ref-dashboard-grid .appointment-row{font-size:12px;overflow-wrap:anywhere}.ref-activity{padding:25px 0 0;min-width:0}.ref-activity>header p{font-size:11px;color:#6a7f8e;margin:7px 0 16px}.ref-activity ol{padding:0;margin:0 0 15px 10px;list-style:none;border-left:1px solid #91a5b2}.ref-activity li{position:relative;padding:0 0 24px 19px}.ref-activity li:before{position:absolute;left:-6px;top:4px;content:"";width:11px;height:11px;border:1px solid #8198a6;background:white;border-radius:50%}.ref-activity time,.ref-activity small{display:block;font-size:11px;color:#5e7889;line-height:1.55}.ref-activity .tag{margin-top:5px}.ref-activity .ref-name-link{line-height:1.6;margin:2px 0}.ref-activity .ref-empty{min-height:190px;padding-inline:5px}.ref-dashboard .manager-exceptions{margin-bottom:24px}.ref-dashboard .manager-exceptions>header{padding:12px 16px}
.ref-table-wrap{width:100%;overflow-x:auto;scrollbar-width:thin}.ref-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.5;text-align:left}.ref-table th{font-weight:500;font-size:12px;color:#0c374a;background:#f7f9fa;padding:13px 15px;white-space:nowrap}.ref-table td{border-top:1px solid #d8e1e6;padding:10px 15px;color:#163d50;vertical-align:middle}.ref-table td small{display:block;font-size:11px;color:#667e8d;margin-top:2px}.ref-table td .button{font-size:13px;min-height:30px;padding:3px 0}.ref-table td:first-child{min-width:120px}.ref-table tbody tr:hover{background:#f6fbfd}.ref-dashboard .ref-table td{padding:9px 13px;font-size:12px}.ref-dashboard .ref-table th{padding:12px 13px}.ref-dashboard .ref-table td:nth-child(2){max-width:270px;overflow-wrap:anywhere}.ref-status{display:inline-block;font-size:12px;background:#edf4f6;border:1px solid #d6e6eb;padding:3px 8px;border-radius:4px;color:#305a6d}.ref-status.needs-review{background:#fff5df;border-color:#eed6a2;color:#765219}.ref-list-toolbar{display:flex;align-items:end;gap:10px;margin:24px 0 16px}.ref-list-toolbar label{margin:0;min-width:150px;font-size:12px}.ref-list-toolbar input,.ref-list-toolbar select{min-height:37px;padding:8px 11px;font-size:13px;margin-top:6px}.ref-list-toolbar .ref-list-search{margin-left:auto;min-width:260px}.ref-list-toolbar .button{min-height:37px}.ref-list-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;font-size:12px;color:#527082}.ref-list-footer>div{display:flex;align-items:center;gap:12px}.ref-list-footer .button{font-size:12px;min-height:34px;padding:5px 10px}.auto-list-section>.ref-table-wrap{border:1px solid #d4dfe5;border-radius:8px}.auto-list-table td{padding-block:11px}.auto-list-section{margin-top:20px}.docket-shell .matter-directory{border:0;border-radius:8px;overflow:visible}.docket-shell .matter-filters{padding:0 0 17px;gap:10px;align-items:end}.docket-shell .matter-filters label{font-size:12px}.docket-shell .matter-filters input,.docket-shell .matter-filters select{min-height:36px;padding:8px 10px;font-size:13px;border-color:#d2dee4;border-radius:6px}.docket-shell .matter-filters>.button{min-height:36px}.docket-shell .matter-table-head{padding:12px 16px;background:#f7f9fa;border:1px solid #d6dfe4;border-radius:8px 8px 0 0;font-size:12px;font-weight:500}.docket-shell .matter-directory>.desk-docket{border:1px solid #d6dfe4;border-top:0;border-radius:0 0 8px 8px}.docket-shell .matter-table-row{padding:11px 16px;min-height:66px}.docket-shell .matter-table-row .desk-row-icon{display:none}.docket-shell .matter-table-row .desk-case-name strong{font-size:13px;font-weight:500}.docket-shell .matter-table-row .desk-case-name small{font-size:13px;color:#0069c8}.docket-shell .matter-table-row .desk-case-name span{font-size:11px}.docket-shell .matter-table-row .desk-docket-date,.docket-shell .matter-followup{font-size:12px}
/* The form workflow uses a persistent page rail, primary canvas, and review actions. */
.auto-assemble{border:0;margin:23px 0 28px}.auto-assemble>summary{display:inline-flex;align-items:center;padding:9px 15px;border:1px solid #ee6738;border-radius:7px;color:#c14720;cursor:pointer;font-size:14px}.auto-assemble>form{margin-top:20px}.auto-assemble-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.auto-assemble-card{border:1px solid #d5dfe4;border-radius:10px;overflow:hidden;background:#fff;min-width:0}.auto-assemble-card>h3{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;padding:14px 20px;margin:0;background:#eaf7fa}.auto-assemble-card:nth-child(2)>h3{background:#efebfd}.auto-assemble-card:nth-child(3)>h3{background:#fff3ee}.auto-assemble-card>h3>span{display:flex;align-items:center;justify-content:center;border:1px solid #78c5d4;color:#2589a0;border-radius:50%;width:23px;height:23px;font-size:12px}.auto-assemble-card:nth-child(2)>h3>span{border-color:#bda8ed;color:#815bb9}.auto-assemble-card:nth-child(3)>h3>span{border-color:#eeac94;color:#cf673e}.auto-assemble-card>div{padding:20px 22px}.auto-assemble-card label{font-size:13px;font-weight:500;margin-bottom:17px}.auto-assemble-card input,.auto-assemble-card select,.auto-assemble-card textarea{font-size:14px;min-height:41px}.auto-assemble-card p{font-size:12px;color:#60798b;line-height:1.7;margin:4px 0 23px}.auto-assemble-card input[readonly]{background:#f8fafb;color:#537082}.auto-assemble-preview{border:1px solid #dfe6eb;border-radius:8px;padding:15px 17px;margin-bottom:19px}.auto-assemble-preview strong,.auto-assemble-preview span,.auto-assemble-preview small{display:block}.auto-assemble-preview strong{font-size:16px}.auto-assemble-preview span{font-size:13px;margin-top:6px;color:#35576a}.auto-assemble-preview small{font-size:12px;color:#667d8a;margin-top:6px}
.docket-shell .auto-guided-workspace{padding-top:0;background:#f8f9fa}.auto-flow-header{position:sticky;top:53px;z-index:12;background:white;border-bottom:1px solid #d5dee4;padding:9px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 -30px 17px;padding-inline:30px}.auto-flow-header nav{display:flex;align-items:center;justify-content:center;gap:24px;margin:auto}.auto-step.button{display:flex;flex-direction:column;gap:3px;border:0;background:transparent;color:#6b7e8b;font-size:12px;min-width:74px;padding:0 7px;min-height:49px;border-radius:0}.auto-step .auto-step-number{width:27px;height:27px;border:1px solid #91a2ad;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px}.auto-step[aria-current=step]{color:#083d52}.auto-step[aria-current=step] .auto-step-number{color:#008fa8;border-color:#009db5;background:#eefbfc}.auto-flow-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.auto-flow-actions .button{min-height:35px;font-size:12px}.auto-guided-workspace>.text{font-size:12px}.auto-guided-workspace .auto-heading{margin:12px 0 8px;gap:15px}.auto-guided-workspace .auto-heading h2{font-size:22px}.auto-guided-workspace .auto-heading .kicker{margin:0}.auto-guided-workspace .auto-heading p{font-size:12px;margin-bottom:6px}.auto-guided-workspace .auto-header-actions .button{font-size:12px;min-height:35px}.auto-guided-workspace .auto-notice{font-size:12px;padding:8px 13px;margin:10px 0 17px;background:#eff6f7;border-left-width:2px}.auto-guided-workspace .auto-save-state{font-size:12px}.auto-guided-layout{grid-template-columns:225px minmax(0,1fr) 240px;gap:24px;margin-top:20px;align-items:start}.auto-main-pane{min-width:0}.auto-form-rail{position:sticky;top:137px;align-self:start;min-width:0;background:#fff;border:1px solid #d9e2e7;border-radius:8px;overflow:hidden}.auto-rail-person{padding:17px;border-bottom:1px solid #e0e6eb}.auto-rail-person>*{display:block;overflow-wrap:anywhere}.auto-rail-person small{font-size:11px;color:#5f798a}.auto-rail-person strong{font-size:15px;margin:6px 0}.auto-rail-person span{font-size:12px;color:#537589}.auto-question-search{padding:15px;margin:0;display:flex;flex-wrap:wrap;gap:7px}.auto-question-search label{font-size:11px;margin:0;width:100%}.auto-question-search input{min-width:0;font-size:13px;padding:8px 10px;margin-top:5px;min-height:36px}.auto-question-search .button{min-height:28px;padding:3px 0;color:#0069c8;border:0;background:none;font-size:12px}.auto-page-links{display:grid;gap:3px;padding:0 10px 14px}.auto-page-link.button{display:flex;justify-content:space-between;border:0;background:transparent;font-size:13px;padding:9px 12px;color:#36586b;border-radius:6px;min-height:40px}.auto-page-link small{font-size:11px;color:#6a8190}.auto-page-link[aria-current=page]{background:#eeeafb;color:#65439b}.auto-page-link[aria-current=page] small{color:#7f63aa}.auto-rail-footer{padding:10px 15px;border-top:1px solid #e0e6eb}.auto-rail-footer .button{font-size:12px;gap:8px;padding:4px 0}.auto-rail-footer svg{width:16px;height:16px}.auto-search-count{font-size:11px;margin:0;padding:0 15px 10px;color:#5f7786}.auto-search-results{padding:0 12px 12px;margin:0;list-style:none;max-height:440px;overflow-y:auto}.auto-search-results .button{white-space:normal;display:block;text-align:left;font-size:12px;line-height:1.5;border-bottom:1px solid #e2e9ed;border-radius:0;padding:10px 3px}.auto-search-results small{display:block;color:#52778a;margin-bottom:4px}.auto-guided-layout .auto-editor{background:transparent;padding:0;border:0;border-radius:0}.auto-guided-layout .auto-editor-top{background:#f8f9fa;top:130px;padding:0 0 15px}.auto-guided-layout .auto-editor-top label{font-size:12px}.auto-guided-layout .auto-editor-top select{min-height:36px;font-size:13px;width:110px}.auto-guided-layout .auto-editor-top span{font-size:11px}.auto-guided-layout .auto-editor>.muted{font-size:12px;line-height:1.7;margin:12px 0 18px}.auto-guided-layout .auto-field{padding:22px 25px;background:#fff;border:1px solid #d8e0e5;border-radius:9px;margin-bottom:18px;scroll-margin-top:195px}.auto-guided-layout .auto-field>label>span{font-size:14px;line-height:1.65;font-weight:500}.auto-guided-layout .auto-field input[type=text]{min-height:41px}.auto-guided-layout .auto-field-meta{align-items:end}.auto-guided-layout .auto-field-meta label{font-size:11px}.auto-guided-layout .auto-field-meta select{font-size:12px;min-height:33px;margin-top:3px}.auto-guided-layout .auto-field-meta small{font-size:11px}.auto-guided-layout .auto-field .muted{font-size:12px;margin:8px 0 0}.auto-guided-layout .auto-field-problem{border-left:3px solid #c68b47}.auto-guided-layout .auto-side{top:137px;padding:0;font-size:12px}.auto-guided-layout .auto-side h3{font-size:15px}.auto-guided-layout .auto-side p,.auto-guided-layout .auto-side label{font-size:12px;line-height:1.7}.auto-guided-layout .auto-side>a{font-size:12px}.auto-guided-layout .auto-workflow{margin-top:19px;padding-top:18px}.auto-guided-layout .auto-history{padding-top:14px;margin-top:18px}.auto-guided-layout .auto-history summary{font-size:12px}.auto-guided-layout .auto-side .button{min-height:36px;font-size:12px}.auto-stage-panel{background:white;border:1px solid #d8e2e8;border-radius:9px;padding:26px;min-width:0}.auto-stage-panel h2{font-size:21px;font-weight:600;margin:0 0 12px}.auto-stage-panel>p{font-size:13px;color:#577388;line-height:1.8}.auto-stage-panel h3{font-size:15px;margin-top:30px}.auto-preparation-summary{margin:24px 0}.auto-preparation-summary>div{padding:15px 0;border-bottom:1px solid #e0e7eb}.auto-preparation-summary dt{font-size:12px;color:#607d8f;margin-bottom:6px}.auto-preparation-summary dd{margin:0;font-size:14px;overflow-wrap:anywhere}.auto-preparation-summary dd small{font-size:12px;color:#648092;display:block;margin-top:3px}.auto-stage-action{margin:20px 0}.auto-stage-panel .events{font-size:12px}.auto-pdf-review{min-width:0;border:1px solid #d3dbe1;background:#edf0f2;border-radius:8px;overflow:hidden}.auto-pdf-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#303638;color:#fff;padding:10px 16px;font-size:13px}.auto-pdf-bar .button{color:#fff;background:transparent;border-color:#69777f;font-size:12px;min-height:32px}.auto-pdf-help{font-size:12px;color:#456272;padding:10px 16px;margin:0;background:#f6f9fa;line-height:1.6}.auto-pdf-frame{width:100%;height:820px;min-height:65vh;border:0;display:block;background:#e6eaed}.auto-pdf-mobile{display:none}.auto-intro{font-size:14px;color:#557488;margin:12px 0}
.permission-layout .panel{border-radius:8px;border-color:#d6e1e7;box-shadow:none}.permission-layout .auto-heading{margin-top:0}.permission-layout .auto-heading h1{font-size:24px}.permission-members li{padding:13px 3px;gap:14px}.permission-members strong{font-size:14px;font-weight:550}.permission-members span,.permission-members small{font-size:12px;line-height:1.6}.permission-members .button{font-size:12px;min-height:34px;color:#0069c8;background:white;border-color:#d3e0e7}.permission-editor>header{border-bottom:1px solid #d9e3e8;padding-bottom:18px;margin-bottom:18px}.permission-editor>header h2{font-size:21px}.permission-editor>header .kicker{color:#657f90}.permission-scope{font-size:13px;background:#f0f7fa;padding:14px 18px;border-color:#8abaca}.permission-fields label{font-size:13px}.permission-fields input,.permission-fields select{font-size:14px;min-height:41px}.permission-option{padding:15px 12px;border-radius:0;gap:10px}.permission-option strong{font-size:13px}.permission-option small{font-size:12px}.permission-option.unavailable{opacity:1}.permission-option.unavailable strong{color:#647a86}.permission-option input{accent-color:#05839b;width:17px!important;height:17px;min-width:17px}.permission-list{display:block;border:0}.permission-category{padding:0;border:0;margin:22px 0}.permission-category legend{display:block;width:100%;padding:10px 12px;background:#f2f6f8;border:1px solid #e0e7eb;font-size:13px;font-weight:600}.permission-category>div{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.permission-members-search{margin-bottom:14px;font-size:12px}.permission-members-search input{max-width:440px;min-height:38px;font-size:13px}.permission-save{padding:12px 0;z-index:3}.permission-save p{font-size:12px}
@media(min-width:1600px){.auto-guided-layout{grid-template-columns:240px minmax(0,1fr) 270px;gap:30px}.ref-dashboard-layout{grid-template-columns:minmax(0,1fr) 295px}}
@media(max-width:1380px){.docket-shell{grid-template-columns:214px minmax(0,1fr)}.docket-shell .firm-live-sidebar{padding:22px 14px}.docket-shell .matter-mast{margin-inline:22px}.docket-shell .desk-content .layout{padding-inline:22px}.ref-dashboard-layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.ref-dashboard-grid{gap:20px 14px;padding:20px 18px}.ref-widget-body,.ref-empty{min-height:240px}.ref-table td,.ref-table th{padding-inline:11px}.auto-guided-layout{grid-template-columns:185px minmax(0,1fr);gap:21px}.auto-guided-layout>.auto-side{grid-column:2;position:static;padding:21px;background:#fff;border:1px solid #d9e2e7;border-radius:8px}.auto-flow-header{margin-inline:-22px;padding-inline:22px}.auto-assemble-grid{gap:18px}.auto-assemble-card>div{padding:18px}.auto-assemble-card>h3{padding:13px 15px;font-size:13px}}
@media(max-width:1100px){.ref-dashboard-layout{grid-template-columns:minmax(0,1fr)}.ref-activity{border-top:1px solid #e0e7eb;padding-top:22px}.ref-activity ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:0;gap:12px}.ref-activity li{border-left:1px solid #a4b4bf;padding-bottom:10px}.auto-assemble-grid{grid-template-columns:1fr 1fr}.auto-assemble-card:last-child{grid-column:1/-1}.auto-assemble-card:last-child>div{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auto-assemble-card:last-child p{margin:0}.auto-guided-layout{grid-template-columns:165px minmax(0,1fr)}.auto-flow-header nav{gap:8px}.auto-flow-header .auto-step{min-width:59px;padding-inline:2px}.auto-flow-actions{gap:3px}.auto-flow-header .auto-flow-actions .text{display:none}}
@media(max-width:900px){.ref-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-widget:nth-child(3){grid-column:1/-1}.ref-widget:nth-child(3) .ref-widget-body{min-height:0}.ref-widget:nth-child(3) .ref-empty{min-height:120px}.ref-widget.ref-wide{grid-column:1/-1}.ref-widget:last-child{grid-column:1/-1}.auto-guided-layout{display:block}.auto-form-rail{position:static;margin-bottom:20px}.auto-rail-person{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 15px}.auto-rail-person strong{margin:0}.auto-question-search{display:none}.auto-page-links{display:flex;overflow-x:auto;padding:10px;gap:5px}.auto-page-link.button{flex-shrink:0;gap:10px}.auto-rail-footer{display:none}.auto-guided-layout>.auto-side{margin-top:23px}.auto-flow-header{position:relative;top:0;flex-wrap:wrap}.auto-flow-header nav{justify-content:space-between;flex:1;gap:10px}.auto-flow-actions{margin-left:auto}.auto-guided-layout .auto-editor-top{position:static}.auto-guided-layout .auto-field{padding:21px}.auto-guided-layout .auto-field-meta{flex-direction:row}.auto-guided-layout .auto-field-meta label{width:auto}.auto-guided-layout .auto-side .auto-issues{display:block}.auto-pdf-frame{height:680px}}
@media(max-width:740px){.docket-shell{grid-template-columns:minmax(0,1fr)}.docket-shell .firm-live-sidebar{padding:12px 12px 7px;min-height:0;max-height:none;overflow:visible}.docket-identity{margin:0 0 10px;padding:0 0 8px;gap:12px}.docket-identity .brand strong{font-size:12px}.docket-identity .monogram{min-width:30px;width:30px;height:30px}.docket-identity .brand small{font-size:10px}.docket-identity .docket-create.button{font-size:12px;min-height:38px;gap:8px;padding:8px 12px}.docket-shell .firm-primary-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.docket-shell .firm-primary-nav .desk-nav-link.button{font-size:12px;gap:5px;min-height:48px;padding:5px 3px;white-space:normal}.docket-shell .firm-primary-nav .desk-nav-link svg{width:19px;height:19px}.docket-shell .firm-mobile-tools{border-top:1px solid #e0e6e9;margin-top:8px}.docket-shell .firm-mobile-tools summary{color:#315c71;font-size:12px;min-height:34px;padding-block:8px}.docket-shell .firm-mobile-tools .desk-nav-link{font-size:12px;min-height:42px}.docket-shell .matter-mast{position:relative;margin:0 12px}.docket-shell .matter-mast .mast-inner{padding:6px;flex-wrap:wrap}.docket-shell .matter-global-search{max-width:none;flex-basis:100%}.docket-shell .matter-global-search input{min-height:39px}.docket-shell .matter-mast .mast-tools{margin-left:auto}.docket-shell .desk-content .layout{padding:22px 14px 32px}.docket-shell .docket-heading h1,.docket-shell .desk-heading h1,.docket-shell .matter-title h1{font-size:22px}.docket-shell .docket-heading{gap:16px}.ref-dashboard-grid{display:flex;flex-direction:column;padding:0;background:none;border-radius:0;gap:23px}.ref-widget{width:100%}.ref-widget:nth-child(3){order:-1}.ref-widget-body,.ref-empty{min-height:150px}.ref-widget.ref-wide .ref-table{min-width:520px}.ref-widget h2,.ref-activity h2{font-size:15px}.ref-dashboard-grid .desk-task{padding:13px 16px}.ref-dashboard-grid .desk-task strong{font-size:14px}.ref-dashboard-grid .desk-task small{font-size:12px}.ref-widget .ref-empty{font-size:14px}.ref-activity ol{display:block}.ref-activity li{margin-bottom:20px}.ref-activity .ref-name-link{font-size:14px}.ref-activity time,.ref-activity small{font-size:12px}.ref-list-toolbar{display:grid;grid-template-columns:1fr auto;gap:12px}.ref-list-toolbar label{min-width:0}.ref-list-toolbar label:first-child{grid-column:1/-1}.ref-list-toolbar .ref-list-search{margin:0;min-width:0}.ref-list-toolbar .button{min-height:44px}.auto-list-table{min-width:650px}.ref-list-footer{align-items:flex-start;flex-wrap:wrap}.auto-list-section{margin-top:20px}.docket-shell .matter-filters{padding-bottom:15px}.docket-shell .matter-table-head{display:none}.docket-shell .matter-directory>.desk-docket{border-top:1px solid #d6dfe4;border-radius:8px}.docket-shell .matter-table-row{padding:16px 12px}.docket-shell .matter-table-row .desk-case-name strong{font-size:15px}.docket-shell .matter-table-row .desk-case-name small{font-size:12px}.docket-shell .matter-table-row .desk-case-name span{font-size:12px}.auto-assemble-grid{display:block}.auto-assemble-card{margin-bottom:16px}.auto-assemble-card:last-child>div{display:block}.auto-assemble-card:last-child p{margin:12px 0}.auto-assemble-card label{font-size:14px}.auto-assemble-card>h3{font-size:15px}.auto-assemble-card p{font-size:13px}.auto-assemble-card .button.primary{width:100%;font-size:14px}.auto-flow-header{margin:-22px -14px 16px;padding:13px 14px;gap:12px}.auto-flow-header nav{width:100%;flex-basis:100%;gap:5px}.auto-step.button{font-size:12px;min-height:52px;min-width:0}.auto-flow-actions .button{min-height:40px;font-size:13px}.auto-guided-workspace .auto-heading{display:block}.auto-guided-workspace .auto-heading h2{font-size:21px}.auto-guided-workspace .auto-header-actions{gap:10px;margin:12px 0}.auto-guided-workspace .auto-header-actions .button{font-size:13px;min-height:42px}.auto-guided-workspace .auto-notice{font-size:13px;line-height:1.75;padding:10px 12px}.auto-guided-layout .auto-field{padding:18px 16px;margin-bottom:16px;scroll-margin-top:25px}.auto-guided-layout .auto-field>label>span{font-size:15px}.auto-guided-layout .auto-field-meta{align-items:flex-start;flex-direction:column;gap:7px}.auto-guided-layout .auto-field-meta label{width:100%;font-size:12px;max-width:none}.auto-guided-layout .auto-field-meta small{font-size:12px}.auto-guided-layout .auto-field-error{font-size:13px}.auto-stage-panel{padding:22px 16px}.auto-stage-panel h2{font-size:20px}.auto-stage-panel>p{font-size:14px}.auto-stage-panel .ref-table{min-width:450px}.auto-guided-layout>.auto-side{padding:20px 16px}.auto-guided-layout .auto-side p,.auto-guided-layout .auto-side label{font-size:14px}.auto-guided-layout .auto-side .button{min-height:44px;font-size:14px}.auto-pdf-frame{height:530px;min-height:0}.auto-pdf-mobile{display:block;padding:12px 15px;font-size:13px;line-height:1.6;color:#567483}.auto-pdf-bar{flex-wrap:wrap}.permission-category>div{grid-template-columns:1fr}.permission-option{padding:16px 3px}.permission-option strong{font-size:15px}.permission-option small{font-size:13px;line-height:1.75}.permission-members li{flex-wrap:wrap;gap:12px}.permission-members .button{min-height:44px}.permission-members strong{font-size:15px}.permission-members span,.permission-members small{font-size:13px}.permission-save{padding-bottom:max(12px,env(safe-area-inset-bottom))}.permission-members-search input{max-width:none}.permission-layout .auto-heading{gap:16px}.permission-layout .auto-heading .button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.docket-shell *{scroll-behavior:auto!important;transition:none!important}}

.docket-shell .docket-create.button{background:#ec5423;border-color:#ec5423;color:#fff}
.docket-shell .docket-create.button:hover{background:#cf4318}
.ref-dashboard .manager-exceptions.is-clear{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dce5e8;border-left:3px solid #a2beb5;background:#fbfdfc;margin-bottom:24px}
.ref-dashboard .manager-exceptions.is-clear>header{border:0;background:none;padding:11px 15px;flex-shrink:0;gap:20px}
.ref-dashboard .manager-exceptions.is-clear h2{font-size:13px}.ref-dashboard .manager-exceptions.is-clear .kicker{display:none}.ref-dashboard .manager-exceptions.is-clear .button{font-size:12px;min-height:30px;padding:3px 5px}
.ref-dashboard .manager-exceptions.is-clear .desk-empty{padding:12px 18px;font-size:12px;text-align:right;line-height:1.6}
@media(max-width:900px){.auto-question-search{display:flex;flex-wrap:nowrap;align-items:end;padding-top:10px}.auto-question-search label{flex:1}.auto-question-search .button{min-height:38px;padding:7px}.ref-dashboard .manager-exceptions.is-clear{display:block}.ref-dashboard .manager-exceptions.is-clear>header{justify-content:space-between;padding-bottom:0}.ref-dashboard .manager-exceptions.is-clear .desk-empty{text-align:left;padding-top:7px}}
.auto-case-context{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 30px;border-bottom:1px solid #e1e7eb;background:#fff;font-size:12px}.auto-case-context>div{display:flex;align-items:center;gap:13px;min-width:0;flex-wrap:wrap}.auto-case-context strong{color:#1b5974;font-weight:550}.auto-case-context span{color:#647e8e}.auto-case-context .button{font-size:12px;min-height:32px;flex-shrink:0}.auto-case-context+.auto-guided-workspace{padding-top:0}@media(max-width:740px){.auto-case-context{padding:11px 14px;align-items:flex-start}.auto-case-context>div{gap:5px}.auto-case-context .button{white-space:normal;max-width:120px;min-height:44px}.auto-case-context+.auto-guided-workspace .auto-flow-header{margin-top:0}}
.auto-guided-workspace .auto-heading{margin:4px 0 6px;align-items:center}.auto-guided-workspace .auto-heading h2{font-size:20px;margin:4px 0 6px}.auto-guided-workspace .auto-heading .kicker{display:none}.auto-guided-workspace .auto-header-actions>button{display:none}.auto-guided-workspace .auto-save-state{font-size:11px;min-height:18px}.auto-guided-workspace .auto-notice{margin:8px 0 14px}.auto-guided-layout{margin-top:14px}.auto-flow-header{margin-bottom:10px}.auto-case-context{padding-block:8px}
@media(min-width:1201px) and (max-width:1380px){.auto-guided-layout{grid-template-columns:170px minmax(0,1fr) 215px;gap:20px}.auto-guided-layout>.auto-side{grid-column:auto;position:sticky;top:137px;padding:0;background:transparent;border:0;border-radius:0}.auto-guided-layout .auto-field{padding:19px}.auto-guided-layout .auto-field-meta{flex-wrap:wrap}}
@media(max-width:740px){.auto-guided-workspace .auto-heading{margin:7px 0}.auto-guided-workspace .auto-heading h2{font-size:21px}.auto-guided-workspace .auto-save-state{font-size:12px}.auto-guided-workspace .auto-header-actions{margin:8px 0}.auto-flow-header .auto-flow-actions .text{display:inline-flex}.auto-case-context{padding-block:8px}}
.auto-pdf-paper{padding:15px 13px 20px;min-height:260px}.auto-pdf-paper canvas{display:block;width:100%;height:auto;background:#fff;box-shadow:0 2px 7px #0a1d2b22}.auto-pdf-paper canvas[hidden]{display:none}.auto-pdf-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:7px 12px;background:#3a4145;color:#fff;font-size:13px}.auto-pdf-controls .button{min-height:31px;min-width:34px;padding:3px 9px;background:transparent;border-color:#81909a;color:#fff;font-size:22px;line-height:1}.auto-pdf-controls .button:disabled{opacity:.4}.auto-pdf-text{padding:9px 15px;background:#fff;border-top:1px solid #d5e0e6;font-size:12px}.auto-pdf-text summary{cursor:pointer;color:#365c73}.auto-pdf-text p{white-space:pre-wrap;line-height:1.7}.auto-guided-workspace .auto-heading{scroll-margin-top:140px}@media(max-width:740px){.auto-guided-workspace .auto-heading{scroll-margin-top:10px}.auto-pdf-controls .button{min-height:44px;min-width:44px}.auto-pdf-paper{padding:12px 8px}.auto-pdf-help{font-size:13px}}

.template-library,.template-editor{max-width:1440px;margin:auto!important;padding-top:24px!important;color:#173e49}
.template-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.template-heading h1{font-size:25px;margin:5px 0 8px}.template-heading p{margin:4px 0;color:#596f78;line-height:1.6}
.template-version-note{font-size:13px;line-height:1.65;padding:12px 16px;border-left:3px solid #92b8c4;background:#f2f8fa;border-radius:0 5px 5px 0}.template-library .template-search{max-width:560px;margin:24px 0 16px}
.template-list{border:1px solid #d8e1e5;border-radius:9px;overflow:hidden;background:white}.template-list-row{padding:19px 22px;border-bottom:1px solid #e0e6e9}.template-list-row:last-child{border:0}.template-row-header{display:flex;justify-content:space-between;align-items:center;gap:24px}.template-row-header h2{font-size:16px;margin:0 0 8px;line-height:1.5}.template-meta{display:flex;gap:15px;flex-wrap:wrap;color:#617681;font-size:12px}.template-row-actions{display:flex;gap:8px;flex-shrink:0}.template-row-actions .button{font-size:13px;padding:8px 12px;min-height:36px}.template-updated{font-size:12px;margin:7px 0 0;color:#687e88}.template-description{font-size:14px;white-space:pre-wrap;margin-bottom:8px}.template-preview{margin-top:12px}.template-preview summary{color:#22718b;font-size:13px;cursor:pointer}.template-preview .firm-intake-section{margin-top:15px}.template-preview ol{padding-left:20px;line-height:1.8;font-size:14px}
.template-savebar{position:sticky;top:0;z-index:5;background:#fff;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d7e2e6;box-shadow:0 6px 12px -13px #163b46;margin-bottom:20px}.template-savebar>div{display:flex;gap:10px}.template-savebar>span{font-size:13px;color:#586e78}.template-basics{padding:5px 0 24px;border-bottom:1px solid #dce5e8}.template-editor h2{font-size:18px;margin:8px 0}.template-editor p{line-height:1.6}.template-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}.template-two-columns label{margin:0!important}.template-editor label{font-size:13px;font-weight:600;color:#304e59}.template-editor input,.template-editor textarea,.template-editor select{font-size:14px;font-weight:400;border:1px solid #cbd8df;border-radius:5px;background:white;line-height:1.6;color:#183d4a}.template-editor textarea{resize:vertical}.template-content-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0 14px}.template-content-heading p{font-size:13px;color:#617680;margin:0}.template-editor-rows{display:flex;flex-direction:column;gap:10px;margin:16px 0}.template-editor-item{position:relative;border:1px solid #d5dfe5;border-radius:7px;background:#fff;overflow:hidden}.template-editor-item>details>summary{padding:15px 165px 15px 16px;display:flex;align-items:center;gap:14px;cursor:pointer;font-size:14px;min-height:60px;line-height:1.6;background:#f8fafb;list-style:none}.template-editor-item>details>summary:after{content:'⌄';margin-left:auto}.template-editor-item>details[open]>summary:after{content:'⌃'}.template-row-number{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8f1f4;color:#346374;flex-shrink:0;font-size:12px}.template-item-actions{position:absolute;right:12px;top:10px;display:flex;gap:4px;align-items:center}.template-item-actions .button{min-height:35px;padding:5px 9px;font-size:13px}.template-item-actions .text{color:#964635}.template-row-fields{padding:20px 25px;border-top:1px solid #e0e6eb}.template-row-fields>label{margin-bottom:16px}.template-import{padding:18px 0;border-top:1px solid #e0e6eb;margin-top:24px}.template-import summary{font-weight:600;cursor:pointer}.template-import select{max-width:620px}.template-undo{background:#eff7f1;padding:8px 15px;font-size:13px;border-radius:5px}.template-editor-footer{border-top:1px solid #d5dfe5;margin-top:24px;padding:20px 0}.template-editor-footer>div{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.template-editor-footer p{font-size:13px;color:#607681}.template-preview-dialog{max-width:850px;width:90vw;max-height:85dvh;padding:26px;border:1px solid #cbd8de;border-radius:10px;color:#183c48;box-shadow:0 16px 60px #132e3c40}.template-preview-dialog::backdrop{background:#16364160}.template-preview-dialog header{display:flex;justify-content:space-between;gap:15px;align-items:center;position:sticky;top:-26px;background:white;padding:10px 0;z-index:1}.template-preview-dialog small{display:block;font-weight:400;white-space:pre-wrap;line-height:1.6;margin-top:5px}.template-preview-dialog label{margin-bottom:20px}.template-preview-dialog input,.template-preview-dialog textarea{background:#f5f7f8}
@media(max-width:760px){.template-library,.template-editor{padding:18px 14px!important}.template-heading{align-items:flex-start}.template-heading h1{font-size:22px}.template-heading>.button{white-space:nowrap}.template-row-header{align-items:flex-start;flex-direction:column;gap:12px}.template-row-actions{width:100%}.template-list-row{padding:16px}.template-two-columns{grid-template-columns:1fr;gap:14px}.template-savebar{flex-wrap:wrap;top:0;gap:8px}.template-savebar>div{width:100%}.template-savebar>div>.button{flex:1;padding:10px 7px;font-size:13px}.template-editor input,.template-editor textarea,.template-editor select{font-size:16px}.template-content-heading{align-items:flex-start;flex-direction:column;gap:12px}.template-editor-item>details>summary{padding:14px 14px 58px;align-items:flex-start}.template-item-actions{top:unset;bottom:unset;right:10px;margin-top:0;position:static;justify-content:flex-end;padding:8px;background:#f8fafb;border-top:1px solid #e3e9ec}.template-editor-item>details>summary{padding-bottom:14px}.template-item-actions .button{min-height:40px;min-width:42px}.template-row-fields{padding:16px}.template-editor-footer>div>.button{flex-grow:1;min-height:44px}.template-preview-dialog{padding:18px}.template-preview-dialog header{top:-18px}.template-meta{gap:10px}}

.template-question-help{display:block;white-space:pre-wrap;font-weight:400;line-height:1.65;color:#5f737d;margin:6px 0}.template-reset-confirm{padding:16px;background:#fff5e8;border:1px solid #e4ccaa;border-radius:6px}.template-reset-confirm .button{margin-right:8px}

.template-basics{padding:10px 0 18px}.template-basics>summary{font-size:16px;font-weight:600;cursor:pointer;line-height:1.6}.template-basics>summary small{font-size:12px;font-weight:400;color:#667f89;margin-left:14px}.template-basics[open]>summary{margin-bottom:15px}

/* Questionnaire content uses one document column for reading and editing. */
.questionnaire-document{max-width:920px;padding-bottom:48px!important}.questionnaire-document .template-heading{align-items:flex-start}.questionnaire-heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.questionnaire-document .template-heading h1{font-size:29px;line-height:1.35}.questionnaire-library .template-title-link{border:0;background:none;box-shadow:none;padding:0;min-height:0;text-align:left;font-size:18px;font-weight:650;color:#174c5d;line-height:1.5}.questionnaire-library .template-title-link:hover{text-decoration:underline}.questionnaire-language{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid #d8e2e7;padding-top:18px;margin-top:22px}.questionnaire-language>span{font-size:13px;font-weight:650;color:#3f5d68}.questionnaire-language>div{display:flex;gap:6px}.questionnaire-language .button{font-size:13px;min-height:36px;padding:6px 14px}.questionnaire-language .button[aria-pressed=true]{background:#174d5d;color:#fff;border-color:#174d5d}.questionnaire-language-note,.questionnaire-policy{font-size:13px;line-height:1.65;color:#5d737e}.questionnaire-policy{margin:16px 0 26px;background:#f2f7f8;border-left:3px solid #9ebfc7;padding:12px 16px}.questionnaire-instructions{white-space:pre-wrap;font-size:15px;line-height:1.8;margin:24px 0}.questionnaire-read-questions{background:white;border:1px solid #dbe4e8;border-radius:10px;padding:10px 30px 25px}.questionnaire-read-question{display:grid;grid-template-columns:30px minmax(0,1fr);gap:15px;padding:24px 0;border-bottom:1px solid #e5ecef}.questionnaire-read-question:last-child{border:0}.questionnaire-read-question h3{font-size:16px;line-height:1.7;font-weight:600;margin:0;white-space:pre-wrap}.questionnaire-number{display:inline-grid;place-items:center;align-self:start;background:#edf3f5;border-radius:50%;width:28px;height:28px;font-size:12px;font-weight:650;color:#42636f;flex-shrink:0}.questionnaire-section{font-size:17px!important;margin:28px 0 0!important;padding:0 0 12px;border-bottom:2px solid #dde7eb}.questionnaire-fallback{display:block;font-size:12px;color:#7b6641;font-weight:400;line-height:1.5;margin-top:5px}.questionnaire-optional{display:block;font-size:12px;color:#667e88;margin:7px 0 0}.questionnaire-draft-note,.questionnaire-saved-drafts{background:#fff9ec;border:1px solid #ead7ad;padding:14px 18px;border-radius:7px;font-size:14px;margin:18px 0}.questionnaire-saved-drafts h2{font-size:16px;margin:0 0 10px}.questionnaire-saved-drafts>div{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:8px 0}.questionnaire-saved-drafts .button{font-size:13px}.questionnaire-intro{display:grid;gap:20px;padding:20px 24px;border:1px solid #dbe4e8;border-radius:8px;background:white}.questionnaire-document label{display:grid;gap:7px;margin:0;font-size:14px}.questionnaire-document input,.questionnaire-document textarea{width:100%}.questionnaire-document textarea{min-height:86px;font-size:15px}.questionnaire-source{white-space:pre-wrap;border-left:2px solid #e5d8bd;padding:8px 12px;background:#faf8f3;font-size:14px;margin:0}.questionnaire-source .questionnaire-fallback{margin:0 0 5px}.questionnaire-edit-questions{display:grid;gap:20px;margin:16px 0}.questionnaire-edit-question{padding:22px 24px;background:white;border:1px solid #d5e1e6;border-radius:8px}.questionnaire-question-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.questionnaire-question-header>div{display:flex;gap:5px}.questionnaire-question-header .button{min-height:34px;padding:5px 10px;font-size:13px}.questionnaire-question-header .text{color:#8c4a3b}.questionnaire-document label.questionnaire-optional{display:flex;gap:8px;align-items:center;margin:15px 0;color:#516c77;font-weight:400}.questionnaire-document label.questionnaire-optional input{width:auto;min-height:0}.questionnaire-extra{border-top:1px solid #e4ebee;padding-top:13px;margin-top:15px}.questionnaire-extra>summary{font-size:13px;color:#536e7a;cursor:pointer}.questionnaire-extra[open]>summary{margin-bottom:16px}.questionnaire-extra>label,.questionnaire-extra>.questionnaire-source{margin-top:15px}.questionnaire-paste{padding:22px 24px;background:#f5f8fa;border:1px solid #d7e2e7;border-radius:8px;margin-top:30px}.questionnaire-paste h2{font-size:17px}.questionnaire-paste p{font-size:13px;color:#5b737e}.questionnaire-paste>button{margin-top:14px}.questionnaire-document .template-editor-footer>div{justify-content:flex-start}.questionnaire-document .template-savebar{position:static;padding:12px 0;margin-top:10px}.questionnaire-document .template-import{font-size:14px}.questionnaire-document .template-import label{margin:15px 0}
@media(max-width:760px){.questionnaire-document .template-heading{flex-direction:column;gap:12px}.questionnaire-document .template-heading h1{font-size:24px}.questionnaire-heading-actions{justify-content:flex-start}.questionnaire-document .template-savebar{flex-wrap:nowrap}.questionnaire-document .template-savebar>.button{white-space:nowrap}.questionnaire-read-questions{padding:5px 18px 15px}.questionnaire-read-question{gap:10px;padding:20px 0;grid-template-columns:28px minmax(0,1fr)}.questionnaire-edit-question,.questionnaire-intro,.questionnaire-paste{padding:18px 16px}.questionnaire-document textarea,.questionnaire-document input{font-size:16px}.questionnaire-question-header .button{min-height:42px;min-width:42px}.questionnaire-language{gap:10px}.questionnaire-saved-drafts>div{align-items:flex-start;flex-direction:column;gap:8px}}

.questionnaire-document button[type="submit"]{scroll-margin-top:80px}

.intake-client-section{overflow:visible}.intake-search>div{display:flex;gap:8px}.intake-search input{margin:0;flex:1;min-width:0}.intake-search .button{min-width:48px}.intake-search .icon{width:20px;height:20px}.intake-results{border:1px solid #d5e1e7;border-radius:7px;margin-top:9px;max-height:320px;overflow:auto;background:#fff}.intake-results>p,.intake-no-match{padding:12px 16px;margin:0}.intake-result{width:100%;background:#fff;border:0;border-bottom:1px solid #edf0f2;padding:13px 16px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#17394b;font:inherit;cursor:pointer}.intake-result:hover,.intake-result:focus-visible{background:#eef7fa}.intake-result strong,.intake-result small{display:block}.intake-result small{font-size:12px;color:#5a7180;margin-top:4px}.intake-result .tag{white-space:nowrap}.intake-result:disabled{opacity:.55;cursor:default}.intake-selected small{display:block;color:#607581;margin-top:5px}.intake-name-confirm{margin-top:15px}.intake-client-dialog{width:min(800px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #d1dce1;border-radius:12px;padding:26px;color:#153b4e}.intake-client-dialog::backdrop{background:#06273866}.intake-client-dialog h2{margin:0}.intake-client-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.intake-modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px 24px}.internal-targets{margin:20px 0;padding:20px;border:1px solid #cedde5;border-radius:8px}.internal-targets legend{font-weight:650}.internal-targets>p{color:#5b7280;font-size:13px;margin-top:0}.target-field{padding:4px 0}.target-field [hidden]{display:none}.target-field .check{font-size:12px}.matter-internal-targets{padding:13px 28px;display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid #e1e9ed;background:#f3f8fa;font-size:13px}.matter-internal-targets strong{color:#436372}.account-state-zone{margin-top:25px;border-top:1px solid #d4e0e5;padding-top:20px}.account-state-zone>summary{font-weight:650;cursor:pointer}.account-state-zone .state-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.account-delete-confirm{padding:18px;background:#fff5f2;border:1px solid #e9c6bf;border-radius:8px;margin-top:12px}.account-state-badge{font-size:12px;color:#5d7280}.template-hub-nav{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d6e1e6;padding-bottom:15px;margin:0 0 24px}.template-hub-nav .active{background:#06394a;color:#fff}.evidence-group{margin:18px 0 26px}.evidence-group>h3{font-size:15px;border-bottom:1px solid #d5e0e5;padding-bottom:10px;color:#234b60}.evidence-compact-row{border-bottom:1px solid #e8eef1;padding:11px 2px}.evidence-compact-row>label{margin:0;align-items:center}.evidence-compact-row details{font-size:13px;color:#566f7d;margin:6px 0 0 28px}.evidence-compact-row summary{cursor:pointer;color:#337492}.evidence-compact-row details p{line-height:1.8;white-space:pre-wrap}.template-guidance{font-size:13px;margin-bottom:18px}.template-guidance summary{cursor:pointer;color:#376a82}.template-editor-group>h3{padding:14px 0 8px;border-bottom:1px solid #dce4e9;font-size:16px}.template-purpose{max-width:850px;color:#587080;font-size:14px;line-height:1.7}@media(max-width:700px){.intake-modal-fields{grid-template-columns:1fr}.intake-client-dialog{padding:18px;max-height:94dvh}.intake-result{padding:14px 10px;align-items:flex-start}.intake-result .tag{font-size:10px}.matter-internal-targets{padding:14px 18px;gap:10px;flex-direction:column}.template-hub-nav{flex-direction:column}.intake-client-dialog footer{position:sticky;bottom:-18px;background:#fff;padding:12px 0}.internal-targets{padding:14px}}
.message-subject{display:block;color:#4c6979;font-size:13px;margin:6px 0}.gateway-message>div>strong{font-size:15px;line-height:1.6;color:#103d54;overflow-wrap:anywhere}
.auto-generation-review{border:1px solid #b5cfdc;background:#f7fafb;border-radius:9px;padding:20px;margin:20px 0;scroll-margin-top:100px}.auto-generation-review>summary{font-weight:650;color:#15465c;cursor:pointer}.auto-generation-review p{font-size:13px;line-height:1.75}.auto-language-findings,.auto-review-notes{padding:0;list-style:none}.auto-language-findings li,.auto-review-notes li{border-top:1px solid #d8e3e9;padding:15px 0}.auto-language-findings small,.auto-review-notes small{display:block;color:#825e26}.auto-generation-review form{max-width:720px}

/* Shared, isolated sign-in presentation for My Case and My Office. */
#app:has(.account-entry){background:#f6f8f7}
.entry-mast{background:#fff;border-bottom:1px solid #e0e7e4}
.entry-mast .mast-inner{width:min(1080px,100% - 64px);min-height:88px}
.entry-mast .brand{gap:12px}
.entry-mast .monogram{width:42px;height:42px;background:#173c43;border-radius:10px;font-size:17px}
.entry-mast .brand strong{font-family:Georgia,"Songti SC",serif;font-size:21px;font-weight:500;letter-spacing:-.025em}
.entry-mast .brand small{font-size:11px;color:#61736e;letter-spacing:.06em}
.entry-mast .text{min-width:48px;border:1px solid #dce5e1;border-radius:8px;color:#264f4b;font-size:13px}
.account-entry{--entry-accent:#24635c;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,440px);gap:clamp(42px,7vw,100px);align-content:center;align-items:center;width:min(1040px,100% - 64px);padding-block:56px 64px}
.account-entry-office{--entry-accent:#234b60}
.entry-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--entry-accent);margin:0 0 18px}
.account-entry h1{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:clamp(44px,4.9vw,64px);letter-spacing:-.045em;line-height:1.08;color:#193b42;margin:0 0 20px}
.entry-summary{font-size:17px;line-height:1.8;color:#526a66;max-width:430px;margin:0}
.entry-features{list-style:none;padding:0;margin:36px 0 0;display:grid;gap:24px}
.entry-features li{display:flex;gap:15px;align-items:flex-start}
.entry-feature-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #d9e6e0;background:#edf4ef;color:var(--entry-accent);border-radius:12px}
.account-entry-office .entry-feature-icon{background:#edf2f6;border-color:#dce6ed}
.entry-feature-icon svg{width:21px;height:21px}
.entry-features h2{font-size:15px;font-weight:650;color:#294842;margin:0 0 4px;line-height:1.5}
.entry-features p{font-size:14px;line-height:1.7;color:#60736d;margin:0;max-width:350px}
.account-entry-card.panel.login{display:block;padding:36px;border:1px solid #dfe8e3;border-radius:20px;background:#fff;box-shadow:0 14px 45px #193b4207;min-width:0}
.entry-card-label{font-size:12px;font-weight:650;letter-spacing:.03em;color:var(--entry-accent);margin:0 0 10px}
.account-entry-card h2{font-size:25px;letter-spacing:-.025em;font-weight:650;line-height:1.4;margin:0 0 9px;color:#233d3d}
.entry-card-note{font-size:14px;line-height:1.7;color:#64766f;margin:0 0 27px}
.account-entry-card form{display:grid;gap:20px;margin:0}
.account-entry-card label{display:grid;gap:8px;font-size:14px;font-weight:600;color:#344d47;margin:0}
.account-entry-card form input{width:100%;min-height:50px;font-size:16px;font-weight:400;line-height:1.4;border:1px solid #bacdc3;border-radius:9px;background:#fff;padding:12px 13px;box-shadow:none;margin:0}
.account-entry-card input:hover{border-color:#7b9d8d}
.account-entry-card input:focus-visible{outline:3px solid #d8e9df;outline-offset:1px;border-color:#397663}
.account-entry-card .entry-submit.button{display:flex;justify-content:center;gap:10px;width:100%;min-height:50px;margin:3px 0 0;border:1px solid var(--entry-accent);border-radius:9px;background:var(--entry-accent);color:#fff;font-size:15px;font-weight:650;padding:12px 16px}
.account-entry-card .entry-submit:hover{filter:brightness(.94)}
.entry-submit svg{width:17px;height:17px}
.entry-help{font-size:13px;line-height:1.8;color:#65766f;margin:19px 0 0}
.account-entry-card .entry-enrollment{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;border-top:1px solid #e5ece7;padding-top:12px;margin:23px 0 0;font-size:13px;line-height:1.8;color:#66776f}
.entry-enrollment a{display:inline-flex;align-items:center;min-height:44px;line-height:1.6;color:var(--entry-accent);font-weight:600}
#app:has(.account-entry)>.footer{width:min(1080px,100% - 64px);padding-block:19px 22px;margin-top:0;font-size:11px;color:#708079;border-color:#dfe7e2}
@media(max-width:760px){
 .entry-mast .mast-inner{width:calc(100% - 36px);min-height:76px;gap:12px}
 .entry-mast .brand strong{font-size:17px;line-height:1.2}
 .entry-mast .brand small{font-size:10px}
 .entry-mast .monogram{width:36px;min-width:36px;height:36px;border-radius:8px;font-size:15px}
 .entry-mast .text{font-size:12px;min-width:44px;min-height:44px}
 .account-entry{grid-template-columns:minmax(0,1fr);gap:25px;align-content:start;width:calc(100% - 36px);padding-block:32px 36px}
 .entry-eyebrow{margin-bottom:11px;font-size:11px}
 .account-entry h1{font-size:40px;margin-bottom:11px}
 .entry-summary{font-size:14px;line-height:1.75;max-width:none}
 .entry-features{display:none}
 .account-entry-card.panel.login{padding:25px 22px;border-radius:15px;box-shadow:0 8px 28px #193b4205}
 .account-entry-card h2{font-size:23px}
 .entry-card-note{font-size:13px;margin-bottom:23px}
 .account-entry-card form{gap:18px}
 .account-entry-card .entry-enrollment{font-size:12px}
 .entry-help{font-size:12px}
 #app:has(.account-entry)>.footer{width:calc(100% - 36px);font-size:10px;padding-block:16px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.account-entry *{scroll-behavior:auto}}
