/* ==========================================================================
   Farino PDF panels 4.43 — trust & tidy layer (customer, reseller, Dapur,
   shop and sign-in). Direction from ui-ux-pro-max ("Minimalism & Swiss
   Style", dense dashboard): navy/slate chrome, brand indigo for actions only,
   one type family with tabular figures, hairline cards, 40 px controls
   (44 px on touch screens), clear focus, motion only in answer to the user.
   Loaded last on every panel page. Checked at 375 · 834 · 1024 · 1440.
   ========================================================================== */
:root,body[data-panel],body[data-panel=reseller],body[data-panel=admin],body[data-panel=customer]{
 --ink:#0f172a;--ink-2:#1e293b;--muted:#526077;--faint:#64748b;
 --rule:#e2e8f0;--rule-2:#cbd5e1;--paper:#f6f8fb;
 --side-bg:#0f172a;--side-bg2:#0f172a;--side-fg:#cbd5e1;
 --sh-1:0 1px 2px rgba(15,23,42,.05);
 --sh-2:0 1px 2px rgba(15,23,42,.05);
 --sh-3:0 12px 28px -16px rgba(15,23,42,.35);
}

/* ---------- type ---------- */
body{color:var(--ink-2);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,.page-head h1{letter-spacing:-.014em;word-spacing:.02em;font-weight:700}
h2{letter-spacing:-.006em}
.stat b,.t td,.t th,.lic-table,.rl,.price,.amount,.count,.badge,time,.tstat,.kv,dl{font-variant-numeric:tabular-nums lining-nums}
.mono,.t .mono{font-family:ui-monospace,"SF Mono","Cascadia Mono","Segoe UI Mono",Consolas,"Liberation Mono","DejaVu Sans Mono",monospace;font-size:.8125rem;letter-spacing:.01em;color:var(--ink-2)}
.page-head p{max-width:72ch}

/* ---------- chrome: navy sidebar, hairline app bar ---------- */
.side{background:var(--side-bg)!important;border-right:1px solid #1e293b}
.side nav a{min-height:40px}
.side nav a[aria-current=page]{background:rgba(255,255,255,.08)!important}
.topbar{background:rgba(255,255,255,.97);border-bottom:1px solid var(--rule)}

/* ---------- surfaces ---------- */
.card,.stat,.qa-item,.lic-table,.rl,.table-wrap{border-color:var(--rule)}
.card{box-shadow:var(--sh-1)}
a.stat:hover,.qa-item:hover{border-color:var(--rule-2);box-shadow:var(--sh-3)}
.stat .stat-ic,.qa-ic{box-shadow:none}

/* ---------- tables: readable rows, sticky header inside scroll areas ---------- */
.t th{color:#475569;font-weight:600;background:#f8fafc}
.t td{border-bottom-color:#eef2f6}
.t tbody tr:hover td{background:#f8fafc}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.t td.num,.t th.num,.t .mono,.t .badge,.t time{white-space:nowrap}
.t td{vertical-align:middle}

/* ---------- controls: 40 px, clear focus ---------- */
.btn,.btn-2,.icon-btn{min-height:40px}
.btn-sm{min-height:34px}
input,select,textarea{min-height:40px}
textarea{min-height:88px}
:focus-visible{outline:2px solid var(--acc);outline-offset:2px;box-shadow:none}
.side :focus-visible{outline-color:var(--tag,#a9a2ff)}

/* ---------- notices: calmer fills with a clear edge ---------- */
.callout{box-shadow:none}

/* ---------- tablet (641–1023) ---------- */
@media (min-width:641px) and (max-width:1023px){
 .content{padding-inline:24px}
 .grid.g4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .grid.g3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- touch screens: 44 px targets ---------- */
@media (pointer:coarse){
 .btn,.btn-2,.icon-btn,.side nav a,.um-panel a,.um-panel button,.tabs button,input,select{min-height:44px}
 .btn-sm{min-height:40px}
}

/* ---------- phones ---------- */
@media (max-width:640px){
 .page-head{gap:12px}
 .page-head>.btn,.page-head>a.btn{width:100%}
 .callout .btn{width:100%}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ---------- sign-in: trust note ---------- */
.auth-main{align-content:center;row-gap:0}
.auth-trust{display:flex;align-items:flex-start;gap:8px;max-width:420px;margin:14px auto 0;color:var(--muted);font-size:.78rem;line-height:1.5;text-align:left}
.auth-trust .i{flex:none;margin-top:2px;color:#047857}
