.staff-welcome{gap:24px}.staff-welcome .eyebrow{margin-bottom:8px}.staff-controls{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.staff-views{display:inline-flex;align-self:flex-end;border:1px solid var(--line);border-radius:24px;overflow:hidden;flex:none}.staff-views button{min-height:48px;min-width:88px;padding:8px 16px;font-size:14px}.staff-views button+button{border-left:1px solid var(--line)}.staff-views button[aria-pressed=true]{background:var(--accent-container);color:var(--on-accent);font-weight:650}.staff-search{flex:1;min-width:208px}.staff-search span,.staff-filter span,.stage-control span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.staff-controls label{margin:0}.staff-controls input,.staff-controls select,.stage-control select{width:100%;min-height:48px;margin:0;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.staff-filter{min-width:200px}.staff-guide{font-size:13px;color:var(--muted);margin-bottom:24px}.staff-guide>span{display:block;margin-top:8px}.kanban-scroll{overflow-x:auto;padding:0 0 16px;max-width:100%;scrollbar-width:thin}.kanban-board{display:grid;grid-template-columns:repeat(7,minmax(200px,1fr));gap:16px;min-width:1496px;align-items:start}.kanban-column{border:1px solid var(--line);border-radius:16px;padding:16px;background:color-mix(in srgb,var(--surface) 50%,var(--bg));min-height:320px}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.kanban-column h2{font-size:14px;letter-spacing:0}.kanban-column>header>span{font-size:12px;background:var(--accent-container);color:var(--on-accent);border-radius:8px;padding:4px 8px}.column-help{font-size:12px;color:var(--muted);margin:8px 0 16px;min-height:40px}.kanban-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;margin-top:16px;box-shadow:0 2px 4px #00000008;overflow-wrap:anywhere}.kanban-card[draggable=true]{cursor:grab}.kanban-title{font-size:14px;font-weight:650;text-align:left;padding:0;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.kanban-title:hover{text-decoration:underline}.card-owner{font-size:12px;color:var(--muted);margin:8px 0}.kanban-next{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:8px 0 16px}.card-due{font-size:12px;margin:8px 0 16px}.is-due{color:var(--p);font-weight:650}.kanban-actions{display:flex;gap:8px;flex-wrap:wrap}.kanban-actions .outline{font-size:12px;min-height:40px;padding:8px 16px}.stage-control{display:block;margin-top:16px}.stage-control select{font-size:13px;min-height:40px}.kanban-empty{font-size:13px;color:var(--muted);padding:24px 0}.kanban-column.drop-target{outline:2px solid var(--p);outline-offset:-2px;background:var(--accent-container)}.staff-controls button:focus-visible,.kanban-title:focus-visible,.kanban-scroll:focus-visible{outline:3px solid var(--p);outline-offset:3px}@media(max-width:760px){.staff-welcome{align-items:flex-start;flex-direction:column}.staff-controls{gap:16px}.staff-search{flex-basis:100%}.staff-filter{flex:1}.kanban-board{grid-template-columns:repeat(7,248px);min-width:1832px}.staff-views button{min-width:80px}}

/* Solar Alt Arrow Down, 16 px from the trailing edge; reserve a 48 px text area. */
:root{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19 9L12 15L5 9' stroke='%235E6D65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="dark"]{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19 9L12 15L5 9' stroke='%23B1C1B6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body select,html[data-theme="dark"] body select{appearance:none;-webkit-appearance:none;padding:8px 48px 8px 16px!important;min-height:48px;background-image:var(--select-chevron)!important;background-position:right 16px center!important;background-size:16px 16px!important;background-repeat:no-repeat!important}
.kanban-card{cursor:pointer}.kanban-card:hover{border-color:var(--p)}.kanban-card:focus-visible{outline:3px solid var(--p);outline-offset:3px}.kanban-card button,.kanban-card select{cursor:pointer}.kanban-actions .outline{padding:8px 16px;min-height:40px}
@media(forced-colors:active){body select,html[data-theme="dark"] body select{appearance:auto;background-image:none!important;padding-right:16px!important}}

.demand-code{display:block;font-size:12px;font-weight:600;color:var(--p);margin-bottom:8px;letter-spacing:.4px}.demand-list{table-layout:fixed}.demand-list th:first-child{width:32%}.demand-list th:nth-child(2){width:24%}.demand-list th:nth-child(3){width:20%}.demand-list th:last-child{width:24%}.demand-list td{vertical-align:middle}.demand-list .kanban-actions{display:inline-flex;gap:8px;flex-wrap:nowrap}.demand-list .stage-control{margin:0}.demand-list .stage-control>span{display:none}.demand-list .kanban-actions .outline,html[data-theme="dark"] .demand-list .kanban-actions .outline{border:0!important;background:transparent!important;color:var(--p)!important;min-width:88px;min-height:40px;padding:8px 16px;border-radius:20px}.demand-list .kanban-actions .outline:last-child,html[data-theme="dark"] .demand-list .kanban-actions .outline:last-child{background:var(--accent-container)!important;color:var(--on-accent)!important}.demand-list .kanban-actions .outline:hover{filter:brightness(.9)}.demand-list{min-width:880px}
.demand-list .kanban-actions{display:inline-flex;flex-direction:column;align-items:stretch;gap:8px}.demand-list .kanban-actions .outline{width:112px;min-width:112px;height:40px;white-space:nowrap}

.demand-list .kanban-actions .outline{width:184px;min-width:184px}.kanban-actions .approval-first{width:100%}.demand-list .kanban-actions .approval-first,html[data-theme="dark"] .demand-list .kanban-actions .approval-first{background:var(--accent-container)!important;color:var(--on-accent)!important}.demand-list .kanban-actions .outline:last-child,html[data-theme="dark"] .demand-list .kanban-actions .outline:last-child{background:transparent!important;color:var(--p)!important}

.demand-list{min-width:1120px;table-layout:fixed}.demand-list th:first-child{width:auto}.demand-list th:nth-child(2){width:288px}.demand-list th:nth-child(3){width:160px}.demand-list th:last-child{width:224px}.demand-list .stage-control select{min-width:240px;width:100%;font-size:13px}.list-next{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}

/* Compact paired actions, shared by Demandas and Início. */
.demand-list{min-width:1168px}.demand-list th:last-child{width:336px}.demand-list .kanban-actions{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px}.demand-list .kanban-actions .outline,.demand-list .kanban-actions .outline:last-child,html[data-theme="dark"] .demand-list .kanban-actions .outline,html[data-theme="dark"] .demand-list .kanban-actions .outline:last-child{width:auto;min-width:88px;height:40px;padding:8px 16px;background:var(--accent-container)!important;color:var(--on-accent)!important;border:0!important;white-space:nowrap}.demand-list .kanban-actions .approval-first,html[data-theme="dark"] .demand-list .kanban-actions .approval-first{background:var(--primary-button)!important;color:var(--on-primary)!important}.decision-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(264px,1fr));gap:24px;margin:24px 0}.decision-button{min-height:40px;padding:8px 16px;background:var(--accent-container);color:var(--on-accent);border-radius:24px;border:0}#decision-dialog input{width:100%;min-height:48px;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}

.sectionhead.home-followup-heading{align-items:flex-start;gap:24px;flex-wrap:wrap}.home-followup-heading h2{padding-top:8px}.home-followup-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin-left:auto}.home-followup-filter{display:block;width:248px;margin:0}.home-followup-filter>span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.home-followup-filter select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font-size:13px}.home-followup-controls>.outline{min-height:48px;font-size:13px}.home-filter-count{font-size:12px;color:var(--muted);margin:0 0 16px}.home-filter-empty{padding:24px 0;color:var(--muted);font-size:14px}.home-filter-empty button{margin-top:16px}.demand-stage{display:inline-block;padding:8px 16px;border-radius:8px;background:var(--accent-container);color:var(--on-accent);font-size:12px;line-height:1.5}.demand-list{min-width:1040px}.demand-list th:nth-child(2){width:208px}@media(max-width:760px){.home-followup-controls{width:100%;justify-content:space-between;margin-left:0}.home-followup-filter{width:100%}.home-followup-controls>.outline{order:2}}

.decision-person{display:flex;align-items:center;gap:16px;margin:24px 0 16px}.decision-person h2{margin:0 0 8px}.decision-avatar{display:grid;place-items:center;width:56px;height:56px;min-width:56px;padding:0;overflow:hidden;border-radius:50%;background:var(--accent-container);color:var(--on-accent);font-weight:650;font-size:18px}.decision-avatar img{width:100%;height:100%;object-fit:cover}.decision-avatar-large{width:80px;height:80px;min-width:80px;font-size:24px}.decision-photo-edit{display:flex;align-items:center;gap:16px;margin:24px 0 16px}.decision-photo-edit .note{font-size:12px;line-height:1.6;margin-top:8px}.decision-photo-edit button{font-size:13px}

.demand-order{min-width:208px;margin:0}.demand-order>span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.demand-order select{width:100%;min-height:48px;padding:8px 40px 8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.staff-controls{flex-wrap:wrap}@media(max-width:760px){.demand-order{width:100%}}

/* Prazos e textos vazios: leitura rápida sem precisar abrir a solicitação. */
.due-chip{display:inline-block;margin-left:8px;padding:0 8px;border-radius:8px;font-size:12px;font-weight:600;line-height:24px;white-space:nowrap;vertical-align:middle}
.due-chip.is-late{background:#FDE7E4;color:#8C1D18}
.due-chip.is-today{background:#FFF0D8;color:#80550E}
.due-chip.is-soon{background:var(--accent-container);color:var(--on-accent)}
html[data-theme="dark"] .due-chip.is-late{background:#4A211D;color:#FFB4AB}
html[data-theme="dark"] .due-chip.is-today{background:#44331C;color:#F5D398}
.due-none{color:var(--muted)}
.kanban-next.is-empty,.list-next.is-empty{font-style:italic;opacity:.8}
.stat-link{display:block;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:border-color .15s}
.stat-link:hover{border-color:var(--p)!important}
.stat-link .stat-more{display:flex;width:fit-content;align-items:center;gap:8px;margin-top:16px;font-size:13px;font-weight:600;color:var(--p)}
.stat-link .stat-more .solar{width:16px;height:16px}

/* Decisores: quanto cada pessoa está segurando. */
.decision-waiting{display:flex;align-items:center;gap:8px;margin:16px 0 0;padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--muted);text-align:left}
button.decision-waiting{cursor:pointer;color:var(--p);font-weight:600}
button.decision-waiting .solar{width:16px;height:16px}
button.decision-waiting.is-waiting{color:var(--p)}
button.decision-waiting:hover{text-decoration:underline}

/* Celular: cada linha da lista vira um cartão; nada escondido à direita. */
@media(max-width:760px){
html body .tablewrap:has(.demand-list){overflow:visible}
html body table.demand-list{min-width:0;width:100%;table-layout:auto}
html body .demand-list thead{display:none}
html body .demand-list,html body .demand-list tbody,html body .demand-list tr,html body .demand-list td{display:block;width:auto!important}
html body .demand-list tr{padding:16px 0;border-bottom:1px solid var(--line)}
html body .demand-list td{padding:0;border:0}
html body .demand-list td+td{margin-top:8px}
html body .demand-list td:nth-child(2),html body .demand-list td:nth-child(3){display:inline-block;margin-right:8px;font-size:13px}
html body .demand-list td:nth-child(3)::before{content:'Follow-up: ';color:var(--muted)}
html body .demand-list td:last-child{margin-top:16px}
html body .demand-list .kanban-actions{display:flex;flex-wrap:wrap}
}

/* Colunas até o fim do quadro: dá para soltar o cartão em qualquer altura */
html body .kanban-board{align-items:stretch!important}
html body .kanban-column{display:flex;flex-direction:column;height:auto}
html body .kanban-column.drop-target{outline:2px dashed var(--p);outline-offset:-4px;background:color-mix(in srgb,var(--p) 8%,var(--surface-2))!important}
