/* Keen demo1 controls, adapted to SIEM tokens and native dialog/cursor semantics. */
.siem-foundation { --siem-control-height:44px; }
.siem-foundation .card { border-radius:12px; box-shadow:0 3px 12px rgba(20,35,60,.035); }
.siem-foundation h2 { font-weight:600; letter-spacing:-.025em; }
.siem-foundation .metric-top > .ki-outline { display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--siem-info-bg);color:var(--siem-action);font-size:22px; }
.siem-foundation .metric-value { font-size:32px;letter-spacing:-.04em; }
.siem-foundation .btn { display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600; }
.siem-foundation .form-control-solid,.siem-foundation .form-select-solid { background:var(--siem-soft);border-color:transparent; }
.siem-foundation .form-control:focus { border-color:var(--siem-action); }
.siem-foundation .siem-filter-panel { padding:22px;background:var(--bs-body-bg);border:1px dashed var(--siem-surface-edge);border-radius:12px;gap:18px; }
.siem-filter-panel label { font-size:13px;font-weight:600; }
.siem-filter-panel > label { margin-bottom:0; }
.siem-filter-panel > .filter-submit { transform:none; }
.siem-filter-panel > a.btn { margin-bottom:0 !important; }
.siem-filter-panel .filter-actions { padding-top:18px;border-top:1px dashed var(--siem-surface-edge); }
.siem-period-presets { display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-basis:100%;grid-column:1/-1;padding-bottom:16px;border-bottom:1px dashed var(--siem-surface-edge); }
.siem-period-presets > span { font-size:12px;color:var(--siem-muted);margin-right:8px; }
.siem-period-presets .btn { min-height:36px;padding:7px 12px;font-size:12px; }
.siem-period-presets [aria-pressed=true] { background:var(--siem-primary);color:#fff; }
.siem-foundation .select2-container { min-width:0;max-width:100%;font-weight:400;text-align:left; }
.siem-foundation .select2-container .select2-selection { min-height:44px;background-color:var(--siem-soft);border:1px solid transparent;border-radius:10px;display:flex;align-items:center; }
.siem-foundation .select2-container .select2-selection__rendered { color:var(--bs-gray-900);padding-left:14px;padding-right:30px; }
.siem-foundation .select2-container .select2-selection--single { padding:0; }
.siem-foundation .select2-container .select2-selection--single::after { content:'';position:absolute;right:16px;width:7px;height:7px;border-right:2px solid var(--siem-muted);border-bottom:2px solid var(--siem-muted);transform:rotate(45deg);pointer-events:none; }
.siem-foundation .select2-container .select2-selection--single { position:relative;background-image:none; }
.siem-foundation .select2-container--focus .select2-selection { border-color:var(--siem-action); }
.siem-foundation .select2-dropdown { background:var(--bs-body-bg);color:var(--bs-gray-900);border-color:var(--siem-surface-edge);box-shadow:0 8px 24px rgba(0,0,0,.12); }
.siem-foundation .select2-search__field { background:var(--siem-soft);color:var(--bs-gray-900);border:1px solid var(--siem-surface-edge) !important;min-height:38px; }
.siem-foundation .select2-results__option { white-space:normal;overflow-wrap:anywhere; }
.siem-foundation .select2-results__option--highlighted { color:var(--siem-action) !important;background:var(--siem-info-bg) !important; }
.siem-foundation .select2-results__option[aria-selected=true] { background:var(--siem-soft);color:var(--bs-gray-900); }
.siem-table-toolbar { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px; }
.siem-table-search { margin:0;max-width:390px;flex:1;min-width:0; }
.siem-columns { position:relative;flex:none; }
.siem-columns summary { list-style:none;cursor:pointer; }
.siem-columns summary::-webkit-details-marker { display:none; }
.siem-column-options { position:absolute;right:0;top:calc(100% + 8px);width:280px;max-width:calc(100vw - 48px);padding:18px;display:grid;gap:14px;background:var(--bs-body-bg);border:1px solid var(--siem-surface-edge);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.14);z-index:8; }
.siem-column-options label { display:flex;gap:12px;margin:0;font-size:13px; }
.siem-column-options .form-check-input { width:20px;height:20px;min-height:20px;padding:0;flex:none; }
.siem-foundation .siem-table-host { overflow:visible;max-height:none;margin-top:0; }
.siem-table-scroll { overflow:auto;max-height:540px;max-width:100%;position:relative;border:1px solid var(--siem-surface-edge);border-radius:10px; }
.siem-foundation .siem-datatable { margin:0 !important; }
.siem-datatable thead { position:sticky;top:0;z-index:2;background:var(--siem-soft); }
.siem-foundation .siem-datatable th { padding:16px 28px 16px 16px !important;font-size:12px;font-weight:600;color:var(--siem-muted); }
.siem-foundation .siem-datatable td { padding:16px !important;vertical-align:middle;white-space:normal;overflow-wrap:anywhere; }
.siem-foundation .rules-table { min-width:960px !important; }
.siem-datatable tbody tr:hover { background:var(--siem-soft); }
.siem-datatable .dataTables_empty { white-space:normal; }
.siem-table-footer { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px; }
.siem-table-footer .dt-info { padding:0 !important;font-size:12px;color:var(--siem-muted); }
.siem-table-footer .siem-page-length { display:flex;align-items:center;gap:8px; }
.siem-table-footer .siem-page-length label { white-space:nowrap;margin:0;font-size:12px; }
.siem-table-footer .siem-page-length .select2-container { width:82px !important; }
.siem-table-footer .pagination { border:0;padding:0;margin:0;gap:4px;justify-content:flex-end; }
.siem-table-footer .page-link { border-radius:8px;min-width:36px;min-height:36px;display:grid;place-items:center; }
.siem-slice-hint { margin:14px 0; }
.siem-server-pagination { background:var(--siem-soft);border-radius:10px;padding:16px !important; }
.siem-source-chart { min-height:270px; }
.siem-chart-section { margin-bottom:24px; }
.siem-chart-section .section-head { flex-wrap:wrap; }
.siem-alert-carousel { padding:22px;border:1px dashed var(--siem-surface-edge);border-radius:12px;background:var(--siem-soft);margin-bottom:24px; }
.siem-alert-carousel .carousel-item { padding-right:110px; }
.siem-alert-carousel h2 { margin:0 0 8px;font-size:17px; }
.siem-alert-carousel p { margin:0 0 12px; }
.siem-carousel-controls { display:flex;justify-content:flex-end;gap:8px;margin-top:12px; }
.siem-alert-carousel .btn { min-height:36px;padding:8px 12px; }
.siem-foundation dialog { border-radius:14px;box-shadow:0 25px 80px rgba(0,0,0,.24); }
.siem-foundation .rule-dialog { overflow:visible; }
.siem-foundation .rule-dialog-content { max-height:min(90vh,860px);overflow:auto;border-radius:inherit; }
.siem-foundation .toolbar-with-guide { flex-wrap:nowrap; }
.siem-foundation .toolbar-title { flex:1; min-width:0; }
.siem-foundation .area-guide-trigger { flex:none; margin-top:8px; white-space:nowrap; }
.siem-foundation .area-guide-dialog { width:min(820px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:min(85vh,860px); padding:24px; overflow:auto; }
.siem-foundation .area-guide-dialog::backdrop { background:rgba(8,18,38,.58); }
.area-guide-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:20px; }
.area-guide-kicker { display:block; margin-bottom:4px; color:var(--siem-action); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.area-guide-dialog-header h2 { margin:0; font-size:20px; }
.area-guide-close { flex:none; width:42px; min-width:42px; height:42px; padding:0 !important; }
.area-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.area-guide-grid > div { min-width:0; padding:13px 14px; border:1px solid var(--siem-surface-edge); border-radius:10px; background:var(--siem-soft); }
.area-guide-grid h3 { margin:0 0 6px; font-size:13px; font-weight:700; }
.area-guide-grid p { margin:0; color:var(--siem-muted); font-size:12px; line-height:1.55; }
.area-guide-grid .area-guide-limit { background:var(--siem-info-bg); }
.area-guide-steps { margin-top:20px; padding:16px; border:1px solid var(--siem-surface-edge); border-radius:10px; background:var(--bs-body-bg); }
.area-guide-steps h3 { margin:0 0 10px; font-size:14px; }
.area-guide-steps ol { display:grid; gap:8px; margin:0; padding-left:24px; }
.area-guide-steps li { padding-left:4px; color:var(--bs-gray-800); font-size:13px; line-height:1.55; }
.area-guide-dialog-footer { display:flex; justify-content:flex-end; margin-top:20px; padding-top:16px; border-top:1px solid var(--siem-surface-edge); }
.rules-explained th[scope=row] { white-space:nowrap; }
@media(max-width:767px) {
  .siem-table-toolbar { align-items:stretch;flex-direction:column;gap:10px; }
  .siem-table-search { max-width:none; }
  .siem-columns summary { width:100%; }
  .siem-column-options { left:0;right:auto;width:100%; }
  .siem-table-footer { align-items:flex-start;flex-direction:column; }
  .siem-table-footer .pagination { flex-wrap:wrap;justify-content:flex-start; }
  .siem-foundation .siem-filter-panel { padding:16px; }
  .siem-alert-carousel .carousel-item { padding-right:0; }
  .area-guide-grid { grid-template-columns:minmax(0,1fr); }
  .siem-foundation .area-guide-dialog { padding:18px; }
}
@media(prefers-reduced-motion:reduce) { .carousel-item { transition:none; } }
@media(min-width:992px) { .siem-foundation .btn.mobile-menu { display:none; } }

/* Incremento: ações compactas, períodos e composição de acesso. */
.siem-foundation .siem-datatable .btn-sm { height:30px;min-height:30px; padding:5px 10px !important;line-height:18px; font-size:12px; border-radius:7px; min-width:0; white-space:nowrap; }
.siem-foundation .siem-datatable td form { margin:6px 0 0; }
.siem-period-presets { justify-content:flex-end; padding-bottom:10px; gap:6px; border:0; margin:0 0 4px auto; }
.siem-period-presets .btn { height:30px;min-height:30px; padding:5px 10px !important; border-radius:7px; font-size:11px; }
.siem-period-presets > span { font-size:11px; margin-right:4px; }
.siem-filter-panel .siem-period-presets { width:100%; }
.siem-table-footer > [data-next-page] { height:32px;min-height:32px; font-size:12px; padding:6px 12px !important; }
.siem-table-footer > [data-next-page][hidden] { display:none !important; }
.siem-table-footer > [data-next-page][aria-disabled=true] { opacity:.6; cursor:wait; }
.siem-load-status:empty { display:none; }
.access-summary { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:24px; gap:16px; }
.access-summary .card { gap:10px; padding:20px 24px; }
.access-summary strong { font-size:28px; line-height:1.2; }
.access-guidance { margin-top:24px; }
.access-guidance p { margin-top:6px; }
.siem-foundation .access-dialog { padding:0; width:min(640px,calc(100vw - 32px)); }
.access-fields { display:grid; gap:18px; }
.access-fields label { display:grid; gap:7px; font-size:13px; margin:0; }
.access-fields [hidden] { display:none !important; }
.access-policy { margin:22px 0 0; font-size:12px; }
.access-policy p { margin-top:7px; }
.access-confirm { display:flex; gap:12px; align-items:flex-start; font-size:12px; margin:20px 0 0; font-weight:400; }
.access-confirm input { width:20px; min-width:20px; height:20px; min-height:20px; padding:0; }
.access-table { min-width:660px !important; }
.siem-prototype .auth-experience { display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;min-height:100vh;max-width:none;width:100%;padding:24px 40px;background:radial-gradient(ellipse at 5% 65%,var(--siem-info-bg),transparent 50%); }
.auth-experience .auth-header { width:100%;max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between; }
.auth-experience .auth-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;width:100%;max-width:1160px;margin:40px auto; }
.auth-experience .auth-content { padding:0;display:block;background:transparent;min-width:0; }
.auth-experience .auth-card { width:100%;max-width:500px;margin:0 auto;padding:36px;background:var(--bs-body-bg);border:1px solid var(--siem-surface-edge);border-radius:18px;box-shadow:0 12px 48px rgba(12,30,60,.055); }
.auth-experience .auth-card h1 { font-size:26px;line-height:1.3;letter-spacing:-.035em;margin:8px 0 16px; }
.auth-eyebrow { font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:600;color:var(--siem-muted); }
.auth-story { padding:20px 0; }
.auth-story h2 { font-size:38px;line-height:1.25;margin:16px 0;letter-spacing:-.035em; }
.auth-story > p { font-size:16px;color:var(--siem-muted);max-width:390px; }
.auth-symbol { display:grid;place-items:center;width:108px;height:108px;border-radius:28px;background:var(--siem-info-bg);color:var(--siem-action);border:1px solid var(--siem-surface-edge);margin-bottom:32px;box-shadow:16px 16px 0 var(--siem-soft); }
.auth-symbol .ki-outline { font-size:54px; }
.auth-benefits { list-style:none;padding:0;display:grid;gap:22px;margin:36px 0 0; }
.auth-benefits li { display:flex;align-items:center;gap:14px; }
.auth-benefits .ki-outline { font-size:25px;color:var(--siem-action); }
.auth-benefits strong,.auth-benefits small { display:block; }
.auth-benefits strong { font-size:14px;font-weight:600; }
.auth-benefits small { color:var(--siem-muted);margin-top:4px;font-size:12px; }
.auth-experience .auth-footer { display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;width:100%;max-width:1440px;margin:0 auto;font-size:11px; }
.auth-description { color:var(--siem-muted);line-height:1.6; }
.auth-experience .auth-form { gap:10px;margin:24px 0 18px; }
.auth-experience .auth-form label { font-size:13px;margin-top:8px; }
.auth-experience .form-control { background:var(--siem-soft);border:1px solid transparent;min-height:46px; }
.auth-experience .form-control:focus { border-color:var(--siem-action); }
.auth-experience .password-row { position:relative;display:block; }
.auth-experience .password-toggle { position:absolute;right:2px;top:2px;min-height:42px;height:42px; }
.auth-experience .auth-submit { width:100%;margin-top:12px;min-height:46px; }
.auth-experience .auth-otp-input { text-align:center;font-size:30px;font-weight:600;letter-spacing:.26em;padding-left:.45em;font-variant-numeric:tabular-nums;height:64px; }
.auth-state-icon { display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:var(--siem-info-bg);color:var(--siem-action);margin-bottom:16px; }
.auth-state-icon .ki-outline { font-size:28px; }
.auth-alternative { display:grid;gap:5px;text-align:center;font-size:13px;padding:14px 0; }
.auth-exit { border-top:1px dashed var(--siem-surface-edge);padding-top:18px;margin-top:18px;text-align:center; }
.auth-exit .btn-sm { min-height:32px;font-size:12px;padding:7px 12px; }
.auth-experience .auth-qr { padding:12px;margin:20px auto; }
.auth-experience .auth-qr img { width:min(190px,55vw);height:auto; }
.auth-experience .auth-qr span { font-size:11px; }
.auth-manual-key { font-size:12px; }
.auth-recovery-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:20px 0; }
.auth-recovery-list li { padding:10px;text-align:center;border:1px dashed var(--siem-surface-edge);border-radius:8px;background:var(--siem-soft); }
.auth-recovery-list code { font-size:12px;overflow-wrap:anywhere; }
.auth-recovery-actions { display:flex;gap:10px;flex-wrap:wrap; }
.auth-request-status { margin:0;text-align:center; }
.auth-theme-toggle { width:42px;height:42px;padding:0 !important; }
.auth-theme-toggle .ki-outline { font-size:20px; }
@media(max-width:991px) {
  .siem-prototype .auth-experience { padding:24px; }
  .auth-experience .auth-layout { grid-template-columns:minmax(0,1fr);max-width:500px;margin:32px auto;gap:0; }
  .auth-story { display:none; }
}
@media(max-width:767px) {
  .access-summary { grid-template-columns:minmax(0,1fr); }
  .siem-period-presets { justify-content:flex-start; }
  .siem-prototype .auth-experience { padding:16px; }
  .auth-experience .auth-card { padding:24px; }
  .auth-experience .auth-footer { justify-content:center;text-align:center; }
  .auth-experience .auth-header .auth-identity { flex-wrap:wrap;gap:10px; }
}
/* Cloudflare shares Keen cards/tables; long technical projections remain readable on mobile. */
.cf-projection { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
