:root{color-scheme:light;--bg: #f7f7f8;--surface: #ffffff;--text: #18181b;--muted: #71717a;--muted-strong: #52525b;--line: #e4e4e7;--line-strong: #d4d4d8;--soft: #f1f1f3;--soft-strong: #e9e9ec;--accent: #16784a;--accent-hover: #12613c;--accent-strong: #0f5b36;--accent-soft: #eef8f2;--accent-soft-hover: #e2f3e9;--accent-border: #9fd4b7;--warning: #9f1239;--focus: #1d4ed8;--ease-out: cubic-bezier(.2, .8, .2, 1);--ease-spring: cubic-bezier(.22, 1, .36, 1)}*,*:before,*:after{box-sizing:border-box}html{min-width:320px;background:var(--bg)}body{min-height:100vh;margin:0;overflow-x:hidden;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic UI,Noto Sans JP,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,select{color:inherit;font:inherit}button{padding:0;background:transparent;border:0}button:not(:disabled),select:not(:disabled),a{cursor:pointer;-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 68%,transparent);outline-offset:3px}::selection{color:var(--text);background:#cfeada}[hidden]{display:none!important}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;top:12px;left:12px;z-index:1000;padding:10px 14px;color:#fff;background:var(--text);border-radius:10px;text-decoration:none;transform:translateY(-150%);transition:transform .16s var(--ease-out)}.skip-link:focus{transform:translateY(0)}.icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.page-shell{width:min(1040px,calc(100% - 80px));margin:0 auto;padding:52px 0 144px}.bookmarks-hero{margin-bottom:27px}.hero-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.hero-title-row>div{display:flex;min-width:0;align-items:baseline;gap:13px}h1,h2,h3,p{text-wrap:pretty}h1{margin:0;font-size:clamp(38px,5vw,50px);font-weight:735;letter-spacing:-.055em;line-height:1.08}.bookmark-total{display:flex;align-items:baseline;gap:3px;margin:0;color:var(--muted);font-size:11px;font-weight:650;white-space:nowrap}.bookmark-total strong{color:var(--accent-strong);font-size:18px;font-weight:740;font-variant-numeric:tabular-nums}.find-course-link{display:inline-flex;min-height:38px;flex:0 0 auto;align-items:center;gap:4px;padding:0 7px 0 11px;color:var(--accent-strong);border-radius:10px;font-size:12px;font-weight:680;text-decoration:none;transition:color .15s ease,background-color .15s ease,transform 90ms ease}.find-course-link:hover{color:var(--accent-hover);background:var(--accent-soft)}.find-course-link:active{transform:translate(2px)}.find-course-link .icon{width:15px;height:15px}.bookmark-controls{display:flex;min-height:66px;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:34px;padding-bottom:15px;border-bottom:1px solid var(--line)}.year-tabs{display:flex;min-width:0;align-items:center;gap:5px}.year-tab{display:inline-flex;min-height:36px;align-items:center;gap:7px;padding:0 12px;color:var(--muted-strong);border-radius:10px;font-size:12px;font-weight:660;transition:color .15s ease,background-color .15s ease,transform 90ms ease}.year-tab:hover{color:var(--text);background:var(--soft)}.year-tab:active{transform:scale(.97)}.year-tab[aria-selected=true]{color:var(--accent-strong);background:var(--accent-soft)}.year-tab-count{min-width:18px;padding:1px 5px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:999px;font-size:9px;font-weight:720;font-variant-numeric:tabular-nums;line-height:16px;text-align:center}.year-tab[aria-selected=true] .year-tab-count{color:var(--accent-strong);border-color:color-mix(in srgb,var(--accent-border) 62%,var(--line))}.sort-picker{position:relative;min-width:158px;flex:0 0 auto}.sort-trigger{display:grid;width:100%;height:46px;grid-template-columns:minmax(0,1fr) 15px;grid-template-rows:auto auto;align-items:center;column-gap:8px;padding:6px 9px 6px 11px;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:12px;text-align:left;transition:color .15s ease,background-color .15s ease,border-color .15s ease,transform 90ms ease}.sort-trigger:hover,.sort-picker.is-open .sort-trigger{background:var(--soft);border-color:var(--line)}.sort-trigger:active{transform:scale(.98)}.sort-caption{grid-column:1;grid-row:1;align-self:end;color:var(--muted);font-size:8px;font-weight:700;letter-spacing:.04em;line-height:1.2}.sort-trigger strong{min-width:0;grid-column:1;grid-row:2;align-self:start;overflow:hidden;color:var(--text);font-size:11px;font-weight:680;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.sort-trigger .icon-chevron{width:14px;height:14px;grid-column:2;grid-row:1 / span 2;align-self:center;color:var(--muted);transition:transform .18s var(--ease-spring)}.sort-picker.is-open .icon-chevron{transform:rotate(180deg)}.sort-list-icon{display:none}.sort-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:80;display:grid;width:max(100%,190px);gap:3px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 46px #18181b29,0 2px 8px #18181b0d;transform-origin:top right;animation:sort-menu-in .18s var(--ease-spring) both}.sort-menu button{display:grid;min-height:40px;grid-template-columns:minmax(0,1fr) 17px;align-items:center;gap:8px;padding:7px 10px 7px 12px;color:var(--muted-strong);background:transparent;border-radius:11px;font-size:12px;font-weight:680;text-align:left;transition:color .14s ease,background-color .14s ease}.sort-menu button:hover,.sort-menu button:focus-visible{color:var(--text);background:var(--soft)}.sort-menu button[aria-selected=true]{color:var(--accent-strong);background:var(--accent-soft)}.sort-menu button .icon{width:15px;height:15px;opacity:0;transform:scale(.72);transition:opacity .13s ease,transform .18s var(--ease-spring)}.sort-menu button[aria-selected=true] .icon{opacity:1;transform:scale(1)}@keyframes sort-menu-in{0%{opacity:0;transform:translateY(-5px) scale(.97)}}.saved-region{min-height:360px}.course-list{display:grid;gap:12px;padding:0;margin:0;list-style:none}.course-list>li{min-width:0}.course-card{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr) 58px;min-height:174px;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:21px;box-shadow:0 4px 16px #18181b06;transition:opacity .19s ease,border-color .17s ease,box-shadow .21s ease,transform .21s var(--ease-out)}.course-card:hover{border-color:var(--line-strong);box-shadow:0 7px 22px #18181b0e}.course-card.is-new{animation:result-in .36s var(--ease-spring) both;animation-delay:calc(var(--item-index, 0) * 42ms)}.course-card.is-removing{opacity:0;transform:scale(.985) translateY(-4px)}@keyframes result-in{0%{opacity:0;transform:translateY(12px)}}.schedule-block{display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;padding:22px 19px 22px 20px;border-right:1px solid var(--line)}.term-badge{display:inline-flex;min-height:25px;align-items:center;padding:3px 8px;color:var(--accent-strong);background:var(--accent-soft);border-radius:999px;font-size:9px;font-weight:740;white-space:nowrap}.course-card.is-cancelled .term-badge{color:var(--warning);background:#fff1f2}.meeting-primary{display:flex;align-items:baseline;gap:5px;margin-top:12px;font-size:22px;font-weight:750;letter-spacing:-.045em;line-height:1.2;white-space:nowrap}.meeting-primary small{font-size:12px;font-weight:720;letter-spacing:-.01em}.meeting-secondary{margin:5px 0 0;color:var(--muted-strong);font-size:10px;font-weight:630;line-height:1.5;overflow-wrap:anywhere}.course-main{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:22px 22px 20px}.course-overline{display:flex;min-width:0;align-items:center;gap:8px;margin-bottom:7px;color:var(--muted);font-size:10px;line-height:1.4}.course-code{flex:0 0 auto;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:760;font-variant-numeric:tabular-nums;letter-spacing:.025em}.course-context{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-main h3{margin:0;font-size:clamp(17px,1.55vw,19px);font-weight:710;letter-spacing:-.025em;line-height:1.45}.course-title-text{color:var(--text);text-decoration:none}.course-title-text:after{position:absolute;inset:0;content:""}.course-card:has(.course-title-text:focus-visible){outline:3px solid color-mix(in srgb,var(--accent) 42%,transparent);outline-offset:3px}.teacher-row{display:flex;align-items:center;gap:7px;margin:8px 0 0;color:var(--muted-strong);font-size:11px;font-weight:590}.teacher-row .icon{width:14px;height:14px;color:var(--muted)}.course-tags{display:flex;min-height:24px;flex-wrap:wrap;gap:5px;margin-top:13px}.course-tags:empty{display:none;min-height:0;margin-top:0}.course-tag{display:inline-flex;min-height:24px;align-items:center;gap:4px;padding:3px 8px;color:var(--muted-strong);background:var(--soft);border-radius:999px;font-size:9px;font-weight:680;white-space:nowrap}.course-tag.is-online{color:var(--accent-strong);background:var(--accent-soft)}.course-tag .icon{width:12px;height:12px}.bookmark-button{position:relative;z-index:3;display:grid;width:42px;height:42px;margin:15px 13px 0 0;place-items:center;justify-self:end;color:var(--accent);background:var(--accent-soft);border-radius:14px;transition:color .16s ease,background-color .16s ease,transform .18s var(--ease-spring)}.bookmark-button:hover{color:var(--accent-hover);background:var(--accent-soft-hover)}.bookmark-button:active{transform:scale(.9)}.bookmark-button .icon{fill:currentColor}.bookmark-button.is-animating .icon{animation:bookmark-pop .33s var(--ease-spring)}@keyframes bookmark-pop{50%{transform:scale(1.2) rotate(-3deg)}}.bookmark-skeletons{display:grid;gap:12px}.bookmark-skeleton{position:relative;display:grid;min-height:174px;grid-template-columns:132px minmax(0,1fr);overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:21px}.bookmark-skeleton:after,.bookmark-skeleton span,.bookmark-skeleton i,.bookmark-skeleton b{display:block;background:linear-gradient(90deg,var(--soft) 18%,#f8f8f9 48%,var(--soft) 78%);background-size:240% 100%;animation:skeleton-shimmer 1.35s ease-in-out infinite}.bookmark-skeleton span{grid-row:1 / span 3;border-right:1px solid var(--line)}.bookmark-skeleton i{width:34%;height:11px;align-self:end;margin:34px 22px 0;border-radius:6px}.bookmark-skeleton b{width:62%;height:19px;margin:11px 22px 38px;border-radius:7px}@keyframes skeleton-shimmer{to{background-position:-150% 0}}.empty-state{display:grid;min-height:360px;align-content:center;justify-items:center;padding:42px 20px 64px;text-align:center}.empty-icon{display:grid;width:54px;height:54px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:18px}.empty-icon .icon{width:23px;height:23px}.empty-state h3{margin:19px 0 0;font-size:18px;font-weight:720;letter-spacing:-.025em}.empty-state p{max-width:360px;margin:7px 0 0;color:var(--muted);font-size:12px}.empty-state a,.empty-state button{display:inline-grid;min-width:116px;min-height:42px;place-items:center;margin-top:22px;padding:8px 16px;color:#fff;background:var(--accent);border-radius:12px;font-size:12px;font-weight:700;text-decoration:none;transition:background-color .15s ease,transform 90ms ease,box-shadow .18s ease}.empty-state a:hover,.empty-state button:hover{background:var(--accent-hover);box-shadow:0 7px 18px #16784a2e}.empty-state a:active,.empty-state button:active{transform:scale(.98)}.toast{position:fixed;right:24px;bottom:24px;z-index:200;max-width:calc(100% - 48px);padding:11px 15px;margin:0;color:#fff;background:#18181bed;border-radius:11px;box-shadow:0 9px 32px #18181b2e;font-size:12px;font-weight:650;animation:toast-in .22s var(--ease-spring) both}@keyframes toast-in{0%{opacity:0;transform:translateY(7px) scale(.98)}}@media(max-width:719px){.page-shell{width:calc(100% - 34px);padding:37px 0 112px}.bookmarks-hero{margin-bottom:17px}.hero-title-row{align-items:center}h1{font-size:clamp(32px,10vw,40px)}.bookmark-controls{min-height:60px;margin-top:25px;padding-bottom:11px}.year-tabs{flex:1;padding:2px 8px 2px 0;overflow-x:auto;scrollbar-width:none}.year-tabs::-webkit-scrollbar{display:none}.year-tab{flex:0 0 auto}.sort-picker{min-width:43px}.sort-trigger{width:43px;height:38px;grid-template-columns:1fr;grid-template-rows:1fr;place-items:center;padding:0}.sort-caption,.sort-trigger strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sort-trigger .sort-list-icon{display:block;width:18px;height:18px;grid-column:1;grid-row:1;color:var(--muted-strong)}.sort-trigger .icon-chevron{display:none}.sort-menu{top:calc(100% + 8px);width:190px}.course-list,.bookmark-skeletons{gap:10px}.course-card{display:block;min-height:0;border-radius:19px}.schedule-block{display:grid;min-height:54px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;justify-content:start;gap:9px;padding:12px 60px 10px 15px;border-right:0;border-bottom:1px solid var(--line)}.term-badge{min-height:24px}.meeting-primary{margin:0;font-size:17px}.meeting-primary small{font-size:10px}.meeting-secondary{min-width:0;margin:0;color:var(--muted);line-height:1.35}.course-main{padding:16px 16px 17px}.course-overline{padding-right:40px;margin-bottom:6px}.course-main h3{padding-right:7px;font-size:16px;line-height:1.5}.teacher-row{margin-top:7px}.course-tags{margin-top:11px}.bookmark-button{position:absolute;top:7px;right:8px;width:44px;height:44px;margin:0;border-radius:13px}.bookmark-skeleton{display:block;min-height:188px;border-radius:19px}.bookmark-skeleton span{display:block;height:54px;border-right:0;border-bottom:1px solid var(--line)}.bookmark-skeleton i{width:38%;height:10px;margin:24px 16px 0}.bookmark-skeleton b{width:70%;height:18px;margin:12px 16px 30px}.empty-state{min-height:330px;padding-inline:8px}.toast{right:16px;bottom:16px}}@media(max-width:459px){.hero-title-row{align-items:flex-end}.hero-title-row>div{display:block}.bookmark-total{margin-top:5px}.bookmark-total strong{font-size:15px}.find-course-link{min-height:34px;padding-inline:7px 3px}.find-course-link .icon{display:none}.year-tab{min-height:34px;padding-inline:10px}.year-tab-count{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
