:root{font-family:Arial,Helvetica,sans-serif;color:#141414;background:#fff;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid #aaa;background:#fff;color:#111;border-radius:3px;padding:8px 11px;cursor:pointer}button:hover{background:#eee}button:focus-visible,input:focus-visible{outline:2px solid #444;outline-offset:2px}button.primary,.selectedChoice{background:#161616;color:#fff;border-color:#161616}button.primary:hover,.selectedChoice:hover{background:#444}button:disabled{opacity:.4;cursor:not-allowed}.toolbar{height:62px;border-bottom:1px solid #aaa;display:flex;align-items:center;justify-content:space-between;padding:9px 16px;gap:12px}.identity{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.identity strong{font-size:17px}.identity small,.muted{color:#666}.tools{display:flex;gap:6px;align-items:center;overflow-x:auto}.tools button{white-space:nowrap}.main{display:flex;height:calc(100dvh - 62px);min-height:400px}.stage{flex:1;position:relative;min-width:0;overflow:hidden;background:#fff;touch-action:none}#atlas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}#atlas.dragging{cursor:grabbing}.side{width:min(390px,42vw);border-left:1px solid #aaa;padding:17px;overflow-y:auto;background:white}.hidden{display:none!important}h2{font-size:18px;margin:0 0 10px}h3{font-size:14px;margin:20px 0 8px}.row{display:flex;align-items:center;gap:7px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:10px}.sep{border-top:1px solid #ddd;margin:17px 0}.small{font-size:12px}.tiny{font-size:11px}.field{display:flex;flex-direction:column;gap:5px;margin:10px 0}.field label{font-size:12px;color:#555}.field input,.field select,.field textarea{width:100%;border:1px solid #aaa;border-radius:3px;padding:10px;background:#fff;color:#111}.field textarea{min-height:62px;resize:vertical}.pill{display:inline-block;font-size:11px;color:#555;border:1px solid #ccc;padding:4px 6px;border-radius:3px}.quick{display:flex;gap:6px;flex-wrap:wrap}.quick button{padding:8px 10px}.personItem{display:flex;align-items:center;gap:9px;border:1px solid #ddd;padding:9px;width:100%;background:white;text-align:left;margin:5px 0}.personItem.active{border-color:#333;background:#f0f0f0}.personItem:disabled{background:#eee;opacity:.7}.personItem span{flex:1}.personItem small{display:block;color:#666;margin-top:3px}.personItem input{width:16px;height:16px;pointer-events:none}.status{position:absolute;bottom:14px;left:15px;font-size:12px;color:#555;background:white;border:1px solid #ddd;padding:7px 9px;pointer-events:none}.zoomControls{position:absolute;bottom:12px;right:12px;display:flex;gap:3px;background:#fff}.zoomControls button{min-width:40px}.modalBackdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:20;padding:18px}.modalCard{background:#fff;border:1px solid #555;width:min(670px,100%);max-height:90dvh;overflow:auto;padding:18px}.modalHead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd;padding-bottom:13px;margin-bottom:12px}.modalHead strong{font-size:17px}.modalHead button{font-size:18px;padding:3px 10px}.callout{padding:11px;border:1px solid #bbb;background:#f5f5f5;margin:10px 0;font-size:12px}.matchCard{border:1px solid #bbb;padding:12px;margin:12px 0}.matchCard strong{display:block}.matchCard select{width:100%;padding:8px;border:1px solid #aaa;background:white;margin-top:7px}.personNode{cursor:pointer}.personNode circle{fill:#fff;stroke:#222;stroke-width:1.5}.personNode.selected circle{stroke-width:3;fill:#e5e5e5}.personNode text{font-size:12px;fill:#111;pointer-events:none}.personNode .initial{font-size:13px;font-weight:600}.personNode .nameplate{fill:#fff;stroke:#bbb;stroke-width:.7}.link{fill:none;stroke:#888;stroke-width:1.5}.link.partnership{stroke:#555;stroke-dasharray:5 3}.link.guardian,.link.other{stroke-dasharray:3 4}.link.sibling{stroke:#bbb;stroke-dasharray:3 3}.empty{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);text-align:center;max-width:320px}.empty h2{font-size:22px}.focusbar{position:absolute;top:12px;left:12px;background:white;border:1px solid #bbb;padding:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.focusbar select{padding:6px;border:1px solid #bbb;background:white}.hint{font-size:12px;line-height:1.5;color:#555}.relationLine{border-bottom:1px solid #e1e1e1;padding:9px 0;display:flex;gap:8px;align-items:center;justify-content:space-between}.relationLine button{font-size:11px;padding:5px}.badge{font-size:11px;border:1px solid #ddd;padding:3px 5px;white-space:nowrap}.horizontal{display:flex;gap:8px;flex-wrap:wrap}#toast{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background:#222;color:#fff;padding:9px 15px;display:none;z-index:60;font-size:12px}.noResults{padding:12px;color:#777}.choiceNote{font-size:12px;color:#666;margin:8px 0}@media(max-width:780px){.toolbar{height:auto;min-height:62px;align-items:flex-start;flex-wrap:wrap}.tools{width:100%;padding-bottom:3px}.main{height:calc(100dvh - 105px)}.side{position:absolute;right:0;top:105px;bottom:0;z-index:5;width:min(95vw,390px);box-shadow:-4px 0 0 #ddd}.status{max-width:62%;font-size:10px}.modalBackdrop{align-items:flex-end;padding:0}.modalCard{max-height:92dvh;width:100%}}@media print{.toolbar,.side,.status,.zoomControls,.modalBackdrop{display:none!important}.main{height:100vh}}

/* v0.3 relationship-history and path navigation */
.personNode .lifeMarker{fill:#222;stroke:#222;stroke-width:1}
.personNode .lifeMarkText{fill:#fff;font-size:13px;font-weight:bold}
.edgeStatus rect{fill:#fff;stroke:#777;stroke-width:.75}
.edgeStatus text{fill:#222;font:10px Arial,Helvetica,sans-serif;pointer-events:none}
.link.routeLink{stroke:#111;stroke-width:3.5;stroke-dasharray:none}
.routeResults{max-height:165px;overflow:auto}
.routeStep{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:11px 0;border-bottom:1px solid #ddd}
.routeStep span{font-size:12px;color:#555}
.focusbar{max-width:calc(100% - 30px)}

/* Contextual navigation only. */
@media print{.focusbar{display:none!important}}
/* v0.5: descendant-ring atlas and contextual lineage detail */
.generationRing{fill:none;stroke:#aaa;stroke-width:1;stroke-opacity:.45;pointer-events:none}
.clusterCaption text{fill:#555;font:11px Arial,Helvetica,sans-serif;pointer-events:none}
.clusterCaption .nameplate{fill:#fff;stroke:#bbb;stroke-width:.75}
.parentJunction{fill:#fff;stroke:#333;stroke-width:1.2;pointer-events:none}
.link.parentage{stroke:#3b3b3b;stroke-width:1.7;stroke-dasharray:none}
.link.sibling{stroke:#aaa;stroke-width:1;stroke-dasharray:none}
.link.partnership{stroke:#555;stroke-width:1.5;stroke-dasharray:6 4}
.link.guardian,.link.other{stroke:#999;stroke-width:1.3;stroke-dasharray:1 5;stroke-linecap:round}
.link.crossQuiet{stroke-opacity:.2;stroke-width:1;stroke-dasharray:4 5}
.link.routeLink{stroke:#111;stroke-width:3.5;stroke-dasharray:none;stroke-opacity:1}
.personNode .nameplate{fill:white;stroke:#bbb;stroke-width:.8}
.personNode text{fill:#111}
@media(max-width:780px){.viewSwitch button{padding:7px 8px}}

.overviewScale .personNode > text:not(.initial),.overviewScale .personNode .nameplate{display:none}
.graphLegend{position:absolute;top:14px;right:12px;z-index:2;background:#fff;border:1px solid #bbb;padding:8px 10px;font-size:11px;max-width:210px}
.graphLegend summary{cursor:pointer;font-weight:600}
.graphLegend div{display:flex;align-items:center;gap:9px;margin-top:8px}
.graphLegend p{line-height:1.4;color:#666;margin:9px 0 0}
.keyLine{width:36px;border-top:2px solid #555;display:inline-block;flex-shrink:0}
.keyLine.fine{border-top-width:1px}
.keyLine.dashed{border-top-style:dashed}
.keyLine.dotted{border-top-style:dotted}
@media print{.graphLegend{display:none!important}}

/* v0.6 ring routing */
.link{stroke-linecap:round;stroke-linejoin:round}
#detailBackBtn{white-space:nowrap}

/* v0.7 compact, neutral life and partnership markers */
.personNode .lifeMarkText{font-size:9px;fill:#fff;font-weight:700}
.edgeStatus text{font-weight:700;letter-spacing:.15px}

/* v0.8 UI controls and status notation */
.dateField,.choiceField{border:1px solid #ddd;padding:10px 12px 12px;margin:14px 0;min-width:0}
.dateField legend,.choiceField legend{font-size:12px;font-weight:700;padding:0 5px;color:#222}
.dateGrid{display:grid;grid-template-columns:minmax(100px,1.3fr) minmax(85px,1fr) minmax(75px,1fr);gap:9px}
.dateGrid .field{margin:0}.dateGrid input,.dateGrid select{min-width:0}
.choiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.radioChoice,.checkLine{display:flex;gap:8px;align-items:center;font-size:13px;color:#222;cursor:pointer}
.radioChoice{border:1px solid #ccc;padding:9px 10px;min-height:38px}
.radioChoice:has(input:checked){border-color:#333;background:#f2f2f2}
.radioChoice input,.checkLine input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#222}
.legalChoice{margin-top:12px;padding:10px 2px;border-top:1px solid #ddd}
.fieldWarning{font-size:12px;background:#f8f4e8;border:1px solid #c7b890;padding:9px}
.personNode .lifeMarker.status-deceased{fill:#222;stroke:#222}
.edgeStatus.status-divorced rect,.edgeStatus.status-separated rect{fill:#f5d7d7;stroke:#b87575}
.edgeStatus.status-divorced text,.edgeStatus.status-separated text{fill:#5b2727}
.edgeStatus.status-former rect,.edgeStatus.status-historical rect,.edgeStatus.status-ended-by-death rect{fill:#fff1ba;stroke:#c4a85e}
.edgeStatus.status-former text,.edgeStatus.status-historical text,.edgeStatus.status-ended-by-death text{fill:#5d4a17}
.legendSection{font-weight:700;border-top:1px solid #ddd;padding-top:10px;margin-top:11px}
.legendMarker{font-weight:700;min-width:38px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;padding:3px 5px;border:1px solid #aaa}
.marker-deceased{background:#222;color:#fff;border-color:#222}
.marker-separation{background:#f5d7d7;color:#5b2727;border-color:#b87575}
.marker-history{background:#fff1ba;color:#5d4a17;border-color:#c4a85e}
.graphLegend{max-width:240px}
@media(max-width:420px){.dateGrid{grid-template-columns:1fr 1fr}.dateGrid .field:first-child{grid-column:1/-1}}

/* v0.10 labels, crossing priority and focused controls */
.personTagRow{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.personTag{display:inline-flex;align-items:center;border:1px solid #ccc;background:#f4f4f4;color:#333;font-size:11px;padding:4px 7px;border-radius:2px}
.personTag.marker-deceased{background:#222;color:white;border-color:#222}
.relationshipHeading{margin-top:20px;gap:8px;flex-wrap:wrap}.relationshipHeading h3{margin:0}
.relationFilterLabel{display:flex;align-items:center;gap:5px;font-size:11px;color:#555}
.relationFilterLabel select{background:#fff;border:1px solid #aaa;padding:6px;max-width:180px}
.relationDescription{min-width:0;overflow-wrap:anywhere}
.relationLine[hidden],#relationEmpty[hidden]{display:none!important}
.namesHidden .personNode>.personName{display:none}
.namesHidden .personNode .lifeMarkText{display:block}
.depthActions{display:flex;align-items:center;gap:5px}
.depthActions span{font-size:11px;color:#555}
.depthSettings summary{cursor:pointer;font-size:11px}
.depthSettings label{display:inline-flex;align-items:center;gap:5px;margin:4px}
.depthSettings select{min-width:55px}
.edgeStatus{pointer-events:none}.edgeStatus rect{stroke-width:1.1}
@media(max-width:780px){.focusbar{right:10px;left:10px;max-width:none}.depthActions{flex-wrap:wrap}}

/* v0.11 — explicit labels and navigation */
.namesHidden .personNode > .personName{display:none}
.namesHidden .personNode .lifeMarkText{display:block!important}
.edgeGroup.status-separated .link,.edgeGroup.status-divorced .link{stroke:#b87575}
.edgeGroup.status-former .link,.edgeGroup.status-historical .link,.edgeGroup.status-ended-by-death .link{stroke:#c4a85e}
.edgeGroup .link.routeLink{stroke:#111;stroke-width:3.5}
#junctions .parentJunction{fill:white;stroke:#252525;stroke-width:1.4}
.treeNavigate{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.treeStep{display:flex;align-items:center;gap:4px}
.treeStep select{max-width:125px;padding:7px 5px}
#world.viewportNavigating{transition:transform 290ms ease-in-out}
.personNode.focused circle:first-child{stroke-width:2.5}
.personNode.navArrival circle:first-child{animation:arrivalPulse 420ms ease-out}
@keyframes arrivalPulse{0%{stroke-width:8;stroke:#777}100%{stroke-width:2.5;stroke:#222}}
.connectResults{max-height:290px;overflow-y:auto}
@media(prefers-reduced-motion:reduce){#world.viewportNavigating{transition:none}.personNode.navArrival circle:first-child{animation:none}}

/* Crossing-gap experiment postponed until routing can be tested in isolation. */

/* A nameplate toggle must never hide a life-status marker. */
.namesHidden .personNode > .personName{display:none!important}
.namesHidden .personNode > .lifeMarker,.namesHidden .personNode > .lifeMarkText{display:inline!important}

/* v0.12 — selected records and batch workspace. No bridge or white-outline strokes. */
.batchChosen>circle:first-child{stroke:#111!important;stroke-width:4!important;fill:#e6e6e6!important}
#junctions .batchJunction{pointer-events:all;cursor:pointer;stroke-width:1.7;fill:white}
#junctions .batchJunction.batchChosen{fill:#222;stroke:#222}
.edgeGroup.batchEdge .link{pointer-events:stroke;cursor:pointer;stroke-width:3}
.edgeGroup.batchEdge.batchChosen .link{stroke:#111!important;stroke-width:4!important;stroke-opacity:1!important}
.batchTabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:12px 0}
.batchTabs button{font-size:12px;padding:9px 5px}
.batchCount{border:1px solid #bbb;background:#f6f6f6;padding:10px;font-size:12px}
#batchForm{border-top:1px solid #ddd;margin-top:10px;padding-top:6px}
#batchForm>button.primary{margin-top:12px;width:100%}
#batchForm .checkLine{margin:12px 0 3px}
#batchForm textarea{width:100%;min-height:70px;border:1px solid #aaa;padding:8px}
#batchForm .field{margin-top:5px}
.batchList{margin:15px 0 5px;font-size:12px;line-height:1.7}
.batchList ul{padding-left:20px;margin:7px 0}
.batchFoot{border-top:1px solid #ddd;margin-top:18px;padding-top:12px}

/* v0.13 — targeted crossing gaps and high-contrast trace */
#junctions .junctionHit{fill:transparent;stroke:transparent;stroke-width:0;pointer-events:all;cursor:pointer}
#junctions .junctionHit:focus-visible{fill:rgba(50,50,50,.12);stroke:#333;stroke-width:1;outline:none}
.edgeGroup .link.routeLink,.link.routeLink{stroke:#111!important;stroke-width:6!important;stroke-opacity:1!important;stroke-dasharray:none!important}
.batchPreviewScroll{max-height:55dvh;overflow:auto;border:1px solid #aaa;margin:14px 0}
.batchPreview{border-collapse:collapse;width:100%;min-width:510px;font-size:12px;line-height:1.45}
.batchPreview th,.batchPreview td{text-align:left;vertical-align:top;border-bottom:1px solid #ddd;border-right:1px solid #eee;padding:8px 9px;overflow-wrap:anywhere}
.batchPreview th{position:sticky;top:0;background:#eee;font-weight:700;z-index:1}
.batchPreview td:first-child{font-weight:600;min-width:120px}
.batchPreview tr.previewUnchanged{color:#777;background:#fafafa}
.batchPreview tr.previewChanged td:last-child{font-weight:700}
.batchAction{padding:12px;border:1px solid #aaa;margin:14px 0}
.batchAction h4{margin:0 0 6px;font-size:13px}
.batchAction p{margin:6px 0 12px}

/* v0.14: map index and persistently visible modal buttons */
.indexPanel{position:absolute;z-index:9;left:12px;top:12px;bottom:12px;width:min(370px,calc(100% - 24px));overflow-y:auto;touch-action:pan-y;background:white;border:1px solid #777;padding:16px}
.indexHead{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #ccc;padding-bottom:10px}
.indexHead h2{margin:3px 0;font-size:22px}.indexHead small{color:#666;font-size:10px;letter-spacing:.07em}
.indexHead button{font-size:18px;padding:3px 9px}
.indexSection{border-top:1px solid #ddd;padding:8px 0 15px}
.indexSection h3{margin:8px 0 6px}.indexSection p{font-size:12px;line-height:1.5;color:#555}
.indexSection .field{margin:8px 0}.indexSection select{padding:8px}
.indexSection>.primary{width:100%;margin-top:5px}
.indexFoot{border-top:2px solid #333;padding-top:12px;font-size:12px}.indexFoot p{color:#555}
.modalCard{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:min(90dvh,850px)}
.modalHead{flex:0 0 auto;margin:0;padding:15px 18px}
#modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px}
.modalFooter{flex:0 0 auto;display:flex;border-top:1px solid #aaa;background:white;padding:12px 18px;z-index:1}
.modalFooter>.row{width:100%;justify-content:space-between}
.modalFooter button.primary{min-width:125px}
@media(max-width:780px){.indexPanel{top:8px;bottom:8px;left:8px;width:min(380px,calc(100% - 16px))}.modalCard{max-height:92dvh}}

.indexPicker{position:relative}.indexPicker input{width:100%;padding-right:38px}
.pickerClear{position:absolute;right:4px;top:4px;padding:4px 9px;border:0;background:transparent;font-size:18px}
.pickerResults{position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:12;border:1px solid #777;background:#fff;max-height:235px;overflow:auto}
.pickerResult{display:block;width:100%;text-align:left;padding:9px 10px;background:white;border:0;border-bottom:1px solid #eee;border-radius:0;font-size:12px}
.pickerResult.active,.pickerResult:hover{background:#eee}.pickerEmpty{padding:10px;color:#666}
.personNode circle.genderRing{fill:none;stroke-width:2.8;pointer-events:none}
.personNode circle.genderRing.gender-female{stroke:#e5a2bd}
.personNode circle.genderRing.gender-male{stroke:#9cc7e8}
.personNode.batchChosen circle.genderRing,.personNode.selected circle.genderRing{fill:none;stroke-width:2.8}

.savedViewItem{display:flex;align-items:center;border:1px solid #ddd;margin:6px 0;min-width:0}
.savedViewOpen{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;text-align:left;border:0;background:white;padding:10px}
.savedViewOpen strong{font-size:12px;overflow-wrap:anywhere}.savedViewOpen small{font-size:10px;color:#666}
.savedViewItem>button:not(.savedViewOpen){flex:0 0 auto;border:0;border-left:1px solid #ddd;background:white;padding:10px;font-size:11px}
.savedViewItem button:hover{background:#eee}
#saveCurrentView{font-size:11px;padding:7px 10px}


/* v0.16.1 · Unified docked panels and viewport status bar.
   The panel area is the flexing region; the bar is outside it. */
html,body{height:100%;min-height:0}
body{display:flex;flex-direction:column;height:100dvh;overflow:hidden}
.toolbar{flex:0 0 auto}
.main{flex:1 1 auto;min-height:0;height:auto;position:relative;overflow:hidden}
.stage{min-height:0}
.side{flex:0 0 min(390px,42vw);height:100%;min-height:0;position:relative;top:auto;right:auto;bottom:auto;box-shadow:none}
.indexPanel{left:0;top:0;bottom:0;width:min(390px,100%);border:0;border-right:1px solid #aaa;border-radius:0;box-shadow:none;padding:17px}
.statusBar{flex:0 0 auto;min-height:48px;display:flex;align-items:center;gap:14px;padding:6px 14px;background:#242424;border-top:1px solid #111;color:#f1f1f1;position:relative;z-index:10}
.statusBar .status{position:static;flex:1 1 auto;min-width:0;max-width:none;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none;border:0;padding:0;color:#dedede;font-size:11px}
.statusBar .zoomControls{position:static;display:flex;align-items:center;flex:0 0 auto;gap:5px;background:none}
.statusBar .zoomControls button{background:#303030;color:#f8f8f8;border:1px solid #666;border-radius:2px;min-width:34px;padding:6px 9px;font-size:12px;white-space:nowrap}
.statusBar .zoomControls button:hover{background:#444;border-color:#aaa}
.statusBar .zoomControls button:focus-visible{outline:2px solid white;outline-offset:2px}
.statusBar .zoomControls button[aria-pressed="true"]{border-color:#fff;background:#4b4b4b}
.statusBar .renderSwitch{border-color:#ddd}
.statusBar .renderToggle[aria-pressed="true"] .renderSwitch{background:#fff}
.statusBar .renderToggle[aria-pressed="true"] .renderSwitch::after{background:#242424}
@media(max-width:780px){
 .main{height:auto;min-height:0;flex:1 1 auto}
 .side{position:absolute;right:0;top:0;bottom:0;width:min(95vw,390px);height:auto;flex:none;border-left:1px solid #aaa}
 .indexPanel{left:0;top:0;bottom:0;width:min(95vw,390px)}
 .statusBar{padding:5px 8px;gap:7px;min-height:46px}
 .statusBar .status{font-size:10px}
 .statusBar .zoomControls{max-width:75%;overflow-x:auto;scrollbar-width:thin}
 .statusBar .zoomControls button{padding:6px 8px}
}
@media(max-width:520px){
 .statusBar{flex-wrap:wrap;gap:3px;min-height:0}
 .statusBar .zoomControls{order:0;max-width:100%;width:100%;justify-content:flex-start}
 .statusBar .status{order:1;flex-basis:100%;font-size:10px;line-height:1.6}
}
@media print{body{display:block;height:auto;overflow:visible}.main{height:100vh}.statusBar{display:none!important}}

/* v0.16.2 — persistent label and stateful fast-rendering switch */
.renderToggle {
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.renderSwitch {
  width:26px;
  height:14px;
  border:1px solid currentColor;
  border-radius:20px;
  background:#fff;
  position:relative;
  box-sizing:content-box;
  flex-shrink:0;
}
.renderSwitch::after {
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  top:2px;
  left:2px;
  border-radius:50%;
  background:#333;
  transition:transform 150ms ease, background 150ms ease;
}
.renderToggle[aria-pressed="true"] .renderSwitch {
  background:#333 !important;
}
.renderToggle[aria-pressed="true"] .renderSwitch::after {
  background:#fff !important;
  transform:translateX(12px);
}
@media (prefers-reduced-motion:reduce) {
  .renderSwitch::after { transition:none; }
}

.renderToggle { color:inherit; }
.renderToggle[aria-pressed="true"] .renderSwitch { border-color:#aaa; }
