@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --page-bg: #f4f6fa;
    --surface: #fff;
    --ink: #202c40;
    --muted: #647087;
    --line: #e4e9f1;
    --accent: #315bcc;
    --accent-soft: #edf2ff;
    --danger: #bb3545;
}
body { background: var(--page-bg); color: var(--ink); font-family: 'Vazirmatn', sans-serif; font-size: 15px; line-height: 1.7; }
button, input, .swal-modal { font-family: inherit; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.app-navbar { background: var(--surface); border-bottom: 1px solid var(--line); min-height: 76px; }
.nav-container, .workspace { width: calc(100% - 80px); max-width: 1600px; margin: 0 auto; }
.nav-container { padding: 0; }
.navbar-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; letter-spacing: -.5px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: white; }
.brand-mark .ui-icon { width: 25px; height: 25px; }
.account-navigation { display: flex; flex: 1; justify-content: flex-end; min-width: 0; }
.account-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; max-width: 260px; padding: 3px 9px 3px 4px; color: var(--ink); background: #f8f9fc; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; font-size: 12px; }
.account-trigger:hover, .account-dropdown.show .account-trigger { background: var(--accent-soft); border-color: #ccd8f7; }
.account-trigger::after { display: none; }
.account-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; color: var(--accent); background: #e9efff; border: 1px solid #dce5fa; border-radius: 9px; }
.account-avatar .ui-icon { width: 17px; height: 17px; stroke-width: 1.5; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.account-chevron { display: flex; color: var(--muted); transition: transform .15s; }
.account-chevron .ui-icon { width: 14px; height: 14px; }
.account-dropdown.show .account-chevron { transform: rotate(180deg); }
.account-menu { min-width: 220px; max-width: calc(100vw - 32px); margin-top: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #202c401a; text-align: right; }
.account-menu-heading { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.account-menu-heading span { font-size: 11px; color: var(--muted); }
.account-menu-heading b { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.account-menu .account-logout { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; color: var(--danger); font-size: 13px; border-radius: 7px; }
.account-logout .ui-icon { width: 17px; height: 17px; stroke-width: 1.5; }
.account-menu .account-logout:hover, .account-menu .account-logout:focus { color: #a32d3c; background: #fff0f2; }
@media (max-width: 767px) {
    .account-trigger { min-height: 44px; max-width: 200px; }
    .account-dropdown .account-menu { position: absolute; right: 0; left: auto; }
    .account-menu .account-logout { min-height: 44px; }
}
.app-main { padding: 40px 0 56px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; text-align: right; }
.eyebrow { display: block; color: var(--accent); font-size: 12px; font-weight: 650; margin-bottom: 8px; }
h1 { font-size: 30px; letter-spacing: -.7px; font-weight: 750; margin: 0 0 8px; }
.page-heading p, .list-heading p { color: var(--muted); margin: 0; }
.count-badge { display: inline-flex; align-items: center; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 18px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: right; }
.create-panel { padding: 26px 28px; margin-bottom: 24px; }
.panel h2 { font-size: 18px; font-weight: 700; margin: 0 0 20px; }
label { font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.form-control { border: 1px solid #cbd3e0; border-radius: 9px; min-height: 46px; color: var(--ink); font-size: 14px; background: #fff; }
.form-control::placeholder { color: #717c91; opacity: 1; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49, 91, 204, .12); }
.url-input { height: 50px; font-size: 15px; padding: 10px 16px; }
.form-toolbar { display: flex; direction: ltr; justify-content: space-between; gap: 24px; align-items: end; margin-top: 18px; }
.save-actions { display: flex; direction: rtl; align-items: center; gap: 10px; }
.search-field { width: min(380px, 50%); direction: rtl; }
.search-input-wrap { position: relative; }
.search-input-wrap > .ui-icon { position: absolute; top: 13px; right: 13px; color: var(--muted); pointer-events: none; }
.search-input-wrap input { padding-right: 42px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; min-height: 44px; padding: 8px 16px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:active { background: #254aa9 !important; border-color: #254aa9 !important; }
.btn-filter { color: var(--muted); border-color: #d7deea; background: #f5f6f8; }
.btn-filter:hover { color: var(--ink); border-color: #bdc7d6; background: #edf0f4; }
.btn-filter.has-filter { color: #aa2d3e; border-color: #e8b5bd; background: #fff0f2; }
.btn-filter.has-filter:hover { color: #922536; border-color: #d796a1; background: #ffe5e9; }
.filter-indicator { min-width: 20px; height: 20px; border-radius: 6px; background: var(--danger); color: white; font-size: 12px; line-height: 20px; }
.domain-filter-modal { text-align: right; }
.domain-filter-modal .modal-dialog { max-width: 480px; }
.domain-filter-modal .modal-content { border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 80px #202c4026; }
.domain-filter-modal .modal-header { padding: 24px; align-items: center; border-color: var(--line); }
.domain-filter-modal .modal-header > div { display: flex; align-items: center; gap: 12px; }
.modal-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.domain-filter-modal .modal-title { font-size: 19px; font-weight: 700; }
.domain-filter-modal .modal-body { padding: 24px; }
.domain-filter-modal .modal-body > p:first-child { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 24px; }
.domain-filter-modal select { font-family: inherit; width: 100%; height: 48px; }
.filter-preview { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.domain-filter-modal .modal-footer { display: flex; justify-content: space-between; gap: 12px; padding: 18px 24px; border-color: var(--line); }
.domain-filter-modal .modal-footer > * { margin: 0; }
.modal-footer-actions { display: flex; gap: 8px; }
.btn-light { color: var(--muted); background: #f4f6fa; border-color: var(--line); }
.list-heading { padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.list-heading h2 { margin-bottom: 4px; }
.list-heading p { font-size: 12px; }
.table-scroll { direction: ltr; overflow-x: auto; border-top: 1px solid var(--line); }
.links-table { direction: ltr; table-layout: fixed; width: 100%; min-width: 1040px; border-collapse: collapse; font-size: 13px; }
.col-number { width: 60px; }
.col-copy { width: 52px; }
.col-edit { width: 92px; }
.col-active { width: 94px; }
.col-result { width: 200px; }
.col-date { width: 154px; }
.links-table th { background: #f8f9fc; font-weight: 550; font-size: 12px; color: var(--muted); padding: 9px 10px; white-space: nowrap; text-align: center; }
.links-table th:nth-child(2) { text-align: left; }
.links-table td { padding: 6px 10px; border-top: 1px solid var(--line); vertical-align: middle; text-align: center; white-space: nowrap; }
.links-table tbody tr:hover { background: #fafbfe; }
.row-number { color: var(--muted); font-variant-numeric: tabular-nums; }
.url-text { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; unicode-bidi: isolate; }
.row-actions, .result-actions { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: nowrap; }
.result-actions { direction: ltr; justify-content: space-between; }
.icon-button { display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0; color: #516078; background: #fff; border: 1px solid #d7deea; border-radius: 8px; cursor: pointer; text-decoration: none; }
.icon-button:hover { color: var(--accent); background: var(--accent-soft); border-color: #bdcdf7; text-decoration: none; }
.icon-button.danger:hover { color: var(--danger); background: #fff1f3; border-color: #edccd1; }
.links-table .icon-button { width: 30px; height: 30px; flex-basis: 30px; border-radius: 6px; border-color: #e4e9f1; background: transparent; }
.links-table .icon-button .ui-icon { width: 16px; height: 16px; stroke-width: 1.5; }
.links-table .row-actions { gap: 6px; }
.links-table .row-actions, .links-table .status-button { direction: rtl; }
.is-disabled, button:disabled { opacity: .5; cursor: not-allowed; }
.action-spinner { display: inline-block; flex-shrink: 0; width: 15px; height: 15px; border: 2px solid currentColor; border-left-color: transparent; border-radius: 50%; animation: action-spin .7s linear infinite; }
@keyframes action-spin { to { transform: rotate(360deg); } }
#save-link[aria-busy="true"], .swal-button--loading:disabled { opacity: 1; cursor: wait; }
.short-link { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 550; }
.status-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; width: 74px; border: 1px solid #d7deea; border-radius: 20px; color: #637086; background: #f5f6f8; padding: 3px 6px; font-size: 12px; cursor: pointer; }
.status-button.is-active { background: #edf9f4; color: #18704e; border-color: #c9e9da; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.date-cell { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.mobile-table-hint { display: none; margin: 0; padding: 12px 20px; font-size: 12px; color: var(--muted); }
.ui-icon { flex-shrink: 0; }
.copy-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: rgba(32, 44, 64, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; border-radius: 10px; padding: 12px 22px; z-index: 1200; direction: rtl; box-shadow: 0 8px 24px #202c4020; }
.clipboard-fallback { position: fixed; top: 0; left: -9999px; }
.swal-modal { border-radius: 18px; direction: rtl; }
.swal-title { font-size: 22px; color: var(--ink); }
.swal-text { text-align: center; color: var(--muted); line-height: 1.8; }
.swal-button { border-radius: 9px; font-family: inherit; background: var(--accent); }
.swal-button--danger { background: var(--danger); }
.swal-button--cancel { background: #edf0f6; color: var(--ink); }
.swal-footer { text-align: center; }
.card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card-header { background: white; border-bottom: 1px solid var(--line); font-weight: 650; padding: 18px 24px; }
.card-body { padding: 24px; }
button, a, input { transition: background-color .15s, border-color .15s, color .15s; }
button:focus-visible, a:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1200px) {
    .workspace, .nav-container { width: calc(100% - 40px); }
    .mobile-table-hint { display: block; }
}
@media (max-width: 640px) {
    .workspace, .nav-container { width: calc(100% - 32px); }
    .app-main { padding-top: 24px; }
    .app-navbar { min-height: 66px; }
    h1 { font-size: 25px; }
    .page-heading { align-items: start; gap: 12px; margin-bottom: 20px; }
    .page-heading p { font-size: 13px; }
    .count-badge { padding: 6px 10px; font-size: 12px; margin-top: 26px; }
    .create-panel { padding: 20px; }
    .form-toolbar { flex-direction: column; align-items: stretch; gap: 18px; }
    .save-actions { justify-content: end; }
    .search-field { width: 100%; }
    .list-heading { padding: 20px; }
    .list-heading .btn { padding: 8px 10px; }
    .domain-filter-modal .modal-dialog { margin: 16px; }
    .domain-filter-modal .modal-header, .domain-filter-modal .modal-body { padding: 20px; }
    .domain-filter-modal .modal-header .icon-button { flex-basis: 44px; }
    .domain-filter-modal .modal-footer { padding: 16px; gap: 8px; }
    .domain-filter-modal .modal-footer .btn { padding: 8px 10px; font-size: 12px; }
    .links-table { min-width: 1100px; }
    .icon-button { width: 44px; height: 44px; flex-basis: 44px; }
    .links-table .icon-button { width: 44px; height: 44px; flex-basis: 44px; }
    .col-edit { width: 124px; }
    .status-button { min-height: 44px; }
    .copy-toast { width: max-content; max-width: calc(100% - 32px); bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* The dashboard fills the viewport; only the table and modal bodies scroll. */
.dashboard-page { height: 100vh; height: 100dvh; overflow: hidden; }
.dashboard-page #app { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.dashboard-page .app-navbar { flex: 0 0 auto; min-height: 56px; padding-top: 4px; padding-bottom: 4px; }
.dashboard-page .navbar-brand { font-size: 20px; gap: 9px; padding-top: 0; padding-bottom: 0; }
.dashboard-page .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.dashboard-page .brand-mark .ui-icon { width: 21px; height: 21px; }
.dashboard-page .app-main { display: flex; flex: 1; min-height: 0; padding: 12px 0; }
.dashboard-page .workspace { display: flex; flex: 0 1 auto; flex-direction: column; height: 100%; min-height: 0; }
.dashboard-page .page-heading { flex: 0 0 auto; margin-bottom: 12px; gap: 16px; }
.dashboard-page .eyebrow { display: none; }
.dashboard-page h1 { font-size: 23px; margin-bottom: 2px; }
.dashboard-page .page-heading p { font-size: 12px; }
.heading-intro { display: flex; align-items: center; gap: 12px; min-width: 0; }
.heading-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; color: var(--accent); background: linear-gradient(145deg, #fff, #e6edff); border: 1px solid #d5dff7; border-radius: 13px; box-shadow: inset 0 1px 0 #fff, 0 3px 8px #315bcc0a; }
.heading-mark .ui-icon { width: 23px; height: 23px; stroke-width: 1.5; }
.dashboard-page .btn { min-height: 36px; padding: 5px 12px; }
.dashboard-page .btn > .ui-icon { width: 17px; height: 17px; }
.dashboard-page .list-heading h2 { font-size: 16px; margin-bottom: 2px; }
.dashboard-page .search-input-wrap input { min-height: 36px; height: 36px; font-size: 13px; padding-right: 36px; }
.dashboard-page .search-input-wrap > .ui-icon { width: 16px; height: 16px; top: 10px; right: 11px; }
.heading-actions { display: flex; align-items: center; gap: 12px; }
.list-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; box-shadow: 0 3px 8px rgba(32, 44, 64, .035), 0 10px 24px rgba(32, 44, 64, .065); }
.list-heading, .mobile-table-hint { flex-shrink: 0; }
.list-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.list-tools .search-field { width: clamp(220px, 26vw, 380px); }
.table-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.table-scroll { scrollbar-width: auto; }
@supports not selector(::-webkit-scrollbar) {
    .table-scroll { scrollbar-color: #8996ab #eef1f6; }
}
.table-scroll::-webkit-scrollbar { width: 12px; height: 12px; }
.table-scroll::-webkit-scrollbar-track { background: #eef1f6; }
.table-scroll::-webkit-scrollbar-thumb { background: #8996ab; border: 3px solid #eef1f6; border-radius: 8px; min-height: 40px; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: #647087; }
.table-scroll::-webkit-scrollbar-corner { background: #eef1f6; }
.links-table th { position: sticky; top: 0; z-index: 1; box-shadow: 0 1px 0 var(--line); }
.source-actions { display: flex; align-items: center; gap: 12px; direction: ltr; }
.source-actions .url-text { flex: 1; min-width: 0; }
.list-panel > .empty-state { flex: 1; overflow: auto; }
.domain-filter-modal .modal-content { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.domain-filter-modal .modal-header, .domain-filter-modal .modal-footer { flex-shrink: 0; }
.domain-filter-modal .modal-body { overflow-y: auto; min-height: 0; }
.link-form-modal .modal-dialog { max-width: 640px; }
.link-form-modal .modal-header { padding: 12px 18px; }
.link-form-modal .modal-header > div { gap: 9px; }
.link-form-modal .modal-heading-icon { width: 32px; height: 32px; border-radius: 9px; }
.link-form-modal .modal-heading-icon .ui-icon { width: 18px; height: 18px; }
.link-form-modal .modal-title { font-size: 17px; }
.link-form-modal .modal-body { padding: 16px 18px; }
.link-form-modal label { margin-bottom: 6px; }
.link-form-modal .url-input { height: 44px; min-height: 44px; padding: 8px 12px; font-size: 14px; }
.link-form-modal .modal-footer { padding: 10px 18px; gap: 8px; }
.login-wrapper { width: calc(100% - 32px); max-width: 460px; margin: 24px auto; text-align: right; }
.login-panel { padding: 32px; }
.login-heading { text-align: center; margin-bottom: 28px; }
.login-heading .modal-heading-icon { width: 52px; height: 52px; margin-bottom: 18px; }
.login-heading h1 { font-size: 24px; }
.login-heading p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.remember-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.remember-choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.login-submit { width: 100%; margin-top: 16px; min-height: 48px; }
.login-captcha { direction: ltr; display: flex; justify-content: center; overflow-x: auto; }
.login-password-link { display: block; text-align: center; margin-top: 16px; }
.login-errors { padding-right: 18px; margin: 0; font-size: 13px; }
.site-credit { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; margin-top: 8px; color: #717c91; font-size: 12px; line-height: 20px; font-weight: 400; text-align: center; white-space: nowrap; }
.app-version { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; color: var(--accent); background: var(--accent-soft); border: 1px solid #d2def8; border-radius: 5px; font-size: 10px; line-height: 18px; font-weight: 500; }
.site-credit a { color: inherit; text-decoration: none; }
.site-credit-dashboard { position: relative; justify-content: center; text-align: center; }
.site-credit-dashboard .app-version { position: absolute; left: 0; top: 0; }
@media (max-width: 360px) {
    .site-credit-dashboard { font-size: 10px; }
    .site-credit-dashboard .app-version { padding-right: 4px; padding-left: 4px; }
}
.site-credit a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 767px) {
    .dashboard-page .app-main { padding: 8px 0; }
    .dashboard-page .page-heading p, .dashboard-page .eyebrow { display: none; }
    .dashboard-page .page-heading { align-items: center; margin-bottom: 8px; }
    .dashboard-page h1 { font-size: 19px; margin: 0; }
    .heading-intro { gap: 8px; }
    .heading-mark { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
    .heading-mark .ui-icon { width: 19px; height: 19px; }
    .dashboard-page .btn { min-height: 44px; }
    .dashboard-page .search-input-wrap input { min-height: 44px; height: 44px; }
    .dashboard-page .search-input-wrap > .ui-icon { top: 14px; }
    .heading-actions { gap: 8px; }
    .list-heading { flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
    .list-tools { width: 100%; gap: 8px; }
    .list-tools .search-field { width: auto; flex: 1; min-width: 0; }
    .list-tools .btn-filter { flex-shrink: 0; }
    .mobile-table-hint { padding: 4px 12px; }
    .login-panel { padding: 24px 20px; }
    .login-wrapper { margin-top: 0; }
}
@media (max-height: 500px) {
    .dashboard-page .app-navbar { min-height: 52px; }
    .dashboard-page .app-main { padding: 8px 0; }
    .dashboard-page .page-heading { margin-bottom: 8px; }
    .dashboard-page .page-heading p, .dashboard-page .eyebrow { display: none; }
    .dashboard-page h1 { font-size: 20px; margin: 0; }
    .heading-mark { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; }
    .heading-mark .ui-icon { width: 18px; height: 18px; }
    .list-heading { padding: 8px 16px; gap: 8px; }
    .list-heading h2 { font-size: 16px; margin-bottom: 0; }
    .mobile-table-hint { display: none; }
}
.link-stats { display: flex; align-items: center; gap: 8px; }
.link-stats .count-badge { gap: 7px; padding: 3px 9px; margin: 0; font-size: 12px; border-radius: 7px; }
.count-badge b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-active { color: #176444; background: #edf9f2; border-color: #c7e8d5; }
.stat-inactive { color: #8b580e; background: #fff6e8; border-color: #f1d9b1; }
.stat-duplicate { color: #37569a; background: #edf2ff; border-color: #d2def8; }
.status-filter-label { margin-top: 20px; }
.copy-toast { border: 1px solid rgba(255, 255, 255, .14); font-weight: 550; max-width: calc(100% - 32px); }
@media (max-width: 1000px) and (min-width: 768px) {
    .page-heading { flex-wrap: wrap; }
    .heading-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 767px) {
    .dashboard-page .page-heading { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
    .heading-actions { display: contents; }
    .heading-actions #create-link { grid-column: 2; grid-row: 1; }
    .link-stats { grid-column: 1 / -1; grid-row: 2; }
    .link-stats .count-badge { display: inline-flex; flex: 1; justify-content: center; padding: 2px 8px; gap: 6px; }
}
@media (max-width: 767px) and (max-height: 500px) {
    .list-heading > div:first-child { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 767px) and (max-height: 350px) {
    .dashboard-page .app-navbar { min-height: 48px; padding-top: 4px; padding-bottom: 4px; }
    .dashboard-page .app-main { padding-top: 4px; padding-bottom: 4px; }
    .dashboard-page .page-heading { gap: 4px; margin-bottom: 4px; }
    .link-stats .count-badge { padding: 0 8px; font-size: 11px; }
    .link-stats .count-badge b { font-size: 12px; }
    .list-heading { padding-top: 4px; padding-bottom: 4px; }
}
@media (max-height: 500px) {
    .dashboard-page .page-heading { gap: 6px; }
    .link-stats .count-badge { padding: 2px 8px; }
}
