  :root{
    --red:#dc2626; --red-dark:#991b1b; --red-light:#fecaca; --red-bg:#fee2e2;
    --black:#0a0a0a; --black-2:#111111; --black-3:#1a1a1a; --black-4:#242424;
    --white:#ffffff; --muted:#9ca3af; --border:#333333; --bg:#0e0e0e;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:'Segoe UI',Arial,sans-serif; background:var(--bg); color:#e5e7eb;}
  .app{display:flex; min-height:100vh;}

  /* ===== Sidebar ===== */
  .sidebar{width:240px; background:linear-gradient(180deg,#141414,#0a0a0a); color:#fff; display:flex; flex-direction:column; padding:20px 0; flex-shrink:0; border-right:1px solid #2a2a2a;}
  .brand{display:flex; align-items:center; gap:12px; padding:0 20px 20px; border-bottom:1px solid #2a2a2a; margin-bottom:12px;}
  .brand-logo{width:64px; height:36px; background:transparent; border-radius:0; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
  .brand-logo img{width:100%; height:100%; object-fit:contain; display:block;}
  .brand h1{font-size:18px; font-weight:800; letter-spacing:.3px;}
  .brand small{display:block; font-size:11px; color:var(--muted); font-weight:400; letter-spacing:1px; text-transform:uppercase;}
  .nav-btn{display:flex; align-items:center; gap:12px; width:100%; background:none; border:none; color:#9ca3af;
    padding:13px 20px; text-align:left; font-size:14.5px; cursor:pointer; transition:.15s; border-left:3px solid transparent;}
  .nav-btn svg{width:20px; height:20px; flex-shrink:0;}
  .nav-btn:hover{background:#1a1a1a; color:#fff;}
  .nav-btn.active{background:linear-gradient(90deg,rgba(220,38,38,.18),transparent); color:#fff; font-weight:600; border-left-color:var(--red);}
  .nav-btn.active svg{color:var(--red);}
  .sidebar-footer{margin-top:auto; padding:15px 20px; border-top:1px solid #2a2a2a;}
  .btn-reset{width:100%; background:#1a1a1a; color:#f87171; border:1px solid #3a3a3a; padding:9px; border-radius:8px; cursor:pointer; font-size:12.5px; display:flex; align-items:center; justify-content:center; gap:8px;}
  .btn-reset svg{width:16px; height:16px;}
  .btn-reset:hover{background:#242424;}

  /* ===== Content ===== */
  .content{flex:1; padding:26px 30px; overflow-x:auto;}
  .view{display:none;}
  .view.active{display:block;}
  .page-head{display:flex; align-items:center; gap:14px; margin-bottom:6px;}
  .page-head .icon-badge{width:42px; height:42px; border-radius:12px; background:linear-gradient(135deg,var(--red),var(--red-dark)); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(220,38,38,.35);}
  .page-head .icon-badge svg{width:22px; height:22px; color:#fff;}
  h2{font-size:22px; margin-bottom:0; color:#fff;}
  .subtitle{color:var(--muted); font-size:13.5px; margin-bottom:22px; margin-left:56px;}

  /* ===== Abas dentro de uma tela (ex: Funcionarios) ===== */
  .subtab-panel{display:none;}
  .subtab-panel.active{display:block;}
  .subtabs{display:flex; gap:4px; border-bottom:1px solid #2a2a2a; margin-bottom:20px;}
  .subtab-btn{background:none; border:none; color:var(--muted); padding:10px 18px; font-size:14px;
    font-weight:600; cursor:pointer; border-bottom:3px solid transparent; transition:.15s;}
  .subtab-btn:hover{color:#fff;}
  .subtab-btn.active{color:#fff; border-bottom-color:var(--red);}

  /* ===== Cards ===== */
  .cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:16px; margin-bottom:22px;}
  .card{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:18px 20px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.3); position:relative; overflow:hidden;}
  .card::after{content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:var(--red); opacity:.5;}
  .card .card-top{display:flex; justify-content:space-between; align-items:center;}
  .card .label{font-size:12px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.5px;}
  .card .card-icon{width:34px; height:34px; border-radius:9px; background:rgba(220,38,38,.15); color:var(--red); display:flex; align-items:center; justify-content:center;}
  .card .card-icon svg{width:18px; height:18px;}
  .card .value{font-size:23px; font-weight:800; margin-top:10px; color:#fff;}
  .card.lucro .value{color:#fef08a;}
  .card.lucro .value.neg{color:#f87171;}
  .card .extra{font-size:11.5px; color:var(--muted); margin-top:5px;}

  .charts-row{display:grid; grid-template-columns:2fr 1fr; gap:16px; margin-bottom:22px;}
  .chart-box{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:18px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.3);}
  .chart-box h3{font-size:14px; margin-bottom:12px; color:#fff; display:flex; align-items:center; gap:8px;}
  .chart-box h3 svg{width:18px; height:18px; color:var(--red);}
  .chart-box h3 select{margin-left:auto; flex-shrink:0; max-width:190px; padding:6px 10px; font-size:12.5px; border:1px solid #3a3a3a; border-radius:6px; background:#1f1f1f; color:#fff;}
  .chart-box canvas{max-height:260px;}

  .low-stock-box{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:18px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.3);}
  .low-stock-box h3{font-size:14px; margin-bottom:10px; color:#fff; display:flex; align-items:center; gap:8px;}
  .low-stock-box h3 svg{width:18px; height:18px; color:var(--red);}
  .low-item{display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid #2a2a2a; font-size:13.5px;}
  .low-item:last-child{border:none;}
  .tag-low{background:var(--red-bg); color:var(--red-dark); padding:2px 9px; border-radius:20px; font-size:11.5px; font-weight:700;}

  .os-list{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px;}
  .os-card-el{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:12px; padding:16px; border:1px solid #2a2a2a; border-left:4px solid var(--red);}
  .os-card-el .os-veic{font-size:15px; font-weight:700; color:#fff;}
  .os-card-el .os-cli{font-size:12.5px; color:var(--muted); margin-top:2px;}
  .os-card-el .os-total{font-size:18px; font-weight:800; color:#fca5a5; margin-top:10px;}
  .os-meta{display:flex; justify-content:space-between; margin-top:8px; font-size:12px; color:var(--muted);}
  .status{display:inline-block; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700;}
  .status-aberta{background:rgba(220,38,38,.2); color:#fca5a5; border:1px solid rgba(220,38,38,.4);}
  .status-executando{background:rgba(251,146,60,.2); color:#fdba74; border:1px solid rgba(251,146,60,.4);}
  .status-concluida{background:rgba(74,222,128,.15); color:#86efac; border:1px solid rgba(74,222,128,.3);}

  /* ===== Forms ===== */
  .form-card{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:22px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.3); margin-bottom:24px;}
  .form-title{font-size:15px; font-weight:700; color:#fff; margin-bottom:14px; display:flex; align-items:center; gap:8px;}
  .form-title svg{width:18px; height:18px; color:var(--red);}
  .form-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; margin-bottom:14px;}
  .field label{display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:5px; letter-spacing:.3px;}
  .field input, .field select, .field textarea{width:100%; padding:10px 12px; border:1px solid #3a3a3a; border-radius:8px; font-size:14px; background:#1f1f1f; color:#fff; font-family:inherit;}
  .field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--red);}
  .field input::placeholder, .field textarea::placeholder{color:#6b7280;}
  .field textarea{resize:vertical; min-height:70px;}
  .btn{padding:11px 22px; border:none; border-radius:8px; font-size:14px; font-weight:700; cursor:pointer; transition:.15s; display:inline-flex; align-items:center; gap:8px;}
  .btn svg{width:16px; height:16px;}
  .btn-primary{background:linear-gradient(135deg,#ef4444,#b91c1c); color:#fff; box-shadow:0 4px 14px rgba(220,38,38,.35);}
  .btn-primary:hover{filter:brightness(1.1);}
  .btn-outline{background:none; border:1px solid #3a3a3a; color:#e5e7eb;}
  .btn-outline:hover{background:#242424;}
  .btn-success{background:linear-gradient(135deg,#dc2626,#7f1d1d); color:#fff; box-shadow:0 4px 14px rgba(220,38,38,.35);}
  .btn-success:hover{filter:brightness(1.1);}
  .btn-sm{padding:7px 13px; font-size:12.5px; border-radius:6px;}
  .btn:disabled{opacity:.6; cursor:not-allowed;}

  /* ===== Table ===== */
  .table-wrap{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; border:1px solid #2a2a2a; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.3);}
  table{width:100%; border-collapse:collapse; font-size:13.5px;}
  th{background:#1e1e1e; text-align:left; padding:12px 14px; font-size:11.5px; text-transform:uppercase; color:var(--muted); font-weight:700; border-bottom:1px solid #2a2a2a; letter-spacing:.5px;}
  td{padding:12px 14px; border-bottom:1px solid #2a2a2a; color:#e5e7eb;}
  tr:last-child td{border-bottom:none;}
  tbody tr:hover{background:#1c1c1c;}
  .badge{padding:3px 10px; border-radius:20px; font-size:11.5px; font-weight:700;}
  .badge-ok{background:rgba(220,38,38,.15); color:#fca5a5; border:1px solid rgba(220,38,38,.3);}
  .badge-low{background:rgba(220,38,38,.25); color:#f87171; border:1px solid var(--red);}
  .badge-red{background:var(--red); color:#fff;}
  .row-actions{display:flex; gap:6px;}
  .toolbar{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; gap:10px; flex-wrap:wrap;}
  .toolbar input, .toolbar select{padding:10px 12px; border:1px solid #3a3a3a; border-radius:8px; font-size:13.5px; background:#1f1f1f; color:#fff;}

  .type-entrada{color:#fca5a5; font-weight:700;}
  .type-saida{color:#ef4444; font-weight:700;}

  /* ===== Estoque: acoes rapidas, indicadores, drawer, menu de acoes ===== */
  .actions-bar{display:flex; gap:10px; margin-bottom:18px; flex-wrap:wrap;}
  .btn-entrada svg, .btn-saida svg{color:var(--red);}

  .mini-stats{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px;}
  .mini-stat{background:linear-gradient(160deg,#1a1a1a,#121212); border:1px solid #2a2a2a; border-radius:10px; padding:12px 14px;}
  .mini-stat .mini-value{font-size:20px; font-weight:800; color:#fff; line-height:1.2;}
  .mini-stat .mini-label{font-size:11.5px; color:var(--muted); margin-top:2px;}
  .mini-stat.alerta .mini-value{color:#f87171;}

  .btn-icon{padding:7px 10px;}

  .row-menu{position:fixed; display:none; flex-direction:column; min-width:190px; background:linear-gradient(160deg,#1f1f1f,#141414);
    border:1px solid #3a3a3a; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.5); z-index:1350; padding:6px;}
  .row-menu button{display:flex; align-items:center; gap:9px; width:100%; background:none; border:none; color:#e5e7eb;
    padding:9px 10px; font-size:13px; text-align:left; cursor:pointer; border-radius:6px; font-family:inherit;}
  .row-menu button svg{width:15px; height:15px; flex-shrink:0; color:var(--muted);}
  .row-menu button:hover{background:#2a2a2a;}
  .row-menu button.danger{color:#f87171;}
  .row-menu button.danger svg{color:#f87171;}
  .row-menu hr{border:none; border-top:1px solid #2a2a2a; margin:4px 2px;}

  .drawer-overlay{position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:1290; opacity:0; pointer-events:none; transition:opacity .2s;}
  .drawer-overlay.open{opacity:1; pointer-events:auto;}
  .drawer{position:fixed; top:0; right:0; height:100%; width:420px; max-width:92vw; background:linear-gradient(160deg,#161616,#0e0e0e);
    border-left:1px solid #2a2a2a; box-shadow:-8px 0 30px rgba(0,0,0,.5); z-index:1300; transform:translateX(100%);
    transition:transform .25s ease; display:flex; flex-direction:column;}
  .drawer.open{transform:translateX(0);}
  .drawer-head{display:flex; align-items:center; gap:12px; padding:20px 22px; border-bottom:1px solid #2a2a2a; flex-shrink:0;}
  .drawer-head .icon-badge{width:36px; height:36px; border-radius:10px;}
  .drawer-head .icon-badge svg{width:18px; height:18px;}
  .drawer-title{font-size:16px; font-weight:700; color:#fff; flex:1;}
  .drawer-close{background:none; border:none; color:var(--muted); font-size:22px; line-height:1; cursor:pointer; padding:4px 10px; border-radius:6px;}
  .drawer-close:hover{background:#242424; color:#fff;}
  .drawer-body{padding:22px; overflow-y:auto; flex:1;}
  .drawer-body .form-card{margin-bottom:0; box-shadow:none; border:none; background:none; padding:0;}
  .drawer-actions{display:flex; gap:10px; margin-top:4px;}

  .hist-atual{background:linear-gradient(160deg,#1a1a1a,#121212); border:1px solid #2a2a2a; border-radius:10px; padding:14px 16px; margin-bottom:18px;}
  .hist-atual .mini-label{font-size:11.5px; color:var(--muted);}
  .hist-atual .mini-value{font-size:22px; font-weight:800; color:#fff; margin-top:2px;}
  .hist-item{display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid #2a2a2a; gap:10px;}
  .hist-item:last-child{border-bottom:none;}
  .hist-item .hist-tipo{font-size:13px; font-weight:700; display:flex; align-items:center; gap:6px;}
  .hist-item .hist-tipo.entrada{color:#fca5a5;}
  .hist-item .hist-tipo.saida{color:#ef4444;}
  .hist-item .hist-meta{font-size:11.5px; color:var(--muted); margin-top:2px;}
  .hist-item .hist-qtd{font-size:13.5px; font-weight:700; text-align:right; white-space:nowrap;}
  .hist-item .hist-qtd.entrada{color:#86efac;}
  .hist-item .hist-qtd.saida{color:#f87171;}

  .pagination{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; flex-wrap:wrap;}
  .pagination .pagination-info{font-size:12.5px; color:var(--muted);}
  .pagination .pagination-btns{display:flex; align-items:center; gap:6px;}
  .pagination .pagination-btns button{min-width:32px; height:32px; padding:0 8px; border-radius:7px; border:1px solid #3a3a3a;
    background:#1a1a1a; color:#e5e7eb; font-size:12.5px; font-weight:600; cursor:pointer;}
  .pagination .pagination-btns button:hover:not(:disabled){background:#242424;}
  .pagination .pagination-btns button:disabled{opacity:.4; cursor:default;}
  .pagination .pagination-btns button.active{background:var(--red); border-color:var(--red); color:#fff;}

  .toast{position:fixed; bottom:24px; right:24px; background:var(--black-3); color:#fff; padding:13px 20px; border-radius:10px;
    font-size:14px; box-shadow:0 6px 20px rgba(0,0,0,.4); opacity:0; transform:translateY(10px); transition:.25s; z-index:999; border:1px solid #3a3a3a; font-weight:600;}
  .toast.show{opacity:1; transform:translateY(0);}
  .toast.error{background:var(--red-dark); border-color:var(--red);}

  .empty-msg{padding:30px; text-align:center; color:var(--muted); font-size:13.5px;}

  .btn-add-serviço{display:inline-flex; align-items:center; gap:6px; background:rgba(220,38,38,.15); border:1px dashed var(--red); color:#fca5a5; padding:6px 12px; border-radius:8px; cursor:pointer; font-size:12.5px;}
  .btn-add-serviço:hover{background:rgba(220,38,38,.25);}
  .servicos-lista{display:flex; flex-direction:column; gap:8px; margin-bottom:10px;}
  .servico-item{display:flex; gap:10px; align-items:center; background:#1f1f1f; border:1px solid #3a3a3a; border-radius:8px; padding:8px 12px; font-size:13px;}
  .servico-item .svc-desc{flex:1;}
  .servico-item .svc-remover{background:none; border:none; color:#f87171; cursor:pointer; font-size:16px; line-height:1;}

  @media(max-width:800px){
    .app{flex-direction:column;}
    .sidebar{width:100%; flex-direction:row; overflow-x:auto; padding:10px; border-right:none; border-bottom:1px solid #2a2a2a; align-items:center;}
    .brand{display:none;}
    .nav-btn{white-space:nowrap; padding:10px 14px; border-left:none; border-bottom:3px solid transparent;}
    .nav-btn.active{border-bottom-color:var(--red); border-left-color:transparent; background:#1a1a1a;}
    .sidebar-footer{display:none;}
    .charts-row{grid-template-columns:1fr;}
    .subtitle{margin-left:0;}
    .mini-stats{grid-template-columns:repeat(2,1fr);}
    .actions-bar .btn{flex:1; justify-content:center; min-width:130px;}
    .drawer{width:100%; max-width:100%;}
    #view-pecas .table-wrap{overflow-x:auto;}
  }

  /* ===== Login ===== */
  .login-screen{position:fixed; inset:0; background:var(--bg); display:flex; align-items:center; justify-content:center; z-index:1000; padding:20px;}
  .login-box{width:100%; max-width:360px; background:linear-gradient(160deg,#1a1a1a,#121212); border:1px solid #2a2a2a; border-radius:14px; padding:32px 28px; box-shadow:0 8px 30px rgba(0,0,0,.5);}
  .login-box .login-logo{display:flex; justify-content:center; margin-bottom:22px;}
  .login-box .login-logo img{height:48px; width:auto;}
  .login-box h2{font-size:17px; text-align:center; margin-bottom:22px; color:#fff;}
  .login-box .field{margin-bottom:14px;}
  .login-box .btn{width:100%; justify-content:center; margin-top:6px;}
  .login-box .login-erro{color:#f87171; font-size:12.5px; margin-top:10px; text-align:center; min-height:16px;}
  .btn-logout{width:100%; background:#1a1a1a; color:#9ca3af; border:1px solid #3a3a3a; padding:9px; border-radius:8px; cursor:pointer; font-size:12.5px; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:8px;}
  .btn-logout:hover{background:#242424; color:#fff;}
  .btn-logout svg{width:14px; height:14px;}

  /* ===== Graficos pequenos, periodo, resumo e cores de estoque (vindos do prototipo do Carlos) ===== */
  .compact-charts{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:22px 0;}
  .compact-chart{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:16px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.25);}
  .compact-chart h3{font-size:13px; margin-bottom:10px; color:#fff; display:flex; align-items:center; gap:8px;}
  .compact-chart .chart-area{height:220px; position:relative;}
  .period-filters{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:14px 0;}
  .period-filters input{padding:9px 11px; border:1px solid #3a3a3a; border-radius:8px; background:#1f1f1f; color:#fff;}
  .period-actions{display:flex; gap:8px; flex-wrap:wrap;}
  .summary-strip{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin-bottom:22px;}
  .mini-card{background:#151515; border:1px solid #2a2a2a; border-radius:12px; padding:14px 16px;}
  .mini-card .mini-label{font-size:11px; color:var(--muted); text-transform:uppercase; font-weight:700; letter-spacing:.4px;}
  .mini-card .mini-value{font-size:18px; font-weight:800; color:#fff; margin-top:6px;}
  .section-note{font-size:12px; color:var(--muted); margin:-6px 0 14px;}
  .table-card{background:linear-gradient(160deg,#1a1a1a,#121212); border-radius:14px; padding:18px; border:1px solid #2a2a2a; box-shadow:0 4px 12px rgba(0,0,0,.3); margin-bottom:24px;}
  .table-head{margin-bottom:14px;}
  .table-head h3{font-size:15px; color:#fff;}
  .financial-positive{color:#86efac; font-weight:700;}
  .financial-negative{color:#fca5a5; font-weight:700;}
  .employee-chip{display:inline-flex; align-items:center; padding:3px 8px; border-radius:20px; background:#242424; color:#e5e7eb; font-size:11px; border:1px solid #3a3a3a; margin:1px 2px 1px 0;}
  .badge.estoque-bom{background:#166534; color:#bbf7d0; border:1px solid #166534;}
  .badge.estoque-medio{background:#854d0e; color:#fef08a; border:1px solid #854d0e;}
  .badge.estoque-baixo{background:#991b1b; color:#fecaca; border:1px solid #991b1b;}
  .badge.estoque-zero{background:#000; color:#fff; border:1px solid #444;}
  td .extra{font-size:11.5px; color:var(--muted); margin-top:2px;}
  @media(max-width:900px){.compact-charts{grid-template-columns:1fr;}}

  /* ===== Selects: a lista de opcoes abre EMBAIXO do campo =====
     O <select> nativo do Mac abre a lista por cima do campo (nao da pra mudar com CSS comum).
     `appearance: base-select` (Chrome 135+) deixa a lista estilizavel e posicionada abaixo do
     campo; se nao houver espaco embaixo, o proprio navegador abre pra cima. Navegador antigo
     ignora este bloco e segue com o select normal. */
  @supports (appearance: base-select){
    select, select::picker(select){appearance:base-select;}
    select{cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    select::picker-icon{color:var(--muted); transition:rotate .15s;}
    select:open::picker-icon{rotate:180deg;}
    select::picker(select){
      position-area:block-end span-inline-end;   /* sempre embaixo do campo */
      /* ordem de tentativa: embaixo e alinhada a esquerda do campo -> embaixo e alinhada a direita (campo na borda direita da tela)
         -> so entao pra cima (campo colado no rodape), pra lista nunca ficar cortada */
      position-try-fallbacks:flip-inline, flip-block, flip-block flip-inline;
      margin-block:6px;               /* respiro entre o campo e a lista */
      padding:6px; border:1px solid #3a3a3a; border-radius:10px;
      background:#1a1a1a; color:#e5e7eb;
      box-shadow:0 12px 30px rgba(0,0,0,.55);
      max-block-size:260px; overflow-y:auto; font-weight:400; text-transform:none; letter-spacing:normal;
      inline-size:max-content; min-inline-size:anchor-size(width); max-inline-size:min(520px, 92vw);   /* acompanha o campo, mas cresce pra caber nomes longos */
    }
    select option{padding:9px 12px; border-radius:6px; font-size:13.5px; color:#e5e7eb; cursor:pointer;}
    select option:hover, select option:focus-visible{background:#2a2a2a; color:#fff;}
    select option:checked{background:rgba(220,38,38,.18); color:#fff;}
    select option::checkmark{color:var(--red);}
  }

  /* ===== Campos de data: calendario escuro, e o campo inteiro e' clicavel (ver app.js) ===== */
  input[type="date"]{color-scheme:dark; cursor:pointer;}
