:root{--paper:#f7f4ec;--ink:#2d332c;--muted:#596258;--line:#d5d9cc;--green:#34583f;--wash:#eaf0e5;--warn:#775023}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Yu Gothic UI",Meiryo,sans-serif;line-height:1.85}a{color:var(--green);text-underline-offset:4px}button{font:inherit;min-height:46px;border:1px solid var(--green);border-radius:5px;padding:10px 18px;background:var(--green);color:#fff;cursor:pointer;font-weight:600}button,a{touch-action:manipulation}button.secondary{background:transparent;color:var(--green)}button.danger{background:#83442e;border-color:#83442e}button:hover{filter:brightness(.94)}button:disabled{cursor:not-allowed;opacity:.65}:focus-visible{outline:3px solid #9d642f;outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;left:16px;top:-80px;background:#fff;padding:10px}.skip:focus{top:12px;z-index:10}main{max-width:1080px;margin:auto;padding:22px 28px 70px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:18px}.eyebrow{font-size:12px;letter-spacing:.1em;color:var(--green);font-weight:700}.notes-hero{display:flex;gap:48px;align-items:flex-end;justify-content:space-between;padding:4px 0 32px;border-bottom:1px solid var(--line)}h1{font-family:"Yu Mincho",YuMincho,serif;font-size:clamp(32px,4.4vw,50px);font-weight:600;line-height:1.5;margin:8px 0 18px;letter-spacing:.035em}.lead{font-size:17px;margin:0}.hero-note{font-size:12px;color:var(--muted);border-left:2px solid #a5b097;padding:7px 0 7px 17px;max-width:290px;margin:0 0 5px}.quiet{font-size:13px;color:var(--muted)}h2{font-size:23px;font-weight:600;line-height:1.6}.notes-shelf{padding:30px 0 12px}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.shelf-heading h2{margin:0}.shelf-heading p{margin:5px 0 0}.text-button{background:transparent;border:0;padding:8px 0;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:13px}.shelf-help{margin:15px 0 22px}.saved-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.note-card{position:relative;background:#fffdf7;border:1px solid #d3d6c9;border-top:4px solid #6f8966;box-shadow:3px 3px 0 #e7e7dc;padding:24px 26px;min-width:0}.note-card.invalid,.note-card.unavailable{border-top-color:#9c7850;background:#f9f4eb}.note-status{font-size:12px;color:var(--green);letter-spacing:.035em;margin:0 0 8px}.note-card.invalid .note-status,.note-card.unavailable .note-status{color:#78522e}.note-card h3{font-size:23px;font-family:"Yu Mincho",YuMincho,serif;line-height:1.55;font-weight:600;margin:0 0 14px}.note-summary{font-size:14px;min-height:26px;margin:0 0 12px}.note-scope{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin:12px 0 18px}.note-actions{display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap}.note-actions>button:first-child{font-size:14px}.note-actions .text-button{font-size:12px;color:var(--muted)}.note-status-message{font-size:13px;color:#78522e;margin:12px 0 0}.delete-confirm{background:#f1e7dc;border:1px solid #d7bb9a;padding:14px 16px;margin-top:18px}.delete-confirm p{font-size:13px;margin:0 0 12px}.delete-confirm .button-row{display:flex;gap:10px;flex-wrap:wrap}.delete-confirm button{font-size:13px;padding:8px 13px}.notice{border-left:3px solid #927144;background:#eee8db;padding:15px 18px;font-size:14px}.empty-notes{border:1px solid #d3d6c9;background:#fffdf7;padding:28px 30px;margin:0 0 15px}.empty-eyebrow{font-size:13px;color:var(--muted);margin:0 0 8px}.empty-notes h3{font-family:"Yu Mincho",YuMincho,serif;font-size:27px;font-weight:600;margin:0 0 12px}.empty-notes>p:not(.empty-eyebrow){font-size:14px;max-width:700px}.first-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}.first-steps>a{padding:16px 0;border-top:1px solid var(--line);text-decoration:none;display:block}.first-steps>a:hover strong{text-decoration:underline;text-underline-offset:4px}.first-steps>a>span{font-size:12px;color:var(--muted);display:block;margin-bottom:7px}.first-steps strong{font-size:15px;font-weight:600;line-height:1.7;display:block}.first-steps strong span{white-space:nowrap;margin-left:5px}.missing-section{border-top:1px solid var(--line);padding:22px 0;margin-top:24px}.missing-section h2{font-size:18px;margin:0 0 5px}.missing-section>.quiet{margin:0 0 12px}.missing-notes{list-style:none;display:flex;gap:8px 28px;flex-wrap:wrap;margin:0;padding:0}.missing-notes a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.about-saving{border-top:1px solid var(--line);padding-top:26px;margin-top:28px}.about-saving h2{font-size:21px;margin:0 0 16px}.saving-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.saving-columns h3{font-size:15px;margin:0 0 9px}.saving-columns p{font-size:13px;color:var(--muted);margin-top:0}.about-saving>a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}.site-footer{border-top:1px solid var(--line);padding:28px max(24px,calc((100vw - 1024px)/2));font-size:12px;color:var(--muted)}.site-footer nav{display:flex;gap:12px 24px;flex-wrap:wrap;margin-bottom:18px}.site-footer nav a{min-height:44px;display:inline-flex;align-items:center}.site-footer p{max-width:1000px}
@media(max-width:760px){.notes-hero{align-items:flex-start;flex-direction:column;gap:22px}.hero-note{max-width:none}.hero-note br{display:none}.saved-notes{gap:18px}.note-card{padding:21px}.saving-columns{grid-template-columns:1fr;gap:12px}.first-steps{gap:15px}.note-card h3{font-size:21px}}
@media(max-width:560px){main{padding:18px 20px 45px}.breadcrumb{font-size:11px}.lead{font-size:15px}.notes-hero{padding-bottom:26px}.shelf-heading{align-items:flex-start;gap:12px}.shelf-heading h2{font-size:21px}.shelf-heading>button{flex-shrink:0}.saved-notes{grid-template-columns:1fr;gap:20px}.note-card{margin-right:3px}.empty-notes{padding:23px 21px}.empty-notes h3{font-size:24px}.first-steps{grid-template-columns:1fr;gap:0;margin-top:18px}.first-steps>a{padding:14px 0}.first-steps>a>span{margin-bottom:3px}.first-steps>a:last-child{padding-bottom:0}.about-saving{margin-top:20px}.notes-shelf{padding-top:26px}.site-footer{padding:22px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Compact return shelf: actions first, background explanation on request. */
main{padding-top:14px;padding-bottom:30px}.breadcrumb{margin-bottom:8px}.notes-hero{display:block;padding:8px 0 18px}.notes-hero h1{font-size:30px;margin:0 0 8px}.notes-hero .lead{font-size:15px;margin:0}.notes-hero .quiet{margin:7px 0 0}.notes-shelf{padding:18px 0 6px}.shelf-heading h2{font-size:17px}.shelf-help{margin:10px 0 14px}.saved-notes{gap:16px}.note-card{padding:18px 20px}.note-card h3{font-size:21px;margin-bottom:8px}.note-summary{margin-bottom:8px}.note-scope{margin:8px 0 12px;padding-top:8px}.empty-notes{padding:18px 22px;margin:0}.empty-notes h3{font-size:21px;margin:0 0 6px}.empty-notes>p{margin:6px 0}.first-steps{margin-top:12px;gap:16px}.first-steps>a{padding:12px 0}.missing-section,.about-saving{padding:0;margin-top:16px;border-top:1px solid var(--line)}.missing-section summary,.about-saving summary{min-height:44px;padding:10px 0;font-weight:600;cursor:pointer;font-size:14px}.saving-columns{gap:18px;margin-top:10px}.missing-notes{padding:2px 0 10px}.site-footer{padding-top:18px;padding-bottom:18px}.site-footer nav{margin-bottom:10px;gap:4px 18px}.site-footer p{margin:8px 0}
@media(max-width:560px){main{padding:12px 20px 26px}.notes-hero h1{font-size:27px}.notes-hero{padding-bottom:16px}.shelf-heading{gap:8px}.shelf-heading h2{font-size:16px}.empty-notes{padding:15px 18px}.first-steps{gap:0;margin-top:8px}.first-steps>a{padding:10px 0}.note-card{padding:16px 18px}.about-saving{margin-top:10px}.site-footer{padding:14px 20px}.note-card h3{font-size:20px}}
