*{box-sizing:border-box}body{--bg:#f8f9fb;--panel:#fff;--txt:#292b31;--sub:#727680;--line:#e1e3e8;--grid:rgba(79,92,120,.042);--accent:#355edb;--wash:#ecf1ff;margin:0;background:var(--bg);color:var(--txt);font:16px Arial,"Helvetica Neue",sans-serif}body.dark{--bg:#191b20;--panel:#24272d;--txt:#eef0f5;--sub:#afb4bf;--line:#41454e;--grid:#ffffff09;--accent:#95afff;--wash:#344062}button,select{color:inherit;font:inherit;cursor:pointer}button{background:none;border:0;border-radius:6px}button:hover,select:hover{background:var(--wash)}header{height:69px;border-bottom:1px solid var(--line);background:var(--panel);display:flex;align-items:center;padding:0 3.2%;gap:35px}.brand{font:bold 33px Georgia;letter-spacing:-2px;display:flex;align-items:center;gap:8px}.brand span{color:var(--accent);margin-left:-8px}.crumb,.headRight,.mode,footer,.tabs button{display:flex;align-items:center;gap:9px}.crumb{font-size:14px;color:var(--sub);border-left:1px solid var(--line);padding-left:26px}.crumb b{font-weight:400;color:#b1b4bd;margin:0 3px}.crumb strong{color:var(--txt);font-weight:500}.headRight{margin-left:auto;gap:20px;color:var(--sub);font-size:13px}#theme{height:34px;width:34px;border:1px solid var(--line)}svg.ic{width:18px;height:18px;vertical-align:middle}main{max-width:1100px;margin:0 auto;padding:40px 46px 30px 82px}.workspaceHead{display:flex;align-items:center;justify-content:space-between}.eyebrow,.date{font:600 11px/1.5 monospace;letter-spacing:1.7px;color:var(--sub)}h1{margin:6px 0 0;font:normal 38px/1.15 Georgia;letter-spacing:-1.8px}#newNote{background:#345ce0;color:white;padding:11px 17px;font-weight:600;font-size:14px;display:flex;align-items:center;gap:7px}#newNote b{font-size:18px;line-height:14px}.tabs{display:flex;overflow:auto;gap:5px;margin:24px 0 13px}.tabs button{white-space:nowrap;padding:8px 13px;color:var(--sub);font-size:14px}.tabs button.active{background:var(--wash);color:var(--accent)}article{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 3px 14px #22263805}.toolbar{position:sticky;top:0;display:flex;align-items:center;gap:3px;padding:10px 16px;border-bottom:1px solid var(--line)}.toolbar button{width:32px;height:30px}.toolbar button i:not([data-i]){font-family:Georgia}.toolbar em{height:18px;border-left:1px solid var(--line);margin:0 7px}.toolbar select{border:0;background-color:var(--panel);font-size:14px;width:112px}.mode{margin-left:auto;font-size:12px;color:var(--sub);white-space:nowrap}.mode:before{content:'';width:6px;height:6px;background:#7491df;border-radius:50%}.sheet{background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:20px 20px}.paper{position:relative;min-height:530px;padding:48px clamp(24px,6vw,88px) 36px}.date{font-size:11px}.date:before{content:'';display:inline-block;width:23px;height:2px;background:var(--accent);margin:0 10px 3px 0}#edit{outline:0;min-height:390px;line-height:1.65;overflow-wrap:anywhere}#edit h1{font:normal clamp(36px,4.2vw,58px)/1.12 Georgia;letter-spacing:-2.5px;margin:12px 0 16px}#edit p{margin:9px 0}#edit h2{font:normal 27px Georgia;letter-spacing:-.8px;margin:28px 0 10px}mark{color:inherit;background:#ffeaa0;padding:1px 3px}.dark mark{background:#796328}.bullet{padding-left:24px;margin:8px 0}.bullet li{padding-left:3px}.bullet li::marker{color:var(--accent)}.diagram{display:block;width:min(100%,530px);height:auto;color:var(--accent);margin:13px 0 0}.sun{float:right;width:87px;height:87px;color:var(--accent);margin:0 2% 0 12px;transform:rotate(8deg)}#ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.drawing #ink{pointer-events:auto;touch-action:none;cursor:crosshair}footer{border-top:1px solid var(--line);justify-content:space-between;padding:11px 21px;font-size:12px;color:var(--sub)}footer>span{display:flex;align-items:center;gap:7px}footer svg.ic{width:14px}.dot{width:6px;height:6px;background:#79a68a;border-radius:50%}aside{position:fixed;top:36%;left:max(12px,calc(50% - 536px));width:48px;border:1px solid var(--line);background:var(--panel);border-radius:13px;box-shadow:0 4px 14px #1823400a;padding:6px;display:grid;justify-items:center;gap:7px}aside section,#colors{display:grid;gap:4px;justify-items:center}aside section{border-bottom:1px solid var(--line);padding-bottom:7px}aside button{width:34px;height:34px}#type{font:bold 21px Georgia}aside button.on{background:var(--wash);color:var(--accent)}#colors button{width:19px;height:19px;background:var(--sw);border-radius:50%;margin:3px;border:2px solid var(--panel)}#colors .selected{outline:1.5px solid var(--sw)}aside label{position:relative;border:1px dashed var(--sub);width:20px;height:20px;text-align:center;border-radius:50%;color:var(--sub);line-height:18px;margin-bottom:4px}aside input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}@media(max-width:700px){header{height:58px;padding:0 16px}.crumb{display:none}.headRight{gap:9px}main{padding:26px 12px 95px}.workspaceHead h1{font-size:32px}.tabs{margin:18px 0 10px}.toolbar{padding:7px 4px;gap:0;overflow-x:auto}.toolbar button{min-width:25px;width:27px}.toolbar em{margin:0 3px}.toolbar select{width:92px}.mode{display:none}.paper{padding:30px 21px}.sun{width:53px;height:53px}.diagram{margin-top:20px}aside{top:auto;bottom:14px;left:50%;transform:translateX(-50%);display:flex;width:max-content;align-items:center;gap:4px;padding:5px 9px}aside section,#colors{display:flex;align-items:center;gap:1px}aside section{padding:0 5px 0 0;border:0;border-right:1px solid var(--line)}aside label{margin:0}aside button{width:30px}#colors button{margin:2px}}
