/* THRS V15.01 — Approved Global Holidays Center visual finish.
   Scope: Work Schedules > Holidays > Global Holidays.
   Cosmetic only. No changes to Nager.Date, monthly sync, HR reviews, or company holidays.
   Loaded after V15.00 and independent of the application JavaScript bundle. */

/* Design tokens: white porcelain, executive navy, amber-gold, low-noise borders. */
html[data-theme="light"] .work-schedules-pro .ws-global-center {
  --v1501-paper:#fff;
  --v1501-surface:#f8faff;
  --v1501-mist:#eff4fb;
  --v1501-ink:#102d4b;
  --v1501-muted:#607b97;
  --v1501-stroke:#d6e2f0;
  --v1501-gold:#e0a13a;
  --v1501-card-shadow:0 4px 12px rgba(12,45,76,.05),0 12px 26px rgba(15,43,74,.07);
}
html[data-theme="dark"] .work-schedules-pro .ws-global-center {
  --v1501-paper:#142f4a;
  --v1501-surface:#193a56;
  --v1501-mist:#24455e;
  --v1501-ink:#eff7ff;
  --v1501-muted:#c0d3e4;
  --v1501-stroke:#3b5975;
  --v1501-gold:#f3c574;
  --v1501-card-shadow:0 7px 16px rgba(0,9,24,.20),0 17px 30px rgba(0,9,24,.16);
}

html[data-theme] .work-schedules-pro .ws-global-center {
  width:100%;
  min-width:0;
  gap:13px;
  color:var(--v1501-ink);
  font-feature-settings:"tnum" 1;
}

/* Two navigation surfaces use the same geometry as the approved preview. */
html[data-theme] .work-schedules-pro .ws-holidays-view-tabs {
  gap:9px;
  padding:5px;
  border-radius:16px;
  border:1px solid var(--ws40-line,#d9e3ef);
  background:linear-gradient(145deg,var(--ws40-paper,#fff),var(--ws40-frost,#f6f9fd));
  box-shadow:0 4px 15px rgba(16,48,82,.07);
}
html[data-theme] .work-schedules-pro .ws-holidays-view-tabs>button {
  min-width:0;
  min-height:61px;
  padding:10px 16px;
  border-radius:13px;
  gap:5px;
  border:1px solid var(--ws40-line,#dce5f2);
  background:linear-gradient(145deg,var(--ws40-paper,#fff),var(--ws40-frost,#f4f8fd));
  box-shadow:0 3px 10px rgba(12,39,71,.045);
  font-size:13.1px;
  font-weight:900;
}
html[data-theme] .work-schedules-pro .ws-holidays-view-tabs>button.active {
  border:1px solid #edb650!important;
  background:linear-gradient(120deg,#103c59,#051f37)!important;
  box-shadow:0 5px 11px rgba(5,33,59,.18),0 3px 0 rgba(239,176,65,.26)!important;
}
html[data-theme] .work-schedules-pro .ws-holidays-view-tabs>button small {
  line-height:1.32;
}

/* Premium hero, deliberate hierarchy and exactly four compact stat tiles. */
html[data-theme] .work-schedules-pro .ws-global-hero {
  grid-template-columns:minmax(0,1.12fr) minmax(410px,1.02fr);
  gap:18px;
  min-height:184px;
  padding:22px 23px;
  border-radius:18px;
  border:1px solid rgba(238,194,117,.58);
  background:
    radial-gradient(ellipse at 48% 130%,rgba(216,155,61,.16),transparent 58%),
    radial-gradient(ellipse at 98% -64%,rgba(240,177,80,.12),transparent 38%),
    linear-gradient(114deg,#061d36 0%,#0e354f 50%,#041c34 100%);
  box-shadow:0 12px 29px rgba(5,30,56,.19),inset 0 1px 0 rgba(255,255,255,.13);
}
html[data-theme] .work-schedules-pro .ws-global-hero::after {
  width:630px;
  height:270px;
  bottom:-182px;
  inset-inline-start:14%;
  opacity:.64;
  background:repeating-radial-gradient(ellipse at 50% 43%,transparent 0 12px,rgba(245,177,77,.36) 13px 13.7px,transparent 14px 21px);
}
html[data-theme] .work-schedules-pro .ws-global-hero-info {
  min-width:0;
  position:relative;
  z-index:2;
}
html[data-theme] .work-schedules-pro .ws-global-eyebrow {
  gap:7px;
  min-height:27px;
  padding:6px 10px;
  margin-bottom:10px;
  border:1px solid #d4a34a;
  border-radius:999px;
  background:rgba(6,28,48,.64);
  color:#ffc967;
  font-weight:880;
  letter-spacing:.025em;
  font-size:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme] .work-schedules-pro .ws-global-eyebrow svg{
  flex:0 0 15px;
  width:15px;
  height:15px;
  color:#f6bc57;
}
html[data-theme] .work-schedules-pro .ws-global-hero h2 {
  margin:0 0 9px;
  font-size:clamp(24px,2.05vw,32px);
  color:#fff;
  font-weight:950;
  line-height:1.18;
  letter-spacing:-.04em;
}
html[data-theme] .work-schedules-pro .ws-global-hero p {
  max-width:555px;
  margin:0 0 12px;
  color:#e4edf6;
  font-size:12.15px;
  line-height:1.68;
  font-weight:580;
}
html[data-theme] .work-schedules-pro .ws-global-hero-safe {
  font-size:10.15px;
  font-weight:740;
  line-height:1.4;
  color:#ffe0ad;
}
html[data-theme] .work-schedules-pro .ws-global-hero-safe svg {flex:0 0 15px;}
html[data-theme] .work-schedules-pro .ws-global-stats {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  position:relative;
  z-index:2;
}
html[data-theme] .work-schedules-pro .ws-global-stats>div {
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:100px;
  padding:12px 10px;
  border-radius:13px;
  border:1px solid rgba(245,197,119,.63);
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06));
  box-shadow:0 5px 13px rgba(0,14,29,.18),inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-theme] .work-schedules-pro .ws-global-stats svg {
  width:21px;
  height:21px;
  color:#ffd074;
}
html[data-theme] .work-schedules-pro .ws-global-stats strong {
  font-size:27px;
  font-weight:950;
  letter-spacing:-.035em;
  color:#fff;
  line-height:1.08;
}
html[data-theme] .work-schedules-pro .ws-global-stats span {
  color:#e9f2fc;
  font-size:10.2px;
  font-weight:745;
  line-height:1.34;
  overflow-wrap:anywhere;
}

/* The monthly-only sync bar. Gold is reserved for the action, teal for status. */
html[data-theme] .work-schedules-pro .ws-global-syncbar {
  gap:12px;
  min-height:66px;
  padding:10px 15px;
  border:1px solid var(--v1501-stroke);
  border-radius:15px;
  background:linear-gradient(150deg,var(--v1501-paper),var(--v1501-surface));
  box-shadow:var(--v1501-card-shadow);
}
html[data-theme] .work-schedules-pro .ws-global-sync-head {gap:12px;min-width:0;}
html[data-theme] .work-schedules-pro .ws-global-sync-icon {
  flex:0 0 43px;
  width:43px;
  height:43px;
  border-radius:13px;
  border:1px solid #f2d6a4;
  background:linear-gradient(140deg,#fffdf6,#ffeed3);
  color:#d58b1e;
  box-shadow:0 3px 10px rgba(153,103,31,.09);
}
html[data-theme] .work-schedules-pro .ws-global-sync-head strong {
  color:var(--v1501-ink);
  font-size:13.3px;
  font-weight:920;
}
html[data-theme] .work-schedules-pro .ws-global-sync-head span {
  color:var(--v1501-muted);
  font-size:10.5px;
  line-height:1.4;
}
html[data-theme] .work-schedules-pro .ws-global-sync-state {
  min-height:33px;
  padding:7px 11px;
  border:1px solid #9ddfc9;
  background:linear-gradient(150deg,#f0fef9,#d9f6eb);
  color:#1d7464;
  font-size:10.8px;
  font-weight:870;
  white-space:nowrap;
  box-shadow:0 3px 9px rgba(9,86,65,.08);
}
html[data-theme] .work-schedules-pro .ws-global-sync-state svg{color:#1d8f7c;}
html[data-theme] .work-schedules-pro .ws-global-sync-button {
  min-height:39px;
  height:39px;
  padding:8px 16px;
  border-radius:10px;
  border:1px solid #e1ab4d;
  background:linear-gradient(125deg,#bd7e24,#e0ad4f);
  color:#fff;
  text-shadow:0 1px 1px rgba(65,33,0,.15);
  font-size:11.8px;
  font-weight:890;
  box-shadow:0 5px 12px rgba(159,109,30,.18),inset 0 1px 0 rgba(255,255,255,.21);
}
html[data-theme] .work-schedules-pro .ws-global-sync-button:hover:not(:disabled) {
  background:linear-gradient(125deg,#c98b31,#e8bd6b);
  border-color:#f2cd86;
}
html[data-theme] .work-schedules-pro .ws-global-sync-button:disabled {
  filter:saturate(.7);
  opacity:.63;
}

/* Country/year/provider status strip, crisp separators and precise labels. */
html[data-theme] .work-schedules-pro .ws-global-controls {
  grid-template-columns:minmax(190px,1.58fr) minmax(105px,.72fr) minmax(145px,.92fr) minmax(170px,1.01fr) minmax(126px,.69fr);
  gap:11px;
  padding:12px 15px;
  min-height:76px;
  border:1px solid var(--v1501-stroke);
  border-radius:14px;
  background:linear-gradient(130deg,var(--v1501-paper),var(--v1501-surface));
  box-shadow:0 4px 13px rgba(10,41,72,.047);
}
html[data-theme] .work-schedules-pro .ws-global-controls>label:not(.ws-global-country-switch),
html[data-theme] .work-schedules-pro .ws-global-selected {gap:6px;}
html[data-theme] .work-schedules-pro .ws-global-controls span {
  font-size:10.8px;
  color:var(--v1501-muted);
  font-weight:830;
}
html[data-theme] .work-schedules-pro .ws-global-controls label span svg{
  width:16px;
  height:16px;
  color:#dba040;
}
html[data-theme] .work-schedules-pro .ws-global-controls select,
html[data-theme] .work-schedules-pro .ws-global-selected strong {
  height:39px;
  min-height:39px;
  min-width:0;
  padding:7px 10px;
  border-radius:10px;
  border:1px solid var(--v1501-stroke);
  background:var(--v1501-paper);
  color:var(--v1501-ink);
  font-size:11.5px;
  font-weight:820;
  box-shadow:0 3px 9px rgba(17,48,76,.055);
}
html[data-theme] .work-schedules-pro .ws-global-selected strong {font-size:10.7px;}
html[data-theme] .work-schedules-pro .ws-global-selected strong.ws-global-good {
  color:#207d62;
  background:linear-gradient(145deg,#f4fff9,#e4f8ef);
  border-color:#c5e6d5;
}
html[data-theme="dark"] .work-schedules-pro .ws-global-selected strong.ws-global-good {
  color:#84e7c2;
  background:#193c46;
  border-color:#3a786a;
}
html[data-theme] .work-schedules-pro .ws-global-country-switch {
  display:flex;
  align-items:center;
  min-width:0;
  gap:8px;
  max-width:none;
  font-size:10.4px;
  font-weight:770;
  color:var(--v1501-ink);
  line-height:1.35;
}
html[data-theme] .work-schedules-pro .ws-global-country-switch input{
  width:17px;
  height:17px;
  accent-color:#d89a2f;
}
html[data-theme] .work-schedules-pro .ws-global-controls :is(select,input):focus-visible,
html[data-theme] .work-schedules-pro .ws-global-center button:focus-visible {
  outline:2px solid var(--v1501-gold);
  outline-offset:2px;
}

/* Public holidays panel and refined table header. */
html[data-theme] .work-schedules-pro .ws-global-content {
  border-radius:16px;
  border:1px solid var(--v1501-stroke);
  background:var(--v1501-paper);
  box-shadow:var(--v1501-card-shadow);
  overflow:hidden;
}
html[data-theme] .work-schedules-pro .ws-global-list-head {
  padding:13px 16px;
  min-height:69px;
  gap:14px;
  background:linear-gradient(150deg,var(--v1501-paper),var(--v1501-surface));
  border-bottom:1px solid var(--v1501-stroke);
}
html[data-theme] .work-schedules-pro .ws-global-list-head h3{
  gap:10px;
  font-size:15.2px;
  font-weight:930;
  line-height:1.35;
  color:var(--v1501-ink);
}
html[data-theme] .work-schedules-pro .ws-global-list-head h3 svg{
  width:23px;
  height:23px;
  color:#db9d33;
  flex:0 0 23px;
}
html[data-theme] .work-schedules-pro .ws-global-list-head small{
  margin-top:4px;
  font-size:10.8px;
  color:var(--v1501-muted);
  line-height:1.35;
  font-weight:680;
}
html[data-theme] .work-schedules-pro .ws-global-filters {gap:9px;}
html[data-theme] .work-schedules-pro .ws-global-filters label {
  min-width:198px;
  height:37px;
  gap:8px;
  padding:0 10px;
  border-radius:11px;
  border:1px solid var(--v1501-stroke);
  background:var(--v1501-paper);
  box-shadow:0 3px 9px rgba(16,46,77,.065);
  color:#d89b31;
}
html[data-theme] .work-schedules-pro .ws-global-filters label svg{
  flex:0 0 17px;
}
html[data-theme] .work-schedules-pro .ws-global-filters input {
  min-width:0;
  height:35px;
  font-size:11.4px;
  font-weight:650;
  color:var(--v1501-ink);
}
html[data-theme] .work-schedules-pro .ws-global-filters input::placeholder {color:var(--v1501-muted);}
html[data-theme] .work-schedules-pro .ws-global-filters select {
  min-height:37px;
  height:37px;
  border-radius:10px;
  border:1px solid var(--v1501-stroke);
  background:var(--v1501-paper);
  color:var(--v1501-ink);
  font-weight:780;
  box-shadow:0 3px 9px rgba(16,46,77,.05);
}
html[data-theme] .work-schedules-pro .ws-global-table-scroll {
  width:100%;
  padding:0 9px;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--v1501-gold) transparent;
}
html[data-theme] .work-schedules-pro .ws-global-table {
  min-width:730px;
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  color:var(--v1501-ink);
  font-size:11.2px;
}
html[data-theme] .work-schedules-pro .ws-global-table th {
  min-height:40px;
  height:40px;
  padding:10px 13px;
  background:linear-gradient(140deg,#123b59,#07273f);
  border:0;
  color:#f7faff;
  font-size:11px;
  font-weight:930;
  line-height:1.25;
  letter-spacing:.012em;
  text-transform:uppercase;
}
html[data-theme] .work-schedules-pro .ws-global-table thead th:first-child {border-radius:9px 0 0 9px;}
html[data-theme] .work-schedules-pro .ws-global-table thead th:last-child {border-radius:0 9px 9px 0;}
html[data-theme] .work-schedules-pro .ws-global-table :is(th,td):nth-child(1) {width:16%;}
html[data-theme] .work-schedules-pro .ws-global-table :is(th,td):nth-child(2) {width:37%;}
html[data-theme] .work-schedules-pro .ws-global-table :is(th,td):nth-child(3) {width:14%;}
html[data-theme] .work-schedules-pro .ws-global-table :is(th,td):nth-child(4) {width:19%;}
html[data-theme] .work-schedules-pro .ws-global-table :is(th,td):nth-child(5) {width:14%;}
html[data-theme] .work-schedules-pro .ws-global-table td{
  padding:7px 13px;
  height:45px;
  min-height:45px;
  color:var(--v1501-ink);
  background:var(--v1501-paper);
  border-bottom:1px solid color-mix(in srgb,var(--v1501-stroke) 65%,transparent);
  vertical-align:middle;
}
html[data-theme] .work-schedules-pro .ws-global-table tbody tr:nth-child(even) td{
  background:var(--v1501-surface);
}
html[data-theme] .work-schedules-pro .ws-global-table tbody tr:hover td{
  background:color-mix(in srgb,var(--v1501-gold) 7%,var(--v1501-paper));
}
html[data-theme] .work-schedules-pro .ws-global-date {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:5px 9px;
  border:1px solid var(--v1501-stroke);
  border-radius:999px;
  color:var(--v1501-ink);
  background:linear-gradient(140deg,var(--v1501-paper),var(--v1501-mist));
  box-shadow:0 2px 6px rgba(10,36,66,.06);
  font-size:10.5px;
  font-weight:910;
  direction:ltr;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
html[data-theme] .work-schedules-pro .ws-global-date svg{
  color:#d99527;
  flex:0 0 15px;
}
html[data-theme] .work-schedules-pro .ws-global-event{
  min-width:0;
  gap:3px;
}
html[data-theme] .work-schedules-pro .ws-global-event strong{
  font-size:11.7px;
  font-weight:930;
  color:var(--v1501-ink);
  line-height:1.35;
  overflow-wrap:anywhere;
}
html[data-theme] .work-schedules-pro .ws-global-event small{
  font-size:10.1px;
  font-weight:650;
  line-height:1.3;
  color:var(--v1501-muted);
  overflow-wrap:anywhere;
}
html[data-theme] .work-schedules-pro .ws-global-coverage {
  display:inline-flex;
  align-items:center;
  min-height:26px;
  max-width:100%;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid var(--v1501-stroke);
  background:linear-gradient(145deg,var(--v1501-paper),var(--v1501-mist));
  color:var(--v1501-muted);
  box-shadow:0 2px 5px rgba(13,44,74,.043);
  font-size:10.2px;
  font-weight:770;
}
html[data-theme] .work-schedules-pro .ws-global-status {
  align-items:center;
  gap:5px;
  padding:6px 10px;
  min-height:28px;
  font-size:10.25px;
  font-weight:860;
  border-radius:999px;
  box-shadow:0 2px 6px rgba(15,43,74,.05);
}
html[data-theme] .work-schedules-pro .ws-global-status::before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:currentColor;
  opacity:.78;
}
html[data-theme] .work-schedules-pro .ws-global-status.status-pending_review {
  color:#8c5717;
  border:1px solid #f1ce8d;
  background:linear-gradient(145deg,#fff8ec,#ffe8c6);
}
html[data-theme] .work-schedules-pro .ws-global-status.status-approved {
  color:#20794d;
  border:1px solid #afe0c2;
  background:linear-gradient(145deg,#f5fff8,#dff6e6);
}
html[data-theme] .work-schedules-pro .ws-global-status.status-rejected {
  color:#a23b38;
  border:1px solid #f0c0ba;
  background:linear-gradient(145deg,#fff6f3,#f8e0dc);
}
html[data-theme="dark"] .work-schedules-pro .ws-global-status {
  background:var(--v1501-mist)!important;
  border-color:var(--v1501-stroke)!important;
  color:var(--v1501-ink)!important;
}
html[data-theme] .work-schedules-pro .ws-global-row-actions {
  justify-content:flex-start;
  gap:6px;
}
html[data-theme] .work-schedules-pro .ws-global-row-actions button {
  gap:7px;
  min-height:31px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--v1501-stroke) 65%,#9fb8d0);
  background:linear-gradient(145deg,var(--v1501-paper),var(--v1501-surface));
  color:var(--v1501-ink);
  box-shadow:0 3px 9px rgba(11,44,73,.075);
  font-size:10.3px;
  font-weight:910;
  white-space:nowrap;
}
html[data-theme] .work-schedules-pro .ws-global-row-actions button svg {
  width:15px;height:15px;flex:0 0 15px;color:#133e60;
}
html[data-theme="dark"] .work-schedules-pro .ws-global-row-actions button svg {color:#e9c074;}
html[data-theme] .work-schedules-pro .ws-global-row-actions button:hover:not(:disabled) {
  border-color:var(--v1501-gold);
  box-shadow:0 5px 12px rgba(16,48,79,.14);
}
html[data-theme] .work-schedules-pro .ws-global-row-actions button:disabled {opacity:.45;cursor:default;}

/* Pagination: a gold-trim current page button, other controls remain neutral. */
html[data-theme] .work-schedules-pro .ws-global-footer {
  min-height:52px;
  padding:9px 16px;
  background:linear-gradient(130deg,var(--v1501-paper),var(--v1501-surface));
  border-top:1px solid var(--v1501-stroke);
  color:var(--v1501-ink);
  font-size:11px;
  font-weight:800;
}
html[data-theme] .work-schedules-pro .ws-global-footer>div {gap:8px;}
html[data-theme] .work-schedules-pro .ws-global-footer button {
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid var(--v1501-stroke);
  background:var(--v1501-paper);
  box-shadow:0 3px 7px rgba(10,39,66,.055);
}
html[data-theme] .work-schedules-pro .ws-global-footer strong {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:32px;
  padding:5px 13px;
  border-radius:10px;
  border:1px solid #d9a044;
  background:linear-gradient(125deg,#123c5a,#07283f);
  box-shadow:0 3px 10px rgba(8,34,62,.15);
  color:#fff;
  font-weight:950;
  white-space:nowrap;
  font-size:11.5px;
  font-variant-numeric:tabular-nums;
}
/* Operational notice stays visually separate and fully readable. */
html[data-theme] .work-schedules-pro .ws-global-disclaimer{
  min-height:52px;
  padding:12px 15px;
  border-radius:12px;
  border:1px solid var(--v1501-stroke);
  background:linear-gradient(145deg,var(--v1501-paper),var(--v1501-surface));
  box-shadow:0 3px 10px rgba(11,41,72,.046);
  color:var(--v1501-muted);
}
html[data-theme] .work-schedules-pro .ws-global-disclaimer svg {color:#d89a2b;}
html[data-theme] .work-schedules-pro .ws-global-disclaimer p {
  font-size:10.4px;
  line-height:1.6;
  font-weight:660;
  overflow-wrap:anywhere;
}
html[data-theme] .work-schedules-pro .ws-global-disclaimer strong {color:var(--v1501-ink);}

/* Responsive widths only change presentation. Never hide dates or actions. */
@media(max-width:1380px){
  html[data-theme] .work-schedules-pro .ws-global-hero {
    grid-template-columns:minmax(0,1fr) minmax(360px,.96fr);
    padding:20px;
  }
  html[data-theme] .work-schedules-pro .ws-global-stats {gap:7px;}
  html[data-theme] .work-schedules-pro .ws-global-stats>div {padding:11px 8px;}
  html[data-theme] .work-schedules-pro .ws-global-controls {
    grid-template-columns:minmax(140px,1.35fr) minmax(90px,.63fr) minmax(125px,.8fr) minmax(155px,.9fr) minmax(98px,.7fr);
    gap:8px;
  }
}
@media(max-width:1200px) {
  html[data-theme] .work-schedules-pro .ws-global-hero {grid-template-columns:minmax(0,1fr);}
  html[data-theme] .work-schedules-pro .ws-global-stats {grid-template-columns:repeat(4,minmax(0,1fr));}
  html[data-theme] .work-schedules-pro .ws-global-controls {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:800px){
  html[data-theme] .work-schedules-pro .ws-global-hero {padding:18px;}
  html[data-theme] .work-schedules-pro .ws-global-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  html[data-theme] .work-schedules-pro .ws-global-list-head {padding:12px;}
  html[data-theme] .work-schedules-pro .ws-global-filters {
    width:100%;
    justify-content:flex-start;
  }
  html[data-theme] .work-schedules-pro .ws-global-filters label {min-width:0;flex:1;}
  html[data-theme] .work-schedules-pro .ws-global-table-scroll {padding:0 7px;}
  html[data-theme] .work-schedules-pro .ws-global-table {min-width:740px;}
}
@media(max-width:600px){
  html[data-theme] .work-schedules-pro .ws-global-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  html[data-theme] .work-schedules-pro .ws-global-hero h2 {font-size:25px;}
  html[data-theme] .work-schedules-pro .ws-global-hero-safe {flex-wrap:wrap;}
  html[data-theme] .work-schedules-pro .ws-global-syncbar {padding:12px;gap:10px;}
  html[data-theme] .work-schedules-pro .ws-global-sync-head {min-width:0;width:100%;}
  html[data-theme] .work-schedules-pro .ws-global-sync-state {flex:1;justify-content:center;}
  html[data-theme] .work-schedules-pro .ws-global-sync-button {flex:1;min-width:0;width:auto;}
  html[data-theme] .work-schedules-pro .ws-global-controls {grid-template-columns:repeat(2,minmax(0,1fr));}
  html[data-theme] .work-schedules-pro .ws-global-country-switch {max-width:none;grid-column:1/-1;}
  html[data-theme] .work-schedules-pro .ws-global-content .ws-global-list-head h3 {font-size:14px;}
  html[data-theme] .work-schedules-pro .ws-global-filters select {max-width:100%;min-width:0;}
}
@media(max-width:390px){
  html[data-theme] .work-schedules-pro .ws-global-controls {grid-template-columns:1fr;}
  html[data-theme] .work-schedules-pro .ws-global-stats>div {min-height:88px;}
  html[data-theme] .work-schedules-pro .ws-global-list-head {padding:11px;}
  html[data-theme] .work-schedules-pro .ws-global-footer {flex-wrap:wrap;gap:8px;}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme] .work-schedules-pro .ws-global-center *{transition:none!important;animation:none!important;}
}

/* The existing theme declares an !important table-header fill.
   Explicitly retain the approved deep-navy header in both themes. */
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-table thead th {
  background:linear-gradient(140deg,#123b59,#07273f)!important;
  background-color:#103650!important;
  color:#f7faff!important;
  border:0!important;
  border-bottom:1px solid rgba(240,195,119,.22)!important;
}
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-table thead th:first-child {
  border-start-start-radius:9px!important;
  border-end-start-radius:9px!important;
}
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-table thead th:last-child {
  border-start-end-radius:9px!important;
  border-end-end-radius:9px!important;
}

/* The monthly-sync explanation must not be squeezed between action pills on mobile. */
@media(max-width:600px){
  html[data-theme] .work-schedules-pro .ws-global-syncbar{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:center!important;
    gap:10px!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-head{
    grid-column:1/-1!important;
    min-width:0!important;
    width:100%!important;
    flex:none!important;
    align-items:center!important;
    gap:12px!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-head>div:last-child{
    min-width:0!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-head strong{
    font-size:13px!important;
    line-height:1.35!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-head span{
    font-size:10.3px!important;
    line-height:1.5!important;
    overflow-wrap:anywhere!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-state{
    min-width:0!important;
    min-height:38px!important;
    justify-content:center!important;
    flex:none!important;
  }
  html[data-theme] .work-schedules-pro .ws-global-sync-button{
    min-width:0!important;
    width:100%!important;
    min-height:38px!important;
    flex:none!important;
  }
}

/* Prevent older global input rules from drawing a second border inside search. */
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-filters label input {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:35px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  outline:0!important;
  color:var(--v1501-ink)!important;
  -webkit-text-fill-color:var(--v1501-ink)!important;
}
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-filters label input::placeholder{
  color:var(--v1501-muted)!important;
  -webkit-text-fill-color:var(--v1501-muted)!important;
}
html[data-theme] .work-schedules-pro .ws-global-center .ws-global-filters label:focus-within {
  outline:2px solid var(--v1501-gold)!important;
  outline-offset:2px!important;
}
