/* Product UI is intentionally separate from the landing-page brand styling.
   References and known web-only differences are recorded in README.md. */
.menu-timer img { display: block; object-fit: contain; }
.document-note { display: block; overflow-wrap: anywhere; }
.workday-demo[data-state="movement"] .desktop,
.workday-demo[data-state="break"] .desktop { height: 730px; }
.demo-guide-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; flex-shrink: 0; }
.demo-guide-copy { max-width: 590px; flex: 1; min-width: 0; scroll-margin-block: 24px; }

.native-menu, .native-window, .native-notification {
  --native-text: #ededed;
  --native-secondary: #b2b2b2;
  --native-background: #1e1e1e;
  --native-control: #333;
  --native-border: #474747;
  --native-blue: #0a84ff;
  color-scheme: dark;
  color: var(--native-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: left;
}
.native-menu { position: absolute; top: 35px; right: 83px; width: 236px; padding: 5px; border: 1px solid #666; border-radius: 6px; background: #292929f5; box-shadow: 0 10px 28px #0005; z-index: 2; }
.native-menu-item { display: block; width: 100%; padding: 3px 12px; min-height: 21px; font-size: 13px !important; line-height: 1.2; text-align: left; border: 0; border-radius: 4px; background: transparent; color: var(--native-text); }
.native-menu-item[aria-disabled="true"] { color: #929292; }
button.native-menu-item:hover, button.native-menu-item:focus-visible { color: #fff; background: #0064d5; }
.native-menu hr { border: 0; border-top: 1px solid #ffffff25; margin: 5px 10px; }
.native-reference { cursor: default; }

.native-window { position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid #575757; border-radius: 10px; background: var(--native-background); box-shadow: 0 22px 60px #0005, 0 0 0 1px #0002; overflow: hidden; }
.landing .native-window h3, .landing .native-window h4 { color: var(--native-text); letter-spacing: normal; }
.native-titlebar { height: 24px; display: grid; grid-template-columns: 63px 1fr 63px; align-items: center; padding: 0 8px; background: #242424; border-bottom: 1px solid #ffffff04; }
.landing .native-titlebar h3 { font-size: 12px; line-height: 1.2; font-weight: 400; margin: 0; text-align: center; color: #b2b2b2; white-space: nowrap; }
.native-window-controls { display: flex; align-items: center; gap: 7px; }
.native-window-controls i, .native-window-controls button { display: block; width: 10px; height: 10px; min-height: 0; padding: 0; border: 1px solid #606060; border-radius: 50%; background: #414141; }
.native-window-controls button:hover { background: #ff5f57; border-color: #ff5f57; }
.native-window-controls button:hover::after { content: "×"; display: block; color: #50100c; font-size: 10px; line-height: 7px; }
.landing .native-button { font-size: 13px; font-weight: 400; line-height: 1.25; min-height: 24px; padding: 3px 12px; border: 1px solid #ffffff03; border-radius: 6px; background: var(--native-control); box-shadow: inset 0 1px #ffffff06; color: var(--native-text); white-space: nowrap; }
.landing .native-button:hover:not(:disabled) { background: #454545; }
.landing .native-button:active:not(:disabled) { background: #525252; }
.landing .native-button:disabled { color: #b0b0b0; }
.native-window input:not([type="checkbox"]) { min-width: 0; width: 100%; height: 25px; padding: 2px 6px; color: var(--native-text); background: #202020; border: 1px solid #444; border-radius: 6px; box-shadow: inset 0 1px 2px #0005; font-size: 13px; line-height: 1.25; }
.native-window input:invalid { border-color: #db897b; }
.native-window input:focus-visible, .native-window button:focus-visible, .native-window summary:focus-visible, .native-menu button:focus-visible, .native-movement-scroll:focus-visible { outline-color: #57c3ff; outline-offset: 3px; }
.native-window input:not([type="checkbox"]):focus-visible { outline-width: 2px; outline-offset: 1px; }
.native-secondary { color: var(--native-secondary); }
.native-caption { color: var(--native-secondary); font-size: 10px; line-height: 1.4; }

.native-session { width: 426px; top: 83px; }
.native-session form { padding: 20px 16px 14px 20px; }
.native-session-fields { display: grid; grid-template-columns: minmax(0, 1fr) 82px; gap: 6px 5px; align-items: end; }
.native-session-fields > label { font-size: 13px; line-height: 1.25; font-weight: 400; }
.native-combobox { position: relative; }
.native-combobox input { padding-right: 30px !important; }
.native-combobox > span { position: absolute; right: 4px; top: 3px; bottom: 3px; width: 24px; border-radius: 4px; background: #333; text-align: center; font-size: 18px; line-height: 15px; pointer-events: none; }
.native-duration-combobox input { appearance: textfield; -moz-appearance: textfield; }
.native-duration-combobox input::-webkit-inner-spin-button, .native-duration-combobox input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.native-movement-setting { margin-top: 7px; padding: 12px; border: 1px solid #353535; border-radius: 10px; }
.native-toggle-label { position: relative; display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 25px; cursor: pointer; }
.native-toggle-label strong { font-size: 13px; }
.native-toggle-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.native-switch { position: relative; display: block; width: 54px; height: 25px; border-radius: 20px; background: #414141; }
.native-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 31px; height: 21px; background: #e2e2e2; border-radius: 15px; box-shadow: 0 1px 2px #0002; }
.native-toggle-label input:checked + .native-switch::after { left: 21px; }
.native-toggle-label input:focus-visible + .native-switch { outline: 3px solid #57c3ff; outline-offset: 3px; }
#movement-rotation, #movement-off-message { border-top: 1px solid #353535; padding-top: 9px; margin-top: 9px; }
#movement-rotation > p, #movement-off-message { font-size: 12px; color: var(--native-secondary); line-height: 1.3; }
.rotation-label { display: block; font-size: 12px; margin-top: 8px; }
#movement-rotation ol { list-style: none; padding: 0; margin: 3px 0 9px; }
#movement-rotation li { margin: 0; font-size: 12px; line-height: 1.6; }
#movement-rotation li span { display: inline-block; color: #0aa6ff; width: 18px; font-size: 17px; line-height: 1; }
#movement-rotation .rotation-next-marker { visibility: hidden; }
#movement-rotation .is-next .rotation-next-marker { visibility: visible; }
.native-session-actions { display: flex; align-items: center; justify-content: space-between; margin: 7px -3px 0 -6px; }
.native-session-actions .native-button { width: 96px; }

/* Compact system-banner proportions, not the app's opaque window material.
   Geometry reference: Apple's macOS 26 "View app notifications" illustration.
   This is a dark-material CSS adaptation, not a captured native banner. */
.native-notification { position: absolute; top: 48px; right: 16px; width: 336px; min-height: 64px; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid #ffffff40; border-radius: 20px; background: #363d44; box-shadow: 0 10px 28px #1023322e, 0 2px 6px #00000012, inset 0 1px 1px #ffffff24; animation: notification-arrive .24s ease-out both; }
.native-notification img { width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0; }
.notification-content { min-width: 0; }
.native-notification strong { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: #fff; }
.native-notification p { font-size: 13px; line-height: 16px; margin-top: 1px; color: #f4f5f7; }
.landing .notification-close { position: absolute; left: -8px; top: -8px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; min-height: 0; padding: 0; border: 1px solid #ffffff55; border-radius: 50%; color: #fff; background: #53616ded; box-shadow: 0 1px 3px #0002; font-size: 19px; font-weight: 400; line-height: 1; opacity: 0; transition: opacity .12s; }
.native-notification:hover .notification-close, .native-notification:focus-within .notification-close { opacity: 1; }
.landing .notification-close:hover { background: #657888; }
.landing .notification-close:focus-visible { outline-color: #57c3ff; outline-offset: 2px; }
.notification-demo-actions { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #ffffff30; }
.notification-demo-label { display: block; color: #d9edfc; font-size: 9px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 5px; }
.notification-skip-control { display: flex; align-items: center; gap: 3px; }
.landing #notification-skip { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 34px; padding: 7px 9px; border: 1px solid #ffffff60; border-radius: 6px; background: #ffffff14; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; text-align: left; }
.landing #notification-skip:hover { background: #ffffff28; }
.landing .notification-footnote { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; min-width: 24px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 18px; text-decoration: none; }
.landing .notification-footnote:hover { background: #ffffff14; border-radius: 4px; }
.landing #notification-skip:focus-visible, .landing .notification-footnote:focus-visible { outline-color: #57c3ff; outline-offset: 2px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .native-notification { background: linear-gradient(135deg, #ffffff12, #ffffff02), #202832b8; -webkit-backdrop-filter: blur(32px) saturate(150%); backdrop-filter: blur(32px) saturate(150%); }
}
@media (prefers-reduced-transparency: reduce) {
  .native-notification { background: #363d44; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@keyframes notification-arrive { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.native-movement { top: 54px; width: 540px; height: 650px; display: flex; flex-direction: column; }
.native-movement > .native-titlebar { flex-shrink: 0; }
.native-break-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #3b3b3b; padding: 14px 16px; font-size: 12px; flex-shrink: 0; }
.native-break-header strong { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.native-break-header .icon { height: 17px; width: 17px; }
#break-remaining { font-variant-numeric: tabular-nums; }
.native-movement-scroll { padding: 24px; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-color: #666 transparent; scrollbar-width: thin; }
.landing .native-movement-scroll > h3 { font-size: 17px; line-height: 1.25; margin: 0 0 5px; font-weight: 700; }
.native-movement-scroll > p { font-size: 12px; line-height: 1.4; margin-top: 12px; }
.native-movement-scroll > h3 + p { margin-top: 0; }
.native-difficulty { display: inline-block; background: #303030; border-radius: 12px; padding: 2px 8px; margin-top: 5px; font-weight: 600; font-size: 11px; }
.native-movement-scroll > #movement-reason { margin-top: 5px; }
.native-target { padding: 12px; margin: 16px 0; background: #222; border-radius: 10px; }
.native-target > strong { display: block; font-size: 13px; }
.native-target > p { font-size: 12px; margin-top: 7px; }
.native-target > .native-caption { font-size: 10px; margin-top: 10px; }
.native-target details { margin-top: 10px; }
.native-target summary { font-size: 12px; cursor: pointer; width: fit-content; }
.native-target-fields { display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: center; margin-top: 12px; font-size: 12px; }
.native-target-fields > div { display: flex; gap: 4px; align-items: center; }
.native-target-fields input { max-width: 65px; justify-self: end; text-align: right; }
.native-target-fields > button { grid-column: 1 / -1; justify-self: start; }
.native-media { position: relative; min-height: 240px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 4px 10px 24px; }
.native-media .movement-illustration { display: block; width: 100%; height: 210px; max-height: 210px; }
.native-media-label { position: absolute; left: 8px; right: 8px; bottom: 7px; font-size: 9px; line-height: 1.3; text-align: center; color: #536b7d; }
.landing .native-movement-scroll h4 { margin: 16px 0 5px; font-size: 13px; }
.native-movement-scroll > .native-caption { font-size: 10px; }
.native-movement-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-top: 1px solid #3b3b3b; flex-shrink: 0; }
#dismiss-movement { margin-left: auto; }

@media (max-width: 720px) {
  .workday-demo[data-state="movement"] .desktop,
  .workday-demo[data-state="break"] .desktop { height: 650px; }
  .native-menu { top: 43px; right: 10px; width: min(236px, calc(100% - 20px)); }
  .native-menu-item { min-height: 25px; padding-block: 5px; }
  .native-session { top: 68px; width: calc(100% - 24px); max-width: 426px; }
  .native-session form { padding: 17px 14px 14px; }
  .native-session-fields { grid-template-columns: minmax(0, 1fr) 64px; }
  .native-session-fields > label { font-size: 11px; }
  .native-window input:not([type="checkbox"]) { font-size: 16px; height: 31px; }
  .native-combobox > span { top: 4px; bottom: 4px; line-height: 20px; }
  .native-movement-setting { padding: 10px; }
  .native-toggle-label { gap: 8px; }
  .native-toggle-label strong { font-size: 12px; }
  .native-window .native-button { min-height: 32px; font-size: 12px; padding: 5px 10px; }
  .native-session-actions { margin-inline: 0; }
  .native-session-actions .native-button { width: 88px; }
  .native-notification { width: min(336px, calc(100% - 24px)); right: 12px; top: 50px; }
  .native-movement { top: 54px; width: calc(100% - 24px); height: 570px; }
  .native-break-header { padding: 12px; font-size: 10px; flex-wrap: wrap; }
  .native-break-header strong { font-size: 12px; }
  .native-movement-scroll { padding: 16px; }
  .native-movement-actions { padding: 12px; gap: 7px; }
  .native-target-fields { grid-template-columns: 1fr 105px; gap: 10px 5px; font-size: 11px; }
  .native-target-fields input { max-width: 58px; }
  .native-media { min-height: 200px; }
  .native-media .movement-illustration { height: 170px; }
  .demo-guide-actions { width: 100%; justify-content: space-between; gap: 5px 10px; }
}
