:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#17253a;background:#f4f6fa;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:3px solid #8ca9ff;outline-offset:2px}[hidden]{display:none!important}.shell{display:flex;min-height:100dvh}.sidebar{--side:193px;width:var(--side);min-width:var(--side);background:#142037;color:#fff;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;border-right:1px solid #293c58;transition:width .18s,min-width .18s;z-index:4}.sidebar-brand{height:76px;display:flex;align-items:center;gap:8px;padding:0 13px;font-weight:850;font-size:13px;white-space:nowrap;letter-spacing:.065em}.brand-glyph{font-size:20px;color:#83a6f8}.sidebar-toggle{margin-left:auto;border:0;border-radius:9px;background:#263653;color:#d5e0fb;min-width:23px;height:28px;font-size:20px}.app-nav{display:flex;flex-direction:column;gap:7px;padding:0 8px}.app-link,.signout{display:flex;align-items:center;gap:8px;text-align:left;border:0;border-radius:12px;color:#cad7e9;background:transparent;min-width:0;height:46px;padding:0 10px;white-space:nowrap}.app-link:hover,.signout:hover{background:#263650;color:#fff}.app-link.active{background:#405b95;color:white;font-weight:740}.nav-icon{display:inline-grid;place-items:center;width:17px;flex:none;font-size:18px}.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.sidebar-foot{margin-top:auto;padding:12px 8px max(15px,env(safe-area-inset-bottom))}.signout{width:100%}.sidebar.is-collapsed{--side:61px}.sidebar.is-collapsed .brand-text,.sidebar.is-collapsed .nav-label{display:none}.sidebar.is-collapsed .sidebar-brand{padding:0 8px;gap:0;flex-wrap:wrap;align-content:center;justify-content:center}.sidebar.is-collapsed .brand-glyph{width:100%;text-align:center}.sidebar.is-collapsed .sidebar-toggle{min-width:25px;height:19px;font-size:15px;margin:0}.sidebar.is-collapsed .app-link{justify-content:center;padding:0}.sidebar.is-collapsed .signout{justify-content:center}.workspace{padding:31px clamp(13px,4vw,52px) 70px;flex:1;min-width:0;max-width:1300px;margin:0 auto}.view{display:none}.view.active{display:block}.page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:57px;margin-bottom:18px}.page-header h1{font-size:clamp(21px,2.6vw,29px);font-weight:800;letter-spacing:-.045em;margin:0;line-height:1.18}.header-actions{margin-left:auto}.action-btn{white-space:nowrap}.primary,.ghost,.quiet-btn{border-radius:11px;padding:10px 14px;min-height:39px;font-size:13px;font-weight:740;border:1px solid transparent}.primary{background:#355baf;color:white}.primary:hover{background:#234a9c}.ghost{background:white;color:#273c60;border-color:#dbe2ed}.ghost:hover,.quiet-btn:hover{background:#e6ebf5}.quiet-btn{background:#f0f3fa;color:#45618f;border:none}.panel{background:white;border:1px solid #e1e7f1;box-shadow:0 12px 32px #172b4508;border-radius:19px;padding:19px}.calendar-panel{max-width:900px}.month-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.month-nav h2{margin:0;text-transform:capitalize;font-size:20px;letter-spacing:-.025em}.square-btn{background:#eef1f8;color:#2b426d;border:0;border-radius:11px;width:39px;height:39px;font-size:29px;display:grid;place-content:center}.square-btn:hover{background:#dce6f7}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week-label{text-align:center;font-size:11px;font-weight:760;color:#8090a6;padding-bottom:11px}.calendar-days{gap:6px}.day-cell{min-width:0;min-height:98px;border:1px solid #e1e7f0;background:#f6f8fb;border-radius:11px;display:flex;flex-direction:column;align-items:center;padding:7px 2px 5px;position:relative}.day-cell.today{border-color:#94b7fc;background:#edf3ff}.day-cell.today .day-number{color:#2f5cbb}.day-number{font-size:13px;font-weight:730;margin-bottom:4px}.day-buttons{display:flex;flex-direction:column;align-items:center;gap:4px}.day-circle{width:clamp(19px,2.6vw,26px);height:clamp(19px,2.6vw,26px);border:2px solid #cdd5e1;background:#fff;border-radius:50%;padding:0;flex-shrink:0;touch-action:manipulation}.day-circle.green{background:#2bb574;border-color:#2bb574}.day-circle.red{background:#e85b61;border-color:#e85b61}.day-circle:active{transform:scale(.89)}.day-events{width:100%;display:flex;flex-direction:column;gap:2px;margin-top:5px}.event-chip{border:none;background:#dfeaff;border-radius:4px;color:#325391;font-size:9px;min-height:16px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;padding:2px 3px}.calendar-foot{text-align:center;padding-top:18px}.footer-actions{padding-top:16px;display:flex;justify-content:flex-start}.notes-panel{max-width:990px;padding:0;overflow:hidden}.note-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #e3e8f0;padding:10px 12px 0;gap:6px;scrollbar-width:thin}.note-tab{border:0;background:transparent;color:#687890;padding:11px 12px;font-size:12px;white-space:nowrap;font-weight:760;border-bottom:3px solid transparent}.note-tab.active{color:#345eab;border-color:#3c6fc6}.editor-toolbar{display:flex;align-items:center;gap:9px;padding:12px 18px;border-bottom:1px solid #e4eaf1}.color-picker{background:#f7f9fc;border:1px solid #e1e7ef;border-radius:8px;width:40px;height:36px;display:grid;place-items:center}.color-picker input{border:0;background:transparent;width:28px;height:28px;cursor:pointer;padding:0}.tool-btn{width:36px;height:36px;border:1px solid #e1e6ee;background:#f7f9fc;border-radius:8px;font-size:20px}.bold-tool{font-weight:850;font-size:17px}.tool-btn.is-active{background:#dce8ff;border-color:#99b7f7}.editor-toolbar select{background:#f7f9fc;border:1px solid #e1e6ee;border-radius:8px;height:36px;padding:0 8px;color:#283956}.note-editor{outline:none!important;min-height:360px;max-height:65vh;overflow-y:auto;padding:22px 25px;line-height:1.55;font-size:16px;word-break:break-word;white-space:pre-wrap;overflow-wrap:anywhere}.note-editor:empty:before{content:' ';white-space:pre}.note-editor .note-check{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid #9eacbf;border-radius:50%;margin-right:5px;vertical-align:middle;color:#56749c;font-size:14px;cursor:pointer;user-select:none;background:white}.note-editor .note-check.checked{border-color:#449677;background:#d9f3e7;color:#287b57}.note-save-state{text-align:right;font-size:11px;color:#74839b;height:27px;padding:4px 18px}.files-panel{min-height:460px}.files-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:11px}.search{width:clamp(150px,33%,320px);border:1px solid #d8e0ea;padding:10px 13px;border-radius:10px;min-width:0;flex:1}.files-actions{display:flex;flex-wrap:wrap;gap:8px}.breadcrumbs{display:flex;gap:5px;align-items:center;padding:20px 2px 14px;flex-wrap:wrap;border-bottom:1px solid #ecf0f5}.crumb{background:transparent;border:0;color:#506c9e;font-size:13px;padding:3px}.crumb:last-child{color:#203553;font-weight:750}.crumb-arrow{font-size:11px;color:#aab8cb}.file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;padding-top:18px}.file-tile{border:1px solid #e3e8f0;border-radius:13px;background:#fbfcfe;display:flex;align-items:center;min-width:0;min-height:70px}.file-tile:hover{background:#f2f6fd}.file-open{min-width:0;flex:1;display:flex;align-items:center;gap:9px;border:none;background:transparent;text-align:left;padding:10px;cursor:pointer}.file-icon{width:38px;height:38px;border-radius:10px;flex-shrink:0;background:#e8effb;color:#5377b8;display:grid;place-items:center;font-size:22px}.file-icon.folder{color:#b28c37;background:#fff4d8}.file-name{font-size:12px;font-weight:710;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-secondary{font-size:10px;color:#8490a5;display:block;margin-top:4px}.file-download{width:33px;height:35px;border:0;background:transparent;color:#59719b;font-size:21px;padding:0;align-self:flex-start;margin:7px 6px 0 0}.file-download:hover{color:#3158b0}.empty-files{grid-column:1/-1;min-height:90px;display:grid;place-content:center;color:#a6b0bf;font-size:26px}.backdrop{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;background:#111a2bb9;padding:18px}.modal{background:white;border-radius:20px;width:min(100%,560px);padding:19px;max-height:90dvh;overflow:auto;box-shadow:0 20px 60px #0004}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.modal-top h2{font-size:18px;letter-spacing:-.02em;margin:0}.close-btn{border:0;background:#f1f4f9;color:#506078;border-radius:10px;width:34px;height:34px;font-size:23px}.form-field{display:flex;flex-direction:column;gap:5px;margin-bottom:13px;font-size:12px;font-weight:700;color:#64748c}.form-field input,.form-field select{height:40px;padding:10px 11px;border-radius:10px;border:1px solid #d7deea;min-width:0;background:white;color:#22334b}.date-parts{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:9px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.dropzone{border:2px dashed #9aadd0;border-radius:14px;min-height:137px;display:grid;place-items:center;text-align:center;color:#607dad;background:#f5f8ff;cursor:pointer;padding:18px;position:relative}.dropzone.is-dragging{border-color:#385ca5;background:#e8f0ff}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.dropzone .dropmark{font-size:31px;display:block;margin-bottom:9px}.dropzone strong{font-size:12px;overflow-wrap:anywhere}.preview-body{display:grid;place-content:center;min-height:100px;overflow:auto}.preview-body img{max-height:70dvh;max-width:100%;object-fit:contain}.preview-body iframe{width:min(72vw,700px);height:65dvh;border:0}.preview-body pre{font:13px/1.6 ui-monospace,SFMono-Regular,monospace;white-space:pre-wrap;word-break:break-word;max-height:60dvh;overflow:auto;min-width:min(65vw,280px)}.preview-body video{max-width:100%;max-height:63dvh}.preview-body audio{max-width:100%}.preview-name{font-size:14px;font-weight:700;word-break:break-word}.toast{position:fixed;z-index:20;left:50%;bottom:22px;transform:translate(-50%,10px);background:#1c2c47;color:white;padding:11px 17px;border-radius:13px;font-size:13px;max-width:min(90%,450px);opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;text-align:center}.toast.shown{opacity:1;transform:translate(-50%,0)}.login-screen{min-height:100dvh;display:grid;place-content:center;background:#f2f5fa;padding:24px}.login-card{width:min(360px,90vw);background:#fff;padding:32px;border:1px solid #e5eaf2;border-radius:20px;box-shadow:0 12px 34px #12305313;display:grid;gap:13px}.login-mark{text-align:center;font-size:36px;color:#4266af}.login-card h1{text-align:center;margin:0 0 10px;font-size:27px}.login-card label{font-size:13px;font-weight:730;color:#64758f}.login-card input{height:43px;border:1px solid #d1d9e6;border-radius:10px;padding:9px 11px}.full{width:100%}.login-error{font-size:12px;color:#aa3348;min-height:1.4em;text-align:center}@media(max-width:690px){.sidebar{--side:148px}.sidebar-brand{height:64px;padding:0 8px;font-size:10px;letter-spacing:0}.brand-glyph{font-size:17px}.sidebar-toggle{width:19px;min-width:19px;font-size:16px}.app-nav{padding:0 4px}.app-link{height:48px;gap:4px;padding:0 5px;border-radius:9px}.nav-icon{width:15px;font-size:15px}.nav-label{font-size:10.3px;letter-spacing:-.03em}.sidebar-foot{padding-inline:4px}.workspace{padding:17px 8px 36px}.page-header{margin-bottom:10px}.page-header h1{font-size:19px}.page-header .action-btn{font-size:11px;padding:7px 8px;min-height:33px}.panel{padding:9px;border-radius:13px}.month-nav h2{font-size:15px}.month-nav{margin-bottom:11px}.square-btn{width:28px;height:30px;border-radius:7px;font-size:23px}.calendar-scroll{overflow-x:auto}.calendar-week,.calendar-days{min-width:198px}.calendar-days{gap:2px}.week-label{font-size:9px;padding-bottom:8px}.day-cell{border-radius:6px;min-height:87px;padding:5px 0 3px}.day-number{font-size:10px;margin-bottom:3px}.day-buttons{gap:3px}.day-circle{width:18px;height:18px;border-width:1.5px}.day-events{margin-top:3px}.event-chip{font-size:8px;padding:1px 2px;min-height:13px}.footer-actions .primary{font-size:11px;padding:10px}.notes-panel{padding:0}.note-tabs{padding:6px 5px 0;gap:0}.note-tab{font-size:10px;padding:10px 7px}.editor-toolbar{padding:8px;gap:5px}.note-editor{padding:15px 11px;min-height:300px}.files-top{flex-direction:column}.search{width:100%}.files-actions>*{flex:1;font-size:11px;padding:8px}.file-list{grid-template-columns:minmax(0,1fr);gap:8px;padding-top:10px}.files-panel{min-height:360px}.file-tile{min-height:65px}.files-top input{font-size:13px}.breadcrumbs{padding:12px 0 8px}.modal{padding:15px}.date-parts{gap:5px}}
@media(max-width:360px){.sidebar{--side:140px}.sidebar.is-collapsed{--side:49px}.sidebar-brand{padding:0 4px}.nav-label{font-size:9.8px}.workspace{padding-inline:5px}.panel{padding:5px}.calendar-week,.calendar-days{min-width:195px}.page-header h1{font-size:17px}}
