:root {
    --bg: #f4f2ec;
    --paper: #fffdf8;
    --ink: #1f1e1a;
    --muted: #6f6a5c;
    --brand: #0f6d73;
    --brand-2: #dc9b39;
    --danger: #9e2a2b;
    --line: #e4ddcf;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 10%, #f8efe1 0, transparent 35%),
        radial-gradient(circle at 90% 0, #dceef0 0, transparent 30%),
        var(--bg);
    color: var(--ink);
}

.container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: color-mix(in oklab, var(--paper) 86%, white 14%);
    border-bottom: 1px solid var(--line);
    z-index: 10;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 20px;
}

.brand {
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
}

.nav a:hover {
    background: #ece7db;
}

.auth-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: color-mix(in oklab, var(--paper) 88%, white 12%);
}

.auth-link:hover {
    background: #ece7db;
}

.team-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 8px;
}

.team-list {
    display: grid;
    gap: 10px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.team-meta {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 960px) {
    .header-row {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .team-access-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

.hero {
    margin-top: 24px;
    margin-bottom: 18px;
}

.breadcrumbs {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--brand);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.hero h1 {
    margin-bottom: 6px;
}

.hero p {
    margin: 0;
    color: var(--muted);
}

.notion-application {
    margin-top: 22px;
    margin-bottom: 18px;
    padding: 8px 4px 2px;
}

.notion-application h1 {
    margin: 0 0 22px;
    font-size: clamp(44px, 5.6vw, 64px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.02em;
    width: fit-content;
    border-bottom: 5px dotted #dc6b6b;
    padding-bottom: 6px;
}

.notion-title-edit {
    display: grid;
    grid-template-columns: minmax(260px, 480px) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
}

.notion-title-edit label {
    font-size: 14px;
}

.notion-properties {
    display: grid;
    gap: 12px;
    max-width: 920px;
}

.notion-prop-row {
    display: grid;
    grid-template-columns: 28px 260px minmax(200px, 1fr);
    align-items: center;
    column-gap: 18px;
    min-height: 52px;
}

.notion-prop-icon {
    color: #918c84;
    font-size: 28px;
    line-height: 1;
}

.notion-prop-label {
    color: #75716b;
    font-size: 40px;
    font-size: clamp(22px, 2vw, 42px);
}

.notion-prop-value {
    font-size: clamp(28px, 2.4vw, 46px);
    line-height: 1.1;
    color: #2c2b2a;
}

.notion-prop-value-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.notion-status-badge {
    display: inline-block;
    font-size: clamp(20px, 1.8vw, 30px);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.1;
}

.notion-status-badge.is-new {
    background: #f5e1d4;
    color: #6f4424;
}

.notion-status-badge.is-progress {
    background: #f5e1d4;
    color: #6f4424;
}

.notion-status-badge.is-approved {
    background: #d8f0dd;
    color: #205b2b;
}

.notion-status-badge.is-closed {
    background: #d9dde7;
    color: #3f4759;
}

.notion-more-props {
    margin-top: 12px;
    color: #918c84;
    font-size: clamp(24px, 2vw, 36px);
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.application-edit-card {
    margin-top: 16px;
}

.contract-edit-card {
    margin-top: 20px;
}

.grid-form {
    display: grid;
    gap: 10px;
}

.grid-form-5 {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    align-items: end;
}

.grid-form-3 {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    align-items: end;
}

.dashboard-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.board {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 12px;
}

.board-applications {
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
}

.app-workflow-board {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 10px;
}

.app-message-hub {
    background: color-mix(in oklab, var(--paper) 90%, #eef4f6 10%);
    border: 1px solid var(--line);
    color: var(--ink);
    display: grid;
    grid-template-rows: auto minmax(220px, 1fr) auto;
    gap: 10px;
    min-height: 460px;
}

.app-message-hub-head {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px;
    gap: 10px;
    align-items: end;
}

.app-message-filter-wrap {
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
}

.app-message-filter-wrap select {
    background: #fff;
    color: var(--ink);
    border: 1px solid #b7c7d2;
}

.tasks-groups-board {
    grid-template-columns: repeat(5, minmax(240px, 1fr));
    gap: 10px;
}

.tasks-groups-board .board-col {
    background: rgba(12, 39, 58, 0.65);
    border: 1px solid #355a77;
    min-height: 300px;
}

.tasks-groups-board .board-col-body {
    align-content: start;
}

.app-message-hub-head input {
    width: 100%;
    background: #fff;
    color: var(--ink);
    border: 1px solid #b7c7d2;
}

.app-message-timeline {
    min-height: 220px;
    height: min(54vh, 420px);
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 0;
    border: 1px solid #c8d5de;
    border-radius: 8px;
    background: transparent;
}

.app-message-item {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 4px 0;
    display: grid;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    overflow-wrap: anywhere;
}

.chat-telegram {
    position: relative;
    background: transparent;
    border: 0;
}

.chat-telegram .app-message-timeline {
    background: #ffffff;
    border-color: #b5c9d8;
    border-radius: 14px;
}

.card.chat-telegram,
.app-message-card.chat-telegram,
.app-message-hub.chat-telegram {
    background: transparent;
    border: 0;
    padding: 0;
}

.chat-telegram .app-message-item {
    border-radius: 0;
    border-color: transparent;
    padding: 5px 2px;
    max-width: 100%;
    box-shadow: none;
    background: transparent;
}

.chat-telegram .app-message-item-own {
    margin-left: 0;
    margin-right: auto;
    background: transparent;
    border-color: transparent;
}

.chat-telegram .app-message-item-compact {
    padding-top: 0;
    padding-bottom: 0;
}

.chat-telegram .app-message-item-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.chat-telegram .app-message-item-meta {
    font-size: 12px;
    color: #5f7b8f;
}

.chat-day-divider {
    align-self: center;
    font-size: 12px;
    font-weight: 700;
    color: #4a6577;
    background: rgba(233, 242, 250, 0.95);
    border: 1px solid rgba(177, 198, 213, 0.9);
    border-radius: 999px;
    padding: 4px 10px;
    margin: 2px auto;
}

.chat-files-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.chat-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 0;
    color: var(--ink);
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.chat-file-row:hover .chat-file-name {
    text-decoration: underline;
}



.chat-file-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #2b87db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-file-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-file-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a1a1a;
}

.chat-file-meta {
    font-size: 12px;
    color: #8a9ba8;
    margin-top: 2px;
}

.chat-file-action {
    color: #2b87db;
}

.chat-telegram .app-message-composer {
    background: #ffffff;
    border-color: #bad0df;
    border-radius: 14px;
}

.chat-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-message-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.chat-message-author {
    color: #2f78c8;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.chat-message-type {
    display: inline-flex;
    align-items: center;
    border: 1px solid #8ea9bf;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #466074;
    background: transparent;
}

.chat-message-time {
    margin-left: auto;
    color: #6b889d;
    font-size: 12px;
    white-space: nowrap;
}

.app-message-item-compact .chat-message-author {
    display: none;
}

.app-message-item-compact .chat-message-type {
    display: none;
}

.app-message-item-compact .chat-message-head {
    display: none;
}

.chat-message-actions {
    display: none;
    gap: 8px;
}

.chat-message-action {
    border: 0;
    background: transparent;
    color: #5d7f99;
    font-size: 12px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.chat-message-action-delete {
    color: #8f5b5b;
}

.chat-context-menu {
    position: fixed;
    z-index: 1200;
    min-width: 150px;
    background: #ffffff;
    border: 1px solid #b9cddd;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(25, 48, 67, 0.18);
    padding: 6px;
}

.chat-context-menu[hidden] {
    display: none;
}

.chat-context-menu button {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    font-size: 13px;
    padding: 7px 10px;
    color: #2a4358;
    cursor: pointer;
}

.chat-context-menu button:hover {
    background: #edf4fa;
}

.chat-context-menu .danger {
    color: #8f4343;
}

.chat-inline-type-select {
    min-width: 180px;
    border: 1px solid #aac1d2;
    border-radius: 8px;
    background: #ffffff;
    color: #27445a;
    padding: 6px 8px;
    box-shadow: 0 10px 24px rgba(25, 48, 67, 0.2);
}

.chat-editing-row {
    outline: 2px solid #5ea0d3;
    outline-offset: 2px;
}

.chat-drop-indicator {
    position: absolute;
    inset: 14px;
    border: 2px dashed #2d8fd6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1f6ea6;
    background: rgba(220, 240, 255, 0.72);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 120ms ease, transform 120ms ease;
    z-index: 3;
}

.chat-telegram.chat-drop-active .chat-drop-indicator {
    opacity: 1;
    transform: scale(1);
}

.chat-telegram.chat-drop-active .app-message-composer,
.chat-telegram.chat-drop-active .app-message-timeline {
    filter: saturate(1.04) brightness(1.01);
}

.app-message-item-meta {
    color: #6f8494;
    font-size: 13px;
}

.app-message-item-title {
    color: var(--brand);
    font-weight: 700;
}

.app-message-item-text {
    color: var(--ink);
    line-height: 1.4;
}

.app-message-composer {
    border: 1px solid #c8d5de;
    border-radius: 8px;
    background: #f4f8fb;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.app-message-composer.is-dragover {
    border-color: #79a9c7;
    background: #e9f4fb;
}

.app-message-type-picker {
    position: relative;
    justify-self: start;
}

.app-message-type-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 5;
    min-width: 170px;
    border: 1px solid #4f7391;
    border-radius: 8px;
    background: #173850;
    padding: 6px;
    display: grid;
    gap: 4px;
}

.app-message-type-menu button {
    border: 0;
    background: transparent;
    color: #dce9f4;
    text-align: left;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.app-message-type-menu button:hover {
    background: rgba(75, 110, 138, 0.38);
}

.app-message-text-wrap {
    display: grid;
    gap: 6px;
}

.app-message-channel {
    color: #9bb6cc;
    font-size: 14px;
}

.app-message-text-wrap textarea {
    min-height: 72px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid #b7c7d2;
    resize: vertical;
}

.app-message-input-head {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: end;
}

.app-message-type-select-wrap,
.app-message-task-date-wrap {
    display: grid;
    gap: 4px;
    color: #6f8494;
    font-size: 13px;
    min-width: 220px;
}

.chat-toast-container {
    position: fixed;
    right: 16px;
    top: 86px;
    z-index: 60;
    display: grid;
    gap: 8px;
    max-width: min(360px, calc(100vw - 24px));
}

.chat-toast {
    border: 1px solid #b7c7d2;
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    animation: toast-in 0.24s ease-out;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-message-task-date-wrap[hidden] {
    display: none !important;
}

.app-message-type-select-wrap select,
.app-message-task-date-wrap input {
    background: #fff;
    color: var(--ink);
    border: 1px solid #b7c7d2;
}

.app-message-task-deadline {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    gap: 10px;
}

.app-message-task-deadline label {
    color: #9bb6cc;
    font-size: 13px;
}

.app-message-task-deadline input {
    background: rgba(12, 39, 58, 0.65);
    color: #ecf5fc;
    border: 1px solid #426785;
}

.app-message-composer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.app-message-composer-tools {
    display: flex;
    gap: 8px;
    align-items: center;
}

.app-message-file-label {
    width: 38px;
    height: 38px;
    border: 1px solid #b7c7d2;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #55758b;
}

.app-message-file-label input {
    display: none;
}

.app-message-file-count {
    color: #6f8494;
    font-size: 13px;
}

.app-message-selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.app-message-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #b7c7d2;
    border-radius: 999px;
    background: #f5fafc;
    color: #2d4b5f;
    padding: 4px 6px 4px 10px;
    max-width: 360px;
}

.app-message-file-chip-name {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-message-file-chip-remove {
    width: 22px;
    height: 22px;
    border: 1px solid #c6d5de;
    border-radius: 50%;
    background: #fff;
    color: #4a6070;
    cursor: pointer;
    line-height: 1;
    font-size: 16px;
    padding: 0;
}

.app-message-file-chip-remove:hover {
    background: #f0f5f8;
}

.app-message-drop-hint {
    color: #6f8494;
    font-size: 12px;
    line-height: 1.35;
}

.board-col {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    min-height: 260px;
    display: grid;
    grid-template-rows: auto 1fr;
}

.board-col-title {
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    padding: 9px 10px;
    background: #fbf6e8;
    font-size: 14px;
}

.board-col-application:nth-child(1) .board-col-title {
    border-top: 3px solid #f0ed9f;
}

.board-col-application:nth-child(2) .board-col-title {
    border-top: 3px solid #8bc7ff;
}

.board-col-application:nth-child(3) .board-col-title {
    border-top: 3px solid #f0ed9f;
}

.board-col-application:nth-child(4) .board-col-title {
    border-top: 3px solid #ffc85a;
}

.board-col-application:nth-child(5) .board-col-title {
    border-top: 3px solid #f4c9d0;
}

.board-col-application:nth-child(6) .board-col-title {
    border-top: 3px solid #c9ec9b;
}

.board-col-application {
    background: color-mix(in oklab, var(--paper) 86%, white 14%);
    border: 1px solid var(--line);
    min-height: 480px;
}

.board-col-title-crm {
    display: grid;
    grid-template-rows: minmax(48px, auto) 24px;
    gap: 2px;
    background: color-mix(in oklab, var(--paper) 92%, #f6f1e3 8%);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-align: center;
    min-height: 94px;
    align-items: center;
}

.board-col-title-main {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-size: 18px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-col-title-meta {
    color: var(--muted);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-col-application .board-col-body {
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: transparent;
    min-height: 360px;
    align-content: start;
    padding: 10px;
}

.quick-add-trigger {
    width: 100%;
    border: 1px dashed #8ea0b0;
    background: color-mix(in oklab, var(--paper) 88%, #e8f2f7 12%);
    color: var(--ink);
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.quick-add-trigger:hover {
    background: color-mix(in oklab, var(--paper) 82%, #dbeaf2 18%);
}

.quick-add-form {
    display: grid;
    gap: 8px;
    border: 1px dashed #95a7b7;
    border-radius: 10px;
    padding: 12px;
    background: color-mix(in oklab, var(--paper) 90%, #e8f1f7 10%);
}

.quick-add-form[hidden] {
    display: none !important;
}

.quick-add-form label {
    color: var(--ink);
    font-size: 13px;
    min-width: 0;
}

.quick-add-form input,
.quick-add-form select,
.quick-customer-picker {
    background: #fff;
    border: 1px solid #a9b8c4;
    color: var(--ink);
    width: 100%;
    min-width: 0;
}

.quick-customer-picker {
    text-align: left;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-customer-modal[hidden] {
    display: none !important;
}

.quick-customer-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.quick-customer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 26, 30, 0.46);
}

.quick-customer-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 24px));
    margin: 7vh auto 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.quick-customer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.quick-customer-modal-header h3 {
    margin: 0;
}

.quick-customer-modal-tools {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px;
    gap: 8px;
}

.quick-customer-list {
    max-height: 320px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    gap: 6px;
    background: #fff;
}

.quick-customer-option {
    border: 1px solid #d6dfe4;
    background: #fff;
    color: var(--ink);
    border-radius: 8px;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
}

.quick-customer-option:hover {
    border-color: #9fb5c3;
    background: #f3f8fb;
}

.quick-customer-create {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    display: grid;
    gap: 8px;
    background: color-mix(in oklab, var(--paper) 88%, #eef5f8 12%);
}

.quick-customer-create-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 200px;
    gap: 8px;
}

.quick-customer-create-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quick-customer-create-status {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 720px) {
    .quick-customer-modal-dialog {
        margin-top: 3vh;
    }

    .quick-customer-modal-tools,
    .quick-customer-create-grid {
        grid-template-columns: 1fr;
    }
}

.quick-add-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.board-dropzone.quick-add-open .board-empty {
    display: none;
}

.board-col-application .board-card {
    background: #fff;
    border: 1px solid #c8d5de;
    color: var(--ink);
    border-radius: 8px;
    gap: 6px;
}

.board-col-application .board-card strong {
    color: var(--brand);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.board-col-application .board-card span {
    color: var(--muted);
    font-size: 14px;
}

.board-col-body {
    padding: 8px;
    display: grid;
    gap: 6px;
    align-content: start;
}

.board-card {
    display: grid;
    gap: 3px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px;
    background: #fff;
    font-size: 14px;
}

.board-card.is-dragging {
    opacity: 0.65;
}

.board-dropzone.is-drop-target {
    background: #eef7ff;
    border-radius: 10px;
}

.contract-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.contract-card {
    width: 300px;
    max-width: 100%;
    min-height: 0;
    align-self: flex-start;
}

.contract-board .board-card {
    min-height: 140px;
}

.contracts-add-inline {
    margin-bottom: 12px;
}

.contract-toolbar {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-start;
}

.contract-toolbar label {
    min-width: 260px;
}

.board-empty {
    color: var(--muted);
    font-size: 14px;
}

.archive-shortcut {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
    background: color-mix(in oklab, var(--paper) 80%, white 20%);
}

.archive-shortcut:hover {
    background: #ece7db;
}

.archive-shortcut-icon {
    font-size: 20px;
    line-height: 1;
}

.archive-shortcut-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.n-toolbar {
    margin-bottom: 10px;
}

.n-toolbar input {
    width: 100%;
}

label {
    display: grid;
    gap: 4px;
    font-size: 14px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: end;
    min-height: 42px;
}

.subcontract-card {
    overflow-x: auto;
}

.subcontract-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
}

.subcontract-meta span {
    color: var(--ink);
    font-weight: 700;
}

.subcontract-form {
    grid-template-columns: minmax(260px, 2fr) minmax(260px, 2fr) minmax(180px, 1.1fr) minmax(150px, 0.9fr) minmax(180px, 1fr) auto auto;
    margin-bottom: 12px;
    align-items: end;
}

.percent-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 8px;
    align-items: center;
}

.percent-badge {
    border: 1px solid #cbc2b0;
    border-radius: 10px;
    background: #f5efe3;
    color: #4a4339;
    padding: 9px 0;
    min-width: 56px;
    cursor: default;
}

.subcontract-table small {
    color: var(--muted);
}

.subcontract-table {
    width: 100%;
    table-layout: fixed;
}

.subcontract-list-table {
    table-layout: auto;
}

.subcontract-list-table th,
.subcontract-list-table td {
    width: auto !important;
}

.subcontract-list-table th:nth-child(1),
.subcontract-list-table td:nth-child(1) {
    white-space: nowrap;
}

.subcontract-list-table th:nth-child(2),
.subcontract-list-table td:nth-child(2),
.subcontract-list-table th:nth-child(5),
.subcontract-list-table td:nth-child(5),
.subcontract-list-table th:nth-child(6),
.subcontract-list-table td:nth-child(6),
.subcontract-list-table th:nth-child(7),
.subcontract-list-table td:nth-child(7) {
    white-space: nowrap;
}

.subcontract-list-table th:nth-child(3),
.subcontract-list-table td:nth-child(3),
.subcontract-list-table th:nth-child(4),
.subcontract-list-table td:nth-child(4) {
    min-width: 220px;
}

.subcontract-list-table th:last-child,
.subcontract-list-table td:last-child {
    width: 1% !important;
}

.subcontract-table th,
.subcontract-table td {
    white-space: normal;
    vertical-align: middle;
    padding: 8px 6px;
}

.subcontract-table th:nth-child(1),
.subcontract-table td:nth-child(1) {
    width: 22%;
}

.subcontract-table th:nth-child(2),
.subcontract-table td:nth-child(2) {
    width: 24%;
}

.subcontract-table th:nth-child(3),
.subcontract-table td:nth-child(3) {
    width: 18%;
}

.subcontract-table th:nth-child(4),
.subcontract-table td:nth-child(4) {
    width: 10%;
}

.subcontract-table th:nth-child(5),
.subcontract-table td:nth-child(5) {
    width: 18%;
}

.subcontract-table th:nth-child(6),
.subcontract-table td:nth-child(6) {
    width: 4%;
}

.subcontract-table th:nth-child(7),
.subcontract-table td:nth-child(7) {
    width: 4%;
}

.subcontract-table td input,
.subcontract-table td select {
    width: 100%;
    min-width: 0;
}

.subcontract-table td > input:not([type="checkbox"]),
.subcontract-table td > select {
    width: 100% !important;
    display: block;
}

.subcontract-table td .percent-input-wrap {
    width: 100% !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subcontract-table td .percent-input-wrap input {
    flex: 1 1 auto;
    width: auto !important;
}

.subcontract-table td input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
}

.subcontract-payment-table th:nth-child(6),
.subcontract-payment-table td:nth-child(6) {
    text-align: center;
    white-space: nowrap;
}

.subcontract-payment-table th:nth-child(7),
.subcontract-payment-table td:nth-child(7) {
    white-space: nowrap;
}

.subcontract-payment-table .subcontract-actions {
    justify-content: flex-start;
}

.subcontract-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.subcontract-payment-row.is-saving {
    background: #fff8e9;
}

.subcontract-payment-row.is-error {
    background: #fff0f0;
}

.subcontract-actions .btn-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;
    font-size: 18px;
}

.subcontract-table tfoot td {
    font-weight: 700;
    border-top: 2px solid var(--line);
}

input,
select,
button {
    font: inherit;
}

input,
select {
    border: 1px solid #cbc2b0;
    border-radius: 10px;
    padding: 9px 11px;
    background: white;
}

textarea {
    border: 1px solid #cbc2b0;
    border-radius: 10px;
    padding: 9px 11px;
    background: white;
    font: inherit;
    resize: vertical;
}

.contract-edit-form textarea {
    min-height: 84px;
}

.contract-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.contract-form-col {
    display: flex;
    flex-direction: column;

    .contract-docs-list {
        list-style: none;
        padding: 0;
        margin: 0 0 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .contract-doc-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        background: var(--bg, #f5f5f5);
        border-radius: 8px;
        border: 1px solid var(--line);
    }

    .contract-doc-link {
        flex: 1;
        font-size: 14px;
        color: var(--brand);
        text-decoration: none;
        word-break: break-all;
    }

    .contract-doc-link:hover {
        text-decoration: underline;
    }

    .doc-upload-form {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    gap: 10px;
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--brand);
    color: white;
    cursor: pointer;
    width: fit-content;
}

.btn-ghost {
    background: #ede7d8;
    color: #3b372f;
}

.btn-danger {
    background: var(--danger);
}

.btn-link-blue {
    background: #e8f2ff;
    border: 1px solid #c0d8fb;
    color: #185a9c;
}

.btn-link-blue:hover {
    background: #d9e9ff;
}

.btn-delete {
    background: #e8f2ff;
    border: 1px solid #c0d8fb;
    color: #185a9c;
}

.btn-delete:hover {
    background: #d9e9ff;
}

.btn-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.article-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
}

.article-link:hover {
    text-decoration: underline;
}

.inline-form {
    margin: 0;
}

.stack {
    display: grid;
    gap: 8px;
}

.row-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px;
    background: white;
}

.row-link span {
    color: var(--muted);
}

.row-link-static {
    cursor: default;
}

.estimate-row-actions {
    align-items: center;
}

.estimate-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.estimate-index {
    min-width: 22px;
    color: var(--muted);
    font-weight: 700;
}

.estimate-row-actions a {
    text-decoration: none;
}

.estimate-pdf-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.row-actions-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.notion-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.notion-tag {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: 1px solid #afbdd3;
    border-radius: 8px;
    background: #f4f8ff;
    color: #2c3f57;
    padding: 5px 9px;
    font-size: 13px;
    line-height: 1.2;
}

.estimate-board {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 10px;
}

.estimate-board-card {
    gap: 10px;
}

.estimate-board-card.is-dragging {
    opacity: 0.65;
}

.estimate-dropzone.is-drop-target {
    background: #eef7ff;
    border-radius: 10px;
}

.estimate-board-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.estimate-metrics-grid {
    display: grid;
    gap: 4px;
    font-size: 14px;
}

.estimate-status-form select {
    width: 100%;
}

.estimate-status-card {
    margin-top: 10px;
}

.estimate-inline-status-form {
    display: grid;
    grid-template-columns: minmax(220px, 320px);
    align-items: end;
}

.muted-inline {
    color: var(--muted);
}

.pdf-preview-dialog {
    width: min(1100px, 92vw);
    height: min(88vh, 900px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}

.pdf-preview-dialog::backdrop {
    background: rgba(20, 18, 14, 0.45);
}

.pdf-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.pdf-preview-dialog iframe {
    width: 100%;
    height: calc(100% - 64px);
    border: 0;
    display: block;
    background: white;
}

.n-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: start;
}

.n-left,
.n-right {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.n-right {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 110px);
    overflow: auto;
}

.estimate-tree-panel {
    max-height: 70vh;
    overflow: auto;
}

.estimate-wide-block {
    width: 100%;
    margin-top: 12px;
}

.tree-list {
    display: grid;
    gap: 4px;
}

.tree-row {
    display: block;
}

.tree-row-dragging {
    opacity: 0.45;
}

.tree-row-drop-target > .tree-row-main,
.tree-row.tree-row-drop-target > .tree-row-main {
    background: #e8f4fd;
    outline: 2px solid #4a90d9;
    border-radius: 4px;
}

button.tree-link.tree-row-drop-target {
    background: #e8f4fd;
    outline: 2px solid #4a90d9;
    border-radius: 4px;
}

.tree-row-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tree-menu-wrap {
    margin-left: auto;
    position: relative;
}

.tree-menu-trigger {
    border: 1px solid #ccb98d;
    background: #fff8e9;
    color: #5c4b25;
    border-radius: 8px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    padding: 0;
}

.tree-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 28px;
    z-index: 20;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(30, 25, 16, 0.12);
    padding: 6px;
    gap: 4px;
}

.tree-menu.active {
    display: grid;
}

.tree-toggle {
    width: 24px;
    height: 24px;
    border: 1px solid #ccb98d;
    border-radius: 6px;
    background: #fff8e9;
    color: #5c4b25;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.tree-link {
    display: block;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
    padding: 7px 8px;
    border: 1px solid transparent;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.tree-mini-btn {
    border: 1px solid #ccb98d;
    background: #fff;
    color: #3b372f;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    text-align: left;
}

.tree-mini-btn.danger {
    border-color: #d5a0a0;
    color: #8b2324;
    background: #fff3f3;
}

.tree-link:hover {
    background: #f4efe3;
}

.tree-link.active {
    border-color: #d8c6a1;
    background: #fff2d7;
    font-weight: 700;
}

.tree-indent {
    display: inline-block;
}

.alerts {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 8px;
    z-index: 9999;
    width: min(720px, calc(100vw - 20px));
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.alerts.is-hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}

.alert {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #c7d9db;
    background: #e8f4f5;
    box-shadow: 0 8px 22px rgba(30, 25, 16, 0.14);
    pointer-events: auto;
}

.alert-error {
    border-color: #e2b4b5;
    background: #fce9e9;
}

.alert-success {
    border-color: #bde2cb;
    background: #e9f9ef;
}

.items {
    display: grid;
    gap: 8px;
}

.line {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 8px;
}

.estimate-line {
    grid-template-columns: 2fr 1fr 100px 120px 120px auto;
}

.estimate-controls {
    margin-bottom: 12px;
}

.estimate-controls-row {
    grid-template-columns: minmax(240px, 320px);
    align-items: end;
}

.estimate-section-add-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.estimate-custom-sections-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.estimate-custom-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--color-bg-alt, #f0f2f5);
    border: 1px solid var(--color-border, #ddd);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 13px;
}

.btn-tag-delete {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted, #999);
    font-size: 15px;
    line-height: 1;
    padding: 0 2px;
}

.btn-tag-delete:hover {
    color: var(--color-danger, #c0392b);
}

.estimate-layout {
    align-items: stretch;
}

.estimate-catalog-panel {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    min-height: 0;
}

.estimate-table-wrap {
    max-height: 52vh;
    overflow: auto;
}

.estimate-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.estimate-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand);
}

.col-price {
    min-width: 140px;
    width: 140px;
    white-space: nowrap;
}

.col-sum {
    min-width: 200px;
    width: 200px;
    white-space: nowrap;
}

.col-section {
    max-width: 180px;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

.realization-name-cell {
    cursor: text;
    min-width: 140px;
}

.realization-name-cell:hover {
    background: #f5f7fa;
}

.realization-name-input {
    width: 100%;
    min-width: 120px;
    border: 1px solid var(--color-primary, #1a7a5e);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: inherit;
    font-family: inherit;
    box-sizing: border-box;
}

    .realization-editable-cell {
        cursor: text;
    }

    .realization-editable-cell:hover {
        background: #f5f7fa;
    }

.n-editable-cell {
    cursor: text;
}

.n-editable-cell:hover {
    background: #f5f7fa;
}

    .estimate-pdf-columns-details {
        position: relative;
    }

    .estimate-pdf-columns-form {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        background: #fff;
        border: 1px solid var(--color-border, #ddd);
        border-radius: 6px;
        padding: 10px 14px;
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 160px;
        white-space: nowrap;
    }

    .estimate-settings-details {
        position: relative;
    }

    .estimate-settings-form {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 200;
        background: #fff;
        border: 1px solid var(--color-border, #ddd);
        border-radius: 6px;
        padding: 10px 14px;
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 190px;
        white-space: nowrap;
    }

    .estimate-settings-section-label {
        font-size: 12px;
        font-weight: 600;
        color: var(--color-muted, #888);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 2px;
    }

    .estimate-settings-divider {
        border: none;
        border-top: 1px solid var(--color-border, #eee);
        margin: 4px 0;
    }

    .estimate-pdf-col-label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        cursor: pointer;
    }

.new-items-divider td {
    padding: 0;
    height: 14px;
    border-bottom: 0;
    border-top: 2px dashed #c9b890;
}

.realization-row-new td {
    background: #fff8e9;
}

.n-left table,
.estimate-wide-block,
.estimate-wide-block .items,
.estimate-wide-block .line {
    width: 100%;
}

.n-left table th:nth-child(6),
.n-left table td:nth-child(6) {
    white-space: nowrap;
}

.box {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 12px;
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.public-share-table th,
.public-share-table td {
    vertical-align: middle;
}

.public-share-table td input[type="text"] {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
}

.public-share-check-col {
    text-align: center;
}

.public-share-check-col input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.public-share-status {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    color: #6d6557;
}

.public-share-filters {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    margin-bottom: 12px;
}

.public-filter-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border: 1px solid #cfd8e4;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    flex: 0 0 auto;
    white-space: nowrap;
}

.public-filter-label {
    color: #64748b;
    white-space: nowrap;
}

.public-filter-native {
    border: 1px solid #d5deea;
    background: #fff;
    color: #0f172a;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 13px;
    min-width: 74px;
    width: auto;
}

.public-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #cfd8e4;
    background: #ffffff;
    color: #51657f;
    font-size: 18px;
    cursor: pointer;
}

.public-filter-reset:hover {
    background: #f1f5fb;
}

.share-sections-select {
    width: 100%;
    min-height: 100px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 4px;
    font-size: 14px;
    background: #fff;
}

.share-sections-select option {
    padding: 4px 8px;
    border-radius: 4px;
}

.share-select-hint {
    font-size: 12px;
    color: #8a8075;
}

.share-links-table th,
.share-links-table td {
    vertical-align: top;
}

.share-link-copy-wrap {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.share-file-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.share-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.share-file-name {
    min-width: 120px;
    font-size: 13px;
    color: #6d6557;
}

th,
td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 780px) {
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .line {
        grid-template-columns: 1fr;
    }

    .row-link {
        flex-direction: column;
    }

    .n-layout {
        grid-template-columns: 1fr;
    }

    .grid-form-5 {
        grid-template-columns: 1fr;
    }

    .grid-form-3 {
        grid-template-columns: 1fr;
    }

    .board {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-row {
        align-items: flex-start;
    }

    .board-applications {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .estimate-board {
        grid-template-columns: 1fr;
    }

    .tasks-groups-board {
        grid-template-columns: 1fr;
    }

    .n-right {
        position: static;
        max-height: none;
    }

    .estimate-tree-panel,
    .estimate-table-wrap {
        max-height: none;
    }

    .estimate-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .estimate-controls-row,
    .estimate-controls-row {
        grid-template-columns: 1fr;
    }

    .notion-application h1 {
        font-size: 44px;
    }

    .notion-prop-row {
        grid-template-columns: 22px 120px minmax(120px, 1fr);
        column-gap: 10px;
        min-height: 42px;
    }

    .notion-title-edit {
        grid-template-columns: 1fr;
    }

    .notion-prop-icon {
        font-size: 22px;
    }

    .notion-prop-label {
        font-size: 18px;
    }

    .notion-prop-value {
        font-size: 22px;
    }

    .notion-status-badge {
        font-size: 18px;
        padding: 5px 10px;
    }

    .notion-more-props {
        font-size: 20px;
    }

    .subcontract-meta {
        grid-template-columns: 1fr;
    }

    .subcontract-form {
        grid-template-columns: 1fr;
    }
}
