.case-settings-toggle{display:grid;place-items:center;width:36px;height:36px;border:0;background:none;color:var(--muted);border-radius:8px;cursor:pointer}.case-settings-toggle:hover{background:var(--soft);color:var(--fg)}.case-settings-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.case-settings{width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:28px;margin:auto;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--fg);font-family:inherit}.case-settings::backdrop{background:#0006;backdrop-filter:blur(5px)}.case-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.case-settings h2{margin:0;font-size:var(--text-title);font-weight:500;letter-spacing:-.03em}.settings-close{border:0;background:none;color:var(--muted);font-size:28px;cursor:pointer;width:32px;height:32px}.case-settings .settings-description{margin:6px 0 28px;font-size:var(--text-body-small);color:var(--muted)}.case-settings fieldset{border:0;margin:0 0 24px;padding:0}.case-settings legend{font-size:var(--text-label-small);font-weight:500;margin-bottom:10px}.settings-options{display:flex;gap:10px}.settings-options label{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px solid var(--line);border-radius:10px;font-size:var(--text-body-small);cursor:pointer}.settings-options input{accent-color:var(--fg);margin:0}.settings-options label:has(:checked){border-color:var(--fg);background:var(--soft)}.settings-options small{color:var(--muted);margin-left:6px}.case-settings .settings-footnote{font-size:var(--text-body-small);color:var(--muted);line-height:1.5;margin:0}body:has(.case-settings[open]){overflow:hidden}

.case-chrome .topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.case-settings-toggle{flex-shrink:0}
/* The desktop index is narrow; its header must fit the breadcrumb and settings. */
@media(min-width:1000px){.case-chrome .topbar{width:max-content}.case-chrome .site-breadcrumb{flex-shrink:0}}
