@font-face {
  font-family: "DM Sans";
  src: url("/design-preview/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@media screen {
  :root {
    --ci-brand-blue:#0301fe;
    --ci-bg:#101115; --ci-sidebar:#121319; --ci-card:#1a1b22; --ci-raised:#20212a;
    --ci-line:#34353e; --ci-ink:#f4f4f7; --ci-muted:#b1b1be;
    --ci-wash:color-mix(in srgb,var(--ci-brand-blue) 15%,var(--ci-card));
    --ci-label-bg:color-mix(in srgb,var(--ci-brand-blue) 12%,white);
    --ci-logo:url("/overview-samples/logo-reversed.webp");
    --ci-font:"DM Sans",system-ui,sans-serif;
  }
  html[data-theme="light"] {
    --ci-bg:#f5f6f8; --ci-sidebar:#fff; --ci-card:#fff; --ci-raised:#f5f6fa;
    --ci-line:#d9dce4; --ci-ink:#191b25; --ci-muted:#53596b;
    --ci-wash:color-mix(in srgb,var(--ci-brand-blue) 8%,white);
    --ci-logo:url("/overview-samples/logo.webp");
  }
  body.ci-workspace:not([data-ov]), body:has(.business-profile), body:has(.login) {
    background:var(--ci-bg);color:var(--ci-ink);font-family:var(--ci-font);
    --fc-mode-text:var(--ci-ink);--fc-mode-muted:var(--ci-muted);--fc-mode-border:var(--ci-line);
  }
  body:not([data-ov]) #sidebar, body:not([data-ov]) #shell>header {
    background:var(--ci-sidebar);border-color:var(--ci-line);
  }
  body:not([data-ov]) #sidebar .brand {
    display:flex;align-items:center;min-height:70px;padding:0 12px;
  }
  body:not([data-ov]) #sidebar .brand>* {display:none}
  body:not([data-ov]) #sidebar .brand::before, .ci-login-brand {
    content:"";display:block;width:148px;height:53px;background:var(--ci-logo) left center / contain no-repeat;
  }
  body:not([data-ov]) #sidebar :is(.workspace,.avatar) {background:var(--ci-raised);border-color:var(--ci-line);color:var(--ci-ink)}
  body:not([data-ov]) #sidebar nav a {color:var(--ci-muted);font-family:var(--ci-font)}
  body:not([data-ov]) #sidebar nav a:hover {background:var(--ci-raised);color:var(--ci-ink)}
  body:not([data-ov]) #sidebar nav :is(a.active,a[aria-current="page"]) {background:var(--ci-wash);color:var(--ci-ink);box-shadow:inset 3px 0 var(--ci-brand-blue)}
  body:not([data-ov]) #shell>header {height:64px}
  .ci-workspace:not([data-ov]) #main, body:has(.business-profile) main {
    width:100%;max-width:1480px;margin-inline:auto;padding:clamp(24px,3.5vw,57px) clamp(19px,3.2vw,59px) 60px;min-width:0;
  }
  #main[data-ci-page] :is(h1,h2,h3,.amount,.stat-value,.summary-row.total strong):not(.document *),
  body:has(.business-profile) :is(h1,h2) {font-family:var(--ci-font);color:var(--ci-ink)}
  #main[data-ci-page]>.page-heading {align-items:center;margin-bottom:22px}
  #main[data-ci-page]>.page-heading h1, body:has(.business-profile) h1 {
    font-weight:680;line-height:1.05;letter-spacing:-.055em;font-size:clamp(30px,3vw,49px);
  }
  #main[data-ci-page] :is(.panel,.stat,.client-card,.settings-card), body .business-profile.panel {
    min-width:0;background:var(--ci-card);border:1px solid var(--ci-line);border-radius:12px;box-shadow:none;
  }
  #main[data-ci-page] :is(.subtitle,.panel-head small,.empty,.table-foot,.client-card p,.lab-muted,.report-message,.report-row small) {color:var(--ci-muted)}
  #main[data-ci-page] .button:not(.document *), body .profile-save button {font-family:var(--ci-font);border-radius:8px;min-height:39px;background:var(--ci-raised);border:1px solid var(--ci-line);color:var(--ci-ink)}
  #main[data-ci-page] .button:is(.primary,.dark):not(.document *), body .profile-save button {background:var(--ci-ink);color:var(--ci-bg);font-weight:680}
  #main[data-ci-page] .button:not(:disabled):hover {filter:brightness(.93)}
  #main[data-ci-page] :is(.button,.link-button,input,textarea,select):focus-visible {outline:2px solid var(--ci-brand-blue);outline-offset:3px}
  #main[data-ci-page] :is(input,select,textarea):not(.document *,[type="range"],[type="checkbox"],[type="radio"]), body .profile-fields :is(input,textarea,select) {
    color:var(--ci-ink);background:var(--ci-bg);border-color:var(--ci-line);font-family:var(--ci-font);
  }
  #main[data-ci-page] .toolbar {gap:12px;flex-wrap:wrap}
  #main[data-ci-page] .tabs {max-width:100%;background:var(--ci-raised);border-radius:9px;overflow-x:auto}
  #main[data-ci-page] .tabs button {flex-shrink:0;color:var(--ci-muted);font-family:var(--ci-font)}
  #main[data-ci-page] .tabs button.active {background:var(--ci-wash);color:var(--ci-ink);box-shadow:inset 0 -2px var(--ci-brand-blue)}
  #main[data-ci-page] .table-wrap {overflow-x:auto;max-width:100%}
  #main[data-ci-page] :is(td,th):not(.document *) {border-color:var(--ci-line)}
  #main[data-ci-page] th:not(.document *) {background:var(--ci-raised);color:var(--ci-muted)}
  #main[data-ci-page] .invoice-row:hover {background:var(--ci-wash)}
  #main[data-ci-page] .client-card-bottom, #main[data-ci-page] .form-section {border-color:var(--ci-line)}
  #main[data-ci-page] .client-icon:not(.document *) {background:var(--ci-wash)!important;color:var(--ci-brand-blue)}
  #main[data-ci-page] .link-button {color:var(--ci-brand-blue)}
  #main[data-ci-page] .report-filters, #main[data-ci-page] .lab-card {border-top:2px solid var(--ci-brand-blue)}
  #main[data-ci-page] .lab-timeline li::marker {color:var(--ci-brand-blue)}
  #main[data-ci-page] .summary-panel {border-left:3px solid var(--ci-brand-blue)}
  #main[data-ci-page] :is(.notice,.table-foot) {background:var(--ci-raised);border-color:var(--ci-line);color:var(--ci-muted)}
  body.ci-workspace {accent-color:var(--ci-brand-blue)}
  body.ci-workspace .layout-option.selected {
    background:var(--ci-wash);border-color:var(--ci-brand-blue);box-shadow:0 0 0 1px var(--ci-brand-blue);
  }
  body.ci-workspace :is(a,button,input,select,textarea):focus-visible,
  body:has(.login,.business-profile) :is(a,button,input,select,textarea):focus-visible {
    outline:2px solid var(--ci-brand-blue);outline-offset:3px;
  }
  body.ci-workspace .font-scale-card input[type="range"] {accent-color:var(--ci-brand-blue)}
  body.ci-workspace dialog {background:var(--ci-card);border-color:var(--ci-line);color:var(--ci-ink)}
  body.ci-workspace dialog :is(.modal-head,.modal-actions) {background:var(--ci-sidebar);border-color:var(--ci-line)}
  #main[data-ci-page] .client-grid {grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
  #main[data-ci-page] .client-card {overflow-wrap:anywhere}
  body .business-profile.panel {border-left:3px solid var(--ci-brand-blue)}
  body .business-profile.panel p {color:var(--ci-muted)}
  .ci-login-brand {width:184px;height:70px;background-position:center}
  main.login {position:relative;background:var(--ci-bg);color:var(--ci-ink);font-family:var(--ci-font)}
  .ci-login-toolbar {position:absolute;top:22px;right:24px}
}
@media screen and (max-width:780px) {
  body:not([data-ov]) #shell>header .ov-mobile-brand {display:block;flex:none;width:94px;height:38px;margin-right:auto;background:var(--ci-logo) left center/contain no-repeat}
  body:not([data-ov]) #shell>header:has(.ov-mobile-brand) .crumb {display:none}
  #main[data-ci-page]>.page-heading {align-items:flex-start;gap:14px;flex-wrap:wrap}
  #main[data-ci-page] .lab-grid, #main[data-ci-page] .setting-layout {grid-template-columns:minmax(0,1fr)}
  #main[data-ci-page] .toolbar .search {flex:1 1 180px;min-width:0}
  #main[data-ci-page] .toolbar .search input {max-width:100%}
}
@media print { .ci-login-toolbar {display:none!important} }

@media screen {
  .ci-tool-panel {padding:clamp(20px,2.2vw,32px)}
  .ci-tool-panel h2 {margin:0;font-size:21px;letter-spacing:-.04em}
  .ci-tool-panel p {color:var(--ci-muted);line-height:1.6;max-width:62ch}
  .ci-tool-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:14px;margin:24px 0}
  .ci-tool-fields label {display:grid;gap:7px;color:var(--ci-muted);font-size:12px;font-weight:580;min-width:0}
  .ci-tool-fields :is(input,select,textarea) {padding:9px 11px;width:100%;min-width:0;min-height:42px;border:1px solid var(--ci-line);border-radius:8px}
  .ci-message-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ci-message-fields label:nth-child(n+3) {grid-column:1/-1}
  .ci-tool-fields textarea {resize:vertical;line-height:1.65}
  .ci-dates {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:1px;list-style:none;padding:1px;margin:16px 0 24px;background:var(--ci-line);border-radius:10px;overflow:hidden}
  .ci-dates li {background:var(--ci-raised);color:var(--ci-ink);font-variant-numeric:tabular-nums;padding:16px 12px}
  .ci-tool-empty {padding:16px 0}
  .ci-tool-panel [role=status]:empty {display:none}
}
@media screen and (max-width:600px){.ci-message-fields{grid-template-columns:1fr}}

@media screen {
  .login :is(.cl-footerActionLink,.cl-formResendCodeLink,.cl-formFieldAction,.cl-formButtonReset),
  body.ci-workspace .link-button:not(.document *) {color:var(--ci-brand-blue)}
  html[data-theme="light"] body.ci-workspace :is(.add-line,.layout-option:not(.selected),.notice,.activity-amount):not(.document *),
  html[data-theme="light"] body.ci-workspace .summary-row:not(.total) strong:not(.document *) {color:var(--ci-brand-blue)}
  html:not([data-theme="light"]) body.ci-workspace :is(.link-button,.client-icon):not(.document *) {
    background:var(--ci-label-bg)!important;border-radius:.3rem;padding-inline:.35rem;
  }
}

@media screen {
  #client-form .client-contact-fields {margin-top:18px}
  #client-form .client-field-street {grid-column:1/-1}
  #client-form input {min-width:0;width:100%}
  #modal:has(#client-form) {max-height:90dvh;overflow-y:auto}
}
@media screen and (max-width:600px) {
  #client-form .form-grid {grid-template-columns:minmax(0,1fr)}
}

@media screen {
  .client-card .client-invoice-button {
    display:inline-flex;align-items:center;justify-content:center;min-height:40px;
    padding:8px 14px;border:1px solid var(--ci-brand-blue);border-radius:8px;
    background:var(--ci-brand-blue);color:#fff;font:650 13px/1.3 var(--ci-font);
    cursor:pointer;
  }
  .client-invoice-button:hover {text-decoration:underline;text-underline-offset:3px}
  .client-invoice-button:focus-visible {outline:2px solid currentColor;outline-offset:3px}
}

.document .business-invoice-logo,.profile-logo-preview img {width:auto;height:auto;max-width:min(170px,100%);max-height:64px;object-fit:contain;vertical-align:middle}
.profile-logo-preview {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.copy-email-setting small,.profile-logo-field small,.activity-record,.activity-empty {display:block;margin-top:5px;color:var(--fc-mode-muted);font-size:12px}
.profile-logo-field [hidden] {display:none!important}
#doc-currency {display:block;padding:10px 0;font-weight:600}
.estimate-layout-toggle {display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}
.estimate-layout-toggle input {appearance:none;width:40px;height:24px;flex:none;min-height:0;margin:0;padding:2px;border:1px solid currentColor;border-radius:20px;background:transparent;cursor:pointer}
.estimate-layout-toggle input::before {content:"";display:block;width:18px;height:18px;border-radius:50%;background:currentColor}
.estimate-layout-toggle input:checked {background:var(--ci-brand-blue,#1616ff);border-color:transparent;color:white}
.estimate-layout-toggle input:checked::before {transform:translateX(16px)}
.estimate-layout-toggle input:focus-visible {outline:2px solid currentColor;outline-offset:3px}

@media(min-width:651px){.report-stats:has(>.stat:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
.report-stats:has(>.stat:nth-child(2):last-child)>.stat:last-child{grid-column:auto}

@media screen {
  #main .estimate-layout-heading {
    --estimate-pad:clamp(16px,2.2vw,30px);
    position:relative;container-type:inline-size;padding:var(--estimate-pad);
  }
  .estimate-layout-intro {padding-right:150px;margin-bottom:18px}
  #main .estimate-layout-intro h2 {margin:0;font:700 20px/1.25 var(--ci-font);letter-spacing:-.045em}
  #main .estimate-layout-intro p {margin:4px 0 0;color:var(--ci-muted);font:450 13px/1.45 var(--ci-font)}
  .estimate-layout-heading .estimate-mode {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .estimate-choice {position:relative;min-width:0}
  .estimate-choice > input {
    position:absolute;inline-size:1px;block-size:1px;inset:0 auto auto 0;
    overflow:hidden;opacity:0;margin:0;padding:0;border:0;min-height:0;
  }
  #main .estimate-choice > label {position:absolute;z-index:2;inset:0;margin:0;display:block;border-radius:12px;cursor:pointer}
  .estimate-choice-face {
    position:relative;height:100%;display:grid;grid-template-columns:96px minmax(0,1fr) 18px;
    align-items:center;gap:17px;padding:8px 16px 8px 8px;border:1px solid var(--ci-line);
    border-radius:12px;background:var(--ci-card);color:var(--ci-ink);
  }
  .estimate-choice:hover .estimate-choice-face {border-color:var(--ci-muted)}
  .estimate-choice > input:checked + .estimate-choice-face {
    border-color:var(--ci-brand-blue);box-shadow:inset 0 0 0 1px var(--ci-brand-blue);
    background:color-mix(in srgb,var(--ci-brand-blue) 4%,var(--ci-card));
  }
  .estimate-choice > input:focus-visible + .estimate-choice-face {outline:2px solid var(--ci-ink);outline-offset:3px}
  .estimate-choice-copy {min-width:0;display:grid;gap:4px;font-family:var(--ci-font)}
  .estimate-choice-copy strong {font-size:17px;font-weight:680;line-height:1.2;letter-spacing:-.035em}
  .estimate-choice-copy > span {color:var(--ci-muted);font-size:13px;line-height:1.36}
  #main .estimate-choice-copy > small {color:var(--ci-muted);font:530 11px/1.4 var(--ci-font);margin:5px 0 0}
  .estimate-choice-check {
    width:18px;height:18px;display:grid;place-items:center;border:1.5px solid var(--ci-line);border-radius:50%;
    align-self:start;margin-top:8px;
  }
  .estimate-choice-check svg {width:12px;height:12px;opacity:0;stroke-width:3}
  input:checked + .estimate-choice-face .estimate-choice-check {background:var(--ci-brand-blue);border-color:var(--ci-brand-blue);color:white}
  input:checked + .estimate-choice-face .estimate-choice-check svg {opacity:1}
  .estimate-art {
    width:100%;height:99px;position:relative;overflow:hidden;isolation:isolate;border-radius:6px;
    background:linear-gradient(145deg,#333740,#262932);pointer-events:none;
  }
  html[data-theme="light"] .estimate-art {background:linear-gradient(145deg,#ebeef3,#dadee5)}
  .estimate-art::before,.estimate-sheet {
    position:absolute;top:14px;left:17px;width:75px;height:105px;transform:rotate(-7deg);
    transform-origin:50% 66%;border-radius:2px;background:#fff;box-shadow:0 3px 7px #11131b3b;
  }
  #estimate-match + .estimate-choice-face .estimate-art::before {content:'';top:12px;left:10px;transform:rotate(-16deg);background:#c0c7d4}
  #estimate-custom + .estimate-choice-face .estimate-sheet {left:12px;top:14px;transform:rotate(6deg)}
  .estimate-sheet {overflow:hidden;color-scheme:light}
  .estimate-sheet > .document {
    position:absolute;left:0;top:0;transform:scale(.092);transform-origin:top left;
    width:816px!important;max-width:none!important;min-height:1144px!important;
    zoom:1!important;margin:0!important;border-radius:0!important;box-shadow:none!important;
  }
  .estimate-mode-feedback {display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--ci-muted)}
  #estimate-mode-status:not(:empty) {margin-top:8px}
  .estimate-mode-feedback [hidden],#estimate-shared-preview[hidden],#estimate-layout-controls[hidden] {display:none!important}
  #estimate-shared-preview .preset-doc-sample {margin:0}
  #estimate-shared-preview summary {
    position:absolute;right:var(--estimate-pad);top:var(--estimate-pad);display:inline-flex;align-items:center;
    justify-content:center;gap:7px;list-style:none;min-height:36px;margin:0;padding:0 12px;border:1px solid var(--ci-line);
    border-radius:8px;background:var(--ci-raised);color:var(--ci-ink);font:600 12px/1.2 var(--ci-font);cursor:pointer;
  }
  #estimate-shared-preview summary::-webkit-details-marker {display:none}
  #estimate-shared-preview summary svg {width:13px;height:13px;transform:rotate(90deg)}
  #estimate-shared-preview details[open] summary svg {transform:rotate(-90deg)}
  #estimate-shared-preview summary:hover {border-color:var(--ci-muted)}
  #estimate-shared-preview summary:focus-visible {outline:2px solid var(--ci-ink);outline-offset:3px}
  #estimate-shared-preview details[open] > [data-sample-kind] {margin-top:18px}
  @container (max-width:670px) {
    .estimate-layout-heading .estimate-mode {grid-template-columns:1fr;gap:8px}
    .estimate-choice-face {grid-template-columns:73px minmax(0,1fr) 18px;gap:12px}
    .estimate-art {height:80px}
    .estimate-sheet,.estimate-art::before {left:12px;top:12px}
    .estimate-choice-copy strong {font-size:16px}
    .estimate-choice-copy > small {margin-top:1px}
  }
  @container (max-width:385px) {
    .estimate-layout-intro {padding-right:0}
    #estimate-shared-preview summary {position:static;margin-top:12px}
    .estimate-choice-face {padding-right:10px;gap:10px}
  }
  @media (prefers-reduced-motion:no-preference) {
    .estimate-choice-face {transition:border-color .14s,background-color .14s}
    #estimate-layout-controls:not([hidden]) {animation:ci-estimate-reveal .16s ease-out}
    @keyframes ci-estimate-reveal {from {opacity:.7;transform:translateY(-3px)} to {opacity:1;transform:none}}
  }
  @media (forced-colors:active) {
    .estimate-choice > input:checked + .estimate-choice-face {outline:2px solid Highlight;outline-offset:-2px}
    input:checked + .estimate-choice-face .estimate-choice-check {forced-color-adjust:none;background:Highlight;color:HighlightText}
  }
}

@media screen {
 .bill-to-field {position:relative;min-width:0}
 .bill-to-popup {position:absolute;z-index:5;inset:calc(100% + 4px) 0 auto;border:1px solid var(--ci-line);border-radius:10px;background:var(--ci-card);color:var(--ci-ink);box-shadow:0 10px 28px #0003;overflow:hidden}
 #bill-to-results {max-height:240px;overflow-y:auto;overscroll-behavior:contain}
 #bill-to-results [role=option] {display:grid;align-content:center;gap:2px;min-height:44px;padding:8px 12px;cursor:pointer;overflow-wrap:anywhere}
 #bill-to-results [role=option]:hover,#bill-to-results [aria-selected=true] {background:var(--ci-wash);box-shadow:inset 3px 0 var(--ci-brand-blue)}
 #bill-to-results small,.bill-to-empty span {color:var(--ci-muted)}
 .bill-to-empty {padding:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between}
 .bill-to-popup[hidden],.bill-to-empty[hidden],#deposit-fields[hidden] {display:none!important}
 .deposit-setting {margin-top:18px}
 #doc-form label.deposit-toggle {display:inline-flex;align-items:center;gap:8px;color:var(--ci-ink);cursor:pointer}
 #doc-form .deposit-toggle input {margin:0;width:17px;height:17px;min-height:0;accent-color:var(--ci-brand-blue)}
 #deposit-fields {margin-top:10px}
 .deposit-row {gap:10px}
 /* Full previews follow the original sheet width and share one page height. */
 :is(#main,#modal) :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .document {
  box-sizing:border-box;height:auto;min-height:var(--ci-preview-height,1056px)!important;
 }
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-paper:not(.concept-signal),
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-paper:is(.concept-signal,.concept-axis) > .body,
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-margin > div {display:flex;flex-direction:column}
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-axis > .body,
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-margin > div {flex:1}
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-paper .foot {margin-top:auto}
 :is(#live-document,[data-sample-kind],.invoice-preview-pages) > .concept-paper .settle {margin-bottom:30px}
}

@media screen {.paid-table-value {display:block;color:var(--ci-muted);font:450 11px/1.45 var(--ci-font);margin-top:3px}}

@media screen {
 #main .report-views,.client-report-years {display:inline-flex;flex-wrap:wrap;gap:3px;margin:0 0 16px;padding:3px;background:var(--ci-raised);border:1px solid var(--ci-line);border-radius:9px}
 #main .report-views :is(a,button),.client-report-years button {display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:5px 14px;border:1px solid transparent;border-radius:6px;color:var(--ci-muted);background:transparent;text-decoration:none;cursor:pointer;font:570 13px/1.25 var(--ci-font);font-variant-numeric:tabular-nums}
 #main .report-views :is(a[aria-current],button[aria-pressed=true]),.client-report-years button[aria-pressed=true] {background:var(--ci-card);color:var(--ci-ink);border-color:var(--ci-line);box-shadow:0 1px 3px #0001}
 #main .report-views :is(a,button):focus-visible,.client-report-years button:focus-visible {outline:2px solid var(--ci-brand-blue);outline-offset:1px}
 #main .client-report {padding:0;overflow:hidden}
 .client-report-heading {padding:22px clamp(13px,2vw,26px) 16px}
 .client-report-heading h2 {margin:0;font-size:19px}
 .client-report-heading p,.client-report-note {margin:5px 0 0;color:var(--ci-muted);font:460 13px/1.45 var(--ci-font)}
 #main .client-report table {width:100%;min-width:0;border-collapse:collapse}
 #main .client-report :is(td,th) {width:auto;padding:11px clamp(9px,2vw,26px);border:0;border-top:1px solid var(--ci-line);background:transparent;color:var(--ci-ink);text-align:end;white-space:nowrap;font:480 14px/1.4 var(--ci-font);font-variant-numeric:tabular-nums;text-transform:none;letter-spacing:normal}
 #main .client-report th:first-child {text-align:start;white-space:normal;overflow-wrap:anywhere}
 #main .client-report thead th {background:var(--ci-raised);font-size:12px;font-weight:600;color:var(--ci-muted)}
 #main .client-report .client-report-total>* {background:var(--ci-wash);font-weight:700}
 #main .client-report .client-report-empty {color:var(--ci-muted);padding-block:24px;white-space:normal;text-align:center}
 .client-report-note {padding:10px clamp(13px,2vw,26px) 14px}
 .client-report-years {display:flex;width:fit-content;max-width:100%;margin:12px 0 0 auto}
 @media(max-width:580px){#main .client-report :is(td,th){padding:10px 9px;font-size:13px}#main .client-report thead th{font-size:12px}.client-report-heading{padding:15px 12px}.client-report-years button{min-height:40px}}
}

@media screen {
 #doc-form .term-custom {margin-top:8px}
 #doc-form .term-custom[hidden] {display:none}
 #doc-form .line-item {align-items:start}
 #doc-form .line-item > div {min-width:0}
 #doc-form .line-item:has(label) .remove-line {margin-top:22px}
 .item-lookup {position:relative}
 .item-matches {position:absolute;inset:calc(100% + 3px) 0 auto;z-index:6;max-height:220px;overflow:auto;border:1px solid var(--ci-line);border-radius:9px;background:var(--ci-card);box-shadow:0 8px 20px #0002}
 .item-matches[hidden] {display:none}
 .item-matches [role=option] {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 8px;padding:9px 11px;min-height:40px;color:var(--ci-ink);cursor:pointer;overflow-wrap:anywhere}
 .item-matches small,.item-save-message {color:var(--ci-muted)}
 .item-matches [role=option]:hover,.item-matches [aria-selected=true] {background:var(--ci-wash);box-shadow:inset 3px 0 var(--ci-brand-blue)}
 .item-save-tools {display:flex;align-items:center;flex-wrap:wrap;gap:2px 9px;margin-top:3px}
 #doc-form .save-item {font:600 12px/1.4 var(--ci-font);background:var(--ci-raised);color:var(--ci-ink);border:1px solid var(--ci-line);border-radius:6px;padding:3px 9px;min-height:28px;cursor:pointer}
 #doc-form .save-item:disabled {opacity:.58;cursor:default}
 #doc-form .item-save-message {font-size:11px}
}
