.planner-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.planner-stats article{padding:22px 24px;background:#fff;border:1px solid #e1e7f1;border-radius:20px;display:grid;gap:12px;color:#647491}.planner-stats strong{font-size:30px;line-height:1.2;color:#193a6b}.planner-stats strong small{font-size:13px;font-weight:500}.planner-stats .planner-stat-ready{background:#edf9f4;border-color:#d1ece0}.planner-stats .planner-stat-late{background:#fff8ed;border-color:#f5e5c9}.planner-stats .planner-stat-late strong{color:#b37924}.planner-panel{padding:24px;min-width:0}.planner-toolbar,.planner-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.planner-toolbar{justify-content:space-between;margin-bottom:22px}.planner-toolbar h2{font-size:20px;margin:0 0 6px}.planner-toolbar p{font-size:13px;color:#75839c;margin:0}.planner-filters{padding:16px;background:#f5f8fd;border-radius:14px;margin-bottom:20px}.planner-filters>span{font-size:13px;color:#75839c;margin-left:auto}.planner-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dbe4f2;border-radius:11px;padding:0 13px;flex:1;min-width:220px}.planner-search svg{width:19px;color:#8094b6}.planner-search input{border:0!important;box-shadow:none!important;width:100%;padding:13px 0!important;font-size:14px;background:transparent}.planner-filters select,.planner-form select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23788cae'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;padding:13px 38px 13px 14px;border:1px solid #dbe4f2;border-radius:11px;font:inherit;font-size:14px}.planner-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;min-height:44px;background:#fff;border:1px solid #d6e2f6;border-radius:11px;color:#3264ba;font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.planner-outline:hover,.planner-outline.selected{background:#edf3ff;border-color:#aac4ff}.planner-outline svg{width:17px;height:17px}.planner-table-wrap{overflow-x:auto;border:1px solid #e3e9f3;border-radius:16px}.planner-table{width:100%;border-collapse:collapse;min-width:1020px;font-size:14px}.planner-table th{background:#f3f6fc;padding:17px;text-align:left;color:#657998;font-size:13px;white-space:nowrap}.planner-table td{padding:20px 17px;border-top:1px solid #e8edf5;vertical-align:middle}.planner-table tr:hover td{background:#fafcff}.planner-table th:nth-child(2){width:26%}.planner-table td:nth-child(2){min-width:200px;max-width:330px}.planner-title{display:block;font-size:15px;line-height:1.6}.planner-description{font-size:13px;color:#677996;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 8px}.planner-muted{font-size:12px;color:#8995a9}.planner-dates{display:grid;gap:9px;white-space:nowrap;color:#7a8aa3;font-size:12px}.planner-dates b{font-weight:600;color:#395578;margin-left:5px;font-size:13px}.planner-dates .late,.planner-dates .late b{color:#b17a26}.planner-thumb{border:0;background:#f0f4fa;border-radius:12px;padding:0;overflow:hidden;width:84px;height:84px;cursor:zoom-in;display:block}.planner-thumb img{width:100%;height:100%;object-fit:cover}.planner-no-image{width:84px;height:74px;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;color:#a3afc1;background:#f7f9fc;border:1px dashed #dce4f0;border-radius:12px}.planner-no-image svg{width:23px;height:23px}.planner-no-image small{font-size:11px}.planner-links{display:grid;gap:10px;margin-top:7px}.planner-links a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#2c64d8;font-size:13px;white-space:nowrap}.planner-links svg{width:14px;height:14px}.planner-status{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;min-height:40px;border:1px solid transparent;border-radius:10px;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;background:#eef2f8;color:#667891}.planner-status.shooting{background:#eaf1ff;color:#3566c4}.planner-status.voice{background:#fff6e3;color:#a87a22}.planner-status.editing{background:#f2ecff;color:#8257b4}.planner-status.review{background:#fff0e8;color:#b37345}.planner-status.ready{background:#e6f6f5;color:#248c88}.planner-status.published{background:#e9f7ef;color:#338a62}.planner-status:hover{filter:brightness(.97)}.planner-empty{text-align:center;padding:50px 20px;color:#7b8da6}.planner-empty>svg{width:48px;height:48px;color:#7da3ef}.planner-empty h3{color:#254575}.planner-empty p{line-height:1.8}.planner-empty .primary{margin-top:12px}.planner-modal{max-width:760px!important}.planner-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.planner-form>label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;color:#536887}.planner-form input:not([type=checkbox]):not([type=file]),.planner-form textarea{padding:13px 15px;border:1px solid #d4def0;border-radius:11px;min-width:0;font:inherit;background:#fff;width:100%}.planner-form input:focus,.planner-form textarea:focus{outline:2px solid #bdceff;outline-offset:1px}.planner-span{grid-column:1/-1}.planner-upload{padding:16px;background:#f6f9ff;border:1px solid #e0e9f7;border-radius:15px;font-size:13px}.planner-upload-preview{height:120px;display:flex;align-items:center;justify-content:center;margin:12px 0;border-radius:10px;background:#fff;overflow:hidden;color:#a0b3d5}.planner-upload-preview>svg{width:36px;height:36px}.planner-upload-preview img{width:100%;height:100%;object-fit:contain}.planner-remove{display:flex;align-items:center;gap:8px;margin-top:12px;color:#8290a6;font-size:12px}.planner-remove input{width:auto}.planner-form-note{font-size:12px;line-height:1.7;color:#8794a8;margin:0}.planner-form-footer{display:flex;justify-content:flex-end;gap:15px;border-top:1px solid #e4eaf4;padding-top:18px}.planner-archive{border:0;background:none;color:#8b97ab;font:inherit;font-size:13px;margin-right:auto;cursor:pointer}.planner-status-options{display:grid;gap:10px}.planner-status-options button{padding:14px 18px;font-size:15px}.planner-full-image{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}#plannerError,#plannerStatusError{color:#ba4055;font-size:13px;line-height:1.6;margin:0}.planner-form .primary{min-height:46px;padding:12px 24px}
@media(max-width:900px){.planner-stats{grid-template-columns:repeat(2,1fr);gap:10px}.planner-stats article{padding:17px}.planner-panel{padding:15px}.planner-filters{padding:12px}.planner-search{min-width:100%}.planner-table{min-width:0}.planner-table thead{display:none}.planner-table tbody{display:grid;gap:14px}.planner-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dfe7f4;border-radius:16px;padding:14px;gap:12px;background:#fff}.planner-table td{border:0;padding:0;min-width:0!important;max-width:none!important}.planner-table td:nth-child(1),.planner-table td:nth-child(2),.planner-table td:nth-child(7){grid-column:1/-1}.planner-table td:nth-child(2){grid-row:1}.planner-table td:nth-child(1){grid-row:2}.planner-table-wrap{border:0;overflow:visible}.planner-dates{display:flex;flex-wrap:wrap;gap:14px}.planner-table td:nth-child(7) button{width:100%}.planner-table td[data-label]:not(:nth-child(1)):not(:nth-child(2))::before{content:attr(data-label);display:block;font-size:11px;color:#8998b1;margin-bottom:8px}.planner-table td[colspan]{grid-column:1/-1}.planner-toolbar{gap:14px}.planner-form{grid-template-columns:1fr}.planner-span{grid-column:auto}.planner-modal{padding:24px!important}.planner-stats strong{font-size:27px}}
.planner-filters>select{width:auto;min-width:160px;margin:0}.planner-filters>.planner-search{margin:0}.planner-toolbar>div{margin-right:auto}.planner-toolbar{justify-content:flex-start}.planner-filters .planner-search{flex-basis:260px;min-width:220px}.planner-filters .planner-search input{margin:0}.planner-form label{margin:0}.planner-status-options .planner-status{width:100%}
@media(max-width:900px){.planner-filters .planner-search{flex-basis:100%;min-width:0}.planner-filters>select{flex:1;min-width:140px}.planner-toolbar>div{flex-basis:100%}}
@media(min-width:901px){.planner-table td:last-child,.planner-table th:last-child{position:sticky;right:0;background:#fff;box-shadow:-8px 0 14px -12px #8e9eb8;text-align:center;min-width:110px}.planner-table th:last-child{background:#f3f6fc}.planner-table tr:hover td:last-child{background:#fafcff}}
.planner-back{display:inline-flex;align-items:center;padding:9px 0;border:0;background:transparent;color:#5273aa;font:inherit;font-size:13px;cursor:pointer;margin:18px 0 0}.project-top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:24px 0}.project-tabs{display:flex;gap:7px;flex-wrap:wrap}.project-tabs button{display:flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid transparent;border-radius:12px;background:transparent;font:inherit;font-size:14px;color:#71819a;cursor:pointer}.project-tabs button.selected{background:#eaf1ff;border-color:#d5e2ff;color:#2463ed;font-weight:700}.project-tabs span{font-size:11px;padding:2px 6px;background:#ffffffb0;border-radius:6px}.project-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dde6f2;border-radius:12px;padding:0 14px;width:260px;margin:0}.project-search input{width:100%;border:0!important;box-shadow:none!important;background:transparent;padding:13px 0!important;margin:0;font:inherit;font-size:13px}.project-search svg{width:18px;color:#91a1b9}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}.project-card{--project:#3c79e9;--tint:#eaf1ff;background:white;border:1px solid #dfe6f2;border-radius:20px;overflow:hidden;transition:box-shadow .18s,transform .18s}.project-card:hover{box-shadow:0 12px 28px #1d477810;transform:translateY(-2px)}.project-card.purple{--project:#8a66cd;--tint:#f1ebff}.project-card.green{--project:#3a9f85;--tint:#e7f6ef}.project-card.orange{--project:#d29742;--tint:#fff3e1}.project-card.pink{--project:#c97b9c;--tint:#fcecf4}.project-cover{height:172px;background:linear-gradient(140deg,var(--tint),#f8faff);padding:35px 24px 18px;position:relative;overflow:hidden}.project-star{position:absolute;right:12px;top:12px;border:1px solid #ffffffc0;background:#ffffffb0;border-radius:9px;width:32px;height:32px;display:grid;place-items:center;font-size:23px;color:#96a5bc;cursor:pointer;z-index:1}.project-star.starred{background:#fff8dd;color:#daa52c;border-color:#f4dda0}.project-preview{width:100%;background:#fff;border:1px solid #e4eaf4;border-radius:9px;box-shadow:0 5px 15px #17447b0b;padding:0 10px 10px;text-align:left;cursor:pointer;transform:rotate(-2deg);transition:transform .2s}.project-card:hover .project-preview{transform:rotate(0)}.project-mini-head{display:flex;gap:5px;padding:10px 0;border-bottom:1px solid #edf1f6}.project-mini-head span{width:5px;height:5px;border-radius:50%;background:var(--project);opacity:.4}.project-mini-row{display:grid;grid-template-columns:23px 1fr 28px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f0f3f8;font-size:9px;color:#8a99ae}.project-mini-row>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-mini-date{height:5px;border-radius:3px;background:#e6ecf6}.project-mini-row i{height:9px;background:var(--tint);border-radius:3px}.project-mini-row i.published,.project-mini-row i.ready{background:#d7efe5}.project-card-body{padding:21px}.project-card-heading{display:flex;align-items:flex-start;gap:8px}.project-card-heading>button:first-child{text-align:left;flex:1;min-width:0;border:0;background:none;font:inherit;font-size:17px;font-weight:700;line-height:1.6;color:#203c65;cursor:pointer;overflow-wrap:anywhere;padding:0}.project-settings{border:0;background:#f5f7fb;border-radius:8px;width:30px;height:30px;font-size:22px;line-height:16px;color:#8091ae;cursor:pointer}.project-description{font-size:13px;line-height:1.7;color:#8b98ac;min-height:44px;margin:8px 0 17px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#8796ac;align-items:center}.project-sharing{display:inline-flex;gap:6px;align-items:center;color:var(--project);background:var(--tint);border-radius:7px;padding:5px 8px}.project-sharing svg{width:14px;height:14px}.project-progress{height:4px;background:#f0f4f9;border-radius:4px;margin:17px 0 10px;overflow:hidden}.project-progress span{display:block;height:100%;background:var(--project)}.project-card-footer{display:flex;align-items:center;justify-content:space-between;color:#9aa7ba;font-size:11px}.project-card-footer button{border:0;background:none;color:var(--project);font:inherit;font-weight:600;cursor:pointer;padding:5px 0}.project-empty{grid-column:1/-1;text-align:center;padding:55px 20px;color:#8493a8}.project-empty>svg{width:40px;height:40px;margin:auto;color:#7ba4f2}.project-empty h2{color:#26466f}.project-empty p{line-height:1.7}.project-members{border:1px solid #dce6f6;background:#f7faff;border-radius:15px;padding:18px}.project-members[hidden],.project-people label[hidden]{display:none!important}.project-members h3{font-size:15px;margin:0 0 8px}.project-members p{font-size:12px;color:#7e8fa8;line-height:1.7;margin:0 0 14px}.project-people{max-height:260px;overflow:auto;display:grid;gap:5px;margin-top:12px}.project-people label{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border:1px solid #e7edf7;border-radius:10px;font-size:14px;cursor:pointer}.project-person-avatar{width:32px;height:32px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#e9f0ff;color:#6083bc;flex-shrink:0}.project-person-avatar img{width:100%;height:100%;object-fit:cover}.project-people input[type=checkbox]{width:17px;height:17px;accent-color:#2867fa}#projectFormError{color:#be4357;font-size:13px;margin:0;line-height:1.7}@media(max-width:650px){.project-grid{grid-template-columns:1fr;gap:16px}.project-top{gap:14px}.project-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}.project-tabs button{justify-content:center;padding:10px 8px}.project-search{width:100%}.project-cover{height:165px;padding-left:32px;padding-right:32px}.project-card-body{padding:20px}}
.planner-overview{background:#edf3ff;border:1px solid #d6e3ff;border-radius:18px;padding:20px 24px;margin:18px 0;display:flex;gap:24px;flex-wrap:wrap;color:#193b72}.planner-overview>div{width:100%}.planner-overview p{margin:6px 0;white-space:pre-wrap}.planner-months{display:flex;gap:8px;overflow:auto;padding:12px 0}.planner-months button,.planner-table th button{border:1px solid #d5e0f5;border-radius:10px;background:white;color:#245cbb;padding:10px 14px;white-space:nowrap;cursor:pointer}.planner-months button.selected{background:#2563ff;color:white}.planner-extra details{margin:8px 0;background:#f1f5ff;border-radius:8px;padding:8px 12px}.planner-extra p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.project-cover[style] .project-star{z-index:2}.planner-form input[type=checkbox]{width:auto}
.planner-trash-list article{display:flex;align-items:center;gap:12px;padding:20px;border:1px solid #dce5f5;border-radius:16px;margin:12px 0}.planner-trash-list article>div{flex:1}.planner-trash-list p{margin:6px 0}.planner-delete-confirm{text-align:center;padding:12px 6px}.planner-delete-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:#fff0f0;color:#d43d50;font-size:38px;margin:0 auto 20px}.planner-delete-confirm p{line-height:1.8;color:#60718c}.planner-delete-confirm>div:last-of-type{display:flex;justify-content:center;gap:12px;margin-top:24px}.planner-delete-confirm button{min-height:46px;padding:12px 24px}.planner-trash-list small{color:#64748b}
.planner-delete-confirm .planner-archive,.planner-trash-list .planner-archive{background:#e34054!important;color:#fff!important;border:1px solid #e34054!important;border-radius:12px;font-weight:700;cursor:pointer;box-shadow:0 7px 18px #e3405426}.planner-delete-confirm button:disabled{opacity:.55;cursor:wait}
.planner-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 20px}.planner-metric{--metric:#2866ed;--metric-bg:#edf3ff;background:#fff;border:1px solid #e0e7f2;border-radius:20px;padding:23px 25px;box-shadow:0 5px 16px #20365c03}.planner-metric.amber{--metric:#bc7a1b;--metric-bg:#fff5e2}.planner-metric.violet{--metric:#8260d2;--metric-bg:#f2edff}.planner-metric>div{display:flex;align-items:center;gap:12px;color:#536681;font-size:14px;font-weight:600}.planner-metric-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:var(--metric-bg,#edf3ff);color:var(--metric,#2866ed);flex-shrink:0}.planner-metric-icon svg{width:20px;height:20px}.planner-metric>strong{display:block;font-size:36px;line-height:1.3;letter-spacing:-1px;margin:17px 0 7px;color:#193455;font-variant-numeric:tabular-nums}.planner-metric>strong small{font-size:13px;letter-spacing:0;color:#8897ad;margin-left:9px;font-weight:500}.planner-metric>p{margin:0;font-size:12px;color:#8b99ac}.planner-today{background:#fff;border:1px solid #dce6f8;border-radius:20px;overflow:hidden;margin:20px 0 26px;box-shadow:0 5px 18px #25498603}.planner-today-heading{display:flex;align-items:center;gap:13px;padding:20px 24px;background:linear-gradient(110deg,#f4f8ff,#fff)}.planner-today-heading small{font-size:11px;letter-spacing:.2px;color:#8496b2}.planner-today-heading h2{font-size:16px;margin:4px 0 0;color:#203c65}.planner-today-heading h2 span{display:inline-block;margin-left:9px;border-radius:20px;background:#e6eeff;color:#3568cf;font-size:11px;padding:4px 9px;vertical-align:middle}.planner-today-date{margin-left:auto;font-size:12px;color:#7a8ca8;white-space:nowrap}.planner-today-items{padding:0 24px 10px}.planner-today-items article{display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #edf1f7}.planner-today-dot{width:8px;height:8px;border-radius:50%;background:#6997ff;box-shadow:0 0 0 4px #eef4ff;flex-shrink:0;margin:0 5px}.planner-today-items article>div{min-width:0;flex:1}.planner-today-items strong{font-size:14px;color:#253e61;display:block;overflow-wrap:anywhere}.planner-today-items small{display:block;margin-top:5px;color:#8a98ac;font-size:12px}.planner-today-tag{color:#a47525;background:#fff7e7;border-radius:7px;padding:6px 10px;font-size:11px;white-space:nowrap}.planner-today-empty{padding:15px 0 10px;color:#8a99af;font-size:13px}.planner-period-bar{display:flex;align-items:center;gap:20px;padding:15px 18px;border:1px solid #e1e7f2;border-radius:17px;background:#fff;margin:24px 0 18px}.planner-period-label{display:flex;align-items:center;gap:8px;color:#8192ac;font-size:12px;white-space:nowrap}.planner-period-label svg{width:17px;height:17px}.planner-period-bar .planner-months{padding:4px;gap:4px;background:#f3f6fc;border-radius:12px;flex:1;min-width:0}.planner-period-bar .planner-months button{background:transparent;border-color:transparent;color:#71839f;font-size:13px;border-radius:9px;min-height:39px;padding:8px 15px;font-weight:600;transition:.15s}.planner-period-bar .planner-months button.selected{background:#fff;color:#2866ed;box-shadow:0 2px 8px #29466e12;border:1px solid #e4ebf7}.planner-period-bar #projectManageInside{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce5f5;background:#fff;border-radius:11px;padding:11px 15px;font:inherit;font-size:12px;color:#496489;white-space:nowrap;cursor:pointer}.planner-period-bar #projectManageInside svg{width:16px;height:16px}.planner-period-bar button:hover{filter:brightness(.98)}.planner-period-bar button:focus-visible{outline:3px solid #adc7ff;outline-offset:2px}@media(max-width:700px){.planner-metric-grid{gap:10px}.planner-metric{padding:15px 13px;border-radius:15px}.planner-metric>div{font-size:12px;display:block}.planner-metric-icon{width:34px;height:34px;border-radius:10px;margin-bottom:8px}.planner-metric>div>span:last-child{display:block}.planner-metric>strong{font-size:29px;margin-top:10px}.planner-metric>p{font-size:10px;line-height:1.5}.planner-today-heading{padding:17px;flex-wrap:wrap}.planner-today-heading .planner-metric-icon{margin:0}.planner-today-date{font-size:11px}.planner-today-items{padding:0 18px 8px}.planner-period-bar{gap:12px;flex-wrap:wrap;padding:14px}.planner-period-label{flex:1}.planner-period-bar .planner-months{order:3;flex-basis:100%}.planner-today-heading h2{font-size:14px}}@media(max-width:400px){.planner-today-date{margin-left:47px}.planner-metric>strong small{margin-left:5px;font-size:11px}.planner-today-tag{padding:5px 7px}}
/* Align the daily posting panel on a consistent text grid. */
.planner-today-heading{padding:20px 24px;align-items:center;min-height:88px;box-sizing:border-box}.planner-today-heading>div{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0}.planner-today-heading small{display:block;font-size:12px;line-height:1.5;letter-spacing:0;font-weight:500}.planner-today-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:16px;line-height:1.5;font-weight:700;letter-spacing:0}.planner-today-heading h2 span{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:3px 10px;min-height:24px;box-sizing:border-box;font-size:12px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums}.planner-today-date{line-height:1.5;font-weight:500}.planner-today-items article{min-height:76px;box-sizing:border-box;align-items:center;gap:16px;padding:17px 0}.planner-today-items article>div{display:flex;flex-direction:column;justify-content:center;gap:5px}.planner-today-items strong{font-size:15px;line-height:1.55;font-weight:600;letter-spacing:0}.planner-today-items small{margin:0;font-size:12px;line-height:1.5;font-weight:400}.planner-today-tag{display:inline-flex;align-items:center;justify-content:center;min-width:68px;min-height:30px;box-sizing:border-box;font-size:12px;line-height:1.5;padding:5px 12px;font-weight:600;border:1px solid #f5e9d0}.planner-today-empty{padding:18px 0 12px;font-size:13px;line-height:1.6}.planner-today-heading .planner-metric-icon{margin-right:3px}.planner-today-dot{margin-left:16px;margin-right:9px}@media(max-width:700px){.planner-today-heading{padding:17px 18px;gap:12px;min-height:82px}.planner-today-heading h2{font-size:15px;gap:8px}.planner-today-heading small{font-size:11px}.planner-today-heading h2 span{font-size:11px;padding:3px 8px}.planner-today-items article{gap:12px;min-height:72px}.planner-today-dot{margin-left:11px;margin-right:5px}.planner-today-items strong{font-size:14px}.planner-today-tag{font-size:11px;min-width:58px;padding:4px 8px}.planner-today-date{font-size:11px}}@media(max-width:420px){.planner-today-heading{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:12px;row-gap:4px}.planner-today-heading .planner-metric-icon{grid-row:1/3}.planner-today-date{grid-column:2;margin:0}.planner-today-heading h2{flex-wrap:wrap}}
.planner-status-cards{gap:16px;margin:24px 0}.planner-status-cards .planner-status-card{--stat:#346ee9;--stat-bg:#eef4ff;--stat-line:#dfe9fc;display:flex;flex-direction:column;gap:0;padding:21px 23px 19px;border:1px solid #e0e7f1;border-radius:19px;background:linear-gradient(145deg,#fff 58%,var(--stat-bg));box-shadow:0 4px 18px #223c6304;min-width:0;position:relative;overflow:hidden}.planner-status-card.waiting{--stat:#8563c6;--stat-bg:#f5f1fd;--stat-line:#e9defa}.planner-status-card.ready{--stat:#1b997c;--stat-bg:#eefaf5;--stat-line:#d6eee4}.planner-status-card.late{--stat:#c58a2c;--stat-bg:#fff8ed;--stat-line:#f4e6ce}.planner-status-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}.planner-status-card-top>span{font-size:13px;line-height:1.5;font-weight:600;color:#61738e}.planner-status-card-top i{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:var(--stat-bg);border:1px solid var(--stat-line);color:var(--stat);font-style:normal}.planner-status-card-top svg{width:18px;height:18px}.planner-status-cards .planner-status-card>strong{display:flex;align-items:baseline;gap:8px;color:#203d64;font-size:34px;line-height:1.25;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.7px;margin:15px 0 16px}.planner-status-cards .planner-status-card>strong small{font-size:12px;color:#8a99af;line-height:1.5;font-weight:500;letter-spacing:0}.planner-status-card>p{display:flex;align-items:center;gap:7px;border-top:1px solid var(--stat-line);padding-top:12px;margin:0;color:#8998ac;font-size:11px;line-height:1.5}.planner-status-card>p>span{display:block;width:5px;height:5px;border-radius:50%;background:var(--stat);flex-shrink:0;opacity:.75}.planner-status-card.late>strong{color:#b27a29!important}@media(max-width:900px){.planner-status-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planner-status-cards .planner-status-card{padding:17px 18px 15px}.planner-status-cards .planner-status-card>strong{font-size:31px;margin:13px 0}.planner-status-card-top>span{font-size:12px}}@media(max-width:420px){.planner-status-cards{gap:10px}.planner-status-cards .planner-status-card{padding:15px 14px;border-radius:16px}.planner-status-card-top i{width:30px;height:30px;border-radius:9px}.planner-status-card-top svg{width:16px;height:16px}.planner-status-cards .planner-status-card>strong{font-size:28px}.planner-status-card>p{font-size:10px}}
.planner-task-actions{display:grid;gap:12px;margin-top:22px}.planner-task-actions>button{display:flex;align-items:center;gap:14px;border:1px solid #e0e8f5;border-radius:15px;background:#fbfcff;text-align:left;padding:18px;font:inherit;color:#254976;cursor:pointer}.planner-task-actions>button:hover{background:#f1f6ff;border-color:#b7cffb}.planner-task-actions .task-action-icon{width:43px;height:43px;border-radius:12px;background:#eaf1ff;display:grid;place-items:center;flex-shrink:0}.task-action-icon svg{width:20px;height:20px}.planner-task-actions strong{display:block;font-size:15px;font-weight:650;line-height:1.6}.planner-task-actions small{display:block;font-size:12px;color:#8191aa;line-height:1.6;margin-top:3px}.planner-task-actions b{margin-left:auto;font-size:23px;font-weight:400}.planner-task-actions>button.danger{color:#c64556;background:#fffafb;border-color:#f3dce0}.planner-task-actions .danger .task-action-icon{background:#ffedf0}.planner-task-actions>button.danger:hover{background:#fff1f3;border-color:#ebbac4}
.planner-editor-modal{width:min(1180px,calc(100vw - 48px))!important;max-width:1180px!important}.planner-layout-picker{margin:0;border:1px solid #dce6f6;background:#f7faff;border-radius:16px;padding:18px;min-width:0}.planner-layout-picker legend{font-weight:650;color:#425a7b;font-size:14px;padding:0 7px}.planner-layout-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.planner-layout-picker label{border:1px solid #dbe5f6;background:#fff;border-radius:12px;padding:12px;cursor:pointer;position:relative}.planner-layout-picker label:has(input:checked){border-color:#3976ff;box-shadow:0 0 0 2px #dce8ff;background:#f6f9ff}.planner-layout-picker input{accent-color:#2563ff;width:16px!important;height:16px;margin:0 0 8px!important}.planner-layout-picker label>span{display:block;margin-top:8px;font-size:12px;text-align:center;color:#657b9a}.layout-visual{display:grid;gap:3px;aspect-ratio:1/1;max-width:220px;width:100%;margin:0 auto;border-radius:7px;overflow:hidden;background:#fff}.layout-visual>div{background:#5489ed;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden}.layout-visual>div:first-child{background:#2455ba}.layout-visual span{color:white;font-size:10px;font-weight:600;text-align:center}.layout-visual img{width:100%;height:100%;object-fit:cover}.layout-1,.layout-3{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,1fr)}.layout-1>div:first-child{grid-row:span 2}.layout-3{grid-template-columns:2fr 1fr;grid-template-rows:repeat(3,1fr)}.layout-3>div:first-child{grid-row:span 3}.layout-2{grid-template-columns:1fr 1fr;grid-template-rows:repeat(6,1fr)}.layout-2>div:nth-child(1){grid-column:1;grid-row:1/4}.layout-2>div:nth-child(2){grid-column:1;grid-row:4/7}.layout-2>div:nth-child(3){grid-column:2;grid-row:1/3}.layout-2>div:nth-child(4){grid-column:2;grid-row:3/5}.layout-2>div:nth-child(5){grid-column:2;grid-row:5/7}.layout-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.layout-4>div:first-child{grid-column:span 2}.layout-5{grid-template-columns:repeat(3,1fr);grid-template-rows:2fr 1fr}.layout-5>div:first-child{grid-column:span 3}.layout-6{grid-template-columns:repeat(6,1fr);grid-template-rows:3fr 2fr}.layout-6>div:nth-child(-n+2){grid-column:span 3}.layout-6>div:nth-child(n+3){grid-column:span 2}.layout-7{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.planner-live-preview{border:1px solid #dce5f4;border-radius:16px;background:#f2f5fa;padding:20px}.planner-live-preview h3{margin:0 0 16px;font-size:14px;color:#536d90}.mock-feed{background:#fff;border:1px solid #e0e7f1;border-radius:14px;overflow:hidden;max-width:420px;margin:auto}.mock-feed header{padding:16px;border-bottom:1px solid #edf1f7}.mock-feed header b{display:block;font-size:14px;color:#264774}.mock-feed header small{font-size:11px;color:#899bb3}.mock-feed>p{padding:12px 16px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#425b7b;max-height:220px;overflow:auto}.mock-feed .layout-visual{max-width:100%;border-radius:0}.mock-feed .layout-visual span{font-size:15px}.planner-order-control{display:flex;align-items:center;gap:6px;white-space:nowrap}.planner-order-control button{border:1px solid #dce6f5;border-radius:7px;background:#fff;color:#5075aa;padding:4px 7px;cursor:pointer}.planner-table tr[draggable]{cursor:grab}.planner-table tr.dragging{opacity:.45}.planner-trash-shortcut{order:3;margin-left:auto;border:0!important;background:transparent!important;color:#8593a9!important;font:inherit;font-size:12px;padding:10px;cursor:pointer}.planner-due-jump{display:flex!important;align-items:center;gap:14px;width:100%;border:0;background:transparent;text-align:left;padding:6px 0;font:inherit;cursor:pointer;border-radius:10px}.planner-due-jump:hover{background:#f5f8ff}.planner-due-jump>div{flex:1;min-width:0}.planner-due-jump:focus-visible{outline:3px solid #bfd4ff}.planner-locate{animation:planner-locate-once 1.2s ease-out 1}@keyframes planner-locate-once{0%{background:#dceaff;box-shadow:inset 4px 0 #3e7bff}100%{background:transparent;box-shadow:inset 0 0 transparent}}@media(prefers-reduced-motion:reduce){.planner-locate{animation-duration:.01ms}}@media(max-width:700px){.planner-editor-modal{width:calc(100vw - 24px)!important;padding:20px!important}.planner-layout-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-layout-picker{padding:12px}.planner-layout-picker label{padding:9px}.planner-due-jump{gap:10px}.planner-trash-shortcut{order:0}.planner-live-preview{padding:12px}}
.planner-today-title{display:inline-flex!important;align-items:center;gap:10px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;padding:0;cursor:pointer;text-align:left}.planner-today-title:disabled{opacity:1;cursor:default}.planner-today-title:hover:not(:disabled){color:#2563eb}
@media(min-width:1000px){.planner-editor-modal .planner-form{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;column-gap:28px}.planner-editor-modal .planner-form>*:not(.planner-live-preview){grid-column:1!important}.planner-editor-modal .planner-live-preview{grid-column:2!important;grid-row:1/span 20;position:sticky;top:0;align-self:start}.planner-editor-modal .planner-layout-picker>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
.planner-layout-picker input[type=radio]{appearance:auto;min-height:0!important;min-width:0!important;padding:0!important;box-shadow:none!important;border:0!important;display:block;width:16px!important;height:16px!important;margin:0 0 10px!important}
.modal-bg>.planner-confirm-modal{width:min(520px,calc(100vw - 32px))!important;max-width:520px!important;padding:38px 32px 32px!important;background:linear-gradient(180deg,#f7faff,#fff 160px)!important;text-align:center}.planner-confirm-modal.ux-dialog>h2{display:block!important;text-align:center!important;margin:4px 24px 12px!important;padding:0!important;font-size:23px!important;line-height:1.45!important;letter-spacing:0;word-break:normal}.planner-confirm-modal>h2 .ux-title-icon{display:none!important}.planner-confirm-modal.ux-dialog>p{display:table;margin:0 auto 22px!important;max-width:100%;box-sizing:border-box;padding:7px 16px;border:1px solid #e2eaf6;background:#f0f5fc;border-radius:10px;font-size:13px!important;line-height:1.6;color:#657b9a;overflow-wrap:anywhere}.planner-confirm-modal .planner-delete-confirm{padding:0;text-align:center}.planner-confirm-modal .planner-delete-symbol{width:76px;height:76px;margin:5px auto 22px;border-radius:24px;font-size:39px;background:#fff0f2;border:1px solid #ffe3e7;color:#df4056;box-shadow:0 6px 18px #e3405407}.planner-confirm-modal .planner-confirm-question{font-size:15px;line-height:1.7;color:#344c6f;font-weight:600;margin:0 0 10px}.planner-confirm-modal .planner-confirm-detail{font-size:13px;line-height:1.8;color:#7a8ca6;margin:0 auto;max-width:370px}.planner-confirm-modal .planner-confirm-actions{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important;margin:27px auto 0!important;padding:22px 0 0!important;border-top:1px solid #edf1f7;box-sizing:border-box}.planner-confirm-modal .planner-confirm-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 154px!important;width:154px!important;min-width:130px!important;min-height:48px!important;margin:0!important;padding:12px 16px!important;box-sizing:border-box;border-radius:12px!important;font:inherit;font-size:14px!important;font-weight:650!important;text-align:center!important}.planner-confirm-modal .planner-confirm-actions>.planner-outline{background:white!important;border:1px solid #dce5f3!important;color:#536e96!important;box-shadow:0 2px 5px #19345503}.planner-confirm-modal .planner-confirm-actions>.planner-archive{background:#e64158!important;border:1px solid #e64158!important;color:white!important;box-shadow:0 6px 15px #e6415821}.planner-confirm-modal .planner-confirm-actions>.planner-archive:hover{background:#d7384f!important}.planner-confirm-modal .planner-confirm-actions>.planner-outline:hover{background:#f3f7fd!important}.planner-confirm-modal [role=alert]:empty{display:none}.planner-confirm-modal [role=alert]{font-size:12px;color:#cb354c;margin:16px 0 0;line-height:1.6}.planner-confirm-modal .modal-close{top:14px;right:14px;width:32px!important;height:32px!important;min-height:32px!important;font-size:21px;background:#fff!important;color:#8293ae!important;border-color:#e4eaf4!important}@media(max-width:480px){.modal-bg>.planner-confirm-modal{padding:32px 22px 25px!important}.planner-confirm-modal.ux-dialog>h2{font-size:21px!important;margin:6px 16px 12px!important}.planner-confirm-modal .planner-confirm-actions{gap:10px!important}.planner-confirm-modal .planner-confirm-actions>button{flex:1 1 110px!important;min-width:100px!important;max-width:154px}.planner-confirm-modal .planner-confirm-question{font-size:14px}.planner-confirm-modal .planner-confirm-detail{font-size:12px}}
/* Give media more room without widening the rest of the page. */
@media(min-width:901px){.planner-panel{margin-left:-18px;margin-right:-18px;padding:26px}.planner-table{min-width:1300px}.planner-table td[data-label="รูปอ้างอิง"],.planner-table td[data-label="วิดีโอ"]{min-width:196px;width:196px;text-align:center;padding:22px 14px}.planner-table .planner-thumb{width:168px;height:168px;margin:0 auto;border:1px solid #e1e7f0;border-radius:14px;background:#fff;box-shadow:0 3px 10px #18325107}.planner-table .planner-thumb img{object-fit:contain;background:#fff}.planner-table .planner-no-image{width:168px;height:142px;margin:0 auto;background:#f8faff;border-radius:14px}.planner-table td[data-label="วิดีโอ"] .planner-links{align-items:center;margin-top:10px}.planner-table td:nth-child(2){min-width:250px;max-width:360px}.planner-table td{padding-top:22px;padding-bottom:22px}}@media(max-width:900px){.planner-table .planner-thumb{width:min(168px,100%);height:168px;background:#fff;border:1px solid #e1e7f0;border-radius:13px}.planner-table .planner-thumb img{object-fit:contain}.planner-table .planner-no-image{width:min(168px,100%);height:142px}.planner-panel{min-width:0}}@media(max-width:400px){.planner-table .planner-thumb{height:145px}.planner-table .planner-no-image{height:128px}}
/* v14: grouped presets, text hierarchy and precise task navigation. */
.planner-layout-picker>div{display:block!important}.planner-layout-group+ .planner-layout-group{border-top:1px solid #e1e9f6;margin-top:22px;padding-top:20px}
.planner-layout-group h4{margin:0;color:#2a466e;font-size:15px;font-weight:750}.planner-layout-group>p{margin:4px 0 13px;color:#8293ac;font-size:12px;font-weight:400}
.planner-layout-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.planner-layout-picker .planner-layout-option{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:0;padding:15px 10px 12px;border-radius:12px;min-width:0;overflow:hidden;transition:border-color .15s,background .15s}
.planner-layout-picker .planner-layout-option input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;pointer-events:none}
.planner-layout-option:focus-within{outline:3px solid #bfd4ff;outline-offset:2px}.planner-layout-option:has(input:checked){border-color:#3976ff;background:#f2f7ff}
.planner-layout-picker .layout-choice-check{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:18px;height:18px;margin:0!important;color:#fff;background:#2f6fff;border-radius:5px;font-size:12px;opacity:0}
.planner-layout-option:has(input:checked) .layout-choice-check{opacity:1}
.layout-choice-art{height:114px;width:100%;display:grid;place-items:center;margin:9px 0 0}.layout-choice-art .layout-visual{max-height:105px;width:auto;height:105px;max-width:100%;margin:0;flex-shrink:0}
.layout-choice-art .layout-single{width:100%;height:auto;max-height:105px}.layout-choice-art .layout-single.layout-video{height:105px;width:auto}.layout-choice-art .layout-single:has(span){min-height:40px}
.planner-layout-picker .layout-choice-name{margin:11px 0 3px!important;color:#3d587f;font-size:12px;font-weight:700;line-height:1.5;text-align:center}.planner-layout-option>small{font-size:10px;color:#8394ac;font-weight:500}
.layout-single>div{grid-area:auto!important;width:100%;height:100%}.layout-single span small{display:block;font-size:9px;opacity:.8;margin-top:3px}.layout-video span b{display:block;font-size:26px;line-height:1.3;margin-bottom:4px}
.mock-copy{padding:17px 18px}.mock-copy p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#3f5575}.mock-copy .mock-topic{font-size:16px;font-weight:750;line-height:1.65}.mock-copy .mock-caption{font-size:14px;font-weight:400;line-height:1.75;margin-top:7px;max-height:240px;overflow:auto}
.planner-field-topic{font-weight:750!important;font-size:15px!important}.planner-field-topic textarea{font-weight:700!important;font-size:16px!important;line-height:1.7}.planner-field-caption textarea{font-weight:400!important;font-size:14px!important;line-height:1.75}
.planner-content-copy{min-width:200px;max-width:350px;padding-top:13px}.planner-topic{font-size:15px;font-weight:750;color:#253f63;margin:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.planner-caption{font-size:13px;line-height:1.8;font-weight:400;color:#6d819e;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.planner-locate{animation:planner-locate-red 1.1s ease-in-out 2!important}@keyframes planner-locate-red{0%,100%{background:transparent;box-shadow:inset 0 0 transparent}35%,65%{background:#ffe8eb;box-shadow:inset 4px 0 #ef98a5}}
@media(prefers-reduced-motion:reduce){.planner-locate{animation-duration:.01ms!important}}
@media(max-width:600px){.planner-layout-options{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-layout-picker .planner-layout-option{padding:13px 9px 11px}.layout-choice-art{height:110px}}
.layout-choice-art .layout-single{width:min(100%,calc(105px * var(--layout-ratio)));height:auto;max-height:none}.layout-choice-art .layout-single.layout-video{width:calc(105px * 9 / 16);height:auto}
.planner-layout-picker .layout-visual:not(.layout-single) span{font-size:8px;letter-spacing:-.15px}.planner-layout-picker .layout-single span small{color:#fff;opacity:.8}
/* v16: immediate image removal and consistent media frames. */
.planner-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 0}.planner-upload-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px;min-height:38px!important;margin:0!important;padding:8px 12px!important;border:1px solid #f0cfd6!important;border-radius:10px!important;background:#fff5f6!important;color:#ce4158!important;font:inherit;font-size:12px!important;font-weight:650!important;cursor:pointer}.planner-upload-actions button svg{width:16px;height:16px}.planner-upload-actions button:disabled{opacity:.4;cursor:default}.planner-upload-actions .planner-image-undo{border-color:#d9e4f6!important;background:#fff!important;color:#5575a3!important}.planner-upload-actions [hidden]{display:none!important}.planner-image-feedback{margin:9px 0 0!important;font-size:11px!important;line-height:1.6;color:#8a7080;font-weight:400}.planner-image-feedback:empty{display:none}.planner-upload-preview.is-empty{border:1px dashed #dbe5f4;background:#fff}.planner-upload-empty{display:grid;justify-items:center;align-content:center;gap:7px;height:100%;color:#9bafcc}.planner-upload-empty svg{width:28px;height:28px}.planner-upload-empty span{font-size:12px;color:#7185a5;font-weight:600}.planner-upload-empty small{font-size:11px;color:#99a9c1;font-weight:400}
.planner-table .planner-media-heading,.planner-table .planner-media-cell{width:196px;min-width:196px;text-align:center}.planner-table .planner-media-cell{vertical-align:top;padding:22px 14px}.planner-media-cell .planner-media-frame,.planner-media-cell .planner-thumb,.planner-media-cell .planner-no-image{display:grid;place-items:center;box-sizing:border-box;width:168px;height:168px;max-width:100%;margin:0 auto;border:1px solid #e0e7f2;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 10px #18325106}.planner-media-cell .planner-no-image{align-content:center;gap:9px;border-style:dashed;background:#f8faff;box-shadow:none}.planner-media-cell .planner-thumb{padding:0}.planner-media-cell .planner-thumb img{display:block;width:100%;height:100%;max-height:166px;object-fit:contain;background:white}.planner-layout-frame{padding:11px;background:#f7faff!important}.planner-layout-frame .layout-visual{width:144px;height:144px;max-width:100%;max-height:100%;margin:0;border-radius:7px;box-shadow:none}.planner-layout-frame .layout-single{width:min(144px,calc(144px * var(--layout-ratio)));height:auto;max-height:none}.planner-layout-frame .layout-visual span{font-size:10px}.planner-layout-frame .layout-visual:not(.layout-single) span{font-size:9px}.planner-layout-empty{display:grid;justify-items:center;align-content:center;gap:10px;color:#9bafcc}.planner-layout-empty svg{width:28px;height:28px}.planner-layout-empty small{font-size:11px;color:#8fa2bf}.planner-media-cell .planner-media-meta{display:flex;justify-content:center;align-items:center;min-height:24px;margin:9px 0 0;gap:6px;color:#8b9bb4;font-size:11px;line-height:1.5}.planner-media-meta a{justify-content:center}
@media(max-width:900px){.planner-table .planner-media-cell{width:auto;min-width:0!important;padding:0}.planner-media-cell .planner-media-frame,.planner-media-cell .planner-thumb,.planner-media-cell .planner-no-image{width:min(168px,100%);height:auto!important;aspect-ratio:1}.planner-layout-frame .layout-visual{width:min(144px,100%);height:auto;aspect-ratio:1}.planner-layout-frame .layout-single{width:min(144px,calc(144px * var(--layout-ratio)),100%);aspect-ratio:auto}.planner-layout-frame .layout-single[style]{aspect-ratio:var(--layout-ratio)}.planner-media-cell .planner-thumb img{aspect-ratio:1;height:auto;max-height:none}}
/* One media column, selected by the task's layout. */
.planner-media-type{display:inline-flex;align-items:center;justify-content:center;padding:3px 9px;border-radius:6px;background:#edf4ff;color:#5878a9;font-size:10px;font-weight:650;line-height:1.6}.planner-media-type.is-video{background:#f0ebff;color:#8266b7}.planner-media-cell .planner-media-meta{flex-wrap:wrap;gap:5px 9px}
/* Center the star geometrically instead of relying on a font glyph baseline. */
.project-card .project-star{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;box-sizing:border-box;line-height:1;letter-spacing:0}.project-card .project-star>svg{display:block;width:20px;height:20px;flex:0 0 20px;margin:0;pointer-events:none}
.planner-toolbar>div:first-child{margin-right:auto}.planner-toolbar>.planner-table-actions{margin-right:0;margin-left:auto;justify-content:flex-end;flex-basis:auto}.planner-table-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.planner-table-actions .planner-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 14px;font:inherit;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.planner-table-actions svg{width:17px;height:17px;flex-shrink:0}.planner-table-actions button:disabled{opacity:.45;cursor:default}.planner-table-actions #plannerDownloadPdf{background:#edf4ff;border-color:#d4e3ff;color:#2865cf}@media(max-width:900px){.planner-toolbar>.planner-table-actions{width:100%;flex-basis:100%;justify-content:flex-start;margin-left:0}}@media(max-width:600px){.planner-table-actions>*{flex:1}}

/* v27: paint each cell, including the opaque sticky actions column. */
:root{--planner-row-bg:#fff;--planner-row-hover-bg:#edf4ff;--planner-row-flash-bg:#ffe2e8}
html[data-theme=dark]{--planner-row-bg:#2b3444;--planner-row-hover-bg:#35465f;--planner-row-flash-bg:#62404d}
html[data-theme] .planner-table tbody tr>td,html[data-theme] .planner-table tbody tr>td:last-child{background:var(--planner-row-bg,transparent)}
html[data-theme] .planner-table tbody tr:hover>td,html[data-theme] .planner-table tbody tr:hover>td:last-child{background:var(--planner-row-hover-bg,transparent)}
html[data-theme] .planner-table tbody tr.planner-locate,html[data-theme] .planner-table tbody tr.planner-locate>td{animation:planner-row-pulse 1.1s ease-in-out 2!important}
@keyframes planner-row-pulse{0%,100%{background-color:var(--planner-row-bg,transparent)}35%,65%{background-color:var(--planner-row-flash-bg,transparent)}}
@media(prefers-reduced-motion:reduce){html[data-theme] .planner-table tbody tr.planner-locate,html[data-theme] .planner-table tbody tr.planner-locate>td{animation-duration:.01ms!important}}

/* v30: spreadsheet-style cell boundaries, complete copy and direct editing. */
.planner-table th+th,.planner-table td+td{border-left:1px solid #d5deec}
.planner-table tbody td{vertical-align:top;position:relative}
.planner-table .planner-description{display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;overflow:visible;max-height:none;white-space:pre-wrap;overflow-wrap:anywhere}
.planner-table :is(.planner-title,.planner-topic,.planner-caption){white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-height:none;overflow:visible}
.planner-table td[data-cell-edit]{cursor:pointer}
.planner-table td[data-cell-edit]:focus-visible{outline:2px solid #7ba9ff;outline-offset:-3px}
.planner-cell-tools{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px;margin:0 0 13px;min-height:30px}
.planner-cell-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid #d6e2f4;border-radius:8px;background:#f7faff;color:#426da7;font:inherit;font-size:11px;line-height:1.5;cursor:pointer}
.planner-cell-tools button svg{width:14px;height:14px;flex:0 0 14px}
.planner-cell-tools button:disabled{opacity:.4;cursor:default}
.planner-cell-tools .planner-cell-edit{margin-left:auto;background:#edf4ff;color:#2865bf}
.planner-quick-form{display:grid;gap:18px;margin-top:20px}
.planner-quick-form>label{display:grid;gap:8px;font-size:14px;font-weight:600;color:#536887}
.planner-quick-form input:not([type=radio]),.planner-quick-form textarea{width:100%;padding:13px 15px;border:1px solid #d4def0;border-radius:11px;background:#fff;color:#193453;font:inherit;font-weight:400;min-width:0;box-sizing:border-box}
.planner-quick-form textarea{resize:vertical;line-height:1.75}
.planner-quick-form small{font-size:12px;font-weight:400;color:#7d8eab;line-height:1.7}
.planner-quick-form footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:16px;border-top:1px solid #e0e8f3}
.planner-quick-form footer>button{min-height:44px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center}
.planner-quick-form [role=alert]{color:#bd4156;font-size:13px;line-height:1.7;margin:0}
.planner-quick-form [role=alert]:empty{display:none}
.planner-quick-form>.planner-original-layout{display:flex;align-items:center;gap:10px;padding:12px;background:#edf4ff;border-radius:10px}
.planner-quick-layout{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important}
@media(max-width:1180px){.planner-table td+td{border-left:0}.planner-table tbody td{border-bottom:1px solid #d5deec!important;padding-bottom:16px!important}.planner-cell-tools{margin-bottom:10px}.planner-table td:last-child{border-bottom:0}.planner-cell-tools button{min-height:38px}.planner-quick-form footer>button{flex:1}}

/* One shared page rhythm, including the table and monthly notes. */
.planner-project-workspace{display:flex;flex-direction:column;gap:20px;width:100%;min-width:0}
.planner-project-workspace> :not(.planner-back){width:100%;box-sizing:border-box;min-width:0;margin:0!important}
.planner-project-workspace>.planner-back{align-self:flex-start;margin:0;width:auto}
.planner-project-workspace>.planner-panel{padding:24px}
.planner-notes-board{background:#fff;border:1px solid #d9e3f2;border-radius:20px;padding:24px}
.planner-notes-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.planner-notes-eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:800;color:#2563eb}
.planner-notes-heading h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:20px;margin:8px 0;color:#172b4c}
.planner-notes-heading h2 svg{width:21px;height:21px}.planner-notes-heading h2 span{font-size:13px;font-weight:600;color:#617695}
.planner-notes-heading p{font-size:13px;color:#617695;margin:0;line-height:1.7}
.planner-notes-actions{display:flex;gap:10px;flex-shrink:0;align-items:center}
.planner-notes-actions button{min-height:44px;padding:10px 16px;display:inline-flex;justify-content:center;align-items:center}
.planner-notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.planner-note,.planner-note-colors label{--note-bg:#fff8db;--note-border:#edda91;--note-ink:#674b16;--note-muted:#8a6e36}
.planner-note.blue,.planner-note-colors .blue{--note-bg:#edf5ff;--note-border:#bcd5f6;--note-ink:#264e7e;--note-muted:#5d789b}
.planner-note.mint,.planner-note-colors .mint{--note-bg:#eaf8f0;--note-border:#b8dec9;--note-ink:#205f48;--note-muted:#57806d}
.planner-note.pink,.planner-note-colors .pink{--note-bg:#fff0f4;--note-border:#efc5d2;--note-ink:#813c55;--note-muted:#a1687f}
.planner-note{display:flex;flex-direction:column;padding:20px;border:1px solid var(--note-border,transparent);border-radius:14px;background:var(--note-bg,transparent);color:var(--note-ink,inherit);min-width:0;box-shadow:0 3px 10px #18345105}
.planner-note-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--note-muted,inherit)}
.planner-note button{border:1px solid var(--note-border,transparent);background:transparent;color:var(--note-ink,inherit);border-radius:8px;padding:7px 10px;font-size:12px;min-height:34px;white-space:nowrap}
.planner-note h3{font-size:17px;line-height:1.6;margin:15px 0 9px;color:var(--note-ink,inherit);overflow-wrap:anywhere}
.planner-note-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;margin:0 0 20px;color:var(--note-ink,inherit)}
.planner-note footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--note-border,transparent)}
.planner-note footer small{font-size:11px;line-height:1.7;color:var(--note-muted,inherit)}
.planner-notes-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:25px 16px;border:1px dashed #cddbee;border-radius:12px;color:#617695;background:#f8faff;font-size:13px;line-height:1.7}
.planner-notes-empty svg{width:24px;height:24px;color:#7193c0}.planner-notes-empty strong{font-size:14px;color:#3d567a}
.planner-note-colors{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.planner-note-colors legend{font-size:14px;font-weight:700;margin-bottom:10px}
.planner-note-colors label{position:relative;cursor:pointer;display:block}
.planner-note-colors input{position:absolute;opacity:0;width:1px;height:1px}
.planner-note-colors span{display:flex;align-items:center;justify-content:center;padding:14px 8px;background:var(--note-bg,transparent);color:var(--note-ink,inherit);border:2px solid var(--note-border,transparent);border-radius:10px}
.planner-note-colors input:checked+span{border-color:#2563eb;box-shadow:0 0 0 2px #dbe7ff}.planner-note-colors input:focus-visible+span{outline:2px solid #2563eb;outline-offset:3px}
.planner-note-form .planner-note-pin{display:flex;align-items:center;gap:10px}.planner-note-form .planner-note-pin input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#2563eb}
html[data-theme=dark] .planner-note,html[data-theme=dark] .planner-note-colors label{--note-bg:#3b3527;--note-border:#74613c;--note-ink:#ffe7b0;--note-muted:#deca9f}
html[data-theme=dark] .planner-note.blue,html[data-theme=dark] .planner-note-colors .blue{--note-bg:#253951;--note-border:#446587;--note-ink:#d2e6ff;--note-muted:#aec8e8}
html[data-theme=dark] .planner-note.mint,html[data-theme=dark] .planner-note-colors .mint{--note-bg:#253e36;--note-border:#466f5e;--note-ink:#d0f5e2;--note-muted:#afd4c2}
html[data-theme=dark] .planner-note.pink,html[data-theme=dark] .planner-note-colors .pink{--note-bg:#442e3a;--note-border:#7f5269;--note-ink:#ffdae8;--note-muted:#e1b8cb}
@media(max-width:1180px){.planner-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.planner-project-workspace{gap:16px}.planner-project-workspace>.planner-panel,.planner-notes-board{padding:16px}.planner-notes-heading{align-items:stretch;flex-direction:column;gap:16px}.planner-notes-actions{justify-content:flex-end}.planner-notes-grid{grid-template-columns:1fr}.planner-notes-heading h2{font-size:18px}.planner-note{padding:16px}}

/* Compact reading cards: display less, keep the complete text for copying/editing. */
.planner-text-card{padding:14px;border:1px solid #dfe7f4;border-radius:12px;background:#f9fbff;min-width:0;margin-bottom:12px}
.planner-text-preview{--planner-preview-limit:168px;max-height:var(--planner-preview-limit);overflow:hidden;min-width:0}
.planner-text-preview[data-preview-part=topics]{--planner-preview-limit:180px}
.planner-text-card.has-more:not(.is-expanded) .planner-text-preview{mask-image:linear-gradient(to bottom,#000 calc(100% - 15px),transparent)}
.planner-text-card.is-expanded .planner-text-preview{max-height:none;mask-image:none}
.planner-table .planner-text-preview .planner-description{margin:9px 0 0;font-size:13px;line-height:1.8}
.planner-table .planner-text-preview .planner-content-copy{padding:0;min-width:0;max-width:none}
.planner-table .planner-text-preview .planner-title{display:block;line-height:1.65}
.planner-text-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;min-height:34px;padding:6px 11px;border:1px solid #d7e4fb;border-radius:8px;background:#edf4ff;color:#2861b5;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.planner-text-toggle[hidden]{display:none!important}.planner-text-toggle svg{width:15px;height:15px;transition:transform .18s ease}.is-expanded>.planner-text-toggle svg{transform:rotate(180deg)}
.planner-text-toggle:hover{background:#dfebff;border-color:#aac6f4}.planner-text-toggle:focus-visible{outline:2px solid #7ba9ff;outline-offset:2px}
@media(max-width:1180px){.planner-text-toggle{min-height:40px}.planner-text-preview{--planner-preview-limit:145px}.planner-text-preview[data-preview-part=topics]{--planner-preview-limit:155px}}
@media print{.planner-text-card .planner-text-preview{max-height:none;mask-image:none}.planner-text-toggle{display:none!important}}
@media(min-width:1181px){
 .planner-table{table-layout:fixed;min-width:1900px}
 .planner-table th:nth-child(1){width:11%;white-space:normal}
 .planner-table th:nth-child(2){width:21%}.planner-table th:nth-child(3){width:22%}
 .planner-table th:nth-child(4),.planner-table th:nth-child(5){width:11%}
 .planner-table th:nth-child(6),.planner-table th:nth-child(7),.planner-table th:nth-child(8){width:8%}
 .planner-table td:nth-child(2){max-width:none}
 .planner-table .planner-links a{white-space:normal;overflow-wrap:anywhere}
}
.planner-text-toggle{white-space:nowrap}

/* Choose a layout first; each task exposes one relevant media uploader. */
.planner-editor-modal [data-upload-slot][hidden],.planner-editor-modal #plannerMediaPrompt[hidden],.planner-editor-modal #plannerVideoLink[hidden]{display:none!important}
.planner-media-prompt{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px 20px;border:1px dashed #cddbf0;border-radius:14px;background:#f5f8ff;color:#6b82a6;font-size:13px;line-height:1.8;text-align:center}
.planner-media-prompt svg{width:25px;height:25px;flex-shrink:0;color:#7b9ad0}
.planner-editor-modal .planner-upload{padding:20px;border-radius:16px;background:#f6f9ff}
.planner-editor-modal .planner-upload>label{display:block;font-size:14px;font-weight:650;color:#405e87}
.planner-editor-modal .planner-upload-preview{height:180px;margin:16px 0}
.planner-mock-prompt{display:flex;min-height:190px;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f5f8ff;color:#8297b9;font-size:13px;border:1px dashed #cfdbef;border-radius:12px}
.planner-mock-prompt svg{width:32px;height:32px}.planner-original-preview{display:block;width:100%;max-height:400px;object-fit:contain;border-radius:12px}
@media(max-width:600px){.planner-media-prompt{flex-direction:column;padding:20px 16px}.planner-editor-modal .planner-upload{padding:16px}}
