/* Account menu (right-side offcanvas) - redesigned 2026-09-18. Scoped to .am, so the old
   .et-accMenu rules in assets/2024/style.css no longer apply; the panel width rules for
   #offcanvasAccountmenu.et-offcanvasMenu (360px / 92vw) there still do. */
.am { --am-green: #1f3b2c; --am-lime: #72b01d; --am-ink: #1f2933; --am-muted: #6b7785; --am-line: #eceff3; --am-bg: #f6f7f5; }
.am .am-head { background: var(--am-green) !important; color: #fff; padding: 18px 16px; border-bottom: 0; align-items: flex-start; }
.am .am-head .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .85; margin-top: 2px; }
.am .am-me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.am .am-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--am-lime); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.am .am-me-text { display: flex; flex-direction: column; min-width: 0; }
.am .am-hello { margin: 0; font-size: 18px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am .am-phone { font-size: 13px; opacity: .8; }
.am .am-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; align-self: flex-start;
	background: rgba(255,255,255,.14); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.am .am-badge i { color: #f5c542; }

.am .am-body { background: var(--am-bg); padding: 14px 12px 24px; }
.am .am-card { background: #fff; border: 1px solid var(--am-line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.am .am-login p { margin: 0 0 12px; color: var(--am-ink); font-size: 14px; }
.am .am-btn-primary { background: var(--am-green); color: #fff; border-radius: 10px; font-weight: 700; padding: 10px; }
.am .am-btn-primary:hover { background: #16301f; color: #fff; }

.am .am-due { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none;
	background: #fff4dc; border: 1px solid #f0d596; color: #5c3b00; border-radius: 12px; padding: 11px 13px; margin-bottom: 12px; font-size: 14px; }
.am .am-due:hover { color: #5c3b00; background: #ffecc2; }
.am .am-due-go { font-weight: 700; white-space: nowrap; }

.am .am-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.am .am-stat { background: #fff; border: 1px solid var(--am-line); border-radius: 12px; padding: 10px; text-decoration: none; color: var(--am-ink); min-width: 0; }
.am .am-stat:hover { border-color: #c9d3c1; color: var(--am-ink); }
.am .am-stat-label { display: block; font-size: 11.5px; color: var(--am-muted); white-space: nowrap; }
.am .am-stat-label i { color: var(--am-green); margin-right: 2px; }
.am .am-stat-val { display: block; font-size: 15px; font-weight: 800; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.am .am-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.am .am-tile { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 6px; text-align: center; text-decoration: none;
	background: #fff; border: 1px solid var(--am-line); border-radius: 12px; color: var(--am-ink); font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.am .am-tile i { font-size: 19px; color: var(--am-green); }
.am .am-tile:hover { border-color: #c9d3c1; color: var(--am-ink); background: #fbfdf8; }

.am .am-sec { font-size: 14px; font-weight: 800; margin: 0 0 10px; color: var(--am-ink); }
.am .am-btn-wa { background: #25d366; color: #fff; font-weight: 700; border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.am .am-btn-wa:hover { background: #1ebe5a; color: #fff; }
.am .am-help-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.am .am-help-row a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px;
	border: 1px solid var(--am-line); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--am-ink); text-decoration: none; white-space: nowrap; }
.am .am-help-row a i { color: var(--am-green); }
.am .am-help-row a:hover { background: #f7f9f5; }
.am .am-count { background: #b42318; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }

.am .am-fold { padding: 0; }
.am .am-fold summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; cursor: pointer;
	font-weight: 700; font-size: 14px; color: var(--am-ink); }
.am .am-fold summary::-webkit-details-marker { display: none; }
.am .am-fold summary i:first-child { color: var(--am-green); margin-right: 8px; }
.am .am-fold-ic { font-size: 12px; color: var(--am-muted); transition: transform .15s; }
.am .am-fold[open] .am-fold-ic { transform: rotate(180deg); }
.am .am-fold-body { border-top: 1px solid var(--am-line); padding: 4px 0; }
.am .am-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--am-ink); text-decoration: none; font-size: 14px; }
.am .am-row:hover { background: #f7f9f5; color: var(--am-ink); }
.am .am-row-ic { width: 18px; text-align: center; color: var(--am-green); }
.am .am-row span { flex: 1; }
.am .am-row-go { font-size: 11px; color: #a3adb8; }

.am .am-social { display: flex; justify-content: center; gap: 10px; margin: 16px 0 10px; }
.am .am-social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--am-line); display: flex;
	align-items: center; justify-content: center; color: var(--am-green); font-size: 16px; text-decoration: none; }
.am .am-social a:hover { background: var(--am-green); color: #fff; }
.am .am-logout { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 10px;
	color: #b42318; font-weight: 700; text-decoration: none; border: 1px solid #f3d1ce; background: #fff; margin-top: 4px; }
.am .am-logout:hover { background: #fdeceb; color: #b42318; }
.am a:focus-visible, .am button:focus-visible, .am summary:focus-visible { outline: 2px solid var(--am-lime); outline-offset: 2px; }
@media (max-width: 360px) { .am .am-stats, .am .am-grid { gap: 6px; } .am .am-tile { font-size: 12px; } }
