:root {
  --navy: #05265f;
  --text: var(--tt-text, #343434);
  --muted: var(--tt-text-muted, #858585);
  --border: var(--tt-border, #e5e5e5);
  --soft: var(--tt-surface-soft, #f5f5f5);
  --sidebar: var(--tt-sidebar-width, 330px);
  --topbar: var(--tt-topbar-height, 68px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; direction: rtl; text-align: right; }
button { font: inherit; }
body {
  color: var(--text);
  font-family: var(--tt-font-family, "TTIranSans", Tahoma, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dashboard { min-height: 100vh; background: #fff; }
.sidebar {
  position: fixed; inset: 0 0 0 auto; z-index: 20; width: var(--sidebar);
  padding: 14px 18px 24px; border-left: 1px solid var(--border); background: #fff;
  overflow: hidden; transition: width var(--tt-transition, 180ms ease), padding var(--tt-transition, 180ms ease);
}
.brand { height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 6px 13px; margin-bottom: 5px; border-bottom: 1px solid #ededed; }
.brand .light-logo { max-width: calc(100% - 42px); object-fit: contain; object-position: right center; }
.admin-mode-badge { display: none; }
.sidebar-mode-toggle { width: 34px; height: 34px; margin-right: auto; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #e5e8ed; border-radius: 8px; color: #727b88; background: #fff; cursor: pointer; }
.sidebar-mode-toggle:hover { color: var(--navy); background: #f5f6f8; }
.sidebar-mode-toggle svg { width: 18px; height: 18px; }
.sidebar-expand-icon { display: none; }
.mobile-sidebar-toggle { display: none; }
.sidebar-backdrop { display: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; color: var(--navy); font-weight: 800; font-size: 20px; }
.brand-copy span { margin-top: 4px; font-size: 18px; }
.brand-mark { width: 45px; height: 45px; position: relative; }
.brand-mark:before { content: ""; position: absolute; width: 29px; height: 29px; border: 9px solid var(--navy); border-right-color: transparent; border-radius: 50%; inset: 4px 3px auto auto; transform: rotate(42deg); }
.brand-mark span { position: absolute; background: #0b4b91; width: 9px; height: 23px; border-radius: 8px; right: 5px; top: 11px; transform: rotate(40deg); }
.brand-mark b { position: absolute; background: #f28a23; width: 11px; height: 11px; border-radius: 3px; right: 1px; bottom: 2px; }
#sidebarnav { height: calc(100vh - 105px); display: flex; flex-direction: column; gap: 2px; overflow-y: auto; overflow-x: hidden; padding: 7px 2px 18px; scrollbar-width: thin; scrollbar-color: #d5d8dd transparent; }
#sidebarnav::-webkit-scrollbar { width: 4px; }
#sidebarnav::-webkit-scrollbar-thumb { background: #d5d8dd; border-radius: 10px; }
#sidebarnav::-webkit-scrollbar-track { background: transparent; }
.nav-row {
  position: relative; flex: 0 0 auto; width: 100%; min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 7px; color: #6f7783; background: transparent; cursor: pointer; text-align: right;
  line-height: 1.35; transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.nav-row:hover { background: #f5f6f8; color: var(--navy); }
.nav-row.active { color: var(--navy); background: #f3f3f3; font-weight: 700; }
.nav-row.active:focus-visible { border-color: #1a1a1a; background: #fff; outline: none; }
.nav-row.selected { color: var(--navy); }
.nav-row .menu-icon { width: 18px; height: 18px; color: #8c929a; flex: 0 0 auto; stroke-width: 1.7; }
.nav-row:hover .menu-icon, .nav-row.active .menu-icon, .nav-row.expanded .menu-icon { color: #555d68; }
.nav-row > span { flex: 1; min-width: 0; font-size: 13px; }
.nav-row .menu-chevron { width: 15px; height: 15px; color: #969ca4; flex: 0 0 auto; transition: transform 180ms ease; }
.nav-row.expanded .menu-chevron { transform: rotate(180deg); }
.subnav { max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; padding: 0 37px 0 5px; display: flex; flex: 0 0 auto; flex-direction: column; gap: 0; transition: max-height 220ms ease, opacity 160ms ease, padding 220ms ease, visibility 0s linear 220ms; }
.subnav.open { max-height: 1000px; opacity: 1; visibility: visible; padding-top: 2px; padding-bottom: 7px; transition-delay: 0s; }
.subnav button { position: relative; min-height: 31px; border: 0; border-radius: 6px; background: transparent; color: #7d8392; padding: 6px 13px 6px 5px; text-align: right; font-size: 11.5px; line-height: 1.45; cursor: pointer; }
.subnav button::before { content: ""; position: absolute; right: 1px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #c1c5cb; transform: translateY(-50%); }
.subnav button.active { color: var(--navy); background: #f3f3f3; font-weight: 700; }
.subnav button:hover { color: var(--navy); }
.menu-gap { height: 6px; }
.nav-row.compact { height: 43px; }
.nav-row.soft { background: #f6f6f6; color: var(--navy); font-weight: 700; }

/* Admin mode: a distinct shell while preserving the project's visual language. */
body.admin-mode {
  --admin-sidebar: #102b3f;
  --admin-sidebar-deep: #0a2132;
  --admin-accent: #31c3b3;
  --admin-text: #d9e7ed;
  --admin-muted: #91a9b4;
}
body.admin-mode .sidebar {
  border-left-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, var(--admin-sidebar) 0%, var(--admin-sidebar-deep) 100%);
  box-shadow: -8px 0 28px rgba(5, 25, 38, .12);
}
body.admin-mode .brand { border-bottom-color: rgba(255,255,255,.11); }
body.admin-mode .brand .light-logo { filter: brightness(0) invert(1); opacity: .96; }
body.admin-mode .admin-mode-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-height: 23px; padding: 2px 8px; border: 1px solid rgba(49,195,179,.34); border-radius: 20px;
  color: #bdf5ee; background: rgba(49,195,179,.12); font-size: 9.5px; font-weight: 700; white-space: nowrap;
}
body.admin-mode .sidebar-mode-toggle {
  border-color: rgba(255,255,255,.13); color: #b8cbd4; background: rgba(255,255,255,.06);
}
body.admin-mode .sidebar-mode-toggle:hover { color: #fff; background: rgba(255,255,255,.11); }
body.admin-mode #sidebarnav { scrollbar-color: rgba(255,255,255,.2) transparent; }
body.admin-mode #sidebarnav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); }
body.admin-mode .nav-row { color: var(--admin-text); }
body.admin-mode .nav-row .menu-icon,
body.admin-mode .nav-row .menu-chevron { color: var(--admin-muted); }
body.admin-mode .nav-row:hover,
body.admin-mode .nav-row.active,
body.admin-mode .nav-row.selected,
body.admin-mode .nav-row.soft {
  color: #fff; background: rgba(255,255,255,.08);
}
body.admin-mode .nav-row.active { box-shadow: inset -3px 0 0 var(--admin-accent); }
body.admin-mode .nav-row.active:focus-visible { border-color: rgba(49,195,179,.65); background: rgba(255,255,255,.1); }
body.admin-mode .nav-row:hover .menu-icon,
body.admin-mode .nav-row.active .menu-icon,
body.admin-mode .nav-row.expanded .menu-icon { color: var(--admin-accent); }
body.admin-mode .subnav button { color: #a9bdc6; }
body.admin-mode .subnav button::before { background: #63818e; }
body.admin-mode .subnav button:hover,
body.admin-mode .subnav button.active { color: #fff; }
body.admin-mode .subnav button.active { background: rgba(49,195,179,.12); }
body.admin-mode .subnav button.active::before { background: var(--admin-accent); box-shadow: 0 0 0 3px rgba(49,195,179,.12); }
body.admin-mode.sidebar-closed .admin-mode-badge { display: none; }

.workspace { min-height: 100vh; margin-right: var(--sidebar); transition: margin var(--tt-transition, 180ms ease); }
.topbar {
  height: var(--topbar); border-bottom: 1px solid var(--border); display: flex;
  direction: ltr; align-items: center; gap: 6px; padding: 0 28px; background: rgba(255,255,255,.96);
  position: relative; z-index: 100; overflow: visible;
}
.page-meta {
  order: 3; direction: rtl; display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex: 0 0 auto;
}
.page-meta > div { display: flex; flex-direction: column; margin-right: 6px; }
.page-meta strong { font-size: 14px; color: #17223a; }
.page-meta span { font-size: 10px; color: #a2a9b7; margin-top: 5px; }
.icon-button {
  width: 36px; height: 36px; border: 0; background: transparent; color: #656d78;
  display: grid; place-items: center; border-radius: 8px; cursor: pointer;
}
.icon-button:hover { background: #f2f4f7; }
.office {
  order: 2; position: relative; min-width: 190px; padding: 0;
  font-size: 14px; font-weight: 700; color: #20283b;
}
.branch-selector-toggle {
  width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
  display: flex; direction: rtl; align-items: center; justify-content: space-between; gap: 10px;
  color: #20283b; background: transparent; cursor: pointer; text-align: right;
}
.branch-selector-toggle:hover,
.office.branch-selector-open .branch-selector-toggle { background: #f2f4f7; }
.branch-selector-toggle svg {
  width: 16px; height: 16px; flex: 0 0 auto; transition: transform var(--tt-transition, 180ms ease);
}
.office.branch-selector-open .branch-selector-toggle svg { transform: rotate(-90deg); }
.branchListBox {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  width: min(340px, calc(100vw - 28px)); max-height: min(420px, calc(100vh - 100px));
  padding: 8px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px);
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .14);
  transition: opacity var(--tt-transition, 180ms ease), transform var(--tt-transition, 180ms ease), visibility 0s linear 180ms;
}
.office.branch-selector-open .branchListBox {
  visibility: visible; opacity: 1; transform: translateY(0);
  transition: opacity var(--tt-transition, 180ms ease), transform var(--tt-transition, 180ms ease);
}
.branch-selector-item {
  min-height: 66px; padding: 10px; display: flex; direction: rtl; align-items: center; gap: 10px;
  border-radius: 8px; color: #545d6d; text-decoration: none; font-weight: 400;
}
.branch-selector-item:hover { background: #f5f6f8; color: var(--navy); }
.branch-selector-item.active { background: #eef4ff; color: var(--navy); }
.branch-selector-icon {
  width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center;
  border: 2px solid #aab2c0; border-radius: 50%;
}
.branch-selector-item.active .branch-selector-icon { border-color: #168a55; background: #168a55; }
.branch-selector-item.active .branch-selector-icon::after {
  content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.branch-selector-icon i { display: none; }
.branch-selector-item .mail-contnet { min-width: 0; flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.branch-selector-item h5 {
  grid-column: 1 / -1; margin: 0; overflow: hidden; color: #263247;
  font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap;
}
.branch-selector-item .mail-desc { overflow: hidden; color: #858ea0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.branch-selector-item .time { color: #6f7889; font-size: 11px; direction: ltr; }
.account-actions {
  order: 1; display: flex; direction: ltr; align-items: center; gap: 3px; flex: 0 0 auto;
}
.account-actions > div { display: flex; direction: rtl; flex-direction: column; text-align: right; line-height: 1.3; }
.account-actions strong { font-size: 12px; }
.account-actions small { color: #8a93a6; font-size: 10px; }
.avatar {
  width: 34px; height: 34px; flex: 0 0 34px; background: #f1f2f4; border-radius: 50%;
  display: grid; place-items: center; color: #8590a4;
}
.avatar svg { width: 18px; height: 18px; }

/* Topbar account and notification menus */
.topbar-menu { position: relative; }
.account-actions .topbar-menu-toggle,
.account-actions .account-menu-toggle {
  border: 0; background: transparent; color: #20283b; cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.account-actions .account-menu-toggle {
  width: auto; height: 44px; padding: 0 3px 0 5px; display: flex; direction: ltr;
  align-items: center; gap: 6px; border-radius: 9px;
}
.account-actions .account-menu-toggle:hover { background: #f5f6f8; }
.account-actions .account-copy { display: flex; direction: rtl; flex-direction: column; text-align: right; line-height: 1.3; }
.account-actions .account-copy strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { width: 13px; height: 13px; color: #7e8796; transition: transform var(--tt-transition, 180ms ease); }
.topbar-menu.open .account-chevron { transform: rotate(-90deg); }
.topbar-menu-toggle { position: relative; }
.notification-menu { margin-left: 1px; }
.account-actions .notification-menu .topbar-menu-toggle {
  width: 36px; height: 36px; padding: 0; display: grid; place-items: center;
  border-radius: 9px; color: #20283b;
}
.account-actions .notification-menu .topbar-menu-toggle:hover { background: #f5f6f8; }
.account-actions .notification-menu .topbar-menu-toggle svg { width: 19px; height: 19px; }
.topbar-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 110; visibility: hidden;
  opacity: 0; transform: translateY(-6px); border: 1px solid var(--border); border-radius: 12px;
  background: #fff; box-shadow: 0 16px 42px rgba(17,24,39,.16); overflow: hidden;
  transition: opacity var(--tt-transition, 180ms ease), transform var(--tt-transition, 180ms ease), visibility 0s linear 180ms;
}
.topbar-menu.open .topbar-dropdown { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
.account-dropdown { width: 245px; padding: 7px; }
.account-menu-item {
  width: 100%; min-height: 44px; padding: 0 11px; display: flex; direction: rtl; align-items: center;
  justify-content: flex-start; gap: 10px; border: 0; border-radius: 8px; background: transparent;
  color: #465064; font: inherit; font-size: 12px; text-decoration: none; text-align: right; cursor: pointer;
}
.account-menu-item:hover { background: #f4f6f9; color: var(--navy); text-decoration: none; }
.account-menu-item svg { width: 18px; height: 18px; flex: 0 0 auto; }
.topbar-role-switch {
  width: 40px; height: 40px; flex: 0 0 40px; padding: 0; display: grid; place-items: center;
  border: 1px solid #dceae8; border-radius: 10px; color: #087a73; background: #edf9f7;
  cursor: pointer; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.topbar-role-switch:hover { color: #075f5a; border-color: #bdded9; background: #def4f0; transform: translateY(-1px); }
.topbar-role-switch:focus-visible { outline: 3px solid rgba(8,122,115,.18); outline-offset: 2px; }
.topbar-role-switch svg { width: 19px; height: 19px; }
.topbar-role-switch[hidden] { display: none !important; }
.role-switch-busy { pointer-events: none; opacity: .62; }
.account-menu-divider { height: 1px; margin: 6px 5px; background: #edf0f3; }
.account-menu-logout { color: #c43b43; }
.notification-center-badge {
  position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border: 2px solid #fff; border-radius: 9px; background: #e34951; color: #fff;
  font-size: 9px; font-weight: 800; line-height: 13px; text-align: center;
}
.notification-center-badge[hidden] { display: none !important; }

.notification-dropdown { width: min(390px, calc(100vw - 24px)); }
.notification-center-header { min-height: 56px; padding: 10px 14px; display: flex; direction: rtl; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f3; }
.notification-center-header > strong { font-size: 13px; color: #253047; }
.account-actions .notification-read-all { width: auto; height: 34px; padding: 0 8px; display: flex; direction: rtl; align-items: center; gap: 5px; color: #1769c2; font-size: 10px; }
.notification-read-all svg { width: 15px; height: 15px; }
.notification-center-list { max-height: 390px; overflow: auto; background: #fff; }
.notification-center-item { position: relative; padding: 12px 14px; display: flex; direction: rtl; gap: 10px; border-bottom: 1px solid #f0f2f5; cursor: pointer; }
.notification-center-item:hover { background: #f7f9fb; }
.notification-center-item.unread { background: #eef5ff; }
.notification-center-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #e8f2fd; color: #0876d1; font-size: 16px; font-weight: 800; }
.notification-center-icon i { display: none; }
.notification-center-icon::before { content: "i"; font-family: Georgia, serif; }
.notification-center-icon.success { background: #e7f6ed; color: #168a55; }.notification-center-icon.success::before { content: "✓"; font-family: inherit; }
.notification-center-icon.error { background: #fdeced; color: #d64049; }.notification-center-icon.error::before { content: "×"; font-family: inherit; }
.notification-center-icon.warning { background: #fff3dc; color: #bd7900; }.notification-center-icon.warning::before { content: "!"; font-family: inherit; }
.notification-center-content { min-width: 0; flex: 1; }
.notification-center-heading { margin-bottom: 3px; color: #263247; font-size: 12px; font-weight: 800; }
.notification-center-text { color: #687286; font-size: 11px; line-height: 1.8; white-space: normal; word-break: break-word; }
.notification-center-meta { margin-top: 6px; display: flex; justify-content: space-between; gap: 10px; color: #98a0af; font-size: 9px; }
.notification-empty { padding: 42px 16px; color: #929aaa; font-size: 11px; text-align: center; }
.account-actions .notification-center-footer { width: 100%; height: 45px; border-radius: 0; border-top: 1px solid #edf0f3; color: #1769c2; font-size: 11px; }
.notification-modal-actions { margin-bottom: 12px; display: flex; gap: 8px; }
.notification-center-modal-list { max-height: 62vh; overflow: auto; border: 1px solid #edf0f3; border-radius: 10px; }
.notification-delete { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: #cc3f47; cursor: pointer; }
.notification-delete i { display: none; }.notification-delete::before { content: "×"; font-size: 18px; }

.content { padding: 24px 20px 60px; min-height: calc(100vh - var(--topbar)); }
.title-row { margin-bottom: 28px; }
.title-row h1 { margin: 0 0 7px; font-size: 18px; font-weight: 800; color: #1a2438; }
.title-row p { margin: 0; font-size: 11px; color: #7f889b; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; direction: rtl; }
.stat-card {
  min-height: 230px; border: 1px solid var(--border); border-radius: var(--tt-radius-lg, 9px); padding: 20px 20px 16px;
  background: #fff; box-shadow: var(--tt-shadow-sm, none); display: flex; flex-direction: column;
}
.card-head { display: flex; align-items: center; gap: 12px; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.card-icon.blue { background: #eaf3ff; color: #0f68ce; }
.card-icon.green { background: #e5f7f0; color: #009876; }
.card-icon.purple { background: #f1e5fb; color: #8d29bd; }
.card-icon.gold { background: #fff3d6; color: #c48400; }
.card-head h2 { margin: 0 0 4px; font-size: 15px; color: #313a4c; }
.card-head span { font-size: 11px; color: #8b96ae; }
.metric { height: 58px; display: flex; align-items: center; padding: 10px 5px 0; font-size: 22px; font-weight: 800; color: #071c47; }
.metric-label { color: #7b8498; font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.card-foot {
  margin-top: auto; min-height: 48px; border-top: 1px solid #eef0f4; padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between; color: #929bb0; font-size: 11px;
}
.card-foot > span + span { display: none; }
.card-foot button { border: 0; background: #c98b0d; color: white; font-weight: 700; padding: 9px 14px; border-radius: 11px; cursor: pointer; }
.card-foot button:hover { background: #b77c07; }
.empty-state { height: 350px; display: grid; place-content: center; text-align: center; color: #b5bcc9; opacity: 0; pointer-events: none; }
.empty-orb { width: 64px; height: 64px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: #f6f8fb; }
.empty-state p { font-size: 12px; }
.dashboard-view { max-width: 1500px; margin: 0 auto; }
.dashboard-hero { min-height: 116px; margin-bottom: 18px; padding: 23px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; position: relative; border: 1px solid #e7ebf1; border-radius: var(--tt-radius-lg, 9px); background: linear-gradient(115deg, #f8faff 0%, #fff 58%, #f7fbff 100%); }
.dashboard-hero::after { content: ""; position: absolute; left: -55px; top: -95px; width: 230px; height: 230px; border: 35px solid rgba(47,111,237,.045); border-radius: 50%; }
.dashboard-hero > div:first-child { position: relative; z-index: 1; }
.dashboard-hero-brand { width: 142px; max-height: 48px; position: relative; z-index: 1; object-fit: contain; }
.dashboard-eyebrow { display: block; margin-bottom: 7px; color: var(--tt-info); font-size: 11px; font-weight: 700; }
.dashboard-hero h1 { margin: 0 0 7px; color: #17223a; font-size: 20px; font-weight: 800; }
.dashboard-hero p { margin: 0; color: #7f8898; font-size: 11px; }
.dashboard-date { min-width: 250px; display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; padding: 10px 13px; border: 1px solid #e5ebf4; border-radius: 8px; background: rgba(255,255,255,.8); }
.dashboard-date-day { min-width: 67px; padding: 9px 12px; border-radius: 7px; color: #fff; background: #172b53; text-align: center; font-size: 11px; font-weight: 700; }
.dashboard-date > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.dashboard-date strong { color: #263247; font-size: 12px; }
.dashboard-date span { color: #8a94a6; font-size: 10px; }
.dashboard-alert { margin-bottom: 18px; padding: 11px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #f0d4d6; border-radius: 7px; color: #9d343a; background: #fff7f7; font-size: 11px; }
.dashboard-alert[hidden] { display: none; }
.dashboard-alert svg { width: 18px; height: 18px; }
.dashboard-alert span { flex: 1; }
.dashboard-alert button { border: 0; border-radius: 6px; padding: 7px 11px; color: #fff; background: var(--tt-danger); cursor: pointer; }
.dashboard-kpis { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dashboard-kpi { min-height: 112px; padding: 18px; display: flex; align-items: center; gap: 14px; border: 1px solid #e7e9ee; border-radius: var(--tt-radius-lg, 9px); background: #fff; }
.dashboard-kpi-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; }
.dashboard-kpi-icon svg { width: 22px; height: 22px; }
.kpi-gold { color: #a9720d; background: #fff4d9; }.kpi-purple { color: #7650bd; background: #f2ebfb; }.kpi-green { color: #168a55; background: #e9f7f0; }.kpi-blue { color: #2f6fed; background: #eaf1ff; }
.dashboard-kpi > div:last-child { min-width: 0; display: flex; flex-direction: column; }
.dashboard-kpi span { margin-bottom: 7px; color: #788297; font-size: 10px; }
.dashboard-kpi strong { overflow: hidden; color: #18233a; font-size: 19px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-kpi small { margin-top: 6px; color: #a0a7b5; font-size: 10px; }
.dashboard-skeleton strong, .dashboard-skeleton small { color: transparent; border-radius: 5px; background: linear-gradient(90deg,#f1f2f4 25%,#fafafa 50%,#f1f2f4 75%); background-size: 200% 100%; animation: dashboard-shimmer 1.35s infinite linear; }
.dashboard-main-grid { margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr); gap: 18px; }
.dashboard-panel { border: 1px solid #e7e9ee; border-radius: var(--tt-radius-lg, 9px); background: #fff; }
.dashboard-panel-head { min-height: 72px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #eef0f3; }
.dashboard-panel-head h2 { margin: 0 0 5px; color: #202b42; font-size: 14px; font-weight: 800; }
.dashboard-panel-head p { margin: 0; color: #9098a8; font-size: 11px; }
.dashboard-panel-total { padding: 7px 10px; border-radius: 6px; color: #466080; background: #f3f6fa; font-size: 10px; white-space: nowrap; }
.dashboard-status-list { padding: 17px 20px 20px; }
.dashboard-status-row { display: grid; grid-template-columns: minmax(145px, .65fr) minmax(140px, 1fr) minmax(150px, .7fr); align-items: center; gap: 16px; min-height: 48px; }
.dashboard-status-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dashboard-status-title > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--status-color); }
.dashboard-status-title strong { overflow: hidden; color: #424c60; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-status-title b { margin-right: auto; color: #263247; font-size: 11px; }
.dashboard-status-track { height: 7px; overflow: hidden; border-radius: 10px; background: #f0f2f5; direction: rtl; }
.dashboard-status-track i { height: 100%; display: block; border-radius: inherit; background: var(--status-color); transition: width 420ms ease; }
.dashboard-status-row small { color: #7e8797; font-size: 10px; text-align: left; direction: rtl; }
.dashboard-subject-content { min-height: 285px; padding: 24px 20px; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; }
.dashboard-subject-content[hidden] { display: none; }
.dashboard-donut { width: 146px; height: 146px; padding: 20px; border-radius: 50%; transform: rotate(-90deg); }
.dashboard-donut > div { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; transform: rotate(90deg); }
.dashboard-donut strong { color: #1c2942; font-size: 19px; }.dashboard-donut span { margin-top: 4px; color: #8d96a7; font-size: 10px; }
.dashboard-legend { min-width: 0; }.dashboard-legend > div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #edf0f3; }.dashboard-legend > div:last-child { border-bottom: 0; }
.dashboard-legend span { display: flex; align-items: center; gap: 7px; color: #535d70; font-size: 11px; }.dashboard-legend i { width: 7px; height: 7px; border-radius: 50%; }.dashboard-legend b { font-weight: 500; }.dashboard-legend strong { color: #737d90; font-size: 10px; font-weight: 500; text-align: left; }
.dashboard-chart-loading { min-height: 270px; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }.dashboard-chart-loading[hidden] { display: none; }
.dashboard-chart-loading span { height: 10px; border-radius: 10px; background: linear-gradient(90deg,#f0f2f5 25%,#fafafa 50%,#f0f2f5 75%); background-size: 200% 100%; animation: dashboard-shimmer 1.35s infinite linear; }.dashboard-chart-loading span:nth-child(1) { width: 85%; }.dashboard-chart-loading span:nth-child(2) { width: 58%; }.dashboard-chart-loading span:nth-child(3) { width: 72%; }
.dashboard-chart-loading-circle { align-items: center; }.dashboard-chart-loading-circle span { width: 146px; height: 146px; border-radius: 50%; }
.dashboard-empty { min-height: 260px; padding: 30px; place-content: center; color: #9aa2b2; text-align: center; font-size: 11px; }.dashboard-empty:not([hidden]) { display: grid; }
.dashboard-account-panel { margin-bottom: 24px; overflow: hidden; }.dashboard-branch { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 7px; color: #596780; background: #f5f7fa; font-size: 10px; }.dashboard-branch svg { width: 15px; height: 15px; color: var(--tt-info); }
.dashboard-account-body { padding: 16px; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.35fr); gap: 14px; background: #fafbfc; }
.dashboard-subscription-card { min-height: 104px; padding: 18px; display: flex; align-items: center; gap: 14px; border: 1px solid #e8dfc6; border-radius: 9px; background: linear-gradient(135deg, #fffdf7 0%, #fff9ea 100%); }
.dashboard-subscription-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #a9720d; background: #fff0c7; }
.dashboard-subscription-icon svg { width: 22px; height: 22px; }
.dashboard-subscription-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.dashboard-subscription-copy > span { margin-bottom: 3px; color: #8b7440; font-size: 11px; }
.dashboard-subscription-copy > strong { overflow: hidden; color: #382d17; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-subscription-copy small { margin-top: 7px; color: #9a8658; font-size: 10px; }.dashboard-subscription-copy small b { color: #69572f; font-weight: 700; }
.dashboard-renew-link { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid #d59a22; border-radius: 7px; color: #8f6209; background: #fff; font-size: 10px; font-weight: 800; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.dashboard-renew-link:hover { border-color: #b97a00; color: #fff; background: #b97a00; text-decoration: none; }
.dashboard-account-grid { display: grid; grid-template-columns: .7fr .85fr 1.45fr; overflow: hidden; border: 1px solid #e7e9ee; border-radius: 9px; background: #fff; }.dashboard-account-grid > div { min-height: 104px; padding: 17px 18px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #eef0f3; }.dashboard-account-grid > div:last-child { border-left: 0; }
.dashboard-account-grid span { margin-bottom: 7px; color: #8e97a8; font-size: 11px; }.dashboard-account-grid strong { color: #273248; font-size: 18px; font-weight: 800; }.dashboard-account-grid small { margin-top: 6px; color: #abb1bd; font-size: 10px; }
.dashboard-account-grid .dashboard-account-date strong { font-size: 11px; white-space: nowrap; }
@keyframes dashboard-shimmer { to { background-position: -200% 0; } }
.sidebar-closed .sidebar { width: var(--tt-sidebar-collapsed-width, 64px); padding-inline: 10px; }
.sidebar-closed .workspace { margin-right: var(--tt-sidebar-collapsed-width, 64px); }
.sidebar-closed .brand-copy, .sidebar-closed .nav-row span, .sidebar-closed .nav-row i { display: none; }
.sidebar-closed .brand { padding-inline: 0; justify-content: center; }
.sidebar-closed .brand .light-logo { display: none; }
.sidebar-closed .sidebar-mode-toggle { margin: 0; }
.sidebar-closed .sidebar-collapse-icon { display: none; }
.sidebar-closed .sidebar-expand-icon { display: block; }
.sidebar-closed .brand-mark { transform: scale(.78); flex: 0 0 auto; }
.sidebar-closed .nav-row { justify-content: center; padding-inline: 0; }
.sidebar-closed .nav-row .menu-chevron { display: none; }
.sidebar-closed #sidebarnav { overflow-x: visible; }
.sidebar-closed .nav-row:not(.accordion-toggle) > span {
  position: fixed; z-index: 1002; width: max-content; max-width: 260px; min-height: 34px;
  padding: 8px 12px; align-items: center; border: 1px solid #e4e8ee; border-radius: 7px;
  color: #263247; background: #fff; box-shadow: 0 9px 25px rgba(20,32,55,.14);
  pointer-events: none; white-space: nowrap;
}
.sidebar-closed .nav-row:not(.accordion-toggle):hover > span,
.sidebar-closed .nav-row:not(.accordion-toggle):focus-visible > span { display: flex; }
.sidebar-closed .subnav { display: none; }
.sidebar-closed .subnav.collapsed-flyout {
  position: fixed; z-index: 1001; width: 270px; max-height: min(520px, calc(100vh - 24px));
  padding: 8px; display: flex; overflow-y: auto; opacity: 1; visibility: visible;
  border: 1px solid #e3e7ed; border-radius: 9px; background: #fff;
  box-shadow: 0 14px 34px rgba(20,32,55,.18); transition: none;
}
.sidebar-closed .subnav.collapsed-flyout::before {
  content: attr(data-parent-label); padding: 5px 8px 10px; margin-bottom: 4px;
  border-bottom: 1px solid #edf0f3; color: #172b53; font-size: 12px; font-weight: 800;
}
.sidebar-closed .subnav.collapsed-flyout button { min-height: 36px; padding: 8px 14px 8px 7px; font-size: 11.5px; }

/* Bootstrap 4 RTL and shared modal design */
.modal, .popover, .tooltip, .dropdown-menu { direction: rtl; text-align: right; font-family: var(--tt-font-family, "TTIranSans", Tahoma, Arial, sans-serif); }
.modal-backdrop.show { opacity: .34; }
.modal-dialog { width: calc(100% - 32px); max-width: 720px; margin: 28px auto; }
.modal-dialog.modal-sm { max-width: 565px; }
.modal-dialog.modal-lg,
.modal-dialog.modal-xl { max-width: 920px; }
.modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  color: var(--tt-text, #343434);
  background: #fff;
  box-shadow: 0 18px 55px rgba(17, 24, 39, .18);
}
.modal-header {
  min-height: 70px;
  padding: 17px 22px 14px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-bottom: 1px solid var(--tt-border, #e5e5e5);
}
.modal-title {
  margin: 0;
  color: var(--tt-text, #343434);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}
.modal-header .modal-subtitle,
.modal-header small {
  margin-top: 2px;
  color: var(--tt-text-muted, #858585);
  font-size: 11px;
  font-weight: 400;
}
.modal-header .close {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #666;
  background: transparent;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  transition: background 180ms ease, color 180ms ease;
}
.modal-header .close:hover { color: #111; background: #f4f4f4; }
.modal-body { padding: 28px 32px; }
.modal-body .form-group { margin-bottom: 20px; }
.modal-body label {
  margin-bottom: 7px;
  color: var(--tt-text, #343434);
  font-size: 12px;
  font-weight: 600;
}
.modal-body .form-control,
.modal-body .custom-select {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--tt-text, #343434);
  background: var(--tt-field-disabled, #f5f5f5);
  font-size: 12px;
  box-shadow: none;
}
.modal-body .form-control:focus,
.modal-body .custom-select:focus {
  border-color: var(--tt-text, #343434);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .06);
}
.modal-footer {
  min-height: 84px;
  padding: 20px 32px;
  justify-content: flex-start;
  gap: 8px;
  border-top: 1px solid var(--tt-border, #e5e5e5);
}
.modal-footer > * { margin: 0; }
.modal-footer .btn {
  min-width: 76px;
  min-height: 36px;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.modal-footer .btn-primary,
.modal-footer .btn-success {
  border-color: #111;
  color: #fff;
  background: #111;
}
.modal-footer .btn-primary:hover,
.modal-footer .btn-success:hover {
  border-color: #2c2c2c;
  background: #2c2c2c;
}
.dropdown-menu { right: 0; left: auto; }
.popover { text-align: right; }
.form-check { padding-right: 1.25rem; padding-left: 0; }
.form-check-input { margin-right: -1.25rem; margin-left: 0; }
.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) { border-radius: 0 .25rem .25rem 0; }
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text { border-radius: .25rem 0 0 .25rem; }
.input-group-prepend { margin-right: 0; margin-left: -1px; }
.input-group-append { margin-left: 0; margin-right: -1px; }

/* Internal toast */
.tt-toast-container {
  position: fixed;
  z-index: 1090;
  top: 19px;
  left: 19px;
  width: min(307px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.tt-toast {
  --toast-accent: var(--tt-text, #343434);
  --toast-bg: #fff;
  min-height: 72px;
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  direction: ltr;
  overflow: hidden;
  border: 1px solid var(--tt-border-strong, #d7d7d7);
  border-radius: 11px;
  color: var(--tt-text, #343434);
  background: var(--toast-bg);
  box-shadow: 0 8px 21px rgba(17, 24, 39, .14);
  pointer-events: auto;
  animation: tt-toast-enter 180ms ease both;
}
.tt-toast--single-line { min-height: 56px; }
.tt-toast--success { --toast-accent: var(--tt-success, #168a55); --toast-bg: #edf8ef; border-color: #cfe6d3; }
.tt-toast--error { --toast-accent: var(--tt-danger, #e24b52); --toast-bg: #fff0f1; border-color: #f1d0d3; }
.tt-toast--warning { --toast-accent: #b98300; --toast-bg: #fffbef; border-color: #f1e2b3; }
.tt-toast--info { --toast-accent: var(--tt-info, #2f6fed); --toast-bg: #f0f6ff; border-color: #cfdef6; }
.tt-toast.is-leaving { animation: tt-toast-leave 160ms ease both; }
.tt-toast__close {
  width: 27px;
  height: 27px;
  padding: 4px;
  display: grid;
  place-items: center;
  align-self: start;
  border: 0;
  border-radius: 5px;
  color: var(--tt-text-muted, #858585);
  background: transparent;
  cursor: pointer;
}
.tt-toast__close:hover { color: var(--tt-text, #343434); background: rgba(0, 0, 0, .055); }
.tt-toast__close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tt-toast__content { min-width: 0; direction: rtl; text-align: right; }
.tt-toast__title {
  min-height: 27px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--toast-accent);
  font-size: 13.3px;
  font-weight: 800;
  line-height: 1.5;
}
.tt-toast__icon { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.tt-toast__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tt-toast__message {
  margin-top: 4px;
  color: var(--tt-text-muted, #858585);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
@keyframes tt-toast-enter {
  from { opacity: 0; transform: translate3d(-14px, 0, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes tt-toast-leave {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(-12px, 0, 0); }
}

/* General confirmation dialog */
body.tt-confirm-open { overflow: hidden; }
.tt-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 20px;
  display: grid;
  place-items: center;
  direction: rtl;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}
.tt-confirm-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.tt-confirm-overlay.is-leaving { opacity: 0; }
.tt-confirm {
  width: min(410px, 100%);
  padding: 24px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--tt-border, #e5e5e5);
  border-radius: 14px;
  color: var(--tt-text, #343434);
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, .22);
  transform: translateY(10px) scale(.98);
  transition: transform 180ms ease;
}
.tt-confirm-overlay.is-visible .tt-confirm { transform: translateY(0) scale(1); }
.tt-confirm__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--tt-confirm-accent);
  background: var(--tt-confirm-soft);
}
.tt-confirm__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tt-confirm--danger {
  --tt-confirm-accent: var(--tt-danger, #e24b52);
  --tt-confirm-soft: #fff0f1;
}
.tt-confirm--warning {
  --tt-confirm-accent: #b98300;
  --tt-confirm-soft: #fff8e5;
}
.tt-confirm--info {
  --tt-confirm-accent: var(--tt-info, #2f6fed);
  --tt-confirm-soft: #eef4ff;
}
.tt-confirm__content { min-width: 0; }
.tt-confirm__title {
  margin: 1px 0 7px;
  color: var(--tt-text, #343434);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}
.tt-confirm__message {
  margin: 0;
  color: var(--tt-text-muted, #858585);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.tt-confirm__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.tt-confirm__button {
  min-width: 105px;
  min-height: 38px;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 100ms ease;
}
.tt-confirm__button:active { transform: translateY(1px); }
.tt-confirm__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tt-confirm-accent) 22%, transparent);
  outline-offset: 2px;
}
.tt-confirm__button--confirm {
  color: #fff;
  border-color: var(--tt-confirm-accent);
  background: var(--tt-confirm-accent);
}
.tt-confirm__button--confirm:hover { filter: brightness(.94); }
.tt-confirm__button--cancel {
  color: var(--tt-text, #343434);
  border-color: var(--tt-border-strong, #d7d7d7);
  background: #fff;
}
.tt-confirm__button--cancel:hover { background: var(--tt-surface-soft, #f5f5f5); }

@media (max-width: 1180px) {
  :root { --sidebar: 280px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-main-grid { grid-template-columns: 1fr; }
  .dashboard-account-body { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .modal-dialog { width: calc(100% - 20px); margin: 10px auto; }
  .modal-header { min-height: 62px; padding: 14px 18px 12px; }
  .modal-header .close { top: 14px; left: 14px; }
  .modal-body { padding: 22px 18px; }
  .modal-footer { min-height: 70px; padding: 16px 18px; }
  .tt-toast-container { top: 13px; left: 13px; width: min(307px, calc(100vw - 26px)); }
  .sidebar { z-index: 50; width: min(330px, 88vw); padding: 14px 18px 24px; box-shadow: -10px 0 30px rgba(0,0,0,.08); transform: translateX(0); transition: transform var(--tt-transition, 180ms ease); }
  .workspace { margin-right: 0; }
  .mobile-sidebar-toggle { display: grid; }
  .sidebar-mode-toggle { display: none; }
  .brand .light-logo { display: block; max-width: 100%; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 45; width: 100%; height: 100%; border: 0; background: rgba(10, 22, 42, .32); opacity: 0; visibility: hidden; display: block; transition: opacity 180ms ease, visibility 0s linear 180ms; }
  .sidebar-mobile-open { overflow: hidden; }
  .sidebar-mobile-open .sidebar-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
  .topbar { height: 72px; padding: 0 12px; }
  .office { display: none; }
  .account-actions > svg { display: none; }
  .account-actions { gap: 2px; }
  .account-actions .account-copy, .account-actions .account-chevron { display: none; }
  .account-actions .account-menu-toggle { width: 40px; padding: 0; }
  .account-actions .topbar-menu { display: block; }
  .account-dropdown { left: -4px; }
  .content { padding: 20px 14px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { min-height: 210px; }
  .dashboard-hero { padding: 19px; align-items: flex-start; flex-direction: column; }
  .dashboard-date { width: 100%; min-width: 0; }
  .dashboard-kpis { grid-template-columns: 1fr; }
  .dashboard-kpi { min-height: 98px; }
  .dashboard-panel-head { align-items: flex-start; }
  .dashboard-status-row { grid-template-columns: 1fr auto; gap: 7px 12px; padding: 9px 0; }
  .dashboard-status-track { grid-column: 1 / -1; grid-row: 2; }.dashboard-status-row small { grid-column: 2; grid-row: 1; }
  .dashboard-subject-content { grid-template-columns: 1fr; justify-items: center; }.dashboard-legend { width: 100%; }
  .dashboard-subscription-card { align-items: flex-start; flex-wrap: wrap; }.dashboard-subscription-copy { min-width: calc(100% - 60px); }.dashboard-renew-link { width: 100%; }
  .dashboard-account-grid { grid-template-columns: 1fr; }.dashboard-account-grid > div { min-height: 86px; border-left: 0; border-bottom: 1px solid #eef0f3; }.dashboard-account-grid > div:last-child { border-bottom: 0; }
  .sidebar-closed .sidebar { transform: translateX(105%); width: min(330px, 88vw); padding: 14px 18px 24px; }
  .sidebar-closed .workspace { margin-right: 0; }
  .sidebar-closed .brand { padding: 0 6px 13px; justify-content: flex-start; }
  .sidebar-closed .brand .light-logo { display: block; }
  .sidebar-closed .nav-row span { display: block; }
  .sidebar-closed .nav-row .menu-chevron { display: block; }
  .sidebar-closed .nav-row { justify-content: flex-start; padding-inline: 10px; }
  .sidebar-closed .subnav.open { display: flex; }
}
