.externas-workspace{max-width:1280px;margin:0 auto;padding:24px;color:var(--text-primary,#172033)}
.externas-heading,.ext-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.externas-heading h1{font-size:clamp(24px,3vw,34px);margin:6px 0}.externas-heading p,.ext-muted{color:var(--text-secondary,#64748b)}
.externas-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#dc2626}
.externas-nav{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0;margin-bottom:8px;border-bottom:1px solid var(--border-color,#e2e8f0)}
.externas-nav a{padding:10px 16px;background:var(--bg-card,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:10px;color:inherit;text-decoration:none}
.ext-card{background:var(--bg-card,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:14px;padding:22px;margin:16px 0;box-shadow:0 2px 8px #0f172a05}
.ext-card h2,.ext-card h3,.ext-card h4{margin:0 0 12px}.ext-card p{line-height:1.6}
.ext-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ext-stat span{font-size:13px;color:#64748b}.ext-stat strong{display:block;font-size:32px;margin-top:8px}.ext-danger strong{color:#dc2626}
.ext-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:9px;padding:11px 16px;background:#dc2626;color:#fff;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;min-height:44px;line-height:1.3}
.ext-button:hover{background:#b91c1c;color:#fff}.ext-secondary{background:transparent;border-color:var(--border-color,#cbd5e1);color:inherit}.ext-secondary:hover{background:#fef2f2;color:#b91c1c}
.ext-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ext-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:end}
.ext-form label,.ext-filters label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:13px;text-align:left}
.ext-form input:not([type=checkbox]),.ext-form textarea,.ext-form select,.ext-filters input,.ext-filters select{width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--border-color,#cbd5e1);border-radius:8px;padding:10px 12px;font:inherit;background:var(--bg-input,#fff);color:inherit}
.ext-form input:focus,.ext-form select:focus,.ext-form textarea:focus,.ext-filters input:focus,.ext-filters select:focus{outline:2px solid #f87171;outline-offset:2px}
.ext-form textarea{resize:vertical}.ext-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ext-wide{grid-column:1/-1}.ext-form>h3:not(:first-child){margin-top:24px}.ext-form>.ext-actions,.ext-form>button{margin-top:18px}
.ext-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ext-orders .ext-card{margin:0}.ext-order h3{margin-top:18px}.ext-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.ext-summary{display:grid;gap:14px;margin:18px 0}.ext-summary dt{font-size:12px;color:#64748b;margin-bottom:4px}.ext-summary dd{margin:0;font-size:14px;overflow-wrap:anywhere}.ext-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ext-badge{display:inline-block;font-size:12px;padding:5px 10px;border-radius:30px;background:#f1f5f9;color:#334155}.status-em_execucao{background:#ffedd5;color:#9a3412}.status-inspecao_tecnica{background:#dbeafe;color:#1e40af}.status-execucao_pausada{background:#fef3c7;color:#92400e}.status-concluida{background:#dcfce7;color:#166534}.status-cancelada{background:#fee2e2;color:#991b1b}
.ext-late{border-left:4px solid #dc2626}.ext-deadline{padding:12px 18px;border-radius:8px;background:#fef2f2;color:#991b1b}.ext-empty{text-align:center;padding:45px}.ext-pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}
.ext-form .ext-check{display:flex;flex-direction:row;align-items:center;font-weight:400;margin:12px 0}.ext-check input{width:18px;height:18px;flex-shrink:0}.ext-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ext-form fieldset{border:1px solid var(--border-color,#e2e8f0);border-radius:10px;padding:18px;margin-top:20px}.ext-form legend{padding:0 6px;font-weight:600}
.ext-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.ext-photos img{width:100%;height:150px;object-fit:cover;border-radius:8px}.ext-history{list-style:none;padding:0;margin:0}.ext-history li{padding:16px 0;border-bottom:1px solid var(--border-color,#e2e8f0)}.ext-history li:last-child{border:0}.ext-history time{font-size:12px;color:#64748b}
html[data-theme=dark] .ext-card,html[data-theme=dark] .externas-nav a{background:#172033;border-color:#334155}html[data-theme=dark] .externas-workspace{color:#e2e8f0}html[data-theme=dark] .ext-form input:not([type=checkbox]),html[data-theme=dark] .ext-form textarea,html[data-theme=dark] .ext-form select,html[data-theme=dark] .ext-filters input,html[data-theme=dark] .ext-filters select{background:#0f172a;border-color:#475569}
@media(max-width:900px){.ext-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ext-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ext-members{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.externas-workspace{padding:16px 12px}.ext-grid,.ext-orders,.ext-filters,.ext-detail-grid,.ext-members{grid-template-columns:1fr}.ext-card{padding:16px}.ext-stats{gap:10px}.ext-stats .ext-card{margin:8px 0}.ext-section-heading h2{font-size:22px}.ext-filters .ext-actions{width:100%}.ext-actions .ext-button{flex:1}.ext-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{body,html[data-theme=dark] body{background:#fff!important;color:#111!important}.workspace-sidebar,.workspace-backdrop,.workspace-mobile-header,.workspace-mobile-nav,.sidebar,.sidebar-enterprise,.topbar,.enterprise-topbar,.externas-heading,.externas-nav,.ext-no-print,.mobile-bottom-nav,header:not(.ext-print-heading),[data-workspace-backdrop],.notification-drawer,.deadline-alert-drawer{display:none!important}.main-content{margin:0!important;padding:0!important;width:100%!important}.externas-workspace{padding:0;color:#111!important;max-width:none}.ext-card,html[data-theme=dark] .ext-card{box-shadow:none;background:#fff!important;border-color:#ccc;color:#111!important;break-inside:avoid}.ext-photos img{height:120px}.ext-detail-grid{grid-template-columns:repeat(2,1fr)}.ext-print-heading{display:flex!important}a{color:inherit;text-decoration:none}}

/* Dashboard e formulários: proporções e cores do modelo fornecido. */
.externas-workspace{padding:24px 24px 40px}.externas-heading{margin-bottom:28px}.externas-heading h1{font-size:24px;font-weight:700;margin:0 0 8px}.externas-heading p{margin:0;font-size:16px;color:#4b5563}
.ext-card{border-radius:8px;padding:24px;box-shadow:0 1px 2px #0000000d;margin:0 0 24px}.ext-card h2,.ext-card h3{font-size:18px;font-weight:600}.ext-section-heading{margin:0 0 16px}.ext-section-heading h2{font-size:20px;margin:0}
.ext-button{border-radius:8px;font-weight:500;padding:9px 16px;min-height:40px}.ext-gray{background:#6b7280;color:#fff}.ext-gray:hover{background:#4b5563;color:#fff}.ext-button:focus-visible,.fe-navigation a:focus-visible,.fe-logout:focus-visible,.ext-view-link:focus-visible{outline:2px solid #dc2626;outline-offset:3px}
.ext-form label,.ext-filters label{font-weight:500;font-size:14px;color:#374151;gap:5px}.ext-form input:not([type=checkbox]),.ext-form textarea,.ext-form select,.ext-filters input,.ext-filters select{border-color:#d1d5db;min-height:42px;padding:9px 12px;font-size:14px}.ext-grid{gap:24px}.ext-form>h3:not(:first-child){margin-top:28px}.ext-form>.ext-actions{margin-top:28px}
.ext-filter-panel h2{margin-bottom:16px}.ext-filter-panel .ext-filters{grid-template-columns:2fr 1fr 1fr}.ext-filter-panel>.ext-actions{margin-top:16px}.ext-stats{gap:24px;margin-bottom:32px}.ext-stats .ext-card{margin:0}.ext-stat{display:flex;align-items:center;gap:16px}.ext-stat strong{font-size:24px;margin:4px 0 0;color:#111827}.ext-stat div>span{font-size:14px;font-weight:500;color:#4b5563}.ext-stat-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.ext-stat-icon .fe-icon{width:24px;height:24px}.ext-tone-blue{color:#0ea5e9;background:#f0f9ff}.ext-tone-amber{color:#f59e0b;background:#fffbeb}.ext-tone-green{color:#22c55e;background:#f0fdf4}.ext-tone-red{color:#ef4444;background:#fef2f2}
.ext-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:32px}.ext-overview .ext-card{margin:0}.ext-overview h2{display:flex;align-items:center;gap:8px;margin-bottom:6px}.ext-overview h2 .fe-icon{color:#3b82f6}.ext-overview section:nth-child(2) h2 .fe-icon{color:#22c55e}.ext-panel-caption{font-size:12px;color:#6b7280;margin:0 0 14px}.ext-overview-row{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:10px 0;border-bottom:1px solid #f3f4f6;font-size:14px}.ext-overview-row:last-child{border:0}.ext-overview-row strong{font-weight:500}.ext-overview-row small{display:block;color:#6b7280;margin-top:4px;font-size:12px}.ext-count{background:#eff6ff;color:#1d4ed8;font-size:12px;border-radius:999px;padding:4px 10px;white-space:nowrap}
.ext-table-card{padding:0;overflow:hidden}.ext-table-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid #e5e7eb}.ext-table-heading h2{margin:0}.ext-os-table{font-size:14px;min-width:980px}.ext-os-table th{padding:12px 24px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.05em;background:#f9fafb;color:#6b7280;white-space:nowrap}.ext-os-table td{padding:16px 24px;vertical-align:middle}.ext-os-table tbody tr:last-child td{border-bottom:0}.ext-os-table tbody tr:hover{background:#f9fafb}.ext-os-table small{display:block;margin-top:5px;font-size:12px;color:#6b7280;line-height:1.5}.ext-table-description{min-width:240px;max-width:320px}.ext-table-description>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.ext-order-number{font-weight:600;color:#111827;text-decoration:none;white-space:nowrap}.ext-order-number:hover{color:#dc2626}.ext-table-date{white-space:nowrap}.ext-os-table .ext-overdue{color:#dc2626}.ext-badge{white-space:nowrap;font-weight:500}.ext-view-link{display:inline-flex;align-items:center;gap:6px;color:#2563eb;text-decoration:none;min-height:40px}.ext-view-link:hover{color:#1d4ed8}.ext-table-empty{text-align:center;padding:48px 24px!important;color:#6b7280}.ext-table-empty strong{color:#374151}.ext-table-empty p{margin-bottom:0}
@media(max-width:1000px){.ext-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ext-stat{padding:20px}}
@media(max-width:600px){.externas-workspace{padding:24px 16px}.ext-filter-panel .ext-filters,.ext-overview{grid-template-columns:1fr}.ext-stats{gap:12px}.ext-stats .ext-card{padding:16px 12px}.ext-stat{gap:10px}.ext-stat-icon{width:36px;height:36px}.ext-stat-icon .fe-icon{width:20px;height:20px}.ext-stat div>span{font-size:12px}.ext-card{padding:20px}.ext-table-card{padding:0}.ext-table-heading{padding:16px;flex-wrap:wrap}.ext-overview{gap:16px}.ext-grid{gap:18px}.ext-table-heading .ext-button{font-size:13px}}
@media print{.ext-os-table{min-width:0;font-size:10px}.ext-os-table td,.ext-os-table th{padding:8px}.ext-table-card{overflow:visible}.fe-table-wrap{overflow:visible}}
.ext-view-link:is(button){background:transparent;border:0;font:inherit;cursor:pointer;padding:0}.ext-preview-dialog{width:min(560px,calc(100% - 32px));border:1px solid #e5e7eb;border-radius:8px;padding:24px;color:#111827;box-shadow:0 16px 48px #0003}.ext-preview-dialog::backdrop{background:#11182766}.ext-preview-dialog h2{font-size:20px}.ext-preview-dialog dl{display:grid;gap:16px}.ext-preview-dialog dt{font-size:12px;color:#6b7280}.ext-preview-dialog dd{margin:4px 0 0;font-size:14px}

/* Novidades do index3.html: filtros completos e resumo por colaborador. */
.ext-filter-panel>.ext-filters:first-of-type{grid-template-columns:repeat(5,minmax(0,1fr))}.ext-filter-panel .ext-filter-dates{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 12px}.ext-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.ext-panel-heading h2{margin:0}.ext-text-button{background:transparent;border:0;padding:8px 0;color:#2563eb;font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}.ext-text-button:hover,.ext-collaborator-link:hover{color:#1d4ed8;text-decoration:underline}.ext-collaborator-link{color:#374151;text-decoration:none}.ext-collaborator-card{background:linear-gradient(90deg,#eff6ff,#eef2ff);border-color:#bfdbfe}.ext-collaborator-identity{display:flex;align-items:center;gap:16px}.ext-collaborator-identity h2{margin:0 0 4px}.ext-collaborator-identity p{margin:0;color:#6b7280;font-size:14px}.ext-collaborator-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;text-align:center}.ext-collaborator-stats strong{display:block;font-size:24px;color:#2563eb}.ext-collaborator-stats span{font-size:12px;color:#6b7280}.ext-collaborator-stats>div:nth-child(2) strong{color:#d97706}.ext-collaborator-stats>div:nth-child(3) strong{color:#16a34a}.ext-collaborator-stats>div:nth-child(4) strong{color:#dc2626}.ext-collaborators-dialog{width:min(880px,calc(100% - 32px));max-height:85vh;overflow:auto}.ext-collaborators-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ext-collaborator-item{border:1px solid #e5e7eb;border-radius:8px;padding:16px;overflow-wrap:anywhere}.ext-collaborator-item h3{margin:0;font-size:16px}.ext-collaborator-item p{margin:4px 0 0;font-size:12px;color:#6b7280}.ext-collaborator-item .ext-collaborator-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ext-blue{background:#2563eb}.ext-blue:hover{background:#1d4ed8}.ext-text-button:focus-visible,.ext-collaborator-link:focus-visible{outline:2px solid #dc2626;outline-offset:3px}
@media(max-width:1000px){.ext-filter-panel>.ext-filters:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ext-filter-panel>.ext-filters:first-of-type,.ext-filter-panel .ext-filter-dates,.ext-collaborators-grid{grid-template-columns:1fr}.ext-collaborator-card .ext-collaborator-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ext-panel-heading{align-items:flex-start;flex-wrap:wrap}.ext-panel-heading h2{font-size:16px}}
@media print{dialog,.ext-text-button{display:none!important}}
.ext-stat-link{text-decoration:none;color:inherit;transition:box-shadow .15s}.ext-stat-link:hover{box-shadow:0 4px 12px #00000012}.ext-stat-link:focus-visible{outline:2px solid #dc2626;outline-offset:3px}.ext-card form{margin:0}.ext-order-actions{display:flex;align-items:center;gap:12px}

.fe-technician-board{max-width:1040px;margin:0 auto}
.fe-technician-filter{display:grid;grid-template-columns:2fr 1fr auto;gap:16px;align-items:end}
.fe-technician-filter .ext-actions{margin:0}
.fe-technician-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px}
.fe-technician-list-heading h2{font-size:18px;margin:0}.fe-technician-list-heading p{font-size:13px;margin:0}
.fe-technician-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.fe-technician-order{margin:0;min-width:0;overflow-wrap:anywhere}
.fe-technician-order-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.fe-technician-order h3{font-size:18px;margin-bottom:6px}
.fe-technician-address{font-size:14px;color:#475569;margin:0 0 14px}
.fe-technician-deadline{font-size:14px;margin:0 0 16px}
.fe-technician-order-soon{border-left:4px solid #d97706}.fe-technician-order-overdue{border-left:4px solid #dc2626}
.fe-technician-service summary,.fe-technician-closeout summary{cursor:pointer;font-size:14px;font-weight:600;padding:10px 0;color:#334155}
.fe-technician-service p{font-size:14px}.fe-technician-service .ext-pre-wrap{max-height:260px;overflow:auto}
.fe-technician-actions{margin-top:16px}.fe-technician-actions form{margin:0}
.fe-technician-closeout{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:6px}
.fe-technician-closeout form{display:grid;gap:12px;padding-top:8px}
@media(max-width:760px){.fe-technician-orders{grid-template-columns:1fr}.fe-technician-filter{grid-template-columns:1fr}.fe-technician-list-heading{align-items:flex-start;flex-direction:column;gap:6px}.fe-technician-actions .ext-button{min-height:44px}}
