:root{--page-bg:#f3f6f8;--nav-bg:#1d4052;--nav-text:#f5f8fa;--panel-bg:#fff;--input-bg:#fbfcfd;--button-bg:#fff;--button-hover:#eaf4f7;--result-bg:#eef3f6;--selected:#d7ecf3;--text:#44515b;--muted:#687684;--heading:#10202b;--border:#d4dee6;--accent:#0f6f86;--accent-strong:#09495a;--accent-warm:#8a5cf6;--accent-gold:#c79522;--page-logo-color:#0f6f86;--nav-logo-filter:invert(1);--danger:#b42318;--positive:#147a54;--negative:#bd432f;--highlight-bg:#fff6d8;--highlight-border:#d6a63a;--focus:#0f6f8652;--shadow:0 14px 30px #14273617;color:var(--text);background:var(--page-bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--page-bg:#111820;--nav-bg:#123143;--nav-text:#f5f8fa;--panel-bg:#17222c;--input-bg:#101923;--button-bg:#14202a;--button-hover:#1d3240;--result-bg:#101923;--selected:#173e4f;--text:#d1d9de;--muted:#96a6b0;--heading:#f5f8fa;--border:#2b3d4a;--accent:#56b8c9;--accent-strong:#9ce0e9;--accent-warm:#a993ff;--accent-gold:#d9aa3f;--page-logo-color:#56b8c9;--danger:#ff7b72;--positive:#62c99a;--negative:#ff947c;--highlight-bg:#d9aa3f24;--highlight-border:#b98b27;--focus:#56b8c961;--shadow:0 18px 36px #00000047}*{box-sizing:border-box}html{background:var(--page-bg)}body{min-width:320px;min-height:100svh;margin:0}button,input{font:inherit}button svg{flex:none}.app-shell{background:linear-gradient(120deg, #0f6f860f, transparent 34%), linear-gradient(300deg, #8a5cf60d, transparent 32%), var(--page-bg);min-width:0;min-height:100svh;color:var(--text);grid-template-columns:248px minmax(0,1fr);display:grid}.side-nav{background:var(--nav-bg);border-right:1px solid #fffaf024;flex-direction:column;gap:24px;min-width:0;height:100svh;padding:22px 18px;display:flex;position:sticky;top:0}.brand{color:var(--nav-text);align-items:center;gap:12px;text-decoration:none;display:flex}.brand-logo{width:128px;max-width:100%;height:auto;filter:var(--nav-logo-filter,invert(1));display:block}.app-nav-shell.nav-open .side-nav .brand,.app-nav-shell.theme-nav-preview .side-nav .brand{min-height:42px;padding-left:54px;transform:translateY(-8px)}.app-nav-shell.nav-open .side-nav .brand strong{font-size:1.15rem;line-height:1}.app-nav-shell.nav-open .side-nav .brand span{justify-content:center;gap:2px;line-height:1.05}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;place-items:center;width:42px;height:42px;font-weight:800;display:grid;box-shadow:inset 0 -2px #14272c2e}.brand small,.tool-header p,.visual-header span,.result-block span,.reference-pill,.field span,.input-row small,.delta{color:var(--muted)}.brand span:last-child{display:grid}.brand small{color:color-mix(in srgb, var(--nav-text) 74%, transparent)}.side-nav nav,.secondary-nav{gap:4px;min-width:0;display:grid}.secondary-nav{margin-top:auto}.side-nav nav a,.side-nav-group-toggle,.secondary-nav a{min-height:40px;color:color-mix(in srgb, var(--nav-text) 78%, transparent);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;padding:0 12px;font-size:.94rem;text-decoration:none;display:flex}.beta-label{background:color-mix(in srgb, currentColor 14%, transparent);color:var(--accent-strong);letter-spacing:.04em;vertical-align:middle;white-space:nowrap;border:1px solid;border-radius:4px;margin-left:.35em;padding:.18em .4em;font-size:.42em;font-weight:800;line-height:1;display:inline-block}.side-nav .beta-label{color:currentColor;opacity:.9;font-size:.68em}.side-nav-group{gap:4px;display:grid}.side-nav-group-toggle{width:100%;font:inherit}.side-nav-group-toggle span{text-align:left;flex:1}.side-nav-group-toggle svg{flex:none}.side-nav-group-children{gap:4px;padding-left:14px;display:grid}.side-nav-group-link{min-height:36px;padding-left:42px;font-size:.9rem}.side-nav nav a[aria-current=page],.side-nav-group-toggle[aria-expanded=true],.secondary-nav a[aria-current=page]{background:var(--selected);color:#0b2d3a;font-weight:700;box-shadow:0 8px 18px #00000024}:root[data-theme=dark] .side-nav nav a[aria-current=page],:root[data-theme=dark] .side-nav-group-toggle[aria-expanded=true],:root[data-theme=dark] .secondary-nav a[aria-current=page]{background:color-mix(in srgb, var(--selected) 82%, var(--accent) 18%);color:var(--heading)}:root[data-theme=dark] .side-nav nav a[aria-current=page]:hover,:root[data-theme=dark] .side-nav-group-toggle[aria-expanded=true]:hover,:root[data-theme=dark] .secondary-nav a[aria-current=page]:hover{background:color-mix(in srgb, var(--selected) 76%, var(--accent) 24%);color:#fff}.side-nav nav a:hover,.side-nav-group-toggle:hover,.secondary-nav a:hover{background:color-mix(in srgb, var(--nav-text) 9%, transparent);color:var(--nav-text)}.theme-picker{background:#f5f8fa0f;border:1px solid #f5f8fa1f;border-radius:8px;gap:10px;padding:12px;display:grid}.theme-picker-header{color:#f5f8fad1;align-items:center;gap:8px;font-size:.84rem;font-weight:800;display:flex}.theme-swatches{align-items:center;gap:8px;display:flex}.theme-swatch,.theme-custom{border:2px solid #f5f8fa42;border-radius:999px;width:28px;height:28px;box-shadow:inset 0 -2px #00000029}.theme-swatch{cursor:pointer;padding:0}.theme-swatch[aria-pressed=true]{outline:2px solid color-mix(in srgb, var(--accent) 70%, white);outline-offset:2px;border-color:#fff}.theme-custom{appearance:none;cursor:pointer;background:conic-gradient(from 90deg,#e04444,#f2c94c,#27ae60,#2f80ed,#9b51e0,#e04444);padding:0;overflow:hidden}.theme-custom::-webkit-color-swatch-wrapper{padding:0}.theme-custom::-webkit-color-swatch{opacity:0;border:0;border-radius:999px}.theme-custom::-moz-color-swatch{opacity:0;border:0;border-radius:999px}.side-nav .ghost{margin-top:0}.auth-card{background:#f5f8fa0f;border:1px solid #f5f8fa1f;border-radius:8px;gap:8px;margin-top:0;padding:12px;display:grid}.auth-card-link{cursor:pointer}.auth-card-link:hover{background:#f5f8fa1a;border-color:#f5f8fa47}.auth-card-link:focus-visible{outline-offset:3px;outline:3px solid #e2f7fcbf}.side-nav-footer{justify-items:center;gap:7px;padding:2px 4px 0;display:grid}.side-nav-legal-links{flex-wrap:wrap;justify-content:center;gap:5px 12px;display:flex}.side-nav-footer a{color:color-mix(in srgb, var(--nav-text) 64%, transparent);text-align:center;font-size:.73rem;line-height:1.25;text-decoration:none}.side-nav-footer a:hover,.side-nav-footer a:focus-visible,.side-nav-footer a[aria-current=page]{color:var(--nav-text);text-underline-offset:3px;text-decoration:underline}.side-nav-version{letter-spacing:.02em}.auth-status{color:#f5f8fae6;align-items:center;gap:8px;min-width:0;font-size:.84rem;font-weight:800;display:flex}.auth-status span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.auth-card small{color:#f5f8fab3;font-size:.76rem}.auth-button{color:#f5f8fa;background:#f5f8fa1a;border-color:#f5f8fa2e;justify-content:center;min-height:34px}.auth-button:hover:not(:disabled){background:#f5f8fa29}.auth-button:disabled{cursor:wait;opacity:.62}main{min-width:0;padding:24px}.xy-position-page{padding:0}.tool-header.xy-position-header{margin:0 0 2px;padding:0}.tool-header{text-align:center;justify-items:center;gap:14px;max-width:none;margin:0 0 24px;display:grid}.tool-header h1{color:var(--heading);margin:0;font-size:2rem;line-height:1.12}.tool-header p{max-width:660px;margin:6px 0 0}.tool-header.geometry-visualizer-header{text-align:center;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);place-items:center stretch;width:min(100%,1580px);margin:0 auto 24px}.geometry-visualizer-heading{grid-column:2;justify-self:center}.geometry-mode-control{grid-column:3;justify-self:end;align-items:center;gap:9px;display:flex}.geometry-mode-label{color:var(--muted);font-size:.82rem;font-weight:800}.geometry-mode-switcher{border:1px solid var(--border);background:var(--result-bg);min-width:210px;box-shadow:var(--shadow);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.geometry-mode-switcher button{min-height:34px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 14px;font-size:.82rem;font-weight:800}.geometry-mode-switcher button:hover{color:var(--heading);background:var(--button-hover)}.geometry-mode-switcher button[aria-pressed=true]{background:var(--accent);color:#fff}.geometry-mode-switcher button[aria-pressed=true]:hover{background:var(--accent-strong);color:#fff}.pad-xy-tool-header p{max-width:1120px}.eyebrow{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:.78rem;font-weight:800}.toolbar{justify-content:center;gap:10px;display:flex}.notice{border:1px solid var(--highlight-border);background:var(--highlight-bg);max-width:520px;color:var(--heading);border-radius:8px;padding:9px 12px;font-size:.9rem;font-weight:700}.planned-tool-panel{border:1px solid var(--border);background:linear-gradient(135deg, #0f6f8614, transparent 46%), var(--panel-bg);width:min(100%,620px);box-shadow:var(--shadow);border-radius:8px;margin:0 auto;padding:18px}.planned-tool-panel h2{color:var(--heading);margin:0 0 8px;font-size:1rem}.planned-tool-panel p{color:var(--muted);margin:0}.planned-tool-panel code{color:var(--heading);font-weight:700}.frame-search-auth-gate{border:1px solid var(--border);background:var(--panel-bg);width:min(100%,620px);box-shadow:var(--shadow);border-radius:8px;justify-items:start;gap:10px;margin:0 auto;padding:22px;display:grid}.frame-search-auth-gate h2,.frame-search-auth-gate p{margin:0}.frame-search-auth-gate h2{color:var(--heading);font-size:1rem}.frame-search-auth-gate p{color:var(--muted);line-height:1.5}.home-page,.guide-page,.about-page,.changelog-page,.legal-page,.manuals-page,.profile-page,.subscribe-page{align-content:start;gap:22px;padding-top:32px;display:grid}.home-page{justify-items:center;width:min(100%,1040px);margin:0 auto;padding-top:28px}.profile-page{justify-items:center}.subscribe-page{width:min(100%,1040px);margin:0 auto}.home-hero{text-align:center;justify-items:center;gap:8px;width:100%;padding:6px 0 2px;display:grid}.home-hero h1{color:var(--heading);margin:0;font-size:clamp(1.75rem,4vw,3rem);line-height:.98}.home-hero p:last-child{max-width:700px;color:var(--muted);margin:0;font-size:.9rem;line-height:1.55}.home-section{gap:12px;width:100%;display:grid}.section-heading h2,.home-guide-band h2{color:var(--heading);margin:0}.section-heading h2{font-size:1.2rem}.update-panel,.home-guide-band,.tool-link-card{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.update-panel{gap:8px;width:100%;padding:16px;display:grid}.update-panel-meta{flex-wrap:wrap;align-items:baseline;gap:5px 12px;display:flex}.update-panel-meta strong,.update-panel time{color:var(--accent);font-size:.92rem;font-weight:800}.update-panel time{color:var(--muted);font-weight:700}.update-panel ul{color:var(--text);margin:0;padding-left:20px;font-size:.9rem;line-height:1.45}.update-panel li{margin:3px 0}.home-guide-band{border-left:4px solid var(--accent);justify-content:space-between;align-items:center;gap:18px;width:100%;padding:16px;display:flex}.home-guide-band p,.tool-link-card p{color:var(--muted);margin:6px 0 0;font-size:.9rem;line-height:1.5}.tool-card-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;display:grid}.tool-link-card{cursor:pointer;align-content:start;gap:12px;min-height:0;padding:16px;transition:border-color .12s,box-shadow .12s,transform .12s;display:grid}.tool-link-card h3{background:var(--accent);color:var(--nav-text);text-align:center;border-radius:7px 7px 0 0;margin:-16px -16px 0;padding:8px 10px;font-size:1.05rem}.tool-link-card p{min-height:4.5em}.tool-link-card img{aspect-ratio:3/2;border:1px solid var(--border);object-fit:cover;border-radius:6px;width:100%;display:block}.tool-link-card:hover{border-color:var(--accent);box-shadow:0 16px 32px color-mix(in srgb, var(--accent) 18%, transparent);transform:translateY(-2px)}.tool-link-card:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.guide-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.content-page{justify-items:center}.guide-layout{grid-template-columns:220px minmax(0,760px);justify-content:center;align-items:start;gap:16px;width:min(100%,1040px);display:grid}.guide-toc{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px;gap:10px;padding:14px;display:grid;position:sticky;top:76px}.guide-toc h2{color:var(--heading);margin:0;font-size:.95rem}.guide-toc ol{gap:5px;margin:0;padding:0;list-style:none;display:grid}.guide-toc a{color:var(--text);border-radius:6px;padding:6px 8px;font-size:.82rem;font-weight:700;line-height:1.25;text-decoration:none;display:block}.guide-toc a:hover,.guide-toc a:focus-visible{background:var(--button-hover);color:var(--accent-strong)}.guide-toc-sublist{border-left:2px solid color-mix(in srgb, var(--accent) 30%, transparent);gap:3px;margin:2px 0 2px 10px;padding-left:10px;list-style:none;display:grid}.guide-toc-sublist a{color:var(--muted);padding:4px 8px;font-size:.78rem;font-weight:700}.content-document{border:1px solid var(--border);background:var(--panel-bg);width:min(100%,760px);box-shadow:var(--shadow);border-radius:8px;padding:28px}.guide-document{box-shadow:none;background:0 0;border:0;gap:14px;padding:0;display:grid}.guide-section{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px;padding:22px;scroll-margin-top:88px}.guide-section h3[id]{scroll-margin-top:88px}.content-document .guide-section h2{border-top:0;align-items:baseline;gap:10px;margin:0 0 14px;padding-top:0;display:flex}.content-document .guide-section h2 span{color:var(--accent-strong);letter-spacing:.04em;font-size:.95em;font-weight:900}.content-document h1,.content-document h2,.content-document h3,.content-document h4{color:var(--heading);line-height:1.2}.content-document h1{margin:0 0 22px;font-size:2rem}.content-document h2{border-top:1px solid var(--border);margin:30px 0 12px;padding-top:2px;scroll-margin-top:88px;font-size:1.35rem}.content-document h1+h2{border-top:0;margin-top:0}.content-document h3{margin:22px 0 8px;font-size:1.08rem}.content-document h4{margin:18px 0 8px;font-size:.98rem}.content-document p,.content-document li{color:var(--text);font-size:.96rem;line-height:1.65}.content-document p{margin:0 0 12px}.content-document .guide-mode-description,.content-document .guide-subsection-description{margin-left:16px}.content-document ul{margin:0 0 14px;padding-left:22px}.content-document li+li{margin-top:5px}.legal-document{width:min(100%,840px)}.legal-effective-date{border-bottom:1px solid var(--border);padding-bottom:14px;color:var(--muted)!important}.legal-document a,.contact-privacy-note a,.auth-legal-note a{color:var(--accent-strong);font-weight:700}.changelog-document{gap:20px;width:min(100%,900px);display:grid}.changelog-tabs{border:1px solid var(--border);background:var(--input-bg);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;display:grid}.changelog-tabs button{min-height:42px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 14px;font-weight:800}.changelog-tabs button:hover,.changelog-tabs button:focus-visible{color:var(--heading);background:var(--button-hover)}.changelog-tabs button.active{color:#fff;background:var(--accent);box-shadow:0 5px 12px #0f212b24}.changelog-panel{gap:14px;display:grid}.changelog-panel[hidden]{display:none}.changelog-entry,.database-update{border:1px solid var(--border);background:color-mix(in srgb, var(--panel-bg) 92%, var(--page-bg) 8%);border-radius:8px;padding:18px}.changelog-entry-heading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.content-document .changelog-entry h2{border:0;margin:0;padding:0;font-size:1.18rem}.changelog-entry time,.database-update-heading time{color:var(--muted);margin-top:4px;font-size:.86rem;font-weight:750;display:inline-block}.content-document .database-update-heading{border:0;margin:0;padding:0;font-size:.86rem}.changelog-entry ul{margin:12px 0 0}.current-version-badge{background:color-mix(in srgb, var(--accent) 15%, transparent);color:var(--accent-strong);text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:900}.database-history-note{border-left:4px solid var(--accent);background:var(--highlight-bg);border-radius:6px;padding:12px 14px;color:var(--muted)!important;margin:0!important}.database-update>p{margin:7px 0 14px}.database-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.database-brand-grid section{border:1px solid var(--border);background:var(--panel-bg);border-radius:6px;padding:11px 12px}.content-document .database-brand-grid h3{color:var(--accent-strong);margin:0 0 6px;font-size:.94rem}.database-brand-grid ul{margin:0;padding-left:18px}.database-brand-grid li{font-size:.88rem;line-height:1.45}.contact-privacy-note,.auth-legal-note{color:var(--muted);margin:0;font-size:.78rem;line-height:1.5}@media (width<=640px){.legal-document,.changelog-document{padding:20px}.database-brand-grid{grid-template-columns:1fr}.changelog-tabs button{padding-inline:8px;font-size:.84rem}}.about-tool-list{gap:14px;margin-bottom:18px;display:grid}.about-tool-list section{border-bottom:1px solid var(--border);padding-bottom:12px}.about-tool-list section:last-child{border-bottom:0;padding-bottom:0}.about-tool-list h3{color:var(--heading);margin:0 0 4px;font-size:1rem;font-weight:800}.about-tool-list p{margin:0}.contact-section{margin-top:30px}.contact-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.contact-form label{color:var(--heading);gap:8px;font-weight:700;display:grid}.contact-form span em{color:var(--danger);font-style:normal}.contact-form input,.contact-form select,.contact-form textarea{border:1px solid var(--border);background:var(--input-bg);width:100%;color:var(--heading);font:inherit;border-radius:7px}.contact-form input,.contact-form select{min-height:42px;padding:8px 10px}.contact-form textarea{resize:vertical;min-height:190px;padding:10px}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus);outline:none}.contact-form-full,.contact-form-footer{grid-column:1/-1}.contact-form-footer{align-items:center;gap:12px;display:flex}.contact-honeypot{display:none}.contact-status{margin:0;font-size:.9rem;font-weight:750}.contact-status.success{color:var(--positive)}.contact-status.error{color:var(--danger)}@media (width<=640px){.contact-form{grid-template-columns:1fr}.contact-form-footer{flex-direction:column;align-items:stretch}}.guide-measurement-figure{border:1px solid var(--border);background:#fff;border-radius:8px;margin:18px 0;padding:10px}.guide-measurement-figure img{border-radius:6px;width:100%;height:auto;display:block}.manuals-document{min-height:220px}.manuals-embed{justify-items:center;margin-top:18px;display:grid}.manuals-embed iframe{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;height:640px}.subscribe-header p{max-width:760px}.subscribe-pricing{grid-template-columns:repeat(2,minmax(260px,1fr));align-items:stretch;gap:14px;display:grid}.subscribe-plan-card,.subscribe-auth-note,.subscribe-comparison{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.subscribe-plan-card{grid-template-rows:auto minmax(72px,auto) auto auto 1fr auto;align-content:stretch;gap:14px;height:100%;padding:20px;display:grid;position:relative}.subscribe-plan-card.is-featured{border-color:color-mix(in srgb, var(--accent) 55%, var(--border));box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent), var(--shadow)}.subscribe-plan-badge{background:var(--accent);color:#fff;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:850;position:absolute;top:-11px;left:20px}.subscribe-plan-card h2{color:var(--heading);text-align:center;margin:0;font-size:1.45rem}.subscribe-plan-card p{min-height:48px;color:var(--muted);text-align:center;margin:0;font-size:.9rem;line-height:1.5}.subscribe-billing-toggle{border:1px solid var(--border);background:var(--result-bg);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.subscribe-billing-toggle button{min-height:34px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:.84rem;font-weight:800}.subscribe-billing-toggle button[aria-pressed=true]{background:var(--accent);color:#fff}.subscribe-billing-toggle span{font-size:.72rem;font-weight:700}.subscribe-price{justify-content:center;align-items:baseline;gap:7px;display:flex}.subscribe-price span{color:var(--muted);font-size:1rem;text-decoration:line-through}.subscribe-price strong{color:var(--accent-strong);font-size:2.2rem;line-height:1}.subscribe-price small{color:var(--muted);font-size:.9rem;font-weight:750}.subscribe-plan-card ul{align-content:start;gap:8px;margin:0;padding:0;list-style:none;display:grid}.subscribe-plan-card li{color:var(--text);font-size:.9rem;line-height:1.4}.subscribe-plan-card li:before{content:"+";color:var(--positive);margin-right:8px;font-weight:900}.subscribe-plan-button{border:1px solid var(--accent);background:var(--accent);color:#fff;min-height:42px;font:inherit;cursor:pointer;border-radius:7px;align-self:end;margin-top:4px;font-weight:850}.subscribe-plan-button:disabled{cursor:not-allowed;opacity:.58}.subscribe-auth-note{align-items:center;gap:12px;padding:14px;display:flex}.subscribe-auth-note strong{color:var(--heading)}.subscribe-auth-note span,.subscribe-status{color:var(--muted);line-height:1.45}.subscribe-auth-note .icon-text-button{margin-left:auto}.subscribe-status{margin:-6px 0 0;font-weight:750}.subscribe-comparison{gap:12px;padding:18px;display:grid}.subscribe-comparison .comparison-header h2{color:var(--heading);margin:0;font-size:1.25rem}.subscribe-table-wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}.subscribe-table{border-collapse:collapse;table-layout:fixed;background:var(--panel-bg);width:100%;min-width:760px}.subscribe-table th,.subscribe-table td{border-bottom:1px solid var(--border);color:var(--text);text-align:center;vertical-align:middle;overflow-wrap:anywhere;padding:10px 12px;font-size:.9rem}.subscribe-table th:first-child,.subscribe-table td:first-child{text-align:left;width:46%}.subscribe-table th:not(:first-child),.subscribe-table td:not(:first-child){width:18%}.subscribe-table th{background:var(--result-bg);color:var(--heading);font-weight:850}.subscribe-checkmark{color:var(--positive);font-size:1.05rem;font-weight:900}.subscribe-category-row td{background:color-mix(in srgb, var(--result-bg) 82%, var(--accent) 18%);color:var(--heading);text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;font-weight:850}.profile-grid{grid-template-columns:minmax(250px,1fr) minmax(0,2fr);align-items:start;gap:14px;width:min(100%,1120px);margin:0 auto;display:grid}.profile-grid-no-database{grid-template-columns:minmax(0,520px);justify-content:center}.profile-grid-no-database .profile-settings-column,.profile-grid-no-database .profile-support-grid{grid-column:1}.profile-grid-no-database .profile-support-grid{grid-template-columns:1fr}.profile-settings-column,.profile-database-column{align-content:start;gap:14px;min-width:0;display:grid}.profile-database-column{grid-template-rows:auto minmax(0,1fr);align-self:stretch}.profile-support-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px;min-width:0;display:grid}.profile-settings-column .profile-account-panel{order:1}.profile-settings-column .profile-subscription-panel{order:2}.profile-settings-column .profile-theme-panel{order:3}.profile-settings-column .profile-password-panel{order:4}.profile-settings-column>.profile-panel,.profile-database-column>.profile-panel{grid-area:auto/1}.profile-support-grid>.profile-panel{grid-area:auto}.profile-account-panel{grid-area:1/1/auto/span 4}.profile-theme-panel{grid-area:2/1/auto/span 4}.profile-subscription-panel{grid-area:3/1/auto/span 4}.profile-password-panel{grid-area:4/1/auto/span 4}.profile-custom-database-panel{grid-area:1/5/auto/span 8}.profile-brand-manager-panel{grid-area:2/5/auto/span 8}.profile-logo-panel{grid-area:3/5/auto/span 4}.profile-export-panel{grid-area:3/9/auto/span 4}.profile-danger-panel{grid-area:auto}.profile-brand-manager-panel>p{font-size:.84rem;line-height:1.35}.profile-brand-manager-panel{grid-template-rows:auto auto auto minmax(0,1fr) auto;min-height:0}.profile-logo-file-types{color:var(--muted);font-size:.76rem;line-height:1.35}.profile-logo-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.profile-logo-actions>*{justify-content:center;min-width:0}.profile-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px;align-content:start;gap:12px;padding:16px;display:grid}.profile-panel-narrow{width:min(100%,520px);margin:0 auto}.profile-panel h2{color:var(--heading);margin:0;font-size:1rem}.profile-panel-heading-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.text-button{min-height:0;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.84rem;font-weight:800}.text-button:hover{text-decoration:underline}.profile-panel p{color:var(--muted);margin:0;line-height:1.5}.profile-field{color:var(--muted);gap:6px;font-size:.84rem;font-weight:800;display:grid}.profile-field input{border:1px solid var(--border);background:var(--input-bg);min-height:38px;color:var(--heading);font:inherit;border-radius:8px;padding:8px 10px}.profile-field input:read-only,.profile-field input:disabled{opacity:.72}.profile-contact-info-note{color:var(--muted);font-size:.76rem;font-weight:600;line-height:1.35}.profile-actions{flex-wrap:wrap;gap:8px;display:flex}.profile-subscription-actions .icon-text-button{flex:none;width:100%}.profile-subscription-actions{flex-direction:column}.theme-profile-grid{justify-content:center}.profile-custom-bike-list{gap:6px;display:grid}.profile-brand-manager-list{grid-template-rows:repeat(auto-fill,minmax(28px,28px));grid-auto-rows:28px;grid-auto-columns:190px;grid-auto-flow:column;align-content:start;align-self:stretch;gap:4px 8px;height:auto;min-height:0;padding:2px 2px 8px;display:grid;overflow:auto hidden}.profile-brand-manager-select-all{width:fit-content;color:var(--heading);align-items:center;gap:7px;font-size:.82rem;font-weight:800;display:flex}.profile-brand-manager-select-all input{width:15px;height:15px;accent-color:var(--accent)}.profile-brand-manager-list .profile-check{border-color:var(--border);background:var(--input-bg);gap:6px;width:auto;min-width:0;height:28px;min-height:0;padding:4px 7px;font-size:.78rem;font-weight:600}.profile-brand-manager-list .profile-check input{width:14px;height:14px;accent-color:var(--accent)}.profile-brand-manager-list .profile-check span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-custom-bike-row{border:1px solid var(--border);background:var(--input-bg);min-height:38px;color:var(--text);border-radius:8px;grid-template-columns:minmax(90px,.75fr) minmax(130px,1fr) minmax(110px,.9fr);align-items:center;gap:10px;padding:8px 10px;font-size:.84rem;display:grid}.profile-custom-bike-row strong,.profile-custom-bike-row span{overflow-wrap:anywhere;min-width:0}.profile-custom-bike-row strong{color:var(--heading);font-weight:800}.profile-custom-bike-header{min-height:26px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;background:0 0;border-color:#0000;padding-block:2px;font-size:.76rem;font-weight:850}.profile-actions label.icon-text-button{position:relative;overflow:hidden}.profile-actions label.icon-text-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.profile-actions label.icon-text-button.disabled{cursor:not-allowed;opacity:.58}.profile-logo-preview{border:1px dashed var(--border);background:var(--input-bg);width:112px;height:72px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.profile-logo-preview img{object-fit:contain;max-width:96px;max-height:56px}.profile-status{color:var(--muted);font-size:.84rem;font-weight:700}.profile-provider-note{border:1px solid var(--border);background:var(--input-bg);border-radius:8px;padding:10px 12px;font-size:.84rem}.profile-danger-verification{gap:10px;display:grid}.profile-danger-verification .icon-text-button{width:100%}.auth-dialog-backdrop{z-index:1400;background:#0d1b2275;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.auth-dialog{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;gap:14px;width:min(100%,430px);padding:24px;display:grid;position:relative;box-shadow:0 24px 70px #0000003d}.auth-dialog h2{color:var(--heading);margin:0;font-size:1.25rem}.auth-dialog p{color:var(--muted);margin:-6px 0 0;line-height:1.45}.auth-dialog-close{border:1px solid var(--border);background:var(--input-bg);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:999px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.auth-dialog-tabs{border:1px solid var(--border);background:var(--input-bg);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:4px;display:grid}.auth-dialog-tabs button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-weight:800}.auth-dialog-tabs button.active{background:var(--panel-bg);color:var(--heading);box-shadow:0 8px 18px #00000014}.auth-dialog-form{gap:12px;display:grid}.auth-dialog-form label{color:var(--muted);gap:6px;font-size:.84rem;font-weight:800;display:grid}.auth-dialog-form input{border:1px solid var(--border);background:var(--input-bg);min-height:42px;color:var(--heading);font:inherit;border-radius:8px;padding:0 12px}.auth-password-requirements{color:var(--muted);font-size:.78rem;font-weight:650;line-height:1.35}.auth-forgot-button{justify-self:end;margin-top:-5px}.auth-dialog-form .icon-text-button,.auth-google-button{justify-content:center;min-height:42px}.auth-dialog-form .icon-text-button{background:var(--accent);border-color:var(--accent);color:#fff}.auth-dialog-form .icon-text-button:hover:not(:disabled){background:var(--accent-strong)}.auth-dialog-divider{color:var(--muted);text-transform:uppercase;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:.78rem;font-weight:800;display:grid}.auth-dialog-divider:before,.auth-dialog-divider:after{content:"";background:var(--border);height:1px}.auth-dialog-status{color:var(--negative);background:#d24e3414;border:1px solid #d24e3442;border-radius:8px;margin:0;padding:10px 12px;font-weight:800}.profile-export-backdrop{z-index:60;background:#0d1b226b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.profile-export-dialog{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;gap:16px;width:min(100%,540px);padding:24px;display:grid;position:relative;box-shadow:0 24px 70px #00000038}.profile-export-dialog h2{color:var(--heading);margin:0;font-size:1.15rem}.profile-export-dialog p{color:var(--muted);margin:-8px 0 0;line-height:1.5}.profile-export-close{border:1px solid var(--border);background:var(--input-bg);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:999px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.profile-export-section{gap:8px;display:grid}.profile-export-label,.profile-export-field span{color:var(--heading);font-size:.82rem;font-weight:800}.profile-export-format-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.profile-export-format{border:1px solid var(--border);background:var(--input-bg);min-height:72px;color:var(--heading);cursor:pointer;border-radius:8px;place-items:center;gap:4px;padding:8px;display:grid}.profile-export-format[aria-pressed=true]{border-color:var(--accent);background:var(--highlight-bg);color:var(--accent-strong)}.profile-export-format span{color:var(--muted);font-size:.72rem;font-weight:700}.profile-export-controls,.profile-export-date-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;display:grid}.profile-export-controls p{margin:0;padding-bottom:8px;font-size:.84rem}.profile-export-field{gap:6px;display:grid}.profile-export-field small{color:var(--muted);font-weight:600}.profile-export-field input,.profile-export-field select{border:1px solid var(--border);background:var(--input-bg);width:100%;min-height:38px;color:var(--heading);font:inherit;border-radius:8px;padding:8px 10px}.profile-export-loading,.profile-export-error{color:var(--muted);text-align:center;padding:18px 0;font-size:.9rem}.profile-export-error{color:var(--danger);text-align:left;padding:8px 0}.profile-export-actions{justify-content:flex-end;gap:8px;display:flex}.theme-profile-grid{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.profile-check{width:fit-content;max-width:100%;color:var(--text);background:#ff3b300d;border:1px solid #ff3b3038;border-radius:8px;align-items:center;gap:10px;padding:9px 11px;font-size:.9rem;font-weight:700;line-height:1.3;display:flex}.profile-check input{accent-color:#ff3b30;flex:none;width:17px;height:17px}.profile-check span{min-width:0}.profile-danger{border-color:#ff3b3057}.icon-text-button.danger{color:#c1261f;border-color:#ff3b3061}.delete-hold-button{position:relative;overflow:hidden}.delete-hold-button:before{content:"";opacity:.96;transform:scaleX(var(--delete-progress,0));transform-origin:0;background:#ff3b30;transition:transform 70ms linear;position:absolute;inset:0}.delete-hold-button>*{z-index:1;position:relative}.delete-hold-button.is-holding{color:#fff;border-color:#ff3b30}.icon-text-button,.icon-button{border:1px solid var(--border);background:var(--button-bg);color:var(--heading);cursor:pointer;transition:background .14s,border-color .14s,transform .14s}.icon-text-button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:700;display:inline-flex}.icon-button{border-radius:999px;place-items:center;width:28px;height:28px;padding:0;line-height:0;display:grid}.icon-button svg{display:block}.icon-text-button:hover,.icon-button:hover{background:var(--button-hover);border-color:var(--accent)}.icon-text-button:active,.icon-button:active{transform:translateY(1px)}.danger{color:var(--danger)}.workspace{grid-template-columns:minmax(0,3fr) minmax(320px,2fr);align-items:start;gap:18px;max-width:none;margin:0;display:grid}.stem-workspace{grid-template-columns:minmax(0,1fr) minmax(420px,1fr);width:min(100%,1320px);margin:0 auto}.stem-workspace.has-many-stems{grid-template-columns:minmax(0,1fr) minmax(420px,640px);justify-content:center;width:min(100%,100vw - 32px)}.stem-grid{flex-wrap:wrap;justify-content:center;align-items:start;gap:8px;max-width:100%;display:flex}.stem-card,.visual-panel,.mobile-comparison-card{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.stem-card{border-top:4px solid var(--stem-card-color,var(--accent));flex:0 0 240px;max-width:100%;padding:10px}.stem-card-header,.visual-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.stem-card-header{min-height:30px}.stem-card h2,.visual-header h2{color:var(--heading);margin:0;font-size:1rem}.reference-pill{color:var(--accent-strong);background:#d89c2b2e;border-radius:999px;padding:3px 8px;font-size:.78rem;font-weight:700}.fields{gap:6px;margin-top:10px;display:grid}.field{border:1px solid #0000;border-radius:8px;grid-template-columns:108px 90px;align-items:center;gap:5px;padding:4px 6px;display:grid}.field.is-different{border-color:var(--highlight-border);background:var(--highlight-bg)}.field span{white-space:nowrap;font-size:.76rem;font-weight:700}.input-row{grid-template-columns:minmax(0,1fr) 25px;align-items:center;gap:4px;display:grid}input{box-sizing:border-box;border:1px solid var(--border);background:var(--input-bg);width:100%;color:var(--heading);font:inherit;border-radius:8px;min-height:30px;padding:4px 8px}input:focus{outline:2px solid var(--focus);outline-offset:1px}select{border:1px solid var(--border);background:var(--input-bg);width:100%;min-height:34px;color:var(--heading);font:inherit;border-radius:8px;padding:4px 8px}select:focus{outline:2px solid var(--focus);outline-offset:1px}.results{grid-template-columns:1fr;gap:6px;margin-top:10px;display:grid}.result-block{background:linear-gradient(90deg, #0b728514, transparent), var(--result-bg);border-radius:8px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:7px;display:grid}.result-block strong{color:var(--heading);font-size:1.08rem;line-height:1}.result-block strong small{color:var(--muted);margin-left:3px;font-size:.82rem}.delta{grid-column:2;min-height:16px;font-size:.72rem;font-weight:800}.delta.positive{color:var(--positive)}.delta.negative{color:var(--negative)}.mobile-comparison-card{display:none}.visual-panel{justify-self:end;width:min(100%,640px);padding:16px}.stem-visual-svg{aspect-ratio:7/6;border:1px solid var(--border);background:var(--input-bg);border-radius:8px;width:100%;max-width:100%;height:auto;margin:16px auto 0;display:block}.stem-visual-bg{fill:var(--input-bg)}.stem-visual-grid line{stroke-width:1px}.stem-visual-axis line{stroke-dasharray:8 8;stroke-width:1.5px}.stem-visual-grid-label{font-size:28px;font-weight:700}.stem-measurements line{stroke:var(--stem-measure-color);stroke-dasharray:10 10;stroke-width:3px}.stem-measurement-label{fill:var(--stem-measure-color);paint-order:stroke;stroke:#ffffffe6;stroke-linejoin:round;stroke-width:3px;font-size:26px;font-weight:700}:root[data-theme=dark] .stem-measurement-label{stroke:#181c22e6}.stem-measurement-dot{fill:var(--stem-measure-color)}.stem-drawing polyline{stroke-width:6px}.stem-drawing-line{stroke:var(--stem-color);stroke-linecap:round;stroke-width:6px}.stem-drawing-handlebar{fill:#0000;stroke:var(--stem-color);stroke-width:4px}.stem-drawing-dot{fill:var(--stem-color)}.legend{flex-wrap:wrap;justify-content:center;gap:10px 16px;margin-top:14px;display:flex}.legend-item{color:var(--muted);align-items:center;gap:6px;font-size:.9rem;font-weight:700;display:inline-flex}.legend-swatch{border:1px solid #0003;border-radius:999px;width:14px;height:14px}.visual-note{color:var(--muted);text-align:center;margin:8px 0 0;font-size:.78rem;font-weight:700}.pad-xy-workspace{grid-template-columns:360px minmax(0,655px);align-items:start;gap:12px;width:min(100%,1027px);margin:0 auto;display:grid}.pad-xy-workspace.is-subscription-preview .pad-xy-panel,.y1rs-workspace.is-subscription-preview>:not(.subscription-lock-notice),.y1rs-prescriptions.is-subscription-preview{opacity:.58;filter:grayscale(.25)}.pad-xy-workspace.is-subscription-preview input,.pad-xy-workspace.is-subscription-preview button,.y1rs-workspace.is-subscription-preview input,.y1rs-workspace.is-subscription-preview button{cursor:not-allowed}.subscription-lock-notice{border:1px solid color-mix(in srgb, var(--accent) 36%, var(--border));background:color-mix(in srgb, var(--accent) 10%, var(--panel-bg));color:var(--heading);text-align:center;border-radius:8px;grid-column:1/-1;padding:12px 14px;font-weight:700}.pad-xy-side{gap:8px;display:grid}.pad-xy-panel,.pad-xy-disclaimers{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.pad-xy-panel{gap:10px;padding:10px;display:grid}.pad-xy-select,.pad-xy-control{gap:6px;display:grid}.pad-xy-control-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.pad-xy-select>span,.pad-xy-control-top>span{color:var(--heading);font-size:.8rem;font-weight:900}.pad-xy-select select{min-height:30px;padding:3px 7px;font-size:.93rem}.pad-xy-number-row{align-items:center;gap:6px;display:inline-flex}.pad-xy-number-row input{font-variant-numeric:tabular-nums;text-align:center;width:92px;min-height:32px;font-size:.92rem}.pad-xy-number-row small{text-align:left;min-width:18px;font-size:.78rem}.pad-xy-number-row small,.pad-xy-note,.pad-xy-resource-links a,.pad-xy-graph-header p,.pad-xy-graph-header span,.pad-xy-disclaimers li{color:var(--muted)}.pad-xy-slider{accent-color:var(--accent)}.pad-xy-saddle-section{border-top:1px solid var(--border);gap:12px;margin-top:6px;padding-top:16px;display:grid}.pad-xy-saddle-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:2px;display:grid}.pad-xy-saddle-results>div{border:1px solid var(--border);background:var(--result-bg);border-radius:7px;gap:3px;padding:8px 10px;display:grid}.pad-xy-saddle-results span{color:var(--muted);font-size:.72rem;font-weight:800}.pad-xy-saddle-results strong{color:var(--heading);font-variant-numeric:tabular-nums;font-size:.92rem}.pad-xy-resource-links{flex-wrap:wrap;justify-content:center;gap:8px 12px;display:flex}.pad-xy-resource-links a{align-items:center;gap:4px;font-size:.82rem;font-weight:800;text-decoration:none;display:inline-flex}.pad-xy-resource-links a:hover{color:var(--accent)}.pad-xy-note{text-align:center;margin:-4px 0 0;font-size:.82rem;font-style:italic;line-height:1.4}.pad-xy-note strong{color:var(--heading)}.pad-xy-loading,.pad-xy-error{min-height:76px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;margin:0;font-weight:800;display:flex}.pad-xy-loading svg{animation:.85s linear infinite spin}.pad-xy-error{color:var(--danger)}.pad-xy-results-panel{grid-column:1/-1;padding:0;overflow:auto hidden}.pad-xy-results-table{border-collapse:collapse;width:100%;font-size:.88rem}.pad-xy-results-table th,.pad-xy-results-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:10px 12px}.pad-xy-results-table th{background:var(--result-bg);color:var(--heading);font-size:.78rem;font-weight:900}.pad-xy-results-table td{color:var(--text);font-weight:750}.pad-xy-results-table td:nth-child(2),.pad-xy-results-table td:nth-child(3),.pad-xy-results-table td:nth-child(4),.pad-xy-results-table td:nth-child(5){white-space:nowrap}.pad-xy-results-table th:first-child,.pad-xy-results-table td:first-child{white-space:nowrap;width:80px;min-width:80px;padding-right:24px}.pad-xy-results-table td:first-child{align-items:center;gap:7px;display:flex}.pad-xy-results-table tr:last-child td{border-bottom:0}.pad-xy-results-table tr.is-in-range{background:color-mix(in srgb, var(--positive) 12%, transparent)}.pad-xy-size-indicator{border-radius:3px;flex:0 0 12px;width:12px;height:12px;margin-right:0;display:inline-block}.pad-xy-results-table .status-in{color:var(--positive)}.pad-xy-results-table .status-out{color:var(--danger)}.pad-xy-graph-panel{border:1px solid var(--border);background:var(--panel-bg);width:100%;min-width:0;box-shadow:var(--shadow);border-radius:8px;justify-items:center;padding:12px}.pad-xy-disclaimers h2{color:var(--heading);margin:0;font-size:1rem}.pad-xy-disclaimers ul{margin:4px 0 0}.pad-xy-graph-wrap{background:var(--panel-bg);width:min(100%,629px);min-width:0;overflow-x:auto}.pad-xy-graph{text-rendering:geometricprecision;width:100%;min-width:520px;height:auto;display:block}.pad-xy-plot-bg{fill:var(--panel-bg)}.pad-xy-plot-area{fill:var(--input-bg)}.pad-xy-grid-line{stroke:var(--border);stroke-width:1px;shape-rendering:crispedges}.pad-xy-axis{stroke:var(--heading);stroke-width:2px;shape-rendering:crispedges}.pad-xy-axis-label{fill:var(--heading);font-size:12px;font-weight:500}.pad-xy-axis-title{fill:var(--heading);font-size:12px;font-weight:700}.pad-xy-size-label{fill:var(--heading);text-anchor:middle;font-size:12px;font-weight:700}.pad-xy-target line{stroke:var(--danger);stroke-linecap:round;stroke-width:3px}.pad-xy-legend{background:var(--panel-bg);border-radius:0 0 8px 8px;flex-wrap:wrap;justify-content:center;gap:9px 14px;width:min(100%,629px);margin:-14px 0 0;padding:0 10px 2px;display:flex}.pad-xy-legend-item{color:var(--muted);align-items:center;gap:6px;font-size:.84rem;font-weight:800;display:inline-flex}.pad-xy-legend-color{border:2px solid;border-radius:3px;width:15px;height:12px}.pad-xy-disclaimers{gap:8px;width:min(100%,900px);margin:18px auto 0;padding:16px;display:grid}.pad-xy-disclaimers ul{padding-left:20px}.pad-xy-disclaimers li{line-height:1.5}.bike-search-workspace{grid-template-columns:minmax(250px,280px) minmax(0,1fr);align-items:start;gap:18px;max-width:1480px;margin:0 auto;display:grid}.bike-prescriber-workspace{grid-template-columns:minmax(285px,315px) minmax(0,1fr);width:max-content;max-width:100%;margin-inline:auto}.bike-prescriber-workspace.is-bike-prescriber-locked .bike-search-panel,.bike-prescriber-workspace.is-bike-prescriber-locked .bike-results-panel{filter:grayscale(.6);opacity:.52}.bike-prescriber-workspace.is-bike-prescriber-locked input,.bike-prescriber-workspace.is-bike-prescriber-locked button,.bike-prescriber-workspace.is-bike-prescriber-locked summary{cursor:not-allowed}.bike-prescriber-panel{grid-template-columns:1fr;grid-template-areas:"target""bike""cockpit""geometry""actions";justify-self:stretch;align-items:start;gap:10px;width:100%;max-width:100%}.bike-prescriber-panel .bike-filter-section{min-width:0}.bike-prescriber-target-section{grid-area:target}.bike-prescriber-cockpit-section{grid-area:cockpit}.bike-prescriber-bike-filter-section{grid-area:bike}.bike-prescriber-geometry-section{grid-area:geometry}.bike-prescriber-panel .bike-search-actions{grid-area:actions}.bike-search-panel,.bike-results-panel{border:1px solid var(--border);background:var(--panel-bg);min-width:0;box-shadow:var(--shadow);border-radius:8px}.bike-search-panel{gap:10px;padding:10px;display:grid}.bike-filter-section{gap:6px;display:grid}.bike-section-heading,.bike-checkbox-group legend{justify-content:space-between;align-items:center;gap:10px;display:flex}.bike-section-heading{border-bottom:1px solid var(--border);min-height:22px}.bike-filter-section h2,.bike-results-header h2{color:var(--heading);margin:0;font-size:.96rem}.bike-prescriber-panel .bike-filter-section h2{font-weight:700}.bike-parameter-grid{gap:8px;display:grid}.bike-measure-pair,.bike-filter-card{border:1px solid var(--border);background:var(--input-bg);border-radius:8px;min-width:0;margin:0;padding:7px}.bike-measure-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.bike-measure-pair legend{color:var(--heading);padding:0 5px;font-size:.82rem;font-weight:900}.bike-filter-card{gap:8px;display:grid}.bike-geometry-card{gap:10px}.bike-prescriber-bounds-card{grid-template-columns:1fr;width:100%}.bike-prescriber-cockpit-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;width:100%}.bike-prescriber-cockpit-card .bike-prescriber-option-dropdown{grid-column:1/-1;grid-template-columns:minmax(102px,.72fr) minmax(0,1fr);align-items:end;gap:3px 8px;width:100%}.bike-prescriber-cockpit-card .bike-prescriber-option-menu{top:var(--option-menu-top,12px);left:var(--option-menu-left,16px);width:220px;max-height:var(--option-menu-max-height,calc(100vh - 24px));position:fixed}.bike-prescriber-cockpit-card .bike-prescriber-slider-pair{grid-column:1/-1}.bike-prescriber-bike-filter-section .bike-filter-card{grid-template-columns:1fr;align-items:start;gap:7px;width:100%}.bike-prescriber-bike-filter-section .bike-prescriber-filter-dropdown{grid-template-columns:minmax(74px,.55fr) minmax(0,1fr);align-items:end;gap:3px 8px;width:100%}.bike-prescriber-bike-filter-section .bike-prescriber-filter-dropdown .bike-prescriber-option-menu{top:var(--filter-menu-top,12px);left:var(--filter-menu-left,16px);box-sizing:border-box;width:min(220px,100vw - 24px);max-height:var(--filter-menu-max-height,calc(100vh - 24px));position:fixed}.bike-prescriber-bike-filter-section .bike-prescriber-filter-dropdown-brands .bike-prescriber-option-menu{width:min(240px,100vw - 24px)}.bike-search-panel>.bike-filter-section .bike-prescriber-filter-dropdown{grid-template-columns:minmax(74px,.55fr) minmax(0,1fr);align-items:end;gap:3px 8px;width:100%}.bike-search-panel>.bike-filter-section .bike-prescriber-filter-dropdown .bike-prescriber-option-menu{top:var(--filter-menu-top,12px);left:var(--filter-menu-left,16px);width:220px;max-height:var(--filter-menu-max-height,calc(100vh - 24px));position:fixed}.bike-search-panel>.bike-filter-section .bike-prescriber-filter-dropdown-brands .bike-prescriber-option-menu{width:270px}.bike-prescriber-panel .bike-number-field{max-width:112px}.bike-prescriber-panel .bike-number-field div{grid-template-columns:72px auto;justify-content:start}.bike-prescriber-panel .bike-number-field input{width:72px;min-width:0}.bike-prescriber-panel input[type=number]{appearance:textfield}.bike-prescriber-panel input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.bike-prescriber-panel input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.bike-prescriber-target-card{grid-template-columns:minmax(92px,1fr) repeat(2,minmax(0,72px));align-items:center;gap:7px 6px;width:100%}.bike-prescriber-target-heading{color:var(--muted);text-align:center;font-size:.74rem;font-weight:650}.bike-prescriber-target-label{min-width:0;color:var(--heading);white-space:nowrap;font-size:.8rem;font-weight:700;line-height:1.1}.bike-prescriber-target-label-wide{grid-column:1/3}.bike-prescriber-target-input{grid-template-columns:minmax(0,46px) auto;align-items:center;gap:4px;min-width:0;display:grid}.bike-prescriber-target-input input{font-variant-numeric:tabular-nums;width:46px;min-width:0;padding:6px;font-size:.88rem;line-height:1.15}.bike-prescriber-target-input small{color:var(--muted);white-space:nowrap;font-size:.68rem;font-weight:650;line-height:1}.bike-prescriber-target-input-wide{grid-column:3/4}.bike-prescriber-required-note{color:var(--muted);grid-column:1/-1;font-size:.68rem;font-weight:650}.bike-prescriber-option-group,.bike-prescriber-option-dropdown{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.bike-prescriber-option-group legend,.bike-prescriber-dropdown-label{color:var(--muted);grid-column:1/-1;padding:0;font-size:.76rem;font-weight:650}.bike-prescriber-cockpit-card .bike-prescriber-dropdown-label,.bike-prescriber-bike-filter-section .bike-prescriber-dropdown-label,.bike-search-panel>.bike-filter-section .bike-prescriber-filter-dropdown .bike-prescriber-dropdown-label{grid-column:auto;align-self:center;padding-bottom:1px}.bike-prescriber-cockpit-card .bike-prescriber-option-dropdown details,.bike-prescriber-bike-filter-section .bike-prescriber-filter-dropdown details,.bike-search-panel>.bike-filter-section .bike-prescriber-filter-dropdown details{min-width:0}.bike-prescriber-option-group legend{justify-content:space-between;align-items:center;gap:10px;display:flex}.bike-prescriber-option-group legend span{align-items:baseline;gap:6px;display:inline-flex}.bike-prescriber-option-group legend small{color:var(--accent);font-size:.7rem;font-weight:700}.bike-prescriber-option-group legend button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:.74rem;font-weight:650}.bike-prescriber-option-dropdown,.bike-prescriber-option-dropdown details{position:relative}.bike-prescriber-option-dropdown summary{border:1px solid var(--border);background:var(--panel-bg);min-height:36px;color:var(--heading);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;font-size:.84rem;font-weight:700;list-style:none;display:flex}.bike-prescriber-option-dropdown summary::-webkit-details-marker{display:none}.bike-prescriber-option-dropdown summary svg{color:var(--accent);flex:none;transition:transform .16s}.bike-prescriber-option-dropdown details[open] summary{border-color:var(--accent);background:var(--selected);color:var(--accent-strong)}.bike-prescriber-option-dropdown details[open] summary svg{transform:rotate(180deg)}.bike-prescriber-option-menu{z-index:30;border:1px solid var(--border);background:var(--panel-bg);width:160px;max-height:360px;box-shadow:var(--shadow);border-radius:8px;gap:8px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:auto;overflow:auto}.bike-prescriber-option-menu-header{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:.74rem;font-weight:650;display:flex}.bike-prescriber-option-menu-header button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:.74rem;font-weight:700}.bike-prescriber-option-choices{grid-template-columns:1fr;gap:6px;display:grid}.bike-prescriber-option-group>div{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:6px;display:grid}.bike-prescriber-option-choice{border:1px solid var(--border);background:var(--panel-bg);min-width:0;min-height:34px;color:var(--heading);cursor:pointer;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;padding:5px 8px;font-size:.82rem;font-weight:650;display:grid}.bike-prescriber-option-choice input{width:16px;height:16px;min-height:auto}.bike-prescriber-option-choice:has(input:checked){border-color:var(--accent);background:var(--selected);color:var(--accent-strong)}.bike-prescriber-custom-option{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;display:grid}.bike-prescriber-custom-option label{gap:4px;min-width:0;display:grid}.bike-prescriber-custom-option label span{color:var(--muted);font-size:.72rem;font-weight:650}.bike-prescriber-custom-option input{font-variant-numeric:tabular-nums;min-width:0}.bike-prescriber-custom-option button{border:1px solid var(--border);background:var(--button-bg);min-height:30px;color:var(--heading);cursor:pointer;border-radius:8px;padding:4px 10px;font-size:.78rem;font-weight:700}.bike-prescriber-custom-option button:hover{border-color:var(--accent);background:var(--button-hover)}.bike-range-control{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.bike-range-control legend{justify-content:space-between;align-items:baseline;gap:10px;width:100%;padding:0;display:flex}.bike-range-control legend span,.bike-range-control legend strong{font-size:.76rem;font-weight:650}.bike-range-control legend span{color:var(--muted)}.bike-range-control legend strong{color:var(--heading);white-space:nowrap}.double-slider{--slider-thumb-size:18px;--slider-track-height:6px;height:var(--slider-thumb-size);margin:2px calc(var(--slider-thumb-size) / 2);align-items:center;display:grid;position:relative}.double-slider:before,.double-slider:after{content:"";z-index:0;height:var(--slider-track-height);pointer-events:none;border-radius:999px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.double-slider:before{background:var(--result-bg);border:1px solid var(--border)}.double-slider:after{left:var(--range-left);width:var(--range-width);background:var(--accent);right:auto}.single-slider{--range-left:0%}.double-slider input{z-index:1;top:0;left:calc(var(--slider-thumb-size) / -2);width:calc(100% + var(--slider-thumb-size));min-height:var(--slider-thumb-size);pointer-events:none;appearance:none;background:0 0;border:0;margin:0;padding:0;position:absolute}.double-slider input:focus{outline:0}.double-slider input::-webkit-slider-runnable-track{height:var(--slider-track-height);background:0 0}.double-slider input::-webkit-slider-thumb{width:var(--slider-thumb-size);height:var(--slider-thumb-size);margin-top:calc((var(--slider-track-height) - var(--slider-thumb-size)) / 2);border:2px solid var(--panel-bg);background:var(--accent-strong);cursor:grab;pointer-events:auto;appearance:none;border-radius:999px;box-shadow:0 1px 5px #00000038}.double-slider input::-moz-range-track{height:var(--slider-track-height);background:0 0}.double-slider input::-moz-range-thumb{width:var(--slider-thumb-size);height:var(--slider-thumb-size);border:2px solid var(--panel-bg);background:var(--accent-strong);cursor:grab;pointer-events:auto;border-radius:999px;box-shadow:0 1px 5px #00000038}.bike-number-field,.bike-select-field{gap:4px;min-width:0;display:grid}.bike-number-field span,.bike-select-field span,.bike-checkbox-group legend,.bike-checkbox-group legend span{color:var(--muted);font-size:.76rem;font-weight:650}.bike-number-field div{grid-template-columns:minmax(82px,1fr) auto;align-items:center;gap:6px;display:grid}.bike-number-field input{font-variant-numeric:tabular-nums;min-width:82px}.bike-number-field small{color:var(--muted);white-space:nowrap;font-size:.74rem;font-weight:650}.bike-checkbox-group{border:0;min-width:0;margin:0;padding:0}.bike-checkbox-group legend{width:100%;padding:0 0 6px}.bike-checkbox-group legend span{align-items:baseline;gap:6px;display:inline-flex}.bike-checkbox-group legend small{color:var(--accent);font-size:.7rem;font-weight:900}.bike-checkbox-actions{align-items:center;gap:8px;display:inline-flex}.bike-checkbox-group legend button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:.74rem;font-weight:800}.bike-checkbox-group>div{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;gap:4px;max-height:132px;padding:6px;display:grid;overflow:auto}.bike-checkbox-group.is-expanded>div,.bike-checkbox-group-materials>div{max-height:none}.bike-checkbox-group label{min-height:24px;color:var(--heading);cursor:pointer;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;font-size:.82rem;display:grid}.bike-checkbox-group input{width:16px;height:16px;min-height:auto}.bike-search-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.bike-search-actions .icon-text-button:disabled{opacity:.62;cursor:wait}.spin{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.bike-results-panel{min-width:0;padding:16px}.bike-results-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.bike-results-header p{color:var(--muted);margin:4px 0 0;font-size:.88rem;font-weight:700}.danger-notice{border-color:color-mix(in srgb, var(--danger) 70%, var(--border));max-width:none;color:var(--danger);margin-bottom:12px}.bike-prescriber-active-filters{flex-wrap:wrap;align-items:center;gap:6px;margin:-2px 0 10px;display:flex}.bike-prescriber-filter-chip{border:1px solid var(--border);background:color-mix(in srgb, var(--selected) 52%, var(--panel-bg));min-width:0;color:var(--heading);border-radius:7px;align-items:center;gap:5px;padding:4px 6px 4px 8px;font-size:.76rem;font-weight:650;line-height:1.2;display:inline-flex}.bike-prescriber-filter-chip button{width:18px;height:18px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.bike-prescriber-filter-chip button:hover{background:color-mix(in srgb, var(--accent) 12%, transparent);color:var(--accent-strong)}.bike-search-panel .bike-prescriber-filter-dropdown.is-disabled summary{cursor:not-allowed;opacity:.58}.frame-search-filter-upgrade-message,.frame-search-upgrade-message{color:var(--accent-strong);font-size:.74rem;font-weight:750;line-height:1.3}.frame-search-filter-upgrade-message{grid-column:1/-1;margin-top:4px;display:block}.bike-results-header p.frame-search-upgrade-message{color:var(--accent-strong)}@media (width>=761px){.bike-results-header p.frame-search-upgrade-message{white-space:nowrap}}.bike-pagination{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.bike-results-table-wrap+.bike-pagination{margin-top:12px}.bike-pagination button{border:1px solid var(--border);background:var(--button-bg);min-width:34px;min-height:32px;color:var(--heading);cursor:pointer;border-radius:8px;padding:0 10px;font-size:.8rem;font-weight:800}.bike-pagination button:hover:not(:disabled){border-color:var(--accent);background:var(--button-hover)}.bike-pagination button[aria-current=page]{border-color:var(--accent);background:var(--selected);color:var(--accent-strong)}.bike-pagination button:disabled{opacity:.52;cursor:not-allowed}.bike-pagination span{min-width:18px;color:var(--muted);text-align:center;font-size:.8rem;font-weight:900}.bike-results-table-wrap{border:1px solid var(--border);border-radius:8px;min-width:0;position:relative;overflow:auto}.bike-prescriber-table-wrap.is-searching .bike-prescriber-table{opacity:.38;filter:grayscale(.5);pointer-events:none}.bike-prescriber-search-overlay{z-index:2;background:color-mix(in srgb, var(--panel-bg) 72%, transparent);min-height:180px;color:var(--accent-strong);pointer-events:all;justify-content:center;align-items:flex-start;gap:10px;padding:36px 24px 24px;font-size:.9rem;font-weight:800;display:flex;position:absolute;inset:0}.bike-results-table{border-collapse:separate;border-spacing:0;background:var(--panel-bg);width:100%;min-width:980px}.bike-prescriber-table{min-width:1260px}.bike-prescriber-table td:nth-child(2){min-width:220px}.bike-prescriber-table td:last-child{min-width:190px}.bike-prescriber-table>tbody>.bike-prescriber-result-row>td{white-space:nowrap}.bike-prescriber-result-row{cursor:pointer}.bike-results-table tbody tr.bike-prescriber-result-row.is-added-to-xy,.bike-results-table tbody tr.bike-prescriber-result-row.is-added-to-xy:hover{background:color-mix(in srgb, var(--positive) 13%, var(--panel-bg))}.bike-results-table tbody tr.bike-prescriber-result-row.is-added-to-xy td{border-bottom-color:color-mix(in srgb, var(--positive) 28%, var(--border))}.bike-results-table tbody tr.bike-prescriber-result-row.is-added-to-xy .bike-prescriber-brand-cell svg{color:var(--positive)}.bike-prescriber-result-row:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.bike-prescriber-brand-cell{align-items:center;gap:5px;display:inline-flex}.bike-prescriber-brand-cell svg{color:var(--accent);flex:none}.bike-prescriber-detail-row td{background:color-mix(in srgb, var(--result-bg) 58%, var(--panel-bg));padding:0}.bike-prescriber-detail-content{width:fit-content;max-width:100%;margin:12px 16px 14px 36px}.bike-prescriber-detail-table{border-collapse:collapse;width:auto;min-width:min(100%,560px);max-width:min(100%,620px);color:var(--heading);table-layout:auto;margin:0;font-size:.83rem;line-height:1.35}.bike-prescriber-detail-table th,.bike-prescriber-detail-table td{border:1px solid var(--border);vertical-align:middle;padding:6px 9px}.bike-prescriber-detail-table th{background:color-mix(in srgb, var(--result-bg) 70%, var(--panel-bg));width:118px;color:var(--muted);text-align:left;white-space:nowrap;font-weight:650}.bike-prescriber-detail-table td{background:color-mix(in srgb, var(--panel-bg) 86%, var(--result-bg));width:145px;color:var(--heading);font-variant-numeric:tabular-nums;text-align:left;font-weight:650}.bike-prescriber-detail-table th[scope=row],.bike-prescriber-detail-table td{text-align:left}.bike-prescriber-detail-note{color:var(--muted);font-weight:600}.bike-prescriber-detail-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;display:flex}.bike-prescriber-detail-actions .icon-text-button{width:auto;min-height:30px;padding:5px 10px;font-size:.82rem}.bike-prescriber-detail-actions span{color:var(--muted);font-size:.8rem;font-weight:650}.bike-prescriber-add-status.success{border:1px solid color-mix(in srgb, var(--positive) 36%, var(--border));background:color-mix(in srgb, var(--positive) 12%, var(--panel-bg));color:var(--positive);border-radius:7px;padding:4px 8px}.bike-prescriber-add-status.success a{color:inherit;margin-left:8px;font-weight:800;text-decoration:underline}@media (width<=1120px){.bike-prescriber-workspace{grid-template-columns:1fr}.bike-prescriber-panel{grid-template-columns:1fr;grid-template-areas:"target""bike""cockpit""geometry""actions";justify-self:stretch;width:100%}.bike-prescriber-cockpit-card,.bike-prescriber-bike-filter-section .bike-filter-card{width:100%}}@media (width<=760px){.bike-prescriber-panel,.bike-prescriber-cockpit-card,.bike-prescriber-bike-filter-section .bike-filter-card,.bike-prescriber-bounds-card,.bike-prescriber-cockpit-card .bike-prescriber-slider-pair{grid-template-columns:1fr}.bike-prescriber-bike-filter-section .bike-prescriber-filter-dropdown{width:100%}.bike-prescriber-cockpit-card .bike-prescriber-slider-pair{grid-column:auto}.bike-prescriber-option-menu{width:100%;margin-top:6px;position:static}}.bike-results-table th,.bike-results-table td{border-bottom:1px solid var(--border);color:color-mix(in srgb, var(--text) 82%, var(--heading));text-align:left;vertical-align:middle;padding:10px 12px;font-size:.84rem;line-height:1.25}.bike-results-table th{z-index:1;border-bottom:2px solid var(--border);background:color-mix(in srgb, var(--result-bg) 82%, var(--panel-bg));color:var(--heading);white-space:nowrap;font-size:.76rem;font-weight:900;position:sticky;top:0}.bike-sort-button{width:100%;min-height:24px;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:5px;padding:0;display:inline-flex}.bike-results-table th.number-column .bike-sort-button,.bike-results-table th:nth-child(n+3) .bike-sort-button{justify-content:center}.bike-sort-button:hover span:first-child{color:var(--accent)}.bike-sort-indicator{width:12px;color:var(--muted);font-size:.66rem;line-height:1;display:inline-block}.bike-results-table tbody tr:nth-child(2n){background:color-mix(in srgb, var(--result-bg) 36%, transparent)}.bike-results-table tbody tr:hover{background:var(--button-hover)}.bike-results-table td:first-child,.bike-results-table td:nth-child(2){color:var(--heading);font-weight:650}.bike-results-table td:nth-child(2){min-width:170px}.bike-results-table td:nth-child(n+6),.bike-results-table th:nth-child(n+6){white-space:nowrap;font-variant-numeric:tabular-nums}.bike-results-table td:nth-child(n+3),.bike-results-table th:nth-child(n+3){text-align:center}.bike-results-table .bike-prescriber-detail-table th,.bike-results-table .bike-prescriber-detail-table td{text-align:left}.bike-prescriber-table th.highlight-column,.bike-prescriber-table td.highlight-column{background:color-mix(in srgb, var(--accent) 9%, var(--panel-bg));box-shadow:inset 1px 0 0 color-mix(in srgb, var(--accent) 20%, transparent), inset -1px 0 0 color-mix(in srgb, var(--accent) 20%, transparent)}.bike-prescriber-table th.highlight-column{color:var(--accent-strong)}.bike-prescriber-table td.highlight-column{color:var(--accent-strong);font-weight:900}.bike-delta{font-weight:850}.bike-delta.positive{color:var(--positive)}.bike-delta.negative{color:var(--negative)}.bike-delta.neutral{color:var(--muted)}.bike-results-table td[colspan]{color:var(--muted);text-align:center;padding:28px 16px;font-weight:700}.position-simulator-workspace{grid-template-columns:max-content minmax(420px,1fr);align-items:start;gap:18px;width:min(100%,1580px);min-height:0;margin:0 auto;display:grid}.geometry-visualizer-visual-column{align-self:start;gap:10px;min-width:0;display:grid}.geometry-configuration-action-bar{border:1px solid var(--border);background:var(--panel-bg);min-width:0;min-height:46px;box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:7px 10px;display:grid}.geometry-configuration-buttons{justify-self:start;align-items:center;gap:7px;display:flex}.geometry-configuration-buttons button{border:1px solid var(--border);background:var(--input-bg);min-height:32px;color:var(--heading);font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-size:.82rem;font-weight:800;display:inline-flex}.geometry-configuration-buttons button:hover:not(:disabled){border-color:var(--accent);background:var(--button-hover)}.geometry-configuration-buttons button:disabled{cursor:not-allowed;opacity:.5}.geometry-configuration-action-feedback{text-align:center;justify-items:center;gap:2px;min-width:0;display:grid}.geometry-configuration-current-name{text-align:right;justify-self:end;gap:1px;min-width:0;display:grid}.geometry-configuration-current-name small,.geometry-configuration-action-feedback>small{min-width:0;color:var(--muted);font-size:.76rem;line-height:1.25}.geometry-configuration-current-name strong{color:var(--heading);overflow-wrap:anywhere;font-size:.82rem;line-height:1.2}.geometry-configuration-upgrade-message{color:var(--accent-strong);font-size:.76rem;font-weight:800;line-height:1.25}.position-simulator-lock-notice{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:color-mix(in srgb, var(--accent) 10%, var(--panel-bg));min-height:42px;color:var(--heading);text-align:center;border-radius:8px;grid-column:1/-1;justify-content:center;align-items:center;padding:10px 14px;font-size:.9rem;font-weight:750;display:flex}.position-simulator-workspace.is-locked .position-bike-card,.position-simulator-workspace.is-locked .position-visual-panel{opacity:.58;filter:grayscale(.64)}.position-bike-card-stack{grid-template-columns:248px;align-items:start;gap:14px;display:grid}.position-simulator-workspace.xy-geo-mode .position-bike-card-stack{justify-self:center}.position-bike-card-stack.has-comparison-bike{grid-template-columns:repeat(2,248px)}.position-bike-card-shell{gap:8px;width:248px;min-width:0;display:grid}.position-bike-card,.position-visual-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.position-bike-card{--position-bike-accent:#007aff;border-top:4px solid var(--position-bike-accent);min-width:0;padding:8px 10px;position:relative}.position-bike-card-shell:nth-child(2) .position-bike-card{--position-bike-accent:#c05621}.position-bike-card.has-mode-switcher{padding-top:15px}.position-bike-mode-switcher{z-index:2;border:1px solid var(--border);background:color-mix(in srgb, var(--panel-bg) 94%, var(--result-bg) 6%);border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;min-width:134px;padding:2px;display:grid;position:absolute;top:-2px;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 9px #0f172a1f}.position-bike-mode-switcher button{min-width:0;min-height:20px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 5px;font-size:.66rem;font-weight:800}.position-bike-mode-switcher button:hover{color:var(--heading);background:var(--button-hover)}.position-bike-mode-switcher button[aria-pressed=true]{background:var(--position-bike-accent);color:#fff}.position-bike-mode-switcher button:disabled{cursor:not-allowed;opacity:.58}.position-bike-mode-switcher button:disabled:hover{color:var(--muted);background:0 0}.position-bike-mode-switcher button[aria-pressed=true]:disabled:hover{background:var(--position-bike-accent);color:#fff}.position-bike-loader{gap:5px;padding-bottom:7px;display:grid}.position-bike-card-actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:6px;display:grid}.position-bike-card-actions button{border:1px solid var(--border);background:var(--input-bg);min-width:0;min-height:28px;color:var(--muted);cursor:pointer;border-radius:6px;padding:0 6px;font-size:.72rem;font-weight:800}.position-bike-card-actions button:hover{border-color:var(--accent);color:var(--heading);background:var(--button-hover)}.position-bike-card-actions button:disabled,.position-bike-size-row button:disabled,.position-section-toggle:disabled,.position-visual-control-button:disabled{cursor:not-allowed;opacity:.58}.position-bike-card-actions button:disabled:hover,.position-bike-size-row button:disabled:hover,.position-visual-control-button:disabled:hover{border-color:var(--border);color:var(--muted);background:var(--input-bg)}.position-bike-select-row select,.position-manual-bike-loader input{border:1px solid var(--border);background:var(--input-bg);width:100%;min-width:0;min-height:26px;color:var(--heading);font:inherit;border-radius:6px;padding:2px 7px;font-size:.82rem}.position-manual-bike-loader input::placeholder{color:var(--muted)}.position-bike-select-row select:disabled{color:var(--muted);cursor:not-allowed;opacity:.72}.position-bike-size-row{grid-template-columns:minmax(0,1fr) 48px;gap:6px;display:grid}.position-bike-size-row button{border:1px solid var(--border);background:var(--panel-bg);min-height:26px;color:var(--muted);cursor:pointer;border-radius:6px;padding:0 8px;font-size:.74rem;font-weight:800}.position-handlebar-select-row{margin:3px 0 5px}.position-lookup-note{color:var(--muted);padding-left:40px;font-size:.68rem;font-weight:700}.position-bike-card-header{justify-content:center;align-items:center;gap:10px;margin-bottom:6px;display:flex}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.position-bike-card h2,.position-input-section h3,.position-results-section h3{color:var(--heading);margin:0}.position-bike-card h2{font-size:1rem}.position-input-section,.position-results-section{gap:4px;padding:4px 0;display:grid}.position-input-section h3,.position-results-section h3,.position-section-toggle{text-align:center;font-size:.78rem;font-weight:800;line-height:1.18}.position-section-toggle{width:100%;min-height:25px;color:var(--heading);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;padding:0;display:inline-flex}.position-section-toggle span{font-size:.72rem}.position-row-stack,.position-result-grid{gap:0;display:grid}.position-field{grid-template-columns:minmax(0,1fr) 68px 24px;align-items:center;gap:5px;min-width:0;min-height:28px;display:grid}.position-field.position-field-group-start{margin-top:7px}.position-field span,.position-result span{color:var(--muted)}.position-field span{color:var(--heading);font-size:.88rem;font-weight:500}.position-field div{grid-template-columns:68px;align-items:center;display:grid}.position-field input{background:var(--input-bg);min-height:23px;color:var(--heading);text-align:center;border-radius:6px;padding:1px 5px;font-size:.82rem}.position-field.stock-stem-field input{border-color:var(--highlight-border);background:var(--highlight-bg);color:var(--heading)}.position-field.locked-field input:disabled{color:var(--muted);background:color-mix(in srgb, var(--input-bg) 70%, var(--result-bg) 30%);cursor:not-allowed;opacity:.82}:root[data-theme=dark] .position-field.stock-stem-field input{color:#f5f8fa;background:#d9aa3f38;border-color:#d9aa3f}.position-field small{color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:800}.position-result{background:0 0;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;min-height:24px;padding:0;display:grid}.position-result-group-end{border-bottom:1px solid var(--border);margin-bottom:3px;padding-bottom:3px}.position-result-group-start{padding-top:4px}.position-result-primary{background:color-mix(in srgb, var(--accent) 10%, transparent);border-radius:6px;min-height:27px;margin:1px -4px;padding:1px 4px 1px 5px}.position-result-primary .position-result-label{color:var(--heading);font-weight:750}.position-result-primary strong{color:var(--accent-strong)}.position-result span{color:var(--muted);font-weight:500}.position-result-label{cursor:help;width:max-content;max-width:100%;font-size:.81rem;line-height:1.18;position:relative}.position-result-nested .position-result-label{align-items:center;gap:4px;padding-left:10px;font-size:.78rem;display:inline-flex}.position-result.position-result-nested strong{color:var(--muted)}.position-result-nested-icon{stroke-width:2px;flex:none;width:12px;height:12px}.position-result-tooltip{z-index:8;border:1px solid var(--border);background:var(--panel-bg);width:245px;box-shadow:var(--shadow);color:var(--heading);white-space:normal;opacity:0;pointer-events:none;border-radius:8px;padding:8px 10px;font-size:.72rem;font-weight:600;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 7px);left:0;transform:translateY(3px)}.position-result-label:hover .position-result-tooltip,.position-result-label:focus-within .position-result-tooltip{opacity:1;transform:translateY(0)}.position-result strong{color:var(--heading);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;justify-content:flex-end;align-items:baseline;gap:3px;font-size:.84rem;display:inline-flex}.position-result strong small{color:var(--muted);margin-left:0;font-size:.7rem}.position-result strong em{color:var(--muted);font-size:.68rem;font-style:normal;line-height:1}.position-result strong em.delta-positive{color:#007aff}.position-result strong em.delta-negative{color:#ff3b30}.xy-position-workspace{box-sizing:border-box;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:16px;width:100%;min-height:100svh;margin:0;padding-left:24px;transition:grid-template-columns .16s;display:grid}.xy-position-main{min-width:0;padding:24px 24px 24px 0;position:relative}.xy-position-workspace.rider-panel-collapsed{grid-template-columns:46px minmax(0,1fr)}.xy-position-workspace.rider-panel-hidden{grid-template-columns:minmax(0,1fr);padding-left:0}.xy-position-workspace.rider-panel-hidden .xy-position-main{padding-inline:24px}.xy-position-workspace.rider-panel-hidden .xy-comparison-area{justify-content:center}.xy-target-panel.is-preview-disabled,.xy-position-workspace.is-free-preview .xy-bike-card{background:color-mix(in srgb, var(--surface,#fff) 82%, #dbe8f1)}.xy-target-panel.is-preview-disabled input:disabled,.xy-target-panel.is-preview-disabled textarea:disabled,.xy-position-workspace.is-free-preview .xy-bike-card input:disabled,.xy-position-workspace.is-free-preview .xy-bike-card textarea:disabled{cursor:not-allowed;opacity:.72}.xy-database-preview-content{position:relative}.xy-database-subscription-overlay{z-index:4;background:color-mix(in srgb, var(--panel-bg) 82%, transparent);color:var(--heading);text-align:center;border-radius:7px;place-items:center;padding:18px;font-size:.9rem;font-weight:800;line-height:1.35;display:grid;position:absolute;inset:0}.xy-comparison-area{align-items:flex-start;gap:16px;min-width:0;padding-top:8px;display:flex}.xy-comparison-area.is-inline{flex-wrap:wrap}.xy-comparison-area.is-stacked{flex-direction:column;align-items:stretch}.xy-comparison-area>.xy-page-action-bar{width:100%;padding:4px 0 0}.xy-comparison-area.is-inline>.xy-bikes-panel{order:1}.xy-comparison-area.is-inline>.xy-visual-panel{order:2}.xy-comparison-area.is-inline>.xy-page-action-bar{flex:0 0 100%;order:3}.xy-comparison-area.is-stacked>.xy-bikes-panel{order:1}.xy-comparison-area.is-stacked>.xy-page-action-bar{flex:none;order:2}.xy-comparison-area.is-stacked>.xy-visual-panel{order:3}.xy-target-panel,.xy-bike-card,.xy-visual-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.xy-target-panel{flex-direction:column;gap:10px;min-height:calc(100svh - 112px);max-height:calc(100svh - 112px);margin-top:24px;margin-bottom:24px;padding:14px;transition:top .18s,min-height .18s,max-height .18s,padding .16s;display:flex;position:sticky;top:88px;overflow:hidden}.xy-position-workspace.rider-panel-collapsed .xy-target-panel{align-items:center;min-height:calc(100svh - 112px);padding:10px 6px}@media (width>=981px){.app-nav-shell.mobile-chrome-hidden .xy-target-panel{min-height:calc(100svh - 48px);max-height:calc(100svh - 48px);top:24px}}.xy-target-header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:8px;padding-bottom:7px;display:flex}.xy-target-header-actions{align-items:center;gap:5px;display:inline-flex}.xy-target-header h2,.xy-sidebar-heading{color:var(--heading);margin:0;font-size:.84rem;font-weight:800}.xy-bike-section h3,.xy-bike-results h3,.xy-bike-notes h3{color:var(--heading);margin:0;font-size:.78rem;font-weight:800}.xy-sidebar-heading{border-top:1px solid var(--border);text-align:center;padding-top:4px}.xy-sidebar-heading-toggle{cursor:pointer;background:0 0;border-bottom:0;border-left:0;border-right:0;border-radius:0;width:100%;padding-bottom:0;padding-right:0}.xy-sidebar-heading-toggle:hover:not(:disabled){color:var(--accent)}.xy-sidebar-heading-toggle>span{margin-right:4px;font-size:.68rem}.xy-target-panel-content{align-content:start;gap:10px;min-height:0;padding-right:2px;display:grid;overflow-y:auto}.xy-rider-actions{border-top:1px solid var(--border);flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:8px;display:grid}.xy-entitlement-tooltip{min-width:0;display:grid}.xy-entitlement-tooltip>button{width:100%}.xy-rider-actions small{color:var(--muted);grid-column:1/-1;font-size:.72rem;line-height:1.25}.xy-rider-action-button,.xy-page-action-button{border:1px solid var(--border);background:var(--input-bg);min-height:28px;color:var(--muted);font:inherit;cursor:pointer;border-radius:7px;font-size:.75rem;font-weight:650}.xy-rider-action-button.save,.xy-rider-action-button.open{color:#007aff;background:#fff;border-color:#007aff}.xy-rider-action-button.reset,.xy-page-action-button.reset{color:#ff3b30;background:#fff;border-color:#ff3b30}.xy-rider-action-button:disabled,.xy-page-action-button:disabled{cursor:not-allowed;opacity:.52}.xy-rider-action-button:hover:not(:disabled),.xy-page-action-button:hover:not(:disabled){border-color:var(--accent);color:var(--heading);background:var(--button-hover)}.xy-position-main{align-content:start;gap:8px;min-width:0;display:grid}.xy-page-action-bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-width:0;padding:2px 0;display:flex}.xy-page-action-button{white-space:nowrap;flex:0 auto;justify-content:center;align-items:center;gap:5px;padding:0 9px;display:inline-flex}.xy-page-action-button.add-bike,.xy-page-action-button.manual-bike{color:#fff;background:#007aff;border-color:#007aff}.xy-page-action-button.custom-database{color:#fff;background:#34c759;border-color:#34c759}.xy-page-action-button.print{color:#fff;background:#5856d6;border-color:#5856d6}.xy-page-action-button.add-bike:hover:not(:disabled),.xy-page-action-button.manual-bike:hover:not(:disabled){color:#fff;background:#0a84ff;border-color:#0a84ff}.xy-page-action-button.custom-database:hover:not(:disabled){color:#fff;background:#30d158;border-color:#30d158}.xy-page-action-button.print:hover:not(:disabled){color:#fff;background:#5e5ce6;border-color:#5e5ce6}:root[data-theme=dark] .xy-page-action-button.add-bike,:root[data-theme=dark] .xy-page-action-button.manual-bike{background:#0a84ff;border-color:#0a84ff}:root[data-theme=dark] .xy-page-action-button.custom-database{background:#32d74b;border-color:#32d74b}:root[data-theme=dark] .xy-page-action-button.print{background:#5e5ce6;border-color:#5e5ce6}.xy-page-action-bar span{color:var(--muted);font-size:.74rem;font-weight:800}.xy-page-action-bar span.is-over-limit{color:var(--danger)}.xy-profile-tools{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:6px;display:grid}.xy-profile-tools select,.xy-profile-button{border:1px solid var(--input-border);background:var(--input-bg);min-width:0;height:30px;color:var(--text);font:inherit;border-radius:7px;font-size:.78rem}.xy-profile-button{cursor:pointer;color:#fff}.xy-profile-button.primary{border-color:var(--accent);background:var(--accent)}.xy-profile-button:disabled,.xy-profile-tools select:disabled{cursor:not-allowed;opacity:.58}.xy-profile-tools small{color:var(--muted);grid-column:1/-1;font-size:.72rem}.xy-target-expand-button,.xy-position-workspace.rider-panel-collapsed .xy-target-header,.xy-position-workspace.rider-panel-collapsed .xy-target-panel-content,.xy-position-workspace.rider-panel-collapsed .xy-rider-actions{display:none}.xy-position-workspace.rider-panel-collapsed .xy-target-expand-button{border:1px solid var(--border);background:var(--input-bg);width:32px;min-height:142px;color:var(--heading);cursor:pointer;border-radius:999px;grid-template-rows:24px minmax(0,1fr);place-items:center;gap:8px;padding:8px 4px;display:grid}.xy-position-workspace.rider-panel-collapsed .xy-target-expand-button:hover{border-color:var(--accent);background:var(--button-hover)}.xy-target-expand-button span{writing-mode:vertical-rl;text-orientation:mixed;color:var(--muted);letter-spacing:.03em;white-space:nowrap;font-size:.72rem;font-weight:850}.xy-rider-grid{gap:7px;display:grid}.xy-rider-field{gap:3px;min-width:0;display:grid}.xy-rider-field span{color:var(--muted);font-size:.76rem;font-weight:800}.xy-rider-field input,.xy-rider-field textarea{border:1px solid var(--border);background:var(--input-bg);width:100%;min-width:0;color:var(--heading);font:inherit;border-radius:6px;font-size:.82rem}.xy-rider-field input{min-height:27px;padding:3px 7px}.xy-rider-field textarea{resize:vertical;min-height:44px;max-height:82px;padding:5px 7px;line-height:1.25}.xy-target-grid{gap:4px;display:grid}.xy-target-handlebar-controls,.xy-handlebar-section-content{gap:5px;display:grid}.xy-target-handlebar-controls>select,.xy-handlebar-section-content>select{border:1px solid var(--border);background:var(--input-bg);width:100%;min-width:0;min-height:27px;color:var(--heading);font:inherit;text-align:center;text-align-last:center;border-radius:6px;padding:2px 7px;font-size:.82rem}.xy-target-handlebar-controls>select:disabled,.xy-handlebar-section-content>select:disabled{color:var(--muted);cursor:not-allowed;opacity:.72}.xy-handlebar-lookup-note{color:var(--muted);text-align:center;font-size:.68rem;font-weight:700}.xy-target-field,.xy-bike-field{align-items:center;gap:6px;min-width:0;display:grid}.xy-target-field{grid-template-columns:minmax(0,1fr) 82px 26px;min-height:30px}.xy-target-field span,.xy-bike-field span,.xy-result-label{color:var(--heading);font-size:.88rem;font-weight:500}.xy-target-field input,.xy-bike-field input,.xy-bike-loader select,.xy-manual-bike-loader input{border:1px solid var(--border);background:var(--input-bg);min-width:0;color:var(--heading);border-radius:6px}.xy-target-field input,.xy-bike-field input{text-align:center;min-height:25px;padding:1px 6px;font-size:.84rem}.xy-target-field small,.xy-bike-field small{color:var(--muted);font-size:.78rem;font-weight:800}.xy-bike-card-grid{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-gutter:stable;align-items:start;gap:14px;max-width:100%;padding:12px 2px;display:flex;overflow:auto hidden}.xy-bike-card-grid.is-reordering{overflow-anchor:none;scroll-snap-type:none}.xy-bike-card-grid.is-reordering .xy-bike-card-shell,.xy-bike-card-grid.is-reordering .xy-bike-drop-placeholder{scroll-snap-align:none}.xy-bikes-panel{flex:0 auto;width:max-content;min-width:min(100%,250px);max-width:100%;position:static}.xy-comparison-area.is-inline .xy-bike-card-grid{scrollbar-gutter:auto;overflow-x:visible}.xy-comparison-area.is-stacked .xy-bikes-panel,.xy-comparison-area.is-stacked .xy-bike-card-grid{width:100%;max-width:100%}.xy-bike-card-shell{scroll-snap-align:start;flex:0 0 254px;gap:8px;width:254px;transition:opacity .12s,transform .12s;display:grid;position:relative}.xy-bike-card-shell.is-dragging{opacity:.72;pointer-events:none;filter:drop-shadow(0 18px 26px #0f172a2e);box-sizing:border-box;transform:none}.xy-bike-drop-placeholder{border:2px dashed var(--accent);background:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 10px, transparent 10px, transparent 20px), color-mix(in srgb, var(--panel-bg) 88%, var(--accent) 12%);width:254px;min-height:620px;color:var(--accent-strong);text-transform:uppercase;letter-spacing:.05em;pointer-events:none;scroll-snap-align:start;border-radius:8px;flex:0 0 254px;place-items:center;font-size:.78rem;font-weight:900;display:grid}.xy-bike-drop-placeholder span{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:999px;padding:5px 10px}.xy-bike-card{min-width:0;padding:13px 10px 9px;position:relative}.xy-bike-drag-handle{z-index:2;border:1px solid var(--border);background:color-mix(in srgb, var(--panel-bg) 94%, var(--result-bg) 6%);width:34px;min-width:34px;height:18px;min-height:18px;color:var(--muted);-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;border-radius:999px;justify-content:center;align-items:center;gap:3px;margin:0;padding:0;display:inline-flex;position:absolute;top:0;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 9px #0f172a1f}.xy-bike-drag-handle span{background:currentColor;border-radius:999px;flex:0 0 4px;width:4px;height:4px}.xy-bike-drag-handle:hover,.xy-bike-drag-handle:focus-visible,.xy-bike-card-shell.is-dragging .xy-bike-drag-handle{border-color:var(--accent);color:var(--heading);background:var(--panel-bg)}.xy-bike-card-shell.is-dragging .xy-bike-drag-handle{cursor:grabbing}.xy-bike-loader{gap:5px;padding-bottom:7px;display:grid}.xy-bike-loader select{width:100%;min-height:26px;font:inherit;text-align:center;text-align-last:center;padding:2px 7px;font-size:.82rem}.xy-manual-bike-loader input{width:100%;min-height:26px;font:inherit;text-align:center;padding:2px 7px;font-size:.82rem}.xy-bike-loader select option,.xy-bike-loader select optgroup{text-align:center}.xy-bike-loader select:disabled{color:var(--muted);cursor:not-allowed;opacity:.72}.xy-bike-field.locked-field input:disabled{color:var(--muted);background:color-mix(in srgb, var(--input-bg) 70%, var(--result-bg) 30%);cursor:not-allowed;opacity:.82}.xy-bike-loader small{color:var(--muted);padding-left:40px;font-size:.68rem;font-weight:700}.xy-size-row{grid-template-columns:minmax(0,1fr);display:grid}.xy-bike-actions button,.xy-bike-panel-toolbar button{border:1px solid var(--border);background:var(--input-bg);min-height:26px;color:var(--muted);cursor:pointer;border-radius:6px;font-size:.74rem;font-weight:800}.xy-bike-panel-toolbar{z-index:3;justify-content:center;align-items:center;gap:8px;width:100%;max-width:100%;margin-bottom:0;display:flex;position:absolute;top:16px;left:0;right:0}.xy-bike-panel-toolbar button{justify-content:center;align-items:center;gap:4px;padding:0 8px;display:inline-flex}.xy-bike-panel-toolbar button:disabled{opacity:.5;cursor:not-allowed}.xy-bike-panel-toolbar span{color:var(--muted);font-size:.74rem;font-weight:800}.xy-bike-section,.xy-bike-results,.xy-bike-notes{gap:4px;padding:4px 0;display:grid}.xy-bike-section h3,.xy-bike-results h3,.xy-bike-notes h3{text-align:center}.xy-handlebar-section-toggle{width:100%;min-height:25px;color:var(--heading);font:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:0;font-size:.78rem;font-weight:800;display:inline-flex}.xy-handlebar-section-toggle span{font-size:.68rem}.xy-bike-section+.xy-bike-section,.xy-bike-results,.xy-bike-notes{margin-top:5px;padding-top:5px}.xy-bike-fields{gap:0;display:grid}.xy-bike-field{grid-template-columns:minmax(0,1fr) 68px 24px;min-height:28px}.xy-bike-field.stock-stem-field input{border-color:var(--highlight-border);background:var(--highlight-bg)}:root[data-theme=dark] .xy-bike-field.stock-stem-field input{color:#f5f8fa;background:#d9aa3f38;border-color:#d9aa3f}.xy-bike-results{gap:1px;padding-top:4px}.xy-result-row{grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;min-height:24px;display:grid}.xy-result-row.invisible{visibility:hidden;pointer-events:none}.xy-result-row.has-divider{border-bottom:1px solid var(--border);margin-bottom:3px;padding-bottom:3px}.xy-result-row.has-divider+.xy-result-row{padding-top:3px}.xy-result-row.primary{background:color-mix(in srgb, var(--accent) 10%, transparent);border-radius:6px;min-height:27px;margin:1px -4px;padding:1px 4px 1px 5px}.xy-result-row.primary .xy-result-label{color:var(--heading);font-weight:750}.xy-result-row.primary strong{color:var(--accent-strong)}.xy-result-saddle-group{border-top:1px solid var(--border);gap:1px;margin-top:4px;padding-top:7px;display:grid}.xy-result-row.nested .xy-result-label{align-items:center;gap:4px;padding-left:10px;font-size:.78rem;display:inline-flex}.xy-result-row.nested strong{color:var(--muted)}.xy-result-nested-icon{stroke-width:2px;flex:none;width:12px;height:12px}.xy-bike-notes textarea{resize:vertical;border:1px solid var(--border);background:var(--input-bg);width:100%;min-height:58px;max-height:120px;color:var(--heading);font:inherit;border-radius:6px;padding:6px 7px;font-size:.82rem;line-height:1.25}.xy-result-label{width:max-content;max-width:100%;color:var(--muted);white-space:nowrap;cursor:help;font-size:.81rem;line-height:1.18;position:relative}.xy-result-tooltip{z-index:8;border:1px solid var(--border);background:var(--panel-bg);width:240px;box-shadow:var(--shadow);color:var(--heading);white-space:normal;opacity:0;pointer-events:none;border-radius:8px;padding:8px 10px;font-size:.72rem;font-weight:600;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 7px);left:0;transform:translateY(3px)}.xy-result-label:hover .xy-result-tooltip,.xy-result-label:focus-within .xy-result-tooltip{opacity:1;transform:translateY(0)}.xy-result-row strong{color:var(--heading);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;justify-content:flex-end;align-items:baseline;gap:3px;font-size:.84rem;line-height:1.18;display:inline-flex}.xy-result-row small{color:var(--muted);margin-left:0;font-size:.7rem}.xy-result-row em{color:var(--muted);font-size:.68rem;font-style:normal;line-height:1;display:inline}.xy-result-row em.delta-positive{color:#007aff}.xy-result-row em.delta-negative{color:#ff3b30}.xy-bike-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;display:grid}.xy-bike-actions.has-remove{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}.xy-bike-actions.reset-only{grid-template-columns:minmax(0,1fr)}.xy-bike-actions button{text-transform:uppercase;background:#fff;justify-content:center;align-items:center;gap:4px;font-weight:500;display:inline-flex}.xy-bike-actions button:disabled{cursor:not-allowed;opacity:.5}.xy-bike-actions .xy-bike-reset-button{color:#ff3b30;border-color:#ff3b30}.xy-bike-actions .xy-bike-duplicate-button{color:#007aff;border-color:#007aff}.xy-bike-actions .xy-bike-remove-button{color:#8b949e;border-color:#8b949e;min-width:34px;padding:0;font-size:0}.xy-bike-actions .xy-bike-reset-button:hover{color:#ff3b30;background:#ffefee;border-color:#ff3b30}.xy-bike-actions .xy-bike-duplicate-button:hover{color:#007aff;background:#ebf4ff;border-color:#007aff}.xy-bike-actions .xy-bike-remove-button:hover{color:var(--heading);background:#f3f4f5;border-color:#8b949e}.xy-bike-panel-toolbar button:hover:not(:disabled){border-color:var(--accent);color:var(--heading);background:var(--button-hover)}.xy-dialog-backdrop{z-index:80;background:#0f172a70;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.xy-dialog{border:1px solid var(--border);background:var(--panel-bg);width:min(460px,100%);box-shadow:var(--shadow);color:var(--text);border-radius:10px;gap:10px;padding:16px;display:grid}.xy-dialog h2{color:var(--heading);margin:0;font-size:1rem}.xy-dialog p,.xy-dialog small{color:var(--muted);margin:0;font-size:.8rem;line-height:1.35}.xy-dialog-field{gap:4px;display:grid}.xy-dialog-field span{color:var(--muted);font-size:.76rem;font-weight:800}.xy-dialog-field input,.xy-dialog-field select{border:1px solid var(--border);background:var(--input-bg);min-height:32px;color:var(--heading);font:inherit;border-radius:7px;padding:4px 8px}.xy-dialog-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.xy-dialog-actions button{border:1px solid var(--border);background:var(--input-bg);min-height:30px;color:var(--heading);font:inherit;cursor:pointer;border-radius:7px;padding:0 12px;font-size:.8rem}.xy-dialog-actions button.primary{color:#fff;background:#007aff;border-color:#007aff}.xy-dialog-actions button.danger{color:#ff3b30;border-color:#ff3b30}.xy-print-dialog{border-radius:14px;gap:8px;width:min(520px,100vw - 40px);padding:18px 22px}.xy-print-dialog h2{letter-spacing:-.02em;font-size:1.08rem;font-weight:850}.xy-print-dialog h3{color:var(--heading);margin:2px 0 -4px;font-size:.92rem;font-weight:850}.xy-print-dialog .xy-print-dialog-description{color:var(--heading);font-size:.86rem;line-height:1.3}.xy-print-dialog .xy-dialog-bike-list{gap:1px;max-height:min(238px,36vh)}.xy-print-dialog-checkbox{min-height:24px;color:var(--heading);gap:8px;font-size:.82rem;line-height:1.05}.xy-print-dialog-checkbox input{flex:none;width:15px;height:15px;margin:0}.xy-print-dialog .xy-dialog-actions{gap:8px;padding-top:6px}.xy-print-dialog .xy-dialog-actions button{border-radius:999px;min-height:30px;padding:0 14px;font-size:.82rem}.xy-profile-dialog{grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(940px,100%);max-height:min(82vh,780px)}.geometry-save-configuration-dialog{width:min(500px,100%);overflow-y:auto}.geometry-open-configuration-dialog{grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(1040px,100%);max-height:min(84vh,800px);overflow-y:auto}.geometry-configuration-dialog-status{font-weight:800;color:var(--accent-strong)!important}.geometry-configuration-dialog-error{border:1px solid color-mix(in srgb, #ff3b30 42%, var(--border));background:color-mix(in srgb, #ff3b30 8%, var(--panel-bg));border-radius:7px;padding:8px 10px;font-weight:700;color:#c62828!important}.geometry-save-configuration-dialog .xy-dialog-actions button:disabled,.geometry-open-configuration-dialog button:disabled{cursor:not-allowed;opacity:.5}.geometry-configuration-table-wrap{border:1px solid var(--border);background:var(--panel-bg);border-radius:9px;min-height:0;overflow:auto}.geometry-configuration-table{gap:6px;min-width:900px;padding:8px;display:grid}.geometry-configuration-row{border:1px solid var(--border);background:var(--input-bg);min-height:58px;color:var(--text);border-radius:8px;grid-template-columns:minmax(170px,1.05fr) minmax(300px,1.7fr) minmax(100px,.65fr) minmax(100px,.65fr) 104px;align-items:center;column-gap:12px;padding:8px 10px;font-size:.82rem;display:grid}.geometry-configuration-row.is-active{border-color:color-mix(in srgb, var(--accent) 46%, var(--border));background:color-mix(in srgb, var(--accent) 7%, var(--input-bg))}.geometry-configuration-header{min-height:34px;color:var(--heading);background:0 0;border-color:#0000;padding-block:4px;font-weight:850}.geometry-configuration-row>span,.geometry-configuration-name,.geometry-configuration-bike-list{min-width:0}.geometry-configuration-row>span>small,.geometry-configuration-name small{color:var(--muted);margin-top:2px;font-size:.72rem;line-height:1.2;display:block}.geometry-configuration-name strong{overflow-wrap:anywhere;color:var(--heading);font-weight:850;display:block}.geometry-configuration-bike-list{gap:4px;display:grid}.geometry-configuration-bike{grid-template-columns:44px minmax(0,1fr);align-items:baseline;gap:5px;min-width:0;display:grid}.geometry-configuration-bike small{color:var(--muted);font-size:.7rem;font-weight:800}.geometry-configuration-bike span{overflow-wrap:anywhere;min-width:0;color:var(--heading);font-weight:750}.geometry-configuration-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.geometry-unsaved-configuration-actions{flex-wrap:wrap}.xy-custom-database-dialog{grid-template-rows:auto minmax(0,1fr) auto;width:min(1040px,100%);max-height:min(86vh,820px)}.xy-save-conflict-dialog{width:min(420px,100%)}.xy-reset-save-dialog{width:min(600px,100%)}.xy-reset-save-dialog .xy-dialog-actions{flex-wrap:wrap}.xy-reset-save-dialog .xy-dialog-status{color:#007aff;font-weight:700}.xy-reset-save-dialog .xy-dialog-error{border:1px solid color-mix(in srgb, #ff3b30 45%, var(--border));background:color-mix(in srgb, #ff3b30 8%, var(--panel-bg));color:#c62828;border-radius:7px;padding:9px 10px}.xy-reset-save-dialog .xy-dialog-error strong{color:inherit}.xy-reset-save-dialog .xy-dialog-actions button:disabled{cursor:not-allowed;opacity:.5}.xy-profile-dialog-toolbar{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;display:grid}.xy-profile-dialog-toolbar input,.xy-profile-dialog-toolbar select{border:1px solid var(--border);background:var(--input-bg);min-height:34px;color:var(--heading);font:inherit;border-radius:7px;padding:4px 9px;font-size:.86rem}.xy-profile-dialog-toolbar label{color:var(--heading);white-space:nowrap;align-items:center;gap:8px;font-size:.86rem;font-weight:700;display:flex}.xy-custom-dialog-toolbar{grid-template-columns:minmax(220px,1fr) auto auto auto}.xy-custom-dialog-toolbar button{border:1px solid var(--border);background:var(--input-bg);min-height:34px;color:var(--heading);font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.84rem;font-weight:700;display:inline-flex}.xy-custom-dialog-toolbar button.primary{color:#fff;background:#007aff;border-color:#007aff}.xy-profile-table-wrap{border:1px solid var(--border);background:var(--panel-bg);border-radius:9px;min-height:0;overflow:auto}.xy-profile-table{gap:6px;min-width:800px;padding:8px;display:grid}.xy-custom-bike-table{gap:6px;min-width:780px;padding:8px;display:grid}.xy-profile-row{border:1px solid var(--border);background:var(--input-bg);min-height:50px;color:var(--text);border-radius:8px;grid-template-columns:28px minmax(170px,1.3fr) minmax(94px,.72fr) minmax(94px,.72fr) 72px minmax(120px,.8fr) 120px;align-items:center;column-gap:10px;padding:8px 10px;font-size:.84rem;display:grid}.xy-custom-bike-row{border:1px solid var(--border);background:var(--input-bg);min-height:50px;color:var(--text);border-radius:8px;grid-template-columns:minmax(220px,1.35fr) minmax(150px,1fr) 110px 110px 220px;align-items:center;column-gap:10px;padding:8px 10px;font-size:.84rem;display:grid}.xy-profile-header{min-height:34px;color:var(--heading);background:0 0;border-color:#0000;padding-block:4px;font-weight:800}.xy-profile-row input[type=checkbox]{accent-color:#007aff;width:15px;height:15px}.xy-profile-row strong{color:var(--heading);font-weight:800}.xy-profile-client{min-width:0}.xy-profile-client strong{display:block}.xy-profile-row .xy-profile-client-notes{overflow-wrap:anywhere;white-space:pre-wrap;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;line-height:1.3;display:-webkit-box;overflow:hidden}.xy-profile-row span,.xy-custom-bike-row span,.xy-custom-bike-row strong{min-width:0}.xy-profile-row small{color:var(--muted);font-size:.74rem;line-height:1.2;display:block}.xy-profile-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.xy-profile-open-button,.xy-profile-duplicate-button,.xy-profile-delete-button{min-height:30px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;font-size:.8rem}.xy-profile-open-button{color:#fff;background:#007aff;min-width:58px;padding:0 12px}.xy-profile-duplicate-button{color:#007aff;background:0 0;border-color:#007aff;min-width:84px;padding:0 12px}.xy-profile-duplicate-button:hover:not(:disabled){background:#007aff14}.xy-profile-delete-button{color:#fff;background:#ff3b30;justify-content:center;align-items:center;width:30px;display:inline-flex}.xy-profile-open-button:disabled,.xy-profile-duplicate-button:disabled,.xy-profile-delete-button:disabled{opacity:.48;cursor:not-allowed}.xy-custom-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.xy-custom-geometry-table-wrap{min-height:0;padding:2px 2px 4px;overflow:auto}.xy-custom-geometry-table{--custom-size-count:1;min-width:max(620px, calc(190px + (var(--custom-size-count) * 116px) + 104px));gap:0;display:grid}.xy-custom-geometry-row{grid-template-columns:minmax(180px, 190px) repeat(var(--custom-size-count), minmax(98px, 116px)) 96px;border-bottom:1px solid var(--border);align-items:center;column-gap:10px;min-height:48px;display:grid}.xy-custom-geometry-row label{color:var(--heading);font-size:.86rem;font-weight:700}.xy-custom-geometry-row input{border:1px solid var(--border);background:var(--input-bg);min-width:0;min-height:34px;color:var(--heading);font:inherit;text-align:center;border-radius:7px;padding:5px 8px;font-size:.9rem}.xy-custom-geometry-row input:focus{border-color:#007aff;outline:2px solid #007aff38}.xy-custom-remove-row{border-bottom:0;min-height:34px}.xy-custom-remove-size-button,.xy-add-custom-size-button{min-height:30px;font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-size:.78rem;display:inline-flex}.xy-custom-remove-size-button{background:var(--input-bg);color:#ff3b30;border:1px solid #ff3b30;justify-self:center;width:30px}.xy-custom-remove-size-button:disabled{opacity:.38;cursor:not-allowed}.xy-add-custom-size-button{color:#fff;white-space:nowrap;background:#007aff;border:1px solid #007aff;padding:0 10px}.xy-custom-geometry-section{border-bottom:2px solid var(--border);color:var(--heading);margin:14px 0 2px;padding-bottom:7px;font-size:.92rem;font-weight:800}.xy-profile-list,.xy-dialog-bike-list{gap:6px;max-height:280px;display:grid;overflow-y:auto}.xy-profile-list-item{border:1px solid var(--border);background:var(--input-bg);min-height:48px;color:var(--heading);text-align:left;cursor:pointer;border-radius:8px;gap:2px;padding:8px 10px;display:grid}.xy-profile-list-item span{color:var(--muted);font-size:.75rem}.xy-dialog-checkbox{color:var(--heading);align-items:center;gap:8px;font-size:.84rem;display:flex}.xy-dialog-checkbox input{accent-color:#007aff;width:16px;height:16px}.xy-visual-panel{flex:400px;min-width:0;max-width:600px;margin-top:12px;padding:8px}.xy-comparison-area.is-stacked .xy-visual-panel{flex:none;align-self:center;width:min(100%,600px);max-width:min(100%,600px)}.xy-visual-panel h2{color:#0b74ff;text-align:center;margin:0 0 5px;font-size:.95rem;line-height:1.1}.xy-visual-panel svg{border:1px solid var(--border);background:var(--panel-bg);border-radius:8px;width:100%;height:clamp(300px,30vw,430px);min-height:300px;display:block}.xy-grid line{stroke:color-mix(in srgb, var(--muted) 13%, transparent);stroke-width:.45px}.xy-axis{stroke:color-mix(in srgb, var(--muted) 48%, transparent);stroke-width:.8px;stroke-dasharray:5 5}.xy-target-mark line{stroke:color-mix(in srgb, var(--muted) 56%, transparent);stroke-width:.8px;stroke-dasharray:5 5}.xy-cartesian-measurement line{stroke:var(--guide-color);stroke-dasharray:5 5;stroke-linecap:butt;stroke-width:1.15px;opacity:.82}.xy-cartesian-measurement text{fill:var(--guide-color);paint-order:stroke;stroke:#ffffffeb;stroke-linejoin:round;stroke-width:2px;text-anchor:middle;font-family:Inter,system-ui,sans-serif;font-size:8px;font-weight:700}.xy-cartesian-measurement .xy-measurement-y-label{text-anchor:var(--guide-anchor)}.xy-target-mark path{fill:#ffd23f;stroke:var(--heading);stroke-width:.8px}.xy-grid-label{fill:var(--muted);paint-order:stroke;stroke:var(--input-bg);stroke-width:.7px;font-size:8px;font-weight:600}.xy-bike-plot text{fill:var(--muted);paint-order:stroke;stroke:var(--input-bg);stroke-width:.75px;font-size:8.5px;font-weight:600}.xy-target-label{fill:#ffd23f;paint-order:stroke;stroke:var(--heading);stroke-linejoin:round;stroke-width:.8px;font-size:8px;font-weight:700}.xy-headset-segment{stroke:var(--plot-color);stroke-width:7px;stroke-linecap:butt}.xy-spacer-segment{stroke:#f4b400;stroke-width:3.5px;stroke-linecap:butt}.xy-stem-height-segment{stroke:#4f5658;stroke-width:3.5px;stroke-linecap:butt}.xy-spacer-tick{stroke:var(--heading);stroke-width:.9px}.xy-stem-segment{stroke:var(--plot-color);stroke-width:2.8px;stroke-linecap:round}.xy-handlebar-ring{fill:#0000;stroke:var(--plot-color);stroke-width:1.7px}.xy-bike-plot circle{fill:#0000;stroke:var(--heading);stroke-width:.8px}.xy-bike-plot .xy-handlebar-ring{fill:#0000;stroke:var(--plot-color)}.xy-bike-plot .xy-handlebar-dot{fill:var(--plot-color);stroke:none}.xy-bike-plot .xy-origin-dot{fill:var(--heading);stroke:var(--input-bg)}.xy-visual-legend{min-height:30px;color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;padding-top:10px;font-size:.88rem;font-weight:800;display:flex}.xy-visual-legend span{align-items:center;gap:7px;display:inline-flex}.xy-visual-legend i{border-radius:50%;width:12px;height:12px}.position-visual-panel{min-width:0;min-height:0;padding:16px;position:relative}.position-visual-controls{z-index:5;flex-direction:column;align-items:flex-start;gap:6px;display:flex;position:absolute;top:24px;left:24px}.position-visual-control-button{border:1px solid var(--border);background:color-mix(in srgb, var(--panel-bg) 92%, transparent);width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;color:var(--heading);cursor:pointer;border-radius:7px;flex:0 0 30px;place-items:center;padding:0;display:grid;box-shadow:0 4px 12px #14272c1f}.position-visual-control-button svg{background:0 0;border:0;width:17px;height:17px;margin:0}.position-visual-control-button:hover{border-color:var(--accent);background:var(--button-hover)}.position-visibility-control{position:relative}.position-visibility-menu{border:1px solid var(--border);background:var(--panel-bg);width:250px;box-shadow:var(--shadow);border-radius:8px;gap:7px;padding:9px;display:grid;position:absolute;top:0;left:38px}.position-visibility-bike-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.position-visibility-bike-column{gap:4px;min-width:0;display:grid}.position-visibility-menu label{min-height:28px;color:var(--heading);cursor:pointer;border-radius:6px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:6px;padding:3px 6px;font-size:.78rem;font-weight:750;display:grid}.position-visibility-bike-column label:first-child{border-bottom:1px solid var(--border);font-weight:850}.position-visibility-menu label:hover{background:var(--button-hover)}.position-visibility-menu label:has(input:disabled){color:var(--muted);cursor:not-allowed;opacity:.62}.position-visibility-menu input{width:16px;min-height:16px;accent-color:var(--accent);margin:0;padding:0}.position-visual-panel>svg{border:1px solid var(--border);background:var(--input-bg);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;width:100%;max-width:100%;height:min(58vw,100svh - 212px);min-height:360px;max-height:760px;margin-top:0;display:block}.position-visual-panel>svg:active{cursor:grabbing}.seatpost-workspace{--seatpost-primary:#1769aa;--seatpost-success:#13a868;--seatpost-card:var(--panel-bg);--seatpost-bg:var(--input-bg);--seatpost-border:var(--border);--seatpost-muted:var(--muted);--seatpost-text:var(--heading);--seatpost-shadow:var(--shadow);grid-template-columns:280px minmax(340px,365px);justify-content:center;align-items:start;gap:18px;display:grid}:root[data-theme=dark] .seatpost-workspace{--seatpost-primary:#5eb3e6;--seatpost-success:#5ee29d;--seatpost-card:var(--panel-bg);--seatpost-bg:var(--input-bg);--seatpost-border:var(--border);--seatpost-muted:var(--muted);--seatpost-text:var(--heading);--seatpost-shadow:var(--shadow)}.seatpost-panel{align-content:start;gap:8px;display:grid}.seatpost-card,.seatpost-visual-panel{border:1px solid var(--seatpost-border);background:linear-gradient(135deg, #13a8680f, transparent 44%), var(--seatpost-card);box-shadow:var(--seatpost-shadow);border-radius:8px}.seatpost-card{border-top:4px solid var(--seatpost-success);padding:10px}.seatpost-card h2{color:var(--seatpost-text);margin:0;font-size:1rem}.seatpost-card-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.seatpost-lock-controls{flex-wrap:wrap;justify-content:flex-end;gap:6px 10px;display:flex}.seatpost-inputs{gap:5px;display:grid}.seatpost-field{grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:3px 8px;padding:2px 0;display:grid}.seatpost-field>span{color:var(--seatpost-muted);white-space:nowrap;font-size:.76rem;font-weight:700}.seatpost-number-row{grid-template-columns:auto minmax(0,1fr) 22px;align-items:center;gap:4px;display:grid}.seatpost-number-row strong{min-width:8px;color:var(--seatpost-muted);font-size:1rem;line-height:1}.seatpost-number-row:not(:has(strong)){grid-template-columns:minmax(0,1fr) 22px}.seatpost-number-row input{border-color:var(--seatpost-border);min-height:28px;color:var(--seatpost-text);text-align:right;border-radius:6px;padding:3px 8px}.seatpost-field.is-disabled>span,.seatpost-field.is-disabled .seatpost-number-row small,.seatpost-field.is-disabled .seatpost-slider-scale{opacity:.58}.seatpost-field.is-disabled input{cursor:not-allowed;opacity:.58}.seatpost-number-row small{color:var(--seatpost-muted);font-size:.72rem}.seatpost-slider{appearance:none;width:100%;height:12px;accent-color:var(--seatpost-primary);background:0 0;grid-column:1/-1;margin:0}.seatpost-slider-scale{color:var(--seatpost-muted);grid-column:1/-1;justify-content:space-between;margin-top:2px;font-size:.64rem;font-weight:700;display:flex}.seatpost-lock-control{min-height:24px;color:var(--seatpost-muted);white-space:nowrap;align-items:center;gap:6px;font-size:.68rem;font-weight:800;display:flex}.seatpost-lock-control input{width:15px;height:15px;accent-color:var(--seatpost-primary);margin:0}.seatpost-lock-control:has(input:disabled){opacity:.55}.seatpost-slider::-webkit-slider-runnable-track{background:var(--result-bg);border-radius:999px;height:4px}.stack-slider::-webkit-slider-runnable-track{background:var(--result-bg);border-radius:999px;height:4px}.seatpost-slider::-webkit-slider-thumb{appearance:none;border:2px solid var(--accent);background:var(--panel-bg);border-radius:999px;width:14px;height:14px;margin-top:-5px}.stack-slider::-webkit-slider-thumb{appearance:none;border:2px solid var(--accent);background:var(--panel-bg);border-radius:999px;width:14px;height:14px;margin-top:-5px}.seatpost-slider::-moz-range-track{background:var(--result-bg);border:0;border-radius:999px;height:4px}.stack-slider::-moz-range-track{background:var(--result-bg);border:0;border-radius:999px;height:4px}.seatpost-slider::-moz-range-thumb{border:2px solid var(--accent);background:var(--panel-bg);border-radius:999px;width:12px;height:12px}.stack-slider::-moz-range-thumb{border:2px solid var(--accent);background:var(--panel-bg);border-radius:999px;width:12px;height:12px}.seatpost-results{display:grid}.seatpost-result{border-bottom:1px solid var(--seatpost-border);cursor:help;justify-content:space-between;align-items:center;min-height:30px;padding:4px 0;display:flex}.seatpost-result:last-child{border-bottom:0}.seatpost-result span{color:var(--seatpost-muted);font-size:.8rem;font-weight:700}.seatpost-result strong{color:var(--seatpost-primary);font-size:.92rem}.seatpost-reset-button{width:100%;margin-top:10px}.seatpost-visual-panel{place-items:center;padding:0;display:grid}.seatpost-visual-panel .visual-header{display:none}.seatpost-visual{aspect-ratio:330/599;width:100%;max-width:100%;height:auto;min-height:0;color:var(--seatpost-border);border:1px solid var(--seatpost-border);background:linear-gradient(180deg, #0f6f860a, transparent 36%), var(--seatpost-bg);border-radius:8px;display:block}.seatpost-grid-bg{fill:url(#seatpost-grid)}.axis-line{stroke:#777;stroke-width:.8px;opacity:.7}.bb-dot{fill:var(--seatpost-bg);stroke:var(--heading);stroke-width:2px}.seat-tube-body{fill:var(--seatpost-primary);stroke:#00000029;stroke-width:.8px}.seat-tube-line{stroke:var(--seatpost-primary);stroke-width:12px;stroke-linecap:round}.seatpost-body{fill:#c8d0d5;stroke:#00000029;stroke-width:.8px}.saddle-guide{stroke:var(--seatpost-muted);stroke-dasharray:4 5;stroke-width:1px;opacity:.7}.saddle-src-line{stroke:var(--seatpost-success);stroke-dasharray:8 6;stroke-width:2px;opacity:.9}.sta-arc,.esta-arc{fill:none;stroke-dasharray:7 6;stroke-linecap:round;stroke-width:3px}.sta-arc{stroke:var(--seatpost-primary)}.esta-arc{stroke:var(--seatpost-success)}.saddle-image{image-rendering:auto}.saddle-point{fill:var(--seatpost-success);stroke:var(--panel-bg);stroke-width:1.6px}.seatpost-label{paint-order:stroke;stroke:var(--seatpost-bg);stroke-linejoin:round;stroke-width:2.5px;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:800}.measurement-label,.rail-label,.exposed-label,.bb-label{fill:var(--heading)}.setback-label,.src-label,.esta-label{fill:var(--seatpost-success)}.sta-label{fill:var(--seatpost-primary)}.empty-visual-text{fill:var(--seatpost-muted);font-size:14px}.stack-workspace{--stack-primary:#6f63d8;--stack-frame:#c8ced0;--stack-stem:#b6bdc0;--stack-spacer:#9fa7aa;--stack-headset:#555f63;--stack-marker:#0b7285;--stack-card:var(--panel-bg);--stack-bg:var(--input-bg);--stack-border:var(--border);--stack-muted:var(--muted);--stack-text:var(--heading);--stack-grid:#e5dccd;--stack-axis:#b9aa91;--stack-shadow:var(--shadow);grid-template-columns:280px minmax(400px,600px);justify-content:center;align-items:stretch;gap:18px;display:grid}:root[data-theme=dark] .stack-workspace{--stack-grid:#2b3732;--stack-axis:#617069;--stack-frame:#a8b3b6;--stack-stem:#9ba6aa;--stack-spacer:#838f93;--stack-headset:#68747a}.stack-panel{align-self:start;gap:8px;display:grid}.stack-input-card,.stack-results-card,.stack-visual-panel{border:1px solid var(--stack-border);background:linear-gradient(135deg, #6f63d812, transparent 44%), var(--stack-card);box-shadow:var(--stack-shadow);border-radius:8px}.stack-input-card{gap:5px;padding:10px;display:grid}.stack-field{grid-template-columns:minmax(0,1fr) 116px;align-items:center;gap:3px 8px;padding:2px 0;display:grid}.stack-field>span{color:var(--stack-muted);white-space:nowrap;font-size:.76rem;font-weight:700}.stack-number-row{grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:4px;display:grid}.stack-number-row input{border-color:var(--stack-border);min-height:28px;color:var(--stack-text);text-align:right;border-radius:6px;padding:3px 8px}.stack-number-row small{color:var(--stack-muted);font-size:.72rem}.stack-slider{appearance:none;width:100%;height:14px;min-height:14px;accent-color:var(--stack-primary);background:0 0;border:0;border-radius:0;grid-column:1/-1;margin:0;padding:0}.stack-results-card{gap:4px;padding:10px;display:grid}.stack-search-frames-button{border-color:var(--stack-primary);background:var(--stack-primary);color:#fff;justify-self:center}.stack-search-frames-button:hover:not(:disabled){border-color:color-mix(in srgb, var(--stack-primary) 84%, #000);background:color-mix(in srgb, var(--stack-primary) 84%, #000);color:#fff}.stack-search-frames-button:disabled{cursor:not-allowed;opacity:.5}.stack-result-field{border-bottom:1px solid var(--stack-border);justify-content:space-between;align-items:center;min-height:30px;padding-bottom:4px;display:flex}.stack-result-field:last-child{border-bottom:0;padding-bottom:0}.stack-result-field span{color:var(--stack-muted);font-size:.8rem;font-weight:700}.stack-result-field strong{color:var(--stack-primary);font-size:1rem}.stack-visual-panel{aspect-ratio:520/635;justify-self:center;width:min(100%,520px);display:flex;overflow:hidden}.stack-visual{width:100%;height:100%;min-height:0;color:var(--stack-grid);background-color:var(--stack-bg);display:block}.stack-grid-bg{fill:url(#stack-grid)}.frame-tube{stroke:var(--stack-frame);stroke-linecap:butt;stroke-linejoin:miter}.stack-axis{stroke:var(--stack-axis);stroke-dasharray:6 6;stroke-width:1.5px}.stack-guide{stroke:var(--stack-primary);stroke-dasharray:8 6;stroke-width:2px;opacity:.9}.stack-marker{stroke:red;stroke-width:1.2px;stroke-linecap:round}.stem-line,.steerer-stem-segment{stroke:var(--stack-stem);stroke-linecap:butt}.steerer-spacer-segment{stroke:var(--stack-spacer);stroke-linecap:butt}.steerer-headset{fill:var(--stack-headset)}.handlebar-circle{fill:var(--stack-bg);stroke:var(--stack-primary);stroke-width:4px}.handlebar-dot{fill:var(--stack-primary)}.stack-bb{fill:var(--stack-bg);stroke:var(--stack-frame);stroke-width:4px}.stack-label{fill:var(--stack-muted);font-size:13px;font-weight:700}.stack-visual-panel .empty-visual-text{fill:var(--stack-muted)}.stack-about-card{border:1px solid var(--border);background:var(--panel-bg);width:min(100%,898px);box-shadow:var(--shadow);color:var(--text);border-radius:8px;margin:24px auto 0;padding:22px 24px;font-size:.9rem;line-height:1.55}.stack-about-card h2,.stack-about-card h3{color:var(--heading);text-align:center}.stack-about-card h2{margin:0 0 14px;font-size:1.1rem}.stack-about-card h3{margin:18px 0 10px;font-size:1rem}.stack-about-definitions{gap:10px;margin:0;display:grid}.stack-about-definitions dt,.stack-about-definitions dd{display:inline}.stack-about-definitions dt{color:var(--accent-strong);font-weight:800}.stack-about-definitions dt:after{content:" "}.stack-about-definitions dd{margin:0}.stack-about-card ol{margin:0;padding-left:22px}.stack-about-card li+li{margin-top:9px}.stack-about-card strong{color:var(--accent-strong)}.stack-about-card p{margin:0}.stack-about-card .stack-about-note{color:var(--muted);margin-top:10px;font-style:italic}@media (width>=1181px){.stack-workspace{grid-template-columns:280px 520px;gap:12px}.stack-panel{grid-template-rows:auto auto 1fr;align-self:stretch}.stack-search-frames-button{align-self:center}.stack-about-card{width:min(100%,812px)}}.y1rs-workspace{--y1rs-primary:var(--accent);--y1rs-saddle:#23b86b;--y1rs-bar:#1478ff;--y1rs-hub:#c95a1a;--y1rs-bb:var(--heading);--y1rs-grid:#e8edf0;--y1rs-axis:#94a3ad;grid-template-columns:320px minmax(520px,760px);justify-content:center;align-items:stretch;gap:18px;display:grid}.y1rs-prescriptions{max-width:1098px;margin:18px auto 0}.y1rs-prescription-disclaimer{color:var(--danger);margin:-4px 0 12px;font-size:.82rem;line-height:1.35}.y1rs-access-notice{border:1px solid var(--border);background:var(--panel-bg);max-width:640px;box-shadow:var(--shadow);text-align:center;border-radius:8px;margin:24px auto 0}.y1rs-access-notice p{color:var(--muted);margin:8px 0 0;font-weight:700}.y1rs-preview-notice{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:color-mix(in srgb, var(--accent) 8%, var(--panel-bg));max-width:1098px;color:var(--muted);border-radius:8px;align-items:baseline;gap:8px;margin:0 auto 12px;padding:10px 14px;display:flex}.y1rs-preview-notice strong{color:var(--text);white-space:nowrap}@media (width<=700px){.y1rs-preview-notice{flex-direction:column;align-items:flex-start}}.y1rs-prescriptions .bike-prescriber-table{table-layout:fixed;min-width:0}.y1rs-prescriptions .bike-results-table-wrap{position:relative;overflow:visible}.y1rs-calculating-overlay{z-index:3;border-radius:inherit;background:color-mix(in srgb, var(--panel-bg) 58%, transparent);color:var(--heading);pointer-events:none;place-items:center;font-size:.95rem;font-weight:900;display:grid;position:absolute;inset:0}.y1rs-calculating-overlay:before{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);content:"Calculating prescriptions…";border-radius:7px;padding:8px 12px}.y1rs-prescriptions .bike-prescriber-table th,.y1rs-prescriptions .bike-prescriber-table td{text-align:center;min-width:0;padding:7px 3px}.y1rs-prescriptions .bike-prescriber-table th{white-space:normal;font-size:.76rem;line-height:1.15}.y1rs-prescriptions .bike-prescriber-table td{white-space:nowrap;font-size:.84rem}.y1rs-prescriptions .bike-prescriber-table th:first-child{width:6%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(2){width:12%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(3){width:10%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(4),.y1rs-prescriptions .bike-prescriber-table th:nth-child(5){width:9%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(6){width:13%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(7){width:18%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(8){width:20%}.y1rs-prescriptions .bike-prescriber-table th:nth-child(9){width:14%}.y1rs-instant-tooltip{cursor:help;text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;display:inline-block;position:relative}.y1rs-instant-tooltip:after{z-index:20;border:1px solid var(--border);background:var(--heading);width:max-content;max-width:280px;color:var(--panel-bg);box-shadow:var(--shadow);content:attr(data-tooltip);opacity:0;pointer-events:none;text-align:center;visibility:hidden;white-space:normal;border-radius:6px;padding:6px 8px;font-size:.75rem;font-weight:700;line-height:1.3;text-decoration:none;transition:none;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%,2px)}.y1rs-instant-tooltip:hover:after,.y1rs-instant-tooltip:focus:after{opacity:1;visibility:visible;transform:translate(-50%)}.y1rs-prescriptions tbody tr:last-child .y1rs-instant-tooltip:after{top:auto;bottom:calc(100% + 7px)}.y1rs-prescriptions td:nth-child(n+7) .y1rs-instant-tooltip:after{left:auto;right:0;transform:translateY(2px)}.y1rs-prescriptions td:nth-child(n+7) .y1rs-instant-tooltip:hover:after,.y1rs-prescriptions td:nth-child(n+7) .y1rs-instant-tooltip:focus:after{transform:translateY(0)}.y1rs-prescriptions .bike-prescriber-table td.y1rs-range-warning{color:#b77900;font-weight:900}.y1rs-prescriptions .bike-prescriber-table td.y1rs-range-danger{color:var(--negative);font-weight:900}:root[data-theme=dark] .y1rs-workspace{--y1rs-grid:#26343a;--y1rs-axis:#5d6b72}.y1rs-input-panel,.y1rs-visual-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:var(--shadow);border-radius:8px}.y1rs-input-panel{gap:14px;padding:14px;display:grid}.y1rs-colnago-link{text-align:center;gap:8px;padding-top:2px;display:grid}.y1rs-colnago-link p{color:var(--muted);margin:0;font-size:.82rem;line-height:1.35}.y1rs-colnago-link a{border:1px solid var(--border);min-height:36px;color:var(--accent);border-radius:7px;justify-content:center;align-items:center;padding:7px 10px;font-size:.84rem;font-weight:800;text-decoration:none;display:flex}.y1rs-colnago-link a:hover{border-color:var(--accent);background:var(--accent-soft)}.y1rs-input-panel h2{border-bottom:1px solid var(--border);color:var(--heading);margin:0;padding-bottom:6px;font-size:1rem}.y1rs-input-grid{gap:10px;display:grid}.y1rs-field{color:var(--heading);grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:8px;font-weight:750;display:grid}.y1rs-field>div{grid-template-columns:minmax(0,1fr) 26px;align-items:center;gap:4px;display:grid}.y1rs-field input{border:1px solid var(--border);background:var(--input-bg);min-height:34px;color:var(--heading);font:inherit;text-align:right;border-radius:7px;padding:5px 8px}.y1rs-field small{color:var(--muted);font-size:.76rem;font-weight:800}.y1rs-field .y1rs-optional-label{font-size:.68rem;font-weight:500}.y1rs-reset-button{border-radius:7px;min-height:36px;padding:7px 10px;font-size:.84rem;font-weight:800}.y1rs-assumptions p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.y1rs-results{gap:7px;display:grid}.y1rs-result-row{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:12px;padding-bottom:6px;font-size:.86rem;display:flex}.y1rs-result-row strong{color:var(--heading);white-space:nowrap;font-size:1rem}.y1rs-result-row .y1rs-result-letter{color:var(--heading);font-size:1rem;font-weight:900}.y1rs-visual-panel{grid-template-rows:minmax(0,1fr) auto;gap:10px;padding:14px;display:grid;overflow:hidden}.y1rs-visual-panel svg{aspect-ratio:auto;border:1px solid var(--border);background:var(--input-bg);width:100%;height:100%;min-height:0;color:var(--y1rs-grid);border-radius:8px;display:block}.y1rs-visual-disclaimer{color:var(--muted);margin:0;font-size:.8rem;line-height:1.4}.y1rs-grid-bg{fill:url(#y1rs-grid)}.y1rs-axis{stroke:var(--y1rs-axis);stroke-dasharray:7 6;stroke-width:1.4px;opacity:.72}.y1rs-seatpost-range line{stroke:#a855f7;stroke-width:5px;stroke-linecap:round}.y1rs-seatpost-buffer{fill:color-mix(in srgb, var(--y1rs-saddle) 20%, transparent);stroke:none}.y1rs-seatpost-range text{fill:#7e22ce;paint-order:stroke;stroke:var(--panel-bg);stroke-linejoin:round;stroke-width:4px;font-weight:800}:root[data-theme=dark] .y1rs-seatpost-range text{fill:#d8b4fe}.y1rs-measurement line{stroke-width:2.7px;stroke-linecap:round;opacity:.88}.y1rs-measurement text{paint-order:stroke;stroke:var(--input-bg);stroke-linejoin:round;stroke-width:2.2px;font-weight:900}.y1rs-measurement-letter{font-size:.95em}.y1rs-measurement-value{font-size:1em}.y1rs-measurement-a line{stroke:#1f6feb}.y1rs-measurement-a text{fill:#1f6feb}.y1rs-measurement-b line{stroke:#7c3aed}.y1rs-measurement-b text{fill:#7c3aed}.y1rs-measurement-c line{stroke:#c05621}.y1rs-measurement-c text{fill:#c05621}.y1rs-measurement-d line{stroke:#0f6f86}.y1rs-measurement-d text{fill:#0f6f86}.y1rs-measurement-e line{stroke:#13a868}.y1rs-measurement-e text{fill:#13a868}.y1rs-esta path{fill:none;stroke:var(--y1rs-saddle);stroke-dasharray:6 5;stroke-linecap:round;stroke-width:2.3px;opacity:.92}.y1rs-esta text{fill:var(--muted);paint-order:stroke;stroke:var(--input-bg);stroke-linejoin:round;stroke-width:2.2px;font-weight:700}.y1rs-bb-point{fill:var(--input-bg);stroke:var(--y1rs-bb);stroke-width:4px}.y1rs-saddle-point{fill:var(--y1rs-saddle);stroke:var(--input-bg);stroke-width:3px}.y1rs-handlebar-point{fill:var(--y1rs-bar);stroke:var(--input-bg);stroke-width:3px}.y1rs-prescription-point{fill:none;stroke:var(--danger);stroke-width:4px}.y1rs-hub-point{fill:var(--y1rs-hub);stroke:var(--input-bg);stroke-width:3px}.y1rs-point-label,.y1rs-empty-text{fill:var(--muted);paint-order:stroke;stroke:var(--input-bg);stroke-linejoin:round;stroke-width:2.2px;font-weight:700}@media (width<=1180px){.workspace,.seatpost-workspace,.stack-workspace,.y1rs-workspace,.bike-search-workspace,.pad-xy-workspace,.position-simulator-workspace{grid-template-columns:1fr}.stack-workspace{align-items:start}.tool-card-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.seatpost-panel,.stack-panel,.stack-visual-panel,.y1rs-visual-panel{justify-self:center;width:min(100%,450px)}.y1rs-visual-panel{grid-template-rows:auto;height:auto}.seatpost-visual-panel{justify-self:center;width:min(100%,380px)}.stack-visual-panel,.stack-about-card{width:min(100%,560px)}.stack-visual{aspect-ratio:520/635;height:auto}.position-simulator-workspace{width:100%}.stem-workspace,.stem-workspace.has-many-stems{grid-template-columns:1fr;width:100%}.stem-workspace .visual-panel{justify-self:center}.xy-position-workspace{width:100%}.xy-position-workspace.rider-panel-collapsed{grid-template-columns:46px minmax(0,1fr)}.xy-target-panel,.xy-comparison-area{width:100%}.xy-comparison-area.is-inline .xy-bikes-panel{width:max-content;max-width:100%}.xy-comparison-area.is-stacked .xy-bikes-panel{width:100%;max-width:100%}.xy-visual-panel{flex-basis:400px;max-width:min(100%,600px)}.xy-bike-card-shell{flex-basis:254px;width:254px}.position-visual-panel>svg{height:min(72vw,56svh);min-height:320px}.tool-header.geometry-visualizer-header{text-align:center;grid-template-columns:1fr;justify-items:center}.geometry-visualizer-heading,.geometry-mode-control{grid-column:1;justify-self:center}}@media (width<=700px){.y1rs-visual-panel{height:auto;padding:10px}.y1rs-visual-panel svg{aspect-ratio:740/520;height:auto;min-height:0}.y1rs-measurement text,.y1rs-point-label,.y1rs-esta text{stroke-width:3px}.y1rs-result-row strong,.y1rs-result-row .y1rs-result-letter{font-size:1.08rem}}.xy-position-main>.xy-page-action-bar{width:100%;padding:4px 0 0}@media (width<=980px){.app-shell,.guide-layout{grid-template-columns:1fr}.guide-toc{width:100%;position:static}.side-nav{height:auto;padding:14px;position:static}.side-nav nav{max-width:100%;padding-bottom:0;display:grid;overflow:visible}.secondary-nav{max-width:100%;margin-top:0;display:grid}.secondary-nav a{white-space:nowrap;flex:none}.side-nav .ghost{display:none}main{padding:18px 14px 28px}.home-guide-band{flex-direction:column;align-items:flex-start}.tool-card-grid,.profile-grid{grid-template-columns:1fr}.profile-grid>.profile-panel{grid-area:auto/1/auto/-1}.profile-grid{grid-template-columns:1fr}.profile-settings-column,.profile-database-column,.profile-support-grid{grid-column:1/-1}.profile-support-grid{grid-template-columns:1fr}.profile-brand-manager-panel{grid-template-rows:auto}.profile-brand-manager-list{height:clamp(220px,42vh,320px)}.tool-header{display:grid}.stem-grid{display:none}.mobile-comparison-card{padding:12px;display:block}.mobile-comparison-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.mobile-comparison-header h2{color:var(--heading);margin:0;font-size:1rem}.mobile-stem-matrix{align-items:stretch;gap:5px;display:grid}.mobile-matrix-heading{background:var(--result-bg);min-width:0;min-height:30px;color:var(--heading);border-radius:8px;justify-content:space-between;align-items:center;padding:5px;font-size:.78rem;font-weight:800;display:flex}.mobile-matrix-heading .icon-button{width:22px;height:22px}.mobile-matrix-label{color:var(--muted);align-items:center;min-width:0;font-size:.74rem;font-weight:800;display:flex}.mobile-matrix-cell{border:1px solid #0000;border-radius:8px;min-width:0;padding:3px}.mobile-matrix-cell.is-different{border-color:var(--highlight-border);background:var(--highlight-bg)}.mobile-matrix-cell input{text-align:center;appearance:textfield;width:100%;min-height:30px;padding:3px 5px}.mobile-matrix-cell input::-webkit-inner-spin-button{appearance:none;margin:0}.mobile-matrix-cell input::-webkit-outer-spin-button{appearance:none;margin:0}.mobile-matrix-result{background:var(--result-bg);text-align:center;border-radius:8px;align-content:center;gap:2px;min-width:0;min-height:44px;padding:5px;display:grid}.mobile-matrix-result strong{color:var(--heading);font-size:.95rem}.mobile-matrix-result .delta{grid-column:auto;min-height:0;font-size:.62rem;line-height:1.05}.toolbar{width:100%}.toolbar .icon-text-button{flex:1}.stack-workspace{gap:16px}.bike-search-workspace,.pad-xy-workspace{gap:14px}.bike-search-panel{padding:14px}.position-simulator-workspace{gap:14px}.xy-position-workspace{grid-template-columns:1fr;gap:14px;padding-left:0}.xy-position-main{display:contents}.tool-header.xy-position-header{order:1;padding:78px 24px 0}.xy-comparison-area>.xy-page-action-bar{order:2;justify-content:center;padding:0}.xy-comparison-area>.xy-bikes-panel{order:1}.xy-comparison-area>.xy-visual-panel,.xy-target-panel{order:3}.xy-comparison-area{order:4;padding:8px 24px 0}.xy-position-workspace.rider-panel-collapsed{grid-template-columns:1fr}.xy-target-panel{justify-self:center;width:min(100%,320px);min-height:0;max-height:none;margin:0;position:relative;top:auto}.xy-position-workspace.rider-panel-collapsed .xy-target-panel{width:min(100%,320px);min-height:44px;max-height:none;padding:8px}.xy-position-workspace.rider-panel-collapsed .xy-target-expand-button{border-radius:7px;grid-template-rows:none;grid-template-columns:22px minmax(0,1fr);width:100%;min-height:34px}.xy-position-workspace.rider-panel-collapsed .xy-target-expand-button span{writing-mode:horizontal-tb}.xy-comparison-area{justify-content:center}.xy-comparison-area.is-stacked{align-items:stretch}.xy-comparison-area.is-stacked .xy-bikes-panel{width:100%;max-width:100%}.xy-visual-panel{flex:none;align-self:center;width:min(100%,600px);max-width:min(100%,600px);min-height:0}.xy-visual-panel svg{height:min(88vw,58svh);min-height:320px}.position-visual-panel>svg{height:min(82vw,52svh);min-height:280px}}@media (width<=520px){.stem-card{flex-basis:100%}.seatpost-field{grid-template-columns:minmax(0,1fr) 110px}.stack-panel,.stack-visual-panel{width:100%}.stack-input-card,.stack-results-card{padding:14px}.stack-about-card{margin-top:18px;padding:16px}.stack-slider{height:30px;min-height:30px}.stack-field{grid-template-columns:minmax(0,1fr) 116px}.bike-parameter-grid,.bike-prescriber-bounds-card,.bike-geometry-card,.bike-search-actions{grid-template-columns:1fr}.position-bike-card,.position-visual-panel,.xy-target-panel,.xy-bike-card,.xy-visual-panel{padding:12px}.xy-target-field{grid-template-columns:minmax(0,1fr) 90px 28px}.xy-bike-field{grid-template-columns:minmax(0,1fr) 82px 30px}.xy-result-row{grid-template-columns:minmax(0,1fr) 102px}.xy-visual-panel svg{aspect-ratio:1.42;height:auto;min-height:0}.position-field{grid-template-columns:minmax(0,1fr) 88px 30px}.xy-bike-field>.responsive-field-label,.position-field>.responsive-field-label{font-size:0;line-height:0}.xy-bike-field>.responsive-field-label:after,.position-field>.responsive-field-label:after{content:attr(data-mobile-label);font-size:.88rem;line-height:1.2;display:inline}.position-field div{grid-template-columns:88px}.position-result{grid-template-columns:minmax(0,1fr) 100px}.position-visual-panel>svg{height:min(92vw,46svh);min-height:240px}.profile-export-dialog{padding:18px}.profile-export-format-grid,.profile-export-controls,.profile-export-date-grid{grid-template-columns:1fr}.profile-export-actions{flex-direction:column-reverse}}.app-nav-shell{grid-template-columns:minmax(0,1fr)}.app-menu-toggle{z-index:1200;border:1px solid var(--border);background:var(--panel-bg);width:42px;height:42px;color:var(--heading);box-shadow:var(--shadow);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:transform .18s,border-color .16s,color .16s,background-color .16s;display:inline-flex;position:fixed;top:23px;left:14px}.app-menu-toggle:hover,.app-menu-toggle:focus-visible{border-color:var(--accent);color:var(--accent-strong)}.app-menu-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.app-nav-shell.nav-open .app-menu-toggle,.app-nav-shell.theme-nav-preview .app-menu-toggle{top:23px}.app-collapsed-brand{z-index:990;box-shadow:none;isolation:isolate;background:0 0;border-radius:10px;align-items:center;padding:7px 18px 7px 8px;text-decoration:none;transition:transform .18s,background .16s;display:inline-flex;position:fixed;top:16px;left:64px}.app-collapsed-brand:before{z-index:1;content:"";background:var(--page-logo-color);position:absolute;inset:7px 18px 7px 8px;-webkit-mask:url(/logo-singleline.png) 50%/contain no-repeat;mask:url(/logo-singleline.png) 50%/contain no-repeat}.app-collapsed-brand:after{z-index:0;background:var(--page-bg);content:"";filter:blur(10px);border-radius:8px;position:absolute;inset:6px 10px}.app-collapsed-brand img{z-index:1;opacity:0;width:176px;max-width:100%;height:auto;display:block;position:relative}.app-collapsed-brand:hover,.app-collapsed-brand:focus-visible{background:0 0}.app-collapsed-brand:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.app-nav-shell.nav-open .app-collapsed-brand,.app-nav-shell.theme-nav-preview .app-collapsed-brand{visibility:hidden;pointer-events:none}.app-nav-shell.mobile-chrome-hidden .app-menu-toggle,.app-nav-shell.mobile-chrome-hidden .app-collapsed-brand{pointer-events:none;transform:translateY(-76px)}@media (width<=760px){main{padding-top:92px}.home-page,.guide-page,.about-page,.changelog-page,.legal-page,.manuals-page,.profile-page,.subscribe-page{padding-top:108px}.app-collapsed-brand{text-overflow:ellipsis;max-width:calc(100vw - 76px);left:64px;overflow:hidden}}.app-nav-backdrop{z-index:1000;cursor:pointer;background:#0f212b4d;border:0;position:fixed;inset:0}.app-nav-shell .side-nav{z-index:1100;overscroll-behavior:contain;visibility:hidden;pointer-events:none;width:248px;height:100svh;transition:transform .18s,visibility .18s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-104%)}.app-nav-shell.nav-open .side-nav,.app-nav-shell.theme-nav-preview .side-nav{visibility:visible;pointer-events:auto;transform:translate(0)}@media (width<=700px){.geometry-configuration-action-bar{grid-template-columns:minmax(0,1fr) auto}.geometry-configuration-buttons{width:100%}.geometry-configuration-buttons .xy-entitlement-tooltip,.geometry-configuration-buttons>button{flex:1}.geometry-configuration-action-feedback{grid-area:2/1/auto/-1}.geometry-configuration-current-name{grid-area:1/2}.geometry-save-configuration-dialog,.geometry-open-configuration-dialog{max-height:calc(100svh - 36px)}.geometry-configuration-dialog-toolbar{grid-template-columns:minmax(0,1fr)}.geometry-configuration-dialog-toolbar label{justify-content:space-between}.geometry-configuration-table{min-width:0;padding:5px}.geometry-configuration-header{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.geometry-configuration-row:not(.geometry-configuration-header){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name actions""bikes bikes""created updated";row-gap:10px;min-height:0;padding:11px}.geometry-configuration-name{grid-area:name}.geometry-configuration-bike-list{border-block:1px solid var(--border);grid-area:bikes;padding-block:7px}.geometry-configuration-date{gap:2px;font-size:.78rem;display:grid}.geometry-configuration-date:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:800}.geometry-configuration-date.is-created{grid-area:created}.geometry-configuration-date.is-updated{grid-area:updated}.geometry-configuration-row-actions{grid-area:actions;align-self:start}.geometry-unsaved-configuration-actions button{flex:150px}}.sr-chart-page{width:100%}.sr-chart-tool-header p{max-width:760px}.sr-chart-workspace{grid-template-columns:minmax(280px,330px) fit-content(760px);justify-content:center;align-items:start;gap:16px;width:min(100%,1106px);margin:0 auto;display:grid}.sr-chart-workspace>.subscription-lock-notice{grid-column:1/-1}.sr-chart-picker,.sr-chart-panel{border:1px solid var(--border);background:var(--panel-bg);min-width:0;box-shadow:var(--shadow);border-radius:10px}.sr-chart-picker{gap:14px;padding:16px;display:grid}.sr-chart-panel{justify-self:center;width:fit-content;max-width:100%;overflow:hidden}.sr-chart-chart{width:fit-content;max-width:100%}.sr-chart-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.sr-chart-panel-heading h2{color:var(--heading);margin:0;font-size:1.08rem}.sr-chart-panel-heading .eyebrow{margin-bottom:3px;font-size:.68rem}.sr-chart-count{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--border));background:color-mix(in srgb, var(--accent) 9%, var(--panel-bg));min-width:46px;min-height:30px;color:var(--accent-strong);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:3px 9px;font-size:.78rem;font-weight:900;display:inline-flex}.sr-chart-add-form{gap:10px;display:grid}.sr-chart-add-form label{gap:5px;display:grid}.sr-chart-add-form label>span{color:var(--heading);font-size:.76rem;font-weight:850}.sr-chart-add-form select{min-height:40px}.sr-chart-add-form select:disabled,.sr-chart-add-form button:disabled,.sr-chart-remove-button:disabled{cursor:not-allowed;opacity:.58}.sr-chart-add-button{border-color:var(--accent);background:var(--accent);color:#fff;width:100%;min-height:40px;margin-top:2px}.sr-chart-add-button:hover:not(:disabled){border-color:var(--accent-strong);background:var(--accent-strong);color:#fff}.sr-chart-spinner{animation:.85s linear infinite spin}.sr-chart-feedback{min-height:34px;color:var(--muted);margin:-2px 0 0;font-size:.76rem;line-height:1.4}.sr-chart-feedback.is-error{color:var(--danger);font-weight:750}.sr-chart-selected-list{border-top:1px solid var(--border);gap:8px;padding-top:13px;display:grid}.sr-chart-selected-empty{border:1px dashed var(--border);background:color-mix(in srgb, var(--result-bg) 65%, transparent);text-align:center;border-radius:8px;justify-items:center;gap:3px;padding:24px 12px;display:grid}.sr-chart-selected-empty span{color:var(--heading);font-size:.84rem;font-weight:850}.sr-chart-selected-empty small{color:var(--muted);font-size:.73rem}.sr-chart-selected-bike{border:1px solid var(--border);background:var(--result-bg);border-radius:8px;grid-template-columns:46px minmax(0,1fr) 30px;align-items:center;gap:9px;padding:9px;display:grid}.sr-chart-selected-swatch{width:46px;height:18px;display:block;overflow:visible}.sr-chart-selected-swatch line{stroke-linecap:round;stroke-width:2.5px}.sr-chart-selected-bike>div{gap:2px;min-width:0;display:grid}.sr-chart-selected-bike strong{color:var(--heading);text-overflow:ellipsis;font-size:.8rem;line-height:1.3;overflow:hidden}.sr-chart-selected-bike small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.69rem}.sr-chart-remove-button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex}.sr-chart-remove-button:hover:not(:disabled),.sr-chart-remove-button:focus-visible{border-color:color-mix(in srgb, var(--danger) 35%, var(--border));background:color-mix(in srgb, var(--danger) 9%, transparent);color:var(--danger)}.sr-chart-remove-button:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.sr-chart-plot-wrap{background:var(--panel-bg);justify-content:center;width:100%;min-width:0;display:flex;overflow-x:auto}.sr-chart-plot{width:auto;max-width:100%;height:auto;max-height:var(--sr-chart-max-plot-height,calc(100dvh - 180px));text-rendering:geometricprecision;display:block}.sr-chart-plot-area{fill:color-mix(in srgb, var(--input-bg) 80%, var(--panel-bg))}.sr-chart-grid-line{stroke:color-mix(in srgb, var(--border) 84%, transparent);stroke-width:1px;shape-rendering:crispedges}.sr-chart-axis{stroke:var(--heading);stroke-width:1.5px;shape-rendering:crispedges}.sr-chart-axis-label{fill:var(--muted);font-size:12px;font-weight:650}.sr-chart-axis-title{fill:var(--heading);letter-spacing:.02em;font-size:13px;font-weight:850}.sr-chart-series-line{stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5px;opacity:.78;vector-effect:non-scaling-stroke}.sr-chart-point{cursor:crosshair;outline:none}.sr-chart-point-hit-area{fill:#0000;stroke:none}.sr-chart-series-marker{vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:50%;transition:filter .12s,transform .12s}.sr-chart-point:hover .sr-chart-series-marker,.sr-chart-point:focus .sr-chart-series-marker,.sr-chart-point.is-active .sr-chart-series-marker{filter:drop-shadow(0 0 3px color-mix(in srgb, var(--heading) 42%, transparent));transform:scale(1.35)}.sr-chart-point:focus .sr-chart-series-marker{stroke:var(--heading);stroke-width:2.5px}.sr-chart-hover-tooltip{pointer-events:none;filter:drop-shadow(0 5px 10px #10202b33)}.sr-chart-hover-tooltip rect{fill:color-mix(in srgb, var(--panel-bg) 96%, var(--accent) 4%);stroke:color-mix(in srgb, var(--accent) 42%, var(--border));stroke-width:1.25px}.sr-chart-hover-tooltip-stem{stroke:color-mix(in srgb, var(--accent) 55%, var(--border));stroke-width:1.25px}.sr-chart-hover-tooltip-name{fill:var(--heading);font-size:11px;font-weight:850}.sr-chart-hover-tooltip-metrics{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:10px;font-weight:700}.sr-chart-point-detail{border-top:1px solid var(--border);background:var(--result-bg);min-height:52px;color:var(--muted);font-variant-numeric:tabular-nums;align-content:center;justify-items:center;row-gap:2px;padding:6px 18px;font-size:.73rem;display:grid}.sr-chart-point-detail-name,.sr-chart-point-detail-metrics{justify-content:center;align-items:center;max-width:100%;display:flex}.sr-chart-point-detail-name{gap:7px}.sr-chart-point-detail-name>span{border-radius:50%;flex:none;width:9px;height:9px}.sr-chart-point-detail-name strong{color:var(--heading);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sr-chart-point-detail-metrics{white-space:nowrap;gap:12px}@media (width>=1101px){html.sr-plotter-scroll-lock,body.sr-plotter-scroll-lock,body.sr-plotter-scroll-lock #root{height:100%;overflow:hidden}.app-shell.sr-plotter-route{height:100dvh;min-height:0;overflow:hidden}.sr-chart-page{flex-direction:column;height:100%;min-height:0;display:flex}.sr-chart-tool-header{flex:none}.sr-chart-workspace{flex:auto;min-height:0}.sr-chart-picker{grid-template-rows:auto auto auto minmax(0,1fr);max-height:100%;overflow:hidden}.sr-chart-selected-list{scrollbar-gutter:stable;min-height:0;overflow-y:auto}}.sr-chart-empty{background:linear-gradient(color-mix(in srgb, var(--border) 34%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--border) 34%, transparent) 1px, transparent 1px), color-mix(in srgb, var(--input-bg) 76%, var(--panel-bg));text-align:center;background-size:54px 54px;align-content:center;justify-items:center;width:650px;max-width:100%;min-height:570px;padding:30px;display:grid}.sr-chart-empty-graphic{width:132px;height:86px;margin-bottom:16px;position:relative}.sr-chart-empty-graphic:before{border-bottom:2px solid var(--muted);border-left:2px solid var(--muted);content:"";opacity:.55;position:absolute;inset:9px 6px 11px}.sr-chart-empty-graphic:after{background:var(--accent);width:96px;height:2px;box-shadow:18px -14px 0 color-mix(in srgb, var(--accent) 88%, white), 42px -27px 0 var(--accent), 68px -43px 0 color-mix(in srgb, var(--accent) 88%, white), 92px -55px 0 var(--accent);content:"";opacity:.8;transform-origin:0;position:absolute;top:56px;left:18px;transform:rotate(-29deg)}.sr-chart-empty-graphic span{z-index:1;border:2px solid var(--panel-bg);background:var(--accent);border-radius:50%;width:10px;height:10px;position:absolute}.sr-chart-empty-graphic span:first-child{top:57px;left:14px}.sr-chart-empty-graphic span:nth-child(2){top:46px;left:37px}.sr-chart-empty-graphic span:nth-child(3){top:34px;left:61px}.sr-chart-empty-graphic span:nth-child(4){top:20px;left:87px}.sr-chart-empty-graphic span:nth-child(5){top:8px;left:111px}.sr-chart-empty strong{color:var(--heading);font-size:.98rem}.sr-chart-empty p{max-width:380px;color:var(--muted);margin:5px 0 0;font-size:.8rem}@media (width<=1100px){.sr-chart-plot{max-height:none}.sr-chart-workspace{grid-template-columns:minmax(0,1fr);max-width:900px}.sr-chart-picker{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start}.sr-chart-picker>.sr-chart-panel-heading,.sr-chart-picker>.sr-chart-feedback{grid-column:1/-1}.sr-chart-selected-list{border-top:0;border-left:1px solid var(--border);padding-top:0;padding-left:14px}}@media (width<=700px){.sr-chart-workspace{gap:12px}.sr-chart-picker{grid-template-columns:minmax(0,1fr);padding:13px}.sr-chart-picker>.sr-chart-panel-heading,.sr-chart-picker>.sr-chart-feedback{grid-column:auto}.sr-chart-selected-list{border-top:1px solid var(--border);border-left:0;padding-top:13px;padding-left:0}.sr-chart-point-detail{padding:9px 14px}.sr-chart-empty{min-height:420px}}
