/* Minimal corner radius for the CRM app (25.10.2026). Loaded last by index.html only. */
:root, html.crm-app { --radius: 4px; --radius-sm: 2px; --ui-button-radius: var(--radius); --ui-dialog-radius: var(--radius);
    --ui-input-radius: var(--radius); --ui-item-radius: var(--radius); --ui-panel-radius: var(--radius); }
/* Rules of portal.css, portal-workspace.css and onboarding.css, only inside the CRM */
html.crm-app .portal-page button, html.crm-app .portal-admin button, html.crm-app .portal-link { border-radius: var(--radius); }
html.crm-app .portal-page input, html.crm-app .portal-page textarea, html.crm-app .portal-page select, html.crm-app .portal-admin input, html.crm-app .portal-admin textarea, html.crm-app .portal-admin select { border-radius: var(--radius); }
html.crm-app .portal-auth { border-radius: var(--radius); }
html.crm-app .portal-highlight { border-radius: var(--radius); }
html.crm-app .portal-tag { border-radius: var(--radius-sm); }
html.crm-app .portal-notification { border-radius: var(--radius); }
html.crm-app #portal-notice { border-radius: var(--radius); }
html.crm-app .portal-badge { border-radius: var(--radius); }
html.crm-app .portal-admin-notice:not(:empty) { border-radius: var(--radius); }
html.crm-app .portal-progress { border-radius: var(--radius-sm); }
html.crm-app .portal-page .portal-check input[type=checkbox], html.crm-app .portal-admin .portal-check input[type=checkbox] { border-radius: var(--radius-sm); }
html.crm-app .portal-acceptance { border-radius: var(--radius); }
html.crm-app .pw-sidebar-project { border-radius: var(--radius); }
html.crm-app .pw-project-monogram { border-radius: var(--radius); }
html.crm-app .pw-sidebar nav button { border-radius: var(--radius); }
html.crm-app .pw-sidebar .customer-appearance { border-radius: var(--radius); }
html.crm-app .pw-project-hero { border-radius: var(--radius); }
html.crm-app .pw-live-status { border-radius: var(--radius); }
html.crm-app .portal-admin .pw-metric, html.crm-app .portal-page .pw-metric { border-radius: var(--radius); }
html.crm-app .pw-panel { border-radius: var(--radius); }
html.crm-app .pw-row-icon { border-radius: var(--radius); }
html.crm-app .pw-contact-panel { border-radius: var(--radius); }
html.crm-app .pw-customer-content:not([data-page=project]) { border-radius: var(--radius); }
html.crm-app .portal-admin-content:not([data-page=overview]) { border-radius: var(--radius); }
html.crm-app .portal-admin-content .portal-deadline-panel { border-radius: var(--radius); }
@media(max-width:760px) { html.crm-app .portal-page .pw-metric, html.crm-app .portal-admin .pw-metric { border-radius: var(--radius) !important; } }
html.crm-app .pw-embedded-host { border-radius: var(--radius); }
html.crm-app .portal-upload-picker { border-radius: var(--radius); }
html.crm-app .pw-booking-calendar { border-radius: var(--radius); }
html.crm-app .portal-page .pw-calendar-days button { border-radius: var(--radius); }
html.crm-app .portal-page .pw-slot-list button { border-radius: var(--radius); }
html.crm-app .pw-booking-selection { border-radius: var(--radius); }
html.crm-app .pw-header-actions .pw-preview-link { border-radius: var(--radius); }
html.crm-app .pw-task-mail-bar { border-radius: var(--radius); }
html.crm-app .pw-task-mail-dialog { border-radius: var(--radius); }
html.crm-app .pw-task-mail-form input:not([type=checkbox]), html.crm-app .pw-task-mail-form textarea { border-radius: var(--radius-sm); }
html.crm-app .pw-task-mail-preview { border-radius: var(--radius); }
html.crm-app .pw-message { border-radius: var(--radius); }
html.crm-app .pw-message-dialog { border-radius: var(--radius); }
html.crm-app .pw-filter-chips button { border-radius: var(--radius-sm); }
html.crm-app .pw-tile-media { border-radius: var(--radius); }
html.crm-app .portal-admin .pw-compose { border-radius: var(--radius); }
html.crm-app .pw-tile-new { border-radius: var(--radius); }
html.crm-app .pw-logo-plate { border-radius: var(--radius); }
html.crm-app .pw-sidebar-project.has-logo .pw-logo-plate.is-light { border-radius: var(--radius); }
html.crm-app .portal-admin .pw-segment { border-radius: var(--radius); }
html.crm-app .ob-page button, html.crm-app .ob-page .ob-link, html.crm-app .ob-admin button, html.crm-app .ob-admin .ob-link { border-radius: var(--radius); }
html.crm-app .ob-page input, html.crm-app .ob-page textarea, html.crm-app .ob-admin textarea, html.crm-app .ob-admin input { border-radius: var(--radius); }
html.crm-app .ob-badge { border-radius: var(--radius); }
html.crm-app .ob-admin dialog { border-radius: var(--radius); }
html.crm-app .ob-admin select { border-radius: var(--radius); }
html.crm-app .ob-facts li { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-info p { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-head .oa-refresh { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-card { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-next { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-next .oa-main { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-ico { border-radius: var(--radius); }
html.crm-app .ob-admin .oa-tools .oa-tool { border-radius: var(--radius); }
