:root{--forest:#20362b;--green:#345e49;--mint:#c7e9dd;--paper:#f5faf8;--ink:#24332b;--muted:#5e6f65;--line:#d7e5dc}
html{scroll-behavior:smooth}
body{background:var(--paper)}
button,.button,a,input{transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
button:hover,.button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,58,43,.2)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #8bc5b7;outline-offset:3px}
.auth-shell{padding:32px;background:radial-gradient(circle at 9% 10%,#dcece0,transparent 32%),radial-gradient(circle at 88% 88%,#d5efea,transparent 30%),#f4f8f4}
.auth-layout{display:grid;grid-template-columns:minmax(350px,1.05fr) minmax(430px,.95fr);width:min(1120px,100%);min-height:640px;overflow:hidden;border-radius:34px;background:#fff;box-shadow:0 36px 90px rgba(28,57,41,.18),0 3px 14px rgba(28,57,41,.08)}
.auth-story{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:640px;padding:36px 42px 48px;color:white;background:linear-gradient(0deg,rgba(15,36,28,.91),rgba(15,36,28,.1) 75%),url('/assets/hero-horse-sunset.png') 82% center/cover no-repeat}
.story-brand{position:relative;z-index:1;display:flex;align-items:center;gap:15px;width:max-content;color:white;text-decoration:none;letter-spacing:.14em;font-size:.83rem;line-height:1.45}
.story-brand img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.75);box-shadow:0 6px 22px rgba(0,0,0,.3)}
.story-copy{position:relative;z-index:1;max-width:480px;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.story-line{display:block;width:48px;height:3px;margin-bottom:20px;background:#e7c887}
.story-copy p{text-transform:uppercase;letter-spacing:.16em;font-size:.82rem;font-weight:800}
.story-copy h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.5rem,4vw,4.4rem);line-height:1.04;margin-bottom:22px}
.story-copy>span:last-child{font-size:1.02rem;line-height:1.7;color:#f5f8f3}
.auth-card{width:100%;max-width:none;min-width:0;padding:clamp(34px,5vw,68px);border:0;border-radius:0;box-shadow:none;align-self:center}
.auth-logo{display:block;width:74px;height:74px;margin-bottom:26px;object-fit:cover;border-radius:50%;border:3px solid #e4eee4;box-shadow:0 8px 24px rgba(36,68,46,.2)}
.auth-card h1{font-size:clamp(2.7rem,4vw,3.8rem);letter-spacing:-.045em;line-height:1.02;margin:12px 0 20px}
.auth-card .intro{font-size:1rem;margin-bottom:28px}
.auth-card input{padding:15px 17px;background:#fbfdfa}
.auth-card input:hover{border-color:#648d78}
.auth-card button{justify-content:space-between;padding:17px 22px;background:linear-gradient(100deg,#315a44,#416f58);box-shadow:0 10px 20px rgba(39,88,61,.18)}
.auth-card .check{align-items:start}.auth-card .check input{margin-top:5px}
.auth-back{text-align:center;margin:18px 0 0;font-size:.88rem}.auth-back a{text-decoration:none;color:var(--muted)}.auth-back a:hover{color:var(--forest)}
.portal-head{gap:24px;box-shadow:0 8px 25px rgba(20,43,32,.17)}
.portal-brand{display:flex;align-items:center;gap:14px;color:white;text-decoration:none}
.portal-brand img{width:54px;height:54px;border-radius:50%;border:2px solid rgba(255,255,255,.7);object-fit:cover;box-shadow:0 5px 15px rgba(0,0,0,.25)}
.portal-brand .eyebrow{display:block;margin:0 0 3px;color:#a9d6c6;font-size:.68rem}.portal-brand strong{display:block;color:#fff}
.portal-head-actions{display:flex;align-items:center;gap:22px}.portal-head-actions>a{color:#d7eee4;text-decoration:none;font-size:.9rem}
.welcome{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:300px;padding:clamp(30px,5vw,55px);overflow:hidden;background:linear-gradient(100deg,rgba(27,58,42,.96),rgba(49,93,72,.75)),url('/assets/hero-horse-sunset.png') right center/cover no-repeat;box-shadow:0 18px 42px rgba(41,79,56,.2)}
.welcome:after{content:'';position:absolute;inset:0;border:1px solid rgba(255,255,255,.22);border-radius:inherit;pointer-events:none}
.welcome>div{position:relative;z-index:1}.welcome h1{font-size:clamp(2.7rem,6vw,4.6rem);margin:12px 0 25px}.welcome p:last-child{max-width:560px;line-height:1.7;color:#ebf5ed}
.welcome>img{width:155px;height:155px;flex:none;object-fit:cover;border-radius:50%;border:5px solid rgba(255,255,255,.78);box-shadow:0 16px 34px rgba(0,0,0,.25)}
.portal-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.portal-highlights>div{padding:22px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 10px 28px rgba(36,65,49,.07)}
.portal-highlights span{display:grid;place-items:center;width:36px;height:36px;margin-bottom:12px;border-radius:12px;background:#e5f1e8;color:#365e48;font-weight:800;font-size:1.2rem}
.portal-highlights strong{display:block}.portal-highlights p{margin:7px 0 0;color:var(--muted);font-size:.9rem;line-height:1.5}
.panel{box-shadow:0 14px 36px rgba(38,70,50,.07)}
.empty{background:linear-gradient(145deg,#fff,#f8fcf9)}
@media(max-width:820px){.auth-layout{grid-template-columns:1fr;max-width:600px}.auth-story{min-height:220px;padding:25px 30px;background-position:center 53%}.story-copy{display:none}.auth-card{padding:36px}.portal-head{padding:15px 22px}.welcome>img{width:110px;height:110px}.portal-highlights{grid-template-columns:1fr}}
@media(max-width:600px){.auth-shell{padding:14px}.auth-layout{border-radius:24px}.auth-story{min-height:155px}.story-brand img{width:45px;height:45px}.auth-card{padding:28px 22px}.auth-logo{width:60px;height:60px}.portal-head{align-items:center}.portal-brand img{width:44px;height:44px}.portal-head-actions{gap:8px}.portal-head-actions>a{display:none}.portal-head .secondary{padding:10px 14px}.welcome{min-height:250px}.welcome>img{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.feature-head{flex-wrap:wrap}
.feature-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
.feature-nav a{padding:10px 15px;border-radius:999px;color:#dceee3;text-decoration:none;font-size:.92rem}
.feature-nav a:hover,.feature-nav a.active{background:rgba(255,255,255,.16);color:#fff}
.feature-head form{display:block}
.feature-title{margin:0 0 30px}.feature-title h1{font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,4.2rem);letter-spacing:-.04em;margin:8px 0 12px}.feature-title>p:last-child,.muted{color:var(--muted);line-height:1.6}
.feature-columns{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(350px,1.2fr);gap:24px}.feature-columns>.panel{margin:0}.feature-columns+.panel{margin-top:24px}
select,textarea{width:100%;padding:14px 16px;border:1px solid #afc6bd;border-radius:13px;background:#fff;color:var(--ink);font:inherit}
textarea{resize:vertical;min-height:110px}select:focus-visible,textarea:focus-visible{outline:3px solid #8bc5b7;outline-offset:2px}
.slot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.slot-card{padding:25px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(38,70,50,.08)}.slot-date{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e7f2e8;color:var(--green);font-size:.84rem;font-weight:800}.slot-card h2{font-family:Georgia,serif;font-size:1.75rem;margin:18px 0 10px}.slot-card p{color:var(--muted);line-height:1.5}.slot-card button{width:100%}
.feature-list{display:grid;gap:0}.feature-list>article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-top:1px solid var(--line)}.feature-list>article:first-child{border-top:0}.feature-list strong,.feature-list small{display:block}.feature-list small{margin-top:5px;color:var(--muted)}.feature-list form{display:flex;gap:8px;flex-wrap:wrap}
.small-button{padding:10px 14px;font-size:.86rem}.outline-button{border:1px solid #9fb8a9;background:#fff;color:var(--green)}
.request-row{align-items:flex-start!important}.request-actions{display:grid;justify-items:end;gap:10px}.request-actions>a{font-size:.88rem}.status{display:inline-block;margin-top:8px;padding:6px 10px;border-radius:999px;background:#e7f1e9;color:#365744;font-size:.76rem;font-weight:800}.status.confirmed{background:#dff2e6;color:#1d6941}.status.declined,.status.cancelled{background:#fff0eb;color:#984b31}
.message-layout{display:grid;grid-template-columns:290px 1fr;align-items:start;gap:22px}.message-layout>.panel{margin:0}.conversation-list{display:grid;gap:8px}.conversation-list h2{font-size:1.15rem}.conversation-list>a{display:block;padding:13px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--ink)}.conversation-list>a.active{border-color:#7eaa91;background:#e7f3e9}.conversation-list small{display:block;margin-top:5px;color:var(--muted)}.chat-panel>h2{font-family:Georgia,serif;font-size:1.7rem}.chat-thread{display:flex;flex-direction:column;gap:12px;min-height:230px;max-height:460px;overflow-y:auto;padding:20px;margin:20px 0;border:1px solid var(--line);border-radius:18px;background:#f8fbf9}.chat-bubble{align-self:flex-start;max-width:82%;padding:14px 17px;border-radius:17px;background:#fff;box-shadow:0 5px 16px rgba(35,69,48,.08)}.chat-bubble.mine{align-self:flex-end;background:#dff0e6}.chat-bubble p{margin:7px 0;line-height:1.5;overflow-wrap:anywhere}.chat-bubble small{color:var(--muted)}
.portal .success{margin-top:20px}.portal .empty .button{margin-top:14px}.booking{align-items:center}.booking small{color:var(--muted)}
@media(max-width:820px){.feature-columns,.message-layout{grid-template-columns:1fr}.feature-nav{order:3;width:100%;justify-content:center;margin-left:0}.feature-head{justify-content:space-between}.request-row{flex-wrap:wrap}.request-actions{justify-items:start}}
@media(max-width:600px){.feature-nav a{padding:8px 10px;font-size:.84rem}.feature-head .secondary{padding:9px 12px}.feature-list>article{align-items:flex-start;flex-wrap:wrap}.feature-title h1{font-size:2.7rem}.chat-bubble{max-width:94%}}
