/* Scoped to the planner screen; other TASY pages retain their own styles. */
body.planner-view{background:radial-gradient(circle at 48% 18%,#f9f8e8,#dfe8c5 62%,#9fb881)}
body.planner-view:before{content:"";position:fixed;right:0;bottom:0;width:min(68vw,460px);height:min(45vh,390px);background:url('/avatars/planner_foliage_reference.jpg?v=1') right bottom/cover no-repeat;opacity:.92;pointer-events:none}
body.planner-view:after{content:"";position:fixed;left:-80px;top:-90px;width:330px;height:350px;background:url('/avatars/planner_foliage_reference.jpg?v=1') center/cover no-repeat;transform:rotate(140deg);filter:blur(22px);opacity:.3;pointer-events:none}
body.planner-view .app{position:relative;z-index:1;max-width:720px;padding:18px 14px 36px}
body.planner-view .top{position:relative;min-height:52px;margin-bottom:10px;justify-content:center;text-align:center}
body.planner-view .top .back,body.planner-view .top .more{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;color:#123e2f;background:#fffefa;box-shadow:0 8px 18px rgba(35,72,44,.12)}
body.planner-view .top .back{left:0}
body.planner-view .top .more{right:0;font-size:24px}
body.planner-view h1{font-size:23px;color:#123c2d}
body.planner-view .crumb{font-size:11px;color:#6d7773;margin-top:4px}
.planner-screen{position:relative}
body.planner-view .planner-banner{aspect-ratio:788/184;width:100%;border-radius:17px;background:#103b2c url('/avatars/planner_hero_reference.jpg?v=1') center/100% 100% no-repeat;box-shadow:0 9px 22px rgba(21,65,43,.19)}
.planner-banner-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.planner-view .planner-toolbar{margin:10px 0;gap:10px}
body.planner-view .planner-month-title{font-size:20px;color:#143c2f;text-transform:lowercase}
body.planner-view .planner-nav{width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:50%;background:#fffdf5;color:#124332;font-size:27px;box-shadow:0 6px 13px rgba(31,76,45,.1)}
body.planner-view .calendar-wrap{padding:9px 5px 6px;border-radius:19px;background:rgba(255,253,244,.8);box-shadow:0 9px 20px rgba(47,91,53,.11)}
body.planner-view .calendar-grid{margin:0;gap:4px}
body.planner-view .weekday{font-size:11px;color:#174533;padding:0 0 7px}
body.planner-view .day-cell{position:relative;min-height:61px;padding:6px 2px;border:1px solid #e7e2d0;border-radius:10px;background:#fffefa;text-align:center;box-shadow:0 2px 5px rgba(44,68,45,.05)}
body.planner-view .day-cell.outside{opacity:.44}
body.planner-view .day-cell.selected{background:#124c38;color:#fff;border-color:#537e5f}
body.planner-view .day-number{margin:0;font-size:17px;color:inherit;line-height:1.15}
body.planner-view .day-markers{display:flex;gap:3px;justify-content:center;align-items:center;min-height:11px;margin-top:4px}
body.planner-view .day-marker{width:6px;height:6px;border-radius:50%;background:#41966a;flex:none}
body.planner-view .day-marker.holiday{background:#e44040}
body.planner-view .day-marker.personal{background:#3278ec}
body.planner-view .day-cell.selected .day-marker{outline:1px solid rgba(255,255,255,.7)}
body.planner-view .day-count{font-size:9px;line-height:1.1;margin-top:2px}
body.planner-view .planner-general,body.planner-view .day-panel{margin-top:12px;padding:13px 11px;border:1px solid #fff;border-radius:19px;background:rgba(255,254,247,.96);box-shadow:0 10px 23px rgba(39,83,50,.13)}
body.planner-view .planner-general-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.planner-view .planner-general h2{font-size:17px;margin:0;color:#153c2f}
body.planner-view .planner-general-head .add-entry{width:auto;margin:0;padding:8px 11px;border-radius:20px;font-size:11px;white-space:nowrap}
body.planner-view .planner-filters{display:flex;gap:5px;overflow-x:auto;margin:10px 0;padding:4px;background:#f5f3e6;border-radius:20px}
body.planner-view .planner-filter{flex:1 0 auto;border:0;border-radius:16px;padding:7px 9px;background:transparent;color:#293f35;font:inherit;font-size:11px}
body.planner-view .planner-filter.active{background:#10513a;color:white;font-weight:800}
body.planner-view .planner-list{gap:0}
body.planner-view .planner-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;align-items:center;padding:9px 4px;border-radius:0;border-bottom:1px solid #ebe8dc;background:transparent;font-weight:500}
body.planner-view .planner-item:last-child{border-bottom:0}
body.planner-view .planner-item.completed .planner-main{opacity:.56;text-decoration:line-through}
body.planner-view .planner-item .planner-donebox{width:22px;height:22px;border:1px solid #798d82;border-radius:6px;background:#fff;color:#fff;cursor:pointer}
body.planner-view .planner-item.completed .planner-donebox{background:#165c44;border-color:#165c44}
body.planner-view .planner-main{min-width:0;overflow-wrap:anywhere}
body.planner-view .planner-task-title{font-size:12px;font-weight:750;color:#1b2d2a;line-height:1.22}
body.planner-view .planner-task-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:3px;font-size:10px;color:#747d79}
body.planner-view .planner-time{padding:2px 5px;background:#f3f1e8;border-radius:8px}
body.planner-view .planner-priority{font-size:12px}
body.planner-view .planner-priority.important{color:#df3434}
body.planner-view .planner-priority.personal{color:#3385e9}
body.planner-view .planner-priority.task{color:#3b9b67}
body.planner-view .assignee-badge{margin:0;padding:2px 5px;font-size:9px}
body.planner-view .planner-actions{display:flex;gap:3px;margin:0}
body.planner-view .planner-actions button{border:0;background:transparent;padding:5px;color:#25483b;font-size:16px;cursor:pointer}
body.planner-view .planner-actions .planner-delete{color:#d43232}
body.planner-view .day-panel-title{font-size:17px}
body.planner-view .day-section h3{font-size:13px;margin:9px 0 2px}
body.planner-view .day-panel .add-entry{margin-top:9px}
body.planner-view .planner-quick{margin-top:15px;padding:12px;border-radius:20px;background:rgba(255,254,247,.95);box-shadow:0 9px 20px rgba(39,83,50,.13)}
body.planner-view .planner-quick h2{margin:0 0 10px;font-size:15px;color:#154331}
body.planner-view .planner-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
body.planner-view .planner-quick button{min-height:76px;padding:7px 4px;border:1px solid #fff;border-radius:14px;background:#fffdf8;color:#1c4735;font:inherit;font-size:10px;font-weight:700;box-shadow:0 3px 9px rgba(29,70,44,.08)}
body.planner-view .planner-quick-icon{display:block;font-size:24px;margin-bottom:5px}
body.planner-view .planner-tip{margin-top:12px;padding:15px 16px;border:1px solid #d6bc70;border-radius:18px;background:linear-gradient(125deg,rgba(86,98,47,.85),rgba(166,156,83,.69));color:white;font-size:12px;box-shadow:0 8px 20px rgba(44,77,37,.18)}
body.planner-view .planner-tip strong{display:block;color:#ffdc80;font-size:15px;margin-bottom:4px}
body.planner-view .planner-dialog{max-width:min(94vw,430px);width:100%;border:0;border-radius:21px;padding:18px;background:#fffdf5;color:#173c2e;box-shadow:0 24px 60px #18392780}
body.planner-view .planner-dialog::backdrop{background:#10291cb0}
body.planner-view .planner-dialog h2{margin:0 0 12px;font-size:20px}
body.planner-view .planner-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body.planner-view .planner-form label{display:grid;gap:4px;font-size:12px;font-weight:700}
body.planner-view .planner-form label.full{grid-column:1/-1}
body.planner-view .planner-form input,body.planner-view .planner-form select{width:100%;min-width:0;border:1px solid #ccd9c8;border-radius:9px;padding:9px;background:#fff;font:inherit;color:#173c2e}
body.planner-view .planner-form-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;margin-top:4px}
body.planner-view .planner-form-actions button{border:0;border-radius:10px;padding:10px 14px;background:#e9ecdf;color:#19402e;font:inherit;font-weight:800}
body.planner-view .planner-form-actions button[type=submit]{background:#14573f;color:#fff}
@media(max-width:390px){body.planner-view .app{padding-left:10px;padding-right:10px}body.planner-view .planner-general-head .add-entry{font-size:10px;padding:7px 8px}body.planner-view .day-cell{min-height:53px;padding:5px 1px}body.planner-view .day-number{font-size:15px}}
