/* Hesabgah Accounting Checklist 1.3.2 — clean, upcoming-first, RTL and app-ready */
.hgac,.hgac-home,.hgac-profile,.hgac-account-alert{--hgac-ink:#17233c;--hgac-muted:#687386;--hgac-line:#e5eaf0;--hgac-soft:#f7f9fc;--hgac-brand:#183b6b;--hgac-brand-soft:#f2f6fb;--hgac-red:#b42318;--hgac-red-soft:#fff4f2;--hgac-amber:#9a5b00;--hgac-amber-soft:#fff8eb;--hgac-blue:#175cd3;--hgac-blue-soft:#eff7ff;--hgac-violet:#6941c6;--hgac-violet-soft:#f6f3ff;box-sizing:border-box;direction:rtl;color:var(--hgac-ink);font:inherit}
.hgac *,.hgac-home *,.hgac-profile *,.hgac-account-alert *{box-sizing:border-box}
.hgac--clean{max-width:1120px;margin:0 auto;padding:4px 0 20px}
.hgac-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border:1px solid var(--hgac-line);border-radius:18px;background:#fff}
.hgac-hero__copy{min-width:0}.hgac-hero h2,.hgac-home h2,.hgac-section-head h3,.hgac-account-alert h3{margin:4px 0 6px;color:var(--hgac-ink);line-height:1.45}.hgac-hero h2{font-size:clamp(22px,2.2vw,30px)}
.hgac-hero p,.hgac-home p,.hgac-section-head p{margin:0;color:var(--hgac-muted);line-height:1.85}.hgac-section-head p{font-size:12px}
.hgac-kicker{font-size:11.5px;font-weight:800;color:var(--hgac-brand);letter-spacing:-.01em}
.hgac-today{flex:0 0 auto;min-width:155px;padding:11px 13px;border-radius:13px;background:var(--hgac-brand-soft);text-align:center}.hgac-today span{display:block;color:var(--hgac-muted);font-size:11px;margin-bottom:3px}.hgac-today strong{font-size:14px;color:var(--hgac-brand)}
.hgac-section-nav-shell{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 8px);z-index:18;margin-top:10px;padding:5px;border:1px solid var(--hgac-line);border-radius:14px;background:rgba(255,255,255,.98)}.hgac-section-nav-shell.is-static{position:relative;top:auto;z-index:auto}.hgac.hgac-nav-static .hgac-jump-target{scroll-margin-top:14px}.hgac-section-nav{display:flex;gap:5px}.hgac-section-nav a{flex:1 1 0;min-width:0;min-height:50px;display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid transparent;border-radius:10px;color:#526174;text-decoration:none!important;background:transparent;transition:background .15s ease,border-color .15s ease,color .15s ease}.hgac-section-nav a:hover{background:var(--hgac-soft);color:var(--hgac-ink)}.hgac-section-nav a:focus-visible{outline:2px solid var(--hgac-blue);outline-offset:2px}.hgac-section-nav a.is-active{border-color:#d4dfed;background:var(--hgac-brand-soft);color:var(--hgac-brand)}.hgac-section-nav__num{flex:0 0 28px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#eef2f7;color:#667085;font-size:11px;font-weight:800}.hgac-section-nav a.is-active .hgac-section-nav__num{background:var(--hgac-brand);color:#fff}.hgac-section-nav__copy{min-width:0;display:grid;gap:1px;text-align:right}.hgac-section-nav__copy strong{min-width:0;font-size:12.5px;line-height:1.45;color:inherit;font-weight:800}.hgac-section-nav__copy small{font-size:10px;line-height:1.35;color:var(--hgac-muted)}.hgac-jump-target{scroll-margin-top:88px}
.hgac-panel{margin-top:14px;padding:18px 20px;border:1px solid var(--hgac-line);border-radius:18px;background:#fff}
.hgac-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.hgac-section-head h3{font-size:19px;margin:2px 0}.hgac-section-head>a{font-size:12px;text-decoration:none}.hgac-section-head--stackable{align-items:flex-end}.hgac-count{font-size:12px;color:var(--hgac-muted);white-space:nowrap}
.hgac-deadline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hgac-deadline-grid--profile,.hgac-deadline-grid--alert{grid-template-columns:1fr}.hgac-deadline-grid--continuous{grid-template-columns:1fr}
.hgac-item{position:relative;display:grid;grid-template-columns:60px minmax(0,1fr);align-items:start;gap:11px;min-height:82px;padding:11px 12px;border:1px solid var(--hgac-line);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.hgac-item:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:#b8c4d3}.hgac-item:hover{box-shadow:0 7px 22px rgba(20,39,70,.055)}
.hgac-item.is-urgent{border-color:#f3d3cf;background:#fffdfc}.hgac-item.is-urgent:before{background:#d92d20}.hgac-item.is-near{border-color:#f3dfbd;background:#fffefa}.hgac-item.is-near:before{background:#f79009}.hgac-item.is-soon{border-color:#d9e7f8;background:#fbfdff}.hgac-item.is-soon:before{background:#2e90fa}.hgac-item.is-later:before{background:#6d7f98}.hgac-item.is-continuous:before{background:#7f56d9}
.hgac-item__date{width:54px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:11px;background:var(--hgac-soft);line-height:1.2}.hgac-item__date strong{font-size:20px;color:var(--hgac-ink)}.hgac-item__date span{font-size:10.5px;color:var(--hgac-muted);margin-top:4px}.is-urgent .hgac-item__date{background:var(--hgac-red-soft)}.is-urgent .hgac-item__date strong{color:var(--hgac-red)}.is-near .hgac-item__date{background:var(--hgac-amber-soft)}.is-near .hgac-item__date strong{color:var(--hgac-amber)}.is-soon .hgac-item__date{background:var(--hgac-blue-soft)}.is-soon .hgac-item__date strong{color:var(--hgac-blue)}.is-continuous .hgac-item__date{background:var(--hgac-violet-soft)}.is-continuous .hgac-item__date strong{color:var(--hgac-violet)}
.hgac-item__body{min-width:0}.hgac-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:5px}.hgac-category,.hgac-kind,.hgac-status{display:inline-flex;align-items:center;border-radius:999px;font-size:10px;line-height:1;padding:5px 7px;background:var(--hgac-soft);color:#536174}.hgac-kind{background:var(--hgac-violet-soft);color:var(--hgac-violet)}.hgac-status{font-weight:800}.is-urgent .hgac-status{background:var(--hgac-red-soft);color:var(--hgac-red)}.is-near .hgac-status{background:var(--hgac-amber-soft);color:var(--hgac-amber)}.is-soon .hgac-status{background:var(--hgac-blue-soft);color:var(--hgac-blue)}
.hgac-item h4{margin:0;color:var(--hgac-ink);font-size:14px;line-height:1.75;font-weight:800}.hgac-item.is-seen{opacity:.58;background:#f8fafc}.hgac-item.is-completed{opacity:.55;background:#f4f7f5}.hgac-item.is-completed h4{text-decoration:line-through}
.hgac-item__actions{grid-column:1/-1;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding-right:71px;margin-top:-2px}.hgac-state-button{appearance:none;border:1px solid #d5dde7;border-radius:8px;background:#fff;color:#344054;padding:6px 9px;font:inherit;font-size:10.5px;cursor:pointer}.hgac-state-button:hover{border-color:#a8b5c5}.hgac-state-button--done{background:#eefbf3;border-color:#c8efd7;color:#15703d}.hgac-state-button--reset{background:transparent;color:#667085}.hgac-state-button:disabled{cursor:default;opacity:.65}
.hgac-more{margin-top:6px;font-size:11.5px;color:#475467}.hgac-more summary{cursor:pointer;color:#53657d;width:max-content}.hgac-more p{margin:7px 0;line-height:1.8}.hgac-more a{font-weight:700;text-decoration:none}
.hgac-join{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border:1px solid #d7e3f1;border-radius:17px;background:#f6f9fd}.hgac-join h3{font-size:17px;margin:3px 0 4px}.hgac-join p{margin:0;color:var(--hgac-muted);line-height:1.8;font-size:12.5px;max-width:720px}
.hgac-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 14px;border:0;border-radius:10px;background:var(--hgac-brand);color:#fff!important;text-decoration:none!important;font:inherit;font-weight:800;font-size:12px;cursor:pointer;white-space:nowrap}.hgac-button--small{min-height:35px;padding:6px 11px}
.hgac-filter{display:flex;align-items:flex-end;gap:7px;flex-wrap:wrap;margin:0}.hgac-filter label{display:grid;gap:4px;font-size:10.5px;color:var(--hgac-muted)}.hgac-filter select,.hgac-pref-footer select{min-height:35px;border:1px solid #d9e1eb;border-radius:9px;background:#fff;padding:5px 9px;font:inherit;color:var(--hgac-ink);font-size:12px}
.hgac-months{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 13px}.hgac-months a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:6px 8px;border:1px solid var(--hgac-line);border-radius:9px;color:#516175;text-decoration:none;font-size:11px;background:#fff}.hgac-months a:hover{border-color:#b9c5d4}.hgac-months a.is-active{background:var(--hgac-brand);border-color:var(--hgac-brand);color:#fff;font-weight:800}
.hgac-continuous{margin-top:18px;padding-top:16px;border-top:1px solid var(--hgac-line)}.hgac-continuous__head{margin-bottom:10px}.hgac-continuous__head h4{margin:2px 0 0;font-size:15px}
.hgac-note{margin-top:11px;padding:10px 12px;border-radius:10px;background:#fafbfc;color:#667085;font-size:10.5px;line-height:1.8}
.hgac-empty{display:grid;gap:4px;padding:17px;border:1px dashed #d6dee8;border-radius:12px;background:#fafbfd;text-align:center;color:#667085;font-size:12px}.hgac-empty strong{color:#344054}.hgac-empty span{line-height:1.8}
.hgac-home{max-width:1120px;margin:0 auto;padding:18px 20px;border:1px solid var(--hgac-line);border-radius:18px;background:#fff}.hgac-home__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.hgac-home__head h2{font-size:19px;margin:2px 0}.hgac-home__head p{font-size:12px}.hgac-home__head>a{font-size:12px;text-decoration:none;white-space:nowrap}.hgac-home__foot{display:flex;justify-content:flex-end;margin-top:12px}
.hgac-profile{display:grid;gap:12px}.hgac-preferences{border:1px solid var(--hgac-line);border-radius:13px;background:#fff}.hgac-preferences>summary{cursor:pointer;padding:12px 14px;font-weight:800;font-size:13px}.hgac-preferences form{padding:0 14px 14px}.hgac-pref-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hgac-pref-grid label{display:flex;align-items:center;gap:6px;padding:7px 8px;border:1px solid var(--hgac-line);border-radius:9px;font-size:11px}.hgac-pref-footer{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px;font-size:11px}
.hgac-account-alert{padding:14px;border:1px solid #f0d8c8;border-radius:15px;background:#fffaf7}.hgac-account-alert header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.hgac-account-alert h3{font-size:16px;margin:2px 0}.hgac-account-alert header>a{font-size:11px}
@media(max-width:900px){.hgac-section-head--stackable{display:grid;align-items:start}.hgac-filter{width:100%}.hgac-months{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.hgac-section-nav-shell{top:calc(var(--wp-admin--admin-bar--height,0px) + 6px);padding:4px}.hgac-section-nav{gap:4px}.hgac-section-nav a{min-height:54px;gap:6px;padding:6px}.hgac-section-nav__num{flex-basis:24px;width:24px;height:24px;border-radius:7px;font-size:10px}.hgac-section-nav__copy strong{font-size:11.5px}.hgac-section-nav__copy small{font-size:9.5px}.hgac-jump-target{scroll-margin-top:82px}.hgac-hero{display:grid;padding:15px}.hgac-today{min-width:0;width:100%;text-align:right}.hgac-panel,.hgac-home{padding:14px}.hgac-deadline-grid,.hgac-deadline-grid--home,.hgac-deadline-grid--upcoming,.hgac-deadline-grid--month{grid-template-columns:1fr}.hgac-months{grid-template-columns:repeat(3,minmax(0,1fr))}.hgac-join{display:grid}.hgac-join .hgac-button{width:100%}.hgac-pref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hgac-home__head{align-items:center}}
@media(max-width:480px){.hgac-section-nav a{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:3px;min-height:62px}.hgac-section-nav__copy{text-align:center}.hgac-section-nav__copy strong{font-size:10.5px}.hgac-section-nav__copy small{font-size:8.8px}.hgac-item{padding:9px;grid-template-columns:54px minmax(0,1fr)}.hgac-item h4{font-size:13.5px}.hgac-item__actions{padding-right:0}.hgac-pref-grid{grid-template-columns:1fr}.hgac-category{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hgac-hero h2{font-size:21px}.hgac-months{grid-template-columns:repeat(2,minmax(0,1fr))}.hgac-filter label{flex:1 1 130px}.hgac-filter select{width:100%}}
