/* Approved original artwork, uncropped. Authentication and storage are unchanged. */
html:has(.login-experience), body:has(.login-experience) {
  height: auto;
  overflow: auto;
}
.app-shell:has(.login-experience), .login-experience { height: auto; overflow: visible; }
.login-experience .login-artwork {
  background-image: none;
  background-color: #090c0e;
}
.login-experience .login-artwork::after { display: none; }
.login-approved-brand {
  display: block;
  width: min(300px, 65vw);
  height: auto;
  object-fit: contain;
  margin: 12px auto 18px;
}
.login-experience .login-panel-stage { padding: 18px 12px; }
html body .login-experience-stage .login-panel-stage .login-card {
  height: auto;
  min-height: calc(100dvh - 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
}
.login-experience .login-stage-heading {
  position: static;
  align-self: flex-end;
  font-size: 11px;
}
.login-experience .login-stage-form { display: block; width: 100%; }
.login-experience .login-stage-window {
  position: relative;
  inset: auto;
  transform: none;
  width: min(1006px, 100%);
  margin: 0 auto;
  overflow: visible;
  padding: 22px;
}
.login-experience .login-stage-tabs { width: 100%; }
.login-experience .login-stage-grid { height: auto; }
.login-experience .login-stage-version {
  display: block;
  position: static;
  transform: none;
  margin: 14px auto;
  text-align: center;
}
.login-experience-card .login-approved-brand { width: min(230px, 55vw); }
@media (max-width: 699px) {
  .login-approved-brand { width: min(230px, 60vw); }
  .login-experience .login-stage-window { padding: 14px; }
}

/* Current shared artwork is transparent; no rectangular background seam. */
.side-brand img, .login-approved-brand { object-fit: contain; background: transparent; }
.customer-sites-page .customer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.customer-sites-page .customer-row .ios-row-main { min-width: 0; }
.customer-sites-page .customer-row .ios-row-copy { min-width: 0; overflow-wrap: anywhere; }
.customer-sites-page .site-parent-label { grid-column: 1 / -1; overflow-wrap: anywhere; }
.customer-sites-page .site-unit-row { margin-left: 16px; border-left: 3px solid var(--accent, #ff942b); }
.week-entry-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; margin-block: 8px; border-radius: 14px; border-left: 4px solid var(--week-state); background: color-mix(in srgb, var(--week-state) 12%, var(--panel-strong)); color: var(--text); }
.week-entry-row > div:first-child { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.week-entry-row small { display: block; margin-top: 6px; }
.week-state-red { --week-state: #ff565e; }
.week-state-orange { --week-state: #ff982e; }
.week-state-green { --week-state: #36ce78; }
.week-state-teal { --week-state: #36c5bd; }
.week-state-purple { --week-state: #b581ff; }
.calendar-dot[class*="week-state-"] { background: var(--week-state); }
.calendar-event.vacation, .calendar-dot.vacation { --week-state: #428eff; border-color: #428eff; }
.calendar-dot.vacation { background: #428eff; }
.operation-progress-backdrop { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: #0009; }
.operation-progress-card { width: min(420px, 100%); padding: 28px; border: 1px solid #ff942b80; border-radius: 22px; background: #171719; color: #fafafa; text-align: center; box-shadow: 0 20px 60px #0008; overflow-wrap: anywhere; }
.operation-progress-card p { font-size: .9rem; color: #ccc; }
.operation-progress-ring { display: block; width: 48px; height: 48px; border-radius: 50%; border: 4px solid #ff942b33; border-top-color: #ff942b; margin: 0 auto 18px; animation: operation-spin .9s linear infinite; }
@keyframes operation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .operation-progress-ring { animation: none; } }
@media (max-width: 640px) {
  .mobile-bar .pill { width: 44px; min-width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; font-size: 0; }
  .mobile-bar .pill::before { width: 10px; height: 10px; }
  .customer-sites-page .customer-row .ios-row-main { grid-template-columns: 32px minmax(0, 1fr); }
  .customer-sites-page .customer-row .ios-row-value { grid-column: 2; text-align: left; }
  .customer-sites-page .customer-row .ios-edit-button { min-width: 44px; min-height: 44px; }
  .week-entry-row .button-row { width: 100%; }
  .week-entry-row button { min-height: 44px; flex: 1; }
}
@media print { .operation-progress-backdrop { display: none; } }
.weekly-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; margin-block: 18px; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); overflow-x: auto; min-width: 0; gap: 8px; align-items: start; }
.week-day { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.week-day h3 { font-size: .9rem; }
.week-ticket { display: grid; text-align: left; width: 100%; min-height: 62px; padding: 10px; gap: 7px; margin-bottom: 10px; white-space: normal; overflow-wrap: anywhere; border: 1px solid var(--week-state); background: color-mix(in srgb, var(--week-state) 15%, var(--panel-strong)); color: var(--text); }
.week-day .week-entry-row { padding: 8px; font-size: .8rem; }
.week-day .week-entry-row .button-row { display: grid; width: 100%; }
.week-day .week-entry-row button { padding: 6px; min-height: 44px; white-space: normal; }
.week-absence { background: #9da7b026; border-left: 4px solid #9da7b0; padding: 10px; margin-block: 8px; overflow-wrap: anywhere; }
.week-vacation { background: #428eff26; border-color: #428eff; }
.week-absence small { display: block; }
.week-document-preview { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.document-frame-wrap { position: relative; width: 100%; aspect-ratio: 210 / 297; overflow: hidden; margin-top: 14px; background: white; }
.document-frame-wrap iframe { position: absolute; inset: 0; display: block; width: 794px; height: 1123px; transform-origin: top left; border: none; background: white; }
@media (max-width: 1100px) { .weekly-workspace { grid-template-columns: minmax(0, 1fr); } }
@media print { .week-toolbar, .week-document-preview, .week-day .button-row { display: none; } .weekly-workspace { display: block; } .week-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; } }
