:root {
  --ink: #27313d;
  --ink-soft: #66717c;
  --paper: #f8f7f3;
  --card: #fffefa;
  --line: #dfe2df;
  --coral: #f47d68;
  --coral-dark: #dc6552;
  --coral-soft: #fbe3dc;
  --sage: #a9c2b3;
  --sage-soft: #e4eee8;
  --blue: #a9cbe0;
  --blue-soft: #e3eff5;
  --lavender: #bbb8da;
  --danger: #b94b4b;
  --shadow: 0 24px 65px rgba(42, 57, 67, .11);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-feature-settings: "kern" 1;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--paper); }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #f5c4b9; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .018;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 99;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.38), rgba(169,203,224,.08) 45%, transparent 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Login */
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(590px, 1.08fr) minmax(430px, .92fr);
  background: var(--paper);
}

.brand-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 37px clamp(42px, 5vw, 82px) 46px;
  background:
    radial-gradient(circle at 9% 10%, rgba(255,255,255,.9), transparent 21%),
    linear-gradient(142deg, #edf1ec 0%, #e6edf0 52%, #e7e5f1 100%);
  border-right: 1px solid rgba(39,49,61,.08);
}

.brand-panel::before {
  content: "";
  position: absolute;
  width: 590px;
  height: 590px;
  left: -310px;
  bottom: -325px;
  border: 1px solid rgba(39,49,61,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.12), 0 0 0 110px rgba(255,255,255,.08);
  animation: driftRing 15s ease-in-out infinite alternate;
}

.brand-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: 9%;
  border-radius: 45% 55% 62% 38%;
  background: rgba(169,203,224,.31);
  animation: morph 10s ease-in-out infinite alternate;
}

.cute-sky { position: absolute; inset: 0; pointer-events: none; }
.cute-sky i { position: absolute; display: block; border-radius: 50%; animation: floatSoft 7s ease-in-out infinite; }
.cute-sky i:nth-child(1) { width: 14px; height: 14px; left: 9%; top: 24%; background: var(--coral); animation-delay: -.7s; }
.cute-sky i:nth-child(2) { width: 21px; height: 21px; right: 17%; top: 17%; border: 5px solid rgba(255,255,255,.8); animation-delay: -2s; }
.cute-sky i:nth-child(3) { width: 42px; height: 42px; right: 7%; top: 33%; background: rgba(169,194,179,.48); animation-delay: -4.5s; }
.cute-sky i:nth-child(4) { width: 9px; height: 9px; right: 20%; top: 49%; background: var(--coral); animation-delay: -3s; }
.cute-sky i:nth-child(5) { width: 17px; height: 17px; left: 12%; bottom: 20%; border: 4px solid rgba(255,255,255,.75); animation-delay: -5.3s; }
.cute-sky i:nth-child(6) { width: 68px; height: 68px; left: 4%; top: 52%; background: rgba(255,255,255,.28); animation-delay: -1.5s; }
.cute-sky i:nth-child(7) { width: 28px; height: 28px; right: 29%; bottom: 12%; background: rgba(187,184,218,.35); animation-delay: -3.8s; }

.brand,
.mobile-brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.brand > span:last-child > span,
.mobile-brand > span:last-child > span { color: var(--coral-dark); }
.brand-mark { width: 29px; height: 27px; display: inline-grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; transform: skew(-9deg); }
.brand-mark i { display: block; border-radius: 4px 4px 1px 1px; background: currentColor; transition: height .25s ease; }
.brand-mark i:nth-child(1) { height: 11px; }.brand-mark i:nth-child(2) { height: 24px; }.brand-mark i:nth-child(3) { height: 17px; }
.brand:hover .brand-mark i:nth-child(1) { height: 19px; }.brand:hover .brand-mark i:nth-child(2) { height: 14px; }.brand:hover .brand-mark i:nth-child(3) { height: 24px; }

.signal-code {
  position: absolute;
  z-index: 3;
  top: 42px;
  right: clamp(35px, 4vw, 66px);
  display: flex;
  gap: 15px;
  color: rgba(39,49,61,.48);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.signal-code span + span { padding-left: 15px; border-left: 1px solid rgba(39,49,61,.15); }

.brand-copy { position: relative; z-index: 3; width: min(100%, 890px); margin: auto 0; padding: 82px 0 106px; }
.eyebrow,
.kicker { margin: 0 0 17px; color: var(--coral-dark); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-copy .eyebrow { width: fit-content; padding: 7px 11px; border: 1px solid rgba(39,49,61,.12); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.52); }

.brand-copy h1 {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
  text-transform: lowercase;
}
.brand-copy h1 span { display: block; width: fit-content; white-space: nowrap; }
.brand-copy h1 span:first-child { font-size: clamp(40px, 4.35vw, 69px); }
.brand-copy h1 span:last-child { position: relative; margin-top: 7px; color: var(--coral-dark); font-size: clamp(59px, 7.2vw, 110px); }
.brand-copy h1 span:last-child::after { content: ""; position: absolute; z-index: -1; left: 4px; right: -5px; bottom: 5px; height: 13px; border-radius: 999px; background: rgba(244,125,104,.17); transform: rotate(-1deg); }
.brand-copy > p:last-child { max-width: 560px; margin: 31px 0 0; color: var(--ink-soft); font-size: 13px; font-weight: 400; line-height: 1.65; }

.brand-proof {
  position: relative;
  z-index: 4;
  width: fit-content;
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 17px 11px 11px;
  border: 1px solid rgba(39,49,61,.11);
  border-radius: 17px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 13px 35px rgba(42,57,67,.07);
  backdrop-filter: blur(10px);
  transition: transform .25s, box-shadow .25s;
}
.brand-proof:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42,57,67,.12); }
.proof-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--ink); background: var(--sage-soft); font-size: 15px; font-weight: 700; }
.brand-proof strong,
.brand-proof span { display: block; }.brand-proof strong { font-size: 11px; font-weight: 600; }.brand-proof span { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }

.login-panel {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 52px clamp(39px, 6vw, 94px);
  background:
    radial-gradient(circle at 91% 8%, rgba(169,203,224,.18), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(244,125,104,.1), transparent 22%),
    var(--paper);
}
.login-panel::before,
.login-panel::after { content: ""; position: absolute; border-radius: 50%; animation: driftBlob 9s ease-in-out infinite alternate; }
.login-panel::before { width: 165px; height: 165px; right: -77px; top: 12%; background: rgba(187,184,218,.22); }
.login-panel::after { width: 90px; height: 90px; left: -43px; bottom: 12%; background: rgba(244,125,104,.14); animation-delay: -4s; }

.login-card {
  position: relative;
  z-index: 3;
  width: min(100%, 455px);
  min-width: 0;
  padding: 36px;
  border: 1px solid rgba(39,49,61,.09);
  border-radius: 27px;
  background: rgba(255,254,250,.84);
  box-shadow: var(--shadow), inset 0 1px 0 white;
  backdrop-filter: blur(18px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.login-card:hover { transform: translateY(-3px); box-shadow: 0 30px 72px rgba(42,57,67,.14), inset 0 1px 0 white; }
.mobile-brand { display: none; }
.form-meta { display: flex; justify-content: space-between; margin-bottom: 38px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: #8a9297; font-size: 8px; font-weight: 600; letter-spacing: .09em; }
.kicker { margin-bottom: 11px; }
.login-card h2 { margin: 0; color: var(--ink); font-size: clamp(48px, 4.8vw, 66px); font-weight: 700; line-height: .95; letter-spacing: -.055em; }
.form-intro { margin: 17px 0 31px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.login-card label { display: block; margin: 17px 0 8px; color: var(--ink); font-size: 10px; font-weight: 600; }
.input-wrap { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.74); transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.input-wrap:hover { transform: translateY(-1px); border-color: #c8cdca; }
.input-wrap:focus-within { transform: translateY(-2px); border-color: var(--coral); background: white; box-shadow: 0 0 0 4px rgba(244,125,104,.11), 0 8px 20px rgba(42,57,67,.06); }
.input-wrap > svg { width: 19px; flex: 0 0 auto; fill: none; stroke: #899299; stroke-width: 1.7; }
.input-wrap input { min-width: 0; flex: 1; padding: 17px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.input-wrap input::placeholder { color: #a0a7ab; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #8f989e; background: transparent; transition: color .2s, background .2s; }
.icon-button:hover { color: var(--coral-dark); background: var(--coral-soft); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.otp-details { margin-top: 16px; color: var(--ink-soft); }.otp-details summary { font-size: 10px; font-weight: 600; cursor: pointer; }

.primary-button {
  position: relative;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  margin-top: 23px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  color: white;
  background: var(--ink);
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(39,49,61,.18);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.primary-button::before { content: ""; position: absolute; width: 40px; height: 140px; left: -65px; top: -40px; background: rgba(255,255,255,.2); transform: rotate(24deg); transition: left .55s ease; }
.primary-button:hover { transform: translateY(-3px); background: #354252; box-shadow: 0 17px 30px rgba(39,49,61,.23); }.primary-button:hover::before { left: 110%; }.primary-button:active { transform: translateY(-1px); }.primary-button:disabled { opacity: .56; }
.button-arrow { font-size: 19px; transition: transform .2s; }.primary-button:hover .button-arrow { transform: translateX(5px); }
.security-note { margin: 18px 0 0; color: #899196; font-size: 8px; line-height: 1.5; text-align: center; }.security-note span { margin-right: 5px; color: var(--sage); }
.message { margin-top: 14px; padding: 12px 14px; border: 1px solid #e5b6ae; border-radius: 12px; color: var(--danger); background: #fff1ee; font-size: 11px; line-height: 1.45; animation: gentleShake .35s ease; }.message.light { color: #633b37; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.5); }
.preview-notice { margin-top: 15px; padding: 12px 14px; border: 1px solid #b8cfc1; border-radius: 12px; color: #496355; background: #eef6f1; font-size: 10px; line-height: 1.5; }

/* Dashboard */
.app-shell { min-height: 100vh; background: radial-gradient(circle at 8% 2%, rgba(169,194,179,.18), transparent 25%), radial-gradient(circle at 96% 20%, rgba(169,203,224,.18), transparent 27%), var(--paper); }
.app-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 66px); border-bottom: 1px solid rgba(39,49,61,.08); background: rgba(255,254,250,.8); backdrop-filter: blur(18px); }
.brand-dark { color: var(--ink); }.brand-dark > span:last-child > span { color: var(--coral-dark); }
.user-menu { display: flex; align-items: center; gap: 11px; }.user-menu strong, .user-menu span { display: block; }.user-menu strong { font-size: 11px; font-weight: 600; }.user-menu > div > span { max-width: 210px; margin-top: 3px; overflow: hidden; color: #899197; font-size: 9px; text-overflow: ellipsis; }
.user-avatar { width: 40px; height: 40px; display: grid !important; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--coral), #ce8c7f); font-size: 12px; font-weight: 700; box-shadow: 0 6px 15px rgba(100,72,68,.14); transition: transform .2s; }.user-avatar:hover { transform: translateY(-2px); }
.logout-button { margin-left: 12px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); background: white; font-size: 9px; font-weight: 600; transition: transform .2s, border-color .2s, color .2s; }.logout-button:hover { transform: translateY(-2px); border-color: var(--coral); color: var(--coral-dark); }
.workspace { width: min(1500px, 100%); margin: 0 auto; padding: 49px clamp(18px, 4vw, 66px) 70px; }
.welcome-row { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 35px; }.eyebrow.dark { margin-bottom: 11px; color: var(--coral-dark); }.welcome-row h1 { margin: 0; font-size: clamp(40px, 5vw, 68px); font-weight: 700; line-height: .96; letter-spacing: -.055em; }.welcome-row h1 span { color: var(--coral-dark); }
.live-clock { min-width: 178px; padding: 14px 18px; border: 1px solid rgba(39,49,61,.09); border-radius: 15px; background: rgba(255,255,255,.58); box-shadow: 0 9px 25px rgba(42,57,67,.06); text-align: right; }.live-clock strong, .live-clock span { display: block; }.live-clock strong { font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }.live-clock span { margin-top: 6px; color: var(--ink-soft); font-size: 8px; text-transform: capitalize; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 17px; align-items: stretch; }.task-card, .punch-card { min-height: 520px; border-radius: 23px; }
.task-card { position: relative; padding: 27px; border: 1px solid rgba(39,49,61,.08); background: rgba(255,254,250,.86); box-shadow: var(--shadow); transition: transform .28s ease, box-shadow .28s ease; }.task-card:hover { transform: translateY(-5px); box-shadow: 0 29px 66px rgba(42,57,67,.14); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.section-heading > div { display: flex; align-items: center; gap: 11px; }.section-heading h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--ink); font-size: 9px; font-weight: 700; }.auto-pill, .ready-pill { padding: 7px 10px; border-radius: 999px; color: #536a5d; background: var(--sage-soft); font-size: 7px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }.ready-pill { color: #7d554e; background: var(--coral-soft); }
.section-copy { min-height: 40px; margin: 16px 0 21px; color: var(--ink-soft); font-size: 10px; line-height: 1.55; }
.client-list { max-height: 365px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; scrollbar-color: var(--sage) #edf0ed; scrollbar-width: thin; }.client-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 12px; border: 1px solid #e3e5e2; border-radius: 15px; background: #fdfdf9; cursor: pointer; transition: border-color .2s, transform .2s, background .2s, box-shadow .2s; }.client-option:hover { transform: translateX(3px); border-color: #bdc9c2; background: white; }.client-option.selected { border-color: var(--sage); background: #f4f9f6; box-shadow: 0 8px 20px rgba(86,113,98,.1); }
.client-option input { position: absolute; opacity: 0; pointer-events: none; }.client-pin { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #65766c; background: var(--sage-soft); transition: transform .2s; }.client-option:hover .client-pin { transform: rotate(-4deg); }.client-option.selected .client-pin { color: white; background: var(--sage); }.client-pin svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }.client-info { min-width: 0; flex: 1; }.client-info strong, .client-info span { display: block; }.client-info strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.client-info span { margin-top: 5px; overflow: hidden; color: #89928e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.client-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 10px; font-weight: 700; }.selected .client-check { border-color: var(--sage); color: white; background: var(--sage); animation: pop .25s ease; }.empty-state { padding: 30px 15px; border: 1px dashed #cbd0cc; border-radius: 14px; color: var(--ink-soft); font-size: 9px; text-align: center; }
.photo-drop { min-height: 302px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 18px; border: 1.5px dashed #c9cfcb; border-radius: 18px; background: linear-gradient(145deg, #fbfcf9, #f4f7f5); cursor: pointer; transition: border-color .2s, transform .2s, background .2s, box-shadow .2s; }.photo-drop:hover, .photo-drop.dragging { transform: scale(1.01); border-color: var(--coral); background: #fff9f7; box-shadow: inset 0 0 0 4px rgba(244,125,104,.06); }.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.photo-prompt { display: grid; place-items: center; text-align: center; }.photo-prompt strong { margin-top: 17px; font-size: 11px; font-weight: 600; }.photo-prompt > span:last-child { margin-top: 7px; color: var(--ink-soft); font-size: 8px; }.camera-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 19px; color: white; background: var(--ink); box-shadow: 0 11px 23px rgba(39,49,61,.18); transition: transform .25s, background .25s; }.photo-drop:hover .camera-icon { transform: translateY(-4px) rotate(-3deg); background: var(--coral-dark); }.camera-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }.text-button { display: block; margin: 14px auto 0; border: 0; color: var(--coral-dark); background: transparent; font-size: 9px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.punch-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 29px; border: 1px solid rgba(39,49,61,.08); color: var(--ink); background: linear-gradient(150deg, #e3eee8 0%, #e2edf3 67%, #ebe9f4 100%); box-shadow: var(--shadow); transition: transform .28s, box-shadow .28s; }.punch-card:hover { transform: translateY(-5px); box-shadow: 0 29px 66px rgba(42,57,67,.15); }.punch-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -78px; top: -77px; border-radius: 45% 55% 60% 40%; background: rgba(255,255,255,.36); animation: morph 10s ease-in-out infinite alternate; }.punch-card > *:not(.punch-orbit) { position: relative; z-index: 2; }.punch-card .eyebrow { width: fit-content; padding: 7px 10px; border-radius: 999px; color: #56645c; background: rgba(255,255,255,.55); }.punch-card h2 { margin: 0; font-size: clamp(40px, 3.8vw, 57px); font-weight: 700; line-height: .95; letter-spacing: -.055em; }.punch-card > p:not(.eyebrow) { margin: 21px 0 25px; color: #64716a; font-size: 10px; line-height: 1.6; }
.punch-orbit { position: absolute; width: 330px; height: 330px; right: -125px; top: -125px; border: 1px dashed rgba(39,49,61,.11); border-radius: 50%; animation: slowSpin 30s linear infinite; }.punch-orbit i { position: absolute; inset: 45px; border: inherit; border-radius: inherit; }.punch-orbit i:nth-child(2) { inset: 95px; }.punch-orbit i:nth-child(3) { inset: 145px; border: 0; background: rgba(39,49,61,.08); }.selected-summary { padding: 14px 0; border-top: 1px solid rgba(39,49,61,.14); border-bottom: 1px solid rgba(39,49,61,.1); }.selected-summary span, .selected-summary strong { display: block; }.selected-summary span { color: #77817b; font-size: 7px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }.selected-summary strong { margin-top: 6px; overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.punch-button { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 15px; border: 0; border-radius: 15px; color: white; background: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 12px 25px rgba(39,49,61,.18); transition: transform .2s, box-shadow .2s, background .2s; }.punch-button:hover:not(:disabled) { transform: translateY(-4px); background: #354252; box-shadow: 0 18px 30px rgba(39,49,61,.23); }.punch-button:active:not(:disabled) { transform: translateY(-1px); }.punch-button:disabled { opacity: .36; box-shadow: none; }.punch-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(244,125,104,.16); animation: pulseDot 1.8s infinite; }.punch-card small { margin-top: 11px; color: #77817b; font-size: 7px; text-align: center; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(39,49,61,.48); backdrop-filter: blur(11px); }.modal-card { width: min(100%, 440px); padding: 39px; border: 1px solid rgba(39,49,61,.08); border-radius: 25px; background: var(--card); box-shadow: 0 28px 80px rgba(39,49,61,.24); text-align: center; animation: modalIn .3s cubic-bezier(.22,1.2,.45,1) both; }.success-check { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 20px; color: white; background: var(--sage); box-shadow: 0 12px 25px rgba(80,110,94,.18); }.success-check svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; }.modal-card h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }.modal-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: 11px; }.modal-card .primary-button { margin-top: 25px; }

.is-loading { position: relative; color: transparent !important; pointer-events: none; }.is-loading::after { content: ""; position: absolute; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .65s linear infinite; }

@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes driftRing { from { transform: translate(0,0); } to { transform: translate(24px,-16px); } }
@keyframes driftBlob { from { transform: translate(0,0) scale(1); } to { transform: translate(-22px,18px) scale(1.1); } }
@keyframes morph { 0% { border-radius: 45% 55% 60% 40%; transform: rotate(0); } 100% { border-radius: 58% 42% 43% 57%; transform: rotate(18deg); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes pulseDot { 0%,100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(244,125,104,.16); } 50% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(244,125,104,.05); } }
@keyframes pop { from { transform: scale(.3); } to { transform: scale(1); } }
@keyframes gentleShake { 0%,100% { transform: translateX(0); } 30% { transform: translateX(-4px); } 65% { transform: translateX(4px); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.mode-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.mode-pill input { position: absolute; opacity: 0; pointer-events: none; }
.mode-pill span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(39,49,61,.12);
  border-radius: 999px;
  background: #f4f2ec;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.mode-pill input:checked + span {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.wifi-fields { margin-top: 14px; }
.wifi-fields label {
  display: block;
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}
.input-wrap.compact {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.input-wrap.compact input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 0;
  background: transparent;
}
.history-list { display: grid; gap: 8px; margin-top: 6px; }
.history-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(39,49,61,.08);
  border-radius: 12px;
  background: #faf9f5;
}
.history-item strong { font-size: 12px; }
.history-item span { color: var(--ink-soft); font-size: 10px; }
.history-badge {
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.history-badge.in { color: #3d5f4d; background: var(--sage-soft); }
.history-badge.out { color: #6a433b; background: var(--coral-soft); }
.history-card .empty-state { margin-top: 8px; }
.history-card .message { margin-top: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .login-shell { grid-template-columns: 1fr 1fr; }
  .signal-code span:nth-child(2) { display: none; }
  .brand-copy h1 span:first-child { font-size: clamp(36px, 4.25vw, 53px); }
  .brand-copy h1 span:last-child { font-size: clamp(57px, 7.1vw, 84px); }
  .content-grid { grid-template-columns: 1fr 1fr; }.punch-card { grid-column: 1 / -1; min-height: 405px; }.punch-card h2 { max-width: 650px; }.punch-card > p:not(.eyebrow), .selected-summary, .punch-button, .punch-card small, .punch-card .message { max-width: 570px; }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }.login-shell { display: block; }.brand-panel { display: none; }
  .login-panel { width: 100%; min-height: 100svh; place-items: start; padding: 21px 18px 44px; }.login-card { width: 100%; max-width: none; padding: 26px 22px 29px; border-radius: 24px; }.mobile-brand { display: flex; margin: 2px 0 42px; }.form-meta { margin-bottom: 33px; }.login-card h2 { font-size: 51px; }.form-intro { margin-bottom: 28px; }.security-note { padding: 0 7px; overflow-wrap: anywhere; }
  .app-header { height: 70px; padding: 0 16px; }.app-header .brand { font-size: 0; gap: 0; }.app-header .brand-mark { width: 25px; height: 24px; }.user-menu > div { display: none; }.logout-button { margin-left: 1px; }
  .workspace { padding: 35px 15px 50px; }.welcome-row { align-items: flex-start; margin-bottom: 29px; }.welcome-row h1 { font-size: 40px; }.live-clock { min-width: 115px; padding: 11px 12px; }.live-clock strong { font-size: 24px; }.live-clock span { max-width: 95px; }
  .content-grid { grid-template-columns: 1fr; gap: 15px; }.task-card, .punch-card { min-height: auto; border-radius: 20px; }.task-card { padding: 22px; }.section-heading { align-items: flex-start; }.section-heading h2 { font-size: 16px; }.client-list { max-height: none; }.photo-drop { min-height: 300px; }.punch-card { grid-column: auto; min-height: 500px; padding: 24px; }.punch-card h2 { font-size: 46px; }.punch-orbit { right: -155px; top: -135px; }.modal-card { padding: 32px 23px; }.modal-card h2 { font-size: 30px; }
}

@media (max-width: 390px) { .welcome-row { display: block; }.live-clock { width: fit-content; margin-top: 23px; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-glow { display: none; }
}
