/* Parts Lab — dark graphite interface. Brand: #0D1111 / #4EA69D / #FFFFFF. */
/* Supplied Paralucent: Medium body, Demi Bold headings, Bold emphasis. */
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-medium.woff") format("woff");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-medium-italic.woff") format("woff");
  font-weight:500;font-style:italic;font-display:swap;
}
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-demi-bold.woff") format("woff");
  font-weight:600;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-demi-bold-italic.woff") format("woff");
  font-weight:600;font-style:italic;font-display:swap;
}
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-bold.woff") format("woff");
  font-weight:700;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Paralucent";
  src:url("assets/fonts/paralucent-bold-italic.woff") format("woff");
  font-weight:700;font-style:italic;font-display:swap;
}
:root{--ink:#FFFFFF;--near-black:#0D1111;--teal:#4EA69D;--green:#4EA69D;--line:#2A3634;--muted:#A3B3B0;--paper:#151C1B;--wash:#0D1111;--sidebar:#0D1111;--soft:#182925;--radius:4px;font-family:"Paralucent",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:500;color:var(--ink);font-synthesis:none}h1,h2,h3,h4,h5,h6{font-weight:600}strong,b{font-weight:700}*{box-sizing:border-box}body{margin:0;font-size:13px;background:var(--wash)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--teal);outline-offset:3px}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}span[data-icon]{display:inline-flex;flex:none}[hidden]{display:none!important}.app-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);padding:32px 19px 21px;position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;gap:12px;align-items:center;padding:0 9px 27px}.brand img{width:33px;height:40px}.brand strong{display:block;letter-spacing:1px;font-size:19px;font-weight:700;line-height:1.1}.brand strong>span{color:var(--teal)}.brand small{font-size:7px;letter-spacing:1.8px;display:block;margin-top:8px;color:var(--muted)}.workspace-badge{display:flex;align-items:center;gap:10px;padding:14px 10px;border:1px solid var(--line);border-radius:4px;background:var(--paper);margin-bottom:31px}.workspace-avatar{height:33px;width:33px;display:flex;align-items:center;justify-content:center;background:#151C1B;border-radius:4px;font-weight:600;color:var(--muted);font-size:11px}.workspace-badge>div{flex:1}.workspace-badge strong{font-size:11px;font-weight:600;display:block}.workspace-badge small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.workspace-badge>.icon,.workspace-badge [data-icon]{color:var(--muted)}.workspace-badge svg{width:13px}.nav-heading{font-size:8px;letter-spacing:1.6px;font-weight:600;color:var(--muted);margin:0 13px 12px}.nav-item{display:flex;align-items:center;gap:11px;padding:12px 13px;border:0;border-radius:4px;width:100%;text-align:left;background:none;color:var(--muted);font-size:11px;margin-bottom:5px;min-height:41px}.nav-item:hover{background:#151C1B;color:var(--muted)}.nav-item.active{background:#151C1B;color:var(--muted);font-weight:600}.nav-item svg{width:17px;height:17px}.nav-item>span:nth-child(2){flex:1}.nav-item small{background:#151C1B;color:var(--muted);padding:2px 6px;border-radius:4px;font-size:9px;min-width:20px;text-align:center}.sidebar-rule{height:1px;background:var(--line);margin:23px 11px 24px}.sidebar-bottom{margin-top:auto;padding:30px 8px 0}.workspace-note{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.status-dot{height:5px;width:5px;background:var(--teal);border-radius:50%}.workspace-note small{margin-left:auto;font-size:8px;color:var(--muted)}.sidebar-bottom p{font-size:9px;color:var(--muted);line-height:1.8;margin:9px 0 21px}.help-button{padding:11px 0;border-top:1px solid var(--line);border-radius:0;font-size:10px;color:var(--muted)}.help-button:hover{background:none;color:var(--muted)}.help-button>span:last-child svg{width:13px}.main-shell{grid-column:2;min-width:0;display:flex;flex-direction:column;min-height:100dvh}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;padding:0 37px;border-bottom:1px solid var(--line);background:#151C1B;gap:15px;position:sticky;top:0;z-index:2}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:10px;min-width:0}.breadcrumb>span{color:var(--muted);white-space:nowrap}.breadcrumb>span:nth-child(2){color:var(--muted);font-size:15px}.breadcrumb strong{font-weight:600;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.topbar-divider{height:19px;width:1px;background:var(--line);margin:0 3px}.save-state{color:var(--muted);font-size:9px;margin-right:5px}.save-state.saved:before{content:'✓';margin-right:5px;color:var(--green)}.save-state.error{color:var(--muted)}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 16px;min-height:39px;border-radius:4px;background:var(--paper);border:1px solid var(--line);font-size:11px;font-weight:600;white-space:nowrap;transition:background .15s}.button:hover{background:#151C1B}.button.primary{color:var(--ink);background:#151C1B;border-color:var(--line)}.button.primary:hover{background:#151C1B}.button.teal{background:var(--teal);border-color:var(--teal);color:var(--muted)}.button.ghost{border-color:transparent;background:none;color:var(--muted)}.button.small{min-height:34px;padding:8px 12px;font-size:10px}.button.small svg{width:15px;height:15px}.button.full{width:100%}.button.danger{color:var(--muted)}.button.white{background:var(--paper);color:var(--muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;flex:none;background:none;border:0;border-radius:4px;color:var(--muted);padding:6px}.icon-button:hover{background:#151C1B;color:var(--muted)}.icon-button svg{width:17px;height:17px}.icon-button.danger{color:var(--muted)}#view{padding:37px 37px 30px;flex:1;outline:none;min-width:0}.page-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{display:block;font-size:8px;letter-spacing:1.8px;color:var(--muted);font-weight:600}.page-title-row h1{font-size:31px;letter-spacing:-1.2px;line-height:1.18;font-weight:600;margin:9px 0 9px}.page-title-row p{color:var(--muted);font-size:11px;line-height:1.8;margin:0}.page-title-row .page-actions{display:flex;gap:8px;align-items:center;padding-top:20px}.currency-label{font-size:9px;letter-spacing:.5px;border:1px solid var(--line);padding:7px 10px;border-radius:4px;color:var(--muted);background:#151C1B}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:29px}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:21px 23px;position:relative;min-width:0}.stat-card>span{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.stat-card>span svg{width:16px;height:16px;color:var(--muted)}.stat-card strong{display:block;font-size:31px;letter-spacing:-1px;font-weight:600;margin:13px 0 7px;color:var(--muted);line-height:1}.stat-card small{display:block;color:var(--muted);font-size:9px}.sample-banner{display:flex;align-items:center;gap:10px;background:#151C1B;border:1px solid var(--line);border-radius:4px;padding:12px 15px;color:var(--muted);font-size:10px;line-height:1.6;margin-bottom:23px}.sample-banner>svg{width:16px;height:16px;flex:none}.sample-banner>span{flex:1}.sample-banner .button{font-size:9px;color:var(--muted);padding:5px;min-height:25px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.catalog-filters{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.search-box{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:4px;padding:0 12px;background:var(--paper);flex:1;min-width:160px;max-width:340px;height:37px;color:var(--muted)}.search-box svg{width:15px;height:15px;flex:none}.search-box input{border:0;background:none;outline:none!important;width:100%;min-width:0;font-size:10px}.search-box input::placeholder{color:var(--muted)}.select-filter{height:37px;max-width:150px;border:1px solid var(--line);background:var(--paper);border-radius:4px;padding:0 10px;font-size:10px;color:var(--muted)}.catalog-toolbar-right{display:flex;align-items:center;gap:12px}.view-toggle{display:flex;background:#151C1B;border:1px solid var(--line);padding:3px;border-radius:4px;gap:2px}.view-toggle button{height:26px;width:28px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:var(--muted);border-radius:4px}.view-toggle button.active{background:var(--paper);color:var(--muted);box-shadow:none}.view-toggle svg{width:14px;height:14px}.result-count{font-size:9px;color:var(--muted);white-space:nowrap;margin-bottom:14px}.part-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.part-card{border:1px solid var(--line);border-radius:4px;background:var(--paper);overflow:hidden;transition:transform .15s,box-shadow .15s;min-width:0}.part-card:hover{transform:translateY(-3px);box-shadow:none}.part-card-main{width:100%;display:block;padding:0;background:none;border:0;text-align:left}.part-image{height:185px;position:relative;background-color:#151C1B;background-image:radial-gradient(#151C1B .65px,transparent .65px);background-size:12px 12px;overflow:hidden}.part-image>svg.part-art{height:100%;width:100%;display:block;padding:8px 15px}.part-image>img{height:100%;width:100%;object-fit:contain;display:block;background:#151C1B}.part-image .image-tag{position:absolute;top:13px;left:14px;background:#151C1Bda;color:var(--muted);border:1px solid var(--line);border-radius:4px;font-size:7px;letter-spacing:.7px;padding:4px 6px}.image-caption{position:absolute;bottom:10px;left:14px;font-size:7px;color:var(--muted);letter-spacing:.4px}.part-image .mini-arrow{position:absolute;bottom:12px;right:13px;background:#151C1Bc9;border:1px solid var(--line);height:24px;width:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted)}.mini-arrow svg{width:12px;height:12px}.part-card-copy{padding:18px 18px 14px}.part-meta-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:8px}.part-id{font-size:8px;letter-spacing:1.2px;color:var(--muted);font-weight:600}.stage-badge{display:inline-flex;align-items:center;gap:5px;font-size:8px;padding:4px 7px;border-radius:4px;font-weight:500;white-space:nowrap}.stage-badge:before{content:'';height:4px;width:4px;border-radius:50%;background:currentColor}.stage-badge.Research{color:var(--muted);background:#151C1B}.stage-badge.Prototyping{color:var(--muted);background:#151C1B}.stage-badge.Modeling{color:var(--muted);background:#151C1B}.stage-badge.Ready{color:var(--muted);background:#151C1B}.part-card h2{font-size:16px;font-weight:600;letter-spacing:-.4px;line-height:1.4;margin:0 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.part-card-copy p{font-size:9px;color:var(--muted);margin:0;line-height:1.7;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.part-card-footer{border-top:1px solid var(--line);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-caption{display:flex;align-items:center;gap:6px;font-size:8px;color:var(--muted);min-width:0}.profile-caption svg{width:13px;height:13px;flex:none}.profile-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.part-cost{text-align:right;white-space:nowrap}.part-cost strong{font-size:15px;font-weight:600;letter-spacing:-.3px;color:var(--muted);display:block}.part-cost small{display:block;color:var(--muted);font-size:7px;margin-top:3px}.empty-state{border:1px dashed var(--line);border-radius:4px;background:#151C1B;text-align:center;padding:55px 25px;grid-column:1/-1}.empty-state>.icon{width:34px;height:34px;color:var(--muted);margin:0 auto 14px}.empty-state h2{font-size:19px;font-weight:600;letter-spacing:-.5px;margin:0 0 9px}.empty-state p{font-size:11px;color:var(--muted);line-height:1.8;max-width:380px;margin:0 auto 20px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:4px;background:var(--paper)}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:8px;letter-spacing:.8px;text-transform:uppercase;font-weight:600;background:#151C1B;color:var(--muted);border-bottom:1px solid var(--line);padding:14px 18px}td{padding:17px 18px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}tbody tr[data-action]{cursor:pointer}tbody tr[data-action]:hover{background:#151C1B}td strong{font-weight:600;color:var(--muted);display:block;font-size:11px}td small{display:block;font-size:8px;color:var(--muted);margin-top:5px}.table-part-title{display:flex;align-items:center;gap:11px}.table-part-title>svg{width:42px;height:38px}.table-part-title>img{width:42px;height:38px;object-fit:contain;border-radius:4px}.tabular{font-variant-numeric:tabular-nums}.money{font-size:12px;font-weight:600;color:var(--muted)}.negative{color:var(--muted)!important}.app-footer{padding:15px 37px 20px;color:var(--muted);font-size:7px;letter-spacing:1.3px;display:flex;justify-content:space-between;gap:15px}.back-button{display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:var(--muted);font-size:10px;padding:0;margin-bottom:23px}.back-button svg{height:13px;width:13px}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.detail-heading h1{font-size:29px;letter-spacing:-1px;line-height:1.25;margin:8px 0 10px;font-weight:600}.detail-heading .page-actions{display:flex;gap:8px;margin-top:10px}.detail-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px}.detail-meta>span+span:before{content:'·';margin-right:10px;color:var(--muted)}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:27px;overflow:auto}.tab-button{background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:12px 0 14px;display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.tab-button.active{color:var(--muted);border-bottom-color:var(--line);font-weight:600}.tab-button svg{width:15px;height:15px}.tab-button small{font-size:8px;background:#151C1B;padding:2px 5px;border-radius:4px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:23px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:23px;margin-bottom:21px;min-width:0}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-title h2{font-size:13px;font-weight:600;letter-spacing:-.2px;margin:0}.panel-title svg{width:16px;height:16px;color:var(--muted)}.panel-title p{font-size:10px;color:var(--muted);line-height:1.7;margin:7px 0 0}.part-hero{height:285px;display:flex;align-items:center;justify-content:center;background-color:#151C1B;background-image:radial-gradient(#151C1B .75px,transparent .75px);background-size:14px 14px;border-radius:4px;position:relative;overflow:hidden}.part-hero>svg.part-art{height:100%;width:100%;padding:18px}.part-hero>img{height:100%;width:100%;object-fit:contain;background:#151C1B}.part-hero .image-caption{font-size:8px;left:17px;bottom:15px}.photo-thumbs{display:flex;gap:7px;overflow:auto;margin-top:12px}.photo-thumb{width:54px;height:46px;border:1px solid var(--line);padding:3px;background:var(--paper);border-radius:4px;flex:none}.photo-thumb.active{border-color:var(--teal)}.photo-thumb img{width:100%;height:100%;object-fit:cover;border-radius:2px}.photo-thumb.add-photo{display:flex;align-items:center;justify-content:center;color:var(--muted);border-style:dashed}.photo-thumb.add-photo svg{width:15px}.description{font-size:11px;color:var(--muted);line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 18px}.spec dt{font-size:8px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin-bottom:7px}.spec dd{font-size:11px;color:var(--muted);margin:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.notes-area{border:1px solid var(--line);border-radius:4px;display:block;resize:vertical;width:100%;padding:13px;background:#151C1B;font-size:11px;line-height:1.8;min-height:105px}.cost-hero{background:#151C1B;color:var(--muted);padding:24px;border-radius:4px;margin-bottom:21px}.cost-hero .eyebrow{color:var(--muted);font-size:8px;line-height:1.7}.cost-hero strong{display:block;font-size:43px;font-weight:500;letter-spacing:-1.5px;line-height:1.2;margin:12px 0 6px;font-variant-numeric:tabular-nums}.cost-hero p{font-size:10px;color:var(--muted);line-height:1.7;margin:0}.cost-hero hr{border:0;border-top:1px solid var(--line);margin:20px 0 16px}.cost-hero .hero-row{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);gap:15px;line-height:1.8}.cost-hero .hero-row b{font-size:13px;font-weight:500;color:var(--muted)}.cost-hero .button{margin-top:20px;font-size:10px;background:#4EA69D19;border-color:var(--line);color:var(--muted)}.profile-summary{display:flex;align-items:center;gap:12px;margin-bottom:15px}.profile-icon{height:39px;width:39px;background:#151C1B;color:var(--muted);border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;justify-content:center}.profile-summary strong{font-size:11px;font-weight:600;display:block;line-height:1.6}.profile-summary small{display:block;font-size:9px;line-height:1.7;color:var(--muted)}.small-specs{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:14px 0 16px;gap:12px}.small-specs span{font-size:8px;color:var(--muted);display:block}.small-specs strong{display:block;font-size:11px;margin-top:7px;color:var(--muted);font-weight:600}.file-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:13px 0}.file-row>svg{width:21px;height:21px;color:var(--muted);flex:none}.file-row>div{flex:1;min-width:0}.file-row strong{font-size:10px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.file-row .icon-button{width:25px;height:25px}.hint{font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0}.subtle-banner{border:1px solid var(--line);background:#151C1B;color:var(--muted);border-radius:4px;font-size:10px;line-height:1.8;padding:11px 14px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 22px}.profile-select-wrap{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.profile-select-wrap select{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:11px 14px;min-width:210px;max-width:360px;font-weight:600;font-size:11px}.profile-toolbar .actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.preferred-badge{color:var(--muted);font-size:8px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.preferred-badge svg{width:12px;height:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 19px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:block;margin-bottom:20px;min-width:0}.field.full{grid-column:1/-1}.field>span{font-size:9px;font-weight:500;color:var(--muted);display:block;margin-bottom:8px;line-height:1.6}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid var(--line);border-radius:4px;background:#151C1B;padding:11px 12px;font-size:11px;line-height:1.5;min-width:0}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--teal);box-shadow:none}.field textarea{resize:vertical;min-height:76px;line-height:1.8}.field input::placeholder,.field textarea::placeholder{color:var(--muted)}.field .input-unit{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;background:#151C1B;overflow:hidden}.input-unit input{border:0;background:none;box-shadow:none!important}.input-unit small{font-size:9px;color:var(--muted);white-space:nowrap;padding:0 11px 0 0}.field>.field-hint{font-size:8px;line-height:1.7;color:var(--muted);display:block;margin-top:7px}.section-label{font-size:8px;letter-spacing:1.6px;color:var(--muted);font-weight:600;margin:0 0 20px}.form-grid .field:last-child{margin-bottom:0}.settings-panels{display:grid;grid-template-columns:1fr 1fr;gap:0 23px;align-items:start}.settings-panels>.panel{height:fit-content}.cost-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:21px}.cost-number{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:20px 22px;min-width:0}.cost-number:first-child{background:#151C1B;color:var(--muted);border-color:var(--line)}.cost-number>span{display:block;font-size:9px;color:var(--muted)}.cost-number:first-child>span{color:var(--muted)}.cost-number strong{font-weight:600;display:block;font-size:29px;letter-spacing:-1px;margin:12px 0 7px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.cost-number small{font-size:8px;line-height:1.6;color:var(--muted);display:block}.cost-number:first-child small{color:var(--muted)}.cost-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:23px;align-items:start}.cost-breakdown{position:sticky;top:99px}.breakdown-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:16px 0;font-size:10px;color:var(--muted);line-height:1.7}.breakdown-row strong{font-size:11px;color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}.breakdown-row.total{border-top:1px solid var(--line);padding-top:17px;margin-top:21px;color:var(--muted);font-size:11px}.breakdown-row.total strong{font-size:18px}.cost-bar{display:flex;height:7px;width:100%;overflow:hidden;border-radius:4px;background:#151C1B;margin:18px 0 23px}.cost-bar>span{height:100%;min-width:0}.breakdown-label{display:flex;align-items:center;gap:8px}.breakdown-label>i{height:6px;width:6px;display:block;border-radius:2px;flex:none}.calculation-note{padding:15px;background:#151C1B;border-radius:4px;font-size:9px;line-height:1.9;color:var(--muted);margin:22px 0 0}.calculation-note strong{font-weight:600;color:var(--muted)}.journal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.journal-header h2{font-size:15px;font-weight:600;margin:0}.test-card{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:23px;margin-bottom:16px}.test-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.test-header h3{font-size:13px;font-weight:600;margin:0 0 8px}.test-header small{font-size:9px;color:var(--muted);line-height:1.8}.outcome{font-size:8px;padding:5px 8px;border-radius:4px;font-weight:600}.outcome.Success{background:#151C1B;color:var(--muted)}.outcome.Partial{background:#151C1B;color:var(--muted)}.outcome.Failed{background:#151C1B;color:var(--muted)}.test-notes{font-size:11px;color:var(--muted);line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0}.test-values{display:flex;gap:23px;flex-wrap:wrap;margin:15px 0;font-size:10px;color:var(--muted)}.test-values strong{font-weight:600;color:var(--muted)}.test-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--line);margin-top:18px}.test-footer>.actions{display:flex;gap:4px}.test-footer small{font-size:8px;color:var(--muted)}.snapshot{margin-top:15px;border-top:1px solid var(--line);padding-top:15px}.snapshot summary{font-size:10px;color:var(--muted);cursor:pointer}.snapshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:20px}.snapshot-grid .spec dt{font-size:7px}.snapshot-grid .spec dd{font-size:9px}.section-topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-topline p{font-size:10px;color:var(--muted);line-height:1.8;margin:0}.badge-count{font-size:8px;color:var(--muted);white-space:nowrap}.loading{padding:90px 20px;text-align:center;color:var(--muted);font-size:13px}
dialog{border:1px solid var(--line);border-radius:4px;padding:0;width:620px;max-width:calc(100vw - 32px);max-height:90dvh;color:var(--ink);box-shadow:none}dialog::backdrop{background:#151C1B66;backdrop-filter:blur(3px)}.modal-heading{padding:25px 28px 20px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:23px;letter-spacing:-.6px;font-weight:600;margin:8px 0}.modal-heading p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.modal-content{padding:25px 28px 14px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:18px 28px 23px;border-top:1px solid var(--line)}.modal-content .field:last-child{margin-bottom:15px}.modal-info{border:1px solid var(--line);padding:14px;background:#151C1B;border-radius:4px;font-size:10px;line-height:1.9;color:var(--muted);margin:0 0 20px}.choice{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:4px;padding:15px;margin-bottom:12px;font-size:11px;line-height:1.8;color:var(--muted);cursor:pointer}.choice input{margin-top:5px;accent-color:var(--teal)}.choice strong{display:block;font-weight:600;color:var(--muted)}.choice small{display:block;font-size:10px;color:var(--muted)}.modal-warning{font-size:11px;line-height:1.9;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 15px}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:17px}.checkbox-row input{accent-color:var(--teal)}.help-steps{list-style:none;counter-reset:steps;padding:0;margin:0}.help-steps li{counter-increment:steps;position:relative;padding:0 0 24px 36px;font-size:11px;line-height:1.9;color:var(--muted)}.help-steps li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--muted);font-weight:600;font-size:10px}.help-steps strong{color:var(--muted);font-weight:600}.toast{position:fixed;bottom:23px;left:calc(50% + 100px);transform:translateX(-50%);padding:14px 20px;max-width:calc(100vw - 40px);border-radius:4px;background:#151C1B;color:var(--muted);box-shadow:none;font-size:11px;line-height:1.8;z-index:10}.toast.error{background:#151C1B}
@media(min-width:1600px){.app-layout{grid-template-columns:250px 1fr}.sidebar{width:250px;padding:35px 23px}.topbar{padding:0 50px}#view{padding:44px 50px 35px;max-width:1800px;width:100%;margin:0 auto}.part-image{height:215px}.part-grid{gap:24px}.app-footer{padding-left:50px;padding-right:50px}}
@media(max-width:1230px){.app-layout{grid-template-columns:202px 1fr}.sidebar{width:202px;padding:29px 13px 18px}.brand{padding-left:8px;gap:9px}.brand img{width:29px}.brand strong{font-size:17px}.brand small{font-size:6px;letter-spacing:1.5px}.topbar{padding:0 25px}#view{padding:31px 25px}.topbar-actions{gap:7px}.save-state{font-size:8px}.part-grid{gap:15px}.part-image{height:155px}.part-card-copy,.part-card-footer{padding-left:14px;padding-right:14px}.part-card h2{font-size:14px}.catalog-filters{gap:7px}.select-filter{max-width:120px;font-size:9px}.catalog-toolbar-right{gap:8px}.catalog-toolbar-right .select-filter{max-width:115px}.detail-grid,.cost-grid{grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);gap:17px}.panel{padding:19px}.profile-toolbar{align-items:flex-start}.profile-toolbar .actions{max-width:270px}.stats-grid{gap:12px}.stat-card{padding:19px}.cost-top-grid{gap:11px}.cost-number{padding:18px}.cost-number strong{font-size:25px}.app-footer{padding:15px 25px 20px}.detail-heading .page-actions{flex-wrap:wrap;justify-content:flex-end;max-width:240px}}
@media(max-width:1000px){.app-layout{grid-template-columns:75px 1fr}.sidebar{width:75px;padding:25px 9px}.brand{justify-content:center;padding:0 0 30px}.brand img{width:31px}.brand>span,.workspace-badge,.nav-heading,.sidebar-rule,.nav-item>span:nth-child(2),.nav-item small,.sidebar-bottom p,.workspace-note,.help-button>span:last-child{display:none}.nav-item{justify-content:center;padding:13px;margin-bottom:11px}.nav-item svg{height:21px;width:21px}.sidebar nav+nav{margin-top:25px}.sidebar-bottom{padding:0;margin-top:auto}.sidebar nav:nth-of-type(2){margin-top:30px}.help-button{border:0}.topbar{height:69px;padding:0 23px}.topbar-actions .save-state{display:none}#view{padding:29px 23px}.part-image{height:165px}.part-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-toolbar{flex-wrap:wrap}.catalog-filters{flex-basis:100%}.catalog-toolbar-right{width:100%;justify-content:space-between}.detail-grid,.cost-grid{grid-template-columns:1fr}.cost-breakdown{position:static}.settings-panels{grid-template-columns:1fr 1fr;gap:17px}.profile-toolbar .actions{max-width:300px}.detail-heading .page-actions{max-width:none}.detail-grid>.column:last-child{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.detail-grid>.column:last-child>.panel,.detail-grid>.column:last-child>.cost-hero{margin-bottom:0}.detail-grid>.column:last-child>.panel:last-child{grid-column:1/-1}.toast{left:calc(50% + 35px)}.app-footer{padding-left:23px;padding-right:23px}.part-hero{height:320px}}
@media(max-width:700px){.app-layout{grid-template-columns:1fr}.sidebar{position:sticky;top:0;inset:auto;width:100%;height:59px;flex-direction:row;align-items:center;padding:8px 13px;gap:20px;border-right:0;border-bottom:1px solid var(--line);z-index:4}.brand{padding:0}.brand img{height:31px;width:26px}.sidebar nav{display:flex;align-items:center;gap:9px}.sidebar nav:nth-of-type(2){margin:0 0 0 auto;gap:0}.sidebar nav:nth-of-type(2) .nav-item:nth-child(-n+2){display:none}.nav-item{padding:9px;margin:0;min-height:34px;width:34px}.nav-item svg{width:18px;height:18px}.sidebar-bottom{display:none}.main-shell{grid-column:1;min-height:calc(100dvh - 59px)}.topbar{height:59px;padding:0 17px;position:sticky;top:59px}.breadcrumb{font-size:9px;gap:9px}.breadcrumb>span:first-child{display:none}.breadcrumb>span:nth-child(2){display:none}.topbar-actions{gap:5px}.topbar-actions>.button:not(.primary){display:none}.topbar-divider{display:none}.topbar .button.primary{padding:8px 10px;font-size:9px}#view{padding:25px 17px}.page-title-row{margin-bottom:22px}.page-title-row h1{font-size:27px}.page-title-row p{font-size:10px}.page-title-row .page-actions{padding-top:12px}.currency-label{font-size:8px;padding:6px}.stats-grid{gap:8px;margin-bottom:20px}.stat-card{padding:15px 12px}.stat-card>span{font-size:8px;line-height:1.6}.stat-card>span svg{display:none}.stat-card strong{font-size:25px;margin:10px 0 6px}.stat-card small{font-size:7px;line-height:1.6}.sample-banner{padding:11px 12px;font-size:9px;flex-wrap:wrap;gap:5px}.sample-banner>span{flex-basis:calc(100% - 30px)}.sample-banner .button{margin-left:auto}.catalog-filters{flex-wrap:wrap}.search-box{flex-basis:100%;max-width:none}.select-filter{flex:1;max-width:none;font-size:9px}.catalog-toolbar-right .select-filter{flex:0;max-width:150px}.part-grid{gap:12px}.part-image{height:140px}.part-card-copy{padding:13px 11px 11px}.part-card-footer{padding:11px;gap:5px}.part-card h2{font-size:12px;white-space:normal;line-height:1.5;min-height:36px;margin-bottom:5px}.part-id{font-size:7px;letter-spacing:.5px}.stage-badge{font-size:6px;padding:4px}.part-card-copy p{font-size:8px}.profile-caption{font-size:7px}.profile-caption svg{display:none}.part-cost strong{font-size:12px}.part-cost small{font-size:6px}.part-image .image-tag{left:9px;top:9px;font-size:6px}.image-caption{left:10px;font-size:6px;max-width:75px;line-height:1.5}.part-image .mini-arrow{right:9px;bottom:10px;width:20px;height:20px}.part-image .mini-arrow svg{width:10px}.page-title-row .page-actions .button span:last-child{display:none}.app-footer{padding:12px 17px 20px;font-size:6px;letter-spacing:.8px}.detail-heading{display:block}.detail-heading h1{font-size:25px}.detail-heading .page-actions{justify-content:flex-start;margin-top:17px}.tabs{gap:19px;margin-top:24px;margin-bottom:22px}.tab-button{font-size:10px}.tab-button svg{display:none}.detail-meta{font-size:9px;gap:7px;flex-wrap:wrap}.detail-grid>.column:last-child{display:block}.detail-grid>.column:last-child>.panel,.detail-grid>.column:last-child>.cost-hero{margin-bottom:17px}.panel{padding:19px;margin-bottom:17px}.part-hero{height:250px}.profile-toolbar{display:block}.profile-select-wrap{flex-wrap:wrap}.profile-select-wrap select{width:100%;max-width:none;flex:1}.profile-toolbar .actions{max-width:none;margin-top:12px;justify-content:flex-start}.settings-panels{display:block}.form-grid.three{grid-template-columns:1fr 1fr}.cost-top-grid{gap:7px}.cost-number{padding:15px 11px}.cost-number>span{font-size:8px;line-height:1.6}.cost-number strong{font-size:21px;letter-spacing:-.6px}.cost-number small{font-size:7px}.cost-grid{gap:0}.form-grid{gap:0 14px}.field>span{font-size:9px}.field input,.field select,.field textarea{font-size:12px;padding:10px}.subtle-banner{flex-wrap:wrap;font-size:9px}.test-card{padding:18px}.test-header{gap:12px}.test-values{gap:13px;font-size:9px}.test-footer{flex-wrap:wrap}.snapshot-grid{grid-template-columns:1fr 1fr}.modal-heading{padding:23px 21px 18px}.modal-content{padding:22px 21px 12px}.modal-footer{padding:17px 21px 21px}.toast{left:50%;font-size:11px}.empty-state{padding:40px 20px}.section-topline{align-items:flex-start}.section-topline p{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Category selection in the part form. */
.category-select{position:relative;min-width:0}.category-select summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;list-style:none;border:1px solid var(--line);border-radius:4px;background:#151C1B;padding:11px 12px;min-height:40px;font-size:11px;line-height:1.5;cursor:pointer}.category-select summary::-webkit-details-marker{display:none}.category-select summary::marker{content:''}.category-select summary .icon{width:14px;height:14px;flex:none;margin-top:2px;color:var(--muted)}.category-select summary .placeholder{color:var(--muted)}.category-select[open] summary{border-color:var(--teal);box-shadow:none}.category-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:6;padding:7px;background:#151C1B;border:1px solid var(--line);border-radius:4px;box-shadow:none;max-height:280px;overflow:auto}.category-controls{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:5px;padding-bottom:4px}.category-controls .button{min-height:26px;font-size:9px;padding:4px 7px}.category-option{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:4px;font-size:11px;line-height:1.6;color:var(--muted);cursor:pointer}.category-option:hover{background:#151C1B}.category-option input{width:14px;height:14px;min-width:14px;display:block;margin:0;padding:0;border:0;accent-color:var(--teal);flex:none}.category-option span{font-size:11px;color:var(--muted)}.category-select summary>span{overflow-wrap:anywhere}.part-image .image-tag{max-width:calc(100% - 28px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-heading>div:first-child{min-width:0}.detail-meta{flex-wrap:wrap;line-height:1.7}.detail-meta>span{overflow-wrap:anywhere}
.category-select summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
/* Structured spa and reference-part compatibility details. */
.compatibility-section{grid-column:1/-1;margin:0 0 23px;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.compatibility-heading{margin-bottom:14px}.compatibility-heading h3{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:-.1px}.compatibility-heading p{font-size:10px;color:var(--muted);line-height:1.7;margin:0}.compatibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compatibility-box{display:flex;flex-direction:column;align-items:stretch;min-width:0;border:1px solid var(--line);border-radius:4px;padding:12px 13px;background:#151C1B;min-height:79px}.compatibility-box>span{font-size:9px;font-weight:500;line-height:1.6;color:var(--muted);margin-bottom:8px}.compatibility-box input{min-width:0;width:100%;padding:0;border:0;border-radius:2px;background:transparent;line-height:1.6;color:var(--muted);font-size:12px}.compatibility-box input::placeholder{color:var(--muted);font-size:10px}.compatibility-box:focus-within{border-color:var(--teal);box-shadow:none}.compatibility-box small{font-size:8px;color:var(--muted);line-height:1.7;margin-top:6px}.compatibility-value strong{font-size:12px;line-height:1.7;font-weight:500;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap}.legacy-compatibility{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.legacy-compatibility>span{display:block;font-size:9px;color:var(--muted);margin-bottom:8px}.legacy-compatibility>.description{margin-bottom:0}.legacy-compatibility .field{margin-bottom:0}.legacy-compatibility .hint{font-size:9px;margin-bottom:0}@media(max-width:700px){.compatibility-grid{gap:10px}.compatibility-box{padding:11px;min-height:78px}.compatibility-box input{font-size:12px}.compatibility-heading h3{font-size:12px}}

/* Dark design system and component hierarchy. */
:root{
  --ink:#FFFFFF;--near-black:#0D1111;--teal:#4EA69D;--green:#4EA69D;
  --line:#2A3634;--muted:#A3B3B0;--subtle:#879C97;
  --paper:#151C1B;--surface:#151C1B;--surface-raised:#1B2523;--field:#101716;
  --wash:#0D1111;--sidebar:#0D1111;--soft:#182925;--danger:#F29E92;--radius:4px;
  color-scheme:dark;accent-color:var(--teal);
}
html{background:var(--near-black);scrollbar-color:#41534E var(--near-black);scrollbar-width:thin}
body{font-size:13px;color:var(--ink);background:var(--near-black);-webkit-font-smoothing:antialiased}
::selection{background:#4EA69D55;color:var(--ink)}
button,a,input,select,textarea,summary{transition:background-color .16s,border-color .16s,color .16s}
input,select,textarea{color-scheme:dark}
input::placeholder,textarea::placeholder{color:var(--subtle);opacity:1}
input[type=checkbox],input[type=radio]{accent-color:var(--teal)}
button:disabled{opacity:.4}
.sidebar{background:var(--near-black);border-right-color:var(--line)}
.brand{padding:1px 10px 30px;min-height:60px;align-items:center;gap:0}
.brand>span{display:block}
.brand strong{font-size:23px;line-height:1.2;letter-spacing:1.8px;font-weight:600;color:var(--ink)}
.workspace-badge{background:var(--field);border-color:var(--line);border-radius:3px;padding:14px 10px}
.workspace-avatar{background:#4EA69D15;color:var(--teal);border:1px solid #4EA69D44;border-radius:3px}
.workspace-badge strong{font-size:12px;color:var(--ink)}
.workspace-badge small{color:var(--muted);font-size:10px;letter-spacing:.1px}
.workspace-badge>.icon,.workspace-badge [data-icon]{color:var(--subtle)}
.nav-heading{color:var(--subtle);font-size:9px;letter-spacing:1.8px}
.nav-item{font-size:12px;color:var(--muted);border-radius:2px;border-left:2px solid transparent;padding-left:11px}
.nav-item:hover{background:var(--surface);color:var(--ink)}
.nav-item.active{background:#4EA69D12;border-left-color:var(--teal);color:var(--teal);font-weight:600}
.nav-item small{background:#4EA69D1F;color:var(--teal);border:1px solid #4EA69D33;border-radius:2px;font-size:10px}
.sidebar-rule{background:var(--line)}
.workspace-note{color:var(--muted);font-size:10px}.workspace-note small{color:var(--subtle);font-size:9px}
.sidebar-bottom p{font-size:10px;color:var(--subtle)}
.help-button{border-left:0;color:var(--muted);font-size:11px}.help-button:hover{background:transparent;color:var(--teal)}
.topbar{background:var(--near-black);border-bottom-color:var(--line)}
.breadcrumb{font-size:11px}.breadcrumb>span{color:var(--subtle)}.breadcrumb>span:nth-child(2){color:#536961}
.breadcrumb strong{color:var(--ink);font-weight:500}.save-state{color:var(--subtle);font-size:10px}
.save-state.saved:before{color:var(--teal)}.save-state.error{color:var(--danger)}
.topbar-divider{background:var(--line)}
.button{background:var(--surface-raised);border-color:#3A4A46;color:var(--ink);border-radius:3px;font-size:12px;font-weight:600}
.button:hover{background:#25332F;border-color:#5E7870;color:var(--ink)}
.button.primary,.button.teal{background:var(--teal);border-color:var(--teal);color:var(--near-black)}
.button.primary:hover,.button.teal:hover{background:#FFFFFF;border-color:#FFFFFF;color:var(--near-black)}
.button.ghost{background:transparent;border-color:transparent;color:var(--muted)}
.button.ghost:hover{background:var(--surface-raised);color:var(--ink)}
.button.small{font-size:11px;min-height:35px;padding:8px 12px}.button.full{min-height:39px}
.button.danger,.button.ghost.danger{color:var(--danger)}
.button.white{background:var(--surface-raised);color:var(--ink);border-color:var(--line)}
.icon-button{color:var(--muted);border-radius:2px}.icon-button:hover{color:var(--teal);background:#4EA69D14}
.icon-button.danger{color:var(--danger)}
.eyebrow{color:var(--teal);font-size:9px;line-height:1.6;letter-spacing:1.8px}
.page-title-row .eyebrow:before{content:'';display:inline-block;width:22px;height:2px;margin:0 10px 3px 0;background:var(--teal)}
.page-title-row h1{font-size:32px;letter-spacing:.025em;text-transform:uppercase;font-weight:600;line-height:1.15;margin:12px 0}
.page-title-row p{font-size:12px;color:var(--muted)}
.currency-label{background:var(--field);border-color:var(--line);color:var(--muted);border-radius:2px;font-size:10px;letter-spacing:1px}
.stat-card{background:var(--surface);border-color:var(--line);border-radius:3px;padding:22px;min-height:142px}
.stat-card>span{font-size:11px;color:var(--muted)}.stat-card>span svg{color:var(--teal)}
.stat-card strong{color:var(--ink);font-weight:500;font-size:34px;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:17px 0 8px}
.stat-card small{color:var(--subtle);font-size:10px;line-height:1.6}
.sample-banner{background:#4EA69D0C;border-color:#4EA69D30;color:var(--muted);border-radius:3px;font-size:11px}
.sample-banner>svg{color:var(--teal)}.sample-banner .button{font-size:10px;color:var(--teal)}
.search-box,.select-filter{background:var(--field);border-color:var(--line);border-radius:3px;color:var(--muted);height:39px}
.search-box{max-width:360px}.search-box input{color:var(--ink);font-size:11px}.search-box input::placeholder{color:var(--subtle)}
.search-box:focus-within{border-color:var(--teal)}.select-filter{font-size:11px}
select option{background:var(--field);color:var(--ink)}
.view-toggle{background:var(--field);border-color:var(--line);border-radius:3px}
.view-toggle button{color:var(--subtle);border-radius:1px}.view-toggle button.active{background:#4EA69D1A;color:var(--teal);box-shadow:none}
.result-count{color:var(--subtle);font-size:10px;letter-spacing:.25px}
.part-card{background:var(--surface);border-color:var(--line);border-radius:4px}
.part-card:hover{transform:none;box-shadow:none;border-color:var(--teal)}
.part-image,.part-hero{background-color:#111917;background-image:linear-gradient(#FFFFFF06 1px,transparent 1px),linear-gradient(90deg,#FFFFFF06 1px,transparent 1px);background-size:24px 24px}
.part-image{height:196px;border-bottom:1px solid #FFFFFF08}.part-hero{border-radius:2px;border:1px solid var(--line)}
.part-image>img,.part-hero>img{background:#111917}
.part-image .image-tag{color:var(--muted);background:#0D1111E8;border-color:#43554E;border-radius:2px;font-size:8px;letter-spacing:1px;padding:5px 7px}
.image-caption{color:var(--subtle);font-size:8px;letter-spacing:1px}
.part-image .mini-arrow{background:var(--near-black);border-color:#3A5148;color:var(--teal);border-radius:2px}
.part-meta-top .part-id{color:var(--teal);font-size:9px;letter-spacing:1.3px}
.part-card h2{color:var(--ink);font-size:16px;font-weight:600;letter-spacing:0}
.part-card-copy p{color:var(--muted);font-size:10px;line-height:1.8}
.part-card-footer{border-top-color:var(--line);padding-top:14px;padding-bottom:14px}
.profile-caption{color:var(--muted);font-size:9px}.profile-caption svg{color:var(--teal)}
.part-cost strong{color:var(--ink);font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.part-cost small{color:var(--subtle);font-size:8px;letter-spacing:.65px}
.stage-badge{border:1px solid var(--line);border-radius:2px;padding:4px 7px;font-size:9px}
.stage-badge.Research{color:#BBC8C4;background:#18211E;border-color:#394A43}
.stage-badge.Modeling{color:#FFFFFF;background:#21302B;border-color:#456255}
.stage-badge.Prototyping{color:#75C4B5;background:#4EA69D14;border-color:#4EA69D55}
.stage-badge.Ready{color:#0D1111;background:#4EA69D;border-color:#4EA69D}
.empty-state{background:var(--field);border-color:#40564B;border-radius:4px}
.empty-state>.icon{color:var(--teal)}.empty-state h2{color:var(--ink);font-weight:600}.empty-state p{color:var(--muted);font-size:12px}
.table-wrap{background:var(--surface);border-color:var(--line);border-radius:3px}
th{background:var(--field);color:var(--subtle);font-size:9px;letter-spacing:1px;border-color:var(--line);padding:15px 18px}
td{color:var(--muted);font-size:11px;border-bottom-color:var(--line)}
td strong{color:var(--ink);font-size:12px;font-weight:500}td small{color:var(--subtle);font-size:10px;line-height:1.7}
tbody tr[data-action]:hover{background:#4EA69D08}.money{color:var(--ink);font-size:13px}.negative{color:var(--danger)!important}
.app-footer{color:var(--subtle);font-size:8px;letter-spacing:1.5px}
.back-button{color:var(--muted);font-size:11px}.back-button:hover{color:var(--teal)}
.detail-heading h1{color:var(--ink);font-size:29px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;overflow-wrap:anywhere}
.detail-meta{color:var(--muted);font-size:11px}.detail-meta>span+span:before{color:#657D72}
.tabs{border-bottom-color:var(--line);gap:29px}
.tab-button{color:var(--muted);font-size:12px}.tab-button:hover{color:var(--ink)}.tab-button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:500}
.tab-button small{color:var(--teal);background:#4EA69D18;border-radius:2px;font-size:9px}
.panel{background:var(--surface);border-color:var(--line);border-radius:3px}
.panel-title h2{color:var(--ink);font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:600}
.panel-title svg{color:var(--teal)}.panel-title p{color:var(--muted);font-size:11px}
.photo-thumb{background:var(--field);border-color:var(--line);border-radius:2px}.photo-thumb img{border-radius:0}.photo-thumb.add-photo{color:var(--teal)}
.description{color:var(--muted);font-size:12px;line-height:1.9}
.spec dt{color:var(--subtle);font-size:9px;letter-spacing:1px}.spec dd{color:var(--ink);font-size:12px;line-height:1.8}
.notes-area{background:var(--field);border-color:var(--line);border-radius:3px;color:var(--ink);font-size:12px}
.cost-hero{background:var(--field);border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:3px;color:var(--ink)}
.cost-hero .eyebrow{color:var(--teal);font-size:9px;letter-spacing:1px}
.cost-hero strong{font-size:46px;color:var(--ink);font-weight:500}.cost-hero p{color:var(--muted);font-size:11px}
.cost-hero hr{border-top-color:var(--line)}.cost-hero .hero-row{color:var(--muted);font-size:11px}.cost-hero .hero-row b{color:var(--ink);font-size:14px}
.cost-hero .button{background:#4EA69D10;color:var(--teal);border-color:#4EA69D40;font-size:11px}.cost-hero .button:hover{background:#4EA69D22;border-color:var(--teal)}
.profile-icon{color:var(--teal);background:#4EA69D12;border-color:#4EA69D30;border-radius:3px}
.profile-summary strong{color:var(--ink);font-size:12px}.profile-summary small{color:var(--muted);font-size:10px}
.small-specs{border-color:var(--line)}.small-specs span{color:var(--subtle);font-size:9px}.small-specs strong{color:var(--ink);font-size:12px;font-weight:500}
.file-row{border-top-color:var(--line)}.file-row>svg{color:var(--teal)}.file-row strong{color:var(--ink);font-size:11px}.file-row small{color:var(--subtle);font-size:9px}
.hint{color:var(--muted);font-size:11px;line-height:1.85}
.subtle-banner{color:var(--muted);background:#4EA69D0A;border-color:#4EA69D30;border-radius:3px;font-size:11px}
.profile-select-wrap select{background:var(--field);border-color:var(--line);color:var(--ink);border-radius:3px;font-size:12px}
.preferred-badge{color:var(--teal);font-size:9px;letter-spacing:.5px}
.field>span{color:var(--muted);font-size:10px;font-weight:500;line-height:1.7}
.field input,.field select,.field textarea{color:var(--ink);background:var(--field);border-color:var(--line);border-radius:3px;font-size:12px;min-height:39px}
.field .input-unit{background:var(--field);border-color:var(--line);border-radius:3px}
.input-unit input{background:transparent;border:0;min-height:39px}.input-unit small{color:var(--subtle);font-size:10px}
.field input::placeholder,.field textarea::placeholder{color:var(--subtle)}
.field input:focus,.field select:focus,.field textarea:focus,.notes-area:focus{border-color:var(--teal);box-shadow:0 0 0 2px #4EA69D1A}
.field>.field-hint{color:var(--subtle);font-size:10px;line-height:1.75}
.section-label{color:var(--teal);font-size:9px;letter-spacing:1.5px}
.cost-number{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:3px}
.cost-number:first-child{background:#4EA69D0B;color:var(--ink);border-color:#4EA69D55;border-top:2px solid var(--teal)}
.cost-number>span,.cost-number:first-child>span{color:var(--muted);font-size:9px;letter-spacing:.65px;line-height:1.7}
.cost-number strong{color:var(--ink);font-size:31px;font-weight:500}.cost-number small,.cost-number:first-child small{color:var(--subtle);font-size:10px;line-height:1.7}
.breakdown-row{color:var(--muted);font-size:11px}.breakdown-row strong{color:var(--ink);font-size:12px;font-weight:500}
.breakdown-row.total{border-top-color:var(--line);color:var(--ink);font-size:12px}.breakdown-row.total strong{color:var(--teal);font-size:22px}
.cost-bar{background:var(--field);border-radius:1px;height:6px}.breakdown-label>i{border-radius:1px}
.calculation-note{background:var(--field);border:1px solid var(--line);border-radius:3px;color:var(--muted);font-size:10px;line-height:1.9}.calculation-note strong{color:var(--ink)}
.journal-header h2{color:var(--ink);font-size:16px}.test-card{background:var(--surface);border-color:var(--line);border-radius:3px}
.test-header h3{color:var(--ink);font-size:14px}.test-header small{color:var(--muted);font-size:10px}
.outcome{border:1px solid var(--line);border-radius:2px;font-size:9px}.outcome.Success{background:#4EA69D18;color:var(--teal);border-color:#4EA69D55}.outcome.Partial{background:var(--surface-raised);color:#D4DEDA}.outcome.Failed{background:#F29E920D;color:var(--danger);border-color:#F29E9240}
.test-notes{color:var(--muted);font-size:12px}.test-values{color:var(--muted);font-size:11px}.test-values strong{color:var(--ink);font-weight:500}
.test-footer{border-top-color:var(--line)}.test-footer small{color:var(--subtle);font-size:9px}
.snapshot{border-top-color:var(--line)}.snapshot summary{color:var(--teal);font-size:11px}.snapshot-grid .spec dt{font-size:9px}.snapshot-grid .spec dd{font-size:11px}
.section-topline p{color:var(--muted);font-size:11px}.badge-count{color:var(--subtle);font-size:10px}.loading{color:var(--teal)}
dialog{background:var(--surface);color:var(--ink);border-color:#3E524A;border-radius:4px;box-shadow:0 35px 100px #0009;scrollbar-color:#41534E var(--near-black)}
dialog::backdrop{background:#000000B8;backdrop-filter:blur(5px)}
.modal-heading,.modal-footer{border-color:var(--line)}.modal-heading h2{font-size:23px;color:var(--ink);font-weight:600;letter-spacing:.01em}.modal-heading p{color:var(--muted);font-size:12px}
.modal-info{background:var(--field);border-color:var(--line);color:var(--muted);border-radius:3px;font-size:11px}
.choice{background:var(--field);border-color:var(--line);border-radius:3px;color:var(--muted);font-size:12px}.choice strong{color:var(--ink)}.choice small{color:var(--muted);font-size:11px}
.modal-warning{color:var(--muted);font-size:12px}.checkbox-row{color:var(--muted);font-size:11px}
.help-steps li{color:var(--muted);font-size:12px}.help-steps li:before{color:var(--teal)}.help-steps strong{color:var(--ink)}
.toast{color:var(--ink);background:#1B2C24;border:1px solid #4EA69D66;border-radius:3px;font-size:12px;box-shadow:0 10px 30px #0005}.toast.error{background:#251B18;border-color:#F29E9277}
.category-select summary{background:var(--field);color:var(--ink);border-color:var(--line);border-radius:3px;font-size:12px;min-height:39px}
.category-select summary .icon{color:var(--teal)}.category-select summary .placeholder{color:var(--subtle)}
.category-select[open] summary{border-color:var(--teal);box-shadow:0 0 0 2px #4EA69D1A}
.category-options{background:var(--surface-raised);border-color:#42584E;border-radius:3px;box-shadow:0 16px 40px #0008}
.category-controls{border-color:var(--line)}.category-controls .button{color:var(--teal);font-size:10px}
.category-option{color:var(--ink);border-radius:2px}.category-option span{color:var(--ink);font-size:12px}.category-option:hover{background:#4EA69D12}
.category-option input{min-height:14px;background:transparent;box-shadow:none;border:0}
.compatibility-section{border-color:var(--line)}.compatibility-heading h3{color:var(--ink);font-size:13px;letter-spacing:.04em;text-transform:uppercase}.compatibility-heading p{color:var(--muted);font-size:11px}
.compatibility-box{background:var(--field);border-color:var(--line);border-radius:3px;min-height:87px;padding:13px}
.compatibility-box>span{color:var(--muted);font-size:10px}.compatibility-box input{color:var(--ink);font-size:13px}
.compatibility-box input::placeholder{color:var(--subtle);font-size:11px}.compatibility-box:focus-within{border-color:var(--teal);box-shadow:0 0 0 2px #4EA69D1A}
.compatibility-box small{color:var(--subtle);font-size:9px}.compatibility-value strong{color:var(--ink);font-size:13px;font-weight:500}
.legacy-compatibility{border-top-color:var(--line)}.legacy-compatibility>span{color:var(--subtle);font-size:10px}.legacy-compatibility .hint{font-size:10px}
@media(min-width:1600px){.part-image{height:224px}.page-title-row h1{font-size:36px}}
@media(max-width:1230px){.part-image{height:174px}.stat-card{padding:19px;min-height:140px}.part-card h2{font-size:15px}.brand strong{font-size:21px;letter-spacing:1.3px}.save-state{font-size:9px}}
@media(max-width:1000px){
 .brand{display:flex;justify-content:center;padding:0 0 29px;min-height:0}.brand>span{display:block}.brand strong{max-width:54px;font-size:12px;letter-spacing:1.5px;line-height:1.5;white-space:normal}
 .nav-item{border-left:0;border-bottom:2px solid transparent;padding:12px}.nav-item.active{border-bottom-color:var(--teal)}
 .nav-item>span:nth-child(2),.nav-item small{display:none}.sidebar-bottom p,.workspace-note{display:none}
 .part-image{height:192px}.part-cost strong{font-size:18px}.topbar-actions .save-state{display:none}
}
@media(max-width:700px){
 .sidebar{background:var(--near-black);border-bottom-color:var(--line)}.brand{padding:0;min-width:50px}.brand strong{max-width:56px;font-size:12px;line-height:1.4;letter-spacing:1.5px}
 .nav-item{padding:8px}.nav-item.active{background:#4EA69D16}.topbar{background:var(--near-black)}
 .breadcrumb{font-size:10px}.topbar .button.primary{font-size:10px}.page-title-row h1{font-size:25px;letter-spacing:.015em}.page-title-row p{font-size:11px}
 .eyebrow{font-size:8px;letter-spacing:1.4px}.page-title-row .eyebrow:before{width:13px;margin-right:7px}
 .stat-card{padding:14px 11px;min-height:134px}.stat-card>span{font-size:9px}.stat-card strong{font-size:29px;margin:13px 0 7px}.stat-card small{font-size:9px}
 .sample-banner{font-size:10px}.search-box input,.select-filter{font-size:11px}.catalog-toolbar-right .select-filter{max-width:160px}
 .part-image{height:154px}.part-card h2{font-size:13px;min-height:39px}.part-card-copy p{font-size:9px}.part-card-footer{padding:12px 10px}
 .part-id,.part-meta-top .part-id{font-size:8px;letter-spacing:.5px}.stage-badge{font-size:8px;padding:3px 5px}
 .profile-caption{font-size:8px}.part-cost strong{font-size:15px}.part-cost small{font-size:7px}.part-image .image-tag{font-size:7px;padding:4px 5px}
 .image-caption{font-size:7px;letter-spacing:.6px;max-width:90px}.app-footer{font-size:7px;letter-spacing:1px}
 .detail-heading h1{font-size:25px}.detail-meta{font-size:10px}.tab-button{font-size:11px}.panel-title h2{font-size:11px}.panel-title p,.hint{font-size:11px}
 .cost-number{padding:16px 10px}.cost-number>span,.cost-number:first-child>span{font-size:8px;letter-spacing:.3px}.cost-number strong{font-size:23px}.cost-number small,.cost-number:first-child small{font-size:9px}
 .field>span{font-size:10px}.field input,.field select,.field textarea{font-size:13px}.field>.field-hint{font-size:10px}
 .compatibility-box{min-height:87px;padding:12px 10px}.compatibility-box>span{font-size:10px}.compatibility-box input{font-size:13px}.compatibility-value strong{font-size:12px}
 .test-header h3{font-size:13px}.test-values{font-size:10px}.test-footer small{font-size:9px}.modal-heading h2{font-size:22px}.modal-heading p{font-size:11px}
}

/* Fullscreen reference photo inspection. */
.photo-preview{appearance:none;display:flex;width:100%;padding:0;cursor:zoom-in;text-align:left}
.photo-preview:hover{border-color:var(--teal)}
.photo-open-hint{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;padding:8px 10px;background:#0D1111E8;color:var(--ink);border:1px solid #4EA69D66;border-radius:2px;font-size:10px;pointer-events:none}
.photo-open-hint .icon{width:14px;height:14px;color:var(--teal)}
html.photo-viewer-open,html.photo-viewer-open body{overflow:hidden}
dialog.photo-viewer{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;overflow:hidden;overscroll-behavior:none;background:var(--near-black);color:var(--ink);box-shadow:none}
dialog.photo-viewer::backdrop{background:var(--near-black);backdrop-filter:none}
.photo-viewer-layout{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;padding-top:env(safe-area-inset-top)}
.photo-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid var(--line);min-width:0}
.photo-viewer-title{min-width:0}.photo-viewer-title h2{margin:5px 0;font-size:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-viewer-title p{margin:0;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-viewer .icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink);padding:0;flex:none}
.photo-viewer .icon-button:hover{background:var(--surface-raised);border-color:var(--teal);color:var(--teal)}
.photo-viewer .icon-button:disabled{opacity:.35;cursor:default}
.photo-viewer .icon-button:disabled:hover{background:var(--surface);border-color:var(--line);color:var(--ink)}
.photo-viewer-stage{position:relative;min-height:0;min-width:0;overflow:hidden;background:#080D0C;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in}
.photo-viewer-stage.is-zoomed{cursor:grab}.photo-viewer-stage.is-dragging{cursor:grabbing}
.photo-viewer-stage:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.photo-viewer-stage img{position:absolute;left:50%;top:50%;display:block;max-width:none;max-height:none;object-fit:contain;transform-origin:center;pointer-events:none;user-select:none;-webkit-user-select:none}
.photo-viewer-message{position:absolute;inset:0;display:grid;align-content:center;text-align:center;margin:0;padding:24px;color:var(--muted);font-size:13px;line-height:1.8;pointer-events:none}
.photo-viewer-footer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 24px;align-items:center;padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.photo-viewer-controls{display:flex;align-items:center;gap:8px;min-width:0}.photo-viewer-zoom{justify-self:end}
.photo-viewer-navigation>span{min-width:48px;text-align:center;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.photo-viewer-zoom output{min-width:55px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.photo-viewer-divider{height:22px;width:1px;background:var(--line);margin:0 3px}
.photo-viewer-zoom .button{min-height:44px;padding:10px 13px;white-space:nowrap}
#photo-viewer-help{grid-column:1/-1;margin:0;text-align:center;color:var(--subtle);font-size:10px;line-height:1.7}
@media(max-width:600px){
 .photo-viewer-header{padding:13px 16px;gap:12px}.photo-viewer-title h2{font-size:16px}.photo-viewer-title p{font-size:10px}.photo-viewer-title .eyebrow{font-size:8px}
 .photo-viewer-footer{grid-template-columns:1fr;gap:9px;padding:10px 12px max(10px,env(safe-area-inset-bottom))}.photo-viewer-controls{justify-content:center;justify-self:center;gap:7px}#photo-viewer-help{font-size:9px;max-width:320px;justify-self:center}
 .photo-open-hint{right:9px;bottom:9px;font-size:9px;padding:7px 9px}
}

/* Original symbol with the Paralucent PARTS LAB wordmark. */
.brand{gap:11px}
.brand img{width:30px;height:35px;object-fit:contain;flex:none}
.brand>span{min-width:0}
.brand strong{font-family:"Paralucent",ui-sans-serif,sans-serif;font-size:22px;letter-spacing:1.3px;font-weight:600;white-space:nowrap}
@media(max-width:1230px){
 .brand{gap:9px}.brand img{width:28px;height:33px}.brand strong{font-size:20px;letter-spacing:1px}
}
@media(max-width:1000px){
 .brand{flex-direction:column;gap:6px;padding-bottom:26px}.brand img{width:26px;height:30px}.brand strong{max-width:52px;font-size:10px;line-height:1.35;letter-spacing:1px;white-space:normal;text-align:center}
}
@media(max-width:700px){
 .brand{flex-direction:row;gap:7px;padding:0;min-width:0;flex:none}.brand img{width:22px;height:26px}.brand strong{max-width:none;font-size:11px;line-height:1.2;letter-spacing:.8px;white-space:nowrap;text-align:left}
}

/* Camera capture and shared catalog controls. */
.reference-photo-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#phone-link{font-size:12px;word-break:break-all}
#sync-sign-in{display:inline-flex}
#sync-detail-status{overflow-wrap:anywhere}
@media(max-width:700px){
 .panel-title:has(.reference-photo-actions){align-items:flex-start;flex-direction:column;gap:13px}.reference-photo-actions{width:100%;justify-content:flex-start}.reference-photo-actions .button{min-height:42px;font-size:12px;padding:10px 12px}
 .detail-heading .page-actions{flex-wrap:wrap;gap:7px}.detail-heading .page-actions .button{min-height:40px;font-size:11px;padding:9px 10px}
 .topbar-actions{gap:3px}.topbar-actions>.icon-button{width:32px;height:34px;padding:6px}
 .field input,.field select,.field textarea,.compatibility-box input,.notes-area{font-size:16px}
}
