/* Workspace layouts. The same document and record components reflow on phones. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a.button { text-decoration: none; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.metric { color: var(--graphite); display: grid; gap: 5px; padding: 15px 17px 14px; align-content: start; }
.metric:hover { border-color: #8ea8e1; background: #fbfcff; }
.metric-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3px; }
.metric-top > svg { color: var(--slate); width: 16px; height: 16px; }
.metric strong { font-size: 31px; line-height: 1.13; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.metric-label { font-size: 13px; font-weight: 600; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 16px; align-items: start; }
.work-panel { min-width: 0; }
.task-line, .recent-row, .case-lane, .linked-row, .brief-row, .device-line {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); min-width: 0;
}
.task-line:last-child, .recent-row:last-child, .case-lane:last-child, .linked-row:last-child, .brief-row:last-child { border-bottom: 0; }
.task-line .icon-button { width: 36px; min-height: 36px; min-width: 36px; color: var(--cobalt-dark); flex: 0 0 auto; border-color: #c8d5ee; }
.task-text, .case-lane > span:nth-child(2) { flex: 1; min-width: 0; color: var(--graphite); overflow-wrap: anywhere; }
.task-text strong, .task-text small, .case-lane small, .case-lane strong { display: block; }
.task-text:hover strong, .recent-row:hover .entity-name strong { text-decoration: underline; text-underline-offset: 3px; }
.task-time { font-weight: 600; font-size: 12px; background: #f1f3f6; color: #48525f; border-radius: 6px; padding: 5px 7px; white-space: nowrap; }
.late { color: var(--red); }
.task-time.late { background: var(--red-tint); }
.recent-row, .linked-row, .case-lane { color: var(--graphite); }
.recent-row:hover, .linked-row:hover, .case-lane:hover { background: #f5f8fe; }
.recent-row > .entity, .linked-row > .entity, .brief-row > .entity, .device-line > .entity { flex: 1; }
.recent-row > svg, .linked-row > svg, .case-lane > svg, .more-item > svg { width: 16px; height: 16px; color: var(--slate); }
.case-letter { display: inline-grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; background: var(--blue-tint); color: var(--cobalt-dark); border-radius: 7px; font-weight: 700; }
.dashboard-shortcut { margin-top: 14px; }
.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.filterbar .search-input { flex: 1 1 145px; }
.filterbar .filter-field { flex: 0 1 auto; max-width: 100%; }
.filterbar select { width: auto; color: #394455; padding-right: 24px; }
.filterbar .sort-button[aria-pressed="true"] { color: var(--cobalt-dark); background: var(--blue-tint); border-color: #9db0df; }
.filter-period { margin-bottom: 12px; max-width: 240px; }
.doc-filters { display: grid; grid-template-columns: repeat(2,minmax(0,220px)); gap: 10px; margin-bottom: 12px; }
.record-layout { display: grid; gap: 16px; align-items: start; }
.record-layout.is-split { grid-template-columns: minmax(0,.98fr) minmax(0,1.2fr); }
.is-split .wide-col { display: none; }
.table-scroller { overflow-x: auto; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; text-align: left; }
:is(th,td) { padding: 11px 13px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
thead th { background: #f5f7fb; font-size: 12px; font-weight: 650; color: #4c5666; white-space: nowrap; }
tbody td { font-size: 13px; }
.table-record { display: block; color: inherit; min-width: 130px; }
.table-record:hover .entity-name strong { text-decoration: underline; text-underline-offset: 3px; }
tbody tr:hover { background: #f8faff; }
tbody tr.selected { background: #ecf2ff; }
.cell-end { padding-inline: 6px 12px; text-align: right; }
.row-open { min-width: 32px; width: 32px; min-height: 34px; color: var(--cobalt-dark); }
.row-open svg { width: 15px; height: 15px; }
.list-foot { padding: 10px 14px; color: var(--slate); font-size: 12px; }
.record-cards { display: none; }
.record-card { display: grid; gap: 8px; color: var(--graphite); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.record-card:hover { border-color: #8ea8e1; background: #fbfcff; }
.record-card-main, .record-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.record-card-main > svg { width: 16px; height: 16px; color: var(--slate); }
.record-card-foot > span:last-child { font-size: 12px; color: var(--slate); text-align: right; }
.record-next { display: flex; align-items: flex-start; gap: 7px; color: #374054; font-size: 13px; padding-top: 7px; border-top: 1px solid var(--line-soft); }
.record-next svg { width: 15px; height: 15px; color: var(--cobalt-dark); margin-top: 2px; }

.detail-panel { align-self: start; }
.record-head { padding: 11px 18px 14px; border-bottom: 1px solid var(--line); }
.back-link { margin-left: -8px; font-size: 12.5px; }
.record-title { display: flex; align-items: start; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.record-id { font-size: 12px; font-weight: 650; color: #51627d; font-variant-numeric: tabular-nums; }
.record-title h2 { font-size: clamp(22px,2.2vw,28px); overflow-wrap: anywhere; margin: 4px 0; }
.record-title p:not(.record-id) { color: var(--slate); margin-top: 3px; }
.record-actions { margin-top: 12px; }
.detail-tabs { padding-inline: 14px; }
.detail-tabs .tabs { margin-bottom: 0; }
.detail-body { padding: 16px 18px 19px; }
.detail-link { display: inline-flex; gap: 5px; align-items: center; color: var(--cobalt-dark); }
.detail-link:hover { text-decoration: underline; }
.detail-link svg { width: 14px; height: 14px; }
.subsection { display: grid; gap: 8px; padding-block: 12px; border-top: 1px solid var(--line-soft); }
.subsection + .subsection { margin-top: -8px; }
.subsection p, .record-description { color: #4b535f; overflow-wrap: anywhere; }
.subsection .record-description { margin-top: 5px; }
.callout { padding: 12px; border: 1px solid #c6d5f2; border-radius: 9px; background: #f1f5ff; overflow-wrap: anywhere; }
.callout p { color: var(--slate); margin-top: 4px; }
.next-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; }
.meta-label { color: var(--cobalt-dark); font-size: 12px; font-weight: 650; }
.flow-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; padding-top: 5px; }
.flow-node { min-width: 0; padding: 8px 6px; display: grid; align-content: start; gap: 5px; border-top: 2px solid #cbd7ea; }
.flow-node.current { border-color: var(--cobalt); background: var(--blue-tint); }
.flow-node svg { width: 16px; height: 16px; color: var(--cobalt-dark); }
.flow-node strong, .flow-node small { display: block; overflow-wrap: anywhere; line-height: 1.36; }
.flow-node strong { font-size: 11.5px; }
.flow-node small { font-size: 10.75px; margin-top: 3px; }
.timeline { padding: 0 0 0 11px; border-left: 2px solid #c9d7f2; margin: 0 0 0 6px; list-style: none; }
.timeline li { position: relative; padding: 0 0 15px 9px; }
.timeline li::before { content: ""; position: absolute; left: -17px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); border: 2px solid white; box-shadow: 0 0 0 1px #8ca7e8; }
.timeline li > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 14px; }
.timeline time { font-size: 12px; color: var(--slate); }
.timeline p { color: var(--slate); }
.brief-panel { padding: 8px 14px; margin-bottom: 13px; }
.brief-panel summary, .settings-panel summary { cursor: pointer; min-height: 42px; display: list-item; align-content: center; font-weight: 650; }
.brief-panel > .brief-row { padding: 10px 0; }
.legacy-panel { margin: 16px 0 0; }
.legacy-copy { padding-bottom: 9px; }
.evidence-box { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.evidence-box > span:last-child { display: inline-flex; align-items: center; gap: 5px; color: var(--slate); font-size: 13px; }
.evidence-box svg { width: 16px; height: 16px; }
.fee-box { border: 1px solid #d3def0; border-radius: 9px; overflow: hidden; }
.fee-box > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 11px; }
.fee-box > div + div { border-top: 1px solid var(--line-soft); }
.fee-box > div.sum { background: #f0f4ff; color: var(--cobalt-dark); }
.fee-box > div.credit { color: var(--green); }
.fee-box > div span { color: inherit; }
.fee-box strong { flex: 0 0 auto; }
.fee-box.flat { border: 0; }
.fee-box.flat > div { padding-inline: 0; }
.option-summary { display: grid; gap: 8px; }
.milestone-section { display: grid; gap: 7px; }
.milestone-section small { display: block; margin-top: 2px; }
@media (max-width: 420px) { [data-action="edit-travel"] span { white-space: normal; } }
.offer-amount { background: var(--blue-tint); color: var(--cobalt-dark); padding: 12px 14px; border: 1px solid #ccd9f5; border-radius: 9px; }
.offer-amount span, .offer-amount strong { display: block; }
.offer-amount span { font-size: 12px; font-weight: 650; }
.offer-amount strong { font-size: clamp(25px,3vw,34px); line-height: 1.15; font-weight: 650; margin-top: 4px; letter-spacing: -.03em; }
.step-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 16px; background: #fff; }
.step-nav button { border: 1px solid transparent; border-radius: 7px; background: transparent; display: flex; align-items: center; gap: 8px; padding: 8px; min-height: 45px; text-align: left; }
.step-nav button > span { width: 25px; height: 25px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: #edf0f5; font-size: 12px; font-weight: 750; }
.step-nav button svg { width: 15px; height: 15px; }
.step-nav button:not([disabled]):hover { background: #f4f7fd; }
.step-nav button[aria-current] { border-color: #c4d3f0; background: var(--blue-tint); color: var(--cobalt-dark); }
.step-nav button[aria-current] > span { background: var(--cobalt); color: white; }
.step-nav button[disabled] { color: var(--slate); }
.calc-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,.9fr); gap: 16px; align-items: start; }
#calc-side { position: sticky; top: calc(var(--bar-h) + 16px); }
.calc-form > .section-head { margin-bottom: 18px; }
.calc-summary { display: grid; gap: 10px; }
.calc-summary .section-head { margin-bottom: 0; }
.calc-summary .option-label { font-weight: 650; }
.step-count { font-size: 12px; color: var(--cobalt-dark); margin: 0 0 4px !important; font-weight: 650; }
.wizard-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.wizard-actions .primary { margin-left: auto; }
.option-choices { width: 100%; min-width: 0; padding: 0; margin: 0 0 13px; border: 0; display: grid; gap: 9px; }
.option-choices legend { font-size: 13px; font-weight: 650; margin: 0 0 6px; padding: 0; }
.option-choice { display: flex; align-items: start; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.option-choice:has(input:checked) { border-color: #91a9e1; background: #f3f6ff; }
.option-choice input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; }
.option-choice strong, .option-choice small { display: block; }
.option-choice .option-mini { margin-top: 4px; color: var(--cobalt-dark); font-weight: 650; }
.after-choices { margin-bottom: 9px; }
.option-review { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.option-review small { grid-column: 1/-1; }
.template-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.template-card { display: grid; gap: 9px; align-content: start; }
.template-card .section-head { margin-bottom: 2px; }
.template-card p { color: var(--slate); }
.template-card button { justify-self: start; margin-top: 4px; max-width: 100%; white-space: normal; text-align: left; }
.editor-view > .back-link { margin-bottom: 6px; }
.editor-layout { display: grid; grid-template-columns: minmax(135px,.64fr) minmax(0,2.55fr) minmax(196px,1fr); gap: 13px; align-items: start; }
.editor-outline, .editor-meta { display: grid; gap: 11px; }
.editor-outline.pad, .editor-meta.pad { padding: 14px; }
.editor-nav { display: grid; gap: 4px; }
.editor-nav a { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 42px; padding: 7px; color: #445064; font-size: 12px; font-weight: 650; border: 1px solid transparent; border-radius: 6px; }
.editor-nav a svg, .protected-fields h3 svg { width: 15px; height: 15px; }
.editor-nav a[aria-current] { color: var(--cobalt-dark); background: var(--blue-tint); border-color: #c2d2f2; }
.editor-ref { border-top: 1px solid var(--line); padding-top: 10px; }
.editor-page { overflow: hidden; }
.editor-header { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.editor-header img { width: clamp(108px,12vw,150px); }
.editor-header div { text-align: right; overflow-wrap: anywhere; }
.editor-header small { display: block; }
.editor-content { padding: 16px 18px 18px; }
.editor-content textarea { min-height: 170px; }
.editor-meta .details { grid-template-columns: minmax(0,1fr); gap: 9px; }
.protected-fields { border-top: 1px solid var(--line); padding-top: 12px; }
.protected-fields h3 { color: var(--cobalt-dark); display: flex; align-items: center; gap: 5px; margin-bottom: 9px; }
.mobile-editor-select { display: none; }
.dialog-preview { width: min(750px,calc(100% - 26px)); }
.dialog-preview[open] { display: flex; flex-direction: column; overflow: hidden; }
.dialog-preview :is(.dialog-head,.dialog-actions) { flex: 0 0 auto; }
.dialog-preview .dialog-body { background: #f2f4f8; min-height: 0; flex: 0 1 auto; overflow: auto; overscroll-behavior: contain; }
@media (max-width: 520px) { .detail-tabs .tabs { gap: 2px; } .detail-tabs .tabs a { padding-inline: 8px; } }
.document-paper { padding: clamp(14px,2.2vw,24px); background: #fff; border: 1px solid var(--line); color: var(--graphite); display: grid; gap: 9px; }
.document-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.document-head img { width: clamp(88px,14vw,153px); }
.document-head span { color: var(--slate); font-size: 11px; text-align: right; }
.document-paper h2 { font-size: clamp(20px,3vw,27px); }
.document-paper h3 { color: var(--cobalt-dark); margin-bottom: 5px; }
.document-paper p { overflow-wrap: anywhere; }
.document-sub { color: var(--slate); }
.document-recipient, .document-totals { padding: 9px; background: #f2f5fc; border-radius: 6px; }
.sample-line { color: var(--red); font-size: 11px; font-weight: 750; letter-spacing: .035em; overflow-wrap: anywhere; }
.document-paper footer { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); color: var(--slate); font-size: 11px; }
.quick-picks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.quick-picks .button { justify-content: flex-start; text-align: left; white-space: normal; }
.more-grid, .settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.more-item { min-height: 76px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.more-item:hover { background: #f7f9ff; border-color: #a3b5dd; }
.settings-panel { max-width: 1000px; }
.settings-panel .check { border-bottom: 1px solid var(--line-soft); }
.settings-panel .button { margin-top: 6px; }
.device-line { justify-content: space-between; flex-wrap: wrap; }
.states-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.state-demo { min-height: 64px; text-align: left; display: grid; gap: 3px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #f9fbff; }
.state-demo:hover { border-color: #8ea8e1; background: var(--blue-tint); }
.install-guide ol { padding-inline-start: 19px; margin-block: 0 8px; }
.demo-notification { display: flex; gap: 9px; background: #f2f6ff; border: 1px solid var(--line); padding: 12px; border-radius: 10px; }
.demo-notification svg { color: var(--cobalt-dark); margin-top: 2px; }
.skeleton { display: grid; gap: 9px; }
.skeleton span { height: 24px; border-radius: 7px; background: #e8edf6; }
.skeleton span:nth-child(2) { width: 78%; }
.skeleton span:nth-child(3) { width: 56%; }
.login-layout { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; padding: max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom)); gap: 18px; }
.login-brand { display: flex; align-items: center; justify-content: center; gap: 12px; color: #52617b; font-weight: 650; }
.login-brand img { width: 156px; }
.login-card { width: min(410px,calc(100vw - 32px)); display: grid; gap: 12px; }
.login-card .button { width: 100%; }

@media (min-width: 900px) {
  .has-record .list-heading .button.primary { background: #fff; border-color: #bbc9e6; color: var(--cobalt-dark); }
  .has-record .list-heading .button.primary:hover { background: var(--blue-tint); }
  .is-split .filterbar .search-input { flex-basis: 130px; }
}
@media (max-width: 1199px) and (min-width: 900px) {
  .record-layout.is-split { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 12px; }
  .is-split .table-scroller .entity-icon { display: none; }
  .is-split .filterbar .filter-field { flex: 1; }
  .is-split .table-record { min-width: 108px; }
  .editor-layout { grid-template-columns: minmax(115px,.65fr) minmax(0,2.3fr) minmax(150px,.9fr); }
  .flow-track { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 899px), (max-height: 500px) and (max-width: 1150px) and (pointer: coarse) {
  .record-layout.is-split { grid-template-columns: minmax(0,1fr); }
  .has-record .list-panel, .has-record .list-heading, .has-record .legacy-panel { display: none; }
  .table-scroller { display: none; }
  .record-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 10px 12px; }
  .list-panel { border-radius: 10px; }
  .record-head { padding: 9px 14px 12px; }
  .record-title h2 { font-size: clamp(23px,6vw,29px); }
  .detail-body { padding: 14px; }
  .record-actions .button { flex: 1 1 auto; }
  .record-actions .button span { white-space: normal; }
  .calc-layout { grid-template-columns: minmax(0,1fr); gap: 13px; }
  #calc-side { position: static; }
  .step-nav button > strong { font-size: 12px; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-outline { display: none; }
  .mobile-editor-select { display: block; margin-bottom: 13px; }
  .editor-meta .details { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .task-line .icon-button { min-width: 44px; min-height: 44px; width: 44px; }
  .settings-grid, .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 690px) {
  .dashboard-grid { grid-template-columns: 1fr; gap: 12px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
  .metric { padding: 10px; min-height: 90px; }
  .metric-top { margin-bottom: 0; }
  .metric-top .tile-icon { width: 27px; height: 27px; border-radius: 6px; }
  .metric-top .tile-icon svg { width: 16px; height: 16px; }
  .metric strong { font-size: 24px; }
  .metric-label { font-size: 12px; }
  .dashboard-grid .work-panel { padding: 13px; }
  .recent-row > .badge, .case-lane > .badge { max-width: 110px; font-size: 11px; }
  .record-cards { grid-template-columns: 1fr; padding: 9px; }
  .filterbar { padding: 9px; }
  .filterbar select { width: 100%; }
  .filterbar .search-input { flex: 1 1 calc(100% - 1px); }
  .filterbar .filter-field { flex: 1; }
  .filterbar .sort-button { flex: 0 0 44px; }
  .next-callout { grid-template-columns: auto 1fr; }
  .next-callout > .button { grid-column: 1/-1; justify-self: start; }
  .flow-track { grid-template-columns: 1fr; gap: 4px; }
  .flow-node { border-top: 0; border-inline-start: 2px solid #cbd7ea; grid-template-columns: auto 1fr; gap: 9px; align-items: center; padding: 7px 9px; }
  .flow-node strong { font-size: 13px; }
  .flow-node small { font-size: 12px; margin-top: 1px; }
  .brief-row { flex-wrap: wrap; }
  .step-nav { gap: 4px; margin-bottom: 10px; }
  .step-nav button { padding: 4px; justify-content: center; min-height: 44px; }
  .step-nav button strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .calc-form > .section-head { align-items: flex-start; }
  .doc-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .states-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mobile-editor-select .field { margin-bottom: 12px; }
}
@media (max-width: 365px) {
  .page-frame { padding-inline: 11px; }
  .section-head { gap: 5px; }
  .section-head h2 { font-size: 16px; }
  .recent-row { gap: 5px; }
  .recent-row .entity { gap: 5px; }
  .template-grid { grid-template-columns: 1fr; }
  .work-panel .button { white-space: normal; }
  .task-line { gap: 7px; }
  .task-time { font-size: 11px; padding-inline: 5px; }
  .wizard-actions > .button { white-space: normal; }
  .quick-picks { grid-template-columns: 1fr; }
}
@media (max-width: 899px) and (orientation: landscape) and (max-height: 460px), (orientation: landscape) and (max-height: 500px) and (max-width: 1150px) and (pointer: coarse) {
  .topbar { position: static; }
  .mobile-nav a { min-height: 44px; }
  :root { --mobile-nav: 50px; }
}

@media (max-width: 899px), (max-height: 500px) and (max-width: 1150px) and (pointer: coarse) { .lead-detail .record-actions > .primary { flex-basis: 100%; } }

/* Route headings receive programmatic focus without drawing a control frame. */
h1[tabindex="-1"]:focus, .detail-title[tabindex="-1"]:focus, .calc-form h2[tabindex="-1"]:focus, #main-content:focus { outline: none; }
@media (max-width: 899px), (max-height: 500px) and (max-width: 1150px) and (pointer: coarse) {
  .brief-panel summary, .settings-panel summary { min-height: 44px; }
}

