
/* Pound Hill Pets Mobile App Shell */
.phpets-app {
    --phpets-green: #1f7a55;
    --phpets-dark: #11251d;
    --phpets-soft: #eef8f1;
    --phpets-line: #dbe8df;
    --phpets-warn: #8a5a00;
    max-width: 720px;
    min-height: 100svh;
    margin: 0 auto;
    padding: 0 16px 92px;
    background: linear-gradient(180deg, #f5fbf7 0%, #ffffff 48%);
    color: var(--phpets-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.phpets-app * { box-sizing: border-box; }
.phpets-app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 14px;
    background: linear-gradient(180deg, #f5fbf7 70%, rgba(245,251,247,0));
}
.phpets-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--phpets-green); }
.phpets-app h1 { margin: 2px 0 0; font-size: 30px; line-height: 1.05; }
.phpets-app h2 { margin: 0 0 12px; font-size: 18px; }
.phpets-app h3 { margin: 0 0 4px; font-size: 17px; }
.phpets-header-action,
.phpets-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--phpets-line);
    border-radius: 999px;
    background: #fff;
    color: var(--phpets-dark);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.phpets-header-action,
.phpets-button-primary { background: var(--phpets-green); border-color: var(--phpets-green); color: #fff; }
.phpets-button-full { width: 100%; border-radius: 14px; }
.phpets-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px; }
.phpets-summary { padding: 14px 10px; border: 1px solid var(--phpets-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(17,37,29,.05); }
.phpets-summary strong { display: block; font-size: 26px; line-height: 1; }
.phpets-summary span { display: block; margin-top: 4px; font-size: 12px; color: #52665d; }
.phpets-section { margin: 22px 0; }
.phpets-card,
.phpets-visit-card,
.phpets-list-card,
.phpets-empty { border: 1px solid var(--phpets-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 22px rgba(17,37,29,.05); }
.phpets-card { padding: 16px; }
.phpets-login { margin: 18vh auto 0; max-width: 420px; text-align: center; }
.phpets-visit-card,
.phpets-list-card { padding: 14px; margin: 0 0 12px; }
.phpets-visit-card p,
.phpets-list-card p { margin: 0; color: #52665d; }
.phpets-list-card a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--phpets-green); }
.phpets-time { display: inline-block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--phpets-green); }
.phpets-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.phpets-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--phpets-soft); color: var(--phpets-dark); font-size: 12px; font-weight: 700; }
.phpets-pill-completed { background: #dff5e8; color: #145c3c; }
.phpets-pill-cancelled,
.phpets-pill-no_show { background: #fae7e5; color: #8a2b21; }
.phpets-warnings { margin-top: 10px; padding: 10px; border-radius: 14px; background: #fff7df; color: var(--phpets-warn); font-size: 13px; font-weight: 650; }
.phpets-actions { display: flex; gap: 8px; margin-top: 12px; }
.phpets-empty { padding: 18px; color: #52665d; }
.phpets-form { display: grid; gap: 14px; }
.phpets-form label { display: grid; gap: 6px; font-weight: 800; }
.phpets-form input,
.phpets-form select,
.phpets-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--phpets-line);
    border-radius: 14px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}
.phpets-form select[multiple] { min-height: 170px; }
.phpets-help { display: block; font-weight: 500; color: #52665d; font-size: 13px; }
.phpets-form-message { min-height: 20px; font-weight: 700; }
.phpets-form-message.is-error { color: #8a2b21; }
.phpets-form-message.is-success { color: #145c3c; }
.phpets-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 50;
    width: min(680px, calc(100% - 24px));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--phpets-line);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 36px rgba(17,37,29,.16);
    backdrop-filter: blur(12px);
}
.phpets-bottom-nav a { display: grid; place-items: center; gap: 2px; padding: 8px 4px; border-radius: 18px; color: #52665d; text-decoration: none; font-size: 12px; }
.phpets-bottom-nav a span { font-size: 17px; line-height: 1; }
.phpets-bottom-nav a strong { font-size: 11px; }
.phpets-bottom-nav a.is-active { background: var(--phpets-soft); color: var(--phpets-green); }
@media (max-width: 420px) {
    .phpets-app { padding-left: 12px; padding-right: 12px; }
    .phpets-summary-grid { grid-template-columns: 1fr; }
    .phpets-app h1 { font-size: 27px; }
}

.phpets-doc-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.phpets-doc-list li {
    border-top: 1px solid rgba(18, 64, 46, 0.12);
    padding: 10px 0;
}
.phpets-doc-list li:first-child {
    border-top: 0;
}
.phpets-doc-list span {
    color: #4d6559;
    font-size: 0.92rem;
}
