:root {
  --navy-950: #061a43;
  --navy-900: #08245b;
  --navy-800: #0b347a;
  --navy-700: #124997;
  --blue-100: #edf4ff;
  --green-700: #278333;
  --green-600: #35a442;
  --green-500: #4fba50;
  --green-100: #edf9ee;
  --yellow-600: #d59c00;
  --yellow-500: #f7c928;
  --yellow-100: #fff8dc;
  --red-600: #c4494f;
  --red-100: #fff0f1;
  --ink: #13213d;
  --muted: #66728a;
  --line: #dfe6ef;
  --surface: #f4f7fb;
  --white: #fff;
  --shadow: 0 16px 38px rgba(10, 42, 95, .09);
  --shadow-soft: 0 8px 24px rgba(10, 42, 95, .07);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 286px; z-index: 40; padding: 24px 18px 18px; display: flex; flex-direction: column; background: linear-gradient(180deg, #08245b 0%, #061a43 100%); color: #fff; box-shadow: 12px 0 36px rgba(4, 24, 62, .18); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 24px; }
.brand-mark { width: 53px; height: 53px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); }
.brand-name { font-size: 28px; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.brand-name span { color: #65c859; }
.brand-tagline { margin-top: 5px; color: #c7d5ef; font-size: 11px; line-height: 1.25; }
.nav-kicker { padding: 0 11px 10px; color: #83a0d0; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.nav-list { display: grid; gap: 7px; }
.nav-item { width: 100%; border: 1px solid transparent; border-radius: 15px; padding: 12px; display: flex; align-items: center; gap: 12px; color: #d9e4f7; background: transparent; text-align: left; transition: .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: linear-gradient(110deg, rgba(79,186,80,.25), rgba(255,255,255,.09)); border-color: rgba(116, 213, 107, .32); box-shadow: inset 3px 0 0 var(--yellow-500); }
.nav-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 19px; }
.nav-item strong { display: block; font-size: 14px; }
.nav-item small { display: block; margin-top: 3px; color: #9db0d2; font-size: 10px; }
.nav-item.active small { color: #c8d7ef; }
.sidebar-assistant { margin-top: auto; padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: linear-gradient(145deg, rgba(79,186,80,.17), rgba(255,255,255,.06)); }
.assistant-bee { width: 43px; height: 43px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow-500); font-size: 24px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.sidebar-assistant strong { font-size: 14px; }
.sidebar-assistant p { margin: 6px 0 13px; color: #b9cae5; font-size: 11px; line-height: 1.5; }
.assistant-button { width: 100%; background: #fff; color: var(--navy-900); border: 0; }
.sidebar-footer { padding: 14px 8px 0; color: #88a0c6; font-size: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #65d267; box-shadow: 0 0 0 4px rgba(101,210,103,.12); }

.main { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 25; height: 78px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(216,225,237,.85); backdrop-filter: blur(12px); }
.topbar-title-wrap { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.page-title { font-size: 17px; font-weight: 800; }
.page-subtitle { margin-top: 2px; color: var(--muted); font-size: 10px; }
.global-search { width: min(520px, 40vw); padding: 0 13px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.global-search span { color: #94a0b5; font-size: 20px; }
.global-search input { width: 100%; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 9px; }
.icon-button, .voice-quick { height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy-800); }
.icon-button { width: 42px; display: grid; place-items: center; position: relative; }
.voice-quick { padding: 0 14px; display: flex; align-items: center; gap: 7px; color: #fff; background: var(--navy-800); border-color: var(--navy-800); font-weight: 750; }
.notification i { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #e5525d; border: 2px solid white; }
.profile { display: flex; align-items: center; gap: 9px; padding-left: 5px; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--navy-800), var(--green-600)); color: white; font-weight: 850; }
.profile strong, .profile span { display: block; white-space: nowrap; }
.profile strong { font-size: 12px; }
.profile span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.menu-button { display: none; }
.content { max-width: 1560px; margin: auto; padding: 26px 28px 50px; }
.card { background: #fff; border: 1px solid rgba(218,226,237,.95); border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.button { min-height: 39px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 11px; border: 1px solid transparent; font-weight: 780; font-size: 12px; transition: .16s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 18px rgba(11,52,122,.18); }
.button.secondary { color: var(--navy-800); background: var(--blue-100); border-color: #cfe0fb; }
.button.ghost { color: var(--navy-800); background: #fff; border-color: var(--line); }
.button.mini { min-height: 31px; padding: 6px 10px; font-size: 10px; }
.button.full { width: 100%; }

.hero { min-height: 310px; padding: 36px 42px; display: grid; grid-template-columns: 1.4fr .8fr; align-items: center; overflow: hidden; position: relative; background: radial-gradient(circle at 80% 30%, rgba(79,186,80,.17), transparent 32%), linear-gradient(135deg, #fff 0%, #f1f7ff 58%, #effaef 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .23; pointer-events: none; background-image: radial-gradient(#4d79bd 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent 35%, #000 85%); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero h1, .toolbar h1, .projects-header h1, .shop-hero h1 { margin: 10px 0 10px; color: var(--navy-950); font-size: clamp(32px, 4vw, 48px); line-height: 1.03; letter-spacing: -.04em; }
.hero h1 em { color: var(--green-600); font-style: normal; }
.hero p, .toolbar p, .projects-header p, .shop-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-actions { margin-top: 22px; display: flex; gap: 9px; flex-wrap: wrap; }
.transversal { width: max-content; max-width: 100%; margin-top: 20px; padding: 10px 13px; display: flex; gap: 7px; align-items: center; border: 1px dashed #a8c6ec; border-radius: 11px; background: rgba(255,255,255,.7); color: #52617a; font-size: 11px; }
.transversal span { color: var(--green-600); font-size: 17px; }
.hero-art { min-height: 250px; display: grid; place-items: center; position: relative; z-index: 2; }
.bee-card { width: 188px; height: 208px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 42% 42% 24px 24px; color: #fff; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); box-shadow: 0 24px 60px rgba(11,52,122,.28); transform: rotate(2deg); }
.bee-face { width: 95px; height: 95px; display: grid; place-items: center; border-radius: 34px; background: var(--yellow-500); font-size: 64px; box-shadow: inset 0 -10px 0 rgba(0,0,0,.08); }
.bee-card span { margin-top: 15px; font-size: 25px; font-weight: 900; }
.bee-card small { margin-top: 4px; color: #bcd0ec; font-size: 9px; }
.orbit { position: absolute; width: 53px; height: 53px; display: grid; place-items: center; border-radius: 17px; background: #fff; box-shadow: var(--shadow); font-size: 25px; }
.o1 { top: 18px; left: 28px; transform: rotate(-8deg); }
.o2 { right: 18px; top: 82px; transform: rotate(8deg); }
.o3 { bottom: 10px; left: 34px; transform: rotate(5deg); }

.metrics-grid, .project-summary-grid, .doc-summary-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.metric-card { padding: 16px; display: flex; align-items: center; gap: 13px; }
.metric-icon { width: 47px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px; color: var(--navy-800); background: var(--blue-100); font-size: 21px; }
.metric-icon.green { color: var(--green-700); background: var(--green-100); }
.metric-icon.yellow { color: var(--yellow-600); background: var(--yellow-100); }
.metric-icon.red { color: var(--red-600); background: var(--red-100); }
.metric-card strong, .metric-card span, .metric-card small { display: block; }
.metric-card strong { font-size: 20px; letter-spacing: -.03em; }
.metric-card span { margin-top: 2px; color: #3d4c66; font-size: 11px; font-weight: 750; }
.metric-card small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.module-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.module-card { min-height: 170px; padding: 22px; display: flex; gap: 17px; border: 0; text-align: left; transition: .18s ease; }
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module-card.blue { background: linear-gradient(145deg, #fff, #eff5ff); border: 1px solid #d9e6f9; }
.module-card.green { background: linear-gradient(145deg, #fff, #eff9ef); border: 1px solid #d5ead4; }
.module-card.yellow { background: linear-gradient(145deg, #fff, #fff9e6); border: 1px solid #eee3b5; }
.module-icon { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); font-size: 28px; }
.module-card h2 { margin: 2px 0 7px; color: var(--navy-900); font-size: 17px; }
.module-card p { min-height: 52px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.module-card span { display: inline-block; margin-top: 12px; color: var(--navy-800); font-size: 11px; font-weight: 850; }

.dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: 1.45fr .85fr; gap: 14px; }
.panel { padding: 21px; }
.section-heading, .table-toolbar, .toolbar, .projects-header, .shop-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading h2, .table-toolbar h2, .route-panel h2, .voice-panel h2, .cart-head h2 { margin: 4px 0 2px; color: var(--navy-950); font-size: 17px; }
.section-heading p, .table-toolbar p { margin: 0; color: var(--muted); font-size: 10px; }
.chart-wrap { margin-top: 15px; }
.chart-legend { display: flex; justify-content: flex-end; gap: 13px; color: var(--muted); font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; display: inline-block; border-radius: 3px; }
.legend-in { background: var(--green-500); }.legend-out { background: var(--navy-700); }
.bar-chart { height: 170px; margin-top: 12px; padding: 5px 5px 0; display: flex; justify-content: space-between; gap: 12px; align-items: end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 39px, #edf1f6 40px); }
.bar-group { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 5px; }
.bars { width: 100%; max-width: 42px; height: calc(100% - 20px); display: flex; align-items: end; justify-content: center; gap: 4px; }
.bar { width: 42%; min-height: 8px; border-radius: 5px 5px 1px 1px; }
.bar-in { background: linear-gradient(180deg, #72cf68, #35a442); }.bar-out { background: linear-gradient(180deg, #3f6db4, #0b347a); }
.bar-group small { color: var(--muted); font-size: 9px; }
.task-list { margin-top: 11px; display: grid; }
.task-item { padding: 13px 0; display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.task-item:last-child { border: 0; }
.task-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-700); }.task-dot.green { background: var(--green-500); }.task-dot.red { background: #e15b63; }.task-dot.yellow { background: var(--yellow-500); }
.task-item strong, .task-item span { display: block; }.task-item strong { font-size: 11px; }.task-item span { margin-top: 2px; color: var(--muted); font-size: 9px; }

.toolbar, .projects-header, .shop-hero { padding: 24px 26px; align-items: center; background: linear-gradient(135deg, #fff, #f5f9ff); }
.toolbar h1, .projects-header h1, .shop-hero h1 { font-size: 31px; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.agenda-layout { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 14px; align-items: start; }
.calendar-card { overflow: hidden; }
.calendar-scroll { overflow: auto; }
.week-grid { min-width: 940px; display: grid; grid-template-columns: 68px repeat(5, minmax(150px,1fr)); }
.calendar-corner, .day-head, .time-cell, .slot { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-corner { padding: 17px 7px; display: grid; place-items: center; color: var(--muted); font-size: 9px; font-weight: 800; background: #f8fafc; }
.day-head { padding: 12px; text-align: center; background: linear-gradient(180deg, #fbfcfe, #f4f7fb); }.day-head strong, .day-head span { display: block; }.day-head strong { font-size: 11px; }.day-head span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.time-cell { min-height: 61px; padding: 9px; color: var(--muted); font-size: 9px; text-align: center; background: #fafbfd; }
.slot { min-height: 61px; padding: 5px; background: #fff; }
.job-card { width: 100%; padding: 7px 8px; display: block; border: 0; border-left: 4px solid var(--navy-700); border-radius: 8px; color: var(--ink); background: var(--blue-100); text-align: left; }
.job-card.green { border-color: var(--green-500); background: var(--green-100); }.job-card.yellow { border-color: var(--yellow-500); background: var(--yellow-100); }
.job-card strong, .job-card span, .job-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.job-card strong { font-size: 9px; }.job-card span { margin-top: 1px; font-size: 8px; }.job-card small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.agenda-side { display: grid; gap: 14px; }
.saving { padding: 5px 8px; border-radius: 9px; color: var(--green-700); background: var(--green-100); font-size: 9px; font-weight: 850; }
.route-item { padding: 12px 0; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.route-step { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy-800); font-size: 9px; font-weight: 850; }
.route-item strong, .route-item span { display: block; }.route-item strong { font-size: 10px; }.route-item span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.route-panel .button { margin-top: 13px; }
.voice-panel { text-align: center; background: linear-gradient(145deg, #eff5ff, #f1faef); }
.voice-illustration { width: 70px; height: 70px; margin: auto; display: grid; place-items: center; border-radius: 24px; color: #fff; background: var(--navy-800); font-size: 34px; box-shadow: 0 14px 28px rgba(11,52,122,.2); }
.voice-panel p { margin: 7px 0 15px; color: var(--muted); font-size: 10px; line-height: 1.55; }

.tabs { margin: 16px 0; padding: 5px; width: max-content; max-width: 100%; display: flex; gap: 5px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #eaf0f7; }
.tab { padding: 9px 13px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tab.active { color: var(--navy-800); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.project-summary-grid, .doc-summary-grid { margin-top: 0; }
.table-card { overflow: hidden; margin-top: 15px; }
.table-toolbar { padding: 18px 20px; align-items: center; border-bottom: 1px solid var(--line); }
.compact-search { height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #8a97ab; }
.compact-search input { width: 190px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.table-wrap { overflow: auto; }
table { width: 100%; min-width: 800px; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; }
th { color: #77839a; background: #fafbfd; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:hover td { background: #fbfcff; }
.table-main { display: flex; align-items: center; gap: 9px; }.table-main strong, .table-main span { display: block; }.table-main strong { font-size: 10px; }.table-main span { margin-top: 2px; color: var(--muted); font-size: 8px; }
.round-initial { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--navy-800), var(--green-600)); font-size: 10px; font-weight: 850; }.round-initial.large { width: 56px; height: 56px; border-radius: 17px; font-size: 15px; }
.status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; color: var(--navy-800); background: var(--blue-100); font-size: 8px; font-weight: 850; white-space: nowrap; }.status.green { color: var(--green-700); background: var(--green-100); }.status.yellow { color: #966a00; background: var(--yellow-100); }.status.red { color: var(--red-600); background: var(--red-100); }.status.blue { color: var(--navy-800); background: var(--blue-100); }
.progress-row { display: flex; align-items: center; gap: 7px; }.progress { width: 80px; height: 6px; overflow: hidden; border-radius: 999px; background: #e7edf4; }.progress span { height: 100%; display: block; border-radius: 999px; background: linear-gradient(90deg, var(--navy-700), var(--green-500)); }.progress-row small { color: var(--muted); font-size: 8px; }
.warning-text { color: #a26e00; }.success-text, .positive { color: var(--green-700); }.danger-text, .negative { color: var(--red-600); }
.doc-label { display: flex; align-items: center; gap: 8px; }.doc-label > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--navy-800); background: var(--blue-100); font-size: 14px; }.doc-label strong, .doc-label small, .block { display: block; }.doc-label small, .block { margin-top: 2px; color: var(--muted); font-size: 8px; }
.transmission, .source-chip { padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: #53617a; background: #fff; font-size: 8px; white-space: nowrap; }
.finance-top { display: grid; grid-template-columns: 1.45fr .65fr; gap: 14px; }.finance-kpis { display: grid; gap: 10px; }.finance-kpis .metric-card { height: 100%; }.finance-overview .bar-chart { height: 205px; }

.shop-link-diagram { padding: 14px 17px; display: flex; align-items: center; gap: 9px; border: 1px dashed #a7c5ec; border-radius: 15px; background: #fff; }.shop-link-diagram span { padding: 8px 10px; border-radius: 10px; background: var(--blue-100); color: var(--navy-800); font-size: 10px; font-weight: 800; }.shop-link-diagram b { color: var(--green-600); }
.shop-layout { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.shop-toolbar { margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }.category-pills { display: flex; gap: 6px; flex-wrap: wrap; }.pill { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 750; }.pill.active { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }.product-card { overflow: hidden; }.product-visual { height: 125px; display: grid; place-items: center; position: relative; background: linear-gradient(145deg, #f1f5fb, #fbfcfe); font-size: 50px; }.product-visual em { position: absolute; top: 9px; left: 9px; padding: 5px 7px; border-radius: 8px; color: #fff; background: var(--green-600); font-size: 8px; font-style: normal; font-weight: 850; }.product-body { padding: 13px; }.product-category { color: var(--green-700); font-size: 8px; font-weight: 850; text-transform: uppercase; }.product-body h3 { min-height: 33px; margin: 5px 0 3px; font-size: 11px; line-height: 1.4; }.product-body p { margin: 0 0 12px; color: var(--muted); font-size: 8px; }.product-price { display: flex; align-items: end; justify-content: space-between; gap: 8px; }.product-price s, .product-price strong { display: block; }.product-price s { color: #9aa5b6; font-size: 8px; }.product-price strong { margin-top: 1px; color: var(--navy-950); font-size: 17px; }.add-cart { width: 36px; height: 36px; border: 0; border-radius: 11px; color: #fff; background: var(--navy-800); font-size: 18px; font-weight: 850; }.add-cart.added { background: var(--green-600); }
.cart-card { padding: 19px; position: sticky; top: 94px; }.cart-head { display: flex; justify-content: space-between; align-items: center; }.cart-badge { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--navy-800); background: var(--yellow-500); font-weight: 850; }.cart-items { margin-top: 12px; max-height: 295px; overflow: auto; }.cart-row { padding: 10px 0; display: grid; grid-template-columns: 31px 1fr auto 25px; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }.cart-row > span { font-size: 22px; }.cart-row strong, .cart-row small { display: block; }.cart-row strong { font-size: 9px; }.cart-row small { margin-top: 2px; color: var(--muted); font-size: 7px; }.cart-row b { font-size: 9px; }.cart-row button { border: 0; color: #8b97a8; background: transparent; font-size: 17px; }.empty-cart { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8793a5; text-align: center; }.empty-cart:first-letter { font-size: 36px; }.empty-cart strong { margin-top: 8px; color: #556178; font-size: 10px; }.empty-cart span { width: 190px; margin-top: 3px; font-size: 8px; }.cart-total { margin: 13px 0; padding: 13px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.cart-total span { color: var(--muted); font-size: 9px; }.cart-total strong { font-size: 18px; }.field-label { display: block; margin: 10px 0 6px; color: #4f5d74; font-size: 9px; font-weight: 800; }.legal-note { margin: 9px 0 0; color: var(--muted); font-size: 7px; line-height: 1.45; text-align: center; }.purchase-history { margin-top: 16px; }

.input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: #fff; font-size: 11px; }.input:focus { border-color: #8eb2e9; box-shadow: 0 0 0 3px #edf4ff; }.input-with-mic { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 7px; }.field-mic { width: 42px; min-height: 42px; border: 1px solid #cfe0fb; border-radius: 11px; color: var(--navy-800); background: var(--blue-100); }.field-mic.listening { color: #fff; background: var(--red-600); animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(.94); opacity: .7; } }

.modal-overlay { position: fixed; inset: 0; z-index: 100; padding: 18px; display: grid; place-items: center; background: rgba(4,20,51,.68); backdrop-filter: blur(5px); }.modal { width: min(690px, 100%); max-height: 92vh; overflow: auto; border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }.modal.wide { width: min(980px, 100%); }.modal.voice-modal { width: min(760px, 100%); }.modal-header { padding: 20px 22px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.modal-header h2 { margin: 4px 0 0; font-size: 19px; }.modal-close { width: 35px; height: 35px; border: 0; border-radius: 11px; color: #6c788d; background: #eef2f7; font-size: 20px; }.modal-body { padding: 21px 22px; }.modal-footer { padding: 14px 22px 19px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }.field { display: grid; gap: 6px; }.field.full { grid-column: 1 / -1; }.field > span { color: #46536a; font-size: 9px; font-weight: 850; }.info-box { margin-top: 13px; padding: 11px 13px; border: 1px solid #d8e5f7; border-radius: 11px; color: #50607a; background: var(--blue-100); font-size: 8px; line-height: 1.55; }
.detail-hero { padding-bottom: 17px; display: flex; gap: 13px; border-bottom: 1px solid var(--line); }.detail-hero h3 { margin: 8px 0 3px; font-size: 14px; }.detail-hero p { margin: 0; color: var(--muted); font-size: 9px; }.detail-kpis { margin: 15px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }.detail-kpis div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfd; }.detail-kpis span, .detail-kpis strong { display: block; }.detail-kpis span { color: var(--muted); font-size: 8px; }.detail-kpis strong { margin-top: 4px; font-size: 15px; }.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.detail-grid section { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }.detail-title { display: flex; justify-content: space-between; align-items: center; }.detail-title h3 { margin: 0; font-size: 12px; }.mini-line { padding: 10px 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }.mini-line:last-child { border: 0; }.mini-line > span:first-child { font-size: 16px; }.mini-line > div { flex: 1; }.mini-line strong, .mini-line small { display: block; }.mini-line strong { font-size: 9px; }.mini-line small { margin-top: 2px; color: var(--muted); font-size: 8px; }.muted { color: var(--muted); font-size: 9px; }.contact-card { display: grid; gap: 9px; margin-top: 12px; color: #536078; font-size: 9px; }
.voice-status { padding: 15px; display: flex; gap: 13px; align-items: center; border: 1px solid #d7e5f8; border-radius: 15px; background: linear-gradient(145deg, var(--blue-100), var(--green-100)); }.voice-pulse { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: var(--navy-800); font-size: 28px; }.voice-status strong, .voice-status span { display: block; }.voice-status strong { font-size: 12px; }.voice-status span { margin-top: 4px; color: var(--muted); font-size: 9px; }.voice-transcript { margin-top: 13px; min-height: 130px; resize: vertical; }.voice-examples { margin-top: 9px; display: flex; gap: 7px; flex-wrap: wrap; }.voice-examples button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy-800); background: #fff; font-size: 8px; }.voice-result { margin-top: 13px; padding: 13px; display: grid; gap: 7px; border-radius: 12px; color: #526078; background: #f4f7fb; font-size: 9px; }.voice-result strong, .voice-result span { display: block; }.voice-result .button { justify-self: start; }
.toast { position: fixed; right: 23px; bottom: 23px; z-index: 150; max-width: 360px; padding: 13px 15px; display: flex; gap: 9px; align-items: center; border-radius: 13px; color: #fff; background: var(--navy-950); box-shadow: 0 18px 50px rgba(0,0,0,.25); font-size: 10px; animation: toastIn .22s ease; }.toast span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--green-500); font-weight: 900; }@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
.floating-mic { display: none; }
.mobile-overlay { display: none; }

@media (max-width: 1250px) {
  .metrics-grid, .project-summary-grid, .doc-summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid, .finance-top { grid-template-columns: 1fr; }
  .finance-kpis { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1040px) {
  .app-shell { grid-template-columns: 1fr; }
  .main { grid-column: 1; }
  .sidebar { transform: translateX(-100%); transition: .22s ease; }.sidebar.open { transform: translateX(0); }
  .mobile-overlay.show { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(4,20,51,.48); }
  .menu-button { display: grid; }
  .global-search { display: none; }
  .agenda-layout, .shop-layout { grid-template-columns: 1fr; }
  .cart-card { position: static; }
  .agenda-side { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .topbar { height: 68px; padding: 0 13px; }.page-subtitle, .profile > div:last-child, .voice-quick span { display: none; }.voice-quick { width: 42px; padding: 0; justify-content: center; }.content { padding: 15px 13px 90px; }
  .hero { padding: 25px 21px; grid-template-columns: 1fr; }.hero-art { display: none; }.hero h1 { font-size: 34px; }.transversal { align-items: flex-start; }
  .module-grid, .agenda-side, .detail-grid { grid-template-columns: 1fr; }.module-card { min-height: auto; }.dashboard-grid { grid-template-columns: 1fr; }
  .section-heading, .table-toolbar, .toolbar, .projects-header, .shop-hero { align-items: flex-start; flex-direction: column; }.toolbar-actions { width: 100%; }.toolbar-actions .button { flex: 1; }
  .shop-link-diagram { width: 100%; overflow: auto; }
  .finance-kpis { grid-template-columns: 1fr; }.product-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.detail-kpis { grid-template-columns: repeat(2,1fr); }
  .modal-overlay { padding: 8px; align-items: end; }.modal { max-height: 94vh; border-radius: 22px 22px 0 0; }.modal-footer { position: sticky; bottom: 0; background: #fff; }
  .floating-mic { position: fixed; right: 17px; bottom: 17px; z-index: 50; width: 58px; height: 58px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--navy-800), var(--green-600)); box-shadow: 0 15px 35px rgba(11,52,122,.28); font-size: 24px; }
}
@media (max-width: 480px) {
  .metrics-grid, .project-summary-grid, .doc-summary-grid { grid-template-columns: 1fr; }.metric-card { min-height: 84px; }
  .profile { display: none; }.topbar { gap: 7px; }.top-actions { margin-left: auto; }
  .hero h1 { font-size: 30px; }.hero-actions .button { width: 100%; }.module-card { padding: 18px; }.module-icon { width: 50px; height: 50px; }
  .tabs { width: 100%; }.tab { flex: 1; }
}
