@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600;700&display=swap";.connections{min-width:0}.connections-controls,.connection-modes,.bulk-actions,.connections-filter,.focused-horse{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.connections-controls{justify-content:space-between;margin-bottom:14px}.connection-modes{gap:4px;padding:4px;background:#e8eae3;border-radius:10px}.connection-modes button{display:flex;gap:7px;align-items:center;padding:10px 15px;border:0;border-radius:7px;background:transparent;color:#59685d;cursor:pointer}.connection-modes button[aria-selected=true]{background:#fff;color:#234a37;box-shadow:0 1px 5px #18332118}.bulk-actions button{border:0;background:none;color:#59685d;font-size:11px;cursor:pointer}.connections-filter{margin-bottom:18px}.connections-filter select,.connections-filter input{border:1px solid #d8ded3;border-radius:7px;background:#fff;padding:8px 10px;max-width:190px;font-size:12px}.focused-horse{margin-bottom:14px;border:1px solid #bdcabb;border-radius:9px;padding:12px;background:#f0f4ec;font-size:12px}.focused-horse button{display:flex;gap:6px;align-items:center;background:none;border:0;color:#31553b;cursor:pointer}.focused-horse>button:first-of-type{margin-left:auto}.connections-canvas{--line: #647c68;--ink: #eef0e8;--muted: #b9c6b7;--panel: #254936;background:#183d2b;color:var(--ink);border-radius:15px;padding:25px;overflow:hidden}.connections-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.connections-heading h2{font-size:20px;margin:7px 0 0;color:inherit}.connections-heading>.eyebrow,.connections-heading .eyebrow{color:var(--muted);letter-spacing:2px;font-size:10px}.connections-heading>span,.view-description,.connections-note{color:var(--muted);font-size:11px;line-height:1.8}.view-description{margin:-10px 0 22px}.connections-note{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}.family-collection{display:grid;gap:16px;min-width:0}.connection-family{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.connection-family-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:var(--panel)}.family-toggle{display:flex;gap:9px;align-items:center;border:0;background:none;color:inherit;text-align:left;font-size:12px;cursor:pointer}.family-toggle em{font-style:normal;opacity:.6;margin:0 5px}.family-count{font-size:10px;white-space:nowrap;color:var(--muted)}.family-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;padding:20px}.family-pair{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;position:relative}.parent-label{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);background:var(--panel);border-radius:9px;color:inherit;cursor:pointer;text-align:left;min-width:0}.parent-label .portrait{width:38px;height:38px;flex-shrink:0}.parent-label>span{display:grid;gap:4px;min-width:0}.parent-label strong{font-size:12px;overflow-wrap:anywhere}.parent-label b{font-size:10px;font-weight:400;color:var(--muted)}.pair-symbol,.pair-caption{align-self:center;color:var(--muted);font-size:11px}.family-descendants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border-left:1px solid var(--line);padding-left:20px;min-width:0}.descendant-node{position:relative;min-width:0;align-self:start}.descendant-node:before{content:"";position:absolute;left:-21px;top:38px;width:20px;border-top:1px solid var(--line)}.descendant-node .horse-card{width:100%;background:var(--panel);border:1px solid var(--line);color:var(--ink);min-width:0}.descendant-node .horse-card strong,.descendant-node .horse-name,.descendant-node .horse-card h3{color:var(--ink)}.descendant-node .horse-card .horse-meta{color:var(--muted)}.descendant-node.is-focused>.horse-card{outline:2px solid #c5b06a;outline-offset:2px}.branch-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:7px;font-size:10px;color:var(--muted)}.branch-actions button,.branch-more{display:flex;align-items:center;gap:5px;background:transparent;border:0;color:var(--muted);font-size:11px;cursor:pointer;padding:6px 0}.branch-more,.branch-open{grid-column:1/-1}.descendant-branch{margin-top:18px}.generation-label{font-size:10px;color:var(--muted);margin:0 0 10px}.descendant-branch .family-body{grid-template-columns:1fr;padding:12px;gap:15px}.descendant-branch .family-pair{flex-direction:row;align-items:center;flex-wrap:wrap}.descendant-branch .family-pair .parent-label{flex:1}.descendant-branch .family-pair .pair-caption{display:none}.descendant-branch .family-descendants{grid-template-columns:1fr}.connections-empty{padding:30px;color:var(--muted);font-size:13px}.connections-empty button{display:block;margin-top:15px}.missing-parent{font-size:12px;color:var(--muted);padding:12px}.mode-cluster .connections-canvas{--line: #ccd7c7;--ink: #2a4735;--muted: #65755e;--panel: #f3f5eb;background:#f9faf4;border:1px solid #e0e5d8}.mode-cluster .depth-0{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.mode-cluster .connection-family{border-radius:24px;background:#eff3e7}.mode-cluster .depth-0>.connection-family:nth-child(2n){background:#f1eee4;--panel: #f8f5ef;--line: #d6d1c3}.mode-cluster .family-body{grid-template-columns:1fr}.mode-cluster .family-pair{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center}.mode-cluster .parent-label{flex:1}.mode-cluster .pair-caption{width:100%;text-align:center}.mode-cluster .family-descendants{grid-template-columns:1fr;padding-top:15px;border-top:1px solid var(--line)}.mode-cluster .connections-heading{text-align:center;flex-direction:column}.mode-cluster .view-description{text-align:center}.mode-cluster .connection-family-header{background:transparent}.mode-maternal .connections-canvas{--line: #796753;--ink: #ece7dc;--muted: #c5b7a3;--panel: #343d37;background:#252e28}.mode-maternal .family-body{grid-template-columns:200px minmax(0,1fr);gap:32px}.mode-maternal .family-descendants{grid-template-columns:1fr}.mode-maternal .connection-family{border-left:3px solid #aa9070;border-radius:5px}.mode-maternal .descendant-branch .family-body{grid-template-columns:1fr}.connections button{transition:none}@media(max-width:1100px){.family-body{grid-template-columns:150px minmax(0,1fr);gap:15px;padding:15px}.family-descendants,.mode-cluster .depth-0{grid-template-columns:1fr}}@media(max-width:640px){.connections-controls{align-items:flex-start}.connection-modes{width:100%;justify-content:space-between}.connection-modes button{padding:9px 12px}.connections-filter{gap:6px}.connections-filter select,.connections-filter input{max-width:100%;flex:1;min-width:100px}.connections-canvas{padding:14px 10px;border-radius:10px}.connections-heading{align-items:flex-start;flex-direction:column}.connections-heading h2{font-size:17px}.family-body,.mode-maternal .family-body{grid-template-columns:1fr;gap:18px;padding:12px}.family-pair{flex-direction:row;align-items:center;flex-wrap:wrap}.parent-label{flex:1;padding:7px;gap:4px}.parent-label .portrait{width:28px;height:28px}.parent-label strong{font-size:11px}.pair-caption{width:100%;text-align:center}.connection-family-header{padding:10px 7px}.family-toggle{font-size:11px;gap:4px}.family-count{font-size:9px}.family-descendants{padding-left:12px}.descendant-node:before{left:-13px;width:12px}.descendant-branch .family-body{padding:8px}.descendant-branch .family-descendants{padding-left:8px}.descendant-branch .descendant-node:before{left:-9px;width:8px}.focused-horse{gap:7px}.mode-cluster .family-body{padding:12px}.mode-cluster .connection-family{border-radius:15px}}.connections .parent-label>.portrait{display:inline-flex;flex:0 0 38px;height:38px;width:38px;background:#eae9de;border-radius:6px}.connections .parent-label>.portrait>span{display:block;height:100%;width:100%}.connections .horse-card .portrait{background:#eae9de;border-radius:8px}.connections .horse-card .genotype-line b{color:var(--ink);font-size:22px}.connections .horse-card .horse-info>small{color:var(--muted)}@media(max-width:640px){.connections .parent-label>.portrait{flex-basis:28px;width:28px;height:28px}.connections .horse-card .genotype-line b{font-size:18px}}.reference-graph{--graph-ink: #173c35;--graph-muted: #6c756e;--graph-line: #828f84;position:relative;color:var(--graph-ink)}.reference-scroll{overflow-x:auto}.reference-paper{display:block;width:100%;min-width:940px;height:auto;overflow:visible}.reference-paper .relation-line{fill:none;stroke:var(--graph-line);stroke-width:1.6}.reference-paper .child-line{stroke-width:1.8}.reference-node{color:var(--graph-ink);position:relative}.reference-horse{display:flex;align-items:center;gap:10px;padding:8px;border:0;background:transparent;color:inherit;width:100%;cursor:pointer;text-align:left}.reference-horse .portrait{width:76px;height:69px;flex:0 0 76px;background:none!important;border-radius:0!important}.reference-info{display:flex;flex-direction:column;gap:4px;min-width:0}.reference-info>strong{font-size:19px;line-height:1.25;white-space:nowrap}.reference-info>small{font-size:11px;color:var(--graph-muted)}.reference-result{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.reference-result>b{font-family:Georgia,serif;font-size:25px;font-weight:400;white-space:nowrap;line-height:1.1}.reference-result .badge{font-size:10px;padding:3px 6px}.reference-actions{display:flex;justify-content:space-between;gap:8px;padding:0 10px}.reference-actions button,.reference-more{border:0;background:none;color:var(--graph-muted);font-size:10px;display:flex;gap:5px;align-items:center;cursor:pointer}.reference-actions button{padding:3px 6px;border-radius:4px}.reference-actions button:hover{background:#b3bea92a}.reference-family-toggle{display:flex;flex-direction:column;align-items:center;gap:4px;color:inherit;border:0;background:none;cursor:pointer;width:100%}.reference-family-toggle strong{font-family:"Noto Serif JP",serif;font-size:19px;font-weight:600}.reference-family-toggle small{color:var(--graph-muted);font-size:11px;display:flex;align-items:center;gap:7px}.reference-list{--graph-ink: #f3f2e9;--graph-muted: #b7c4bb;--graph-line: #afcdc1;background:#15392e;margin:0 -20px;padding:25px 20px 12px}.reference-heading{padding:0 15px}.reference-heading h2{font-family:"Noto Serif JP",serif;font-size:25px;font-weight:500;margin:0 0 10px}.reference-heading p{font-size:12px;color:var(--graph-muted);margin:0}.reference-list .reference-horse{border:1px solid #8caa9e;border-radius:7px;background:#244739;min-height:90px}.reference-list .root-node .reference-horse{border:2px solid #d8bd73;flex-direction:column;align-items:flex-start;padding:16px;min-height:150px}.reference-list .root-node .reference-horse .portrait{height:60px;flex-basis:60px}.reference-list .reference-family-toggle strong{font-family:inherit;font-size:12px}.reference-list .reference-family-toggle{align-items:flex-start}.reference-list .reference-result>b{font-size:23px}.reference-footnote{font-size:11px;color:var(--graph-muted);margin:12px 16px}.reference-more{padding:6px 12px}.reference-node.focused .reference-horse{outline:2px solid #bc9b55;border-radius:8px}.reference-filter{font-size:11px;color:#687566;margin:0 0 10px}.reference-filter summary{cursor:pointer;text-align:right}.reference-filter .connections-filter{padding-top:10px}.connections-controls{margin-bottom:8px}.connection-modes{background:transparent;border:1px solid #aeb9ad;border-radius:24px;padding:2px}.connection-modes button{border-radius:22px;min-width:105px;justify-content:center;padding:7px 12px}.connection-modes button[aria-selected=true]{background:#214a3b;color:#fff}.bulk-actions button{font-size:10px}.reference-empty{padding:25px}.expanded-reference{margin-top:25px;border-top:1px solid var(--graph-line)}.expanded-reference>header{display:flex;justify-content:space-between;align-items:center;padding:12px}.expanded-reference>header button{color:inherit;border:0;background:none;cursor:pointer}.expanded-reference .reference-graph{margin:0;padding:0}.additional-offspring{padding:20px;border-top:1px solid var(--graph-line)}.additional-offspring h3{font-size:14px}.additional-offspring>div{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.additional-offspring>div>button{color:inherit;background:transparent;border:1px solid var(--graph-line);border-radius:8px;display:flex;align-items:center;cursor:pointer;padding:8px}.additional-offspring .portrait{width:65px;height:60px;flex-basis:65px}.additional-offspring button>span{display:grid;gap:7px}.additional-offspring button b{font-family:Georgia,serif;font-weight:400}.graph-scroll-hint{display:none}.reference-horse:focus-visible,.reference-family-toggle:focus-visible{outline:2px solid #be9955;outline-offset:3px}@media(max-width:1100px){.reference-paper{min-width:900px}.graph-scroll-hint{display:block;font-size:11px;color:var(--graph-muted);padding:10px}.reference-list{margin:0;padding:15px 0}.reference-heading{padding:0 15px}.reference-heading h2{font-size:20px}.reference-heading p{font-size:11px}.additional-offspring>div{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.reference-paper{min-width:850px}.connection-modes button{min-width:0}.additional-offspring>div{grid-template-columns:1fr}.reference-family-toggle,.reference-horse{touch-action:manipulation}}.mode-cluster .connections-controls{justify-content:center;position:relative}.mode-cluster .bulk-actions{position:absolute;right:0;top:12px}.mode-cluster .reference-filter{margin:0;height:22px}@media(max-width:1100px){.mode-cluster .bulk-actions{position:static}.mode-cluster .connections-controls{justify-content:flex-start}}.connections{position:relative}.reference-filter{position:relative;margin:0;height:0;top:-31px;right:275px;pointer-events:none}.reference-filter summary{pointer-events:auto}.reference-filter[open]{height:auto;top:0;right:0;pointer-events:auto}.mode-cluster .reference-filter{height:0;margin:0}.reference-list .reference-horse .portrait>span{filter:drop-shadow(0 0 1px #c7bfb0)}.reference-list .root-node .reference-horse{flex-direction:row;align-items:center;padding:12px;min-height:140px}.reference-list .root-node .reference-horse .portrait{width:70px;flex:0 0 70px}.reference-list .root-node .reference-info{gap:8px}.reference-list .root-node .reference-result>b{font-size:30px}.reference-list .root-node .reference-result{flex-direction:column;align-items:flex-start}.reference-list .reference-actions{padding-top:0}.reference-list .reference-family-toggle small{display:none}@media(max-width:1100px){.reference-filter,.mode-cluster .reference-filter{position:static;height:auto;margin:8px 0;pointer-events:auto}}.connections .reference-filter,.connections.mode-cluster .reference-filter{position:static;top:auto;right:auto;height:auto;margin:0 0 8px;pointer-events:auto}.reference-filter summary{width:max-content;margin-left:auto;line-height:14px}.reference-filter[open] .connections-filter{margin-bottom:10px}.lineage-eyebrow{font-size:10px;letter-spacing:2.5px;color:#829078}.sire-clusters{padding:24px 8px;color:#214538}.sire-heading,.mare-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.sire-heading h2,.mare-heading h2{font-family:"Noto Serif JP",serif;font-size:26px;margin:8px 0 10px;font-weight:600}.sire-heading p,.mare-heading p{font-size:12px;margin:0;color:#72816e}.lineage-key{font-size:10px;line-height:1.8;text-align:right;color:#768470}.sire-root{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px auto 12px}.sire-root>.portrait{width:90px;height:80px;flex-basis:90px}.sire-root>div{display:flex;flex-direction:column;gap:5px}.sire-root small{font-size:10px;color:#7d886e}.sire-root strong{font-size:23px}.sire-root span{font:25px Georgia,serif}.sire-reading{font-size:11px;text-align:center;color:#75816a;margin:10px 0 0}.sire-scroll{overflow-x:auto;border-radius:12px}.sire-scroll>svg{width:100%;height:auto;display:block;min-width:820px}.sire-halo{fill:#edf1e5;fill-opacity:.8}.generation-1 .sire-halo{fill:#e7edf0}.generation-2 .sire-halo{fill:#f0e9dc}.sire-spoke{stroke:#a2ad99;stroke-width:1;fill:none}.sire-edge path{stroke:#9ba994;stroke-width:1.5;fill:none}.sire-edge.continuation path{stroke:#b39d64;stroke-width:2;stroke-dasharray:5 5}.sire-edge text{font-size:11px;fill:#677e61;paint-order:stroke;stroke:#faf9f4;stroke-width:4px}.sire-center-ring{fill:#fffef8;stroke:#c4ad6b;stroke-width:2.5}.sire-parent-label{fill:#8a743f;font-size:10px;letter-spacing:1px}.lineage-horse{display:flex;flex-direction:column;align-items:center;background:transparent;border:0;padding:0;width:100%;cursor:pointer;color:inherit;text-align:center;gap:3px}.lineage-horse>.portrait{height:49px;width:65px;flex:0 0 49px}.lineage-horse>strong{font-size:15px;line-height:1.3}.lineage-horse>small{font-size:9px;color:#7f8a77}.lineage-result{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.lineage-result>b{font:19px Georgia,serif;white-space:nowrap}.lineage-result .badge{font-size:9px;padding:3px 5px}.lineage-parent>.portrait{height:70px;width:100px;flex-basis:70px}.lineage-parent>strong{font-size:22px}.lineage-parent>small{font-size:10px}.lineage-parent .lineage-result>b{font-size:24px}.sire-family-toggle{display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:none;color:inherit;cursor:pointer;width:100%}.sire-family-toggle strong{font:600 20px "Noto Serif JP",serif}.sire-family-toggle span{display:flex;align-items:center;gap:10px;font-size:10px;color:#7f896e}.sire-expand{display:flex;gap:5px;align-items:center;justify-content:center;background:#fafbf5;border:1px solid #b7c3ac;border-radius:15px;font-size:10px;color:#557045;cursor:pointer;width:100%;padding:6px 3px}.sire-paging{display:flex;justify-content:center;align-items:center;gap:12px;font-size:10px}.sire-paging button,.sire-more{border:1px solid #bac6b0;background:#fafbf5;color:#496642;padding:7px 10px;border-radius:6px;cursor:pointer;font-size:11px}.sire-paging button:disabled{opacity:.35;cursor:default}.sire-more{display:block;margin:15px auto}.lineage-note{font-size:11px;line-height:1.8;color:#869078;border-top:1px solid #d6ddce;padding:15px 0;margin:15px 0 0}.lineage-empty{font-size:13px;padding:35px 15px;color:#7d896f}.lineage-horse:focus-visible,.sire-expand:focus-visible{outline:2px solid #b79447;outline-offset:3px;border-radius:8px}.mare-offspring{background:#1b2221;color:#f0eee4;padding:28px 30px;margin-top:20px}.mare-heading h2{font-size:26px}.mare-heading p{color:#adb7a5}.mare-heading>span{font-size:12px;color:#bec8b6}.mare-heading>span b{font:25px Georgia,serif;margin:0 5px}.mare-parent{display:flex;align-items:center;gap:18px;padding:25px 0;border-bottom:1px solid #465048}.mare-parent>.portrait{width:110px;height:95px;flex-basis:110px}.mare-parent>div{display:flex;flex-direction:column;gap:8px}.mare-parent>div>small{font-size:11px;color:#b5a57e}.mare-parent strong{font-family:"Noto Serif JP",serif;font-size:29px}.mare-parent>div>span{font:24px Georgia,serif;display:flex;align-items:center;gap:12px}.mare-parent>button{display:flex;gap:5px;align-items:center;margin-left:auto;border:1px solid #6f7a69;border-radius:6px;padding:8px;background:none;color:#c4cbbd;font-size:11px;cursor:pointer}.mare-parent>button svg{width:15px;height:15px}.mare-children{margin:15px 0 0 40px;border-left:1px solid #bd9970}.mare-child{display:flex;align-items:center;gap:18px;position:relative;padding:20px 10px 20px 35px;border-bottom:1px solid #384039;min-height:115px}.mare-child:before{content:"";position:absolute;left:0;top:50%;width:26px;border-top:1px solid #bd9970}.mare-order{font:13px Georgia,serif;color:#897e64}.mare-child .lineage-horse{flex:1;display:grid;grid-template-columns:80px 1fr;column-gap:15px;text-align:left;justify-items:start}.mare-child .lineage-horse>.portrait{grid-row:1/4;width:80px;height:65px}.mare-child .lineage-horse>strong{font-size:20px}.mare-child .lineage-horse>small{font-size:11px;color:#a7b39e}.mare-child .lineage-result>b{font-size:24px}.mare-other-parent{width:170px;font-size:11px;color:#a2af9c}.mare-other-parent>span{display:block;margin-bottom:7px}.mare-other-parent button{display:flex;align-items:center;gap:10px;color:#dbe0d3;background:none;border:0;padding:0;cursor:pointer;font-size:13px}.mare-offspring .lineage-note{border-color:#4b554a;color:#9da992}.mare-offspring .portrait>span{filter:drop-shadow(0 0 1px #d0caba)}@media(max-width:760px){.sire-heading,.mare-heading{align-items:flex-start;flex-direction:column;gap:10px}.sire-heading h2,.mare-heading h2{font-size:21px}.lineage-key{text-align:left}.sire-clusters{padding:15px 0}.sire-scroll>svg{min-width:820px}.sire-reading{text-align:left;line-height:1.8}.mare-offspring{padding:20px 14px}.mare-parent{gap:10px}.mare-parent>.portrait{width:64px;height:70px;flex-basis:64px}.mare-parent strong{font-size:24px}.mare-parent>button{font-size:10px;padding:6px;gap:2px}.mare-children{margin-left:8px}.mare-child{padding:16px 0 16px 20px;gap:9px;flex-wrap:wrap}.mare-child:before{width:13px;top:48px}.mare-order{width:15px}.mare-child .lineage-horse{grid-template-columns:60px 1fr;column-gap:9px}.mare-child .lineage-horse>.portrait{width:60px;height:55px}.mare-child .lineage-horse>strong{font-size:17px}.mare-child .lineage-result>b{font-size:19px}.mare-other-parent{margin-left:24px;width:auto;display:flex;align-items:center;gap:12px}.mare-other-parent>span{margin:0}.mare-child .lineage-result{justify-content:flex-start}.mare-parent>div>span{font-size:19px;flex-wrap:wrap}.mare-parent .badge{font-size:9px}}.mare-offspring .portrait{background:#9aa18e;border-radius:50%;padding:4px}.mare-offspring .mare-parent>.portrait{background:#87917d}.sire-scroll:focus-visible{outline:2px solid #ad9055;outline-offset:3px}.app-shell[data-mode=kb] .mare-order{width:52px;flex:0 0 52px;white-space:nowrap;color:#c8b391}@media(max-width:700px){.app-shell[data-mode=kb] .mare-child .lineage-horse{flex:1 1 calc(100% - 61px);min-width:0}}:root{font-family:Noto Sans JP,sans-serif;color:#203b34;background:#faf9f5;font-synthesis:none;font-weight:400;--ink: #203b34;--green: #214f3e;--muted: #79827b;--line: #dedfd5;--paper: #faf9f5;--gold: #b68a41}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c19c58;outline-offset:4px}button{transition:background .15s,border-color .15s,box-shadow .15s}a{color:inherit}button:hover:not(:disabled){filter:brightness(.97)}h1,h2,h3,p{margin-top:0}p{line-height:1.9}small{font-size:12px;line-height:1.7}.muted{color:#6d776e}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.1em;color:#6c796d}.app-shell{display:grid;grid-template-columns:302px minmax(0,1fr);min-height:100vh}.sidebar{background:#f3f3eb;border-right:1px solid var(--line);padding:34px 24px 22px;display:flex;flex-direction:column;gap:26px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{text-decoration:none;display:flex;gap:9px;align-items:center;color:var(--green)}.brand>span{font-family:Georgia,serif;font-size:33px;font-weight:700;letter-spacing:-1px}.brand small{display:block;font-family:Noto Sans JP,sans-serif;letter-spacing:.08em;font-size:10px;font-weight:400;margin-top:5px;color:#738171}.search{display:flex;align-items:center;position:relative;border:1px solid #cacfc3;border-radius:5px;background:#fafaf6;min-height:46px;padding:0 10px;gap:8px;z-index:5}.search input{min-width:0;width:100%;background:none;border:0;outline:none;font-size:12px}.search-results{position:absolute;left:0;right:-25px;top:53px;box-shadow:0 10px 35px #1c332224;border:1px solid var(--line);background:#fffef9;padding:14px;border-radius:8px}.search-results>small{color:var(--muted)}.search-results button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 3px;border:0;border-bottom:1px solid #eee;background:none;text-align:left;font-size:13px;gap:6px}.search-results button small{display:block;color:var(--muted);font-size:10px}.search-results b{font-family:Georgia,serif;font-size:14px}.subject .eyebrow{display:flex;justify-content:space-between;align-items:center}.subject .eyebrow span{font-size:8px;letter-spacing:.12em;color:#969e92}.subject-identity{display:flex;gap:6px;align-items:center;margin:15px 0 10px}.subject-identity h2{font-size:23px;margin:0 0 8px;letter-spacing:.04em}.subject-identity p{font-size:11px;color:#778175;margin:0}.portrait{display:inline-flex;position:relative;align-items:center;justify-content:center;width:73px;height:83px;flex:0 0 73px}.portrait>span{display:block;width:100%;height:100%;mask:url(/horse-silhouette.png) center/contain no-repeat;-webkit-mask:url(/horse-silhouette.png) center/contain no-repeat;filter:drop-shadow(0 0 .5px #6c6558)}.portrait.large{width:94px;height:96px;flex-basis:94px}.portrait small{position:absolute;left:45%;top:34%;font-size:19px;font-family:Georgia,serif;font-weight:700;color:#fff}.subject-result{text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0 23px;margin-bottom:19px}.subject-result>span{font-size:12px;display:block}.subject-result strong{font-family:Georgia,serif;display:block;white-space:nowrap;font-size:47px;letter-spacing:-2px;margin:7px 0 11px;line-height:1.2;font-weight:500}.subject-result .badge{display:inline-block}.subject-explanation{font-size:13px;margin-bottom:8px}.subject>.muted{display:block;font-size:10px;line-height:1.8;margin-bottom:20px}.primary,.secondary{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;min-height:45px;padding:10px 14px;border-radius:5px;font-size:13px;font-weight:500}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary svg:last-child{margin-left:auto}.secondary{border:1px solid #a9b3a5;background:transparent;color:var(--ink)}.subject .secondary{margin-top:10px}.subject .secondary svg:last-child{margin-left:auto}.layer-settings{border-top:1px solid var(--line);padding-top:17px;font-size:12px}.layer-settings summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between}.layer-settings[open] .field{margin:16px 0 10px}.layer-settings small{font-size:10px;color:var(--muted)}.sidebar-footer{margin-top:auto;padding-top:16px;color:#92998a;border-top:1px solid var(--line);font-size:11px;display:flex;flex-direction:column;gap:9px}.sidebar-footer>span{font-family:Georgia,serif;font-size:14px}.text-button{display:inline-flex;align-items:center;gap:7px;padding:4px 0;background:none;border:0;font-size:11px;color:#627c68;text-align:left}.workspace{padding:32px 36px 18px;min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-header h1{font-family:"Noto Serif JP",serif;letter-spacing:.07em;font-size:32px;font-weight:600;margin:10px 0 6px}.page-header p{font-size:11px;color:#879080;letter-spacing:.08em;margin:0}.page-header .eyebrow{display:flex;gap:7px;align-items:center;font-size:10px}.demo-dot{width:6px;height:6px;background:#b39662;border-radius:50%}.back-button{display:flex;align-items:center;gap:7px;font-size:11px;border:1px solid var(--line);padding:8px 10px;border-radius:5px;background:transparent}.view-bar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #bec8b9;margin-bottom:28px;gap:15px}.view-tabs{display:flex;gap:4px}.view-tabs button{display:flex;gap:9px;align-items:center;border:0;border-radius:5px 5px 0 0;background:transparent;padding:14px 23px;font-size:13px;font-weight:500}.view-tabs button[aria-selected=true]{color:#fff;background:var(--green)}.view-hint{font-size:10px;color:#899282;white-space:nowrap}.graph-viewport{overflow:auto;padding:4px 2px}.family-graph{min-width:690px}.family-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px}.row-label{border-left:3px solid #e1e2d4;padding:19px 0 0 17px}.row-label strong{font-size:16px;display:block;font-weight:600}.row-label>span{display:block;font-size:10px;line-height:1.9;color:#879080;margin-top:7px}.row-label b{font-size:16px;font-weight:500;color:#435847;margin-right:3px}.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px}.relation-label{display:block;font-size:10px;color:#879080;margin:0 0 6px 3px}.horse-card{position:relative;display:flex;align-items:center;gap:9px;width:100%;min-height:121px;border:1px solid #b7bfaf;background:#fffef9;border-radius:7px;padding:15px 14px;text-align:left;box-shadow:0 3px #e9e9df30}.horse-card:not(.missing):hover{border-color:#587a5b;background:#f2f6ed;box-shadow:0 3px 10px #1f442010}.horse-card[data-sex]{--sex-paper: #f5f5f2;--sex-ink: #555c59;--sex-tint: #e6e8e3;background:var(--sex-paper)}.horse-card[data-sex=male]{--sex-paper: #f1f7fb;--sex-ink: #355d79;--sex-tint: #ddebf5}.horse-card[data-sex=female]{--sex-paper: #fcf3f2;--sex-ink: #8a4b59;--sex-tint: #f4dfe3}.horse-card[data-sex=gelding]{--sex-paper: #f6f3fa;--sex-ink: #69547e;--sex-tint: #eae1f2}.horse-card .sex-label{display:inline-block;padding:2px 6px;border-radius:4px;background:var(--sex-tint);color:var(--sex-ink);font-size:11px;font-weight:600}.horse-card.selected{border:2px solid var(--green);background:var(--sex-paper, #f4f6ee);min-height:134px}.selected-tag{position:absolute;top:-12px;left:50%;transform:translate(-50%);padding:4px 19px;border-radius:5px;background:var(--green);color:#fff;font-size:10px;white-space:nowrap}.horse-info{display:block;min-width:0;flex:1}.horse-info>strong{display:block;font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.horse-info>small{display:block;font-size:10px;color:#92998b;margin:2px 0 9px}.genotype-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.genotype-line b{font-size:24px;line-height:1;font-family:Georgia,serif;color:#214c3c;font-weight:500;white-space:nowrap}.badge{font-size:9px;font-weight:500;letter-spacing:.02em;border-radius:3px;padding:4px 6px;white-space:nowrap;background:#e9ede5;color:#657262}.badge.published{background:#dfecdd;color:#486b47}.badge.inferred{background:#f3e7c8;color:#826b32}.badge.constrained{background:#e7ece7;color:#5d7366}.badge.unknown{background:#eeede7;color:#858478}.badge.contradiction{background:#f6e4df;color:#a75041}.card-arrow{color:#7f907b;flex-shrink:0}.missing{color:#a6ab9e;justify-content:center;gap:15px;min-height:121px;background:#f7f7f0;border-style:dashed}.missing strong{font-size:13px;font-weight:500;display:block}.missing small{font-size:10px}.parent-connector{height:58px;position:relative;margin:0 25% 40px;border-top:0;border-left:1px solid #6e8a67;border-right:1px solid #6e8a67;border-bottom:1px solid #6e8a67;transform:translateY(-1px);height:25px;border-radius:0 0 5px 5px}.parent-connector:after{content:"";position:absolute;width:1px;background:#6e8a67;height:40px;top:24px;left:50%}.parent-connector>span{position:absolute;left:50%;top:17px;transform:translate(-50%);z-index:1;font-size:9px;background:#f0f2e8;border:1px solid #d4ddc9;border-radius:12px;padding:2px 10px;white-space:nowrap}.subject-row .row-label{padding-top:26px}.target-pair{position:relative;align-items:center}.target-pair:after{content:"";position:absolute;top:50%;left:calc(50% - 22px);width:44px;height:1px;background:#83937c}.mate-picker{border:1px dashed #c8cfbe;background:#f6f6ef;border-radius:7px;padding:17px 20px;min-height:120px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.mate-picker strong{font-size:14px;font-weight:500}.mate-picker .eyebrow{font-size:9px}.mate-picker p{font-size:12px;color:#8b9485;margin:0}.mate-picker select{font-size:11px;padding:6px 8px;width:100%;color:#526b53;background:#fffef8;border:1px solid #cbd3bf;border-radius:4px}.child-connector{height:41px;position:relative}.child-connector:before{content:"";position:absolute;height:41px;width:1px;background:#85957c;left:50%;top:0}.child-connector span{position:absolute;left:50%;transform:translate(-50%);top:13px;background:var(--paper);color:#8a9680;font-size:9px;padding:0 8px;white-space:nowrap}.offspring .row-label{padding-top:17px}.offspring-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:13px;border-top:1px solid #d6ddcd;padding-top:13px}.offspring-toolbar>span{display:flex;align-items:center;gap:4px;font-size:10px;color:#809077;margin-right:2px}.offspring-toolbar input,.offspring-toolbar select{font-size:10px;border:1px solid #d5dbcd;border-radius:4px;background:transparent;padding:7px 6px;max-width:140px;color:#5d7058}.offspring-toolbar input{width:100px}.children-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.horse-card.compact{min-height:99px;padding:12px}.compact .portrait{width:58px;height:63px;flex-basis:58px}.compact .horse-info>strong{font-size:15px}.compact .horse-info>small{font-size:9px;margin-bottom:7px}.compact .genotype-line b{font-size:24px}.compact .badge{font-size:8px}.other-parent{display:block;padding:5px 10px 0;font-size:9px;color:#8c9585}.other-parent button{padding:0;border:0;background:none;font-size:9px;color:#637e59;text-decoration:underline;text-underline-offset:3px}.load-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 9px;font-size:10px;color:#8b9580}.secondary.small{width:auto;font-size:11px;min-height:34px;padding:7px 12px}.graph-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:21px;padding:16px 0 7px}.legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:10px;color:#798670}.legend>span{display:flex;gap:6px;align-items:center}.legend i{width:8px;height:8px;border-radius:2px;background:#d6e6ce;display:inline-block}.legend i.inferred{background:#edce85}.legend i.constrained{background:#a2b9af}.legend .legend-note{font-size:9px;color:#939d89}.zoom-controls{display:flex;border:1px solid #d2d9c8;border-radius:4px;flex-shrink:0}.zoom-controls button{min-width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:0;border-right:1px solid #dce0d2;background:transparent;font-size:10px}.zoom-controls button:last-child{border-right:0}.workspace-footnote{display:flex;justify-content:space-between;align-items:center;color:#9ca390;font-size:9px;gap:20px;margin-top:8px}.workspace-footnote .text-button{font-size:9px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:4px;border-radius:4px}.field{display:block;font-size:12px;margin:20px 0 10px;color:#596d59}.field select{display:block;width:100%;margin-top:9px;background:#fffef8;border:1px solid #c5ceb9;padding:10px;border-radius:4px;color:var(--ink)}.modal{position:fixed;max-height:85vh;width:min(530px,calc(100vw - 30px));padding:28px;border:1px solid #ccd4c1;border-radius:12px;background:#fffef8;color:var(--ink);box-shadow:0 20px 100px #132a3040}.modal::backdrop{background:#162c2d70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal.wide{width:min(630px,calc(100vw - 30px))}.modal header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:20px;gap:12px}.modal h2{margin:0;font-family:"Noto Serif JP",serif;font-size:22px}.modal h3{font-size:15px;margin:21px 0 9px}.modal p{font-size:13px}.notice{display:flex;gap:10px;align-items:flex-start;font-size:11px;background:#edf2e7;color:#66785e;padding:13px;border-radius:5px;margin-bottom:20px;line-height:1.8}.notice svg{flex-shrink:0}.notice.amber{background:#fbf0d6;color:#8a6b31}.result-heading{display:flex;gap:15px;align-items:center}.result-heading>strong{font-family:Georgia,serif;font-size:32px}.evidence-row{padding:17px 0;border-top:1px solid var(--line)}.evidence-row h3{margin:7px 0}.evidence-row small{color:#909780;display:block;font-size:10px}.evidence-row .text-button{margin-top:10px}.segments{display:flex;border:1px solid #b9c7ad;border-radius:5px;overflow:hidden}.segments button{flex:1;background:none;border:0;border-right:1px solid #d4ddcc;font:23px Georgia,serif;padding:11px}.segments button:last-child{border:0}.segments button.active{background:var(--green);color:#fff}.experiment-run{margin:19px 0 24px}.change-list{margin-bottom:18px;max-height:230px;overflow:auto}.change-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:11px 0;border-bottom:1px solid #e7e9df}.change-list>div>span:last-child{display:flex;align-items:center;gap:8px;font-family:Georgia,serif}.contradiction{display:flex;align-items:flex-start;gap:10px;background:#faece7;color:#9b5343;padding:16px;border-radius:5px}.contradiction svg{flex-shrink:0}.contradiction p{font-size:12px;margin:8px 0 0}.simulation-banner{display:flex;gap:10px;align-items:center;background:#f6edd8;border:1px solid #e2c68a;padding:13px 17px;margin-bottom:25px;border-radius:5px;color:#84662e;font-size:12px}.simulation-banner small{display:block;font-size:10px;margin-top:3px}.simulation-banner button{margin-left:auto;background:transparent;border:0;font-size:11px;display:flex;align-items:center;gap:5px}.horse-card.changed{outline:2px dashed #c19a52;outline-offset:3px;background:#fff6df}.empty{padding:30px 10px;text-align:center;color:#939d86;font-size:12px}.empty p{margin:10px 0}.coat-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.coat-gallery>div{display:flex;flex-direction:column;align-items:center;background:#f1f2e9;border-radius:6px;padding:5px}.coat-gallery small{font-size:11px;color:#7e8c72}.loading{height:100vh;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;font-size:15px}.loading .primary{width:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pedigree-scroll{overflow:auto;height:clamp(400px,65dvh,700px);min-height:0;padding:16px 5px 30px;border:1px solid var(--line);border-radius:8px;scrollbar-gutter:stable}.pedigree-scroll:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.pedigree-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.pedigree-depth{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.pedigree-depth select,.pedigree-control{min-height:42px;padding:8px 12px;border:1px solid #bec8b9;border-radius:5px;background:var(--paper);color:var(--ink)}.pedigree-control{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px}.pedigree-recenter{margin-left:auto}.pedigree-help,.pedigree-note{color:#657267;font-size:12px;margin:12px 0}.pedigree{width:max-content;min-width:100%;padding:10px}.pedigree-branch{display:flex;align-items:center;gap:28px;position:relative;flex:none}.pedigree-node{width:245px;flex-shrink:0}.pedigree-ancestors{display:flex;flex-direction:column;gap:20px;border-left:1px solid #aebba3;padding-left:27px;position:relative}.pedigree-ancestors:before{content:"";position:absolute;width:28px;height:1px;left:-28px;top:50%;background:#aebba3}.pedigree-branch .horse-card{min-height:100px}.pedigree-branch .missing{min-height:74px}.pedigree-branch .relation-label{margin-left:0}.pedigree-node:has(.selected){margin-right:0}.pedigree-ancestors .pedigree-branch:before{content:"";position:absolute;left:-27px;top:50%;width:27px;height:1px;background:#aebba3}.pedigree-expanded .pedigree-branch{align-items:flex-start}.pedigree-expanded .pedigree-node{position:sticky;top:12px;z-index:1;background:var(--paper)}.pedigree-expanded .pedigree-ancestors:before,.pedigree-expanded .pedigree-ancestors .pedigree-branch:before{display:none}.pedigree-expanded .has-ancestors:after,.pedigree-expanded .pedigree-ancestors>.pedigree-branch>.pedigree-node:before{content:"";position:absolute;top:76px;width:28px;height:1px;background:#aebba3}.pedigree-expanded .has-ancestors:after{left:100%}.pedigree-expanded .pedigree-ancestors>.pedigree-branch>.pedigree-node:before{right:100%}@media(min-width:1500px){.workspace{padding-left:48px;padding-right:48px}.horse-card{min-height:140px}.family-row{grid-template-columns:125px minmax(0,1fr)}.subject-row{margin-top:5px}.parent-connector{margin-bottom:46px}.child-connector{height:47px}.child-connector:before{height:47px}.horse-card.compact{min-height:110px}}@media(max-width:1190px){.app-shell{grid-template-columns:264px minmax(0,1fr)}.sidebar{padding:26px 18px}.workspace{padding:27px 24px}.family-row{grid-template-columns:83px minmax(0,1fr);gap:10px}.row-label{padding-left:10px}.pair-grid{gap:25px}.target-pair:after{left:calc(50% - 12.5px);width:25px}.view-hint{display:none}.horse-card{padding:12px 10px}.horse-card .portrait{width:58px;flex-basis:58px}.family-graph{min-width:630px}.legend-note{display:none!important}.horse-info>strong{font-size:16px}.genotype-line{gap:5px}.badge{font-size:8px}.brand>span{font-size:29px}.subject-result strong{font-size:42px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;height:auto;overflow:visible;padding:20px 20px 18px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.brand>span{font-size:28px}.brand small{font-size:9px}.brand>svg{width:35px}.search{position:absolute;right:20px;top:24px;width:42px;height:40px;min-height:40px;padding:8px;background:#fafaf5;transition:width .2s}.search input{opacity:0;width:0;padding:0}.search:focus-within{width:calc(100% - 40px)}.search:focus-within input{opacity:1;width:100%}.search-results{right:0}.search:has(.search-results){width:calc(100% - 40px)}.search:has(.search-results) input{opacity:1;width:100%}.subject{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.subject>.eyebrow{grid-column:1/-1}.subject>.eyebrow span{display:none}.subject-identity{margin:0;gap:0}.subject-identity h2{font-size:20px}.subject-identity .portrait{width:62px;height:71px;flex-basis:62px}.subject-result{margin:0;border:0;border-left:1px solid var(--line);padding:0 0 0 7px}.subject-result>span:first-child{font-size:10px}.subject-result strong{font-size:33px;margin:4px 0 6px;letter-spacing:-1px}.subject-result .badge{font-size:8px}.subject-explanation{grid-column:1/-1;margin:2px 0 0;font-size:11px}.subject>.muted{grid-column:1/-1;font-size:9px;margin:0 0 5px}.subject .primary,.subject .secondary{font-size:11px;margin:0;min-height:39px;padding:8px 10px;gap:5px}.subject .primary svg,.subject .secondary svg{width:17px}.layer-settings{padding-top:10px;font-size:10px}.sidebar-footer{display:none}.workspace{padding:23px 16px 18px}.page-header{margin-bottom:19px}.page-header h1{font-size:25px;margin-top:8px}.page-header p,.page-header .eyebrow{font-size:9px}.back-button{font-size:10px;padding:7px}.view-bar{margin-bottom:23px}.view-tabs{width:100%}.view-tabs button{justify-content:center;padding:12px 10px;flex:1;font-size:12px}.family-graph{min-width:0}.family-row{grid-template-columns:1fr;gap:11px}.row-label{display:flex;align-items:center;justify-content:space-between;padding:0 0 0 8px;border-left-width:2px}.row-label strong{font-size:12px}.row-label>span{margin:0;font-size:9px}.row-label br{display:none}.parents .row-label{margin-bottom:1px}.pair-grid{gap:14px}.horse-card{padding:12px 8px;gap:4px;min-height:136px;flex-direction:column;align-items:flex-start}.horse-card .portrait{width:49px;height:40px;flex-basis:40px}.horse-info{width:100%}.horse-info>strong{font-size:14px}.horse-info>small{font-size:8px;margin:1px 0 5px}.genotype-line b{font-size:21px}.genotype-line .badge{font-size:7px;padding:3px 4px}.card-arrow{position:absolute;right:9px;top:14px;width:14px}.selected-tag{padding:3px 14px;font-size:8px;top:-10px}.horse-card.selected{min-height:143px}.parent-connector{height:18px;margin-bottom:22px}.parent-connector:after{top:17px;height:21px}.parent-connector>span{top:10px;font-size:8px}.subject-row .row-label{padding-top:0}.mate-picker{min-height:143px;padding:13px 10px;gap:10px}.mate-picker .eyebrow{font-size:8px}.mate-picker strong{font-size:12px}.mate-picker select{font-size:9px;padding:7px 3px}.target-pair:after{left:calc(50% - 7px);width:14px}.child-connector{height:33px}.child-connector:before{height:33px}.child-connector span{font-size:8px;top:9px}.offspring .row-label{padding:0 0 0 8px}.offspring-toolbar{gap:5px;padding-top:8px}.offspring-toolbar>span{display:none}.offspring-toolbar select{font-size:9px;padding:7px 5px;max-width:123px}.offspring-toolbar input{width:70px;font-size:9px}.children-grid{gap:12px}.horse-card.compact{padding:10px 8px;min-height:131px}.compact .portrait{width:46px;height:35px;flex-basis:35px}.compact .horse-info>strong{font-size:13px}.compact .genotype-line b{font-size:21px}.compact .badge{font-size:7px}.other-parent,.other-parent button{font-size:8px}.other-parent{padding-left:4px}.load-row{font-size:9px;flex-wrap:wrap}.load-row .secondary{font-size:10px}.graph-footer{margin-top:13px;padding-top:12px;gap:8px}.legend{gap:10px;font-size:9px}.workspace-footnote{align-items:flex-start;font-size:8px;gap:10px}.workspace-footnote>span{max-width:180px;line-height:1.8}.workspace-footnote .text-button{font-size:9px;white-space:nowrap}.simulation-banner{padding:10px;font-size:10px;align-items:flex-start;gap:7px}.simulation-banner small{font-size:8px}.simulation-banner button{font-size:9px;white-space:nowrap}.modal{padding:20px}.modal h2{font-size:19px}.pedigree-scroll{height:60dvh;min-height:360px}.pedigree{min-width:100%}.pedigree-recenter{margin-left:0}.pedigree-node{width:210px}.pedigree .horse-card{flex-direction:row;align-items:center;gap:8px}.pedigree .card-arrow{display:none}.pedigree .portrait{flex-basis:40px;height:55px}.pedigree .missing{flex-direction:row}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.badge.reported{background:#eee4db;color:#8c6750}.parent-connector:after{left:0}.parent-connector>span{left:0}@media(min-width:761px){.horse-info>strong{font-size:21px}.horse-info>small{font-size:11px}.horse-card .portrait{width:84px;height:90px;flex-basis:84px}.genotype-line b{font-size:31px}.badge{font-size:11px}.compact .horse-info>strong{font-size:18px}.compact .horse-info>small{font-size:10px}.compact .portrait{width:68px;height:68px;flex-basis:68px}.compact .genotype-line b{font-size:28px}.compact .badge{font-size:10px}.subject-result strong{font-size:60px}.subject-explanation,.subject .primary,.subject .secondary{font-size:14px}.offspring-toolbar select,.offspring-toolbar input{font-size:12px}.offspring-toolbar input{width:110px}.other-parent,.other-parent button,.legend{font-size:11px}}@media(max-width:760px){.genotype-line .badge,.compact .badge{font-size:10px;padding:3px 5px}.horse-info>small,.compact .horse-info>small{font-size:10px}.other-parent,.other-parent button{font-size:10px}.offspring-toolbar select,.offspring-toolbar input{font-size:11px}.offspring-toolbar input{width:80px}.genotype-line{row-gap:6px}}.family-graph{padding-top:12px}.offspring-groups{display:flex;flex-direction:column;gap:28px}.offspring-group{border-left:2px solid #c6d2bd;padding-left:18px}.group-parent{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.group-role{font-size:10px;color:#83917a}.group-parent>button{border:0;background:none;display:flex;align-items:center;gap:10px;padding:0;text-align:left}.group-parent .portrait{width:40px;height:38px;flex-basis:40px}.group-parent strong{font-size:15px}.group-parent b{font:23px Georgia,serif}.group-parent>small{margin-left:auto;font-size:10px;color:#78866e}.group-remaining{display:block;margin-top:8px;color:#7a896e;font-size:11px}@media(max-width:760px){.offspring-group{padding-left:10px}.group-parent{gap:6px}.group-parent>button{gap:6px}.group-parent .portrait{width:26px;height:30px;flex-basis:26px}.group-parent strong{font-size:12px}.group-parent b{font-size:19px}.group-parent .badge{font-size:8px}.group-role{font-size:9px}.load-row .secondary{font-size:10px}}.badge.accepted,.badge.secondary,.badge.converted{background:#eee1bd;color:#6d5725}.badge.reported_direct,.badge.peer_reviewed{background:#dce5df;color:#355844}.evidence-row a{color:#315f49;text-decoration:underline}.evidence-row p,.evidence-row small{overflow-wrap:anywhere}[data-mode=kb] .reference-info>strong{white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.2}[data-mode=kb] .lineage-horse>strong{overflow-wrap:anywhere}[data-mode=kb] .reference-info .badge{white-space:normal}[data-mode=kb] .reference-list .root-node .reference-info{gap:5px}[data-mode=kb] .reference-list .root-node .reference-result>b{font-size:24px}[data-mode=kb] .pedigree .genotype-line b{font-size:22px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}[data-mode=kb] .pedigree .horse-card .portrait{width:54px;flex-basis:54px;height:64px}[data-mode=kb] .pedigree .horse-info>strong{font-size:17px}[data-mode=kb] .pedigree .card-arrow{display:none}.subject-result[data-candidates="3"] strong{font-size:28px;white-space:normal}[data-mode=kb] .lineage-parent>strong{font-size:17px;line-height:1.2}[data-mode=kb] .lineage-horse:not(.lineage-parent)>strong{font-size:14px;line-height:1.15}[data-mode=kb] .lineage-parent>.portrait{height:64px;flex-basis:64px}
