.hub-stream{display:grid;gap:18px;min-width:0}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.dashboard-resource{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 0;border-top:1px solid var(--line)}.dashboard-resource strong,.dashboard-resource small{display:block}.dashboard-resource small,.dashboard-resource p{color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}
.inbox-panel{border-color:#9eb38f;box-shadow:inset 4px 0 0 #6f8d67}
.source-badge{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:5px;font-size:10px;font-weight:800;vertical-align:middle}.source-badge.gmail{background:#fce8e6;color:#b3261e}.source-badge.drive{background:#e6f4ea;color:#137333}
.panel-head p{margin:4px 0 0;max-width:560px}
.empty.compact{min-height:110px}
.workflow-block{border-top:1px solid var(--line);padding:18px 0;margin-top:18px}
.workflow-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.workflow-head small{display:block;color:var(--muted);margin-top:3px}
.task-list,.comment-list{display:grid;gap:8px}
.task-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line)}
.task-row span{overflow-wrap:anywhere}.task-row small{display:block;color:var(--muted);margin-top:2px}.task-row.done span{text-decoration:line-through;color:var(--muted)}
.approval-actions{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,auto);gap:7px}.approval-actions select{min-width:0}
.comment{background:var(--light);border-radius:7px;padding:10px;overflow-wrap:anywhere}.comment strong,.comment span,.comment small{display:block}.comment small{color:var(--muted);margin-top:5px}
#comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:10px}
.template-strip,.discovery-setting{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:18px}
.template-strip h2,.template-strip p,.discovery-setting p{margin:0}.template-strip>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.discovery-setting{margin:18px 0}.switch{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;white-space:nowrap}
.resource-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eef3e9;border:1px solid #cbd8c4;border-radius:10px;padding:18px;margin-bottom:18px}.resource-intro p{margin:4px 0 0;color:var(--muted)}.resource-intro>span{white-space:nowrap;color:var(--green);font-weight:700}
.resource-groups{display:grid;gap:18px}.resource-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;padding:14px 0;border-top:1px solid var(--line);color:inherit}.resource-row a{color:inherit;text-decoration:none}.resource-row strong,.resource-row small,.resource-row p{display:block}.resource-row small{color:var(--muted);margin-top:3px}.resource-row p{margin:7px 0 0;color:var(--muted);overflow-wrap:anywhere}.resource-row:hover strong{color:var(--green)}
.resource-picker{margin-bottom:18px}.resource-picker form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.resource-picker form label{margin:0}.resource-results{display:grid;margin-top:14px}.resource-result{display:grid;grid-template-columns:auto minmax(0,1fr) 190px auto;gap:10px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.resource-result strong,.resource-result small{display:block}.resource-result small,.resource-result p{color:var(--muted);margin:3px 0 0;overflow-wrap:anywhere}
.resource-modal{position:fixed;inset:0;z-index:20;background:rgba(21,35,27,.46);display:grid;place-items:center;padding:28px}.resource-modal .resource-picker{width:min(850px,100%);max-height:85vh;overflow:auto;margin:0;box-shadow:0 24px 70px rgba(0,0,0,.2)}.resource-plus{width:34px;height:34px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:20px;line-height:1}.resource-category-head{align-items:flex-start}.resource-category-head .section-actions{justify-content:flex-end}.resource-category-head .section-actions>span{align-self:center;color:var(--muted)}
.item-links{display:grid;grid-template-columns:1fr 1fr}.item-links .build-plan-link:first-child{border-right:1px solid var(--line)}
.plan-page{max-width:1400px;margin:auto}.plan-header{display:flex;justify-content:space-between;gap:24px;align-items:start;margin-bottom:22px}.plan-header h1{font-size:38px;margin:8px 0}.plan-header p{max-width:760px;color:var(--muted)}.plan-meta{display:flex;gap:8px;flex-wrap:wrap}.plan-meta span,.task-status{background:var(--light);border-radius:5px;padding:5px 8px;font-size:10px}.timeline-add{margin-bottom:18px}.timeline-add summary{cursor:pointer;font-weight:700}.timeline-add form{margin-top:16px}.timeline-groups{display:grid;gap:18px}.timeline-group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.timeline-group-head span{color:var(--muted);font-size:10px}.timeline-columns,.timeline-row{display:grid;grid-template-columns:110px minmax(300px,1.5fr) minmax(220px,1fr) 130px;gap:16px}.timeline-columns{padding:9px 0;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.7px}.timeline-row{padding:14px 0;border-top:1px solid var(--line);align-items:start}.timeline-row strong,.timeline-row small{display:block}.timeline-row p,.timeline-row small{color:var(--muted);margin:5px 0 0;overflow-wrap:anywhere}.timeline-row .pill{display:inline-block;margin:6px 0 0}.task-status.complete{background:#e6f4ea;color:#137333}.complete-check{display:flex!important;flex-direction:row!important;gap:5px;margin-top:8px}
@media(max-width:760px){.template-strip,.discovery-setting,.resource-intro{align-items:flex-start;flex-direction:column}.template-strip>div:last-child{justify-content:flex-start}.approval-actions{grid-template-columns:1fr 1fr}.approval-actions select{grid-column:1/-1}.resource-result,.resource-picker form,.dashboard-resource{grid-template-columns:1fr}.resource-result>.source-badge,.dashboard-resource>.source-badge{display:none}.resource-category-head{display:block}.resource-category-head .section-actions{justify-content:flex-start;margin-top:10px}.resource-modal{padding:12px}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:900px){.plan-header{display:block}.plan-header .section-actions{margin-top:15px}.timeline-columns{display:none}.timeline-row{grid-template-columns:1fr}.item-links{grid-template-columns:1fr}}
@media print{.plan-page .section-actions,.timeline-add,.sidebar,.top{display:none!important}.plan-page{max-width:none}.timeline-group{break-inside:avoid}.timeline-row{break-inside:avoid}}
