﻿/* Notes only: a desktop, browser window and folders inspired by early GUIs. */
.notes-desktop{background-color:#167e79;background-image:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:5px 5px;color:#201c31;min-height:100svh;padding:32px 24px 70px}
.retro-desktop{max-width:1320px;margin:0 auto;position:relative;padding-inline-end:116px}
.desktop-browser{min-width:0;background:#c9c8bf;border:3px solid;border-color:#fff #6e706a #6e706a #fff;box-shadow:9px 10px 0 #003b3c66;padding:4px}
.desktop-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#25277c;color:#fff;padding:7px 10px;font-size:13px;font-weight:700}
.window-chrome{display:flex;gap:3px;direction:ltr;flex-shrink:0}.window-chrome i{font:14px monospace;font-style:normal;background:#c9c8bf;color:#171717;border:2px outset #fff;width:22px;height:22px;display:grid;place-items:center}
.desktop-shortcuts{position:absolute;inset-inline-end:0;top:10px;width:100px;display:grid;gap:24px;text-align:center}.desktop-shortcuts a{display:grid;justify-items:center;gap:8px;text-decoration:none;color:#fff;font-size:12px;text-shadow:1px 1px #174846}.desktop-icon{display:grid;place-items:center;width:46px;height:38px;background:#c9c8bf;border:3px outset #fff;box-shadow:3px 3px 0 #005956;color:#24277c;font-size:26px;line-height:1}
.notes-desktop .toolbar{padding:10px 8px;gap:12px;background:#c9c8bf;border-bottom:1px solid #8a8a82;box-shadow:none}.notes-desktop .toolbar>a{font-size:14px}.notes-desktop .toolbar nav{gap:8px}.notes-desktop .toolbar nav a,.notes-desktop .toolbar .nav-logout{border:2px outset #fff;border-radius:0;background:#d0cfc6;color:#201c31;box-shadow:none;padding:6px 12px;min-height:44px;font-size:12px}.notes-desktop .toolbar nav a:active,.notes-desktop button:active{border-style:inset;transform:none}
.desktop-address{display:flex;gap:10px;align-items:center;padding:8px;font-size:12px}.desktop-address>span:last-child{background:#fff;border:2px inset #eee;flex:1;min-width:0;padding:5px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#45474a}
.notes-desktop main{max-width:none;margin:0;background:#fffdf0;border:2px inset #eee;padding:0;min-height:55vh}.notes-layout{display:grid;grid-template-columns:220px minmax(0,1fr)}.notes-folders{background:#252052;color:#fff;padding:24px 16px;min-width:0}.notes-folders h2{font-size:13px;color:#ffed70;margin:0 0 20px}.notes-folders nav{display:grid;gap:10px}.notes-folders nav a{display:flex;gap:8px;border:1px dashed #928bb5;padding:10px;color:#fff;text-decoration:none;font-size:13px;overflow-wrap:anywhere;min-height:44px}.notes-folders nav a:hover{background:#3c326d}.folder-caption{font-size:11px;color:#c7bbdf;margin-top:28px}
.notes-content{min-width:0;padding:0 24px 32px}.notes-desktop .intro{background:#42166c;color:#fff4cd;padding:30px 24px;margin:0 -24px 24px;border-bottom:8px solid transparent;border-image:repeating-linear-gradient(90deg,#fff15a 0 14px,#fa6699 14px 28px,#35c8b8 28px 42px) 8}.notes-desktop .intro h1{font-size:clamp(24px,3vw,34px);margin:10px 0;text-shadow:2px 2px #9f315a}.notes-desktop .intro p{font-size:14px;color:#f2e3f2;margin-bottom:0}.notes-desktop .eyebrow{font-size:10px;color:#e6d9ec}
.notes-welcome{display:flex;gap:10px;border:1px dashed #ba3b7e;background:#fff9c4;padding:10px 14px;color:#53265c;font-size:12px}.notes-desktop .shelf{margin-top:30px}.notes-desktop .shelf-heading{color:#38205f;display:block}.notes-desktop .shelf-heading h2{font-size:22px}.notes-desktop .shelf-heading p{font-size:13px;color:#696079}.notes-desktop .entries{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;align-items:start}.notes-desktop .entry{margin:0;box-shadow:4px 4px 0 #a9a395;padding:18px}.notes-desktop .titlebar{margin:-18px -18px 0;padding:9px 12px;background:#2a285f;color:#fff}.notes-desktop .titlebar h3{font-size:15px;overflow-wrap:anywhere}.notes-desktop .note-body{font-size:14px;line-height:2.1;background:#fffdf3;margin:14px 0 0;padding:14px 12px;max-width:100%}.notes-desktop .note-image{max-height:360px}.notes-desktop .window{border-radius:0}.notes-desktop :focus-visible{outline:3px solid #c23483;outline-offset:3px}
.desktop-taskbar{display:flex;align-items:center;gap:12px;position:fixed;bottom:0;left:0;right:0;z-index:10;padding:8px 16px;border-top:3px outset #fff;background:#c9c8bf;color:#171b24;font-size:12px;min-height:54px}.desktop-start{border:2px outset #fff;min-height:36px;padding:4px 14px;text-decoration:none;font-weight:700;display:flex;align-items:center;gap:8px}.desktop-task{border:2px inset #eee;padding:4px 12px}.desktop-session{margin-inline-start:auto;display:flex;align-items:center;gap:7px;font-size:11px}.session-light{width:8px;height:8px;background:#777;border-radius:50%}.session-light.online{background:#247c37;box-shadow:0 0 0 2px #247c3722}
.notes-desktop.collection-admin main{padding:24px}.notes-desktop .admin-heading,.notes-desktop .admin-group-heading{color:#38205f}.notes-desktop .admin-heading{margin-top:0}.notes-desktop .admin-kicker{color:#524c62}.notes-desktop .admin-stats>div{background:#e4e1d4}.notes-desktop .admin-create-grid{gap:18px}.notes-desktop .admin-entry{padding:18px}.notes-desktop .admin-entry .titlebar{margin:0}.notes-desktop .entry-meta>p,.notes-desktop .help{color:#595465}.notes-desktop .cleanup-content{background:#f5eee1;border:2px inset #eee}.notes-desktop .admin-thumb{background:#30235c;color:#f5e9bd}.notes-desktop .group-editor{border-color:#fff #6e706a #6e706a #fff}.notes-desktop .admin-empty{color:#3d3655}
@media(max-width:1000px){.notes-desktop{padding:20px 16px 74px}.retro-desktop{padding-inline-end:0}.desktop-shortcuts{position:static;width:auto;display:flex;justify-content:flex-start;gap:24px;margin-bottom:20px}.desktop-shortcuts a{min-width:70px}.notes-layout{grid-template-columns:180px minmax(0,1fr)}.notes-content{padding-inline:20px}.notes-desktop .intro{margin-inline:-20px}}
@media(max-width:650px){.notes-desktop{padding:12px 10px 80px}.desktop-browser{box-shadow:4px 5px 0 #003b3c66}.desktop-shortcuts{gap:18px;margin-bottom:14px}.desktop-icon{width:36px;height:32px;font-size:22px}.desktop-shortcuts a{font-size:11px;gap:5px}.notes-desktop .toolbar{align-items:flex-start}.notes-desktop .toolbar nav{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}.notes-desktop .toolbar nav a,.notes-desktop .toolbar .nav-logout{width:100%;padding:7px 8px}.notes-layout{grid-template-columns:minmax(0,1fr)}.notes-folders{padding:16px}.notes-folders h2{margin-bottom:12px}.notes-folders nav{display:flex;flex-wrap:wrap;gap:8px}.notes-folders nav a{flex:1 1 120px}.folder-caption{display:none}.notes-content{padding:0 16px 24px}.notes-desktop .intro{margin-inline:-16px;padding:24px 16px}.notes-desktop.collection-admin main{padding:16px}.desktop-titlebar{font-size:12px}.desktop-taskbar{gap:8px;padding:8px 10px}.desktop-task{display:none}.desktop-session{font-size:10px}.notes-desktop .entry-tools{grid-template-columns:minmax(0,1fr)}.notes-desktop .entry-editor[open],.notes-desktop .cleanup[open]{grid-column:1}.notes-desktop .entry-overview{align-items:flex-start}.notes-desktop .admin-entry{padding:14px}}
.notes-desktop .desktop-taskbar{color:#201c31}.notes-desktop .desktop-taskbar a{color:#201c31}.notes-desktop .desktop-taskbar a:hover{background:#deddd5}.notes-desktop .desktop-shortcuts a:focus-visible{outline-color:#ffed70}
/* Desktop landing: nothing is open until a shortcut is activated. */
.notes-desktop .desktop-taskbar{direction:rtl}
.notes-desktop .desktop-taskbar .desktop-task,.notes-desktop .desktop-taskbar .desktop-session{direction:inherit}
.notes-desktop .desktop-clock{margin-left:0;margin-right:auto;direction:ltr}
.notes-desktop .desktop-language{margin:0;flex-shrink:0}
.notes-desktop .desktop-language select{min-height:40px;width:76px;padding:6px;border:2px outset #fff;border-radius:0;background:#c9c8bf;color:#201c31;font:700 13px monospace}
.notes-desktop .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[dir=ltr] .notes-desktop .desktop-taskbar .desktop-task,html[dir=ltr] .notes-desktop .desktop-session{direction:ltr}
.notes-desktop input:not([type=number]):not([type=file]),.notes-desktop textarea,.notes-desktop select{ text-align:start }
.notes-desktop{padding:0;height:100svh;overflow:hidden}
.notes-desktop .retro-desktop{width:100%;height:100svh;max-width:none;margin:0;padding:0}
.notes-desktop [hidden]{display:none!important}
.notes-desktop .desktop-shortcuts{position:absolute;inset-inline-start:24px;inset-inline-end:auto;top:24px;bottom:78px;width:auto;max-width:calc(100% - 48px);display:grid;grid-auto-flow:column;grid-template-rows:repeat(auto-fill,108px);grid-auto-columns:100px;align-content:start;justify-content:start;gap:14px 24px;overflow:auto;margin:0;padding:4px}
.notes-desktop .desktop-shortcuts a,.notes-desktop .desktop-shortcuts .desktop-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;width:100px;min-width:0;min-height:96px;height:auto;padding:8px 4px;border:1px solid transparent;background:transparent;box-shadow:none;color:white;font:inherit;font-size:12px;text-decoration:none;text-align:center;text-shadow:1px 1px #174846;overflow-wrap:anywhere;line-height:1.7}
.notes-desktop .desktop-shortcuts a:hover,.notes-desktop .desktop-shortcuts .desktop-shortcut:hover{background:#005c5b55;border:1px dotted #d4f3ef}
.notes-desktop .desktop-icon{width:46px;height:40px;flex-shrink:0}
.notes-desktop .folder-icon{position:relative;background:#e6c36c;border-color:#fff1ae #9d702b #9d702b #fff1ae;height:32px;margin-top:8px;box-shadow:3px 3px 0 #005956}
.folder-icon:before{content:'';position:absolute;top:-9px;right:-3px;width:24px;height:9px;background:#e6c36c;border:3px outset #fff1ae;border-bottom:0}
.notes-desktop .desktop-browser{position:fixed;top:32px;left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 220px));height:min(780px,calc(100svh - 118px));max-height:calc(100svh - 118px);display:flex;flex-direction:column;z-index:20;margin:0;outline:none}
.notes-desktop .desktop-browser main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.notes-desktop .desktop-titlebar,.notes-desktop .toolbar,.notes-desktop .desktop-address{flex-shrink:0}
.notes-desktop .window-chrome button{display:grid;place-items:center;padding:0;min-height:26px;width:28px;font:18px/1 monospace;border:2px outset #fff;background:#c9c8bf;color:#171717;box-shadow:none}
.notes-desktop .window-chrome button:active{border-style:inset}.notes-desktop .window-chrome button:focus-visible{outline-offset:1px}
.notes-desktop .desktop-browser.is-maximized{inset:10px 10px 72px;transform:none;width:auto;height:auto;max-height:none}
.notes-desktop .desktop-taskbar{z-index:40;height:64px;padding:6px 12px;gap:10px;flex-wrap:nowrap;color:#201c31}
.notes-desktop .desktop-taskbar button{min-height:40px;border:2px outset #fff;background:#c9c8bf;border-radius:0;box-shadow:none;color:#201c31;font-size:12px;line-height:1.6;padding:6px 12px}
.notes-desktop .desktop-start{flex-shrink:0;min-width:76px}.notes-desktop .desktop-task{display:inline-flex;align-items:center;justify-content:start;max-width:220px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notes-desktop .desktop-task[aria-pressed=true],.notes-desktop .desktop-start[aria-expanded=true]{border-style:inset;background:#e4e3db}
.notes-desktop .desktop-session{margin-inline-start:auto;min-width:0}.notes-desktop .desktop-clock{display:grid;gap:1px;flex-shrink:0;min-width:126px;text-align:center;line-height:1.5;padding:3px 8px;border:2px inset #eee;color:#201c31;background:#c9c8bf;font-size:11px;font-variant-numeric:tabular-nums}.desktop-clock time:first-child{font-size:14px}
.notes-desktop .desktop-start-menu{position:fixed;bottom:64px;inset-inline-start:8px;width:250px;max-width:calc(100% - 16px);padding:6px;border:3px outset #fff;background:#c9c8bf;box-shadow:4px 4px 0 #003b3c66;z-index:50}.desktop-start-menu strong{display:block;background:#25277c;color:white;padding:10px;margin-bottom:4px}.desktop-start-menu>a,.desktop-start-menu>button,.desktop-start-menu .nav-logout{display:flex;width:100%;min-height:44px;align-items:center;padding:10px 12px;text-align:start;background:transparent;border:0;color:#201c31;text-decoration:none;box-shadow:none;border-radius:0;font-size:13px}.desktop-start-menu>a:hover,.desktop-start-menu>button:hover,.desktop-start-menu .nav-logout:hover{background:#25277c;color:white}.desktop-start-menu .nav-logout-form{margin:0}
@media(max-width:1000px){.notes-desktop .desktop-browser{width:calc(100% - 48px);top:24px;height:calc(100svh - 110px);max-height:none}.notes-desktop .desktop-shortcuts{grid-auto-columns:92px;gap:12px}}
@media(max-width:650px){.notes-desktop .desktop-browser{left:8px;top:10px;transform:none;width:calc(100% - 16px);height:calc(100svh - 84px);max-height:none}.notes-desktop .desktop-browser.is-maximized{inset:4px 4px 68px;width:auto;height:auto}.notes-desktop .desktop-shortcuts{inset-inline-start:12px;top:16px;max-width:calc(100% - 24px);grid-auto-columns:84px;grid-template-rows:repeat(auto-fill,104px);gap:12px}.notes-desktop .desktop-shortcuts a,.notes-desktop .desktop-shortcuts .desktop-shortcut{width:84px;font-size:11px}.notes-desktop .desktop-taskbar{gap:6px;padding-inline:6px}.notes-desktop .desktop-session{display:none}.notes-desktop .desktop-clock{margin-inline-start:auto;min-width:110px;padding:3px 5px;font-size:10px}.notes-desktop .desktop-task{flex:1;font-size:11px;padding:6px;max-width:150px}.notes-desktop .desktop-start{min-width:64px;padding:6px}.notes-desktop .desktop-titlebar{font-size:11px}.notes-desktop .window-chrome{gap:2px}.notes-desktop .window-chrome button{width:26px;min-height:28px}}

/* Keep the language control at the physical bottom right in both locales. */
.notes-desktop .desktop-category-image{display:block;width:46px;height:40px;object-fit:cover;background:#fff;border:3px outset #fff;box-shadow:3px 3px 0 #005956}
.notes-desktop .desktop-icon-frame{display:grid;place-items:center;width:46px;height:40px;flex-shrink:0}
.notes-desktop .desktop-icon-frame .folder-icon{margin-top:0}
.notes-desktop .notes-browser-content{padding:24px;min-width:0}
.notes-desktop .notes-layout{align-content:start}
.notes-desktop .notes-browser-content h1{font-size:clamp(24px,4vw,38px);margin:8px 0 20px}
.notes-desktop .note-breadcrumb,.notes-desktop .notes-pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}
.notes-desktop .note-file-list,.notes-desktop .note-folder-list{display:grid;gap:10px;margin-top:20px}
.notes-desktop .note-file{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 14px;background:#eeece2;border:2px outset #fff;color:#201c31;text-decoration:none;overflow-wrap:anywhere}
.notes-desktop .note-file:hover,.notes-desktop .note-file:focus-visible{background:#fff9c4}
.notes-desktop .note-file-symbol{font-size:22px;color:#25277c}.notes-desktop .note-open-label{margin-inline-start:auto;font-size:12px}
.notes-desktop .note-detail{max-width:850px;padding-bottom:28px}.notes-desktop .note-rich-body{overflow-wrap:anywhere;line-height:2;font-size:16px}
.notes-desktop .note-rich-body img{max-width:100%;height:auto}.notes-desktop .note-rich-body pre{overflow:auto;direction:ltr;text-align:left;background:#222439;color:#f4f4e8;padding:14px}
.notes-desktop .note-rich-body code{direction:ltr;unicode-bidi:isolate}.notes-desktop .note-rich-body blockquote{border-inline-start:3px solid #25277c;margin-inline:0;padding-inline:16px}
.notes-desktop .note-video{display:block;width:100%;aspect-ratio:16/9;margin:22px 0;border:0;background:#111}
.notes-desktop .notes-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px}.notes-desktop .notes-editor-toolbar button,.notes-desktop [data-editor-preview]{font-size:12px;min-height:38px;padding:5px 10px}
.notes-desktop .editor-preview{padding:16px;background:#fffdf0;border:2px inset #aaa}.notes-desktop .admin-category-image{max-width:80px;max-height:80px;object-fit:cover}
.notes-desktop .notes-pagination{margin-top:20px}
@media(max-width:650px){.notes-desktop .notes-browser-content{padding:16px}.notes-desktop .note-file{gap:8px}.notes-desktop .note-open-label{display:none}}
.notes-desktop .desktop-taskbar .desktop-clock{margin-inline:0;margin-right:auto}
.notes-desktop .notes-icon-order{margin-bottom:20px}.notes-desktop .icon-order-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:12px;padding:6px 0;border-bottom:1px solid #aaa}.notes-desktop .icon-order-row input{width:100%;text-align:center}
.notes-desktop .desktop-taskbar .desktop-session{margin-inline:0}
.notes-desktop .desktop-shortcuts{inset-inline-end:24px;max-width:none;scrollbar-width:none}
.notes-desktop .desktop-shortcuts::-webkit-scrollbar{display:none}
@media(max-width:650px){.notes-desktop .desktop-shortcuts{inset-inline-end:12px}}
.notes-desktop .desktop-shortcuts{grid-template-rows:repeat(auto-fill,100px);row-gap:8px}
.notes-desktop .desktop-shortcuts a,.notes-desktop .desktop-shortcuts .desktop-shortcut{min-height:88px}
.notes-desktop.collection-admin .notes-admin-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin-top:24px}
.notes-desktop.collection-admin .admin-group{min-width:0;margin:0;padding:16px;border:3px outset #eee;background:#f8f5e9;color:#292344}
.notes-desktop.collection-admin .admin-group-heading{margin-bottom:12px}
.notes-desktop.collection-admin .admin-group-heading h2{font-size:19px;line-height:1.5}
.notes-desktop.collection-admin .admin-group-heading p{margin:4px 0 0;font-size:12px}
.notes-desktop.collection-admin .group-editor{margin:0 0 12px;padding:8px 10px}
.notes-desktop.collection-admin .admin-entries{gap:8px}
.notes-desktop.collection-admin .admin-entry{padding:10px 12px;background:#dddcd5}
.notes-desktop.collection-admin .entry-overview{gap:10px}
.notes-desktop.collection-admin .admin-thumb{width:42px;height:42px;flex-basis:42px}
.notes-desktop.collection-admin .admin-thumb span{font-size:24px}
.notes-desktop.collection-admin .entry-meta h3{font-size:14px}
.notes-desktop.collection-admin .entry-tools{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:start;margin-top:8px;padding-top:6px}
.notes-desktop.collection-admin .entry-tools details[open]{flex-basis:100%;min-width:0}
.notes-desktop.collection-admin .entry-tools summary{padding:4px 6px}
.notes-desktop.collection-admin .entry-editor>form{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.notes-desktop.collection-admin .notes-admin-groups{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.notes-desktop .desktop-shortcuts{grid-template-rows:repeat(auto-fill,96px);row-gap:8px}.notes-desktop.collection-admin .notes-admin-groups{gap:12px}.notes-desktop.collection-admin .admin-group{padding:12px}}
.notes-desktop .notes-folders .notes-tree-root{font-weight:700}
.notes-desktop .notes-child-section{margin:20px 0 24px;padding:14px;border:2px inset #d6d1c1;background:#eeebdc}
.notes-desktop .notes-child-section h2{font-size:17px;margin:0 0 10px}
.notes-desktop .note-folder-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}
.notes-desktop .note-child-folder{background:#f4edcd;border:2px outset #fff}
.notes-desktop.collection-admin .notes-admin-path{color:#655b78;font-size:12px;margin:0 0 3px}

.notes-desktop .notes-title-search{margin:18px 0}.notes-desktop .notes-title-search label{display:block;margin-bottom:6px}.notes-desktop .notes-title-search>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.notes-desktop .notes-title-search input{flex:1;min-width:0;max-width:420px}

/* Isolate each clock line so the numeric day/year cannot swap around the month. */
.notes-desktop .desktop-clock time {
  display: block;
  unicode-bidi: isolate;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: normal;
}
.notes-desktop .desktop-clock time:first-child { font-size: 15px; }
