/* Superhost Portal 1.3 — full-screen app. Brand teal #126A7E, mint #B2D3C8. */
:root {
	--shp-teal: #126a7e;
	--shp-teal-dark: #0b4f5e;
	--shp-teal-deep: #083a45;
	--shp-mint: #b2d3c8;
	--shp-mint-soft: #eaf4f0;
	--shp-bg: #f3f6f5;
	--shp-ink: #14232a;
	--shp-muted: #66777d;
	--shp-line: #e3ebe8;
	--shp-red: #c0352b;
	--shp-red-soft: #fdeceb;
	--shp-amber: #8a5a00;
	--shp-amber-soft: #fff3d6;
	--shp-green: #0f7a4b;
	--shp-green-soft: #e3f4ec;
	--shp-radius: 16px;
	--shp-shadow: 0 1px 2px rgba(16, 40, 48, .04), 0 4px 16px rgba(16, 40, 48, .05);
}
html, body.shp-body { margin: 0; padding: 0; background: var(--shp-bg); }
body.shp-body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--shp-ink); -webkit-font-smoothing: antialiased; }
.shp-portal { color: var(--shp-ink); font-size: 14.5px; line-height: 1.5; box-sizing: border-box; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.shp-portal *, .shp-portal *::before, .shp-portal *::after { box-sizing: border-box; }
.shp-portal h1, .shp-portal h2, .shp-portal h3 { font-family: inherit; letter-spacing: -.01em; }
.shp-portal h2 { font-size: 1.35rem; margin: 6px 0 12px; color: var(--shp-ink); font-weight: 700; }
.shp-portal h3 { font-size: 1rem; margin: 0 0 12px; color: var(--shp-ink); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.shp-portal a { color: var(--shp-teal); }
.shp-ico { width: 18px; height: 18px; flex: none; }
.shp-muted { color: var(--shp-muted); }
.shp-small { font-size: .84rem; }
.shp-center { text-align: center; }
.shp-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--shp-teal); }

/* ---------- App shell ---------- */
.shp-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.shp-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.shp-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--shp-teal-deep); color: #cfe3dd; padding: 18px 14px; overflow-y: auto; }
.shp-side-brand { text-decoration: none; padding: 4px 8px 18px; display: block; }
.shp-brand { display: inline-flex; align-items: center; gap: 10px; }
.shp-brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--shp-mint); color: var(--shp-teal-deep); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.shp-brand-text { color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.shp-brand-text b { color: var(--shp-mint); font-weight: 800; }
.shp-side-nav { flex: 1; }
.shp-side-group { margin-bottom: 14px; }
.shp-side-label { display: block; padding: 6px 10px; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(207, 227, 221, .55); font-weight: 700; }
.shp-portal .shp-side-link { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: #d6e8e2; text-decoration: none; font-weight: 500; font-size: .93rem; margin: 1px 0; transition: background .15s, color .15s; }
.shp-portal .shp-side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.shp-portal .shp-side-link.is-active { background: var(--shp-mint); color: var(--shp-teal-deep); font-weight: 700; }
.shp-side-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }
.shp-portal .shp-scrim { display: none; }

.shp-main { min-width: 0; display: flex; flex-direction: column; }
.shp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(243, 246, 245, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--shp-line); }
.shp-top-title { flex: 1; min-width: 0; }
.shp-top-title h1 { font-size: 1.25rem; margin: 0; font-weight: 700; line-height: 1.2; }
.shp-top-title .shp-muted { font-size: .82rem; }
.shp-top-actions { display: flex; align-items: center; gap: 12px; }
.shp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--shp-teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.shp-portal .shp-icon-btn { margin: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--shp-line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--shp-ink); font-size: 1rem; }
.shp-portal .shp-only-mobile { display: none; }
.shp-content { padding: 24px 28px 48px; max-width: 1360px; width: 100%; }

/* ---------- Cards & grids ---------- */
.shp-card { background: #fff; border: 1px solid var(--shp-line); border-radius: var(--shp-radius); padding: 20px; margin: 0 0 18px; box-shadow: var(--shp-shadow); min-width: 0; }
.shp-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shp-card-head h3 { margin: 0; }
.shp-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.shp-grid > .shp-card { margin: 0; }
.shp-grid-main { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
.shp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shp-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--shp-mint-soft); color: var(--shp-teal-dark); font-size: .78rem; font-weight: 700; }
.shp-empty { color: var(--shp-muted); background: var(--shp-bg); border-radius: 12px; padding: 18px; text-align: center; margin: 0; font-size: .9rem; }

/* ---------- Dashboard ---------- */
.shp-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.shp-hello h2 { font-size: 1.6rem; margin: 0 0 2px; }
.shp-hello p { margin: 0; }
.shp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.shp-portal .shp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-weight: 600; font-size: .85rem; text-decoration: none; }
.shp-chip .shp-ico { width: 16px; height: 16px; }
.shp-portal .shp-chip-amber { background: var(--shp-amber-soft); color: var(--shp-amber); }
.shp-portal .shp-chip-red { background: var(--shp-red-soft); color: var(--shp-red); }

.shp-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.shp-stat { background: #fff; border: 1px solid var(--shp-line); border-radius: var(--shp-radius); padding: 16px; box-shadow: var(--shp-shadow); min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.shp-stat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shp-stat-label { font-size: .8rem; font-weight: 600; color: var(--shp-muted); }
.shp-stat-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--shp-mint-soft); color: var(--shp-teal); display: grid; place-items: center; }
.shp-stat-value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shp-stat-foot { font-size: .78rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.shp-stat-hero { background: linear-gradient(135deg, var(--shp-teal) 0%, var(--shp-teal-deep) 100%); border-color: transparent; color: #fff; }
.shp-stat-hero .shp-stat-label, .shp-stat-hero .shp-muted { color: rgba(255, 255, 255, .78); }
.shp-stat-hero .shp-stat-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.shp-delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; padding: 1px 6px; border-radius: 99px; }
.shp-delta .shp-ico { width: 12px; height: 12px; stroke-width: 2.4; }
.shp-delta.is-good { background: var(--shp-green-soft); color: var(--shp-green); }
.shp-delta.is-bad { background: var(--shp-red-soft); color: var(--shp-red); }

.shp-legend { display: flex; gap: 14px; font-size: .8rem; color: var(--shp-muted); }
.shp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.shp-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.shp-legend i.is-in, .shp-bars-pair i.is-in { background: var(--shp-teal); }
.shp-legend i.is-out, .shp-bars-pair i.is-out { background: var(--shp-mint); }
.shp-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 280px; align-items: end; padding-top: 8px; }
.shp-portal .shp-bars-col { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-decoration: none; color: var(--shp-ink); border-radius: 12px; padding: 6px 4px; transition: background .15s; min-width: 0; }
.shp-portal .shp-bars-col:hover { background: var(--shp-bg); }
.shp-bars-col.is-current { background: var(--shp-mint-soft); }
.shp-bars-val { font-size: .74rem; font-weight: 700; color: var(--shp-muted); margin-bottom: 6px; white-space: nowrap; }
.shp-bars-col.is-current .shp-bars-val { color: var(--shp-teal-dark); }
.shp-bars-pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.shp-bars-pair i { display: block; width: 38%; max-width: 30px; border-radius: 7px 7px 3px 3px; }
.shp-bars-lbl { font-size: .8rem; font-weight: 600; margin-top: 8px; text-transform: capitalize; color: var(--shp-muted); }
.shp-bars-col.is-current .shp-bars-lbl { color: var(--shp-teal-dark); }

.shp-quick-card { border-top: 4px solid var(--shp-teal); }
.shp-chart-card { display: flex; flex-direction: column; }
.shp-chart-card .shp-bars { flex: 1; min-height: 280px; height: auto; }
.shp-feed { list-style: none; margin: 0; padding: 0; }
.shp-feed li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--shp-line); }
.shp-feed li:last-child { border-bottom: 0; }
.shp-feed li > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.shp-feed li > div strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shp-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.shp-dot.is-in { background: var(--shp-green-soft); color: var(--shp-green); }
.shp-dot.is-out { background: var(--shp-red-soft); color: var(--shp-red); }
.shp-dot .shp-ico { width: 16px; height: 16px; }
.shp-mini-bar { display: block; height: 4px; background: var(--shp-bg); border-radius: 99px; margin-top: 6px; overflow: hidden; max-width: 220px; }
.shp-mini-bar i { display: block; height: 100%; background: var(--shp-teal); border-radius: 99px; }
.shp-portal .shp-strong-link { font-weight: 600; color: var(--shp-ink); text-decoration: none; }
.shp-portal .shp-strong-link:hover { color: var(--shp-teal); }
.shp-sync { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--shp-muted); font-size: .84rem; padding: 6px 2px; }

/* ---------- Tables ---------- */
.shp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shp-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0; }
.shp-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--shp-muted); border-bottom: 1px solid var(--shp-line); padding: 10px 12px; white-space: nowrap; background: #fafcfb; font-weight: 700; }
.shp-table td { border-bottom: 1px solid var(--shp-line); padding: 11px 12px; vertical-align: top; background: none; }
.shp-table tbody tr:hover td { background: #fafcfb; }
.shp-table-clean th { background: none; }
.shp-table tfoot td { border-bottom: 0; border-top: 2px solid var(--shp-line); font-weight: 700; }
.shp-table tr.is-excluded td { opacity: .5; text-decoration: line-through; }
.shp-table tr.is-excluded td.shp-actions { text-decoration: none; opacity: 1; }
.shp-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shp-pos { color: var(--shp-green); }
.shp-neg { color: var(--shp-red); }
.shp-actions { white-space: nowrap; min-width: 120px; }
.shp-actions details { position: relative; }
.shp-actions details[open] { min-width: 260px; }
.shp-actions details[open] .shp-form { width: 260px; background: var(--shp-mint-soft); border-radius: 12px; padding: 12px; white-space: normal; margin-top: 8px; }
.shp-actions details[open] .shp-form + .shp-form { background: none; padding: 4px 0 0; margin-top: 4px; }
.shp-actions summary { list-style: none; }
.shp-actions summary::-webkit-details-marker { display: none; }

.shp-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: #eef1f1; color: var(--shp-muted); white-space: nowrap; }
.shp-badge-teal { background: var(--shp-mint-soft); color: var(--shp-teal-dark); }
.shp-badge-amber { background: var(--shp-amber-soft); color: var(--shp-amber); }
.shp-badge-red { background: var(--shp-red-soft); color: var(--shp-red); }

/* ---------- Forms ---------- */
.shp-form { margin: 0; }
.shp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 14px; margin-bottom: 14px; }
.shp-fields .shp-wide { grid-column: 1 / -1; }
.shp-fields-compact { grid-template-columns: 1fr 1fr; }
.shp-fields-compact .shp-f-prop, .shp-fields-compact .shp-f-cat { grid-column: 1 / -1; }
.shp-portal label { display: flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--shp-ink); margin: 0 0 8px; }
.shp-fields label { margin: 0; }
.shp-portal label.shp-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; font-size: .88rem; }
.shp-portal input[type=text], .shp-portal input[type=search], .shp-portal input[type=email], .shp-portal input[type=tel], .shp-portal input[type=password], .shp-portal input[type=number], .shp-portal input[type=date], .shp-portal input[type=month], .shp-portal select, .shp-portal textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #d3dfdb; border-radius: 10px; font: inherit; font-size: .93rem; font-weight: 400; background: #fff; color: var(--shp-ink); min-height: 42px; margin: 0; box-shadow: none;
}
.shp-portal input:focus, .shp-portal select:focus, .shp-portal textarea:focus { outline: 3px solid rgba(18, 106, 126, .15); border-color: var(--shp-teal); }
.shp-f-amount input { font-size: 1.15rem !important; font-weight: 700 !important; }
.shp-portal .shp-file input[type=file] { font-weight: 400; font-size: .85rem; padding: 10px; border: 1.5px dashed #c6d6d1; border-radius: 10px; background: var(--shp-bg); width: 100%; }
.shp-file em { font-style: normal; font-weight: 400; }
.shp-portal input[type=file] { font-weight: 400; font-size: .85rem; }
.shp-inline-fields { display: flex; gap: 8px; }
.shp-inline-fields input { max-width: 90px; }

.shp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--shp-bg); border-radius: 12px; margin-bottom: 14px; }
.shp-portal .shp-seg label { margin: 0; cursor: pointer; }
.shp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.shp-seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--shp-muted); transition: background .15s, color .15s; }
.shp-seg input:checked + span { background: #fff; color: var(--shp-teal-dark); box-shadow: 0 1px 3px rgba(16, 40, 48, .12); }
.shp-seg input:focus-visible + span { outline: 2px solid var(--shp-teal); }

.shp-btn, .shp-portal .login-submit input[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--shp-teal); color: #fff !important; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; line-height: 1.2; font-family: inherit; transition: background .15s, transform .05s; }
.shp-btn:hover, .shp-portal .login-submit input[type=submit]:hover { background: var(--shp-teal-dark); }
.shp-btn:active { transform: translateY(1px); }
.shp-btn .shp-ico { width: 17px; height: 17px; stroke-width: 2.2; }
.shp-btn-lg { padding: 11px 18px; }
.shp-btn-block { width: 100%; padding: 13px 18px; font-size: .95rem; }
.shp-btn-ghost { background: var(--shp-mint-soft); color: var(--shp-teal-dark) !important; }
.shp-btn-ghost:hover { background: var(--shp-mint); }
.shp-btn-sm { padding: 6px 12px; font-size: .8rem; border-radius: 8px; }
.shp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.shp-btn-link { background: none; border: 0; padding: 0; color: var(--shp-red); font-size: .85rem; cursor: pointer; text-decoration: underline; font-family: inherit; }
.shp-link { font-weight: 600; text-decoration: none; }
.shp-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.shp-inline { margin-top: 12px; }
.shp-inline > summary { list-style: none; display: inline-flex; margin-bottom: 12px; }
.shp-inline > summary::-webkit-details-marker { display: none; }
.shp-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 16px; }
.shp-filters label { margin: 0; min-width: 180px; }

.shp-notice { padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 500; }
.shp-notice-ok { background: var(--shp-green-soft); color: var(--shp-green); border: 1px solid #bfe3d1; }
.shp-notice-error { background: var(--shp-red-soft); color: var(--shp-red); border: 1px solid #f5c2bd; }
.shp-list { margin: 0; padding-left: 18px; }
.shp-list li { margin-bottom: 6px; }

/* Older views: KPI tiles and headers keep working inside the new shell. */
.shp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.shp-kpi { background: #fff; border: 1px solid var(--shp-line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shp-shadow); }
.shp-kpi span { display: block; font-size: .8rem; color: var(--shp-muted); font-weight: 600; }
.shp-kpi strong { display: block; font-size: 1.35rem; color: var(--shp-ink); margin-top: 2px; font-weight: 800; font-variant-numeric: tabular-nums; }
.shp-kpi-main { background: linear-gradient(135deg, var(--shp-teal), var(--shp-teal-deep)); border-color: transparent; }
.shp-kpi-main span, .shp-kpi-main strong { color: #fff; }
.shp-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(135deg, var(--shp-teal), var(--shp-teal-deep)); color: #fff; border-radius: var(--shp-radius); margin-bottom: 16px; }
.shp-header .shp-muted { color: rgba(255, 255, 255, .75); }
.shp-portal .shp-header .shp-link { color: #fff; }
.shp-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 16px; padding: 4px; background: #fff; border: 1px solid var(--shp-line); border-radius: 12px; }
.shp-portal .shp-tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 9px; text-decoration: none; color: var(--shp-muted); font-weight: 600; font-size: .88rem; }
.shp-portal .shp-tabs a:hover { background: var(--shp-bg); color: var(--shp-ink); }
.shp-portal .shp-tabs a.is-active { background: var(--shp-mint-soft); color: var(--shp-teal-dark); }

/* Solo pages: login, owners. */
.shp-solo { max-width: 1180px; margin: 0 auto; padding: 24px 20px 48px; }
.shp-login { max-width: 420px; margin: 8vh auto 0; }
.shp-login-brand { display: flex; justify-content: center; margin-bottom: 18px; }
.shp-login-brand .shp-brand-text { color: var(--shp-teal-deep); }
.shp-login-brand .shp-brand-text b { color: var(--shp-teal); }
.shp-login-brand .shp-brand-mark { background: var(--shp-teal); color: #fff; }
.shp-login .shp-card { padding: 28px; }
.shp-login h2 { margin-top: 0; }
.shp-login form p { margin: 0 0 14px; }
.shp-login .login-submit input[type=submit] { width: 100%; padding: 13px; }
.shp-login .login-remember label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }

.shp-statement-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.shp-statement-head h2 { margin: 4px 0 2px; }

/* Quick entry dialog */
.shp-dialog { width: min(520px, calc(100vw - 24px)); border: 0; border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(8, 40, 48, .28); color: var(--shp-ink); font-family: inherit; }
.shp-dialog::backdrop { background: rgba(8, 40, 48, .45); backdrop-filter: blur(2px); }
.shp-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.shp-dialog-head h3 { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.shp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
	.shp-grid-main, .shp-grid-3 { grid-template-columns: 1fr 1fr; }
	.shp-grid-main > .shp-card:first-child { grid-column: 1 / -1; }
	.shp-grid-3 > .shp-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.shp-app { grid-template-columns: 1fr; }
	.shp-side { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 50; transform: translateX(-100%); transition: transform .2s ease; }
	.shp-nav-toggle:checked ~ .shp-side { transform: none; }
	.shp-portal .shp-nav-toggle:checked ~ .shp-scrim { display: block; position: fixed; inset: 0; background: rgba(8, 40, 48, .45); z-index: 40; }
	.shp-portal .shp-only-mobile { display: inline-grid; }
	.shp-top { padding: 10px 16px; }
	.shp-top-title .shp-muted { display: none; }
	.shp-content { padding: 16px 16px 40px; }
	.shp-top-actions .shp-btn span { display: none; }
	.shp-top-actions .shp-btn { padding: 10px; }
	.shp-avatar { display: none; }
	.shp-grid-main, .shp-grid-2, .shp-grid-3 { grid-template-columns: 1fr; }
	.shp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.shp-stat { padding: 14px; }
	.shp-stat-value { font-size: 1.25rem; }
	.shp-hello h2 { font-size: 1.3rem; }
	.shp-bars { height: 220px; gap: 4px; }
	.shp-bars-val { font-size: .66rem; }
	.shp-actions details[open] .shp-form { width: auto; }
	.shp-statement .shp-table th:nth-child(3), .shp-statement .shp-table td:nth-child(3) { display: none; }
	.shp-statement-head { flex-direction: column; }
	.shp-header { flex-wrap: wrap; }
}
@media (max-width: 420px) {
	.shp-stat-ico { display: none; }
	.shp-fields-compact { grid-template-columns: 1fr; }
}

@media print {
	.shp-side, .shp-top, .shp-noprint, .shp-header, .shp-tabs, .shp-notice, .shp-dialog, #wpadminbar { display: none !important; }
	.shp-app { display: block; }
	body.shp-body { background: #fff; }
	.shp-content { padding: 0; }
	.shp-card { border: 0; box-shadow: none; padding: 0; }
	.shp-kpi-main { background: #fff; border: 2px solid var(--shp-teal); }
	.shp-kpi-main span, .shp-kpi-main strong { color: var(--shp-teal-dark); }
}

/* ---------- v1.2: inventory, cleanings, owner dashboard ---------- */
.shp-card-flat { box-shadow: none; background: var(--shp-mint-soft); border-color: transparent; }
.shp-kpis-sm .shp-kpi strong { font-size: 1.15rem; }
.shp-kpi-warn { background: var(--shp-amber-soft); border-left-color: #e0b04a; }
.shp-kpi-warn strong { color: var(--shp-amber); }
.shp-row-tight { gap: 16px; margin: 0; align-items: center; }
.shp-lang { font-size: .85rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 3px 10px; }
.shp-list-plain { list-style: none; padding: 0; }
.shp-list-plain li { align-items: center; margin: 0 0 10px; }

/* Inventory editor */
.shp-inv-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 12px; }
.shp-inv-toolbar .shp-inv-search { max-width: 320px; }
.shp-inv-area { border: 1px solid var(--shp-line); border-radius: 12px; margin: 0 0 10px; }
.shp-inv-area > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--shp-teal-dark); }
.shp-inv-area .shp-table-wrap { padding: 0 8px 8px; }
.shp-inv-table td { vertical-align: middle; }
.shp-inv-table input[type=text] { min-width: 140px; }
.shp-inv-table select { min-width: 120px; }
.shp-inv-row.is-missing td:first-child strong { color: var(--shp-red); }
.shp-inv-row.is-dirty { background: #fffbea; }
.shp-inv-req { width: 70px !important; text-align: center; }
.shp-stepper { display: inline-flex; align-items: center; border: 1px solid #c9d6d2; border-radius: 10px; overflow: hidden; background: #fff; }
.shp-stepper input { width: 58px !important; border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 700; min-height: 40px; -moz-appearance: textfield; }
.shp-stepper input::-webkit-outer-spin-button, .shp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shp-step { width: 40px; min-height: 40px; border: 0; background: var(--shp-mint-soft); color: var(--shp-teal-dark); font-size: 1.2rem; font-weight: 700; cursor: pointer; padding: 0; }
.shp-step:hover { background: var(--shp-mint); }
.shp-inv-del { margin: 4px 0 0 !important; color: var(--shp-muted); }
.shp-sticky-save { position: sticky; bottom: 0; background: linear-gradient(rgba(255,255,255,0), #fff 30%); padding: 14px 0 6px; z-index: 2; }

/* Cleanings */
.shp-day-row td { background: var(--shp-mint-soft) !important; font-weight: 700; color: var(--shp-teal-dark); padding: 7px 10px; }
.shp-clean-table select { min-width: 170px; }
.shp-clean-table input[type=text] { min-width: 180px; }
.shp-pop { width: 300px; white-space: normal; background: var(--shp-mint-soft); border-radius: 12px; padding: 12px; margin-top: 8px; }

/* Owner dashboard */
.shp-meter { display: block; height: 6px; background: #fff; border-radius: 99px; margin-top: 8px; overflow: hidden; font-style: normal; }
.shp-meter i { display: block; height: 100%; background: var(--shp-teal); border-radius: 99px; }
.shp-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 230px; padding-top: 18px; }
.shp-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; text-decoration: none; color: var(--shp-ink) !important; min-width: 0; }
.shp-bar-fill { display: block; width: 100%; max-width: 46px; background: var(--shp-mint); border-radius: 8px 8px 3px 3px; transition: background .15s; }
.shp-bar:hover .shp-bar-fill, .shp-bar.is-current .shp-bar-fill { background: var(--shp-teal); }
.shp-bar.is-neg .shp-bar-fill { background: #f3c4bf; }
.shp-bar-val { font-size: .72rem; color: var(--shp-muted); margin-bottom: 3px; white-space: nowrap; }
.shp-bar-lbl { font-size: .78rem; font-weight: 600; margin-top: 6px; text-transform: capitalize; }
.shp-bar-occ { font-size: .72rem; color: var(--shp-teal); font-weight: 600; }

@media (max-width: 820px) {
	.shp-chart { gap: 3px; height: 190px; }
	.shp-bar-val { display: none; }
	.shp-inv-table th:nth-child(6), .shp-inv-table td:nth-child(6) { display: none; }
	.shp-inv-table th:nth-child(5), .shp-inv-table td:nth-child(5) { display: none; }
	.shp-pop { width: 260px; }
}

/* ---------- v1.4: private payroll ---------- */
.shp-portal .shp-private { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 12px 16px; margin: -4px 0 18px; border-radius: 14px; background: #fff; border: 1px dashed #b9cfc8; text-decoration: none; color: var(--shp-ink); }
.shp-portal .shp-private:hover { border-color: var(--shp-teal); }
.shp-private > span { display: flex; flex-direction: column; line-height: 1.25; }
.shp-private em { font-style: normal; font-size: .74rem; color: var(--shp-muted); font-weight: 600; }
.shp-private b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.shp-private .shp-private-tag { flex-direction: row; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--shp-teal-deep); color: #fff; font-size: .74rem; font-weight: 700; }
.shp-private-tag .shp-ico { width: 14px; height: 14px; }
.shp-private .shp-private-go { margin-left: auto; color: var(--shp-teal); font-weight: 600; font-size: .85rem; }
.shp-private-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--shp-mint-soft); color: var(--shp-teal-dark); margin: 0 0 18px; font-size: .88rem; }
.shp-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shp-emp-grid { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.shp-emp { border: 1px solid var(--shp-line); border-radius: 14px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.shp-emp.is-featured { border: 2px solid var(--shp-teal); background: linear-gradient(180deg, var(--shp-mint-soft), #fff 55%); }
.shp-emp.is-inactive { opacity: .6; }
.shp-emp-head { display: flex; align-items: center; gap: 12px; }
.shp-emp-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shp-emp-head span:not(.shp-emp-avatar) { color: var(--shp-muted); font-size: .84rem; }
.shp-emp-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--shp-teal); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.shp-emp.is-featured .shp-emp-avatar { background: var(--shp-teal-deep); }
.shp-emp-star { font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--shp-teal); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.shp-emp-desc { margin: 0; font-size: .86rem; color: #3b4b51; }
.shp-emp-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 10px; background: var(--shp-bg); border-radius: 10px; }
.shp-emp-pay div { display: flex; flex-direction: column; }
.shp-emp-pay dt { font-size: .7rem; color: var(--shp-muted); font-weight: 600; }
.shp-emp-pay dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.shp-emp-pay .is-total dd { color: var(--shp-teal-dark); }
.shp-emp .shp-inline { margin-top: auto; }
@media (max-width: 900px) { .shp-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shp-private .shp-private-go { margin-left: 0; } }

.shp-json { max-height: 460px; overflow: auto; background: #0f2329; color: #d6e8e2; padding: 14px; border-radius: 12px; font-size: .78rem; line-height: 1.45; white-space: pre; }
.shp-actions .shp-btn-sm { margin: 2px 0; }
.shp-chip-btn { border: 1px solid var(--shp-line); background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 .8rem Inter, sans-serif; color: var(--shp-teal-dark); cursor: pointer; }
.shp-chip-btn:hover { background: var(--shp-mint-soft); }
.shp-seg-2 { max-width: 360px; }
.shp-quick-ranges { align-items: center; margin: 0 0 14px; }

/* ---------- v1.7: suitcase brand mark, full checklist inventory ---------- */
.shp-brand-mark { background: transparent !important; color: var(--shp-mint); width: 26px !important; height: 34px !important; border-radius: 0 !important; }
.shp-brand-mark svg { width: 100%; height: 100%; display: block; }
.shp-login-brand .shp-brand-mark { color: var(--shp-mint) !important; background: transparent !important; }
.shp-inv-row.is-new td strong { font-weight: 500; color: #3b4b51; }
.shp-inv-row.has-qty td strong { font-weight: 700; color: var(--shp-ink); }
.shp-inv-row.has-qty .shp-stepper { border-color: var(--shp-teal); }
.shp-inv-row.has-qty .shp-stepper input { color: var(--shp-teal-dark); }
.shp-inv-row.is-new.is-missing:not(.has-qty) td:first-child strong { color: #3b4b51; }
.shp-inv-row.is-new:not(.has-qty) .shp-inv-miss .shp-neg { color: var(--shp-muted); font-weight: 400; }

.shp-cost-input { max-width: 96px; text-align: right; }

/* 1.10.0 · Manual y procesos */
.shp-portal .shp-manual-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.shp-portal .shp-manual-head p { margin: 0; }
.shp-portal .shp-manual { max-width: 860px; padding: 28px 32px; line-height: 1.6; font-size: 15px; }
.shp-portal .shp-manual h2 { font-size: 1.25rem; margin: 28px 0 10px; color: #083a45; }
.shp-portal .shp-manual h2:first-child, .shp-portal .shp-manual .shp-manual-title { margin-top: 0; }
.shp-portal .shp-manual h3 { font-size: 1.05rem; margin: 20px 0 8px; color: #0b4f5e; }
.shp-portal .shp-manual p { margin: 0 0 10px; }
.shp-portal .shp-manual ol, .shp-portal .shp-manual ul { margin: 0 0 12px; padding-left: 22px; }
.shp-portal .shp-manual li { margin: 0 0 6px; }
.shp-portal .shp-manual table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; }
.shp-portal .shp-manual th, .shp-portal .shp-manual td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #e1e9e6; vertical-align: top; }
.shp-portal .shp-manual th { background: #eaf4f0; color: #0b4f5e; font-weight: 700; }
.shp-portal .shp-manual img { max-width: 100%; height: auto; border-radius: 10px; }
.shp-portal .shp-process-list { display: grid; gap: 10px; max-width: 860px; }
.shp-portal .shp-process { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit; }
.shp-portal .shp-process:hover { border-color: #126a7e; }
.shp-portal .shp-process-ico { width: 40px; height: 40px; border-radius: 12px; background: #eaf4f0; color: #126a7e; display: grid; place-items: center; flex: none; }
.shp-portal .shp-process-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shp-portal .shp-process-main em { font-style: normal; color: #66777d; font-size: 14px; }
.shp-portal .shp-process-main small { color: #66777d; font-size: 12px; }
@media (max-width: 640px) { .shp-portal .shp-manual { padding: 20px 18px; } }
.shp-portal .shp-manual-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.shp-portal .shp-process-new { max-width: 860px; margin-top: 18px; }
.shp-portal .shp-ck-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.shp-portal .shp-ck-doc table tr.is-bad td { background: #fdeceb; }
.shp-portal .shp-ck-doc table tr.is-warn td { background: #fff3d6; }
.shp-portal .shp-ck-meta th { background: transparent !important; width: 18%; color: #66777d; }
.shp-portal .shp-ck-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.shp-portal .shp-ck-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media print { .shp-portal .shp-ck-doc { box-shadow: none; border: 0; max-width: none; padding: 0; } .shp-portal .shp-ck-doc table { page-break-inside: auto; } .shp-portal .shp-ck-doc tr { page-break-inside: avoid; } }

/* ---------- 1.12.0 · Cotizaciones ---------- */
.shp-stat-warn { background: var(--shp-amber-soft); border-color: #f0d48f; }
.shp-stat-warn .shp-stat-value { color: var(--shp-amber); }
.shp-stat-warn .shp-stat-ico { background: #fff; color: var(--shp-amber); }
.shp-card-warn { border-color: #f0d48f; background: linear-gradient(180deg, var(--shp-amber-soft), #fff 70%); }
.shp-btn-danger { background: var(--shp-red-soft) !important; color: var(--shp-red) !important; }
.shp-quote-form .shp-eyebrow { display: block; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--shp-line); }
.shp-quote-form .shp-eyebrow:first-of-type { border-top: 0; padding-top: 0; margin-top: 2px; }
.shp-quote-form [data-shp-quote-status] .is-bad { color: var(--shp-red); font-weight: 600; }
.shp-quote-form [data-shp-quote-status] .is-good { color: var(--shp-green); font-weight: 600; }
.shp-quote-total { display: grid; gap: 4px; background: var(--shp-mint-soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.shp-quote-total:empty { display: none; }
.shp-quote-total div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--shp-muted); }
.shp-quote-total .is-total { color: var(--shp-teal-deep); font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--shp-mint); padding-top: 6px; margin-top: 2px; }
.shp-quote-total .is-usd { font-size: .8rem; }
.shp-quote-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--shp-line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.shp-quote-meta div { padding: 10px 12px; border-right: 1px solid var(--shp-line); min-width: 0; }
.shp-quote-meta div:last-child { border-right: 0; }
.shp-quote-meta span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--shp-muted); font-weight: 600; }
.shp-quote-meta strong { display: block; font-size: .92rem; overflow-wrap: anywhere; }
.shp-quote-meta em { display: block; font-style: normal; font-size: .8rem; color: var(--shp-muted); overflow-wrap: anywhere; }
.shp-quote-total-row td { background: var(--shp-mint-soft); font-size: 1rem; }
.shp-quote-actions { display: grid; gap: 10px; }
.shp-quote-actions form { margin: 0; }
.shp-card-warn form label:not(.shp-check) { display: grid; gap: 4px; margin-bottom: 10px; }
.shp-card-warn form .shp-check { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
details.shp-card > summary { cursor: pointer; list-style-position: inside; }
details.shp-card[open] > summary { margin-bottom: 14px; }
@media (max-width: 700px) { .shp-quote-meta { grid-template-columns: 1fr 1fr; } .shp-quote-meta div:nth-child(2) { border-right: 0; } .shp-quote-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--shp-line); } }
