/* sarabun-thai-400-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/sarabun-thai-400-normal.woff2) format('woff2'), url(./fonts/sarabun-thai-400-normal.woff) format('woff');
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}

/* sarabun-vietnamese-400-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/sarabun-vietnamese-400-normal.woff2) format('woff2'), url(./fonts/sarabun-vietnamese-400-normal.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* sarabun-latin-ext-400-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/sarabun-latin-ext-400-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-ext-400-normal.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sarabun-latin-400-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/sarabun-latin-400-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-400-normal.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* sarabun-thai-500-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./fonts/sarabun-thai-500-normal.woff2) format('woff2'), url(./fonts/sarabun-thai-500-normal.woff) format('woff');
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}

/* sarabun-vietnamese-500-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./fonts/sarabun-vietnamese-500-normal.woff2) format('woff2'), url(./fonts/sarabun-vietnamese-500-normal.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* sarabun-latin-ext-500-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./fonts/sarabun-latin-ext-500-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-ext-500-normal.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sarabun-latin-500-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./fonts/sarabun-latin-500-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-500-normal.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* sarabun-thai-600-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(./fonts/sarabun-thai-600-normal.woff2) format('woff2'), url(./fonts/sarabun-thai-600-normal.woff) format('woff');
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}

/* sarabun-vietnamese-600-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(./fonts/sarabun-vietnamese-600-normal.woff2) format('woff2'), url(./fonts/sarabun-vietnamese-600-normal.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* sarabun-latin-ext-600-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(./fonts/sarabun-latin-ext-600-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-ext-600-normal.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sarabun-latin-600-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(./fonts/sarabun-latin-600-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-600-normal.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* sarabun-thai-700-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./fonts/sarabun-thai-700-normal.woff2) format('woff2'), url(./fonts/sarabun-thai-700-normal.woff) format('woff');
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}

/* sarabun-vietnamese-700-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./fonts/sarabun-vietnamese-700-normal.woff2) format('woff2'), url(./fonts/sarabun-vietnamese-700-normal.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* sarabun-latin-ext-700-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./fonts/sarabun-latin-ext-700-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-ext-700-normal.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* sarabun-latin-700-normal */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./fonts/sarabun-latin-700-normal.woff2) format('woff2'), url(./fonts/sarabun-latin-700-normal.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}




:root{
  --forest:#4b5137;--forest-dark:#343829;--olive:#737257;--earth:#8a7254;--sand:#e5dccb;
  --cream:#f5f0e6;--paper:#fbfaf6;--ink:#302f29;--muted:#746f63;--line:#d6cdbc;--white:#fffdf8;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;background:var(--paper);overflow-x:hidden;color:var(--ink);font-family:"Noto Sans",Arial,sans-serif;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:focus-visible,.menu-toggle:focus-visible{outline:3px solid var(--earth);outline-offset:3px}
.container{width:min(1160px,92%);margin:auto}
header{position:sticky;top:0;z-index:50;background:rgba(245,240,230,.98);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.nav{position:relative;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;min-width:245px}.brand-mark{width:42px;height:42px;border:1px solid var(--forest);border-radius:50%;display:grid;place-items:center;color:var(--forest);font-size:22px}.brand strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);text-transform:uppercase}
nav{display:flex;align-items:center;gap:20px;font-size:13px}nav a{padding:27px 0 22px;border-bottom:2px solid transparent;white-space:nowrap}nav a:hover,nav a.active{border-color:var(--forest);color:var(--forest)}.menu-toggle{display:none}
.hero{min-height:560px;background:linear-gradient(90deg,rgba(35,38,25,.72),rgba(35,38,25,.18)),url("assets/gallery-01.jpg") center/cover}.hero-inner{min-height:560px;display:flex;align-items:end;padding:0 0 72px}.hero-copy{max-width:700px;color:white}.hero-kicker{letter-spacing:3px;text-transform:uppercase;font-size:11px}.hero h1{font-size:clamp(42px,6vw,70px);margin:14px 0}.hero p{font-size:17px;max-width:650px;color:#f5f1e8}
.page-hero{background:var(--sand);border-bottom:1px solid var(--line);padding:56px 0 44px}.page-hero h1{font-size:clamp(42px,5vw,56px);margin:8px 0}.eyebrow{text-transform:uppercase;letter-spacing:2.6px;font-size:10px;color:var(--olive)}
.section{padding:68px 0}.section.alt{background:var(--cream)}.section-head{max-width:820px;margin-bottom:36px}.section-head h2{font-size:40px;margin:9px 0 14px}
.content{font-size:16px;max-width:1000px}.content p{margin:0 0 20px}.content h2{font-size:31px;margin:42px 0 15px;color:var(--forest-dark);letter-spacing:.2px}.content h3{font-size:25px;margin:30px 0 12px}.content ol,.content ul{padding-left:25px;margin:12px 0 26px}.content li{margin:9px 0;padding-left:4px}.content blockquote{border-left:3px solid var(--earth);padding:10px 0 10px 22px;color:var(--muted);margin:28px 0}.content hr{border:0;border-top:1px solid var(--line);margin:34px 0}
.about-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);gap:58px;align-items:start}.feature-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid var(--line);padding:7px;background:var(--white)}
.intro-note{background:var(--cream);border-left:4px solid var(--forest);padding:20px 24px;margin-bottom:30px}.course-list{display:grid;gap:16px}.course-card{display:grid;grid-template-columns:76px 1fr;gap:22px;background:var(--white);border:1px solid var(--line);padding:25px 27px}.course-number{font-family:Georgia,serif;font-size:31px;color:var(--earth)}.course-card h2{margin:0 0 5px;font-size:28px}.course-card p{margin:4px 0}.course-duration{font-size:17px}.donation-note{margin-top:30px;padding:28px;text-align:center;background:var(--sand);border:1px solid var(--line)}.donation-note p{margin:5px 0}
.checklist-wrap{background:var(--white);border:1px solid var(--line);padding:28px 30px}.checklist-wrap h2{margin-top:0}.checklist{margin:0!important}.checklist li{margin:15px 0}.checklist li strong,.checklist li span{display:block}.checklist li span{font-size:14px;color:var(--muted);margin-top:2px}.notice{background:#eee8db;border-left:4px solid var(--forest);padding:20px 24px;margin:30px 0}.notice>strong{font-family:Georgia,serif;font-size:22px;color:var(--forest-dark)}.numbered-notes p{padding:13px 0 13px 34px;border-bottom:1px solid var(--line);margin:0;position:relative}.numbered-notes p strong{position:absolute;left:0;color:var(--earth)}
.schedule-section{margin-bottom:45px}.section-label{font-family:Georgia,serif;color:var(--forest-dark);font-size:28px;margin-bottom:16px}.section-label span{font-family:"Noto Sans",Arial,sans-serif;font-size:13px;color:var(--muted);margin-left:7px}.schedule-table-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--white)}.schedule-table{width:100%;border-collapse:collapse;min-width:700px}.schedule-table th{background:var(--cream);font-family:Georgia,serif;font-weight:400;color:var(--forest-dark);text-align:left}.schedule-table th,.schedule-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}.schedule-table tr:last-child td{border-bottom:0}.schedule-table td:first-child{width:150px;white-space:nowrap;color:var(--earth);font-size:14px}.schedule-table td:nth-child(2){width:36%}.schedule-table td:nth-child(3){color:var(--muted);font-size:14px}
.rule-group{padding:0 0 32px;margin-bottom:34px;border-bottom:1px solid var(--line)}.rule-group:last-child{border-bottom:0}.rule-group h2{margin-top:0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.contact-card{background:var(--white);border:1px solid var(--line);padding:28px}.contact-card h2{font-size:28px;margin:0 0 18px}.contact-card dl{display:grid;grid-template-columns:100px 1fr;margin:22px 0 0}.contact-card dt,.contact-card dd{padding:9px 0;border-bottom:1px solid var(--line);margin:0}.contact-card dt{color:var(--muted)}.request-email{margin-top:24px!important;padding-top:18px;border-top:1px solid var(--line)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.gallery a{background:var(--white);border:1px solid var(--line);padding:7px;transition:.2s}.gallery a:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(60,50,35,.08)}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}.gallery span{display:block;padding:10px 8px 7px;font-size:13px;color:var(--muted)}
.article-content{max-width:820px;margin:auto}.article-content .meta{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin-bottom:22px}.article-content>p{margin-bottom:24px}.article-content ol>li{margin-bottom:18px}.article-content ul>li{margin-bottom:10px}.article-content strong{color:var(--forest-dark)}.read-link{font-size:13px;color:var(--forest);border-bottom:1px solid var(--line);padding-bottom:2px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:var(--white);border:1px solid var(--line);padding:26px}.card h3{margin:0 0 10px;font-size:24px;line-height:1.35}.card p{color:var(--muted);font-size:14px}.article-card{transition:.2s}.article-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(60,50,35,.08)}
footer{background:var(--forest-dark);color:#e8e2d5;padding:56px 0 24px;margin-top:20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer-grid h3{color:#fff;font-size:22px;margin-top:0}.footer-grid p{font-size:13px;color:#d2ccbe;margin:8px 0}.footer-grid a:hover{color:#fff}.footer-bottom{margin-top:34px;border-top:1px solid rgba(255,255,255,.15);padding-top:17px;font-size:11px;color:#bdb6a8}
@media(max-width:1100px){nav{gap:13px;font-size:12px}}@media(max-width:900px){nav{display:none}.menu-toggle{display:block;border:1px solid var(--line);background:none;padding:8px 12px;color:var(--forest)}.nav.open nav{display:flex;position:absolute;left:0;right:0;top:78px;background:var(--cream);padding:18px 4%;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.nav.open nav a{padding:5px 0;border:0}.cards,.gallery{grid-template-columns:1fr 1fr}.about-layout,.contact-grid,.footer-grid{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:15px;line-height:1.75}.container{width:min(94%,560px)}.section{padding:50px 0}.page-hero{padding:42px 0 34px}.page-hero h1{font-size:38px}.hero,.hero-inner{min-height:500px}.hero-inner{padding-bottom:52px}.about-layout{gap:35px}.cards,.gallery{grid-template-columns:1fr}.course-card{grid-template-columns:55px 1fr;padding:20px}.course-number{font-size:26px}.schedule-table{min-width:0}.schedule-table thead{display:none}.schedule-table,.schedule-table tbody,.schedule-table tr,.schedule-table td{display:block;width:100%}.schedule-table tr{padding:12px 15px;border-bottom:1px solid var(--line)}.schedule-table td{border:0!important;padding:5px 0}.schedule-table td:first-child{white-space:normal;width:auto}.schedule-table td::before{content:attr(data-label);display:block;text-transform:uppercase;letter-spacing:1px;font-size:9px;color:var(--olive);margin-bottom:2px}.schedule-table td:first-child{font-size:13px}.schedule-table td:nth-child(2),.schedule-table td:nth-child(3){width:auto}.contact-card{padding:22px}.contact-card dl{grid-template-columns:85px 1fr}}
.qa-list{display:grid;gap:18px}.qa-item{background:var(--white);border:1px solid var(--line);padding:24px 26px}.qa-item h2{font-size:22px;margin:0 0 12px;color:var(--forest-dark)}.qa-item p{margin:0}.qa-item strong{color:var(--earth)}

/* Refined gallery */
.gallery-section .content{max-width:1200px}
.gallery-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:44px;align-items:end;margin-bottom:34px}
.gallery-intro h2{margin:8px 0 0;max-width:700px}
.gallery-intro p{margin:0;color:var(--muted);line-height:1.85}
.gallery-refined{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gallery-refined a{padding:8px;border-radius:2px}
.gallery-refined img{aspect-ratio:4/3;object-fit:cover}
.gallery-refined span{font-size:13px;line-height:1.5;min-height:38px}
.gallery-note{margin:28px 0 0;text-align:center;font-size:12px;color:var(--muted);letter-spacing:.2px}
@media(max-width:900px){.gallery-intro{grid-template-columns:1fr;gap:18px}.gallery-refined{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.gallery-refined{grid-template-columns:1fr}.gallery-intro h2{font-size:28px}}

/* Mobile/readability hardening */
.content,.card,.course-card,.contact-card,.notice,.schedule-table td,.schedule-table th{
  overflow-wrap:anywhere;
}
@media(max-width:900px){
  .nav.open nav{z-index:60;max-height:calc(100vh - 78px);overflow:auto}
}
@media(max-width:560px){
  .schedule-table tr{background:var(--white)}
  .schedule-table td{font-size:15px}
  .schedule-table td::before{font-weight:600}
  .content h2{font-size:27px;line-height:1.35}
  .content h3{font-size:22px;line-height:1.4}
  .section-head h2{font-size:32px;line-height:1.3}
}


/* Google Reviews */
.google-reviews{
  margin-top:56px;
  padding:34px;
  background:var(--white);
  border:1px solid var(--line);
  border-top:4px solid var(--olive);
}
.google-reviews-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:36px;
  align-items:center;
}
.google-reviews h2{margin:8px 0 10px}
.google-reviews-head p{margin:0;max-width:720px;color:var(--muted);line-height:1.8}
.google-rating{
  min-width:170px;
  padding:18px 20px;
  text-align:center;
  background:var(--paper);
  border:1px solid var(--line);
}
.google-rating strong{display:block;font-family:Georgia,serif;font-size:38px;line-height:1;color:var(--forest)}
.google-rating .stars{display:block;letter-spacing:2px;margin:8px 0 5px;color:#9a722f;font-size:16px}
.google-rating small{color:var(--muted);font-size:12px}
.google-reviews-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.google-button{display:inline-block;padding:12px 18px;background:var(--forest);color:#fff;text-decoration:none;border:1px solid var(--forest);font-size:13px;letter-spacing:.2px}
.google-button:hover{background:var(--olive);border-color:var(--olive)}
.google-attribution{font-size:11px;color:var(--muted)}
@media(max-width:700px){
  .google-reviews{padding:24px}
  .google-reviews-head{grid-template-columns:1fr;gap:22px}
  .google-rating{width:100%;box-sizing:border-box}
}

/* Article archive — responsive classic card/list view */
.article-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.article-row{display:grid;grid-template-columns:58px 1fr 28px;align-items:center;gap:18px;padding:22px 22px;background:var(--white);border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.article-row:hover{background:var(--cream);border-color:#c8b99e;transform:translateY(-2px);box-shadow:0 8px 20px rgba(60,50,35,.07)}
.article-number{font-family:Georgia,serif;font-size:23px;color:var(--olive);letter-spacing:.5px}
.article-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.article-category{text-transform:uppercase;letter-spacing:1.5px;font-size:10px;color:var(--muted)}
.article-title{font-family:Georgia,serif;font-size:20px;line-height:1.4;color:var(--forest-dark);overflow-wrap:anywhere}
.article-arrow{font-size:22px;color:var(--olive);text-align:right}
.article-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:28px;color:var(--forest);font-size:13px;text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:5px}
.article-back:hover{color:var(--earth);border-color:var(--earth)}
.article-content{background:var(--white);border:1px solid var(--line);padding:42px 48px;box-shadow:0 5px 18px rgba(60,50,35,.04)}
.article-content .meta{padding-bottom:18px;border-bottom:1px solid var(--line)}
.article-content .qa-item{box-shadow:none}
@media(max-width:850px){.article-list{grid-template-columns:1fr}.article-content{padding:32px 28px}}
@media(max-width:560px){.article-row{grid-template-columns:38px 1fr 20px;gap:12px;padding:18px 15px}.article-number{font-size:18px}.article-title{font-size:17px}.article-category{font-size:9px;letter-spacing:1.1px}.article-arrow{font-size:18px}.article-content{padding:24px 18px}.article-content .meta{margin-bottom:18px}}


/* Final typography + mobile navigation refinement */
body{font-size:16px;line-height:1.8}
.content{font-size:16px;line-height:1.85}
.article-content{font-size:17px;line-height:1.9;max-width:860px}
.article-content p{margin:0 0 22px}
.article-content h2{font-size:30px;line-height:1.4;margin:42px 0 16px}
.article-content h3{font-size:24px;line-height:1.45;margin:30px 0 14px}
.article-content li{line-height:1.85}
.menu-toggle{font-family:inherit;font-size:13px;letter-spacing:.5px;cursor:pointer;min-width:72px}
@media(max-width:900px){
  body{font-size:16px}
  .content{font-size:16px;line-height:1.85}
  .article-content{font-size:16.5px;line-height:1.9}
  .article-content h2{font-size:28px}
  .article-content h3{font-size:23px}
}
@media(max-width:560px){
  body{font-size:16px;line-height:1.8}
  .content{font-size:16px;line-height:1.85}
  .article-content{font-size:16px;line-height:1.9;padding:24px 20px}
  .article-content p{margin-bottom:21px}
  .article-content h2{font-size:26px;line-height:1.4;margin-top:34px}
  .article-content h3{font-size:22px;line-height:1.45;margin-top:26px}
  .article-content li{line-height:1.85}
  .page-hero h1{font-size:36px;line-height:1.25}
  .menu-toggle{font-size:12px;padding:10px 13px}
  .nav.open nav{top:78px;padding:16px 5%;gap:7px}
  .nav.open nav a{font-size:15px;padding:7px 0}
}

/* Final schedule mobile typography normalization */
@media (max-width:560px){
  .schedule-table td,
  .schedule-table td:first-child,
  .schedule-table td:nth-child(2),
  .schedule-table td:nth-child(3){
    font-size:16px;
    line-height:1.8;
  }
  .schedule-table td::before{
    font-size:11px;
    line-height:1.4;
    letter-spacing:1px;
    margin-bottom:4px;
  }
  .schedule-table td strong{font-size:16px;line-height:1.8;}
  .schedule-table tr{padding:14px 15px;}
  .section-label{font-size:27px;line-height:1.35;}
  .section-label span{font-size:13px;}
}

.review-card{border:1px solid #d8dfd5;border-radius:12px;padding:1.25rem;margin:1rem 0}.apply-button{display:inline-block;background:#385747;color:white!important;padding:.75rem 1.1rem;border-radius:6px;text-decoration:none;border:0;cursor:pointer}#application-form fieldset{border:1px solid #ddd;padding:1rem;margin:1rem 0}#application-form label{display:block;margin:.8rem 0}#application-form input,#application-form select,#application-form textarea{display:block;width:100%;max-width:38rem;padding:.6rem;font:inherit;box-sizing:border-box}.review-card input{margin-right:.5rem}

.ack-missing{display:block;color:#a32020;border:1px solid #b42318;background:#fff5f5;padding:.65rem;border-radius:6px}.ack-missing input{accent-color:#b42318}

/* Course application: scoped, mobile-first form styling */
#application-panel{max-width:760px;margin:0 auto}#application-panel>p:first-child{background:#f5f7f2;border-left:3px solid #8a9b7c;padding:12px 16px;border-radius:6px;color:#52604e;font-size:.95rem}#application-form{display:grid;gap:22px;margin-top:26px}#application-form fieldset{min-width:0;margin:0;padding:24px;border:1px solid #e0e5dc;border-radius:14px;background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;box-shadow:0 3px 16px rgba(40,55,35,.035)}#application-form legend{padding:0 9px;color:#354b37;font-size:1.15rem;font-weight:600}#application-form label{display:flex;flex-direction:column;gap:7px;color:#38433a;font-size:.94rem;font-weight:500}#application-form input,#application-form select,#application-form textarea{box-sizing:border-box;width:100%;min-height:46px;padding:11px 13px;border:1px solid #cfd8cc;border-radius:8px;background:#fbfcfa;color:#26362a;font:inherit;font-size:16px;transition:border-color .15s,box-shadow .15s}#application-form textarea{resize:vertical;min-height:100px}#application-form fieldset:last-of-type label{grid-column:1/-1}#application-form :is(input,select,textarea):focus-visible{outline:2px solid #819b78;outline-offset:2px;border-color:#819b78;background:#fff}#application-form>p{margin:0;color:#687267;font-size:.9rem}#application-form>button{min-height:48px;border:0;border-radius:9px;padding:12px 22px;font:inherit;font-weight:600;background:#e4e9e1;color:#697467;cursor:not-allowed}@media(max-width:600px){#application-form fieldset{grid-template-columns:1fr;padding:18px 15px;gap:15px}#application-form{gap:18px}#application-form legend{font-size:1.05rem}}

/* Accessible, mobile-first foundation shared by public pages and workspace. */
[hidden]{display:none!important}
:focus-visible{outline:3px solid #6f633a;outline-offset:4px}
.skip-link{position:fixed;top:8px;left:8px;z-index:1000;background:#fff;color:#253725;padding:12px 18px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
button,input,select,textarea{font:inherit}button{min-height:44px}button:not(:disabled){cursor:pointer}
a{text-underline-offset:4px}.content p a,.content li a{text-decoration:underline}
h1,h2,h3{line-height:1.3}#review-error{color:#932420;font-weight:600}
.review-card label{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;cursor:pointer}
.review-card input{width:22px;height:22px;flex-shrink:0;margin-top:4px;accent-color:#385747}
nav a{min-height:44px;display:flex;align-items:center}
.workspace-header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:16px 0}
.workspace-header .brand{min-width:0;flex-wrap:wrap}.status-badge{font-size:13px;background:#e9e6d8;color:#3a402e;border:1px solid #bdbfae;border-radius:20px;padding:6px 12px}
.workspace-main{max-width:1000px;padding:40px 0 72px}.workspace h1{font-size:clamp(28px,5vw,42px)}
#session-status{padding:16px;border:1px solid #b6bfac;background:#edf0e7;margin:24px 0 16px;border-radius:8px}
#retry-session{padding:10px 18px;background:#385747;color:white;border:0;border-radius:6px}
#sync-status{font-size:14px;color:#4e5547}.workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:28px 0;font-size:16px}
.workspace-tabs a{white-space:normal;padding:12px 16px;background:#e9e7db;border:1px solid #c6c8b7;border-radius:6px}
.workspace-tabs a[aria-current]{background:#385747;color:white}#module-panel{background:#fffdf8;padding:24px;border:1px solid #d6cdbc;border-radius:10px}
#module-panel ul{padding-left:20px}#module-panel li{margin:10px 0}#module-panel button{padding:10px 14px;border:1px solid #c9cec3;background:#f2f3ec;color:#4e5547;border-radius:5px;max-width:100%;text-align:left}
/* Navigation stays visible when JavaScript is unavailable. */
@media(max-width:1199px){
 .nav{flex-wrap:wrap;gap:8px;padding:14px 0}.nav nav{width:100%;display:flex;flex-wrap:wrap;gap:2px 18px;position:static;background:transparent;padding:6px 0}
 .nav nav a{font-size:15px;padding:8px 0}.menu-toggle{display:none}
 .js .nav{flex-wrap:nowrap;min-height:78px;padding:0}.js .menu-toggle{display:block;background:transparent;border:1px solid #737257;border-radius:4px;color:#343829;padding:10px 13px}
 .js .nav nav{display:none}.js .nav.open nav{display:flex;position:absolute;top:100%;left:0;width:100%;flex-direction:column;align-items:stretch;background:#f5f0e6;padding:16px;max-height:calc(100dvh - 90px);overflow:auto;box-shadow:0 12px 20px #302f291a}
}
@media(min-width:1200px){.workspace-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.brand{min-width:0}.brand strong{font-size:17px}.brand small{letter-spacing:1px}.brand-mark{width:34px;height:34px;flex-shrink:0}.nav{gap:10px}.workspace-tabs{grid-template-columns:1fr}#module-panel{padding:18px}.review-card{padding:16px}.hero h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
:root{--muted:#625e52;--olive:#626147}
:root{--earth:#786247}
#open-review{margin-top:24px;max-width:100%;padding:12px 20px;background:var(--forest);color:#fffdf8;border:1px solid var(--forest);border-radius:7px;line-height:1.5;text-align:center}
#open-review:hover{background:var(--forest-dark)}
#application-form>button:not(:disabled){background:var(--forest);color:#fffdf8;cursor:pointer}

/* Narrow public navigation and touch controls. */
@media(max-width:1199px){
 .js .nav .brand{flex:1 1 auto;min-width:0}
 .js .nav .brand>span:last-child{min-width:0}
 .js .nav .menu-toggle{flex:0 0 auto;min-height:44px}
 .js .nav.open #site-navigation{z-index:60;max-width:100%;overscroll-behavior:contain}
 .js .nav.open #site-navigation a{white-space:normal;min-height:44px}
}
@media(max-width:600px){
 body{font-size:16px}
 .content,.contact-card,.review-card,#application-form,#application-form fieldset{min-width:0;max-width:100%}
 #application-form label{min-width:0;overflow-wrap:anywhere}
 #application-form :is(input,select,textarea){min-width:0;max-width:100%}
 .review-card label{overflow-wrap:anywhere}
 .guest-wizard .guest-action,.guest-wizard .guest-option{min-height:44px}
}

/* Familiar KH14/HmongThai typography and calm green surfaces, applied after legacy rules. */
:root{--forest:#2e5d46;--forest-dark:#214733;--olive:#536c52;--earth:#756044;--sand:#e7ecdf;--cream:#f2f6ec;--paper:#f9fbf6;--ink:#263d30;--muted:#58675a;--line:#d9e3d3;--white:#fff;--ui-radius:14px;--ui-shadow:0 8px 28px rgba(35,66,42,.045)}
html,body,button,input,select,textarea,h1,h2,h3,h4,.brand strong,.course-number,.article-title,.section-label,.google-rating strong,.schedule-table th{font-family:'Sarabun',Tahoma,sans-serif}
body{font-size:16px;line-height:1.75;background:var(--paper)}
h1{font-size:30px!important;line-height:1.4!important;font-weight:600;letter-spacing:0}h2,.content h2,.section-head h2{font-size:22px;line-height:1.5;font-weight:600}h3,.content h3{font-size:18px;line-height:1.55;font-weight:600}
header{background:#fff;border-color:var(--line)}.brand strong{font-size:20px;font-weight:600}.brand small{font-size:13px;letter-spacing:0;text-transform:none;line-height:1.4}.brand-mark{border-radius:12px;background:#edf3e7;border-color:var(--line)}
.page-hero{background:#edf3e6;padding:36px 0 30px}.eyebrow{font-size:12px;letter-spacing:.1em;color:#516447}.section{padding:44px 0}.content,.article-content{font-size:16px;line-height:1.8}.article-content{box-shadow:var(--ui-shadow);border-radius:var(--ui-radius)}
.article-row,.course-card,.contact-card,.checklist-wrap,.google-reviews{border-color:var(--line);border-radius:12px;box-shadow:var(--ui-shadow)}.article-row:nth-child(even){background:#f2f6ed}.article-title{font-size:19px;font-weight:500}.article-number{font-size:22px}.article-category{font-size:12px;letter-spacing:.04em}
footer{background:#edf2e8;color:var(--ink)}.footer-grid h3{font-size:18px;color:var(--ink)}.footer-grid p{color:var(--muted)}.footer-grid a:hover{color:var(--forest-dark)}.footer-bottom{font-size:13px;color:var(--muted)}
.workspace{background:#f4f7ef;color:var(--ink)}.workspace main{max-width:none}.workspace h1{font-size:30px!important}.workspace h2{font-size:22px}.workspace h3{font-size:18px}
.staff-topbar{position:relative;min-height:84px;display:flex;align-items:center;gap:20px;padding:16px max(20px,calc((100vw - 1440px)/2));background:#fff;border-bottom:1px solid var(--line)}
.staff-brand{display:flex;align-items:center;gap:12px;margin-right:auto}.staff-brand strong{display:block;font-size:22px;line-height:1.25}.staff-brand small{display:block;font-size:13px;color:var(--muted)}.staff-mark{width:44px;height:44px;display:grid;place-items:center;background:#e6efdd;border:1px solid #d8e5cf;border-radius:13px;color:#2e5d46;font-size:17px;font-weight:600}
#staff-identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}#staff-identity>span{overflow-wrap:anywhere;max-width:240px}.ui-kicker{font-size:12px;letter-spacing:.09em;font-weight:600;color:#52694a}.ui-muted{font-size:14px;line-height:1.7;color:#58675a}
.login-layout{width:min(1100px,calc(100% - 40px));margin:50px auto 80px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:56px;align-items:center}.login-intro h1{margin:12px 0 16px}.login-intro>p{max-width:460px}.login-intro img{width:100%;max-width:460px;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:6px solid #fff;box-shadow:var(--ui-shadow);margin-top:28px}.login-card{padding:32px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--ui-shadow)}.login-card h2{margin:8px 0 16px}.login-card .wide{width:100%;margin:18px 0 0}
.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #cfddc7;border-radius:9px;background:#fff;color:#2b5138;font-size:15px;font-weight:500;line-height:1.5;text-align:center;white-space:normal}.ui-button:hover:not(:disabled){background:#eef5e8;border-color:#9bb98c}.ui-button.primary{background:#315f45;color:#fff;border-color:#315f45}.ui-button.primary:hover:not(:disabled){background:#234a33}.ui-button.subtle{background:#f2f6ec;border-color:#dfe8d8}.ui-button.danger{background:#fff0ec;color:#8b3428;border-color:#ecc7bb}.ui-button:disabled{background:#eaf0e5;color:#63735c;cursor:not-allowed;border-color:#dce6d5;box-shadow:none}
.ui-notice,#session-status{padding:14px 16px;border:1px solid #d8e4ce;border-radius:9px;background:#f2f7eb;color:#3f5d3e;font-size:15px;margin:16px 0}#session-status:empty,.ui-notice:empty{display:none}#auth-feedback{font-size:15px;color:#8b3428}
.staff-layout{width:min(1440px,100%);margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 84px)}.staff-sidebar{padding:28px 16px;background:#edf3e5;border-right:1px solid var(--line)}.staff-menu{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:15px}.staff-menu a{display:flex;min-height:46px;align-items:center;white-space:normal;padding:11px 14px;border:1px solid transparent;border-radius:9px;color:#435e3c}.staff-menu a[aria-current=page]{background:#fff;border-color:#cfdec3;color:#274e34;font-weight:600;box-shadow:0 3px 14px #294d3310}.staff-menu a:hover{background:#f8fbf5}.staff-sidebar #sync-status{font-size:13px;padding:24px 12px;color:#586b50}
.staff-content{min-width:0;padding:32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h1{margin:4px 0}.page-heading p{margin:0}.ui-panel{padding:26px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--ui-shadow)}.ui-panel h2{margin:0 0 8px}.ui-panel h3{margin:22px 0 10px}
.application-list,.account-list,.request-list{display:grid;gap:10px;margin:20px 0}.application-row,.team-row{display:flex;align-items:center;gap:18px;padding:18px 20px;border:1px solid #dfe7d8;border-radius:11px;background:#fbfcf8}.application-row:nth-child(even),.team-row:nth-child(even){background:#f1f6ea}.application-row>div,.team-row>div{flex:1;min-width:0}.application-row h3{font-size:18px;margin:4px 0}.application-row p,.team-row p{margin:3px 0 0}.team-row strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.ui-reference{font-size:13px;color:#52684a}.ui-status{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:#edf2d9;color:#4f5f28;padding:5px 12px;font-size:13px;white-space:nowrap}
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.metric-card{background:#f4f8ee;border:1px solid #dce7d2;padding:20px;border-radius:12px}.metric-card span{display:block;font-size:14px;color:#56684d}.metric-card strong{display:block;font-size:32px;font-weight:600;color:#2b593b;margin-top:5px}
.request-page{width:min(680px,calc(100% - 32px));padding:28px;margin:40px auto 80px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--ui-shadow)}.request-page h1{margin:8px 0}.request-page>button{margin-top:20px}.request-page form{margin-top:24px}
.ui-field{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:15px;font-weight:500;color:#34513a}.ui-field input:not([type=checkbox]),.ui-field select,.ui-field textarea{width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #cdddc4;border-radius:9px;background:#fcfdfa;color:#263d30;font-size:16px;line-height:1.6}.ui-field textarea{resize:vertical}.ui-field:has(input[type=checkbox]){flex-direction:row;align-items:center;min-height:44px;font-size:15px;font-weight:400;gap:12px;cursor:pointer}.ui-field:has(input[type=checkbox])>span{order:2}.ui-field input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#3e754f}.ui-field input:read-only{background:#f1f5ed;color:#506549}
.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.permission-groups fieldset{min-width:0;margin:0;padding:12px 16px;border:1px solid #dce6d5;border-radius:11px;background:#fafcf7}.permission-groups legend{font-size:16px;font-weight:600;color:#355d3d;padding:0 6px}.permission-groups label{margin:4px 0}.account-editor{margin:24px 0;padding:22px;border:1px solid #c6d9b8;background:#f7fbf2;border-radius:12px;scroll-margin-top:20px}.ui-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.staff-dialog{width:min(760px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:26px;border:1px solid #cdddc4;border-radius:14px;background:#fff;color:#263d30;box-shadow:0 24px 64px #1a332c33}.staff-dialog::backdrop{background:#21372b77}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-heading h2{margin:0}.detail-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 20px;margin:24px 0}.detail-grid dt{color:#5a6e51}.detail-grid dd{margin:0;overflow-wrap:anywhere}.staff-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.login-layout{gap:28px;grid-template-columns:1fr 1fr}.staff-layout{grid-template-columns:190px minmax(0,1fr)}.staff-content{padding:22px}.staff-sidebar{padding:22px 10px}.ui-panel{padding:20px}.application-row{flex-wrap:wrap}.application-row>div{flex-basis:65%}.application-row>button{margin-left:auto}.permission-groups{grid-template-columns:1fr}.metric-grid{gap:10px}.metric-card{padding:14px}}
@media(max-width:700px){h1,.workspace h1{font-size:26px!important}.page-hero{padding:28px 0 24px}.section{padding:32px 0}.brand strong{font-size:18px}.brand small{font-size:12px}.login-layout{grid-template-columns:1fr;margin:28px auto 50px;width:calc(100% - 28px)}.login-intro{padding:0 10px}.login-intro img{display:none}.login-intro h1 br{display:none}.login-card{padding:24px}.staff-topbar{padding:14px 16px;gap:12px;flex-wrap:wrap}.staff-topbar .status-badge{font-size:12px;padding:4px 10px}#staff-identity{width:100%;justify-content:space-between}.staff-layout{display:block}.staff-sidebar{padding:12px 14px;border-right:0;border-bottom:1px solid var(--line)}.staff-sidebar>p{display:none}.staff-menu{flex-direction:row;overflow-x:auto;gap:7px;padding-bottom:3px}.staff-menu a{flex-shrink:0;font-size:14px;min-height:44px;padding:9px 13px}.staff-content{padding:24px 14px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:16px}.page-heading .ui-button{padding:9px 12px;font-size:14px}.ui-panel{padding:18px 14px}.application-row,.team-row{padding:15px;gap:12px}.team-row{align-items:flex-start;flex-wrap:wrap}.team-row>div{flex-basis:65%}.application-row>div{flex-basis:100%}.application-row h3{font-size:18px}.application-row>button{margin-left:auto}.metric-grid{grid-template-columns:1fr}.metric-card{display:flex;align-items:center;justify-content:space-between;padding:18px}.metric-card strong{margin:0;font-size:28px}.account-editor{padding:18px 13px}.request-page{padding:24px 18px;margin-top:28px}.detail-grid{grid-template-columns:1fr;gap:4px}.detail-grid dd{margin-bottom:10px}.staff-dialog{padding:20px}.ui-actions>*{flex:1}}

.calendar-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin-top:18px}.room-calendar caption{text-align:left;padding:12px;font-size:16px;font-weight:600}.room-calendar th{background:#edf3e5;color:#294b32}.room-calendar th:first-child{position:sticky;left:0;z-index:1}.room-state.available{background:#15803d;color:#fff}.room-state.booked{background:#1d4ed8;color:#fff}.room-state.occupied{background:#b42318;color:#fff}.room-state.pending{background:#eab308;color:#1f2937}.room-state.maintenance{background:#c2410c;color:#fff}.room-state.disabled{background:#6d28d9;color:#fff}.facility-calendar{min-width:0}.ui-actions .ui-field{margin:0}

.room-calendar th.holiday,.calendar-legend .holiday{background:#be185d;color:#fff}

.calendar-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calendar-nav>strong{font-size:18px;min-width:145px}.calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.calendar-legend>span{padding:6px 12px;border-radius:7px;font-size:14px}.calendar-nav .ui-field{max-width:230px}@media(max-width:700px){.calendar-nav{gap:8px}.calendar-nav>strong{font-size:17px}.calendar-nav .ui-field{flex-basis:100%;max-width:100%}.calendar-nav .ui-button{min-width:44px}}

/* Date backgrounds darken by 50%; text keeps its own accessible colour. */
.calendar-click-cell{padding:0!important;--day-bg:#fff;--day-ink:#14251b;--day-hover-ink:#fff;background:var(--day-bg);color:var(--day-ink)}
.room-state.inactive{background:#d1d5db;color:#4b5563}.calendar-click-cell.inactive{--day-bg:#d1d5db;--day-ink:#4b5563;--day-hover-ink:#4b5563}
.calendar-click-cell.available,.calendar-click-cell.day-open{--day-bg:#15803d;--day-ink:#fff;--day-hover-ink:#fff}
.calendar-click-cell.booked{--day-bg:#1d4ed8;--day-ink:#fff}
.calendar-click-cell.occupied{--day-bg:#b42318;--day-ink:#fff}
.calendar-click-cell.pending{--day-bg:#eab308;--day-ink:#1f2937;--day-hover-ink:#000}
.calendar-click-cell.maintenance{--day-bg:#c2410c;--day-ink:#fff}
.calendar-click-cell.disabled{--day-bg:#6d28d9;--day-ink:#fff;--day-hover-ink:#fff}
.centre-closed{background:#be185d;color:#fff}
.calendar-click-cell.centre-closed{--day-bg:#be185d;--day-ink:#fff}
#module-panel .date-cell-button,.date-cell-button{display:block;width:100%;min-height:44px;height:100%;padding:.55rem .3rem;border:0;border-radius:0;background:var(--day-bg);color:var(--day-ink);font:inherit;cursor:pointer;transition:background-color .12s ease}
#module-panel .date-cell-button:hover,#module-panel .date-cell-button:focus-visible,.date-cell-button:hover,.date-cell-button:focus-visible{background:color-mix(in srgb,var(--day-bg) 50%,black);color:var(--day-hover-ink)}
.date-cell-button:focus-visible{outline:3px solid #111;outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff}
.opening-calendar table{width:100%;table-layout:fixed;border-collapse:collapse}
.opening-calendar td,.opening-calendar th{border:1px solid #c5d2c4;text-align:center}
.opening-calendar caption{padding:.5rem;font-weight:600}
.opening-calendar{max-width:42rem;margin-block:1rem}.public-opening-calendar{margin-block:1rem;min-width:0}
.calendar-nav{flex-wrap:wrap}.calendar-nav input{max-width:100%}
.calendar-day-dialog{max-width:min(32rem,calc(100vw - 2rem));max-height:85dvh;overflow:auto}
.calendar-day-dialog .ui-actions{flex-wrap:wrap}.calendar-day-dialog p{overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.date-cell-button{transition:none}}

.guest-selected{background:#b42318;color:white}.guest-free{background:#15803d;color:#fff}.guest-unavailable{background:#e5e7eb;color:#111827}.facility-calendar{overflow-x:auto}.facility-calendar td,.facility-calendar th{white-space:nowrap;padding:.45rem}

.guest-room-grid{max-width:100%;overflow-x:auto}.guest-room-grid table{width:max-content;min-width:100%}.guest-room-grid th,.guest-room-grid td{padding:.4rem;white-space:nowrap}.guest-grid-button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.guest-grid-button:hover{background:#0002}.guest-room-grid button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

#open-review ~ section button.btn-primary{background:#295943;color:#fff;border:1px solid #295943;border-radius:8px;padding:.65rem .9rem;margin:.25rem;cursor:pointer}

/* Guest stay selection: isolated from the staff calendar. */
.guest-wizard{min-width:0;max-width:100%;margin:1.5rem 0;padding:clamp(16px,3vw,30px);background:#fff;border:1px solid #dce5d7;border-radius:16px;box-shadow:0 5px 22px #23442b0a}
.guest-wizard h2{margin:0 0 1rem;font-size:clamp(20px,2.5vw,26px)}
.guest-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.guest-controls>section{flex-basis:100%;min-width:0}
.guest-controls>input{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #bbcdbd;border-radius:8px;font:inherit}
.guest-wizard [hidden]{display:none!important}
.guest-action,.guest-option{font:inherit;cursor:pointer;min-height:44px;border:1px solid #b9cdbd;border-radius:9px;background:#f7faf5;color:#234d37;padding:10px 15px;white-space:normal;max-width:100%}
.guest-action:hover,.guest-option:hover{background:#e8f1e5;border-color:#52775a}
.guest-action:focus-visible,.guest-option:focus-visible{outline:3px solid #295943;outline-offset:3px}
.guest-results{min-width:0;margin-top:20px}
.guest-summary{padding:clamp(16px,3vw,24px);background:#edf5e9;border:1px solid #c6ddc3;border-radius:12px}
.guest-summary h3{font-size:clamp(21px,3vw,30px);line-height:1.3;margin:6px 0;color:#234d37}
.guest-summary p{margin:0;color:#355541}
.guest-summary .guest-kicker{font-size:14px;font-weight:600;letter-spacing:.025em}
.guest-results>h3{font-size:18px;margin:24px 0 10px}
.guest-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.guest-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;background:#fff;min-width:0;padding:14px}
.guest-option strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.guest-option span{font-size:14px;color:#425d48}
.guest-option[aria-pressed=true]{background:#edf5e9;border-color:#295943;box-shadow:inset 0 0 0 1px #295943}
.guest-room-grid{max-width:100%;overflow-x:auto;border:1px solid #dce5d7;border-radius:10px}
.guest-room-grid table{border-collapse:separate;border-spacing:2px;width:max-content;min-width:100%;margin:0}
.guest-room-grid caption{padding:12px;text-align:left;font-weight:600;color:#234d37}
.guest-room-grid th,.guest-room-grid td{padding:10px;text-align:center;min-width:66px;font-size:14px;white-space:nowrap}
.guest-room-grid th{background:#eff4eb;color:#234d37}
.guest-room-grid th:first-child{position:sticky;left:0;z-index:1}
.guest-room-grid td{border-radius:4px}
.guest-room-grid td:has(button){padding:0}
.guest-room-grid .guest-grid-button{display:block;width:100%;min-height:44px;padding:10px;border-radius:4px}
.guest-room-grid .guest-grid-button:hover{background:#0008}
.guest-holiday{background:#be185d;color:#fff}
.guest-legend{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}
.guest-legend span{font-size:13px;padding:4px 10px;border-radius:5px}
.guest-action.guest-continue{width:100%;background:#295943;color:white;border-color:#295943;font-weight:600}
.guest-action.guest-continue:hover{background:#204633}
.guest-results>p:last-child{font-size:14px;color:#425d48;margin:10px 0 0}
@media(max-width:600px){.guest-wizard{padding:14px}.guest-controls>.guest-action{flex:1 1 auto}.guest-options{grid-template-columns:1fr}.guest-room-grid th,.guest-room-grid td{font-size:13px}.guest-summary h3{font-size:22px}}

/* Uniform staff room grid, distinct date headings and gender row labels. */
.room-calendar{--room-cell-width:60px;--room-label-width:56px;--room-row-height:32px;table-layout:fixed;width:max-content;min-width:0;max-width:none;border-collapse:separate;border-spacing:2px;font-size:14px}
.workspace .room-calendar :is(th,td){box-sizing:border-box;width:var(--room-cell-width);min-width:var(--room-cell-width);max-width:var(--room-cell-width);height:var(--room-row-height);text-align:center;vertical-align:middle;white-space:nowrap;border:0;border-radius:3px;padding:0!important}
.workspace .room-calendar th:first-child{width:var(--room-label-width);min-width:var(--room-label-width);max-width:var(--room-label-width);white-space:nowrap}
.room-calendar thead th:first-child{background:#334155;color:#fff}
.room-calendar thead th.calendar-click-cell.day-open{--day-bg:#334155;--day-ink:#fff;--day-hover-ink:#fff}
.room-calendar thead th.calendar-click-cell.centre-closed{background:#be185d;color:#fff}
.room-calendar tbody tr.male-room th{background:#dbeafe;color:#1e3a8a}
.room-calendar tbody tr.female-room th{background:#fce7f3;color:#831843}
.room-calendar tbody tr.male-room{background:#eff6ff}
.room-calendar tbody tr.female-room{background:#fdf2f8}
.workspace #module-panel .room-calendar .date-cell-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:0;width:100%;min-width:0;height:var(--room-row-height);min-height:var(--room-row-height);max-height:var(--room-row-height);padding:2px 4px!important;border-radius:3px;text-align:center;white-space:nowrap;font-size:14px;line-height:1.15}
.workspace .room-calendar .control-label{min-width:0;max-width:100%;white-space:nowrap}
.room-calendar .calendar-click-cell.pending{--day-hover-ink:#fff}
.room-calendar .date-cell-button[data-guest-tooltip]{cursor:help}

/* Responsive layout: toolbars never stretch to the height of an editor. */
.workspace .ui-actions{align-items:center;align-content:flex-start;min-width:0}
.workspace .ui-actions>button{flex:0 1 auto;align-self:flex-start;min-height:44px;max-width:100%;white-space:normal}
.workspace .range-editor{display:block;width:min(100%,760px);min-width:0;margin:18px 0;padding:20px}
.range-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.workspace .staff-content,.workspace .ui-panel,.workspace #module-panel>div,.workspace .facility-management,.workspace .account-editor,.workspace .ui-field{min-width:0;max-width:100%}
.workspace .ui-field :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
.workspace .calendar-scroll,.workspace .facility-calendar,.guest-room-grid{max-width:100%;min-width:0}
.workspace .calendar-scroll{overflow:auto}
.workspace .staff-menu-toggle{display:none}
.workspace .staff-menu a[hidden]{display:none!important}
.workspace .staff-dialog{box-sizing:border-box;width:min(760px,calc(100% - 24px));max-height:85dvh;overflow:auto}
.workspace .staff-dialog.calendar-day-dialog{width:min(32rem,calc(100% - 24px))}
.workspace .staff-identity,.workspace #staff-identity{min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){
 .workspace .staff-layout{display:block}
 .workspace .staff-sidebar{padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}
 .workspace .staff-sidebar>p{display:none}
 .workspace .staff-menu-toggle{display:block;width:100%;text-align:left;min-height:44px}
 .workspace .staff-menu-toggle::after{content:'▾';float:right}
 .workspace .staff-menu-toggle[aria-expanded=true]::after{content:'▴'}
 .workspace .staff-menu{display:none}
 .workspace .staff-menu.mobile-open{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:10px;overflow:visible}
 .workspace .staff-menu a{white-space:normal;min-height:44px}
 .workspace .staff-content{padding:18px 12px}
 .workspace .ui-panel{padding:16px 12px}
 .workspace .page-heading{flex-wrap:wrap;align-items:center}
 .workspace .page-heading>div{min-width:0}
 .workspace .page-heading h1{overflow-wrap:anywhere}
 .workspace .account-editor{padding:14px}
}
@media(max-width:600px){
 .workspace .range-date-fields{grid-template-columns:minmax(0,1fr);gap:0}
 .workspace .ui-actions>button{flex:1 1 140px}
 .workspace .ui-actions .ui-field{flex:1 1 100%}
 .workspace .range-editor{padding:14px}
 .workspace .calendar-nav>strong{min-width:0}
 .workspace .permission-groups{grid-template-columns:minmax(0,1fr)}
 .workspace .staff-dialog{padding:16px}
 .workspace .dialog-heading{flex-wrap:wrap}
 .workspace .room-calendar .date-cell-button{font-size:14px}
 .workspace .staff-brand{min-width:0;max-width:100%}
 .workspace .staff-brand small{overflow-wrap:anywhere}
 .guest-controls>section .calendar-nav{gap:6px}
 .guest-controls>section .opening-calendar{max-width:100%}
 .guest-controls>section .opening-calendar .date-cell-button{font-size:12px;padding:4px 0}
}

.application-receipt{max-width:600px;margin:0 auto;padding:clamp(20px,5vw,40px);background:#fff;border:1px solid #dce5d7;border-radius:18px;box-shadow:0 8px 30px #23442b0b;text-align:center;overflow-wrap:anywhere;scroll-margin-top:20px}
.receipt-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:#e5f2e4;color:#295943;font-size:34px}
.application-receipt .receipt-title{font-size:clamp(24px,4vw,32px);line-height:1.3;margin:0 0 10px;color:#234d37}
.application-receipt p{margin:10px 0;line-height:1.65;color:#425d48}
.receipt-status{display:inline-block;padding:6px 14px;background:#fff2c2;color:#71500a;border-radius:20px;font-size:14px;font-weight:600}
.receipt-reference{margin:24px 0 12px;padding:18px;background:#f3f7ef;border:1px solid #dce5d7;border-radius:12px;display:grid;gap:8px}
.receipt-reference span{font-size:14px;color:#425d48}
.receipt-reference strong{font-size:clamp(16px,3vw,21px);color:#234d37;user-select:all}
.receipt-copy{justify-self:center;border:1px solid #b9cdbd;border-radius:8px;background:white;color:#295943;padding:8px 14px;min-height:44px;font:inherit;cursor:pointer}
.receipt-copy-feedback:empty{display:none}
.receipt-next{text-align:left;margin-top:24px;border-top:1px solid #e2e9df;padding-top:16px}
.receipt-next h3{font-size:18px;margin:0;color:#234d37}
.application-receipt .receipt-notice{font-weight:600;color:#71500a}
.receipt-home{display:block;background:#295943;color:#fff;border-radius:9px;padding:12px 16px;min-height:48px;font-weight:600;margin-top:22px}
.receipt-home:hover{background:#204633;color:#fff}
.application-receipt .receipt-test{font-size:13px;margin-bottom:0}
@media(max-width:600px){.application-receipt{padding:22px 16px}.receipt-reference{padding:14px}.receipt-mark{width:56px;height:56px}}

.room-cell-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.room-cell-options .ui-button{text-align:left;white-space:normal;min-height:48px}.room-cell-dialog h2{line-height:1.5}.room-cell-dialog .ui-notice{line-height:1.7}@media(max-width:540px){.room-cell-options{grid-template-columns:1fr}}

/* Staff context targets retain hover and native scrolling; a tap never opens options. */
.context-options-trigger{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:auto}
.room-calendar .room-heading{--day-bg:#334155;--day-ink:#fff;--day-hover-ink:#fff}
.room-calendar tr.male-room .room-name{--day-bg:#dbeafe;--day-ink:#1e3a8a;--day-hover-ink:#fff}
.room-calendar tr.female-room .room-name{--day-bg:#fce7f3;--day-ink:#831843;--day-hover-ink:#fff}
.context-holding{box-shadow:inset 0 0 0 2px currentColor}

.embedded-workspace{width:min(1000px,96vw)}
.kitchen-forecast{overflow-x:auto;margin:20px 0}.kitchen-table{width:100%;border-collapse:collapse;min-width:540px}.kitchen-table caption{text-align:left;padding:10px 0;font-weight:600}.kitchen-table th,.kitchen-table td{text-align:center;border-bottom:1px solid var(--line);padding:12px}.kitchen-table thead{background:#edf3e5}.kitchen-guests{display:grid;gap:14px}.kitchen-guest{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fbfcf8}.kitchen-guest h3{margin:0}.kitchen-instructions{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:10px 16px}.kitchen-instructions dt{font-weight:600}.kitchen-instructions dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.metric-grid>.ui-muted{grid-column:1/-1}
@media(max-width:600px){.kitchen-guest{padding:14px}.kitchen-instructions{grid-template-columns:1fr;gap:6px}.kitchen-instructions dd{margin-bottom:12px}}

/* Compact desktop navigation and viewport-safe modal layout. */
@media(min-width:901px){.workspace .staff-layout{grid-template-columns:160px minmax(0,1fr);width:100%;max-width:none}.workspace .staff-sidebar{padding:24px 10px}.workspace .staff-menu a{padding:10px 9px}.workspace .staff-content{min-width:0}}
.workspace .staff-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain;overflow:auto;overflow-wrap:anywhere}
.workspace .dialog-heading{position:sticky;top:0;background:#fff;z-index:2;flex-wrap:nowrap;align-items:flex-start;padding:4px 0 10px}.workspace .dialog-heading h2{min-width:0;overflow-wrap:anywhere}.workspace .dialog-heading button{flex:0 0 auto;min-width:44px;min-height:44px}
@media(max-width:700px){.workspace .staff-dialog{width:calc(100vw - 24px);padding:16px}.workspace .staff-dialog input,.workspace .staff-dialog select,.workspace .staff-dialog textarea{max-width:100%;min-width:0;font-size:16px}.workspace .staff-dialog .ui-actions{flex-wrap:wrap}}

.staff-dialog.calendar-day-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}.calendar-day-dialog .dialog-heading{position:sticky;top:0;background:#fff;z-index:2}.calendar-day-dialog .dialog-heading button{min-width:44px;min-height:44px;flex-shrink:0}


/* Mobile staff workspace: drawer, task navigation and daily room agenda. */
.workspace .staff-mobile-navigation,.workspace .room-mobile-controls,.workspace .room-day-list{display:none}
.workspace .staff-menu-toggle[hidden],.workspace .staff-mobile-navigation[hidden]{display:none!important}
html:has(body.workspace dialog[open]){overflow:hidden}
.workspace .room-legend-details{margin-block:12px}.workspace .room-legend-details>summary{cursor:pointer;min-height:44px;align-content:center;font-size:16px;color:#36533e}.workspace .room-legend-details .calendar-legend{margin-top:8px}
.workspace .room-calendar thead th{position:sticky;top:0;z-index:2}.workspace .room-calendar thead th:first-child{z-index:3}.workspace .calendar-scroll{max-height:72dvh;overscroll-behavior:contain}.workspace .room-calendar .room-today{box-shadow:inset 0 0 0 3px #facc15}
.workspace .room-day-status.centre-closed{background:#be185d;color:#fff}
.workspace .staff-dialog :is(input,select,textarea){scroll-margin-block:80px}
@media(max-width:900px){
 .workspace .staff-topbar{position:sticky;top:0;z-index:10;display:flex;flex-wrap:wrap;padding:10px 12px;gap:8px;background:#f8fbf5;border-bottom:1px solid var(--line)}
 .workspace .staff-topbar .staff-menu-toggle{display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;padding:8px;text-align:center;font-size:24px}.workspace .staff-menu-toggle::after{content:none}
 .workspace .staff-brand{gap:8px;flex:1;min-width:0}.workspace .staff-brand strong{font-size:20px}.workspace .staff-brand small{font-size:14px}.workspace .staff-mark{display:none}.workspace .staff-topbar .status-badge{display:none}
 .workspace #staff-identity{width:100%;justify-content:space-between;font-size:14px;gap:8px}.workspace #staff-identity>span{max-width:calc(100% - 130px)}.workspace #staff-identity:empty{display:none}
 .workspace .staff-sidebar{display:none}.workspace .staff-content{padding:16px 10px calc(96px + env(safe-area-inset-bottom));min-width:0}.workspace .page-heading{gap:8px;margin-bottom:12px}.workspace .page-heading h1{font-size:22px!important}.workspace .page-heading .ui-kicker{display:none}
 .workspace .ui-panel{padding:14px 10px}.workspace .ui-panel h2{font-size:20px}.workspace .ui-button{min-height:44px}.workspace :is(input,select,textarea){font-size:16px}
 .workspace .staff-mobile-navigation{position:fixed;inset:auto 0 0;z-index:15;display:flex;justify-content:space-around;gap:4px;min-height:64px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#f8fbf5;border-top:1px solid #c8d8bf;box-shadow:0 -4px 16px #1e3b2910}
 .workspace .staff-mobile-navigation :is(a,button){box-sizing:border-box;flex:1;min-width:0;min-height:48px;display:grid;place-items:center;padding:8px 4px;border:0;border-radius:10px;background:transparent;color:#3c5542;font:inherit;font-size:14px;text-align:center;text-decoration:none;overflow-wrap:anywhere}
 .workspace .staff-mobile-navigation :is([aria-current=page],.current-section){background:#dfedda;color:#23472f;font-weight:600}.workspace .staff-mobile-navigation [hidden]{display:none}
 .workspace .room-mobile-controls{display:grid;gap:12px;margin-block:12px}.workspace .room-view-switch{display:flex;padding:4px;border-radius:12px;background:#edf3e5}.workspace .room-view-switch>button{flex:1;border:0;background:transparent}.workspace .room-view-switch [aria-pressed=true]{background:#fff;color:#23472f;box-shadow:0 1px 5px #223f2320}
 .workspace .room-day-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:6px}.workspace .room-day-controls .ui-field{margin:0}.workspace .room-day-controls button{padding:8px;font-size:14px}.workspace .room-day-controls input{width:100%}
 .workspace .facility-calendar{overflow:visible}.workspace .facility-calendar[data-mobile-view=day]>.calendar-scroll{display:none}.workspace .facility-calendar[data-mobile-view=day]>.room-day-list{display:grid;gap:10px}.workspace .facility-calendar[data-mobile-view=month]>.room-day-list{display:none}
 .workspace .room-mobile-controls:has([aria-pressed=true]:last-child) .room-day-controls{display:none}
 .workspace .room-day-list h3{margin:8px 0;font-size:18px}.workspace .room-day-list>.ui-muted{margin:0}.workspace .room-day-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.workspace .room-day-card>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;cursor:pointer;list-style:none}.workspace .room-day-card>summary::-webkit-details-marker{display:none}.workspace .room-day-card>summary::after{content:'+';font-size:22px;margin-left:4px}.workspace .room-day-card[open]>summary::after{content:'−'}.workspace .room-day-card>summary strong{font-size:16px;overflow-wrap:anywhere;min-width:0}.workspace .room-day-status{margin-left:auto;border-radius:8px;padding:6px 10px;font-size:14px;white-space:nowrap}.workspace .room-day-content{padding:0 12px 12px;border-top:1px solid var(--line);overflow-wrap:anywhere}.workspace .room-day-actions{display:flex;flex-wrap:wrap;gap:8px}.workspace .room-day-actions>button{flex:1 1 150px;white-space:normal;font-size:14px}
.workspace .calendar-scroll{max-height:64dvh;touch-action:pan-x pan-y}
 .workspace .staff-dialog{inset:0;margin:0;width:100%;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));scroll-padding-block:80px}
 .workspace .staff-dialog .dialog-heading{top:0;align-items:flex-start;gap:10px}.workspace .staff-dialog .dialog-heading h2{font-size:20px}.workspace .staff-dialog .ui-actions{gap:10px}.workspace .staff-dialog .ui-actions>button{flex:1 1 140px;min-height:48px}
 .workspace .staff-dialog.room-cell-dialog{inset:auto 0 0;margin:0;width:100%;height:auto;max-height:90dvh;border-radius:18px 18px 0 0}.workspace .room-cell-options{grid-template-columns:1fr}
 .workspace .staff-dialog.calendar-day-dialog{width:100%;max-width:100vw;height:100dvh;max-height:100dvh}
 .workspace .kitchen-forecast{max-width:100%;overflow-x:auto}.workspace .application-row .ui-actions,.workspace .team-row .ui-actions{width:100%;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.workspace *{scroll-behavior:auto!important}}

/* Compact icon navigation and tap-to-expand staff commands, supersedes drawer layout. */
.workspace .mobile-icon-control>svg{display:none}.workspace .expanded-options{padding:16px;border:1px solid #b9ceb1;border-radius:12px;background:#f5faf1;margin-block:12px;min-width:0;overflow-wrap:anywhere;scroll-margin-block:140px 90px}.workspace .expanded-options[hidden]{display:none}.workspace .expanded-options .dialog-heading{background:transparent;position:static}.workspace .expanded-options .dialog-heading h3{margin:0;min-width:0;font-size:18px}.workspace .expanded-options .dialog-heading button{flex:0 0 44px;min-height:44px}.workspace .expanded-options .room-cell-options{margin-bottom:0}.workspace .context-options-trigger[aria-expanded=true]{outline:3px solid #315b40;outline-offset:2px}
@media(max-width:900px){
 .workspace .staff-mobile-navigation{box-sizing:border-box;min-height:56px;gap:2px;padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom));overflow-x:auto;justify-content:flex-start}.workspace .staff-mobile-navigation :is(a,button){min-width:44px;min-height:44px;padding:8px;flex:1 0 44px}.workspace .staff-mobile-navigation svg{width:24px;height:24px}.workspace .staff-mobile-navigation [aria-current=page]{box-shadow:inset 0 -3px #315b40}
 .workspace .mobile-icon-control{display:inline-flex;align-items:center;justify-content:center;gap:0;min-width:44px;padding:8px!important}.workspace .mobile-icon-control>svg{display:block;flex-shrink:0}.workspace .mobile-icon-control>.control-label{display:none}.workspace .staff-content{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.workspace #staff-identity>span{max-width:calc(100% - 60px)}
 .workspace .room-mobile-controls{grid-template-columns:minmax(0,1fr) 44px;gap:8px}.workspace .room-view-switch{grid-column:1;grid-row:1;max-width:160px}.workspace .room-mobile-controls>.context-options-trigger{grid-column:2;grid-row:1}.workspace .room-day-controls{grid-column:1/-1}.workspace .room-view-switch>button{min-height:44px}
 .workspace .room-calendar{--room-cell-width:64px;--room-label-width:56px;--room-row-height:36px}
 .workspace .expanded-options.calendar-day-dialog{position:static;inset:auto;width:auto;max-width:100%;height:auto;max-height:none;margin:12px 0;padding:14px;overflow:visible}.workspace .expanded-options .room-cell-options{grid-template-columns:1fr}.workspace .application-row>.ui-button{margin-left:auto}
}

@media(max-width:900px){.workspace .room-mobile-controls>.expanded-options{grid-column:1/-1}}

/* Requested mobile spacing, visible room legend and compact donation reports. */
.workspace .room-legend-details>h3{margin:12px 0 8px;font-size:16px}
.workspace .app-install-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:9px;background:#eef4e7;color:#315b40;font:inherit;cursor:pointer;margin-bottom:16px}
.workspace .staff-mobile-navigation [data-view=system] svg{color:#7655a0}
.workspace .staff-mobile-navigation [data-view=operations] svg{color:#a76116}
.workspace .staff-mobile-navigation [data-view=rooms] svg{color:#317655}
.workspace .staff-mobile-navigation [data-view=kitchen] svg{color:#a23d57}
.workspace .staff-mobile-navigation [data-view=finance] svg{color:#24788b}
.workspace .staff-mobile-navigation [data-view=accounts] svg{color:#5264a5}
.workspace svg[data-icon=logout]{color:#c65b10}
.workspace .donation-annual-wrap,.workspace .donation-receipts-wrap{width:100%;min-width:0;margin:20px 0}
.workspace :is(.donation-annual-table,.donation-receipts-table){width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:16px}
.workspace :is(.donation-annual-table,.donation-receipts-table) caption{text-align:left;padding:10px 5px;font-size:16px;font-weight:600}
.workspace :is(.donation-annual-table,.donation-receipts-table) :is(td,th){padding:5px;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere;vertical-align:top}
.workspace :is(.donation-annual-table,.donation-receipts-table) :is(td,th):last-child{text-align:right;font-variant-numeric:tabular-nums}
.workspace .donation-annual-table :is(td,th){width:50%}
.workspace .donation-annual-table tbody tr:last-child{font-weight:600;background:#edf3e5}
@media(max-width:900px){
 .workspace .room-day-card>summary{padding-left:5px;padding-right:5px}
 .workspace .facility-calendar,.workspace .facility-calendar .calendar-scroll,.workspace .facility-calendar .room-calendar{margin:0}
}
/* Booking details: compact reading order with staff-only actions. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.workspace .application-detail-dialog,.workspace .application-editor-dialog{font-family:Sarabun,sans-serif;font-size:16px;line-height:1.6}
.workspace .application-detail-dialog .application-heading{justify-content:flex-end;min-height:44px;margin-bottom:4px}
.workspace .application-summary{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere;padding:0 2px 16px}
.workspace .application-summary :is(h3,p){margin:0;font-size:16px}.workspace .application-summary .application-guest-name{font-weight:600}
.workspace .application-summary a{font-size:16px;color:#35654a;overflow-wrap:anywhere}
.workspace .application-summary .application-stay{margin-top:8px}.workspace .application-status{color:#67501b;font-weight:600}
.workspace .application-primary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.workspace .application-primary-actions .ui-button{flex:1;min-height:46px;font-size:16px;text-align:center}
.workspace .ui-button.application-approve{background:#626b30;border-color:#626b30;color:#fff}
.workspace .ui-button.application-decline{background:#7e263b;border-color:#7e263b;color:#fff}
.workspace .ui-button.application-edit{background:#b17b12;border-color:#b17b12;color:#fff}
.workspace .application-detail-dialog .review-controls{margin:0;padding:0;border:0}
.workspace .review-confirmation{border-top:1px solid var(--line);padding-top:14px}
.workspace .review-confirmation[hidden],.workspace .application-edit-form section[hidden],.workspace .account-mirror form[hidden]{display:none}
.workspace .application-edit-form fieldset{min-width:0;margin:18px 0;border:1px solid var(--line);border-radius:10px;padding:12px}
.workspace .application-edit-form legend{padding:0 6px;font-size:16px;font-weight:600}
.workspace .application-mail-form{border-top:1px solid var(--line);margin-top:24px;padding-top:10px}
.workspace .application-email-recipient{overflow-wrap:anywhere}
.staff-toast{position:fixed;z-index:10000;inset:auto 16px calc(80px + env(safe-area-inset-bottom));margin:0 auto;width:max-content;max-width:min(520px,calc(100% - 32px));box-sizing:border-box;padding:12px 16px;border-radius:10px;box-shadow:0 5px 20px #14271738;font-family:Sarabun,sans-serif;font-size:16px;overflow-wrap:anywhere;color:#fff;pointer-events:none}
.staff-toast.success{background:#3b613b}.staff-toast.error{background:#7e263b}
@media(max-width:900px){
 .workspace .application-detail-dialog,.workspace .application-editor-dialog{padding:16px;font-size:16px}
 .workspace .application-detail-dialog :is(input,select,textarea,button),.workspace .application-editor-dialog :is(input,select,textarea,button){font-family:Sarabun,sans-serif;font-size:16px}
 .workspace .application-primary-actions{gap:8px;flex-wrap:nowrap}.workspace .application-primary-actions .ui-button{min-width:0;padding:10px 8px}
}

.workspace .application-editor-dialog :is(h2,h3,legend,label){font-family:Sarabun,sans-serif;font-size:16px}

/* Desktop room calendar: larger horizontal scrollbar drag target. */
@media(min-width:901px){
 .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar:horizontal{height:0}
 .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar-track:horizontal{background:#edf3e5;border-radius:10px}
 .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar-thumb:horizontal{background:#69825c;border:3px solid #edf3e5;border-radius:10px;min-width:44px}
 .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar-thumb:horizontal:hover{background:#405f38}
}

/* Room grid spacing and month toolbar immediately above the table. */
.workspace .facility-calendar,.workspace .facility-calendar>.calendar-scroll{margin-left:0!important;margin-right:0!important}
.workspace .room-calendar-controls{margin:0 0 8px;min-width:0}
.workspace .room-calendar-controls .calendar-nav{width:100%;align-items:center}

/* Bangkok's current calendar date: a steady gold halo around the number. */
.workspace .room-calendar .room-date-number{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;flex-shrink:0;position:relative;border-radius:50%}
.workspace .room-calendar .room-date-event{font-size:12px}
.workspace .room-calendar .room-today{box-shadow:none}
.workspace .room-calendar .room-today .room-date-number{background:#f7cf59;color:#342606;font-weight:700;box-shadow:0 0 0 1px rgba(255,215,96,.7),0 0 5px 2px rgba(255,193,37,.55),0 0 9px 3px rgba(255,183,0,.25);text-shadow:none}

/* A single non-interactive white row separates male and female room groups. */
.workspace .room-calendar .room-group-separator,.workspace .room-calendar .room-group-separator>td{background:#fff!important}
.workspace .room-calendar .room-group-separator>td{width:auto;min-width:0;max-width:none;height:var(--room-row-height);padding:0!important;border:0;border-radius:0;pointer-events:none}

/* Room month grid grows with inventory; only horizontal scrolling is needed. */
.workspace .facility-calendar{height:auto;max-height:none;overflow:visible}
.workspace .facility-calendar>.calendar-scroll{height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior:auto}
/* Only the single-command room heading surface is compact. */
.workspace .staff-dialog.room-add-options,.workspace .expanded-options.room-add-options{box-sizing:border-box;width:max-content;min-width:0;max-width:calc(100% - 24px);height:auto;padding:12px 16px;border:1px solid var(--line);border-radius:10px}
.workspace .room-add-options .dialog-heading{gap:12px;padding:0;align-items:center}
.workspace .room-add-options .dialog-heading h3{margin:0;font-size:16px;line-height:1.4}
.workspace .room-add-options .dialog-heading button{min-width:36px;min-height:36px;flex:0 0 36px;padding:4px}
.workspace .room-add-options .room-cell-options{display:flex;flex-direction:column;gap:6px;margin:8px 0 0}
.workspace .room-add-options .room-cell-options .ui-button{width:auto;min-height:44px;padding:8px 16px;white-space:nowrap;text-align:center}
/* Phase 7 adds a distinct cleaning state and informational pink dates. */
.room-state.cleaning{background:#ffe0b5;color:#633d0c}
.room-state.unknown{background:#e5e7eb;color:#374151}
.room-state.departure-day{background:#eadfc9;color:#4b3a21}
.important-day{background:#f5cfe1;color:#5b2140}
.stay-workflow-dialog,.closure-range-dialog{width:min(94vw,560px);max-height:92dvh;overflow:auto}
.stay-workflow-dialog .ui-form,.closure-range-dialog .ui-form{gap:10px}
.stay-workflow-dialog input,.stay-workflow-dialog select,.stay-workflow-dialog textarea{max-width:100%;font-size:16px}
.room-calendar thead .day-open{background:#dbeafe;color:#1e3a8a}
.room-calendar thead .important-day,.room-calendar thead .centre-closed{background:#f5cfe1;color:#5b2140}

/* Past empty inventory is a label, never an application control. */
#module-panel .room-inactive-label,.room-inactive-label{cursor:default;pointer-events:none;user-select:none;opacity:1}
.workspace .room-past-empty{background:#d1d5db;color:#4b5563}
.workspace .room-day-inactive-summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;cursor:default}
.workspace .room-day-inactive-summary strong{font-size:16px;overflow-wrap:anywhere;min-width:0}

/* Application journey: recorded facts and outstanding room tasks are separate. */
.workspace .application-journey{border-block:1px solid #d9e4d7;padding:12px 0;margin-bottom:12px;overflow-wrap:anywhere}
.workspace .application-journey :is(h3,h4){margin:0 0 10px;font-size:16px}
.workspace :is(.journey-steps,.journey-tasks){padding-left:24px;margin:0 0 14px}
.workspace .journey-step{padding:4px 0 8px 4px;font-size:16px;line-height:1.5}
.workspace .journey-step :is(strong,span,small){display:block}
.workspace .journey-step small{font-size:14px;color:#526056}
.workspace .journey-completed::marker{color:#366449}.workspace .journey-waiting::marker{color:#87651c}

/* Rolling room range: compact month markers at today and month boundaries. */
.workspace .room-calendar .room-date-month{font-size:10px;line-height:1;white-space:nowrap;font-weight:400}
.workspace #module-panel .room-calendar .date-cell-button:has(.room-date-month){gap:2px}
.workspace .room-calendar-controls .calendar-nav{flex-wrap:wrap;gap:8px}
.workspace .room-calendar-controls input[type=month]{max-width:180px;min-width:0}

/* Owner-approved compact pastel room grid reference, 2026-11-28. Dashboard only. */
.workspace .room-state.available{background:#dcebd6;color:#263b2b;--day-bg:#dcebd6;--day-ink:#263b2b;--day-hover-ink:#fff}
.workspace .room-state.booked{background:#729ac5;color:#122b40;--day-bg:#729ac5;--day-ink:#122b40;--day-hover-ink:#fff}
.workspace .room-state.occupied{background:#407657;color:#ffffff;--day-bg:#407657;--day-ink:#ffffff;--day-hover-ink:#fff}
.workspace .room-state.pending{background:#e8c45b;color:#352a0f;--day-bg:#e8c45b;--day-ink:#352a0f;--day-hover-ink:#fff}
.workspace .room-state.maintenance{background:#d99554;color:#38230f;--day-bg:#d99554;--day-ink:#38230f;--day-hover-ink:#fff}
.workspace .room-state.disabled{background:#795794;color:#ffffff;--day-bg:#795794;--day-ink:#ffffff;--day-hover-ink:#fff}
.workspace .room-state.cleaning{background:#ffe0b5;color:#633d0c;--day-bg:#ffe0b5;--day-ink:#633d0c;--day-hover-ink:#fff}
.workspace .room-state.unknown{background:#e5e7eb;color:#374151;--day-bg:#e5e7eb;--day-ink:#374151;--day-hover-ink:#fff}
.workspace .room-state.centre-closed{background:#bd527c;color:#ffffff;--day-bg:#bd527c;--day-ink:#ffffff;--day-hover-ink:#fff}
.workspace .room-state.inactive{background:#d1d5db;color:#4b5563;--day-bg:#d1d5db;--day-ink:#4b5563;--day-hover-ink:#fff}
.workspace .room-state.departure-day{background:#eadfc9;color:#4b3a21;--day-bg:#eadfc9;--day-ink:#4b3a21;--day-hover-ink:#fff}
.workspace .room-calendar{--room-cell-width:68px;--room-label-width:62px;--room-row-height:34px;border-spacing:4px;background:#fff}
.workspace .room-calendar :is(th,td){border-radius:6px}
.workspace #module-panel .room-calendar .date-cell-button{border-radius:6px;font-weight:500}
.workspace .room-calendar tbody :is(.male-room,.female-room){background:transparent}
.workspace .room-calendar tr.male-room .room-name{background:#e1edf8;--day-bg:#e1edf8;--day-ink:#26332d}
.workspace .room-calendar tr.female-room .room-name{background:#f8e4eb;--day-bg:#f8e4eb;--day-ink:#26332d}
.workspace .room-calendar thead :is(.room-heading,.calendar-click-cell.day-open){background:#fff;--day-bg:#fff;--day-ink:#334155;--day-hover-ink:#fff}
.workspace .room-calendar thead .important-day{background:#f5cfe1;--day-bg:#f5cfe1;--day-ink:#5b2140}
.workspace .room-calendar thead .centre-closed{background:#bd527c;--day-bg:#bd527c;--day-ink:#fff}
.workspace .room-calendar .room-group-separator>td{height:10px}
.workspace .facility-calendar>.calendar-scroll{background:#fff;border-radius:10px;max-height:none;overflow-x:auto;overflow-y:hidden}
.workspace .room-legend-details>summary{font-weight:600;min-height:40px}
.workspace .room-legend-details .calendar-legend{gap:6px;margin:6px 0 10px}
.workspace .room-legend-details .calendar-legend>span{padding:4px 9px;border-radius:6px}
.workspace .room-legend-details .ui-muted{margin:6px 0;font-size:14px}
@media(max-width:900px){.workspace .room-calendar{--room-cell-width:64px;--room-label-width:56px;--room-row-height:36px;border-spacing:3px}}

/* Staff workspace theme: semantic surfaces; pastel inventory remains readable in both modes. */
#theme-toggle{width:44px;height:44px;min-width:44px;padding:0;font-size:24px;line-height:1;border-radius:10px;flex:none}
html[data-theme=dark]{color-scheme:dark;background:#131a16}
html[data-theme=dark] .workspace{--ink:#e4eee5;--muted:#b2c1b4;--line:#39483e;--paper:#151e18;--white:#202c24;--forest:#a9d3b3;--forest-dark:#c3e4ca;--ui-shadow:0 8px 28px #0003;--ds-surface:#202c24;--ds-raised:#28372d;--ds-bg:#151e18;--ds-accent:#add7b7;background:var(--ds-bg);color:var(--ink)}
html[data-theme=dark] .workspace :is(.staff-topbar,.login-card,.ui-panel,.request-page,.staff-dialog,.room-day-card,.staff-mobile-navigation){background:var(--ds-surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .workspace :is(.staff-sidebar,.application-row,.team-row,.metric-card,.permission-groups fieldset,.account-editor,.kitchen-guest,.expanded-options,.ui-notice,#session-status){background:var(--ds-raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .workspace :is(.ui-muted,.ui-kicker,.ui-reference,.staff-brand small,.staff-sidebar #sync-status,.metric-card span,.detail-grid dt,.ui-field,.permission-groups legend,.room-legend-details>summary,.journey-step small){color:var(--muted)}
html[data-theme=dark] .workspace :is(h1,h2,h3,h4,.metric-card strong,.staff-brand){color:var(--ink)}
html[data-theme=dark] .workspace a{color:var(--ds-accent)}
html[data-theme=dark] .workspace :is(.staff-mark,.ui-status,.status-badge){background:#354b37;color:#d5eacb;border-color:var(--line)}
html[data-theme=dark] .workspace :is(.staff-menu a,.staff-mobile-navigation a){color:#c5d7c8}
html[data-theme=dark] .workspace :is(.staff-menu a[aria-current=page],.staff-menu a:hover,.staff-mobile-navigation a[aria-current=page]){background:#354a3b;color:#e0f3e3;border-color:var(--line)}
html[data-theme=dark] .workspace :is(.ui-button,.ui-button.subtle){background:#283a2e;color:#dcefe0;border-color:#526758}
html[data-theme=dark] .workspace .ui-button:hover:not(:disabled){background:#3d5443;color:#fff;border-color:#91b39a}
html[data-theme=dark] .workspace .ui-button.primary{background:#83b590;color:#13251a;border-color:#83b590}
html[data-theme=dark] .workspace .ui-button.danger{background:#512f2c;color:#ffd0c4;border-color:#80534a}
html[data-theme=dark] .workspace .ui-button:disabled{background:#29352d;color:#9ca99e;border-color:var(--line)}
html[data-theme=dark] .workspace :is(input:not([type=checkbox]),select,textarea){background:#17231b;color:var(--ink);border-color:#526758}
html[data-theme=dark] .workspace input:read-only{background:#28372d;color:var(--muted)}
html[data-theme=dark] .workspace :is(.kitchen-table thead,.donation-annual-table tbody tr:last-child){background:var(--ds-raised);color:var(--ink)}
html[data-theme=dark] .workspace :is(.room-calendar,.facility-calendar>.calendar-scroll){background:#202c24;border-color:var(--line)}
html[data-theme=dark] .workspace .room-calendar thead :is(.room-heading,.calendar-click-cell.day-open){background:#202c24;--day-bg:#202c24;--day-ink:#e4eee5}
html[data-theme=dark] .workspace .room-calendar .room-group-separator,html[data-theme=dark] .workspace .room-calendar .room-group-separator>td{background:#202c24!important}
html[data-theme=dark] .workspace .staff-dialog::backdrop{background:#000a}
html[data-theme=dark] .workspace :is(#auth-feedback,.application-status){color:#f3c79c}
html[data-theme=dark] .workspace .login-intro img{border-color:var(--line)}
html[data-theme=dark] .workspace .staff-mobile-navigation svg{filter:brightness(1.4)}
html[data-theme=dark] .workspace .room-calendar .date-cell-button:focus-visible{outline-color:#f7cf59}
html[data-theme=dark] .workspace :is(.application-journey,.room-day-content){border-color:var(--line)}
html[data-theme=dark] .workspace .room-past-empty{background:#d1d5db;color:#4b5563}

/* Quiet staff entrance, matching the KH14 shield placement. */
.staff-entry-link{position:fixed;right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(8px + env(safe-area-inset-bottom,0px));width:44px;height:44px;display:grid;place-items:center;z-index:60;color:#526b59;border-radius:50%;background:rgba(249,251,246,.94);border:1px solid #d9e3d3;box-shadow:0 2px 10px rgba(35,66,42,.08)}
.staff-entry-link svg{width:21px;height:21px}.staff-entry-link:hover{color:#214733;background:#e7efdf}.staff-entry-link:focus-visible{outline:3px solid #315f45;outline-offset:3px}
body:not(.workspace) footer{padding-bottom:76px}

/* Public welcome and retreat planning, 2026-11-28. Keep staff workspace isolated. */
body:not(.workspace){font-family:Sarabun,"Noto Sans",Arial,sans-serif}
.centre-welcome{padding:clamp(32px,6vw,88px) 0;background:#eef1e6;border-bottom:1px solid #d7dfce}
.centre-welcome-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,56px)}
.centre-welcome-inner>div{min-width:0}
.centre-welcome h1{font-size:clamp(32px,4.5vw,56px);line-height:1.18;letter-spacing:-.015em;color:#314b36;margin:12px 0 20px;overflow-wrap:break-word}
.centre-kicker{font-size:14px;font-weight:600;color:#53674a;margin:0}
.centre-lead{font-size:clamp(16px,1.5vw,19px);line-height:1.65;color:#3d4d3c;margin:0 0 12px}
.centre-welcome img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;border:1px solid #ccd7c5}
.centre-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.centre-action{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:56px;padding:10px 18px;border:1px solid #315b40;border-radius:9px;font-weight:600;line-height:1.5;text-align:center}
.centre-action span{font-weight:400;font-size:14px}.centre-action.primary{background:#315b40;color:white}.centre-action.primary:hover{background:#254631}.centre-action.secondary{color:#315b40;background:#fff}.centre-action.secondary:hover{background:#e2ebdd}
.centre-note{font-size:14px;line-height:1.6;color:#53604f;margin:14px 0 0}.centre-note span{display:block}
.centre-guide{padding:clamp(28px,4vw,50px) 0 0}.centre-guide h2{margin:0 0 20px;color:#314b36;font-size:clamp(24px,3vw,32px)}.centre-guide h2 span{display:block;font-size:16px;font-weight:400;color:#52634f;margin-top:4px}
.centre-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.centre-guide-grid>a{display:flex;flex-direction:column;gap:6px;padding:20px;min-width:0;border:1px solid #d4dfcf;background:#fffdf8;border-radius:12px;color:#344b38;line-height:1.6;overflow-wrap:anywhere}.centre-guide-grid>a:hover{background:#edf3e8;border-color:#6b8965}.centre-guide-grid>a strong{font-size:18px}.centre-guide-grid>a span{font-size:15px;color:#4b5b49}
#courses{scroll-margin-top:100px}
@media(max-width:900px){.centre-welcome-inner{grid-template-columns:1fr}.centre-welcome img{max-height:360px}.centre-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.centre-actions>a{flex:1 1 100%}.centre-guide-grid{gap:10px}.centre-guide-grid>a{padding:14px}.centre-guide-grid>a strong{font-size:16px}.centre-guide-grid>a span{font-size:16px}.centre-welcome img{max-height:260px}}
@media(max-width:340px){.centre-guide-grid{grid-template-columns:1fr}}
/* Staff login readability: visual only, no change to auth states or selectors. */
.workspace .login-card{min-width:0}.workspace .login-card h2{line-height:1.35}.workspace .login-card :is(#google-status,#session-status,#auth-feedback){overflow-wrap:anywhere}.workspace .login-card a{display:inline-block;text-decoration:underline;text-underline-offset:4px}.workspace .login-card #google-signin{min-height:48px;white-space:normal}.workspace .login-card #google-signin:disabled{cursor:not-allowed;opacity:.8}.workspace .staff-dialog{max-width:calc(100% - 24px);overscroll-behavior:contain}.workspace .page-heading>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:420px){.workspace .login-card{padding:20px 16px}.workspace .page-heading{flex-wrap:wrap}.workspace .page-heading #refresh-view{min-height:44px}.workspace .staff-dialog{padding:16px}}

/* English-only public homepage refinement. */
.centre-details{max-width:820px;margin-inline:auto}.centre-details h2{font-size:clamp(22px,2.5vw,28px);margin:28px 0 8px}.centre-details p{margin:0 0 20px}.centre-guide-grid>a{padding:16px}.centre-action{min-height:48px;flex-direction:row}.centre-welcome h1{max-width:20ch}.centre-welcome .centre-note{margin-top:12px}

/* Public site only: independent theme preference, no staff workspace changes. */
.public-theme-toggle{flex:none;min-height:44px;min-width:64px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:14px}
#site-navigation a[aria-current=page]{border-color:var(--forest);font-weight:600}
body:not(.workspace){padding-bottom:64px}
@media(min-width:1200px){.nav{gap:14px}.nav nav{gap:16px}}
@media(max-width:1199px){.js .nav{gap:8px}.js .nav .menu-toggle{min-width:56px}.public-theme-toggle{min-width:54px;padding:8px}.js .nav .brand strong{overflow-wrap:anywhere}}
@media(max-width:380px){.js .nav .brand-mark{display:none}.js .nav .brand small{letter-spacing:0}}
html[data-public-theme=dark]{color-scheme:dark;background:#172019}
html[data-public-theme=dark] body:not(.workspace){--forest:#acd0af;--forest-dark:#c6dfc3;--olive:#a9bb9c;--earth:#d4be9c;--sand:#28352a;--cream:#202c22;--paper:#172019;--ink:#e6eee3;--muted:#b8c8b6;--line:#455545;--white:#263429;background:var(--paper);color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) :is(header,.js .nav.open nav,.page-hero,.centre-welcome,.centre-guide-grid>a,.review-card,.contact-card,.google-reviews,.google-rating,.article-content,.article-row,.qa-item,.course-card,.checklist-wrap,.guest-wizard,.guest-summary,.guest-option,.guest-room-grid,.notice,.intro-note,#application-form fieldset){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-public-theme=dark] body:not(.workspace) :is(h1,h2,h3,.centre-kicker,.centre-lead,.centre-note,.centre-guide-grid>a,.centre-guide-grid>a span,.guest-summary p,.guest-option span,.guest-summary h3,.guest-results h3,#application-form label,#application-form legend){color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) :is(.centre-action.secondary,.public-theme-toggle,.menu-toggle,.guest-action){background:var(--cream);color:var(--ink);border-color:var(--line)}
html[data-public-theme=dark] body:not(.workspace) :is(.centre-action.primary,.google-button,.apply-button,#open-review){background:#89b68d;color:#132619!important;border-color:#89b68d}
html[data-public-theme=dark] body:not(.workspace) :is(input:not([type=checkbox]),select,textarea){background:#172019!important;color:#e6eee3!important;border-color:#647b65!important}
html[data-public-theme=dark] body:not(.workspace) :is(.guest-summary,.guest-option[aria-pressed=true],.centre-guide-grid>a:hover,.article-row:hover){background:#344837;color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) .staff-entry-link{background:#28382b;color:#c6dfc3;border-color:#536b54}
html[data-public-theme=dark] body:not(.workspace) :is(.feature-photo,.centre-welcome img){border-color:var(--line)}
html[data-public-theme=dark] body:not(.workspace) .guest-room-grid th{background:#344837;color:#e6eee3}
html[data-public-theme=dark] body:not(.workspace) :is(#application-panel>p:first-child,.review-card .ack-missing){background:#29382b;color:#e6eee3}

/* Owner correction: original footer, compact theme icon and warm Apply CTA. */
body:not(.workspace){padding-bottom:0}
.public-theme-toggle{width:44px;height:44px;min-width:44px;padding:0;font-size:24px;line-height:1;border-radius:10px;display:grid;place-items:center}
.centre-welcome .centre-action.primary{background:#efb342;border-color:#d69b30;color:#39270c;font-weight:700;min-width:136px}
.centre-welcome .centre-action.primary:hover{background:#e6a12c;border-color:#bf8018;color:#302008}
html[data-public-theme=dark] body:not(.workspace) .centre-welcome .centre-action.primary{background:#efb342;border-color:#d69b30;color:#39270c!important}
html[data-public-theme=dark] body:not(.workspace) .centre-welcome .centre-action.primary:hover{background:#ffc65d;color:#302008!important}
html[data-public-theme=dark] body:not(.workspace) footer{background:#202c22;color:#e6eee3;border-top:1px solid #455545}
html[data-public-theme=dark] body:not(.workspace) footer :is(h3,p,a,.footer-bottom){color:#c9d8c8}
@media(max-width:560px){.centre-welcome .centre-actions>a{flex:0 1 auto;min-width:136px}}

/* Gallery: concise, consistently centred captions in both themes. */
.gallery-refined>a{display:flex;flex-direction:column;min-width:0}
.gallery-refined>a>span{display:flex;flex:1;align-items:center;justify-content:center;min-height:52px;padding:12px 8px 8px;text-align:center;font-size:15px;font-weight:500;line-height:1.5;color:var(--ink)}
@media(max-width:560px){.gallery-refined>a>span{min-height:44px;font-size:16px;padding:10px 6px}}

/* Clean English staff workspace — preserve room grid dimensions and state colours. */
.workspace .login-layout{max-width:980px;align-items:center;gap:clamp(24px,5vw,64px)}
.workspace .login-intro h1{font-size:clamp(32px,4vw,46px);line-height:1.2;letter-spacing:-.025em;margin:12px 0}
.workspace .login-intro p{margin:8px 0 20px}.workspace .login-intro img{border-radius:14px}
.workspace .login-card{padding:clamp(20px,4vw,36px);border-radius:16px}.workspace .login-card h2{font-size:28px;margin:8px 0 12px}
.workspace .login-card #google-signin{min-height:48px}.workspace .login-card :is(#google-status,#session-status){font-size:14px;line-height:1.5;margin:12px 0}
.workspace .staff-menu a{font-size:14px}.workspace .page-heading h1{letter-spacing:-.02em}.workspace .metric-card strong{font-variant-numeric:tabular-nums}
.workspace .room-calendar .date-cell-button{font-size:11px;overflow-wrap:anywhere;line-height:1.15}
@media(max-width:700px){.workspace .login-layout{gap:16px}.workspace .login-intro h1{margin:8px 0}.workspace .login-intro p{margin:4px 0 8px}.workspace .login-card{padding:22px}.workspace .page-heading h1{font-size:25px!important}}

/* Contrast system — 2026-11-28. Semantic pairs, scoped to staff; no layout changes. */
.workspace{--ds-bg:#f0f4ed;--ds-surface:#fff;--ds-raised:#e9f0e5;--ink:#21382a;--muted:#50634f;--line:#c5d3c2;--ds-control:#fff;--ds-control-line:#81977e;--ds-accent:#28583d;--ds-selected:#dbead5;--ds-selected-ink:#23482e;--ds-focus:#275e91;--ds-danger:#952d38;--ds-warning:#75500b;--ds-hover:#e2eddf;background:var(--ds-bg);color:var(--ink)}
html[data-theme=dark] .workspace{--ds-bg:#141d19;--ds-surface:#202c26;--ds-raised:#2b3931;--ink:#eff6ef;--muted:#bdcdbf;--line:#506256;--ds-control:#17231c;--ds-control-line:#879c8b;--ds-accent:#b6e2c3;--ds-selected:#38563f;--ds-selected-ink:#f1fff3;--ds-focus:#f7cf59;--ds-danger:#ffb5bb;--ds-warning:#ffdb89;--ds-hover:#34483b}
html[data-theme=light]{color-scheme:light}
.workspace :is(.staff-topbar,.login-card,.ui-panel,.request-page,.staff-dialog,.room-day-card,.staff-mobile-navigation),.workspace #module-panel{background:var(--ds-surface);color:var(--ink);border-color:var(--line)}
.workspace :is(.staff-sidebar,.metric-card,.application-row,.team-row,.permission-groups fieldset,.account-editor,.kitchen-guest,.expanded-options,.ui-notice,#session-status,.room-view-switch){background:var(--ds-raised);color:var(--ink);border-color:var(--line)}
.workspace :is(.application-row,.team-row):nth-child(odd){background:var(--ds-surface)}
.workspace :is(.ui-muted,.ui-kicker,.ui-reference,.staff-brand small,.metric-card span,.detail-grid dt,.ui-field,.permission-groups legend,.journey-step small,.room-legend-details>summary),.workspace #sync-status{color:var(--muted)}
.workspace :is(h1,h2,h3,h4,.metric-card strong,.staff-brand){color:var(--ink)}
.workspace :is(.application-summary a,.login-card a){color:var(--ds-accent);text-decoration:underline}
.workspace .staff-dialog .dialog-heading{background:var(--ds-surface);color:var(--ink)}
.workspace .expanded-options .dialog-heading{background:transparent}
.workspace :is(.staff-menu a,.staff-mobile-navigation a,.staff-mobile-navigation button){color:var(--ink)}
.workspace :is(.staff-menu a[aria-current=page],.staff-menu a:hover,.staff-mobile-navigation [aria-current=page],.staff-mobile-navigation .current-section,.room-view-switch [aria-pressed=true]){background:var(--ds-selected);color:var(--ds-selected-ink);border-color:var(--ds-control-line)}
.workspace :is(.ui-field input:not([type=checkbox]),.ui-field select,.ui-field textarea){background:var(--ds-control);color:var(--ink);border-color:var(--ds-control-line)}
.workspace :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
.workspace :is(.ui-field input:read-only,.ui-field input:disabled){background:var(--ds-raised);color:var(--muted)}
.workspace :is(.staff-mark,.status-badge,.ui-status){background:var(--ds-selected);color:var(--ds-selected-ink);border-color:var(--line)}
.workspace :is(#module-panel,.staff-dialog,.expanded-options) .ui-button:not(.primary,.danger,.application-approve,.application-decline,.application-edit){background:var(--ds-control);color:var(--ink);border-color:var(--ds-control-line)}
.workspace .app-install-button{background:var(--ds-raised);color:var(--ds-accent);border-color:var(--ds-control-line)}
.workspace .ui-button.primary,.workspace #module-panel .ui-button.primary{background:#315f45;color:#fff;border-color:#315f45}
html[data-theme=dark] .workspace .ui-button.primary,html[data-theme=dark] .workspace #module-panel .ui-button.primary{background:#a8d4b3;color:#17291c;border-color:#a8d4b3}
.workspace .ui-button.danger,.workspace #module-panel .ui-button.danger{background:#fce8e8;color:#832c35;border-color:#b85a63}
html[data-theme=dark] .workspace .ui-button.danger,html[data-theme=dark] .workspace #module-panel .ui-button.danger{background:#542e36;color:#ffe1e3;border-color:#b87982}
.workspace :is(.ui-button.application-approve,.ui-button.application-decline,.ui-button.application-edit){color:#fff}
.workspace .ui-button.application-approve{background:#466032;border-color:#466032}
.workspace .ui-button.application-decline{background:#842d42;border-color:#842d42}
.workspace .ui-button.application-edit{background:#82590c;border-color:#82590c}
.workspace :is(.ui-button,.app-install-button):not(:disabled):hover{filter:brightness(.90)}
html[data-theme=dark] .workspace :is(.ui-button,.app-install-button):not(:disabled):hover{filter:brightness(1.10)}
.workspace :is(.ui-button,#module-panel .ui-button):disabled{background:var(--ds-raised);color:var(--muted);border-color:var(--line);opacity:.85}
.workspace :is(#auth-feedback,#workspace-message[role=alert]){color:var(--ds-danger)}
.workspace .application-status{color:var(--ds-warning)}
.workspace :focus-visible{outline:3px solid var(--ds-focus);outline-offset:2px}
.workspace :is(.kitchen-table thead,.donation-annual-table thead,.donation-receipts-table thead,.donation-annual-table tbody tr:last-child){background:var(--ds-raised);color:var(--ink)}
.workspace :is(.kitchen-table,.donation-annual-table,.donation-receipts-table) :is(th,td){border-color:var(--line)}
.workspace :is(.kitchen-table,.donation-receipts-table) tbody tr:nth-child(even){background:var(--ds-raised)}
/* Inventory: paired colour tokens shared by legends, daily list and calendar. */
.workspace .room-state.available{--day-bg:#d8ead1;--day-ink:#203e27}
.workspace .room-state.booked{--day-bg:#a8c9ec;--day-ink:#173452}
.workspace .room-state.occupied{--day-bg:#326347;--day-ink:#fff}
.workspace .room-state.pending{--day-bg:#e9c45a;--day-ink:#392a08}
.workspace .room-state.maintenance{--day-bg:#d68b43;--day-ink:#2d1a09}
.workspace .room-state.disabled{--day-bg:#684384;--day-ink:#fff}
.workspace .room-state.cleaning{--day-bg:#ffe2b9;--day-ink:#60390c}
.workspace .room-state.unknown{--day-bg:#e5e7eb;--day-ink:#374151}
.workspace .room-state.centre-closed{--day-bg:#a83c67;--day-ink:#fff}
.workspace .room-state.inactive{--day-bg:#d8dde2;--day-ink:#394657}
.workspace .room-state.departure-day{--day-bg:#e8ddc6;--day-ink:#49351b}
html[data-theme=dark] .workspace .room-state.available{--day-bg:#294d35;--day-ink:#e4f5dd}
html[data-theme=dark] .workspace .room-state.booked{--day-bg:#31587f;--day-ink:#f0f7ff}
html[data-theme=dark] .workspace .room-state.occupied{--day-bg:#a7d7ab;--day-ink:#183d25}
html[data-theme=dark] .workspace .room-state.pending{--day-bg:#e9c45a;--day-ink:#392a08}
html[data-theme=dark] .workspace .room-state.maintenance{--day-bg:#d68b43;--day-ink:#2d1a09}
html[data-theme=dark] .workspace .room-state.disabled{--day-bg:#684384;--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.cleaning{--day-bg:#6e4b27;--day-ink:#ffebcf}
html[data-theme=dark] .workspace .room-state.unknown{--day-bg:#414c56;--day-ink:#f1f5f9}
html[data-theme=dark] .workspace .room-state.centre-closed{--day-bg:#8e3156;--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.inactive{--day-bg:#3b4650;--day-ink:#d7dfe8}
html[data-theme=dark] .workspace .room-state.departure-day{--day-bg:#675638;--day-ink:#fff0d3}
.workspace .room-state:is(.available,.booked,.occupied,.pending,.maintenance,.disabled,.cleaning,.unknown,.centre-closed,.inactive,.departure-day){background:var(--day-bg);color:var(--day-ink);--day-hover-ink:#fff}
.workspace .room-calendar,.workspace .facility-calendar>.calendar-scroll{background:var(--ds-surface);border-color:var(--line)}
.workspace .room-calendar thead :is(.room-heading,.calendar-click-cell.day-open){background:var(--ds-raised);--day-bg:var(--ds-raised);--day-ink:var(--ink);color:var(--ink)}
.workspace .room-calendar .room-group-separator>td{background:var(--ds-surface)!important}
html[data-theme=dark] .workspace .room-calendar tr.male-room .room-name{background:#294b68;--day-bg:#294b68;--day-ink:#e1f0ff;color:#e1f0ff}
html[data-theme=dark] .workspace .room-calendar tr.female-room .room-name{background:#64374d;--day-bg:#64374d;--day-ink:#ffe4ef;color:#ffe4ef}
.workspace .room-calendar thead .centre-closed{background:#a83c67;--day-bg:#a83c67;--day-ink:#fff}
.workspace #module-panel .room-calendar .date-cell-button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--day-bg) 50%,black);color:#fff}
.workspace .room-calendar .date-cell-button:focus-visible{outline-color:var(--ds-focus);outline-offset:-3px}
html[data-theme=dark] .workspace .room-past-empty{background:#3b4650;color:#d7dfe8}
html[data-theme=dark] .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar-track:horizontal{background:#28372e}
html[data-theme=dark] .workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar-thumb:horizontal{background:#8baa91;border-color:#28372e}
html[data-theme=dark] .workspace .staff-mobile-navigation svg{filter:none;color:var(--ds-accent)}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=system] svg{color:#cfb3ff}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=operations] svg{color:#ffd08a}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=rooms] svg{color:#9ce2b3}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=kitchen] svg{color:#ffb3c8}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=finance] svg{color:#99d9eb}
html[data-theme=dark] .workspace .staff-mobile-navigation [data-view=accounts] svg{color:#b9c9ff}
/* Public theme: resolve remaining hard-coded light surfaces without touching imagery. */
html[data-public-theme=dark] body:not(.workspace) :is(.card,.schedule-table-wrap,.schedule-table tr,.application-receipt,.receipt-reference,.guest-controls>section){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-public-theme=dark] body:not(.workspace) :is(.schedule-table th,.donation-note,.receipt-mark){background:var(--cream);color:var(--ink);border-color:var(--line)}
html[data-public-theme=dark] body:not(.workspace) :is(.application-receipt p,.receipt-reference span,.receipt-reference strong,.receipt-title,.receipt-next h3,.eyebrow){color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) :is(.receipt-copy,.guest-action,.guest-option){background:var(--cream);color:var(--ink);border-color:#819782}
html[data-public-theme=dark] body:not(.workspace) .receipt-notice{color:#ffda89}
html[data-public-theme=dark] body:not(.workspace) .google-rating .stars{color:#f3c36a}
html[data-public-theme=dark] body:not(.workspace) :focus-visible{outline-color:#f7cf59}

/* Room calendar header: a dedicated slate band, distinct from inventory statuses. */
.workspace .room-calendar{--room-header-bg:#273747;--room-header-ink:#ffffff;--room-header-border:#172635;--room-header-event:#f9d98f}
html[data-theme=dark] .workspace .room-calendar{--room-header-bg:#a8b9ca;--room-header-ink:#172635;--room-header-border:#c6d3df;--room-header-event:#573b0a}
.workspace .room-calendar thead th.calendar-click-cell,
html[data-theme=dark] .workspace .room-calendar thead th.calendar-click-cell{background:var(--room-header-bg);color:var(--room-header-ink);--day-bg:var(--room-header-bg);--day-ink:var(--room-header-ink);--day-hover-ink:#fff;box-shadow:inset 0 -2px var(--room-header-border)}
.workspace #module-panel .room-calendar thead .date-cell-button{background:var(--room-header-bg);color:var(--room-header-ink);font-weight:700}
.workspace #module-panel .room-calendar thead .date-cell-button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--room-header-bg) 50%,black);color:#fff}
.workspace .room-calendar thead .room-date-month{font-weight:600}
.workspace .room-calendar thead .important-day .room-date-event{color:var(--room-header-event);font-weight:700}
.workspace .room-calendar thead .centre-closed .date-cell-button{box-shadow:inset 0 -3px #e26393}
.workspace .room-calendar thead .important-day .date-cell-button{box-shadow:inset 0 -3px #e5b64c}
.workspace .room-calendar thead .date-cell-button:is(:hover,:focus-visible) .room-date-event{color:#fff}
.workspace .room-calendar thead .room-today .room-date-number{background:#f7cf59;color:#342606}

/* Thai authenticated workspace only. */
html[lang=th] .workspace{font-family:Sarabun,Tahoma,sans-serif}
html[lang=th] .workspace .staff-menu a{font-size:16px}
html[lang=th] .workspace .room-calendar .date-cell-button{font-size:12px;line-height:1.2;white-space:normal;overflow-wrap:normal}
html[lang=th] .workspace .room-calendar .room-state .date-cell-button{font-weight:500}
html[lang=th] .workspace .room-calendar .room-date-month{font-size:10px}

/* Kitchen roster: never inherit the white modal heading in dark mode. */
.workspace .kitchen-guest>.dialog-heading{position:static;background:var(--ds-surface);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px 12px;align-items:center;gap:10px;flex-wrap:wrap}
.workspace .kitchen-guest>.dialog-heading h3{color:var(--ink);margin:0;min-width:0;overflow-wrap:anywhere}
.workspace .kitchen-guest .kitchen-instructions dt{color:var(--ink)}
.workspace .kitchen-guest .kitchen-instructions dd{color:var(--ink)}
.workspace .kitchen-guest .ui-status{background:var(--ds-selected);color:var(--ds-selected-ink)}
.workspace .kitchen-guest>p{color:var(--ink)}


/* Rooms alone: full-width grid, one horizontal scroller, natural row growth. */
.workspace #module-panel:has(.facility-calendar){padding-left:0!important;padding-right:0!important;min-width:0;max-width:100%;}
.workspace #module-panel .facility-calendar,.workspace #module-panel .facility-calendar>.calendar-scroll{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;min-width:0;max-width:100%;height:auto;max-height:none;}
.workspace #module-panel .facility-calendar{overflow:visible;}
.workspace #module-panel .facility-calendar>.calendar-scroll{overflow-x:auto;overflow-y:hidden;}
.ui-field[hidden]{display:none!important;}

.workspace .staff-content:has(#module-panel .facility-calendar){padding-left:0!important;padding-right:0!important;}


/* Staff workspace refinement, scoped by active module. */
.workspace #refresh-view{margin-right:10px;}
.workspace .staff-layout[data-view=rooms] .page-heading{position:relative;min-height:76px;justify-content:center;text-align:center;}
.workspace .staff-layout[data-view=rooms] .page-heading>div{margin:auto;}
.workspace .staff-layout[data-view=rooms] .page-heading .ui-kicker{display:block;}
.workspace .staff-layout[data-view=rooms] #refresh-view{position:absolute;right:0;}
.workspace .room-legend-details{border-radius:0!important;padding-left:10px!important;padding-right:10px!important;}
.workspace .room-occupancy-summary{text-align:center;}
.workspace .room-calendar caption{text-align:center;}
.workspace .room-calendar-controls,.workspace .calendar-nav{justify-content:center;}
.workspace .calendar-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;}
.workspace .calendar-nav>strong{flex-basis:100%;text-align:center;}
.workspace .calendar-nav .mobile-icon-control>.control-label{display:inline;}
.workspace .metric-system-age{grid-column:1/-1;}
.workspace .metric-system-age small{display:block;color:var(--muted);}
html[data-theme] .workspace #module-panel .application-row.application-state-pending{background:#8b6508;color:#fff5cf;border-color:#b99027;}
html[data-theme] .workspace #module-panel .application-row.application-state-approved{background:#426b49;color:#f1ffe8;border-color:#70936b;}
html[data-theme] .workspace #module-panel .application-row.application-state-declined{background:#702c3b;color:#fff0f2;border-color:#a95b6c;}
.workspace #module-panel .application-row:is(.application-state-pending,.application-state-approved,.application-state-declined) :is(.ui-muted,.ui-reference){color:inherit;}
html[data-theme] .workspace #module-panel .team-row.role-super_admin{border-left:6px solid #a78bfa;background:#382a4f;color:#f5eaff;}
html[data-theme] .workspace #module-panel .team-row.role-centre_manager{border-left:6px solid #80b886;background:#294a36;color:#eaffef;}
html[data-theme] .workspace #module-panel .team-row.role-staff{border-left:6px solid #81b2e0;background:#263f59;color:#eef7ff;}
html[data-theme] .workspace #module-panel .team-row.role-kitchen{border-left:6px solid #e5b56d;background:#574229;color:#fff4df;}
.workspace #module-panel .team-row[class*=role-] .ui-muted{color:inherit;}
html[data-theme] .workspace #module-panel .team-row.account-disabled{border-left-color:#9ca3af;background:#3e4249;color:#eee;}
.workspace .donation-entry-dialog{width:min(520px,calc(100vw - 24px));}
@media(max-width:600px){.workspace .metric-system-age{display:block;}.workspace .metric-system-age strong{display:block;margin:8px 0;}}

.workspace .room-mobile-controls .mobile-icon-control>svg{display:none;}
.workspace .room-mobile-controls .mobile-icon-control>.control-label{display:inline;}
.workspace #module-panel .application-row:is(.application-state-pending,.application-state-approved,.application-state-declined) h3{color:inherit;}

.workspace .room-calendar-caption{text-align:center;margin:12px 0;padding:8px 10px;font-size:14px;font-weight:600;overflow-wrap:anywhere;}

/* Each owned event spans its dates; column widths remain identical on all rows. */
/* Fixed inventory cells with range bars; identical structure at all breakpoints. */
.workspace .room-calendar{--room-gap:4px;--room-cell-width:76px;--room-row-height:52px;border-spacing:var(--room-gap);width:calc(var(--room-label-width) + var(--calendar-day-count)*var(--room-cell-width) + (var(--calendar-day-count) + 2)*var(--room-gap))}
.workspace .room-calendar col.room-code-column{width:var(--room-label-width)}
.workspace .room-calendar col.room-day-column{width:var(--room-cell-width)}
.workspace .room-calendar td.room-event-anchor{position:relative;z-index:1;overflow:visible}
.workspace .room-calendar tbody th.room-name{position:sticky;left:0;z-index:2}
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar{position:absolute;left:0;top:0;width:calc(var(--event-span)*100% + (var(--event-span) - 1)*var(--room-gap));max-width:none;height:var(--room-row-height);min-height:var(--room-row-height);max-height:var(--room-row-height);display:flex;justify-content:flex-start;text-align:left;padding:4px 8px!important;background:var(--day-bg);color:var(--day-ink);overflow:clip;white-space:nowrap;border:0}
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar:is(:hover,:focus-visible){background:color-mix(in srgb,var(--day-bg) 50%,black);color:#fff}
.workspace .room-range-content{display:flex;flex-direction:column;align-items:stretch;gap:2px;position:sticky;left:calc(var(--room-label-width) + 8px);min-width:0;max-width:min(100%,calc(100vw - var(--room-label-width) - 40px));pointer-events:none}
.workspace .room-range-name{display:block;font-size:14px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.workspace .room-range-summary{display:block;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.workspace #module-panel .room-calendar thead .room-heading .date-cell-button{background:#b42318;color:#fff;--day-bg:#b42318;--day-ink:#fff}
.workspace #module-panel .room-calendar thead .room-heading .date-cell-button:is(:hover,:focus-visible){background:#7f1d1d;color:#fff}
.workspace #module-panel .room-calendar thead .room-heading .date-cell-button:disabled{opacity:.65}
.workspace #room-inline-editor{min-width:0;max-width:100%}
.workspace #room-inline-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.workspace #room-inline-editor form>.ui-actions,.workspace #room-inline-editor form>.ui-notice{grid-column:1/-1}
@media(max-width:900px){.workspace .room-calendar{--room-gap:3px;--room-cell-width:68px;--room-row-height:56px}.workspace #room-inline-editor form{grid-template-columns:1fr}.workspace #room-inline-editor input,.workspace #room-inline-editor textarea{font-size:16px;max-width:100%;min-width:0}.workspace .room-range-name{font-size:16px;line-height:20px}.workspace .room-range-summary{font-size:13px;line-height:18px}}

/* Continuous timeline: one native scrollbar drives a pinned date header. */
.workspace .room-timeline-sticky{position:sticky;top:var(--timeline-top,0px);z-index:7;background:var(--ds-surface);isolation:isolate}
.workspace .room-timeline-sticky .room-calendar-controls{margin:0;padding:8px 4px;background:var(--ds-surface)}
.workspace .room-timeline-sticky .calendar-nav{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:12px}
.workspace .room-timeline-sticky .calendar-nav strong{min-width:150px;text-align:center}
.workspace .room-timeline-header{width:100%;overflow:hidden;background:var(--ds-surface);border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;overflow-anchor:none}
.workspace .room-timeline-header .room-calendar{margin:0}
.workspace .facility-calendar>.calendar-scroll{margin-top:0!important;border-top:0;border-radius:0 0 10px 10px;scroll-behavior:auto;overflow-anchor:none}
.workspace .facility-calendar>.calendar-scroll[aria-busy=true]{cursor:progress}
.workspace .facility-calendar:has(.room-timeline-sticky){overflow:visible}
@media(max-width:900px){.workspace .facility-calendar[data-mobile-view=day] .room-timeline-header{display:none}.workspace .room-timeline-sticky .calendar-nav .ui-button{flex:0 0 auto;min-width:64px}.workspace .room-timeline-sticky .calendar-nav strong{flex:0 1 auto}}

.workspace .room-timeline-sticky .calendar-nav strong{flex:0 1 auto!important;width:auto;min-width:150px}
.workspace .room-timeline-header,.workspace .facility-calendar>.calendar-scroll{cursor:grab}
.workspace .timeline-dragging,.workspace .timeline-dragging *{cursor:grabbing!important;user-select:none!important}


/* Login layout is external to comply with the staff Content Security Policy. */
.staff-content:has(#module-title.visually-hidden) .page-heading .ui-kicker{display:none}

#login-panel{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:clamp(24px,5vw,72px);align-items:center;max-width:1080px;margin:clamp(24px,6vh,72px) auto;padding:clamp(20px,4vw,48px)}
#login-panel[hidden]{display:none}#login-panel .login-intro,#login-panel .login-card{min-width:0}#login-panel .login-intro h1{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:10px 0}#login-panel .login-intro img{display:block;width:100%;height:clamp(180px,25vw,300px);object-fit:cover;border-radius:16px;margin-top:24px}#login-panel .login-card{box-sizing:border-box;padding:clamp(24px,4vw,36px);border:1px solid #8884;border-radius:18px;box-shadow:0 12px 40px #0001}#login-panel .login-card h2{margin:8px 0 12px}#login-panel #google-signin{width:100%;min-height:48px;margin:12px 0}#login-panel #auth-feedback:empty{display:none}#login-panel p{line-height:1.6}
@media(max-width:700px){#login-panel{grid-template-columns:1fr;gap:20px;margin:0 auto;padding:24px 16px;max-width:480px}#login-panel .login-intro img{display:none}#login-panel .login-intro{text-align:center}#login-panel .login-card{padding:24px 20px}}

.backup-checksum{overflow-wrap:anywhere}

/* Desktop rooms only: compact header and refresh in the sidebar. */
@media (min-width:901px){
 .workspace .staff-layout[data-view=rooms] .page-heading{display:none}
 .workspace .staff-layout[data-view=rooms] .staff-sidebar #sync-status{display:none}
 .workspace .staff-layout[data-view=rooms] .staff-sidebar #refresh-view{position:static;width:100%;margin:24px 0 0}
 .workspace .staff-layout[data-view=rooms] .staff-content{padding-top:0}
 .workspace .staff-layout[data-view=rooms] #workspace-message:empty{display:none;margin:0}
 .workspace .staff-layout[data-view=rooms] #module-panel{margin-top:0;padding-top:0;border-radius:0}
 .workspace .staff-layout[data-view=rooms] .room-occupancy-summary{padding-top:10px;padding-bottom:10px;border-radius:0}
 .workspace .staff-layout[data-view=rooms] .room-legend-details{margin-top:0;padding-top:10px}
}

/* Dashboard credit and translucent room timeline. The actual day cells remain visible. */
.workspace .staff-credit{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 12px;padding:18px 12px;margin-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;text-align:center;letter-spacing:.025em;background:transparent}
.workspace .staff-credit-year{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink)}
.workspace .staff-credit-author{font-size:12px}
.workspace .staff-credit-author strong{color:var(--ink);font-weight:600}
@media(min-width:901px){
 .workspace .staff-layout[data-view=rooms] .staff-sidebar #refresh-view{background:#168348;border-color:#168348;color:#fff;font-weight:600}
 .workspace .staff-layout[data-view=rooms] .staff-sidebar #refresh-view:is(:hover,:focus-visible){background:#116637;border-color:#116637;color:#fff}
 .workspace .room-calendar td.room-event-day{background:color-mix(in srgb,var(--day-bg) 55%,var(--ds-surface));border-radius:5px}
 .workspace #module-panel .room-calendar .date-cell-button.room-event-bar{background:color-mix(in srgb,var(--day-bg) 35%,transparent);color:var(--ink);outline:1px dashed #fff;outline-offset:-4px;padding:6px 9px!important}
 .workspace #module-panel .room-calendar .date-cell-button.room-event-bar:is(:hover,:focus-visible){background:color-mix(in srgb,var(--day-bg) 53%,transparent);color:var(--ink);outline:2px dashed #fff;outline-offset:-4px}
 .workspace .room-range-content{z-index:1;background:color-mix(in srgb,var(--ds-surface) 88%,transparent);color:var(--ink);border-radius:3px;padding:1px 5px}
}

/* Room labels, holiday dates and fitted range text: both screen sizes. */
.workspace .room-calendar{--room-label-width:48px}
.workspace .room-calendar col.room-code-column{width:var(--room-label-width);min-width:var(--room-label-width);max-width:var(--room-label-width)}
.workspace .room-calendar :is(th.room-heading,th.room-name){box-sizing:border-box;width:var(--room-label-width);min-width:var(--room-label-width);max-width:var(--room-label-width)}
.workspace #module-panel .room-calendar :is(.room-heading,.room-name)>.date-cell-button{width:100%;min-width:0;max-width:100%;padding:2px 5px!important;white-space:nowrap;font-family:Sarabun,Tahoma,sans-serif;font-size:16px;overflow:hidden}
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar{justify-content:center;text-align:center;padding:6px 9px!important}
.workspace #module-panel .room-calendar .room-range-content{position:static;display:block;flex:0 0 auto;width:max-content;min-width:0;max-width:none;background:none;border-radius:0;padding:0;white-space:nowrap;line-height:1.2;font-family:Sarabun,Tahoma,sans-serif;font-size:16px;font-weight:600;letter-spacing:normal;color:inherit}
.workspace #module-panel .room-calendar .room-event-bar{background:color-mix(in srgb,var(--day-bg) 35%,transparent);color:var(--ink);outline:1px dashed #fff;outline-offset:-4px}
.workspace .room-calendar td.room-event-day{background:color-mix(in srgb,var(--day-bg) 55%,var(--ds-surface));border-radius:5px}
.workspace #module-panel .room-calendar .room-event-bar:is(:hover,:focus-visible){background:color-mix(in srgb,var(--day-bg) 53%,transparent);color:var(--ink);outline:2px dashed #fff;outline-offset:-4px}
.workspace #module-panel .room-calendar thead th.room-holiday{--day-bg:#d676a0;--day-ink:#301323;background:#d676a0;color:#301323;box-shadow:none}
html[data-theme=dark] .workspace #module-panel .room-calendar thead th.room-holiday{--day-bg:#d676a0;--day-ink:#301323;background:#d676a0;color:#301323;box-shadow:none}
.workspace #module-panel .room-calendar thead th.room-holiday>.date-cell-button{background:transparent;color:inherit;box-shadow:none;outline:1px dashed #fff;outline-offset:-4px}
.workspace #module-panel .room-calendar thead th.room-holiday>.date-cell-button:is(:hover,:focus-visible){background:#af4878;color:#fff;outline:2px dashed #fff;outline-offset:-4px}
.workspace #module-panel .room-calendar thead th.room-holiday .room-date-event{color:inherit}
.workspace #module-panel .room-calendar thead th.room-holiday:not(.room-today) .room-date-number{background:transparent;box-shadow:none;color:inherit}

/* Dynamic Today calendar: Bangkok date, inset white stitching, both layouts. */
.workspace #module-panel .room-calendar-controls .room-today-button{margin-block:10px;position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:9px;min-width:108px;min-height:48px;padding:7px 13px;background:#315b40;color:#fff;border:1px solid #7bb18a;border-radius:9px;outline:1px dashed #fff;outline-offset:-4px;font:600 16px/1.2 Sarabun,Tahoma,sans-serif}
.workspace #module-panel .room-today-button .room-today-icon{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:32px;padding-top:7px;border-radius:5px;background:linear-gradient(to bottom,#80ba8d 0 8px,#edf5e9 8px 100%);color:#24452e;box-sizing:border-box}
.workspace #module-panel .room-today-icon::before,.workspace #module-panel .room-today-icon::after{content:"";position:absolute;top:-2px;width:3px;height:7px;border-radius:2px;background:#e0f4dc}
.workspace #module-panel .room-today-icon::before{left:7px}
.workspace #module-panel .room-today-icon::after{right:7px}
.workspace #module-panel .room-today-number{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.workspace #module-panel .room-today-button:not(:disabled):is(:hover,:focus-visible){background:#237347;border-color:#a4d9ae;color:#fff;box-shadow:0 0 12px #65c68455}
.workspace #module-panel .room-today-button:focus-visible{outline:2px dashed #fff;outline-offset:-4px}
.workspace #module-panel .room-today-button:disabled{opacity:.65;cursor:wait}

/* Room range labels follow the horizontal viewport within their own event. */
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar{justify-content:flex-start;text-align:left;overflow:clip}
.workspace #module-panel .room-calendar .room-range-content{position:sticky;left:calc(var(--room-label-width) + 12px);display:block;flex:0 1 auto;width:max-content;max-width:min(100%,calc(100vw - 232px));min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left;white-space:nowrap;font-size:16px}
@media(max-width:900px){
 .workspace #module-panel .room-calendar .room-range-content{max-width:min(100%,calc(100vw - 80px))}
}
.workspace .facility-calendar>.calendar-scroll{scrollbar-width:none}
.workspace .facility-calendar>.calendar-scroll::-webkit-scrollbar{height:0;width:0}
.workspace .staff-layout[data-view=rooms] #module-panel{padding-bottom:0;margin-bottom:0}
.workspace .staff-layout[data-view=rooms] .facility-calendar,.workspace .staff-layout[data-view=rooms] .facility-calendar>.calendar-scroll,.workspace .staff-layout[data-view=rooms] .facility-calendar .room-calendar{margin-bottom:0}
.workspace .staff-credit{margin:0;display:flex;align-items:center;align-content:center;justify-content:center;text-align:center;box-sizing:border-box;min-height:57px;padding:18px 12px}

/* Flush room labels, balanced Today spacing and content-sized credit. */
.workspace #module-panel .room-calendar :is(th.room-heading,th.room-name),
.workspace #module-panel .room-calendar :is(.room-heading,.room-name)>.date-cell-button{border-top-left-radius:0;border-bottom-left-radius:0}
.workspace #module-panel .room-timeline-sticky .room-calendar-controls{padding-block:0}
.workspace #module-panel .room-timeline-sticky .calendar-nav{row-gap:0}
.workspace #module-panel .room-calendar-controls .room-today-button{margin-block:10px}
.workspace .staff-credit{height:auto;min-height:0;padding:10px 12px;margin:0;align-items:center;align-content:center;justify-content:center;text-align:center}
@media(max-width:900px){
 .workspace .staff-layout[data-view=rooms] .page-heading{display:flex;justify-content:center;align-items:center;min-height:0;margin:0;padding:0;gap:0}
 .workspace .staff-layout[data-view=rooms] .page-heading>div{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .workspace .staff-layout[data-view=rooms] .page-heading #refresh-view{position:static;margin:10px 0;min-height:44px;background:#168348;border-color:#168348;color:#fff;font-weight:600}
 .workspace .staff-layout[data-view=rooms] .page-heading #refresh-view:is(:hover,:focus-visible){background:#116637;border-color:#116637;color:#fff}
 .workspace .staff-layout[data-view=rooms] #workspace-message:empty{display:none;margin:0}
}

/* Shared dashboard header: one refresh control and no repeated module titles. */
.workspace .staff-layout .page-heading>div,
.workspace .staff-layout:not([data-view=rooms]) #module-panel>div>h2#module-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.workspace .staff-layout #workspace-message:empty{display:none;margin:0}
.workspace .staff-layout .staff-content{padding-top:0}
.workspace .staff-layout:not([data-view=rooms]) #module-panel{margin-top:0;padding-top:10px;border-radius:0}
.workspace .staff-layout .staff-sidebar #sync-status{display:none}
.workspace .staff-layout #refresh-view{background:#168348;border-color:#168348;color:#fff;font-weight:600}
.workspace .staff-layout #refresh-view:is(:hover,:focus-visible){background:#116637;border-color:#116637;color:#fff}
@media(min-width:901px){
 .workspace .staff-layout .page-heading{display:none}
 .workspace .staff-layout .staff-sidebar #refresh-view{position:static;width:100%;margin:10px 0}
}
@media(max-width:900px){
 .workspace .staff-layout .page-heading{display:flex;justify-content:center;align-items:center;min-height:0;margin:0;padding:0;gap:0}
 .workspace .staff-layout .page-heading #refresh-view{position:static;margin:10px 0;min-height:44px}
 .workspace .staff-layout:not([data-view=rooms]) .page-heading #refresh-view{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;box-sizing:border-box}
 .workspace .staff-layout .page-heading #refresh-view svg{display:block;width:24px;height:24px;flex-shrink:0}
}

/* Zen Earth: shared staff design tokens; public website untouched. */
.workspace{--ds-bg:#f4f0e8;--ds-surface:#fffdf7;--ds-raised:#eee9de;--ink:#302e28;--muted:#625f50;--line:#d4ccbb;--ds-control:#fffdf7;--ds-control-line:#8b826e;--ds-accent:#426335;--ds-selected:#e2e7d5;--ds-selected-ink:#34492b;--ds-focus:#426986;--ds-danger:#873c38;--ds-warning:#79581b;--ds-hover:#e8e3d6;--zen-empty:#e7e2d7;--zen-past:#efebe3;--zen-base-ink:#625e52;--zen-past-ink:#69645a;--paper:var(--ds-bg);--white:var(--ds-surface);--forest:var(--ds-accent);--forest-dark:var(--ds-accent);--zen-header:#625f4e;--zen-male:#485c68;--zen-female:#765660;--zen-holiday:#934e66;--zen-primary:#466b36;--zen-booked:#365a77;--zen-occupied:#466b36;--zen-pending:#805d19;--zen-maintenance:#94502b;--zen-disabled:#694b75;--zen-cleaning:#785c36;--zen-unknown:#5e6267;--zen-centre-closed:#87433d;--zen-departure-day:#746044}
.workspace .room-calendar{--room-header-bg:var(--zen-header);--room-header-ink:#fff;--room-header-border:var(--zen-header);--room-header-event:#fff}
.workspace .room-state.available{--day-bg:var(--zen-empty);--day-ink:var(--zen-base-ink)}
.workspace .room-state.inactive{--day-bg:var(--zen-past);--day-ink:var(--zen-past-ink)}
.workspace .room-state.booked{--day-bg:var(--zen-booked);--day-ink:#fff}
.workspace .room-state.occupied{--day-bg:var(--zen-occupied);--day-ink:#fff}
.workspace .room-state.pending{--day-bg:var(--zen-pending);--day-ink:#fff}
.workspace .room-state.maintenance{--day-bg:var(--zen-maintenance);--day-ink:#fff}
.workspace .room-state.disabled{--day-bg:var(--zen-disabled);--day-ink:#fff}
.workspace .room-state.cleaning{--day-bg:var(--zen-cleaning);--day-ink:#fff}
.workspace .room-state.unknown{--day-bg:var(--zen-unknown);--day-ink:#fff}
.workspace .room-state.centre-closed{--day-bg:var(--zen-centre-closed);--day-ink:#fff}
.workspace .room-state.departure-day{--day-bg:var(--zen-departure-day);--day-ink:#fff}
.workspace .room-calendar tr.male-room .room-name{background:var(--zen-male);--day-bg:var(--zen-male);--day-ink:#fff;color:#fff}
.workspace .room-calendar tr.female-room .room-name{background:var(--zen-female);--day-bg:var(--zen-female);--day-ink:#fff;color:#fff}
.workspace #module-panel .room-calendar thead th.room-holiday{--day-bg:var(--zen-holiday);--day-ink:#fff;background:var(--zen-holiday);color:#fff;box-shadow:none}
.workspace #module-panel .room-calendar thead th.centre-closed:not(.room-holiday){--day-bg:var(--zen-centre-closed);--day-ink:#fff;background:var(--zen-centre-closed);color:#fff}
.workspace #module-panel .room-calendar thead th.centre-closed:not(.room-holiday)>.date-cell-button{background:transparent;color:#fff}
.workspace :is(.ui-button.primary,#module-panel .ui-button.primary){background:var(--zen-primary);border-color:var(--zen-primary);color:#fff}
html[data-theme=dark] .workspace{--ds-bg:#24231f;--ds-surface:#302e28;--ds-raised:#39372f;--ink:#f0ecdf;--muted:#c6c0ad;--line:#5f5a4b;--ds-control:#292820;--ds-control-line:#938b75;--ds-accent:#b8d29d;--ds-selected:#46553a;--ds-selected-ink:#f0f6e5;--ds-focus:#f4ce65;--ds-danger:#ffb9af;--ds-warning:#f4ce86;--ds-hover:#474438;--zen-empty:#414037;--zen-past:#34322d;--zen-base-ink:#c8c2b1;--zen-past-ink:#b7b1a2;--paper:var(--ds-bg);--white:var(--ds-surface);--forest:var(--ds-accent);--forest-dark:var(--ds-accent);--zen-header:#625f4e;--zen-male:#485c68;--zen-female:#765660;--zen-holiday:#934e66;--zen-primary:#466b36;--zen-booked:#365a77;--zen-occupied:#466b36;--zen-pending:#805d19;--zen-maintenance:#94502b;--zen-disabled:#694b75;--zen-cleaning:#785c36;--zen-unknown:#5e6267;--zen-centre-closed:#87433d;--zen-departure-day:#746044}
html[data-theme=dark] .workspace .room-calendar{--room-header-bg:var(--zen-header);--room-header-ink:#fff;--room-header-border:var(--zen-header);--room-header-event:#fff}
html[data-theme=dark] .workspace .room-state.available{--day-bg:var(--zen-empty);--day-ink:var(--zen-base-ink)}
html[data-theme=dark] .workspace .room-state.inactive{--day-bg:var(--zen-past);--day-ink:var(--zen-past-ink)}
html[data-theme=dark] .workspace .room-state.booked{--day-bg:var(--zen-booked);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.occupied{--day-bg:var(--zen-occupied);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.pending{--day-bg:var(--zen-pending);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.maintenance{--day-bg:var(--zen-maintenance);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.disabled{--day-bg:var(--zen-disabled);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.cleaning{--day-bg:var(--zen-cleaning);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.unknown{--day-bg:var(--zen-unknown);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.centre-closed{--day-bg:var(--zen-centre-closed);--day-ink:#fff}
html[data-theme=dark] .workspace .room-state.departure-day{--day-bg:var(--zen-departure-day);--day-ink:#fff}
html[data-theme=dark] .workspace .room-calendar tr.male-room .room-name{background:var(--zen-male);--day-bg:var(--zen-male);--day-ink:#fff;color:#fff}
html[data-theme=dark] .workspace .room-calendar tr.female-room .room-name{background:var(--zen-female);--day-bg:var(--zen-female);--day-ink:#fff;color:#fff}
html[data-theme=dark] .workspace #module-panel .room-calendar thead th.room-holiday{--day-bg:var(--zen-holiday);--day-ink:#fff;background:var(--zen-holiday);color:#fff;box-shadow:none}
html[data-theme=dark] .workspace #module-panel .room-calendar thead th.centre-closed:not(.room-holiday){--day-bg:var(--zen-centre-closed);--day-ink:#fff;background:var(--zen-centre-closed);color:#fff}
html[data-theme=dark] .workspace #module-panel .room-calendar thead th.centre-closed:not(.room-holiday)>.date-cell-button{background:transparent;color:#fff}
html[data-theme=dark] .workspace :is(.ui-button.primary,#module-panel .ui-button.primary){background:var(--zen-primary);border-color:var(--zen-primary);color:#fff}

.workspace #module-panel .room-calendar thead .room-heading .date-cell-button{background:var(--zen-centre-closed);--day-bg:var(--zen-centre-closed);color:#fff}
.workspace #module-panel .room-calendar thead th.room-holiday>.date-cell-button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--zen-holiday) 80%,black);color:#fff}
.workspace .room-calendar td.room-event-day{background:var(--day-bg)}
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar{background:color-mix(in srgb,var(--day-bg) 90%,transparent);color:#fff;outline:1px dashed #ffffffb3;outline-offset:-4px}
.workspace #module-panel .room-calendar .date-cell-button.room-event-bar:is(:hover,:focus-visible){background:color-mix(in srgb,var(--day-bg) 78%,black);color:#fff;outline:2px dashed #fff;outline-offset:-4px}
.workspace #module-panel .room-calendar .room-range-content{color:inherit;background:none}
.workspace #module-panel .room-calendar .room-state:is(.available,.inactive)>.date-cell-button{color:var(--day-ink);background:var(--day-bg)}
.workspace #module-panel .room-calendar .room-state.available>.date-cell-button:is(:hover,:focus-visible){background:var(--ds-hover);color:var(--ink)}
.workspace .staff-layout .staff-sidebar #refresh-view,.workspace .staff-layout .page-heading #refresh-view,.workspace .staff-layout[data-view=rooms] .staff-sidebar #refresh-view,.workspace .staff-layout[data-view=rooms] .page-heading #refresh-view{background:var(--zen-primary);border-color:var(--zen-primary);color:#fff}
.workspace .staff-layout .staff-sidebar #refresh-view:is(:hover,:focus-visible),.workspace .staff-layout .page-heading #refresh-view:is(:hover,:focus-visible),.workspace .staff-layout[data-view=rooms] .staff-sidebar #refresh-view:is(:hover,:focus-visible),.workspace .staff-layout[data-view=rooms] .page-heading #refresh-view:is(:hover,:focus-visible){background:#38562c;border-color:#38562c;color:#fff}
.workspace #module-panel .room-calendar-controls .room-today-button{background:var(--zen-primary);border-color:#a5b78c}
.workspace #module-panel .room-today-button:not(:disabled):is(:hover,:focus-visible){background:#38562c;border-color:#a5b78c;box-shadow:0 0 12px #a5b78c55}
html[data-theme] .workspace #module-panel .application-row.application-state-pending{background:var(--zen-pending);color:#fff;border-color:var(--zen-pending)}
html[data-theme] .workspace #module-panel .application-row.application-state-approved{background:var(--zen-occupied);color:#fff;border-color:var(--zen-occupied)}
html[data-theme] .workspace #module-panel .application-row.application-state-declined{background:var(--zen-centre-closed);color:#fff;border-color:var(--zen-centre-closed)}
html[data-theme] .workspace #module-panel .team-row:is(.role-super_admin,.role-centre_manager,.role-staff,.role-kitchen){background:var(--ds-raised);color:var(--ink)}
html[data-theme] .workspace #module-panel .team-row.role-super_admin{border-left-color:var(--zen-disabled)}
html[data-theme] .workspace #module-panel .team-row.role-centre_manager{border-left-color:var(--zen-occupied)}
html[data-theme] .workspace #module-panel .team-row.role-staff{border-left-color:var(--zen-booked)}
html[data-theme] .workspace #module-panel .team-row.role-kitchen{border-left-color:var(--zen-cleaning)}
/* Compact legend: semantic color dot plus readable text, no pill background. */
.workspace .staff-layout[data-view=rooms] .room-legend-details{padding-top:4px;margin:0}
.workspace .room-legend-details>summary{min-height:28px;font-size:13px;line-height:1.4}
.workspace .room-legend-details .calendar-legend{gap:4px 12px;margin:2px 0 8px}
.workspace .room-legend-details .calendar-legend>span.room-state{display:inline-flex;align-items:center;gap:5px;padding:0;background:transparent;color:var(--ink);font-size:12px;line-height:1.5;border-radius:0;white-space:nowrap}
.workspace .room-legend-details .calendar-legend>span.room-state::before{content:"";width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--day-bg);border:1px solid var(--line);box-sizing:border-box}

/* Zen Earth completion: shared controls, forms, dialogs and semantic actions. */
.workspace{--zen-danger-bg:#f5e5e0;--zen-danger-ink:#873c38;--zen-danger-line:#ad726a;--zen-backdrop:#29251f88;--zen-check:#466b36}
html[data-theme=dark] .workspace{--zen-danger-bg:#54332e;--zen-danger-ink:#ffddd5;--zen-danger-line:#b97c72;--zen-backdrop:#15130fcc;--zen-check:#a5b78c}
.workspace,html[data-theme=dark] .workspace{background:var(--ds-bg);color:var(--ink)}
.workspace a,html[data-theme=dark] .workspace a{color:var(--ds-accent)}
.workspace :is(input:not([type=checkbox],[type=radio],[type=range]),select,textarea),
html[data-theme=dark] .workspace :is(input:not([type=checkbox],[type=radio],[type=range]),select,textarea){background:var(--ds-control);color:var(--ink);border-color:var(--ds-control-line);font-family:Sarabun,Tahoma,sans-serif}
.workspace :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--zen-check)}
.workspace :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
.workspace :is(input:read-only,input:disabled,textarea:read-only,textarea:disabled,select:disabled),
html[data-theme=dark] .workspace :is(input:read-only,input:disabled,textarea:read-only,textarea:disabled,select:disabled){background:var(--ds-raised);color:var(--muted)}
.workspace :is(.ui-field,fieldset legend,.detail-grid dt,.ui-reference){color:var(--muted)}
.workspace :is(.ui-button,.ui-button.subtle):not(.primary,.danger,.application-approve,.application-decline,.application-edit,.room-today-button,#refresh-view),
html[data-theme=dark] .workspace :is(.ui-button,.ui-button.subtle):not(.primary,.danger,.application-approve,.application-decline,.application-edit,.room-today-button,#refresh-view){background:var(--ds-control);color:var(--ink);border-color:var(--ds-control-line)}
.workspace .ui-button:not(:disabled,.primary,.danger,.application-approve,.application-decline,.application-edit,.room-today-button,#refresh-view):hover,
html[data-theme=dark] .workspace .ui-button:not(:disabled,.primary,.danger,.application-approve,.application-decline,.application-edit,.room-today-button,#refresh-view):hover{background:var(--ds-hover);color:var(--ink);border-color:var(--ds-control-line)}
.workspace :is(.ui-button.primary,#module-panel .ui-button.primary),html[data-theme=dark] .workspace :is(.ui-button.primary,#module-panel .ui-button.primary){background:var(--zen-primary);border-color:var(--zen-primary);color:#fff}
.workspace :is(.ui-button.danger,#module-panel .ui-button.danger),html[data-theme=dark] .workspace :is(.ui-button.danger,#module-panel .ui-button.danger){background:var(--zen-danger-bg);border-color:var(--zen-danger-line);color:var(--zen-danger-ink)}
.workspace .ui-button.application-approve,html[data-theme=dark] .workspace .ui-button.application-approve{background:var(--zen-occupied);border-color:var(--zen-occupied);color:#fff}
.workspace .ui-button.application-decline,html[data-theme=dark] .workspace .ui-button.application-decline{background:var(--zen-centre-closed);border-color:var(--zen-centre-closed);color:#fff}
.workspace .ui-button.application-edit,html[data-theme=dark] .workspace .ui-button.application-edit{background:var(--zen-pending);border-color:var(--zen-pending);color:#fff}
.workspace :is(.ui-button,#module-panel .ui-button):disabled,html[data-theme=dark] .workspace :is(.ui-button,#module-panel .ui-button):disabled{background:var(--ds-raised);color:var(--muted);border-color:var(--line)}
.workspace :is(.staff-dialog,.dialog-heading,.request-page,.login-card){background:var(--ds-surface);color:var(--ink);border-color:var(--line)}
.workspace .staff-dialog::backdrop{background:var(--zen-backdrop)}
.workspace :is(.ui-notice,#session-status,.account-editor,.expanded-options,.permission-groups fieldset){background:var(--ds-raised);color:var(--ink);border-color:var(--line)}
.workspace .expanded-options .dialog-heading{background:transparent}
.workspace :is(#auth-feedback,#workspace-message[role=alert]),html[data-theme=dark] .workspace #auth-feedback{color:var(--ds-danger)}
.workspace .application-status,html[data-theme=dark] .workspace .application-status{color:var(--ds-warning)}
.workspace :is(.application-row,.team-row) :is(.application-status,.ui-reference){color:inherit}
.workspace :is(.staff-menu a,.staff-mobile-navigation a,.staff-mobile-navigation button),html[data-theme=dark] .workspace :is(.staff-menu a,.staff-mobile-navigation a,.staff-mobile-navigation button){color:var(--ink)}
.workspace :is(.staff-menu a[aria-current=page],.staff-menu a:hover,.staff-mobile-navigation [aria-current=page],.room-view-switch [aria-pressed=true]),
html[data-theme=dark] .workspace :is(.staff-menu a[aria-current=page],.staff-menu a:hover,.staff-mobile-navigation [aria-current=page],.room-view-switch [aria-pressed=true]){background:var(--ds-selected);color:var(--ds-selected-ink);border-color:var(--ds-control-line)}
.workspace .staff-mobile-navigation [aria-current=page]{box-shadow:inset 0 -3px var(--zen-check)}
.workspace .context-options-trigger[aria-expanded=true]{outline-color:var(--ds-focus)}
.workspace .staff-credit{background:var(--ds-bg);color:var(--muted)}

/* Zen Earth public website: shared semantic colors, independent theme preference. */
html[data-public-theme=light]{color-scheme:light;background:#f4f0e8}
html[data-public-theme=dark]{color-scheme:dark;background:#24231f}
body:not(.workspace){--paper:#f4f0e8;--white:#fffdf7;--cream:#eee9de;--sand:#e7e2d7;--ink:#302e28;--muted:#625f50;--line:#d4ccbb;--forest:#426335;--forest-dark:#34492b;--olive:#625f4e;--earth:#786247;--public-control:#fffdf7;--public-control-line:#8b826e;--public-selected:#e2e7d5;--public-hover:#e8e3d6;--public-focus:#426986;--public-danger:#873c38;--public-primary:#466b36;--public-holiday:#934e66;background:var(--paper);color:var(--ink);font-family:Sarabun,"Noto Sans",Arial,sans-serif}
html[data-public-theme=dark] body:not(.workspace){--paper:#24231f;--white:#302e28;--cream:#39372f;--sand:#414037;--ink:#f0ecdf;--muted:#c6c0ad;--line:#5f5a4b;--forest:#b8d29d;--forest-dark:#d4e2bb;--olive:#c6c0ad;--earth:#d2b58b;--public-control:#292820;--public-control-line:#938b75;--public-selected:#46553a;--public-hover:#474438;--public-focus:#f4ce65;--public-danger:#ffb9af}
body:not(.workspace) :is(header,.js .nav.open nav,.page-hero,.centre-welcome,.section.alt,.donation-note,.notice,.intro-note){background:var(--cream);color:var(--ink);border-color:var(--line)}
body:not(.workspace) :is(.centre-guide-grid>a,.card,.review-card,.contact-card,.google-reviews,.google-rating,.article-content,.article-row,.qa-item,.course-card,.checklist-wrap,.guest-wizard,.guest-option,.guest-room-grid,.schedule-table-wrap,.application-receipt,.receipt-reference,.guest-controls>section,.gallery a,#application-form fieldset){background:var(--white);color:var(--ink);border-color:var(--line)}
body:not(.workspace) :is(.centre-welcome h1,.centre-guide h2,.centre-guide-grid>a,.guest-summary h3,.guest-results h3,.guest-room-grid caption,#application-form label,#application-form legend,.receipt-title,.receipt-next h3){color:var(--ink)}
body:not(.workspace) :is(.centre-kicker,.centre-lead,.centre-note,.centre-guide h2 span,.centre-guide-grid>a span,.guest-option span,.guest-summary p,.guest-results>p:last-child,.eyebrow,#application-form>p){color:var(--muted)}
body:not(.workspace) :is(.centre-welcome img,.feature-photo){border-color:var(--line)}
body:not(.workspace) :is(.centre-action.secondary,.public-theme-toggle,.menu-toggle,.guest-action,.receipt-copy,.staff-entry-link){background:var(--public-control);color:var(--ink);border-color:var(--public-control-line)}
body:not(.workspace) :is(.centre-action.secondary,.guest-action,.guest-option,.receipt-copy,.centre-guide-grid>a,.article-row):hover{background:var(--public-hover);color:var(--ink);border-color:var(--public-control-line)}
body:not(.workspace) :is(.guest-summary,.guest-option[aria-pressed=true],#application-panel>p:first-child,.review-card .ack-missing,.receipt-mark){background:var(--public-selected);color:var(--ink);border-color:var(--line)}
body:not(.workspace) .guest-option[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--forest)}
body:not(.workspace) :is(.schedule-table th,.guest-room-grid th){background:var(--sand);color:var(--ink)}
body:not(.workspace) :is(.guest-room-grid td,.schedule-table td){border-color:var(--line)}
body:not(.workspace) :is(input:not([type=checkbox],[type=radio],[type=range]),select,textarea),
html[data-public-theme=dark] body:not(.workspace) :is(input:not([type=checkbox],[type=radio],[type=range]),select,textarea){background:var(--public-control)!important;color:var(--ink)!important;border-color:var(--public-control-line)!important;font-family:Sarabun,"Noto Sans",Arial,sans-serif}
body:not(.workspace) :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--forest)}
body:not(.workspace) :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
body:not(.workspace) :is(input:read-only,input:disabled,textarea:read-only,textarea:disabled,select:disabled),
html[data-public-theme=dark] body:not(.workspace) :is(input:read-only,input:disabled,textarea:read-only,textarea:disabled,select:disabled){background:var(--cream)!important;color:var(--muted)!important}
body:not(.workspace) :is(.centre-action.primary,.google-button,.apply-button,#open-review,.guest-action.guest-continue,.btn-primary,#application-form>button:not(:disabled)),
html[data-public-theme=dark] body:not(.workspace) :is(.centre-action.primary,.google-button,.apply-button,#open-review,.guest-action.guest-continue,.btn-primary,#application-form>button:not(:disabled)),
html[data-public-theme=dark] body:not(.workspace) .centre-welcome .centre-action.primary{background:var(--public-primary);color:#fff!important;border-color:var(--public-primary)}
body:not(.workspace) :is(.centre-action.primary,.google-button,.apply-button,#open-review,.guest-action.guest-continue,.btn-primary,#application-form>button:not(:disabled)):hover,
html[data-public-theme=dark] body:not(.workspace) .centre-welcome .centre-action.primary:hover{background:#38562c;color:#fff!important;border-color:#38562c}
body:not(.workspace) :is(button,input[type=submit]):disabled{background:var(--cream);color:var(--muted);border-color:var(--line)}
body:not(.workspace) :focus-visible,html[data-public-theme=dark] body:not(.workspace) :focus-visible{outline-color:var(--public-focus)}
body:not(.workspace) .guest-holiday{background:var(--public-holiday);color:#fff}
body:not(.workspace) footer,html[data-public-theme=dark] body:not(.workspace) footer{background:var(--cream);color:var(--ink);border-top:1px solid var(--line)}
body:not(.workspace) footer :is(h3,p,a,.footer-bottom),html[data-public-theme=dark] body:not(.workspace) footer :is(h3,p,a,.footer-bottom){color:var(--muted)}
body:not(.workspace) .footer-bottom{border-color:var(--line)}
body:not(.workspace) .receipt-notice{color:var(--public-danger)}
/* Supersede earlier public dark-mode literals with Zen Earth tokens. */
html[data-public-theme=dark] body:not(.workspace) :is(.centre-guide-grid>a:hover,.article-row:hover,.guest-option:hover,.guest-action:hover){background:var(--public-hover);color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) :is(.guest-summary,.guest-option[aria-pressed=true],#application-panel>p:first-child,.review-card .ack-missing){background:var(--public-selected);color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) :is(.staff-entry-link,.receipt-copy,.guest-action,.guest-option,.centre-action.secondary,.public-theme-toggle,.menu-toggle){border-color:var(--public-control-line);color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) .staff-entry-link{background:var(--public-control)}
html[data-public-theme=dark] body:not(.workspace) .guest-room-grid th{background:var(--sand);color:var(--ink)}
html[data-public-theme=dark] body:not(.workspace) .receipt-notice{color:var(--public-danger)}

/* Optional self-hosted font files are generated by npm run build. */

/* Public-only theme correction: resolve inherited legacy surface colors. */
html[data-public-theme] body:not(.workspace){background:var(--paper);color:var(--ink)}
html[data-public-theme] body:not(.workspace) :is(main,.content,.centre-details,.section:not(.alt),.article-content){background:transparent;color:var(--ink)}
html[data-public-theme] body:not(.workspace) :is(h1,h2,h3,h4,.brand,.brand strong,.nav a,.contact-card dt,.contact-card dd,.article-title,.article-info,.article-category,.gallery-note){color:var(--ink)}
html[data-public-theme] body:not(.workspace) :is(header,.page-hero,.section.alt,footer){background:var(--cream);border-color:var(--line)}
html[data-public-theme] body:not(.workspace) :is(.contact-card,.article-row,.card,.course-card,.checklist-wrap,.gallery a,.google-reviews,.google-rating,.schedule-table-wrap){background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-public-theme] body:not(.workspace) :is(.brand small,.eyebrow,.gallery span,.footer-bottom,.contact-card dt){color:var(--muted)}
html[data-public-theme] body:not(.workspace) .public-theme-toggle{position:relative;z-index:2;pointer-events:auto;cursor:pointer;background:var(--public-control);color:var(--ink);border-color:var(--public-control-line)}
html[data-public-theme] body:not(.workspace) #site-navigation a[aria-current=page]{color:var(--forest);border-color:var(--forest)}
.home-teachings{margin-top:0!important;font-size:22px!important}

/* Accessibility skip link is visible only during keyboard focus. */
body:not(.workspace) .skip-link:not(:focus){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body:not(.workspace) .skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;background:var(--white);color:var(--ink);padding:8px 12px;border:1px solid var(--line)}

/* Public theme final layer, independent of the dashboard. */
html[data-public-theme=light]{color-scheme:light;--zen-paper:#f4f0e8;--zen-surface:#fffdf7;--zen-panel:#eee9de;--zen-ink:#302e28;--zen-muted:#625f50;--zen-line:#d4ccbb;--zen-accent:#426335}
html[data-public-theme=dark]{color-scheme:dark;--zen-paper:#24231f;--zen-surface:#302e28;--zen-panel:#39372f;--zen-ink:#f0ecdf;--zen-muted:#c6c0ad;--zen-line:#5f5a4b;--zen-accent:#b8d29d}
html[data-public-theme]{background:var(--zen-paper)}
html[data-public-theme] body{background:var(--zen-paper);color:var(--zen-ink);font-family:Sarabun,Tahoma,Arial,sans-serif}
html[data-public-theme] :is(header,footer,.page-hero,.section.alt,.nav.open nav){background:var(--zen-panel);color:var(--zen-ink);border-color:var(--zen-line)}
html[data-public-theme] :is(.contact-card,.card,.course-card,.notice,.intro-note,.checklist-wrap,.article-row,.gallery a,.google-reviews,.google-rating,.schedule-table-wrap){background:var(--zen-surface);color:var(--zen-ink);border-color:var(--zen-line)}
html[data-public-theme] :is(h1,h2,h3,h4,.brand strong,.article-title,.article-content strong,nav a,footer h3){color:var(--zen-ink)}
html[data-public-theme] :is(.brand small,.eyebrow,.footer-grid p,.footer-grid a,.footer-bottom,.article-category,.gallery span){color:var(--zen-muted)}
html[data-public-theme] .public-theme-toggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;flex:none;cursor:pointer;border:1px solid var(--zen-line);border-radius:9px;background:var(--zen-surface);color:var(--zen-ink);font-size:22px;position:relative;z-index:65}
html[data-public-theme] .public-theme-toggle:hover{border-color:var(--zen-accent)}
html[data-public-theme] .brand-mark{background:var(--zen-surface);color:var(--zen-accent);border-color:var(--zen-line)}
