* { box-sizing: border-box; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; background: #f5f7fa; color: #1a202c; margin: 0; line-height: 1.6; }
.navbar { background: linear-gradient(135deg, #CC2E1A 0%, #FF6B2C 100%); color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; box-shadow: 0 10px 30px rgba(204, 46, 26, 0.2); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; }
.navbar-left, .navbar-right { display: flex; align-items: center; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: white; }
.nav-logo { width: 48px; height: 48px; border-radius: 14px; object-fit: contain; background: rgba(255,255,255,0.18); padding: .45rem; border: 1px solid rgba(255,255,255,0.22); }
.nav-title strong { display: block; font-size: 1.2rem; font-weight: 900; margin: 0; }
.nav-title small { display: block; font-size: .85rem; color: rgba(255,255,255,0.92); margin-top: .1rem; }
.nav-links { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.nav-links a { color: white; text-decoration: none; padding: .55rem .9rem; font-weight: 600; border-radius: 12px; transition: background 0.2s ease, transform 0.2s ease; }
.nav-links a:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.nav-links a.nav-home { background: rgba(255,255,255,0.25); color: #1a202c; font-weight: 800; border: 1px solid rgba(255,255,255,0.45); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.nav-links a.nav-home:hover { background: #ffffff; color: #1a202c; }
.nav-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.btn-back { display: inline-flex; align-items: center; justify-content: center; background: white; color: #CC2E1A; border-radius: 999px; padding: .55rem 1rem; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.btn-back:hover { background: #f8fafc; transform: translateY(-1px); }
.nav-user { font-weight: 700; color: rgba(255,255,255,0.95); white-space: nowrap; }
.nav-logout { color: white; text-decoration: none; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; transition: background 0.2s ease, transform 0.2s ease; }
.nav-logout:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.container { max-width: 100%; margin: 2rem auto; padding: 0 2rem 3rem; }

.hero-card { background: linear-gradient(135deg, #CC2E1A 0%, #FF6B2C 100%); color: white; border-radius: 16px; padding: 2rem 2.5rem; box-shadow: 0 15px 35px rgba(204, 46, 26, 0.2); margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.hero-card h1 { margin: 0 0 .5rem; font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; }
.hero-card p { margin: .3rem 0 1.2rem; opacity: 0.95; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: .75rem 1.5rem; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #CC2E1A, #FF6B2C); color: white; border: none; box-shadow: 0 8px 20px rgba(204, 46, 26, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(204, 46, 26, 0.3); }
.btn-secondary { background: #ffffff; color: #1a202c; border: 1px solid #d8dbe0; }
.btn-secondary:hover { background: #f5f7fa; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; background: linear-gradient(135deg, #CC2E1A, #FF6B2C); color: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(204, 46, 26, 0.15); }
.btn-small:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(204, 46, 26, 0.2); }
.btn-add { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1rem; background: #1a202c; color: white; border-radius: 10px; border: none; box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.btn-add:hover { background: #111827; }
.card-header-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.card form label { display: grid; gap: .5rem; font-weight: 700; color: #1a202c; }
.card form input, .card form select, .card form textarea { width: 100%; padding: 1rem; border: 1px solid #dfe3e8; border-radius: 18px; background: #f8fafc; box-shadow: inset 0 10px 30px rgba(15, 23, 42, 0.04); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.card form input:focus, .card form select:focus, .card form textarea:focus { outline: none; border-color: #CC2E1A; box-shadow: 0 0 0 5px rgba(255, 109, 96, 0.14); }
.installation-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
select { width: 100%; appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,247,252,0.95)), url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2361728b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 10px 6px; border-radius: 18px; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: inset 0 10px 20px rgba(15, 23, 42, 0.04); background-color: #f8fafc; }
select:focus { outline: none; border-color: #CC2E1A; box-shadow: 0 0 0 5px rgba(255, 109, 96, 0.14); }
.textarea-card { display: grid; gap: .65rem; padding: 1.2rem; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,247,252,0.95) 100%); box-shadow: 0 16px 40px rgba(15, 46, 86, 0.06); }
.textarea-card span { font-size: .95rem; font-weight: 700; color: #111827; }
textarea { min-height: 160px; border-radius: 22px; border: 1px solid rgba(15, 23, 42, 0.08); padding: 1.3rem; background: rgba(248, 250, 252, 0.95); width: 100%; resize: vertical; box-shadow: inset 0 12px 32px rgba(15, 23, 42, 0.04); }
.card { background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%); border-radius: 22px; padding: 2rem; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08); margin-bottom: 2rem; border: 1px solid rgba(226, 232, 240, 0.9); transition: all 0.3s ease; }
.card:hover { box-shadow: 0 8px 25px rgba(204, 46, 26, 0.1); transform: translateY(-2px); }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.two-col { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.three-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.six-col { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { background: linear-gradient(135deg, #CC2E1A 0%, #FF6B2C 100%); color: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 8px 20px rgba(204, 46, 26, 0.2); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.kpi:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(204, 46, 26, 0.3); }
.kpi h3 { margin-top: 0; font-size: .9rem; opacity: 0.95; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; margin-bottom: .5rem; }
.kpi h2 { font-size: 2.2rem; margin-bottom: 0; font-weight: 900; }
.chart { display: grid; gap: .7rem; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 100px; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.bar-label { font-weight: 700; color: #1a202c; }
.bar-track { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #CC2E1A, #FF6B2C); border-radius: 999px; }
.bar-value { text-align: right; font-weight: 800; color: #CC2E1A; font-size: 1.1rem; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.list li { display: flex; justify-content: space-between; padding: .8rem 1rem; background: #f8fafc; border-radius: 10px; border-left: 4px solid #CC2E1A; font-weight: 600; transition: all 0.2s ease; }
.list li:hover { background: #f0f4f8; transform: translateX(4px); }
.table-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th { border-bottom: 2px solid #CC2E1A; padding: 1rem .7rem; text-align: left; font-weight: 800; color: #CC2E1A; text-transform: uppercase; font-size: .85rem; letter-spacing: 0.5px; background: #f8fafc; }
td { border-bottom: 1px solid #e8ecf1; padding: 1rem .7rem; text-align: left; }
tr:hover { background: #fafbfc; }
form { display: grid; gap: 1.25rem; }
.product-form { gap: 1.25rem; }
.product-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 1rem; }
.product-form label { display: grid; gap: .5rem; font-weight: 700; color: #1a202c; font-size: .95rem; padding: 1rem; background: #f8fafc; border: 1px solid #e8ecf1; border-radius: 18px; }
.product-form input, .product-form select, .product-form textarea { padding: .9rem; border: 1px solid #e5e7eb; border-radius: 14px; background: #ffffff; box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05); }
.product-form input:focus, .product-form select:focus, .product-form textarea:focus { outline: none; border-color: #CC2E1A; box-shadow: 0 0 0 3px rgba(204, 46, 26, 0.12); }
.installation-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
.movement-lines, .transfer-lines { display: grid; gap: 1rem; margin: 1rem 0; }
.movement-row { display: grid; gap: 1rem; grid-template-columns: 1.9fr 0.8fr minmax(220px, auto); align-items: end; background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%); padding: 1.4rem; border: 1px solid rgba(195, 205, 222, 0.78); border-radius: 24px; box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08); }
.movement-row label { display: grid; gap: .35rem; font-weight: 700; color: #111827; font-size: .95rem; background: #f8fafc; padding: 1rem; border-radius: 18px; border: 1px solid rgba(226, 232, 240, 0.9); }
.movement-row input, .movement-row select { width: 100%; padding: 1rem; border: 1px solid #dfe3e8; border-radius: 18px; background: #ffffff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.movement-row input:focus, .movement-row select:focus { outline: none; border-color: #CC2E1A; box-shadow: 0 0 0 5px rgba(255, 109, 96, 0.14); }
.row-actions { display: flex; justify-content: flex-end; gap: .75rem; align-items: center; }
.movement-row .row-actions button { min-width: 110px; border-radius: 16px; padding: .95rem 1.2rem; font-size: .95rem; font-weight: 700; }
.btn-row-add { background: linear-gradient(135deg, #16a34a, #10b981); color: white; border: none; border-radius: 16px; min-width: 110px; font-weight: 800; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.22); cursor: pointer; }
.btn-row-add:hover { background: linear-gradient(135deg, #0f766e, #047857); }
.movement-row .remove-row-button { align-self: start; margin-top: .35rem; min-width: 110px; font-weight: 700; color: #b91c1c; border: 1px solid #fca5a5; background: #fff1f2; cursor: pointer; }
.movement-row:hover { transform: translateY(-1px); }
.transfer-lines .movement-row, .movement-lines .movement-row { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.form-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.select-with-action { display: flex; gap: .75rem; align-items: center; }
.select-with-action select { flex: 1; }
.toggle-input { display: none; width: 100%; }
.toggle-input.visible { display: block; }
.image-preview { display: grid; gap: .75rem; padding: 1rem; background: #fff7f3; border-radius: 16px; border: 1px solid #ffe3da; }
.image-preview span { font-weight: 700; color: #b73b25; }
.image-preview img { width: 140px; height: 140px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(204, 46, 26, 0.12); box-shadow: 0 10px 20px rgba(204, 46, 26, 0.08); }
.product-table { width: 100%; border-collapse: separate; border-spacing: 0; background: white; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06); }
.product-table thead th { background: linear-gradient(135deg, #fff5f3, #fff9f8); color: #CC2E1A; border-bottom: 1px solid rgba(204, 46, 26, 0.15); }
.product-table th, .product-table td { padding: 1rem 1rem; text-align: left; }
.product-table tbody tr { transition: all 0.2s ease; }
.product-table tbody tr:hover { background: #fff6f4; transform: translateX(2px); }
.product-table td a { color: #CC2E1A; font-weight: 700; }
.product-thumb { display: flex; align-items: center; gap: 0.9rem; }
.product-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(204, 46, 26, 0.1); box-shadow: 0 10px 24px rgba(204, 46, 26, 0.08); }
.product-thumb strong { display: block; font-weight: 800; color: #1f2937; }
.product-thumb small { display: block; color: #64748b; font-size: .9rem; }
.product-subtitle { color: #64748b; margin-top: .35rem; font-size: .95rem; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.table-responsive { overflow-x: auto; }
.form-actions { display: flex; justify-content: flex-start; gap: .75rem; flex-wrap: wrap; }
.filter-card { padding: 1.5rem; background: #ffffff; border-radius: 24px; border: 1px solid rgba(226, 232, 240, 0.9); box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06); margin-bottom: 1.75rem; }
.report-tabs { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 0; }
.tab-button { display: inline-flex; align-items: center; padding: .85rem 1.2rem; border-radius: 14px; background: #f8fafc; color: #1a202c; border: 1px solid #e5e7eb; font-weight: 700; text-decoration: none; transition: all 0.2s ease; }
.tab-button.active, .tab-button:hover { background: #ffedd5; border-color: #fbbf24; color: #b45309; }
.report-summary .kpi { min-height: 120px; }
.table-responsive { overflow-x: auto; }
@media (max-width: 980px) {
  .installation-grid { grid-template-columns: 1fr; }
  .grid.four-col { grid-template-columns: 1fr; }
  .report-tabs { flex-direction: column; }
}
@media (max-width: 700px) {
  .card { padding: 1.2rem; }
  .tab-button { width: 100%; justify-content: center; }
}
button.secondary { background: #64748b; box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15); }
button.secondary:hover { box-shadow: 0 6px 20px rgba(100, 116, 139, 0.25); }
a { color: #CC2E1A; text-decoration: none; transition: all 0.2s ease; }
a:hover { color: #FF6B2C; text-decoration: underline; }
.flash { background: #fff3f1; color: #CC2E1A; padding: .85rem 1rem; border-radius: 8px; margin-bottom: 1rem; border-left: 4px solid #CC2E1A; font-weight: 600; }
.badge { display:inline-block; padding:.4rem .8rem; border-radius:999px; background: linear-gradient(135deg, #fff3f1, #ffe8e0); color:#CC2E1A; font-size:.8rem; font-weight: 700; border: 1px solid rgba(204, 46, 26, 0.2); }
.purchase-form { gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.form-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.stats-grid { display: grid; gap: .75rem; }
.stat-card { padding: 1.2rem; background: white; border-radius: 12px; border-left: 4px solid #CC2E1A; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(204, 46, 26, 0.1); }
.stat-card span { display: block; color: #64748b; font-size: .85rem; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.stat-card strong { font-size: 1.5rem; color: #CC2E1A; font-weight: 900; }
.empty-state { padding: 2rem; border: 2px dashed #e8ecf1; border-radius: 12px; color: #64748b; text-align: center; background: #f8fafc; }
.chart-container { display: flex; flex-direction: column; }
.chart-container canvas { max-width: 100%; }

.quick-actions { margin: 2.5rem 0; }
.quick-actions h2 { margin-bottom: 1.5rem; color: #1a202c; font-weight: 900; font-size: 1.5rem; }

.action-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.action-btn { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; background: white; border: 2px solid #e8ecf1; border-radius: 12px; text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.action-btn:hover { border-color: #CC2E1A; box-shadow: 0 8px 24px rgba(204, 46, 26, 0.15); transform: translateY(-2px); background: linear-gradient(135deg, #fff9f7, #fff5f1); }
.action-btn:active { transform: translateY(0); }

.btn-icon { font-size: 2.5rem; display: flex; align-items: center; justify-content: center; min-width: 60px; }
.btn-text { display: flex; flex-direction: column; gap: .3rem; }
.btn-text strong { color: #1a202c; font-weight: 900; font-size: 1rem; }
.btn-text span { color: #64748b; font-size: .85rem; font-weight: 500; }

@media (max-width: 768px) {
  .action-buttons { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
  .action-btn { padding: 1rem 1.2rem; }
  .btn-icon { font-size: 2rem; min-width: 50px; }
  .btn-text strong { font-size: .9rem; }
  .btn-text span { font-size: .75rem; }
}
.auth-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #CC2E1A 0%, #FF6B2C 50%, #FFA500 100%); }
.auth-shell { width: min(92vw, 440px); }
.auth-card { background: rgba(255,255,255,0.96); border-radius: 28px; padding: 2.5rem; box-shadow: 0 35px 80px rgba(0, 0, 0, 0.18); border: 1px solid rgba(255,255,255,0.7); backdrop-filter: blur(12px); }
.auth-brand { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }
.auth-logo { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 18px; background: white; padding: .75rem; box-shadow: 0 10px 30px rgba(204, 46, 26, 0.14); }
.auth-logo .logo-image { width: 100%; height: 100%; object-fit: contain; }
.auth-brand h1 { margin: 0; font-size: 1.4rem; color: #CC2E1A; font-weight: 900; }
.auth-brand p { margin: .25rem 0 0; color: #475569; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.auth-card h2 { margin-top: 0; margin-bottom: 1.2rem; color: #0f172a; font-weight: 800; letter-spacing: -0.03em; }
.auth-form { display: grid; gap: 1rem; margin-top: .5rem; }
.auth-field { display: grid; gap: .5rem; }
.auth-field label { color: #334155; font-weight: 700; letter-spacing: .02em; }
.auth-form input { width: 100%; box-sizing: border-box; padding: 1rem 1.1rem; border: 1px solid #dbe1eb; border-radius: 18px; background: #f8fafc; color: #0f172a; box-shadow: inset 0 10px 24px rgba(15, 23, 42, 0.05); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.auth-form input:focus { outline: none; border-color: #CC2E1A; box-shadow: 0 0 0 4px rgba(255, 109, 96, 0.12); }
.auth-form button { width: 100%; padding: 1rem 1.1rem; border-radius: 16px; font-size: 1rem; letter-spacing: .02em; font-weight: 800; background: linear-gradient(135deg, #CC2E1A, #FF6B2C); color: white; border: none; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 10px 28px rgba(204, 46, 26, 0.24); }
.auth-form button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(204, 46, 26, 0.28); }
.auth-note { margin-top: 1rem; color: #64748b; font-size: .95rem; line-height: 1.6; }
.auth-demo { margin-top: 1.5rem; padding: 1rem 1.2rem; background: linear-gradient(135deg, #fff5f3, #ffe8e0); border-radius: 14px; color: #CC2E1A; display: grid; gap: .15rem; border-left: 4px solid #FF6B2C; }
.auth-demo span { font-size: .75rem; color: #CC2E1A; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.auth-demo strong { font-size: 1rem; color: #0f172a; font-weight: 700; }
.auth-demo small { color: #475569; font-weight: 600; }
.auth-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at top, rgba(255,255,255,0.25), transparent 25%), linear-gradient(135deg, #CC2E1A 0%, #FF6B2C 55%, #FFA500 100%); }
.auth-shell { width: min(95vw, 440px); }

@media (max-width: 1100px) {
  .navbar { padding: 1rem 1rem; }
  .nav-links { justify-content: center; }
  .nav-actions { width: 100%; justify-content: center; }
  .nav-logout, .btn-back { padding: .55rem .8rem; }
}

@media (max-width: 980px) {
  .installation-grid, .product-form .form-grid, .form-grid { grid-template-columns: 1fr; }
  .grid.four-col, .grid.six-col { grid-template-columns: 1fr; }
  .report-tabs { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .action-buttons { grid-template-columns: 1fr; }
  .card-header { flex-direction: column; align-items: stretch; }
  .card-header-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .card { padding: 1.2rem; }
  .tab-button { width: 100%; justify-content: center; }
  .navbar { gap: .8rem; }
  .navbar-right { flex-direction: column; align-items: stretch; }
  .nav-actions { justify-content: stretch; }
  .nav-links { justify-content: center; }
  .nav-links a { padding: .6rem .8rem; font-size: .9rem; }
  .btn-back { width: 100%; justify-content: center; }
  .btn { width: 100%; text-align: center; }
  .hero-card { padding: 1.6rem 1.5rem; }
  .kpi { padding: 1.2rem; }
  .kpi h2 { font-size: 1.8rem; }
  .product-table th, .product-table td { padding: .85rem .8rem; }
  .auth-shell { width: min(95vw, 420px); }
}
