.project-task-page { padding-bottom: 2rem; }
.project-task-back { display:inline-flex;align-items:center;gap:.45rem;margin:1.25rem 0;color:#64748b;font-size:.86rem;text-decoration:none }
.project-task-page__heading,.project-task-page__heading>div,.project-task-detail-hero,.project-task-detail-hero__identity,.project-task-detail-hero__actions{display:flex;align-items:center}
.project-task-page__heading{justify-content:space-between;margin:1.25rem 0}.project-task-page__heading>div{gap:.75rem}.project-task-page__heading>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eef2ff;color:#5b50e6}.project-task-page__heading h1{margin:0;font-size:1.22rem}.project-task-page__heading p{margin:.2rem 0 0;color:#64748b;font-size:.82rem}.project-task-page__heading>a{color:#64748b;text-decoration:none;font-size:.84rem}
.project-task-form__layout,.project-task-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1.25rem;align-items:start}.project-task-form__layout main,.project-task-detail-layout main{display:grid;gap:1rem}.project-task-form__layout aside,.project-task-detail-layout aside{display:grid;gap:1rem;position:sticky;top:1rem}
.project-task-card,.project-task-detail-hero{background:#fff;border:1px solid #dde3ec;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04);overflow:hidden}.project-task-card>header{min-height:52px;padding:0 1rem;display:flex;align-items:center;gap:.55rem;border-bottom:1px solid #edf0f5}.project-task-card>header h2{font-size:.9rem;margin:0;flex:1}.project-task-card>header>i{color:#5b50e6}.project-task-card>header a{font-size:.8rem;color:#5146e5;text-decoration:none}.project-task-card__body{padding:1.15rem}
.project-task-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.project-task-field{display:grid;gap:.42rem;color:#475569;font-size:.78rem;font-weight:700;margin-bottom:1rem}.project-task-field b,.project-task-field legend b{color:#ef4444}.project-task-field input,.project-task-field select,.project-task-field textarea,.project-task-comments textarea{width:100%;border:1px solid #dbe1ea;border-radius:8px;background:#fff;padding:.75rem .85rem;color:#1e293b;font:inherit;box-sizing:border-box}.project-task-field textarea,.project-task-comments textarea{resize:vertical;line-height:1.55}.project-task-field fieldset,fieldset.project-task-field{border:0;padding:0;margin:0 0 1rem}.project-task-field legend{margin-bottom:.42rem}.project-task-choice-row{display:flex;gap:.5rem;flex-wrap:wrap}.project-task-choice-row label{flex:1;min-width:85px}.project-task-choice-row input{position:absolute;opacity:0;pointer-events:none}.project-task-choice-row span{display:flex;justify-content:center;padding:.72rem;border:1px solid #dbe1ea;border-radius:8px;background:#fff;font-weight:600}.project-task-choice-row input:checked+span{border-color:#5b50e6;background:#eef2ff;color:#4f46e5}.project-task-assignees{display:flex;gap:.65rem;flex-wrap:wrap}.project-task-assignees label{display:flex;align-items:center;gap:.5rem;border:1px solid #dbe1ea;border-radius:9px;padding:.55rem .7rem;cursor:pointer}.project-task-assignees label:has(input:checked){border-color:#5b50e6;background:#eef2ff}.project-task-assignees input{accent-color:#5b50e6}.project-task-form__actions{display:flex;justify-content:flex-end;gap:.7rem}.project-button--primary{background:#5146e5!important;color:#fff!important;border-color:#5146e5!important}.project-button--success{background:#0eaf80!important;color:#fff!important;border-color:#0eaf80!important}.project-task-alert{padding:.8rem 1rem;margin-bottom:1rem;border:1px solid #fecaca;border-radius:9px;background:#fef2f2;color:#b91c1c}.project-task-preview dl,.project-task-details{margin:0}.project-task-preview dl>div,.project-task-details>div{display:flex;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #eef1f5}.project-task-preview dt,.project-task-details dt{color:#64748b}.project-task-preview dd,.project-task-details dd{margin:0;text-align:right;font-weight:700}
.project-task-detail-hero{justify-content:space-between;padding:1rem 1.15rem;margin-bottom:1rem;gap:1rem}.project-task-detail-hero__identity{gap:1rem;min-width:0}.project-task-detail-hero__identity>span{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#e8edff;color:#5548e9;font-size:1.15rem;flex:none}.project-task-detail-hero__identity h1{margin:.35rem 0;font-size:1.18rem}.project-task-detail-hero__identity p{margin:0;color:#7b8799;font-size:.78rem}.project-task-detail-hero__badges{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.project-task-detail-hero__badges small{padding:.2rem .4rem;background:#f1f5f9;border-radius:5px}.project-task-detail-hero__actions{gap:.45rem;flex-wrap:wrap}.project-task-detail-hero__actions form{margin:0}.project-task-description{line-height:1.65;color:#475569;min-height:135px}.project-task-comments{display:grid;gap:1.1rem}.project-task-comments article{display:grid;grid-template-columns:36px 1fr;gap:.75rem}.project-task-comments article p{display:flex;gap:.6rem;align-items:center;margin:0 0 .4rem}.project-task-comments article small{color:#94a3b8}.project-task-comments article article div,.project-task-comments article>div>div{padding:.8rem;border:1px solid #e5e9f0;border-radius:8px;background:#f8fafc;color:#475569}.project-task-comments form{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem}.project-task-comments form textarea{flex-basis:100%}.project-task-assigned-list{display:grid;gap:.75rem}.project-task-assigned-list>div{display:flex;align-items:center;gap:.6rem}.project-task-row{cursor:pointer}.project-task-link{font-weight:700;color:#1e293b;text-decoration:none}.project-task-link:hover{color:#5146e5}.project-show__tabs a{display:flex;align-items:center;gap:.45rem;color:#64748b;text-decoration:none;padding:1rem .75rem;border-bottom:2px solid transparent}.project-show__tabs a.is-active{color:#5146e5;border-bottom-color:#5146e5}.project-show__tabs a span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 .25rem;border-radius:10px;background:#eef2ff;font-size:.72rem}.is-danger{color:#dc2626!important}
@media(max-width:1050px){.project-task-form__layout,.project-task-detail-layout{grid-template-columns:1fr}.project-task-form__layout aside,.project-task-detail-layout aside{position:static;grid-row:auto}.project-task-detail-hero{align-items:flex-start;flex-direction:column}}@media(max-width:720px){.project-task-form__grid{grid-template-columns:1fr}.project-task-detail-hero__actions{width:100%}.project-task-page__heading{align-items:flex-start;gap:1rem}.project-task-page__heading>a{white-space:nowrap}.project-show__tabs{overflow-x:auto}}
