:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17263f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--ink-strong:#17263f;--ink-muted:#56657a;--ink-soft:#6e7d8f;--accent-warm:#b66c2f;--accent-warm-soft:#f5d2a3;--accent-cool:#315d87;--accent-cool-soft:#dce9f3;--success-bg:#e5f5e8f5;--success-border:#31844a3d;--danger-bg:#ffedeff5;--danger-border:#b02c3433;--surface:#fffbf5d6;--surface-strong:#fffdf9f5;--surface-muted:#ffffff9e;--line-subtle:#17263f17;--line-strong:#17263f24;--shadow-soft:0 24px 60px #16233514;--shadow-strong:0 32px 90px #121d2e24;background:radial-gradient(circle at 12% 12%,#eba45257,#0000 32%),radial-gradient(circle at 86% 10%,#416a9538,#0000 28%),radial-gradient(circle at 82% 78%,#1e40621f,#0000 34%),linear-gradient(#f7f0e4 0%,#efe4d1 48%,#f5efe6 100%);font-family:Avenir Next,Segoe UI Variable,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;color:var(--ink-strong);margin:0}body.modal-open{overflow:hidden}body:has(.modal-overlay){overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}code{font-family:Cascadia Code,SFMono-Regular,Consolas,monospace}a{color:inherit}#root{min-height:100vh}.app-shell{max-width:1520px;min-height:100vh;margin:0 auto;padding:40px 32px 56px;position:relative}.app-shell:before{content:"";pointer-events:none;filter:blur(8px);background:radial-gradient(circle,#f5c7864d 0%,#0000 70%);border-radius:50%;width:240px;height:240px;position:fixed;inset:auto auto 7% 4%}.app-backdrop{pointer-events:none;background:linear-gradient(140deg,#ffffff24,#0000 30%),linear-gradient(210deg,#13315014,#0000 34%),radial-gradient(circle,#ffffff29,#0000 60%);position:fixed;inset:0}.app-header,.layout-grid{z-index:1;position:relative}.app-header{box-shadow:var(--shadow-strong);background:radial-gradient(circle at 100% 0,#f1c07c57,#0000 30%),linear-gradient(135deg,#fffaf4f5 0%,#f7efe0e0 50%,#ebf2f8c2 100%);border:1px solid #17263f1a;border-radius:38px;justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:24px;padding:34px 38px;display:flex;position:relative;overflow:hidden}.app-header:before,.app-header:after{content:"";pointer-events:none;border-radius:999px;position:absolute}.app-header:before{background:radial-gradient(circle,#416a952e 0%,#0000 68%);width:240px;height:240px;top:-68px;right:-42px}.app-header:after{background:radial-gradient(circle,#b66c2f29 0%,#0000 70%);width:320px;height:180px;bottom:-90px;left:42%}.app-header-copy,.meta-row,.button-row,.quick-login-list{flex-wrap:wrap;gap:12px;display:flex}.app-header-copy{z-index:1;flex-direction:column;flex:auto;gap:12px;min-width:0;max-width:none;position:relative}.app-wordmark{text-transform:uppercase;letter-spacing:.24em;color:var(--accent-warm);margin:0;font-size:.78rem;font-weight:700}.app-header h1,.panel-heading h2,.panel-heading h3{letter-spacing:-.04em;color:#1b2742;margin:0;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Georgia,serif}.app-header h1{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:clamp(2.6rem,4.8vw,4.45rem);line-height:.96;overflow:hidden}.app-header-subtitle{color:#4f6075;max-width:46rem;margin:0;font-size:1.08rem;line-height:1.7}.app-header-status{z-index:1;flex:none;justify-content:flex-end;align-items:flex-start;min-width:220px;padding-top:4px;display:flex;position:relative}.status-pill,.identity-role{border:1px solid var(--line-subtle);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffb8;border-radius:999px;padding:10px 14px;font-size:.92rem}.app-status-pill{background:#ffffffc2;border-color:#315d8724;padding:12px 18px;box-shadow:0 16px 36px #16233514}.status-pill.success{border-color:var(--success-border);background:var(--success-bg);color:#215d34}.status-pill.danger{border-color:var(--danger-border);background:var(--danger-bg);color:#9d2632}.layout-grid{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:24px;display:grid}.sidebar,.content-area{min-width:0}.sidebar{grid-template-rows:minmax(0,1fr) auto;gap:24px;max-height:calc(100vh - 56px);display:grid;position:sticky;top:28px;overflow:hidden}.sidebar>.panel:first-child{flex-direction:column;min-height:0;display:flex}.panel{border:1px solid var(--line-subtle);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:linear-gradient(#fffc 0%,#fffbf5f5 100%);border-radius:30px;padding:26px;position:relative;overflow:hidden}.panel:before{content:"";pointer-events:none;background:linear-gradient(#ffffff6b,#0000);height:88px;position:absolute;inset:0 0 auto}.panel>*{z-index:1;position:relative}.hero-panel{background:radial-gradient(circle at 100% 0,#f1c48738,#0000 26%),linear-gradient(160deg,#fffffff0 0%,#f7efe2f5 58%,#e8eff7d6 100%)}.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:var(--accent-warm);margin:0 0 6px;font-size:.72rem;font-weight:700}.panel-heading{flex-direction:column;gap:6px;display:flex}.panel-note,.hero-copy,.muted-copy,.stat-detail,.table-subtitle,.identity-card span,.empty-card span,.mini-list-item span{color:var(--ink-muted)}.stack-gap{flex-direction:column;gap:16px;display:flex}.stack-gap-lg{flex-direction:column;gap:24px;display:flex}.field{flex-direction:column;gap:8px;display:flex}.field span{text-transform:uppercase;letter-spacing:.08em;color:#6d5b47;font-size:.82rem;font-weight:700}.field input,.field select,.field textarea{border:1px solid var(--line-strong);background:var(--surface-strong);width:100%;color:var(--ink-strong);border-radius:18px;padding:14px 16px;transition:border-color .15s,box-shadow .15s,transform .15s;box-shadow:inset 0 1px #ffffffa6}.field input::placeholder,.field textarea::placeholder{color:#8d99a8}.field input:focus,.field select:focus,.field textarea:focus{border-color:#315d876b;outline:none;transform:translateY(-1px);box-shadow:0 0 0 4px #315d871f,inset 0 1px #fffc}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field-span-2{grid-column:1/-1}.button{border:0;border-radius:18px;padding:13px 18px;font-weight:600;transition:transform .15s,opacity .15s,box-shadow .15s,background-color .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.6;cursor:wait}.button.primary{color:#fff8ef;background:linear-gradient(135deg,#1f4c78 0%,#274f6f 42%,#3a6993 100%);box-shadow:0 18px 34px #214a6f33}.button.secondary{color:#21486a;background:#315d871f;border:1px solid #315d871f}.button.ghost{color:#8e592b;background:#b66c2f1f;border:1px solid #b66c2f1f}.request-horse-card,.request-window-card{background:linear-gradient(#ffffffe6,#f5eee4b3);border:1px solid #315d871f;border-radius:24px;flex-direction:column;gap:14px;padding:18px 20px;display:flex}.request-window-card.active{border-color:#315d8747;box-shadow:0 16px 32px #1e385114}.request-horse-card__copy,.request-window-card__copy{flex-direction:column;gap:6px;display:flex}.request-horse-card__copy h4,.request-window-card__copy h4{color:var(--ink-strong);margin:0;font-size:1.08rem}.request-choice-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;display:grid}.request-choice{color:#294864;background:#ffffffc7;border:1px solid #315d871f;border-radius:18px;padding:12px 14px;font-weight:600;transition:transform .15s,box-shadow .15s,border-color .15s,background-color .15s}.request-choice:hover{transform:translateY(-1px);box-shadow:0 12px 24px #1e385114}.request-choice.active{color:#fff8ef;background:linear-gradient(135deg,#1f4c78 0%,#274f6f 42%,#3a6993 100%);border-color:#204a7352;box-shadow:0 18px 30px #214a6f2e}.status-pill{align-items:center;gap:10px;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 4px #fff6}.identity-card{background:linear-gradient(#ffffffc2,#eef4f9c7);border:1px solid #315d871a;border-radius:22px;flex-direction:column;gap:6px;padding:20px;display:flex}.identity-role{text-transform:capitalize;align-self:flex-start}.banner{color:#244b70;background:linear-gradient(135deg,#eaf2f9e6,#f6eee1db);border:1px solid #315d8729;border-radius:20px;padding:15px 18px;box-shadow:0 14px 28px #1623350f}.inline-note{color:var(--ink-muted);align-self:center}.error-copy{color:#a22f3c;margin:0}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{background:linear-gradient(#ffffffe6,#faf5edd1);border:1px solid #17263f14;border-radius:24px;flex-direction:column;gap:8px;padding:22px;display:flex}.stat-label{text-transform:uppercase;letter-spacing:.14em;color:var(--accent-warm);font-size:.76rem;font-weight:700}.stat-value{letter-spacing:-.05em;font-size:1.95rem;line-height:1.02}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line-subtle);vertical-align:top;padding:14px 0}th{color:#778498;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem}.table-title{font-weight:700}.mini-list{flex-direction:column;gap:12px;display:flex}.mini-list-item{background:#ffffffa3;border:1px solid #17263f0f;border-radius:18px;justify-content:space-between;gap:14px;padding:14px 16px;display:flex}.mini-list-item>div{flex-direction:column;gap:2px;display:flex}.section-divider{background:var(--line-subtle);height:1px}.horse-editor-card{background:#ffffffdb;width:min(100%,1040px);margin-inline:auto}.horse-profile-card{background:linear-gradient(#ffffffe0,#f8f2e9c7);flex-direction:column;gap:14px;display:flex}.horse-profile-card__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.horse-profile-card__copy{flex-direction:column;gap:4px;display:flex}.horse-profile-card__copy h3{margin:0}.horse-profile-card__meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.horse-profile-card__item{background:#16273f0d;border-radius:18px;flex-direction:column;gap:4px;padding:14px 16px;display:flex}.horse-profile-card__item strong{text-transform:uppercase;letter-spacing:.1em;color:var(--accent-warm);font-size:.78rem}.client-profile-launcher{cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.client-profile-launcher:hover{border-color:#315d8733;transform:translateY(-2px);box-shadow:0 18px 32px #1623351f}.client-profile-launcher:focus-visible{outline-offset:4px;outline:2px solid #315d8773}.client-profile-launcher__hint{color:var(--ink-strong);letter-spacing:.04em;text-transform:uppercase;background:#e9f1f7cc;border:1px solid #315d872e;border-radius:999px;justify-content:center;align-items:center;padding:10px 14px;font-size:.84rem;font-weight:600;display:inline-flex}.client-profile-launcher__meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.client-profile-modal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.client-profile-modal-summary{background:linear-gradient(#ffffffeb,#f6eee4d1)}.client-profile-page{min-height:calc(100vh - 220px)}.client-profile-page-hero,.client-profile-page-summary{width:100%}.client-profile-page-hero__header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.client-profile-page-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:12px;display:flex}.client-profile-page-horses{padding-bottom:16px}.modal-overlay{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overscroll-behavior:contain;background:#111c2c61;justify-content:center;align-items:center;padding:32px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-card{background:#fffcf7fa;border:1px solid #17263f1a;border-radius:30px;flex-direction:column;width:min(960px,100%);max-height:calc(100vh - 64px);margin:auto;display:flex;overflow:hidden;box-shadow:0 30px 70px #111c2c38}.modal-card-wide{width:min(1280px,100vw - 48px);max-height:calc(100vh - 40px)}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 0;display:flex}.modal-header h2{margin:0}.modal-body{flex-direction:column;align-items:center;padding:24px;display:flex;overflow-y:auto}.modal-body>*{width:100%}.client-profile-modal-card .modal-header{padding:26px 28px 0}.client-profile-modal-body{padding:28px}.client-profile-horses{padding-bottom:8px}.nav-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;gap:8px;min-height:0;padding-right:6px;display:flex;overflow-y:auto}.nav-item{color:inherit;background:linear-gradient(#ffffff94,#ffffff57);border:1px solid #17263f14;border-radius:18px;flex-direction:column;gap:2px;padding:11px 13px;text-decoration:none;transition:transform .15s,border-color .15s,background-color .15s,box-shadow .15s;display:flex}.nav-item strong{font-size:.96rem;line-height:1.2}.nav-item:hover{border-color:#315d8738;transform:translateY(-1px);box-shadow:0 16px 26px #16233514}.nav-item.active{background:linear-gradient(135deg,#e1edf6e6,#f8f0e5db);border-color:#315d8738;box-shadow:0 16px 30px #1623351a}.nav-item span{white-space:nowrap;text-overflow:ellipsis;color:var(--ink-muted);font-size:.8rem;line-height:1.25;overflow:hidden}.page-span-2{grid-column:1/-1}.stats-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.empty-state{justify-content:center;min-height:420px}.empty-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:14px;display:grid}.empty-card{background:linear-gradient(#ffffffa8,#f1eadf80);border:1px solid #17263f14;border-radius:24px;flex-direction:column;gap:8px;padding:22px;display:flex}.public-link-row{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.chip-link{min-height:42px;color:var(--accent-cool);background:#ffffffb3;border:1px solid #17263f1a;border-radius:999px;justify-content:center;align-items:center;padding:0 16px;font-weight:700;text-decoration:none;display:inline-flex}.chip-link-primary{color:#fff;background:linear-gradient(135deg,#b66c2f 0%,#d4873f 100%);border-color:#b66c2f47}.error-boundary-card{align-items:flex-start}@keyframes surface-in{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:no-preference){.app-header,.sidebar>*,.content-area>*{animation:.42s both surface-in}.sidebar>:nth-child(2),.content-area>:nth-child(2){animation-delay:60ms}.content-area>:nth-child(3){animation-delay:.12s}}@media (width<=1100px){.layout-grid{grid-template-columns:1fr}.sidebar{max-height:none;padding-right:0;position:static;overflow:visible}.stats-grid,.dashboard-grid,.horse-profile-card__meta,.empty-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.app-shell{padding:18px 18px 36px}.app-header{border-radius:30px;flex-direction:column;padding:28px 24px}.app-header h1{white-space:normal;font-size:clamp(2.5rem,12vw,3.6rem)}.app-header-status{justify-content:flex-start;width:100%;min-width:0}.client-profile-page-hero__header{flex-direction:column}.client-profile-page-actions{justify-content:flex-start;width:100%}.modal-overlay{padding:16px}.modal-card{max-height:calc(100vh - 32px)}.modal-card-wide{width:min(100%,100vw - 32px)}.stats-grid,.dashboard-grid,.client-profile-launcher__meta,.horse-profile-card__meta,.empty-grid,.form-grid{grid-template-columns:1fr}.client-profile-modal-actions{justify-content:stretch;width:100%}.client-profile-modal-actions .button{flex:180px}}
