@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Sans TC',system-ui,-apple-system,sans-serif;color:#16233b;background:#f3f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible{outline:3px solid #1eafaa;outline-offset:3px}h1,h2,p{margin:0}h2{font-size:1.12rem;letter-spacing:-.02em}.app-shell{max-width:1440px;margin:auto;padding:0 24px 26px}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand,.top-actions{display:flex;align-items:center;gap:11px}.brand strong{display:block;font-size:1rem;line-height:1.35}.brand small{display:block;color:#6a778b;font-size:.72rem}.brand-mark{height:42px;width:42px;display:grid;place-items:center;position:relative;border-radius:13px;background:#163553;color:#fff;font-size:1.3rem;font-weight:800}.brand-dot{position:absolute;width:8px;height:8px;right:8px;top:8px;background:#69dfc7;border-radius:50%}.top-actions{font-size:.78rem;font-weight:700;color:#486079}.live-dot{width:8px;height:8px;background:#35b99c;border-radius:50%;box-shadow:0 0 0 4px #d9f4ed}.icon-button{border:1px solid #d7e0e7;background:white;color:#41536d;border-radius:50%;width:32px;height:32px;font-weight:800}.intro{position:relative;overflow:hidden;background:#10223e;border-radius:26px;min-height:162px;padding:27px 36px;display:flex;justify-content:space-between;align-items:center;color:white;box-shadow:0 16px 35px #19345116}.eyebrow{font-size:.67rem;font-weight:800;letter-spacing:.16em;color:#2d9e9a;text-transform:uppercase}.intro .eyebrow{color:#76e5d2}.intro h1{font-size:clamp(1.6rem,3.1vw,2.65rem);line-height:1.25;letter-spacing:-.04em;margin:7px 0 8px}.intro h1 em{font-style:normal;color:#7ce6d0}.intro-copy{color:#c9d7e5;font-size:.86rem}.intro-art{height:132px;width:200px;position:relative;flex:none;margin-right:24px}.art-orbit{position:absolute;border:1px solid #557a95;border-radius:50%;transform:rotate(-28deg)}.orbit-one{width:180px;height:75px;left:15px;top:35px}.orbit-two{width:110px;height:110px;left:50px;top:12px}.art-core{position:absolute;display:grid;place-items:center;left:69px;top:31px;width:75px;height:75px;background:#52c9b9;color:#0e3d46;font-size:3.5rem;border-radius:23px;transform:rotate(-12deg);box-shadow:0 12px 28px #32b7ac40}.art-chip{position:absolute;display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#e8b879;color:#10223e;font-size:1.3rem;box-shadow:0 5px 14px #0004}.chip-one{left:20px;top:19px}.chip-two{right:10px;bottom:17px;background:#a7c7ff}.compatibility{margin:14px 0 18px;padding:10px 16px;background:#e0f5ef;border:1px solid #b8e8d9;color:#17655d;border-radius:13px;font-size:.82rem;font-weight:700}.compatibility.error{background:#fff1e9;border-color:#f5d5c5;color:#a34422}.help{background:#fff;border:1px solid #dce7ec;border-radius:15px;padding:16px 20px;margin:-5px 0 16px;font-size:.83rem;line-height:1.65}.help ol{padding-left:23px;margin:7px 0}.help p{color:#617187}.workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:17px;align-items:stretch}.catalog,.detail,.event-panel{background:#fff;border:1px solid #e1e9ee;border-radius:20px;box-shadow:0 7px 25px #21395309}.catalog,.detail{padding:20px 21px;min-height:480px}.section-head,.event-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-head h2,.event-head h2{margin-top:3px}.count-badge,.type-pill{font-size:.7rem;font-weight:800;border-radius:99px;padding:5px 10px;background:#e4f4f0;color:#218477}.filter-row{display:flex;gap:7px;margin:19px 0 14px}.filter{border:1px solid transparent;border-radius:9px;padding:7px 13px;color:#6f7d90;background:#f4f6f8;font-size:.77rem;font-weight:800}.filter.active{background:#143650;color:#fff}.filter span{font-size:.68rem;opacity:.75}.device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.device-card{text-align:left;border:1px solid #e3e9ef;border-radius:14px;background:#fbfcfd;padding:11px 9px 10px;min-height:92px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;transition:transform .15s,border-color .15s,box-shadow .15s}.device-card:hover{transform:translateY(-2px);border-color:#9ecdc5}.device-card.selected{border:2px solid #2fae9b;background:#f3fcf9;box-shadow:0 7px 16px #2fae9b18;padding:10px 8px 9px}.device-card strong{font-size:.76rem;line-height:1.25;white-space:nowrap}.device-card .card-meta{display:flex;align-items:center;gap:4px;color:#8593a3;font-size:.63rem}.card-icon{height:29px;width:29px;display:grid;place-items:center;color:#164963;background:#e7f4f3;border-radius:9px}.card-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.device-card.output .card-icon{background:#fff0e4;color:#b66932}.device-card.selected .card-icon{background:#cdf1e9}.connected-pip{width:6px;height:6px;background:#37b69b;border-radius:50%}.detail-hero{margin:18px 0 13px;display:flex;gap:14px;align-items:center}.detail-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:17px;background:#e4f5f0;color:#168273;flex:none}.detail-icon svg{height:34px;width:34px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.detail-icon.output{background:#fff1e6;color:#bd7037}.detail-hero h3{margin:0 0 3px;font-size:1.2rem}.detail-hero p{font-size:.75rem;color:#748296;line-height:1.4}.connect-row{display:flex;gap:8px;align-items:center}.primary-button,.soft-button,.danger-button{border:0;border-radius:12px;min-height:43px;padding:10px 15px;font-size:.82rem;font-weight:800}.primary-button{background:#133b55;color:#fff;box-shadow:0 8px 16px #183d5126}.primary-button:hover:not(:disabled){background:#0e5668}.soft-button{background:#e8f5f1;color:#187769}.danger-button{background:#ffece8;color:#ae4b38}.connect-row .primary-button{flex:1}.status-line{font-size:.74rem;color:#718095;margin:9px 0 13px;min-height:1.4em}.device-list{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}.device-chip{border:1px solid #dce9e5;background:#f7fbfa;border-radius:9px;padding:6px 9px;color:#317a6f;font-size:.72rem;font-weight:700;display:flex;gap:5px;align-items:center}.device-chip.active{border-color:#27ad97;background:#e4f8f0;color:#126f5d}.chip-close{border:0;background:transparent;color:#8b9b9a;font-size:1.15rem;line-height:1;padding:0 1px}.reading-panel,.control-panel{border:1px solid #e1ebe9;background:#f8fbfa;border-radius:15px;padding:15px}.panel-label{font-size:.69rem;color:#718495;font-weight:800;letter-spacing:.06em}.reading-number{font-size:2rem;line-height:1.3;font-weight:800;color:#174b5c;margin:8px 0 4px}.reading-raw{font-size:.73rem;color:#7b8b99}.live-reading{margin:5px 0 0;border-bottom:1px solid #e4eceb;padding:7px 0}.live-reading:last-child{border:0}.live-reading strong{font-size:.9rem}.live-reading small{display:block;font-size:.68rem;color:#83919a}.controls-title{font-weight:800;font-size:.82rem;margin:0 0 11px}.control-stack{display:grid;gap:11px}.button-row{display:flex;gap:7px;flex-wrap:wrap}.button-row button{flex:1;white-space:nowrap}.field{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#52687c;font-size:.76rem;font-weight:700}.field input[type=range]{flex:1;min-width:80px;accent-color:#2aa994}.field output{color:#1b6f67;min-width:42px;text-align:right}.swatch-row{display:flex;gap:8px}.swatch{height:36px;min-width:36px;border:2px solid transparent;border-radius:10px}.swatch.active{border-color:#123e57;box-shadow:0 0 0 2px white inset}.test-note{font-size:.71rem;line-height:1.55;color:#748497}.result{margin-top:11px;min-height:2.8em;padding:10px 12px;border-radius:10px;background:#eef4f6;color:#40566a;font-size:.75rem;line-height:1.4}.result.error{background:#fff0ea;color:#ad4b31}.event-panel{margin-top:17px;padding:15px 20px}.event-panel h2{font-size:.95rem}.text-button{border:0;background:none;color:#258a80;font-weight:800;font-size:.76rem}.event-panel ol{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:3px;max-height:65px;overflow:auto}.event-panel li{font-size:.7rem;color:#6e7c8d;line-height:1.4}.footnote{font-size:.68rem;color:#8a96a3;text-align:center;margin:13px 0 0}@media(max-width:950px){.workspace{grid-template-columns:1fr}.catalog,.detail{min-height:unset}.device-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.detail{min-height:270px}}@media(max-width:650px){.app-shell{padding:0 12px 22px}.topbar{height:60px}.brand-mark{width:37px;height:37px}.top-actions{font-size:.7rem}.intro{min-height:125px;padding:19px 18px;border-radius:19px}.intro-copy{font-size:.73rem;max-width:280px}.intro-art{display:none}.compatibility{font-size:.72rem;padding:9px 11px}.catalog,.detail{padding:16px 14px;border-radius:16px}.section-head h2{font-size:1rem}.device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.device-card{min-height:83px}.device-card strong{font-size:.72rem}.workspace{gap:12px}.event-panel{margin-top:12px}.footnote{line-height:1.5}}@media(max-width:360px){.device-card strong{white-space:normal}.filter{padding:7px 9px}}
.back-button{display:none;border:0;background:none;color:#208a7c;font-size:.71rem;font-weight:800;padding:0 0 4px}.chip-select{border:0;background:transparent;color:inherit;font-size:inherit;font-weight:inherit;padding:0}@media(max-width:950px){.detail{display:none}.app-shell.show-detail .catalog{display:none}.app-shell.show-detail .detail{display:block}.app-shell.show-detail .intro{display:none}.app-shell.show-detail .back-button{display:block}}
.scene-panel{margin-top:16px;display:flex;align-items:center;gap:13px;padding:13px 19px;border:1px solid #bce4d8;border-radius:17px;background:linear-gradient(105deg,#eafaf4,#f7fcfa)}.scene-symbol{width:45px;height:45px;flex:none;display:grid;place-items:center;border-radius:13px;background:#26aa95;color:#fff;font-size:1.5rem;font-weight:800}.scene-copy{flex:1;min-width:0}.scene-copy h2{font-size:.88rem;margin:2px 0}.scene-copy p:last-child{font-size:.7rem;color:#59796f}.scene-panel .soft-button{flex:none;min-width:104px}.scene-panel .soft-button.enabled{background:#143b53;color:#fff}@media(max-width:650px){.scene-panel{flex-wrap:wrap;padding:13px}.scene-symbol{width:36px;height:36px}.scene-copy h2{font-size:.79rem}.scene-panel .soft-button{width:100%}}
