:root{--ink:#48443f;--muted:#878279;--rose:#a86e73;--line:#e9e4dd;--bg:#f8f6f1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif;font-size:14px;line-height:1.8}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:10px 16px}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible{outline:3px solid #a86e73;outline-offset:3px}header{max-width:1000px;margin:auto;display:flex;align-items:center;gap:24px;padding:27px 32px;border-bottom:1px solid var(--line)}.brand{font-size:30px;color:var(--rose);text-decoration:none;letter-spacing:3px}.brand span{font-size:23px;color:var(--ink)}.tag{font-size:12px;color:var(--muted);letter-spacing:2px}.icon{margin-left:auto;border:0;background:transparent;font-size:24px}main{max-width:840px;margin:auto;padding:42px 28px 20px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.5px;color:var(--rose)}h1{font-family:serif;font-size:32px;font-weight:400;letter-spacing:3px;line-height:1.6;margin:10px 0}h2{font-size:18px;font-weight:500}h3{font-size:13px;font-weight:500;margin:6px 0}p{color:var(--muted)}#todayLabel{font-size:12px;margin-bottom:25px}.hero{border-radius:24px;background:#eee2e0;padding:32px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero h2{font-size:14px;margin:12px 0 2px}.big{font-family:serif;font-size:32px;line-height:1.5}.hero p{font-size:12px;max-width:380px}.moon{width:140px;height:140px;background:#f6eeeb;border-radius:100%;display:grid;place-items:center;font-size:120px;line-height:1;color:#b98687;transform:rotate(-20deg);flex-shrink:0}.primary{background:var(--rose);border:0;color:white;padding:13px 22px;border-radius:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 30px}.card{background:#fffefb;border:1px solid var(--line);border-radius:20px;padding:24px}.card p{font-size:11px;margin-bottom:0}.card strong{font-size:17px;font-weight:500}.green{background:#edf0e9}.symbol{font-size:24px;color:var(--rose)}.green .symbol{color:#80917b}.sectionTitle{display:flex;align-items:center;justify-content:space-between;gap:10px}.sectionTitle span{font-size:11px;color:var(--muted)}.moods{display:flex;gap:8px;justify-content:space-between}.moods button{flex:1;padding:10px 5px;border:1px solid transparent;background:#f6f3ee;font-size:12px}.moods b{display:block;font-size:25px;font-weight:400;line-height:1.6}.moods button.selected,.chips button.selected{background:#eee0e0;border-color:var(--rose);color:#86565b}.textButton{background:transparent;border:0;color:var(--rose);font-size:12px;margin-top:10px}.notice{font-size:11px;padding:4px 12px;line-height:1.9}footer{text-align:center;color:#aaa296;font-family:serif;font-size:12px;letter-spacing:2px;padding:20px 0 120px}nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;width:min(410px,90vw);background:#fffefbea;border:1px solid var(--line);backdrop-filter:blur(12px);border-radius:22px;box-shadow:0 6px 30px #55452e0c;padding:8px;z-index:2}nav button{flex:1;border:0;background:transparent;font-size:23px;padding:3px;color:var(--muted)}nav span{display:block;font-size:11px}nav .active{color:var(--rose);background:#f4eae7;border-radius:15px}dialog{border:1px solid var(--line);border-radius:24px;padding:26px;width:min(460px,94vw);max-height:88dvh;color:var(--ink);background:#fffefb}dialog::backdrop{background:#38312b55;backdrop-filter:blur(3px)}label{display:block;margin:16px 0;font-size:13px}input:not([type=checkbox]),textarea{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;margin-top:6px;color:var(--ink);min-width:0}textarea{min-height:90px;resize:vertical}.full{width:100%}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips button{border-radius:30px;font-size:12px;padding:8px 14px}.muted{color:var(--muted);font-size:12px}.check{display:flex;gap:10px;align-items:start}.check input{margin-top:6px}.week,#days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:5px}.week{font-size:11px;color:var(--muted);margin-bottom:12px}#days button{border:0;border-radius:12px;padding:9px 0;position:relative;background:transparent;min-height:45px}#days .period{background:#e8c9cc}#days .fertile{background:#e1e9db}#days .today{outline:1px solid var(--rose)}#days .logged:after{content:'•';position:absolute;bottom:-3px;left:45%;color:#655d52}.legend{color:var(--rose)!important}.legend span{color:#74866a}.entry{display:flex;justify-content:space-between;align-items:center;margin:12px 0;gap:12px}.entry p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.entry button{flex-shrink:0}hr{border:0;border-top:1px solid var(--line);margin:24px 0}details{font-size:12px;margin-top:20px}a{color:var(--rose)}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#514a43;color:#fff;padding:10px 20px;border-radius:12px;z-index:5;display:none;max-width:90vw}section[hidden]{display:none}@media(max-width:600px){header{padding:17px 22px;gap:12px}.tag{font-size:10px;letter-spacing:0}main{padding:26px 20px 10px}h1{font-size:28px}.hero{padding:25px 22px}.moon{width:85px;height:85px;font-size:80px;margin-left:8px}.big{font-size:26px}.two{gap:10px}.two .card{padding:18px 14px}.card strong{font-size:15px}.sectionTitle span{font-size:10px}.card{padding:18px}.moods{gap:5px}.moods button{font-size:11px}.hero .primary{padding:11px 14px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
