:root{color-scheme:light;--navy:#102d43;--ink:#1a3040;--ink2:#42566a;--mute:#6c8193;--line:#e6edf3;--bg:#f6f9fc;--card:#fff;--teal:#1bb7a5;--blue:#2772a6;--shadow:0 6px 28px rgba(15,48,72,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #46a3da;outline-offset:3px}button:disabled{opacity:.6;cursor:not-allowed}[hidden]{display:none!important}.site-wrap{max-width:1220px;margin:0 auto;padding:0 26px}.skip-link{position:absolute;top:-100px;left:20px;background:#fff;z-index:100;padding:9px}.skip-link:focus{top:8px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-logo{border-radius:12px;box-shadow:0 4px 14px #0a3c6320}.brand>span{display:grid;gap:2px}.brand strong{font-size:18px;letter-spacing:.02em}.brand small{font-size:10px;letter-spacing:.15em;font-weight:750;color:#8597a7}.top-actions{display:flex;align-items:center;gap:14px}.net-pill{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#3f647a;white-space:nowrap}.signal-dot{background:#18ae8d;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #1cb79d18}.net-pill.offline .signal-dot{background:#e58f37;box-shadow:0 0 0 4px #e58f3720}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;padding:12px 21px;font-weight:750;font-size:14px;min-height:45px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:#0f628d;color:white;box-shadow:0 4px 12px #005b8420}.button.small{padding:9px 16px;min-height:38px;font-size:12px}.button.white{background:#fff;color:#0e3a55}.button.glass{color:#e9fbff;border:1px solid #7babc083;background:rgba(255,255,255,.09)}.hero{position:relative;min-height:367px;overflow:hidden;background:linear-gradient(125deg,#0f3852 0%,#123d55 43%,#0e5360 100%);border-radius:21px;color:#fff;display:flex;padding:46px 49px;box-shadow:0 14px 45px #0e40551a}.hero::before{content:"";inset:0;position:absolute;background-image:linear-gradient(90deg,#ffffff06 1px,transparent 1px),linear-gradient(#ffffff06 1px,transparent 1px);background-size:33px 33px;pointer-events:none}.hero-text{position:relative;z-index:1;max-width:610px}.eyebrow{font-size:11px;letter-spacing:.15em;display:flex;align-items:center;gap:9px;font-weight:800;color:#95eedc}.shine-dot{height:7px;width:7px;background:#50ddc4;box-shadow:0 0 0 5px #5bdcc423;border-radius:50%}.hero h1{font-size:clamp(31px,4vw,48px);font-weight:800;line-height:1.33;margin:15px 0}.hero h1 em{font-style:normal;color:#80ddce}.hero p{color:#c3dce6;font-size:14px;line-height:1.85;max-width:475px;margin:0}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}.hero-meta{margin-top:26px;display:flex;gap:14px;flex-wrap:wrap;color:#a9cbd7;font-size:11px}.hero-illustration{position:absolute;right:-34px;top:0;bottom:0;width:43%;opacity:.78;overflow:hidden}.ruler-lines{position:absolute;inset:0;background:linear-gradient(0deg,transparent 48%,#ffffff13 50%,transparent 52%);background-size:100% 35px;transform:skew(-12deg)}.circle{border:1.5px solid #80e7d598;border-radius:50%;position:absolute;right:100px;top:62px;width:262px;height:262px}.circle-two{top:104px;right:145px;width:174px;height:174px;border-color:#a8dbe593}.blueprint-arc{position:absolute;border:2px dashed #5ad5cb90;border-radius:50%;right:63px;top:29px;width:343px;height:343px}.measure{position:absolute;font-family:monospace;letter-spacing:.06em;color:#abe3e0;font-size:12px}.measure.horizontal{right:195px;top:53px}.measure.vertical{right:40px;top:220px;transform:rotate(-90deg)}.figure-caption{position:absolute;right:65px;bottom:28px;color:#7cb8c5;font:11px monospace}.quick-section,.tools-section{margin-top:33px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px;gap:15px}.section-head h2{font-size:23px;letter-spacing:-.03em;margin:0;font-weight:800}.overline{font-size:10px;font-weight:850;letter-spacing:.18em;color:#1b9b9a;margin:0 0 3px}.section-note{font-size:12px;color:#8092a1}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.quick-link{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 15px;display:flex;align-items:center;gap:11px;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}.quick-link:hover{transform:translateY(-2px);border-color:#b6cbd8}.quick-icon{border-radius:12px;width:43px;height:43px;flex:none;display:grid;place-items:center;font-size:22px;font-weight:700}.q-blue{background:#eaf4fc;color:#2879ab}.q-indigo{background:#efefff;color:#6563b1}.q-orange{background:#fff3e7;color:#ce8b36}.q-green{background:#e4f8f1;color:#158e76}.quick-link span:nth-child(2){display:grid;gap:3px;min-width:0}.quick-link b{font-size:13px;white-space:nowrap}.quick-link small{font-size:11px;color:var(--mute)}.quick-arrow{margin-left:auto;color:#a8b7c3;align-self:flex-start}.count{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;font-size:12px;padding:3px 8px;background:#e1f1f3;color:#267f91;border-radius:50px;margin-left:6px}.text-button{background:none;color:#64839a;border:none;font-size:12px;padding:7px}.text-button:hover{text-decoration:underline}.toolbar{background:#fff;border-radius:14px;padding:15px;border:1px solid var(--line);box-shadow:var(--shadow)}.searchbox{background:#f6f9fb;border:1px solid #e2ebf1;border-radius:10px;display:flex;align-items:center;gap:10px;padding:0 12px}.searchbox>span{font-size:24px;color:#7990a2;transform:translateY(-2px)}.searchbox input{min-width:0;flex:1;background:transparent;padding:12px 0;border:0;outline:0;font-size:14px}.searchbox input:focus-visible{outline:0}.searchbox:focus-within{border-color:#4aa9cb;box-shadow:0 0 0 2px #4aa9cb19}.searchbox kbd{border:1px solid #dce5ee;border-radius:5px;color:#9baeba;background:#fff;font-size:11px;padding:1px 6px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.tab{border:none;background:#f1f5f8;color:#5c7284;padding:8px 14px;border-radius:30px;font-size:12px;font-weight:700}.tab.active{background:#163e56;color:#fff}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.tool-card{position:relative;display:flex;flex-direction:column;gap:10px;border-radius:13px;border:1px solid var(--line);padding:17px 17px 14px;background:#fff;box-shadow:var(--shadow);min-height:153px;transition:transform .15s,border-color .15s}.tool-card:hover{border-color:#b0cad9;transform:translateY(-2px)}.tool-card .topline{display:flex;align-items:center;gap:9px;padding-right:28px}.tool-card .tool-icon{height:36px;width:36px;background:#ecf5fa;border-radius:10px;display:grid;place-items:center;font-size:18px}.tool-card .tool-type{color:#7292a5;font-size:10px;font-weight:850;letter-spacing:.05em}.tool-card h3{font-size:16px;letter-spacing:-.03em;margin:0}.tool-card p{font-size:12px;color:#70859a;margin:0;line-height:1.5;flex:1}.tool-card .card-bottom{font-size:12px;color:#177b98;font-weight:800;display:flex;justify-content:space-between;align-items:center}.fav-btn{position:absolute;top:13px;right:12px;border:0;background:#f2f6fa;color:#a7b8c7;border-radius:9px;width:32px;height:32px;font-size:19px;display:grid;place-items:center}.fav-btn[aria-pressed=true]{background:#fff4d6;color:#e0a128}.recent-wrap{margin-top:20px}.subhead{font-size:13px;font-weight:800;margin-bottom:9px;display:flex;justify-content:space-between}.subhead span:last-child{font-size:11px;color:#92a5b0}.recent-list{display:flex;gap:7px;flex-wrap:wrap}.recent-item{border:1px solid #d9e9f0;background:#eaf4f9;border-radius:22px;padding:7px 13px;font-size:12px;color:#36647a;font-weight:750}.empty-state{text-align:center;padding:45px 15px}.empty-ico{font-size:34px;color:#85a3b5}.empty-state h3{margin:2px 0}.empty-state p{color:#71869a;font-size:13px}.notice-panel{border:1px solid #d9e9ed;background:#ecf7f7;margin:28px 0 35px;padding:19px 20px;display:flex;gap:14px;border-radius:13px}.notice-symbol{font-size:22px;color:#258c94}.notice-panel h2{font-size:14px;margin:0 0 6px}.notice-panel p{font-size:12px;color:#557481;line-height:1.8;margin:0}.notice-panel p+p{margin-top:6px}.muted-note{opacity:.8}.footer{border-top:1px solid #e1eaf0;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:25px 0 36px}.footer div:first-child{display:grid;gap:3px}.footer strong{font-size:13px}.footer small{font-size:10px;color:#879aa8}.footer-links{display:flex;align-items:center;gap:20px;font-size:12px;font-weight:700;color:#648498}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);z-index:50;background:#133b52;color:#fff;padding:12px 19px;border-radius:10px;box-shadow:0 6px 28px #0b1a3580;font-size:13px;max-width:min(95vw,510px)}.install-dialog{border:0;border-radius:18px;width:min(93vw,470px);padding:25px;background:#fff;box-shadow:0 24px 90px #10293e63;color:var(--ink)}.install-dialog::backdrop{background:#0a243d9c}.dialog-top{display:flex;gap:13px;align-items:center}.dialog-top img{border-radius:12px}.dialog-top div{flex:1}.dialog-top h2{font-size:18px;margin:0}.dialog-top p{font-size:12px;color:#8696a5;margin:2px 0}.icon-button{border:0;background:#eef2f6;font-size:26px;line-height:30px;color:#6b8394;width:32px;height:32px;border-radius:8px}.guide{font-size:14px;color:#405466;line-height:2;padding:18px 0}.guide ol{margin:5px 0;padding-left:23px}.guide strong{color:#194b6a}.dialog-bottom{text-align:right}.noscript{position:fixed;top:0;left:0;right:0;background:#fff9df;padding:8px;text-align:center;font-size:13px;z-index:60}
@media(max-width:900px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-illustration{opacity:.3;width:58%}.hero{padding:37px}.hero-text{max-width:100%}}
@media(max-width:600px){.site-wrap{padding:0 15px}.topbar{height:71px}.brand strong{font-size:15px}.brand small{font-size:8px}.brand-logo{width:36px;height:36px}.top-actions{gap:8px}.top-actions .net-pill{font-size:0}.top-actions .net-pill span:last-child{display:none}.hero{padding:28px 22px;min-height:350px;border-radius:17px}.hero h1{font-size:32px}.hero-illustration{width:100%;right:-160px;opacity:.19}.hero p{font-size:13px}.hero-meta{gap:8px;font-size:10px;margin-top:21px}.hero-buttons .button{padding:10px 14px;font-size:12px}.quick-grid{gap:9px}.quick-link{padding:13px 11px;gap:8px;flex-wrap:wrap}.quick-icon{width:36px;height:36px;font-size:18px}.quick-link b{font-size:12px}.quick-link small{font-size:10px}.quick-arrow{display:none}.section-head h2{font-size:20px}.section-note{display:none}.tools-section{margin-top:29px}.tool-grid{gap:9px}.tool-card{padding:13px 12px;min-height:156px}.tool-card .tool-icon{width:32px;height:32px;font-size:16px}.tool-card h3{font-size:14px}.tool-card .topline{gap:7px}.tool-card p{font-size:11px}.tool-card .tool-type{font-size:9px}.fav-btn{top:8px;right:8px;width:29px;height:29px}.tabs{gap:6px}.tab{padding:8px 10px}.footer{flex-direction:column;align-items:flex-start}.footer-links{flex-wrap:wrap}.notice-panel{padding:15px}.button.small{padding:9px 10px}.searchbox kbd{display:none}}
@media(max-width:365px){.tool-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.hero h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* V1.1 加入本機計算及連體彎頭入口 */
.tool-local{margin-left:auto;border-radius:999px;background:#e5f7ee;color:#197250;font-size:10px;font-weight:800;padding:3px 7px;white-space:nowrap}
.tool-card .topline{gap:6px;flex-wrap:wrap}
.featured-module{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:26px;padding:18px 22px;border-radius:16px;border:1px solid #c6e8e5;background:linear-gradient(100deg,#ecfaf6,#eef7ff)}
.featured-module strong{font-size:14px;color:#135772}
.featured-module p{margin:5px 0 0;font-size:12px;color:#607c88}
.featured-module a{background:#166581;color:#fff;padding:11px 15px;border-radius:10px;font-size:12px;white-space:nowrap;font-weight:800}
@media(max-width:600px){.featured-module{flex-direction:column;align-items:stretch;padding:15px}.featured-module a{text-align:center}.tool-local{font-size:9px}}
