:root{color-scheme:dark;--page:#052729;--deep:#021314;--surface:#073c3d;--accent:#0b6460;--gold:#d6ad54;--text:#f1eee4;--muted:#b0c5c2;--line:#47706b;--metal:linear-gradient(120deg,#a47b36,#edcf85 48%,#bb9146);font-family:system-ui,-apple-system,Segoe UI,Microsoft YaHei,sans-serif;background:var(--deep);color:var(--text)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(150deg,var(--page),var(--deep));min-height:100vh}main{max-width:880px;margin:auto;padding:36px 22px 64px}h1{font-size:2rem;letter-spacing:.08em;margin:.2em 0}h2{font-size:1.1rem;font-weight:600;margin:0 0 18px}p{line-height:1.65}.eyebrow{font-size:.75rem;letter-spacing:.15em;color:var(--gold);margin:0 0 8px}.muted,small{color:var(--muted);font-size:.8rem}button,input,textarea{font:inherit}button{min-height:42px;padding:9px 18px;border:1px solid var(--gold);border-radius:6px;background:var(--metal);color:var(--deep);font-weight:600;cursor:pointer}button:hover{filter:brightness(1.12)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:transparent;border-color:var(--line);color:var(--text)}button.danger{color:#ffc1b2}input,textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:12px;background:var(--deep);color:var(--text)}textarea{resize:vertical;line-height:1.8}input::placeholder,textarea::placeholder{color:#9bb6b2}label{display:block;font-size:.88rem}label input{margin-top:7px}label small{display:block;margin-top:6px}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.panel{border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:10px;background:var(--surface);padding:24px}.topbar,.account,.compose-bottom,.list-heading,.search,.pagination,.note-actions{display:flex;align-items:center;gap:12px}.topbar{justify-content:space-between;margin-bottom:28px}.account{font-size:.8rem;flex-wrap:wrap;justify-content:flex-end}.account span{overflow-wrap:anywhere}.composer form{display:grid;gap:16px}.compose-bottom{justify-content:space-between;align-items:flex-end}.file-label{max-width:70%;color:var(--gold)}input[type=file]{font-size:.75rem;padding:8px;background:transparent}.search{margin-bottom:20px}.search input{flex:1;min-width:0}.list-heading{justify-content:space-between;margin-top:28px}.list-heading h2{margin-bottom:10px}.note{margin:14px 0;padding:22px;background:#073c3d99;border:1px solid var(--line);border-radius:8px}.note-content{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px;line-height:1.85}.note-meta{font-size:.76rem;color:var(--muted);margin-bottom:12px}.tags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tag{font-size:.8rem;color:var(--gold);border:1px solid #8f7d4a;border-radius:4px;padding:3px 8px}.note-actions{justify-content:flex-end}.note-actions button{font-size:.8rem}.images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.images img{max-width:100%;max-height:300px;object-fit:contain;border-radius:4px}.edit-form{display:grid;gap:12px}.pagination{justify-content:center;margin-top:24px}#status{min-height:1.5em;color:var(--gold)}.auth{max-width:470px;margin:8vh auto}.auth form{display:grid;gap:18px;margin-top:28px}.empty{padding:40px 10px;text-align:center;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}notes-workspace{display:block}@media(max-width:600px){main{padding:22px 14px}.topbar{align-items:flex-start}.account{max-width:52%}.panel{padding:18px}.compose-bottom{display:block}.file-label{max-width:100%;margin-bottom:16px}.compose-bottom button{width:100%}.search{gap:7px}.search button{padding:9px 11px}.list-heading{align-items:flex-start;flex-direction:column;gap:0;margin-bottom:10px}.note{padding:17px}.images{grid-template-columns:1fr}.auth{margin:5vh auto}}[hidden]{display:none!important}a{color:var(--gold)}summary{cursor:pointer;margin-top:18px}details li{margin:12px 0;line-height:1.7}code{overflow-wrap:anywhere}.cloud-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.cloud-toolbar label{max-width:280px}.conflict{color:var(--gold)}input[type=checkbox]{width:auto;margin-right:8px}
