:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC",sans-serif;color:#25332d;background:#f5f5ef;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:inherit}.site-header{height:74px;padding:0 max(24px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6e9e0}.brand{text-decoration:none;font-size:22px;font-weight:800;letter-spacing:.08em}.brand span{display:block;font-size:9px;font-weight:600;letter-spacing:.27em}.header-note,.muted{color:#738078}.header-note{font-size:13px}.site-footer{text-align:center;padding:38px;color:#89938a;font-size:12px}.shell{max-width:1120px;margin:auto;padding:48px 24px 80px}.eyebrow{color:#7c977e;font-size:12px;font-weight:800;letter-spacing:.22em}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:34px}.intro h1{font-family:Georgia,"Noto Serif TC",serif;font-weight:500;font-size:clamp(34px,5vw,55px);line-height:1.15;margin:10px 0}.intro p{color:#748078;margin:0}.intro a{font-size:14px;text-decoration:underline;text-underline-offset:4px}.layout{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}.card{background:#fff;border:1px solid #e4e8df;border-radius:20px;box-shadow:0 10px 35px #1d35270b;padding:30px}.card h2{font-size:23px;margin:0 0 24px}.section-title{font-size:13px;font-weight:800;color:#718b76;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid #e8ece6;padding-bottom:10px;margin:26px 0 18px}.section-title:first-child{margin-top:0}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field label,.field>span{font-size:13px;font-weight:700}.field input,.field select,.field textarea,input,select,textarea{font:inherit}input,select,textarea{width:100%;border:1px solid #d7dfd6;border-radius:10px;padding:12px 13px;background:#fff;color:#25332d;min-height:47px}input:focus,select:focus,textarea:focus{outline:2px solid #a9c1a9;outline-offset:1px}textarea{min-height:90px;resize:vertical}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:10px;background:#476b54;color:#fff;padding:11px 20px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}.button:hover{background:#365740}.button:disabled{opacity:.55;cursor:wait}.button.alt{background:#e9efe8;color:#385842}.button.ghost{background:#fff;color:#385842;border:1px solid #a5b8a7}.button.danger{background:#b4544c}.button.small{min-height:34px;padding:6px 10px;font-size:12px}.button.full{width:100%}.location-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.location-option{border:2px solid #e2e9df;border-radius:14px;overflow:hidden;cursor:pointer;position:relative}.location-option:has(input:checked){border-color:#52765c;background:#f3f8f2}.location-option input{position:absolute;opacity:0;width:1px;height:1px}.location-option img{width:100%;height:140px;object-fit:cover;display:block}.location-option strong,.location-option small{display:block;padding:0 14px}.location-option strong{margin-top:12px}.location-option small{font-size:12px;color:#7f8c82;margin:3px 0 14px}.slot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.slot-grid label{border:1px solid #d4e0d5;border-radius:9px;padding:9px 3px;text-align:center;cursor:pointer}.slot-grid label:has(input:checked){background:#486d54;color:#fff;border-color:#486d54}.slot-grid input{position:absolute;opacity:0;width:1px;height:1px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:6px}.checks label{font-size:13px}.checks input{width:auto;min-height:0;margin-right:6px}.notice{padding:13px 15px;border-radius:10px;background:#eef4ed;color:#45644b;font-size:13px;margin:16px 0}.notice.error{background:#fff0eb;color:#a14535}.side-card{position:sticky;top:20px}.side-card h2{font-family:Georgia,"Noto Serif TC",serif;font-weight:500;font-size:29px}.detail{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #e7ebe6}.detail span{color:#78867c;font-size:13px}.detail strong{text-align:right;font-size:14px}.aux-links{display:flex;gap:10px;margin-top:20px}.aux-links a{font-size:13px;color:#4e7458}.hidden{display:none!important}.admin-shell{max-width:1320px;margin:auto;padding:34px 24px 70px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-nav{display:flex;gap:8px;margin:20px 0}.admin-nav a{padding:8px 13px;border-radius:9px;background:#e7ede6;text-decoration:none;font-size:13px;font-weight:700}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;min-width:850px}.table th,.table td{text-align:left;padding:13px;border-bottom:1px solid #e9ede8;vertical-align:top;font-size:13px}.table th{color:#7a877d;font-weight:700}.table td form{display:inline-block;margin:2px}.tag{display:inline-block;border-radius:20px;background:#eef3ec;color:#527158;padding:3px 9px;font-size:12px}.tag.pending{background:#fff2dc;color:#9d7433}.tag.cancelled,.tag.released{background:#f1efed;color:#847b76}details{margin:6px 0}summary{cursor:pointer;color:#4e7358;font-size:12px}.compact-form{display:flex;gap:6px;align-items:center;margin-top:8px}.compact-form input{min-width:100px;padding:6px;min-height:34px}.pagination{display:flex;justify-content:center;gap:12px;margin-top:20px}.center-card{max-width:460px;margin:70px auto;padding:32px}.center-card h1{font-size:29px;margin:0 0 20px}.result{text-align:center;padding:50px 20px}.result h1{font-family:Georgia,"Noto Serif TC",serif;font-weight:500}.result .reference{font-weight:800;font-size:20px;letter-spacing:.06em}#status-message{min-height:24px}@media(max-width:800px){.layout{grid-template-columns:1fr}.side-card{position:static}.intro{display:block}.shell{padding:32px 16px 60px}.card{padding:22px}.location-option img{height:110px}.site-header{padding:0 16px}.header-note{display:none}}@media(max-width:440px){.grid-2{grid-template-columns:1fr}.slot-grid{grid-template-columns:repeat(3,1fr)}.checks{grid-template-columns:1fr}}

[hidden]{display:none!important}
.site-nav{display:flex;align-items:center;gap:8px}
.site-nav a{padding:8px 12px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700;color:#65776b;white-space:nowrap}
.site-nav a[aria-current="page"]{background:#e9efe8;color:#365740}
.booking-shell{max-width:768px}
.booking-intro{margin-bottom:24px}
.booking-card,.utility-card{min-width:0}
.booking-progress{display:flex;justify-content:space-between;gap:12px;color:#527158;font-size:13px;font-weight:800}
.step-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;list-style:none;padding:0;margin:18px 0 32px}
.step-list li{min-width:0;border-top:4px solid #e3e9e1;padding-top:9px;text-align:center;color:#829087;font-size:12px;font-weight:700}
.step-list li[aria-current="step"]{border-color:#52765c;color:#365740}
.booking-step h2{font-family:Georgia,"Noto Serif TC",serif;font-weight:500;font-size:27px;margin:0 0 22px;outline:none}
.booking-step,.field,.grid-2{min-width:0}
.field input,.field select,.field textarea{min-width:0;max-width:100%}
.booking-calendar{min-width:0;border:1px solid #dfe7dd;border-radius:14px;padding:14px;background:#fff}
.calendar-toolbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin-bottom:10px}
.calendar-toolbar strong{text-align:center;font-size:17px}
.calendar-toolbar button{width:44px;height:44px;border:0;border-radius:10px;background:#edf3ec;color:#365740;font:inherit;font-size:27px;cursor:pointer}
.calendar-toolbar button:disabled{opacity:.4;cursor:default}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.calendar-weekdays{margin-bottom:4px;color:#859188;font-size:12px;font-weight:700}
.calendar-weekdays span{padding:6px 0}
.calendar-day{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:43px;padding:4px 1px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#a8b1aa;font:inherit;font-size:15px}
.calendar-day.is-available{border-color:#d5e5d6;background:#f1f7f1;color:#365740;cursor:pointer}
.calendar-day.is-full{background:#faf2ef;color:#9f7770}
.calendar-day.is-selected{border-color:#476b54;background:#476b54;color:#fff}
.calendar-day.is-available::after,.calendar-day.is-full::after{content:"";position:absolute;bottom:6px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor}
.calendar-day:focus-visible,.calendar-toolbar button:focus-visible{outline:2px solid #a9c1a9;outline-offset:2px}
.calendar-message{grid-column:1/-1;padding:30px 0;color:#738078;font-size:13px}
.calendar-retry{grid-column:1/-1;justify-self:center}
.calendar-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;margin-top:16px;color:#738078;font-size:12px}
.calendar-legend span{display:flex;align-items:center;gap:5px}
.calendar-legend i{display:block;width:8px;height:8px;border-radius:50%;background:#52765c}
.calendar-legend i.full{background:#ba8a80}
.calendar-legend i.closed{background:#cbd2ca}
.location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.location-option{min-width:0;display:block}
.location-option:focus-within{outline:2px solid #a9c1a9;outline-offset:2px}
.location-copy{display:block;min-width:0;padding:0 14px 14px}
.location-option strong,.location-option small{padding:0;overflow-wrap:anywhere}
.location-option small{margin-bottom:0}
.slot-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}
.slot-message{grid-column:1/-1}
.slot-grid label:focus-within{outline:2px solid #a9c1a9;outline-offset:2px}
.checks{gap:10px 16px;margin-bottom:8px}
.checks label{display:flex;align-items:flex-start;min-width:0}
.checks input{flex:none;margin:4px 8px 0 0}
.visit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;padding:14px;border-radius:12px;background:#f4f7f2}
.visit-summary div{min-width:0}
.visit-summary span,.visit-summary strong{display:block}
.visit-summary span{font-size:12px;color:#78867c}
.visit-summary strong{font-size:14px;overflow-wrap:anywhere}
.step-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.step-actions .button:last-child{margin-left:auto}
#status-message:empty{display:none}
.utility-shell{max-width:720px}
.utility-card{max-width:640px}
.lookup-details{margin:0}
.lookup-details div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e8ece6}
.lookup-details dt{color:#738078;font-size:13px}
.lookup-details dd{margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}
.lookup-result{margin-top:22px}
/* Admin workspace */
.admin-login-body{min-height:100vh;display:grid;place-items:center;background:#f3f4ef}.admin-login-body main{width:100%;padding:20px}.admin-login-body .center-card{margin:auto}
.admin-body{background:#f3f4ef;min-height:100vh}
.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}
.admin-sidebar{display:flex;flex-direction:column;gap:26px;background:#fff;border-right:1px solid #e2e7df;padding:27px 15px 20px}
.admin-brand{display:block;padding:0 13px;color:#25372c;text-decoration:none;font-size:22px;font-weight:800;letter-spacing:.08em;line-height:1.2}
.admin-brand span{display:block;margin-top:6px;color:#819285;font-size:11px;font-weight:700;letter-spacing:.16em}
.admin-nav{display:flex;flex-direction:column;gap:4px;margin:0}
.admin-nav a{display:block;padding:11px 13px;border-radius:9px;background:transparent;color:#526559;text-decoration:none;font-size:14px;font-weight:700}
.admin-nav a:hover,.admin-nav a[aria-current="page"]{background:#e8efe7;color:#31543b}
.admin-sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;padding:14px 12px 0;border-top:1px solid #e7ebe5;color:#68786d;font-size:12px}
.admin-sidebar-bottom button{border:0;background:transparent;color:#31543b;font:inherit;font-weight:700;cursor:pointer}
.admin-main{min-width:0;max-width:1600px;width:100%;margin:0 auto;padding:28px 30px 48px}
.admin-page-header{margin-bottom:18px}.admin-page-header h1{margin:0;font-size:27px;line-height:1.25;letter-spacing:.02em}
.admin-panel{min-width:0;margin-bottom:18px;padding:20px 22px;background:#fff;border:1px solid #e3e8e1;border-radius:14px;box-shadow:0 3px 18px #1d352706}
.admin-panel h2{margin:0;font-size:17px}.admin-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.admin-panel-heading span{color:#809086;font-size:12px}
.admin-filters{display:grid;grid-template-columns:minmax(130px,1fr) minmax(150px,1.25fr) minmax(140px,1fr) auto;align-items:end;gap:12px;margin-bottom:17px;padding-bottom:17px;border-bottom:1px solid #e9ede7}
.admin-filters .field,.admin-form-row .field{margin:0}.admin-filters .button{min-height:41px;padding:8px 21px}.admin-main input:not([type="checkbox"]):not([type="hidden"]),.admin-main select{min-height:41px;padding:8px 11px}
.admin-main .table{min-width:780px}.admin-main .table th,.admin-main .table td{padding:10px 11px}.admin-main .table th:first-child,.admin-main .table td:first-child{padding-left:0}.admin-main .table th:last-child,.admin-main .table td:last-child{padding-right:0}
.admin-main .table tbody tr:last-child td{border-bottom:0}.admin-main .table td form{margin:2px 3px 2px 0}.admin-empty{padding:24px 0!important;color:#748078}
.admin-form-panel h2{margin-bottom:16px}.admin-form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}.admin-hour-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin-top:3px}.admin-hour-grid label{display:flex;align-items:center;justify-content:center;gap:5px;min-height:39px;border:1px solid #dfe8dc;border-radius:8px;font-size:12px;cursor:pointer}.admin-hour-grid label:has(input:checked){border-color:#53745a;background:#edf4ec;color:#31543b}.admin-hour-grid input{width:auto;min-height:0;margin:0}.admin-form-panel>.button,.admin-form-panel form>.button{min-height:41px;padding:8px 18px}
.admin-account-form .admin-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-accounts-table{min-width:700px!important}.admin-accounts-table td:last-child{min-width:230px}.admin-password-form{display:flex!important;align-items:center;gap:6px;margin:7px 0!important}.admin-password-form input{width:130px;min-width:0;font-size:12px}.admin-accounts-table details{display:inline-block;margin:0 10px 0 0}.admin-accounts-table summary{font-size:13px;font-weight:700}
@media(max-width:960px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{gap:12px;padding:13px 18px}.admin-brand{padding:0;font-size:19px}.admin-brand span{display:inline;margin:0 0 0 10px;font-size:10px}.admin-nav{flex-direction:row;overflow-x:auto;white-space:nowrap}.admin-nav a{padding:8px 12px}.admin-sidebar-bottom{position:absolute;top:16px;right:18px;margin:0;padding:0;border:0}.admin-main{padding:22px 18px 36px}}
@media(max-width:640px){.admin-sidebar{padding:12px}.admin-sidebar-bottom span{display:none}.admin-main{padding:18px 12px 30px}.admin-page-header h1{font-size:23px}.admin-panel{padding:16px}.admin-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filters .button{width:100%}.admin-form-row,.admin-account-form .admin-form-row{grid-template-columns:1fr}.admin-hour-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:800px){.site-header{height:auto;min-height:74px;gap:8px;padding:12px 16px;flex-wrap:wrap}.site-nav{margin-left:auto}.booking-shell,.utility-shell{padding-top:28px}.location-option img{height:150px}}
@media(max-width:600px){.site-header{justify-content:center}.brand{margin-right:auto}.site-nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.site-nav a{text-align:center;padding:8px 3px;font-size:12px}.booking-intro h1,.utility-shell .intro h1{font-size:clamp(30px,8vw,40px)}.location-grid{grid-template-columns:1fr}.location-option{display:grid;grid-template-columns:120px minmax(0,1fr)}.location-option img{height:128px;min-height:0}.location-copy{align-self:center;padding:12px}.location-option strong{margin-top:0}.location-option small{margin-top:6px}.visit-summary{grid-template-columns:1fr}.visit-summary div{display:flex;justify-content:space-between;gap:12px}.visit-summary strong{text-align:right}.step-list{gap:4px}.step-list li{font-size:11px}.step-actions .button{flex:1}.booking-step h2{font-size:24px}}
