@font-face{font-family:Sarabun;src:url('/dist/fonts/Sarabun-Regular.ttf')}@font-face{font-family:Sarabun;src:url('/dist/fonts/Sarabun-Bold.ttf');font-weight:700}
.system-header,.system-header *{box-sizing:border-box;font-family:Sarabun,sans-serif}.system-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-bottom:1px solid #dce9f0;padding:14px 28px;color:#064366}.system-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#064366;flex-shrink:0}.system-brand img{width:48px;height:48px;object-fit:contain}.system-brand strong{display:block;font-size:20px}.system-brand small{display:block;font-size:11px;color:#6a8298}.system-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.system-nav>a,.system-nav>button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#124766;padding:10px 8px;font-size:14px;text-decoration:none;cursor:pointer}.system-nav>a.active{border-bottom:3px solid #008f91;color:#008184}.system-nav>button{background:#e8f2f8;border-radius:8px}.system-switch-label{display:grid;gap:3px;font-size:11px;color:#6a8298}.system-switch-label select{width:auto;min-width:90px;margin:0;padding:7px 10px;border:1px solid #cbdfea;border-radius:8px;background:white;color:#124766;font-size:13px}.system-sidebar{padding:24px 12px;background:#f5fafc;border-right:1px solid #dce9f0}.system-sidebar nav{display:grid;gap:6px}.system-sidebar a{display:flex;gap:9px;align-items:center;padding:13px 12px;border-radius:9px;text-decoration:none;color:#124766;font-size:14px}.system-sidebar a.active{background:#dceff8;border-left:3px solid #00b9ca;font-weight:700}.system-sidebar i{font-size:22px}.system-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 78px)}.system-main{padding:28px;min-width:0}.system-main h1{font-size:30px;color:#064366}.system-main .lead{color:#6a8298;line-height:1.8}.system-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}.system-card{background:#fff;border:1px solid #dce9f0;border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:16px;box-shadow:0 8px 24px #06436608}.system-card .module-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#e6f3ff;color:#167ccc;font-size:30px}.system-card h2{font-size:20px;line-height:1.6;margin:0}.system-card p{color:#6a8298;line-height:1.8;margin:0;flex:1}.system-card .button{align-self:flex-start}.system-card:nth-child(2) .module-icon{background:#e2f7f0;color:#008f91}.system-card:nth-child(3) .module-icon{background:#f0eaff;color:#7855c0}
@media(max-width:1100px){.system-header{flex-wrap:wrap}.system-cards{grid-template-columns:1fr}.system-nav{gap:8px}}@media(max-width:800px){.system-header{padding:12px 16px;gap:12px}.system-nav{width:100%}.system-shell{display:block}.system-sidebar{padding:8px;border-right:0;border-bottom:1px solid #dce9f0}.system-sidebar nav{display:flex;overflow:auto}.system-sidebar a{white-space:nowrap}.system-main{padding:18px}.system-main h1{font-size:25px}.system-switch-label select{max-width:200px}.system-card{padding:20px}.system-header .system-nav>button{padding:9px}}

.system-shell{font-family:Sarabun,sans-serif;color:#124766;background:#eef7fb}.system-shell .staff-main{margin:0;max-width:none;width:100%;padding:28px;--green:#008f91;--border:#dce9f0}.system-shell .staff-main .primary{background:#008f91;border-color:#008f91}.system-user{display:flex;align-items:center;gap:6px;font-size:12px;color:#6a8298;max-width:180px;overflow-wrap:anywhere}@media(max-width:800px){.system-shell .staff-main{padding:18px}}
.system-header{min-height:74px;padding:10px 24px;gap:20px;box-shadow:0 2px 8px #153f5710}.system-menu-toggle{border:0;background:transparent;color:#0e3760;font-size:25px;cursor:pointer}.system-brand img{width:50px;height:50px}.system-nav{flex:1;justify-content:flex-end;gap:8px;flex-wrap:nowrap}.system-nav>a{white-space:nowrap;padding:10px 12px;border-radius:8px}.system-nav>a.active{background:#e8f7f5;border:0;color:#00898e}.system-switch-label{display:flex;align-items:center;gap:5px;padding:2px 7px;background:#f5f9fc;border:1px solid #e0eaf0;border-radius:8px}.system-switch-label>i{font-size:20px}.system-switch-label select{border:0;background:transparent;max-width:170px}.system-account{position:relative;display:flex;align-items:center;gap:8px;padding-left:14px;border-left:1px solid #e2ebf0}.system-account>span:not(.system-avatar){min-width:80px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-account strong,.system-account small{display:block}.system-account strong{font-size:14px}.system-account small{font-size:11px;color:#7189a1}.system-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e8f0f8;font-size:28px}.system-account-toggle{border:0;background:none;cursor:pointer;color:#103e6b}.system-account-menu{position:absolute;right:0;top:52px;z-index:100;background:#fff;border:1px solid #dce9f0;border-radius:9px;box-shadow:0 12px 30px #10354d2a;min-width:200px;padding:7px}.system-account-menu[hidden]{display:none}.system-account-menu>*{display:block;width:100%;padding:10px;border:0;background:none;text-align:left;text-decoration:none;color:#123f63;cursor:pointer}.system-account-menu>*:hover{background:#e8f7f5}.system-sidebar{background:#f7fbfd;padding:28px 10px}.system-sidebar nav{gap:9px}.system-sidebar a,.system-sidebar button{border:0;background:transparent;display:flex;align-items:center;gap:14px;padding:15px 16px;text-align:left;font:700 15px Sarabun,sans-serif;color:#17375d;border-radius:8px;text-decoration:none;cursor:pointer}.system-sidebar a.active{background:#ddf1f2;border-left:4px solid #07949b;color:#00868b}.system-sidebar button{width:100%}.system-sidebar a[href*="manuals"]{margin-top:18px;border-top:1px solid #dce9f0;border-radius:0;padding-top:27px}.sidebar-collapsed .system-shell{grid-template-columns:0 minmax(0,1fr)}.sidebar-collapsed .system-sidebar{overflow:hidden;padding:0}.system-main{background:#f0f7fb}.system-main h1{line-height:1.3}@media(max-width:1200px){.system-header{flex-wrap:wrap}.system-nav{flex-wrap:wrap;justify-content:flex-start}.system-account{margin-left:auto}}@media(max-width:800px){.system-header{padding:10px 14px}.system-brand strong{font-size:16px}.system-brand img{width:42px;height:42px}.system-nav{gap:4px}.system-nav>a{font-size:12px;padding:6px}.system-nav>a i{display:none}.system-account{padding-left:5px}.system-account>span:not(.system-avatar){display:none}.system-sidebar{padding:5px}.system-sidebar nav{display:flex;overflow-x:auto}.system-sidebar a,.system-sidebar button{white-space:nowrap;padding:10px;font-size:13px}.system-sidebar a[href*="manuals"]{margin:0;border:0;padding:10px}.sidebar-collapsed .system-sidebar{display:none}.system-switch-label select{max-width:130px}}

/* Shared system-center sidebar, matching the staff accounts screen. */
.system-shell{grid-template-columns:202px minmax(0,1fr)}
.system-sidebar{padding:18px 9px;background:linear-gradient(#fff,#f6fbfd);border-right:1px solid #dfeaf0}
.system-sidebar nav{gap:3px}
.system-sidebar a,.system-sidebar button{min-height:49px;padding:12px 16px;border-radius:7px;color:#123858;font-size:14px}
.system-sidebar a.active{padding-left:12px;border-left:4px solid #079ca4;background:#ddf2f4;color:#00838d}
.system-sidebar a[href*="manuals"]{margin-top:16px;border-top:1px solid #e0eaf0;padding-top:22px}
@media(max-width:800px){.system-shell{display:block}.system-sidebar{padding:7px;background:#fff;border-right:0;border-bottom:1px solid #dfeaf0}.system-sidebar nav{gap:3px}.system-sidebar a,.system-sidebar button{white-space:nowrap;padding:10px;font-size:13px}.system-sidebar a.active{padding-left:7px}.system-sidebar a[href*="manuals"]{margin:0;padding:10px;border:0}.sidebar-collapsed .system-sidebar{display:none}}
.system-version{font-size:12px;color:#71889b;white-space:nowrap}

.admin-breadcrumb{display:flex;align-items:center;gap:8px;min-height:21px;margin:0 0 19px;color:#527394;font:700 13px Sarabun,sans-serif}.admin-breadcrumb a{display:inline-flex;align-items:center;gap:8px;color:#17436d;text-decoration:none}.admin-breadcrumb i{font-size:17px;color:#1687ae}.admin-breadcrumb [aria-current="page"]{color:#527394}

/* Consistent hero typography across the system center. */
.system-shell .portal-hero h1,.system-shell .accounts-hero h1,.system-shell .security-hero h1,.system-shell .public-menu-hero h1,.system-shell .manual-hero h1,.system-shell .versions-hero h1{font-size:26px}
.system-shell .portal-hero p,.system-shell .accounts-hero .accounts-heading p,.system-shell .security-hero .security-heading p,.system-shell .public-menu-hero .public-menu-heading p,.system-shell .manual-hero .manual-heading p,.system-shell .versions-hero .versions-heading p{font-size:14px}
.system-shell .portal-hero h2{font-size:18px}
.system-shell .accounts-hero .accounts-help,.system-shell .public-menu-hero .public-menu-howto summary,.system-shell .public-menu-hero .button,.system-shell .manual-hero .button{font-size:13px}
@media(max-width:800px){.system-shell .portal-hero h1,.system-shell .accounts-hero h1,.system-shell .security-hero h1,.system-shell .public-menu-hero h1,.system-shell .manual-hero h1,.system-shell .versions-hero h1{font-size:22px}}

#logout-confirmation{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-width:none;margin:auto;padding:32px;border:1px solid #dce9f0;border-radius:20px;background:#fff;color:#17375d;box-shadow:0 24px 70px #10354d33;text-align:center;font-family:Sarabun,sans-serif}
#logout-confirmation::backdrop{background:#102b44a6;backdrop-filter:blur(3px)}
#logout-confirmation .logout-confirmation-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:18px;background:#e8f7f5;color:#00898e;font-size:32px}
#logout-confirmation h2{margin:0 0 8px;color:#103e6b;font-size:24px;line-height:1.3}
#logout-confirmation p{margin:0;color:#617b90;font-size:15px;line-height:1.7}
#logout-confirmation .logout-confirmation-actions{display:flex;gap:12px;margin-top:28px}
#logout-confirmation .logout-confirmation-actions button{flex:1;min-height:44px;padding:10px 16px;border:1px solid #cbdfea;border-radius:10px;background:#fff;color:#17375d;font:700 15px Sarabun,sans-serif;cursor:pointer}
#logout-confirmation .logout-confirmation-actions button:hover{background:#f2f8fb}
#logout-confirmation .logout-confirmation-actions .logout-confirmation-submit{border-color:#008f91;background:#008f91;color:#fff}
#logout-confirmation .logout-confirmation-actions .logout-confirmation-submit:hover{background:#00777a}
#logout-confirmation .logout-confirmation-actions button:focus-visible{outline:3px solid #56bbc0;outline-offset:2px}
