| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420 |
- :root {
- color-scheme: light;
- --workbench: #edf0ed;
- --surface: #ffffff;
- --surface-muted: #f5f7f5;
- --ink: #18201d;
- --ink-muted: #5d6963;
- --line: #cbd2cd;
- --line-strong: #929e97;
- --locator: #087e8b;
- --locator-soft: #d9f0f1;
- --verified: #2f6f4e;
- --verified-soft: #e0efe6;
- --risk: #b65f05;
- --risk-soft: #fff0d8;
- --danger: #b42318;
- --danger-soft: #fee4e2;
- --detail-width: 390px;
- --topbar-height: 68px;
- font-family: "Segoe UI Variable", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
- font-size: 16px;
- letter-spacing: 0;
- }
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
- [hidden] {
- display: none !important;
- }
- html,
- body {
- inline-size: 100%;
- block-size: 100%;
- margin: 0;
- overflow: hidden;
- background: var(--workbench);
- color: var(--ink);
- }
- button,
- input,
- select {
- font: inherit;
- }
- button,
- select,
- input[type="checkbox"] {
- cursor: pointer;
- }
- button:focus-visible,
- input:focus-visible,
- select:focus-visible,
- [tabindex]:focus-visible {
- outline: 3px solid color-mix(in srgb, var(--locator) 42%, transparent);
- outline-offset: 2px;
- }
- .sr-only {
- position: absolute;
- inline-size: 1px;
- block-size: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- white-space: nowrap;
- border: 0;
- }
- .app-shell {
- display: grid;
- grid-template-rows: auto minmax(0, 1fr);
- min-block-size: 100dvh;
- block-size: 100dvh;
- }
- .topbar {
- position: relative;
- z-index: 20;
- min-block-size: var(--topbar-height);
- display: grid;
- grid-template-columns: minmax(250px, 0.8fr) minmax(360px, 1.6fr) auto;
- align-items: center;
- gap: 18px;
- padding: 10px 16px;
- background: var(--surface);
- border-block-end: 1px solid var(--line);
- }
- .product-block {
- min-inline-size: 0;
- display: flex;
- align-items: center;
- gap: 11px;
- }
- .product-mark {
- flex: 0 0 auto;
- inline-size: 10px;
- block-size: 36px;
- background: var(--locator);
- border-radius: 2px;
- box-shadow: inset 0 -11px 0 var(--verified);
- }
- .product-title {
- overflow: hidden;
- color: var(--ink);
- font-family: Bahnschrift, "Segoe UI Variable", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
- font-size: 1rem;
- font-weight: 650;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .product-meta {
- margin-block-start: 3px;
- overflow: hidden;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.72rem;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .search-block {
- position: relative;
- min-inline-size: 0;
- }
- .search-field {
- min-block-size: 44px;
- display: grid;
- grid-template-columns: 24px minmax(0, 1fr);
- align-items: center;
- gap: 7px;
- padding-inline: 12px;
- background: var(--surface-muted);
- border: 1px solid var(--line);
- border-radius: 6px;
- color: var(--ink-muted);
- }
- .search-field:focus-within {
- background: var(--surface);
- border-color: var(--locator);
- box-shadow: 0 0 0 3px var(--locator-soft);
- }
- .search-field input {
- min-inline-size: 0;
- inline-size: 100%;
- block-size: 40px;
- padding: 0;
- border: 0;
- outline: 0;
- background: transparent;
- color: var(--ink);
- font-size: 0.9rem;
- }
- .search-results {
- position: absolute;
- z-index: 50;
- inset-block-start: calc(100% + 6px);
- inset-inline: 0;
- max-block-size: min(420px, 60vh);
- overflow: auto;
- background: var(--surface);
- border: 1px solid var(--line-strong);
- border-radius: 6px;
- box-shadow: 0 16px 36px rgba(24, 32, 29, 0.18);
- }
- .search-result {
- inline-size: 100%;
- min-block-size: 52px;
- display: grid;
- grid-template-columns: 86px minmax(0, 1fr);
- gap: 10px;
- align-items: center;
- padding: 8px 12px;
- border: 0;
- border-block-end: 1px solid var(--line);
- background: var(--surface);
- color: var(--ink);
- text-align: start;
- }
- .search-result:hover,
- .search-result[aria-selected="true"] {
- background: var(--locator-soft);
- }
- .result-key,
- .mono {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- }
- .result-detail {
- min-inline-size: 0;
- overflow: hidden;
- color: var(--ink-muted);
- font-size: 0.78rem;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .empty-search {
- padding: 18px;
- color: var(--ink-muted);
- font-size: 0.84rem;
- text-align: center;
- }
- .status-cluster {
- display: flex;
- align-items: center;
- gap: 8px;
- }
- .status-badge {
- min-block-size: 30px;
- display: inline-flex;
- align-items: center;
- padding-inline: 10px;
- border: 1px solid transparent;
- border-radius: 999px;
- font-size: 0.76rem;
- font-weight: 650;
- white-space: nowrap;
- }
- .status-loading {
- background: var(--surface-muted);
- border-color: var(--line);
- color: var(--ink-muted);
- }
- .status-pass {
- background: var(--verified-soft);
- border-color: #9ac6ad;
- color: var(--verified);
- }
- .status-stale {
- background: var(--risk-soft);
- border-color: #e7b768;
- color: #874500;
- }
- .status-error {
- background: var(--danger-soft);
- border-color: #f3a6a0;
- color: var(--danger);
- }
- .workspace {
- min-block-size: 0;
- display: grid;
- grid-template-columns: minmax(0, 1fr) var(--detail-width);
- }
- .board-pane {
- min-inline-size: 0;
- min-block-size: 0;
- display: grid;
- grid-template-rows: auto auto minmax(0, 1fr) 32px;
- grid-template-areas:
- "status"
- "toolbar"
- "board"
- "footer";
- background: var(--workbench);
- }
- .stale-banner {
- grid-area: status;
- padding: 8px 14px;
- background: var(--risk-soft);
- border-block-end: 1px solid #e7b768;
- color: #704000;
- font-size: 0.8rem;
- }
- .board-toolbar {
- grid-area: toolbar;
- min-block-size: 54px;
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 6px 12px;
- background: var(--surface);
- border-block-end: 1px solid var(--line);
- overflow-x: auto;
- scrollbar-width: thin;
- }
- fieldset {
- margin: 0;
- padding: 0;
- border: 0;
- }
- .segmented {
- display: inline-flex;
- flex: 0 0 auto;
- border: 1px solid var(--line);
- border-radius: 6px;
- overflow: hidden;
- }
- .segmented label {
- position: relative;
- min-block-size: 36px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border-inline-end: 1px solid var(--line);
- }
- .segmented label:last-child {
- border-inline-end: 0;
- }
- .segmented input {
- position: absolute;
- opacity: 0;
- }
- .segmented span {
- min-inline-size: 46px;
- block-size: 36px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding-inline: 9px;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.76rem;
- font-weight: 650;
- }
- .segmented input:checked + span {
- background: var(--ink);
- color: var(--surface);
- }
- .side-controls {
- flex: 0 0 auto;
- }
- .side-controls label span {
- min-inline-size: 2.6em;
- }
- .layer-controls {
- flex: 1 0 auto;
- display: flex;
- align-items: center;
- gap: 14px;
- }
- .layer-controls label {
- min-block-size: 36px;
- display: inline-flex;
- align-items: center;
- gap: 6px;
- color: var(--ink-muted);
- font-size: 0.76rem;
- white-space: nowrap;
- }
- .layer-controls input {
- inline-size: 16px;
- block-size: 16px;
- margin: 0;
- accent-color: var(--locator);
- }
- .swatch {
- inline-size: 10px;
- block-size: 10px;
- border: 1px solid rgba(24, 32, 29, 0.28);
- border-radius: 2px;
- }
- .swatch-mask { background: #d864ff; }
- .swatch-silk { background: #f2eda1; }
- .swatch-copper { background: #c94646; }
- .swatch-photo { background: #87938d; }
- .disabled-control {
- cursor: not-allowed;
- opacity: 0.52;
- }
- .view-tools {
- display: flex;
- flex: 0 0 auto;
- align-items: center;
- gap: 4px;
- }
- .icon-button {
- min-inline-size: 44px;
- min-block-size: 44px;
- display: inline-grid;
- place-items: center;
- padding: 0;
- border: 1px solid var(--line);
- border-radius: 6px;
- background: var(--surface);
- color: var(--ink);
- font-family: "Segoe UI Symbol", "Segoe UI", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
- font-size: 1.2rem;
- line-height: 1;
- }
- .icon-button:hover {
- background: var(--surface-muted);
- border-color: var(--line-strong);
- }
- .drawer-toggle {
- display: none;
- }
- .board-viewport {
- grid-area: board;
- position: relative;
- min-block-size: 0;
- margin: 12px;
- overflow: hidden;
- background: #dfe4e0;
- border: 1px solid var(--line-strong);
- border-radius: 6px;
- box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.34);
- }
- #board-svg {
- inline-size: 100%;
- block-size: 100%;
- display: block;
- cursor: grab;
- touch-action: none;
- user-select: none;
- }
- #board-svg.is-panning {
- cursor: grabbing;
- }
- #layer-mask { opacity: 0.68; }
- #layer-silk { opacity: 0.94; }
- #layer-copper { opacity: 0.43; mix-blend-mode: multiply; }
- #layer-photo { opacity: 0.72; }
- .hotspot {
- fill: rgba(8, 126, 139, 0.025);
- stroke: rgba(8, 126, 139, 0.48);
- stroke-width: 0.18;
- vector-effect: non-scaling-stroke;
- cursor: pointer;
- }
- .hotspot:hover,
- .hotspot:focus {
- fill: rgba(8, 126, 139, 0.18);
- stroke: var(--locator);
- stroke-width: 1.5;
- }
- .hotspot.is-selected {
- fill: rgba(8, 126, 139, 0.14);
- stroke: var(--locator);
- stroke-width: 2;
- }
- .hotspot-resistor {
- fill: rgba(156, 102, 8, 0.05);
- stroke: rgba(156, 102, 8, 0.55);
- }
- .hotspot-resistor.is-selected,
- .hotspot-resistor:hover,
- .hotspot-resistor:focus {
- fill: rgba(156, 102, 8, 0.18);
- stroke: rgb(156, 102, 8);
- }
- .resistor-pad-marker {
- fill: rgba(156, 102, 8, 0.12);
- stroke: rgb(156, 102, 8);
- stroke-width: 0.12;
- pointer-events: none;
- }
- .resistor-pad-halo {
- fill: none;
- stroke: rgba(156, 102, 8, 0.55);
- stroke-width: 0.18;
- stroke-dasharray: 0.35 0.25;
- pointer-events: none;
- }
- .back-view-tip {
- margin: 0.35rem 0 0;
- padding: 0.45rem 0.6rem;
- border-left: 3px solid var(--risk);
- background: var(--risk-soft);
- color: var(--ink);
- font-size: 0.92rem;
- line-height: 1.35;
- }
- .coverage-hint {
- margin: 0.35rem 0 0;
- padding: 0.4rem 0.55rem;
- background: var(--surface-muted);
- border: 1px solid var(--line);
- font-size: 0.9rem;
- color: var(--ink-muted);
- }
- .assembly-badge {
- display: inline-block;
- margin-left: 0.35rem;
- padding: 0.05rem 0.35rem;
- border-radius: 0.2rem;
- background: var(--danger-soft);
- color: var(--danger);
- font-size: 0.8rem;
- }
- .pin-hit {
- fill: transparent;
- stroke: none;
- cursor: crosshair;
- pointer-events: none;
- }
- #board-svg.pins-interactive .pin-hit {
- pointer-events: all;
- }
- .pin-dot {
- fill: rgba(255, 255, 255, 0.55);
- stroke: rgba(24, 32, 29, 0.72);
- stroke-width: 0.16;
- vector-effect: non-scaling-stroke;
- pointer-events: none;
- }
- .pin-group.role-shield .pin-dot {
- fill: rgba(182, 95, 5, 0.22);
- stroke: var(--risk);
- stroke-dasharray: 2 1;
- }
- .pin-group.role-mechanical .pin-dot {
- fill: transparent;
- stroke: var(--line-strong);
- stroke-width: 0.28;
- }
- .pin-group.role-unknown .pin-dot {
- fill: rgba(180, 35, 24, 0.12);
- stroke: var(--danger);
- stroke-dasharray: 1.5 1.5;
- }
- .pin-group:hover .pin-dot,
- .pin-group:focus .pin-dot,
- .pin-group.is-selected .pin-dot {
- fill: #ffffff;
- stroke: var(--locator);
- stroke-width: 1.8;
- }
- .net-highlight {
- fill: rgba(182, 95, 5, 0.28);
- stroke: var(--risk);
- stroke-width: 2;
- vector-effect: non-scaling-stroke;
- }
- .selection-reticle {
- fill: none;
- stroke: var(--locator);
- stroke-width: 2;
- stroke-dasharray: 7 4;
- vector-effect: non-scaling-stroke;
- pointer-events: none;
- }
- .selection-cross {
- stroke: var(--locator);
- stroke-width: 2;
- vector-effect: non-scaling-stroke;
- }
- .board-loading {
- position: absolute;
- inset: 0;
- display: grid;
- place-items: center;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.82rem;
- pointer-events: none;
- }
- .board-tooltip {
- position: absolute;
- z-index: 15;
- max-inline-size: min(300px, calc(100% - 24px));
- padding: 9px 11px;
- background: rgba(24, 32, 29, 0.96);
- border: 1px solid rgba(255, 255, 255, 0.16);
- border-radius: 5px;
- color: #ffffff;
- box-shadow: 0 8px 22px rgba(24, 32, 29, 0.25);
- font-size: 0.76rem;
- line-height: 1.45;
- pointer-events: none;
- }
- .tooltip-key {
- color: #99e1e6;
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-weight: 700;
- }
- .tooltip-role {
- color: #ffd08a;
- font-size: 0.68rem;
- font-weight: 700;
- }
- .coordinate-rail {
- position: absolute;
- inset-block-start: 7px;
- inset-inline: 12px;
- display: flex;
- justify-content: space-between;
- color: rgba(24, 32, 29, 0.55);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.62rem;
- pointer-events: none;
- }
- .board-footer {
- grid-area: footer;
- display: grid;
- grid-template-columns: 1fr auto 1fr;
- align-items: center;
- gap: 12px;
- padding-inline: 14px;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.7rem;
- }
- .board-footer span:last-child {
- overflow: hidden;
- text-align: end;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .detail-panel {
- min-inline-size: 0;
- min-block-size: 0;
- display: grid;
- grid-template-rows: auto minmax(0, 1fr);
- background: var(--surface);
- border-inline-start: 1px solid var(--line);
- overflow: hidden;
- }
- .drawer-handle {
- display: none;
- }
- .detail-tabs {
- display: grid;
- grid-template-columns: 1fr 1fr;
- border-block-end: 1px solid var(--line);
- }
- .detail-tabs button {
- min-block-size: 48px;
- border: 0;
- border-block-end: 3px solid transparent;
- background: var(--surface);
- color: var(--ink-muted);
- font-size: 0.84rem;
- font-weight: 650;
- }
- .detail-tabs button[aria-selected="true"] {
- border-block-end-color: var(--locator);
- color: var(--ink);
- }
- .panel-content {
- min-block-size: 0;
- overflow: auto;
- padding: 18px;
- scrollbar-width: thin;
- }
- .empty-panel {
- min-block-size: 100%;
- display: grid;
- place-content: center;
- gap: 8px;
- color: var(--ink-muted);
- text-align: center;
- }
- .empty-panel strong {
- color: var(--ink);
- font-size: 0.98rem;
- }
- .empty-stats {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.76rem;
- }
- .detail-heading {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 12px;
- padding-block-end: 14px;
- border-block-end: 1px solid var(--line);
- }
- .detail-reference {
- margin: 0;
- font-family: Bahnschrift, Consolas, "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
- font-size: 1.35rem;
- font-weight: 700;
- }
- .detail-summary {
- margin: 5px 0 0;
- color: var(--ink-muted);
- font-size: 0.82rem;
- line-height: 1.45;
- }
- .category-tag,
- .evidence-tag {
- min-block-size: 26px;
- display: inline-flex;
- align-items: center;
- padding-inline: 8px;
- border: 1px solid var(--line);
- border-radius: 999px;
- background: var(--surface-muted);
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.68rem;
- white-space: nowrap;
- }
- .evidence-tag.verified {
- background: var(--verified-soft);
- border-color: #9ac6ad;
- color: var(--verified);
- }
- .side-tag {
- min-block-size: 26px;
- display: inline-flex;
- align-items: center;
- padding-inline: 8px;
- border: 1px solid #c9a227;
- border-radius: 999px;
- background: #fff8df;
- color: #7a5b00;
- font-size: 0.68rem;
- white-space: nowrap;
- }
- .evidence-conflict {
- margin-top: 12px;
- padding: 10px;
- border: 1px solid #d9a09a;
- border-radius: 8px;
- background: #fff5f3;
- }
- .evidence-conflict-note {
- margin-bottom: 8px;
- }
- .search-help {
- margin-top: 4px;
- font-size: 0.72rem;
- color: var(--ink-muted);
- }
- .search-help summary {
- cursor: pointer;
- user-select: none;
- }
- .search-help-body {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
- margin-top: 6px;
- align-items: center;
- }
- .help-chip,
- .term {
- border: 1px solid var(--line);
- border-radius: 999px;
- background: var(--surface-muted);
- padding: 2px 8px;
- font: inherit;
- cursor: pointer;
- }
- .help-chip:hover,
- .term:hover {
- border-color: var(--accent, #3a6ea5);
- }
- .help-glossary {
- flex-basis: 100%;
- margin: 4px 0 0;
- line-height: 1.5;
- }
- .pin-row.is-conflict {
- opacity: 0.7;
- cursor: not-allowed;
- }
- .net-highlight.net-resistor {
- fill: rgba(196, 120, 40, 0.28);
- stroke: #c47828;
- }
- .detail-facts {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 0;
- margin: 14px 0;
- border-block: 1px solid var(--line);
- }
- .fact {
- min-inline-size: 0;
- padding: 10px 8px;
- border-block-end: 1px solid var(--line);
- }
- .fact:nth-child(odd) {
- border-inline-end: 1px solid var(--line);
- }
- .fact:nth-last-child(-n + 2) {
- border-block-end: 0;
- }
- .fact-label {
- display: block;
- margin-block-end: 4px;
- color: var(--ink-muted);
- font-size: 0.68rem;
- }
- .fact-value {
- display: block;
- overflow-wrap: anywhere;
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.76rem;
- }
- .section-title {
- margin: 18px 0 8px;
- color: var(--ink-muted);
- font-size: 0.72rem;
- font-weight: 700;
- text-transform: uppercase;
- }
- .connector-layout {
- margin-block-start: 16px;
- padding: 10px;
- border: 1px solid var(--line);
- border-radius: 6px;
- background: var(--surface-muted);
- }
- .connector-layout-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- }
- .connector-layout-title {
- margin: 0;
- }
- .connector-orientation {
- display: grid;
- justify-items: center;
- gap: 4px;
- margin-block-start: 10px;
- }
- .connector-axis-row {
- inline-size: 100%;
- display: grid;
- grid-template-columns: 18px minmax(0, 1fr) 18px;
- align-items: center;
- gap: 4px;
- }
- .connector-axis {
- color: var(--ink-muted);
- font-size: 0.66rem;
- font-weight: 700;
- text-align: center;
- }
- .connector-grid {
- min-inline-size: 0;
- display: grid;
- gap: 5px;
- }
- .connector-grid-row {
- min-inline-size: 0;
- display: grid;
- grid-template-columns: repeat(var(--connector-columns), minmax(0, 1fr));
- gap: 5px;
- }
- .connector-contact {
- min-inline-size: 0;
- min-block-size: 42px;
- border: 1px solid var(--line-strong);
- border-radius: 4px;
- background: var(--surface);
- color: var(--ink);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.78rem;
- font-weight: 700;
- }
- .connector-contact:hover,
- .connector-contact.is-selected {
- border-color: var(--locator);
- background: var(--locator-soft);
- color: #07545c;
- }
- .connector-layout-meta {
- margin-block-start: 9px;
- overflow-wrap: anywhere;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.66rem;
- line-height: 1.4;
- }
- .connector-perspective-note {
- margin-block-start: 8px;
- padding-block-start: 8px;
- border-block-start: 1px solid var(--line);
- color: #07545c;
- font-size: 0.7rem;
- font-weight: 650;
- line-height: 1.45;
- }
- .pin-list {
- border-block-start: 1px solid var(--line);
- }
- .pin-row {
- inline-size: 100%;
- min-block-size: 54px;
- display: grid;
- grid-template-columns: 42px minmax(0, 1fr) auto;
- align-items: center;
- gap: 9px;
- padding: 7px 5px;
- border: 0;
- border-block-end: 1px solid var(--line);
- background: var(--surface);
- color: var(--ink);
- text-align: start;
- }
- .pin-row:hover,
- .pin-row.is-selected {
- background: var(--locator-soft);
- }
- .pin-number {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-weight: 700;
- }
- .pin-primary {
- min-inline-size: 0;
- }
- .pin-net {
- display: block;
- margin-block-start: 3px;
- overflow: hidden;
- color: var(--ink-muted);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.77rem;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .pin-summary {
- display: block;
- overflow: hidden;
- color: var(--ink);
- font-weight: 650;
- line-height: 1.35;
- font-size: 0.7rem;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .pin-direction {
- color: var(--ink-muted);
- font-size: 0.68rem;
- white-space: nowrap;
- }
- .pin-detail {
- margin-block-start: 16px;
- padding-block-start: 15px;
- border-block-start: 2px solid var(--locator);
- }
- .pin-detail-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10px;
- }
- .pin-detail-header h3 {
- margin: 0;
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 1rem;
- }
- .programming-guide {
- margin-block-start: 14px;
- padding: 2px 0 2px 14px;
- border-inline-start: 4px solid var(--line-strong);
- }
- .programming-guide.status-verified_fpga,
- .programming-guide.status-verified_mcu {
- border-inline-start-color: var(--verified);
- }
- .programming-guide.status-board_only {
- border-inline-start-color: var(--risk);
- }
- .programming-guide.status-not_programmable,
- .programming-guide.status-unknown {
- border-inline-start-color: var(--danger);
- }
- .programming-guide-heading {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10px;
- }
- .programming-title {
- margin-block-start: 0;
- color: var(--ink);
- font-size: 0.78rem;
- text-transform: none;
- }
- .programming-conclusion {
- margin: 7px 0 0;
- color: var(--ink);
- font-size: 0.84rem;
- font-weight: 700;
- line-height: 1.55;
- }
- .programming-copy {
- margin: 0;
- color: var(--ink-muted);
- font-size: 0.74rem;
- line-height: 1.55;
- }
- .guidance-list,
- .component-list {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .guidance-list li,
- .component-list li {
- position: relative;
- padding: 5px 0 5px 15px;
- color: var(--ink);
- font-size: 0.72rem;
- line-height: 1.5;
- overflow-wrap: anywhere;
- }
- .guidance-list li::before,
- .component-list li::before {
- content: "";
- position: absolute;
- inset-inline-start: 1px;
- inset-block-start: 11px;
- inline-size: 6px;
- block-size: 6px;
- border-radius: 50%;
- background: var(--locator);
- }
- .constraint-list li {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- }
- .risk-list li::before {
- background: var(--risk);
- }
- .component-list {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 0 10px;
- }
- .component-list li {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- }
- .path-list,
- .source-list {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .path-list li {
- position: relative;
- padding: 8px 8px 8px 18px;
- border-inline-start: 2px solid var(--line);
- color: var(--ink);
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.73rem;
- overflow-wrap: anywhere;
- }
- .path-list li::before {
- content: "";
- position: absolute;
- inset-inline-start: -5px;
- inset-block-start: 13px;
- inline-size: 8px;
- block-size: 8px;
- background: var(--locator);
- border-radius: 50%;
- }
- .source-list li {
- padding: 6px 0;
- border-block-end: 1px solid var(--line);
- color: var(--ink-muted);
- font-size: 0.7rem;
- line-height: 1.45;
- overflow-wrap: anywhere;
- }
- .risk-note,
- .info-note {
- margin-block-start: 12px;
- padding: 9px 10px;
- border-inline-start: 3px solid var(--risk);
- background: var(--risk-soft);
- color: #704000;
- font-size: 0.72rem;
- line-height: 1.5;
- }
- .info-note {
- border-inline-start-color: var(--locator);
- background: var(--locator-soft);
- color: #07545c;
- }
- .adc-controls {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 44px;
- gap: 6px;
- margin-block-start: 8px;
- }
- .adc-controls input,
- .candidate-controls select {
- min-inline-size: 0;
- min-block-size: 44px;
- padding-inline: 10px;
- border: 1px solid var(--line-strong);
- border-radius: 5px;
- background: var(--surface);
- color: var(--ink);
- }
- .copy-button {
- min-inline-size: 44px;
- min-block-size: 44px;
- border: 1px solid var(--line-strong);
- border-radius: 5px;
- background: var(--surface);
- color: var(--ink);
- font-size: 1.05rem;
- }
- .copy-button:disabled,
- .adc-controls input:disabled {
- cursor: not-allowed;
- opacity: 0.5;
- }
- .copy-status {
- min-block-size: 20px;
- margin-block-start: 5px;
- color: var(--ink-muted);
- font-size: 0.68rem;
- }
- .candidate-controls {
- display: grid;
- gap: 7px;
- padding-block-end: 15px;
- border-block-end: 1px solid var(--line);
- }
- .candidate-controls label {
- color: var(--ink-muted);
- font-size: 0.72rem;
- font-weight: 700;
- }
- .candidate-list {
- margin-block-start: 12px;
- }
- .candidate-row {
- inline-size: 100%;
- display: grid;
- gap: 6px;
- padding: 12px 4px;
- border: 0;
- border-block-end: 1px solid var(--line);
- background: var(--surface);
- color: var(--ink);
- text-align: start;
- }
- .candidate-row:hover {
- background: var(--locator-soft);
- }
- .candidate-key {
- font-family: Consolas, "Cascadia Mono", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei UI", monospace;
- font-size: 0.82rem;
- font-weight: 700;
- }
- .candidate-reason,
- .candidate-warning {
- color: var(--ink-muted);
- font-size: 0.7rem;
- line-height: 1.45;
- }
- .candidate-warning {
- color: #704000;
- }
- @media (max-width: 1180px) {
- :root { --detail-width: 350px; }
- .topbar { grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.4fr) auto; gap: 10px; }
- .layer-controls { gap: 9px; }
- }
- @media (max-width: 860px) {
- :root { --topbar-height: 116px; }
- .topbar {
- grid-template-columns: minmax(0, 1fr) auto;
- gap: 8px 10px;
- padding: 8px 10px;
- }
- .product-title { font-size: 0.92rem; }
- .product-meta { font-size: 0.66rem; }
- .search-block { grid-column: 1 / -1; grid-row: 2; }
- .status-cluster { grid-column: 2; grid-row: 1; }
- .status-badge { max-inline-size: 98px; overflow: hidden; text-overflow: ellipsis; }
- .workspace {
- display: block;
- min-block-size: 0;
- }
- .board-pane {
- block-size: 100%;
- padding-block-end: 48px;
- }
- .board-toolbar {
- gap: 12px;
- padding-inline: 8px;
- }
- .layer-controls label { font-size: 0.7rem; }
- .board-viewport { margin: 8px; }
- .board-footer { padding-inline: 10px; }
- .drawer-toggle {
- display: inline-grid;
- }
- .detail-panel {
- position: fixed;
- z-index: 40;
- inset-inline: 0;
- inset-block-end: 0;
- block-size: min(62dvh, 560px);
- display: grid;
- grid-template-rows: 16px auto minmax(0, 1fr);
- border: 1px solid var(--line-strong);
- border-block-end: 0;
- border-radius: 8px 8px 0 0;
- box-shadow: 0 -12px 32px rgba(24, 32, 29, 0.2);
- transform: translateY(0);
- transition: transform 180ms ease;
- }
- .app-shell.detail-collapsed .detail-panel {
- transform: translateY(calc(100% - 50px));
- }
- .app-shell.detail-collapsed .drawer-toggle span {
- display: inline-block;
- transform: rotate(180deg);
- }
- .drawer-handle {
- display: block;
- inline-size: 42px;
- block-size: 4px;
- align-self: center;
- justify-self: center;
- background: var(--line-strong);
- border-radius: 3px;
- }
- .detail-tabs button { min-block-size: 34px; }
- .panel-content { padding: 14px; }
- }
- @media (max-width: 460px) {
- .product-mark { block-size: 30px; }
- .product-title { max-inline-size: 205px; }
- .status-badge { display: none; }
- .search-field input { font-size: 0.82rem; }
- .board-toolbar { min-block-size: 50px; }
- .layer-controls { display: none; }
- .segmented span { min-inline-size: 42px; padding-inline: 6px; }
- .board-footer { grid-template-columns: 1fr auto; }
- .board-footer span:last-child { display: none; }
- .coordinate-rail { font-size: 0.56rem; }
- .component-list { grid-template-columns: 1fr; }
- }
- @media (prefers-reduced-motion: reduce) {
- *,
- *::before,
- *::after {
- scroll-behavior: auto !important;
- transition-duration: 0.001ms !important;
- animation-duration: 0.001ms !important;
- }
- }
|