| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281 |
- :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", "Microsoft YaHei UI", "Microsoft YaHei", 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", 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", 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", 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", monospace;
- font-size: 0.76rem;
- font-weight: 650;
- }
- .segmented input:checked + span {
- background: var(--ink);
- color: var(--surface);
- }
- .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", 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;
- }
- .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", 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", 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", 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", 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", 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, monospace;
- 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", monospace;
- font-size: 0.68rem;
- white-space: nowrap;
- }
- .evidence-tag.verified {
- background: var(--verified-soft);
- border-color: #9ac6ad;
- color: var(--verified);
- }
- .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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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;
- }
- }
|