.scr-course-field,.scr-assign-field{display:block;margin:.7rem 0}.scr-help{display:block;color:#75685f;font-size:.88rem;margin-top:.3rem}.scr-meta{font-size:.9rem;color:#6b5c51;margin:.55rem 0}.scr-package-overlay{position:fixed;inset:0;background:rgba(35,28,23,.48);display:flex;align-items:center;justify-content:center;z-index:99999;padding:18px}.scr-package-dialog{width:min(520px,100%);max-height:85vh;overflow:auto;background:#fffaf4;border-radius:20px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.scr-package-dialog h2{margin:0 0 6px}.scr-package-list{display:grid;gap:10px;margin:16px 0}.scr-package-option{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid #d8c4b3;border-radius:14px;background:#fff;cursor:pointer}.scr-package-option:has(input:checked){border-color:#8e684d;box-shadow:0 0 0 2px rgba(142,104,77,.15)}.scr-package-option strong{display:block}.scr-package-option small{display:block;color:#786a61;margin-top:3px}.scr-actions{display:flex;gap:10px;justify-content:flex-end}.scr-actions button{min-width:110px}.scr-secondary{background:#eee4da!important;color:#4a3a30!important}.scr-member-options{display:grid;gap:10px;margin:14px 0}.scr-member-option{display:flex;gap:10px;align-items:flex-start;border:1px solid #d7c3b3;border-radius:14px;padding:12px;background:#fff}.scr-member-option:has(input:checked){border-color:#8e684d;box-shadow:0 0 0 2px rgba(142,104,77,.12)}

/* BEGIN SILVER CONTRACT CHOICE COMPACT 20261002 */
/* Radio inputs must never inherit the site's full-width text-input sizing. */
.scr-package-option input[type="radio"],
.scr-member-option input[type="radio"]{
  width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;
  min-height:18px!important;max-height:18px!important;padding:0!important;margin:2px 0 0!important;
  flex:0 0 18px!important;display:block!important;box-sizing:border-box!important;
  -webkit-appearance:radio!important;appearance:auto!important;
}
.scr-package-dialog{width:min(440px,calc(100vw - 28px));max-height:min(72vh,560px);padding:16px;border-radius:16px}
.scr-package-dialog h2,.scr-choice-title{font-size:1.12rem;line-height:1.35;margin:0 0 5px}
.scr-package-dialog>p,.scr-choice-note{font-size:.9rem;line-height:1.45;margin:0 0 10px}
.scr-package-list,.scr-member-options{gap:8px;margin:10px 0;max-height:260px;overflow:auto;overscroll-behavior:contain}
.scr-package-option,.scr-member-option{gap:9px;align-items:flex-start;padding:9px 11px;border-radius:12px;min-height:0}
.scr-package-option span,.scr-member-option span{display:block;min-width:0;flex:1}
.scr-package-option strong,.scr-member-option strong{font-size:.96rem;line-height:1.35}
.scr-package-option small,.scr-member-option small{font-size:.82rem;line-height:1.35;margin-top:2px}
.scr-actions{gap:8px;margin-top:10px}.scr-actions button{min-width:92px;padding:.7rem .9rem}
@media (max-width:600px){
  .scr-package-overlay{padding:12px}
  .scr-package-dialog{width:calc(100vw - 24px);max-height:68vh;padding:14px;border-radius:15px}
  .scr-package-list,.scr-member-options{max-height:210px}
  .scr-package-option,.scr-member-option{padding:8px 10px}
  .scr-actions button{min-width:84px;padding:.62rem .8rem;font-size:.92rem}
}
/* END SILVER CONTRACT CHOICE COMPACT 20261002 */

/* SILVER_OWNER_MODE_20261030_V1 BEGIN：管理權限模式開關與確認扣課視窗（銀寶米白紙卡＋鼠尾草）。 */
.som-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px;padding:14px 18px;border:1px solid #E3DACC;border-radius:18px;background:linear-gradient(180deg,#FDFBF7,#F6F1E8);box-shadow:inset 0 1px 0 #fff,0 8px 18px -16px rgba(47,58,51,.35);transition:background .25s,border-color .25s}
.som-bar .som-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.som-bar strong{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:600;color:#2F3A33;font-size:1.05rem;letter-spacing:.04em}
.som-bar .som-status{color:#7A877C;font-size:.9rem}
.som-bar .som-status::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#C9BFAF;margin-right:7px;vertical-align:1px;transition:background .25s,box-shadow .25s}
.som-bar[data-state=on]{background:linear-gradient(180deg,#F1F5EF,#E6EEE4);border-color:#B9CBB9}
.som-bar[data-state=on] .som-status{color:#4A6550;font-weight:600}
.som-bar[data-state=on] .som-status::before{background:#5E7C65;box-shadow:0 0 0 4px rgba(94,124,101,.18)}
html body .som-bar .som-switch{flex:none;position:relative;width:58px!important;height:32px!important;min-height:0!important;min-width:0!important;padding:0!important;border-radius:999px!important;border:1px solid #D6CCBC!important;background:#E3DBCD!important;box-shadow:inset 0 2px 4px rgba(47,58,51,.14)!important;cursor:pointer;transition:background .22s,border-color .22s;transform:none!important}
html body .som-bar .som-switch .som-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:linear-gradient(180deg,#fff,#F6F1E8);box-shadow:0 2px 5px rgba(47,58,51,.25);transition:transform .22s cubic-bezier(.2,.7,.3,1)}
html body .som-bar .som-switch[aria-checked=true]{background:linear-gradient(180deg,#5E7C65,#4A6550)!important;border-color:#4A6550!important}
html body .som-bar .som-switch[aria-checked=true] .som-knob{transform:translateX(26px)}
html body .som-bar .som-switch:focus-visible{outline:3px solid rgba(110,139,116,.45);outline-offset:3px}
html body .som-bar .som-switch.som-busy{opacity:.6;cursor:progress}
.som-bar.som-nudge{animation:som-nudge .5s cubic-bezier(.3,.7,.4,1)}
.som-bar.som-nudge .som-status{color:#A4473A}
@keyframes som-nudge{0%,100%{transform:none}20%{transform:translateX(-6px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
html.som-locked main .roster-row .roster-checkin{opacity:.42;filter:saturate(.5);cursor:not-allowed}
html body dialog.som-dialog{width:min(460px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;padding:24px 22px 20px}
html body dialog.som-dialog .som-group{border:0;margin:16px 0 0;padding:0;display:grid;gap:9px}
html body dialog.som-dialog legend{padding:0;margin:0 0 8px;font-weight:600;color:#2F3A33;font-size:.95rem}
html body dialog.som-dialog .som-course{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#F4EEE4;border:1px solid #E3DACC}
html body dialog.som-dialog .som-course span{font-size:.82rem;color:#7A877C!important;letter-spacing:.08em}
html body dialog.som-dialog .som-course strong{color:#2F3A33}
html body dialog.som-dialog .som-course small{margin-left:auto;color:#5E6B61}
html body dialog.som-dialog .som-choice{display:flex;gap:12px;margin:0;align-items:flex-start;padding:13px 14px;border:1px solid #DDD3C4;border-radius:14px;background:#FDFBF7;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;font-weight:400}
html body dialog.som-dialog .som-choice input{margin:3px 0 0;padding:0;border:0;background:none;box-shadow:none;min-height:0;accent-color:#4A6550;width:18px;height:18px;flex:none}
html body dialog.som-dialog .som-choice strong{display:block;color:#2F3A33}
html body dialog.som-dialog .som-choice small{display:block;margin-top:3px;color:#6B776E;font-size:.86rem;line-height:1.45}
html body dialog.som-dialog .som-choice input:focus{outline:none!important}
html body dialog.som-dialog .som-choice:has(input:focus-visible){outline:3px solid rgba(110,139,116,.4);outline-offset:2px}
html body dialog.som-dialog .som-choice:has(input:checked){border-color:#5E7C65;background:#F1F5EF;box-shadow:0 0 0 3px rgba(94,124,101,.16)}
html body dialog.som-dialog .som-choice.som-off{opacity:.55;cursor:not-allowed}
html body dialog.som-dialog .som-coaches{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-2px 0 2px 44px}
html body dialog.som-dialog .som-coaches[hidden]{display:none}
html body dialog.som-dialog .som-coaches>span{font-size:.85rem;color:#7A877C}
html body dialog.som-dialog .som-chip{position:relative;cursor:pointer;font-weight:400}
html body dialog.som-dialog .som-chip input{position:absolute;opacity:0;pointer-events:none}
html body dialog.som-dialog .som-chip span{display:inline-block;padding:5px 13px;border-radius:999px;border:1px solid #DDD3C4;background:#FDFBF7;color:#2F3A33;font-size:.9rem}
html body dialog.som-dialog .som-chip input:checked+span{background:#4A6550;border-color:#4A6550;color:#FBF8F3}
html body dialog.som-dialog .som-chip input:focus-visible+span{outline:3px solid rgba(110,139,116,.45);outline-offset:2px}
html body dialog.som-dialog .silver-dialog-error{margin:12px 0 0}
html body dialog.som-dialog .silver-dialog-error:empty{display:none}
html body dialog.som-dialog form{display:block!important}
html body dialog.som-dialog .silver-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
@media (max-width:600px){.som-bar{padding:12px 14px}html body dialog.som-dialog{padding:20px 16px 16px}html body dialog.som-dialog .som-coaches{margin-left:0}}
/* SILVER_OWNER_MODE_20261030_V1 END */
