/* Employee Portal — phone first, light and readable outdoors */
@font-face{font-family:"Playfair Display";src:url(../assets/fonts/playfair-display-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/fonts/manrope-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.st{margin:0;background:#f5f2ec;color:#1c1a1d;font:400 16px/1.5 Manrope,system-ui,-apple-system,"Segoe UI",sans-serif}
.demo-bar{background:#f3dc9c;color:#1a1205;text-align:center;font:600 13.5px/1.5 Manrope,system-ui,sans-serif;padding:8px 12px}
.demo-bar button{font:inherit;border:1px solid #1a1205;background:transparent;border-radius:999px;padding:2px 10px;cursor:pointer}
.demo-bar a{color:#1a1205}
.st-top{display:flex;align-items:center;gap:14px;background:#0b0a0d;color:#fff;padding:10px 16px;border-bottom:3px solid #d9b25f;position:sticky;top:0;z-index:5}
.st-top__who{display:flex;flex-direction:column;line-height:1.2;margin-left:auto;text-align:right}
.st-top__who b{font:700 15px/1.2 "Playfair Display",Georgia,serif}
.st-top__who small{color:#d9b25f;font-size:12.5px}
.st-gate{padding:60px 20px;text-align:center;color:#6b6468}
.st-main{max-width:640px;margin:0 auto;padding:0 14px 30px}
.st-tabs{display:flex;gap:6px;overflow-x:auto;padding:12px 0 6px;position:sticky;top:69px;background:#f5f2ec;z-index:4;scrollbar-width:none}
.st-tabs::-webkit-scrollbar{display:none}
.st-tabs button{flex:none;font:600 14px/1 Manrope,system-ui,sans-serif;border:1px solid #ddd5c8;background:#fff;color:#1c1a1d;border-radius:999px;padding:10px 14px;cursor:pointer}
.st-tabs button[aria-current=page]{background:#1c1a1d;color:#fff;border-color:#1c1a1d}
.st-dot{display:inline-block;min-width:18px;padding:2px 5px;border-radius:999px;background:#b3261e;color:#fff;font-size:11px;margin-left:4px}
.st-h{font:700 28px/1.15 "Playfair Display",Georgia,serif;margin:14px 0 2px}
.st-h2{font:700 13px/1 Manrope,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8a6d2f;margin:22px 0 8px}
.st-sub{color:#6b6468;margin:0 0 12px}
.st-muted{color:#6b6468}
.st-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #e7e0d5;border-radius:16px;padding:14px 16px;margin:0 0 10px;color:inherit;font:inherit}
button.st-card{cursor:pointer}
.st-card p{margin:4px 0}
.st-clock{text-align:center;padding:20px 16px}
.st-clock.on{border-color:#2e7d4f;background:#f2faf5}
.st-big{font:700 30px/1.2 "Playfair Display",Georgia,serif;margin:6px 0 12px!important}
.st-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:700 15px/1 Manrope,system-ui,sans-serif;border-radius:12px;border:1px solid #cfc5b4;background:#fff;color:#1c1a1d;padding:14px 18px;cursor:pointer;text-decoration:none;min-height:48px}
.st-btn--gold{background:linear-gradient(180deg,#fbe7a8,#d9b25f 55%,#b58a3c);border-color:#b58a3c;color:#1a1205}
.st-btn--dark{background:#1c1a1d;border-color:#1c1a1d;color:#fff}
.st-btn--sm{padding:9px 12px;min-height:38px;font-size:13.5px}
.st-clock .st-btn{width:100%;max-width:320px;font-size:17px}
.st-full{grid-column:1/-1;width:100%}
.st-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.st-row small,.st-job small,.st-list small{display:block;color:#6b6468;font-size:13px}
.st-job{border-left:5px solid #d9cfbf}
.st-job--high{border-left-color:#d99a2b}
.st-job--urgent{border-left-color:#b3261e}
.st-job__top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.st-pri{color:#b3261e!important;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:11px!important;margin-top:4px}
.st-bar{display:block;height:6px;background:#eee7dc;border-radius:999px;margin-top:8px;overflow:hidden}
.st-bar i{display:block;height:100%;background:#2e7d4f}
.st-bar .w0{width:0}.st-bar .w10{width:10%}.st-bar .w20{width:20%}.st-bar .w30{width:30%}.st-bar .w40{width:40%}.st-bar .w50{width:50%}.st-bar .w60{width:60%}.st-bar .w70{width:70%}.st-bar .w80{width:80%}.st-bar .w90{width:90%}.st-bar .w100{width:100%}
.st-pill{display:inline-block;font:700 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:5px 8px;border-radius:999px;background:#eee7dc;color:#5d5149;white-space:nowrap}
.st-pill--done,.st-pill--approved,.st-pill--pass{background:#e2f3e8;color:#1f6b3f}
.st-pill--in-progress,.st-pill--pending,.st-pill--new,.st-pill--open,.st-pill--high{background:#fdf0d5;color:#8a5a00}
.st-pill--urgent,.st-pill--denied,.st-pill--fail{background:#fbe2df;color:#9b1c14}
.st-pill--scheduled{background:#e3ecfb;color:#1d4f9b}
.st-ann{border-left:4px solid #d9b25f}
.st-list{list-style:none;margin:0;padding:0}
.st-list li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #f0eae0}
.st-list li:last-child{border-bottom:0}
.st-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st-form label,.st-block,.st-card>label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:14px}
input,textarea,select{font:inherit;font-size:16px;border:1px solid #d7cfc2;border-radius:10px;padding:11px 12px;background:#fff;color:inherit;width:100%}
textarea{resize:vertical}
.st-seg{display:flex;flex-wrap:wrap;gap:6px}
.st-seg button{flex:1 1 auto;font:600 14px/1 Manrope,system-ui,sans-serif;text-transform:capitalize;border:1px solid #d7cfc2;background:#fff;border-radius:10px;padding:12px 10px;cursor:pointer;min-height:44px}
.st-seg button[aria-pressed=true]{background:#1c1a1d;color:#fff;border-color:#1c1a1d}
.st-seg--sm button{padding:9px 8px;min-height:38px}
.st-check{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #f0eae0;font-weight:500!important;flex-direction:row!important}
.st-check input{width:24px;height:24px;flex:none;accent-color:#2e7d4f}
.st-check input:checked+span{text-decoration:line-through;color:#8b847f}
.st-part{margin:2px 0!important;font-size:14px}
.st-photos{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.st-photos img{width:96px;height:96px;object-fit:cover;border-radius:10px}
#phcap{margin-top:8px}
.st-sig{width:100%;height:auto;aspect-ratio:600/220;border:2px dashed #cfc5b4;border-radius:12px;background:#fff;touch-action:none;display:block}
.st-sigbar{display:flex;justify-content:flex-end;margin:6px 0}
.st-desc{white-space:pre-wrap;background:#faf7f2;border-radius:10px;padding:10px;margin-top:8px!important}
.st-back{border:0;background:none;font:600 15px/1 Manrope,system-ui,sans-serif;color:#8a6d2f;padding:14px 0 0;cursor:pointer}
.st-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st-kpis small{display:block;color:#6b6468;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.st-kpis b{font:700 28px/1.2 "Playfair Display",Georgia,serif}
.st-ask{display:flex;gap:8px}
.st-ai p{white-space:pre-wrap}
.st-ai small{color:#8a6d2f;font-weight:600}
.st-insp{padding:10px 0;border-bottom:1px solid #f0eae0}
.st-insp p{font-weight:600;margin:0 0 6px!important}
.st-insp input{margin-top:6px}
.st-toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#1c1a1d;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;z-index:20;max-width:92vw;text-align:center}
body.st .usa-foot{color:#6b6468}
.st-top img{height:44px;width:auto;display:block}
/* sign-in on the light Employee Portal */
body.st .lg__f input{background:#fff;color:#1c1a1d;border:1px solid #d7cfc2}
body.st .lg__link{color:#8a6d2f}
body.st .st-gate h1,body.st .lg h1,body.st .lg h2{font-family:"Playfair Display",Georgia,serif;color:#1c1a1d}
body.st .sig__own{color:#8a6d2f}

/* ===== Calm Employee Portal ===== */
body.st{background:#f6f4f0}
.st-top{border-bottom:2px solid #b08a3e}
.st-card{border-radius:18px;border-color:#ece6dc;box-shadow:0 1px 2px rgba(27,26,30,.04),0 10px 26px rgba(27,26,30,.04);transition:border-color .18s ease,box-shadow .18s ease}
button.st-card:hover{border-color:#dccaa0}
.st-clock{border-radius:24px;padding:28px 20px;box-shadow:0 1px 2px rgba(27,26,30,.04),0 16px 40px rgba(27,26,30,.06)}
.st-clock .st-btn{height:56px;border-radius:999px;font-size:17px}
.st-btn{border-radius:999px;transition:filter .18s ease,background .18s ease}
.st-btn--gold{background:linear-gradient(180deg,#f1d58a,#c9a24a 55%,#a07a32);border-color:transparent}
.st-btn--gold:hover{filter:brightness(1.04)}
.st-h{font-size:30px}
.st-h2{color:#8a6a24}
.st-tabs button{transition:background .18s ease,color .18s ease}
.st-main{animation:stIn .32s cubic-bezier(.2,.7,.2,1)}
@keyframes stIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.st-main{animation:none}}
/* breaks, reminders, safety check */
.st-brk{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.st-btn--sm{padding:9px 12px;font-size:14px;flex:1 1 30%}
.st-remind{margin:8px 0;padding:10px 12px;border-radius:10px;background:rgba(217,178,95,.14);border:1px solid rgba(217,178,95,.5);font-weight:600;line-height:1.4}
.st-remind--heat{background:rgba(80,160,255,.12);border-color:rgba(80,160,255,.5)}
.st-warn{margin:8px 0;padding:10px 12px;border-radius:10px;background:rgba(230,80,60,.12);border:1px solid rgba(230,80,60,.5);font-weight:600}
.st-onbreak{margin:10px 0;font-size:16px}
.st-rules{margin-top:12px;font-size:13px;opacity:.9}.st-rules summary{cursor:pointer;font-weight:600}.st-rules ul{margin:6px 0 0 18px;padding:0}.st-rules li{margin:4px 0}
.st-h3{margin:0 0 6px;font-size:18px}.st-lbl{display:block;margin:10px 0;font-weight:600;font-size:14px}.st-lbl select,.st-lbl textarea,.st-lbl input{display:block;width:100%;margin-top:4px;padding:10px;border-radius:10px;border:1px solid rgba(128,128,128,.4);font:inherit;background:transparent;color:inherit}
.st-chk{display:flex;gap:8px;align-items:center;margin:8px 0;font-size:14px}
.st-clock .st-lbl,.st-clock .st-chk{text-align:left}.st-chk{flex-direction:row!important;justify-content:flex-start}.st-chk input{width:20px!important;height:20px;flex:none;margin:0}
/* iPhone: nothing wider than the screen, no sideways sliding */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
.st-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.st-form>*{min-width:0}
.st-form input,.st-form select,.st-form textarea,.st-card input,.st-card select,.st-card textarea{min-width:0;max-width:100%;box-sizing:border-box}
.st-form input[type=date]{-webkit-appearance:none;appearance:none;width:100%;min-height:44px;display:block}
.mb__when>label{flex-direction:row!important;justify-content:flex-start;text-align:left;font-weight:500}
.mb__when input[type=radio],.mb__when input[type=checkbox],.mb__day input{width:auto!important;flex:none;margin:0}
.st-loc{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;margin:6px 0 10px;text-align:left}
.st-notice{border:1px solid rgba(217,178,95,.55);background:rgba(217,178,95,.08)}
.st-notice p{margin:.4em 0}
.st-edited{color:#d9b25f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
@media (max-width:560px){
  .st-top{flex-wrap:wrap;gap:6px 10px;padding:8px 12px}
  .st-top img{height:36px}
  .st-top__who{flex:1 1 calc(100% - 90px);min-width:0}
  .st-top__who small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .st-top>.lg-acct{margin-left:0!important;padding:5px 11px}
  .st-top>.lg-out{margin-left:auto!important}
  .st-top .mpb{margin-left:0}
}
