/* Lịch Việt v16.9.7 · Focused account home.
   Visual-only: preserves original account routes, settings buttons and auth controllers. */
body.lvg-auth-page {
  --ap17-card:var(--auth18-surface,#fbfffb);
  --ap17-surface:var(--auth18-field,#f5f9f5);
  --ap17-soft:var(--auth18-soft,#e5f3eb);
  --ap17-stroke:var(--auth18-line,#cbded3);
  --ap17-ink:var(--auth18-ink,#173e34);
  --ap17-muted:var(--auth18-muted,#5d7b6f);
  --ap17-accent:var(--auth18-accent,#08755c);
}
body.lvg-auth-page #signed .v1218-profile-home {
  padding:20px!important;
}
body.lvg-auth-page #signed .v1218-profile-head {
  padding:0 0 16px!important;
  margin-bottom:0!important;
}
body.lvg-auth-page #signed .v1218-profile-head h2 {margin-bottom:0!important;}
/* Identity: a prominent single status block, not three unrelated lines. */
body.lvg-auth-page #signed .ap17-identity {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px 12px;padding:15px 16px;margin:15px 0 20px;
  border-radius:15px;border:1px solid var(--ap17-stroke);
  background:var(--ap17-surface);min-width:0;
}
body.lvg-auth-page #signed .ap17-identity[data-verified="no"] {
  background:#fff8e9;border-color:#ecd8a8;
}
html[data-theme="dark"] body.lvg-auth-page #signed .ap17-identity[data-verified="no"] {
  background:#423724;border-color:#7b6841;
}
body.lvg-auth-page #signed .ap17-identity-copy {flex:1 1 220px;min-width:0;}
body.lvg-auth-page #signed .ap17-identity #account-email {
  font-size:15px!important;line-height:1.45!important;font-weight:800!important;
  color:var(--ap17-ink)!important;margin:0 0 3px!important;
  overflow-wrap:anywhere;
}
body.lvg-auth-page #signed .ap17-identity #verified-status {
  font-size:12px!important;line-height:1.5!important;color:var(--ap17-muted)!important;
  margin:0!important;
}
body.lvg-auth-page #signed .ap17-identity[data-verified="no"] #verified-status {color:#8b5722!important;}
html[data-theme="dark"] body.lvg-auth-page #signed .ap17-identity[data-verified="no"] #verified-status {color:#f0d2a2!important;}
body.lvg-auth-page #signed .ap17-identity .ap17-verify:not(.hidden) {
  box-sizing:border-box!important;display:inline-flex!important;align-items:center;justify-content:center;
  min-height:42px!important;padding:9px 14px!important;margin:0!important;
  border-radius:12px!important;background:#176d54!important;color:#fff!important;
  font-size:13px!important;font-weight:800!important;line-height:1.3!important;
}
body.lvg-auth-page #signed .ap17-identity .ap17-verify.hidden {display:none!important;}
/* Navigation is composed of independent priority levels. */
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;width:100%;min-width:0;padding:0!important;
  margin:0!important;border:0!important;background:transparent!important;
}
body.lvg-auth-page #signed .ap17-shortcuts {min-width:0;margin:0 0 8px;}
body.lvg-auth-page #signed .ap17-section-heading {margin-bottom:10px;}
body.lvg-auth-page #signed .ap17-section-heading h3 {
  margin:0 0 3px;color:var(--ap17-ink);font-size:16px;font-weight:800;
  line-height:1.35;
}
body.lvg-auth-page #signed .ap17-section-heading p {
  margin:0;font-size:12px!important;line-height:1.5!important;color:var(--ap17-muted)!important;
}
body.lvg-auth-page #signed .ap17-shortcut-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut {
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:center!important;gap:8px!important;
  min-width:0!important;width:100%!important;min-height:82px!important;height:auto!important;
  padding:13px 12px!important;margin:0!important;
  border:1px solid var(--ap17-stroke)!important;border-radius:15px!important;
  background:var(--ap17-soft)!important;box-shadow:none!important;
  color:var(--ap17-ink)!important;text-align:left!important;cursor:pointer;
  text-decoration:none!important;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut > svg {
  width:21px!important;height:21px!important;flex:0 0 auto;
  stroke:var(--ap17-accent)!important;stroke-width:1.9!important;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut > span {
  display:block!important;max-width:100%;color:var(--ap17-ink)!important;
  font-size:13px!important;line-height:1.35!important;font-weight:750!important;
  text-wrap:pretty;
}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut > b {display:none!important;}
/* Secondary tools are progressive-disclosure rows; browser owns details interaction. */
body.lvg-auth-page #signed .ap17-group {
  min-width:0;overflow:hidden;border:1px solid var(--ap17-stroke);
  border-radius:14px;background:var(--ap17-card);margin:0;
}
body.lvg-auth-page #signed .ap17-group > summary {
  position:relative;display:flex;flex-direction:column;justify-content:center;
  box-sizing:border-box;min-height:69px;padding:12px 56px 12px 15px;
  cursor:pointer;list-style:none;user-select:none;-webkit-tap-highlight-color:transparent;
}
body.lvg-auth-page #signed .ap17-group > summary::-webkit-details-marker {display:none;}
body.lvg-auth-page #signed .ap17-group > summary::marker {content:"";}
/* v16.9.9: one centered, shared chevron surface (no legacy rotated border).
   A single box owns both the icon and the background; no competing ::before. */
body.lvg-auth-page #signed .ap17-group > summary::before {
  content:none!important;display:none!important;
}
body.lvg-auth-page #signed .ap17-group > summary::after {
  content:""!important;
  position:absolute!important;
  top:50%!important;
  right:12px!important;
  display:block!important;
  box-sizing:border-box!important;
  width:var(--lvg-compact-size,36px)!important;
  height:var(--lvg-compact-size,36px)!important;
  min-width:var(--lvg-compact-size,36px)!important;
  margin:0!important;
  padding:0!important;
  flex:none!important;
  border:1px solid var(--lvg-compact-border,#d4e7dc)!important;
  border-radius:var(--lvg-compact-radius,12px)!important;
  background-color:var(--lvg-compact-surface,#e2f0e7)!important;
  background-image:var(--lvg-compact-svg)!important;
  background-position:center!important;
  background-size:16px 16px!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
  transform:translateY(-50%) rotate(0deg)!important;
  transform-origin:center center!important;
  transition:transform 170ms ease,background-color 170ms ease!important;
}
body.lvg-auth-page #signed .ap17-group[open] > summary::after {
  transform:translateY(-50%) rotate(180deg)!important;
}
body.lvg-auth-page #signed .ap17-group-title {
  font-size:14px;font-weight:800;line-height:1.4;color:var(--ap17-ink);
}
body.lvg-auth-page #signed .ap17-group > summary > small {
  display:block;line-height:1.4;font-size:11.5px;color:var(--ap17-muted);
  margin-top:3px;
}
body.lvg-auth-page #signed .ap17-group[open] > summary {background:var(--ap17-surface);}
body.lvg-auth-page #signed .ap17-group-links {padding:0 12px 6px;border-top:1px solid var(--ap17-stroke);}
body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-group-links > .ap17-link {
  display:grid!important;grid-template-columns:20px minmax(0,1fr) 14px!important;
  align-items:center!important;gap:11px!important;box-sizing:border-box!important;
  min-height:53px!important;height:auto!important;width:100%!important;
  padding:10px 2px!important;margin:0!important;background:transparent!important;
  border:0!important;border-bottom:1px solid var(--ap17-stroke)!important;
  border-radius:0!important;box-shadow:none!important;color:var(--ap17-ink)!important;
  font:700 13px/1.4 'Bai Jamjuree',system-ui,sans-serif!important;
  text-decoration:none!important;text-align:left!important;
}
body.lvg-auth-page #signed .ap17-group-links > .ap17-link:last-child {border-bottom:0!important;}
body.lvg-auth-page #signed .ap17-group-links > .ap17-link[hidden] {display:none!important;}
body.lvg-auth-page #signed .ap17-group-links .ap17-link > svg {
  display:block;width:19px!important;height:19px!important;margin:0!important;
  stroke:var(--ap17-accent)!important;stroke-width:1.8!important;
}
body.lvg-auth-page #signed .ap17-group-links .ap17-link > span {
  font-size:13px!important;font-weight:700!important;color:var(--ap17-ink)!important;
  min-width:0;overflow-wrap:anywhere;
}
body.lvg-auth-page #signed .ap17-group-links .ap17-link > b {
  font-size:21px!important;font-weight:400;color:var(--ap17-muted)!important;
  justify-self:end;
}
body.lvg-auth-page #signed .ap17-danger-group .ap17-group-links .ap17-link > span {color:var(--ap17-ink)!important;}
body.lvg-auth-page #signed .v1218-profile-home .ap17-logout {
  display:flex!important;align-items:center;justify-content:center;
  min-height:45px!important;margin:18px 0 0!important;
  border:1px solid var(--ap17-stroke)!important;border-radius:12px!important;
  padding:10px 18px!important;background:transparent!important;
  color:var(--ap17-ink)!important;font-size:13px!important;font-weight:750!important;
  width:100%;
}
body.lvg-auth-page #signed .ap17-menu :is(.ap17-link,.ap17-shortcut):hover,
body.lvg-auth-page #signed .ap17-logout:hover {filter:brightness(.98);}
body.lvg-auth-page #signed :is(.ap17-shortcut,.ap17-group > summary,.ap17-link,.ap17-logout,.ap17-verify):focus-visible {
  outline:3px solid var(--ap17-accent)!important;outline-offset:2px!important;
}
@media(max-width:370px){
  body.lvg-auth-page #signed .v1218-profile-home {padding:15px!important;}
  body.lvg-auth-page #signed .ap17-shortcut-grid {gap:7px;}
  body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut {padding:11px 10px!important;min-height:79px!important;}
  body.lvg-auth-page #signed .v1218-profile-home .ap17-menu .ap17-shortcut > span {font-size:12.5px!important;}
}
@media(prefers-reduced-motion:reduce){body.lvg-auth-page #signed .ap17-group>summary::after{transition:none!important;}}
/* Signed-in view already has the shared "Cá nhân" app header; avoid repeating it. */
body.lvg-auth-page.v1218-signed-in .intro,
body.lvg-auth-page.v1218-signed-in .shell .footnote {display:none!important;}
