@font-face { font-family:Manrope; font-style:normal; font-weight:400; font-display:swap; src:url('static/fonts/manrope-4.ttf') format('truetype'); }
@font-face { font-family:Manrope; font-style:normal; font-weight:600; font-display:swap; src:url('static/fonts/manrope-6.ttf') format('truetype'); }
@font-face { font-family:Manrope; font-style:normal; font-weight:700; font-display:swap; src:url('static/fonts/manrope-7.ttf') format('truetype'); }
:root { --workinghard-forest:#25634a; --workinghard-ink:#1d3429; --workinghard-paper:#fafbf9; --workinghard-mist:#eaf0eb; --workinghard-sage:#61766a; }
.landing-portal-overlay { background:var(--workinghard-paper); font-family:Manrope,Arial,sans-serif; padding:0 44px; }
.portal-container { max-width:1240px; width:100%; padding:0 0 20px; }
.ontask-nav { padding:28px 0; gap:16px; }
.ontask-brand { font-family:Manrope,Arial,sans-serif; font-size:24px; font-weight:700; letter-spacing:-1px; gap:10px; color:var(--workinghard-ink); }
.brand-wordmark { white-space:nowrap; }
.brand-domain { color:var(--workinghard-forest); }
.ontask-brand img { flex:none; }
.app-name-badge { font-size:12px; font-weight:600; padding:6px 10px; border:1px solid #dde5df; border-radius:5px; color:#61766a; margin-right:auto; }
.ui-top-actions { gap:20px; }
.landing-portal-overlay :is(button,input,select),#reader-help :is(button,kbd) { font-family:Manrope,Arial,sans-serif; }
.workspace-launcher { padding:34px 0 28px; }
.launcher-split { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.launcher-apps { padding-right:36px; border-right:1px solid #e1e6e1; min-width:0; transition:background .25s; }
.launcher-documents { padding-left:36px; min-width:0; }
.panel-heading { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.panel-heading :is(h1,h2) { font-size:18px; font-weight:600; letter-spacing:-.4px; margin:0; }
.panel-step { font-size:11px; letter-spacing:.7px; color:#789185; background:#eaf0eb; padding:6px 8px; border-radius:5px; }
.ontask-workspace-grid { gap:10px; }
.workspace-launch { min-height:66px; padding:14px; gap:12px; border-radius:7px; font-size:13px; font-weight:600; }
.workspace-launch img { width:30px; height:30px; }
.workspace-launch:hover { background:#eff5f0; border-color:#8da898; box-shadow:0 4px 12px #203c2610; }
.workspace-launch[data-theme=theme-reader] { background:#f3f4ec; border-color:#d9dfcb; }
.launcher-apps.choose-app-ready .workspace-launch { border-color:#7d9b87; }
.portal-upload { text-align:center; padding:24px 18px; border:1px dashed #b8cabc; background:#f1f5f0; border-radius:9px; }
.upload-illustration { color:#537861; margin-bottom:13px; }
.portal-upload-main { justify-content:center; }
#portal-upload-button { font-weight:600; border-radius:5px; padding:12px 26px; background:var(--workinghard-forest); border-color:var(--workinghard-forest); }
#portal-upload-button:hover { background:var(--workinghard-ink); border-color:var(--workinghard-ink); }
.portal-file-hint { margin:12px 0 0; font-size:11px; }
.portal-upload-status { margin:8px 0 0; font-size:12px; line-height:1.6; }
.local-library { margin-top:25px; }
.library-heading { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:10px; gap:10px; }
.library-heading h2,.cloud-library h2 { font-size:15px; font-weight:600; letter-spacing:-.2px; }
.library-heading > span { font-size:10px; color:#809184; }
.library-shelf { min-height:180px; padding:12px 18px; border:1px solid #dfe6df; border-radius:9px; background:#fff; display:flex; flex-direction:column; justify-content:center; }
.library-shelf:has(.library-book) { justify-content:flex-start; }
#local-library-empty { font-size:12px; color:#829086; line-height:1.8; padding:20px 8px; margin:0; text-align:center; }
#local-library-status { font-size:10px; color:#819186; margin:6px 0; min-height:15px; }
#local-library-books { max-height:280px; overflow:auto; scrollbar-width:thin; }
.library-book { display:flex; align-items:center; gap:6px; border-bottom:1px solid #e5eae4; }
.library-book-open { display:flex; flex:1; min-width:0; text-align:left; align-items:center; gap:12px; padding:11px 0; color:#283b2f; border:0; background:transparent; cursor:pointer; }
.library-book-cover { flex:none; width:32px; height:42px; display:grid; place-items:center; font-size:17px; color:#52775b; background:#e1eadd; border-left:3px solid #b4c9ae; border-radius:2px 5px 5px 2px; }
.library-book-info { display:flex; flex-direction:column; gap:5px; min-width:0; }
.library-book-info strong { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.library-book-info small { font-size:10px; color:#829085; }
.library-book-open:hover .library-book-info strong { color:#176544; }
.library-book-actions { display:flex; flex:none; }
.library-book-actions button { border:0; background:transparent; width:28px; height:32px; font-size:17px; color:#8d9a90; cursor:pointer; }
.library-book-actions button:hover { color:#3e614a; background:#edf2eb; border-radius:4px; }
.cloud-status-line { margin:17px 0 18px; }
#cloud-status { font-size:11px; line-height:1.7; color:#79897d; }
.cloud-sync { margin:18px 0 24px; }
.cloud-sync-row { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.cloud-sync-copy { flex:1; min-width:160px; }
.cloud-sync h2 { font-size:13px; font-weight:600; margin:0 0 5px; }
.cloud-sync .cloud-status-line { margin:0; }
.cloud-sync #cloud-status { margin:0; }
.cloud-sync-actions { flex:none; }
.cloud-sync .google-sign-in { font-size:12px; padding:10px 13px; }
.cloud-sync .cloud-account { flex-wrap:wrap; justify-content:flex-end; }
.cloud-library { margin-bottom:0; }
.launcher-shortcuts { border-top:1px solid #e1e6e1; margin-top:32px; padding-top:23px; }
.launcher-shortcuts > h2 { font-size:14px; font-weight:600; margin-bottom:14px; }
.shortcut-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.shortcut-cards article { padding:18px; background:#fff; border:1px solid #e5e9e2; border-radius:7px; }
.shortcut-label { font-size:9px; color:#6d8475; font-weight:700; letter-spacing:1px; }
.shortcut-cards h3 { font-size:13px; font-weight:600; margin:7px 0 10px; }
.shortcut-cards p { font-size:11px; line-height:1.9; color:#738176; margin:5px 0; }
.shortcut-cards kbd { white-space:nowrap; font-size:9px; padding:2px 4px; background:#f7f9f5; }
.ontask-footer { display:flex; justify-content:space-between; padding:16px 0; color:#829087; }
.upload-next-step { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); width:min(680px,calc(100vw - 32px)); background:#214631; color:#fff; box-shadow:0 12px 44px #17302440; border:1px solid #63816c; border-radius:12px; padding:17px 18px; display:flex; align-items:center; gap:15px; z-index:2000; animation:next-step-rise .32s ease-out; font-family:Manrope,Arial,sans-serif; }
.upload-next-step > div { display:flex; flex-direction:column; flex:1; gap:5px; }
.upload-next-step strong { font-size:14px; font-weight:700; }
.upload-next-step div span { font-size:12px; color:#cbdccf; }
.upload-next-icon { display:grid; place-items:center; width:34px; height:34px; background:#ffffff15; border-radius:7px; font-size:25px; }
.upload-next-step button { background:#fff; color:#274c35; border:0; border-radius:5px; font-size:12px; padding:10px 12px; cursor:pointer; font-weight:600; white-space:nowrap; }
#upload-next-close { background:transparent; color:#d2ded4; font-size:22px; padding:5px; }
@keyframes next-step-rise { from { opacity:0; transform:translate(-50%,28px); } to { opacity:1; transform:translate(-50%,0); } }
body .reader-controls-area,body #reader-toolbar :is(button,select,input,.reader-upload) { font-family:Manrope,Arial,sans-serif; }
#reader-help { font-family:Manrope,Arial,sans-serif; }
@media(max-width:1000px) { .landing-portal-overlay { padding:0 26px; }.launcher-apps { padding-right:24px; }.launcher-documents { padding-left:24px; }.workspace-launch { padding:12px 10px; gap:8px; font-size:12px; }.workspace-launch img { width:27px; height:27px; }.ontask-brand { font-size:21px; }.app-name-badge { font-size:10px; }.ui-top-actions { gap:12px; } }
@media(max-width:760px) { .landing-portal-overlay { padding:0 20px; }.ontask-nav { flex-wrap:wrap; padding:22px 0; }.ontask-brand { font-size:21px; }.ontask-brand img { width:27px; height:27px; }.ui-top-actions { width:100%; justify-content:flex-end; }.app-name-badge { margin-right:0; margin-left:auto; }.launcher-split { grid-template-columns:1fr; gap:30px; }.launcher-apps { padding-right:0; border:0; }.launcher-documents { padding-left:0; }.workspace-launch { font-size:12px; min-height:64px; padding:14px; gap:12px; }.shortcut-cards { grid-template-columns:1fr; gap:10px; }.shortcut-cards article { padding:16px; }.panel-heading :is(h1,h2) { font-size:17px; }.upload-next-step { bottom:14px; gap:10px; padding:14px; flex-wrap:wrap; }.upload-next-step > div { min-width:180px; }.upload-next-icon { display:none; }.upload-next-step button { padding:8px; }.upload-next-step div span { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .upload-next-step { animation:none; } }
@media(max-width:760px) { .cloud-sync-row { align-items:stretch; flex-direction:column; gap:12px; }.cloud-sync-actions .google-sign-in { width:100%; justify-content:center; }.cloud-sync .cloud-account { justify-content:space-between; }.library-shelf { min-height:170px; } }
/* The persistent toggle belongs to each application's own header. */
body header #btn-toggle-ctrls-floating.reader-header-controls { display:inline-flex; position:static; inset:auto; transform:none; align-items:center; justify-content:center; flex:none; gap:6px; width:auto; min-width:94px; min-height:24px; height:26px; padding:3px 8px; margin:0 6px 0 0; border:1px solid color-mix(in srgb,currentColor 20%,transparent); border-radius:5px; background:transparent; color:inherit; font:500 11px/1.2 Arial,sans-serif; opacity:1; box-shadow:none; z-index:auto; white-space:nowrap; cursor:pointer; text-transform:none; }
body header #btn-toggle-ctrls-floating.reader-header-controls:hover { background:color-mix(in srgb,currentColor 8%,transparent); color:inherit; border-color:color-mix(in srgb,currentColor 35%,transparent); }
body header #btn-toggle-ctrls-floating.reader-header-controls:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
body header #btn-toggle-ctrls-floating.reader-header-controls kbd { font:9px Arial,sans-serif; background:transparent; color:inherit; border:1px solid color-mix(in srgb,currentColor 25%,transparent); border-radius:3px; padding:1px 3px; box-shadow:none; }
body:has(.landing-portal-overlay:not(.hidden)) header .reader-header-controls { visibility:hidden; }
body header:has(.reader-header-controls) { min-width:0; }
body .creative-top-actions { flex:none; }
body header #extra-project-title { min-width:0; }
body .slack-topbar:has(.reader-header-controls) .slack-search { min-width:0; }
body .slack-search > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:760px) {
  body header #btn-toggle-ctrls-floating.reader-header-controls { min-width:88px; margin-right:0; }
  .vscode-title-bar .vscode-menu-bar,.ps-title-bar .ps-menu-bar,.ps-title-center,.blender-top-center,.blender-workspaces,.cad-title-center,.cad-quick-access { display:none; }
  .excel-title-bar :is(.center-search,.autosave-container,.quick-access,.user-profile) { display:none; }
  .excel-title-bar .left-section { min-width:0; flex:1; }
  .excel-title-bar .document-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:calc(100vw - 150px); }
  :is(.excel-title-bar,.vscode-title-bar,.ps-title-bar,.blender-top-bar,.cad-title-bar) .win-btn { display:none; }
  :is(.vscode-title-bar,.ps-title-bar,.blender-top-bar,.cad-title-bar) { overflow:visible; }
  .blender-top-left { min-width:0; }.blender-menu-bar { white-space:nowrap; max-width:170px; overflow:hidden; }
  :is(.vscode-title-right,.ps-title-right,.blender-top-right,.cad-title-right) { flex:none; }
  .slack-topbar { gap:9px; }.slack-top-help { display:none; }
}
body #btn-toggle-ctrls-floating:not(.reader-header-controls) { display:none; }
/* A compact, skippable introduction; it never covers the reader toolbar. */
#sheets-guide { position:fixed; z-index:1500; width:min(310px,calc(100vw - 24px)); padding:17px; border:1px solid #ccc7ef; border-radius:12px; background:#fff; color:#292644; box-shadow:0 10px 36px #241e5630; font:400 13px/1.6 Manrope,Arial,sans-serif; }
#sheets-guide .sheets-guide-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
#sheets-guide .sheets-guide-count { color:#746b9e; font-size:11px; }
#sheets-guide h2 { font:700 17px/1.4 Manrope,Arial,sans-serif; margin:0 0 8px; color:#292644; }
#sheets-guide p { margin:0 0 16px; color:#615c77; }
#sheets-guide button { border:0; border-radius:5px; padding:7px 12px; cursor:pointer; font:600 12px/1.5 Manrope,Arial,sans-serif; background:#f0eef8; color:#5046a8; box-shadow:none; }
#sheets-guide .sheets-guide-skip { background:transparent; padding:3px 0 3px 10px; color:#746b9e; }
#sheets-guide .sheets-guide-actions { display:flex; gap:8px; justify-content:flex-end; }
#sheets-guide .sheets-guide-next { background:#5046c7; color:#fff; }
#sheets-guide button:focus-visible { outline:2px solid #5046c7; outline-offset:3px; }
body .sheets-guide-target { outline:3px solid var(--reader-accent)!important; outline-offset:3px; box-shadow:0 0 0 6px color-mix(in srgb,var(--reader-accent) 15%,transparent)!important; }
