/* Independent paper windows and the Notes dock launcher. */
.workspace .paper-note.note-window{padding:0;display:flex;flex-direction:column;min-width:200px;min-height:180px;max-width:calc(100vw - 16px);max-height:calc(100svh - 160px);box-sizing:border-box}
.workspace .note-window[hidden],.minimised-note[hidden],.notes-launcher[hidden]{display:none!important}
.note-titlebar{display:flex;align-items:center;gap:12px;min-height:34px;padding:7px 9px;background:#795b1712;border-bottom:1px solid #795b1718;cursor:grab;touch-action:none;user-select:none}
.note-titlebar>strong{font:600 10px 'DM Sans',sans-serif;opacity:.7;flex:1;text-align:center}
.note-window-controls{display:flex;gap:5px}
.workspace .note-window-controls button{width:15px;height:15px;min-height:0;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;font:12px Arial,sans-serif;color:#532314;background:#ff655d;box-shadow:inset 0 0 0 1px #00000010;cursor:pointer}
.workspace .note-window-controls button:nth-child(2){background:#f5bf45;color:#795300}
.workspace .note-window-controls button:nth-child(3){background:#50c966;color:#155f28;font-size:10px}
.workspace .note-delete{padding:0;width:22px;height:18px;font-size:16px;color:inherit;opacity:.7;cursor:pointer}
.workspace .note-window .note-content{position:relative;padding:20px 23px 26px;overflow:auto;min-height:0;overscroll-behavior:contain;flex:1;scrollbar-width:thin}
.workspace .note-window .note-pin{top:-3px;width:15px;height:15px;left:53%;transform:rotate(18deg)}
.workspace .note-window .note-pin:before{height:8px;top:12px}
.workspace .note-window .note-content>small{color:inherit;opacity:.75;font-size:8px;letter-spacing:1.2px;font-weight:700}
.workspace .note-window .note-content>p:not(.note-certification){font:11px/1.5 'DM Sans',sans-serif;margin:0 0 6px;color:inherit}
.workspace .note-window .note-content>ul:not(.note-education){padding-left:16px;margin:0 0 15px;font-size:11px;line-height:1.8}
.workspace .note-window .note-resize{position:absolute;right:1px;bottom:1px;width:26px;height:26px;padding:0;display:grid;place-items:center;font:17px Arial,sans-serif;color:#715c3880;cursor:nwse-resize;touch-action:none;z-index:3}
.workspace .paper-note.note-positioned{position:fixed!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;max-height:calc(100svh - 130px);animation:none!important}
.note-interacting{user-select:none}.note-interacting .note-titlebar{cursor:grabbing}
.note-window:focus-within{filter:drop-shadow(0 3px 8px #15294420)}
.dock .minimised-note{position:relative}.dock .minimised-note>span{position:absolute;bottom:0;right:0;width:16px;height:16px;border-radius:50%;background:#344450;color:white;display:grid;place-items:center;font:13px Arial}
.dock .dock-notes.is-running:after{content:'';position:absolute;bottom:-7px;width:4px;height:4px;border-radius:50%;background:currentColor}
.notes-launcher{position:fixed;z-index:85;left:50%;transform:translateX(-50%);bottom:96px;width:min(345px,94vw);background:var(--alpine-surface,#f7faf9f2);color:var(--alpine-text,#243c51);border:1px solid var(--alpine-border,#fff9);border-radius:15px;box-shadow:0 15px 60px #10243a40;backdrop-filter:blur(28px);padding:14px;font:12px 'DM Sans',sans-serif}
.notes-launcher>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.notes-launcher>header button{font-size:20px}.notes-list{display:flex;flex-direction:column;gap:6px}.notes-list>button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 7px;text-align:left;border-radius:9px}.notes-list>button:hover{background:#819bb51c}.notes-list img{width:35px;height:35px}.notes-list span{display:flex;flex-direction:column;gap:4px;flex:1}.notes-list small{font-size:9px;opacity:.7}.notes-list b{font-size:10px;font-weight:500}.notes-launcher>[data-notes-restore]{border-top:1px solid #9aabb733;margin-top:10px;padding:12px 0 8px;width:100%;font-size:10px;text-align:left}.notes-launcher>small{opacity:.6;font-size:9px}
/* Illustrated sky toggle: one click changes day/night; context menu retains Auto. */
#soundless-theme{width:48px;height:24px;min-width:48px;padding:0!important;border-radius:99px;overflow:hidden;position:relative;box-shadow:inset 0 1px 3px #123f6d40,0 1px 1px #fff7;cursor:pointer}
.day-night-sky{position:absolute;inset:0;background:linear-gradient(135deg,#4eabd8,#b7e8fa);transition:background .4s;border-radius:inherit;overflow:hidden}
.day-night-sky:before,.day-night-sky:after{content:'';position:absolute;width:54px;height:54px;top:-13px;left:-6px;background:#ffffff30;border-radius:50%;transition:transform .5s}.day-night-sky:after{left:5px;background:#ffffff1c}
.day-night-orb{position:absolute;top:4px;left:4px;width:16px;height:16px;border-radius:50%;background:#ffe75d;box-shadow:inset 0 0 0 1px #debf2240,0 1px 3px #32496b20;transition:transform .45s cubic-bezier(.22,.8,.2,1),background .4s;z-index:2}
.switch-clouds{position:absolute;bottom:-7px;right:0;width:37px;height:18px;background:#f4fcff;border-radius:50%;box-shadow:-8px 1px #edfaff,6px -5px #f5fcff;transition:transform .45s}
.switch-stars{position:absolute;left:6px;top:5px;color:#fff;font:9px Arial;opacity:0;transition:opacity .3s}
[data-theme=dark] .day-night-sky{background:linear-gradient(120deg,#252164,#535083)}
[data-theme=dark] .day-night-orb{transform:translateX(24px);background:#f2f3f5;box-shadow:inset -2px -1px #cbcdda,0 1px 3px #0002}
[data-theme=dark] .day-night-orb:before,[data-theme=dark] .day-night-orb:after{content:'';position:absolute;top:3px;left:3px;width:5px;height:5px;background:#d5d7dd;border-radius:50%;box-shadow:inset 1px 1px 1px #b5b7c040}
[data-theme=dark] .day-night-orb:after{top:9px;left:9px;width:4px;height:4px}
[data-theme=dark] .switch-stars{opacity:1}[data-theme=dark] .switch-clouds{transform:translateY(25px)}[data-theme=dark] .day-night-sky:before{transform:translateX(20px)}[data-theme=dark] .day-night-sky:after{transform:translateX(25px)}
#soundless-theme:focus-visible{outline:2px solid #8bbbe4;outline-offset:3px}
@media(max-width:700px){.workspace .paper-note.note-window{max-width:100%;max-height:540px}.workspace .paper-note.note-positioned{max-width:calc(100vw - 16px);max-height:calc(100svh - 130px)}.note-titlebar{min-height:40px}.workspace .note-window-controls button{width:20px;height:20px}.workspace .note-window .note-resize{width:34px;height:34px}.notes-launcher{bottom:85px}#soundless-theme{width:44px;min-width:44px;height:22px}.day-night-orb{width:14px;height:14px}[data-theme=dark] .day-night-orb{transform:translateX(22px)}}
@media(prefers-reduced-motion:reduce){.day-night-sky,.day-night-sky:before,.day-night-sky:after,.day-night-orb,.switch-clouds,.switch-stars{transition:none}}

@media(max-width:700px){.tahoe-theme .dock{max-width:calc(100vw - 16px);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;gap:5px!important}.tahoe-theme .dock .dock-icon{flex-shrink:0}.tahoe-theme .dock .dock-divider{flex-shrink:0}}

.workspace .services-note-actions button:first-child{padding:7px 10px;font-size:10px;align-self:flex-start;gap:14px}.workspace .services-note-actions button:first-child svg{width:14px;height:14px}.services-note-actions{gap:8px}
