/* Shared surfaces and controls for the manager's secondary pages. */
main { color: #202b2c; }
main h1, main h2, main h3 { color: #243732; letter-spacing: -.02em; }
main :is(.bg-white.border, .bg-white.rounded-lg, .estimate-main, .new-upload-panel, .ai-dialog, .ai-materials) {
  border-color: #e0e7e4; border-radius: 18px;
  box-shadow: 0 2px 5px rgba(28,48,43,.035), 0 12px 32px rgba(28,48,43,.045);
}
main :is(.bg-slate-50, .bg-slate-100) { background-color: #f5f7f5; }
main :is(.border-slate-100, .border-slate-200, .border-slate-300) { border-color: #dce5e0; }
main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  min-height: 40px; border-color: #dce5e0; border-radius: 10px; background-color: #f7f9f7; color: #263633;
}
main :is(input, select, textarea, button, a):focus-visible { outline: 2px solid #62978a; outline-offset: 2px; }
main :is(input[type="checkbox"], input[type="radio"]) { accent-color: #315f59; }
main :is(.text-slate-400, .text-slate-500, .text-slate-600) { color: #687776; }
main :is(.text-blue-600, .text-blue-700) { color: #315f59; }
main :is(button.bg-blue-600, a.bg-blue-600, button.bg-emerald-600, a.bg-emerald-600, .new-scan-btn, .import-submit, .estimate-main button[type="submit"], .project-page .project-actions a.project-action-primary) {
  border-color: #315f59; border-radius: 10px; background: #315f59; color: #fff;
}
main :is(button.bg-blue-600, a.bg-blue-600, button.bg-emerald-600, a.bg-emerald-600, .new-scan-btn, .import-submit, .estimate-main button[type="submit"], .project-page .project-actions a.project-action-primary):hover { border-color: #254c47; background: #254c47; color: #fff; }
main :is(a.bg-white.border, button.bg-white.border, button.bg-slate-100, a.bg-slate-100, .new-file-picker, .import-picker, .project-page .project-actions a, .project-page .project-actions button) { border-radius: 10px; border-color: #dce5e0; }
main :is(.new-upload-panel, .ai-launch, .import-card) { border-color: #e0e7e4; }
main .ai-launch { background: #f5f7f5; }
@media (max-width: 640px) { main :is(.bg-white.border, .estimate-main) { min-width: 0; } }
