/* ==========================================================
   Aliare · Calculadora de Resgate — layout "sistema"
   ========================================================== */
.alc-app, .alc-login, .alc-drawer-wrap, .alc-toast {
  --bg: #f4f3ef;
  --side: #1b2333;
  --side-2: #262f42;
  --side-text: #c6ccd8;
  --primary: #00d481;
  --primary-2: #00b86f;
  --primary-ink: #00a866;
  --primary-soft: #e6faf2;
  --card: #ffffff;
  --border: #e5e2dc;
  --border-2: #efede8;
  --text: #1d2433;
  --muted: #7b8090;
  --amber: #b7791f;
  --green: #2f855a;
  --red: #c0392b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 25, 40, .04);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  box-sizing: border-box;
}
.alc-app *, .alc-app *::before, .alc-app *::after,
.alc-drawer-wrap *, .alc-drawer-wrap *::before, .alc-drawer-wrap *::after { box-sizing: border-box; }
.alc-app button, .alc-app input, .alc-app select, .alc-app textarea,
.alc-drawer-wrap button, .alc-drawer-wrap input, .alc-drawer-wrap select, .alc-drawer-wrap textarea { font: inherit; color: inherit; margin: 0; }
.alc-app h1, .alc-app h2, .alc-app h3, .alc-app h4, .alc-app p,
.alc-drawer-wrap h1, .alc-drawer-wrap h2, .alc-drawer-wrap h3, .alc-drawer-wrap p { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; }
.alc-app table, .alc-drawer-wrap table { border-collapse: collapse; width: 100%; margin: 0; }
.alc-app svg, .alc-drawer-wrap svg { width: 18px; height: 18px; flex: none; }

body.alc-fullscreen { margin: 0; background: #f4f3ef; }

/* ---------- Shell ---------- */
.alc-app {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 80vh;
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
}
.alc-fullscreen .alc-app { min-height: 100vh; border-radius: 0; }
.alc-boot { grid-column: 1 / -1; padding: 60px; text-align: center; color: var(--muted); }

.alc-side {
  background: var(--side);
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 0;
  gap: 6px;
  position: sticky; top: 0; height: 100vh; max-height: 100%;
}
.alc-fullscreen .alc-side { height: 100vh; }
.alc-logo {
  width: 36px; height: 36px; border-radius: 9px; overflow: hidden;
  background: #000; color: #fff; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 22px; font-size: 15px;
}
.alc-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alc-nav { display: flex; flex-direction: column; gap: 6px; align-items: center; width: 100%; }
.alc-nav a {
  width: 58px; padding: 9px 0 7px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--side-text); text-decoration: none; font-size: 10.5px; font-weight: 500;
  transition: background .15s, color .15s; text-align: center; line-height: 1.15;
}
.alc-nav a:hover { background: var(--side-2); color: #fff; }
.alc-nav a.is-active { background: var(--primary); color: #fff; }
.alc-side-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.alc-avatar-me {
  width: 34px; height: 34px; border-radius: 50%; background: #e9ecf3; color: var(--side);
  display: grid; place-items: center; font-weight: 700; font-size: 13px; text-decoration: none;
}

.alc-main { padding: 22px 26px 40px; min-width: 0; }

/* ---------- Header ---------- */
.alc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.alc-head h1 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.alc-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- Buttons / inputs ---------- */
.alc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent;
  background: var(--primary); color: #fff !important; font-weight: 600; font-size: 13.5px; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, opacity .15s;
}
.alc-btn:hover { background: var(--primary-2); }
.alc-btn:disabled { opacity: .5; cursor: not-allowed; }
.alc-btn.ghost { background: #fff; color: var(--text) !important; border-color: var(--border); }
.alc-btn.ghost:hover { background: #f8f7f4; }
.alc-btn.soft { background: #e6e9f0; color: var(--primary-ink) !important; }
.alc-btn.soft:hover { background: #dce1eb; }
.alc-btn.danger { background: #fff; color: var(--red) !important; border-color: #f0d2ce; }
.alc-btn.danger:hover { background: #fdf1ef; }
.alc-btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; }
.alc-btn.icon { width: 38px; padding: 0; }
.alc-btn.sm.icon { width: 32px; }

.alc-input, .alc-select, .alc-textarea {
  width: 100%; height: 40px; padding: 0 13px; border: 1px solid var(--border); border-radius: 9px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.alc-textarea { height: auto; padding: 10px 13px; resize: vertical; min-height: 70px; }
.alc-select { appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237b8090' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.alc-input:focus, .alc-select:focus, .alc-textarea:focus { border-color: var(--primary-ink); box-shadow: 0 0 0 3px rgba(0, 212, 129, .18); }
.alc-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.alc-field { margin-bottom: 12px; }
.alc-money { position: relative; }
.alc-money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.alc-money .alc-input { padding-left: 40px; font-size: 18px; font-weight: 600; height: 48px; }

/* ---------- Cards ---------- */
.alc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.alc-card-h { padding: 14px 16px 6px; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.alc-card-b { padding: 8px 16px 16px; }

.alc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.alc-kpi { padding: 16px 18px; }
.alc-kpi b { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; }
.alc-kpi span { color: #4a5160; font-size: 12.5px; }
.alc-kpi small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }

.alc-split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.alc-split.right { grid-template-columns: minmax(0, 1fr) 340px; }

/* ---------- Lista lateral ---------- */
.alc-feed { max-height: calc(100vh - 260px); overflow: auto; }
.alc-feed-item { display: flex; gap: 10px; padding: 9px 4px; border-radius: 8px; cursor: pointer; }
.alc-feed-item:hover { background: #f7f6f3; }
.alc-av {
  width: 30px; height: 30px; border-radius: 50%; background: #e9edf5; color: #47536b;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none;
}
.alc-feed-item strong { font-size: 13px; display: block; font-weight: 600; }
.alc-feed-item small { font-size: 12px; color: var(--muted); display: block; line-height: 1.35; }
.alc-empty { color: var(--muted); font-size: 13px; padding: 18px 4px; text-align: center; }

/* ---------- Toolbar ---------- */
.alc-toolbar { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; }
.alc-toolbar .alc-input { flex: 1; }
.alc-toolbar .alc-select { width: auto; min-width: 150px; }
.alc-seg { display: inline-flex; background: #e6e9f0; border-radius: 9px; padding: 3px; gap: 2px; }
.alc-seg button { border: 0; background: transparent; height: 32px; padding: 0 12px; border-radius: 7px; cursor: pointer; font-weight: 600; font-size: 12.5px; color: #4a5160; display: inline-flex; align-items: center; gap: 6px; }
.alc-seg button.is-active { background: #fff; color: var(--primary-ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* ---------- Quadro (kanban) ---------- */
.alc-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(138px, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow-x: auto; }
.alc-col { border-right: 1px solid var(--border-2); min-height: 420px; display: flex; flex-direction: column; }
.alc-col:last-child { border-right: 0; }
.alc-col-h { padding: 12px 12px 10px; text-align: center; border-bottom: 1px solid var(--border); background: #faf9f6; position: sticky; top: 0; }
.alc-col-h span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.alc-col-h b { font-size: 15px; font-weight: 600; }
.alc-col-b { padding: 8px; display: flex; flex-direction: column; gap: 7px; flex: 1; transition: background .15s; }
.alc-col-b.is-over { background: var(--primary-soft); }
.alc-pill {
  border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 12.5px; border: 1px solid transparent;
  transition: transform .1s, box-shadow .15s;
}
.alc-pill:hover { box-shadow: 0 2px 6px rgba(20,25,40,.08); }
.alc-pill.is-drag { opacity: .45; }
.alc-pill .c { font-size: 10.5px; font-weight: 600; opacity: .7; display: flex; justify-content: space-between; gap: 6px; margin-bottom: 2px; }
.alc-pill .t { font-weight: 600; line-height: 1.3; word-break: break-word; }
.alc-pill .m { opacity: .85; margin-top: 2px; font-size: 11.5px; }
.alc-pill .v { margin-top: 4px; font-weight: 600; }

/* ---------- Tabela ---------- */
.alc-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; }
.alc-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 11px 14px; background: #faf9f6; border-bottom: 1px solid var(--border); white-space: nowrap; }
.alc-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-2); vertical-align: middle; }
.alc-table tr:last-child td { border-bottom: 0; }
.alc-table tbody tr.click { cursor: pointer; }
.alc-table tbody tr.click:hover td { background: #faf9f6; }
.alc-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }

.alc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.alc-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.alc-chip { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #eef0f4; color: #4a5160; font-size: 11.5px; font-weight: 600; margin: 1px 3px 1px 0; }

/* ---------- Nova simulação ---------- */
.alc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.alc-tab {
  border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 10px 14px; cursor: pointer;
  text-align: left; min-width: 150px; transition: border-color .15s, background .15s;
}
.alc-tab b { display: block; font-size: 13.5px; }
.alc-tab small { color: var(--muted); font-size: 11.5px; }
.alc-tab:hover { border-color: #c9cfdb; }
.alc-tab.is-active { border-color: var(--primary-ink); background: var(--primary-soft); }
.alc-tab.is-active b { color: var(--primary-ink); }
.alc-step { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 8px; }
.alc-step:first-child { margin-top: 0; }

.alc-prod-list { max-height: 330px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.alc-prod { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border-2); cursor: pointer; }
.alc-prod:last-child { border-bottom: 0; }
.alc-prod:hover { background: #faf9f6; }
.alc-prod.is-active { background: var(--primary-soft); }
.alc-prod.is-active .n { color: var(--primary-ink); }
.alc-prod .n { font-weight: 500; font-size: 13px; }
.alc-prod .p { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; }

.alc-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.alc-result div { background: #faf9f6; border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 13px; }
.alc-result div span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.alc-result div b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.alc-result div.hl { background: var(--primary-soft); border-color: #b5ecd3; }
.alc-result div.hl b { color: var(--primary-ink); }

.alc-memo { margin-top: 12px; border: 1px dashed #d8d4cc; border-radius: 10px; padding: 10px 13px; background: #fffdf8; }
.alc-memo summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: #6b5a2e; }
.alc-memo table { margin-top: 8px; font-size: 12.5px; }
.alc-memo td { padding: 4px 0; border-bottom: 1px solid #f1ece0; }
.alc-memo td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.alc-note { font-size: 12px; color: #8a6d1f; background: #fdf6e3; border-radius: 8px; padding: 8px 11px; margin-top: 10px; }

.alc-cart-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-2); }
.alc-cart-item:last-child { border-bottom: 0; }
.alc-cart-item .info { flex: 1; min-width: 0; }
.alc-cart-item .info strong { display: block; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.alc-cart-item .info small { display: block; color: var(--muted); font-size: 11.5px; }
.alc-cart-item .vals { text-align: right; font-size: 12.5px; white-space: nowrap; }
.alc-cart-item .vals b { display: block; }
.alc-x { border: 0; background: transparent; cursor: pointer; color: #a3a8b3; padding: 2px; border-radius: 6px; height: 24px; }
.alc-x:hover { color: var(--red); background: #fdf1ef; }
.alc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; border-top: 1px solid var(--border); margin-top: 6px; }
.alc-total b { font-size: 18px; }
.alc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }

/* ---------- Drawer ---------- */
.alc-drawer-wrap { position: fixed; inset: 0; z-index: 99999; display: flex; justify-content: flex-end; }
.alc-drawer-bg { position: absolute; inset: 0; background: rgba(20, 25, 40, .35); animation: alcFade .15s; }
.alc-drawer {
  position: relative; width: min(760px, 100%); height: 100%; background: var(--bg); overflow: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,.12); animation: alcSlide .2s ease-out;
}
.alc-drawer-h { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 22px; display: flex; gap: 12px; align-items: center; }
.alc-drawer-h h2 { font-size: 18px; font-weight: 700; }
.alc-drawer-h small { color: var(--muted); font-size: 12.5px; }
.alc-drawer-b { padding: 18px 22px 40px; display: flex; flex-direction: column; gap: 14px; }
.alc-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.alc-dl span { display: block; font-size: 11.5px; color: var(--muted); }
.alc-dl b { font-weight: 600; font-size: 13.5px; }
.alc-timeline { display: flex; flex-direction: column; }
.alc-tl { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-2); }
.alc-tl:last-child { border-bottom: 0; }
.alc-tl .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex: none; background: #c5cad4; }
.alc-tl p { font-size: 13px; }
.alc-tl small { color: var(--muted); font-size: 11.5px; }
.alc-status-sel { font-weight: 600; height: 36px; border-radius: 999px; padding-left: 14px; }
.alc-item-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.alc-item-h strong { font-size: 13.5px; }
.alc-item-h small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Toast ---------- */
.alc-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #1b2333; color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 100000; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.18); animation: alcFade .2s; }
.alc-toast.err { background: var(--red); }

/* ---------- Login ---------- */
.alc-login { min-height: 70vh; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: center; background: #0e1411; padding: 30px 16px; border-radius: 14px; }
.alc-fullscreen .alc-login { min-height: 100vh; border-radius: 0; }
.alc-login-card { background: #fff; border: 0; border-radius: 14px; padding: 30px; width: min(380px, 100%); margin: 0 auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.alc-login-logo { display: block; height: 44px; width: auto; }
.alc-login-card h2 { font-size: 20px; margin: 0 0 4px; }
.alc-login-card > p { color: var(--muted); margin: 0 0 18px; }
.alc-login-card label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.alc-login-card input[type=text], .alc-login-card input[type=password] { width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 9px; padding: 0 12px; box-sizing: border-box; font: inherit; }
.alc-login-card p { margin: 0 0 12px; }
.alc-login-card .login-remember label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.alc-login-card input[type=submit] { width: 100%; height: 42px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 600; cursor: pointer; font: inherit; font-weight: 600; }

.alc-login-extra { margin: 0 0 14px; }
.alc-login-extra:empty { display: none; }
.alc-login-extra .g-recaptcha { transform-origin: 0 0; }
@media (max-width: 400px) { .alc-login-extra .g-recaptcha { transform: scale(.9); } }
.alc-login-erro { background: #fdecea; color: #b42318; border: 1px solid #f6c9c4; border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 500; margin: 0 0 16px; }

/* ---------- 3.1: produtos ativos/inativos, conta de pontos ---------- */
.alc-switch { position: relative; display: inline-block; width: 36px; height: 20px; flex: none; vertical-align: middle; cursor: pointer; }
.alc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.alc-switch span { position: absolute; inset: 0; background: #cfd3db; border-radius: 999px; transition: background .15s; }
.alc-switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.alc-switch input:checked + span { background: var(--primary); }
.alc-switch input:checked + span::before { transform: translateX(16px); }
.alc-switch input:disabled + span { opacity: .5; }
.alc-prog-sw { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; text-transform: none; letter-spacing: 0; }
.alc-prog-sw em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.alc-table-wrap.is-off thead th { background: #f3f1ec; }
.alc-table tr.is-off td { color: #a2a6b0; }
.alc-table tr.is-off td .alc-chip { color: #8a6d1f; background: #fdf6e3; }
.alc-kpi.is-off { opacity: .55; }
.alc-kpi.is-off small { color: var(--amber); font-weight: 600; }
.alc-kpi.is-sel { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.alc-seg-full { display: flex; width: 100%; }
.alc-seg-full button { flex: 1; justify-content: center; }
.alc-conta-box { border-top: 1px solid var(--border-2); padding-top: 12px; margin-top: 2px; }
.alc-conta-info { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: #f4f3ef; font-size: 13px; }
.alc-conta-info > span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.alc-conta-info.outra { background: #fdf6e3; border: 1px solid #f1e2b3; }
.alc-conta-info.outra > span b { color: #8a6d1f; }
.alc-conta-tag { color: #8a6d1f !important; font-weight: 600; }
.alc-suffix { display: flex; align-items: center; gap: 8px; }
.alc-suffix span { color: var(--muted); font-weight: 600; }
.alc-help { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; line-height: 1.35; }
.alc-check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.alc-check input { accent-color: var(--primary); width: 16px; height: 16px; }
.alc-memo td small { color: var(--muted); font-weight: 400; }

/* ---------- 3.1.1: produtos compactos ---------- */
.alc-kpis-sm { gap: 10px; margin-bottom: 12px; }
.alc-kpis-sm .alc-kpi { padding: 10px 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.alc-kpis-sm .alc-kpi b { font-size: 18px; display: inline; }
.alc-kpis-sm .alc-kpi small { display: inline; margin: 0; }
.alc-ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.alc-ptab { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 8px 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 12.5px; font-weight: 500; color: #4a5160; }
.alc-ptab em { font-style: normal; font-size: 11px; font-weight: 700; background: #eef0f4; color: #4a5160; border-radius: 999px; padding: 1px 7px; }
.alc-ptab:hover { border-color: #c9cfdb; }
.alc-ptab.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; }
.alc-ptab.is-active em { background: var(--primary); color: #fff; }
.alc-ptab.is-off { opacity: .6; text-decoration: line-through; }
.alc-presult { font-size: 12.5px; color: var(--muted); margin: -2px 0 8px; }
.alc-ptable { max-height: calc(100vh - 290px); overflow: auto; }
.alc-ptable thead th { position: sticky; top: 0; z-index: 1; }
.alc-table.compact th { padding: 9px 12px; }
.alc-table.compact td { padding: 6px 12px; font-size: 13px; }
.alc-table.compact .alc-btn.sm.icon { width: 28px; height: 28px; }
.alc-table.compact .alc-btn.sm.icon svg { width: 15px; height: 15px; }
.alc-table.compact .alc-switch { transform: scale(.9); }
@media (max-width: 760px) { .alc-ptable { max-height: none; } }

@keyframes alcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes alcSlide { from { transform: translateX(40px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .alc-split, .alc-split.right { grid-template-columns: minmax(0, 1fr); }
  .alc-feed { max-height: 260px; }
}
@media (max-width: 760px) {
  .alc-app { grid-template-columns: minmax(0, 1fr); }
  .alc-side, .alc-fullscreen .alc-side { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: 62px; flex-direction: row; padding: 0 8px; z-index: 50; }
  .alc-logo, .alc-side-foot { display: none; }
  .alc-nav { flex-direction: row; justify-content: space-around; }
  .alc-nav a { padding: 6px 0 5px; }
  .alc-main { padding: 16px 16px 90px; }
  .alc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alc-head { flex-direction: column; align-items: stretch; }
  .alc-toolbar { flex-wrap: wrap; }
  .alc-dl { grid-template-columns: 1fr 1fr; }
}
