:root{font-family:system-ui,-apple-system,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif;color:#182230;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app-header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;padding:12px max(16px,calc((100vw - 720px)/2));box-shadow:0 1px 2px #00000008}.brand{display:flex;gap:10px;align-items:center}.brand strong{font-size:21px;display:block}.brand small{display:block;font-size:12px;color:#64748b}.icon-btn{display:grid;place-items:center;width:42px;height:42px;border:1px solid #dce3ed;border-radius:12px;background:#fff;color:#334155}.app{max-width:720px;margin:auto;padding:15px 13px 120px}.month-nav{display:flex;align-items:center;justify-content:space-between;margin:2px 0 13px}.month-nav h1{font-size:24px;margin:0}.utility{display:flex;gap:9px;margin-bottom:14px}.light-btn,.outline,.small-outline{border:1px solid #d1dbea;background:#fff;border-radius:10px;color:#1d4ed8;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:650}.days{display:grid;gap:11px}.day{background:#fff;border:1px solid #dae2ed;border-radius:13px;overflow:hidden;scroll-margin-top:90px}.day.is-today{border:2px solid #3b82f6}.day-head{background:#eef2f7;padding:11px 13px;display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:750}.day-head em{font-size:12px;font-style:normal;background:#dbeafe;color:#1d4ed8;border-radius:7px;padding:3px 7px}.sun{color:#c24141}.sat{color:#2563eb}.add-small{background:#fff;border:1px solid #cfdae8;border-radius:9px;display:flex;gap:4px;align-items:center;padding:8px 10px;color:#1d4ed8;font-size:14px;font-weight:700}.day-items{padding:10px 13px}.no-items{margin:8px 0;color:#94a3b8}.schedule{border:0;background:#fff;width:100%;text-align:left;display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f5;color:#111827}.schedule:last-child{border-bottom:0}.person-bar{width:5px;min-height:49px;align-self:stretch;border-radius:5px;flex:none}.schedule-body{min-width:0;display:grid;gap:5px;flex:1}.schedule-body strong{font-size:19px;overflow-wrap:anywhere;line-height:1.4}.schedule-sub{font-size:14px;color:#5a6b80}.schedule-note{font-size:14px;color:#475569;white-space:pre-wrap;overflow-wrap:anywhere}.edit-mark{color:#94a3b8;flex:none}.floating-add{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:9;background:#2563eb;color:#fff;border:0;border-radius:50px;padding:15px 26px;font-size:17px;font-weight:750;display:flex;align-items:center;gap:8px;box-shadow:0 6px 20px #1d4ed84a;white-space:nowrap}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a88;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fff;width:100%;max-width:620px;max-height:93dvh;overflow:auto;border-radius:22px 22px 0 0;padding:20px 20px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #0002}.sheet-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sheet-title h2{font-size:21px;margin:0;display:flex;align-items:center;gap:8px}.edit-form,.settings-body{display:grid;gap:17px}.edit-form label,.login label{font-weight:700;font-size:15px;display:grid;gap:7px}.edit-form label b{color:#db3b3b}.edit-form input,.edit-form textarea,.login input{background:#fff;color:#172033;width:100%;border:1px solid #cbd5e1;border-radius:11px;padding:12px;font-size:17px;min-height:46px}.edit-form textarea{resize:vertical}.edit-form input:focus,.edit-form textarea:focus{outline:2px solid #93c5fd}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.work-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.work-choice button{padding:12px 5px;border:1px solid #cbd5e1;background:#fff;border-radius:10px;font-weight:650}.work-choice button.picked{border:2px solid #2563eb;background:#eff6ff;color:#1d4ed8}.hint{font-size:13px;line-height:1.6;color:#64748b;margin:0;background:#f1f5f9;padding:11px;border-radius:10px}.primary{border:0;background:#2563eb;color:#fff;width:100%;min-height:51px;border-radius:12px;font-size:17px;font-weight:750}.editor-actions{display:grid;gap:10px;border-top:1px solid #e2e8f0;margin-top:18px;padding-top:17px}.finish{background:#15803d;color:#fff;padding:13px;border:0;border-radius:11px;display:flex;justify-content:center;align-items:center;gap:8px;font-weight:750}.danger{background:#fff;color:#b91c1c;border:1px solid #fecaca;padding:12px;border-radius:11px;display:flex;justify-content:center;align-items:center;gap:8px}.completed{color:#166534;font-weight:700}.relative{position:relative}.suggestions{position:absolute;top:100%;left:0;right:0;z-index:3;background:#fff;border:1px solid #cbd5e1;box-shadow:0 10px 20px #0002;border-radius:10px;max-height:220px;overflow:auto}.suggestions button{display:flex;align-items:center;gap:8px;background:#fff;border:0;border-bottom:1px solid #e2e8f0;padding:12px;width:100%;text-align:left}.alert,.success{padding:12px;margin-bottom:12px;border-radius:10px}.alert{background:#fef2f2;color:#991b1b;display:flex;justify-content:space-between}.alert button{border:0;background:none}.success{background:#dcfce7;color:#166534}.center-screen{min-height:100dvh;display:grid;place-items:center;padding:20px}.login,.setup{max-width:400px;width:100%;border:1px solid #e2e8f0;border-radius:17px;background:#fff;padding:27px;display:grid;gap:17px;box-shadow:0 5px 22px #00000008}.login h1{margin:0;font-size:27px}.login p{margin:0;color:#64748b}.login small{font-size:13px;color:#64748b}.login .error{color:#b91c1c}.setup{line-height:1.7;overflow-wrap:anywhere}.setup p{margin:0}.setup button{border:1px solid #cbd5e1;border-radius:10px;padding:11px}.profile-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 0;border-bottom:1px solid #e2e8f0}.user-color{width:8px;height:35px;border-radius:6px}.profile-row strong{margin-right:auto}.profile-row small{color:#b45309}.color-choices{display:flex;gap:5px}.color-choices button{width:21px;height:21px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #ddd}.color-choices button.selected{box-shadow:0 0 0 2px #111827}.small-outline{padding:6px 9px;font-size:12px}.settings-body h3{margin:0}.history-item{padding:15px 0;border-bottom:1px solid #e2e8f0}.history-item small{display:block;margin-top:5px;color:#64748b}.empty{color:#64748b}@media(max-width:420px){.form-grid{grid-template-columns:1fr}.sheet{padding:17px 15px calc(20px + env(safe-area-inset-bottom))}.schedule-body strong{font-size:18px}}:root{font-size:18px;color:#111;background:#fff}button{min-height:44px}input,textarea{color:#111!important}.brand small,.schedule-sub,.schedule-note,.no-items,.hint,.sync-status{color:#333}.day-head{background:#f5f5f5;color:#111}.day-head,.schedule-body strong{font-size:20px}.schedule-sub,.schedule-note{font-size:16px}.sync-status{font-size:14px;line-height:1.5}.icon-btn{width:46px;height:46px;color:#111}.add-small{font-size:16px;min-height:44px}.edit-form label,.login label{font-size:18px}.edit-form fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.sheet{overflow-wrap:anywhere}.sheet:focus{outline:none}.sheet input,.sheet textarea{min-width:0}.color-choices{flex-wrap:wrap;gap:6px;width:100%}.color-choices button{width:44px;height:44px;border:6px solid white}.profile-row strong{overflow-wrap:anywhere;min-width:0}.small-outline{font-size:16px;min-height:44px}.success{display:flex;align-items:center;justify-content:space-between}.success button{background:none;border:0;min-width:44px}.suggestions-inline{display:grid;gap:3px;max-height:200px;overflow:auto;border:1px solid #bbb;border-radius:8px}.suggestions-inline button{background:#fff;border:0;border-bottom:1px solid #ddd;text-align:left;padding:10px;font-size:17px;overflow-wrap:anywhere}.alert{white-space:pre-wrap;overflow-wrap:anywhere}.hint{font-size:15px}.login small,.history-item small{font-size:15px;color:#333}.sheet-title h2{font-size:22px}.form-grid{min-width:0}.outline,.light-btn{color:#111}.sheet .danger{font-size:16px}button:focus-visible{outline:3px solid #111;outline-offset:3px}.edit-form select{font:inherit;color:#111;background:#fff;border:1px solid #cbd5e1;border-radius:11px;padding:12px;min-height:48px;width:100%}@media(max-width:420px){.schedule-body strong{font-size:20px}.form-grid{grid-template-columns:1fr}.brand strong{font-size:20px}.sheet-title h2{font-size:21px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
