/* 嶼星風格（① 島上的牙，姷頤 2026-11-13 選定）。本檔由 theme-gen.mjs 產生，不要手改；改 theme-gen.mjs 再重跑。 */
:root{
  --yx-green:#2f5d46;--yx-green-d:#24493a;--yx-paper:#f3f1ea;--yx-card:#fbfaf6;--yx-bd:#d3d8cc;--yx-soft:#e4ebe1;
  --f-ink:#2a2b27;--f-muted:#6b6d64;--f-bg:var(--yx-paper);--f-line:var(--yx-bd);--f-bright:var(--yx-soft);--f-soft:#eceee6;--f-deep:var(--yx-green);
  --ink:#2a2b27;--muted:#6b6d64;--bg:var(--yx-card);--line:#dfe2d8;--soft:#eef2ea;
  --car:var(--yx-green);--car-deep:var(--yx-green-d);--night:#2f4a3c;--night-2:#3b5c4b;--night-ink:#e8efe6;
  --ok:#2f6b45;--ok-bg:#e3eee3;--bad:#a5432c;--bad-bg:#f6e4de;--warn:#84601c;--warn-bg:#f5ecd6;--wait:#4d5a7c;--wait-bg:#e8ebf3;
  --heavy:'Noto Serif TC','Songti TC',serif;
}
body{background:var(--yx-paper);font-weight:500}
h1,h2,h3,.page-intro h1,.hero h1{font-family:'Noto Serif TC','Songti TC',serif}
.over,.hero-en{font-family:'Courier Prime','Courier New',monospace!important;font-weight:700!important;text-transform:lowercase;letter-spacing:.12em!important}
.hero-en{font-size:16px!important;line-height:1.3!important}
.brand.yx{flex-direction:row;align-items:center}.brand.yx svg{height:46px;width:auto;display:block}
.topnav a[aria-current],.demo-strip a[aria-current]{background:var(--yx-green);border-color:var(--yx-green);color:#fff}
.topnav a:hover{background:var(--yx-soft)}
.orb{color:#fff}.orb strong{font-family:'Noto Serif TC',serif}
.hero.day{background:var(--yx-card)}
.hero .sky{opacity:1}

/* ---- 自動產生：粗框→細框、錯開影子拿掉、大圓角收小 ---- */
.bar{border-bottom:1px solid var(--yx-bd)}
.brand{border-right:1px solid var(--yx-bd)}
.topnav a{border-radius:6px}
.topnav a[aria-current]{border-color:var(--yx-bd);box-shadow:none}
.topnav a small{border-radius:6px}
.bridge{border:1px solid var(--yx-bd);border-radius:6px}
.bridge em{border-radius:6px}
.hero{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.hero h1 small{border-radius:6px}
.orb{border:1px solid var(--yx-bd);box-shadow:none;color:#fff}
.btn{border:1px solid var(--yx-bd);border-radius:6px}
.btn.primary{box-shadow:none;color:#fff}
.card{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.chip{border:1px solid var(--yx-bd);border-radius:6px}
.chip[aria-pressed=true]{color:#fff}
.now-filter{border-radius:8px}
.visit{border-radius:8px}
.visit:not(.head):hover{border-color:var(--yx-bd)}
.row-link{border-radius:8px}
.stp{border-radius:6px}
.stp.go{color:#fff}
.tag{border-radius:6px}
.st i{border-radius:6px}
.st.now i{color:#fff}
.appt{border-radius:8px}
.seg span{border:1px solid var(--yx-bd);border-radius:6px}
.seg span[aria-current]{color:#fff}
.pt{border-radius:8px}
.ptabs span{border:1px solid var(--yx-bd);border-radius:6px}
.ptabs span[aria-current]{color:#fff}
.check3 div{border-radius:8px}
.toggle i{border:1px solid var(--yx-bd);border-radius:6px}
.rules{border:1px dashed var(--yx-bd);border-radius:8px}
.slots a{border:1px solid var(--yx-bd);border-radius:8px}
.slots a[aria-pressed=true]{box-shadow:none;color:#fff}
.seq{border-radius:6px}
.ready{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.ping{border-radius:6px}
.ready-item{border-radius:8px}
.wait{border-radius:8px;color:#fff}
.rx b{border-radius:6px}
.pt-drawer .panel{border-left:1px solid var(--yx-bd)}
.chart{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.visit-note{border-radius:8px}
.visit-note .who2 span{border-radius:6px}
.box2{border-radius:8px}
.box2 h4 em{border-radius:6px}
.segs span{border-radius:6px}
.segs span[aria-current]{border-color:var(--yx-bd);color:#fff}
.pd-head{border:1px solid var(--yx-bd);border-radius:10px 10px 0 0}
.pd-tabs{border:1px solid var(--yx-bd);border-radius:0 0 10px 10px}
.pd-tabs span{border:1px solid var(--yx-bd);border-radius:6px}
.pd-tabs span[aria-current]{box-shadow:none;color:#fff}
.today-claim{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.claim{border-radius:8px}
.tl-item.now::before{color:#fff}
.tl-item details{border-radius:8px}
.tl-item.now details{border:1px solid var(--yx-bd)}
.src{border-radius:6px}
.tl-in .who2 span{border-radius:6px}
.fact{border-radius:8px}
.allergy-ok{border-radius:6px}
.claim.w{border-color:var(--yx-bd)}
.tl2-item.now .tl2-dot{border-color:var(--yx-bd);color:#fff}
.tl2-card{border-radius:8px}
.tl2-item.now .tl2-card{border:1px solid var(--yx-bd);box-shadow:none}
.tl2-body .who2 span{border-radius:6px}
.pd-tabs a{border:1px solid var(--yx-bd);border-radius:6px}
.pd-tabs a[aria-current]{box-shadow:none;color:#fff}
.pay-card{border:1px solid var(--yx-bd);border-radius:10px}
.pay-card.main{box-shadow:none}
.owe{border-radius:6px}
.pay-due{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.amt-in{border:1px solid var(--yx-bd)}
.due-total{border-top:1px solid var(--yx-bd)}
.proj{border:1px solid var(--yx-bd);border-radius:8px}
.pbar{border:1px solid var(--yx-bd);border-radius:6px}
.stages span{border-radius:6px}
.stages span.next{border-color:var(--yx-bd);color:#fff}
.ledger2{border:1px solid var(--yx-bd);border-radius:8px}
.pt-drawer .panel.modal{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.who-card{border-radius:8px}
.fbox{border:1px solid var(--yx-bd)}
.dd{border:1px solid var(--yx-bd)}
.dd div.on{color:#fff}
.ck span{border:1px solid var(--yx-bd)}
.modal-foot{border-top:1px solid var(--yx-bd)}
.ct-card{border:1px solid var(--yx-bd);border-radius:8px}
.ct-card.total{box-shadow:none}
.ct-list{border:1px solid var(--yx-bd);border-radius:8px}
.ct-row.foot{border-top:1px solid var(--yx-bd)}
.search-box{border:1px solid var(--yx-bd);border-radius:6px}
details.fold{border-radius:8px}
.ow-set{border:1px solid var(--yx-bd);border-radius:8px}
.ow-set .opt{border-radius:8px}
.ow-set .opt.on{border:1px solid var(--yx-bd)}
.ow-set .opt i{border:1px solid var(--yx-bd)}
.pick{border:1px solid var(--yx-bd);border-radius:8px}
.shot{border:1px solid var(--yx-bd);border-radius:8px}
.note-out{border:1px dashed var(--yx-bd)}
.att{border:1px solid var(--yx-bd);border-radius:8px}
.att-today{border:1px dashed var(--yx-bd)}
.say .why{border-radius:8px}
.drawer{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.found{border-radius:8px}
.avatar{border:1px solid var(--yx-bd);color:#fff}
.box{border:1px solid var(--yx-bd)}
.fee{border-radius:8px}
.alert{border-radius:8px}
.code{border:1px solid var(--yx-bd)}
.pair span{border:1px solid var(--yx-bd)}
.legend i{border-radius:6px}
@container (max-width:520px){.card{border-radius:10px}}
.demo-strip a{border:1px solid var(--yx-bd);border-radius:6px}
.demo-strip a[aria-current]{box-shadow:none;color:#fff}
.entry a{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.sub-tabs a,.rec-tabs a{border:1px solid var(--yx-bd);border-radius:6px}
.shift{border-radius:8px}
.shift.now{border-color:var(--yx-bd);box-shadow:none}
.handover div{border:1px solid var(--yx-bd);border-radius:8px}
.handover b.in{border:1px dashed var(--yx-bd)}
.page:not(:has(.pane:target)) .rec-tabs a:first-child,
.page:has(#nhi:target) .rec-tabs a[href="#nhi"],.page:has(#proj:target) .rec-tabs a[href="#proj"],
.page:has(#wait:target) .rec-tabs a[href="#wait"],.page:has(#late:target) .rec-tabs a[href="#late"],.page:has(#done:target) .rec-tabs a[href="#done"]{box-shadow:none;color:#fff}
.due-pre{border:1px solid var(--yx-bd);border-radius:8px}
.st-lock{border-radius:6px}
.st-live{border-radius:6px}
.pay-guard{border-radius:8px}
.due-pre2{border:1px solid var(--yx-bd);border-radius:8px}
.dp-total{border-top:1px solid var(--yx-bd)}
.seg-mini{border:1px solid var(--yx-bd);border-radius:6px}
.seg-mini a[aria-pressed=true]{color:#fff}
.page:has(#req:target) .rec-tabs a[href="#req"],.page:has(#cert:target) .rec-tabs a[href="#cert"],.page:has(#stamp:target) .rec-tabs a[href="#stamp"]{box-shadow:none;color:#fff}
.st-row.foot{border-top:1px solid var(--yx-bd)}
.page:has(#call:target) .rec-tabs a[href="#call"],.page:has(#tooth:target) .rec-tabs a[href="#tooth"],.page:has(#out:target) .rec-tabs a[href="#out"]{box-shadow:none;color:#fff}
.page:not(:has(.pane:target)) .rec-tabs .tgrp:first-child a:first-of-type{box-shadow:none;color:#fff}
.page:has(#filter:target) .rec-tabs a[href="#filter"]{box-shadow:none;color:#fff}
.call-demo{border-radius:8px}
.call-demo b{border-radius:6px}
.todo-strip{border:1px solid var(--yx-bd);box-shadow:none;border-radius:10px}
.ts{border:1px solid var(--yx-bd);border-radius:6px}
.ts.hot{color:#fff}
.co-blk{border:1px solid var(--yx-bd);border-radius:8px}
.doc-pick{border-radius:8px}
.doc-pick.main{border-color:var(--yx-bd);box-shadow:none}
.sched{border:1px solid var(--yx-bd);border-radius:8px}
.sd-r .on{color:#fff}
.wk-grid{border:1px solid var(--yx-bd);border-radius:8px}
.wk-col.today .wk-d{color:#fff}
.wk-b.new{border:1px dashed var(--yx-bd);color:#fff}
.mini-g .on{color:#fff}
.wk-pt{border:1px solid var(--yx-bd)}
.wk-more{border-radius:6px}
.gear{border-radius:6px}
.gear[aria-current]{border-color:var(--yx-bd)}
.page:has(#basic:target) .rec-tabs a[href="#basic"],.page:has(#hours:target) .rec-tabs a[href="#hours"],.page:has(#treat:target) .rec-tabs a[href="#treat"],.page:has(#appt:target) .rec-tabs a[href="#appt"],.page:has(#fee:target) .rec-tabs a[href="#fee"],.page:has(#pay:target) .rec-tabs a[href="#pay"],.page:has(#people:target) .rec-tabs a[href="#people"],.page:has(#nhi:target) .rec-tabs a[href="#nhi"],.page:has(#mod:target) .rec-tabs a[href="#mod"],.page:has(#log:target) .rec-tabs a[href="#log"]{box-shadow:none;color:#fff}
.tr-sw{border:1px solid var(--yx-bd)}
.pal i.on{border-color:var(--yx-bd)}
.wk-b.new{border-left:1px dashed var(--yx-bd)}
.toggle-s{border:1px solid var(--yx-bd);border-radius:6px}
.toggle-s::after{border:1px solid var(--yx-bd)}
.rec-tabs a.tab-on{box-shadow:none;color:#fff}
.remind{border:1px solid var(--yx-bd);border-radius:8px}
.page:has(#phrase:target) .rec-tabs a[href="#phrase"]{box-shadow:none;color:#fff}
.ph-u{border-radius:6px}
.num-in{border:1px solid var(--yx-bd)}
.page:not(:has(.pane:target)) .rec-tabs a[href="#day"],.page:has(#day:target) .rec-tabs a[href="#day"],.page:has(#week:target) .rec-tabs a[href="#week"]{box-shadow:none;color:#fff}
.pt-tag{border-radius:6px}
.mk.new{border:1px solid var(--yx-bd)}
.todo-book{border:1px solid var(--yx-bd);box-shadow:none}
.wk-b .tp{border:1px solid var(--yx-bd);box-shadow:none}
.cap-warn{border-radius:6px}
.wk-fill{border:1px solid var(--yx-bd);border-radius:6px}
.wk-ghost{border:1px dashed var(--yx-bd)}
.mk.new,.wk-b .mk.new{border-radius:6px}
.ll-card{border:1px solid var(--yx-bd)}
.lp em{border-radius:6px}
.lp.now{border-color:var(--yx-bd);box-shadow:none}
.locked-row a{border:1px solid var(--yx-bd);border-radius:6px}
.lg-more summary{border-radius:6px}
.lg-pop summary{border:1px solid var(--yx-bd);border-radius:6px}
.lg-card{border:1px solid var(--yx-bd);box-shadow:none;border-radius:8px}
.sc-grid{border:1px solid var(--yx-bd);border-radius:8px}
.sc-head .sc-c.today{color:#fff}
.as{border-radius:6px}
span.hit{border-radius:6px}
.miss{border-radius:6px}
.sc-card .bz.lifting{border:1px solid var(--yx-bd);box-shadow:none}
.drop{border:1px dashed var(--yx-bd)}
.page:has(#month:target) .rec-tabs a[href="#month"]{box-shadow:none;color:#fff}
.m-grid{border:1px solid var(--yx-bd);border-radius:8px}
.hol-q a{border:1px solid var(--yx-bd);border-radius:6px}
.hol-q a.on{color:#fff}
.wt{border-radius:6px}
.page:has(#care:target) .rec-tabs a[href="#care"]{box-shadow:none;color:#fff}
.pin{border-radius:6px}
.wdate{border-radius:6px}
.kpi{border:1px solid var(--yx-bd);border-radius:8px}
.ex-bar{border:1px solid var(--yx-bd);border-radius:8px}
.tooth.now,.tooth.now2{border-color:var(--yx-bd);box-shadow:none;color:#fff}
.tl.now{color:#fff}
.rb{border-radius:6px}
.ex-send{border-top:1px solid var(--yx-bd)}
.t2[data-k="today"]{border:1px solid var(--yx-bd);box-shadow:none;color:#fff}
.lg.today{border:1px solid var(--yx-bd);color:#fff}
.page:has(#month:target) .rec-tabs a[href="#month"],.page:has(#docs:target) .rec-tabs a[href="#docs"],.page:has(#audit:target) .rec-tabs a[href="#audit"]{box-shadow:none;color:#fff}
.tab-n{border-radius:6px}
.funnel>:is(div,a){border:1px solid var(--yx-bd)}
.steps7 li.now{box-shadow:none;color:#fff}
#incoming .panel.modal{box-shadow:none}
.role .nav-mini i{border-radius:6px}
.role .nav-mini i.home{color:#fff}
.page:has(#setup:target) .rec-tabs a[href="#setup"],.page:has(#offline:target) .rec-tabs a[href="#offline"]{box-shadow:none;color:#fff}
.pair-box{border:1px solid var(--yx-bd);border-radius:8px}
.hero.day h1 small{border-color:var(--yx-bd)}
.ts-more>summary{border-radius:6px}
.toast{box-shadow:none;border-radius:8px}
.wc-l,.wc-r section{border:1px solid var(--yx-bd);border-radius:8px}
.wc-total{border-top:1px solid var(--yx-bd)}
.wc3-l section,.wc3-m{border:1px solid var(--yx-bd);border-radius:8px}
.wc-add{border:1px dashed var(--yx-bd)}
.wc-kind{border-radius:6px}
.line-b{border-radius:6px}
.wk-slot:hover{border:1px dashed var(--yx-bd)}
.wc-rb{border-radius:6px}
.pk.on{border:1px solid var(--yx-bd);color:#fff}
.pick-codes a.go{border:1px solid var(--yx-bd);box-shadow:none}
.ci-box{border:1px solid var(--yx-bd)}
.ml.now{border:1px solid var(--yx-bd)}
.cd-btn{border:1px solid var(--yx-bd)}
.cd-ic{border:1px solid var(--yx-bd)}
.page:has(#confirm:target) .rec-tabs a[href="#confirm"],.page:has(#postop:target) .rec-tabs a[href="#postop"]{box-shadow:none;color:#fff}
.po-card{border:1px solid var(--yx-bd);border-radius:8px}
.bubble{border-radius:8px 8px 8px 4px}
.sn-form{border:1px solid var(--yx-bd)}
.sn-auto{border-radius:6px}
.wc-src{border-radius:6px}
.wc-kind.rx{border-color:var(--yx-bd)}
.cpick>summary{border:1px solid var(--yx-bd);border-radius:6px}
.cpick[open]>summary{color:#fff}
.pick-card{border:1px solid var(--yx-bd);box-shadow:none;border-radius:8px}
.sr-list a:first-child{border:1px solid var(--yx-bd)}
.addc-tq i.on{color:#fff}
.cloud-top{border-radius:8px}
.cloud-top em{border-radius:6px}
.draft-back{border:1px solid var(--yx-bd);box-shadow:none}
.back-btn{border:1px solid var(--yx-bd);border-radius:6px}
.rx-gh{border-radius:6px}
.st-nav{border:1px solid var(--yx-bd);border-radius:8px}
.page:has(#basic:target) .st-nav a[href="#basic"],.page:has(#hours:target) .st-nav a[href="#hours"],.page:has(#people:target) .st-nav a[href="#people"],.page:has(#mod:target) .st-nav a[href="#mod"],.page:has(#treat:target) .st-nav a[href="#treat"],.page:has(#appt:target) .st-nav a[href="#appt"],.page:has(#drug:target) .st-nav a[href="#drug"],.page:has(#phrase:target) .st-nav a[href="#phrase"],.page:has(#fee:target) .st-nav a[href="#fee"],.page:has(#pay:target) .st-nav a[href="#pay"],.page:has(#nhi:target) .st-nav a[href="#nhi"],.page:has(#log:target) .st-nav a[href="#log"],.page:not(:has(.pane:target)) .st-nav a[href="#basic"]{box-shadow:none;color:#fff}
.page:has(#log:target) .st-ht a[href="#log"]{color:#fff}
.page:has(#confirm:target) .st-nav a[href="#confirm"],.page:has(#postop:target) .st-nav a[href="#postop"],.page:has(#care:target) .st-nav a[href="#care"],.page:has(#wait:target) .st-nav a[href="#wait"],.page:has(#late:target) .st-nav a[href="#late"],.page:has(#done:target) .st-nav a[href="#done"],.page:has(#call:target) .st-nav a[href="#call"],.page:has(#tooth:target) .st-nav a[href="#tooth"],.page:has(#out:target) .st-nav a[href="#out"],.page:has(#filter:target) .st-nav a[href="#filter"],.page:not(:has(.pane:target)) .st-nav a[href="#confirm"]{box-shadow:none;color:#fff}
.drop{border-radius:8px}
.ck .box{border:1px solid var(--yx-bd)}
.ck .box.on{color:#fff}
.page:has(#today:target) .st-nav a[href="#today"],.page:has(#log:target) .st-nav a[href="#log"],.page:has(#auto:target) .st-nav a[href="#auto"],.page:has(#blast:target) .st-nav a[href="#blast"],.page:has(#line:target) .st-nav a[href="#line"],.page:has(#sms:target) .st-nav a[href="#sms"],.page:has(#rule:target) .st-nav a[href="#rule"],.page:not(:has(.pane:target)) .st-nav a[href="#today"]{box-shadow:none;color:#fff}
.ch-sms{border-radius:6px}
.bind .qr{border:1px solid var(--yx-bd)}
.page:has(#cardremind:target) .st-nav a[href="#cardremind"]{box-shadow:none;color:#fff}
.vbar{border-radius:6px}
.vbar i{border-radius:6px}
.td-k{border-radius:6px}
.ov-box{border-radius:8px}
.lab-front{border-radius:8px}
.page:has(#privacy:target) .st-nav a[href="#privacy"]{box-shadow:none;color:#fff}
.cf-code .qr{border:1px solid var(--yx-bd)}
.pad{border:1px solid var(--yx-bd);border-radius:8px}
.pad-ck .box{border:1px solid var(--yx-bd)}
.dr-pick>summary{border:1px solid var(--yx-bd);border-radius:6px}
.dr-card{border:1px solid var(--yx-bd);box-shadow:none;border-radius:8px}
.cfw-o.on{border-color:var(--yx-bd);box-shadow:none}
.pi-s{border-radius:8px}
.pi-pill{border-radius:6px}
.pi-pill.on{border-color:var(--yx-bd);color:#fff}
.xp-c:hover{border-color:var(--yx-bd)}
.au-tag{border-radius:6px}
.fe-o i{border:1px solid var(--yx-bd)}
.fe-o.on{border-color:var(--yx-bd)}
.rcp-from{border-radius:6px}
.wc-live{border-radius:6px}

/* ---- 嶼星小圖示（inject-icons.mjs 加的） ---- */
.yx-ic{display:block;flex:none;color:var(--yx-green)}
.topnav a .yx-ic,.gear .yx-ic{width:22px;height:22px}
.topnav a[aria-current] .yx-ic{color:#fff}
.entry a .yx-ic{width:46px;height:46px;margin-bottom:4px}
.entry a:hover .yx-ic{transform:rotate(-4deg)}
@media (prefers-reduced-motion:reduce){.entry a:hover .yx-ic{transform:none}}
