:root{
  --font-brand:'Instrument Serif',Georgia,serif;
  --font-display:'Instrument Serif',Georgia,serif;
  --font-ui:'Sen',Arial,sans-serif;
  --font-hand:'Dekko',cursive;
  --ss-appbar-height:64px;
  --ss-shell-ink:#11110f;
  --ss-shell-muted:#6f706b;
  --ss-shell-paper:#fffef9;
  --ss-shell-soft:#f4f1e8;
  --ss-shell-line:rgba(17,17,15,.12);
  --ss-shell-yellow:#f2c94c;
  --ss-shell-shadow:0 12px 34px rgba(17,17,15,.12);
}

body.ss-app-shell{padding-top:var(--ss-appbar-height);}

#ss-appbar,#ss-appbar *,#ss-app-launcher,#ss-app-launcher *,#ss-mobile-dock,#ss-mobile-dock *{box-sizing:border-box;letter-spacing:0;}

#ss-appbar{
  position:fixed;inset:0 0 auto 0;height:var(--ss-appbar-height);z-index:1000;
  display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,520px) minmax(220px,1fr);
  align-items:center;gap:20px;padding:0 22px;background:rgba(255,254,249,.96);
  border-bottom:1px solid var(--ss-shell-line);box-shadow:0 5px 20px rgba(17,17,15,.045);backdrop-filter:blur(20px) saturate(150%);
  color:var(--ss-shell-ink);font-family:var(--font-ui);
}
.ss-appbar-left,.ss-appbar-center,.ss-appbar-right{display:flex;align-items:center;min-width:0;}
.ss-appbar-left{gap:11px;}.ss-appbar-center{justify-content:center;}.ss-appbar-right{justify-content:flex-end;gap:9px;}
.ss-appbar-search,.ss-appbar-focus,.ss-appbar-account,.ss-appbar-compact-search{
  border:1px solid var(--ss-shell-line);background:var(--ss-shell-paper);color:var(--ss-shell-ink);
  min-height:40px;border-radius:7px;display:flex;align-items:center;justify-content:center;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.ss-appbar-search:hover,.ss-appbar-focus:hover,.ss-appbar-account:hover,.ss-appbar-compact-search:hover{border-color:rgba(17,17,15,.24);box-shadow:0 5px 16px rgba(17,17,15,.08);}
.ss-appbar-focus:active,.ss-appbar-compact-search:active{transform:translateY(1px);}
.ss-appbar-search svg,.ss-appbar-focus svg,.ss-appbar-account svg,.ss-appbar-compact-search svg{width:17px;height:17px;stroke-width:1.8;}
.ss-appbar-compact-search{display:none;width:40px;padding:0;cursor:pointer;}
.ss-appbar-identity,.ss-appbar-brand,.ss-appbar-context{display:flex;align-items:center;min-width:0;}
.ss-appbar-identity{gap:11px;}
.ss-appbar-brand{gap:8px;color:inherit;text-decoration:none;white-space:nowrap;}
.ss-appbar-brand img{width:29px;height:29px;object-fit:contain;transform:scale(1.35);flex:none;}
.ss-appbar-brand-name{font-family:var(--font-brand);font-size:18px;font-weight:400;}
.ss-appbar-divider{width:1px;height:25px;background:var(--ss-shell-line);flex:none;}
.ss-appbar-context{gap:7px;color:var(--ss-shell-ink);text-decoration:none;padding:5px 8px 5px 6px;border-radius:6px;}
.ss-appbar-context:hover{background:var(--ss-shell-soft);}
.ss-appbar-context>svg{width:28px!important;height:28px!important;padding:6px;border-radius:6px;background:color-mix(in srgb,var(--context-color) 14%,#fff);color:var(--context-color);}
.ss-appbar-context>span{display:flex;flex-direction:column;font-size:12px;font-weight:700;line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ss-appbar-context small{font-size:8.5px;color:var(--ss-shell-muted);font-weight:700;text-transform:uppercase;margin-bottom:2px;}
.ss-appbar-search{width:min(100%,470px);padding:0 12px;justify-content:flex-start;gap:9px;cursor:pointer;background:#fff;box-shadow:inset 0 0 0 1px rgba(17,17,15,.02);}
.ss-appbar-search span{font-size:13px;color:var(--ss-shell-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ss-appbar-search kbd{margin-left:auto;border:1px solid var(--ss-shell-line);background:var(--ss-shell-soft);padding:2px 6px;border-radius:4px;font:10px/1.3 "IBM Plex Mono",monospace;color:var(--ss-shell-muted);}
.ss-appbar-focus{gap:7px;padding:0 14px;background:var(--ss-shell-yellow);border-color:#d8ae28;color:var(--ss-shell-ink);text-decoration:none;font-size:12.5px;font-weight:800;}
.ss-appbar-focus:hover{background:#f5d35f;color:var(--ss-shell-ink);border-color:#cba11f;}
.ss-appbar-account{width:40px;height:40px;min-height:40px;border-radius:50%;overflow:hidden;text-decoration:none;font:800 12px/1 'Sen',sans-serif;background:var(--ss-shell-ink);color:#fff;border:2px solid #fff;outline:1px solid var(--ss-shell-line);}
.ss-appbar-account img{width:100%;height:100%;object-fit:cover;}

#ss-app-launcher{
  position:fixed;inset:var(--ss-appbar-height) 0 0;z-index:990;display:none;
  background:rgba(17,17,15,.48);backdrop-filter:blur(8px);padding:18px;
  font-family:var(--font-ui);color:var(--ss-shell-ink);
}
#ss-app-launcher.open{display:flex;align-items:flex-start;justify-content:center;}
.ss-launcher-panel{
  width:min(1080px,100%);height:min(700px,calc(100vh - var(--ss-appbar-height) - 36px));overflow:hidden;
  display:flex;flex-direction:column;background:var(--ss-shell-paper);border:1px solid rgba(255,255,255,.5);border-radius:8px;
  box-shadow:0 30px 90px rgba(17,17,15,.34);
}
.ss-launcher-head{z-index:2;display:grid;grid-template-columns:220px minmax(280px,1fr) 40px;align-items:center;gap:18px;padding:16px 18px;background:var(--ss-shell-paper);border-bottom:1px solid var(--ss-shell-line);}
.ss-launcher-heading{min-width:0;}
.ss-launcher-eyebrow{display:block;margin-bottom:2px;font-family:var(--font-hand);font-size:13px;font-weight:400;text-transform:uppercase;color:var(--ss-shell-muted);}
.ss-launcher-title{font-family:var(--font-display);font-size:23px;font-weight:400;white-space:nowrap;}
.ss-launcher-search{display:flex;align-items:center;gap:9px;border:1px solid var(--ss-shell-line);background:#fff;border-radius:7px;padding:0 11px;height:42px;box-shadow:0 4px 14px rgba(17,17,15,.04);}
.ss-launcher-search svg{width:16px;height:16px;color:var(--ss-shell-muted);flex:none;}
.ss-launcher-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ss-shell-ink);font:13px 'Sen',Arial,sans-serif;}
.ss-launcher-search kbd{border:1px solid var(--ss-shell-line);border-radius:4px;background:var(--ss-shell-soft);padding:2px 6px;font:9px "IBM Plex Mono",monospace;color:var(--ss-shell-muted);}
.ss-launcher-close{width:38px;height:38px;border:0;border-radius:7px;display:flex;align-items:center;justify-content:center;color:var(--ss-shell-muted);background:transparent;cursor:pointer;}
.ss-launcher-close:hover{background:var(--ss-shell-soft);color:var(--ss-shell-ink);}
.ss-launcher-close svg{width:18px;height:18px;}
.ss-launcher-layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:0;flex:1;overflow:hidden;}
.ss-launcher-rail{min-width:0;overflow-y:auto;padding:19px 16px;background:#181915;color:#fff;border-right:1px solid rgba(255,255,255,.08);}
.ss-rail-label{margin:4px 8px 8px;font-family:var(--font-hand);font-size:13px;font-weight:400;text-transform:uppercase;color:rgba(255,255,255,.58);}
.ss-current-workspace{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:10px;margin-bottom:22px;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:rgba(255,255,255,.07);color:#fff;text-decoration:none;}
.ss-current-workspace:hover{background:rgba(255,255,255,.11);}
.ss-current-workspace-icon{width:38px;height:38px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--context-color) 38%,#222);color:#fff;}
.ss-current-workspace-icon svg{width:18px;height:18px;}
.ss-current-workspace>span:nth-child(2){display:flex;flex-direction:column;min-width:0;}
.ss-current-workspace small{color:rgba(255,255,255,.5);font-size:8.5px;text-transform:uppercase;}
.ss-current-workspace b{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ss-current-workspace>svg{width:13px;height:13px;color:rgba(255,255,255,.5);}
.ss-quick-actions{display:grid;gap:3px;margin-bottom:22px;}
.ss-quick-actions a{display:grid;grid-template-columns:18px minmax(0,1fr) 13px;align-items:center;gap:8px;padding:8px;border-radius:6px;color:rgba(255,255,255,.78);font-size:11.5px;font-weight:650;text-decoration:none;}
.ss-quick-actions a:hover{background:rgba(255,255,255,.08);color:#fff;}
.ss-quick-actions svg{width:15px;height:15px;}.ss-quick-actions svg:last-child{width:12px;height:12px;color:rgba(255,255,255,.35);}
.ss-recent-list{display:grid;gap:3px;}
.ss-recent-item{display:grid;grid-template-columns:27px minmax(0,1fr) 12px;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;color:rgba(255,255,255,.72);font-size:11.5px;text-decoration:none;}
.ss-recent-item:hover{background:rgba(255,255,255,.08);color:#fff;}
.ss-recent-icon{width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:color-mix(in srgb,var(--group-color) 38%,#222);}
.ss-recent-icon svg,.ss-recent-item>svg{width:13px;height:13px;}.ss-recent-item>svg{color:rgba(255,255,255,.34);}
.ss-launcher-main{min-width:0;overflow-y:auto;background:var(--ss-shell-paper);}
.ss-launcher-library-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:17px 20px 9px;background:rgba(255,254,249,.96);backdrop-filter:blur(12px);font-size:11px;font-weight:800;text-transform:uppercase;color:var(--ss-shell-muted);}
.ss-launcher-library-head small{font-size:9.5px;font-weight:650;text-transform:none;}
.ss-launcher-body{padding:10px 20px 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 26px;}
.ss-app-group{min-width:0;padding:0!important;}
.ss-app-group-title{display:flex;align-items:center;gap:8px;margin-bottom:9px;font-size:10.5px;font-weight:800;text-transform:uppercase;color:var(--ss-shell-muted);}
.ss-app-group-title::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--group-color,#8b8b86);}
.ss-app-grid{display:grid;gap:6px;}
.ss-app-item{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:11px;min-width:0;padding:9px;border:1px solid transparent;border-radius:7px;color:var(--ss-shell-ink);text-decoration:none;outline:none;}
.ss-app-item:hover,.ss-app-item:focus-visible,.ss-app-item.active{background:var(--ss-shell-soft);border-color:var(--ss-shell-line);}
.ss-app-item.active{box-shadow:inset 3px 0 0 var(--group-color,#8b8b86);}
.ss-app-icon{width:40px;height:40px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--group-color,#8b8b86) 15%,#fff);color:var(--group-color,#555);}
.ss-app-icon svg{width:17px;height:17px;stroke-width:1.9;}
.ss-app-copy{display:flex;flex-direction:column;min-width:0;}
.ss-app-name{font-size:12.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ss-app-description{margin-top:2px;font-size:10px;color:var(--ss-shell-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ss-app-item>svg,.ss-current-mark{width:17px;height:17px;color:#aaa;display:flex;align-items:center;justify-content:center;}
.ss-current-mark{border-radius:50%;background:var(--group-color);color:#fff;}.ss-current-mark svg{width:11px;height:11px;}
.ss-launcher-empty{display:none;grid-column:1/-1;padding:34px;text-align:center;color:var(--ss-shell-muted);font-size:13px;}
.ss-launcher-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-top:1px solid var(--ss-shell-line);font-size:10.5px;color:var(--ss-shell-muted);}
.ss-launcher-foot>span{display:flex;align-items:center;gap:6px;}.ss-launcher-foot>span svg{width:13px;height:13px;color:#3f7d58;}
.ss-launcher-foot-actions{display:flex;gap:8px;}
.ss-launcher-foot a,.ss-launcher-foot button{display:flex;align-items:center;gap:6px;padding:7px 9px;border:0;border-radius:6px;color:var(--ss-shell-muted);text-decoration:none;background:transparent;font:600 11px 'Sen',Arial,sans-serif;}
.ss-launcher-foot a:hover,.ss-launcher-foot button:hover{background:var(--ss-shell-soft);color:var(--ss-shell-ink);}
.ss-launcher-foot svg{width:14px;height:14px;}
#ss-app-launcher.is-searching .ss-launcher-layout{grid-template-columns:1fr;}
#ss-app-launcher.is-searching .ss-launcher-rail{display:none;}

#ss-mobile-dock{display:none;}

body.ss-global-page .dash-shell{grid-template-columns:minmax(0,1fr);width:100%;min-height:calc(100vh - var(--ss-appbar-height));}
body.ss-global-page .dash-sidebar,body.ss-global-page .dash-mobile-menu-btn,body.ss-global-page .dash-mobile-backdrop{display:none!important;}
body.ss-global-page .dash-main{width:100%;min-width:0;padding-top:36px;}
body.ss-app-shell .dash-hero-actions>.cmdk-btn,body.ss-app-shell .dash-hero-actions>.dash-avatar{display:none!important;}
body.ss-app-shell main>.account-pill,body.ss-lofi-page .topbar .account-pill{display:none!important;}

body.ss-tool-page .sidebar{top:var(--ss-appbar-height);height:calc(100vh - var(--ss-appbar-height));}
body.ss-pomodoro-page .sidebar>.nav{min-height:0;overflow-y:auto;}
body.ss-notes-page .notion-shell{min-height:calc(100vh - var(--ss-appbar-height));}
body.ss-notes-page .notion-tree-sidebar{height:calc(100vh - var(--ss-appbar-height));top:0;}
body.ss-notes-page .notion-sidebar-toggle{top:calc(var(--ss-appbar-height) + 18px);}
body.ss-lofi-page .app{min-height:calc(100vh - var(--ss-appbar-height));}
body.ss-course-view-page .course-shell{min-height:calc(100vh - var(--ss-appbar-height));}
body.ss-course-view-page .course-sidebar{top:var(--ss-appbar-height);height:calc(100vh - var(--ss-appbar-height));}

@media(max-width:1080px){
  body.ss-global-page .dash-main{padding-top:30px;}
}

@media(max-width:860px){
  #ss-appbar{grid-template-columns:minmax(0,1fr) auto;}
  .ss-appbar-center{display:none;}
  .ss-appbar-left{overflow:hidden;}
  body.ss-account-settings-page .settings-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  body.ss-account-settings-page .settings-tabs button{flex-shrink:0;white-space:nowrap;}
}

@media(min-width:761px) and (max-width:860px){
  .ss-appbar-compact-search{display:flex;}
}

@media(max-width:760px){
  :root{--ss-appbar-height:60px;}
  body.ss-app-shell{padding-bottom:72px;}
  #ss-appbar{grid-template-columns:1fr auto;padding:0 12px;gap:10px;}
  .ss-appbar-left{gap:8px;}.ss-appbar-center{display:none;}.ss-appbar-right{gap:6px;}
  .ss-appbar-identity{gap:7px;overflow:hidden;}.ss-appbar-brand{gap:6px;}.ss-appbar-brand img{width:27px;height:27px;}
  .ss-appbar-brand-name{font-size:14.5px;}.ss-appbar-divider{display:none;}
  .ss-appbar-context{padding:4px 6px;max-width:92px;background:var(--ss-shell-soft);}
  .ss-appbar-context>svg,.ss-appbar-context small{display:none;}.ss-appbar-context>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;display:block;}
  .ss-appbar-focus{display:none;}
  .ss-appbar-account{width:36px;height:36px;min-height:36px;}
  #ss-app-launcher{padding:0;align-items:stretch;}
  #ss-app-launcher.open{align-items:stretch;}
  .ss-launcher-panel{width:100%;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;}
  .ss-launcher-head{grid-template-columns:1fr 38px;padding:13px 14px 12px;gap:9px;}
  .ss-launcher-heading{min-width:0;}.ss-launcher-title{font-size:19px;}.ss-launcher-eyebrow{font-size:8px;}
  .ss-launcher-search{grid-column:1/-1;grid-row:2;height:40px;}.ss-launcher-search kbd{display:none;}
  .ss-launcher-close{grid-column:2;grid-row:1;}
  .ss-launcher-layout{grid-template-columns:1fr;overflow-y:auto;}
  .ss-launcher-rail{overflow:visible;padding:14px;background:#181915;border-right:0;}
  .ss-launcher-rail>.ss-rail-label:first-child,.ss-current-workspace,.ss-recent-list,.ss-quick-actions+.ss-rail-label{display:none;}
  .ss-launcher-rail .ss-rail-label{margin-top:0;}
  .ss-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0;gap:5px;}
  .ss-quick-actions a{background:rgba(255,255,255,.06);}
  .ss-launcher-main{overflow:visible;}.ss-launcher-library-head{position:static;padding:16px 14px 7px;}
  .ss-launcher-body{grid-template-columns:1fr;padding:9px 14px 92px;gap:20px;}
  .ss-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ss-app-item{grid-template-columns:36px minmax(0,1fr);gap:9px;padding:8px;}
  .ss-app-icon{width:36px;height:36px;}.ss-app-description,.ss-app-item>svg,.ss-current-mark{display:none;}
  .ss-launcher-foot{display:none;}
  #ss-mobile-dock{
    position:fixed;inset:auto 0 0;z-index:980;height:72px;display:grid;grid-template-columns:repeat(5,1fr);
    background:rgba(255,254,249,.97);border-top:1px solid var(--ss-shell-line);box-shadow:0 -10px 28px rgba(17,17,15,.08);backdrop-filter:blur(18px);
    padding:5px max(6px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
    font-family:var(--font-ui);
  }
  .ss-dock-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ss-shell-muted);text-decoration:none;font-size:9.5px;font-weight:700;background:transparent;border:0;}
  .ss-dock-item svg{width:18px;height:18px;stroke-width:1.8;}
  .ss-dock-item.active{color:var(--ss-shell-ink);}
  .ss-dock-item.active::before{content:"";position:absolute;top:3px;width:22px;height:2px;border-radius:2px;background:var(--ss-shell-yellow);}
  .ss-dock-focus{padding-top:1px;}.ss-dock-focus svg{width:44px;height:44px;margin-top:-21px;padding:11px;border-radius:50%;background:var(--ss-shell-ink);color:var(--ss-shell-yellow);box-shadow:0 7px 18px rgba(17,17,15,.2);}
  .ss-dock-focus.active::before{display:none;}.ss-dock-focus span{margin-top:0;}
  body.ss-tool-page .sidebar{top:var(--ss-appbar-height);height:calc(100vh - var(--ss-appbar-height) - 64px);}
  body.ss-tool-page .topbar-mobile{top:var(--ss-appbar-height);height:52px;border:0;background:transparent;pointer-events:none;z-index:900;}
  body.ss-tool-page .topbar-mobile .brand-mark,body.ss-tool-page .topbar-mobile .brand-name{display:none!important;}
  body.ss-tool-page .menu-btn{pointer-events:auto;}
  body.ss-notes-page .notion-mobile-menu-btn{top:calc(var(--ss-appbar-height) + 12px);}
  body.ss-notes-page .notion-tree-sidebar{top:var(--ss-appbar-height);height:calc(100vh - var(--ss-appbar-height) - 64px);}
  body.ss-notes-page .notion-topbar{padding-top:20px!important;}
  body.ss-notes-page .notion-cover{margin-left:0;margin-right:0;}
  body.ss-course-view-page .course-sidebar{top:var(--ss-appbar-height);height:calc(100vh - var(--ss-appbar-height) - 64px);}
  body.ss-course-view-page .course-mobile-menu-btn{top:calc(var(--ss-appbar-height) + 12px);}
  body.ss-course-view-page .course-main{padding-top:72px;padding-bottom:92px;}
  body.ss-global-page .dash-main{padding:26px 18px 92px;}
}

@media(prefers-reduced-motion:reduce){
  #ss-appbar *,#ss-app-launcher *{transition:none!important;}
}
