:root {
  --wayhr-blue: #003580;
  --wayhr-main-bg: #F3F6FB;
  --wayhr-footer-bg: #E0E0E0;
  --fi-font-family: Arial, Helvetica, sans-serif;
}

.fi-wayhr-app-shell {
  --fi-color-brand: #003580;
  --fi-color-app-bg: #F3F6FB;
  --fi-color-footer-bg: #E0E0E0;
  --fi-font-family: Arial, Helvetica, sans-serif;
  --fi-shell-header-height: 86px;
  --fi-shell-footer-height: 44px;
  --fi-shell-panel-padding: 10px;
  --fi-footer-padding-inline: 14px;
  --fi-footer-font-size: 14px;
  --fi-footer-text-color: #003580;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--fi-font-family);
}

.wayhr-app-shell {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: var(--fi-shell-header-height) minmax(0, 1fr) var(--fi-shell-footer-height);
  grid-template-areas:
    "shell_header"
    "shell_main"
    "shell_footer";
  overflow: hidden;
  font-family: var(--fi-font-family);
}

.wayhr-shell-header {
  grid-area: shell_header;
  min-width: 0;
  min-height: 0;
  padding: 0 16px;
  background: var(--fi-color-brand, var(--wayhr-blue));
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  overflow: hidden;
}

.fi-shell-clock {
  min-width: 0;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.fi-shell-date {
  min-width: 0;
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  text-align: right;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wayhr-shell-main {
  grid-area: shell_main;
  min-width: 0;
  min-height: 0;
  background: var(--fi-color-app-bg, var(--wayhr-main-bg));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "panel_host";
  overflow: hidden;
}

.wayhr-shell-footer {
  grid-area: shell_footer;
  min-width: 0;
  min-height: 0;
  padding: 0 var(--fi-footer-padding-inline);
  background: var(--fi-color-footer-bg, var(--wayhr-footer-bg));
  color: var(--fi-footer-text-color);
  font-size: var(--fi-footer-font-size);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wayhr-panel-host {
  grid-area: panel_host;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "app_panel";
  overflow: hidden;
}

.wayhr-app-panel {
  grid-area: app_panel;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: var(--fi-shell-panel-padding) var(--fi-shell-panel-padding) 0;
  background: var(--fi-color-app-bg, var(--wayhr-main-bg));
  overflow: hidden;
}

@media (max-width: 900px) {
  .fi-wayhr-app-shell {
    --fi-shell-header-height: 74px;
  }

  .fi-shell-clock {
    font-size: 30px;
  }

  .fi-shell-date {
    font-size: 16px;
    white-space: normal;
  }

}
