/* Structura „Simplu”: <html data-layout="simplu">.
   Fără meniu lateral (meniu sus, în linie), conținut centrat, fără carduri cu chenar,
   asistentul ca buton rotund în colț care deschide un panou doar la nevoie. */
@media (min-width: 681px) {
  html[data-layout="simplu"] .app { display: block; height: auto; min-height: 100vh; }
  html[data-layout="simplu"] body { background: var(--bg); }

  /* Rândul de sus: logo + meniu în linie */
  html[data-layout="simplu"] .sidebar {
    position: sticky; top: 0; z-index: 20; flex-direction: row; align-items: center; gap: 28px;
    height: 58px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: var(--card); border-bottom: 1px solid var(--line);
  }
  html[data-layout="simplu"] .brand { padding: 0; font-size: 16px; color: var(--text); }
  html[data-layout="simplu"] .brand small { display: none; }
  html[data-layout="simplu"] .brand span:last-child { display: inline; }
  html[data-layout="simplu"] .logo { width: 30px; height: 30px; border-radius: 8px; }
  html[data-layout="simplu"] .logo .ic { width: 18px; height: 18px; }
  html[data-layout="simplu"] #nav { flex-direction: row; gap: 4px; flex: 1; }
  html[data-layout="simplu"] #nav a { padding: 7px 12px; border-radius: 7px; gap: 0; color: var(--muted); background: none; box-shadow: none; font-weight: 400; justify-content: flex-start; }
  html[data-layout="simplu"] #nav a .ic { display: none; }
  html[data-layout="simplu"] #nav a span { display: inline !important; }
  html[data-layout="simplu"] #nav a:hover { color: var(--text); background: var(--navy-2); }
  html[data-layout="simplu"] #nav a.active { color: var(--text); background: none; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; font-weight: 500; }
  html[data-layout="simplu"] .side-voice { display: none; }
  html[data-layout="simplu"] .sidebar .who-chip { display: flex !important; margin: 0 0 0 auto; padding: 0; border: 0; color: var(--text); flex-direction: row; }
  html[data-layout="simplu"] .sidebar .who-chip .wc-txt, html[data-layout="simplu"] .sidebar .who-chip .wc-out span { display: flex; }
  html[data-layout="simplu"] .sidebar .who-chip .wc-out span { display: inline; }
  html[data-layout="simplu"] .sidebar .who-chip .wc-ic { background: var(--navy-2); }
  html[data-layout="simplu"] .who-top { display: none !important; }

  /* Bara de căutare devine parte din conținut */
  html[data-layout="simplu"] .workspace { display: block; background: transparent; border-radius: 0; overflow: visible; }
  html[data-layout="simplu"] .topbar { background: transparent; border: 0; padding: 22px max(24px, calc((100vw - 1120px) / 2)) 0; }
  html[data-layout="simplu"] .search { background: var(--card); max-width: 460px; }
  html[data-layout="simplu"] .ai-toggle { display: none; }
  html[data-layout="simplu"] main { overflow: visible; padding: 26px max(24px, calc((100vw - 1120px) / 2)) 96px; }

  /* Fără „cutii”: secțiunile se despart prin spațiu și o linie fină */
  html[data-layout="simplu"] main .card { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  html[data-layout="simplu"] main .card + .card, html[data-layout="simplu"] main .section { margin-top: 36px; }
  html[data-layout="simplu"] main .card h2 { font-size: 16px; font-weight: 500; margin-bottom: 12px; }
  html[data-layout="simplu"] .page-head { margin-bottom: 26px; }
  html[data-layout="simplu"] h1 { font-size: 26px; font-weight: 400; letter-spacing: -.015em; }

  /* Cifrele de sus: un rând simplu, despărțit de linii verticale fine */
  html[data-layout="simplu"] .grid.stats { display: flex; gap: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
  html[data-layout="simplu"] .grid.stats > .card, html[data-layout="simplu"] .grid.stats > a { flex: 1; padding: 0 24px; border-left: 1px solid var(--line); }
  html[data-layout="simplu"] .grid.stats > :first-child { padding-left: 0; border-left: 0; }
  html[data-layout="simplu"] .grid.stats > .card, html[data-layout="simplu"] .grid.stats > a { margin-top: 0 !important; }
  html[data-layout="simplu"] .grid.stats > a .card { padding: 0; border: 0; }
  html[data-layout="simplu"] .stat .bubble { display: none; }
  html[data-layout="simplu"] .stat { display: block; }
  html[data-layout="simplu"] .stat b { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
  html[data-layout="simplu"] .stat span { font-size: 13px; }

  /* Panou principal: lucrările pe toată lățimea, acțiunile rapide ca linkuri simple */
  html[data-layout="simplu"] .grid.two { grid-template-columns: 1fr; gap: 0; }
  html[data-layout="simplu"] .quick { display: flex; gap: 18px; flex-wrap: wrap; }
  html[data-layout="simplu"] .quick a { flex-direction: row; padding: 0; border: 0 !important; background: none !important; color: var(--blue) !important; font-weight: 400; font-size: 14.5px; }
  html[data-layout="simplu"] .quick .ic { width: 17px; height: 17px; }
  html[data-layout="simplu"] .grid.two > section:last-child h2 { display: none; }
  html[data-layout="simplu"] .grid.two > section:last-child { order: -1; margin: 0 0 30px; }
  html[data-layout="simplu"] .grid.two { display: flex; flex-direction: column; }

  /* Tabele: fără linii verticale, rânduri aerisite */
  html[data-layout="simplu"] .list td { padding: 13px 10px; }
  html[data-layout="simplu"] .list th { padding: 8px 10px; }
  html[data-layout="simplu"] .tabs { gap: 2px; }
  html[data-layout="simplu"] .tab { border: 0; background: none; padding: 6px 12px; }
  html[data-layout="simplu"] .tab.active { background: var(--blue-soft); }
  html[data-layout="simplu"] .totals { background: transparent; border-left: 1px solid var(--line); border-radius: 0; padding: 0 0 0 22px; }
  html[data-layout="simplu"] .debt-card { border-left: 0; }
  html[data-layout="simplu"] .two-eq { gap: 40px; }

  /* Asistentul: buton rotund în colț; panoul se deschide peste pagină */
  html[data-layout="simplu"] .dock { position: fixed; right: 18px; bottom: 18px; top: auto; width: 380px; height: min(640px, calc(100vh - 100px)); border-radius: 16px;
    border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(15, 30, 40, .18); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .18s; z-index: 30; }
  html[data-layout="simplu"] .app.dock-open .dock { transform: none; opacity: 1; pointer-events: auto; }
  html[data-layout="simplu"] .close-dock { display: inline-grid; }
  html[data-layout="simplu"] .fab { display: grid; }
  html[data-layout="simplu"] .app.dock-open .fab { display: none; }
}
.fab { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 25; width: 58px; height: 58px; border-radius: 50%; border: 0; place-items: center; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(15, 30, 40, .22); }
.fab .ic { width: 26px; height: 26px; }
.fab.live { background: var(--green); }
