/* Online adapters only. The visual source of truth is phone-ui/android.css,
   generated from the Android application's www/css in the same load order. */
[hidden] { display: none !important; }
.mary-web-account {
  --login-ground: var(--bg); --login-surface: var(--surface); --login-text: var(--text);
  --login-muted: var(--muted); --login-primary: var(--ink); --login-focus: var(--focus);
  --login-border: var(--line); --login-error: var(--neg);
}
.mary-web-account #publicSiteHeader, .mary-web-account > footer { display: none; }
.mary-web-account #userMain { display: none; }
.mary-web-account #userAccountPanel { width: 100%; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.mary-web-account #accountViews, .mary-web-account #directorySections, .mary-web-account #financialSections { display: none; }
.mary-web-account #userAccountPanel > .login-heading, .mary-web-account .account-profile, .mary-web-account .account-actions { display: none; }
.mary-web-account[data-page="profile"] #userAccountPanel > .login-heading, .mary-web-account[data-page="profile"] .account-profile, .mary-web-account[data-page="profile"] .account-actions { display: block; }
.mary-web-account[data-page="profile"] .account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mary-web-account .phone-title, .mary-web-account .phone-top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mary-web-account .phone-title > div { min-width: 0; }
.mary-web-account .topbar { gap: 12px; }
.mary-web-account #pageSub { max-width: 45vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mary-web-account #sidebar .brand-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mary-web-account #sidebar .brand-foot .btn { color: #D9E8F7; border-color: #315277; background: transparent; }
.mary-web-account #nav a[aria-disabled="true"] { color: #7895B5; cursor: default; }
.mary-web-account #nav a[aria-disabled="true"] .nav-label::after { content: "غير متاح بعد"; font-size: 10px; margin-inline-start: 8px; }
.mary-web-account.phone-nav-open { overflow: hidden; }
.mary-web-account .phone-nav-close { display: none; }
.mary-web-account #phoneNavBackdrop { position: fixed; inset: 0; border: 0; background: rgb(5 26 54 / 45%); z-index: 59; }
.mary-web-account .account-directory, .mary-web-account .invoice-area { margin: 0; padding: 0; border: 0; }
.mary-web-account .account-directory > h2, .mary-web-account .directory-heading h3, .mary-web-account .invoice-area > h2 { font-size: 18px; }
.mary-web-account .account-directory > h2, .mary-web-account .directory-heading h3 { display: none; }
.mary-web-account .directory-help { font-size: 12.5px; line-height: 1.7; }
.mary-web-account .directory-tools { margin: 12px 0 16px; gap: 10px; }
.mary-web-account .directory-tools > div { flex-basis: 180px; }
.mary-web-account .directory-tools label, .mary-web-account .directory-field label { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.mary-web-account .directory-tools input, .mary-web-account .directory-field input, .mary-web-account .directory-field select { border-radius: 9px; font-size: 14.5px; }
.mary-web-account .directory-fields { gap: 14px; }
.mary-web-account .directory-editor { margin-top: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mary-web-account .directory-editor h3 { font-size: 18px; margin-bottom: 18px; }
.mary-web-account .directory-row { border: 0; margin-bottom: 9px; padding: 15px 19px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.mary-web-account .directory-row h4 { font-size: 16px; margin-bottom: 3px; line-height: 1.4; }
.mary-web-account .directory-row p { font-size: 12.5px; }
.mary-web-account .directory-row.ivc { display: grid; align-items: center; }
.mary-web-account .phone-directory-card.ivc { grid-template-columns: auto minmax(0,1fr) auto; }
.mary-web-account .phone-financial-card.ivc { grid-template-columns: minmax(0,1fr) auto; }
.mary-web-account .phone-financial-card > .btn { grid-column: 1 / -1; justify-self: end; }
.mary-web-account .directory-row.ivc .ivc-name { white-space: normal; overflow-wrap: anywhere; }
.mary-web-account .directory-row .ivc-money { min-width: 0; max-width: none; }
.mary-web-account .directory-row .ivc-money > .ivc-rem { display: block; }
.mary-web-account .directory-row .ivc-amt { font-size: 19px; white-space: normal; overflow-wrap: anywhere; }
.mary-web-account .directory-row .ivc-thumb-ph { width: 44px; height: 44px; }
.mary-web-account .ivlist:empty { padding-bottom: 0; }
.mary-web-account .ivfab.btn { height: 56px; border-radius: 9999px; padding: 0 22px; border: 0; font-weight: 800; font-size: 15px; }
.mary-web-account .btn { min-height: 44px; justify-content: center; touch-action: manipulation; }
.mary-web-account .btn:disabled { opacity: .6; cursor: default; }
.mary-web-account .btn:hover:not(:disabled) { border-color: var(--ink); background: #F7F9FC; }
.mary-web-account .btn-primary:hover:not(:disabled), .mary-web-account .ivfab:hover:not(:disabled) { background: var(--ink-2); color: white; }
.mary-web-account button:focus-visible, .mary-web-account summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.mary-web-account .login-form { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 400px; }
.mary-web-account .login-form label { font-size: 13px; font-weight: 500; }
.mary-web-account .login-form input { border-radius: 9px; }
.mary-web-account .login-notice { font-size: 13px; }
.mary-web-account .report-metrics { background: var(--surface); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.mary-web-account #phoneDashboard { margin-bottom: 14px; }
.mary-web-account .phone-quick-sales .qi { background: var(--pos-soft); }
.mary-web-account .phone-quick-purchases .qi, .mary-web-account .phone-quick-customers .qi { background: var(--blue-soft); }
.mary-web-account .phone-quick-vouchers .qi { background: var(--gold-soft); }
.mary-web-account .phone-quick-products .qi { background: var(--warn-soft); }
.mary-web-account .phone-quick-expenses .qi { background: var(--neg-soft); }
.mary-web-account[data-page="dashboard"] #reportsFilters { display: block; margin-bottom: 14px; }
.mary-web-account[data-page="dashboard"] #reportsFilters > :not(.directory-editor-actions), .mary-web-account[data-page="dashboard"] #reportsRun { display: none; }
.mary-web-account #phoneNavigationNotice:empty { display: none; }
body.mary-web-editor-open { overflow: hidden; }
.mary-web-account #financialEditor { margin: 0; padding: 0; min-width: 0; }
.mary-web-account #financialEditor .modal-body { min-height: 0; overscroll-behavior: contain; }
.mary-web-account #financialEditor .modal-head h3 { margin: 0; }
.mary-web-account #financialEditor .modal-foot { flex-shrink: 0; }
.mary-web-account #financialEditor .ifsec-h, .mary-web-account #financialEditor .ifitem-name { overflow-wrap: anywhere; }
.mary-web-account #financialEditor .directory-field { min-width: 0; }
.mary-web-account #financialEditor .financial-reference-value { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.mary-web-account #financialEditor .financial-reference > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.mary-web-account #financialEditor .ifsec-b > .grid2 { margin-top: 12px; }
.mary-web-account #financialEditor .ifitem-head { list-style: none; }
.mary-web-account #financialEditor .ifitem-head::-webkit-details-marker { display: none; }
.mary-web-account #financialEditor .ifitem[open] .ifitem-chev { transform: rotate(180deg); }
.mary-web-account #financialEditor .ifitem-body > .ifpick { margin-top: 10px; }
.mary-web-account #financialEditor .ifgrid input { min-height: 44px; }
.mary-web-account #financialEditor input[id^="financialReturnQty-"] { min-height: 44px; }
.mary-web-account #financialEditor .form-collapsible > summary { min-height: 44px; }
.mary-web-account #financialEditorNotice { margin-bottom: 0; }
.mary-web-account #financialEditor .btn-gold:hover:not(:disabled) { background: var(--gold-2); color: var(--ink-3); border-color: transparent; }
.mary-web-account #financialPicker { padding: 0; margin: 0; border: 0; }
.mary-web-account #financialPicker .ifphead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mary-web-account #financialPicker .ifphead h4 { margin: 0; font-size: 16px; }
.mary-web-account #financialPicker .ifphead .x { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: inherit; font-size: 22px; cursor: pointer; }
.mary-web-account #financialPicker .directory-tools { flex-shrink: 0; margin-bottom: 0; }
.mary-web-account #financialPicker .ifps-search { min-height: 48px; border-radius: 9999px; padding-inline: 14px; background: var(--bg); }
.mary-web-account #financialPickerRows { display: block; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mary-web-account #financialPickerRows .ifprow { width: 100%; min-height: 56px; font: inherit; text-align: start; color: var(--text); background: var(--surface); border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.mary-web-account #financialPicker .directory-pagination { padding: 12px 16px; margin: 0; flex: 0 0 auto; align-items: center; border-top: 1px solid var(--line); }
.mary-web-account #financialPicker .directory-pagination .btn { flex: 1; min-height: 44px; }
.mary-web-account #financialPickerPresentationNotice { margin: 0; padding: 10px 16px; color: var(--neg); }
.mary-web-account[data-page="dashboard"] #reportsResultTitle { font-size: 17px; margin-block: 14px; }
.mary-web-account .skip-link { z-index: 80; }
@media (max-width: 860px) {
  .mary-web-account .phone-nav-close { display: flex; position: absolute; inset-inline-end: 5px; top: 5px; min-width: 44px; color: white; background: transparent; border: 0; font-size: 24px; }
  .mary-web-account #sidebar { width: min(290px, calc(100vw - 44px)); }
  .mary-web-account .topbar .phone-title { max-width: 76%; }
  .mary-web-account .directory-row { flex-wrap: wrap; }
  .mary-web-account .directory-row .btn { min-height: 44px; }
  .mary-web-account #todayDate { display: none; }
  .mary-web-account .directory-editor { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mary-web-account *, .mary-web-account *::before, .mary-web-account *::after { transition: none !important; animation: none !important; }
}
@media print {
  body.mary-report-print #sidebar, body.mary-report-print #phoneNavBackdrop { display: none !important; }
  body.mary-report-print #phoneAccountApp { display: block; }
  body.mary-report-print #view { padding: 0; max-width: none; }
}
