/* Olympiad workspace. Scoped to avoid the cabinet's legacy button/card rules. */
.oy-shell,.oy-modal{--oy-ink:#23253d;--oy-muted:#74778d;--oy-purple:#7254df;--oy-border:#e8e8f1;color:var(--oy-ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f7f8fc;border:1px solid var(--oy-border);padding:0;border-radius:24px;box-sizing:border-box;box-shadow:0 24px 90px #25214b30}
.oy-shell{width:min(1320px,calc(100vw - 48px));height:calc(100dvh - 48px);max-width:none;max-height:none;margin:auto;overflow:auto}
.oy-shell::backdrop,.oy-modal::backdrop{background:#19182b72;backdrop-filter:blur(5px)}
.oy-shell *,.oy-modal *{box-sizing:border-box}.oy-shell [hidden],.oy-modal [hidden]{display:none!important}
.oy-shell svg,.oy-modal svg,.oy-entry-icon svg,.oy-learning-goals svg,[data-oy-open] svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}
.oy-shell button,.oy-modal button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;background:#fff;color:var(--oy-ink);border:1px solid var(--oy-border);border-radius:11px;box-shadow:none;font:inherit;font-weight:550;cursor:pointer;white-space:normal;text-transform:none;letter-spacing:normal;width:auto}
.oy-shell button:hover,.oy-modal button:hover{border-color:#b7a9ea;background:#f5f1ff}.oy-shell button:disabled,.oy-modal button:disabled{opacity:.5;cursor:wait}
.oy-shell button:focus-visible,.oy-modal button:focus-visible,.oy-shell input:focus-visible,.oy-modal input:focus-visible,.oy-shell select:focus-visible,.oy-modal select:focus-visible,.oy-modal textarea:focus-visible{outline:3px solid #a393ed;outline-offset:3px}
.oy-shell h2,.oy-modal h2{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:0}.oy-shell h3,.oy-modal h3{font-size:20px;line-height:1.3;margin:0;letter-spacing:-.35px}.oy-shell p,.oy-modal p{margin:5px 0}.oy-shell small,.oy-modal small{font-size:12px;color:var(--oy-muted)}
.oy-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 28px;background:#ffffffed;border-bottom:1px solid var(--oy-border);backdrop-filter:blur(12px)}
.oy-brand{display:flex;align-items:center;gap:13px}.oy-brand>svg{width:44px;height:44px;padding:9px;color:var(--oy-purple);background:#eee9fb;border-radius:14px}.oy-brand small{display:block;margin-bottom:2px}.oy-header-actions{display:flex;gap:8px}
.oy-shell .oy-icon,.oy-modal .oy-icon{width:39px;height:39px;min-height:39px;padding:8px;flex-shrink:0;background:transparent}.oy-shell .oy-icon[aria-pressed=true]{color:var(--oy-purple);background:#eee8ff;border-color:#dfd4ff}
.oy-content{padding:24px 28px 36px}.oy-hero{display:flex;align-items:center;gap:28px;position:relative;overflow:hidden;padding:29px 32px;border:1px solid #e4dff7;border-radius:20px;background:linear-gradient(115deg,#f0ebff,#eff4ff 80%,#edf7f6);margin-bottom:22px}.oy-hero>div{z-index:1}.oy-kicker{display:block;color:#7763b1;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}.oy-hero h3{font-size:30px;letter-spacing:-.8px}.oy-hero p{max-width:470px;color:#78768d;margin-top:9px}.oy-hero-stat{margin-left:auto;min-width:110px;text-align:center}.oy-hero-stat strong{display:block;font-size:38px;line-height:1.2;color:#6550ad}.oy-hero-stat span{color:#7b7292;font-size:12px}.oy-hero-art{display:flex;gap:8px;opacity:.16;transform:rotate(-12deg);color:#7254df}.oy-hero-art svg{width:80px;height:80px;stroke-width:1}
.oy-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 20px}.oy-shell .oy-tabs button{background:transparent;border-color:transparent;color:var(--oy-muted);padding:9px 15px}.oy-shell .oy-tabs button[aria-pressed=true]{color:#684bb9;background:#ece7fb;border-color:#e0d7f5}.oy-tabs svg{width:18px;height:18px}
.oy-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0}.oy-filters label{min-width:120px;flex:1}.oy-filters .oy-search{flex:2;min-width:190px}.oy-filters input,.oy-filters select,.oy-modal input:not([type=checkbox]),.oy-modal select,.oy-modal textarea{display:block;width:100%;min-height:43px;padding:10px 12px;color:var(--oy-ink);background:#fff;border:1px solid var(--oy-border);border-radius:11px;box-shadow:none;font:inherit}.oy-filters select{padding-right:24px}.oy-status{min-height:23px;font-size:12px;color:var(--oy-muted);padding:8px 0 14px}.oy-results-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;color:var(--oy-muted);font-size:12px}.oy-shell .oy-results-meta button{font-size:12px;min-height:30px;padding:4px 9px;background:transparent;border-color:transparent}
.oy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.oy-card{min-width:0;border:1px solid var(--oy-border);border-radius:19px;background:#fff;padding:21px;box-shadow:0 3px 10px #31365403}.oy-card-head{display:flex;align-items:center;gap:9px;margin-bottom:16px}.oy-subject-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#eeeafa;color:#7860c5}.oy-chemistry .oy-subject-icon{background:#e6f5f2;color:#409486}.oy-subject{font-size:12px;color:var(--oy-muted);margin-right:auto}.oy-level{font-size:11px;white-space:nowrap;padding:4px 8px;border:1px solid #ece9f3;border-radius:7px;color:#83729f}.oy-card h3{margin-bottom:8px;font-size:21px}.oy-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:var(--oy-muted);margin-bottom:15px}.oy-recommended{color:#98793c;display:inline-flex;align-items:center;gap:4px}.oy-recommended svg{width:13px;height:13px}.oy-note{padding:9px 11px;background:#fffaf0;border-radius:8px;font-size:12px;color:#846c3c}
.oy-stages{padding:3px 0}.oy-stage{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #f0f0f6;min-width:0}.oy-stage>div{min-width:0;flex:1}.oy-stage b{font-size:12px;font-weight:650}.oy-stage p{font-size:12px;color:var(--oy-muted);margin:3px 0 0}.oy-stage-dot{background:#f3f2f9;color:#8b7bb4;display:grid;place-items:center;border-radius:9px;width:31px;height:31px;flex-shrink:0}.oy-stage-dot svg{width:16px;height:16px}.oy-stage.oy-tentative{border-left:2px solid #e0bd70;padding-left:9px}.oy-stage.oy-tentative small{color:#aa863e}.oy-unknown{color:#a09aae;min-height:80px}.oy-unknown>svg{width:27px;height:27px}.oy-shell .oy-stage .oy-icon{width:30px;height:30px;min-height:30px;padding:5px;border-color:transparent;color:#a09aaa}
.oy-card details{font-size:12px}.oy-card summary{cursor:pointer;display:list-item;padding:8px 0;color:#8778a3;list-style-position:inside}.oy-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #f0f0f6}.oy-card footer button{font-size:12px;min-height:35px;padding:7px 10px}.oy-card footer button svg{width:16px;height:16px}.oy-source-info{display:flex;flex-direction:column;gap:5px;color:var(--oy-muted);padding:10px 0;overflow-wrap:anywhere}.oy-source-info a{color:#7963af;text-decoration:none}.oy-warning{color:#ad8235}.oy-event-tools{display:flex;gap:6px;justify-content:flex-end;padding-bottom:10px}.oy-event-tools button{font-size:11px;min-height:30px;padding:4px 8px}.oy-empty{grid-column:1/-1;text-align:center;padding:60px 20px;color:var(--oy-muted)}.oy-empty>svg{width:52px;height:52px;color:#b5a5df;padding:10px;background:#eee9fa;border-radius:15px;margin-bottom:14px}.oy-empty h3{font-size:20px;color:var(--oy-ink)}
.oy-calendar-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:16px}.oy-calendar-toolbar label{font-size:12px;color:var(--oy-muted)}.oy-calendar-toolbar input{display:block;padding:7px 9px;background:#fff;border:1px solid var(--oy-border);border-radius:8px;color:var(--oy-ink);font:inherit}.oy-calendar-toolbar p{font-size:12px;color:var(--oy-muted)}.oy-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--oy-border);border-left:1px solid var(--oy-border);border-radius:13px;overflow:hidden}.oy-weekday{background:#efedf7;text-align:center;padding:10px;font-size:12px;color:#897e9a;border-right:1px solid var(--oy-border)}.oy-day{min-height:135px;padding:7px;background:#fff;border-right:1px solid var(--oy-border);border-bottom:1px solid var(--oy-border)}.oy-day>b{display:block;font-size:12px;color:#91889c;margin:0 0 7px 2px}.oy-day-empty{background:#f5f5f9}.oy-shell .oy-day-event{width:100%;justify-content:flex-start;text-align:left;gap:4px;min-height:0;border:0;padding:6px;margin-bottom:4px;background:#efebfa;border-radius:6px;font-size:10px;overflow:hidden;color:#7863a8}.oy-day-event.oy-chemistry{background:#e9f5f1;color:#4b8b80}.oy-day-event svg{width:13px;height:13px}.oy-day-event span{overflow:hidden;text-overflow:ellipsis}.oy-day-event small{display:block;font-size:9px;color:inherit;font-weight:400}
.oy-updates>article{display:flex;gap:14px;background:#fff;border:1px solid var(--oy-border);border-radius:13px;padding:17px;margin-bottom:12px}.oy-updates article>span{color:#a58aca}.oy-updates article p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.oy-updates details{padding:15px;font-size:12px;color:var(--oy-muted)}
.oy-modal{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 40px);background:#fff;overflow:auto}.oy-modal>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 23px;border-bottom:1px solid var(--oy-border)}.oy-modal h2{font-size:20px}.oy-modal-body{padding:22px 24px}.oy-modal form>label{display:block;margin-bottom:16px;font-size:12px;color:var(--oy-muted)}.oy-modal label>input,.oy-modal label>select,.oy-modal label>textarea{margin-top:6px}.oy-modal textarea{min-height:85px;resize:vertical}.oy-modal .oy-choice{display:flex;align-items:center;gap:12px;border:1px solid var(--oy-border);border-radius:12px;padding:13px;color:var(--oy-ink);margin-bottom:10px;font-size:13px}.oy-choice input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#7254df;flex-shrink:0}.oy-choice svg{width:18px;height:18px;color:#9d8dbb}.oy-modal .oy-primary{background:#7657db;color:#fff;border-color:#7657db}.oy-modal footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.oy-muted,.oy-modal .oy-muted{font-size:12px;color:var(--oy-muted);margin:14px 0}.oy-form-status{padding:0 24px 16px;color:#ae6046;min-height:25px}.oy-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:17px}.oy-form-grid label{font-size:12px;color:var(--oy-muted)}.oy-history{border-bottom:1px solid var(--oy-border);padding:12px 0;font-size:13px}.oy-loading{text-align:center;padding:80px 24px}.oy-loading>svg{width:48px;height:48px;color:var(--oy-purple);margin-bottom:18px}
.oy-entry-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e8e3f4;background:#f2edff;color:#8064c2;border-radius:12px;flex-shrink:0}.oy-learning-goals{border:1px solid #e6dff4;background:#f9f6ff;border-radius:13px;padding:18px;margin-bottom:16px}.oy-learning-goals h3{display:flex;align-items:center;gap:8px;font-size:16px}.oy-learning-goals>div{padding:10px 0}.oy-learning-goals p{font-size:12px;color:#8a7e9c}.oy-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.oy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.oy-shell{width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:18px}.oy-content{padding:18px}.oy-header{padding:17px 20px}.oy-hero{padding:22px}.oy-hero h3{font-size:25px}.oy-hero-art{display:none}.oy-grid{gap:12px}.oy-card{padding:16px}.oy-day{padding:4px;min-height:100px}.oy-calendar{min-width:640px}.oy-content:has(.oy-calendar){overflow-x:auto}}
@media(max-width:600px){.oy-shell{width:100vw;height:100dvh;border-radius:0;border:0}.oy-header{padding:calc(13px + env(safe-area-inset-top)) 16px 13px}.oy-content{padding:15px 14px calc(26px + env(safe-area-inset-bottom))}.oy-header h2{font-size:22px}.oy-hero{padding:21px 18px;gap:10px;margin-bottom:15px}.oy-hero h3{font-size:23px;max-width:230px}.oy-hero p{font-size:12px}.oy-kicker{font-size:9px}.oy-hero-stat{min-width:62px}.oy-hero-stat strong{font-size:29px}.oy-hero-stat span{font-size:10px}.oy-tabs{gap:3px;margin-bottom:14px}.oy-shell .oy-tabs button{padding:8px 10px;font-size:11px;min-height:38px}.oy-tabs button svg{width:16px;height:16px}.oy-grid{grid-template-columns:1fr}.oy-filters label{min-width:calc(50% - 8px)}.oy-filters .oy-search{flex-basis:100%}.oy-filters>button{flex:1}.oy-card h3{font-size:20px}.oy-card{padding:18px}.oy-status{padding-bottom:8px}.oy-modal-body{padding:18px}.oy-form-grid{gap:10px}.oy-modal>header{padding:17px 18px}.oy-modal h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.oy-shell *,.oy-modal *{scroll-behavior:auto!important;transition:none!important}}

/* Observatory theme: clearer hierarchy, colored subjects and prominent dates. */
.oy-shell{--oy-ink:#25283e;--oy-muted:#697087;--oy-purple:#7155d7;--oy-border:#e3e6f0;background:#f2f4fa;box-shadow:0 30px 120px #1617354d;border-color:#ffffffa6}
.oy-shell .oy-header{padding:16px 28px;background:#fffffff2}.oy-brand>svg{background:linear-gradient(140deg,#805fe9,#5a3dbe);color:#fff;box-shadow:0 5px 13px #7254df29}.oy-brand small{font-size:11px;font-weight:600;color:#81859a}.oy-header h2{font-size:23px}
.oy-content{max-width:1320px;margin:auto;padding-top:20px}.oy-shell .oy-hero{background:radial-gradient(ellipse at 80% 15%,#7354bd 0,transparent 55%),linear-gradient(115deg,#29264c,#403063 65%,#524078);border:1px solid #51416e;color:#fff;box-shadow:0 10px 25px #40306318;border-radius:22px;padding:27px 32px;margin-bottom:16px;min-height:202px}
.oy-shell .oy-hero:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #ffffff0e;border-radius:50%;right:-80px;top:-130px;box-shadow:0 0 0 40px #ffffff03,0 0 0 80px #ffffff02;pointer-events:none}
.oy-hero .oy-kicker{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.6px;color:#d6c8ff;margin-bottom:10px}.oy-kicker svg{width:15px;height:15px}.oy-shell .oy-hero h3{font-size:31px;line-height:1.13;font-weight:720;color:#fff;letter-spacing:-.8px}.oy-shell .oy-hero p{font-size:12px;color:#d4cee5;margin-top:12px}.oy-hero-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.oy-hero-tags>span{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid #ffffff25;background:#ffffff0d;border-radius:7px;font-size:10px;color:#ece6fb}.oy-hero-tags svg{width:13px;height:13px}
.oy-shell .oy-hero-stat{display:flex;align-items:center;gap:14px;min-width:220px;flex-wrap:wrap;justify-content:center;text-align:left;max-width:260px;padding:12px 16px;border-radius:17px;background:#ffffff09;border:1px solid #ffffff1a}.oy-shell .oy-hero-stat strong{font-size:39px;color:#fff}.oy-shell .oy-hero-stat span{color:#e4dcef;font-size:11px}.oy-hero-stat>small{flex-basis:100%;font-size:10px;text-align:center;color:#d6cee7!important;border-top:1px solid #ffffff1b;padding-top:9px}.oy-orbit-art>svg{width:69px;height:69px;color:#c9b6ff;stroke-width:1;transform:rotate(-10deg)}
.oy-nearest{display:grid;grid-template-columns:110px repeat(3,minmax(0,1fr));gap:0;background:#fff;border:1px solid var(--oy-border);border-radius:15px;padding:7px 8px;margin-bottom:23px;box-shadow:0 3px 12px #2f355904}.oy-nearest-label{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:9px 13px;color:#827696;font-size:10px}.oy-nearest-label svg{width:19px;height:19px;color:#947db9}.oy-shell button.oy-nearest-item{display:flex;gap:10px;justify-content:flex-start;text-align:left;background:transparent;border:0;border-left:1px solid #eceef4;border-radius:0;padding:8px 12px;min-width:0}.oy-shell button.oy-nearest-item:hover{background:#f8f6fd;border-radius:9px}.oy-nearest-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:41px;min-width:41px;height:49px;border-radius:10px;background:#f1edfc;color:#7b62bb}.oy-nearest-date>b{font-size:20px;line-height:1.1}.oy-nearest-date>small{font-size:9px;color:inherit}.oy-nearest-item.oy-chemistry .oy-nearest-date{background:#eaf5f1;color:#368b78}.oy-nearest-item>span:nth-child(2){min-width:0;flex:1}.oy-nearest-item>span:nth-child(2)>b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oy-nearest-item>span:nth-child(2)>small{display:block;font-size:9px;line-height:1.4;color:#7c8293;margin-top:3px}.oy-nearest-item>svg{width:12px;height:12px;color:#a3a7b5}
.oy-tabs{border-bottom:1px solid #dfe3ef;gap:7px;padding-bottom:11px;margin-bottom:17px}.oy-shell .oy-tabs button{font-size:12px;color:#70758b;padding:8px 13px;min-height:39px;border-radius:10px}.oy-shell .oy-tabs button[aria-pressed=true]{background:#fff;border-color:#ded7f0;color:#6d50ad;box-shadow:0 3px 9px #5e428b0a}
.oy-filters{background:#fff;padding:12px;border:1px solid var(--oy-border);border-radius:14px;gap:7px}.oy-filters input,.oy-filters select{background:#f6f7fb;border-color:#e9ecf3;min-height:38px;font-size:11px;padding:9px 10px;border-radius:9px}.oy-filters label{min-width:105px}.oy-shell .oy-filters>button{background:#7656d6;color:#fff;border-color:#7656d6;font-size:11px;min-height:38px;padding:8px 16px;border-radius:9px}.oy-filters .oy-search{min-width:180px}.oy-status{font-size:10px;padding:7px 4px 3px;color:#7c8294}.oy-results-meta{margin:7px 0 12px;padding:0 3px;font-weight:600}.oy-results-meta>span{font-size:11px}
.oy-grid{gap:17px;align-items:stretch}.oy-card{position:relative;display:flex;flex-direction:column;padding:21px 21px 17px;border-radius:18px;border-color:#e0e4ef;box-shadow:0 4px 15px #27365905;overflow:hidden;transition:box-shadow .18s,border-color .18s}.oy-card:before{content:"";height:3px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#a28be1,#ded6f3 70%,#f6f3fc)}.oy-card.oy-chemistry:before{background:linear-gradient(90deg,#65b9a5,#d2eae3 70%,#f1faf6)}.oy-card:hover{box-shadow:0 10px 27px #3d40600c;border-color:#cfc6e4}.oy-card-head{margin-bottom:13px;gap:8px}.oy-subject-icon{width:36px;height:36px;background:linear-gradient(135deg,#eee7ff,#f6f3ff);color:#8769ca}.oy-chemistry .oy-subject-icon{background:linear-gradient(135deg,#dff2ea,#f0faf6);color:#39927b}.oy-subject{font-size:10px;font-weight:650;letter-spacing:.15px}.oy-level{font-size:10px;border:0;background:#f4f3f8;color:#7e7394;padding:4px 8px}.oy-card .oy-card-head .oy-icon{border:1px solid #ebe8f1;width:32px;height:32px;min-height:32px;padding:7px;border-radius:10px;color:#9a8caf}.oy-card .oy-card-head .oy-icon[aria-pressed=true]{background:#eae3fb;color:#7958c3;border-color:#d9cef1}.oy-card h3{font-size:21px;line-height:1.3;letter-spacing:-.4px;margin-bottom:11px;overflow-wrap:anywhere}
.oy-date-state{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;padding:4px 8px;margin:0 0 10px;font-size:10px;font-weight:600;border-radius:6px;background:#edf3fb;color:#5c7ca4}.oy-date-state svg{width:12px;height:12px}.oy-date-state.oy-date-soon{background:#fff1d7;color:#986b1e}.oy-date-state.oy-date-wait{background:#f1f2f6;color:#8c91a0}.oy-meta{font-size:10px;margin-bottom:12px;color:#7a8093}.oy-stage{border-color:#eceff5;padding:11px 0}.oy-stage-dot{background:#f3f0fa;color:#9681ba;width:29px;height:29px}.oy-chemistry .oy-stage-dot{background:#eff7f3;color:#7eaa9c}.oy-stage b{font-size:11px;color:#51596e}.oy-stage p{font-size:11px;color:#798198}.oy-stage small{font-size:10px}.oy-stage.oy-tentative{border-left-color:#e8c68c}.oy-unknown{min-height:73px;background:#f9fafc;border:1px dashed #e4e7ef;border-radius:10px;padding:14px;margin-bottom:6px}.oy-unknown p{font-size:11px}
.oy-card>details{margin-top:auto;padding-top:4px}.oy-card summary{font-size:11px;color:#847297}.oy-card footer{margin-top:11px;padding-top:12px;gap:7px}.oy-card footer button{font-size:10px;min-height:33px;border-radius:9px;background:#f8f9fc;border-color:#e8ebf2;color:#6a7187}.oy-card footer button[data-oy-recommend]{margin-left:auto;background:#f1ecfa;color:#7b61a7;border-color:#e8e0f4}.oy-card footer .oy-icon{width:33px;height:33px;min-height:33px;padding:7px}.oy-source-info{font-size:10px}
@media(min-width:1450px){.oy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.oy-nearest{grid-template-columns:repeat(3,minmax(0,1fr))}.oy-nearest-label{grid-column:1/-1;flex-direction:row;justify-content:flex-start;padding:4px 10px 8px}.oy-shell button.oy-nearest-item{padding:8px;border-left:0}.oy-hero-stat{min-width:180px!important}.oy-filters label{min-width:125px}}
@media(max-width:600px){.oy-shell .oy-header{padding:calc(12px + env(safe-area-inset-top)) 15px 12px}.oy-content{padding:14px 13px 30px}.oy-shell .oy-hero{padding:22px 20px;border-radius:18px;min-height:0;gap:12px;align-items:flex-start}.oy-shell .oy-hero h3{font-size:25px;max-width:250px}.oy-hero .oy-kicker{font-size:8px;letter-spacing:1px}.oy-hero .oy-kicker svg{display:none}.oy-shell .oy-hero p{font-size:11px;max-width:220px}.oy-shell .oy-hero-stat{min-width:45px!important;width:45px;border:0;background:none;padding:1px;margin-top:18px}.oy-shell .oy-hero-stat>small,.oy-orbit-art{display:none}.oy-shell .oy-hero-stat strong{font-size:29px;text-align:center}.oy-shell .oy-hero-stat span{font-size:8px;display:block;text-align:center}.oy-hero-tags{margin-top:14px;gap:4px}.oy-hero-tags>span{font-size:9px;padding:4px 6px}.oy-hero-tags>span:last-child{display:none}.oy-nearest{display:flex;flex-direction:column;padding:10px;margin-bottom:17px}.oy-nearest-label{font-size:10px;padding:2px 5px 9px}.oy-shell button.oy-nearest-item{border-top:1px solid #f0f1f6;padding:9px 5px}.oy-nearest-item:not(:nth-child(2)){display:none}.oy-nearest-date{width:37px;min-width:37px;height:43px}.oy-nearest-item>span:nth-child(2)>b{font-size:12px}.oy-nearest-item>span:nth-child(2)>small{font-size:10px}.oy-tabs{gap:3px}.oy-shell .oy-tabs button{font-size:10px;padding:7px 9px;min-height:35px;gap:5px}.oy-tabs button svg{width:14px;height:14px}.oy-filters{padding:9px}.oy-filters label{min-width:calc(50% - 8px)}.oy-filters .oy-search{min-width:100%}.oy-filters select,.oy-filters input{font-size:11px;min-height:39px}.oy-card{padding:20px 19px 17px}.oy-card h3{font-size:22px}.oy-card footer button{font-size:11px}.oy-status{font-size:9px;line-height:1.6}.oy-grid{grid-template-columns:1fr}}

/* Calendar and preparation workspace. */
.oy-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 8px}.oy-calendar-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.oy-calendar-nav>b{font-size:17px;text-transform:capitalize;min-width:155px;text-align:center}.oy-calendar-nav .oy-icon[data-oy-period="-1"] svg{transform:rotate(180deg)}.oy-calendar-modes{display:flex;padding:3px;background:#e9eaf3;border-radius:11px;gap:2px}.oy-shell .oy-calendar-modes button{font-size:11px;background:none;border-color:transparent;min-height:32px;padding:6px 12px}.oy-shell .oy-calendar-modes button[aria-pressed=true]{background:white;color:#7251b2;box-shadow:0 2px 5px #33304f0d}.oy-calendar-legend{display:flex;flex-wrap:wrap;gap:15px;font-size:10px;color:#8a809d;margin:12px 2px!important}.oy-calendar-wrap{overflow-x:auto;border-radius:13px}.oy-calendar{border-color:#e3e6f0;min-width:650px}.oy-day{min-height:105px;max-width:100%;padding:8px;background:#ffffffc9}.oy-day-empty{background:#e9ecf53d}.oy-day>b{font-size:11px;margin-bottom:8px}.oy-day>b>small{font-size:9px}.oy-day.oy-today{background:#f2edff;box-shadow:inset 0 0 0 1px #c0abea}.oy-day.oy-today>b{display:inline-flex;justify-content:center;align-items:center;min-width:24px;min-height:24px;background:#7b59ce;color:white;border-radius:8px}.oy-shell .oy-day-event{font-weight:450;align-items:flex-start;border-left:2px solid #bba2e3;border-radius:5px;font-size:10px;min-width:0;padding:6px;gap:5px}.oy-day-event.oy-chemistry{border-left-color:#7dbfae}.oy-day-event.oy-deadline{background:#fff1dc!important;color:#98712e!important;border-left-color:#d7b16c!important}.oy-day-event>span{min-width:0}.oy-day-event>span>b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:650}.oy-day-event small{font-size:9px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.oy-agenda{display:flex;flex-direction:column;gap:20px;padding-top:15px}.oy-agenda section{background:#fff;border:1px solid #e3e6ef;border-radius:14px;padding:15px}.oy-agenda section>h3{font-size:13px;margin-bottom:12px;color:#777087}.oy-shell .oy-agenda .oy-day-event{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px;border-radius:9px;margin-bottom:8px}.oy-agenda .oy-day-event>span{flex:1}.oy-agenda .oy-day-event>span>b{font-size:13px}.oy-agenda .oy-day-event small{font-size:11px}.oy-agenda time{font-size:11px;color:inherit}.oy-agenda svg{width:20px;height:20px}
.oy-event-detail h3{margin-top:13px}.oy-event-detail>p{font-size:12px;color:#7a7e91}.oy-event-date{display:flex;align-items:center;gap:12px;padding:19px 0;font-size:17px;color:#7763a8}.oy-event-date svg{width:24px;height:24px}.oy-action-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;background:#7956d0;color:white;padding:10px 13px;border-radius:10px;font-size:12px}.oy-action-link svg{width:16px;height:16px}.oy-journey-head p{color:#8a8097;font-size:12px}.oy-journey-tabs{display:flex;gap:6px;padding:9px 0 18px;flex-wrap:wrap}.oy-modal .oy-journey-tabs button{font-size:12px;min-height:35px;border-color:transparent}.oy-modal .oy-journey-tabs button[aria-pressed=true]{background:#efe9fa;color:#7a59ad;border-color:#e7ddf4}.oy-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:15px 0 25px}.oy-route-step{display:flex;position:relative;align-items:center;flex-direction:column;gap:7px;padding:12px 3px;background:#f7f7fb;border-radius:12px;font-size:10px;color:#9296a8;cursor:pointer;border:1px solid #eceef5}.oy-route-step>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#eae7f1;border-radius:50%;font-size:12px;color:#978aa8}.oy-route-step:has(input:checked){background:#f0eafc;border-color:#d6c8ee;color:#7b5aaa}.oy-route-step:has(input:checked)>span{background:#9675d0;color:#fff}.oy-route-step input{accent-color:#8b6bc8;position:absolute;right:5px;top:3px;width:13px;height:13px}.oy-modal [data-oy-progress]>label{display:block;font-size:12px;color:#888093}.oy-resource,.oy-result{display:flex;gap:13px;align-items:flex-start;border:1px solid #e5e7f0;border-radius:13px;background:#fafaff;padding:15px;margin-bottom:12px}.oy-resource>span,.oy-result-medal{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;color:#a086c8;background:#eee9f6;border-radius:11px}.oy-resource>div,.oy-result>div{flex:1;min-width:0}.oy-resource b{font-size:12px}.oy-resource p,.oy-result p{font-size:12px;color:#8b8397;overflow-wrap:anywhere}.oy-resource a,.oy-result a{display:block;font-size:11px;color:#8361b4;margin-top:8px}.oy-resource pre{white-space:pre-wrap;overflow-wrap:anywhere;font:18px/1.5 Georgia,serif;margin:10px 0;color:#6a547e}.oy-result h3{font-size:20px;margin:3px 0}.oy-result small{font-size:10px}.oy-result>div>b{font-size:12px}.oy-result-verification{display:inline-block;font-size:10px;padding:4px 7px;background:#f1eef6;color:#9a89b0;border-radius:5px}.oy-result-medal{background:#f9efd8;color:#c49b51}.oy-result-season{display:flex;align-items:center;gap:12px;color:#858095;font-size:12px;margin-bottom:18px}.oy-result-season select{padding:8px 12px;border-radius:9px;background:white;border:1px solid #e5e3ed;color:#777084}
@media(max-width:600px){.oy-calendar-nav{justify-content:space-between;width:100%;gap:4px}.oy-calendar-nav>b{font-size:15px;min-width:125px}.oy-calendar-nav button[data-oy-today]{font-size:10px;padding:6px 9px}.oy-calendar-modes{width:100%}.oy-shell .oy-calendar-modes button{flex:1}.oy-calendar-legend{font-size:9px;gap:8px}.oy-agenda section{padding:12px}.oy-shell .oy-agenda .oy-day-event{flex-wrap:wrap;padding:11px}.oy-agenda time{padding-left:32px;flex-basis:100%;font-size:10px}.oy-day{min-height:95px}.oy-event-date{font-size:15px}.oy-route{gap:4px}.oy-route-step{font-size:9px}.oy-resource,.oy-result{padding:12px;gap:9px}.oy-modal:has(.oy-journey-head){width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}}
.oy-shell:has([data-oy-mode]) .oy-hero,.oy-shell:has([data-oy-mode]) .oy-nearest{display:none}.oy-shell:has([data-oy-mode]) .oy-tabs{margin-top:3px}
