:root{color-scheme:light dark;--bg:light-dark(#f7f9fc,#1e2933);--card:light-dark(#fff,#263746);--ink:light-dark(#333,#e1eaf1);--muted:light-dark(#617588,#adc1d1);--border:light-dark(#dce6ef,#466078);--blue:light-dark(#b9dffa,#456d8b)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif}header{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:780px;margin:auto;padding:max(16px,env(safe-area-inset-top)) 20px 16px}.brand{font-size:21px;font-weight:800;text-decoration:none;color:inherit}.brand span{display:block;font-size:12px;color:var(--muted);font-weight:500}main{max-width:780px;margin:auto;padding:12px 16px 36px}.card{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:22px}.eyebrow{color:var(--muted);font-size:13px;letter-spacing:.08em;margin:0 0 8px}h1{font-size:28px;line-height:1.3;margin:0 0 14px}h2{font-size:20px;margin:0}p{overflow-wrap:anywhere}button,.primary{font:inherit;min-height:44px;border:1px solid var(--border);border-radius:12px;padding:10px 14px;color:var(--ink);background:var(--card);cursor:pointer;text-align:center;display:inline-flex;justify-content:center;align-items:center;text-decoration:none}.primary{background:#b9dffa;color:#203b50;font-weight:700}.quiet{background:transparent;font-size:14px}button:disabled{opacity:.55;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #79b8e8;outline-offset:3px}.muted{color:var(--muted);font-size:13px}.notice{padding:12px 14px;background:light-dark(#fff2d9,#493e2d);border-radius:12px;font-size:14px}.workspace-heading,.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.workspace-heading h1{margin:0}.draft-list{display:grid;gap:10px}.draft-list button{width:100%;text-align:left;align-items:flex-start;flex-direction:column;padding:14px 16px;gap:4px}.draft-list span{color:var(--muted);font-size:13px}.editor label{display:flex;flex-direction:column;gap:6px;font-weight:650;margin:16px 0}.editor input,.editor textarea{width:100%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:11px 12px}.editor textarea{resize:vertical;min-height:140px}.editor .muted{font-weight:400}.editor-actions{display:flex;gap:10px;flex-wrap:wrap}.editor-actions>*{flex:1}#imagePreview{max-width:100%;max-height:300px;object-fit:contain;border-radius:12px;background:var(--bg)}#globalStatus{font-size:14px;color:var(--muted)}#loginLink{width:100%;margin:12px 0}details{margin-top:22px;color:var(--muted);font-size:14px}summary{cursor:pointer;padding:6px 0}footer{text-align:center;color:var(--muted);font-size:12px;padding:14px 16px max(24px,env(safe-area-inset-bottom))}[hidden]{display:none!important}.error{color:light-dark(#a63222,#ffb3a3)}@media(min-width:650px){.editor{padding:26px}.draft-list{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:no-preference){button,.primary{transition:background .15s}} 

#conflictLatest{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:200px;overflow:auto;border:1px solid var(--border);padding:10px;border-radius:8px}#conflictPanel h3{margin:0;font-size:17px}
