:root{font-family:"Trebuchet MS",Verdana,sans-serif;color:#823b30;background:#fbe9e5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.page{max-width:1240px;margin:45px auto;padding:0 22px}.planner{position:relative;overflow:hidden;background:#ffe8df;border:1px solid #f6d2c9;box-shadow:0 17px 30px #a86e6352,0 2px 8px #b9796b33;padding:25px 30px 17px}.sprinkles{pointer-events:none;position:absolute;inset:8px;background-image:radial-gradient(#c64e33 1.8px,transparent 2px);background-size:49px 54px;opacity:.45;mask-image:linear-gradient(to right,black,transparent 11%,transparent 89%,black)}.planner-header{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:155px}.berries{width:118px;flex-shrink:0;transform:rotate(-15deg)}.berries-right{transform:scale(1.2) rotate(17deg)}.berries svg{width:100%;filter:drop-shadow(2px 3px 0 #f8c3b6)}.title-stack{text-align:center;flex:1;min-width:0}.eyebrow{font-size:12px;letter-spacing:2px;color:#b26d5d;margin-bottom:9px}.ribbon{background:#f6a19b;border:3px solid #9d3c2d;border-radius:44% 48% 45% 47% / 15% 20% 18% 21%;padding:13px 30px;max-width:560px;margin:auto;box-shadow:5px 5px 0 #fbd0c4}.ribbon h1{margin:0;color:#823b30;font-size:clamp(23px,4vw,44px);font-weight:800;letter-spacing:1px}.month-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:13px}.month-controls h2{font-size:18px;min-width:180px;margin:0;letter-spacing:1px}.arrow{background:#fff2ed;border:2px solid #a24b39;border-radius:50%;color:#9a4432;width:30px;height:30px;cursor:pointer;font-size:24px;line-height:20px}.toolbar{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 15px}.toolbar strong,.toolbar span{display:block}.toolbar strong{font-size:17px}.toolbar span{font-size:12px;margin-top:5px;color:#ad7466}.toolbar-actions{display:flex;gap:8px}.primary-button,.subtle-button{border:2px solid #a24b39;border-radius:8px;padding:10px 15px;cursor:pointer;font:inherit;font-weight:bold;color:#873b30;background:#f7a7a0}.subtle-button{background:#fff5f0}.calendar-scroll{position:relative;overflow-x:auto;padding-bottom:3px}.calendar{min-width:700px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:3px solid #963a29;border-top:3px solid #963a29;background:#fffdfa}.weekday{height:34px;display:flex;align-items:center;justify-content:center;background:#fff1eb;border-right:3px solid #963a29;border-bottom:3px solid #963a29;text-transform:lowercase;letter-spacing:1px;font-size:clamp(10px,1.2vw,14px);font-weight:800}.day{min-height:135px;padding:9px 7px 8px;background:#fffdfb;border-right:3px solid #963a29;border-bottom:3px solid #963a29;position:relative}.day.outside{background:#fff2ee}.day.today{background:#fff6ef}.date-bubble{display:grid;place-items:center;background:#f9c5bf;border-radius:50%;width:28px;height:28px;color:#a64c3c;font-size:13px;font-weight:800;margin-bottom:9px}.today .date-bubble{background:#e97770;color:white;box-shadow:0 0 0 3px #f9d1c8}.outside .date-bubble{opacity:.45}.task{display:flex;align-items:flex-start;gap:5px;width:100%;padding:3px 0;border:0;background:none;text-align:left;color:#8b574c;cursor:pointer;font:inherit;font-size:11px;line-height:1.3}.task-circle{display:grid;place-items:center;flex:0 0 14px;width:14px;height:14px;border:1.8px solid #b96453;border-radius:50%;color:white;font-size:11px}.task.done .task-circle{background:#d87e75}.task.done .task-label{text-decoration:line-through;opacity:.56}.task:focus-visible,.arrow:focus-visible,.primary-button:focus-visible,.subtle-button:focus-visible{outline:3px solid #e18b64;outline-offset:2px}.empty-message{font-size:11px;color:#bf8a7f;line-height:1.5}.planner-footer{position:relative;display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px;color:#ad6c5d}.below{text-align:center;color:#b88177;font-size:12px;margin:20px}dialog{width:min(94vw,500px);border:3px solid #a24b39;border-radius:15px;background:#fff0e9;color:#823b30;box-shadow:0 18px 65px #4c201c55;padding:0}dialog::backdrop{background:#4c201c88}.dialog-content{padding:22px}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top h2{margin:0;font-size:23px}.close-button{border:0;background:transparent;font-size:30px;color:#873b30;cursor:pointer}.dialog-content p{font-size:13px;line-height:1.5}.habit-editor{display:grid;gap:8px;margin:20px 0;max-height:300px;overflow-y:auto}.habit-edit-row{display:flex;align-items:center;gap:8px;background:#fffdfa;padding:8px;border:1px solid #f2c9bf;border-radius:8px}.habit-edit-row input{min-width:0;flex:1;border:0;background:transparent;color:#823b30;font:inherit;font-size:14px}.habit-edit-row input:focus{outline:2px solid #efa9a0}.remove-habit{border:0;background:transparent;color:#bd5146;cursor:pointer;font-size:20px}.new-habit-label{display:block;font-size:13px;font-weight:bold;margin-bottom:7px}.add-habit-row{display:flex;gap:8px}.add-habit-row input{min-width:0;flex:1;border:2px solid #e8b2a8;border-radius:8px;background:white;padding:10px;font:inherit}.dialog-actions{text-align:right;margin-top:24px}@media(max-width:700px){.page{padding:0 8px;margin:12px auto}.planner{padding:13px 10px}.planner-header{min-height:115px}.berries{width:58px}.ribbon{padding:11px 5px}.ribbon h1{font-size:22px}.eyebrow{font-size:9px;letter-spacing:0}.month-controls h2{min-width:135px;font-size:14px}.toolbar{align-items:flex-start}.toolbar strong{font-size:14px}.toolbar-actions{flex-direction:column}.primary-button,.subtle-button{padding:7px 9px;font-size:12px}.day{min-height:112px}.planner-footer{font-size:10px}}
/* Celebrate a fully checked-off day. */
.day.complete,.day.complete.today{background:#d9efd4;transition:background-color .2s ease}.day.complete .date-bubble{background:#9bc88e;color:#285f37}.day.complete .task-circle{background:#76ac76;border-color:#51895a}.day.complete .task-label{color:#456e47}

/* Separate controls for one-off daily changes. */
.edit-day-button{display:block;margin-top:8px;padding:3px 5px;border:1px dashed #c98276;border-radius:6px;background:#fff4ed;color:#9c5044;font:inherit;font-size:10px;cursor:pointer}.edit-day-button:hover{background:#fce0d8}.day.complete .edit-day-button{background:#e8f5e5;border-color:#86ad80;color:#436e46}.edit-day-button:focus-visible{outline:3px solid #e18b64;outline-offset:2px}

/* Cloud account controls */
.account-bar{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff4ee;border:1px solid #eec9bf;border-radius:12px;padding:9px 12px;margin:4px 0 14px;font-size:12px;color:#96574c}
.account-actions{display:flex;gap:8px;flex-shrink:0}
.account-bar [hidden]{display:none}
.auth-input{display:block;width:100%;padding:11px;margin-bottom:15px;border:2px solid #e8b2a8;border-radius:8px;background:white;color:#823b30;font:inherit}
.auth-buttons{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
#auth-message{min-height:1.5em;font-size:13px;font-weight:bold}
@media(max-width:700px){.account-bar{align-items:flex-start;flex-direction:column}.auth-buttons{justify-content:stretch}.auth-buttons button{flex:1}}

/* Sketchbook header, drawn to echo the original strawberry calendar reference. */
.planner-header{isolation:isolate;position:relative;display:block;height:238px;min-height:238px;margin:0 -8px 8px;overflow:hidden}
.berry-symbols{position:absolute;width:0;height:0;overflow:hidden}
.header-sprinkles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.95;z-index:0}
.doodle-berry{position:absolute;width:90px;height:98px;z-index:2;overflow:visible;filter:drop-shadow(1px 1px 0 #f8c3b6)}
.berry-one{left:2%;top:64px;width:80px;transform:rotate(15deg)}
.berry-two{left:11%;top:26px;width:105px;transform:rotate(-13deg)}
.berry-three{right:15%;top:15px;width:70px;transform:rotate(20deg)}
.berry-four{right:12%;top:93px;width:61px;transform:rotate(-12deg)}
.berry-five{right:1.5%;top:55px;width:105px;transform:rotate(11deg)}
.planner-header .title-stack{position:absolute;z-index:3;left:17%;right:17%;top:28px;display:flex;flex-direction:column;align-items:center;gap:4px}
.planner-header .ribbon{position:relative;width:100%;max-width:none;border:0;background:transparent;border-radius:0;box-shadow:none;padding:0;height:107px;display:grid;place-items:center}
.planner-header .ribbon-shape{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.planner-header .ribbon h1{position:relative;z-index:1;color:#8e3929;font-family:"Comic Sans MS","Trebuchet MS",cursive;font-size:clamp(27px,4vw,43px);font-weight:800;letter-spacing:1.8px;transform:rotate(-1deg);text-shadow:1px 1px 0 #ffd3c7}
.planner-header .month-controls{margin-top:3px;gap:14px}
.planner-header .month-controls h2{min-width:96px;font-size:17px;font-family:"Comic Sans MS","Trebuchet MS",cursive}
.planner-header .arrow{background:#fff0e9;border:2px solid #a64a37;box-shadow:2px 2px 0 #f9c4b7}
.planner-header .eyebrow{margin-top:6px;margin-bottom:0;font-size:12px;letter-spacing:1px;text-transform:lowercase;color:#a95b4c;font-family:"Comic Sans MS","Trebuchet MS",cursive}
@media(max-width:700px){
  .planner-header{height:168px;min-height:168px;margin:0 -2px 10px}
  .planner-header .title-stack{left:13%;right:13%;top:25px;gap:0}
  .planner-header .ribbon{height:76px}
  .planner-header .ribbon h1{font-size:clamp(20px,5vw,29px);letter-spacing:.4px}
  .planner-header .month-controls{margin-top:0;gap:7px}
  .planner-header .month-controls h2{font-size:13px;min-width:65px}
  .planner-header .arrow{width:26px;height:26px;font-size:20px;line-height:18px}
  .planner-header .eyebrow{font-size:10px;letter-spacing:0;margin-top:3px}
  .doodle-berry{filter:none}
  .berry-one{left:0;top:53px;width:46px;height:58px}
  .berry-two{left:7%;top:10px;width:57px;height:68px}
  .berry-three{right:11%;top:5px;width:42px;height:50px}
  .berry-four{right:8%;top:74px;width:39px;height:48px}
  .berry-five{right:0;top:43px;width:53px;height:64px}
}
@media(max-width:410px){
  .planner-header .title-stack{left:11%;right:11%}
  .berry-two{left:4%;width:50px}
  .berry-three{right:7%}
  .berry-five{right:-3%;width:44px}
}

/* Verified compact strawberry header: desktop and 320–390px phone layouts. */
.planner-header{height:163px;min-height:163px;margin:0 -8px 5px;overflow:hidden}
.planner-header .title-stack{left:17%;right:17%;top:14px;gap:0}
.planner-header .ribbon{height:104px}
.planner-header .ribbon h1{font-family:"Comic Neue","Comic Sans MS","Trebuchet MS",sans-serif;font-size:36px;font-weight:700;letter-spacing:1px}
.planner-header .month-controls{margin-top:-1px;position:relative;z-index:4;gap:12px}
.planner-header .month-controls h2{font-family:"Comic Neue","Comic Sans MS","Trebuchet MS",sans-serif;font-weight:700;font-size:16px;min-width:70px}
.planner-header .eyebrow{display:none}
.berry-one{left:1.5%;top:36px;width:78px;height:94px;transform:rotate(12deg)}
.berry-two{left:10%;top:0;width:104px;height:126px;transform:rotate(-11deg)}
.berry-three{right:15.3%;top:0;width:68px;height:82px;transform:rotate(17deg)}
.berry-four{right:12.1%;top:64px;width:59px;height:71px;transform:rotate(-10deg)}
.berry-five{right:1.1%;top:25px;width:101px;height:115px;transform:rotate(14deg)}
.header-sprinkles{height:100%;opacity:.9}
@media(max-width:700px){
.planner-header{height:124px;min-height:124px;margin:0 -2px 4px}
.planner-header .title-stack{left:13%;right:13%;top:8px}
.planner-header .ribbon{height:73px}
.planner-header .ribbon h1{font-size:25px}
.planner-header .month-controls{margin-top:0;gap:9px}
.planner-header .month-controls h2{font-size:12px;min-width:60px}
.berry-one{left:0;top:40px;width:42px;height:52px}
.berry-two{left:6.5%;top:0;width:60px;height:73px}
.berry-three{right:11%;top:0;width:44px;height:53px}
.berry-four{right:7%;top:49px;width:40px;height:49px}
.berry-five{right:-1.5%;top:23px;width:55px;height:66px}
}
@media(max-width:410px){
.planner-header .title-stack{left:12%;right:12%}
.berry-two{left:4%;width:53px}
.berry-three{right:8%}
.berry-five{right:-3%;width:50px}
}
