/* Identity adapted from lalkitabharivadan.com. Keep dashboard layout in site.css. */
:root {
  --bg: #fff7e6;
  --surface: #fffdf8;
  --ink: #18130f;
  --muted: #76685d;
  --line: #e9ddc6;
  --accent: #741a18;
  --accent-dark: #571210;
  --soft: #f4e6dd;
  --green: #55745e;
  --gold: #d4a043;
  --paper: #f7edd7;
  --radius: 10px;
}
body { font-family: 'Hind Vadodara', 'Noto Sans Gujarati', 'Nirmala UI', 'Shruti', sans-serif; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--gold); }
.sidebar { background: #fffbf2; border-right-color: #e7d7b9; padding-top: 27px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #dcc79e transparent; }
.sidebar > * { flex-shrink: 0; }
.brand { gap: 11px; margin: 0 5px 10px; align-items: center; }
.brand-logo { display: block; width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px #d4a04316; }
.brand strong { color: var(--maroon, #741a18); font-size: 26px; line-height: 1.35; font-weight: 700; }
.brand small { color: #63503b; font-size: 13px; letter-spacing: 0; margin-top: 3px; }
.brand-tagline { color: #966b26; font-size: 12px; text-align: center; padding: 0 0 23px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.nav-label { color: #968369; font-size: 11px; }
.nav-item { color: #776653; font-size: 14px; border-radius: 7px; }
.nav-item.active { color: var(--accent); background: linear-gradient(90deg, #f0ddd1, #f9efe0); box-shadow: inset 3px 0 var(--accent); }
.nav-item:hover { background: var(--paper); }
.nav-dot { background: var(--gold); }
.nav-badge, .count { background: #efe3ca; color: #866a36; }
.sidebar-bottom { padding-top: 28px; }
.guide-card { display: flex; align-items: center; gap: 10px; padding: 12px 10px; margin: 0 1px 23px; border: 1px solid #dcc79e; border-top: 2px solid var(--gold); border-radius: 8px; background: linear-gradient(140deg, #fff9ec, #f4e7cf); }
.guide-card > img { width: 51px; height: 64px; object-fit: cover; object-position: center; border-radius: 5px; border: 1px solid #c89959; }
.guide-card > span { min-width: 0; }
.guide-card small { display: block; font-size: 9px; color: #8b734f; }
.guide-card strong { display: block; font-size: 12px; color: var(--accent); font-weight: 600; margin: 3px 0 5px; }
.guide-card > span > span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #775b2c; }
.guide-card i { width: 12px; height: 12px; }
.language { color: #776653; }
.version { color: #927e63; }
.topbar { background: #fffbf2; border-bottom-color: #e7d7b9; }
.breadcrumb { color: #99856b; }
.breadcrumb strong { color: #6b4d36; }
.brand-website { display: inline-flex; gap: 12px; align-items: center; color: #94671f; font-size: 13px; font-weight: 500; }
.brand-website i { width: 14px; height: 14px; }
.avatar { background: #efe0bd; border-color: #f9efd9; color: var(--accent); }
.eyebrow { color: #976d29; font-weight: 500; font-size: 12px; }
.page-heading h1 { color: var(--accent); font-weight: 600; }
.page-heading p { color: #88755f; font-size: 14px; }
.button { border-radius: 7px; font-size: 14px; }
.primary { color: #24180b; background: var(--gold); border: 1px solid #bd8c32; box-shadow: 0 4px 14px #9a6c241a; }
.primary:hover { background: #e0af52; }
.secondary { background: #f9efd9; color: #775b35; }
.hero { background: linear-gradient(90deg, rgba(36, 14, 12, .97) 0%, rgba(59, 18, 14, .9) 39%, rgba(40, 19, 9, .38) 75%, rgba(28, 12, 7, .22) 100%), url('../brand/lalkitab-hero.png') center 56% / cover; border: 1px solid #b9915266; border-bottom: 3px solid var(--gold); }
.hero-art { display: none; }
.hero-kicker { color: #e4c383; font-size: 12px; }
.tiny-star { color: var(--gold); }
.hero-kicker > span:last-child { color: #f1d79f; border-color: #d4a04370; }
.hero h2 { color: #fff8e7; font-weight: 600; font-size: 33px; }
.birth-meta { color: #e8d8bd; font-size: 13px; }
.text-button.light { color: #e5ba66; font-size: 12px; }
.hero-print { color: #edcb8a; background: #28170955; border-color: #d4a04380!important; }
.summary-icon.terra { background: #f4e6df; color: var(--accent); }
.summary-icon.gold { background: #f8edcf; color: #ac7927; }
.summary-icon.sage { background: #edf0e4; color: #55745e; }
.summary-card span:not(.card-motif) { color: #8a775f; font-size: 12px; }
.summary-card h3 { color: #4a3020; }
.summary-card small { color: #947e60; font-size: 11px; }
.card-motif { color: #f5eddb; }
.content-tabs button { color: #8a775f; font-size: 14px; }
.content-tabs button.active { color: var(--accent); border-color: var(--accent); }
.panel-heading h3, .section-heading h2 { color: #592f23; }
.panel-heading p { color: #958166; font-size: 12px; }
.panel-heading select { background: #fcf5e7; border-color: #e5d6b8; color: #7d623d; font-size: 12px; }
.chart-foot { background: #fbf2df; border-color: #eddfc3; color: #94764d; font-size: 10px; }
.chart-legend { color: #9a815e; font-size: 10px; }
.kundli svg > rect { fill: #fffbf2; stroke: #c49a51; }
.kundli svg > path { stroke: #c49a51; }
.kundli svg > path[fill='#b17a3e'] { fill: var(--gold); stroke: none; }
.kundli svg text { fill: #9b7842; }
.kundli svg text[font-weight='600'] { fill: var(--accent); }
.lal-chart-note p { margin-top: 4px; }
.lal-companions { color: var(--muted); font-size: 12px; }
#calculation-error .text-button { margin-left: 12px; }
th { color: #958166; font-size: 12px; }
td { border-color: #f0e8d7; }
.planet-name { font-size: 14px; }
.sign-cell strong, .house-cell { font-size: 13px; }
.sign-cell small { font-size: 10px; color: #9c886b; }
.house-cell { color: #846a46; }
.outline-badge { background: #f5ecd9; color: #8e744d; }
.table-foot { color: #9a815e; font-size: 11px; }
.insight-card { border-top-color: var(--accent); }
.insight-card:nth-child(3n+2) { border-top-color: var(--gold); }
.insight-card:nth-child(3n) { border-top-color: #55745e; }
.insight-card h3 { color: #5e3627; font-size: 15px; }
.insight-card p { color: #88765e; font-size: 13px; }
.insight-top { color: #94703c; font-size: 12px; }
.insight-card .text-button, .section-heading .text-button { font-size: 12px; }
.interpretation-note { color: #927b5f; font-size: 11px; }
.page-footer { align-items: center; color: #957b56; }
.footer-identity strong { display: block; color: var(--accent); font-weight: 600; font-size: 13px; }
.footer-identity span { display: block; font-size: 11px; }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 12px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.page-footer .text-button { color: #806139; font-size: 12px; }
dialog { background: #fffdf8; border-color: #d7be8f; border-top: 4px solid var(--gold); border-radius: 11px; }
.dialog-heading h2 { color: var(--accent); }
.dialog-heading .icon-button { background: #f7edd7; color: #886d43; }
.dialog-intro { color: #88765e; font-size: 14px; }
label { color: #735b3c; font-size: 14px; }
input, select { border-color: #ddcfb4; }
.toast { background: #55745e; }
.toast.error { background: var(--accent); }
.print-brand { display: none; }
@media (max-width:1200px) {
  .brand { gap: 8px; }
  .brand-logo { width: 45px; height: 45px; flex-basis: 45px; }
  .brand strong { font-size: 24px; }
  .brand small { font-size: 12px; }
  .nav-item { font-size: 13px; }
  .guide-card { padding: 10px 7px; gap: 7px; }
  .guide-card > img { width: 42px; height: 57px; }
  .guide-card small { font-size: 8px; }
}
@media (max-width:1000px) {
  .brand strong { font-size: 22px; }
  .brand small { font-size: 11px; }
  .nav-item { font-size: 12px; }
  .guide-card > img { width: 36px; height: 51px; }
  .guide-card strong { font-size: 11px; }
  .brand-website { font-size: 11px; gap: 7px; }
}
@media (max-width:760px) {
  .sidebar { box-shadow: 8px 0 32px #4a201622; }
  .brand-logo { width: 52px; height: 52px; flex-basis: 52px; }
  .brand strong { font-size: 27px; }
  .brand small { font-size: 13px; }
  .nav-item { font-size: 14px; }
  .guide-card > img { width: 51px; height: 64px; }
  .guide-card strong { font-size: 13px; }
  .guide-card small { font-size: 10px; }
  .topbar-right { gap: 10px; }
  .brand-website { font-size: 11px; }
  .brand-website i { display: none; }
  .page-heading p { font-size: 13px; }
  .hero { background-position: 64% center; }
  .hero h2 { font-size: 31px; }
  .birth-meta { font-size: 12px; }
  .summary-card span:not(.card-motif) { font-size: 11px; }
  .summary-card small { font-size: 10px; }
  .content-tabs button { font-size: 13px; }
  .page-footer { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 12px 20px; font-size: 11px; }
  .page-footer .text-button { font-size: 11px; }
}
@media print {
  body { color: #18130f; background: #fff; }
  .print-brand { display: flex; align-items: center; gap: 12px; padding: 0 0 13px; margin-bottom: 16px; border-bottom: 2px solid #d4a043; }
  .print-brand img { border-radius: 50%; }
  .print-brand strong { display: block; color: #741a18; font-size: 18px; }
  .print-brand span { display: block; color: #76685d; font-size: 11px; }
  .hero { background: #fff7e6!important; border: 1px solid #d4a043; }
  .hero h2 { color: #741a18; }
  .hero-kicker, .birth-meta { color: #76685d; }
  .hero-kicker > span:last-child { color: #76685d; border-color: #c49a51; }
}
