/* AGAH — shared light design tokens and accessible surfaces. */
:root { color-scheme: light; --agah-ink:#172b4d; --agah-muted:#52647d; --agah-border:#dce4ef; --agah-brand:#4338ca; }
body { margin:0; background:#f4f7fb; color:var(--agah-ink); font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
::selection { background:#c7d2fe; color:#1e1b4b; }
:focus-visible { outline:3px solid #818cf8; outline-offset:3px; }
input,select,textarea { color:var(--agah-ink); color-scheme:light; }
input::placeholder,textarea::placeholder { color:#64748b; opacity:1; }
input:disabled { color:#64748b; background:#eef2f7; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:disabled { cursor:not-allowed; }
.bg-indigo-600,.bg-indigo-700 { color:white; }
.bg-indigo-600:hover { background-color:#3730a3; }
.agah-header { box-shadow:0 1px 12px #243b5310; }
.agah-header h1 { letter-spacing:.12em; color:#243b63; }
.agah-tagline { max-width:245px; }
.rounded-2xl.bg-white { box-shadow:0 4px 20px #18315306; }
thead { background:#f8fafc; }
tbody tr:hover { background:#f8fafc; }
::-webkit-scrollbar { width:8px; height:8px; }
::-webkit-scrollbar-track { background:#f1f5f9; }
::-webkit-scrollbar-thumb { background:#b8c6d8; border:2px solid #f1f5f9; border-radius:8px; }
[x-cloak] { display:none!important; }
@media(max-width:900px) {
 .agah-header>div { flex-wrap:wrap; gap:.75rem; padding:1rem; }
 .agah-tagline { max-width:190px; font-size:10px; }
 .agah-navigation { order:10; margin-left:0; width:100%; }
 .agah-navigation>a { flex:1; text-align:center; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }

.text-xs { font-size:.8125rem; line-height:1.5; }
.agah-login { background:radial-gradient(ellipse at 50% 0,#e0e7ff70,transparent 65%),#f4f7fb; }
.agah-login-card { box-shadow:0 16px 60px #1831530c; }
@media(max-width:640px) {
 .agah-workspace { flex-direction:column; overflow:visible; }
 .agah-filters { width:100%; border-right:0; border-bottom:1px solid var(--agah-border); display:grid;grid-template-columns:1fr 1fr;gap:1rem; }
 .agah-filters>div { margin:0!important; }
 .agah-lookup-form { flex-wrap:wrap; }
 .agah-lookup-form>input[type=text] { flex-basis:100%; min-width:0; }
 .agah-lookup-form>button[type=submit] { flex:1; }
}

.agah-feed { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.text-slate-500 { color:#596b83; }

@media(max-width:640px) { .agah-session { display:none; } }

@media(max-width:640px) { .agah-feed-toolbar { flex-wrap:wrap; } .agah-feed-toolbar>div { flex-basis:100%; max-width:none; } }
