/* Shared launch-review corrections. Status colours and business logos retain their meaning. */
body.stp-app-body .stp-app-icon-action{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0}
body.stp-app-body .stp-app-icon-action.is-view{background:var(--jotikin-accent-soft);border-color:#b8cec3;color:var(--jotikin-accent-dark)}
body.stp-app-body :is(.stp-app-list-actions,.stp-app-form-actions,.nw-actions){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}
body.stp-app-body .stp-app-main>p:has(>a.stp-app-button){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin:16px 0}
body.stp-app-body .stp-app-form>button.stp-app-button{justify-self:end}
body.stp-app-body .stp-app-main>p:has(>a.stp-app-button)>a{max-width:100%}
body.stp-app-body .stp-product-toolbar{flex-wrap:wrap;align-items:flex-end}
body.stp-app-body .stp-product-toolbar form{flex:1 1 480px;flex-wrap:wrap}
body.stp-app-body .stp-product-toolbar label{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:750;color:var(--jotikin-ink)}
body.stp-app-body .stp-product-toolbar :is(input,select){box-sizing:border-box;width:100%;min-height:44px;border:1px solid #b8cec3;border-radius:10px;background:#fff;color:var(--jotikin-ink);padding:10px 12px;font:inherit}
body.stp-app-body .stp-product-toolbar>a{flex:0 1 auto}
body.stp-app-body .nw-income-form .nw-income-remove{width:44px;min-width:44px;min-height:44px}
body.stp-app-body :is(.nw-income-expense-head,.nw-income-form .nw-income-expense){grid-template-columns:minmax(0,1fr) 120px 100px 100px 44px}
body.stp-app-body :is(.nw-income-step-number,.stp-timecard-steps b){background:var(--jotikin-accent);color:#fff}
body.stp-app-body .stp-timecard-state.is-open{background:var(--jotikin-brand)}
body.stp-app-body .stp-timecard-summary>div:first-child strong{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
body.stp-app-body :is(.stp-training-count,.stp-training-total){background:var(--jotikin-brand)}
body.stp-app-body :is(.nw-table-scroll,.stp-app-table-wrap){max-width:100%;overflow-x:auto}
body.stp-app-body :is(.nw-metric-grid,.stp-app-form-grid)>*{min-width:0}
body.stp-app-body .nw-metric strong{font-size:clamp(24px,2.5vw,34px);overflow-wrap:anywhere}
body.stp-app-body .stp-app-form-grid{align-items:start}
body.stp-auth-body{background:var(--jotikin-canvas);color:var(--jotikin-ink);font-family:Inter,system-ui,sans-serif}
body.stp-auth-body .stp-auth-card{box-sizing:border-box;min-width:0;max-width:100%;border-radius:12px;border-color:var(--jotikin-line);box-shadow:var(--jotikin-shadow)}
body.stp-auth-body .stp-auth-card :is(h1,h2,h3){color:var(--jotikin-brand);overflow-wrap:anywhere}
body.stp-auth-body .stp-auth-form label{color:var(--jotikin-ink)}
body.stp-auth-body .stp-auth-form input:not([type=checkbox]){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;border-radius:10px;color:var(--jotikin-ink)}
body.stp-auth-body :is(.stp-auth-form button:not(.stp-password-toggle),.stp-auth-card .stp-app-button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;max-width:100%;padding:12px 16px;border:1px solid var(--jotikin-accent);border-radius:10px;background:var(--jotikin-accent);color:#fff;font:inherit;font-weight:750;text-align:center;text-decoration:none;white-space:normal}
body.stp-auth-body .stp-auth-card .stp-app-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #b8cec3;border-radius:10px;background:#fff;color:var(--jotikin-accent-dark);font:inherit;text-decoration:none}
body.stp-auth-body :is(a,.stp-signup-eyebrow){color:var(--jotikin-accent-dark)}
body.stp-auth-body .stp-auth-form input:focus{border-color:var(--jotikin-accent);outline:3px solid var(--jotikin-accent-soft)}
body.stp-auth-body :focus-visible{outline:3px solid var(--jotikin-accent);outline-offset:3px}
body.stp-auth-body .stp-account-section{margin-block:24px}
body.stp-auth-body .stp-auth-card>p{overflow-wrap:anywhere}
body.stp-app-body .nw-page-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin:16px 0}
body.stp-app-body .de-editor{--de-accent:var(--jotikin-accent);--de-border:var(--jotikin-line);--de-muted:var(--jotikin-muted)}
body.stp-app-body .de-editor :is(.stp-app-button,.stp-app-secondary-button,.stp-app-link-button){min-height:44px;border-radius:10px}
body.stp-app-body .de-editor .de-remove{width:44px;min-width:44px;min-height:44px}
body.stp-app-body .de-editor :is(.de-items-heading,.de-line-main){grid-template-columns:minmax(120px,1fr) 76px 118px 100px 44px}
body.stp-app-body .de-editor .stp-app-button:hover{background:var(--jotikin-accent-dark);border-color:var(--jotikin-accent-dark)}
body.stp-app-body .de-editor .stp-app-link-button{background:var(--jotikin-accent-soft);color:var(--jotikin-accent-dark)!important}
body.stp-app-body .de-editor :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid var(--jotikin-accent);outline-offset:3px}
body.stp-auth-body .stp-auth-form .stp-password-toggle{width:44px!important;min-width:44px;height:44px!important;min-height:44px!important}
body.stp-app-body .stp-app-main .stp-app-detail-bar :is(.stp-app-button,.stp-app-secondary-button){min-height:44px;border-radius:10px}
body.stp-app-body .stp-app-main .stp-app-detail-bar .stp-app-button{background:var(--jotikin-accent);border-color:var(--jotikin-accent)}
body.stp-app-body .stp-app-main :is(a.stp-app-button,a.stp-app-secondary-button){min-height:44px}
body.stp-app-body .nw-panel .stp-app-form{min-width:0}
body.stp-app-body .nw-hub-badge{background:var(--jotikin-brand)}
body.stp-app-body .nw-control-content form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;border:1px solid #b8cec3;border-radius:10px;background:#fff;color:var(--jotikin-ink);padding:10px 12px;font:inherit}
body.stp-app-body .nw-control-content .nw-search-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
body.stp-app-body .nw-control-content .nw-search-form>label{display:grid;gap:8px;flex:1 1 220px;min-width:0;font-size:13px;font-weight:750}
@media(max-width:900px){body.stp-app-body .de-editor .de-line-main{grid-template-columns:minmax(46px,.7fr) minmax(60px,1fr) minmax(60px,1fr) 44px}}
@media(max-width:760px){
 body.stp-app-body :is(input:not([type=checkbox]):not([type=radio]),select,textarea),body.stp-auth-body .stp-auth-form input{font-size:16px}
 body.stp-app-body .stp-product-toolbar form{flex-basis:100%}
 body.stp-app-body .stp-product-toolbar label{width:100%}
 body.stp-app-body :is(.nw-page-actions,.stp-app-list-actions,.stp-app-form-actions)>:is(a,button){max-width:100%}
 body.stp-app-body :is(.nw-page-actions,.stp-app-list-actions,.stp-app-form-actions)>form{max-width:100%}
 body.stp-app-body .nw-income-form .nw-income-expense{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}
 body.stp-app-body .de-editor .de-line-main input{font-size:16px}
 body.stp-auth-body .stp-auth-main{padding:24px 16px}
 body.stp-auth-body .stp-auth-card{padding:24px 18px}
 body.stp-auth-body .stp-auth-card h1{font-size:28px;line-height:1.15}
}
@media(max-width:480px){body.stp-app-body .de-editor .de-line-main{grid-template-columns:46px minmax(0,1fr) minmax(0,1fr) 44px}}
@media(max-width:640px){
 body.stp-app-body .nw-call-hours{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.stp-app-body .nw-call-hours>.nw-small-check{grid-column:1/-1}
 body.stp-app-body .nw-call-hours :is(label,input){min-width:0;max-width:100%;box-sizing:border-box}
 body.stp-app-body .nw-table-scroll table{display:table;min-width:600px}
 body.stp-app-body .nw-table-scroll thead{display:table-header-group}
 body.stp-app-body .nw-table-scroll tbody{display:table-row-group}
 body.stp-app-body .nw-table-scroll tr{display:table-row}
 body.stp-app-body .nw-table-scroll :is(td,th){display:table-cell;width:auto}
 body.stp-app-body .nw-table-scroll td:before{display:none}
}
/* Keep page identity visible on phone screens as well as larger layouts. */
body.stp-app-body:is(.stp-app-invoices,.stp-app-gallery) .stp-app-page-head{display:flex}
