:root{font-family:Noto Sans JP,sans-serif;color:#303b34;background:#f6f5f0;font-synthesis:none;font-weight:400;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #49866a;outline-offset:4px}.app{max-width:1600px;margin:auto;padding:0 56px}.header{height:100px;border-bottom:1px solid #dedfd7;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;font-weight:700;font-size:23px;letter-spacing:.08em}.brand-icon{display:grid;place-items:center;width:35px;height:38px;border-radius:9px;background:#355c48;color:#f3f4dd;font-size:28px}.brand-en{font-size:9px;letter-spacing:.15em;font-weight:500;margin-left:8px;color:#7e877d}.local-label{display:flex;gap:8px;align-items:center;font-size:11px;color:#7b8379}.local-label>span{width:6px;height:6px;background:#7b9a77;border-radius:50%}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:48px 0 32px}.eyebrow{font-size:10px;letter-spacing:.19em;color:#7c8a76;margin:0 0 13px}h1{font-size:32px;letter-spacing:.055em;font-weight:600;margin:0 0 12px}.subtitle{font-size:12px;color:#808579;margin:0}.add-button{border:0;background:#355c48;color:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 23px;font-size:13px;font-weight:500;box-shadow:0 3px 6px #26432e12;white-space:nowrap}.add-button:hover{background:#284b39}.add-button>span{font-size:22px;line-height:1}.board-shell{border:1px solid #dddfd5;border-radius:13px;overflow:hidden;background:#efefe8}.board-top{height:53px;background:#fafaf6;border-bottom:1px solid #e0e1d7;padding:0 22px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.board-top>span:first-child{display:flex;align-items:center;gap:10px}.board-dot{width:7px;height:7px;border-radius:2px;background:#77917b}#note-count{font-size:10px;color:#8b9084;border-left:1px solid #ddd;padding-left:12px;margin-left:3px}.board-hint{font-size:10px;color:#93988d}.board{position:relative;min-height:510px;background-image:radial-gradient(#cbd0c1 .85px,transparent .85px);background-size:22px 22px;overflow:hidden}.empty-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8b9382;pointer-events:none}.empty-state[hidden]{display:none}.empty-state>span{font-size:42px;color:#9ba78d;font-weight:400}.empty-state h2{font-size:16px;font-weight:500;line-height:1.8;margin:18px 0 4px}.empty-state p{font-size:12px}.note{position:absolute;width:240px;height:228px;border-radius:3px 3px 14px;background:var(--note-color);box-shadow:1px 4px 9px #42482b14;display:flex;flex-direction:column;transition:box-shadow .15s}.note.dragging{box-shadow:2px 12px 22px #42482b29;z-index:20!important}.note-header{height:46px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 14px;cursor:grab;touch-action:none;border-bottom:1px solid #55550a0a;-webkit-user-select:none;user-select:none}.dragging .note-header{cursor:grabbing}.grip{color:#464e3c55;font-size:19px;letter-spacing:2px}.delete-note{width:36px;height:36px;border:0;background:transparent;color:#62694f99;border-radius:6px;font-size:22px;line-height:1}.delete-note:hover{background:#fff5;color:#654d3b}.note textarea{resize:none;display:block;width:100%;flex:1;min-height:0;padding:15px 18px 8px;background:transparent;border:0;outline:0;color:#434b39;font-size:14px;line-height:1.85}.note textarea::placeholder{color:#747b606e}.note textarea:focus{box-shadow:inset 0 0 0 2px #53674940}.note-bottom{font-size:9px;color:#646e4b80;text-align:right;padding:4px 16px 12px;pointer-events:none}footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#959b8c;padding:20px 2px 28px}#save-status.error{color:#a14539}@media(min-width:1400px){.board{min-height:590px}.toolbar{padding-top:54px;padding-bottom:38px}}@media(max-width:900px){.app{padding:0 28px}.header{height:82px}.toolbar{padding-top:36px}h1{font-size:28px}.brand-en{display:none}.board{min-height:580px}}@media(max-width:540px){.app{padding:0 16px}.header{height:75px}.brand{font-size:20px;gap:8px}.brand-icon{width:30px;height:33px;font-size:24px}.local-label{font-size:9px;gap:5px}.toolbar{align-items:stretch;flex-direction:column;padding:29px 0 22px;gap:22px}.eyebrow{font-size:8px}h1{font-size:26px}.subtitle{font-size:11px;line-height:1.8}.add-button{width:100%;min-height:50px}.board-top{padding:0 13px;height:48px}.board-hint{font-size:8px}.board-top>span:first-child{gap:6px;font-size:11px}#note-count{padding-left:7px;margin-left:0;font-size:9px}.board{min-height:490px}.note-header{height:48px}.delete-note{width:44px;height:44px}.note textarea{font-size:16px}.empty-state h2{font-size:13px}.empty-state p{font-size:11px}footer{font-size:9px;line-height:1.7;flex-wrap:wrap}}.add-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px;flex-shrink:0}.new-color{display:flex;flex-direction:column;align-items:center;gap:2px}.new-color>span{font-size:10px;color:#7b8379}.color-picker{display:flex;justify-content:center;gap:0}.color-choice{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;background:transparent;border-radius:8px}.color-choice:before{content:"";width:22px;height:22px;border-radius:50%;background:var(--swatch-color);border:1px solid #52604440;box-sizing:border-box}.color-choice[aria-pressed=true]:before{border:2px solid #355c48;box-shadow:0 0 0 3px #ffffffa6}.color-choice[aria-pressed=true]:after{content:"✓";position:absolute;color:#355c48;font-size:14px;font-weight:700}.color-choice:hover{background:#ffffff50}.note-colors{flex-shrink:0;margin:0 12px 5px;border-top:1px solid #55550a0a}@media(max-width:540px){.add-controls{gap:8px}.new-color{flex-direction:row;justify-content:space-between}}.note{--note-tilt:-.8deg;border-radius:2px 2px 8px;background-image:linear-gradient(175deg,#ffffff18 0%,transparent 40%,#65532a08 100%);box-shadow:0 1px 2px #3d39251a,2px 7px 12px -4px #3d392533,4px 15px 20px -12px #3d39252b;transform:rotate(var(--note-tilt)) scale(.98);transform-origin:center}.note:nth-of-type(3n+2){--note-tilt:.7deg}.note:nth-of-type(3n){--note-tilt:-.4deg}.note.dragging{box-shadow:0 2px 4px #3d39251a,4px 15px 24px -5px #3d39253d,7px 23px 30px -14px #3d39252b}.note textarea{font-family:Yomogi,Yu Kyokasho,Hiragino Maru Gothic ProN,cursive;font-size:18px;font-weight:400;line-height:1.75;letter-spacing:.03em}.board-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:12px}#arrange-notes{min-width:64px;min-height:44px;padding:8px 14px;border:1px solid #cbd2c1;border-radius:7px;background:#fafaf6;color:#355c48;font-size:12px}#arrange-notes:hover:not(:disabled){background:#e1e8d7}#arrange-notes:disabled{opacity:.45;cursor:default}@media(max-width:540px){.board-actions{gap:0;margin-left:8px}#arrange-notes{min-width:56px;padding:8px 10px}}.search-bar{display:flex;align-items:center;gap:14px;margin-bottom:18px}.search-bar label{font-size:12px;color:#65715f;white-space:nowrap}.search-field{display:flex;align-items:center;max-width:400px;width:100%;min-width:0;min-height:46px;border:1px solid #d7dbd0;border-radius:9px;background:#fafaf6}.search-field:focus-within{outline:2px solid #49866a;outline-offset:2px}#note-search{font:inherit;font-size:16px;min-width:0;width:100%;height:44px;border:0;background:transparent;padding:0 14px;color:#303b34;outline:none}#note-search::-webkit-search-cancel-button{-webkit-appearance:none}#clear-search{flex:0 0 44px;height:44px;border:0;border-radius:8px;background:transparent;font-size:24px;color:#65715f}#clear-search:hover{background:#e8eddf}.note[hidden],#clear-search[hidden]{display:none}@media(max-width:540px){.search-bar{align-items:stretch;flex-direction:column;gap:8px}.search-field{max-width:none}}.status-filters{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;margin-bottom:20px;border:1px solid #d7dbd0;border-radius:10px;background:#eeefe7}.status-filters button{min-width:88px;min-height:44px;padding:8px 18px;border:0;border-radius:7px;background:transparent;color:#65715f;font-size:13px}.status-filters button[aria-pressed=true]{background:#355c48;color:#fff;box-shadow:0 2px 5px #355c4820}.completed-zone{position:sticky;top:8px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;margin-bottom:18px;min-height:86px;border:2px dashed #a5b69e;border-radius:12px;background:#f0f4ea;box-shadow:0 3px 10px #303b3408;transition:background .15s,border-color .15s}.completed-zone h2{margin:0;font-size:15px;font-weight:600;color:#355c48}#completed-count{font-size:11px;font-weight:400;margin-left:8px}.completed-zone p{margin:6px 0 0;font-size:11px;line-height:1.7;color:#687b61}.drop-hint{font-size:11px;color:#687b61;white-space:nowrap}.completed-zone.drag-ready{border-color:#588064;background:#edf5e6}.completed-zone.drag-over{border-style:solid;border-color:#355c48;background:#dcebd2;box-shadow:0 0 0 4px #58806420}.complete-note{min-height:44px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#566147;font-size:11px;white-space:nowrap}.complete-note:hover{background:#fff6}.complete-note[aria-pressed=true]{color:#fff;background:#355c48;font-weight:600;min-height:32px}.note.completed{outline:1px solid #355c4859}.note.completed textarea{text-decoration:line-through;text-decoration-color:#355c4880;color:#66725f}.note.dragging{opacity:.3}.note.drag-ghost{position:fixed;z-index:1000!important;pointer-events:none;margin:0;opacity:.9;box-shadow:4px 15px 24px -5px #3d39253d}@media(max-width:540px){.status-filters{width:100%}.status-filters button{flex:1;min-width:0;padding:8px 12px}.completed-zone{padding:12px;gap:6px}.completed-zone h2{font-size:14px}.completed-zone p{font-size:10px}.drop-hint{display:none}}@media(prefers-reduced-motion:reduce){.completed-zone{transition:none}}.project-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:24px;padding:18px 20px;background:#eeefe7;border:1px solid #d7dbd0;border-radius:12px}.project-select-field{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1;max-width:440px}.project-select-field label{font-size:11px;color:#65715f}#project-select{font:inherit;font-size:14px;min-height:46px;width:100%;min-width:0;border:1px solid #cbd2c1;border-radius:8px;background:#fafaf6;padding:8px 12px;color:#303b34;text-overflow:ellipsis}.project-actions{display:flex;gap:8px;flex-wrap:wrap}.project-actions button,.dialog-actions button{font:inherit;font-size:12px;min-height:44px;border:1px solid #cbd2c1;border-radius:8px;background:#fafaf6;color:#355c48;padding:10px 14px}.project-actions button:hover,.dialog-actions button:hover{background:#e1e8d7}#delete-project{color:#a14539}.board-top>span:first-child{min-width:0;flex:1}#board-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:300px}#note-count{white-space:nowrap;flex-shrink:0}.board-dot{flex-shrink:0}.board-hint{flex-shrink:0;margin-left:12px}#project-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid #d7dbd0;border-radius:14px;color:#303b34;background:#fafaf6;box-shadow:0 20px 60px #303b3430}#project-dialog::backdrop{background:#23342966}#project-dialog h2{font-size:19px;margin:0 0 14px}#project-dialog-description{font-size:13px;line-height:1.9;overflow-wrap:anywhere}#project-name-field label{display:block;font-size:12px;margin:18px 0 8px}#project-name{width:100%;min-height:46px;font:inherit;font-size:16px;padding:10px;border:1px solid #cbd2c1;border-radius:8px;background:#fff;color:#303b34}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}#submit-project{background:#355c48;color:#fff;border-color:#355c48}#submit-project.danger{background:#a14539;border-color:#a14539}@media(max-width:540px){.project-bar{padding:14px;flex-direction:column;align-items:stretch;gap:12px}.project-select-field{max-width:none}#project-select{font-size:16px}.project-actions{gap:6px}.project-actions button{flex:1;padding:8px;font-size:11px}#board-title{max-width:110px}.board-hint{display:none}#project-dialog{padding:20px}}.header-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}#theme-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid #cbd2c1;border-radius:9px;background:#fafaf6;color:#355c48;font-size:12px;white-space:nowrap}#theme-toggle>span{font-size:20px;line-height:1}#theme-toggle:hover{background:#e1e8d7}.note{color-scheme:light}:root[data-theme=dark]{color-scheme:dark;color:#e5ede5;background:#18211e;--dark-surface:#222e28;--dark-border:#46574b;--dark-muted:#b0c1af;--dark-accent:#b0d4b4}[data-theme=dark] .header{border-color:var(--dark-border)}[data-theme=dark] :is(.brand-en,.local-label,.eyebrow,.subtitle,.new-color>span,.project-select-field label,.search-bar label,footer,.board-hint,#note-count,.empty-state){color:var(--dark-muted)}[data-theme=dark] .empty-state>span{color:#9cb18e}[data-theme=dark] :is(.project-bar,.status-filters,.board-shell){background:#202b25;border-color:var(--dark-border)}[data-theme=dark] :is(#project-select,.project-actions button,.dialog-actions button,.search-field,#arrange-notes,#theme-toggle,#project-dialog){background:var(--dark-surface);border-color:var(--dark-border);color:#e5ede5}[data-theme=dark] :is(#project-name,#note-search){color:#e5ede5}[data-theme=dark] #project-name{background:#18211e;border-color:var(--dark-border)}[data-theme=dark] :is(#project-name,#note-search)::placeholder{color:#a6b6a5}[data-theme=dark] :is(.project-actions button,.dialog-actions button,#theme-toggle):hover,[data-theme=dark] #arrange-notes:hover:not(:disabled){background:#334438}[data-theme=dark] .board-top{background:var(--dark-surface);border-color:var(--dark-border)}[data-theme=dark] #note-count{border-color:var(--dark-border)}[data-theme=dark] .board{background-image:radial-gradient(#506049 .85px,transparent .85px)}[data-theme=dark] .status-filters button{color:var(--dark-muted)}[data-theme=dark] :is(.status-filters button[aria-pressed=true],.add-button,#submit-project){background:#9ac2a0;color:#18251d;border-color:#9ac2a0}[data-theme=dark] :is(.add-button,#submit-project):hover{background:#b0d4b4}[data-theme=dark] #delete-project,[data-theme=dark] #save-status.error{color:#ffb3a7}[data-theme=dark] #submit-project.danger{background:#9d4439;color:#fff;border-color:#c76e60}[data-theme=dark] #submit-project.danger:hover{background:#b45144}[data-theme=dark] #clear-search{color:var(--dark-muted)}[data-theme=dark] #clear-search:hover{background:#334438}[data-theme=dark] .completed-zone{background:#243329;border-color:#718e72}[data-theme=dark] .completed-zone h2{color:var(--dark-accent)}[data-theme=dark] :is(.completed-zone p,.drop-hint){color:#b0c1af}[data-theme=dark] .completed-zone.drag-ready{background:#2b3d2e;border-color:#9ac2a0}[data-theme=dark] .completed-zone.drag-over{background:#34513a;border-color:#bce3b3;box-shadow:0 0 0 4px #9ac2a030}[data-theme=dark] #project-dialog::backdrop{background:#0009}[data-theme=dark] :is(button,a):focus-visible{outline-color:#a4d5ae}[data-theme=dark] .note button:focus-visible{outline-color:#355c48}[data-theme=dark] .search-field:focus-within{outline-color:#a4d5ae}@media(max-width:540px){.header{gap:10px}.header-actions{gap:0}.header-actions .local-label{display:none}#theme-toggle{padding:8px 10px;font-size:11px}}
