/* DOMINUSYS Campo 0.20.66 — UX mobile: Timeline + horário */
body.dom-action-sheet-open,body.dom-time-sheet-open{overflow:hidden!important}
.dom-action-backdrop,.dom-time-backdrop{position:fixed;inset:0;background:rgba(12,28,40,.48);backdrop-filter:blur(2px);opacity:0;transition:opacity .18s ease;z-index:238}
.dom-action-backdrop.open,.dom-time-backdrop.open{opacity:1}
.dom-action-sheet,.dom-time-sheet{position:fixed;left:0;right:0;bottom:0;z-index:240;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -18px 48px rgba(10,35,52,.2);padding:8px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .2s ease;max-height:min(72dvh,640px);overflow:auto;color:#15273a}
.dom-action-sheet.open,.dom-time-sheet.open{transform:translateY(0)}
.dom-sheet-handle{width:44px;height:5px;border-radius:999px;background:#d5dde4;margin:3px auto 12px}
.dom-sheet-x{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:13px;background:#eef3f5;color:#405666;font-size:25px;line-height:1;cursor:pointer;flex:0 0 auto}
.dom-action-head,.dom-time-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:2px 0 14px;border-bottom:1px solid #e3e9ee}
.dom-action-head>div,.dom-time-head>div{display:grid;gap:4px;min-width:0}
.dom-action-head strong,.dom-time-head strong{font-size:20px;line-height:1.2}
.dom-action-head small,.dom-time-head small{color:#6a7b8b;line-height:1.35;white-space:normal}
.dom-action-list{display:grid;gap:8px;padding:14px 0 10px}
.dom-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 14px;border:1px solid #e0e7ec;border-radius:15px;background:#fff;color:#193246;text-decoration:none}
.dom-action-row:active{transform:scale(.995);background:#f5f9fb}
.dom-action-row-main{display:grid;gap:3px}.dom-action-row-main b{font-size:16px}.dom-action-row-main small{font-size:12px;color:#718090;line-height:1.35}
.dom-action-correct{border-color:#c6deeb;background:#f5fbfe}.dom-action-correct b{color:#15658e}
.dom-action-danger{border-color:#f1caca;background:#fff8f8}.dom-action-danger b{color:#a12626}
.dom-action-chevron{font-size:28px;color:#82919d;font-weight:400}
.dom-action-cancel{width:100%;min-height:50px;border:0;border-radius:14px;background:#edf2f5;color:#263e50;font-weight:850;font-size:15px;cursor:pointer}
.dom-action-empty{padding:16px;text-align:center;color:#718090}

/* O input continua no form para submissão, mas o picker nativo não recebe toque. */
.dom-time-native-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;border:0!important}
.dom-time-proxy{width:100%;min-height:58px;display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid #cbd7df;border-radius:13px;background:#fff;color:#193246;text-align:left;cursor:pointer}
.dom-time-proxy:focus{outline:none;border-color:#36a6d1;box-shadow:0 0 0 3px rgba(39,151,194,.13)}
.dom-time-proxy-clock{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#edf6fb;color:#18749e;font-size:23px;flex:0 0 auto}
.dom-time-proxy-text{display:grid;gap:2px;min-width:0;flex:1}.dom-time-proxy-text b{font-size:17px}.dom-time-proxy-text small{font-size:11px;color:#758493;white-space:normal}
.dom-time-proxy:not(.has-value) .dom-time-proxy-text b{color:#778590;font-weight:650}
.dom-time-proxy-chevron{font-size:26px;color:#85939e}
.dom-time-dial{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:20px 4px 14px}
.dom-time-unit{display:grid;grid-template-rows:auto auto auto auto;justify-items:center;gap:8px}
.dom-time-unit>button{width:58px;height:42px;border:0;border-radius:13px;background:#edf4f8;color:#1c658b;font-size:27px;font-weight:750;line-height:1;cursor:pointer}
.dom-time-unit>strong{display:grid;place-items:center;width:min(31vw,128px);height:82px;border:1px solid #d7e1e7;border-radius:18px;background:#f8fafb;font-size:46px;font-variant-numeric:tabular-nums;color:#142b3d}
.dom-time-unit>small{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#798895;font-weight:800}
.dom-time-colon{font-size:44px;font-weight:800;color:#546978;margin-top:-18px}
.dom-time-sheet.is-empty .dom-time-unit>strong{color:#9aa7b0}
.dom-time-quick{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:4px 0 16px}
.dom-time-quick button{min-height:44px;border:1px solid #d5e0e7;border-radius:13px;background:#f5f8fa;color:#28495e;font-weight:800;cursor:pointer}
.dom-time-quick button:first-child{background:#eef8fc;border-color:#c6e1ec;color:#176b91}
.dom-time-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;padding-top:13px;border-top:1px solid #e3e9ee}.dom-time-actions .btn{min-height:50px}

@media(max-width:980px){
  /* O menu nativo de details não deve competir com o bottom sheet novo. */
  .timeline details.action-menu[open]>.action-menu-panel{display:none!important}
  .dom-action-sheet,.dom-time-sheet{padding-left:16px;padding-right:16px;padding-bottom:calc(20px + env(safe-area-inset-bottom));max-height:78dvh}
}
@media(min-width:981px){
  .dom-action-backdrop,.dom-action-sheet,.dom-time-backdrop,.dom-time-sheet{display:none!important}
  .dom-time-native-input{position:static!important;width:100%!important;height:auto!important;opacity:1!important;pointer-events:auto!important;margin:initial!important;padding:11px 12px!important;border:1px solid #cbd5e1!important}
  .dom-time-proxy{display:none!important}
}
