.auth-topline { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 32px; }
.auth-topline .brand { gap: 10px; }
.auth-topline .brand-mark { width: 39px; height: 39px; border-radius: 13px; font-size: 1rem; }
.auth-topline .brand-copy strong { font-size: .75rem; }
.auth-topline .brand-copy span { font-size: .57rem; }
.auth-topline .language-picker { gap: 4px; font-size: .64rem; }
.auth-topline .language-switch { min-height: 34px; padding: 0 8px; border-radius: 11px; font-size: .66rem; }
.auth-card .hero-kicker { margin-bottom: 12px; }
.auth-card .button { text-align: center; }
.auth-footnote { display: flex; align-items: center; gap: 8px; margin-top: 25px; color: var(--muted); font-size: .65rem; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.ltr-text { direction: ltr; unicode-bidi: plaintext; text-align: start; }
.otp-input { font-size: 1.35rem; font-weight: 800; letter-spacing: .48em; text-align: center; }
.otp-input:disabled { opacity: .5; }
.section-total { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .69rem; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--accent-2); font-size: .74rem; font-weight: 800; }
.card-link:hover { color: var(--ink); }
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translate(-3px, 2px); }
.site-footer { padding: 0 4px; }
.dashboard-frame { padding-top: 23px; }
.dashboard-hero { padding-top: 40px; padding-bottom: 37px; }
.dashboard-hero .hero-title { font-size: clamp(2rem, 4vw, 3.3rem); }
.dashboard-hero .hero-copy { margin-top: 10px; }
.dashboard-hero .hero-meta { margin-top: 20px; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 21px 0; }
.shortcut-card { position: relative; display: grid; gap: 8px; min-height: 157px; padding: 19px; border-radius: 19px; transition: transform .24s, border-color .24s, background .24s; }
.shortcut-card:hover { transform: translateY(-5px); border-color: rgba(156,140,255,.45); background: var(--surface-strong); }
.shortcut-card strong { font-size: .86rem; }
.shortcut-card > span:not(.shortcut-icon) { color: var(--muted); font-size: .68rem; }
.shortcut-card b { position: absolute; left: 17px; bottom: 15px; color: var(--accent-2); }
.shortcut-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: rgba(156,140,255,.13); color: var(--accent); font-size: 1rem; }
.dashboard-panel { animation: rise-in .56s ease both; }
.dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 15px; }
.dashboard-columns .dashboard-panel { margin-top: 0; min-width: 0; }
.dashboard-columns .data-table { min-width: 500px; }
.table-empty { padding: 28px !important; color: var(--muted); text-align: center !important; }
.panel-header .filter-count { flex: 0 0 32px; }
.compact-hero { padding-top: 37px; padding-bottom: 37px; }
.compact-hero .hero-title { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.compact-hero .hero-copy { margin-top: 10px; }
.log-filters { display: grid; grid-template-columns: 1fr 1fr 1fr auto auto; align-items: end; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.log-filters label { display: grid; gap: 6px; color: var(--muted); font-size: .67rem; }
.log-filters .field-control { min-height: 40px; padding: 0 10px; font-size: .72rem; }
.log-filters .button { min-height: 40px; }
.user-agent-cell { max-width: 210px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.access-form .field-group, .entry-form .field-group { min-width: 0; }
.access-form .field-control { min-height: 42px; }
.access-form .field-label { margin-bottom: 6px; }
.stack-actions form { margin: 0; }
.delete-entry-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 17px 20px; border: 1px solid rgba(255,145,163,.18); border-radius: 17px; background: rgba(255,145,163,.04); color: var(--muted); font-size: .75rem; }
.delete-entry-row form { margin: 0; }
.delete-entry-row .button { min-height: 35px; }
.form-actions { margin-top: 8px; }
.field-group .field-label { color: var(--muted); }
.field-control[type="checkbox"] { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; }
.field-group--inline { width: max-content; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); }
.field-group--inline span { font-size: .74rem; }
.dashboard-frame .nav-actions form { margin: 0; }
.dashboard-frame .nav-actions { flex-wrap: wrap; }
.privacy-shield__card { background: rgba(19,25,46,.83); }
:root[data-theme="light"] .privacy-shield__card { background: rgba(255,255,255,.9); }
body.is-ltr .ltr-text { text-align: left; }
body.is-ltr .theme-switch { right: 21px; left: auto; }
body.is-ltr .toast-stack { right: 20px; left: auto; direction: ltr; }
body.is-ltr .toast-card__progress { right: auto; left: 0; transform-origin: left; }
body.is-ltr .brand-mark { transform: rotate(7deg); }
@media (max-width: 930px) {
  .log-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-filters .button { justify-self: start; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .dashboard-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dashboard-shortcuts { grid-template-columns: 1fr; }
  .shortcut-card { min-height: 120px; }
  .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-topline { margin-bottom: 28px; }
  .language-label { display: none; }
  .log-filters { grid-template-columns: 1fr 1fr; padding: 13px; }
  .log-filters label { grid-column: 1/-1; }
  .log-filters label:first-child { grid-column: auto; }
  .log-filters label:nth-child(2) { grid-column: auto; }
  .access-form { padding: 15px; }
  .panel-header { padding: 17px 15px; }
  .dashboard-hero .hero-meta { gap: 7px; }
  .meta-pill { padding: 7px 10px; font-size: .65rem; }
}
@media (max-width: 390px) {
  .auth-topline .brand-copy { display: none; }
  .auth-card { padding: 23px; }
  .log-filters { grid-template-columns: 1fr; }
  .log-filters label, .log-filters label:first-child, .log-filters label:nth-child(2) { grid-column: 1; }
  .site-footer { flex-direction: column; }
}
