*{box-sizing:border-box}body{margin:0;background:#f5f3ec;color:#334c40;font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:15px}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;border-radius:10px;padding:10px 13px}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.95)}a{color:inherit;text-decoration:none}header{height:82px;border-bottom:1px solid #dedfd4;display:flex;align-items:center;gap:23px;margin:0 5%;font-size:13px}header>a:last-child{margin-left:auto}header>span{border-left:1px solid #ccc;padding-left:23px;color:#838b80}main{max-width:1400px;margin:auto;padding:48px 5%}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:45px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7e8977}h1{display:flex;align-items:center;gap:14px;font-size:36px;letter-spacing:-2px;margin:19px 0}h1 span{font-size:13px;letter-spacing:0;font-weight:400;align-self:flex-end;margin-bottom:8px;color:#838b80}.tagline{font-size:24px;letter-spacing:-.8px;margin:14px 0}.muted{color:#7e857b;font-size:14px}.intro-note{background:#f6e5a4;transform:rotate(7deg);padding:25px 30px;font-size:22px;line-height:1.6;box-shadow:2px 7px 10px #494f3912;margin-right:35px}.intro-note span{display:block;font-size:10px;margin-top:17px;letter-spacing:1px}.workspace{display:grid;grid-template-columns:390px 1fr;gap:38px}.composer{background:#fffefa;border:1px solid #e1e1d5;border-radius:18px;padding:24px;align-self:start}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:19px;margin:0;letter-spacing:-.5px}.section-heading>span{font-size:9px;color:#93998b;letter-spacing:1px}.tabs{display:flex;background:#f0f1e9;border-radius:12px;padding:4px;margin-bottom:20px}.tabs button{flex:1;font-size:13px}.tabs .active{background:#fff;box-shadow:0 2px 5px #0000000a}.paper{position:relative;background:#fffdf5;border:1px solid #e6e2d2;border-radius:10px;overflow:hidden}canvas{display:block;width:100%;aspect-ratio:1000/650;touch-action:none;background:repeating-linear-gradient(transparent 0 29px,#e9e7dc 30px 31px)}#ink-hint{position:absolute;left:0;right:0;top:45%;text-align:center;font-size:13px;color:#aaa995;pointer-events:none}.ink-tools{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-top:6px}.ink-tools button{padding:8px 4px}.ink-tools input{vertical-align:middle;accent-color:#49634d}.help{font-size:11px;line-height:1.7;color:#909486}.outline{border:1px solid #cfd7c6;background:#f4f6ec;font-size:13px}.full{width:100%}.primary{background:#3e5b47;color:#fff;font-weight:600;padding:13px 20px}.text-label{font-size:12px;display:block;margin:23px 0 10px}.text-label span{float:right;font-size:10px;color:#92988c}textarea{width:100%;height:125px;resize:vertical;background:#fffefa;border:1px solid #e0e2d7;border-radius:10px;padding:13px;line-height:1.7;color:#334c40}textarea:focus,input:focus{outline:2px solid #91a27e;outline-offset:2px}.composer-bottom{display:flex;justify-content:space-between;align-items:center;margin:14px 0 22px}#counter{font-size:10px;color:#92988c}.colors{display:flex;gap:7px}.swatch{width:22px;height:22px;border-radius:50%;padding:0}.swatch[aria-pressed=true]{outline:1px solid #526348;outline-offset:3px}.butter{background:#f6e5a4}.rose{background:#f4d5ce}.mint{background:#dce9d2}.sky{background:#d8e6ed}.lilac{background:#e4dbef}.actions{display:flex;gap:10px}.actions .primary{flex:1}#status{font-size:12px;line-height:1.7;margin-bottom:0;min-height:20px}#status.error{color:#b2483d}.board{padding-top:7px}.board .eyebrow{margin-top:0;margin-bottom:13px}.board h2 span{font-size:12px;background:#e7e9de;padding:4px 8px;border-radius:20px;margin-left:8px}.search{background:#eeeee5;border:1px solid #e0e1d5;border-radius:10px;display:flex;align-items:center;padding:8px 13px;gap:10px;margin-bottom:25px}.search input{width:100%;border:0;background:none;padding:3px;color:#334c40;font-size:13px}.notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.note{padding:23px 22px 13px;min-height:210px;position:relative;box-shadow:2px 5px 8px #41462b0e;border-radius:2px 2px 18px 2px}.note:nth-child(3n+1){transform:rotate(-1deg)}.note:nth-child(3n+2){transform:rotate(1deg)}.note:before{content:'';position:absolute;top:-7px;left:calc(50% - 24px);height:16px;width:48px;background:#fff8;transform:rotate(-4deg)}.note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:16px;margin:8px 0 28px}.note-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:#66715e}.note-meta time{margin-right:auto}.note-meta button{font-size:10px;padding:6px 3px}#empty{text-align:center;padding:65px 15px;color:#969b89}#empty>span{font-size:50px;color:#b0b797}#empty h3{font-weight:500;font-size:18px}#empty p{font-size:13px;line-height:1.9}.voice-card{text-align:center;background:#f2f4eb;border-radius:12px;padding:24px 15px}.mic{font-size:40px}.voice-card h3{font-size:17px}.voice-card p{font-size:12px;line-height:1.8}#interim{color:#939b89;min-height:20px}footer{margin:12px 5% 0;padding:28px 0;border-top:1px solid #dedfd4;display:flex;justify-content:space-between;color:#93998c;font-size:11px}[hidden]{display:none!important}:focus-visible{outline:2px solid #49634d;outline-offset:4px}@media(min-width:1400px){.notes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:950px){.workspace{grid-template-columns:340px 1fr;gap:23px}.notes{grid-template-columns:1fr}.intro-note{margin-right:10px}}@media(max-width:650px){header{height:64px}header>span{display:none}main{padding-top:25px}.intro{margin-bottom:28px}.intro-note{display:none}h1{font-size:31px}h1 img{width:48px;height:48px}.tagline{font-size:22px}.muted{line-height:1.8;font-size:12px}.workspace{grid-template-columns:1fr;gap:32px}.composer{padding:20px}.notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.note{padding:17px 14px}.note p{font-size:14px}.note-meta{flex-wrap:wrap}.note-meta time{width:100%}footer{line-height:1.8;gap:15px;font-size:10px}}
.storage-info{margin:-10px 0 28px;padding:16px 20px;background:#e9eddf;border-radius:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.storage-info p{margin:0;font-size:13px}.storage-info #storage-help{width:100%;font-size:11px;line-height:1.8;color:#76816d}.storage-info button{margin-left:auto;background:#fffefa;font-size:12px}
.note figure{margin:0 0 18px}.note figure img{display:block;width:100%;height:auto;border-radius:5px;border:1px solid #0000000c;background:#fff}.note figcaption{font-size:10px;color:#75806b;margin-top:7px}.note p:empty{display:none}

.pwa-tools{display:flex;align-items:center;gap:15px;margin:-8px 0 24px}.pwa-tools p{font-size:11px;line-height:1.8;color:#76816d}.pwa-tools button{flex-shrink:0}body{padding-bottom:env(safe-area-inset-bottom)}
.mobile-app-brand,.panel-toggle{display:none}.board-controls{display:flex;align-items:center;gap:5px}
@media(max-width:650px){
 html{height:100%;overflow:hidden}body{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}header{flex:0 0 56px;height:56px;margin:0 14px;gap:10px}header>.brand{display:none}.mobile-app-brand{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:18px;letter-spacing:-.6px}header>a:last-child{font-size:11px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main{flex:1;min-height:0;width:100%;padding:9px 12px 12px;display:flex;flex-direction:column;overflow:hidden}.intro,footer{display:none}.storage-info{flex:none;margin:0 0 8px;padding:8px 10px;border-radius:9px;gap:5px}.storage-info p{font-size:10px}.storage-info #storage-help{display:none}.storage-info button{font-size:10px;padding:5px 7px}.pwa-tools{flex:none;margin:0 0 6px;gap:8px}.pwa-tools:has(button[hidden]):has(p:empty){display:none}.pwa-tools p{font-size:10px;margin:0;line-height:1.5}.pwa-tools button{padding:6px 8px;font-size:10px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.15fr) minmax(0,1fr);gap:10px}.composer,.board{min-height:0;height:100%;padding:12px;border:1px solid #e1e1d5;border-radius:13px;background:#fffefa;display:flex;flex-direction:column;overflow:hidden;align-self:stretch}.section-heading{flex:none;margin:0 0 9px;gap:8px;min-height:27px}.section-heading h2{font-size:15px;white-space:nowrap;letter-spacing:-.5px}.section-heading>span,.board .eyebrow{display:none}.board h2 span{font-size:10px;margin-left:4px}.panel-toggle{display:inline-block;flex:none;font-size:10px;padding:6px 9px;border:1px solid #d7dfcf;background:#f1f4e9;white-space:nowrap}.panel-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 2px 5px}.tabs{margin-bottom:8px;padding:2px;border-radius:8px}.tabs button{font-size:11px;padding:7px}.paper canvas{height:105px;aspect-ratio:auto}.ink-tools{font-size:9px;margin-top:2px}.ink-tools button{font-size:9px;padding:5px}.help{font-size:9px;line-height:1.5;margin:6px 0}.text-label{font-size:10px;margin:10px 0 6px}.text-label span{font-size:9px}textarea{height:64px;min-height:55px;resize:vertical;font-size:13px;line-height:1.6;padding:9px}.composer-bottom{margin:9px 0 12px}.swatch{width:18px;height:18px}.colors{gap:8px}.actions{position:sticky;bottom:-5px;background:#fffefa;padding:7px 0 3px;z-index:2}.primary{font-size:12px;padding:10px 12px}.outline{font-size:10px;padding:8px}#status{font-size:10px;line-height:1.5;margin-top:5px;min-height:0}.search{padding:5px 9px;margin-bottom:12px}.search input{font-size:12px}.notes{gap:10px;align-items:start}.note{padding:12px 10px 8px;min-height:120px;transform:none!important}.note p{font-size:12px;line-height:1.65;margin:4px 0 12px}.note-meta{font-size:9px;gap:4px}.note-meta button{font-size:9px;padding:4px}.note figure{margin-bottom:8px}.note figure img{max-height:130px;object-fit:contain}#empty{padding:15px 8px}#empty>span{font-size:26px}#empty h3{font-size:13px;margin:8px 0}#empty p{font-size:10px;line-height:1.6;margin:7px 0}.voice-card{padding:12px}.voice-card .mic{font-size:24px}.voice-card h3{font-size:14px;margin:8px}.voice-card p{font-size:10px}
 .workspace[data-expanded=composer]{grid-template-rows:minmax(0,1fr) 53px}.workspace[data-expanded=board]{grid-template-rows:53px minmax(0,1fr)}.workspace[data-expanded=composer] .board .panel-body,.workspace[data-expanded=board] .composer .panel-body{display:none}.workspace[data-expanded] .section-heading{margin-bottom:0}.workspace[data-expanded=composer] .composer .section-heading,.workspace[data-expanded=board] .board .section-heading{margin-bottom:9px}.workspace[data-expanded=composer] .paper canvas{height:clamp(150px,30dvh,300px)}.workspace[data-expanded=composer] textarea{height:110px}
}
/* Keep the page scrollable; expanded panels grow with their content. */
@media(max-width:650px){
 html{height:auto;min-height:100%;overflow:auto}
 body{height:auto;min-height:100vh;min-height:100dvh;overflow:visible}
 main{flex:none;overflow:visible;min-height:calc(100dvh - 56px)}
 .workspace{flex:none;height:calc(100dvh - 140px);min-height:420px}
 .workspace[data-expanded=composer],.workspace[data-expanded=board]{height:auto;min-height:calc(100dvh - 140px);grid-template-rows:auto auto;align-content:start}
 .workspace[data-expanded=composer] .composer,.workspace[data-expanded=board] .board{height:auto;min-height:calc(100dvh - 203px);overflow:visible}
 .workspace[data-expanded=composer] #composer-body,.workspace[data-expanded=board] #board-body{flex:none;overflow:visible;min-height:0}
 .workspace[data-expanded=composer] .board,.workspace[data-expanded=board] .composer{height:53px;min-height:53px}
 .workspace[data-expanded=board] .notes{padding-bottom:18px}
 .workspace[data-expanded=composer] .actions{position:static}
}
