/* Lịch Việt v16.1 — large, readable, touch-friendly mode for all generations.
   Preserve document order, critical controls, and theme contrast. No feature is removed. */
body:not(.lvg-admin) .lvg-app-header .lvg-header-actions .lvg-easy-header-toggle.round-icon {
  display:grid!important;place-items:center!important;flex:none!important;
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  padding:0!important;font:800 15px/1 'Bai Jamjuree',system-ui,sans-serif!important;
  color:var(--ah-ink,#154a3e)!important;
}
body:not(.lvg-admin) .lvg-easy-header-toggle[aria-pressed="true"] {background:#daf0e4!important;border-color:#08745d!important;color:#065f4b!important;}
html[data-theme="dark"] body:not(.lvg-admin) .lvg-easy-header-toggle[aria-pressed="true"] {background:#265745!important;color:#fff0be!important;border-color:#c8e2b8!important;}
.lvg-easy-menu-entry {display:grid;gap:8px;border-top:1px solid var(--ah-border,#cfe1d9);padding:12px 0;margin-top:10px;}
.lvg-easy-menu-entry button,.lvg-easy-menu-entry a {min-height:51px;display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid var(--ah-border,#cde1d6);border-radius:12px;background:var(--ah-bg,#fff);color:var(--ah-ink,#183e32);font:750 15px/1.4 'Bai Jamjuree',system-ui,sans-serif;text-decoration:none;cursor:pointer;}
.lvg-easy-menu-entry button>span:first-child {border-radius:9px;padding:5px 7px;background:var(--ah-border,#dbece3);font-size:19px;}
.lvg-easy-menu-entry .lvg-easy-menu-state {margin-left:auto;font-size:12px;white-space:nowrap;}
.lvg-easy-menu-entry a {justify-content:space-between;}
@media(max-width:360px){
  body:not(.lvg-admin) .lvg-app-header.site-header {gap:5px!important;padding-inline:7px!important;}
  body:not(.lvg-admin) .lvg-app-header .lvg-header-actions {gap:4px!important;}
  body:not(.lvg-admin) .lvg-app-header .lvg-header-actions .round-icon {width:37px!important;min-width:37px!important;height:40px!important;min-height:40px!important;}
  body:not(.lvg-admin) .lvg-app-header .lvg-header-brand-text small{font-size:7px!important;}
}
/* A deliberate root size improves content that uses rem instead of fixed px. */
html[data-easy="on"] {font-size:18px!important;scroll-padding-bottom:calc(94px + env(safe-area-inset-bottom,0px));}
html[data-easy="on"] body:not(.lvg-admin) {font-family:'Bai Jamjuree',system-ui,sans-serif!important;line-height:1.65!important;letter-spacing:0!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(p,li,dt,dd) {font-size:max(17px,1em)!important;line-height:1.65!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(label,summary) {font-size:max(17px,1em)!important;line-height:1.5!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) h1 {font-size:clamp(29px,7vw,38px)!important;line-height:1.25!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) h2 {font-size:clamp(23px,5vw,29px)!important;line-height:1.35!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) h3 {font-size:21px!important;line-height:1.38!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {font-size:18px!important;min-height:52px!important;line-height:1.4!important;box-sizing:border-box;max-width:100%;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(button,a) {font-size:17px!important;line-height:1.4!important;overflow-wrap:anywhere;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(button,[role="button"]) {min-height:48px;touch-action:manipulation;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(a[href]) {text-underline-offset:3px;}
html[data-easy="on"] body:not(.lvg-admin) :is(main,article,section) :is(input[type="checkbox"],input[type="radio"]) {min-width:23px;min-height:23px;accent-color:#08755e;}
html[data-easy="on"] body:not(.lvg-admin) .mobile-bottom-nav {min-height:calc(78px + env(safe-area-inset-bottom,0px))!important;}
html[data-easy="on"] body:not(.lvg-admin) .mobile-bottom-nav a {min-height:60px!important;min-width:0!important;}
html[data-easy="on"] body:not(.lvg-admin) .mobile-bottom-nav span {font-size:12px!important;font-weight:800!important;}
html[data-easy="on"] body:not(.lvg-admin) .mobile-bottom-nav svg {width:24px!important;height:24px!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(.lvg-screen-back,.lvg-breadcrumb-v139) {font-size:16px!important;line-height:1.5!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(.native-sheet-links a,.lvg-quick-pinned a) {min-height:54px!important;font-size:17px!important;}
html[data-easy="on"] body:not(.lvg-admin) .lvg-app-header .lvg-header-brand-text strong {font-size:15px!important;}
html[data-easy="on"] body:not(.lvg-admin) .lvg-app-header .lvg-header-brand-text small {font-size:9px!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(.ambient,.orb,.mt-aurora) {display:none!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(.glass,.card,.panel,.sea-card,.qa-panel) {backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 2px 9px rgba(13,55,42,.06)!important;}
html[data-easy="on"] body:not(.lvg-admin) :is(a,button,input,select,textarea,summary):focus-visible {outline:3px solid #dbab47!important;outline-offset:3px!important;}
/* Preserve calendar density, semantic day-grid dimensions and privacy controls. */
html[data-easy="on"] body:not(.lvg-admin) :is(.calendar-grid,.month-grid,.day-grid,.calendar-cells) button {min-height:40px!important;}
@media(prefers-reduced-motion:reduce){html[data-easy="on"] *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
