:root {
    --pc-navy: #102a43;
    --pc-navy-soft: #173f5f;
    --pc-orange: #ff7310;
    --pc-orange-soft: #fff2e8;
    --pc-text: #172b3a;
    --pc-muted: #6b7c8c;
    --pc-line: #e6edf3;
    --pc-surface: #ffffff;
    --pc-canvas: #f4f7fa;
    --pc-surface-soft: #f8fafc;
    --pc-surface-muted: #f8fafc;
    --pc-border: #dbe4ed;
    --pc-border-soft: #edf1f5;
    --pc-text-muted: #687b8d;
    --pc-focus-ring: rgba(255, 115, 16, .32);
    --pc-focus-shadow: 0 0 0 3px rgba(255, 115, 16, .12);
    --pc-shadow: 0 12px 35px rgba(16, 42, 67, .09);
    --pc-status-success: #18794e;
    --pc-status-info: #245f96;
    --pc-status-danger: #b42318;
    --pc-status-warning: #c95700;
    --pc-space-050: 4px;
    --pc-space-100: 8px;
    --pc-space-150: 12px;
    --pc-space-200: 16px;
    --pc-space-250: 20px;
    --pc-space-300: 24px;
    --pc-space-400: 32px;
    --pc-space-500: 40px;
    --pc-radius-100: 8px;
    --pc-radius-150: 12px;
    --pc-radius-175: 14px;
    --pc-radius-200: 16px;
    --pc-radius-250: 20px;
    --pc-radius-pill: 999px;
}

html, body, #app {
    width: 100%;
    min-width: 0;
    min-height: 100%;
}

body {
    overflow: hidden;
    color: var(--pc-text);
    background: var(--pc-canvas);
}

.pc-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pc-shell {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    background: var(--pc-canvas);
    transition: grid-template-columns .22s ease;
}

.pc-shell--nav-open {
    grid-template-columns: 292px minmax(0, 1fr);
}

.pc-sidebar {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 20% 0, rgba(255, 115, 16, .22), transparent 30%),
        linear-gradient(180deg, #102a43 0%, #0b2135 100%);
    box-shadow: 8px 0 28px rgba(10, 31, 49, .12);
}

.pc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 78px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.pc-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 52px;
    height: 50px;
    padding: 8px 10px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.pc-brand-link img {
    width: 210px;
    max-width: 100%;
    max-height: 36px;
    object-fit: contain;
}

.pc-sidebar-toggle {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
}

.pc-shell--nav-collapsed .pc-sidebar-toggle {
    display: none;
}

.pc-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 18px 12px;
    overflow-x: hidden;
    overflow-y: auto;
}

.pc-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    color: rgba(255, 255, 255, .78);
    font: inherit;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    background: transparent;
    cursor: pointer;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.pc-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
    transform: translateX(2px);
}

.pc-nav-item.k-selected,
.pc-nav-item.selected {
    color: #fff;
    background: linear-gradient(90deg, var(--pc-orange), #ff9248);
    box-shadow: 0 8px 22px rgba(255, 115, 16, .25);
}

.pc-nav-icon {
    flex: 0 0 24px;
    width: 24px;
    font-size: 20px;
    text-align: center;
}

.pc-nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-shell--nav-collapsed .pc-nav-label {
    display: none;
}

.pc-shell--nav-collapsed .pc-nav-item {
    justify-content: center;
    padding: 0;
}

.pc-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 20px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pc-sidebar-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5bd4a8;
    box-shadow: 0 0 0 4px rgba(91, 212, 168, .12);
}

.pc-workspace {
    min-width: 0;
    height: 100vh;
    overflow: hidden;
}

.pc-topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    height: 78px;
    padding: 10px 24px;
    border-bottom: 1px solid var(--pc-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 20px rgba(16, 42, 67, .045);
}

.pc-topbar-start,
.pc-topbar-actions,
.pc-manager,
.pc-manager-links,
.pc-manager-messengers {
    display: flex;
    align-items: center;
}

.pc-topbar-start {
    gap: 14px;
    min-width: 0;
}

.pc-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pc-line);
    border-radius: 13px;
    color: var(--pc-navy);
    background: #fff;
    cursor: pointer;
}

.pc-menu-button:hover {
    color: var(--pc-orange);
    border-color: #ffd0ad;
    background: var(--pc-orange-soft);
}

.pc-page-heading {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pc-page-heading strong {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-page-kicker,
.pc-company-select > span,
.pc-manager-copy > span {
    color: var(--pc-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pc-topbar-actions {
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
}

.pc-news-button.k-button {
    flex: 0 0 auto;
    border-color: #ffd0ad;
    color: #b64b00;
    background: var(--pc-orange-soft);
}

.pc-manager {
    gap: 10px;
    min-width: 0;
    padding-right: 16px;
    border-right: 1px solid var(--pc-line);
}

.pc-manager-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--pc-orange-soft);
}

.pc-manager-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pc-manager-copy strong {
    max-width: 210px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-manager-links {
    gap: 8px;
}

.pc-manager-links a {
    max-width: 180px;
    overflow: hidden;
    color: var(--pc-muted);
    font-size: 11px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-manager-links a:hover {
    color: var(--pc-orange);
}

.pc-manager-messengers {
    gap: 6px;
}

.pc-manager-messengers img {
    width: 25px;
    height: 25px;
}

.pc-company-select {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 0 0 auto;
}

.pc-main {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: calc(100vh - 78px);
    padding: 20px;
    overflow: auto;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 115, 16, .05), transparent 26rem),
        var(--pc-canvas);
}

.pc-nav-backdrop {
    display: none;
}

div.k-grid td,
.k-grid td.k-command-cell {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 3em !important;
    white-space: nowrap !important;
}

.k-grid td.k-command-cell .k-button {
    height: auto;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 3em;
}

.k-command-cell {
    text-align: center !important;
}

@media (max-width: 1180px) {
    .pc-manager-links {
        display: none;
    }

    .pc-manager-copy strong {
        max-width: 150px;
    }
}

@media (max-width: 920px) {
    body {
        overflow: hidden;
    }

    .pc-shell,
    .pc-shell--nav-open {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(292px, calc(100vw - 42px));
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .pc-shell--nav-open .pc-sidebar {
        transform: translateX(0);
    }

    .pc-shell--nav-collapsed .pc-nav-label {
        display: inline;
    }

    .pc-shell--nav-collapsed .pc-nav-item {
        justify-content: flex-start;
        padding: 0 15px;
    }

    .pc-sidebar-toggle {
        display: inline-grid !important;
    }

    .pc-nav-backdrop {
        position: fixed;
        z-index: 29;
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(7, 25, 40, .48);
        backdrop-filter: blur(2px);
    }

    .pc-topbar {
        height: auto;
        min-height: 72px;
        padding: 10px 14px;
    }

    .pc-manager {
        display: none;
    }

    .pc-main {
        height: calc(100vh - 72px);
        padding: 12px;
    }
}

@media (max-width: 640px) {
    .pc-page-kicker,
    .pc-news-button .pc-news-label,
    .pc-company-select > span {
        display: none;
    }

    .pc-page-heading strong {
        max-width: 105px;
        font-size: 15px;
    }

    .pc-topbar {
        gap: 8px;
    }

    .pc-topbar-actions {
        gap: 8px;
    }

    .pc-company-select .k-combobox {
        width: min(196px, 52vw) !important;
    }

    .pc-news-button.k-button {
        width: 42px;
        min-width: 42px;
        padding-inline: 0;
    }

    .pc-main {
        padding: 8px;
    }
}


/* UI_ENGINE_V2 */
:root {
    --pc-motion-fast: 150ms;
    --pc-motion-normal: 240ms;
    --pc-motion-ease: cubic-bezier(.2, .8, .2, 1);
}

.pc-shell {
    transition: grid-template-columns var(--pc-motion-normal) var(--pc-motion-ease);
}

.pc-sidebar,
.pc-workspace,
.pc-nav-label,
.pc-page-heading strong {
    will-change: auto;
}

.pc-nav-label {
    display: block;
    min-width: 0;
    max-width: 210px;
    overflow: hidden;
    opacity: 1;
    white-space: nowrap;
    transform: translateX(0);
    transition:
        max-width var(--pc-motion-normal) var(--pc-motion-ease),
        opacity var(--pc-motion-fast) ease-out,
        transform var(--pc-motion-normal) var(--pc-motion-ease);
}

.pc-shell--nav-collapsed .pc-nav-label {
    display: block;
    max-width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
}

.pc-nav-item {
    transition:
        color var(--pc-motion-fast) ease-out,
        background-color var(--pc-motion-fast) ease-out,
        box-shadow var(--pc-motion-fast) ease-out;
}

.pc-nav-item:hover {
    transform: none;
}

.pc-main > * {
    animation: pc-content-enter 180ms var(--pc-motion-ease) both;
}

@keyframes pc-content-enter {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pc-bootstrap-loader {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 18px;
    color: #16324a;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 115, 16, .08), transparent 34%),
        #f5f7fa;
}

.pc-bootstrap-mark {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
}

.pc-bootstrap-mark span {
    width: 8px;
    height: 20px;
    border-radius: 999px;
    background: #ff7310;
    animation: pc-bootstrap-pulse 900ms ease-in-out infinite;
}

.pc-bootstrap-mark span:nth-child(2) {
    height: 30px;
    animation-delay: 120ms;
}

.pc-bootstrap-mark span:nth-child(3) {
    animation-delay: 240ms;
}

.pc-bootstrap-copy {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.pc-bootstrap-copy strong {
    font-size: 17px;
}

.pc-bootstrap-copy small {
    color: #728295;
}

@keyframes pc-bootstrap-pulse {
    0%, 100% {
        opacity: .4;
        transform: scaleY(.72);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.k-loader-container {
    opacity: 0;
    background: rgba(247, 249, 252, .72) !important;
    backdrop-filter: blur(2px);
    animation: pc-loader-reveal 140ms ease-out 180ms forwards;
}

@keyframes pc-loader-reveal {
    to { opacity: 1; }
}

.pc-notifications {
    min-height: 320px;
}

.pc-settings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.pc-settings-header h2,
.pc-company-panel h3 {
    margin: 3px 0 7px;
    color: #16324a;
    font-weight: 700;
    line-height: 1.25;
}

.pc-settings-header h2 {
    font-size: clamp(22px, 2.2vw, 30px);
}

.pc-settings-header p,
.pc-company-panel p {
    margin: 0;
    color: #68798b;
    line-height: 1.55;
}

.pc-settings-kicker {
    color: #e75f00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pc-settings-save-state {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: #356e5b;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #cfe8de;
    border-radius: 999px;
    background: #f1faf6;
}

.pc-settings-save-state--error {
    color: #9f3a3a;
    border-color: #f0caca;
    background: #fff4f4;
}

.pc-settings-save-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.pc-notification-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    align-items: start;
    gap: 22px;
}

.pc-settings-panel {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid #e1e7ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(19, 44, 68, .05);
}

.pc-settings-panel legend {
    padding: 0 8px;
    color: #536779;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pc-event-panel {
    display: grid;
    gap: 8px;
}

.pc-event-option {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 66px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition:
        border-color var(--pc-motion-fast) ease-out,
        background-color var(--pc-motion-fast) ease-out,
        box-shadow var(--pc-motion-fast) ease-out;
}

.pc-event-option--unavailable {
    cursor: not-allowed;
}

.pc-event-option:hover {
    border-color: #e5eaf0;
    background: #f8fafc;
}

.pc-event-option:focus-within {
    border-color: rgba(255, 115, 16, .55);
    box-shadow: 0 0 0 3px var(--pc-focus-shadow);
}

.pc-event-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.pc-event-control {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #cfd7df;
    box-shadow: inset 0 0 0 1px rgba(22, 50, 74, .06);
    transition:
        background-color var(--pc-motion-fast) ease-out,
        box-shadow var(--pc-motion-fast) ease-out;
}

.pc-event-control::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(18, 42, 65, .24);
    transition: transform var(--pc-motion-fast) var(--pc-motion-ease);
}

.pc-event-option input:checked + .pc-event-control {
    background: #ff7310;
    box-shadow: inset 0 0 0 1px rgba(171, 67, 0, .1);
}

.pc-event-option input:checked + .pc-event-control::after {
    transform: translateX(18px);
}

.pc-event-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.pc-event-copy strong {
    color: #213d55;
    font-size: 14px;
    font-weight: 700;
}

.pc-event-copy small,
.pc-company-hint {
    color: #5f7383; /* 4.7:1 на #f8fafc для 12px пояснений */
    font-size: 12px;
    line-height: 1.45;
}

.pc-company-panel {
    position: sticky;
    top: 18px;
}

.pc-company-multiselect {
    margin-top: 18px;
}

.pc-company-multiselect .k-multiselect {
    min-height: 44px;
    border-color: #dbe3eb;
    border-radius: 11px;
}

.pc-company-hint {
    display: block;
    margin-top: 10px;
}

.pc-skip-link {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--pc-navy, #173149);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--pc-motion-fast, 140ms) var(--pc-motion-ease, ease);
}

.pc-skip-link:focus {
    outline: 3px solid var(--pc-focus-ring, rgba(255, 115, 16, .32));
    outline-offset: 3px;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .pc-skip-link {
        transition: none;
    }
}

/* VISUAL_POLISH_V4_FINAL_20260809 */
.pc-shell--nav-collapsed .pc-brand-link {
    padding: 4px;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    padding: 5px;
    overflow: hidden;
    place-items: center;
    border-radius: 13px;
    background: #fff;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.pc-settings-tabs .k-tabstrip-content {
    padding: 24px !important;
}

.k-grid .k-table-th,
.k-grid th.k-header,
.k-grid .k-grid-header th {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

.k-grid .k-grid-header .k-table-th > .k-cell-inner,
.k-grid .k-grid-header .k-table-th > .k-link {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.k-grid .k-grid-header .k-table-th > .k-cell-inner > .k-link,
.k-grid .k-grid-header .k-table-th > .k-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

@media (max-width: 720px) {
    .k-dialog-wrapper > .k-window.k-centered {
        top: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100dvh - 24px) !important;
        transform: none !important;
    }

    .pc-settings-tabs .k-tabstrip-content {
        padding: 18px !important;
    }
}

/* CUSTOM_GRID_ICONS_V1_20260809 */
.pc-data-surface .k-button .pc-icon,
.k-grid-toolbar .k-button .pc-icon,
.k-command-cell .k-button .pc-icon {
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 7px;
    vertical-align: -3px;
}

.k-command-cell .k-button .pc-icon {
    margin-right: 0;
}

.k-command-cell .k-button:has(.pc-icon) {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    min-height: 34px;
    line-height: 1 !important;
}

.pc-password-settings {
    min-height: 420px;
}

.pc-password-layout {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(260px, 360px);
    align-items: start;
    gap: 22px;
}

.pc-password-panel {
    display: grid;
    gap: 20px;
}

.pc-password-field {
    display: grid;
    gap: 8px;
}

.pc-password-field label {
    color: #29475e;
    font-size: 13px;
    font-weight: 750;
}

.pc-password-field small {
    color: #7a8998;
    font-size: 12px;
}

.pc-password-field .k-input {
    min-height: 44px;
    border-color: #dbe3eb;
    border-radius: 11px;
    box-shadow: none;
}

.pc-password-field .k-input:focus-within {
    border-color: rgba(255, 115, 16, .62);
    box-shadow: 0 0 0 3px var(--pc-focus-shadow);
}

.pc-password-field .k-form-error,
.pc-password-field .k-validation-message {
    margin: 0;
    color: #a33b3b;
    font-size: 12px;
}

.pc-password-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.pc-password-actions .k-button {
    min-height: 44px;
    padding-inline: 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff780f 0%, #ff5c00 100%);
    box-shadow: 0 8px 18px rgba(255, 107, 0, .22);
    font-weight: 750;
}

.pc-password-advice h3 {
    margin: 5px 0 8px;
    color: #16324a;
    font-size: 18px;
}

.pc-password-advice p {
    margin: 0;
    color: #68798b;
    font-size: 13px;
    line-height: 1.55;
}

.pc-password-result {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 12px;
    color: #356e5b;
    border: 1px solid #cfe8de;
    border-radius: 11px;
    background: #f1faf6;
    font-size: 13px;
    font-weight: 650;
}

.pc-password-result--error {
    color: #9f3a3a;
    border-color: #f0caca;
    background: #fff4f4;
}

.pc-settings-message,
.pc-settings-skeleton {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 16px 18px;
    color: var(--pc-text);
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    background: var(--pc-surface-soft);
}

.pc-settings-message {
    display: grid;
    gap: 4px;
    margin-top: 18px;
}

.pc-settings-message--error {
    color: #913b3b;
    border-color: #efcece;
    background: #fff6f6;
}

.pc-settings-skeleton-icon {
    width: 28px;
    height: 28px;
    border: 3px solid var(--pc-border);
    border-top-color: var(--pc-orange);
    border-radius: 50%;
    animation: pc-spin 700ms linear infinite;
}

.pc-settings-skeleton div {
    display: grid;
    gap: 3px;
}

.pc-settings-skeleton span {
    color: var(--pc-text-muted);
    font-size: 12px;
}

@keyframes pc-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
    .pc-notification-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-password-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-company-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .pc-settings-header {
        display: grid;
    }

    .pc-settings-save-state {
        justify-self: start;
    }

    .pc-settings-panel {
        padding: 14px;
        border-radius: 14px;
    }

    .pc-password-actions {
        justify-content: stretch;
    }

    .pc-password-actions .k-button {
        width: 100%;
    }

    .pc-event-option {
        min-height: 72px;
        padding-inline: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-shell,
    .pc-sidebar,
    .pc-nav-label,
    .pc-nav-item,
    .pc-main > *,
    .pc-bootstrap-mark span,
    .pc-settings-skeleton-icon,
    .pc-event-option,
    .pc-event-control,
    .pc-event-control::after,
    .k-loader-container {
        animation: none !important;
        transition: none !important;
    }

    .k-loader-container {
        opacity: 1;
    }
}


/* DATA_WORKSPACE_V1 */
.pc-data-page{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:100%}.pc-data-page--registry{height:100%;min-height:0}.pc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:0 0 auto;padding:2px 2px 0}.pc-section-heading h1{margin:3px 0 4px;color:var(--pc-navy);font-size:clamp(22px,2.2vw,30px);line-height:1.15;letter-spacing:-.025em}.pc-section-heading p{margin:0;color:var(--pc-muted);font-size:14px}.pc-section-kicker{color:var(--pc-orange);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.pc-section-badge{flex:0 0 auto;padding:8px 11px;border:1px solid #dce7ef;border-radius:999px;color:#486477;background:#fff;font-size:12px;font-weight:700;box-shadow:0 5px 15px rgba(16,42,67,.04)}.pc-data-surface{position:relative;display:flex;flex:1 1 auto;min-width:0;min-height:360px;overflow:hidden;border:1px solid var(--pc-line);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(16,42,67,.075)}.pc-data-surface>.k-grid,.pc-data-surface>div>.k-grid{flex:1 1 auto;width:100%;min-width:0;height:100%!important;border:0;background:#fff}.pc-data-surface .k-grid-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:58px;padding:10px 14px;border-width:0 0 1px;border-color:var(--pc-line);background:#fff}.pc-data-surface .k-button{min-height:38px;padding:7px 12px;border-color:#dbe5ed;border-radius:10px;color:#29485f;background:#fff;font-weight:650;box-shadow:none;transition:border-color .16s ease,color .16s ease,background .16s ease,transform .16s ease}.pc-data-surface .k-button:hover{border-color:#ffc79f;color:#b74d03;background:var(--pc-orange-soft);transform:translateY(-1px)}.pc-data-surface .k-button:focus-visible{outline:3px solid var(--pc-focus-ring);outline-offset:2px}.pc-data-surface .k-input,.pc-data-surface .k-dropdownlist,.pc-data-surface .k-picker{min-height:38px;border-color:#dbe5ed;border-radius:10px;background:#fff}.pc-data-surface .k-input:focus-within,.pc-data-surface .k-picker:focus-within{border-color:#ffad72;box-shadow:var(--pc-focus-shadow)}.pc-data-surface .k-grid-header{border-color:var(--pc-line);background:#f7f9fb}.pc-data-surface .k-grid-header th{height:48px;padding:9px 12px;border-color:#e9eff4;color:#526a7b;background:#f7f9fb;font-size:11px;font-weight:800;letter-spacing:.045em;line-height:1.25;text-transform:uppercase}.pc-data-surface .k-grid-header .k-cell-inner>.k-link{padding:0;color:inherit}.pc-data-surface .k-grid td,.pc-data-surface .k-grid td.k-command-cell{height:46px;padding:8px 12px!important;border-color:#edf1f5;line-height:1.35!important;white-space:nowrap!important}.pc-data-surface .k-grid tbody tr{transition:background-color .14s ease}.pc-data-surface .k-grid tbody tr:hover td{background:#fff8f2}.pc-data-surface .k-grid-content{min-height:260px;scrollbar-color:#b8c7d2 #eef3f6;scrollbar-width:thin}.pc-data-surface .k-grid-content::-webkit-scrollbar{width:10px;height:10px}.pc-data-surface .k-grid-content::-webkit-scrollbar-track{background:#eef3f6}.pc-data-surface .k-grid-content::-webkit-scrollbar-thumb{border:2px solid #eef3f6;border-radius:999px;background:#b8c7d2}.pc-data-surface .k-grid-norecords td{height:220px!important;color:var(--pc-muted);font-size:14px;text-align:center}.pc-data-surface .k-pager{min-height:50px;padding:8px 14px;border-width:1px 0 0;border-color:var(--pc-line);background:#fff;color:var(--pc-muted)}.pc-data-surface .k-pager .k-button{min-width:34px;min-height:34px;padding:5px}.pc-tabbed-surface{display:block;min-height:0;overflow:visible;border:0;background:transparent;box-shadow:none}.pc-tabbed-surface>.k-tabstrip{border:0;background:transparent}.pc-tabbed-surface .k-tabstrip-items-wrapper{padding:7px;border:1px solid var(--pc-line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(16,42,67,.05)}.pc-tabbed-surface .k-tabstrip-items{gap:5px}.pc-tabbed-surface .k-tabstrip-item{margin:0;border:0;border-radius:10px;color:#607786;background:transparent;font-weight:700}.pc-tabbed-surface .k-tabstrip-item:hover{color:var(--pc-navy);background:#f4f7fa}.pc-tabbed-surface .k-tabstrip-item.k-active{color:#b64b00;background:var(--pc-orange-soft)}.pc-tabbed-surface .k-tabstrip-content{margin-top:12px;padding:0;overflow:hidden;border:1px solid var(--pc-line);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(16,42,67,.075)}
@media(max-width:720px){.pc-main{padding:12px}.pc-data-page{gap:12px}.pc-section-heading{align-items:flex-start;flex-direction:column;gap:10px;padding:2px}.pc-section-heading h1{font-size:23px}.pc-section-heading p{font-size:13px}.pc-section-badge{padding:6px 9px}.pc-data-surface{min-height:calc(100vh - 220px);border-radius:14px}.pc-data-surface .k-grid-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.pc-data-surface .k-grid-toolbar .k-button{width:100%;min-width:0}.pc-data-surface .k-grid-toolbar .k-input,.pc-data-surface .k-grid-toolbar .k-picker,.pc-data-surface .k-grid-toolbar .k-dropdownlist{grid-column:1/-1;width:100%!important}.pc-data-surface .k-grid-header th{min-width:138px}.pc-tabbed-surface{min-height:0}.pc-tabbed-surface .k-tabstrip-items-wrapper{overflow-x:auto}.pc-tabbed-surface .k-tabstrip-items{flex-wrap:nowrap;min-width:max-content}.pc-tabbed-surface .k-tabstrip-content{border-radius:14px}}
@media(prefers-reduced-motion:reduce){.pc-data-surface .k-button,.pc-data-surface .k-grid tbody tr{transition:none!important}}


/* DATA_DENSITY_V2 */
/* Telerik's height spacer must not consume a cell in the mobile toolbar grid. */
@media (max-width: 720px) {
    .pc-data-surface .k-grid-toolbar::before {
        display: none;
    }
}

.pc-data-surface .k-grid-header-menu {
    color: var(--pc-text-muted);
}

.pc-data-surface .k-grid-header-menu:hover,
.pc-data-surface .k-grid-header-menu:focus-visible {
    color: var(--pc-text);
    background: var(--pc-control-hover);
}

.pc-data-surface .k-grid-header-menu:focus-visible {
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: -3px;
}

.pc-grid-host{position:relative;width:100%;height:100%;min-width:0}.pc-orders-grid .k-grid-content,.pc-calculations-grid .k-grid-content,.pc-users-grid .k-grid-content{background:linear-gradient(#fff,#fff) padding-box,repeating-linear-gradient(180deg,transparent 0,transparent 45px,#f1f4f7 46px) border-box}.pc-orders-grid .k-grid-norecords td,.pc-calculations-grid .k-grid-norecords td,.pc-users-grid .k-grid-norecords td{background:#fff}.pc-report-grid{padding:18px}.pc-report-grid .k-listview{border:0;background:transparent}.pc-report-grid .k-listview-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pc-report-card{display:flex;flex-direction:column;min-width:0;min-height:340px;padding:22px;border:1px solid var(--pc-line);border-radius:16px;background:linear-gradient(145deg,#fff 0%,#fbfcfd 100%);box-shadow:0 9px 26px rgba(16,42,67,.06)}.pc-report-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.pc-report-card__header h2{margin:4px 0 0;color:var(--pc-navy);font-size:19px;line-height:1.25}.pc-report-card__kicker{color:var(--pc-orange);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.pc-report-info{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;color:#597184;background:#f0f4f7;cursor:help}.pc-report-card__hint{margin:14px 0 18px;color:var(--pc-muted);font-size:13px}.pc-report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pc-report-field{display:flex;flex-direction:column;gap:6px;min-width:0}.pc-report-field--wide{grid-column:1/-1}.pc-report-field label{color:#486274;font-size:12px;font-weight:750}.pc-report-field .k-input,.pc-report-field .k-picker{width:100%!important;min-height:42px;border-color:#dbe5ed;border-radius:10px;background:#fff}.pc-report-card__actions{display:flex;justify-content:flex-end;margin-top:auto;padding-top:20px}.pc-report-submit.k-button{min-height:42px;padding-inline:18px;border-color:var(--pc-orange);color:#fff;background:linear-gradient(135deg,var(--pc-orange),#ff9145);box-shadow:0 8px 18px rgba(255,115,16,.2)}.pc-report-submit.k-button:hover{color:#fff;background:linear-gradient(135deg,#e96509,#ff8330)}.pc-tabbed-surface .k-tabstrip-items-wrapper{scrollbar-width:none}.pc-tabbed-surface .k-tabstrip-items-wrapper::-webkit-scrollbar{display:none}

.pc-news-upload-closed {
    flex: 1 1 100%;
    grid-column: 1 / -1;
    color: var(--pc-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* PC_DOCUMENT_LOADER_V1 */
.pc-document-loader{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:220px;padding:28px;color:var(--pc-navy);text-align:center;background:rgba(247,249,251,.92);backdrop-filter:blur(3px)}
.pc-document-loader__mark{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,4px);grid-template-rows:18px;place-content:center;align-items:end;gap:3px;flex-shrink:0;width:34px;height:34px;padding:6px;border:1px solid #ffe0ca;border-radius:11px;background:#fff;box-shadow:0 10px 24px rgba(255,115,16,.14)}
.pc-document-loader__mark span{display:block;width:4px;border-radius:2px;background:linear-gradient(180deg,#ff9346,var(--pc-orange));transform-origin:center bottom;animation:pc-document-wave 1s ease-in-out infinite}
.pc-document-loader__mark span:nth-child(1){height:10px;animation-delay:-.2s}.pc-document-loader__mark span:nth-child(2){height:18px;animation-delay:-.1s}.pc-document-loader__mark span:nth-child(3){height:13px}
.pc-document-loader strong{max-width:420px;font-size:14px;font-weight:750;line-height:1.4}
.pc-document-link{color:#0b6dad;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.pc-document-link:hover{color:var(--pc-orange)}
.pc-configuration-form{width:100%;max-width:560px;min-width:0;padding:20px;box-sizing:border-box}
.pc-configuration-label{display:block;margin-bottom:8px;color:var(--pc-text-muted);font-size:13px;font-weight:700;overflow-wrap:anywhere}
.pc-configuration-form .k-input{min-width:0;min-height:44px;box-sizing:border-box}
.pc-configuration-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pc-configuration-actions .k-button{min-height:42px}
@keyframes pc-document-wave{0%,100%{transform:scaleY(.65);opacity:.55}50%{transform:scaleY(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.pc-document-loader__mark span{animation:none}}
@media(max-width:980px){.pc-report-grid .k-listview-content{grid-template-columns:1fr}}
@media(max-width:720px){.pc-report-grid{padding:10px}.pc-report-card{min-height:0;padding:16px}.pc-report-fields{grid-template-columns:1fr}.pc-report-field--wide{grid-column:auto}.pc-report-card__actions{justify-content:stretch}.pc-report-submit.k-button{width:100%}.pc-orders-grid col:nth-child(n+7),.pc-orders-grid th:nth-child(n+7),.pc-orders-grid tbody td:nth-child(n+7){display:none}.pc-users-grid col:nth-child(2),.pc-users-grid th:nth-child(2),.pc-users-grid tbody td:nth-child(2),.pc-users-grid col:nth-child(n+6),.pc-users-grid th:nth-child(n+6),.pc-users-grid tbody td:nth-child(n+6){display:none}.pc-users-grid .k-grid-content{overflow-x:auto}}

/* PC_OVERLAYS_V1_START: column menu and contextual help */
.k-column-menu.k-grid-columnmenu-popup.k-popup {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 8px !important;
    overflow: visible !important;
    color: var(--pc-text, #17354b) !important;
    background: var(--pc-surface, #ffffff) !important;
    border: 1px solid var(--pc-border, #d9e4ec) !important;
    border-radius: 16px !important;
    box-shadow: 0 22px 60px rgba(23, 53, 75, .18), 0 6px 18px rgba(23, 53, 75, .10) !important;
}

.k-column-menu .k-columnmenu-item-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.k-column-menu .k-columnmenu-item-wrapper + .k-columnmenu-item-wrapper {
    border-top: 1px solid var(--pc-border-soft, #edf2f6);
}

.k-column-menu .k-columnmenu-item {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    gap: 10px !important;
    padding: 0 11px !important;
    color: var(--pc-text, #26475e) !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    border-radius: 10px !important;
    transition: color .16s ease, background-color .16s ease, transform .16s ease !important;
}

.k-column-menu .k-columnmenu-item:hover,
.k-column-menu .k-columnmenu-item:focus-visible,
.k-column-menu .k-columnmenu-item[aria-expanded="true"] {
    color: var(--pc-brand-orange-strong, #d95600) !important;
    background: var(--pc-orange-soft, #fff4eb) !important;
    outline: 2px solid var(--pc-border, #d9e4ec) !important;
}

.k-column-menu .k-columnmenu-item:active {
    transform: translateY(1px);
}

.k-column-menu .k-columnmenu-item > .k-icon,
.k-column-menu .k-expander-indicator .k-icon {
    color: #ff6b00 !important;
}

.k-column-menu .k-columnmenu-item-content {
    height: auto !important;
    max-height: none !important;
    padding: 2px 2px 8px !important;
    overflow: visible !important;
}

.k-column-menu .k-columnmenu-item-content > .k-animation-container,
.k-column-menu .k-columnmenu-item-content > .k-animation-container > .k-child-animation-container {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.k-column-menu .k-column-list-wrapper {
    margin: 0 4px 8px !important;
    padding: 4px !important;
    overflow: hidden !important;
    background: var(--pc-surface-soft) !important;
    border: 1px solid var(--pc-border) !important;
    border-radius: 12px !important;
}

.k-column-menu .k-column-list {
    max-height: min(30vh, 260px) !important;
    padding: 2px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: var(--pc-text-muted) transparent;
}

.k-column-menu .k-column-list::-webkit-scrollbar {
    width: 8px;
}

.k-column-menu .k-column-list::-webkit-scrollbar-track {
    background: transparent;
}

.k-column-menu .k-column-list::-webkit-scrollbar-thumb {
    background: var(--pc-text-muted);
    border: 2px solid var(--pc-surface-soft);
    border-radius: 999px;
}

.k-column-menu .k-column-list-item {
    display: flex !important;
    align-items: flex-start !important;
    min-height: 38px !important;
    gap: 10px !important;
    padding: 8px !important;
    color: var(--pc-text) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    transition: color .14s ease, background-color .14s ease !important;
}

.k-column-menu .k-column-list-item:hover {
    color: var(--pc-text) !important;
    background: var(--pc-surface) !important;
}

.k-column-menu .k-column-list-item:has(.k-checkbox:checked) {
    color: var(--pc-text) !important;
    font-weight: 650 !important;
    background: var(--pc-orange-soft) !important;
}

.k-column-menu .k-checkbox-wrap {
    flex: 0 0 auto !important;
    margin-top: 1px !important;
}

.k-column-menu .k-checkbox {
    width: 19px !important;
    height: 19px !important;
    accent-color: #ff6b00 !important;
    border-color: var(--pc-border) !important;
    border-radius: 6px !important;
}

.k-column-menu .k-checkbox:checked {
    background-color: #ff6b00 !important;
    border-color: #ff6b00 !important;
}

.k-column-menu .k-checkbox:focus-visible {
    outline: 3px solid var(--pc-focus-ring) !important;
    outline-offset: 2px !important;
}

.k-column-menu .k-checkbox-label {
    white-space: normal !important;
}

.k-column-menu .k-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 4px !important;
}

.k-column-menu .k-actions .k-button,
.k-dialog .k-actions .k-button,
.pc-invitation-actions .k-button,
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions .k-button {
    min-height: 40px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

.k-column-menu .k-actions .k-button-solid-primary,
.k-dialog .k-actions .k-button-solid-primary,
.pc-invitation-actions .k-button-solid-primary,
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions .k-button-solid-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff780f 0%, #ff5c00 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 7px 16px rgba(255, 107, 0, .20) !important;
}

.k-column-menu .k-actions .k-button-solid-primary:hover,
.k-dialog .k-actions .k-button-solid-primary:hover,
.pc-invitation-actions .k-button-solid-primary:hover,
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions .k-button-solid-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(255, 107, 0, .26) !important;
}

.k-column-menu .k-actions .k-button-solid-base,
.k-dialog .k-actions .k-button-solid-base,
.pc-invitation-actions .k-button-solid-base,
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions .k-button-solid-base {
    color: var(--pc-text) !important;
    background: var(--pc-surface-soft) !important;
    border-color: var(--pc-border) !important;
}

.k-column-menu .k-actions .k-button-solid-base:hover,
.k-column-menu .k-actions .k-button-solid-base:focus-visible,
.k-dialog .k-actions .k-button-solid-base:hover,
.k-dialog .k-actions .k-button-solid-base:focus-visible,
.pc-invitation-actions .k-button-solid-base:is(:hover, :focus-visible),
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions .k-button-solid-base:is(:hover, :focus-visible) {
    color: var(--pc-text) !important;
    background: var(--pc-control-hover, #eaf1f5) !important;
}

/* Shared grid upload surface: keep the file control within its table cell. */
.pc-grid-host .k-upload {
    min-width: 0;
    border-color: var(--pc-border);
    border-radius: 12px;
    color: var(--pc-text);
    background: var(--pc-surface);
}

.pc-grid-host .k-upload .k-upload-dropzone {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-radius: inherit;
    color: var(--pc-text);
    background: var(--pc-surface-soft);
}

.pc-grid-host .k-upload .k-upload-button-wrap {
    min-width: 0;
}

.pc-grid-host .k-upload .k-upload-button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
}

.pc-grid-host .k-upload .k-dropzone-hint {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    color: var(--pc-text-muted);
    font-size: 12px;
}

.pc-grid-host .k-upload .k-upload-button:focus-visible {
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: 2px;
}

.pc-report-info,
.tooltip-target.pc-report-info {
    cursor: help !important;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

.pc-report-info:hover,
.pc-report-info:focus-visible {
    color: #e45f00 !important;
    background: #fff4eb !important;
    box-shadow: 0 0 0 3px var(--pc-focus-shadow) !important;
    outline: none !important;
    transform: translateY(-1px);
}

.k-animation-container:has(.k-tooltip) {
    width: auto !important;
    max-width: min(540px, calc(100vw - 28px)) !important;
}

.k-tooltip {
    width: auto !important;
    min-width: 240px !important;
    max-width: min(540px, calc(100vw - 28px)) !important;
    max-height: min(360px, 60vh) !important;
    padding: 14px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    color: #26475e !important;
    background: #ffffff !important;
    border: 1px solid #d9e4ec !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 48px rgba(23, 53, 75, .20), 0 5px 14px rgba(23, 53, 75, .10) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    scrollbar-width: thin;
    scrollbar-color: #aab9c4 transparent;
}

.k-tooltip .k-tooltip-content {
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    white-space: inherit !important;
}

.k-tooltip .k-callout {
    display: none !important;
}

.k-tooltip::-webkit-scrollbar {
    width: 8px;
}

.k-tooltip::-webkit-scrollbar-thumb {
    background: #b5c3cd;
    border: 2px solid #ffffff;
    border-radius: 999px;
}

@media (max-width: 640px) {
    .k-column-menu.k-grid-columnmenu-popup.k-popup {
        width: min(336px, calc(100vw - 16px)) !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 14px !important;
    }

    .k-column-menu .k-column-list {
        max-height: 38vh !important;
    }

    .k-tooltip {
        min-width: 0 !important;
        max-width: calc(100vw - 20px) !important;
        max-height: 52vh !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
}
/* PC_OVERLAYS_V1_END */
/* LK_SANDBOX_POLISH_V1 */
#sandbox-banner {
    z-index: 9000 !important;
}

@media (max-width: 560px) {
    #sandbox-banner {
        display: flex !important;
        min-height: 34px !important;
        align-items: center;
        justify-content: center;
        padding: 3px 8px !important;
        font-size: 11px !important;
        line-height: 14px !important;
    }
}

#app[style*="padding-top:34px"] .pc-shell {
    min-height: calc(100vh - var(--pc-sandbox-banner-height, 34px));
}

#app[style*="padding-top:34px"] .pc-sidebar {
    height: calc(100vh - var(--pc-sandbox-banner-height, 34px));
}

#app .k-window.k-centered {
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 52px) !important;
}

#app .k-window-content {
    overflow: auto !important;
}

.k-tooltip {
    min-width: 0 !important;
    max-width: min(420px, calc(100vw - 28px)) !important;
}

.k-tooltip p {
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.45 !important;
}

.k-animation-container:has(.k-grid-columnmenu-popup) {
    height: auto !important;
    overflow: visible !important;
}

.k-column-menu .k-columnmenu-item-wrapper:has(.k-columnmenu-item[aria-expanded="true"]) .k-columnmenu-item-content,
.k-column-menu .k-columnmenu-item-wrapper:has(.k-columnmenu-item[aria-expanded="true"]) .k-animation-container,
.k-column-menu .k-columnmenu-item-wrapper:has(.k-columnmenu-item[aria-expanded="true"]) .k-child-animation-container {
    height: auto !important;
    overflow: visible !important;
}

.pc-report-tooltip {
    display: grid;
    gap: 10px;
    width: min(390px, calc(100vw - 60px));
}

.pc-report-tooltip > strong {
    position: sticky;
    top: -14px;
    z-index: 1;
    margin: -14px -16px 0;
    padding: 13px 16px 10px;
    color: #17354b;
    background: #ffffff;
    border-bottom: 1px solid #e5edf2;
    font-size: 13px;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.pc-report-tooltip ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-report-tooltip li {
    position: relative;
    min-width: 0;
    padding-left: 13px;
    color: #36546a;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pc-report-tooltip li::before {
    content: "";
    position: absolute;
    top: .52em;
    left: 0;
    width: 5px;
    height: 5px;
    background: #ff6b00;
    border-radius: 50%;
}

/* PC_DECLARATION_STATE_V1 */
.pc-declaration-state {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: clamp(24px, 6vw, 72px);
    place-items: center;
    color: var(--pc-text);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 107, 0, .10), transparent 28%),
        linear-gradient(145deg, var(--pc-surface-soft) 0%, var(--pc-surface) 62%, var(--pc-orange-soft) 100%);
}

#app[style*="padding-top"] > .pc-declaration-state {
    min-height: calc(100dvh - var(--pc-sandbox-banner-height, 34px));
}

.pc-declaration-state__card {
    display: grid;
    width: min(680px, 100%);
    gap: 22px;
    padding: clamp(28px, 5vw, 48px);
    background: var(--pc-surface);
    border: 1px solid var(--pc-border);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(23, 53, 75, .14);
}

.pc-declaration-state__icon {
    display: grid;
    width: 54px;
    height: 54px;
    color: var(--pc-brand-orange-strong, #d95600);
    font-size: 28px;
    font-weight: 800;
    background: var(--pc-orange-soft);
    border-radius: 16px;
    place-items: center;
}

.pc-declaration-state__eyebrow {
    color: var(--pc-brand-orange-strong, #e45f00);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pc-declaration-state h1 {
    margin: 7px 0 10px;
    color: var(--pc-text);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.12;
}

.pc-declaration-state p {
    max-width: 56ch;
    margin: 0;
    color: var(--pc-text);
    font-size: 16px;
    line-height: 1.55;
}

.pc-declaration-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--pc-text);
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    background: var(--pc-surface);
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.pc-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(23, 53, 75, .12);
}

.pc-button--primary {
    color: #ffffff;
    background: #ff6b00;
    border-color: #ff6b00;
}

.pc-button--primary:hover:not(:disabled) {
    background: #e96000;
}

.pc-button:focus-visible {
    outline: 2px solid var(--pc-orange);
    outline-offset: 2px;
}

.pc-button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

@media (max-width: 560px) {
    .pc-declaration-state { padding: 18px; }
    .pc-declaration-state__card { padding: 24px; border-radius: 18px; }
    .pc-declaration-state__actions > * { flex: 1 1 100%; justify-content: center; }
}

/* PC_VIDEO_PAGE_V2_NATIVE */
.pc-video-page {
    min-height: 100%;
}

.pc-video-card {
    width: min(1040px, 100%);
    margin-top: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce7ee;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(23, 53, 75, .10);
}

.pc-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #122d42;
}

.pc-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pc-video-card__footer {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
}

.pc-video-card__footer div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.pc-video-card__footer strong {
    color: #17354b;
    font-size: 18px;
}

.pc-video-card__footer span {
    color: #6a7f90;
    line-height: 1.45;
}

.pc-video-card__footer a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
    background: #ff6b00;
    border-radius: 12px;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.pc-video-card__footer a:hover {
    color: #ffffff;
    background: #e96000;
    box-shadow: 0 8px 20px rgba(228, 95, 0, .20);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .pc-video-card { border-radius: 18px; }
    .pc-video-card__footer { align-items: stretch; flex-direction: column; padding: 18px; }
    .pc-video-card__footer a { width: 100%; }
}

@media (max-width: 920px) {
    #app[style*="padding-top:34px"] .pc-sidebar {
        top: var(--pc-sandbox-banner-height, 34px);
        bottom: 0;
        height: auto;
    }

    #app[style*="padding-top:34px"] .pc-nav-backdrop {
        top: var(--pc-sandbox-banner-height, 34px);
        height: calc(100% - var(--pc-sandbox-banner-height, 34px));
    }

    #app .k-window.k-centered {
        min-width: 0 !important;
        width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 52px) !important;
    }
}

/* VISUAL_POLISH_V4_20260809
   Shared fixes for brand mark, reference fields, tables and clipped tab content. */
.pc-shell--nav-collapsed .pc-brand-link {
    padding: 4px;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    place-items: center;
    border-radius: 13px;
    background: #fff;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12) translateY(-1%);
}

.pc-request-field select,
.pc-select,
.pc-calculation-clarification-fields select {
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 13px;
    border: 1px solid #cfdee8;
    border-radius: 11px;
    color: #24445c;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2339576d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 17px;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--pc-motion-fast) ease, box-shadow var(--pc-motion-fast) ease, background-color var(--pc-motion-fast) ease;
}

.pc-request-field select:hover,
.pc-select:hover,
.pc-calculation-clarification-fields select:hover {
    border-color: #adc2cf;
    background-color: #fbfdfe;
}

.pc-request-field select:focus,
.pc-select:focus,
.pc-calculation-clarification-fields select:focus {
    border-color: rgba(255, 108, 15, .72);
    outline: 0;
    box-shadow: 0 0 0 3px var(--pc-focus-shadow);
}

.pc-reference-options > button {
    justify-content: flex-start;
}

.pc-reference-options strong {
    white-space: normal;
    line-height: 1.3;
}

.pc-settings-tabs .k-tabstrip-content {
    padding: 24px !important;
    overflow-x: clip;
}

.k-grid .k-table-th,
.k-grid th.k-header,
.k-grid .k-grid-header th {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

.k-grid .k-table-td,
.k-grid td.k-table-td,
.k-grid .k-grid-content td {
    padding-right: 14px;
    padding-left: 14px;
}

.k-grid .k-command-cell,
.k-grid .k-table-td:has(> .k-button-icon) {
    text-align: center;
}

@media (max-width: 720px) {
    .pc-settings-tabs .k-tabstrip-content {
        padding: 18px !important;
    }
}

/* The document remains unchanged; only the PDF viewer chrome follows the theme. */
.pc-responsive-pdf {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--pc-surface-soft);
}

.pc-responsive-pdf__viewer {
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
}

.pc-responsive-pdf.is-ready .pc-responsive-pdf__viewer {
    visibility: visible;
    opacity: 1;
    transition: opacity 120ms ease-out;
}

.pc-responsive-pdf > .pc-document-loader {
    z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
    .pc-responsive-pdf.is-ready .pc-responsive-pdf__viewer { transition: none; }
}

.k-pdf-viewer,
.k-pdf-viewer .k-toolbar,
.k-pdf-viewer .k-search-panel,
.k-menu-popup > .k-menu-group {
    border-color: var(--pc-border);
    color: var(--pc-text);
    background: var(--pc-surface);
}

.k-pdf-viewer .k-pager {
    border-color: var(--pc-border);
    color: var(--pc-text);
    background: transparent;
}

.k-pdf-viewer .k-pdf-viewer-canvas {
    background: var(--pc-surface-soft);
}

.k-pdf-viewer .k-search-panel {
    /* Keep sticky search centered after the page is fitted to a narrow viewport. */
    left: 0;
    transform: none;
    margin-inline: auto;
}

.k-pdf-viewer-annotation-editor,
.k-pdf-viewer-annotation-editor-toolbar,
.k-coloreditor,
.k-coloreditor .k-colorgradient {
    background: var(--pc-surface);
    border-color: var(--pc-border);
    color: var(--pc-text);
}

.k-pdf-viewer-annotation-editor .k-form,
.k-pdf-viewer-annotation-editor .k-label,
.k-pdf-viewer-annotation-editor .k-column-menu-group-header,
.k-pdf-viewer-annotation-editor .k-column-menu-group-header-text,
.k-coloreditor .k-colorgradient-input-label {
    color: var(--pc-text);
}

.k-coloreditor .k-coloreditor-header .k-button {
    color: var(--pc-text);
    background: transparent;
}

.k-coloreditor .k-coloreditor-header .k-button.k-selected {
    color: var(--pc-selection-text, #b84900);
    background: var(--pc-orange-soft);
}

.k-pdf-viewer .k-toolbar .k-button,
.k-pdf-viewer .k-search-panel .k-button {
    color: var(--pc-text) !important;
    background: transparent !important;
}

.k-pdf-viewer .k-toolbar .k-button:hover:not(.k-disabled):not([aria-disabled="true"]),
.k-pdf-viewer .k-toolbar .k-button.k-selected,
.k-pdf-viewer .k-search-panel .k-button:hover:not(.k-disabled):not([aria-disabled="true"]),
.k-pdf-viewer .k-search-panel .k-button.k-selected {
    color: var(--pc-selection-text, #b84900) !important;
    background: var(--pc-orange-soft) !important;
}

.k-pdf-viewer .k-toolbar .k-button:focus-visible,
.k-pdf-viewer .k-search-panel .k-button:focus-visible {
    outline: 2px solid var(--pc-orange);
    outline-offset: 2px;
}

.k-pdf-viewer .k-toolbar .k-button[aria-disabled="true"],
.k-pdf-viewer .k-search-panel .k-button[aria-disabled="true"] {
    color: var(--pc-text-muted) !important;
}

.pc-report-card__error {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #f0caca;
    border-radius: 10px;
    color: #9f3a3a;
    background: #fff4f4;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .pc-report-tooltip {
        width: auto;
    }

    .pc-report-tooltip ul {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* SCROLL_CONTRACT_V2 */
html {
    height: 100%;
    overflow-y: auto;
}

body,
#app {
    min-height: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

.pc-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

#app[style*="padding-top:34px"] .pc-shell {
    height: calc(100vh - var(--pc-sandbox-banner-height, 34px));
    height: calc(100dvh - var(--pc-sandbox-banner-height, 34px));
    min-height: 0;
}

.pc-sidebar {
    height: 100%;
    min-height: 0;
}

.pc-workspace {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-height: 0;
}

.pc-main {
    min-height: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.pc-brand-monogram {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand {
    justify-content: center;
    padding-inline: 18px;
}

.pc-shell--nav-collapsed .pc-brand-link {
    width: 52px;
    flex: 0 0 52px;
    padding: 0;
}

.pc-shell--nav-collapsed .pc-brand-link img {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand-monogram {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.08em;
    background: linear-gradient(145deg, #ff7417, #e95a00);
    box-shadow: 0 8px 18px rgba(233, 90, 0, .25);
}

@media (max-width: 920px) {
    .pc-shell--nav-collapsed .pc-brand-link img {
        display: block;
    }

    .pc-shell--nav-collapsed .pc-brand-monogram {
        display: none;
    }
}

/* TRANSCERTICO_BRAND_V1 */
.pc-brand {
    height: 88px;
    padding: 12px 14px;
}

.pc-brand-link {
    height: 60px;
    padding: 7px 10px;
    border-radius: 15px;
}

.pc-brand-link .pc-brand-logo {
    display: block;
    width: 226px;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
}

.pc-brand-link .pc-brand-mark {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand {
    padding-inline: 11px;
}

.pc-shell--nav-collapsed .pc-brand-link {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    padding: 7px;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-logo {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

@media (max-width: 920px) {
    .pc-shell--nav-collapsed .pc-brand-link .pc-brand-logo {
        display: none;
    }

    .pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
        display: block;
    }
}


/* RESPONSIVE_WORKSPACES_V1 */
.pc-calculations-grid .k-grid,
.pc-users-grid .k-grid {
    overflow: hidden;
    border: 1px solid #dfe8ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 42, 67, .06);
}

.pc-calculations-grid .k-grid-toolbar,
.pc-users-grid .k-grid-toolbar {
    gap: 8px;
    padding: 12px 14px;
    border-bottom-color: #e5ecf1;
    background: #fff;
}

.pc-calculations-grid .k-grid-header,
.pc-users-grid .k-grid-header {
    border-bottom-color: #dfe8ee;
    background: #f5f8fa;
}

.pc-calculations-grid .k-table-th,
.pc-users-grid .k-table-th {
    color: #587083;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.pc-calculations-grid .k-master-row,
.pc-users-grid .k-master-row {
    transition: background-color .16s ease, box-shadow .16s ease;
}

.pc-calculations-grid .k-master-row:hover,
.pc-users-grid .k-master-row:hover {
    background: #f8fbfd;
    box-shadow: inset 3px 0 0 #ff7417;
}

.pc-calculations-grid .k-table-td,
.pc-users-grid .k-table-td {
    border-color: #edf1f4;
    color: #314b5e;
}

.pc-status-pill,
.pc-role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.pc-status-pill.is-progress {
    color: #1f5c7a;
    background: #eaf4f8;
}

.pc-status-pill.is-complete,
.pc-role-pill.is-active {
    color: #176b45;
    background: #e9f7ef;
}

.pc-role-pill.is-muted {
    color: #7b8b96;
    background: #eef2f5;
}

@media (max-width: 900px) {
    .pc-calculations-grid,
    .pc-users-grid {
        height: auto;
        overflow: visible;
    }

    .pc-calculations-grid .k-grid,
    .pc-users-grid .k-grid {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pc-calculations-grid .k-grid-toolbar,
    .pc-users-grid .k-grid-toolbar {
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
        border: 1px solid #dfe8ee;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(16, 42, 67, .05);
    }

    .pc-calculations-grid .k-grid-toolbar .k-button,
    .pc-users-grid .k-grid-toolbar .k-button {
        min-height: 40px;
        flex: 1 1 120px;
        justify-content: center;
        border-radius: 10px;
    }

    .pc-calculations-grid .k-grid-header,
    .pc-users-grid .k-grid-header {
        display: none;
    }

    .pc-calculations-grid .k-grid-container,
    .pc-users-grid .k-grid-container,
    .pc-calculations-grid .k-grid-content,
    .pc-users-grid .k-grid-content {
        height: auto !important;
        overflow: visible;
        background: transparent;
    }

    .pc-calculations-grid .k-grid-content table,
    .pc-users-grid .k-grid-content table,
    .pc-calculations-grid .k-grid-content tbody,
    .pc-users-grid .k-grid-content tbody {
        display: block;
        width: 100%;
    }

    .pc-calculations-grid .k-grid-content colgroup,
    .pc-users-grid .k-grid-content colgroup {
        display: none;
    }

    .pc-calculations-grid .k-grid-content tbody,
    .pc-users-grid .k-grid-content tbody {
        padding: 12px 0 2px;
    }

    .pc-calculations-grid .k-master-row,
    .pc-users-grid .k-master-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 11px 16px;
        width: 100%;
        margin-bottom: 12px;
        padding: 16px;
        border: 1px solid #dfe8ee;
        border-left: 3px solid #ff7417;
        border-radius: 15px;
        background: linear-gradient(145deg, #fff 0%, #fbfcfd 100%);
        box-shadow: 0 9px 24px rgba(16, 42, 67, .055);
    }

    .pc-calculations-grid .k-master-row:hover,
    .pc-users-grid .k-master-row:hover {
        background: #fff;
        box-shadow: 0 11px 28px rgba(16, 42, 67, .075);
    }

    .pc-calculations-grid .k-table-td,
    .pc-users-grid .k-table-td {
        display: block;
        min-width: 0;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible;
        color: #314b5e;
        white-space: normal;
    }

    .pc-calculations-grid .k-table-td::before,
    .pc-users-grid .k-table-td::before {
        display: block;
        margin-bottom: 3px;
        color: #7a8d9c;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .055em;
        text-transform: uppercase;
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(1) {
        grid-column: 1 / -1;
        order: 3;
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(1)::before {
        content: "Компания";
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(2) {
        grid-column: 1;
        order: 1;
        color: #17364d;
        font-size: 18px;
        font-weight: 850;
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(3) {
        grid-column: 1 / -1;
        order: 5;
        color: #6f8290;
        font-size: 12px;
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(3)::before {
        content: "Создан";
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(4) {
        grid-column: 1 / -1;
        order: 4;
        padding-top: 10px !important;
        border-top: 1px solid #edf1f4 !important;
        font-weight: 650;
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(4)::before {
        content: "Описание";
    }

    .pc-calculations-grid.is-employee .k-table-td:nth-child(5) {
        grid-column: 2;
        order: 2;
        align-self: start;
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(1) {
        grid-column: 1;
        order: 1;
        color: #17364d;
        font-size: 18px;
        font-weight: 850;
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(2) {
        grid-column: 1 / -1;
        order: 4;
        color: #6f8290;
        font-size: 12px;
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(2)::before {
        content: "Создан";
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(3) {
        grid-column: 1 / -1;
        order: 3;
        padding-top: 10px !important;
        border-top: 1px solid #edf1f4 !important;
        font-weight: 650;
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(3)::before {
        content: "Описание";
    }

    .pc-calculations-grid.is-client .k-table-td:nth-child(4) {
        grid-column: 2;
        order: 2;
        align-self: start;
    }

    .pc-users-grid .k-master-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-color: var(--pc-border);
        border-left-color: var(--pc-orange);
        background: var(--pc-surface);
    }

    .pc-data-surface .pc-users-grid .k-grid .k-master-row:is(:hover, .k-hover, .k-selected) {
        background: var(--pc-control-hover);
    }

    /* These cells form one mobile card, not individually painted table cells. */
    .pc-data-surface .pc-users-grid .k-grid .k-master-row > .k-table-td {
        background: transparent !important;
    }

    .pc-users-grid .k-table-td::before {
        color: var(--pc-text-muted);
    }

    .pc-users-grid .k-table-td:nth-child(1) {
        grid-column: 1 / -1;
        order: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    .pc-users-grid .k-table-td:nth-child(1) .k-button {
        flex: 0 0 auto;
        width: auto;
        min-width: 42px;
        height: 42px;
        padding-inline: 10px;
        border-radius: 10px;
    }

    .pc-users-grid .k-table-td:nth-child(1) > span {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
        max-width: 100%;
    }

    .pc-users-grid .k-table-td:nth-child(2) {
        grid-column: 1 / -1;
        order: 9;
        color: #748793;
        font-size: 12px;
    }

    .pc-users-grid .k-table-td:nth-child(2)::before {
        content: "Создан";
    }

    .pc-users-grid .k-table-td:nth-child(3) {
        grid-column: 1 / -1;
        order: 2;
        color: #17364d;
        font-size: 17px;
        font-weight: 850;
        overflow-wrap: anywhere;
    }

    .pc-users-grid .k-table-td:nth-child(4) {
        order: 3;
    }

    .pc-users-grid .k-table-td:nth-child(4)::before {
        content: "Фамилия";
    }

    .pc-users-grid .k-table-td:nth-child(5) {
        order: 4;
    }

    .pc-users-grid .k-table-td:nth-child(5)::before {
        content: "Имя";
    }

    .pc-users-grid .k-table-td:nth-child(6) {
        grid-column: 1 / -1;
        order: 5;
    }

    .pc-users-grid .k-table-td:nth-child(6)::before {
        content: "ИНН";
    }

    .pc-users-grid .k-table-td:nth-child(7) {
        grid-column: 1 / -1;
        order: 6;
    }

    .pc-users-grid .k-table-td:nth-child(7)::before {
        content: "Компании";
    }

    .pc-users-grid .k-table-td:nth-child(8) {
        grid-column: 1 / -1;
        order: 7;
    }

    .pc-users-grid .k-table-td:nth-child(8)::before {
        content: "Рассылки";
    }

    .pc-users-grid .k-table-td:nth-child(9),
    .pc-users-grid .k-table-td:nth-child(10),
    .pc-users-grid .k-table-td:nth-child(11) {
        order: 8;
    }

    .pc-users-grid .k-table-td:nth-child(9)::before {
        content: "Администратор";
    }

    .pc-users-grid .k-table-td:nth-child(10)::before {
        content: "Сотрудник";
    }

    .pc-users-grid .k-table-td:nth-child(11)::before {
        content: "Клиент";
    }

    .pc-calculations-grid .k-grid-norecords,
    .pc-users-grid .k-grid-norecords {
        display: block;
        padding: 20px;
        border: 1px dashed #cad7df;
        border-radius: 14px;
        background: #fff;
    }

    .pc-calculations-grid .k-grid-norecords td,
    .pc-users-grid .k-grid-norecords td {
        display: block;
        width: 100%;
        text-align: center;
    }

    .pc-calculations-grid .k-pager,
    .pc-users-grid .k-pager {
        flex-wrap: wrap;
        gap: 6px;
        min-height: 54px;
        padding: 10px 12px;
        border: 1px solid #dfe8ee;
        border-radius: 14px;
        background: #fff;
    }
}

/* RESPONSIVE_SCROLL_FIX_V1 */
@media (max-width: 900px) {
    .pc-data-page {
        height: auto !important;
        min-height: 100%;
    }

    .pc-data-page .pc-data-surface {
        height: auto !important;
        min-height: 0;
        overflow: visible !important;
    }

    .pc-calculations-grid .k-grid-aria-root,
    .pc-users-grid .k-grid-aria-root {
        height: auto !important;
        overflow: visible !important;
    }
}


/* USER_EDITOR_WINDOW_V1 */
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) {
    width: min(660px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: var(--pc-surface);
    box-shadow: 0 30px 90px rgba(10, 31, 49, 0.28);
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-titlebar {
    min-height: 74px;
    padding: 22px 24px;
    border: 0;
    border-bottom: 1px solid var(--pc-border);
    color: var(--pc-text);
    background: var(--pc-surface);
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-window-title {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-content {
    max-height: calc(100dvh - 210px);
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-layout {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 20px;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field {
    min-width: 0;
    margin: 0;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(1),
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(4) {
    grid-column: span 6;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(2),
body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(3) {
    grid-column: span 3;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(n+5) {
    grid-column: span 2;
    padding: 14px 15px;
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    background: var(--pc-surface-soft);
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-label {
    margin-bottom: 7px;
    color: var(--pc-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-input {
    min-height: 44px;
    border-color: var(--pc-border);
    border-radius: 12px;
    box-shadow: none;
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions {
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px;
    border: 0;
    border-top: 1px solid var(--pc-border);
    background: var(--pc-surface);
}

body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-resize-handle {
    display: none;
}

@media (max-width: 680px) {
    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) {
        inset: 8px !important;
        width: auto !important;
        max-width: none;
        max-height: calc(100dvh - 16px);
        border-radius: 20px;
    }

    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-content {
        max-height: calc(100dvh - 168px);
        padding: 20px;
    }

    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-layout {
        grid-template-columns: 1fr;
    }

    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) .k-form-field:nth-child(n) {
        grid-column: 1;
    }

    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) > .k-window-actions {
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(.pc-users-grid) .k-window:has(> .k-window-content > .k-form) * {
        scroll-behavior: auto !important;
    }
}
/* ACCESS_HISTORY_V1 */
.pc-user-dialog-context {
    min-width: 0;
    margin: 0 0 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: normal;
    color: var(--pc-text);
}

.pc-user-dialog-context > span {
    display: block;
    color: var(--pc-text-muted);
    font-size: 12px;
}

.pc-user-dialog-context > strong {
    display: block;
    font-size: 14px;
}

.pc-invitation-panel {
    color: var(--pc-text);
}

.pc-invitation-panel p {
    margin: 0;
    line-height: 1.5;
}

.pc-invitation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pc-invitation-actions .k-button-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: normal;
}

.pc-users-grid .k-grid td.k-command-cell {
    white-space: normal !important;
    line-height: normal !important;
}

.pc-users-grid .k-grid td.k-command-cell .k-button {
    margin: 3px 2px !important;
}

.pc-access-history {
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 14px;
    height: 100%;
    overflow: auto;
    padding: 4px 6px 18px 2px;
}

.pc-access-history:focus-visible {
    outline: 2px solid var(--pc-text, #172b3a);
    outline-offset: -2px;
    border-radius: 8px;
}

.pc-access-history__empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    color: var(--pc-text-muted, #64748b);
}

.pc-access-history__entry {
    border: 1px solid var(--pc-border, #dbe4ee);
    border-radius: 16px;
    background: var(--pc-surface, #fff);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.pc-access-history__entry > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--pc-border, #e2e8f0);
}

.pc-access-history__entry header div,
.pc-access-history__states section {
    display: grid;
    gap: 4px;
}

.pc-access-history__entry header span,
.pc-access-history__entry time,
.pc-access-history__states small {
    color: var(--pc-text-muted, #64748b);
    font-size: .82rem;
}

.pc-access-history__states {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px 16px;
}

.pc-access-history__states section {
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    background: var(--pc-surface-muted, #f8fafc);
}

.pc-access-history__states section.is-current {
    background: rgba(255, 111, 15, .09);
}

.pc-access-history__states section > span {
    color: #e75f00;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pc-access-history__states p {
    margin: 2px 0 4px;
    overflow-wrap: anywhere;
    font-weight: 700;
}

@media (max-width: 640px) {
    .pc-access-history__entry > header,
    .pc-access-history__states {
        grid-template-columns: 1fr;
    }

    .pc-access-history__entry > header {
        display: grid;
    }
}
/* ONE_C_REFERENCE_AUTOCOMPLETE_V1 */
.pc-reference-control {
    position: relative;
}

.pc-reference-control > input {
    width: 100%;
    padding-right: 2.55rem;
    touch-action: manipulation;
}

.pc-reference-control.is-open > input {
    border-color: rgba(255, 108, 15, .72);
    box-shadow: 0 0 0 3px rgba(255, 108, 15, .12);
}

.pc-reference-clear {
    position: absolute;
    top: 50%;
    right: .65rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--pc-muted, #64748b);
    background: transparent;
    transform: translateY(-50%);
    font-size: 1.25rem;
    line-height: 1;
}

.pc-reference-clear:hover {
    color: var(--pc-text, #172b3e);
    background: rgba(100, 116, 139, .1);
}

.pc-reference-clear:focus-visible {
    outline: 3px solid var(--pc-focus-ring, rgba(255, 115, 16, .32));
    outline-offset: 1px;
}

.pc-reference-spinner {
    position: absolute;
    top: 50%;
    right: .85rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(100, 116, 139, .24);
    border-top-color: #ff6c0f;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pc-reference-spin .7s linear infinite;
}

.pc-reference-options {
    position: absolute;
    top: calc(100% + .35rem);
    right: 0;
    left: 0;
    z-index: 120;
    max-height: 17rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: .9rem;
    background: var(--pc-surface, #fff);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

/* The list takes focus only when its scrollbar is clicked; the input stays the
   visible focus of the control. */
.pc-reference-options:focus {
    outline: none;
}

.pc-reference-options > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: 2.65rem;
    padding: .62rem .72rem;
    border: 0;
    border-radius: .62rem;
    color: var(--pc-text, #172b3e);
    background: transparent;
    text-align: left;
    touch-action: manipulation;
    cursor: pointer;
}

.pc-reference-options > button:hover,
.pc-reference-options > button.is-active {
    background: rgba(255, 108, 15, .1);
}

.pc-reference-options strong {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-reference-options small {
    flex: 0 0 auto;
    color: var(--pc-muted, #64748b);
    font-size: .75rem;
}

.pc-reference-empty {
    padding: .8rem;
    color: var(--pc-muted, #64748b);
    text-align: center;
}

@keyframes pc-reference-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

@media (max-width: 680px) {
    .pc-reference-options {
        position: fixed;
        right: .75rem;
        bottom: .75rem;
        left: .75rem;
        top: auto;
        z-index: 500;
        max-height: min(58vh, 28rem);
        border-radius: 1rem;
        box-shadow: 0 -12px 48px rgba(15, 23, 42, .22);
    }
}
/* ROUTE_STATES_V1 */
html,body{margin:0}
.pc-route-state-page{display:grid;min-height:calc(100dvh - var(--pc-sandbox-banner-height,34px));box-sizing:border-box;place-items:center;padding:32px;background:radial-gradient(circle at 20% 10%,rgba(255,116,23,.08),transparent 32%),var(--pc-surface-soft,#f4f7fa);color:var(--pc-text,#173149)}
.pc-route-state{display:flex;width:min(100%,620px);flex-direction:column;align-items:flex-start;gap:12px;padding:42px;border:1px solid var(--pc-border,#dbe4ed);border-radius:24px;background:var(--pc-surface,#fff);box-shadow:0 22px 60px rgba(18,48,76,.12)}
.pc-route-state__icon{display:grid;min-width:52px;height:52px;place-items:center;padding:0 10px;border-radius:14px;background:#fff1e8;color:#d95d0e;font-size:18px;font-weight:800}
.pc-route-state__kicker{margin-top:8px;color:#d95d0e;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pc-route-state h1{margin:0;color:inherit;font-size:clamp(28px,4vw,40px);line-height:1.08}
.pc-route-state p{max-width:50ch;margin:0;color:var(--pc-text-muted,#687b8d);font-size:16px;line-height:1.55}
.pc-route-state__action{display:inline-flex;min-height:44px;align-items:center;margin-top:8px;padding:0 18px;border-radius:11px;background:#ff7417;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 8px 18px rgba(255,116,23,.2)}
.pc-route-state__action:hover{background:#e96008;color:#fff}
.pc-route-state__action:focus-visible{outline:3px solid var(--pc-focus-ring);outline-offset:3px}
@media(max-width:600px){.pc-route-state-page{padding:18px}.pc-route-state{padding:28px 22px;border-radius:18px}.pc-route-state h1{font-size:28px}}
@media(max-width:720px){.pc-reports-tabs .k-tabstrip-items-wrapper{overflow:visible}.pc-reports-tabs .k-tabstrip-items{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;min-width:0}.pc-reports-tabs .k-tabstrip-item{min-width:0}.pc-reports-tabs .k-tabstrip-item .k-link{justify-content:center;min-height:42px;padding:7px 4px;font-size:12px;line-height:1.15;text-align:center;white-space:normal}}

/* VISUAL_SYSTEM_V3_20260809
   Unified shell, brand, iconography and interaction states. */
:root {
    --pc-brand-orange: #ff7417;
    --pc-brand-orange-strong: #e75d05;
    --pc-brand-amber: #ffb300;
    --pc-ink: #142f46;
    --pc-ink-soft: #36556b;
    --pc-sidebar-bg: #0e2940;
    --pc-sidebar-bg-deep: #0a2134;
    --pc-control-border: #d8e3eb;
    --pc-control-hover: #fff5ed;
    --pc-selection-text: #b64b00;
    --pc-elevation-1: 0 7px 20px rgba(14, 41, 64, .07);
    --pc-elevation-2: 0 16px 42px rgba(14, 41, 64, .11);
    --pc-card-hover-shadow: 0 8px 24px rgba(20, 45, 66, .08);
}

.pc-icon {
    display: block;
    flex: 0 0 auto;
    shape-rendering: geometricPrecision;
}

.pc-shell {
    grid-template-columns: 88px minmax(0, 1fr);
}

.pc-shell--nav-open {
    grid-template-columns: 304px minmax(0, 1fr);
}

.pc-sidebar {
    color: #fff;
    background:
        radial-gradient(circle at 22% -2%, rgba(255, 116, 23, .17), transparent 24%),
        linear-gradient(180deg, var(--pc-sidebar-bg) 0%, var(--pc-sidebar-bg-deep) 100%);
    box-shadow: 10px 0 36px rgba(8, 28, 44, .13);
}

.pc-brand {
    height: 88px;
    gap: 9px;
    padding: 12px;
    border-bottom-color: rgba(255, 255, 255, .09);
}

.pc-brand-link {
    min-width: 0;
    height: 64px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(4, 22, 35, .18);
    transition: box-shadow var(--pc-motion-fast) ease, transform var(--pc-motion-fast) ease;
}

.pc-brand-link:hover {
    box-shadow: 0 13px 30px rgba(4, 22, 35, .24);
    transform: translateY(-1px);
}

.pc-brand-link:focus-visible {
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: 3px;
}

.pc-brand-link .pc-brand-logo {
    display: block;
    width: min(226px, 100%);
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
}

.pc-brand-link .pc-brand-mark {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand {
    padding-inline: 12px;
}

.pc-shell--nav-collapsed .pc-brand-link {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 9px 1px;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-logo {
    display: none;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
    display: block;
    flex: 0 0 60px;
    width: 60px;
    height: 44px;
    overflow: hidden;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark img {
    display: block;
    width: auto;
    max-width: none;
    height: 44px;
    max-height: none;
    object-fit: initial;
}

.pc-sidebar-toggle,
.pc-menu-button {
    display: inline-grid;
    place-items: center;
    border: 1px solid transparent;
    transition: color var(--pc-motion-fast) ease, border-color var(--pc-motion-fast) ease,
        background-color var(--pc-motion-fast) ease, box-shadow var(--pc-motion-fast) ease,
        transform var(--pc-motion-fast) ease;
}

/* На широком экране развёрнутую панель сворачивает её шеврон; гамбургер в шапке
   остаётся только для свёрнутой панели, чтобы не было двух одинаковых кнопок рядом. */
@media (min-width: 921px) {
    .pc-shell--nav-open .pc-menu-button {
        display: none;
    }
}

.pc-sidebar-toggle {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .08);
}

.pc-sidebar-toggle:hover {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .15);
}

.pc-sidebar-toggle:focus-visible,
.pc-menu-button:focus-visible {
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: 2px;
}

.pc-nav {
    gap: 7px;
    padding: 18px 12px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

.pc-nav-item {
    position: relative;
    gap: 12px;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 14px;
    color: rgba(229, 239, 247, .76);
    font-weight: 680;
}

.pc-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .075);
}

.pc-nav-item:focus-visible {
    color: #fff;
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: -2px;
}

.pc-nav-item.k-selected,
.pc-nav-item.selected,
.pc-nav-item[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, .11);
    box-shadow: inset 3px 0 0 var(--pc-orange), 0 8px 22px rgba(5, 24, 38, .16);
}

.pc-nav-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    transition: color var(--pc-motion-fast) ease, background-color var(--pc-motion-fast) ease,
        border-color var(--pc-motion-fast) ease, transform var(--pc-motion-fast) ease;
}

.pc-nav-item:hover .pc-nav-icon {
    color: #fff;
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .08);
}

.pc-nav-item.k-selected .pc-nav-icon,
.pc-nav-item.selected .pc-nav-icon,
.pc-nav-item[aria-current="page"] .pc-nav-icon {
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(145deg, var(--pc-orange), #f05f04);
    box-shadow: 0 8px 18px rgba(235, 91, 0, .24);
}

.pc-shell--nav-collapsed .pc-nav-item {
    width: 56px;
    min-height: 54px;
    margin-inline: auto;
    padding: 0;
    box-shadow: none;
}

.pc-shell--nav-collapsed .pc-nav-item.k-selected,
.pc-shell--nav-collapsed .pc-nav-item.selected,
.pc-shell--nav-collapsed .pc-nav-item[aria-current="page"] {
    background: rgba(255, 255, 255, .07);
}

.pc-shell--nav-collapsed .pc-nav-item.k-selected::after,
.pc-shell--nav-collapsed .pc-nav-item.selected::after,
.pc-shell--nav-collapsed .pc-nav-item[aria-current="page"]::after {
    position: absolute;
    right: 3px; /* внутри пункта: overflow: hidden обрезал маркер за его краем */
    width: 3px;
    height: 28px;
    border-radius: 3px 0 0 3px;
    background: var(--pc-orange);
    content: "";
}

.pc-sidebar-footer {
    min-height: 62px;
    padding-inline: 18px;
    border-top-color: rgba(255, 255, 255, .08);
    background: rgba(3, 20, 32, .14);
}

.pc-topbar {
    min-height: 80px;
    height: 80px;
    padding: 10px 22px;
    border-bottom-color: #e4ebf1;
    background: rgba(255, 255, 255, .975);
    box-shadow: 0 5px 22px rgba(14, 41, 64, .05);
    backdrop-filter: blur(12px);
}

.pc-menu-button {
    width: 44px;
    height: 44px;
    border-color: var(--pc-control-border);
    border-radius: 13px;
    color: var(--pc-text);
    background: #fff;
    box-shadow: 0 4px 12px rgba(14, 41, 64, .045);
}

.pc-menu-button:hover {
    color: var(--pc-brand-orange-strong);
    border-color: #ffc99f;
    background: var(--pc-control-hover);
    box-shadow: 0 7px 18px rgba(14, 41, 64, .07);
    transform: translateY(-1px);
}

.pc-page-heading strong {
    color: var(--pc-text);
    font-size: 18px;
    letter-spacing: -.012em;
}

.pc-page-kicker,
.pc-company-select > span,
.pc-manager-copy > span {
    color: #5f7383; /* 4.9:1 на белом: подписи 11px читаются по WCAG AA */
    letter-spacing: .075em;
}

.pc-topbar-actions {
    gap: 12px;
}

.pc-news-button.k-button,
.pc-topbar-actions > .k-button {
    min-height: 42px;
    gap: 7px;
    padding-inline: 12px;
    border: 1px solid var(--pc-control-border);
    border-radius: 12px;
    color: var(--pc-ink-soft);
    background: #fff;
    box-shadow: none;
}

.pc-news-button.k-button:hover,
.pc-topbar-actions > .k-button:hover {
    color: var(--pc-brand-orange-strong);
    border-color: #ffc99f;
    background: var(--pc-control-hover);
}

.pc-news-button .pc-icon,
.pc-report-submit .pc-icon,
.pc-orders-view-switch .pc-icon {
    margin-right: 1px;
}

.pc-manager {
    gap: 11px;
    min-width: 240px;
    padding-right: 14px;
    border-right-color: #e4ebf1;
}

.pc-page-kicker,
.pc-manager-copy > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-manager-avatar {
    width: 46px;
    height: 46px;
    border-width: 3px;
    box-shadow: 0 0 0 1px #dde6ed, 0 5px 14px rgba(14, 41, 64, .09);
}

.pc-manager-copy strong {
    color: var(--pc-text);
    font-size: 13px;
}

.pc-manager-messengers {
    gap: 5px;
}

.pc-manager-messenger {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--pc-control-border);
    border-radius: 10px;
    background: #fff;
    transition: border-color var(--pc-motion-fast) ease, background-color var(--pc-motion-fast) ease,
        transform var(--pc-motion-fast) ease;
}

.pc-manager-messenger:hover {
    border-color: #ffc99f;
    background: var(--pc-control-hover);
    transform: translateY(-1px);
}

.pc-manager-messenger:focus-visible {
    outline: 3px solid var(--pc-focus-ring);
    outline-offset: 2px;
}

.pc-manager-messengers .pc-manager-messenger img {
    width: 19px;
    height: 19px;
}

.pc-company-select .k-combobox,
.pc-company-select .k-input {
    min-height: 42px;
    border-color: var(--pc-control-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.pc-company-select .k-combobox:hover,
.pc-company-select .k-input:hover {
    border-color: #bdccd7;
}

.pc-company-select .k-combobox:focus-within,
.pc-company-select .k-input:focus-within {
    border-color: #ffae75;
    box-shadow: var(--pc-focus-shadow);
}

.pc-main {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 116, 23, .045), transparent 27rem),
        linear-gradient(180deg, #f5f8fb 0%, #f2f6f9 100%);
}

.pc-section-heading h1 {
    color: var(--pc-text);
    letter-spacing: -.035em;
}

.pc-section-heading p {
    color: #6b7f90;
    line-height: 1.45;
}

.pc-section-kicker,
.pc-report-card__kicker {
    color: var(--pc-brand-orange-strong);
}

.pc-data-surface,
.pc-report-card,
.pc-orders-controls,
.pc-order-card,
.pc-calculation-card,
.pc-company-card,
.pc-finance-card {
    border-color: #dce6ed;
    box-shadow: var(--pc-elevation-1);
}

.pc-orders-view-switch {
    border-color: var(--pc-control-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--pc-elevation-1);
}

.pc-orders-view-switch button {
    min-height: 40px;
    border-radius: 10px;
    color: #587082;
}

.pc-orders-view-switch button:hover {
    color: var(--pc-text);
    background: #f2f6f9;
}

.pc-orders-view-switch button.is-active {
    color: #fff;
    background: linear-gradient(145deg, #173b58, #0e2c45);
    box-shadow: 0 7px 16px rgba(14, 44, 69, .19);
}

.pc-report-info {
    border: 1px solid #dce6ed;
    color: #567084;
    background: #f5f8fa;
}

.pc-report-submit.k-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 12px;
    font-weight: 750;
}

.pc-data-surface .k-button,
.pc-report-field .k-input,
.pc-report-field .k-picker,
.pc-reference-control > input {
    transition: color var(--pc-motion-fast) ease, border-color var(--pc-motion-fast) ease,
        background-color var(--pc-motion-fast) ease, box-shadow var(--pc-motion-fast) ease,
        transform var(--pc-motion-fast) ease;
}

.pc-data-surface .k-button:active,
.pc-report-submit.k-button:active,
.pc-orders-view-switch button:active {
    transform: translateY(0);
}

.pc-data-surface .k-button:disabled,
.pc-report-submit.k-button:disabled,
.pc-report-submit.k-button.k-disabled {
    color: #8b9ba7;
    border-color: #e2e8ed;
    background: #f3f6f8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.k-window {
    overflow: hidden;
    border: 1px solid #d9e4ec !important;
    border-radius: 20px !important;
    background: #fff;
    box-shadow: 0 28px 80px rgba(10, 32, 50, .22) !important;
}

.k-window-titlebar {
    min-height: 58px;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e5ecf1 !important;
    color: var(--pc-text) !important;
    background: linear-gradient(180deg, #fff, #fbfcfd) !important;
}

.k-window-title {
    font-weight: 780 !important;
    letter-spacing: -.012em;
}

/* Кнопка закрытия окна Telerik описана один раз в dialog-controls.css. */

.k-overlay {
    background: rgba(7, 25, 39, .48) !important;
    backdrop-filter: blur(3px);
}

.k-list-container,
.k-popup.k-list-container {
    padding: 6px !important;
    border: 1px solid var(--pc-border) !important;
    border-radius: 14px !important;
    background: var(--pc-surface) !important;
    box-shadow: var(--pc-elevation-2) !important;
}

.k-list-container .k-list {
    color: var(--pc-text);
    background: var(--pc-surface);
}

.k-list-container .k-list-item,
.k-popup .k-list-item {
    min-height: 40px;
    margin: 1px 0;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--pc-ink-soft);
}

.k-list-container .k-list-item:hover,
.k-popup .k-list-item:hover,
.k-list-container .k-list-item.k-focus,
.k-popup .k-list-item.k-focus {
    color: var(--pc-text);
    background: var(--pc-control-hover);
}

.k-list-container .k-selected,
.k-popup .k-selected {
    color: var(--pc-selection-text) !important;
    background: var(--pc-orange-soft) !important;
}

.k-checkbox,
input[type="checkbox"] {
    accent-color: var(--pc-orange);
}

.k-checkbox:focus-visible,
input[type="checkbox"]:focus-visible,
button:focus-visible,
a:focus-visible {
    outline-color: rgba(255, 116, 23, .38);
}

.pc-main,
.pc-nav,
.k-grid-content,
.k-window-content,
.k-list-content,
.pc-reference-options {
    scrollbar-color: #aebeca #edf2f5;
    scrollbar-width: thin;
}

.pc-main::-webkit-scrollbar,
.pc-nav::-webkit-scrollbar,
.k-grid-content::-webkit-scrollbar,
.k-window-content::-webkit-scrollbar,
.k-list-content::-webkit-scrollbar,
.pc-reference-options::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.pc-main::-webkit-scrollbar-thumb,
.pc-nav::-webkit-scrollbar-thumb,
.k-grid-content::-webkit-scrollbar-thumb,
.k-window-content::-webkit-scrollbar-thumb,
.k-list-content::-webkit-scrollbar-thumb,
.pc-reference-options::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #aebeca;
    background-clip: padding-box;
}

/* Keep the manager and company separate when the desktop sidebar consumes
   horizontal space. Do not clip the topbar: its popovers must remain visible. */
@media (min-width: 921px) and (max-width: 1440px) {
    .pc-shell--nav-open .pc-topbar {
        gap: 12px;
        padding-inline: 12px;
    }

    .pc-shell--nav-open .pc-topbar-start {
        flex: 0 1 auto;
        min-width: 80px;
    }

    .pc-shell--nav-open .pc-topbar-actions {
        gap: 8px;
    }

    .pc-shell--nav-open .pc-news-label,
    .pc-shell--nav-open .pc-manager-links,
    .pc-shell--nav-open .pc-manager-messengers {
        display: none;
    }

    .pc-shell--nav-open .pc-news-button.k-button {
        width: 42px;
        min-width: 42px;
        padding-inline: 0;
    }

    .pc-shell--nav-open .pc-manager {
        flex: 0 1 180px;
        min-width: 116px;
        gap: 8px;
        padding-right: 8px;
    }

    .pc-shell--nav-open .pc-manager-avatar {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .pc-shell--nav-open .pc-company-select .k-combobox {
        width: clamp(180px, 20vw, 240px) !important;
    }
}

@media (min-width: 641px) and (max-width: 1180px) {
    .pc-topbar {
        gap: 12px;
        padding-inline: 12px;
    }

    .pc-topbar-actions {
        gap: 8px;
    }

    .pc-news-button .pc-news-label {
        display: none;
    }

    .pc-news-button.k-button {
        width: 42px;
        min-width: 42px;
        padding-inline: 0;
    }

    .pc-manager {
        min-width: 160px;
    }
}

@media (max-width: 1180px) {
    .pc-shell--nav-open {
        grid-template-columns: 292px minmax(0, 1fr);
    }

    .pc-manager-messengers {
        display: none;
    }
}

@media (max-width: 920px) {
    .pc-shell,
    .pc-shell--nav-open {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-sidebar {
        width: min(304px, calc(100vw - 36px));
    }

    .pc-brand-link .pc-brand-logo {
        display: block;
    }

    .pc-brand-link .pc-brand-mark,
    .pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
        display: none;
    }

    .pc-shell--nav-collapsed .pc-brand-link {
        flex: 1 1 auto;
        width: auto;
        padding: 8px 11px;
    }

    .pc-shell--nav-collapsed .pc-brand-link .pc-brand-logo {
        display: block;
    }

    .pc-shell--nav-collapsed .pc-nav-item {
        width: 100%;
        margin-inline: 0;
        padding: 0 12px;
    }

    .pc-shell--nav-collapsed .pc-nav-item.k-selected::after,
    .pc-shell--nav-collapsed .pc-nav-item.selected::after,
    .pc-shell--nav-collapsed .pc-nav-item[aria-current="page"]::after {
        display: none;
    }

    .pc-topbar {
        min-height: 72px;
        height: 72px;
    }
}

@media (max-width: 640px) {
    .pc-topbar {
        padding-inline: 10px;
    }

    .pc-menu-button {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .pc-company-select .k-combobox {
        display: inline-flex !important;
        width: min(154px, 41vw) !important;
    }

    .pc-section-heading {
        gap: 12px;
    }

    .pc-orders-view-switch {
        width: 100%;
    }

    .pc-orders-view-switch button {
        flex: 1 1 50%;
        justify-content: center;
        padding-inline: 9px;
    }

    .k-window {
        border-radius: 16px !important;
    }
}

@media (max-width: 520px) {
    .pc-page-heading {
        display: none;
    }

    .pc-topbar-start {
        flex: 0 0 auto;
    }

    .pc-topbar-actions {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pc-company-select {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pc-company-select .k-combobox {
        display: inline-flex !important;
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-brand-link,
    .pc-sidebar-toggle,
    .pc-menu-button,
    .pc-nav-item,
    .pc-nav-icon,
    .pc-manager-messenger,
    .pc-orders-view-switch button,
    .pc-data-surface .k-button,
    .pc-report-submit.k-button,
    .pc-main > * {
        animation: none !important;
        transition: none !important;
    }
}

/* VISUAL_POLISH_V4_CASCADE_20260809 */
.pc-request-field select,
.pc-select,
.pc-calculation-clarification-fields select {
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 13px;
    border: 1px solid #cfdee8;
    border-radius: 11px;
    color: #24445c;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2339576d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 17px;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--pc-motion-fast) ease, box-shadow var(--pc-motion-fast) ease, background-color var(--pc-motion-fast) ease;
}

.pc-request-field select:hover,
.pc-select:hover,
.pc-calculation-clarification-fields select:hover {
    border-color: #adc2cf;
    background-color: #fbfdfe;
}

.pc-request-field select:focus,
.pc-select:focus,
.pc-calculation-clarification-fields select:focus {
    border-color: rgba(255, 108, 15, .72);
    outline: 0;
    box-shadow: 0 0 0 3px var(--pc-focus-shadow);
}

.pc-reference-options > button {
    justify-content: flex-start;
}

.pc-reference-options strong {
    white-space: normal;
    line-height: 1.3;
}

.pc-shell--nav-collapsed .pc-brand-link {
    padding: 4px;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    place-items: center;
    border-radius: 13px;
    background: #fff;
}

.pc-shell--nav-collapsed .pc-brand-link .pc-brand-mark img {
    display: block !important;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12) translateY(-1%);
}

.pc-settings-tabs .k-tabstrip-content {
    padding: 24px !important;
}

.k-grid .k-table-th,
.k-grid th.k-header,
.k-grid .k-grid-header th {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

@media (max-width: 720px) {
    .pc-settings-tabs .k-tabstrip-content {
        padding: 18px !important;
    }
}

.pc-video-chapters {
    padding: 0 24px 24px;
    color: inherit;
}

.pc-video-chapters h2 { font-size: 18px; }
.pc-video-chapters ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding-left: 24px;
}
.pc-video-chapters button {
    display: inline-flex;
    gap: 10px;
    align-items: baseline;
    padding: 6px 0;
    color: inherit;
    font: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.pc-video-chapters button span { font-variant-numeric: tabular-nums; }
.pc-video-chapters button:hover { text-decoration: underline; }
.pc-video-chapters button:focus-visible { outline: 2px solid #ff6b00; outline-offset: 3px; }
@media (max-width: 700px) {
    .pc-video-chapters { padding: 0 18px 18px; }
    .pc-video-chapters ol { grid-template-columns: 1fr; }
}
