:root {
    color-scheme: light;
    --app-red: #e11220;
    --app-red-dark: #b90e18;
    --app-ink: #202124;
    --app-blue: #1769c2;
    --app-line: #dbe5ee;
    --app-bg: #f2f6f9;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--app-bg); }
body.okr-rider-app {
    min-height: 100%; margin: 0; color: var(--app-ink); background:
        radial-gradient(circle at 0 0, rgba(23,105,194,.10), transparent 24rem),
        linear-gradient(180deg,#f7fafc 0,#eef3f7 100%);
    font-family: "Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
}

.okr-rider-app button,.okr-rider-app input { font: inherit; }
.okr-rider-app a { color: var(--app-blue); }
.okr-rider-app [hidden] { display: none !important; }

.okr-app-update {
    position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 9990;
    display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem;
    width: min(38rem,calc(100% - 1.4rem)); padding: .78rem .82rem; transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; color: #fff; background: #202832;
    box-shadow: 0 1rem 2.6rem rgba(12,19,27,.32);
}
.okr-app-update-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; color: #fff; background: var(--app-red); font-size: 1.35rem; font-weight: 900; }
.okr-app-update-copy { display: grid; gap: .16rem; min-width: 0; }
.okr-app-update-copy strong { font-size: .9rem; line-height: 1.25; }
.okr-app-update-copy small { color: #bdc8d2; font-size: .72rem; line-height: 1.35; }
.okr-app-update button { min-height: 2.55rem; border: 0; border-radius: .68rem; padding: .65rem .86rem; color: #fff; background: var(--app-red); font-size: .78rem; font-weight: 850; white-space: nowrap; cursor: pointer; }
.okr-app-update button:hover,.okr-app-update button:focus-visible { background: var(--app-red-dark); }
.okr-app-update button:disabled { opacity: .7; cursor: progress; }

.okr-install-gate { display: none; }
html.okr-install-required,html.okr-install-required body { overflow: hidden; }
html.okr-install-required .okr-install-gate {
    position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; overflow: auto;
    padding: calc(1rem + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom));
    background: radial-gradient(circle at 50% -10%,#354355 0,#171c24 48%,#0e1116 100%);
}
.okr-install-gate-card {
    width: min(31rem,100%); padding: clamp(1.5rem,5vw,2.35rem); border: 1px solid rgba(255,255,255,.13);
    border-top: 4px solid var(--app-red); border-radius: 1.4rem; color: #fff; background: rgba(28,33,42,.96);
    box-shadow: 0 2rem 5rem rgba(0,0,0,.38); text-align: center;
}
.okr-install-gate-logo { width: 8.4rem; height: 8.4rem; margin: 0 auto 1.1rem; border: 2px solid rgba(255,255,255,.82); border-radius: 1rem; object-fit: cover; box-shadow: 0 .7rem 1.7rem rgba(0,0,0,.32); }
.okr-install-gate-logo.is-okruhari { width: min(15rem,82%); height: auto; padding: .7rem .9rem; border: 0; border-radius: .8rem; background: #fff; object-fit: contain; }
.okr-install-gate-eyebrow { margin: 0; color: #ff3b46; font-size: .73rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.okr-install-gate h1 { margin: .55rem 0 .65rem; font-size: clamp(1.8rem,7vw,2.5rem); line-height: 1.06; }
.okr-install-gate-intro { max-width: 36ch; margin: 0 auto 1.3rem; color: #c4ccd6; font-size: .96rem; line-height: 1.55; }
.okr-install-benefits { display: grid; gap: .55rem; margin: 0 0 1.3rem; padding: 0; list-style: none; text-align: left; }
.okr-install-benefits li { display: flex; align-items: center; gap: .72rem; padding: .72rem .82rem; border: 1px solid #3a424e; border-radius: .75rem; color: #eef2f6; background: #252b34; font-size: .88rem; font-weight: 700; }
.okr-install-benefits span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--app-red); font-size: .72rem; }
.okr-install-instructions { margin: 0 0 1rem; padding: .9rem; border: 1px solid #526271; border-radius: .8rem; color: #f2f6fa; background: #303945; font-size: .88rem; font-weight: 650; line-height: 1.55; text-align: left; }
.okr-install-instructions ol { display: grid; gap: .72rem; margin: 0; padding-left: 1.4rem; }
.okr-install-instructions li { padding-left: .2rem; }
.okr-install-instructions li::marker { color: #ff4b55; font-weight: 900; }
.okr-install-primary,.okr-install-done { width: 100%; min-height: 3.3rem; border-radius: .78rem; padding: .8rem 1rem; font-weight: 900; cursor: pointer; }
.okr-install-primary { border: 0; color: #fff; background: var(--app-red); box-shadow: 0 .55rem 1.25rem rgba(225,18,32,.28); }
.okr-install-primary:hover,.okr-install-primary:focus-visible { background: var(--app-red-dark); }
.okr-install-done { margin-top: .65rem; border: 1px solid #697787; color: #fff; background: transparent; }
.okr-install-done:hover,.okr-install-done:focus-visible { border-color: #fff; background: rgba(255,255,255,.07); }

.okr-app-header {
    position: sticky; top: 0; z-index: 100; padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(216,227,237,.9); background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.okr-app-header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: min(1180px,100%); min-height: 4.5rem; margin: 0 auto; padding: .55rem 1rem;
}
.okr-app-brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: #1f2832 !important; text-decoration: none; }
.okr-app-brand img { width: 3.25rem; height: 3.25rem; border-radius: .72rem; object-fit: cover; box-shadow: 0 0 0 1px #fff,0 .2rem .8rem rgba(25,39,53,.18); }
.okr-app-brand img.is-okruhari { width: 7.1rem; height: auto; border-radius: 0; object-fit: contain; box-shadow: none; }
.okr-app-brand span { display: flex; flex-direction: column; min-width: 0; }
.okr-app-brand strong { font-size: 1rem; line-height: 1.25; letter-spacing: .015em; }
.okr-app-brand small { color: #6d7a87; font-size: .72rem; }
.okr-app-actions { display: flex; align-items: center; gap: .55rem; }
.okr-app-actions a,.okr-app-install,.okr-app-share-header {
    border: 0; border-radius: .65rem; padding: .65rem .8rem; color: #52687b; background: transparent;
    font-size: .8rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.okr-app-actions .okr-app-live,.okr-app-live {
    display: inline-flex; align-items: center; justify-content: center; gap: .48rem; border: 1px solid #e11220;
    border-radius: .68rem; padding: .65rem .82rem; color: #fff !important; background: var(--app-red);
    font-size: .8rem; font-weight: 850; line-height: 1; text-decoration: none; box-shadow: 0 .3rem .8rem rgba(225,18,32,.18);
}
.okr-app-live span { width: .52rem; height: .52rem; flex: 0 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .25rem rgba(255,255,255,.18); animation: okrLivePulse 1.8s ease-in-out infinite; }
.okr-app-actions .okr-app-live:hover,.okr-app-actions .okr-app-live:focus-visible,.okr-app-live:hover,.okr-app-live:focus-visible { color: #fff !important; background: var(--app-red-dark); }
.okr-app-live-guest { width: 100%; min-height: 3.1rem; margin: 0 0 1rem; font-size: .92rem; }
@keyframes okrLivePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.8)} }
.okr-app-install { color: #fff; background: var(--app-red); }
.okr-app-install:hover,.okr-app-install:focus-visible { background: var(--app-red-dark); }
.okr-app-actions a:hover,.okr-app-actions a:focus-visible { color: var(--app-blue); background: #edf5ff; }
.okr-app-actions .okr-app-messages { position: relative; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid #d7e1ea; color: #31475a; background: #fff; font-size: 1.1rem; }
.okr-app-actions .okr-app-messages.is-active { border-color: #9dbddd; color: #124f87; background: #edf6ff; }
.okr-app-actions .okr-app-event-link { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid #ead696; color: #59471d; background: #fff9e8; font-size: 1rem; }
.okr-app-actions .okr-app-event-link.is-active { border-color: #d0aa39; background: #ffefb9; }
.okr-app-messages b { position: absolute; top: -.38rem; right: -.38rem; display: grid; place-items: center; min-width: 1.2rem; height: 1.2rem; padding: 0 .28rem; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--app-red); font-size: .62rem; }
.okr-app-logout { min-width: 3.35rem; justify-content: center; white-space: normal !important; text-align: center; line-height: 1.05 !important; }
.okr-app-share-header { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0 !important; border: 1px solid #d8e2ea !important; color: #4f6273; background: #fff; }
.okr-app-share-header:hover,.okr-app-share-header:focus-visible { color: var(--app-red); border-color: #efb6ba !important; background: #fff5f5; }
.okr-app-share-header svg,.okr-app-share svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.okr-active-trackday-wrap { width: min(1180px,100%); margin: 0 auto; padding: .8rem 1rem 0; }
.okr-active-trackday { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .85rem; min-height: 4.25rem; padding: .75rem .9rem; border: 1px solid #d6e0e8; border-left: .32rem solid #263746; border-radius: .9rem; color: #263543 !important; background: rgba(255,255,255,.96); box-shadow: 0 .35rem 1.15rem rgba(29,48,65,.07); text-decoration: none; }
.okr-active-trackday:hover,.okr-active-trackday:focus-visible { border-color: #9eb6c9; background: #f7fbfe; }
.okr-active-trackday-flag { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .72rem; color: #fff; background: #263746; font-size: 1.25rem; }
.okr-active-trackday-copy { display: grid; min-width: 0; }
.okr-active-trackday-copy small { color: var(--app-red); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-active-trackday-copy strong,.okr-active-trackday-copy em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okr-active-trackday-copy strong { margin-top: .12rem; font-size: .95rem; }
.okr-active-trackday-copy em { margin-top: .08rem; color: #71808e; font-size: .7rem; font-style: normal; }
.okr-active-trackday-status { display: grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 .55rem; border-radius: 99px; color: #fff; background: #263746; font-size: .72rem; font-weight: 900; }
.okr-active-trackday.is-live { border-left-color: var(--app-red); }
.okr-active-trackday.is-live .okr-active-trackday-status { background: var(--app-red); animation: okrLivePulse 1.8s ease-in-out infinite; }
.okr-app-profile { width: min(1180px,100%); margin: 0 auto; padding: 1.5rem 1rem calc(3rem + env(safe-area-inset-bottom)); }
.okr-app-profile > .okr-profile { max-width: 1080px; margin: 0 auto; }
.okr-app-share-card {
    position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .9rem;
    max-width: 1080px; margin: 0 auto 1rem; padding: .9rem 3rem .9rem 1rem; overflow: hidden;
    border: 1px solid #f1c5c8; border-radius: 1rem; background: linear-gradient(120deg,#fff 0%,#fff7f7 100%);
    box-shadow: 0 .35rem 1.2rem rgba(45,57,68,.06);
}
.okr-app-share-copy > span { display: block; margin-bottom: .12rem; color: var(--app-red); font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-app-share-copy h2 { margin: 0; color: #202934; font-size: 1rem; line-height: 1.2; }
.okr-app-share-copy p { margin: .18rem 0 0; color: #667482; font-size: .78rem; line-height: 1.4; }
.okr-app-share { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; border: 0; border-radius: .72rem; padding: .7rem .9rem; color: #fff; background: var(--app-red); font-size: .78rem; font-weight: 850; white-space: nowrap; cursor: pointer; box-shadow: 0 .35rem .8rem rgba(225,18,32,.18); }
.okr-app-share:hover,.okr-app-share:focus-visible { background: var(--app-red-dark); }
.okr-app-share-dismiss { position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; padding: 0; color: #7a8793; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.okr-app-share-dismiss:hover,.okr-app-share-dismiss:focus-visible { color: #1f2933; background: #edf1f4; }
.okr-app-share-card[hidden] { display: none !important; }
.okr-app-share-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.okr-message-inbox { max-width: 1080px; margin: 0 auto 1rem; overflow: hidden; border: 1px solid #d8e3ed; border-radius: 1rem; background: #fff; box-shadow: 0 .45rem 1.5rem rgba(32,49,64,.07); }
.okr-message-inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid #e5edf3; background: linear-gradient(120deg,#fff 0,#f2f7fb 100%); }
.okr-message-inbox-head span { color: var(--app-red); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-message-inbox-head h2 { margin: .18rem 0 0; font-size: 1.25rem; }
.okr-message-inbox-head > strong { display: grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 99px; color: #fff; background: var(--app-red); }
.okr-message-empty { margin: 0; padding: 1.5rem; color: #6f7d8a; }
.okr-message-layout { display: grid; grid-template-columns: minmax(15rem,38%) minmax(0,1fr); min-height: 18rem; }
.okr-message-list { border-right: 1px solid #e5edf3; }
.okr-message-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid #edf2f6; color: #25313b !important; text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.okr-message-item:hover,.okr-message-item:focus-visible,.okr-message-item.is-selected { background: #eef6fd; }
.okr-message-item.is-unread { box-shadow: inset .25rem 0 0 var(--app-red); background: #fff8f8; }
.okr-message-item strong,.okr-message-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okr-message-item small { margin-top: .25rem; color: #7b8792; font-size: .72rem; }
.okr-message-item em { padding: .3rem .45rem; border-radius: .4rem; color: #fff; background: var(--app-red); font-size: .62rem; font-style: normal; font-weight: 850; text-transform: uppercase; }
.okr-message-detail { padding: 1.35rem; }
.okr-message-meta { color: #6c7a86; font-size: .75rem; }
.okr-message-detail h3 { margin: .45rem 0 1rem; font-size: clamp(1.3rem,4vw,1.75rem); }
.okr-message-body { color: #303b45; font-size: .96rem; line-height: 1.65; }
.okr-message-detail details { margin-top: 1rem; padding: .8rem; border: 1px solid #e1e8ee; border-radius: .7rem; background: #f8fafb; }
.okr-message-detail summary { cursor: pointer; font-weight: 750; }
.okr-message-translation { display: block; margin-top: .65rem; color: #788692; }
.okr-message-no-reply { margin: 1.2rem 0 0; padding-top: .9rem; border-top: 1px solid #e7edf2; color: #74818c; font-size: .78rem; }
.okr-message-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.okr-message-actions form { margin: 0; }
.okr-message-action { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 1px solid #ced9e2; border-radius: .65rem; font: inherit; font-weight: 850; text-decoration: none !important; cursor: pointer; }
.okr-message-ok { min-width: 6rem; border-color: #243746; color: #fff !important; background: #243746; }
.okr-message-delete { color: #b42318; background: #fff; }
.okr-message-notice { margin: .85rem 1rem; padding: .7rem .85rem; border-radius: .65rem; color: #176b43; background: #eaf8f1; }
.okr-app-page-actions { display: flex; justify-content: flex-end; max-width: 1080px; margin: 0 auto .55rem; }
.okr-app-close-view { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid #ced9e2; border-radius: 50%; color: #263746 !important; background: #fff; text-decoration: none !important; box-shadow: 0 .25rem .8rem rgba(29,48,65,.06); }
.okr-app-close-view span { font-size: 1.55rem; font-weight: 400; line-height: 1; transform: translateY(-.04rem); }
.okr-app-close-view:hover,.okr-app-close-view:focus-visible { border-color: #91aabd; color: #fff !important; background: #263746; }
.okr-event-hub-card { max-width: 1080px; margin: 0 auto; overflow: hidden; border: 1px solid #d9e3eb; border-radius: 1.15rem; background: #fff; box-shadow: 0 .55rem 1.8rem rgba(29,48,65,.08); }
.okr-event-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1rem; padding: clamp(1.2rem,4vw,2rem); color: #fff; background: radial-gradient(circle at 100% 0,rgba(225,18,32,.48),transparent 16rem),linear-gradient(125deg,#1a2029,#303946); }
.okr-event-hero small,.okr-event-empty small { display: block; color: #ff5b65; font-size: .67rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.okr-event-hero h1 { margin: .38rem 0 .28rem; font-size: clamp(1.7rem,6vw,2.8rem); line-height: 1; }
.okr-event-hero p { margin: 0; color: #cad2dc; font-size: .9rem; font-weight: 700; }
.okr-event-live { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: .65rem; min-width: 12rem; padding: .8rem 1rem; border: 1px solid #5b6673; border-radius: .85rem; color: #fff !important; background: rgba(255,255,255,.08); text-decoration: none; }
.okr-event-live > span { grid-row: 1 / span 2; width: .72rem; height: .72rem; border-radius: 50%; background: #88929e; }
.okr-event-live strong { font-size: .86rem; }
.okr-event-live small { color: #aeb8c3; font-size: .65rem; letter-spacing: 0; text-transform: none; }
.okr-event-live.is-live { border-color: #ff5a64; background: #b90e18; }
.okr-event-live.is-live > span { background: #fff; box-shadow: 0 0 0 .3rem rgba(255,255,255,.16); animation: okrLivePulse 1.8s ease-in-out infinite; }
.okr-event-live.is-live small { color: #fff; }
.okr-event-checks { display: grid; grid-template-columns: minmax(10rem,.72fr) repeat(2,minmax(0,1fr)); gap: .8rem; margin: 1.15rem; }
.okr-event-group,.okr-event-check { min-height: 7.2rem; border: 1px solid #dce5ed; border-radius: .9rem; background: #f8fafc; }
.okr-event-group { display: grid; place-items: center; align-content: center; padding: .85rem; color: #fff; background: #202934; text-align: center; }
.okr-event-group small { color: #ff6972; font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-event-group strong { margin: .12rem 0; font-size: 3.5rem; line-height: .95; }
.okr-event-group span { color: #c8d1da; font-size: .68rem; font-weight: 750; }
.okr-event-check { display: flex; align-items: center; gap: .85rem; padding: 1rem; }
.okr-event-check i { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #d52b38; font-size: 1.35rem; font-style: normal; font-weight: 900; }
.okr-event-check.is-ok { border-color: #a9dec9; background: #f0faf5; }
.okr-event-check.is-ok i { background: #159366; }
.okr-event-check span { display: grid; gap: .24rem; }
.okr-event-check small { color: #687987; font-size: .68rem; font-weight: 750; }
.okr-event-check strong { color: #2b3742; font-size: .86rem; }
.okr-event-performance { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: 0 1.15rem 1.15rem; }
.okr-event-performance > div { display: grid; min-height: 6.4rem; align-content: center; padding: 1rem 1.1rem; border: 1px solid #d8e2ea; border-radius: .9rem; background: linear-gradient(135deg,#fff,#f4f8fb); }
.okr-event-performance small { color: #697987; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.okr-event-performance strong { margin: .2rem 0; color: #202934; font-size: clamp(1.75rem,5vw,2.45rem); line-height: 1; }
.okr-event-performance span { overflow: hidden; color: #70808d; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
@keyframes okrResultFlash { 0%,100%{border-color:#ff5964;box-shadow:0 0 0 .08rem rgba(225,18,32,.12),0 .45rem 1.3rem rgba(225,18,32,.08)} 50%{border-color:#e11220;box-shadow:0 0 0 .28rem rgba(225,18,32,.2),0 .6rem 1.8rem rgba(225,18,32,.2)} }
.okr-event-performance.is-demo-live > div { animation: okrResultFlash 1.35s ease-in-out infinite; }
.okr-event-performance.is-demo-live > div:nth-child(2) { animation-delay: .18s; }
.okr-event-announcement { margin: 1.15rem; padding: 1rem 1.05rem; border: 1px solid #f2c1c5; border-left: .34rem solid var(--app-red); border-radius: .8rem; background: #fff7f7; }
.okr-event-announcement small { color: var(--app-red); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-event-announcement p { margin: .45rem 0 0; color: #303943; font-size: .92rem; line-height: 1.55; }
.okr-event-resources { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; padding: 1.15rem; }
.okr-event-announcement + .okr-event-resources { padding-top: 0; }
.okr-event-resources a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .75rem; min-height: 4.6rem; padding: .85rem; border: 1px solid #dce5ed; border-radius: .85rem; color: #263543 !important; background: #f8fafc; text-decoration: none; }
.okr-event-resources a:hover,.okr-event-resources a:focus-visible { border-color: #9fb9d0; background: #eef6fd; }
.okr-event-resources a > span { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .72rem; color: #fff; background: #263746; font-size: 1.25rem; }
.okr-event-resources strong { font-size: .9rem; }
.okr-event-resources small { color: #61788c; font-size: .68rem; white-space: nowrap; }
.okr-event-unread { display: block; margin: 0 1.15rem 1rem; padding: .75rem .9rem; border-radius: .7rem; color: #7d151d !important; background: #fff0f1; font-size: .8rem; text-decoration: none; }
.okr-event-hub-card footer { display: flex; align-items: center; gap: .45rem; padding: .75rem 1.15rem; border-top: 1px solid #e5ebf0; color: #748391; font-size: .7rem; }
.okr-event-sync-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #1e9d68; box-shadow: 0 0 0 .2rem #e1f5ed; }
.okr-event-sync-dot.is-offline { background: #c78922; box-shadow: 0 0 0 .2rem #fff2d7; }
.okr-event-empty { display: flex; align-items: center; gap: 1rem; padding: clamp(1.3rem,5vw,2.4rem); }
.okr-event-empty > span { display: grid; place-items: center; width: 4rem; height: 4rem; flex: 0 0 auto; border-radius: 1rem; background: #202934; font-size: 2rem; }
.okr-event-empty h1 { margin: .35rem 0 .4rem; font-size: clamp(1.35rem,5vw,2rem); }
.okr-event-empty p { margin: 0; color: #6a7885; line-height: 1.5; }
.okr-app-ios-hint {
    width: min(40rem,calc(100% - 2rem)); margin: 1rem auto 0; padding: .85rem 1rem; border: 1px solid #cbdff2;
    border-radius: .8rem; color: #305a7c; background: #edf6ff; font-size: .85rem; text-align: center;
}

.okr-app-auth {
    display: grid; place-items: center; min-height: 100dvh; padding: calc(1.5rem + env(safe-area-inset-top)) 1rem calc(1.5rem + env(safe-area-inset-bottom));
}
.okr-auth-card {
    width: min(31rem,100%); padding: clamp(1.4rem,5vw,2.4rem); border: 1px solid rgba(207,219,230,.95);
    border-radius: 1.5rem; background: rgba(255,255,255,.96); box-shadow: 0 1.4rem 4rem rgba(28,52,73,.13); text-align: center;
}
.okr-auth-logo { display: block; width: 8rem; height: 8rem; margin: 0 auto 1.2rem; border-radius: 1rem; object-fit: cover; box-shadow: 0 0 0 4px #fff,0 .6rem 1.6rem rgba(29,42,55,.20); }
.okr-auth-logo.is-okruhari { width: min(15rem,80%); height: auto; border-radius: 0; object-fit: contain; box-shadow: none; }
.okr-auth-eyebrow { margin: 0; color: var(--app-red); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.okr-auth-card h1 { margin: .55rem 0 .65rem; color: #202934; font-size: clamp(1.7rem,6vw,2.35rem); line-height: 1.1; }
.okr-auth-intro { max-width: 36ch; margin: 0 auto 1.5rem; color: #687888; font-size: .95rem; line-height: 1.55; }
.okr-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin: 0 0 1.15rem; padding: .3rem; border-radius: .8rem; background: #eef2f6; }
.okr-auth-tabs button { border: 0; border-radius: .58rem; padding: .75rem .55rem; color: #657585; background: transparent; font-size: .86rem; font-weight: 750; cursor: pointer; }
.okr-auth-tabs button[aria-selected="true"] { color: #1c588f; background: #fff; box-shadow: 0 .15rem .55rem rgba(30,52,72,.10); }
.okr-auth-form { display: grid; gap: .95rem; text-align: left; }
.okr-auth-form label { display: grid; gap: .42rem; color: #3d4d5c; font-size: .8rem; font-weight: 700; }
.okr-auth-form input[type="text"],.okr-auth-form input[type="email"],.okr-auth-form input[type="password"] {
    width: 100%; min-height: 3.15rem; border: 1px solid #cad4de; border-radius: .7rem; padding: .75rem .9rem;
    color: #202934; background: #fbfcfd; font-size: 1rem; outline: 0;
}
.okr-auth-form input:focus { border-color: #4385c1; box-shadow: 0 0 0 3px rgba(23,105,194,.13); background: #fff; }
.okr-password-field { position: relative; display: block; }
.okr-password-field input[type="password"],.okr-password-field input[type="text"] { padding-right: 6.5rem; }
.okr-password-toggle {
    position: absolute; top: 50%; right: .45rem; min-width: 5.2rem; min-height: 2.25rem; transform: translateY(-50%);
    border: 0; border-radius: .5rem; padding: .35rem .55rem; color: #315f85; background: #edf4fa;
    font-size: .72rem; font-weight: 800; cursor: pointer;
}
.okr-password-toggle:hover,.okr-password-toggle:focus-visible { color: #fff; background: var(--app-blue); outline: 0; }
.okr-auth-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.okr-auth-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .65rem !important; font-weight: 500 !important; line-height: 1.45; }
.okr-auth-check input { width: 1.1rem; height: 1.1rem; margin: .12rem 0 0; flex: 0 0 auto; accent-color: var(--app-red); }
.okr-app-verify { display: grid; gap: .72rem; margin: .1rem 0; border: 1px solid #d8e3ec; border-radius: .8rem; padding: 1rem; background: #f7fafc; }
.okr-app-verify legend { padding: 0 .35rem; color: #263b4d; font-size: .82rem; font-weight: 800; }
.okr-app-verify > p { margin: 0; color: #687888; font-size: .76rem; line-height: 1.45; }
.okr-app-verify .okr-app-send-code { min-height: 2.7rem; border: 1px solid #b9cfe0; border-radius: .65rem; padding: .65rem .8rem; color: #245d88; background: #fff; font-size: .78rem; font-weight: 800; cursor: pointer; }
.okr-app-verify .okr-app-send-code:disabled { opacity: .62; cursor: wait; }
.okr-app-verify input[name="okr_code"] { letter-spacing: .18em; font-size: 1.05rem; font-weight: 800; }
.okr-app-verify .okr-app-verify-status { min-height: 1.1rem; color: #26704b; }
.okr-app-verify .okr-app-verify-status.is-error { color: #a02f35; }
.okr-auth-primary { min-height: 3.2rem; border: 0; border-radius: .72rem; padding: .8rem 1rem; color: #fff; background: var(--app-red); font-weight: 800; cursor: pointer; box-shadow: 0 .35rem .8rem rgba(225,18,32,.19); }
.okr-auth-primary:hover,.okr-auth-primary:focus-visible { background: var(--app-red-dark); }
.okr-auth-back { justify-self: center; color: #4f6f8c !important; font-size: .82rem; font-weight: 700; text-decoration: none; }
.okr-app-notice { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: .7rem; font-size: .86rem; line-height: 1.45; text-align: left; }
.okr-app-error { border: 1px solid #f2c5c8; color: #84232a; background: #fff1f2; }
.okr-app-success { border: 1px solid #bfe0cd; color: #245d3e; background: #effaf4; }
.okr-app-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.okr-auth-install { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid #e5ebf0; }
.okr-auth-install .okr-app-install { width: 100%; border: 1px solid #c9d8e5; color: #315f85; background: #f3f8fc; }
.okr-auth-install .okr-app-install:hover,.okr-auth-install .okr-app-install:focus-visible { color: #fff; border-color: var(--app-blue); background: var(--app-blue); }
.okr-auth-install .okr-app-ios-hint { width: 100%; margin: .8rem 0 0; }

/* Keep the existing rider-account visual language while removing the surrounding website. */
.okr-rider-app .okr-profile { font-family: inherit; }
.okr-rider-app .okr-profile .okr-hero { margin-top: 0; }
.okr-rider-app .okr-profile .okr-savebar { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.okr-rider-app .okr-profile .button { background: var(--app-blue); }

@media (display-mode: standalone) {
    .okr-app-install { display: none !important; }
}
@media (max-width: 650px) {
    .okr-app-update { grid-template-columns: auto minmax(0,1fr); }
    .okr-app-update button { grid-column: 1/-1; width: 100%; }
    .okr-app-header-inner { min-height: 3.8rem; gap: .3rem; padding: .4rem .5rem; }
    .okr-app-brand img { width: 2.9rem; height: 2.9rem; }
    .okr-app-brand img.is-okruhari { width: 5.35rem; height: auto; }
    .okr-app-brand small { display: none; }
    .okr-app-actions { gap: .32rem; }
    .okr-app-actions a,.okr-app-install { padding: .52rem .5rem; font-size: .7rem; }
    .okr-app-actions .okr-app-messages { display: grid; width: 2.15rem; height: 2.15rem; }
    .okr-app-actions .okr-app-live { display: inline-flex; padding: .56rem .58rem; font-size: .72rem; }
    .okr-app-actions .okr-app-live span { width: .45rem; height: .45rem; }
    .okr-app-share-header { width: 2.15rem; height: 2.15rem; }
    .okr-app-actions .okr-app-install { display: none !important; }
    .okr-app-logout { min-width: 2.95rem; padding-right: .25rem !important; padding-left: .25rem !important; font-size: .64rem !important; }
    .okr-app-profile { padding: 1rem .65rem calc(2.5rem + env(safe-area-inset-bottom)); }
    .okr-active-trackday-wrap { padding: .65rem .65rem 0; }
    .okr-active-trackday { min-height: 4rem; padding: .65rem .7rem; }
    .okr-message-layout { grid-template-columns: 1fr; }
    .okr-message-list { border-right: 0; border-bottom: 1px solid #e5edf3; }
    .okr-message-actions,.okr-message-actions form,.okr-message-action { width: 100%; }
    .okr-app-share-card { grid-template-columns: 1fr; gap: .7rem; padding: .85rem 2.8rem .85rem .85rem; }
    .okr-app-share-copy p { font-size: .74rem; }
    .okr-app-share { grid-column: 1/-1; width: 100%; }
    .okr-auth-name-grid { grid-template-columns: 1fr; gap: .95rem; }
    .okr-auth-card { border-radius: 1.2rem; }
    .okr-event-hero { grid-template-columns: 1fr; }
    .okr-event-live { width: 100%; min-width: 0; }
    .okr-event-checks { grid-template-columns: 1fr; margin: .85rem; }
    .okr-event-group,.okr-event-check { min-height: 5.6rem; }
    .okr-event-group strong { font-size: 3rem; }
    .okr-event-performance { grid-template-columns: 1fr 1fr; gap: .55rem; margin: 0 .85rem .85rem; }
    .okr-event-performance > div { min-height: 5.8rem; padding: .8rem; }
    .okr-event-performance strong { font-size: 1.75rem; }
    .okr-event-resources { grid-template-columns: 1fr; padding: .85rem; }
    .okr-event-announcement { margin: .85rem; }
    .okr-event-unread { margin: 0 .85rem .85rem; }
    .okr-event-empty { align-items: flex-start; }
}

/* Customer home, rides and persistent app navigation. */
body.okr-rider-app.is-authenticated { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
.okr-app-update { bottom: calc(5.8rem + env(safe-area-inset-bottom)); }
.okr-home-hero,.okr-view-heading { margin: 0 0 1rem; padding: clamp(1.3rem,4vw,2rem); overflow: hidden; border-radius: 1.15rem; color: #fff; background: radial-gradient(circle at 100% 0,rgba(225,18,32,.5),transparent 15rem),linear-gradient(125deg,#171d25,#303b48); box-shadow: 0 .7rem 2rem rgba(25,39,52,.13); }
.okr-home-hero > span,.okr-view-heading > span,.okr-next-event-copy > span,.okr-next-event > div > span { display: block; color: #ff646d; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.okr-home-hero h1,.okr-view-heading h1 { margin: .35rem 0 .3rem; color: #fff; font-size: clamp(1.9rem,6vw,3rem); line-height: 1.04; }
.okr-home-hero p,.okr-view-heading p { max-width: 45rem; margin: 0; color: #d1d9e1; font-size: .95rem; }
.okr-next-event { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.2rem; margin-bottom: 1rem; padding: clamp(1.15rem,4vw,1.65rem); border: 1px solid #f0c7ca; border-left: .38rem solid var(--app-red); border-radius: 1rem; background: linear-gradient(125deg,#fff 20%,#fff5f5); box-shadow: 0 .45rem 1.5rem rgba(51,38,41,.08); }
.okr-next-event h2 { margin: .35rem 0 .2rem; color: #202934; font-size: clamp(1.55rem,5vw,2.25rem); line-height: 1.08; }
.okr-next-event p { margin: 0; color: #64717e; font-weight: 700; }
.okr-next-event-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.okr-next-event-badges strong,.okr-next-event-badges em { display: inline-flex; align-items: center; min-height: 2rem; padding: .38rem .7rem; border-radius: 99px; font-size: .72rem; font-style: normal; font-weight: 900; }
.okr-next-event-badges strong { color: #176b43; background: #e9f8f0; }
.okr-next-event-badges em { color: #8a2d34; background: #ffe8ea; }
.okr-next-event-actions { display: grid; gap: .65rem; min-width: 10.5rem; text-align: center; }
.okr-next-event-actions a { font-size: .8rem; font-weight: 850; text-decoration: none; }
.okr-primary-action { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border-radius: .72rem; padding: .75rem 1rem; color: #fff !important; background: var(--app-red); box-shadow: 0 .35rem .9rem rgba(225,18,32,.2); text-decoration: none; font-weight: 900; }
.okr-primary-action:hover,.okr-primary-action:focus-visible { background: var(--app-red-dark); }
.okr-next-event-empty { border-left-color: #8092a2; border-color: #d8e2ea; background: #fff; }
.okr-home-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(15rem,.55fr); gap: 1rem; margin-bottom: 1rem; }
.okr-prep-card,.okr-rides-summary,.okr-quick,.okr-customer-event,.okr-empty-state { border: 1px solid #dce5ed; border-radius: 1rem; background: #fff; box-shadow: 0 .4rem 1.3rem rgba(34,54,71,.06); }
.okr-prep-card { padding: 1.1rem; }
.okr-prep-card > header { display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.okr-prep-card > header > span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .65rem; color: #fff; background: #253746; font-weight: 900; }
.okr-prep-card small { color: var(--app-red); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.okr-prep-card h2 { margin: .1rem 0 0; font-size: 1.2rem; }
.okr-task-list { display: grid; gap: .55rem; }
.okr-task { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .7rem; min-height: 3.65rem; padding: .68rem .75rem; border: 1px solid #e3e9ef; border-radius: .75rem; color: #25323e !important; background: #fafcfd; text-decoration: none; }
.okr-task > span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: #fff; font-weight: 900; }
.okr-task.is-done > span { background: #23865a; }.okr-task.is-missing > span { background: var(--app-red); }
.okr-task strong,.okr-task small { display: block; }.okr-task small { margin-top: .08rem; color: #74818d; font-size: .72rem; }.okr-task b { color: #81909d; }
.okr-rides-summary { display: flex; flex-direction: column; justify-content: center; padding: 1.35rem; background: linear-gradient(145deg,#eff7ff,#fff); }
.okr-summary-number { color: var(--app-blue); font-size: clamp(3rem,9vw,5rem); font-weight: 900; line-height: .9; }
.okr-rides-summary h2 { margin: .65rem 0 .15rem; font-size: 1.35rem; }.okr-rides-summary p { margin: 0 0 1rem; color: #687784; }.okr-rides-summary a { margin-top: auto; font-weight: 850; text-decoration: none; }
.okr-quick { margin-bottom: 1rem; padding: 1.1rem; }
.okr-quick h2 { margin: 0 0 .85rem; font-size: 1.15rem; }
.okr-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; }
.okr-quick-grid a { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .6rem; min-height: 4rem; padding: .75rem; border: 1px solid #dfe7ee; border-radius: .75rem; color: #2c3b47 !important; background: #f9fbfc; text-decoration: none; }
.okr-quick-grid a:hover,.okr-quick-grid a:focus-visible { border-color: #a8c3d9; background: #eef7ff; }
.okr-quick-grid span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; color: #fff; background: #263746; font-weight: 900; }.okr-quick-grid strong { font-size: .8rem; }
.okr-customer-events { display: grid; gap: 1rem; }
.okr-customer-event { overflow: hidden; }
.okr-customer-event > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.15rem; color: #fff; background: linear-gradient(125deg,#202833,#354252); }
.okr-customer-event header small { color: #ff6972; font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.okr-customer-event h2 { margin: .25rem 0 .15rem; color: #fff; font-size: 1.45rem; }.okr-customer-event header p { margin: 0; color: #cbd4dc; font-size: .82rem; font-weight: 700; }
.okr-customer-event header > span { flex: 0 0 auto; padding: .42rem .68rem; border-radius: 99px; color: #176b43; background: #e9f8f0; font-size: .7rem; font-weight: 900; }
.okr-customer-event dl { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: .4rem 1.1rem 1rem; }.okr-customer-event dl div { padding: .75rem .65rem; border-bottom: 1px solid #e7edf2; }.okr-customer-event dt { color: #75828e; font-size: .68rem; }.okr-customer-event dd { margin: .18rem 0 0; color: #263440; font-size: .82rem; font-weight: 800; }
.okr-event-open { display: flex; justify-content: center; margin: 0 1.1rem 1rem; min-height: 2.8rem; align-items: center; border-radius: .65rem; color: #fff !important; background: var(--app-red); font-weight: 900; text-decoration: none; }
.okr-view-footer-actions { margin: 1rem 0; text-align: right; }.okr-view-footer-actions a { font-weight: 850; text-decoration: none; }
.okr-empty-state { padding: 1.5rem; }.okr-empty-state h2 { margin-top: 0; }.okr-empty-state p { color: #6a7884; }
.okr-bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 1000; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(4.5rem,1fr); width: min(42rem,100%); padding: .45rem max(.5rem,env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) max(.5rem,env(safe-area-inset-left)); transform: translateX(-50%); border: 1px solid #d6e1ea; border-bottom: 0; border-radius: 1rem 1rem 0 0; background: rgba(255,255,255,.97); box-shadow: 0 -.6rem 1.8rem rgba(28,48,65,.11); backdrop-filter: blur(14px); }
.okr-bottom-nav a { position: relative; display: grid; place-items: center; gap: .12rem; min-height: 3.65rem; border-radius: .72rem; color: #6d7b87 !important; text-decoration: none; }
.okr-bottom-nav-icon { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; line-height: 1; }
.okr-bottom-nav-icon svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.okr-bottom-nav-icon svg rect { vector-effect: non-scaling-stroke; }
.okr-bottom-nav a > strong { font-size: .64rem; font-weight: 800; }.okr-bottom-nav a.is-active { color: var(--app-red) !important; background: #fff1f2; }.okr-bottom-nav a > b { position: absolute; top: .25rem; right: 20%; display: grid; place-items: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--app-red); font-size: .58rem; }
.okr-app-profile > .okr-qr-page { max-width: 1080px; margin: 0 auto; }.okr-app-profile > .okr-qr-page > header { display: none; }

/* The registration password control must remain an in-field button across theme/browser resets. */
.okr-rider-app .okr-auth-form .okr-password-field { position: relative !important; display: block !important; }
.okr-rider-app .okr-auth-form .okr-password-field .okr-password-toggle { position: absolute !important; top: 50% !important; right: .45rem !important; display: inline-flex !important; width: auto !important; min-width: 5.2rem !important; min-height: 2.25rem !important; align-items: center !important; justify-content: center !important; margin: 0 !important; transform: translateY(-50%) !important; border: 0 !important; border-radius: .5rem !important; padding: .35rem .55rem !important; color: #315f85 !important; background: #edf4fa !important; font-size: .72rem !important; font-weight: 800 !important; line-height: 1 !important; }

@media (max-width: 760px) {
    .okr-app-profile { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
    .okr-home-hero,.okr-view-heading { padding: 1.2rem; }
    .okr-next-event { grid-template-columns: 1fr; }.okr-next-event-actions { grid-template-columns: 1fr auto; align-items: center; min-width: 0; }.okr-next-event-actions .okr-primary-action { min-width: 9rem; }
    .okr-home-grid { grid-template-columns: 1fr; }.okr-rides-summary { min-height: 11rem; }.okr-quick-grid { grid-template-columns: 1fr 1fr; }
    .okr-customer-event dl { grid-template-columns: 1fr 1fr; }.okr-customer-event dl div:last-child { grid-column: 1/-1; }
    .okr-bottom-nav { grid-auto-columns: minmax(0,1fr); border-right: 0; border-left: 0; border-radius: 1rem 1rem 0 0; }
    .okr-bottom-nav a { min-width: 0; }.okr-bottom-nav a > strong { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
}


.okr-ticket-back { margin-bottom: 1rem; }
