:root{font-family:BIZ UDPGothic,Yu Gothic UI,Hiragino Kaku Gothic ProN,sans-serif;color:#2f2b28;background:#f4f0e8;font-synthesis:none;--header-height: 104px;--note-width: 232px;--note-height: 196px}*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%}body{min-height:100vh;background:radial-gradient(circle at 12% 15%,rgba(255,255,255,.75),transparent 24%),#f4f0e8}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh;padding:0 34px 34px}.app-header{height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1500px;margin:auto}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:42px;height:42px;border-radius:5px 5px 14px;background:#f3c94a;box-shadow:5px 5px #2f2b28;transform:rotate(-3deg);position:relative}.brand-mark:after{content:"";position:absolute;right:0;bottom:0;border:7px solid transparent;border-right-color:#d6aa2a;border-bottom-color:#d6aa2a}.brand h1{margin:0;font-size:27px;letter-spacing:.06em;line-height:1}.brand p{margin:7px 0 0;color:#736c64;font-size:12px;letter-spacing:.04em}.header-actions{display:flex;align-items:center;gap:11px}.theme-toggle{width:46px;height:46px;display:grid;place-items:center;border:1px solid #d1c8bc;border-radius:12px;background:#ffffff9e;color:#514b45;cursor:pointer;box-shadow:3px 3px #ddd5ca;transition:transform .15s,background .15s,color .15s,box-shadow .15s}.theme-toggle:hover{transform:translateY(-1px);background:#fffdf8}.theme-toggle span{grid-area:1 / 1;font-size:21px;line-height:1;transition:opacity .18s,transform .18s}.theme-moon{opacity:0;transform:rotate(-45deg) scale(.65)}[data-theme=dark] .theme-sun{opacity:0;transform:rotate(45deg) scale(.65)}[data-theme=dark] .theme-moon{opacity:1;transform:rotate(0) scale(1)}.add-control{position:relative}.add-button{min-height:48px;padding:0 21px;border:2px solid #2f2b28;border-radius:12px;background:#2f2b28;color:#fff;font-weight:700;display:flex;align-items:center;gap:8px;cursor:pointer;box-shadow:4px 4px #d8d0c4;transition:transform .15s,box-shadow .15s}.add-button span:first-child{font-size:23px;font-weight:400;line-height:1}.add-button:hover{transform:translate(-1px,-1px);box-shadow:6px 6px #d8d0c4}.add-button:active{transform:translate(3px,3px);box-shadow:1px 1px #d8d0c4}.add-button:focus-visible,.delete-button:focus-visible,.complete-button:focus-visible,.note-text:focus-visible,.note-color-button:focus-visible,.new-color-button:focus-visible,.status-filter button:focus-visible{outline:3px solid #2f76d0;outline-offset:3px}.new-note-menu{position:absolute;z-index:2000;top:calc(100% + 10px);right:0;width:190px;padding:12px;border:1px solid #d0c7b9;border-radius:14px;background:#fffdf8;box-shadow:0 14px 35px #362d222e}.new-note-menu[hidden]{display:none}.new-note-menu:before{content:"";position:absolute;top:-6px;right:25px;width:11px;height:11px;background:#fffdf8;border-left:1px solid #d0c7b9;border-top:1px solid #d0c7b9;transform:rotate(45deg)}.new-note-menu p{margin:1px 4px 9px;color:#756e66;font-size:11px;font-weight:700;letter-spacing:.05em}.new-note-colors{display:grid;gap:4px}.new-color-button{min-height:40px;border:0;border-radius:9px;background:transparent;color:#3c3833;display:flex;align-items:center;gap:10px;padding:0 9px;cursor:pointer;text-align:left;font-size:13px}.new-color-button:hover{background:#f3eee6}.color-dot{width:22px;height:22px;flex:0 0 auto;border:1px solid rgba(62,52,39,.15);border-radius:50%;box-shadow:inset 0 1px #ffffff73}.color-yellow{background-color:#f5d75d!important}.color-pink{background-color:#efaaa8!important}.color-blue{background-color:#a9c8ef!important}.color-green{background-color:#99d6c0!important}.board-wrap{max-width:1500px;margin:auto}.project-bar{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 10px}.project-picker{min-width:0;display:flex;align-items:center;gap:10px}.project-label{color:#7c756d;font-size:11px;font-weight:700;letter-spacing:.06em}#project-select{width:min(310px,38vw);min-width:150px;height:40px;padding:0 38px 0 13px;border:1px solid #d1c8bc;border-radius:11px;background-color:#ffffffb8;color:#393530;font-size:14px;font-weight:700;cursor:pointer;outline:0}#project-select:focus-visible{border-color:#817568;box-shadow:0 0 0 3px #596f8b24}.project-actions{display:flex;gap:7px}.project-actions button{width:38px;height:38px;border:1px solid #d1c8bc;border-radius:10px;background:#ffffffa6;color:#57514b;font-size:19px;cursor:pointer}.project-actions button:hover{background:#fffdf8;border-color:#a9a095}.project-actions button:disabled{opacity:.4;cursor:not-allowed;background:#fff6}.project-actions .align-action{width:auto;padding:0 12px;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700;white-space:nowrap}.align-action span{font-size:17px;line-height:1}.project-actions .danger-action:hover{color:#9a4c49;border-color:#c99d99;background:#fff4f2}.board-info{height:52px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;color:#817a71;font-size:12px;padding:0 4px 9px}#note-count{white-space:nowrap;font-variant-numeric:tabular-nums}.status-filter{display:flex;padding:3px;border:1px solid #d4ccc0;border-radius:11px;background:#ffffff85}.status-filter button{min-height:32px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:#766f67;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.status-filter button[aria-pressed=true]{background:#393531;color:#fff;box-shadow:0 2px 5px #322c262e}.search-box{width:260px;height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #d4ccc0;border-radius:11px;background:#ffffffad;transition:border-color .15s,box-shadow .15s,background .15s}.search-box:focus-within{border-color:#817568;background:#fffdf9;box-shadow:0 0 0 3px #596f8b24}.search-icon{width:14px;height:14px;flex:0 0 auto;border:2px solid #817a71;border-radius:50%;position:relative}.search-icon:after{content:"";position:absolute;width:6px;height:2px;right:-5px;bottom:-2px;border-radius:2px;background:#817a71;transform:rotate(45deg)}#note-search{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#393530;font-size:14px}#note-search::placeholder{color:#918a81}#note-search::-webkit-search-cancel-button{cursor:pointer}.board{position:relative;min-height:calc(100vh - var(--header-height) - 140px);overflow:hidden;border:1px solid #d9d1c4;border-radius:20px;isolation:isolate;background-color:#e9e3d8;background-image:radial-gradient(#c8c0b4 1.25px,transparent 1.25px);background-size:22px 22px;box-shadow:inset 0 1px #ffffffbf,0 14px 40px #46392914}.completion-zone{position:absolute;z-index:1200;right:18px;bottom:18px;width:250px;height:88px;display:flex;align-items:center;justify-content:center;gap:12px;pointer-events:none;border:2px dashed rgba(76,108,91,.48);border-radius:15px;color:#587064;background:#eef6efa3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}.completion-zone-check{width:34px;height:34px;display:grid;place-items:center;border:2px solid currentColor;border-radius:50%;font-size:20px;font-weight:800}.completion-zone strong,.completion-zone small{display:block}.completion-zone strong{font-size:14px}.completion-zone small{margin-top:4px;font-size:10px;opacity:.74}.completion-zone.active{border-color:#3e7b5a;background:#d2efdcf0;box-shadow:0 0 0 5px #4a8e6321,0 12px 24px #2e533b26;transform:scale(1.025)}.empty-state{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;padding:24px;color:#766f66}.empty-state[hidden]{display:none}.empty-state h2{margin:19px 0 8px;color:#4b4641;font-size:18px}.empty-state p{margin:0;font-size:13px;line-height:1.7}.search-empty-icon{width:42px;height:42px;border:3px solid #827a70;border-radius:50%;position:relative;opacity:.7}.search-empty-icon:after{content:"";position:absolute;width:18px;height:3px;right:-13px;bottom:-6px;border-radius:3px;background:#827a70;transform:rotate(45deg)}.empty-illustration{width:88px;height:63px;position:relative}.empty-illustration span{width:52px;height:48px;position:absolute;border:2px solid #605a53;box-shadow:4px 4px #2f2b2826}.empty-illustration span:nth-child(1){left:0;top:11px;background:#f3c94a;transform:rotate(-8deg)}.empty-illustration span:nth-child(2){right:0;top:6px;background:#ef9fa6;transform:rotate(8deg)}.empty-illustration span:nth-child(3){left:19px;top:0;background:#91d2bd;transform:rotate(1deg)}.note{position:absolute;width:var(--note-width);height:var(--note-height);min-width:180px;min-height:150px;display:flex;flex-direction:column;color:#312e29;background:linear-gradient(105deg,rgba(255,255,255,.2),transparent 28%),linear-gradient(to bottom,#ffffff14,#6b532b09),var(--note-color, #f5d75d);border:1px solid rgba(75,63,36,.14);border-radius:3px 3px 15px;box-shadow:1px 2px 2px #3a30201f,5px 8px 13px #3a30202e,12px 18px 28px #3a302014;overflow:hidden;touch-action:none;transform:rotate(var(--note-rotation, 0deg));transform-origin:50% 48%;transition:box-shadow .16s,transform .16s}.note[hidden]{display:none}.note.completed{filter:saturate(.62);opacity:.78;box-shadow:1px 2px 2px #3a30201a,3px 5px 8px #3a302021}.note.completed:before{content:"完了";position:absolute;z-index:2;right:18px;bottom:20px;padding:3px 7px;border:2px solid rgba(48,93,67,.62);border-radius:5px;color:#305d43b3;font-size:12px;font-weight:800;letter-spacing:.12em;transform:rotate(-8deg);pointer-events:none}.note:after{content:"";pointer-events:none;position:absolute;right:0;bottom:0;border:13px solid transparent;border-right-color:#7b642e2e;border-bottom-color:#7b642e2e}.note.dragging{z-index:1000!important;box-shadow:3px 5px 5px #3a30201f,12px 18px 28px #3a302040;transform:rotate(var(--note-rotation, 0deg)) scale(1.018) translateY(-2px);transition:box-shadow .16s,transform .16s}.note-handle{height:42px;display:flex;align-items:center;gap:5px;padding:3px 7px 0 10px;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.note.dragging .note-handle{cursor:grabbing}.grip{opacity:.42;font-size:19px;letter-spacing:-4px}.complete-button{width:27px;height:27px;flex:0 0 auto;padding:0;border:2px solid rgba(65,58,49,.42);border-radius:50%;background:#ffffff2e;color:transparent;font-size:16px;line-height:1;font-weight:900;cursor:pointer}.complete-button:hover{background:#ffffff61}.complete-button[aria-pressed=true]{border-color:#376e50;background:#477e5e;color:#fff}.note-colors{display:flex;align-items:center;gap:4px;margin-left:auto}.note-color-button{width:19px;height:19px;padding:0;border:2px solid rgba(255,255,255,.58);border-radius:50%;cursor:pointer;box-shadow:0 0 0 1px #443a2d29;transition:transform .14s,box-shadow .14s}.note-color-button:hover{transform:scale(1.16)}.note-color-button[aria-pressed=true]{box-shadow:0 0 0 2px #3f3933;transform:scale(1.08)}.delete-button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#4b453b;font-size:25px;line-height:1;cursor:pointer;opacity:.62}.delete-button:hover{opacity:1;background:#ffffff59}.note-text{flex:1;width:100%;min-height:0;resize:none;border:0;outline:0;padding:3px 18px 22px;background:transparent;color:inherit;font-family:YuKyokasho,Yu Kyokasho,Klee One,Hannotate SC,Hiragino Maru Gothic ProN,cursive;font-size:17px;font-weight:500;line-height:1.72;letter-spacing:.035em;overflow-wrap:anywhere;touch-action:auto}.note-text::placeholder{color:#3f37297a}.note.completed .note-text{color:#312e29a8;text-decoration:line-through;text-decoration-thickness:1.5px}.resize-corner{position:absolute;width:32px;height:32px;right:0;bottom:0;cursor:nwse-resize;touch-action:none;z-index:2}.project-dialog{width:min(430px,calc(100% - 28px));padding:0;border:0;border-radius:18px;background:#fffdf8;color:#393530;box-shadow:0 24px 70px #2c251f4d}.project-dialog::backdrop{background:#2f2b2861;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.project-dialog form{padding:25px}.dialog-heading{display:flex;align-items:center;gap:13px;margin-bottom:23px}.dialog-mark{width:36px;height:36px;flex:0 0 auto;border-radius:4px 4px 11px;background:#f3c94a;box-shadow:3px 3px #393530;transform:rotate(-3deg)}.dialog-heading h2{margin:0;font-size:19px}.dialog-heading p{margin:5px 0 0;color:#827a72;font-size:11px}.project-dialog label{display:block;margin:0 0 7px;color:#6d665f;font-size:12px;font-weight:700}#project-name{width:100%;height:46px;border:1px solid #cfc5b8;border-radius:10px;padding:0 12px;background:#fff;color:#302d29;font-size:16px;outline:0}#project-name:focus{border-color:#71685e;box-shadow:0 0 0 3px #596f8b24}.dialog-error{min-height:18px;margin:5px 0 7px;color:#a04b47;font-size:11px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px}.dialog-actions button{min-height:42px;padding:0 16px;border-radius:10px;font-weight:700;cursor:pointer}.dialog-cancel{border:1px solid #d0c7bc;background:transparent;color:#625c55}.dialog-submit{border:1px solid #393530;background:#393530;color:#fff}@media(max-width:767px){:root{--header-height: 91px;--note-width: 210px;--note-height: 184px}.app-shell{padding:0 12px 12px}.app-header{gap:12px}.brand{gap:10px}.brand-mark{width:35px;height:35px;box-shadow:4px 4px #2f2b28}.brand h1{font-size:22px}.brand p{display:none}.header-actions{gap:7px}.theme-toggle{width:44px;height:48px}.add-button{min-width:50px;min-height:50px;padding:0 14px;justify-content:center}.add-button span:last-child{display:none}.add-button span:first-child{font-size:28px}.new-note-menu{width:184px;top:calc(100% + 8px)}.project-bar{height:52px;padding:0 3px 10px;gap:8px}.project-label{display:none}.project-picker{flex:1}#project-select{width:100%;min-width:0;height:42px}.project-actions{gap:5px}.project-actions button{width:38px;height:40px}.project-actions .align-action{padding:0 8px}.board-info{height:102px;grid-template-columns:1fr auto;grid-template-rows:42px 44px;padding:0 3px 8px;gap:8px}.status-filter{justify-self:start}.status-filter button{min-height:34px;padding:0 10px}.search-box{grid-column:1 / -1;grid-row:2;width:100%;height:42px}.board{min-height:calc(100vh - var(--header-height) - 166px);border-radius:15px;background-size:20px 20px}.completion-zone{right:10px;bottom:10px;width:min(235px,calc(100% - 20px));height:78px}.note{min-width:170px;min-height:145px}.note-handle{height:46px;gap:3px;padding-left:7px;padding-right:5px}.complete-button{width:30px;height:30px}.note-colors{gap:3px}.note-color-button{width:19px;height:19px}.delete-button{width:38px;height:40px;font-size:28px}.note-text{font-size:17px;padding:1px 15px 22px}.resize-corner{width:42px;height:42px}.empty-state p{max-width:260px}.project-dialog form{padding:21px 18px 18px}}@media(min-width:768px)and (max-width:1100px){.app-shell{padding:0 22px 22px}.board-info{gap:10px}.status-filter button{padding:0 10px}.search-box{width:220px}.board{min-height:calc(100vh - var(--header-height) - 128px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important}}[data-theme=dark]{color-scheme:dark;color:#e9e5de;background:#191b20}[data-theme=dark] body{background:radial-gradient(circle at 12% 15%,rgba(75,83,99,.18),transparent 25%),#191b20}[data-theme=dark] .brand h1{color:#f1eee8}[data-theme=dark] .brand p,[data-theme=dark] .project-label,[data-theme=dark] .board-info{color:#aaa59d}[data-theme=dark] .brand-mark{box-shadow:5px 5px #e6e0d7}[data-theme=dark] .theme-toggle,[data-theme=dark] .project-actions button{border-color:#454952;background:#292c33;color:#ddd8d0;box-shadow:none}[data-theme=dark] .theme-toggle:hover,[data-theme=dark] .project-actions button:hover{border-color:#646a76;background:#333740}[data-theme=dark] .add-button{border-color:#efebe3;background:#efebe3;color:#27292e;box-shadow:4px 4px #4a4e57}[data-theme=dark] .add-button:hover{box-shadow:6px 6px #4a4e57}[data-theme=dark] #project-select,[data-theme=dark] .search-box,[data-theme=dark] .status-filter{border-color:#454952;background-color:#2a2d34eb;color:#ebe7e0}[data-theme=dark] #project-select{color-scheme:dark}[data-theme=dark] .status-filter button{color:#bdb8b0}[data-theme=dark] .status-filter button[aria-pressed=true]{background:#efebe3;color:#292b30}[data-theme=dark] .search-box:focus-within{border-color:#7e8797;background:#30343c;box-shadow:0 0 0 3px #8497b429}[data-theme=dark] .search-icon{border-color:#aaa59d}[data-theme=dark] .search-icon:after{background:#aaa59d}[data-theme=dark] #note-search{color:#ece8e1}[data-theme=dark] #note-search::placeholder{color:#8e9198}[data-theme=dark] .board{border-color:#3b3f48;background-color:#252830;background-image:radial-gradient(#434851 1.25px,transparent 1.25px);box-shadow:inset 0 1px #ffffff0a,0 14px 40px #0000003d}[data-theme=dark] .empty-state{color:#aaa69f}[data-theme=dark] .empty-state h2{color:#dedad3}[data-theme=dark] .empty-illustration span{border-color:#d6d0c7}[data-theme=dark] .search-empty-icon{border-color:#aaa59d}[data-theme=dark] .search-empty-icon:after{background:#aaa59d}[data-theme=dark] .completion-zone{border-color:#76a98b7a;color:#9bc3aa;background:#273a30ad}[data-theme=dark] .completion-zone.active{border-color:#7dc194;background:#2d533bf0}[data-theme=dark] .new-note-menu,[data-theme=dark] .new-note-menu:before{border-color:#4a4e57;background:#292c33}[data-theme=dark] .new-note-menu p{color:#aaa59d}[data-theme=dark] .new-color-button{color:#e8e3db}[data-theme=dark] .new-color-button:hover{background:#373b44}[data-theme=dark] .project-dialog{background:#292c33;color:#eeeae3}[data-theme=dark] .project-dialog::backdrop{background:#07080aa8}[data-theme=dark] .dialog-heading p,[data-theme=dark] .project-dialog label{color:#aaa59d}[data-theme=dark] #project-name{border-color:#4b505a;background:#202228;color:#eeeae3}[data-theme=dark] .dialog-cancel{border-color:#50545e;color:#d1ccc4}[data-theme=dark] .dialog-submit{border-color:#efebe3;background:#efebe3;color:#292b30}
