/* Inline policy inside the existing Time Clock panel; no separate modal. */
.rm-temporary-break-policy{
  --temporary-break-bg:#fff;--temporary-break-ink:#17233b;--temporary-break-muted:#52647d;
  --temporary-break-line:#dce7f4;--temporary-break-blue:#0965d8;--temporary-break-soft:#edf5ff;--temporary-break-row:#f8fbff;
  display:block;width:100%;min-width:0;margin:0 0 18px;padding:0;color:var(--temporary-break-ink);font-family:inherit;line-height:1.5;overflow-wrap:anywhere;
}
.rm-temporary-break-policy *{box-sizing:border-box}
.rm-temporary-break-policy .rm-temporary-break-title{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:15px;font-weight:700;color:var(--temporary-break-ink)}
.rm-temporary-break-policy .rm-temporary-break-title>span,.rm-temporary-break-policy .rm-temporary-break-note>span{display:inline-flex;width:18px;height:18px;flex:0 0 18px;color:var(--temporary-break-blue)}
.rm-temporary-break-policy svg{width:100%;height:100%}
html body .rm-temporary-break-policy table{display:table;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;border-collapse:collapse;border-spacing:0;table-layout:fixed;text-align:left;font-family:inherit;font-size:13px;line-height:1.5;background:var(--temporary-break-bg);color:var(--temporary-break-ink)}
html body .rm-temporary-break-policy :is(th,td){display:table-cell;min-width:0;padding:8px 11px!important;border:0;border-bottom:1px solid var(--temporary-break-line)!important;white-space:normal!important;text-align:left!important;vertical-align:middle;background:var(--temporary-break-bg);color:var(--temporary-break-ink)}
html body .rm-temporary-break-policy th{background:var(--temporary-break-soft)!important;color:var(--temporary-break-muted)!important;font-size:11px;font-weight:700;letter-spacing:.045em;text-transform:uppercase}
html body .rm-temporary-break-policy :is(th,td):last-child{text-align:right!important;width:35%;font-variant-numeric:tabular-nums}
html body .rm-temporary-break-policy td:last-child{font-weight:700;color:var(--temporary-break-blue)!important}
html body .rm-temporary-break-policy tr:nth-child(even) td{background:var(--temporary-break-row)}
.rm-temporary-break-policy .rm-temporary-break-note{display:flex;align-items:flex-start;gap:9px;margin:14px 0 10px;padding:12px;border-radius:10px;background:var(--temporary-break-soft);color:var(--temporary-break-ink)}
.rm-temporary-break-policy .rm-temporary-break-note>span{margin-top:2px;width:16px;height:16px;flex-basis:16px}
.rm-temporary-break-policy .rm-temporary-break-note p{margin:0;font-size:12px;line-height:1.65;color:inherit}
.rm-temporary-break-policy .rm-temporary-break-note strong{display:block;margin:0 0 3px;font-size:13px;font-weight:700;color:inherit}
.rm-temporary-break-policy .rm-temporary-break-start-note{margin:0;font-size:12px;line-height:1.6;color:var(--temporary-break-muted)}
html[data-theme="dark"] .rm-temporary-break-policy,html[data-visual-theme="dark"] .rm-temporary-break-policy{
  --temporary-break-bg:#102139;--temporary-break-ink:#eef5ff;--temporary-break-muted:#b2c5df;
  --temporary-break-line:#2c4564;--temporary-break-blue:#66b3ff;--temporary-break-soft:#173656;--temporary-break-row:#132942;
}
@media(max-width:430px){
  html body .rm-temporary-break-policy :is(th,td){padding:7px 9px!important}
  .rm-temporary-break-policy .rm-temporary-break-title{font-size:14px}
  .rm-temporary-break-policy .rm-temporary-break-note{padding:10px}
}
/* The existing desktop clock styles start at 960px. Keep only the temporary
   policy panel usable below that breakpoint without changing the regular clock. */
@media(max-width:959px){
  #rmTimeClockActiveOverlay.is-temporary-break-policy{position:fixed!important;inset:0!important;z-index:1002!important;display:grid!important;place-items:center!important;padding:12px!important;overflow:auto!important;background:rgba(2,9,22,.78)!important;backdrop-filter:blur(8px)}
  #rmTimeClockActiveOverlay.is-temporary-break-policy.hide{display:none!important}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-card{position:relative!important;width:100%!important;max-width:600px!important;min-width:0!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;overscroll-behavior:contain;padding:54px 14px 18px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--bg-card)!important;color:var(--text)!important;box-sizing:border-box!important}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-close{position:absolute!important;top:6px!important;right:6px!important;z-index:2!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important;background:var(--bg-soft)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:10px!important}
  #rmTimeClockActiveOverlay.is-temporary-break-policy svg{width:18px;height:18px;flex:0 0 18px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-head{display:flex!important;align-items:center;gap:10px;margin:0 0 16px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-avatar{display:none}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-head :is(h2,p){margin:0;overflow-wrap:anywhere}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-head h2{font-size:20px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-head p{margin-top:4px;color:var(--muted);font-size:13px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-grid,#rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-grid>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;min-width:0!important}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-panel{min-width:0!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--bg-card-2)!important;color:var(--text)!important;overflow-wrap:anywhere}
  #rmTimeClockActiveOverlay.is-temporary-break-policy :is(.rm-time-clock-active-label,.rm-time-clock-active-clocked,.rm-time-clock-break-usage-row){display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;font-size:13px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-shift-main{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font-size:17px;font-weight:700}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-clocked :is(small,strong){display:inline;margin-right:8px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-break-usage-value{margin-left:auto}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-break-title{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;font-size:16px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-break-type-options{display:flex;flex-wrap:wrap;gap:6px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-break-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:12px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy :is(.rm-time-clock-break-type-option,.rm-time-clock-break-option){min-height:44px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:8px;background:var(--bg-soft);color:var(--text);font:inherit}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-break-option small{display:block;font-size:11px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy :is(.rm-time-clock-break-type-option,.rm-time-clock-break-option).active{background:var(--accent-soft);border-color:var(--accent)}
  #rmTimeClockActiveOverlay.is-temporary-break-policy :is(.rm-time-clock-break-action,.rm-time-clock-out-action){display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--accent);color:#fff;font:inherit}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-out-action{background:var(--bg-soft);color:var(--text)}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-active-note{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:12px;line-height:1.5;color:var(--muted)}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-activity-title{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-activity-item{display:flex;align-items:flex-start;gap:9px;margin:0 0 10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-activity-copy{display:grid;gap:3px;min-width:0}
  #rmTimeClockActiveOverlay.is-temporary-break-policy .rm-time-clock-activity-day{display:grid;gap:3px;margin-left:auto;text-align:right;white-space:nowrap}
  #rmTimeClockActiveOverlay.is-temporary-break-policy button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
}
