:root {
  --forest: #0b5fa5;
  --forest-2: #084c85;
  --forest-3: #1f8a5b;
  --cream: #f4f9fc;
  --paper: #ffffff;
  --ink: #102f46;
  --muted: #6c8190;
  --line: #dce8ef;
  --copper: #1f8a5b;
  --copper-soft: #e4f4ec;
  --sage: #74bfa0;
  --mint: #e9f6ef;
  --rose: #f4e4df;
  --sand: #f2e8d5;
  --shadow: 0 20px 50px rgba(11, 95, 165, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: #d9e8ef; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 50% 0%, #ffffff 0 15%, #d7e9f0 72%); font-family: var(--sans); min-height: 100vh; min-height: 100dvh; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button, textarea { font: inherit; }
button { color: inherit; touch-action: manipulation; }
input, select, textarea { touch-action: manipulation; }
button:focus-visible, textarea:focus-visible { outline: 3px solid rgba(31, 138, 91, .28); outline-offset: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.phone-shell { width: min(100%, 430px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--cream); position: relative; overflow: hidden; box-shadow: 0 0 70px rgba(31, 45, 39, .18); }
.status-bar { height: calc(30px + env(safe-area-inset-top)); padding: max(9px, env(safe-area-inset-top)) 22px 0; display: flex; align-items: center; justify-content: space-between; background: var(--cream); font-size: 11px; font-weight: 750; position: relative; z-index: 30; }
.status-icons { display: flex; align-items: center; gap: 6px; }
.status-icons svg { width: 14px; height: 14px; stroke-width: 2.2; }
.status-icons svg:first-child { fill: currentColor; stroke: none; }
.battery { width: 20px; height: 9px; border: 1.4px solid currentColor; border-radius: 2px; padding: 1px; position: relative; }
.battery::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: currentColor; }
.battery i { display: block; width: 78%; height: 100%; background: currentColor; border-radius: 1px; }

.auth-overlay { position: absolute; z-index: 80; left: 0; right: 0; top: calc(30px + env(safe-area-inset-top)); height: calc(100dvh - 30px - env(safe-area-inset-top)); background: var(--cream); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
.auth-overlay::-webkit-scrollbar { display: none; }
.auth-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.auth-view { display: none; min-height: 100%; padding: 20px 19px 30px; animation: screenIn .24s ease both; }
.auth-view.active { display: block; }
.auth-view.welcome-view.active { display: flex; flex-direction: column; padding: 0; }
.welcome-visual { min-height: 485px; flex: 1 0 58%; position: relative; overflow: hidden; border-radius: 0 0 34px 34px; color: white; }
.welcome-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.welcome-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,28,.35), transparent 38%, rgba(8,29,23,.88) 100%); }
.welcome-brand { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 9px; }
.welcome-brand > span { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48); background: rgba(20,54,45,.4); backdrop-filter: blur(9px); font-family: var(--serif); font-size: 12px; }
.welcome-brand div { display: flex; flex-direction: column; }
.welcome-brand strong { font-family: var(--serif); font-size: 15px; font-weight: 500; line-height: 1; }
.welcome-brand small { margin-top: 3px; font-size: 6px; letter-spacing: 2px; color: rgba(255,255,255,.72); }
.welcome-message { position: absolute; left: 21px; right: 21px; bottom: 26px; }
.welcome-message p { margin: 0 0 8px; font-size: 8px; font-weight: 850; letter-spacing: 1.6px; color: #cce0d7; }
.welcome-message h1 { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.04; font-weight: 500; letter-spacing: -.7px; }
.welcome-actions { padding: 22px 20px 18px; text-align: center; }
.welcome-actions > p { max-width: 340px; margin: 0 auto 17px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.auth-primary { min-height: 50px; font-size: 13px; }
.secondary-button { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--forest); font-size: 12px; font-weight: 800; margin-top: 8px; cursor: pointer; }
.secondary-button:hover { border-color: var(--sage); }
.secondary-button.hidden { display: none; }
.hidden { display: none !important; }
.admin-entry { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; border: 0; background: transparent; color: var(--forest-3); font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-entry svg { width: 12px; height: 12px; }
.welcome-actions > small { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 10px; }
.welcome-actions > small svg { width: 11px; height: 11px; color: var(--forest-3); }
.auth-header { height: 37px; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin-bottom: 25px; }
.auth-header.simple { display: flex; justify-content: space-between; }
.auth-back { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; display: grid; place-items: center; color: var(--forest); font-size: 17px; cursor: pointer; }
.auth-header > span:last-child { justify-self: end; color: var(--muted); font-size: 8px; font-weight: 750; }
.auth-progress { justify-self: center; display: flex; gap: 5px; }
.auth-progress i { width: 35px; height: 4px; border-radius: 99px; background: #dedbd3; }
.auth-progress i.active { background: var(--forest); }
.mini-brand { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-family: var(--serif); font-size: 10px; }
.admin-mini-brand { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--forest); color: white; }
.admin-mini-brand svg { width: 18px; height: 18px; }
.auth-copy { margin-bottom: 19px; }
.auth-copy h2 { margin: 5px 0 8px; font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.55px; }
.auth-copy > p:last-child { margin: 0; max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.auth-form { display: block; }
.auth-form .field-group.full { margin-bottom: 12px; }
.auth-form .field-group label { display: flex; justify-content: space-between; }
.auth-form .field-group label span { color: var(--muted); font-weight: 500; }
.auth-form .field-group input, .auth-form .field-group select { height: 50px; border-radius: 12px; font-size: 16px; }
.auth-form .field-group select { appearance: none; width: 100%; border: 1px solid var(--line); background: var(--paper) 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='%2375807a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); padding: 0 30px 0 10px; }
.auth-form textarea { width: 100%; height: 86px; resize: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 11px; font-size: 15px; line-height: 1.4; outline: none; }
.auth-form textarea:focus, .auth-form select:focus { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(53,98,85,.1); }
.phone-input { display: grid; grid-template-columns: 43px 1fr; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.phone-input:focus-within { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(53,98,85,.1); }
.phone-input > span { display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--forest); font-size: 9px; font-weight: 750; }
.phone-input input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.legal-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; margin: 4px 0 11px; }
.legal-check input { position: absolute; opacity: 0; }
.legal-check > span { width: 17px; height: 17px; flex: 0 0 auto; border: 1px solid #b9c2bd; border-radius: 5px; background: var(--paper); position: relative; }
.legal-check input:checked + span { background: var(--forest); border-color: var(--forest); }
.legal-check input:checked + span::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 10px; }
.legal-check p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 0; }
.legal-check b { color: var(--forest-3); }
.form-error { min-height: 13px; color: #a9564b; font-size: 8px; margin: 0 0 4px; }
.form-error.success { color: var(--forest-3); }
.forgot-button { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; margin: -2px 0 15px auto; padding: 4px 0; border: 0; background: transparent; color: var(--copper); font-size: 9px; font-weight: 750; cursor: pointer; }
.forgot-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.forgot-button:disabled { opacity: .55; cursor: wait; }
.reset-password-view { padding-bottom: 42px; }
.reset-key-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 28px 0 20px; border-radius: 22px; color: white; background: linear-gradient(145deg, var(--forest-2), var(--forest-3)); box-shadow: 0 14px 28px rgba(18,56,47,.2); }
.reset-key-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-security { margin-top: 20px; display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 13px; background: var(--mint); color: var(--forest); }
.auth-security svg { width: 22px; height: 22px; }
.auth-security div { display: flex; flex-direction: column; gap: 2px; }
.auth-security strong { font-size: 11px; }
.auth-security small { color: var(--forest-3); font-size: 10px; }
.admin-security-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 11px; border-radius: 13px; background: #eeece6; color: var(--muted); }
.admin-security-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--forest-3); }
.admin-security-note p { margin: 0; font-size: 7px; line-height: 1.5; }
.horse-photo-upload { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px dashed #aebbb4; background: rgba(255,255,255,.45); border-radius: 15px; padding: 10px; margin-bottom: 13px; cursor: pointer; }
.horse-photo-upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-preview { width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--forest-3); overflow: hidden; }
.photo-preview svg { width: 20px; height: 20px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.horse-photo-upload > span:nth-of-type(2) { display: flex; flex-direction: column; gap: 2px; }
.horse-photo-upload strong { font-size: 9px; }
.horse-photo-upload small { color: var(--muted); font-size: 7px; }
.horse-photo-upload > b { color: var(--copper); font-size: 7px; }
.gender-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gender-options label { display: block !important; }
.gender-options input { position: absolute; opacity: 0; }
.gender-options span { height: 39px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); display: grid; place-items: center; color: var(--muted) !important; font-size: 8px; font-weight: 750 !important; cursor: pointer; }
.gender-options input:checked + span { background: var(--mint); border-color: var(--forest-3); color: var(--forest) !important; box-shadow: inset 0 0 0 1px rgba(23,58,50,.08); }
.complete-view { text-align: center; padding-top: 62px; }
.complete-icon { width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest-3); box-shadow: 0 0 0 10px rgba(224,238,230,.55); }
.complete-icon svg { width: 31px; height: 31px; stroke-width: 2.4; }
.complete-view h2 { margin: 9px 0; font-family: var(--serif); font-size: 30px; line-height: 1.08; font-weight: 500; }
.complete-view h2 span { color: var(--forest-3); }
.complete-view > p:not(.eyebrow) { margin: 0 0 19px; color: var(--muted); font-size: 9px; }
.complete-view > p strong { color: var(--ink); }
.registered-horse-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 10px; margin-bottom: 12px; }
.registered-horse-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.registered-horse-card div { display: flex; flex-direction: column; gap: 2px; }
.registered-horse-card div span { color: var(--forest-3); font-size: 6px; font-weight: 850; letter-spacing: 1px; }
.registered-horse-card div strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.registered-horse-card div small { color: var(--muted); font-size: 8px; }
.registered-horse-card > i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest-3); font-style: normal; font-size: 10px; }
.complete-features { display: flex; justify-content: center; gap: 6px; margin-bottom: 21px; }
.complete-features span { padding: 6px 7px; border-radius: 99px; background: #edeae3; color: var(--forest-3); font-size: 7px; font-weight: 750; }
.complete-view > small { display: block; max-width: 290px; margin: 11px auto 0; color: var(--muted); font-size: 7px; line-height: 1.4; }
.approval-view { text-align: center; padding-top: 17px; }
.approval-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.approval-topbar button { border: 0; background: transparent; color: var(--muted); font-size: 8px; font-weight: 750; cursor: pointer; }
.pending-icon, .approved-icon { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.pending-icon { color: #9b6d3d; background: var(--sand); box-shadow: 0 0 0 9px rgba(242,232,213,.55); }
.pending-icon svg, .approved-icon svg { width: 30px; height: 30px; stroke-width: 2.1; }
.pending-badge, .approved-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 6px 9px; font-size: 7px; font-weight: 900; letter-spacing: .7px; }
.pending-badge { color: #8d653e; background: var(--sand); }
.pending-badge i { width: 5px; height: 5px; border-radius: 50%; background: #cf924e; box-shadow: 0 0 0 3px rgba(207,146,78,.14); }
.pending-badge.rejected { color: #974f47; background: #f7e4df; }
.pending-badge.rejected i { background: #b86157; box-shadow: 0 0 0 3px rgba(184,97,87,.14); }
.pending-icon.rejected { color: #974f47; background: #f7e4df; box-shadow: 0 0 0 9px rgba(247,228,223,.55); }
.approval-view > h2, .approved-view > h2 { margin: 10px 0 7px; font-family: var(--serif); font-size: 27px; line-height: 1.06; font-weight: 500; }
.approval-view > p, .approved-view > p { max-width: 345px; margin: 0 auto 16px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.application-summary { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.application-summary-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.application-summary-head > div { display: flex; flex-direction: column; gap: 2px; }
.application-summary-head span { color: var(--muted); font-size: 6px; letter-spacing: .7px; }
.application-summary-head strong { font-size: 9px; }
.application-summary-head time { color: var(--muted); font-size: 7px; }
.application-person { display: flex; align-items: center; gap: 9px; padding: 11px 0; }
.application-person > span, .admin-customer > span, .approved-summary > span { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: white; font-family: var(--serif); font-size: 13px; }
.application-person div, .admin-customer div { display: flex; flex-direction: column; gap: 2px; }
.application-person strong, .admin-customer strong { font-size: 9px; }
.application-person small, .admin-customer small { color: var(--muted); font-size: 7px; }
.application-horse { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; background: #f1eee7; border-radius: 13px; padding: 8px; }
.application-horse img { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; }
.application-horse div { display: flex; flex-direction: column; gap: 2px; }
.application-horse span, .admin-horse-card div > span { color: var(--forest-3); font-size: 6px; font-weight: 850; letter-spacing: .8px; }
.application-horse strong { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.application-horse small { color: var(--muted); font-size: 7px; }
.approval-timeline { text-align: left; margin: 14px 6px; }
.approval-timeline > div { display: grid; grid-template-columns: 24px 1fr; gap: 9px; min-height: 46px; position: relative; }
.approval-timeline > div:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 1px; background: var(--line); }
.approval-timeline i { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c6cbc7; background: var(--cream); color: var(--muted); font-size: 8px; font-style: normal; position: relative; z-index: 1; }
.approval-timeline .done i { background: var(--mint); border-color: #8eaa9b; color: var(--forest-3); }
.approval-timeline .current i { background: var(--sand); border-color: #d7a573; color: #95643b; }
.approval-timeline div > div { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.approval-timeline strong { font-size: 8px; }
.approval-timeline small { color: var(--muted); font-size: 7px; }
.admin-demo-button { position: relative; }
.admin-demo-button span { position: absolute; right: 11px; top: 12px; padding: 3px 5px; border-radius: 5px; background: var(--copper-soft); color: #95603a; font-size: 6px; }
.approval-help { display: block; max-width: 285px; margin: 11px auto 0; color: var(--muted); font-size: 7px; line-height: 1.4; }
.admin-view { padding-top: 15px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-header > div { display: flex; align-items: center; gap: 9px; }
.admin-header > div > div { display: flex; flex-direction: column; gap: 2px; }
.admin-header small { color: var(--forest-3); font-size: 6px; letter-spacing: .8px; font-weight: 800; }
.admin-header strong { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.admin-header > button { border: 0; background: #ece8e0; color: var(--muted); padding: 7px 9px; border-radius: 8px; font-size: 7px; font-weight: 750; cursor: pointer; }
.admin-dashboard-head { display: flex; justify-content: space-between; align-items: end; }
.admin-dashboard-head h2 { margin: 4px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.admin-dashboard-head > span { padding: 6px 8px; border-radius: 99px; background: var(--sand); color: #8d653e; font-size: 7px; font-weight: 750; }
.admin-dashboard-head b { font-size: 9px; }
.admin-filter { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 5px; background: #ebe8e1; border-radius: 11px; padding: 3px; margin: 13px 0; }
.admin-filter button { border: 0; background: transparent; border-radius: 8px; padding: 8px 4px; color: var(--muted); font-size: 7px; cursor: pointer; }
.admin-filter button.active { background: var(--paper); color: var(--forest); font-weight: 800; box-shadow: 0 3px 9px rgba(30,41,37,.07); }
.admin-filter b { display: inline-grid; place-items: center; min-width: 14px; height: 14px; margin-left: 2px; border-radius: 99px; background: var(--copper-soft); color: #985f36; font-size: 6px; }
.approval-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 13px; box-shadow: 0 12px 28px rgba(30,41,37,.06); }
.approval-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.waiting-label { display: inline-flex; align-items: center; gap: 5px; color: #8d653e; background: var(--sand); padding: 5px 7px; border-radius: 99px; font-size: 6px; font-weight: 900; }
.waiting-label i { width: 5px; height: 5px; border-radius: 50%; background: #cf924e; }
.approval-card-top time { color: var(--muted); font-size: 7px; }
.admin-customer { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; }
.admin-detail-grid div { display: flex; flex-direction: column; gap: 2px; }
.admin-detail-grid div + div { padding-left: 11px; border-left: 1px solid var(--line); }
.admin-detail-grid span { color: var(--muted); font-size: 6px; }
.admin-detail-grid strong { font-size: 8px; }
.admin-horse-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 11px 0; }
.admin-horse-card img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; }
.admin-horse-card div { display: flex; flex-direction: column; gap: 2px; }
.admin-horse-card div strong { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.admin-horse-card div small { color: var(--muted); font-size: 7px; }
.admin-horse-card button { border: 0; background: transparent; color: var(--copper); font-size: 7px; font-weight: 800; cursor: pointer; }
.admin-notice { display: flex; align-items: flex-start; gap: 7px; padding: 8px; border-radius: 11px; background: #eeece6; color: var(--muted); }
.admin-notice svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--forest-3); }
.admin-notice p { margin: 0; font-size: 6px; line-height: 1.45; }
.admin-actions { display: grid; grid-template-columns: .8fr 1.4fr; gap: 7px; margin-top: 11px; }
.admin-actions button { min-height: 39px; border-radius: 11px; font-size: 8px; font-weight: 850; cursor: pointer; }
.reject-button { border: 1px solid #d8b5ad; background: #fff8f6; color: #a45d52; }
.approve-button { border: 0; background: var(--forest); color: white; }
.approve-button span { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; background: rgba(255,255,255,.14); }
.admin-result { display: flex; align-items: center; gap: 9px; margin-top: 12px; border-radius: 14px; padding: 11px; background: var(--mint); color: var(--forest); }
.admin-result > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-size: 10px; }
.admin-result div { display: flex; flex-direction: column; gap: 2px; }
.admin-result strong { font-size: 9px; }
.admin-result small { color: var(--forest-3); font-size: 7px; }
.admin-result.rejected { background: #f7e4df; color: #7e3f39; }
.admin-result.rejected > span { background: #a9574d; }
.admin-result.rejected small { color: #8d5a54; }
.approved-view { text-align: center; padding-top: 82px; }
.approved-icon { background: var(--mint); color: var(--forest-3); box-shadow: 0 0 0 10px rgba(224,238,230,.55); }
.approved-badge { color: var(--forest-3); background: var(--mint); }
.approved-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; text-align: left; margin: 20px 0 18px; padding: 11px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.approved-summary div { display: flex; flex-direction: column; gap: 2px; }
.approved-summary strong { font-size: 9px; }
.approved-summary small { color: var(--muted); font-size: 7px; }
.approved-summary > i { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--forest-3); font-size: 9px; font-style: normal; }
.approved-view > small { display: block; margin-top: 11px; color: var(--muted); font-size: 7px; }

.screen { display: none; padding: 0 18px calc(114px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 30px - env(safe-area-inset-top)); animation: screenIn .28s ease both; }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.topbar, .page-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 16px; }
.topbar { position: relative; z-index: 35; }
.brand-mark { border: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; letter-spacing: -.5px; box-shadow: 0 6px 14px rgba(23, 58, 50, .17); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.brand-mark:hover, .brand-mark[aria-expanded="true"] { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(23,58,50,.22); }
.topbar-copy { margin-right: auto; margin-left: 11px; }
.topbar-copy p, .topbar-copy h1, .page-header p, .page-header h1 { margin: 0; }
.topbar-copy p { color: var(--muted); font-size: 11px; }
.topbar-copy h1 { font-size: 15px; letter-spacing: -.15px; }
.icon-button, .round-button { display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.72); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: .2s ease; }
.icon-button:hover, .round-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30,41,37,.1); }
.icon-button svg, .round-button svg { width: 19px; height: 19px; }
.notification-button { position: relative; }
.notification-button i { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); border: 1px solid var(--cream); position: absolute; right: 8px; top: 7px; }
.account-menu { position: absolute; z-index: 50; left: 0; top: 64px; width: min(330px, calc(100vw - 38px)); background: rgba(255,253,248,.98); border: 1px solid rgba(18,56,47,.11); border-radius: 22px; box-shadow: 0 24px 65px rgba(9,31,25,.2); padding: 12px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; backdrop-filter: blur(18px); }
.account-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .2s ease, transform .2s ease; }
.account-menu-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 6px 13px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, var(--forest), var(--forest-3)); color: white; font-family: var(--serif); font-size: 17px; }
.account-menu-head > div { display: flex; flex-direction: column; min-width: 0; }
.account-menu-head small { color: var(--forest-3); font-size: 6px; font-weight: 900; letter-spacing: .9px; }
.account-menu-head strong { margin-top: 2px; font-size: 11px; }
.account-menu-head p { margin: 1px 0 0; color: var(--muted); font-size: 7px; }
.account-status { display: inline-flex; align-items: center; gap: 4px; color: #4f7f67; background: var(--mint); border-radius: 99px; padding: 5px 7px; font-size: 6px; font-weight: 900; }
.account-status i { width: 5px; height: 5px; border-radius: 50%; background: #4f8c6a; }
.account-menu-actions { display: grid; gap: 4px; padding-top: 8px; }
.account-menu-actions button { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-radius: 13px; padding: 9px; text-align: left; color: var(--ink); cursor: pointer; transition: background .16s ease; }
.account-menu-actions button:hover { background: #f1eee7; }
.account-action-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--forest-3); }
.account-action-icon svg { width: 16px; height: 16px; }
.account-menu-actions button > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.account-menu-actions strong { font-size: 9px; }
.account-menu-actions small { color: var(--muted); font-size: 7px; }
.account-menu-actions b { color: var(--muted); font-size: 17px; font-weight: 400; }
.account-menu-actions .account-logout { color: #9a554e; border-top: 1px solid var(--line); border-radius: 0 0 13px 13px; margin-top: 3px; padding-top: 11px; }
.account-menu-actions .account-logout .account-action-icon { background: var(--rose); color: #9a554e; }

.horse-switcher { display: flex; gap: 8px; margin: 2px 0 12px; overflow-x: auto; scrollbar-width: none; }
.horse-switcher::-webkit-scrollbar { display: none; }
.horse-chip { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 5px 12px 5px 5px; background: rgba(255,255,255,.56); border-radius: 999px; font-weight: 700; font-size: 12px; cursor: pointer; }
.horse-chip.active { background: var(--paper); border-color: var(--forest-3); box-shadow: 0 4px 12px rgba(30,41,37,.07); }
.horse-chip img { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; }
.horse-avatar { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: white; font-family: var(--serif); font-size: 11px; }
.horse-chip.add-horse { color: var(--muted); padding-left: 9px; }
.horse-chip.add-horse > span { width: 20px; height: 20px; border: 1px dashed var(--sage); border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.horse-chip.add-horse small { font-size: 11px; }

.hero-card { height: 390px; position: relative; border-radius: 28px; overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.hero-card > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,31,27,.18) 0%, transparent 38%, rgba(8,26,22,.05) 49%, rgba(8,25,21,.88) 100%); }
.hero-topline { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; align-items: center; }
.live-pill { display: inline-flex; gap: 6px; align-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(20,53,45,.58); backdrop-filter: blur(12px); border-radius: 999px; padding: 7px 11px; font-size: 10px; font-weight: 750; }
.live-pill i { width: 6px; height: 6px; background: #8fdaa6; border-radius: 50%; box-shadow: 0 0 0 4px rgba(143,218,166,.16); }
.hero-topline .round-button { background: rgba(21,44,38,.42); border-color: rgba(255,255,255,.25); color: white; backdrop-filter: blur(10px); }
.hero-copy { position: absolute; inset: auto 18px 18px; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-copy h2 { font-family: var(--serif); font-size: 36px; line-height: 1; margin: 3px 0 8px; font-weight: 500; letter-spacing: -.7px; }
.eyebrow { font-size: 9px; letter-spacing: 1.35px; font-weight: 800; margin: 0; }
.eyebrow.olive { color: var(--forest-3); }
.eyebrow.soft { color: #cce0d7; }
.hero-update { font-size: 10px; color: rgba(255,255,255,.76); margin: 0; display: flex; align-items: center; gap: 6px; }
.hero-update i { width: 5px; height: 5px; border-radius: 50%; background: #a8d5b6; }
.profile-link, .text-link { border: 0; background: transparent; padding: 0; cursor: pointer; font-weight: 750; }
.profile-link { color: #fff; font-size: 10px; display: flex; align-items: center; gap: 6px; padding-bottom: 3px; }
.profile-link span { font-size: 16px; }
.text-link { color: var(--copper); font-size: 10px; }

.section-block { margin-top: 25px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.section-heading.compact { align-items: center; }
.section-heading h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.35px; margin: 3px 0 0; }
.health-score { background: var(--mint); color: var(--forest-2); font-size: 10px; font-weight: 800; border-radius: 99px; padding: 7px 10px; display: flex; align-items: center; gap: 5px; }
.health-score i { width: 6px; height: 6px; border-radius: 50%; background: #4c896b; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-card { background: var(--paper); padding: 11px 9px; border: 1px solid rgba(231,226,216,.9); border-radius: 17px; min-width: 0; }
.stat-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; margin-bottom: 9px; }
.stat-icon.mint { background: var(--mint); color: var(--forest-3); }
.stat-icon.sand { background: var(--sand); color: #927545; }
.stat-icon.rose { background: var(--rose); color: #9a5f54; }
.stat-icon svg { width: 15px; height: 15px; }
.stat-card > div { display: flex; flex-direction: column; }
.stat-card strong { font-size: 15px; }
.stat-card strong small { font-size: 8px; color: var(--muted); font-weight: 600; }
.stat-card div > span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.trend { display: block; width: fit-content; margin-top: 8px; padding: 3px 5px; border-radius: 5px; font-size: 7px; font-weight: 800; }
.trend.up { background: var(--mint); color: #4c8066; }
.trend.neutral { background: #f0eee8; color: #847f76; }

.request-grid { display: grid; gap: 9px; }
.request-card { border: 0; border-radius: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 13px; text-align: left; cursor: pointer; transition: .2s ease; }
.request-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30,41,37,.09); }
.request-card.photo { background: #e2eee7; color: var(--forest); }
.request-card.weight { background: #f2e5d6; color: #66482f; }
.request-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.56); }
.request-icon svg { width: 19px; height: 19px; }
.request-copy { display: flex; flex-direction: column; gap: 2px; }
.request-copy strong { font-size: 12px; }
.request-copy small { font-size: 9px; opacity: .65; }
.request-price { font-family: var(--serif); font-weight: 700; font-size: 14px; }

.timeline-mini { position: relative; }
.timeline-row { display: grid; grid-template-columns: 39px 17px 1fr auto; min-height: 58px; align-items: start; gap: 7px; position: relative; }
.timeline-row:not(:last-child)::before { content: ""; position: absolute; left: 53px; top: 17px; bottom: -2px; width: 1px; background: var(--line); }
.timeline-row time { color: var(--muted); font-size: 9px; padding-top: 3px; }
.timeline-row > i { width: 9px; height: 9px; border: 2px solid #b9c5be; border-radius: 50%; margin-top: 2px; background: var(--cream); position: relative; z-index: 1; }
.timeline-row.done > i { border-color: #56876e; background: #56876e; box-shadow: inset 0 0 0 2px var(--cream); }
.timeline-row.next > i { border-color: var(--copper); box-shadow: 0 0 0 4px var(--copper-soft); }
.timeline-row div { display: flex; flex-direction: column; gap: 4px; }
.timeline-row strong { font-size: 11px; }
.timeline-row span { color: var(--muted); font-size: 9px; }
.timeline-row b { font-size: 8px; color: #56876e; font-weight: 800; }
.timeline-row.next b { color: var(--copper); background: var(--copper-soft); border-radius: 99px; padding: 4px 7px; }

.update-card { display: grid; grid-template-columns: 42% 58%; min-height: 180px; background: var(--paper); border: 1px solid var(--line); border-radius: 23px; overflow: hidden; }
.update-image { position: relative; min-height: 180px; }
.update-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.update-image span { position: absolute; left: 10px; top: 10px; background: rgba(21,54,46,.76); color: white; border-radius: 99px; padding: 5px 8px; font-size: 8px; font-weight: 750; backdrop-filter: blur(8px); }
.update-copy { padding: 17px 16px; }
.update-copy h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 5px 0 8px; }
.update-copy > p:not(.eyebrow) { font-size: 9px; color: var(--muted); line-height: 1.5; margin: 0 0 15px; }
.caretaker { display: flex; align-items: center; gap: 7px; }
.caretaker > span { width: 26px; height: 26px; display: grid; place-items: center; background: var(--forest); color: white; border-radius: 50%; font-family: var(--serif); font-size: 10px; }
.caretaker div { display: flex; flex-direction: column; gap: 1px; }
.caretaker strong { font-size: 8px; }
.caretaker small { font-size: 7px; color: var(--muted); }

.page-header { padding-top: 19px; }
.page-header h1 { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.6px; margin-top: 3px; }
.secure-note { font-size: 9px; color: var(--forest-3); display: flex; align-items: center; gap: 4px; }
.secure-note svg { width: 13px; height: 13px; }
.score-card { background: var(--forest); color: white; border-radius: 24px; padding: 19px; display: flex; gap: 16px; align-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.score-card::after { content: ""; position: absolute; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -36px; top: -50px; }
.score-ring { flex: 0 0 80px; width: 80px; height: 80px; border: 7px solid rgba(255,255,255,.13); border-left-color: var(--copper); border-top-color: var(--copper); border-radius: 50%; display: grid; place-content: center; text-align: center; transform: rotate(-40deg); }
.score-ring span, .score-ring small { transform: rotate(40deg); }
.score-ring span { font-family: var(--serif); font-size: 26px; line-height: .9; }
.score-ring small { font-size: 8px; opacity: .65; }
.score-card h2 { font-family: var(--serif); font-size: 22px; margin: 3px 0 5px; font-weight: 500; }
.score-card > div:last-child > p:last-child { margin: 0; color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.4; }
.metric-strip { margin-top: 11px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 4px; }
.metric-strip article { display: flex; flex-direction: column; align-items: center; gap: 3px; border-right: 1px solid var(--line); }
.metric-strip article:last-child { border-right: 0; }
.metric-strip span { font-size: 8px; color: var(--muted); }
.metric-strip strong { font-size: 12px; }
.metric-strip small { font-size: 7px; color: #56876e; }
.medicine-card { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.medicine-card:last-child { border-bottom: 0; }
.medicine-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--copper-soft); color: #a66335; }
.medicine-icon.vaccine { background: var(--mint); color: var(--forest-3); }
.medicine-icon svg { width: 18px; height: 18px; }
.medicine-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.medicine-card div strong { font-size: 11px; }
.medicine-card div span { font-size: 8px; color: var(--muted); }
.medicine-card div small { font-size: 8px; color: var(--forest-3); }
.tag { font-size: 7px; font-weight: 800; padding: 5px 7px; border-radius: 99px; white-space: nowrap; }
.active-tag { background: var(--mint); color: var(--forest-3); }
.planned-tag { background: var(--copper-soft); color: #a66335; }
.chart-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
.delta { color: #56876e; font-size: 10px; }
.weight-chart { height: 154px; position: relative; padding: 5px 0 22px 28px; }
.weight-chart svg { position: absolute; left: 30px; right: 0; top: 2px; width: calc(100% - 30px); height: 116px; overflow: visible; }
.weight-chart .area { fill: url(#chartFill); stroke: none; }
.weight-chart .line { stroke: var(--copper); stroke-width: 2.2; }
.weight-chart .points circle { fill: var(--paper); stroke: var(--copper); stroke-width: 2; }
.y-label { position: absolute; left: 0; color: var(--muted); font-size: 7px; }
.y-label.top { top: 2px; } .y-label.mid { top: 54px; } .y-label.bottom { top: 106px; }
.gridline { position: absolute; left: 28px; right: 0; border-top: 1px dashed var(--line); }
.gridline.top { top: 7px; } .gridline.mid { top: 59px; } .gridline.bottom { top: 111px; }
.x-labels { position: absolute; left: 28px; right: 0; bottom: 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 7px; }

.feed-hero { background: linear-gradient(135deg, var(--forest), #315a4e); border-radius: 24px; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); }
.feed-hero > div:first-child { display: flex; flex-direction: column; }
.feed-hero strong { font-family: var(--serif); font-size: 38px; line-height: 1.1; font-weight: 500; margin-top: 6px; }
.feed-hero strong small { font-size: 16px; color: #c5d5ce; }
.feed-hero div > span { font-size: 9px; color: rgba(255,255,255,.62); }
.donut { width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--copper) 0 96%, rgba(255,255,255,.13) 96% 100%); display: grid; place-items: center; position: relative; }
.donut::after { content: ""; width: 57px; height: 57px; border-radius: 50%; background: #2a5146; position: absolute; }
.donut span { position: relative; z-index: 1; font-family: var(--serif); font-size: 22px !important; color: white !important; }
.donut small { font-size: 9px; }
.feed-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 10px 0; }
.feed-dot { width: 9px; height: 9px; border-radius: 50%; }
.feed-dot.hay, .progress-track .hay { background: #789f84; }.feed-dot.mix, .progress-track .mix { background: #d39961; }.feed-dot.support, .progress-track .support { background: #b8a5ca; }
.feed-list p { display: flex; flex-direction: column; margin: 0; gap: 2px; }
.feed-list strong { font-size: 10px; }
.feed-list small { color: var(--muted); font-size: 8px; }
.feed-list b { font-family: var(--serif); font-size: 13px; }
.progress-track { height: 7px; border-radius: 99px; overflow: hidden; display: flex; background: var(--line); margin-top: 5px; }
.progress-track i.hay { width: 55%; }.progress-track i.mix { width: 36%; }.progress-track i.support { width: 9%; }
.care-event { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.care-event:last-child { border-bottom: 0; }
.date-box { width: 42px; height: 47px; border-radius: 12px; display: grid; place-content: center; text-align: center; background: var(--forest); color: white; }
.date-box.future { background: #e8e5dd; color: var(--forest); }
.date-box strong { font-family: var(--serif); font-size: 18px; line-height: 1; }
.date-box span { font-size: 7px; letter-spacing: .6px; margin-top: 2px; }
.care-event > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.care-event div strong { font-size: 10px; }
.care-event div span { font-size: 8px; color: var(--muted); line-height: 1.3; }
.care-event div small { font-size: 7px; color: var(--forest-3); }
.care-event div small i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #70a485; }
.complete-badge { font-size: 7px; color: var(--forest-3); background: var(--mint); padding: 5px 7px; border-radius: 99px; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.care-grid article { background: var(--paper); border: 1px solid var(--line); padding: 13px 8px; border-radius: 16px; display: flex; align-items: center; flex-direction: column; gap: 4px; }
.care-grid article > span { font-size: 17px; }
.care-grid strong { font-family: var(--serif); font-size: 17px; }
.care-grid small { color: var(--muted); font-size: 8px; }

.page-intro { color: var(--muted); font-size: 10px; line-height: 1.5; margin: -5px 0 15px; }
.service-options { display: grid; gap: 9px; }
.service-option { width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-align: left; cursor: pointer; position: relative; transition: .2s ease; }
.service-option:hover { transform: translateY(-1px); }
.service-option.selected { border-color: var(--forest-3); box-shadow: 0 0 0 1px var(--forest-3); }
.service-option .service-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.service-option .service-icon.photo { background: var(--mint); color: var(--forest); }
.service-option .service-icon.weight { background: var(--copper-soft); color: #9b6239; }
.service-option .service-icon.video { background: #eae3ef; color: #776587; }
.service-icon svg { width: 19px; height: 19px; }
.service-option > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.service-option strong { font-size: 11px; }
.service-option small { color: var(--muted); font-size: 8px; }
.service-option b { font-family: var(--serif); font-size: 14px; }
.service-option > i { width: 16px; height: 16px; border: 1px solid #bdc4bf; border-radius: 50%; }
.service-option.selected > i { border: 4px solid var(--forest); }
.form-block { background: var(--paper); border: 1px solid var(--line); border-radius: 21px; padding: 15px; }
.form-block label { display: flex; justify-content: space-between; font-size: 10px; font-weight: 750; margin-bottom: 9px; }
.form-block label span { font-size: 8px; color: var(--muted); font-weight: 500; }
.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; background: #eeece6; border-radius: 12px; margin-bottom: 17px; }
.segmented-control button { border: 0; background: transparent; font-size: 8px; padding: 8px 4px; border-radius: 9px; color: var(--muted); cursor: pointer; }
.segmented-control button.active { background: var(--paper); color: var(--forest); font-weight: 750; box-shadow: 0 3px 9px rgba(30,41,37,.08); }
.form-block textarea { resize: none; width: 100%; height: 74px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fbfaf7; font-size: 9px; color: var(--ink); line-height: 1.4; }
.form-block textarea::placeholder { color: #a19f99; }
.char-count { display: block; text-align: right; font-size: 7px; color: var(--muted); margin-top: 3px; }
.order-summary { margin-top: 15px; background: var(--forest); color: white; border-radius: 22px; padding: 16px; }
.order-summary div { display: flex; justify-content: space-between; align-items: center; }
.order-summary div span { font-size: 11px; }
.order-summary div strong { font-family: var(--serif); font-size: 20px; }
.order-summary p { color: rgba(255,255,255,.58); font-size: 8px; margin: 5px 0 13px; }
.primary-button, .light-button { width: 100%; border: 0; border-radius: 13px; padding: 13px 14px; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; }
.primary-button { background: var(--copper); color: #fff; }
.primary-button:hover, .light-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.primary-button span, .light-button span { font-size: 15px; }

.balance-card { background: linear-gradient(145deg, #173a32, #2c5549); border-radius: 25px; color: white; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.balance-card::after { content: "BH"; position: absolute; font-family: var(--serif); font-size: 140px; color: rgba(255,255,255,.025); right: -8px; top: 14px; }
.balance-brand { display: flex; align-items: center; gap: 7px; position: relative; z-index: 1; }
.balance-brand > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-family: var(--serif); font-size: 9px; }
.balance-brand small { font-size: 8px; color: rgba(255,255,255,.65); }
.balance-card > p { margin: 20px 0 3px; color: rgba(255,255,255,.6); font-size: 9px; }
.balance-card h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.due-line { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding-top: 11px; margin-bottom: 13px; font-size: 8px; }
.due-line span { color: rgba(255,255,255,.58); }
.due-line strong { font-size: 8px; }
.payment-methods-mini { display: flex; align-items: center; gap: 11px; margin: -2px 0 13px; position: relative; z-index: 1; }
.payment-methods-mini span { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); font-size: 7px; }
.payment-methods-mini svg { width: 12px; height: 12px; }
.light-button { background: var(--paper); color: var(--forest); position: relative; z-index: 1; }
.spending-card { background: var(--paper); border: 1px solid var(--line); border-radius: 21px; padding: 15px; }
.spending-card .section-heading > strong { font-family: var(--serif); font-size: 17px; }
.spending-bar { height: 9px; border-radius: 99px; display: flex; gap: 2px; overflow: hidden; }
.spending-bar i.boarding { background: var(--forest); width: 79%; }.spending-bar i.care { background: var(--copper); width: 16%; }.spending-bar i.extra { background: #b8a5ca; width: 5%; }
.legend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.legend-grid div { display: grid; grid-template-columns: auto 1fr; gap: 3px 5px; }
.legend-grid i { width: 6px; height: 6px; border-radius: 50%; margin-top: 3px; }.legend-grid i.boarding { background: var(--forest); }.legend-grid i.care { background: var(--copper); }.legend-grid i.extra { background: #b8a5ca; }
.legend-grid span { color: var(--muted); font-size: 7px; }
.legend-grid strong { grid-column: 2; font-size: 9px; }
.transaction-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.transaction-row:last-child { border-bottom: 0; }
.transaction-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; }
.transaction-icon.charge { background: var(--rose); color: #9a5f54; }.transaction-icon.payment { background: var(--mint); color: #4c8066; }.transaction-icon.service { background: var(--sand); color: #927545; }
.transaction-row div { display: flex; flex-direction: column; gap: 3px; }
.transaction-row div strong { font-size: 10px; }
.transaction-row div small { color: var(--muted); font-size: 8px; }
.transaction-row > b { font-size: 10px; }
.transaction-row > b.paid { color: #56876e; }
.balance-bank-section { margin-bottom: 8px; }
.balance-bank-section .section-heading { margin-bottom: 10px; }
.balance-bank-section .bank-account-card { box-shadow: 0 12px 30px rgba(18,56,47,.07); }

.payment-overlay { position: fixed; z-index: 65; inset: 0; background: rgba(12,31,26,.66); backdrop-filter: blur(7px); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .26s ease, visibility 0s linear .26s; }
.payment-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .26s ease; }
.payment-sheet { width: min(100%, 410px); max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: var(--cream); border-radius: 28px; box-shadow: 0 30px 90px rgba(6,22,17,.32); padding: 19px; transform: translateY(20px) scale(.985); transition: transform .28s ease; }
.payment-sheet::-webkit-scrollbar { display: none; }
.payment-overlay.open .payment-sheet { transform: none; }
.payment-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.payment-header h2 { margin: 4px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.45px; }
.sheet-close { border: 1px solid var(--line); background: var(--paper); color: var(--muted); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; line-height: 1; cursor: pointer; }
.payment-amount { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-radius: 15px; background: var(--forest); color: white; margin-bottom: 11px; }
.payment-amount > div { display: flex; flex-direction: column; gap: 2px; }
.payment-amount span { font-size: 8px; color: rgba(255,255,255,.62); }
.payment-amount strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.payment-amount .full-balance { color: #cce0d7; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); padding: 6px 8px; border-radius: 99px; font-weight: 700; }
.payment-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 13px; }
.payment-tab { min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 9px 6px; display: flex; align-items: center; justify-content: center; gap: 5px; text-align: left; color: var(--muted); cursor: pointer; transition: .18s ease; }
.payment-tab svg { width: 17px; height: 17px; flex: 0 0 auto; }
.payment-tab > span { display: flex; flex-direction: column; gap: 1px; font-size: 8px; font-weight: 800; }
.payment-tab small { font-size: 6px; font-weight: 500; opacity: .72; }
.payment-tab.active { background: var(--mint); color: var(--forest); border-color: #8fab9d; box-shadow: inset 0 0 0 1px rgba(23,58,50,.1); }
.payment-panel { display: none; animation: screenIn .2s ease both; }
.payment-panel.active { display: block; }
.bank-account-card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden; }
.bank-account-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px; border-bottom: 1px solid var(--line); }
.bank-logo { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; background: var(--forest); color: white; font-family: var(--serif); font-size: 16px; }
.bank-account-head div { display: flex; flex-direction: column; gap: 2px; }
.bank-account-head strong { font-size: 10px; }
.bank-account-head small { font-size: 8px; color: var(--muted); }
.demo-badge { padding: 4px 6px; border-radius: 6px; background: var(--copper-soft); color: #95603a; font-size: 6px; font-weight: 900; letter-spacing: .7px; }
.iban-row { padding: 13px 12px 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.iban-row > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.iban-row span, .reference-row span { color: var(--muted); font-size: 7px; }
.iban-row strong { font-size: 10px; letter-spacing: .4px; white-space: nowrap; }
.copy-button { border: 0; background: var(--mint); color: var(--forest); border-radius: 9px; padding: 7px 8px; font-size: 7px; font-weight: 800; cursor: pointer; }
.reference-row { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 12px; padding-top: 9px; border-top: 1px dashed var(--line); }
.reference-row strong { font-size: 9px; letter-spacing: .4px; }
.payment-note { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); background: #eeece6; border-radius: 12px; padding: 9px 10px; margin-top: 9px; }
.payment-note svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--forest-3); margin-top: 1px; }
.payment-note p { font-size: 7px; line-height: 1.45; margin: 0; }
.payment-note strong { color: var(--ink); }
.secure-card-heading { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; }
.secure-card-heading span { color: var(--forest-3); display: inline-flex; align-items: center; gap: 4px; font-size: 7px; font-weight: 750; }
.secure-card-heading svg { width: 12px; height: 12px; }
.secure-card-heading b { color: #788c82; font-size: 6px; letter-spacing: .8px; border: 1px solid #b9c9c0; border-radius: 5px; padding: 3px 5px; }
.field-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-group.full { margin-bottom: 10px; }
.field-group label { color: var(--muted); font-size: 11px; font-weight: 750; }
.field-group input { min-width: 0; width: 100%; height: 39px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 11px; padding: 0 10px; font-size: 9px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field-group input:focus { border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(53,98,85,.1); }
.field-group input::placeholder { color: #aaa9a4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 34px; }
.input-with-icon svg { position: absolute; width: 17px; height: 17px; right: 10px; top: 11px; color: #9aa19d; }
.save-card, .delivery-choice { display: flex; align-items: center; cursor: pointer; }
.save-card { gap: 7px; color: var(--muted); font-size: 7px; margin: 2px 0 10px; }
.save-card input, .delivery-choice input { position: absolute; opacity: 0; pointer-events: none; }
.save-card > span { width: 15px; height: 15px; border: 1px solid #bcc4bf; border-radius: 4px; background: var(--paper); position: relative; }
.save-card input:checked + span { background: var(--forest); border-color: var(--forest); }
.save-card input:checked + span::after { content: "✓"; color: white; position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; }
.check-info { display: flex; gap: 9px; align-items: flex-start; border: 1px solid var(--line); background: var(--paper); border-radius: 15px; padding: 11px; margin-bottom: 11px; }
.check-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--copper-soft); color: #955c34; }
.check-icon svg { width: 17px; height: 17px; }
.check-info div { display: flex; flex-direction: column; gap: 3px; }
.check-info strong { font-size: 9px; }
.check-info p { color: var(--muted); font-size: 7px; line-height: 1.4; margin: 0; }
.delivery-choice { gap: 8px; padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; margin-top: 7px; }
.delivery-choice > span { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #b7c0bb; position: relative; }
.delivery-choice input:checked + span { border: 4px solid var(--forest); }
.delivery-choice div { display: flex; flex-direction: column; gap: 2px; }
.delivery-choice strong { font-size: 8px; }
.delivery-choice small { color: var(--muted); font-size: 7px; }
.payment-footer { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.payment-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.payment-total span { color: var(--muted); font-size: 8px; }
.payment-total strong { font-family: var(--serif); font-size: 18px; }
.payment-action { min-height: 42px; }
.payment-footer > p { display: flex; justify-content: center; align-items: center; gap: 4px; color: var(--muted); margin: 8px 0 0; font-size: 6px; }
.payment-footer > p svg { width: 10px; height: 10px; }
.payment-success { position: fixed; z-index: 75; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(15,38,32,.65); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
.payment-success.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.payment-success-card { width: min(100%, 350px); background: var(--paper); border-radius: 27px; padding: 26px 21px 20px; text-align: center; box-shadow: 0 30px 80px rgba(9,27,22,.25); transform: translateY(18px) scale(.98); transition: transform .25s ease; }
.payment-success.open .payment-success-card { transform: none; }
.payment-success-card .success-icon { display: grid; }
.payment-success-card h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 7px 0; }
.payment-success-card > p:not(.eyebrow) { max-width: 270px; margin: 0 auto 17px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.bottom-nav { height: calc(78px + env(safe-area-inset-bottom)); position: fixed; z-index: 20; bottom: 0; left: 50%; width: min(100%, 430px); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; background: rgba(255,252,246,.94); border-top: 1px solid rgba(226,221,210,.92); backdrop-filter: blur(18px); padding: 6px 5px max(8px, env(safe-area-inset-bottom)); }
.nav-item { height: 55px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #9a9e99; font-size: 9px; cursor: pointer; position: relative; }
.nav-item svg { width: 20px; height: 20px; }
.nav-item.active { color: var(--forest); font-weight: 800; }
.nav-item.active:not(.nav-main)::after { content: ""; position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.nav-main { margin-top: -25px; }
.nav-main-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--copper); border: 5px solid var(--cream); box-shadow: 0 8px 20px rgba(172,100,51,.28); }
.nav-main-icon svg { width: 21px; height: 21px; stroke-width: 2.1; }
.nav-main > span:last-child { margin-top: -1px; }
.nav-main.active .nav-main-icon { background: var(--forest); }

.toast { position: fixed; left: 50%; bottom: calc(93px + env(safe-area-inset-bottom)); z-index: 110; width: min(calc(100% - 36px), 394px); transform: translate(-50%, 25px); background: #1c302a; color: white; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 9px; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 12px 32px rgba(10,24,20,.22); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #4f8069; font-size: 10px; }
.toast p { margin: 0; font-size: 9px; line-height: 1.4; }
.success-overlay { position: fixed; z-index: 60; inset: 0; background: rgba(15,38,32,.58); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.success-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease; }
.success-card { width: min(100%, 354px); background: var(--paper); border-radius: 28px; padding: 29px 22px 21px; text-align: center; transform: translateY(20px) scale(.97); transition: .3s ease; box-shadow: 0 30px 80px rgba(9,27,22,.24); }
.success-overlay.open .success-card { transform: none; }
.success-icon { margin: 0 auto 15px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--forest-3); box-shadow: 0 0 0 9px rgba(224,238,230,.55); }
.success-icon svg { width: 30px; height: 30px; stroke-width: 2.4; }
.success-card h2 { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 7px 0 8px; }
.success-card > p:not(.eyebrow) { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 0 auto 18px; max-width: 270px; }
.reference { display: flex; justify-content: space-between; background: #f2efe8; border-radius: 12px; padding: 10px 12px; margin-bottom: 13px; font-size: 9px; }
.reference span { color: var(--muted); }

/* bizimhara.app kurumsal arayüz sistemi */
.phone-shell { background: linear-gradient(180deg, #faf7f0 0%, var(--cream) 100%); box-shadow: 0 28px 90px rgba(18, 56, 47, .2); }
.status-bar { background: rgba(250, 247, 240, .96); color: #263b34; }
.auth-overlay { background: radial-gradient(circle at 85% 0%, rgba(201,130,71,.09), transparent 30%), var(--cream); }
.welcome-visual { min-height: 500px; border-radius: 0 0 40px 40px; box-shadow: 0 18px 42px rgba(18,56,47,.18); }
.welcome-gradient { background: linear-gradient(180deg, rgba(8,31,25,.45), rgba(8,31,25,.03) 39%, rgba(8,29,23,.94) 100%); }
.welcome-brand { left: 20px; top: 18px; width: 278px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(4,55,91,.18); backdrop-filter: blur(12px); }
.welcome-brand img { display: block; width: 100%; height: auto; }
.welcome-message { bottom: 28px; }
.welcome-message p { color: #bcebd3; }
.welcome-message h1 { max-width: 360px; font-size: 36px; letter-spacing: -.9px; text-wrap: balance; }
.welcome-actions { padding: 23px 21px 19px; }
.welcome-actions > p { font-size: 13px; line-height: 1.65; }
.primary-button { background: linear-gradient(135deg, #1f9a64, #1378ad); box-shadow: 0 10px 22px rgba(14,104,145,.22); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.primary-button:hover { box-shadow: 0 13px 25px rgba(14,104,145,.3); }
.secondary-button { border-color: rgba(18,56,47,.12); background: rgba(255,253,248,.82); box-shadow: 0 5px 16px rgba(18,56,47,.04); }
.admin-entry { color: var(--forest-3); letter-spacing: .15px; }
.mini-brand, .admin-mini-brand { overflow: hidden; padding: 0; background: transparent; box-shadow: 0 6px 16px rgba(18,56,47,.17); }
.mini-brand img, .admin-mini-brand img { width: 100%; height: 100%; display: block; object-fit: cover; }
.auth-back { border-color: rgba(18,56,47,.12); box-shadow: 0 4px 12px rgba(18,56,47,.05); }
.auth-copy h2, .complete-view h2, .approval-view > h2, .approved-view > h2 { letter-spacing: -.8px; }
.auth-form .field-group input, .auth-form .field-group select, .phone-input { border-color: rgba(18,56,47,.13); background-color: rgba(255,253,248,.92); }
.auth-form .field-group input:focus, .auth-form .field-group select:focus, .phone-input:focus-within { border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(45,106,86,.1); }
.horse-photo-upload { border-color: rgba(45,106,86,.34); background: rgba(255,253,248,.72); }
.application-summary, .approval-card, .registered-horse-card, .approved-summary { box-shadow: 0 12px 30px rgba(18,56,47,.07); border-color: rgba(18,56,47,.1); }
.admin-header { border-bottom-color: rgba(18,56,47,.1); }
.approve-button { background: linear-gradient(135deg, var(--forest), var(--forest-2)); box-shadow: 0 9px 18px rgba(18,56,47,.18); }
.screen { padding-left: 19px; padding-right: 19px; }
.topbar { padding-top: 15px; }
.brand-mark { width: 44px; height: 44px; padding: 0; overflow: hidden; border-radius: 14px; background: transparent; box-shadow: 0 8px 18px rgba(18,56,47,.18); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.topbar-copy p { font-size: 10px; letter-spacing: .1px; }
.topbar-copy h1 { color: var(--forest); font-size: 16px; }
.icon-button, .round-button { border-color: rgba(18,56,47,.11); background: rgba(255,253,248,.86); box-shadow: 0 6px 16px rgba(18,56,47,.05); }
.horse-switcher { margin-top: 3px; margin-bottom: 14px; }
.horse-chip { border-color: rgba(18,56,47,.1); background: rgba(255,253,248,.76); }
.horse-chip.active { border-color: rgba(45,106,86,.52); box-shadow: 0 7px 17px rgba(18,56,47,.09); }
.hero-card { border-radius: 30px; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 24px 50px rgba(18,56,47,.2); }
.hero-shade { background: linear-gradient(180deg, rgba(8,31,25,.2) 0%, transparent 38%, rgba(8,25,21,.08) 50%, rgba(8,25,21,.92) 100%); }
.live-pill { background: rgba(18,56,47,.67); border-color: rgba(255,255,255,.3); }
.section-heading h3 { color: #20352d; font-size: 22px; }
.stat-card, .care-grid article { border-color: rgba(18,56,47,.08); box-shadow: 0 10px 24px rgba(18,56,47,.055); }
.request-card { border: 1px solid rgba(18,56,47,.06); box-shadow: 0 9px 22px rgba(18,56,47,.055); }
.request-card.photo { background: linear-gradient(135deg, #e8f2ec, #dbeae1); }
.request-card.weight { background: linear-gradient(135deg, #f8eadb, #f1dfca); }
.note-card, .care-history, .ledger, .feed-composition { box-shadow: 0 12px 28px rgba(18,56,47,.055); }
.balance-card { background: linear-gradient(145deg, #084c85, #16845f); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 22px 48px rgba(8,76,133,.24); }
.balance-card::after { color: rgba(255,255,255,.035); }
.balance-brand > span { overflow: hidden; border: 0; background: transparent; }
.balance-brand > span img { display: block; width: 100%; height: 100%; object-fit: cover; }
.payment-sheet, .success-card, .payment-success-card { border: 1px solid rgba(18,56,47,.08); }
.bottom-nav { height: 80px; background: rgba(255,253,248,.92); border-top-color: rgba(18,56,47,.09); box-shadow: 0 -12px 32px rgba(18,56,47,.06); }
.nav-item { color: #87938d; }
.nav-item.active { color: var(--forest); }
.nav-main-icon { background: linear-gradient(135deg, #1f9a64, #1378ad); border-color: var(--cream); box-shadow: 0 10px 22px rgba(14,104,145,.3); }
.nav-main.active .nav-main-icon { background: linear-gradient(135deg, var(--forest), var(--forest-2)); }
.toast { background: #084c85; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; box-shadow: 0 15px 36px rgba(4,55,91,.28); }

@media (min-width: 700px) {
  body { padding: 30px 0; }
  .phone-shell { min-height: 884px; height: 884px; border-radius: 42px; border: 7px solid #21332d; overflow-y: auto; scrollbar-width: none; }
  .phone-shell::-webkit-scrollbar { display: none; }
  .screen { min-height: 854px; }
  .status-bar { position: sticky; top: 0; }
  .auth-overlay { height: 854px; }
  .bottom-nav { position: fixed; bottom: max(7px, calc((100vh - 884px) / 2 + 7px)); border-radius: 0 0 34px 34px; width: 416px; }
  .toast { bottom: max(93px, calc((100vh - 884px) / 2 + 93px)); width: 390px; }
}

@media (max-width: 350px) {
  .screen { padding-left: 14px; padding-right: 14px; }
  .hero-card { height: 350px; }
  .request-card { gap: 8px; }
  .stat-card { padding-left: 7px; padding-right: 7px; }
}

@media (max-width: 500px) {
  .payment-overlay { align-items: end; padding: 0; }
  .payment-sheet { width: 100%; max-height: 94vh; border-radius: 28px 28px 0 0; padding-bottom: max(19px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
