/* Olie UI kit: iPhone frame + rebuilt app screens (new 2027 branding).
   Screens are drawn at 390x844 and scaled to the phone width by olie-ui.js. */
.ophone {
  --pw: 300px;
  --o-forest: #0B3B24; --o-green: #1F8A4C; --o-lime: #D8F86A; --o-paper: #F5F7EC; --o-mint: #E4F5D4;
  --o-teal: #B9E6E6; --o-sun: #F6E36E; --o-leaf: #D6EAA0; --o-lilac: #E5DAF5; --o-coral: #FFC9B5;
  --o-ink: #12261A; --o-mute: #6B7A70; --o-line: #E3E8DD; --o-card: #FFFFFF;
  position: relative; width: var(--pw); max-width: 100%; aspect-ratio: 418 / 872;
  border-radius: calc(var(--pw) * 0.165); padding: calc(var(--pw) * 0.034);
  background: linear-gradient(145deg, #3a3f3c, #121514 40%, #2a2e2c 70%, #0d0f0e);
  box-shadow: 0 0 0 1.5px #5d625f inset, 0 calc(var(--pw) * .09) calc(var(--pw) * .18) -0.06em rgba(8, 30, 18, .45), 0 2px 6px rgba(0,0,0,.25);
  flex: none;
}
.ophone::before, .ophone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b2f2d;
}
.ophone::before { left: -2px; top: 22%; height: 9%; box-shadow: 0 calc(var(--pw) * .16) 0 #2b2f2d; }
.ophone::after { right: -2px; top: 28%; height: 13%; }
.ophone .oscreen-wrap {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * 0.135); background: var(--o-paper);
}
.ophone .oisland {
  position: absolute; z-index: 30; top: 2.1%; left: 50%; transform: translateX(-50%);
  width: 31%; height: 4.2%; border-radius: 99px; background: #000;
}
.oscreen {
  position: absolute; top: 0; left: 0; width: 390px; height: 844px; transform-origin: 0 0;
  font-family: "Outfit", system-ui, sans-serif; color: var(--o-ink); background: var(--o-paper);
  font-size: 15px; line-height: 1.3; overflow: hidden; -webkit-font-smoothing: antialiased;
}
.oscreen * { box-sizing: border-box; }
.o-status {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 54px;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px;
  font-weight: 600; font-size: 17px; font-family: -apple-system, "SF Pro Text", "Outfit", sans-serif;
}
.o-status svg { height: 13px; }
/* home header */
.o-head {
  padding: 58px 20px 14px; display: flex; align-items: center; justify-content: space-between;
  background: radial-gradient(120% 140% at 0% 0%, #EEFBCB 0%, #DDF3C8 45%, var(--o-paper) 100%);
}
.o-head .o-wm { height: 30px; color: var(--o-forest); }
.o-round {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 59, 36, .08); color: var(--o-forest);
}
.o-round svg { width: 22px; height: 22px; }
.o-toolbar { display: flex; align-items: center; gap: 6px; padding: 10px 16px 6px; }
.o-seg { display: flex; gap: 6px; flex: 1; }
.o-pill {
  border-radius: 99px; padding: 7px 14px; font-size: 14px; background: #fff; color: var(--o-ink);
  border: 1.5px solid transparent; transition: background .35s, color .35s, border-color .35s;
}
.o-pill.on { background: var(--o-mint); border-color: var(--o-green); color: var(--o-green); font-weight: 600; }
.o-pill.today { border-color: var(--o-green); color: var(--o-green); background: transparent; }
.o-people { display: flex; gap: 8px; padding: 4px 16px 10px; }
.o-person { display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border-radius: 99px; background: #fff; font-size: 14px; }
.o-person i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.o-person.on { background: var(--o-green); color: #fff; }
/* month grid */
.o-month { margin: 0 12px; background: #fff; border-radius: 22px; padding: 12px 8px 8px; }
.o-month h5 { margin: 0 0 8px; text-align: center; font-size: 13px; letter-spacing: .06em; font-weight: 700; }
.o-dow, .o-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.o-dow span { text-align: center; font-size: 12px; color: var(--o-mute); padding-bottom: 6px; }
.o-week { border-top: 1px solid var(--o-line); padding: 6px 0 8px; min-height: 84px; }
.o-day { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.o-day b { font-weight: 500; font-size: 15px; text-align: center; height: 24px; line-height: 24px; border-radius: 7px; }
.o-day.today b { outline: 1.5px solid var(--o-green); color: var(--o-green); }
.o-day.dim { opacity: .38; }
.o-day.both b { background: var(--o-lime); color: var(--o-forest); font-weight: 700; }
.o-chip {
  display: block; border-radius: 5px; padding: 2px 4px; font-size: 11.5px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; background: var(--o-teal); color: #17393a; transition: background .5s, transform .4s, opacity .4s;
}
.c-teal { background: var(--o-teal); } .c-sun { background: var(--o-sun); color: #4a3d00; }
.c-leaf { background: var(--o-leaf); color: #2c3f0c; } .c-lilac { background: var(--o-lilac); color: #3c2c55; }
.c-coral { background: var(--o-coral); color: #5a2410; }
.o-next { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 14px 20px 34px; border-top: 1px solid var(--o-line); }
.o-next small { display: block; font-size: 12px; letter-spacing: .08em; font-weight: 700; }
.o-next p { margin: 4px 0 8px; font-size: 14px; color: var(--o-mute); }
.o-next .o-chip { display: inline-block; font-size: 14px; padding: 6px 22px; border-radius: 10px; }
.o-fab {
  position: absolute; right: 18px; bottom: 30px; z-index: 5; background: var(--o-green); color: #fff;
  border-radius: 18px; padding: 13px 22px; font-weight: 600; font-size: 16px; display: flex; gap: 8px; align-items: center;
  box-shadow: 0 10px 24px -8px rgba(31, 138, 76, .7);
}
/* modal screens */
.o-modal { padding: 60px 20px 0; }
.o-mtitle { display: flex; align-items: center; justify-content: center; position: relative; height: 40px; font-weight: 600; font-size: 18px; }
.o-mtitle .x { position: absolute; left: 0; font-size: 26px; font-weight: 300; }
.o-h { font-weight: 600; font-size: 19px; margin: 14px 0 4px; }
.o-sub { font-size: 13.5px; color: #4b5a50; margin: 0 0 12px; }
.o-label { font-size: 12px; font-weight: 700; letter-spacing: .07em; margin: 14px 0 8px; }
.o-drop {
  border: 2px dashed var(--o-green); background: #E3EFE2; border-radius: 18px; min-height: 170px;
  display: grid; place-items: center; text-align: center; color: var(--o-green); padding: 18px; position: relative; overflow: hidden;
}
.o-drop .plus { font-size: 36px; font-weight: 300; line-height: 1; }
.o-drop strong { display: block; font-size: 18px; margin: 4px 0; }
.o-drop span { font-size: 13px; opacity: .85; }
.o-card { background: #fff; border-radius: 20px; padding: 14px; }
.o-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.o-field { border: 1.5px solid var(--o-line); border-radius: 14px; padding: 9px 14px; margin-bottom: 12px; }
.o-field small { display: block; font-size: 12px; color: var(--o-mute); }
.o-field div { font-size: 17px; min-height: 22px; }
.o-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 12px; font-size: 16px; }
.o-row > span { display: flex; align-items: center; gap: 10px; }
.o-switch { width: 52px; height: 30px; border-radius: 99px; background: #7c8f84; position: relative; }
.o-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.o-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 16px; padding: 0 2px; }
.o-cols small { display: block; font-size: 12px; color: var(--o-mute); }
.o-add {
  position: absolute; left: 20px; right: 20px; bottom: 30px; background: var(--o-green); color: #fff; border-radius: 18px;
  text-align: center; padding: 15px; font-size: 17px; font-weight: 600;
}
.o-sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 12; border-radius: 26px; background: #F4F6EE;
  padding: 18px 18px 22px; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35);
  transition: transform .6s cubic-bezier(.2,.9,.25,1.15), opacity .4s;
}
.o-ios { position: absolute; left: 10px; right: 10px; bottom: 96px; z-index: 12; transition: transform .55s cubic-bezier(.2,.9,.25,1.1), opacity .35s; }
.o-ios div { background: rgba(255,255,255,.96); text-align: center; color: #0A7AFF; font-size: 20px; padding: 17px; font-family: -apple-system, "SF Pro Text", sans-serif; }
.o-ios div:first-child { border-radius: 16px 16px 0 0; border-bottom: 1px solid #ddd; }
.o-ios div:nth-child(2) { border-radius: 0 0 16px 16px; }
.o-ios div.cancel { margin-top: 8px; border-radius: 16px; font-weight: 600; }
.o-dim { position: absolute; inset: 0; z-index: 11; background: rgba(10, 30, 18, .32); transition: opacity .4s; }
.o-guest { display: flex; align-items: center; gap: 14px; padding: 14px 6px; font-size: 19px; border-bottom: 1px solid var(--o-line); }
.o-guest:last-child { border-bottom: 0; }
.o-guest i { width: 24px; height: 24px; border-radius: 50%; }
.o-guest .box { margin-left: auto; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid #cfd6cc; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.o-guest .box.on { background: var(--o-green); border-color: var(--o-green); }
.o-guest .box svg { width: 15px; opacity: 0; transform: scale(.4); transition: .35s cubic-bezier(.2,.9,.3,1.4); }
.o-guest .box.on svg { opacity: 1; transform: none; }
.o-toast {
  position: absolute; z-index: 25; top: 64px; left: 50%; transform: translate(-50%, -260%); opacity: 0; background: var(--o-forest); color: #fff;
  padding: 10px 18px; border-radius: 99px; font-size: 14px; display: flex; gap: 8px; align-items: center; transition: transform .55s cubic-bezier(.2,.9,.25,1.2), opacity .3s;
  white-space: nowrap;
}
.o-toast.show { transform: translate(-50%, 0); opacity: 1; }
.o-toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--o-lime); }
/* upload states */
.o-roster {
  position: absolute; inset: 12px; background: #fff; border-radius: 10px; padding: 10px; transform: rotate(-3deg) scale(.6); opacity: 0;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); transition: transform .7s cubic-bezier(.2,.9,.25,1.2), opacity .4s; text-align: left; color: #333;
}
.o-roster table { width: 100%; border-collapse: collapse; font-size: 9px; font-family: "DM Mono", ui-monospace, monospace; }
.o-roster td, .o-roster th { border: 1px solid #ddd; padding: 2px 3px; text-align: center; }
.o-roster th { background: #eee; }
.o-scan { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: var(--o-lime); box-shadow: 0 0 14px 4px rgba(216, 248, 106, .8); opacity: 0; }
.o-proc {
  position: absolute; left: 14px; right: 14px; top: 300px; z-index: 12; background: #fff; border-radius: 22px; padding: 20px; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); transition: transform .5s cubic-bezier(.2,.9,.25,1.2), opacity .35s;
}
.o-proc strong { font-size: 20px; display: block; }
.o-proc p { margin: 6px 0 14px; font-size: 13.5px; color: var(--o-mute); }
.o-bar { height: 8px; border-radius: 99px; background: var(--o-mint); overflow: hidden; }
.o-bar i { display: block; height: 100%; width: 0; background: var(--o-green); border-radius: 99px; }
.o-found { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.o-found .o-chip { font-size: 13px; padding: 4px 10px; border-radius: 8px; }
/* week list */
.o-weekbar { margin: 0 12px; background: #fff; border-radius: 22px; padding: 12px 10px 8px; }
.o-wdays { display: grid; grid-template-columns: 28px repeat(7, 1fr) 28px; align-items: center; text-align: center; font-size: 14px; color: var(--o-mute); }
.o-wdays .arr { width: 28px; height: 28px; border: 1px solid var(--o-line); border-radius: 50%; display: grid; place-items: center; color: var(--o-ink); }
.o-wdays .sel { border: 1.5px solid var(--o-green); border-radius: 99px; color: var(--o-green); font-weight: 600; padding: 4px 0; }
.o-wdays span { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.o-wlist { margin: 8px 12px 0; }
.o-wl { padding: 9px 12px 11px; border-bottom: 1px solid var(--o-line); border-radius: 14px; position: relative; transition: background .5s, box-shadow .5s; }
.o-wl small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; margin-bottom: 6px; }
.o-wl .chips { display: flex; gap: 6px; }
.o-wl .o-chip { font-size: 14px; padding: 6px 12px; border-radius: 9px; }
.o-wl.free { background: #F4FCE0; box-shadow: inset 0 0 0 1.5px var(--o-green); }
.o-wl .tag {
  position: absolute; right: 10px; top: 10px; background: var(--o-lime); color: var(--o-forest); font-size: 11.5px; font-weight: 700;
  padding: 4px 9px; border-radius: 99px; transform: scale(0); transition: transform .45s cubic-bezier(.2,.9,.3,1.5);
}
.o-wl.free .tag { transform: scale(1); }
.o-banner {
  margin: 0 12px 8px; background: var(--o-forest); color: #fff; border-radius: 16px; padding: 10px 14px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.o-banner b { color: var(--o-lime); font-size: 22px; font-weight: 700; }
/* colours popover */
.o-pop {
  position: absolute; z-index: 12; right: 16px; top: 236px; width: 210px; background: #fff; border-radius: 18px; padding: 12px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.4); transition: transform .5s cubic-bezier(.2,.9,.25,1.2), opacity .35s; transform-origin: 90% 0;
}
.o-pop small { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.o-sw { display: flex; gap: 8px; margin-top: 10px; }
.o-sw i { width: 28px; height: 28px; border-radius: 50%; display: block; transition: box-shadow .3s; }
.o-sw i.on { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--o-green); }
/* hidden states */
.oscreen .off { opacity: 0; transform: translateY(40px) scale(.96); pointer-events: none; }
.oscreen .o-sheet.off, .oscreen .o-ios.off { transform: translateY(110%); opacity: 1; }
.oscreen .o-dim.off { opacity: 0; transform: none; }
.oscreen .o-pop.off { transform: scale(.6); opacity: 0; }
.oscreen .o-chip.pop { opacity: 0; transform: scale(.4); }
@media (prefers-reduced-motion: reduce) {
  .oscreen *, .ophone { transition: none !important; animation: none !important; }
}

/* client notes Oct 2026 */
.o-head .o-title { font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: var(--o-forest); }
.o-review { position: absolute; inset: 0; z-index: 15; background: var(--o-paper); transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.o-review .o-toolbar { padding: 14px 16px 10px; }
.oscreen .o-review.off { transform: translateY(102%); opacity: 1; }
.o-wl.free { background: #fff; box-shadow: inset 0 0 0 1.5px var(--o-green), 0 10px 22px -12px rgba(11,59,36,.35); }
.o-wl .tag { background: none; color: var(--o-green); font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 5px; padding: 0; }

/* week view like the app: list on a white card, Monday 13 lifted out past the screen edges */
.o-wlist { background: #fff; border-radius: 22px; padding: 4px 4px 0; position: relative; }
.o-wl.free, .o-wl.free:not(.x) { background: none; box-shadow: none; }
.o-wl[data-k="free"] > * { visibility: hidden; }
.o-poplayer { position: absolute; z-index: 40; top: calc(var(--pw) * 0.034); left: calc(var(--pw) * 0.034); width: 390px; height: 0; transform-origin: 0 0; pointer-events: none; font-family: "Outfit", system-ui, sans-serif; color: var(--o-ink); -webkit-font-smoothing: antialiased; }
.o-poplayer * { box-sizing: border-box; }
.o-lift { position: absolute; transform: translateY(-50%); left: 4px; right: 4px; padding: 9px 14px 11px; border-radius: 16px; background: #fff;
  transition: left .55s cubic-bezier(.2,.9,.3,1.25), right .55s cubic-bezier(.2,.9,.3,1.25), background .4s, box-shadow .4s, padding .4s; }
.o-lift small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; margin-bottom: 6px; transition: color .4s; }
.o-lift .chips { display: flex; gap: 6px; }
.o-lift .o-chip { display: block; font-size: 14px; padding: 6px 12px; border-radius: 9px; transition: all .45s cubic-bezier(.2,.9,.3,1.25); }
.o-lift .c-sun { background: var(--o-sun); } .o-lift .c-lilac { background: var(--o-lilac); color: #3a2a56; }
.o-lift .o-free { position: absolute; background: none; padding: 0; right: 16px; top: 11px; display: flex; align-items: center; gap: 6px; color: var(--o-green); font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .4s .15s; }
.o-lift .o-free svg { width: 17px; height: 17px; }
.o-lift.on { left: -38px; right: -38px; padding: 14px 18px 16px; background: #F1FADF; box-shadow: inset 0 0 0 2px var(--o-green), 0 22px 40px -18px rgba(11,59,36,.45); }
.o-lift.on small { color: var(--o-green); font-size: 14px; }
.o-lift.on .o-chip { font-size: 16px; padding: 8px 14px; border-radius: 10px; }
.o-lift.on .o-free { opacity: 1; font-size: 16px; right: 20px; top: 14px; }
@media (prefers-reduced-motion: reduce) { .o-lift, .o-lift * { transition: none !important; } }
.o-head .o-logo { height: 31px; width: auto; display: block; }

/* week view matched to the app screenshot (Oct 2026) */
.oscreen, .o-poplayer { text-align: left; }
.o-weekbar { margin: 0 12px; border-radius: 22px 22px 0 0; padding: 14px 10px 12px; box-shadow: none; }
.o-wdays .arr { background: #fff; border: 1px solid var(--o-line); box-shadow: 0 2px 6px rgba(11,59,36,.08); font-size: 16px; }
.o-wdays span { gap: 8px; }
.o-wdays .sel { justify-self: center; width: 42px; padding: 7px 0; background: #EEF6EA; border: 1.5px solid var(--o-green); color: var(--o-green); font-weight: 700; }
.o-wdays .sel em { font-weight: 600; }
.o-wlist { margin: 0 12px; border-radius: 0 0 22px 22px; padding: 2px 6px 0; }
.o-wl { border-radius: 0; padding: 12px 10px 13px; }
.o-wl small { color: var(--o-ink); }
.o-lift { left: 6px; right: 6px; }
.o-lift.on { left: -36px; right: -36px; padding: 14px 18px 16px; border-radius: 16px; background: #F4FAF1;
  box-shadow: inset 0 0 0 1.5px #5E8F6E, 0 20px 36px -20px rgba(11,59,36,.45); }
.o-lift small, .o-lift.on small { color: #3E6B4C; font-size: 15px; font-weight: 700; letter-spacing: .03em; margin-bottom: 10px; }
.o-lift.on .o-chip { font-size: 17px; font-weight: 400; color: #12261A; padding: 12px 14px; border-radius: 12px; }
.o-lift .o-free, .o-lift.on .o-free { top: 11px; right: 14px; background: #E9F3E5; color: #4E7A5A; padding: 5px 12px 5px 10px; border-radius: 99px; font-weight: 500; font-size: 15px; gap: 6px; }
.o-lift .o-free svg { width: 18px; height: 18px; }
.o-wl[data-k="free"] { height: 128px; border-bottom: 0; }
.o-lift, .o-lift.on { transform: translateY(-46%); }
.o-wl[data-k="free"] { height: 106px; }
.o-lift, .o-lift.on { transform: translateY(-52%); }
.o-lift.on { padding: 12px 16px 14px; }
.o-lift.on small { margin-bottom: 8px; }
.o-lift.on .o-chip { padding: 10px 13px; font-size: 16px; }
.o-wdays .sel { width: 34px; padding: 10px 0 9px; border-radius: 99px; background: #E8F1E4; border-width: 1.5px; }
.o-wdays { grid-template-columns: 34px repeat(7, 1fr) 34px; }
.o-wdays .arr { width: 34px; height: 34px; font-size: 20px; font-weight: 500; line-height: 1; padding: 0 0 3px; }

/* free days in month view: date plus the Free Day icon, like the app */
.o-day.both b { background: none; color: inherit; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 2px; }
.o-day.both b svg { width: 14px; height: 14px; flex: none; color: var(--o-green); }
.o-day.today.both b { padding: 0 2px; }
