body { -webkit-tap-highlight-color: transparent; }
.num { font-family: Inter, "Noto Sans TC", sans-serif; font-variant-numeric: tabular-nums; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 0 0 1px rgba(15, 23, 42, .04); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 15px; transition: transform .05s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn-primary { background: #0b8a6b; color: #fff; }
.btn-line { background: #06c755; color: #fff; }
.btn-ghost { background: #fff; color: #0b5d4b; box-shadow: inset 0 0 0 1.5px #0b8a6b; }
.btn-soft { background: #ecfdf7; color: #0b5d4b; }
.input { width: 100%; border-radius: 12px; border: 1.5px solid #e2e8f0; padding: 11px 14px; font-size: 16px; background: #fff; outline: none; }
.input:focus { border-color: #10a37f; box-shadow: 0 0 0 3px rgba(16, 163, 127, .15); }
.label { display: block; font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag-gray { background: #f1f5f9; color: #475569; }
.tag-green { background: #dcfce7; color: #166534; }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-red { background: #fee2e2; color: #991b1b; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-teal { background: #ccfbf1; color: #115e59; }
.hero { background: linear-gradient(135deg, #0b5d4b 0%, #0b8a6b 55%, #10a37f 100%); }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 28rem; background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px); border-top: 1px solid #e2e8f0; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); z-index: 30; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; font-weight: 700; color: #94a3b8; }
.tabbar a.on { color: #0b8a6b; }
.tabbar svg { width: 22px; height: 22px; }
.seg { display: flex; background: #e2e8f0; border-radius: 12px; padding: 3px; }
.seg button { flex: 1; padding: 7px 0; border-radius: 10px; font-size: 13px; font-weight: 700; color: #475569; }
.seg button.on { background: #fff; color: #0b5d4b; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: rgba(15, 23, 42, .92); color: #fff; padding: 10px 16px;
  border-radius: 12px; font-size: 14px; z-index: 60; max-width: 90vw; text-align: center; }
.sheet-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 28rem; border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 88vh; overflow: auto; }
.row-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.row-link + .row-link { border-top: 1px solid #f1f5f9; }
.doc-content { white-space: pre-wrap; line-height: 1.8; font-size: 14px; color: #334155; }
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
