:root{--ink:#162e35;--muted:#6a7075;--green:#356151;--lime:#162e35;--bg:#f5f7f8;--line:#e1e4e7;--red:#b32636;--blue:#244c3e}
html{background:#e4e9e7}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#e4e9e7}h1,h2,h3{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:500;letter-spacing:0}h1{font-size:31px}h2{font-size:23px}h3{font-size:21px}.shell{margin:0 auto;width:100%;max-width:480px;min-height:100dvh;background:var(--bg);padding-bottom:95px;box-shadow:0 0 35px #00000014}.sidebar{position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);width:100%;max-width:480px;height:78px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border:0;border-top:1px solid #dce0e3;z-index:10}.sidebar nav{display:flex;height:100%;gap:5px}.sidebar nav a{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px 5px;border-radius:7px;font-size:13px;color:#666;min-height:56px}.sidebar nav a.active{background:#edf3e9;color:#244c3e}.sidebar nav a.active svg{color:#244c3e}.sidebar nav a svg{width:22px;height:22px}.topbar{height:94px;background:#162e35;padding:10px 20px;border:0;border-bottom:4px solid #162e35;position:sticky;top:0;z-index:5;gap:15px}.topbar>a{display:flex;align-items:center}.topbar img{width:228px;max-width:100%;height:auto}.profile-btn{background:transparent;border:0;padding:4px;display:grid;place-items:center}.profile-btn .avatar{background:#484848;border:1px solid #626262;color:white;width:37px;height:37px;font-family:system-ui,sans-serif;font-size:12px}.app-context{display:flex;align-items:center;justify-content:space-between;padding:12px 20px 0;font-size:12px;color:#71777c}.app-context>span:last-child{font-size:10px;letter-spacing:1.3px;color:#94999d}main{padding:22px 20px 10px;max-width:none}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#356151;font-weight:500;margin-bottom:6px}.page-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:15px;margin-bottom:22px}.page-head>div{width:100%}.page-head h1{font-size:31px;line-height:1.2}.subtitle{margin-top:7px;font-size:15px;color:#6a7075;line-height:1.5}.page-head>.btn{padding:11px 16px;min-height:46px}.btn{min-height:46px;border-radius:5px;font-size:14px;font-weight:500}.btn.primary{background:#244c3e;border-color:#244c3e;color:#fff}.btn.lime{background:#fff;border-color:#fff;color:#162e35}.btn:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#244c3e}.overview,.news-bottom{grid-template-columns:1fr;gap:20px}.featured{background:#162e35;border-radius:7px;padding:23px;min-height:260px;color:#fff}.featured-top{margin-bottom:22px}.featured .badge{background:#324c43;color:#fff;font-size:12px}.featured h2{font-family:system-ui,sans-serif;font-size:29px;font-weight:500;letter-spacing:0;line-height:1.3}.featured p{color:#fff;font-size:15px;line-height:1.8}.featured-actions{margin-top:22px;align-items:center}.featured small{color:#c4d4d7;font-size:12px}.date-stamp{color:#fff;font-family:system-ui,sans-serif}.date-stamp strong{font-size:32px}.date-stamp span{font-family:system-ui,sans-serif;font-size:10px}.card{border-radius:7px;box-shadow:0 2px 5px #00000003}.today-card{padding:20px}.sectionline{margin-bottom:17px}.sectionline h2{color:#162e35;font-size:23px}.sectionline small{font-size:12px}.today-item{padding:13px 0}.today-item time{font-size:14px}.today-item strong{font-size:15px;font-weight:500}.today-item small{font-size:13px}.tiny-color{background:#76a387}.tiny-color.blue{background:#162e35}.tiny-color.gold{background:#b79555}.news-bottom{margin-top:25px}.newslist{gap:12px}.news-card{padding:18px 15px;gap:12px;border-radius:7px}.news-card h3{font-family:system-ui,sans-serif;font-weight:500;font-size:20px;line-height:1.4;color:#162e35}.news-card p{font-size:14px;line-height:1.65}.news-card .meta{gap:7px;flex-wrap:wrap}.news-symbol{padding:9px;border-radius:5px;background:#f9e8e8;color:#b32636}.news-symbol.green{background:#edf3e9;color:#244c3e}.badge{font-size:12px;font-weight:500;background:#eaf2ed;color:#467653;border-radius:4px}.badge.blue{background:#edf3e9;color:#244c3e}.badge.gray{background:#f0f2f4;color:#686f75}.badge.red{color:#a92232;background:#fbe8ec}.quick-links{padding:20px}.quick{padding:16px 0}.quick strong{font-weight:500}.quick>svg{color:#244c3e}.small-note{border:1px solid #dbe0e6;border-radius:6px;background:#edf1ef;font-size:14px;padding:17px 18px}.news-bottom .small-note{display:none}.toolbar{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:18px}.date-control{gap:7px;display:flex;justify-content:space-between}.date-control input{width:176px;max-width:calc(100% - 164px);min-width:130px;padding:10px;font-size:14px}.icon-btn{width:40px;height:42px;border-radius:5px;flex-shrink:0}.date-control .btn{padding:9px 12px;min-height:42px}.tabs{display:flex;gap:4px;background:#e0e5eb;border-radius:6px;padding:4px;width:100%}.tabs button{flex:1;font-size:14px;font-weight:500;padding:10px 5px;min-height:42px;white-space:nowrap}.tabs button.active{color:#244c3e}.notice{font-size:14px;padding:14px;border-radius:6px;align-items:flex-start;gap:10px;margin-bottom:18px;background:#faecee;border-color:#edcfd3;color:#a53543;line-height:1.45}.notice button{white-space:nowrap;font-size:12px}.plan-layout{grid-template-columns:1fr;gap:22px}.shift-caption{font-size:13px;flex-wrap:wrap;line-height:1.6;margin-bottom:13px;gap:3px}.shift-caption strong{font-weight:500}.paddock-grid{grid-template-columns:1fr;gap:10px}.paddock{padding:16px 17px;min-height:125px;border-radius:7px}.paddock-top{margin-bottom:9px;gap:10px;align-items:center}.paddock-top strong{font-size:14px;font-weight:500}.paddock-top .badge{font-size:12px;padding:4px 8px}.paddock h3{font-family:system-ui,sans-serif;font-size:18px;font-weight:500;line-height:1.4}.paddock p{font-size:14px;margin-top:5px;line-height:1.5}.paddock .bottom{font-size:12px;padding-top:10px;gap:7px}.paddock .bottom svg{width:16px;height:16px}.paddock.free{background:#f7fafc;border-color:#c7d7cd;min-height:105px}.paddock.free h3{color:#244c3e}.paddock.blocked{background:#faecee;border-color:#edcfd3;min-height:105px}.paddock.flagged{border-color:#d98790}.paddock.flagged .bottom{color:#a92232;font-size:14px}.paddock.blocked h3{color:#a92232}.paddock .plus{color:#244c3e}.plan-side{display:grid;grid-template-columns:1fr;gap:15px}.plan-side .card{padding:18px 20px}.plan-side .small-note{margin:0}.plan-side h3{font-size:20px;font-weight:500;color:#244c3e}.plan-side .checklist{font-size:14px}.statnum{font-family:system-ui,sans-serif;font-size:33px;margin:8px 0 3px}.statbar{margin:12px 0 18px}.statbar span{background:#162e35}.legend{display:flex;flex-wrap:wrap;gap:15px}.legend i{background:#162e35}.arena-tabs{margin-bottom:20px}.arena-legend{font-size:13px;margin-bottom:14px;gap:20px}.cal-head{grid-template-columns:55px minmax(0,1fr);min-width:0;position:static}.cal-head>div{padding:15px}.cal-head>div:first-child{padding:0}.cal-head small{font-size:12px}.cal-body{grid-template-columns:55px minmax(0,1fr);min-width:0;height:1008px}.times{grid-template-rows:repeat(14,72px)}.times span{font-size:12px;padding:6px 7px 0}.arena-column{grid-template-rows:repeat(28,36px)}.booking{padding:8px 11px;border-radius:5px}.booking strong{font-size:16px;font-weight:500}.booking small{font-size:13px}.booking>span{font-size:12px}.booking{background:#edf4ee;border-color:#cdded0;border-left-color:#719b7a}.booking.blue{background:#faf1dd;border-color:#e3d4b6;border-left-color:#162e35}.booking.gold{background:#fbf2df}.calendar{border-radius:7px;overflow:hidden}.slot:hover{background:#edf3e9}footer{padding:25px 20px 20px;display:flex;flex-direction:column;font-size:12px;gap:5px;color:#90969b}footer span{font-size:11px}dialog{border-radius:16px 16px 0 0;width:min(480px,100%);max-width:100%;max-height:92dvh;margin:auto auto 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 60px #0002}dialog::before{content:'';display:block;width:35px;height:4px;border-radius:4px;background:#ccd1d5;margin:11px auto 0}dialog::backdrop{background:#14141477}.modal-head{padding:18px 22px 15px}.modal-head h2{font-family:system-ui,sans-serif;font-size:25px;color:#162e35;line-height:1.25}.modal-body{padding:0 22px 27px}.modal-body>p{font-size:15px;line-height:1.65;margin:8px 0 18px}.form-grid{gap:16px}.field{font-size:14px;font-weight:500}.field input,.field select,.field textarea{font-family:system-ui,sans-serif;font-size:16px;border-radius:5px;min-height:46px}.form-actions{flex-wrap:wrap;gap:9px}.form-actions>.btn{flex:1;white-space:nowrap}.detail-row{font-size:14px;line-height:1.6}.detail-row strong{text-align:right;font-weight:500}.check-actions .btn{font-size:14px}.helper{font-size:13px;line-height:1.6}.clean-policy{margin-top:17px;background:#f3f5f7;border-radius:7px;padding:14px;font-size:14px}.clean-policy>p{margin-bottom:12px;color:#6a7075;line-height:1.5}.clean-policy>small{color:#767d82;font-size:12px;line-height:1.5;display:block}.clean-policy .btn{font-size:13px;width:100%;background:#fff}.flag-message{display:flex;gap:10px;color:#a92232;margin-bottom:13px;align-items:flex-start}.flag-message svg{flex-shrink:0;margin-top:2px}.flag-message strong{display:block;font-weight:500}.flag-message small{display:block;font-size:12px;margin-top:4px;color:#737a7e}.report-info{font-size:14px;line-height:1.65;background:#edf1ef;padding:15px;border-radius:7px;color:#526b61}.admin-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:#edf3e9;border:1px solid #cddad1;margin-bottom:18px;border-radius:6px;font-size:13px;color:#244c3e}.admin-bar>span{display:flex;align-items:center;gap:8px}.admin-bar .btn{min-height:40px;padding:8px 11px;font-size:12px;border-color:#cddad1;white-space:nowrap}.profile-card{display:flex;align-items:center;gap:14px;padding:8px 0 15px}.profile-card .avatar{background:#edf3e9;color:#244c3e;width:48px;height:48px;font-size:15px}.profile-card h3{font-size:23px}.profile-card p{font-size:14px;color:#737a7e;margin-top:4px}.role-info{display:grid;gap:8px;margin-top:19px;font-size:14px;line-height:1.6;background:#f0f3f1;padding:16px;border-radius:7px}.role-info strong{font-weight:500}.role-info span{color:#6a7075}.role-info strong:not(:first-child){margin-top:8px}#toast{background:#162e35;bottom:98px;font-family:system-ui,sans-serif;border-radius:7px;max-width:440px;width:max-content;max-width:min(440px,calc(100% - 32px))}body[data-role=admin] .profile-btn .avatar{background:#244c3e;border-color:#7ba28a}@media(max-width:360px){main{padding:20px 14px 10px}.topbar{padding:10px 15px}.topbar img{width:205px}.date-control{gap:4px}.date-control input{min-width:115px;padding:8px 6px}.date-control .btn{padding:8px}.icon-btn{width:35px}.notice{padding:12px;gap:7px}.tabs button{font-size:13px}.admin-bar{flex-wrap:wrap}}@media(min-width:600px){.shell{border-left:1px solid #ced8d3;border-right:1px solid #ced8d3}.sidebar{border-left:1px solid #ced8d3;border-right:1px solid #ced8d3}dialog{border-radius:16px;width:440px;margin:auto}dialog::before{display:none}}

.calendar{max-height:440px;overflow-y:auto;overscroll-behavior:contain}.cal-head{position:sticky;top:0;z-index:2}
.page-head>.page-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;margin-top:0}.page-actions>.btn{padding:11px 8px;white-space:nowrap;min-height:46px;font-size:14px}.page-actions svg{width:18px;height:18px}.preset-list{display:grid;gap:12px;margin:18px 0}.preset-item{background:#f6f8f7;border:1px solid #dce4df;border-radius:8px;padding:15px}.preset-item>label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.preset-item input[type=checkbox]{accent-color:#244c3e;width:20px;height:20px;flex-shrink:0;margin:3px 0}.preset-item strong{display:block;font-size:16px;line-height:1.5;font-weight:600}.preset-item small{display:block;font-size:14px;color:#5a6c71;margin-top:5px;line-height:1.6}.preset-status{display:block;font-size:13px;color:#244c3e;margin-top:8px;line-height:1.5}.preset-status.present{color:#68757a}.preset-edit{border:0;background:none;color:#244c3e;font-size:14px;font-weight:500;padding:9px 0 0 32px;text-decoration:underline;min-height:37px}.paste-summary{padding:14px 15px;background:#edf3e9;color:#244c3e;font-size:14px;line-height:1.65;border-radius:7px;margin-top:19px}.paste-summary.error{background:#faecee;color:#a92232}.empty-presets{padding:16px;border:1px dashed #c8d7cc;border-radius:7px;font-size:15px;line-height:1.6;color:#5a6c71}.preset-delete{border-top:1px solid #e4e9eb;margin-top:20px;padding-top:16px;text-align:center}.preset-delete .btn{width:100%}.profile-presets .btn{width:100%;margin-bottom:12px}

/* Clear typography and the original dark-green palette. */
h1,h2,h3,.featured h2,.news-card h3,.modal-head h2{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:700;letter-spacing:-.45px;line-height:1.35}
h1,.page-head h1{font-size:28px}h2,.sectionline h2{font-size:20px}h3,.news-card h3{font-size:18px}.featured h2{font-size:25px}.modal-head h2{font-size:22px}.featured .badge{color:#dced86;background:#324c43}.date-stamp{color:#dced86;font-family:system-ui,sans-serif}.featured .btn.lime{background:#dced86;border-color:#dced86;color:#162e35}.topbar{border-bottom:0}.btn.primary{background:#162e35;border-color:#162e35}.sidebar nav a.active{background:#edf3e9;color:#244c3e}.app-context{color:#5b686d}.app-context>span:last-child{color:#68757a}.subtitle,.helper,.news-card p,.paddock p{color:#5a6c71}.paddock.free{background:#f6faf7}.booking.blue{background:#faf1dd;border-color:#e3d4b6;border-left-color:#95651d}.arena-legend i.blue,.tiny-color.blue{background:#b99349}.badge.blue{background:#eef2eb;color:#356151}.statbar span,.legend i{background:#356151}.featured p{color:#d2e0de}.profile-card h3{font-size:21px}.paddock-top strong{font-weight:600}.tabs button{font-weight:600}.sidebar nav a{font-size:14px}.profile-card p{font-size:14px}.date-stamp strong{font-size:31px;font-weight:700}.date-stamp span{color:#dced86}

/* Give the riding calendar the main share of the phone screen. */
.topbar{height:62px;padding:5px 18px}.topbar img{width:154px;height:48px;object-fit:contain;object-position:left}.profile-btn{width:44px;height:44px;padding:4px}.profile-btn .avatar{width:32px;height:32px}
body[data-page=reiten] .app-context{display:none}
body[data-page=reiten] main{padding:12px 18px 10px}
body[data-page=reiten] .page-head{align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;margin-bottom:12px}
body[data-page=reiten] .page-head>div{width:auto;min-width:0}
body[data-page=reiten] .page-head .eyebrow,body[data-page=reiten] .page-head .subtitle{display:none}
body[data-page=reiten] .page-head h1{font-size:24px;line-height:1.3}
body[data-page=reiten] .page-head>.btn{min-height:44px;padding:10px 12px;flex-shrink:0}
body[data-page=reiten] .toolbar{gap:0;margin-bottom:12px}
body[data-page=reiten] .date-control input,body[data-page=reiten] .date-control .btn,body[data-page=reiten] .icon-btn{min-height:44px;height:44px}
body[data-page=reiten] .arena-tabs{margin-bottom:10px}
body[data-page=reiten] .arena-legend{margin-bottom:9px}
body[data-page=reiten] .calendar{height:calc(100dvh - 350px);min-height:200px;max-height:none}
body[data-page=reiten] .cal-head>div{padding:10px 15px}
body[data-page=reiten] .cal-head>div:first-child{padding:0}
@media(max-width:360px){body[data-page=reiten] main{padding:12px 14px 10px}.topbar{padding:5px 14px}}
