/* Generated from tokens.json by src/gen_tokens.py. Theme=[data-theme], mode=[data-mode]. (#217) The tfp light colors below are PeliFlo Light (same values as owner-tokens.css and PRLook TFP.light), not the old cream set. */
:root,[data-theme='tfp']{
  --font-display:'Josefin Sans', sans-serif;
  --font-heading:'Josefin Sans', sans-serif;
  --font-body:'Figtree', sans-serif;
  --font-numeric:'Figtree', sans-serif;
  --font-accent-serif:'Fraunces', serif;
  --font-hand:'Caveat', cursive;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:16px;
  --radius-pill:999px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --elev-1:0 1px 2px rgba(15,43,70,.06), 0 1px 1px rgba(15,43,70,.04);
  --elev-2:0 4px 14px rgba(15,43,70,.10);
  --elev-3:0 18px 48px rgba(15,43,70,.22);
  --tap-min:44px;
  --logo:url('assets/fly-pelican-02-horizontal.svg');
  --c-bg:#F4F7FA;
  --c-surface:#E6ECF2;
  --c-surface-2:#DEE6EF;
  --c-text:#0F2B46;
  --c-muted:#4A5D70;
  --c-border:#0F2B4629;
  --c-border-strong:#70839A;
  --c-primary:#FF6F59;
  --c-on-primary:#0F2B46;
  --c-accent:#FF6F59;
  --c-on-accent:#0F2B46;
  --c-accent-text:#A83722;
  --c-teal:#11716C;
  --c-teal-text:#11716C;
  --c-success:#176E44;
  --c-success-bg:#E1F2E8;
  --c-warning:#8A5300;
  --c-warning-bg:#FBEBD0;
  --c-danger:#A83722;
  --c-danger-bg:#FFE6E1;
  --c-info:#11716C;
  --c-info-bg:#DDF0EE;
  --c-status-inchair:#11716C;
  --c-status-free:#176E44;
  --c-status-break:#8A5300;
  --c-status-booked:#A83722;
  --c-status-off:#5A6B7C;
  --c-focus:#11716C;
  --c-overlay:rgba(244,247,250,.78);
}
[data-theme='tfp'][data-mode='dark']{
  --logo:url('assets/fly-pelican-02-horizontal-reverse.svg');
  --c-bg:#0B1B2C;
  --c-surface:#10253B;
  --c-surface-2:#163049;
  --c-text:#F3EFE8;
  --c-muted:#C0B6A8;
  --c-border:#203B57;
  --c-border-strong:#6789B0;
  --c-primary:#FF7A66;
  --c-on-primary:#0B1B2C;
  --c-accent:#FF7A66;
  --c-on-accent:#0B1B2C;
  --c-accent-text:#FF9C8C;
  --c-teal:#3CC2BA;
  --c-teal-text:#5FD0C8;
  --c-success:#5FD39A;
  --c-success-bg:#103A2E;
  --c-warning:#F5B94E;
  --c-warning-bg:#3A2E14;
  --c-danger:#FF8A80;
  --c-danger-bg:#47211F;
  --c-info:#5FD0C8;
  --c-info-bg:#0F3A42;
  --c-status-inchair:#5FD0C8;
  --c-status-free:#5FD39A;
  --c-status-break:#F5B94E;
  --c-status-booked:#FF9C8C;
  --c-status-off:#93A3B3;
  --c-focus:#5FD0C8;
  --c-overlay:rgba(0,0,0,.6);
}
[data-theme='fade']{
  --font-display:'Antonio', sans-serif;
  --font-heading:'Antonio', sans-serif;
  --font-body:'Asap Condensed', sans-serif;
  --font-numeric:'Asap Condensed', sans-serif;
  --font-accent-serif:'Antonio', sans-serif;
  --font-hand:'Antonio', sans-serif;
  --radius-sm:0px;
  --radius-md:2px;
  --radius-lg:2px;
  --radius-pill:2px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --elev-1:0 1px 2px rgba(15,43,70,.06), 0 1px 1px rgba(15,43,70,.04);
  --elev-2:0 4px 14px rgba(15,43,70,.10);
  --elev-3:0 18px 48px rgba(15,43,70,.22);
  --tap-min:44px;
  --logo:url('assets/fade-factory-logo-light.svg');
  --c-bg:#F4F1EA;
  --c-surface:#FFFFFF;
  --c-surface-2:#EAE4D6;
  --c-text:#111111;
  --c-muted:#55524C;
  --c-border:#D9D2C2;
  --c-border-strong:#B7AD97;
  --c-primary:#111111;
  --c-on-primary:#F2C14E;
  --c-accent:#D4A537;
  --c-on-accent:#111111;
  --c-accent-text:#7A5A10;
  --c-teal:#7A5A10;
  --c-teal-text:#7A5A10;
  --c-success:#2F6B3A;
  --c-success-bg:#E5EFE3;
  --c-warning:#7A5A10;
  --c-warning-bg:#F6EDD3;
  --c-danger:#A3241B;
  --c-danger-bg:#F7E2DF;
  --c-info:#3E4A5C;
  --c-info-bg:#E6E9EE;
  --c-status-inchair:#7A5A10;
  --c-status-free:#2F6B3A;
  --c-status-break:#8A5300;
  --c-status-booked:#A3241B;
  --c-status-off:#5F5F5F;
  --c-focus:#D4A537;
  --c-overlay:rgba(0,0,0,.5);
}
[data-theme='fade'][data-mode='dark']{
  --logo:url('assets/fade-factory-logo.svg');
  --c-bg:#0B0B0B;
  --c-surface:#161616;
  --c-surface-2:#202020;
  --c-text:#F5EFE0;
  --c-muted:#B5AE9E;
  --c-border:#2E2E2E;
  --c-border-strong:#4A4A4A;
  --c-primary:#D4A537;
  --c-on-primary:#0B0B0B;
  --c-accent:#D4A537;
  --c-on-accent:#0B0B0B;
  --c-accent-text:#E7BE5A;
  --c-teal:#E7BE5A;
  --c-teal-text:#E7BE5A;
  --c-success:#7CCB8A;
  --c-success-bg:#16301B;
  --c-warning:#E7BE5A;
  --c-warning-bg:#33290F;
  --c-danger:#FF8C80;
  --c-danger-bg:#3A1714;
  --c-info:#A9B8CC;
  --c-info-bg:#1C2430;
  --c-status-inchair:#E7BE5A;
  --c-status-free:#7CCB8A;
  --c-status-break:#F0A85A;
  --c-status-booked:#FF8C80;
  --c-status-off:#9A9A9A;
  --c-focus:#E7BE5A;
  --c-overlay:rgba(0,0,0,.7);
}/* Coastline Cuts v2 (TFP Client Design palette.json): cobalt + sun gold on cool neutrals. Gold is fill-only (dark text on it). */
[data-theme='coastline']{
  --font-display:'Bricolage Grotesque', sans-serif;
  --font-heading:'Bricolage Grotesque', sans-serif;
  --font-body:'Instrument Sans', sans-serif;
  --font-numeric:'Instrument Sans', sans-serif;
  --radius-sm:8px;--radius-md:14px;--radius-lg:26px;--radius-pill:999px;
  --c-bg:#EDECE7;--c-surface:#FFFFFF;--c-surface-2:#E2E1DB;--c-text:#17181C;--c-muted:#5E5F66;
  --c-border:#D6D5CF;--c-border-strong:#B9B8B1;--c-primary:#2340C8;--c-on-primary:#FFFFFF;
  --c-accent:#F5BC1C;--c-on-accent:#17181C;--c-accent-text:#2340C8;--c-teal:#2340C8;--c-teal-text:#2340C8;
  --c-success:#1D7144;--c-success-bg:#DDEFE3;--c-warning:#8F5A00;--c-warning-bg:#FBEFD0;--c-danger:#B42318;--c-danger-bg:#FCE6E3;
  --c-info:#2340C8;--c-info-bg:#E3E8FB;--c-status-inchair:#2340C8;--c-status-free:#1D7144;--c-status-break:#8F5A00;--c-status-booked:#2340C8;--c-status-off:#5E5F66;
  --c-focus:#2340C8;--c-overlay:rgba(23,24,28,.45);
}
[data-theme='coastline'][data-mode='dark']{
  --c-bg:#121315;--c-surface:#1D1F23;--c-surface-2:#272A30;--c-text:#EDECE7;--c-muted:#A7A8AE;
  --c-border:#2E3138;--c-border-strong:#3D414A;--c-primary:#8DA2FF;--c-on-primary:#121315;
  --c-accent:#FFD24D;--c-on-accent:#121315;--c-accent-text:#8DA2FF;--c-teal:#8DA2FF;--c-teal-text:#8DA2FF;
  --c-success:#5ACF8A;--c-success-bg:#163423;--c-warning:#F59E0B;--c-warning-bg:#3A2C10;--c-danger:#FF8A80;--c-danger-bg:#45201F;
  --c-info:#8DA2FF;--c-info-bg:#1E2747;--c-status-inchair:#8DA2FF;--c-status-free:#5ACF8A;--c-status-break:#F59E0B;--c-status-booked:#FFD24D;--c-status-off:#A7A8AE;
  --c-focus:#8DA2FF;--c-overlay:rgba(0,0,0,.6);
}

/* (DT Oct 27) iOS WebKit gives time/date inputs a big intrinsic width, so they overflowed into their neighbors. Match text inputs; never overflow. */
input[type=time],input[type=date],input[type=datetime-local],input[type=month],input[type=week]{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:0 12px;font-family:inherit;font-size:16px;line-height:44px;color:var(--c-text);background:var(--c-bg);border:1px solid var(--c-border-strong);border-radius:10px;text-align:left}
input[type=time]::-webkit-date-and-time-value,input[type=date]::-webkit-date-and-time-value,input[type=datetime-local]::-webkit-date-and-time-value{text-align:left;min-width:0;margin:0}
input[type=time]::-webkit-datetime-edit,input[type=date]::-webkit-datetime-edit{padding:0}
input[type=time]::-webkit-calendar-picker-indicator,input[type=date]::-webkit-calendar-picker-indicator{margin:0 0 0 4px;padding:0}
label:has(>input[type=time]),label:has(>input[type=date]),label:has(>input[type=datetime-local]){min-width:0}

/* ---- Selects + pills (Oct 27). Every remaining <select> matches text inputs; short ones become pills via /js/pills.js. */
select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;box-sizing:border-box;min-height:44px;max-width:100%;padding:0 40px 0 12px;font-family:inherit;font-size:16px;font-weight:500;line-height:1.2;color:var(--c-text);border:1px solid var(--c-border-strong);border-radius:10px;background:var(--c-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px 16px;text-overflow:ellipsis}
select:not([multiple]):not([size]):disabled{opacity:.55}
select::-ms-expand{display:none}
select.pfp-src{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none;clip:rect(0 0 0 0);overflow:hidden}
.pfp{display:grid;gap:6px;width:100%;margin-top:6px}
.pfp-seg{grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:0;padding:3px;border-radius:12px;background:var(--c-surface-2,#eee);border:1px solid var(--c-border,#ddd)}
.pfp-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.pfp-cards.pfp-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pfp-3 .pfp-o{flex-direction:column;justify-content:center;text-align:center;gap:4px;padding:8px 6px;font-size:14px}
.pfp-o{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 12px;font:600 15px/1.2 var(--font-body,inherit);color:var(--c-text);background:var(--c-bg);border:1px solid var(--c-border-strong);border-radius:10px;cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent;transition:background .12s,border-color .12s,color .12s}
.pfp-seg .pfp-o{background:transparent;border-color:transparent;border-radius:9px;min-height:40px;padding:4px 6px;font-size:14px}
.pfp-cards .pfp-o{justify-content:flex-start;text-align:left}
.pfp-o.on{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary,#fff)}
.pfp-seg .pfp-o.on{box-shadow:0 1px 3px rgba(0,0,0,.18)}
.pfp-o:focus-visible{outline:2px solid var(--c-primary);outline-offset:2px}
.pfp-o:disabled{cursor:default;opacity:.5}.pfp-o.on:disabled{opacity:.75}
.pfp-ic{font-size:18px;line-height:1;flex:0 0 auto}.pfp-ph{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.pfp-t{min-width:0;overflow-wrap:break-word}
.pfp-hint{margin-top:6px;font-size:13px;line-height:1.35;color:var(--c-text-muted,var(--c-muted,#777))}
/* progressive reveal (no jump: height animates via grid rows) + quick-pick chips */
.rv{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .22s ease,opacity .18s ease}.rv>*{min-height:0;overflow:hidden}
.rv>div{display:flex;flex-direction:column;gap:14px;padding-top:2px}
.rv.rv-off{grid-template-rows:0fr;opacity:0;pointer-events:none}
.qpick{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.qpick button{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--c-border-strong);background:var(--c-bg);color:var(--c-text);font:600 14px var(--font-body,inherit);cursor:pointer}
.qpick button.on{background:var(--c-primary);border-color:var(--c-primary);color:var(--c-on-primary,#fff)}
.affix{position:relative;display:block}.affix::after{position:absolute;top:50%;transform:translateY(-50%);content:attr(data-affix);font-weight:700;color:var(--c-muted);pointer-events:none}
.affix.post::after{right:14px}.affix.post input{padding-right:34px}.affix.pre::after{left:14px}.affix.pre input{padding-left:28px}
@media (prefers-reduced-motion:reduce){.rv{transition:none}}
/* steppers */
.pfs{display:inline-flex;align-items:center;gap:0;border:1px solid var(--c-border-strong);border-radius:10px;background:var(--c-bg);min-height:44px;max-width:100%;overflow:hidden}
.pfs input{border:0!important;outline-offset:-2px;width:3.2em!important;min-width:0;min-height:42px;text-align:center;padding:0!important;background:transparent;font-size:17px;font-weight:700;-moz-appearance:textfield}
.pfs input::-webkit-inner-spin-button,.pfs input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pfs-b{width:44px;min-height:42px;border:0;background:var(--c-surface-2,#eee);color:var(--c-text);font:700 20px/1 var(--font-body,inherit);cursor:pointer;-webkit-tap-highlight-color:transparent}.pfs-b:disabled{opacity:.4}
.pfs-u{font-size:14px;color:var(--c-muted);padding-right:10px}

/* (DTFIX Oct 30) iOS native time/date inputs: one height for box + value (value was stuck top-left when an app class made the box taller
   than the 44px line-height, e.g. barber .inp = 56px flex). --dt-h sets both; a clock/calendar icon on the right; the value is vertically centered. */
input[type=time],input[type=date],input[type=datetime-local]{--dt-h:44px;height:var(--dt-h);min-height:var(--dt-h);line-height:calc(var(--dt-h) - 2px);display:block;padding-top:0;padding-bottom:0;padding-right:40px;background-repeat:no-repeat;background-position:right 12px center;background-size:18px 18px}
input[type=time]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23889' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}input[type=date],input[type=datetime-local]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23889' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E")}
input[type=time]::-webkit-datetime-edit,input[type=date]::-webkit-datetime-edit,input[type=datetime-local]::-webkit-datetime-edit{line-height:inherit;padding:0}
input[type=time]::-webkit-calendar-picker-indicator,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;top:0;bottom:0;width:44px;height:auto;cursor:pointer}
input[type=time],input[type=date],input[type=datetime-local]{position:relative}

/* (CLEAN Nov 3) test-mode-only notes never show to shops or clients */
.pf-testonly{display:none!important}
