/* AFM Flow R63: scoped planning workspace refinement. */
.afm-planner-page{max-width:1450px;margin-inline:auto;padding-bottom:2rem}
.afm-planner-page .afm-planner-intro{background:#fff;border:1px solid #dfebe6;border-radius:17px;box-shadow:0 8px 26px rgba(20,59,48,.035);padding:1.15rem 1.35rem!important;margin-bottom:1.15rem!important}
.afm-planner-page .afm-planner-intro>p{margin:0 0 .85rem;line-height:1.9;color:#34463f}
.afm-planner-page .afm-planner-intro>.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1.2rem}
.afm-planner-page .afm-planner-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:1.1rem;align-items:start}
.afm-planner-page .afm-planner-card{min-width:0;background:#fff;border:1px solid #dbe7e2;border-radius:17px;box-shadow:0 8px 25px rgba(15,54,44,.045);padding:1.3rem!important}
.afm-planner-page .afm-planner-card h3{font-size:1.08rem;line-height:1.6;margin:0 0 1.1rem;color:#173c34}
.afm-planner-page .afm-planner-order{padding:.95rem 1.05rem!important;border:1px solid #e2ece8!important;border-radius:12px;background:#f8fbfa;margin-bottom:.7rem}
.afm-planner-page .afm-planner-order:last-child{margin-bottom:0}
.afm-planner-page .afm-planner-order>strong{display:block;overflow-wrap:anywhere}
.afm-planner-page .afm-planner-order>p{margin:.5rem 0;color:#253b33}
.afm-planner-page .afm-planner-order>small{display:block;line-height:1.8;color:#526a60;margin-bottom:.65rem}
.afm-planner-page .afm-planner-order .actions{display:flex;flex-wrap:wrap;gap:.55rem}
.afm-planner-page .afm-planner-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem}
.afm-planner-page .afm-planner-form>label:not(.afm-planner-urgent){display:grid;gap:.4rem;min-width:0;font-weight:650;color:#274238}
.afm-planner-page .afm-planner-form input:not([type=checkbox]),.afm-planner-page .afm-planner-form textarea{width:100%;max-width:100%;box-sizing:border-box;border-radius:10px;min-height:44px;padding:.65rem .8rem;border:1px solid #ccdcd5;background:#fff;color:#1b312b;font:inherit;font-weight:500}
.afm-planner-page .afm-planner-form input:focus-visible,.afm-planner-page .afm-planner-form textarea:focus-visible{outline:2px solid #459a83;outline-offset:2px}
.afm-planner-page .afm-planner-form .jalali-input{text-align:center;direction:ltr;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.afm-planner-page .afm-planner-urgent{display:flex;align-items:center;justify-content:flex-start;gap:.65rem;width:fit-content;cursor:pointer;color:#28463b;font-weight:650}
.afm-planner-page .afm-planner-urgent input{accent-color:#176351;inline-size:18px;block-size:18px;margin:0;flex:0 0 auto}
.afm-planner-page .afm-planner-form textarea{resize:vertical;min-height:100px}
.afm-planner-page .afm-planner-form>small{color:#6b7e76}
.afm-planner-page .afm-planner-form>.actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.35rem}
@media(max-width:1000px){.afm-planner-page .afm-planner-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.afm-planner-page{padding-inline:.25rem}.afm-planner-page .afm-planner-card{padding:.9rem!important}.afm-planner-page .afm-planner-intro{padding:1rem!important}.afm-planner-page .afm-planner-form>.actions button{flex:1 1 auto}}
