| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475 |
- page {
- --page-bg: #f6f8fb;
- --text-main: #111827;
- --accent: #0f8f87;
- --accent-dark: #08746e;
- --accent-soft: #e8f6f5;
- --danger: #c2410c;
- --shadow-soft: 0 10rpx 28rpx rgba(15, 23, 42, 0.05);
- height: 100vh;
- display: flex;
- flex-direction: column;
- font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
- background: var(--page-bg);
- color: var(--text-main);
- }
- .scrollarea {
- flex: 1;
- overflow-y: auto;
- }
- .scrollarea--subpage .page-shell {
- padding-top: 14rpx;
- }
- .scrollarea--generic .page-shell {
- padding-top: 0;
- }
- .page-shell {
- min-height: 100%;
- padding: 24rpx 24rpx 52rpx;
- box-sizing: border-box;
- }
- .theme-dark {
- --page-bg: #111827;
- --text-main: #e5e7eb;
- --accent: #14b8a6;
- --accent-dark: #5eead4;
- --accent-soft: #123d3b;
- --danger: #fb923c;
- --shadow-soft: 0 10rpx 28rpx rgba(0, 0, 0, 0.22);
- background: var(--page-bg);
- color: var(--text-main);
- }
- .page-toast {
- position: fixed;
- z-index: 70;
- top: calc(env(safe-area-inset-top) + 108rpx);
- left: 24rpx;
- right: 24rpx;
- min-height: 68rpx;
- padding: 16rpx 22rpx;
- border: 1rpx solid #d9edeb;
- border-radius: 14rpx;
- background: rgba(244, 251, 250, 0.98);
- color: var(--accent-dark);
- box-shadow: 0 12rpx 32rpx rgba(15, 23, 42, 0.16);
- font-size: 25rpx;
- line-height: 1.35;
- font-weight: 700;
- text-align: center;
- word-break: break-all;
- box-sizing: border-box;
- }
- .page-toast--error {
- border-color: #ffd4bf;
- background: rgba(255, 247, 237, 0.98);
- color: var(--danger);
- }
- .page-toast.theme-dark {
- border-color: #174e49;
- background: rgba(18, 61, 59, 0.98);
- color: #99f6e4;
- box-shadow: 0 12rpx 34rpx rgba(0, 0, 0, 0.32);
- }
- .page-toast--error.theme-dark {
- border-color: #7c2d12;
- background: rgba(67, 33, 20, 0.98);
- color: #fed7aa;
- }
- .theme-dark .panel,
- .theme-dark .connected-panel,
- .theme-dark .device-card,
- .theme-dark .empty-state {
- border-color: #263241;
- background: #17202c;
- box-shadow: var(--shadow-soft);
- }
- .theme-dark .panel-title,
- .theme-dark .subpage-page-title,
- .theme-dark .connected-name,
- .theme-dark .device-name,
- .theme-dark .empty-title,
- .theme-dark .param-name,
- .theme-dark .picker-value,
- .theme-dark .generated-title,
- .theme-dark .generated-value,
- .theme-dark .log-payload,
- .theme-dark .control-name,
- .theme-dark .upgrade-value {
- color: #e5e7eb;
- }
- .theme-dark .meta-label,
- .theme-dark .meta-value,
- .theme-dark .device-id,
- .theme-dark .device-service,
- .theme-dark .protocol-label,
- .theme-dark .empty-text,
- .theme-dark .param-meta,
- .theme-dark .log-time,
- .theme-dark .traffic-badge,
- .theme-dark .upgrade-label {
- color: #94a3b8;
- }
- .theme-dark .panel-action-button,
- .theme-dark .protocol-input,
- .theme-dark .value-input,
- .theme-dark .hex-input,
- .theme-dark .control-button,
- .theme-dark .subpage-back {
- border-color: #334155;
- background: #111827;
- color: #cbd5e1;
- box-shadow: none;
- }
- .theme-dark .protocol-picker {
- background: transparent;
- border-color: transparent;
- color: #cbd5e1;
- }
- .theme-dark .subpage-back-icon {
- border-color: #94a3b8;
- }
- .theme-dark .entry-chevron {
- border-color: #64748b;
- }
- .theme-dark .control-button {
- background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
- color: #e5e7eb;
- }
- .theme-dark .panel-action-button {
- background: #17202c;
- color: #99f6e4;
- }
- .theme-dark .panel-action-button.is-active {
- border-color: #5eead4;
- background: #0f766e;
- color: #ecfeff;
- }
- .theme-dark .value-input:focus,
- .theme-dark .protocol-input:focus,
- .theme-dark .hex-input:focus {
- border-color: #2dd4bf;
- background: #102f2e;
- }
- .theme-dark .rssi {
- background: #1f2937;
- color: #cbd5e1;
- }
- .theme-dark .connect-state {
- background: #123d3b;
- color: #5eead4;
- }
- .theme-dark .connect-state.connected,
- .theme-dark .device-card--connected {
- border-color: #0f766e;
- background: #102f2e;
- color: #99f6e4;
- }
- .theme-dark .meta-item,
- .theme-dark .protocol-row,
- .theme-dark .upgrade-row,
- .theme-dark .param-row,
- .theme-dark .params-section-title,
- .theme-dark .protection-field,
- .theme-dark .log-scroll,
- .theme-dark .log-row {
- border-color: #263241;
- }
- .theme-dark .params-section-title {
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .driver-summary-chip,
- .theme-dark .driver-summary-checksum,
- .theme-dark .driver-summary-model {
- color: #e5e7eb;
- }
- .theme-dark .device-filter {
- border-color: #334155;
- background: #111827;
- }
- .theme-dark .device-filter-item {
- color: #94a3b8;
- }
- .theme-dark .device-filter-item.is-active {
- background: #1f2937;
- color: #5eead4;
- box-shadow: none;
- }
- .theme-dark .upgrade-status,
- .theme-dark .generated-frame {
- border-color: #174e49;
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .generic-dialog {
- border-color: #263241;
- background: #17202c;
- box-shadow: 0 18rpx 44rpx rgba(0, 0, 0, 0.38);
- }
- .theme-dark .generic-dialog-header,
- .theme-dark .generic-draft-actions,
- .theme-dark .generic-info-row {
- border-color: #263241;
- }
- .theme-dark .generic-dialog-title,
- .theme-dark .generic-info-value,
- .theme-dark .generic-register-name,
- .theme-dark .crc-file-name {
- color: #e5e7eb;
- }
- .theme-dark .generic-dialog-close,
- .theme-dark .generic-info-label {
- color: #94a3b8;
- }
- .theme-dark .generic-value-input,
- .theme-dark .crc-data-input,
- .theme-dark .generic-struct-input {
- border-color: #334155;
- background: #111827;
- color: #e5e7eb;
- }
- .theme-dark .generic-picker-value {
- color: #e5e7eb;
- }
- .theme-dark .generic-register-row,
- .theme-dark .generic-config-row,
- .theme-dark .generic-struct-section,
- .theme-dark .storage-code-info-card {
- border-color: #263241;
- }
- .theme-dark .generic-register-row.is-drag-armed {
- background: rgba(45, 212, 191, 0.06);
- }
- .theme-dark .generic-register-row.is-dragging {
- border-color: rgba(45, 212, 191, 0.32);
- background: linear-gradient(180deg, rgba(17, 94, 89, 0.68), rgba(15, 118, 110, 0.42));
- box-shadow: 0 16rpx 42rpx rgba(2, 6, 23, 0.5);
- }
- .theme-dark .generic-register-drag-bar {
- background: #64748b;
- }
- .theme-dark .generic-register-drag-handle.is-drag-armed {
- background: rgba(45, 212, 191, 0.1);
- }
- .theme-dark .generic-register-drag-handle.is-dragging {
- background: rgba(45, 212, 191, 0.16);
- }
- .theme-dark .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
- .theme-dark .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
- background: #5eead4;
- }
- .theme-dark .generic-readonly-value,
- .theme-dark .generic-register-unit,
- .theme-dark .storage-code-info-model {
- color: #5eead4;
- }
- .theme-dark .storage-code-info-chip,
- .theme-dark .storage-code-info-metric,
- .theme-dark .generic-register-display-meta {
- color: #94a3b8;
- }
- .theme-dark .value-input--dirty {
- border-color: #f59e0b;
- background: #2b1d0e;
- color: #fed7aa;
- }
- .theme-dark .upgrade-status--ready {
- background: #123d3b;
- color: #5eead4;
- }
- .panel {
- margin-top: 24rpx;
- border: 1rpx solid #e6ebf2;
- border-radius: 18rpx;
- background: #ffffff;
- box-shadow: var(--shadow-soft);
- box-sizing: border-box;
- overflow: hidden;
- }
- .panel:first-child {
- margin-top: 0;
- }
- .panel-header {
- position: relative;
- display: flex;
- align-items: center;
- gap: 14rpx;
- padding: 24rpx 24rpx 8rpx;
- }
- .subpage-fixed-header {
- flex: none;
- padding: 16rpx 24rpx 12rpx;
- background: var(--page-bg);
- box-sizing: border-box;
- }
- .subpage-fixed-header--generic {
- padding: 8rpx 24rpx 4rpx;
- }
- .subpage-fixed-header--generic .subpage-page-header {
- min-height: 52rpx;
- }
- .subpage-page-header {
- display: flex;
- align-items: center;
- gap: 14rpx;
- min-height: 68rpx;
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- .subpage-page-title {
- min-width: 0;
- flex: 1;
- color: #111827;
- font-size: 36rpx;
- line-height: 1.35;
- font-weight: 900;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .subpage-actions {
- margin-left: 0;
- }
- .generic-protocol-actions {
- flex: 1;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8rpx;
- }
- .param-entry-panel .panel-title {
- flex: 1;
- white-space: nowrap;
- word-break: keep-all;
- }
- .subpage-back {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 52rpx;
- height: 52rpx;
- border: 1rpx solid #d8e2ea;
- border-radius: 12rpx;
- background: #f8fafc;
- box-sizing: border-box;
- }
- .subpage-back:active,
- .param-entry-panel:active {
- opacity: 0.72;
- }
- .subpage-back-icon {
- width: 16rpx;
- height: 16rpx;
- border-left: 4rpx solid #64748b;
- border-bottom: 4rpx solid #64748b;
- transform: rotate(45deg);
- margin-left: 6rpx;
- box-sizing: border-box;
- }
- .param-entry-panel .panel-header {
- padding-bottom: 24rpx;
- }
- .driver-summary-panel {
- padding: 18rpx 24rpx 16rpx;
- box-sizing: border-box;
- }
- .driver-summary-row {
- display: flex;
- align-items: center;
- gap: 16rpx;
- }
- .driver-summary-row--top {
- justify-content: space-between;
- }
- .driver-summary-row--model {
- margin-top: 10rpx;
- }
- .driver-summary-chip,
- .driver-summary-checksum,
- .driver-summary-model {
- min-width: 0;
- color: #111827;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .driver-summary-chip {
- flex: 1;
- text-align: left;
- font-size: 28rpx;
- }
- .driver-summary-checksum {
- flex: none;
- text-align: right;
- font-size: 24rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .driver-summary-model {
- flex: 1;
- font-size: 26rpx;
- }
- .entry-chevron {
- flex: none;
- width: 18rpx;
- height: 18rpx;
- border-right: 4rpx solid #94a3b8;
- border-bottom: 4rpx solid #94a3b8;
- transform: rotate(-45deg);
- box-sizing: border-box;
- }
- .params-section-title {
- padding: 18rpx 24rpx;
- border-bottom: 1rpx solid #edf2f7;
- background: #f8fafc;
- color: #475569;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- box-sizing: border-box;
- }
- .params-section-title + .param-row {
- border-top: 0;
- }
- .protection-field-row {
- display: flex;
- flex-wrap: wrap;
- gap: 0 12rpx;
- padding: 0 24rpx;
- box-sizing: border-box;
- }
- .params-section-title + .protection-field-row .protection-field {
- border-top: 0;
- }
- .protection-field {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 14rpx 0;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .protection-field--switch {
- flex: 1 1 240rpx;
- min-width: 240rpx;
- }
- .protection-field--input {
- flex: 1 1 100%;
- min-width: 100%;
- }
- .protection-field-main {
- min-width: 0;
- flex: 1;
- }
- .outside-header {
- padding: 0;
- margin-bottom: 16rpx;
- }
- .panel-icon {
- flex: none;
- position: relative;
- width: 38rpx;
- height: 38rpx;
- border-radius: 12rpx;
- background:
- radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0) 50%),
- linear-gradient(180deg, var(--icon-start, #129a91) 0%, var(--icon-end, #08746e) 100%);
- border: 1rpx solid rgba(255, 255, 255, 0.12);
- box-shadow: 0 8rpx 16rpx rgba(15, 143, 135, 0.18);
- overflow: hidden;
- }
- .panel-title {
- min-width: 0;
- color: #111827;
- font-size: 31rpx;
- line-height: 1.35;
- font-weight: 800;
- word-break: break-all;
- }
- .panel-header--with-actions {
- padding-right: 18rpx;
- }
- .panel-heading-toggle {
- min-width: 0;
- flex: 1;
- display: flex;
- align-items: center;
- gap: 14rpx;
- }
- .panel-heading-toggle:active {
- opacity: 0.72;
- }
- .panel-header--with-actions .panel-title {
- flex: 1;
- white-space: nowrap;
- word-break: keep-all;
- }
- .collapse-indicator {
- flex: none;
- position: relative;
- width: 28rpx;
- height: 28rpx;
- }
- .collapse-indicator::before {
- content: "";
- position: absolute;
- left: 8rpx;
- top: 6rpx;
- width: 10rpx;
- height: 10rpx;
- border-right: 3rpx solid #94a3b8;
- border-bottom: 3rpx solid #94a3b8;
- transform: rotate(45deg);
- transform-origin: center;
- transition: transform 0.16s ease;
- }
- .collapse-toggle.is-collapsed .collapse-indicator::before {
- top: 9rpx;
- transform: rotate(-45deg);
- }
- .collapse-toggle {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 34rpx;
- height: 50rpx;
- }
- .collapse-toggle:active {
- opacity: 0.72;
- }
- .panel--collapsed .panel-header {
- padding-bottom: 24rpx;
- }
- .panel-actions {
- flex: none;
- display: flex;
- align-items: center;
- gap: 8rpx;
- margin-left: auto;
- }
- .panel-actions--three {
- gap: 6rpx;
- }
- .panel-actions--status {
- gap: 8rpx;
- }
- .panel-action-button {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 86rpx;
- min-width: 0;
- height: 50rpx;
- min-height: 0;
- margin: 0;
- padding: 0;
- border: 1rpx solid #b9d8d1;
- border-radius: 10rpx;
- background: #ffffff;
- color: var(--accent-dark);
- font-size: 22rpx;
- line-height: 1.3;
- font-weight: 800;
- box-sizing: border-box;
- }
- .panel-action-button::after {
- border: 0;
- }
- .panel-action-button:active {
- opacity: 0.72;
- }
- .panel-action-button.is-disabled {
- background: #eef1f5;
- color: #94a3b8;
- box-shadow: none;
- }
- .panel-action-button.is-active {
- border-color: var(--accent-dark);
- background: var(--accent);
- color: #ffffff;
- }
- .theme-dark .panel-action-button.is-disabled {
- border-color: #263241;
- background: #1f2937;
- background-color: #1f2937;
- color: #64748b;
- }
- .theme-dark button[disabled].control-button,
- .theme-dark button.control-button[disabled] {
- border-color: #263241;
- background: #1f2937;
- background-color: #1f2937;
- background-image: none;
- color: #64748b;
- box-shadow: none;
- }
- .theme-dark button[disabled].control-button .control-name,
- .theme-dark button.control-button[disabled] .control-name {
- color: #64748b;
- }
- .panel-icon::before,
- .panel-icon::after {
- content: "";
- position: absolute;
- box-sizing: border-box;
- }
- .panel-icon::before {
- display: none;
- left: 7rpx;
- top: 7rpx;
- width: 24rpx;
- height: 24rpx;
- z-index: 1;
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- opacity: 0.96;
- }
- .panel-icon-image {
- position: absolute;
- z-index: 2;
- left: 7rpx;
- top: 7rpx;
- width: 24rpx;
- height: 24rpx;
- pointer-events: none;
- }
- .panel-icon::after {
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- border-radius: inherit;
- box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.2);
- }
- .icon-chip {
- --icon-start: #5a86a6;
- --icon-end: #2f5e7c;
- }
- .icon-chip::before {
- background-image: url("/assets/icons/chip-white.png");
- }
- .icon-control {
- --icon-start: #18a58b;
- --icon-end: #0e746f;
- }
- .icon-control::before {
- background-image: url("/assets/icons/control-white.png");
- }
- .icon-bluetooth {
- --icon-start: #16a8cf;
- --icon-end: #0f7a9a;
- }
- .icon-bluetooth::before {
- background-image: url("/assets/icons/bluetooth-connected-white.png");
- }
- .icon-radar {
- --icon-start: #23b0d7;
- --icon-end: #137e8f;
- }
- .icon-radar::before {
- background-image: url("/assets/icons/radar-white.png");
- }
- .icon-terminal {
- --icon-start: #63758f;
- --icon-end: #324056;
- }
- .icon-terminal::before {
- background-image: url("/assets/icons/terminal-white.png");
- }
- .icon-send {
- --icon-start: #39bdf0;
- --icon-end: #1684c5;
- }
- .icon-send::before {
- background-image: url("/assets/icons/send-white.png");
- }
- .icon-history {
- --icon-start: #64748b;
- --icon-end: #475569;
- }
- .icon-history::before {
- background-image: url("/assets/icons/history-white.png");
- }
- .icon-status {
- --icon-start: #14a79a;
- --icon-end: #2563eb;
- }
- .icon-status::before {
- background-image: url("/assets/icons/status-white.png");
- }
- .icon-bars {
- --icon-start: #148f85;
- --icon-end: #105f8b;
- }
- .icon-bars::before {
- background-image: url("/assets/icons/sliders-white.png");
- }
- .icon-tune {
- --icon-start: #17a59f;
- --icon-end: #0d7280;
- }
- .icon-tune::before {
- background-image: url("/assets/icons/sliders-white.png");
- }
- .icon-speed {
- --icon-start: #f7a623;
- --icon-end: #d97f0c;
- }
- .icon-speed::before {
- background-image: url("/assets/icons/speed-white.png");
- }
- .icon-target {
- --icon-start: #21a37e;
- --icon-end: #0f766e;
- }
- .icon-target::before {
- background-image: url("/assets/icons/target-white.png");
- }
- .icon-shield-check {
- --icon-start: #16a34a;
- --icon-end: #0f766e;
- }
- .icon-shield-check::before {
- background-image: url("/assets/icons/shield-check-white.png");
- }
- .icon-crc {
- --icon-start: #2563eb;
- --icon-end: #0f766e;
- }
- .icon-crc::before {
- background-image: url("/assets/icons/hash-white.png");
- }
- .icon-filter {
- --icon-start: #f59e0b;
- --icon-end: #d97706;
- }
- .icon-filter::before {
- background-image: url("/assets/icons/funnel-white.png");
- }
- .icon-reactance {
- --icon-start: #0ea5e9;
- --icon-end: #0f766e;
- }
- .icon-reactance::before {
- background-image: url("/assets/icons/audio-waveform-white.png");
- }
- .icon-smd {
- --icon-start: #64748b;
- --icon-end: #334155;
- }
- .icon-smd::before {
- background-image: url("/assets/icons/microchip-white.png");
- }
- .icon-snow {
- --icon-start: #38bdf8;
- --icon-end: #2563eb;
- }
- .icon-snow::before {
- background-image: url("/assets/icons/snowflake-white.png");
- }
- .icon-three-phase {
- --icon-start: #7c3aed;
- --icon-end: #2563eb;
- }
- .icon-three-phase::before {
- background-image: url("/assets/icons/zap-white.png");
- }
- .param-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 0 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .panel-header + .param-row,
- .panel-header + view .param-row:first-child {
- border-top: 0;
- }
- .param-row:first-child {
- border-top: 0;
- }
- .input-row {
- min-height: 106rpx;
- }
- .param-main {
- min-width: 0;
- flex: 1;
- }
- .param-name {
- min-width: 0;
- color: #111827;
- font-size: 28rpx;
- line-height: 1.35;
- font-weight: 700;
- word-break: break-all;
- }
- .param-meta {
- margin-top: 7rpx;
- color: #6b7280;
- font-size: 22rpx;
- line-height: 1.35;
- word-break: break-all;
- }
- .param-meta--dirty {
- color: #d97706;
- font-weight: 800;
- }
- .param-value {
- flex: none;
- max-width: 320rpx;
- color: #0f8f87;
- font-size: 30rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .input-wrap {
- flex: none;
- display: flex;
- align-items: center;
- gap: 10rpx;
- }
- .value-input {
- width: 300rpx;
- height: 70rpx;
- padding: 0 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 10rpx;
- background: #fafbfd;
- color: #111827;
- font-size: 28rpx;
- line-height: 70rpx;
- text-align: right;
- box-sizing: border-box;
- }
- .value-input--with-unit {
- width: 300rpx;
- }
- .value-input:focus {
- border-color: #0f8f87;
- background: #f4fbfa;
- }
- .value-input--dirty {
- border-color: #fbbf24;
- background: #fffbeb;
- color: #92400e;
- }
- .generic-dialog-mask {
- position: fixed;
- z-index: 60;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 24rpx 24rpx calc(32rpx + env(safe-area-inset-bottom));
- background: rgba(15, 23, 42, 0.28);
- box-sizing: border-box;
- }
- .generic-dialog {
- width: 100%;
- max-height: 84vh;
- overflow: hidden;
- border: 1rpx solid #e5edf4;
- border-radius: 20rpx;
- background: #ffffff;
- box-shadow: 0 18rpx 48rpx rgba(15, 23, 42, 0.2);
- box-sizing: border-box;
- }
- .generic-dialog-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- min-height: 84rpx;
- padding: 0 24rpx;
- border-bottom: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-dialog-title {
- color: #111827;
- font-size: 30rpx;
- line-height: 1.3;
- font-weight: 900;
- }
- .generic-dialog-close {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 56rpx;
- height: 56rpx;
- color: #64748b;
- font-size: 38rpx;
- line-height: 1;
- font-weight: 500;
- }
- .generic-dialog-body {
- max-height: 62vh;
- overflow-y: auto;
- }
- .generic-config-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 96rpx;
- padding: 14rpx 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-config-row:first-of-type {
- border-top: 0;
- }
- .generic-picker-value {
- width: 300rpx;
- min-width: 300rpx;
- max-width: 300rpx;
- height: 70rpx;
- padding: 0;
- border: 0;
- background: transparent;
- color: #111827;
- font-size: 28rpx;
- line-height: 70rpx;
- font-weight: 800;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .generic-value-input {
- width: 300rpx;
- height: 70rpx;
- line-height: 70rpx;
- font-size: 28rpx;
- }
- .generic-struct-section {
- padding: 16rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-struct-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- margin-bottom: 14rpx;
- }
- .generic-struct-input {
- width: 100%;
- min-height: 220rpx;
- max-height: 360rpx;
- padding: 16rpx 18rpx;
- border: 1rpx solid #dbe5ee;
- border-radius: 12rpx;
- background: #f8fafc;
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 22rpx;
- line-height: 1.45;
- box-sizing: border-box;
- }
- .generic-draft-actions {
- display: flex;
- justify-content: flex-end;
- gap: 12rpx;
- padding: 18rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-empty-state {
- margin-top: 8rpx;
- }
- .generic-info-stack {
- padding: 0 24rpx;
- box-sizing: border-box;
- }
- .generic-info-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- min-height: 88rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .generic-info-row:first-child {
- border-top: 0;
- }
- .generic-info-label {
- flex: none;
- width: 116rpx;
- color: #64748b;
- font-size: 23rpx;
- line-height: 1.3;
- font-weight: 800;
- }
- .generic-info-value {
- min-width: 0;
- flex: 1;
- color: #111827;
- font-size: 26rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .panel-action-button--icon {
- min-width: 58rpx;
- width: 58rpx;
- padding: 0;
- font-size: 34rpx;
- line-height: 50rpx;
- }
- .generic-group-shell {
- position: relative;
- margin-top: 12rpx;
- }
- .generic-group-shell:first-child {
- margin-top: 0;
- }
- .generic-delete-action {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 76rpx;
- height: 100%;
- min-height: 74rpx;
- border-radius: 18rpx 0 0 18rpx;
- background: #dc2626;
- color: #ffffff;
- font-size: 44rpx;
- line-height: 1;
- font-weight: 900;
- box-sizing: border-box;
- }
- .generic-group-panel {
- position: relative;
- z-index: 1;
- margin-top: 0;
- overflow: hidden;
- transition: transform 0.16s ease;
- }
- .generic-group-shell.is-delete-visible .generic-group-panel {
- transform: translateX(76rpx);
- }
- .generic-group-title-wrap {
- min-width: 0;
- flex: 1;
- }
- .generic-group-panel .panel-header,
- .generic-group-panel.panel--collapsed .panel-header {
- padding: 14rpx 18rpx;
- }
- .generic-group-panel .panel-icon {
- width: 34rpx;
- height: 34rpx;
- border-radius: 10rpx;
- }
- .generic-group-title-wrap .panel-title {
- font-size: 27rpx;
- line-height: 1.22;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .generic-group-meta {
- margin-top: 2rpx;
- font-size: 20rpx;
- line-height: 1.25;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: keep-all;
- }
- .generic-group-actions {
- flex: none;
- gap: 6rpx;
- }
- .generic-group-actions .panel-action-button {
- width: 76rpx;
- height: 46rpx;
- font-size: 21rpx;
- border-radius: 9rpx;
- }
- .generic-group-actions .entry-chevron {
- margin-left: 4rpx;
- transform: rotate(-45deg);
- }
- .storage-code-info-card {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- gap: 8rpx;
- margin-bottom: 12rpx;
- padding: 16rpx 18rpx;
- border: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .storage-code-info-top,
- .storage-code-info-bottom {
- display: flex;
- align-items: center;
- min-width: 0;
- }
- .storage-code-info-top {
- justify-content: flex-start;
- }
- .storage-code-info-bottom {
- justify-content: space-between;
- gap: 14rpx;
- }
- .storage-code-info-model {
- width: 100%;
- min-width: 0;
- color: #0f8f87;
- font-size: 28rpx;
- line-height: 1.25;
- font-weight: 900;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .storage-code-info-chip {
- flex: 1;
- min-width: 120rpx;
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.25;
- font-weight: 800;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .storage-code-info-metrics {
- flex: 2;
- min-width: 0;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- flex-wrap: wrap;
- gap: 8rpx;
- }
- .storage-code-info-metric {
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 20rpx;
- line-height: 1.25;
- font-weight: 900;
- }
- .generic-register-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8rpx;
- min-height: 92rpx;
- padding: 8rpx 16rpx;
- border-top: 1rpx solid #edf2f7;
- border-radius: 16rpx;
- box-sizing: border-box;
- transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
- transform-origin: center center;
- will-change: transform;
- }
- .generic-register-row.is-drag-armed {
- background: rgba(15, 143, 135, 0.04);
- }
- .generic-register-row.is-dragging {
- position: relative;
- border-color: rgba(15, 143, 135, 0.28);
- background: linear-gradient(180deg, rgba(15, 143, 135, 0.12), rgba(15, 143, 135, 0.08));
- box-shadow: 0 14rpx 38rpx rgba(15, 23, 42, 0.18);
- }
- .generic-register-row.is-shift-up,
- .generic-register-row.is-shift-down {
- z-index: 1;
- }
- .generic-register-drag-handle {
- flex: none;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 4rpx;
- width: 30rpx;
- min-height: 58rpx;
- margin-left: -4rpx;
- border-radius: 12rpx;
- transition: background-color 0.18s ease, transform 0.18s ease;
- }
- .generic-register-layout-spacer {
- flex: none;
- width: 12rpx;
- min-height: 58rpx;
- }
- .generic-register-drag-handle.is-drag-armed {
- background: rgba(15, 143, 135, 0.08);
- }
- .generic-register-drag-handle.is-dragging {
- background: rgba(15, 143, 135, 0.14);
- transform: scale(1.04);
- }
- .generic-register-drag-bar {
- width: 18rpx;
- height: 3rpx;
- border-radius: 999rpx;
- background: #94a3b8;
- transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
- }
- .generic-register-drag-handle.is-drag-armed .generic-register-drag-bar,
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar {
- background: #0f8f87;
- }
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(1) {
- transform: translateX(-2rpx);
- }
- .generic-register-drag-handle.is-dragging .generic-register-drag-bar:nth-child(3) {
- transform: translateX(2rpx);
- }
- .generic-register-main {
- min-width: 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 3rpx;
- }
- .generic-register-name {
- color: #111827;
- font-size: 25rpx;
- line-height: 1.25;
- font-weight: 800;
- word-break: break-all;
- }
- .generic-register-meta {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 10rpx;
- margin-top: 2rpx;
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 20rpx;
- line-height: 1.25;
- font-weight: 700;
- }
- .generic-register-input-wrap {
- flex: none;
- position: relative;
- width: 210rpx;
- min-width: 168rpx;
- max-width: 40%;
- box-sizing: border-box;
- }
- .generic-register-display-meta {
- margin-top: 6rpx;
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 19rpx;
- line-height: 1.25;
- font-weight: 700;
- text-align: right;
- }
- .generic-register-value {
- width: 100%;
- min-width: 0;
- max-width: 100%;
- }
- .generic-register-unit {
- position: absolute;
- right: 18rpx;
- top: 50%;
- transform: translateY(-50%);
- pointer-events: none;
- color: #0f8f87;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 900;
- }
- .generic-register-input-wrap--unit .generic-register-value {
- padding-right: 64rpx;
- }
- .generic-readonly-value {
- width: 210rpx;
- max-width: 40%;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 25rpx;
- }
- .generic-group-detail-panel {
- overflow: hidden;
- }
- .generic-group-detail-header {
- padding: 18rpx 18rpx 8rpx;
- box-sizing: border-box;
- }
- .generic-group-detail-header .panel-title {
- font-size: 30rpx;
- line-height: 1.25;
- }
- .generic-group-detail-meta {
- padding: 0 18rpx 14rpx;
- border-bottom: 1rpx solid #edf2f7;
- color: #64748b;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 21rpx;
- line-height: 1.35;
- font-weight: 800;
- box-sizing: border-box;
- }
- .crc-picker-value {
- min-width: 300rpx;
- max-width: 300rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .crc-algorithm-panel {
- overflow: hidden;
- }
- .crc-algorithm-panel > .param-row {
- min-height: 92rpx;
- }
- .crc-algorithm-picker {
- min-width: 0;
- flex: 1;
- display: block;
- width: 100%;
- }
- .crc-algorithm-picker-content {
- min-width: 0;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 18rpx;
- }
- .crc-algorithm-picker-content .param-main {
- flex: 1;
- min-width: 0;
- }
- .crc-algorithm-panel .crc-picker-value {
- flex: none;
- width: auto;
- min-width: 0;
- max-width: 430rpx;
- font-size: 24rpx;
- }
- .crc-data-card-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12rpx;
- min-height: 76rpx;
- padding: 12rpx 18rpx 12rpx 24rpx;
- }
- .crc-data-title {
- min-width: 0;
- flex: 1;
- text-align: left;
- }
- .crc-data-header-actions {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 6rpx;
- }
- .crc-data-type-picker {
- flex: none;
- margin-right: 8rpx;
- }
- .crc-data-type-value {
- width: 108rpx;
- height: 50rpx;
- color: #111827;
- font-size: 22rpx;
- line-height: 50rpx;
- font-weight: 900;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .crc-data-header-actions .panel-action-button {
- width: 78rpx;
- }
- .theme-dark .crc-data-type-value {
- color: #e5e7eb;
- }
- .crc-algorithm-fields {
- border-top: 1rpx solid #edf2f7;
- }
- .theme-dark .crc-algorithm-fields {
- border-color: #263241;
- }
- .crc-config-input {
- width: 300rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .crc-switch-row {
- display: flex;
- gap: 12rpx;
- padding: 0 24rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .theme-dark .crc-switch-row {
- border-color: #263241;
- }
- .crc-switch-field {
- flex: 1;
- min-width: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12rpx;
- min-height: 96rpx;
- }
- .crc-data-wrap {
- padding: 18rpx 24rpx 22rpx;
- box-sizing: border-box;
- }
- .crc-data-input {
- width: 100%;
- min-height: 230rpx;
- padding: 18rpx;
- border: 1rpx solid #e7edf3;
- border-radius: 12rpx;
- background: #fafbfd;
- color: #111827;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.45;
- box-sizing: border-box;
- }
- .crc-file-name,
- .crc-error-value {
- min-width: 0;
- max-width: 430rpx;
- text-align: right;
- word-break: break-all;
- }
- .crc-file-name {
- color: #111827;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .crc-result-bin-line {
- display: block;
- white-space: nowrap;
- }
- .crc-error-value {
- color: var(--danger);
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- }
- .filter-input-wrap {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 8rpx;
- }
- .filter-value-input {
- width: 210rpx;
- min-width: 0;
- max-width: 210rpx;
- }
- .filter-value-input--computed {
- border-color: #9bd6cf;
- background: #f0fdfa;
- color: #0f766e;
- font-weight: 900;
- }
- .filter-unit-picker {
- flex: none;
- width: 92rpx;
- }
- .filter-unit-value {
- width: 92rpx;
- height: 70rpx;
- color: #111827;
- font-size: 25rpx;
- line-height: 70rpx;
- font-weight: 900;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .filter-section-title,
- .filter-diagram-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .filter-section-title-text {
- min-width: 0;
- flex: 1;
- }
- .filter-mode-actions {
- flex: none;
- display: flex;
- align-items: center;
- gap: 8rpx;
- }
- .filter-mode-button {
- flex: none;
- min-width: 78rpx;
- height: 46rpx;
- padding: 0 16rpx;
- border: 1rpx solid #b9d8d1;
- border-radius: 10rpx;
- background: #ffffff;
- color: var(--accent-dark);
- font-size: 22rpx;
- line-height: 44rpx;
- font-weight: 900;
- text-align: center;
- box-sizing: border-box;
- }
- .filter-mode-button:active {
- opacity: 0.72;
- }
- .filter-error-inline {
- padding: 0 24rpx 18rpx;
- color: var(--danger);
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- box-sizing: border-box;
- }
- .filter-diagram-mode {
- min-width: 0;
- flex: none;
- max-width: 260rpx;
- color: #0f8f87;
- font-size: 23rpx;
- line-height: 1.35;
- font-weight: 900;
- text-align: right;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .filter-diagram {
- position: relative;
- min-height: 320rpx;
- padding: 30rpx 0 30rpx;
- border-top: 1rpx solid #edf2f7;
- background: #ffffff;
- box-sizing: border-box;
- }
- .filter-schematic {
- position: relative;
- width: 560rpx;
- height: 260rpx;
- margin: 0 auto;
- color: #111827;
- }
- .filter-schematic-label {
- position: absolute;
- color: #111827;
- font-size: 32rpx;
- line-height: 1;
- font-weight: 900;
- font-style: italic;
- letter-spacing: 0;
- }
- .filter-schematic-label--input {
- left: 0;
- top: 122rpx;
- }
- .filter-schematic-label--output {
- left: 426rpx;
- top: 118rpx;
- }
- .filter-schematic-wire,
- .filter-schematic-dot {
- position: absolute;
- background: #111827;
- }
- .filter-schematic-wire {
- height: 4rpx;
- border-radius: 999rpx;
- }
- .filter-schematic-dot {
- z-index: 3;
- width: 18rpx;
- height: 18rpx;
- border-radius: 50%;
- }
- .filter-schematic-dot--input-top {
- left: 38rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--input-bottom {
- left: 38rpx;
- top: 206rpx;
- }
- .filter-schematic-dot--node-top {
- left: 358rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--node-bottom {
- left: 358rpx;
- top: 206rpx;
- }
- .filter-schematic-dot--output-top {
- left: 514rpx;
- top: 58rpx;
- }
- .filter-schematic-dot--output-bottom {
- left: 514rpx;
- top: 206rpx;
- }
- .filter-schematic-wire--top-input {
- left: 56rpx;
- top: 65rpx;
- width: 100rpx;
- }
- .filter-schematic-wire--top-middle {
- left: 268rpx;
- top: 65rpx;
- width: 98rpx;
- }
- .filter-schematic-wire--top-output {
- left: 366rpx;
- top: 65rpx;
- width: 148rpx;
- }
- .filter-schematic-wire--bottom-input {
- left: 56rpx;
- top: 213rpx;
- width: 310rpx;
- }
- .filter-schematic-wire--bottom-output {
- left: 366rpx;
- top: 213rpx;
- width: 148rpx;
- }
- .filter-schematic-wire--branch-top {
- left: 365rpx;
- top: 76rpx;
- width: 4rpx;
- height: 40rpx;
- }
- .filter-schematic-wire--branch-bottom {
- left: 365rpx;
- top: 208rpx;
- width: 4rpx;
- height: 8rpx;
- }
- .filter-schematic-component {
- position: absolute;
- z-index: 2;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
- .filter-schematic-component--series {
- left: 156rpx;
- top: 40rpx;
- width: 112rpx;
- height: 54rpx;
- }
- .filter-schematic-component--shunt {
- left: 342rpx;
- top: 116rpx;
- width: 50rpx;
- height: 96rpx;
- }
- .filter-schematic-symbol {
- display: block;
- width: 100%;
- height: 100%;
- }
- .filter-schematic-symbol--vertical {
- width: 104rpx;
- height: 48rpx;
- transform: rotate(90deg);
- }
- .filter-schematic-mark {
- position: absolute;
- z-index: 4;
- color: #111827;
- font-size: 34rpx;
- line-height: 1;
- font-weight: 700;
- font-style: italic;
- }
- .filter-schematic-mark--series {
- left: 202rpx;
- top: 0;
- }
- .filter-schematic-mark--shunt {
- left: 305rpx;
- top: 142rpx;
- }
- .theme-dark .filter-unit-value {
- color: #e5e7eb;
- }
- .theme-dark .filter-value-input--computed {
- border-color: #0f766e;
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .filter-mode-button {
- border-color: #334155;
- background: #111827;
- color: #99f6e4;
- }
- .theme-dark .filter-diagram {
- border-color: #edf2f7;
- background: #ffffff;
- }
- .theme-dark .filter-schematic,
- .theme-dark .filter-schematic-label,
- .theme-dark .filter-schematic-mark {
- color: #1f2937;
- }
- .theme-dark .filter-diagram-mode {
- color: #5eead4;
- }
- .theme-dark .filter-schematic-wire,
- .theme-dark .filter-schematic-dot {
- background: #111827;
- }
- .smd-section-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16rpx;
- }
- .smd-section-title-text {
- min-width: 0;
- flex: 1;
- }
- .smd-mode-actions,
- .smd-format-row {
- display: flex;
- align-items: center;
- }
- .smd-mode-actions {
- flex: none;
- gap: 8rpx;
- }
- .smd-format-row {
- gap: 10rpx;
- padding: 18rpx 24rpx 22rpx;
- border-top: 1rpx solid #edf2f7;
- box-sizing: border-box;
- }
- .smd-mode-button,
- .smd-format-button {
- flex: none;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 46rpx;
- border: 1rpx solid #d7e2ea;
- border-radius: 10rpx;
- background: #ffffff;
- color: #64748b;
- font-size: 22rpx;
- line-height: 1.25;
- font-weight: 900;
- box-sizing: border-box;
- }
- .smd-mode-button {
- min-width: 78rpx;
- padding: 0 16rpx;
- }
- .smd-format-button {
- flex: 1;
- min-width: 0;
- padding: 0 10rpx;
- }
- .smd-mode-button.is-active,
- .smd-format-button.is-active {
- border-color: var(--accent-dark);
- background: var(--accent-soft);
- color: var(--accent-dark);
- }
- .smd-mode-button:active,
- .smd-format-button:active {
- opacity: 0.72;
- }
- .smd-code-input {
- width: 300rpx;
- font-family: Menlo, Monaco, Consolas, monospace;
- }
- .smd-result-row {
- min-height: 94rpx;
- }
- .smd-result-value {
- flex: none;
- max-width: 320rpx;
- color: #0f8f87;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 30rpx;
- line-height: 1.25;
- font-weight: 900;
- text-align: right;
- word-break: break-all;
- }
- .smd-result-value--error {
- color: var(--danger);
- font-family: inherit;
- font-size: 25rpx;
- }
- .theme-dark .smd-format-row {
- border-color: #263241;
- }
- .theme-dark .smd-mode-button,
- .theme-dark .smd-format-button {
- border-color: #334155;
- background: #111827;
- color: #94a3b8;
- }
- .theme-dark .smd-mode-button.is-active,
- .theme-dark .smd-format-button.is-active {
- border-color: #5eead4;
- background: #123d3b;
- color: #99f6e4;
- }
- .theme-dark .smd-result-value {
- color: #5eead4;
- }
- .theme-dark .smd-result-value--error {
- color: var(--danger);
- }
- .crc-calc-result-row {
- align-items: stretch;
- min-height: 0;
- padding-top: 16rpx;
- padding-bottom: 16rpx;
- }
- .crc-calc-result-main {
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: stretch;
- }
- .crc-calc-result-value {
- display: block;
- width: 100%;
- max-width: none;
- margin-top: 10rpx;
- padding: 14rpx 16rpx;
- border-radius: 10rpx;
- background: #f4fbfa;
- color: #0f8f87;
- font-family: Menlo, Monaco, Consolas, monospace;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- white-space: normal;
- box-sizing: border-box;
- }
- .crc-calc-result-value:active {
- opacity: 0.72;
- }
- .crc-calc-result-value--bin {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- gap: 3rpx;
- max-width: none;
- text-align: right;
- }
- .crc-calc-result-row .param-name {
- word-break: keep-all;
- }
- .theme-dark .crc-calc-result-value {
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .crc-calc-result-value--bin {
- background: #0f2f2d;
- color: #5eead4;
- }
- .theme-dark .crc-calc-result-value--error {
- background: #432114;
- color: #fed7aa;
- }
- .refrigeration-mode-picker {
- flex: none;
- }
- .refrigeration-title-row {
- min-height: 76rpx;
- padding-top: 12rpx;
- padding-bottom: 12rpx;
- }
- .refrigeration-picker-value {
- width: 240rpx;
- min-width: 240rpx;
- max-width: 240rpx;
- height: 46rpx;
- font-size: 24rpx;
- line-height: 46rpx;
- }
- .refrigeration-formula-row {
- justify-content: flex-end;
- }
- .refrigeration-formula-text {
- min-width: 0;
- flex: 1;
- color: #64748b;
- font-size: 24rpx;
- line-height: 1.35;
- font-weight: 800;
- text-align: right;
- word-break: break-all;
- }
- .refrigeration-input {
- width: 260rpx;
- }
- .three-phase-input {
- width: 260rpx;
- }
- .theme-dark .refrigeration-formula-text {
- color: #94a3b8;
- }
- .subpage-fixed-header .panel-actions {
- flex-shrink: 0;
- }
- .subpage-fixed-header .panel-action-button {
- width: 86rpx;
- }
- .subpage-fixed-header--generic .generic-protocol-actions {
- flex: 1 1 auto;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8rpx;
- margin-left: 0;
- }
- .auto-read-button {
- margin-left: 2rpx;
- }
- @media (max-width: 360px) {
- .panel-title {
- font-size: 28rpx;
- }
- .param-name {
- font-size: 26rpx;
- }
- .param-meta {
- font-size: 21rpx;
- }
- .value-input {
- width: 260rpx;
- }
- .value-input--with-unit {
- width: 260rpx;
- }
- .generic-picker-value,
- .generic-value-input {
- width: 260rpx;
- min-width: 260rpx;
- max-width: 260rpx;
- }
- .generic-register-input-wrap {
- width: 180rpx;
- min-width: 150rpx;
- max-width: 38%;
- }
- .generic-register-value {
- width: 100%;
- min-width: 0;
- max-width: 100%;
- }
- .generic-readonly-value {
- width: 180rpx;
- max-width: 38%;
- }
- .crc-config-input {
- width: 230rpx;
- min-width: 230rpx;
- max-width: 230rpx;
- }
- .crc-algorithm-panel .crc-picker-value {
- width: auto;
- min-width: 0;
- max-width: 330rpx;
- font-size: 22rpx;
- }
- .crc-data-card-header {
- gap: 8rpx;
- padding-right: 14rpx;
- }
- .crc-data-header-actions {
- gap: 4rpx;
- }
- .crc-data-type-value {
- width: 86rpx;
- font-size: 20rpx;
- }
- .crc-data-type-picker {
- margin-right: 6rpx;
- }
- .crc-data-header-actions .panel-action-button {
- width: 70rpx;
- font-size: 20rpx;
- }
- .crc-file-name,
- .crc-error-value {
- max-width: 360rpx;
- }
- .filter-value-input {
- width: 180rpx;
- min-width: 0;
- max-width: 180rpx;
- }
- .filter-unit-picker,
- .filter-unit-value {
- width: 84rpx;
- }
- .filter-mode-button {
- min-width: 68rpx;
- padding: 0 12rpx;
- font-size: 22rpx;
- }
- .filter-diagram {
- padding-left: 4rpx;
- padding-right: 4rpx;
- }
- .filter-schematic {
- transform: scale(0.94);
- transform-origin: center center;
- }
- .smd-code-input {
- width: 240rpx;
- }
- .smd-result-value {
- max-width: 260rpx;
- font-size: 26rpx;
- }
- .crc-calc-result-value {
- width: 100%;
- max-width: none;
- font-size: 23rpx;
- }
- .crc-calc-result-value--bin {
- max-width: none;
- font-size: 21rpx;
- }
- .smd-mode-button {
- min-width: 68rpx;
- padding: 0 12rpx;
- }
- .smd-format-row {
- gap: 8rpx;
- padding-left: 18rpx;
- padding-right: 18rpx;
- }
- .smd-format-button {
- font-size: 20rpx;
- }
- .refrigeration-picker-value {
- width: 210rpx;
- min-width: 210rpx;
- max-width: 210rpx;
- font-size: 22rpx;
- }
- .refrigeration-input {
- width: 220rpx;
- }
- .three-phase-input {
- width: 220rpx;
- }
- }
|