/* RobotaCRM 0.24.14 — shared screen theme.
 * Explicit legacy component families; no substring selectors.
 * Dashboard workspace retains its accepted 0.24.13 stylesheet.
 * Print layouts, status colours, visibility and JS hooks are not reset.
 */
@media screen {
body.crm-project-theme {
  --crm-primary:#087f83; --crm-primary-dark:#06666a;
  --crm-bg:#f4f7fa; --crm-card:#fff; --crm-text:#17263c;
  --crm-muted:#607087; --crm-border:#dfe6ee;
  background:var(--crm-bg); color:var(--crm-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.crm-project-theme .app-main {max-width:none; min-width:0;}
body.crm-project-theme .crm-theme-content {font-size:15px; line-height:1.5;}
body.crm-project-theme .crm-theme-content :is(.admin-companies-hero,
  .afb-hero,
  .article-editor-hero,
  .article-hero,
  .articles-admin-hero,
  .au-hero,
  .branding-hero,
  .calendarui-hero,
  .chat-hero,
  .compact-hero,
  .company-form-hero,
  .companyui-hero,
  .cs-hero,
  .cust-hero,
  .customer-form-hero,
  .customer-portal-hero,
  .devc-hero,
  .devform-hero,
  .device-detail-hero,
  .devices-pro__hero,
  .dir-hero,
  .empdash-hero,
  .feedback-hero,
  .hero,
  .hk-hero,
  .jobform-hero,
  .jobpay-hero,
  .jobsux-hero,
  .jobtabs-hero,
  .kanban-hero,
  .knowledge-hero,
  .lp-hero,
  .mail-hero,
  .nc-hero,
  .page-hero,
  .planner-hero,
  .pp-hero,
  .ppd-hero,
  .pr-hero,
  .protocol-form-hero,
  .protocol-hero,
  .public-order-hero,
  .public-subpage-hero,
  .public-thanks-hero,
  .pubreq-hero,
  .pw-hero,
  .qualityv2-hero,
  .quickui-hero,
  .recv-hero,
  .reminder-form-hero,
  .reminder-pro-hero,
  .requestbox-hero,
  .rv-hero,
  .search-hero,
  .sec-hero,
  .service-catalog-hero,
  .service-template-hero,
  .st-hero,
  .team-hero,
  .tpl-hero,
  .tpl-pack-hero,
  .upd-hero) {
  background:#fff; color:var(--crm-text); border:1px solid var(--crm-border);
  border-radius:9px; box-shadow:none; padding:22px; gap:20px;
}
body.crm-project-theme .crm-theme-content :is(.admin-companies-hero,
  .afb-hero,
  .article-editor-hero,
  .article-hero,
  .articles-admin-hero,
  .au-hero,
  .branding-hero,
  .calendarui-hero,
  .chat-hero,
  .compact-hero,
  .company-form-hero,
  .companyui-hero,
  .cs-hero,
  .cust-hero,
  .customer-form-hero,
  .customer-portal-hero,
  .devc-hero,
  .devform-hero,
  .device-detail-hero,
  .devices-pro__hero,
  .dir-hero,
  .empdash-hero,
  .feedback-hero,
  .hero,
  .hk-hero,
  .jobform-hero,
  .jobpay-hero,
  .jobsux-hero,
  .jobtabs-hero,
  .kanban-hero,
  .knowledge-hero,
  .lp-hero,
  .mail-hero,
  .nc-hero,
  .page-hero,
  .planner-hero,
  .pp-hero,
  .ppd-hero,
  .pr-hero,
  .protocol-form-hero,
  .protocol-hero,
  .public-order-hero,
  .public-subpage-hero,
  .public-thanks-hero,
  .pubreq-hero,
  .pw-hero,
  .qualityv2-hero,
  .quickui-hero,
  .recv-hero,
  .reminder-form-hero,
  .reminder-pro-hero,
  .requestbox-hero,
  .rv-hero,
  .search-hero,
  .sec-hero,
  .service-catalog-hero,
  .service-template-hero,
  .st-hero,
  .team-hero,
  .tpl-hero,
  .tpl-pack-hero,
  .upd-hero) h1 {
  font-size:clamp(24px,2.2vw,30px); line-height:1.2; letter-spacing:-.025em;
  font-weight:700; color:var(--crm-text); margin:0 0 8px;
}
body.crm-project-theme .crm-theme-content :is(.admin-companies-hero,
  .afb-hero,
  .article-editor-hero,
  .article-hero,
  .articles-admin-hero,
  .au-hero,
  .branding-hero,
  .calendarui-hero,
  .chat-hero,
  .compact-hero,
  .company-form-hero,
  .companyui-hero,
  .cs-hero,
  .cust-hero,
  .customer-form-hero,
  .customer-portal-hero,
  .devc-hero,
  .devform-hero,
  .device-detail-hero,
  .devices-pro__hero,
  .dir-hero,
  .empdash-hero,
  .feedback-hero,
  .hero,
  .hk-hero,
  .jobform-hero,
  .jobpay-hero,
  .jobsux-hero,
  .jobtabs-hero,
  .kanban-hero,
  .knowledge-hero,
  .lp-hero,
  .mail-hero,
  .nc-hero,
  .page-hero,
  .planner-hero,
  .pp-hero,
  .ppd-hero,
  .pr-hero,
  .protocol-form-hero,
  .protocol-hero,
  .public-order-hero,
  .public-subpage-hero,
  .public-thanks-hero,
  .pubreq-hero,
  .pw-hero,
  .qualityv2-hero,
  .quickui-hero,
  .recv-hero,
  .reminder-form-hero,
  .reminder-pro-hero,
  .requestbox-hero,
  .rv-hero,
  .search-hero,
  .sec-hero,
  .service-catalog-hero,
  .service-template-hero,
  .st-hero,
  .team-hero,
  .tpl-hero,
  .tpl-pack-hero,
  .upd-hero) p {
  font-size:15px; line-height:1.5; color:var(--crm-muted);
}
body.crm-project-theme .crm-theme-content :is(.admin-companies-panel,
  .afb-card,
  .article-side-card,
  .articles-admin-panel,
  .au-card,
  .au-side-card,
  .auth-card,
  .branding-card,
  .calendarui-panel,
  .card,
  .chat-card,
  .check-card,
  .companyui-card,
  .companyui-side-card,
  .cs-card,
  .cs-form-card,
  .cs-side-card,
  .cust-card,
  .cust-list-panel,
  .cust-search-panel,
  .cust-stat-card,
  .customer-form-panel,
  .customer-portal-card,
  .customer-side-card,
  .devc-card,
  .devform-side-card,
  .devices-pro__card,
  .devices-pro__panel,
  .dir-card,
  .editor-panel,
  .empdash-card,
  .empty-search-card,
  .estimate-chat-panel,
  .estimate-details-panel,
  .estimate-items-panel,
  .estimate-offer-card,
  .estimate-panel,
  .estimate-total-panel,
  .feedback-card,
  .filter-card,
  .form-card,
  .hk-card,
  .jobfollow-card,
  .jobform-card,
  .jobform-side-card,
  .jobpay-card,
  .jobpay-reminder-card,
  .jobsui-panel,
  .jobsux-panel,
  .jobtab-panel,
  .jobtabs-card,
  .jobtabs-side-card,
  .kanban-card,
  .kanban-filter-panel,
  .knowledge-card,
  .knowledge-topic-panel,
  .lp-card,
  .lp-inbox-card,
  .lp-panel,
  .lp-profile-card,
  .mail-card,
  .mobile-card,
  .nc-category-card,
  .note-card,
  .panel-card,
  .pp-card,
  .pp-contact-card,
  .pp-review-distribution-card,
  .ppd-card,
  .pr-detail-card,
  .pr-panel,
  .protocol-panel,
  .public-chat-card,
  .public-device-card,
  .public-order-card,
  .public-request-card,
  .public-subpage-card,
  .public-thanks-card,
  .pubreq-art-card,
  .pubreq-card,
  .pubreq-mobile-card,
  .pubreq-side-card,
  .pw-card,
  .qualityv2-side-card,
  .qualityv2-summary-card,
  .quickui-card,
  .quickui-ill-card,
  .quickui-side-card,
  .recv-card,
  .recv-filter-card,
  .reg-card,
  .related-card,
  .reminder-form-card,
  .reminder-pro-list-card,
  .report-filter-card,
  .requestbox-card,
  .requestbox-filter-card,
  .requestbox-tab-panel,
  .rv-card,
  .search-hint-card,
  .search-panel,
  .search-result-card,
  .search-summary-card,
  .sec-audit-card,
  .sec-export-panel,
  .sec-logs-card,
  .sec-panel,
  .service-catalog-panel,
  .service-category-card,
  .st-mode-card,
  .stat-card,
  .team-card,
  .tpl-filter-card,
  .tpl-help-card,
  .tpl-pack-card,
  .tpl-pack-side-card,
  .tpl-side-card,
  .tpl-table-card,
  .upd-last-card,
  .upd-panel,
  .upd-step-card):not(.is-danger):not(.is-warning):not(.is-success):not(.warning):not(.danger):not(.success) {
  background:#fff; border-color:var(--crm-border); border-radius:9px; box-shadow:none;
}
body.crm-project-theme .crm-theme-content :is(h2,h3) {
  letter-spacing:normal; line-height:1.35;
}
body.crm-project-theme .crm-theme-content :is(h2) {
  font-size:20px; font-weight:650;
}
body.crm-project-theme .crm-theme-content :is(h3) {
  font-size:17px; font-weight:650;
}
body.crm-project-theme .crm-theme-content :is(.afb-btn,
  .article-admin-btn,
  .au-btn,
  .branding-btn,
  .btn,
  .btn-primary,
  .btn-primary-big,
  .btn-primary-small,
  .btn-secondary,
  .btn-secondary-big,
  .btn-soft,
  .calendarui-btn,
  .chat-button,
  .chat-payment-report-button,
  .chat-review-submit,
  .compact-btn,
  .cs-btn,
  .cs-small-btn,
  .customer-cancel-btn,
  .customer-portal-document-button,
  .customer-portal-message-button,
  .customer-submit-btn,
  .devc-btn,
  .devform-cancel,
  .devform-submit,
  .devices-pro__btn,
  .dir-btn,
  .editor-btn,
  .estimate-btn,
  .estimate-remove-btn,
  .feedback-submit,
  .hk-btn,
  .icon-button,
  .jobform-cancel,
  .jobform-submit,
  .jobpay-cancel,
  .jobsui-btn,
  .jobsux-btn,
  .jobsux-icon-btn,
  .jobsux-status-submit,
  .jobtabs-btn,
  .lp-btn,
  .mail-btn,
  .nc-button,
  .pc-btn,
  .planner-btn,
  .pp-btn,
  .ppd-btn,
  .pr-action-button,
  .pr-btn,
  .protocol-btn,
  .protocol-submit,
  .public-order-submit,
  .public-subpage-btn,
  .public-thanks-btn,
  .pwa-install-button,
  .qualityv2-btn,
  .quickui-cancel,
  .recv-btn,
  .reg-btn,
  .requestbox-btn,
  .review-btn,
  .rv-btn,
  .service-catalog-btn,
  .st-button,
  .team-btn) {
  border-radius:7px; box-shadow:none; font-weight:600;
  font-size:14px; line-height:1.4; min-height:40px; white-space:normal;
}
/* Legacy primary actions; retain their destructive and secondary variants. */
body.crm-project-theme .crm-theme-content :is(
 .afb-btn:not(.afb-btn--danger),
 .branding-btn:not(.branding-btn--soft),
 .chat-button,
 .devc-btn:not(.devc-btn--soft),
 .dir-btn:not(.dir-btn--ghost):not(.dir-btn--light),
 .mail-btn:not(.mail-btn--soft),
 .pc-btn,
 .ppd-btn:not(.ppd-btn--danger):not(.ppd-btn--light),
 .review-btn,
 .service-catalog-btn,
 .team-btn:not(.team-btn--ghost)
) {background:var(--crm-primary); color:#fff !important; border-color:var(--crm-primary); box-shadow:none;}
body.crm-project-theme .crm-theme-content :is(.btn-primary,
  .btn-primary-big,
  .btn-primary-small,
  .au-btn--primary,
  .calendarui-btn--primary,
  .cs-btn-primary,
  .customer-submit-btn,
  .devform-submit,
  .devices-pro__btn--primary,
  .estimate-btn--primary,
  .feedback-submit,
  .hk-btn-primary,
  .jobform-submit,
  .jobsui-btn--primary,
  .jobsux-btn--primary,
  .lp-btn--primary,
  .nc-button--primary,
  .planner-btn--primary,
  .pp-btn-primary,
  .pr-btn--primary,
  .protocol-submit,
  .public-order-submit,
  .public-subpage-btn--primary,
  .qualityv2-btn--primary,
  .recv-btn--primary,
  .reg-btn--primary,
  .st-button--primary),
body.crm-project-theme .crm-theme-content :is(.requestbox-btn,.protocol-btn,.jobtabs-btn,.editor-btn).primary {
  background:var(--crm-primary); border-color:var(--crm-primary); color:#fff !important;
  border-radius:7px; box-shadow:none; font-weight:600;
}
body.crm-project-theme .crm-theme-content :is(.rv-btn):not(.rv-btn--danger):not(.rv-btn--amber):not(.rv-btn--green):not(.rv-btn--soft) {
  background:var(--crm-primary); color:#fff !important;
}
body.crm-project-theme .crm-theme-content :is(.btn-secondary,
  .btn-secondary-big,
  .btn-soft,
  .au-btn--ghost,
  .branding-btn--soft,
  .calendarui-btn--ghost,
  .calendarui-btn--soft,
  .customer-cancel-btn,
  .devc-btn--soft,
  .devform-cancel,
  .estimate-btn--secondary,
  .hk-btn-secondary,
  .jobform-cancel,
  .jobsui-btn--ghost,
  .jobsui-btn--soft,
  .jobsux-btn--ghost,
  .jobsux-btn--soft,
  .mail-btn--soft,
  .planner-btn--ghost,
  .planner-btn--soft,
  .pp-btn-ghost,
  .pp-btn-light,
  .ppd-btn--light,
  .quickui-cancel,
  .recv-btn--light,
  .reg-btn--secondary,
  .team-btn--ghost,
  .customer-portal-document-button) {
  background:#fff; border:1px solid #cddae6; color:#42546b !important;
  border-radius:7px; box-shadow:none;
}
body.crm-project-theme .crm-theme-content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),
body.crm-project-theme .crm-theme-content select,
body.crm-project-theme .crm-theme-content textarea {
  border:1px solid #cddae6; border-radius:7px; background:#fff; color:var(--crm-text);
  font:inherit; padding:10px 12px; max-width:100%; box-shadow:none;
}
body.crm-project-theme .crm-theme-content textarea {
  resize:vertical;
}
body.crm-project-theme .crm-theme-content :is(input,select,textarea)[aria-invalid="true"] {
  border-color:var(--crm-danger);
}
body.crm-project-theme .crm-theme-content :is(input,select,textarea):disabled {
  background:#f1f4f7; color:#607087; cursor:not-allowed;
}
body.crm-project-theme .crm-theme-content :is(input,select,textarea)[readonly] {
  background:#f6f8fa;
}
body.crm-project-theme .crm-theme-content input:is([type="checkbox"],[type="radio"]) {
  accent-color:var(--crm-primary);
}
body.crm-project-theme :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline:3px solid #087f83; outline-offset:3px;
}
body.crm-project-theme .crm-theme-content :is(button,input,select,textarea):focus-visible {
  border-color:var(--crm-primary); outline:3px solid #087f83; outline-offset:2px; box-shadow:none;
}
body.crm-project-theme .crm-theme-content :is(.data-table,.table,.au-table,.mail-table,.pubreq-table,.pr-table,.ppd-table) th {
  background:#f6f8fa; color:#53657d; font-size:13px; font-weight:600;
  text-transform:none; letter-spacing:normal; border-color:var(--crm-border);
}
body.crm-project-theme .crm-theme-content :is(.data-table,.table,.au-table,.mail-table,.pubreq-table,.pr-table,.ppd-table) td {
  border-color:#e8eef3; font-size:14px;
}
body.crm-project-theme .crm-theme-content :is(.customer-form-illustration,.jobform-illustration,.devform-illus) {
  display:none;
}
body.crm-project-theme .crm-theme-content :is(.customer-form-icon,.devform-ico,.au-hero__icon,.devices-pro__hero-icon,.cust-hero-icon,.branding-hero__icon,.devc-hero__icon,.mail-hero__icon) {
  width:48px; height:48px; min-width:48px; border-radius:12px;
  background:#e6f5f4; color:var(--crm-primary); box-shadow:none; font-size:24px;
}
body.crm-project-theme .crm-theme-content :is(.customer-preview,.devform-preview,.jobform-preview) {
  background:#f6fafa; border-color:var(--crm-border); border-radius:8px; box-shadow:none;
}
body.crm-project-theme .crm-theme-content :is(
 .customer-form-field,.devform-field,.jobform-field,.field,.form-field
)>span:first-child {font-weight:600;}
body.crm-project-theme .crm-theme-content :is(
 .customer-form-badge,.devform-badge,.jobform-badge,.customer-preview-type
) {background:#edf7f6; color:#086b70; font-weight:600; box-shadow:none;}
body.crm-project-theme .crm-theme-content :is(
 .customer-form-hero,.devform-hero,.jobform-hero,.cust-hero,.devices-pro__hero,
 .calendarui-hero,.planner-hero,.au-hero,.admin-companies-hero,.company-form-hero,
 .branding-hero,.mail-hero,.devc-hero,.reminder-pro-hero,.search-hero
) {background:transparent; border:0; border-radius:0; padding:4px 0 12px; box-shadow:none;}
body.crm-project-theme .public-layout-top {background:#fff; border-bottom:1px solid var(--crm-border); box-shadow:none; backdrop-filter:none;}
body.crm-project-theme .public-layout-mark,
body.crm-project-theme .public-layout-action--primary {background:#087f83; color:#fff; box-shadow:none; border-radius:7px;}
body.crm-project-theme .public-layout-nav .public-layout-nav__item--active {background:#e2f4f3; color:#06767b;}
body.crm-project-theme .public-layout-action--secondary {background:#fff; color:#42546b; border:1px solid #cddae6; box-shadow:none; border-radius:7px;}
body.crm-project-theme .public-layout-pill {background:#edf7f6; color:#086b70; border-color:#c8e6e3;}
}
@media screen and (max-width:760px) {
body.crm-project-theme .crm-theme-content {font-size:15px;}
body.crm-project-theme .crm-theme-content :is(input,select,textarea) {font-size:16px;}
}
