.ct-page,
.ct-core-block,
.ct-submit-project,
.ct-auth-box,
.ct-bid-box {
    --ct-primary: #185b8c;
    --ct-primary-dark: #123b59;
    --ct-primary-soft: #eaf3f8;
    --ct-text: #17212b;
    --ct-muted: #5f6f7d;
    --ct-line: #dce5eb;
    --ct-soft: #f5f8fa;
    --ct-white: #ffffff;
    --ct-success: #25835b;
    color: var(--ct-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
}
.ct-page *,
.ct-core-block * { box-sizing: border-box; }
.ct-page { width: 100%; background: var(--ct-white); padding: 48px 0 72px; }
.ct-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.ct-page-header { max-width: 780px; margin: 0 0 34px; }
.ct-page-header h1,
.ct-detail h1,
.ct-profile-hero h1 { margin: 0; color: var(--ct-primary-dark); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 750; letter-spacing: -0.025em; }
.ct-page-header p { margin: 16px 0 0; color: var(--ct-muted); font-size: 18px; line-height: 1.6; }
.ct-core-heading { margin: 0 0 24px; }
.ct-core-heading h2,
.ct-detail-section h2,
.ct-side-card h2 { margin: 0; color: var(--ct-primary-dark); font-size: clamp(25px, 3vw, 34px); line-height: 1.2; font-weight: 730; }
.ct-core-grid { display: grid; grid-template-columns: repeat(var(--ct-columns, 3), minmax(0, 1fr)); gap: 24px; }
.ct-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--ct-white); border: 1px solid var(--ct-line); border-radius: 16px; box-shadow: 0 10px 34px rgba(18, 59, 89, 0.07); }
.ct-card-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.ct-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: var(--ct-primary-soft); color: var(--ct-primary-dark); font-size: 15px; font-weight: 700; }
.ct-date,
.ct-label,
.ct-professional-title,
.ct-rate,
.ct-author { color: var(--ct-muted); font-size: 15px; }
.ct-card-title { margin: 0 0 12px; font-size: 21px; line-height: 1.32; font-weight: 730; }
.ct-card-title a { color: var(--ct-primary-dark); text-decoration: none; }
.ct-card-title a:hover { color: var(--ct-primary); }
.ct-card-excerpt { margin: 0 0 18px; color: #465563; font-size: 16px; line-height: 1.7; }
.ct-skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.ct-skills span { padding: 7px 11px; border-radius: 8px; background: var(--ct-soft); color: #465563; font-size: 15px; line-height: 1.3; }
.ct-skills-large span { padding: 9px 13px; }
.ct-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding: 18px 0; border-top: 1px solid var(--ct-line); border-bottom: 1px solid var(--ct-line); }
.ct-card-facts > div { display: flex; flex-direction: column; gap: 4px; }
.ct-card-facts strong { color: var(--ct-text); font-size: 17px; line-height: 1.35; }
.ct-label { font-weight: 650; }
.ct-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.ct-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--ct-primary, #185b8c); border-radius: 9px; background: var(--ct-primary, #185b8c); color: #fff !important; font-size: 16px; line-height: 1.25; font-weight: 700; text-decoration: none !important; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.ct-btn:hover { background: var(--ct-primary-dark, #123b59); border-color: var(--ct-primary-dark, #123b59); transform: translateY(-1px); }
.ct-btn-secondary { background: #fff; color: var(--ct-primary-dark) !important; border-color: #b8cbd8; }
.ct-btn-secondary:hover { background: var(--ct-primary-soft); color: var(--ct-primary-dark) !important; border-color: var(--ct-primary); }
.ct-btn-full { width: 100%; margin-top: 12px; }
.ct-profile-head { display: grid; grid-template-columns: 78px 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.ct-avatar { display: block; width: 78px; height: 78px; border-radius: 50%; overflow: hidden; background: var(--ct-soft); }
.ct-avatar img,
.ct-profile-avatar-large img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-profile-state { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--ct-muted); font-size: 15px; font-weight: 700; }
.ct-profile-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa8b3; }
.ct-profile-state.is-online::before { background: var(--ct-success); }
.ct-profile-card .ct-card-title { margin-bottom: 4px; }
.ct-professional-title { margin: 0; line-height: 1.45; }
.ct-rating-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 16px; }
.ct-rating { color: #946600; font-size: 16px; font-weight: 800; }
.ct-rate { text-align: right; font-weight: 650; }
.ct-profile-facts { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ct-line); color: var(--ct-muted); font-size: 15px; }
.ct-profile-facts strong { color: var(--ct-primary-dark); font-size: 22px; }
.ct-card-footer-profile { justify-content: flex-end; }
.ct-stats-grid { display: grid; grid-template-columns: repeat(var(--ct-columns, 4), minmax(0, 1fr)); gap: 18px; }
.ct-stat { padding: 26px 22px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; text-align: center; }
.ct-stat strong { display: block; margin-bottom: 8px; color: var(--ct-primary-dark); font-size: 36px; line-height: 1; font-weight: 800; }
.ct-stat span { color: var(--ct-muted); font-size: 16px; }
.ct-filter { display: grid; grid-template-columns: minmax(220px, 1.45fr) minmax(180px, .95fr) minmax(220px, 1fr) auto auto; gap: 14px; align-items: end; margin: 0 0 26px; padding: 22px; border: 1px solid var(--ct-line); border-radius: 14px; background: var(--ct-soft); }
.ct-filter-field { min-width: 0; }
.ct-filter-field label,
.ct-filter-check label { display: block; margin: 0 0 7px; color: var(--ct-text); font-size: 15px; line-height: 1.4; font-weight: 700; }
.ct-filter input[type="search"],
.ct-filter select { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #c8d5de; border-radius: 8px; background: #fff; color: var(--ct-text); font: inherit; font-size: 16px; outline: none; }
.ct-filter input[type="search"]:focus,
.ct-filter select:focus { border-color: var(--ct-primary); box-shadow: 0 0 0 3px rgba(24, 91, 140, 0.12); }
.ct-filter-check { align-self: end; min-height: 48px; display: flex; align-items: center; }
.ct-filter-check label { display: inline-flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; }
.ct-filter-check input { width: 18px; height: 18px; }
.ct-filter-actions { display: flex; align-items: flex-end; flex-wrap: nowrap; gap: 8px; }
.ct-profile-filter .ct-filter-actions .ct-btn { min-height: 48px; padding-left: 20px; padding-right: 20px; white-space: nowrap; }
.ct-profile-filter .ct-filter-available { white-space: nowrap; padding: 0 4px; }
.ct-results-count { margin: 0 0 18px; color: var(--ct-muted); font-size: 16px; }
.ct-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ct-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 9px 13px; border: 1px solid var(--ct-line); border-radius: 8px; background: #fff; color: var(--ct-primary-dark); font-size: 16px; font-weight: 700; text-decoration: none; }
.ct-pagination .page-numbers.current,
.ct-pagination a.page-numbers:hover { background: var(--ct-primary); border-color: var(--ct-primary); color: #fff; }
.ct-empty { padding: 22px; border: 1px solid var(--ct-line); border-radius: 12px; background: var(--ct-soft); color: #465563; font-size: 16px; }
.ct-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.ct-detail-main,
.ct-profile-content { min-width: 0; }
.ct-detail-topline { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--ct-muted); font-size: 15px; }
.ct-detail h1 { margin-bottom: 28px; }
.ct-detail-content { color: #344451; font-size: 17px; line-height: 1.8; }
.ct-detail-content p { margin: 0 0 1.25em; }
.ct-detail-content h2 { margin: 1.5em 0 .6em; color: var(--ct-primary-dark); font-size: 28px; line-height: 1.25; }
.ct-detail-content h3 { margin: 1.35em 0 .55em; color: var(--ct-primary-dark); font-size: 22px; line-height: 1.3; }
.ct-detail-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--ct-line); }
.ct-detail-section h2 { margin-bottom: 20px; }
.ct-side-card { padding: 24px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(18, 59, 89, 0.06); }
.ct-side-card + .ct-side-card { margin-top: 20px; }
.ct-side-card h2 { margin-bottom: 18px; font-size: 24px; }
.ct-detail-facts { margin: 0; }
.ct-detail-facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--ct-line); }
.ct-detail-facts > div:first-child { padding-top: 0; }
.ct-detail-facts dt,
.ct-detail-facts dd { margin: 0; font-size: 16px; }
.ct-detail-facts dt { color: var(--ct-muted); }
.ct-detail-facts dd { color: var(--ct-text); font-weight: 700; text-align: right; }
.ct-employer-row { display: flex; align-items: center; gap: 14px; }
.ct-employer-row img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.ct-employer-row strong { font-size: 17px; }
.ct-profile-hero { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-bottom: 34px; padding: 30px; border: 1px solid var(--ct-line); border-radius: 18px; background: linear-gradient(135deg, #fff 0%, var(--ct-primary-soft) 100%); }
.ct-profile-hero-main { display: flex; align-items: center; gap: 24px; min-width: 0; }
.ct-profile-avatar-large { flex: 0 0 132px; width: 132px; height: 132px; overflow: hidden; border-radius: 50%; background: #fff; border: 5px solid #fff; box-shadow: 0 8px 25px rgba(18, 59, 89, .12); }
.ct-profile-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.ct-profile-title-large { margin: 9px 0 14px; color: var(--ct-muted); font-size: 19px; line-height: 1.45; }
.ct-profile-summary { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--ct-muted); font-size: 15px; }
.ct-profile-summary strong { color: var(--ct-text); }
.ct-profile-price { flex: 0 0 auto; min-width: 190px; padding: 18px 20px; border-radius: 12px; background: #fff; text-align: right; }
.ct-profile-price span { display: block; color: var(--ct-muted); font-size: 15px; }
.ct-profile-price strong { display: block; margin-top: 3px; color: var(--ct-primary-dark); font-size: 24px; }
.ct-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.ct-portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ct-portfolio-card { padding: 16px; border: 1px solid var(--ct-line); border-radius: 12px; background: #fff; }
.ct-portfolio-image { aspect-ratio: 4 / 3; margin: 0 0 14px; overflow: hidden; border-radius: 9px; background: var(--ct-soft); }
.ct-portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-portfolio-card h3 { margin: 0 0 14px; color: var(--ct-primary-dark); font-size: 19px; line-height: 1.35; }
.ct-review-list { display: grid; gap: 14px; }
.ct-review-card { padding: 20px; border: 1px solid var(--ct-line); border-radius: 12px; background: #fff; }
.ct-review-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 9px; font-size: 16px; }
.ct-review-head span { color: #946600; font-weight: 800; }
.ct-review-card p { margin: 0; color: #465563; font-size: 16px; line-height: 1.7; }
@media (max-width: 1024px) {
    .ct-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-profile-filter .ct-filter-actions { align-self: end; }
    .ct-profile-filter .ct-filter-check { min-height: 48px; }
    .ct-detail,
    .ct-profile-layout { grid-template-columns: 1fr; }
    .ct-detail-side,
    .ct-profile-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .ct-side-card + .ct-side-card { margin-top: 0; }
    .ct-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ct-page { padding: 34px 0 52px; }
    .ct-shell { width: min(100% - 28px, 1240px); }
    .ct-core-grid,
    .ct-stats-grid,
    .ct-filter,
    .ct-detail-side,
    .ct-profile-side,
    .ct-portfolio-grid { grid-template-columns: 1fr; }
    .ct-card { padding: 20px; }
    .ct-card-footer { align-items: stretch; flex-direction: column; }
    .ct-card-footer .ct-btn { width: 100%; }
    .ct-filter-actions { flex-direction: column; }
    .ct-filter-actions .ct-btn { width: 100%; }
    .ct-profile-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
    .ct-profile-hero-main { align-items: flex-start; flex-direction: column; }
    .ct-profile-avatar-large { width: 112px; height: 112px; flex-basis: 112px; }
    .ct-profile-price { width: 100%; text-align: left; }
}

/* CopyTrh Core 0.5 – účty, poptávky a nabídky */
.ct-auth-box,
.ct-bid-box {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(18, 59, 89, .06);
    color: var(--ct-text, #17212b);
    font-size: 16px;
    line-height: 1.65;
}
.ct-auth-box { max-width: 760px; }
.ct-auth-box h2,
.ct-bid-box h2 {
    margin: 0 0 20px;
    color: var(--ct-primary-dark, #123b59);
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 730;
}
.ct-auth-box p,
.ct-bid-box p { margin: 0 0 20px; font-size: 16px; color: #465563; }
.ct-form { display: grid; gap: 18px; }
.ct-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-form-field { display: grid; gap: 7px; min-width: 0; }
.ct-form-field label,
.ct-role-choice legend { color: var(--ct-text, #17212b); font-size: 16px; line-height: 1.4; font-weight: 700; }
.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="password"],
.ct-form input[type="number"],
.ct-form input[type="date"],
.ct-form textarea,
.ct-form select {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #c8d5de;
    border-radius: 9px;
    background: #fff;
    color: var(--ct-text, #17212b);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
}
.ct-form textarea { min-height: 150px; resize: vertical; }
.ct-form input:focus,
.ct-form textarea:focus,
.ct-form select:focus { border-color: var(--ct-primary, #185b8c); box-shadow: 0 0 0 3px rgba(24, 91, 140, .12); }
.ct-field-help { color: var(--ct-muted, #5f6f7d); font-size: 15px; }
.ct-form-check { display: inline-flex; align-items: center; gap: 9px; color: #465563; font-size: 16px; cursor: pointer; }
.ct-form-check input,
.ct-role-choice input { width: 18px; height: 18px; flex: 0 0 18px; }
.ct-role-choice { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.ct-role-choice legend { margin-bottom: 8px; }
.ct-role-choice label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--ct-line, #dce5eb); border-radius: 10px; cursor: pointer; }
.ct-role-choice label:has(input:checked) { border-color: var(--ct-primary, #185b8c); background: var(--ct-primary-soft, #eaf3f8); }
.ct-role-choice span { display: grid; gap: 3px; }
.ct-role-choice strong { color: var(--ct-text, #17212b); font-size: 16px; }
.ct-role-choice small { color: var(--ct-muted, #5f6f7d); font-size: 15px; line-height: 1.45; }
.ct-auth-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-auth-help { margin-top: 16px !important; margin-bottom: 0 !important; }
.ct-auth-help a { color: var(--ct-primary, #185b8c); font-size: 16px; font-weight: 650; }
.ct-notice { margin: 0 0 20px; padding: 15px 17px; border-radius: 10px; border: 1px solid var(--ct-line, #dce5eb); font-size: 16px; line-height: 1.55; }
.ct-notice-success { border-color: #acd8c3; background: #eef8f3; color: #176a48; }
.ct-notice-error { border-color: #e4b5b5; background: #fff3f3; color: #8a2f2f; }
.ct-notice-info { border-color: #b9d1e1; background: #f0f6fa; color: #254f6b; }
.ct-bid-box { margin-top: 40px; }
.ct-input-suffix { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ct-input-suffix input { border-radius: 9px 0 0 9px !important; }
.ct-input-suffix span { display: flex; align-items: center; padding: 0 15px; border: 1px solid #c8d5de; border-left: 0; border-radius: 0 9px 9px 0; background: #f5f8fa; color: #465563; font-size: 16px; font-weight: 700; }
.ct-time-input { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(110px, 1fr); gap: 8px; }
.ct-my-bid { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid #acd8c3; border-radius: 10px; background: #eef8f3; }
.ct-my-bid strong,
.ct-my-bid span { font-size: 16px; }
.ct-my-bid span { color: var(--ct-primary-dark, #123b59); font-weight: 800; }
@media (max-width: 760px) {
    .ct-auth-box,
    .ct-bid-box { padding: 21px; }
    .ct-form-row { grid-template-columns: 1fr; }
    .ct-auth-actions { flex-direction: column; }
    .ct-auth-actions .ct-btn { width: 100%; }
    .ct-my-bid { align-items: flex-start; flex-direction: column; }
}


/* CopyTrh Core 0.5 – vložení poptávky */
.ct-page-header-actions {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.ct-page-header-actions > div { max-width: 780px; }
.ct-page-header-actions .ct-btn { flex: 0 0 auto; }
.ct-project-form-box { max-width: 860px; }
.ct-project-form-box select[multiple] {
    min-height: 190px;
    padding: 10px;
}
.ct-project-form-box select[multiple] option {
    padding: 8px 9px;
    font-size: 16px;
}
@media (max-width: 760px) {
    .ct-page-header-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .ct-page-header-actions .ct-btn { width: 100%; }
}

/* CopyTrh Core 0.6 – podrobné zadání poptávky */
.ct-form-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ct-help-block {
    display: block;
    margin-top: -8px;
    margin-bottom: 4px;
}
.ct-form input[type="url"],
.ct-form input[type="file"] {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #c8d5de;
    border-radius: 9px;
    background: #fff;
    color: var(--ct-text, #17212b);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
}
.ct-form input[type="file"] {
    padding: 10px;
}
.ct-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}
.ct-pill-soft {
    background: #f0f4f7;
    color: #3f5668;
}
.ct-requirement-list {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 12px;
    overflow: hidden;
}
.ct-requirement-list > div {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 20px;
    padding: 15px 17px;
    border-bottom: 1px solid var(--ct-line, #dce5eb);
    background: #fff;
}
.ct-requirement-list > div:last-child { border-bottom: 0; }
.ct-requirement-list dt,
.ct-requirement-list dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}
.ct-requirement-list dt { color: var(--ct-muted, #5f6f7d); font-weight: 700; }
.ct-requirement-list dd { color: var(--ct-text, #17212b); }
.ct-requirement-list a { color: var(--ct-primary, #185b8c); font-weight: 700; }
.ct-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.ct-attachment {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 9px;
    background: #fff;
    color: var(--ct-primary, #185b8c);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.ct-attachment:hover { border-color: var(--ct-primary, #185b8c); }
@media (max-width: 760px) {
    .ct-form-row-3 { grid-template-columns: 1fr; }
    .ct-requirement-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* CopyTrh Core 0.6.1 – jistá viditelnost hlavního odesílacího tlačítka */
.ct-project-form-box .ct-form > button[type="submit"] {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    background: var(--ct-primary, #185b8c) !important;
    border-color: var(--ct-primary, #185b8c) !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.ct-project-form-box .ct-form > button[type="submit"]:hover {
    background: var(--ct-primary-dark, #123b59) !important;
    border-color: var(--ct-primary-dark, #123b59) !important;
}

/* CopyTrh 0.7.0 – kontrola minimální ceny poptávky */
.ct-budget-rule {
    display: grid;
    gap: 7px;
    padding: 16px 18px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 10px;
    background: #f6f9fb;
    color: var(--ct-text, #17212b);
    font-size: 16px;
    line-height: 1.55;
}
.ct-budget-rule strong {
    color: var(--ct-primary-dark, #123b59);
    font-size: 16px;
}
.ct-budget-rule span {
    font-size: 16px;
}
.ct-budget-rule.is-valid {
    border-color: #acd8c3;
    background: #eef8f3;
    color: #176a48;
}
.ct-budget-rule.is-invalid {
    border-color: #e4b5b5;
    background: #fff3f3;
    color: #8a2f2f;
}

/* CopyTrh Core 0.6.3 – uživatelský dashboard */
.ct-dashboard {
    --ct-primary: #185b8c;
    --ct-primary-dark: #123b59;
    --ct-primary-soft: #eaf3f8;
    --ct-text: #17212b;
    --ct-muted: #5f6f7d;
    --ct-line: #dce5eb;
    width: min(1180px, calc(100% - 32px));
    margin: 36px auto;
    color: var(--ct-text);
    font-size: 16px;
    line-height: 1.6;
}
.ct-dashboard-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    background: #fff;
}
.ct-dashboard-head h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; color: var(--ct-primary-dark); }
.ct-dashboard-head p { margin: 0; font-size: 16px; color: var(--ct-muted); }
.ct-dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ct-dashboard-section { margin-top: 30px; }
.ct-dashboard-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ct-dashboard-section-head h2 { margin: 0; font-size: 28px; line-height: 1.2; color: var(--ct-primary-dark); }
.ct-dashboard-section-head > strong { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 9px; background: var(--ct-primary-soft); color: var(--ct-primary-dark); font-size: 16px; }
.ct-dashboard-projects,
.ct-dashboard-offers { display: grid; gap: 18px; }
.ct-dashboard-project,
.ct-dashboard-offer {
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    background: #fff;
    padding: 22px;
}
.ct-dashboard-project-main,
.ct-dashboard-offer { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.ct-dashboard-project h3,
.ct-dashboard-offer h3 { margin: 8px 0 10px; font-size: 22px; line-height: 1.3; color: var(--ct-text); }
.ct-status { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; border-radius: 8px; background: #eef3f6; color: #3f5668; font-size: 15px; font-weight: 700; }
.ct-status-publish { background: #eef8f3; color: #176a48; }
.ct-status-close { background: #eef4fb; color: #245e91; }
.ct-status-complete { background: #eef8f3; color: #176a48; }
.ct-status-disputing { background: #fff3f3; color: #8a2f2f; }
.ct-dashboard-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--ct-muted); font-size: 16px; }
.ct-dashboard-meta strong { color: var(--ct-text); }
.ct-dashboard-bids { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ct-line); }
.ct-dashboard-bids h4 { margin: 0 0 14px; font-size: 20px; color: var(--ct-primary-dark); }
.ct-dashboard-bid { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(180px, .7fr) minmax(260px, 1.4fr) auto; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid #edf1f4; }
.ct-dashboard-bid:first-of-type { border-top: 0; }
.ct-dashboard-bid-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-dashboard-bid-user img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ct-dashboard-bid-user strong { display: block; font-size: 16px; color: var(--ct-text); }
.ct-dashboard-bid-user span { display: block; margin-top: 2px; font-size: 15px; color: var(--ct-muted); }
.ct-dashboard-bid-data { display: grid; gap: 4px; font-size: 16px; color: var(--ct-muted); }
.ct-dashboard-bid-data strong { color: var(--ct-text); }
.ct-dashboard-bid p,
.ct-dashboard-offer p { margin: 0; font-size: 16px; color: var(--ct-muted); }
.ct-dashboard-empty { padding: 20px; border: 1px dashed #bfcdd7; border-radius: 12px; background: #f8fafb; color: var(--ct-muted); font-size: 16px; }
@media (max-width: 980px) {
    .ct-dashboard-head,
    .ct-dashboard-project-main,
    .ct-dashboard-offer { flex-direction: column; align-items: stretch; }
    .ct-dashboard-actions { justify-content: flex-start; }
    .ct-dashboard-bid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
    .ct-dashboard { width: min(100% - 20px, 1180px); margin-top: 20px; }
    .ct-dashboard-head,
    .ct-dashboard-project,
    .ct-dashboard-offer { padding: 18px; }
    .ct-dashboard-actions .ct-btn { width: 100%; }
    .ct-dashboard-bid { grid-template-columns: 1fr; align-items: stretch; }
    .ct-dashboard-bid .ct-btn { width: 100%; }
}

/* =========================================================
   CopyTrh Core 0.6.4 – dočasný globální header
   ========================================================= */
.ct-site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #dce5eb;
    box-shadow: 0 4px 18px rgba(18, 59, 89, .06);
    font-size: 16px;
    line-height: 1.3;
}
.admin-bar .ct-site-header { top: 32px; }
.ct-site-header *,
.ct-site-header *::before,
.ct-site-header *::after { box-sizing: border-box; }
.ct-site-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.ct-site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #123b59 !important;
    text-decoration: none !important;
}
.ct-site-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 48px;
    object-fit: contain;
}
.ct-site-brand-text {
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #123b59;
}
.ct-main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}
.ct-main-navigation > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #243746 !important;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 650;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ct-main-navigation > a:hover,
.ct-main-navigation > a:focus-visible {
    background: #eaf3f8;
    color: #123b59 !important;
}
.ct-main-navigation > .ct-nav-cta {
    min-height: 46px;
    margin-left: 6px;
    padding-inline: 20px;
    border: 1px solid #185b8c;
    background: #185b8c;
    color: #fff !important;
}
.ct-main-navigation > .ct-nav-cta:hover,
.ct-main-navigation > .ct-nav-cta:focus-visible {
    background: #123b59;
    border-color: #123b59;
    color: #fff !important;
}
.ct-main-navigation > .ct-nav-logout { color: #243746 !important; }
.ct-menu-toggle {
    display: none;
    width: 48px;
    height: 46px;
    padding: 11px 10px;
    border: 1px solid #b9cbd7;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.ct-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #123b59;
    transition: transform .18s ease, opacity .18s ease;
}
.ct-site-header.is-menu-open .ct-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ct-site-header.is-menu-open .ct-menu-toggle span:nth-child(2) { opacity: 0; }
.ct-site-header.is-menu-open .ct-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .ct-site-header-inner {
        width: min(100% - 28px, 1180px);
        min-height: 70px;
        position: relative;
    }
    .ct-site-logo { max-width: 165px; max-height: 44px; }
    .ct-site-brand-text { font-size: 27px; }
    .ct-menu-toggle { display: block; flex: 0 0 auto; }
    .ct-main-navigation {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        padding: 14px;
        border: 1px solid #dce5eb;
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 14px 26px rgba(18, 59, 89, .12);
    }
    .ct-site-header.is-menu-open .ct-main-navigation {
        display: grid;
        gap: 6px;
    }
    .ct-main-navigation > a {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 16px;
    }
    .ct-main-navigation > .ct-nav-cta {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 782px) {
    .admin-bar .ct-site-header { top: 46px; }
}

/* CopyTrh Core 0.6.5 – brand logo + read-only legacy credit */
.ct-site-logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 240px;
    object-fit: contain;
}
.ct-credit-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 14px;
    background: #f6f9fb;
}
.ct-credit-summary > div {
    padding: 16px 18px;
    border-radius: 10px;
    background: #fff;
}
.ct-credit-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--ct-muted, #667786);
    font-size: 15px;
    line-height: 1.45;
}
.ct-credit-summary strong {
    display: block;
    color: var(--ct-primary-dark, #123b59);
    font-size: 24px;
    line-height: 1.2;
}
.ct-credit-summary p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ct-muted, #667786);
    font-size: 15px;
    line-height: 1.55;
}
@media (max-width: 640px) {
    .ct-site-logo { height: 42px; max-width: 205px; }
    .ct-credit-summary { grid-template-columns: 1fr; }
    .ct-credit-summary p { grid-column: 1; }
}

/* CopyTrh Core 0.6.6 – přijetí nabídky a rezervace kreditu */
.ct-dashboard-bid-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}
.ct-accept-bid-form { margin: 0; }
.ct-credit-hint {
    margin: 10px 0 0 !important;
    color: var(--ct-muted, #667786);
    font-size: 15px !important;
    line-height: 1.55;
}
.ct-offer-accepted {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid #9dcbb7;
    border-radius: 9px;
    background: #eef8f3;
    color: #176a48;
    font-size: 16px;
    font-weight: 700;
}
.ct-notice {
    margin: 0 0 22px;
    padding: 15px 18px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.55;
}
.ct-notice-success {
    border-color: #9dcbb7;
    background: #eef8f3;
    color: #176a48;
}
.ct-notice-error {
    border-color: #e4b5b5;
    background: #fff3f3;
    color: #8a2f2f;
}

/* CopyTrh Core 0.6.7 – pracovní prostor zakázky */
.ct-workspace { padding-top: 26px; padding-bottom: 48px; }
.ct-workspace-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:24px; }
.ct-workspace-head h1 { margin:6px 0 0; font-size:clamp(30px,4vw,46px); line-height:1.12; color:var(--ct-primary-dark,#123b59); }
.ct-back-link { display:inline-flex; font-size:16px; font-weight:700; color:var(--ct-primary,#185b8c); text-decoration:none; }
.ct-workspace-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:26px; }
.ct-workspace-summary > div { padding:18px; border:1px solid var(--ct-line,#dce5eb); border-radius:12px; background:#fff; }
.ct-workspace-summary span { display:block; margin-bottom:6px; color:var(--ct-muted,#667786); font-size:15px; line-height:1.4; }
.ct-workspace-summary strong { display:block; color:var(--ct-primary-dark,#123b59); font-size:18px; line-height:1.35; }
.ct-workspace-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr); gap:24px; align-items:start; }
.ct-workspace-panel { padding:24px; border:1px solid var(--ct-line,#dce5eb); border-radius:14px; background:#fff; }
.ct-workspace-panel h2 { margin:0 0 18px; font-size:25px; line-height:1.25; color:var(--ct-primary-dark,#123b59); }
.ct-message-list { display:grid; gap:14px; margin-bottom:22px; }
.ct-work-message { padding:16px 18px; border:1px solid var(--ct-line,#dce5eb); border-radius:11px; background:#f8fafc; font-size:16px; line-height:1.6; }
.ct-work-message.is-own { background:#eef6fb; border-color:#c8dfea; }
.ct-work-message-head { display:flex; justify-content:space-between; gap:16px; margin-bottom:8px; }
.ct-work-message-head strong { color:var(--ct-primary-dark,#123b59); font-size:16px; }
.ct-work-message-head span { color:var(--ct-muted,#667786); font-size:15px; }
.ct-message-form { padding-top:20px; border-top:1px solid var(--ct-line,#dce5eb); }
.ct-submission-note { margin-bottom:16px; padding:16px; border-radius:10px; background:#f6f9fb; font-size:16px; line-height:1.6; }
.ct-submission-files { display:grid; gap:8px; margin-bottom:18px; }
.ct-workspace-side .ct-form { margin-top:18px; }
.ct-revision-form { padding-top:18px; border-top:1px solid var(--ct-line,#dce5eb); }
.ct-dashboard-offer-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.ct-muted { color:var(--ct-muted,#667786); font-size:16px; line-height:1.6; }
@media (max-width: 980px) {
    .ct-workspace-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ct-workspace-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
    .ct-workspace-head { display:grid; }
    .ct-workspace-summary { grid-template-columns:1fr; }
    .ct-workspace-panel { padding:18px; }
    .ct-work-message-head { display:grid; gap:4px; }
}


/* =========================================================
   CopyTrh Core 0.6.12 – zprávy v headeru + jednotná tlačítka
   ========================================================= */
.ct-nav-messages {
    position: relative;
    min-width: 46px;
    padding-inline: 10px !important;
    gap: 7px;
}
.ct-nav-message-icon {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
}
.ct-nav-message-label { display: none; }
.ct-nav-messages.has-unread {
    color: #185b8c !important;
    background: #eaf3f8;
}
.ct-message-badge {
    position: absolute;
    top: 2px;
    right: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #185b8c;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

/* Elementor – přebití výchozí vínové barvy tlačítek značkou CopyTrh. */
:root {
    --e-global-color-accent: #185b8c;
}
.elementor-button,
a.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-form .elementor-button,
.elementor-form button[type="submit"],
.elementor-form input[type="submit"] {
    background-color: #185b8c !important;
    border-color: #185b8c !important;
    color: #fff !important;
}
.elementor-button:hover,
.elementor-button:focus,
a.elementor-button:hover,
a.elementor-button:focus,
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus,
.elementor-form .elementor-button:hover,
.elementor-form .elementor-button:focus,
.elementor-form button[type="submit"]:hover,
.elementor-form button[type="submit"]:focus,
.elementor-form input[type="submit"]:hover,
.elementor-form input[type="submit"]:focus {
    background-color: #123b59 !important;
    border-color: #123b59 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .ct-nav-messages {
        justify-content: flex-start !important;
        padding-right: 44px !important;
    }
    .ct-nav-message-label { display: inline; }
    .ct-message-badge {
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        border-color: #fff;
    }
}

/* CopyTrh 0.6.13 – hodnocení dokončené zakázky */
.ct-review-form,
.ct-review-done {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--ct-line, #dce5eb);
}
.ct-review-form h3,
.ct-review-done h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--ct-primary-dark, #123b59);
}
.ct-rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 18px;
}
.ct-rating-options label {
    cursor: pointer;
}
.ct-rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ct-rating-options span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 8px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 9px;
    background: #fff;
    color: var(--ct-text, #17212b);
    font-size: 16px;
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.ct-rating-options input:checked + span,
.ct-rating-options label:hover span {
    border-color: var(--ct-primary, #185b8c);
    background: var(--ct-primary-soft, #eaf3f8);
    color: var(--ct-primary-dark, #123b59);
}
.ct-review-stars {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--ct-primary, #185b8c);
}
.ct-review-done p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}
@media (max-width: 640px) {
    .ct-rating-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* CopyTrh Core 0.6.14 – schvalovací lhůty, autorizace a reklamace */
.ct-workspace-summary small { display:block; margin-top:5px; font-size:15px; line-height:1.45; color:#5f6f7b; }
.ct-approval-deadline { margin:18px 0 0; }
.ct-authorization-option { padding:16px 18px; border:1px solid #d7e3eb; border-radius:10px; background:#f7fafc; }
.ct-check-option { display:flex !important; align-items:flex-start; gap:12px; font-size:16px !important; line-height:1.55; cursor:pointer; }
.ct-check-option input { width:20px !important; height:20px !important; min-width:20px; margin-top:3px; }
.ct-check-option strong { font-size:16px; color:#123b59; }
.ct-dispute-box { margin-top:18px; padding:14px 16px; border:1px solid #e0c8c8; border-radius:10px; background:#fffafa; }
.ct-dispute-box summary { cursor:pointer; font-size:16px; font-weight:700; color:#7a2d2d; }
.ct-dispute-box[open] summary { margin-bottom:14px; }

/* CopyTrh Core 0.6.15 – workflow upozornění */
.ct-dashboard-action-alert {
    display:flex; align-items:center; justify-content:space-between; gap:20px;
    margin:18px 0; padding:18px 20px; border:1px solid #bfd6e6; border-radius:12px; background:#eef6fb;
    font-size:16px; line-height:1.55;
}
.ct-dashboard-action-alert > div { display:grid; gap:4px; }
.ct-dashboard-action-alert strong { font-size:17px; color:#123b59; }
.ct-dashboard-action-alert span { font-size:16px; color:#34495a; }
.ct-dashboard-action-alert-warning { background:#fff8e8; border-color:#ead5a0; }
.ct-dashboard-action-alert-warning strong { color:#745313; }
.ct-dashboard-inline-alert { margin-top:16px; padding:14px 16px; border:1px solid #d8e3ea; border-radius:10px; background:#f7fafc; font-size:16px; line-height:1.55; }
.ct-dashboard-inline-alert strong { display:block; font-size:16px; color:#123b59; margin-bottom:4px; }
.ct-dashboard-inline-alert p { margin:0; font-size:16px; }
.ct-dashboard-inline-alert-info { background:#eef6fb; border-color:#bfd6e6; }
.ct-dashboard-inline-alert-warning { background:#fff8e8; border-color:#ead5a0; }
.ct-dashboard-inline-alert-warning strong { color:#745313; }
.ct-workflow-alert { margin:18px 0; padding:18px 20px; border-radius:12px; border:1px solid #d8e3ea; font-size:16px; line-height:1.6; }
.ct-workflow-alert strong { display:block; font-size:18px; margin-bottom:6px; }
.ct-workflow-alert p { margin:6px 0; font-size:16px; }
.ct-workflow-alert span { display:block; margin-top:8px; font-size:15px; }
.ct-workflow-alert-warning { background:#fff8e8; border-color:#ead5a0; color:#5c4618; }
.ct-workflow-alert-warning strong { color:#745313; }
@media (max-width: 720px) { .ct-dashboard-action-alert { align-items:flex-start; flex-direction:column; } .ct-dashboard-action-alert .ct-btn { width:100%; } }


/* =========================================================
   CopyTrh Core 0.6.16 – workspace UX + pevné barvy tlačítek
   ========================================================= */
body .ct-page a.ct-btn,
body .ct-page button.ct-btn,
body .ct-page input.ct-btn,
body .ct-workspace-side a.ct-btn,
body .ct-workspace-side button.ct-btn {
    background: #185b8c !important;
    background-color: #185b8c !important;
    background-image: none !important;
    border-color: #185b8c !important;
    color: #fff !important;
}
body .ct-page a.ct-btn:hover,
body .ct-page button.ct-btn:hover,
body .ct-page a.ct-btn:focus,
body .ct-page button.ct-btn:focus,
body .ct-workspace-side a.ct-btn:hover,
body .ct-workspace-side button.ct-btn:hover {
    background: #123b59 !important;
    background-color: #123b59 !important;
    border-color: #123b59 !important;
    color: #fff !important;
}
body .ct-page .ct-btn.ct-btn-secondary,
body .ct-workspace-side .ct-btn.ct-btn-secondary {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    border-color: #b8cbd8 !important;
    color: #123b59 !important;
}
body .ct-page .ct-btn.ct-btn-secondary:hover,
body .ct-workspace-side .ct-btn.ct-btn-secondary:hover {
    background: #eaf3f8 !important;
    background-color: #eaf3f8 !important;
    border-color: #185b8c !important;
    color: #123b59 !important;
}
.ct-submission-history {
    display: grid;
    gap: 14px;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #cddce6;
    border-radius: 12px;
    background: #f7fafc;
}
.ct-submission-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dce5eb;
}
.ct-submission-history-head strong { color: #123b59; font-size: 17px; }
.ct-submission-history-head span { color: #667786; font-size: 15px; }
.ct-submission-history .ct-submission-note { margin: 0; padding: 0; background: transparent; }
.ct-submission-history .ct-submission-note strong,
.ct-submission-history .ct-submission-files > strong { display: block; margin-bottom: 8px; color: #123b59; font-size: 16px; }
.ct-submission-history .ct-submission-note p { margin: 0; font-size: 16px; line-height: 1.6; }
.ct-submission-history .ct-submission-files { margin: 0; }
.ct-new-submission {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #dce5eb;
}
.ct-new-submission h3 {
    margin: 0 0 14px;
    color: #123b59;
    font-size: 20px;
    line-height: 1.3;
}
.ct-new-submission .ct-form { margin-top: 0; }
@media (max-width: 640px) {
    .ct-submission-history-head { align-items: flex-start; flex-direction: column; gap: 4px; }
}


/* =========================================================
   CopyTrh Core 0.6.17 – milníky zakázky
   ========================================================= */
.ct-milestones-panel { margin: 22px 0; }
.ct-milestones-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:18px; }
.ct-milestones-head h2 { margin:0 0 6px; font-size:24px; line-height:1.3; color:#123b59; }
.ct-milestones-head p { margin:0; max-width:760px; font-size:16px; line-height:1.6; color:#556874; }
.ct-milestone-progress { min-width:110px; padding:12px 14px; border:1px solid #c9dbe7; border-radius:10px; background:#f5f9fc; text-align:center; }
.ct-milestone-progress strong { display:block; font-size:22px; line-height:1.1; color:#123b59; }
.ct-milestone-progress span { display:block; margin-top:5px; font-size:15px; color:#607482; }
.ct-milestone-list { display:grid; gap:14px; }
.ct-milestone-card { padding:18px; border:1px solid #d7e3eb; border-radius:12px; background:#fff; }
.ct-milestone-card.is-approved { background:#f2faf6; border-color:#b9ddc9; }
.ct-milestone-card.is-submitted { background:#eef6fb; border-color:#bfd6e6; }
.ct-milestone-card.is-revision { background:#fff8e8; border-color:#ead5a0; }
.ct-milestone-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.ct-milestone-card h3 { margin:0 0 6px; font-size:19px; line-height:1.35; color:#123b59; }
.ct-milestone-card-head p, .ct-milestone-submission p, .ct-milestone-revision p { margin:0; font-size:16px; line-height:1.6; }
.ct-milestone-status { display:inline-flex; align-items:center; min-height:34px; padding:7px 11px; border-radius:999px; background:#edf3f7; color:#355065; font-size:15px; font-weight:700; white-space:nowrap; }
.ct-milestone-card.is-approved .ct-milestone-status { background:#dff2e8; color:#216342; }
.ct-milestone-card.is-submitted .ct-milestone-status { background:#dcecf6; color:#185b8c; }
.ct-milestone-card.is-revision .ct-milestone-status { background:#f8e9bd; color:#745313; }
.ct-milestone-submission, .ct-milestone-revision { margin-top:14px; padding:14px 16px; border-radius:9px; background:#f7fafc; font-size:16px; }
.ct-milestone-revision { background:#fff3d8; }
.ct-milestone-submission strong, .ct-milestone-revision strong { display:block; margin-bottom:5px; font-size:16px; color:#123b59; }
.ct-milestone-form, .ct-milestone-review-actions { margin-top:16px; padding-top:16px; border-top:1px solid #dce5eb; }
.ct-milestone-review-actions { display:grid; gap:12px; }
.ct-milestone-review-actions form { margin:0; }
.ct-milestone-revision-box { padding:12px 14px; border:1px solid #d7e3eb; border-radius:9px; background:#fff; }
.ct-milestone-revision-box summary, .ct-add-milestone summary { cursor:pointer; font-size:16px; font-weight:700; color:#123b59; }
.ct-milestone-revision-box[open] summary, .ct-add-milestone[open] summary { margin-bottom:12px; }
.ct-add-milestone { margin-top:18px; padding:15px 16px; border:1px solid #c9dbe7; border-radius:10px; background:#f7fafc; }
.ct-add-milestone .ct-form { margin-top:0; }
@media (max-width:720px) {
  .ct-milestones-head, .ct-milestone-card-head { flex-direction:column; }
  .ct-milestone-progress { width:100%; text-align:left; }
  .ct-milestone-progress strong, .ct-milestone-progress span { display:inline; }
  .ct-milestone-progress span { margin-left:6px; }
}

/* CopyTrh Core 0.6.19 – Peněženka a historie kreditu */
.ct-wallet { margin-top: 30px; }
.ct-wallet-head { margin-bottom: 16px; }
.ct-wallet-head > span { font-size: 16px; color: var(--ct-muted); }
.ct-wallet .ct-credit-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-wallet .ct-credit-summary > div { display: grid; align-content: start; gap: 7px; min-height: 154px; }
.ct-wallet .ct-credit-summary small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ct-muted); }
.ct-wallet-history { margin-top: 18px; padding: 22px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; }
.ct-wallet-history-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.ct-wallet-history-head h3 { margin: 0; font-size: 22px; line-height: 1.25; color: var(--ct-primary-dark); }
.ct-wallet-history-head > span { font-size: 15px; color: var(--ct-muted); }
.ct-wallet-transactions { display: grid; }
.ct-wallet-transaction { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid #edf1f4; }
.ct-wallet-transaction:first-child { border-top: 0; }
.ct-wallet-transaction-main { display: grid; gap: 4px; min-width: 0; }
.ct-wallet-transaction-main > strong { font-size: 17px; line-height: 1.35; color: var(--ct-text); }
.ct-wallet-transaction-main > span { font-size: 16px; line-height: 1.45; color: var(--ct-muted); overflow-wrap: anywhere; }
.ct-wallet-transaction-main time { font-size: 15px; color: #768696; }
.ct-wallet-transaction-side { display: grid; justify-items: end; gap: 4px; min-width: 145px; text-align: right; }
.ct-wallet-transaction-side > strong { font-size: 17px; line-height: 1.3; color: var(--ct-text); }
.ct-wallet-transaction-side > span { font-size: 15px; color: var(--ct-muted); }
.ct-wallet-transaction-side > a { font-size: 15px; font-weight: 700; color: var(--ct-primary); text-decoration: none; }
.ct-wallet-transaction-side > a:hover { text-decoration: underline; }
.ct-wallet-transaction-plus .ct-wallet-transaction-side > strong,
.ct-wallet-transaction-refund .ct-wallet-transaction-side > strong { color: #19704a; }
.ct-wallet-transaction-minus .ct-wallet-transaction-side > strong { color: #9a3434; }
.ct-wallet-transaction-hold .ct-wallet-transaction-side > strong { color: #8a6117; }
.ct-wallet-transaction-release .ct-wallet-transaction-side > strong { color: var(--ct-primary-dark); }
@media (max-width: 860px) {
    .ct-wallet .ct-credit-summary { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .ct-wallet-history { padding: 18px; }
    .ct-wallet-history-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .ct-wallet-transaction { grid-template-columns: 1fr; gap: 10px; }
    .ct-wallet-transaction-side { justify-items: start; min-width: 0; text-align: left; }
}

/* CopyTrh Core 0.6.21 – finance / wallet */
.ct-wallet-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}
.ct-wallet-action{border:1px solid var(--ct-line,#dce5eb);border-radius:14px;background:#fff;padding:22px}
.ct-wallet-action h3{margin:0 0 10px;font-size:21px;line-height:1.3;color:var(--ct-primary-dark,#123b59)}
.ct-wallet-action p,.ct-wallet-action label,.ct-wallet-action small{font-size:16px;line-height:1.55}
.ct-wallet-form{display:grid;gap:14px;margin-top:16px}
.ct-wallet-form label{display:grid;gap:8px;font-weight:650;color:var(--ct-text,#17212b)}
.ct-payment-box{margin-top:18px;padding:18px;border:1px solid #c9dbe7;border-radius:12px;background:#f7fbfd}
.ct-payment-box>strong{display:block;font-size:18px;margin-bottom:12px;color:var(--ct-primary-dark,#123b59)}
.ct-payment-details{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:16px}
.ct-payment-details span{color:#66737f}.ct-payment-details b{font-weight:700;color:#17212b;word-break:break-word}
.ct-payment-qr{width:min(220px,100%);aspect-ratio:1/1;margin:18px auto 8px;background:#fff;border-radius:8px;overflow:hidden}
.ct-payment-qr svg{display:block;width:100%;height:100%}
.ct-pending-list{display:grid;gap:8px;margin-top:16px}
.ct-pending-list>div{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:9px;background:#f6f9fb;font-size:16px}
@media(max-width:760px){.ct-wallet-actions-grid{grid-template-columns:1fr}.ct-wallet-action{padding:18px}.ct-payment-details{grid-template-columns:1fr;gap:4px}}

/* CopyTrh Core 0.6.22 – bonusové balíčky kreditu */
.ct-topup-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.ct-topup-package{display:grid;gap:8px;padding:18px;border:1px solid #bfd7e5;border-radius:12px;background:#f5fafd}
.ct-topup-package>strong{font-size:21px;line-height:1.25;color:var(--ct-primary-dark,#123b59)}
.ct-topup-package>span{font-size:16px;line-height:1.45;color:var(--ct-text,#17212b)}
.ct-topup-package>b{font-size:16px;line-height:1.45;color:#19704a}
.ct-topup-package .ct-btn{margin-top:4px;width:100%}
.ct-topup-or{margin:18px 0 0!important;font-size:16px!important;font-weight:650;color:var(--ct-muted,#607080)}
@media(max-width:760px){.ct-topup-packages{grid-template-columns:1fr}}

/* CopyTrh Core 0.6.24 – jeden aktivní QR požadavek na dobití */
.ct-payment-cancel-form{margin-top:16px}
.ct-payment-cancel-form .ct-btn{width:100%}
.ct-old-pending-topups{margin-top:18px;padding:16px;border:1px solid #e2e8ed;border-radius:11px;background:#fbfcfd}
.ct-old-pending-topups>strong{display:block;margin-bottom:6px;font-size:18px;line-height:1.35;color:var(--ct-primary-dark,#123b59)}
.ct-old-pending-topups>p{margin:0 0 12px;font-size:16px;line-height:1.55;color:var(--ct-muted,#607080)}
.ct-old-pending-topup{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid #e8edf1}
.ct-old-pending-topup:first-of-type{border-top:0}
.ct-old-pending-topup>span{font-size:16px;line-height:1.45;color:var(--ct-text,#17212b)}
.ct-old-pending-topup form{margin:0}
.ct-old-pending-topup .ct-btn{min-height:42px;padding:9px 14px;font-size:15px}
@media(max-width:620px){.ct-old-pending-topup{align-items:flex-start;flex-direction:column}.ct-old-pending-topup .ct-btn{width:100%}}


/* CopyTrh Core 0.6.26 – jednotné barvy všech prvků CopyTrhu.
   Vyšší specificita + !important brání Elementor kitu přebarvit naše CTA. */
html body .ct-page a.ct-btn,
html body .ct-page button.ct-btn,
html body .ct-page input.ct-btn,
html body .ct-dashboard a.ct-btn,
html body .ct-dashboard button.ct-btn,
html body .ct-workspace a.ct-btn,
html body .ct-workspace button.ct-btn,
html body .ct-workspace-side a.ct-btn,
html body .ct-workspace-side button.ct-btn,
html body .ct-wallet a.ct-btn,
html body .ct-wallet button.ct-btn,
html body .ct-wallet input.ct-btn,
html body .ct-wallet-action button.ct-btn,
html body .ct-wallet-form button.ct-btn[type="submit"],
html body .ct-topup-package button.ct-btn[type="submit"],
html body .ct-payment-cancel-form button.ct-btn[type="submit"],
html body .ct-auth-box a.ct-btn,
html body .ct-auth-box button.ct-btn,
html body .ct-submit-project button.ct-btn,
html body .ct-bid-box button.ct-btn,
html body .ct-project-detail a.ct-btn,
html body .ct-project-detail button.ct-btn,
html body .ct-profile-detail a.ct-btn,
html body .ct-profile-detail button.ct-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #185b8c !important;
    background-color: #185b8c !important;
    background-image: none !important;
    border: 1px solid #185b8c !important;
    border-color: #185b8c !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

html body .ct-page a.ct-btn:hover,
html body .ct-page a.ct-btn:focus,
html body .ct-page button.ct-btn:hover,
html body .ct-page button.ct-btn:focus,
html body .ct-dashboard a.ct-btn:hover,
html body .ct-dashboard a.ct-btn:focus,
html body .ct-dashboard button.ct-btn:hover,
html body .ct-dashboard button.ct-btn:focus,
html body .ct-workspace a.ct-btn:hover,
html body .ct-workspace a.ct-btn:focus,
html body .ct-workspace button.ct-btn:hover,
html body .ct-workspace button.ct-btn:focus,
html body .ct-wallet a.ct-btn:hover,
html body .ct-wallet a.ct-btn:focus,
html body .ct-wallet button.ct-btn:hover,
html body .ct-wallet button.ct-btn:focus,
html body .ct-topup-package button.ct-btn:hover,
html body .ct-topup-package button.ct-btn:focus {
    background: #123b59 !important;
    background-color: #123b59 !important;
    border-color: #123b59 !important;
    color: #ffffff !important;
}

/* Sekundární tlačítka zůstávají světlá. */
html body .ct-page .ct-btn.ct-btn-secondary,
html body .ct-dashboard .ct-btn.ct-btn-secondary,
html body .ct-workspace .ct-btn.ct-btn-secondary,
html body .ct-workspace-side .ct-btn.ct-btn-secondary,
html body .ct-wallet .ct-btn.ct-btn-secondary,
html body .ct-profile-detail .ct-btn.ct-btn-secondary,
html body .ct-project-detail .ct-btn.ct-btn-secondary {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #b8cbd8 !important;
    color: #123b59 !important;
}
html body .ct-page .ct-btn.ct-btn-secondary:hover,
html body .ct-page .ct-btn.ct-btn-secondary:focus,
html body .ct-dashboard .ct-btn.ct-btn-secondary:hover,
html body .ct-dashboard .ct-btn.ct-btn-secondary:focus,
html body .ct-workspace .ct-btn.ct-btn-secondary:hover,
html body .ct-workspace .ct-btn.ct-btn-secondary:focus,
html body .ct-wallet .ct-btn.ct-btn-secondary:hover,
html body .ct-wallet .ct-btn.ct-btn-secondary:focus {
    background: #eaf3f8 !important;
    background-color: #eaf3f8 !important;
    border-color: #185b8c !important;
    color: #123b59 !important;
}

/* Běžné odkazy generované pluginem nesmí dědit vínovou Elementor accent barvu. */
html body .ct-page a:not(.ct-btn):not(.ct-avatar),
html body .ct-dashboard a:not(.ct-btn),
html body .ct-workspace a:not(.ct-btn),
html body .ct-wallet a:not(.ct-btn),
html body .ct-profile-detail a:not(.ct-btn):not(.ct-avatar),
html body .ct-project-detail a:not(.ct-btn),
html body a.ct-back-link,
html body a.ct-attachment {
    color: #185b8c !important;
}
html body .ct-page a:not(.ct-btn):not(.ct-avatar):hover,
html body .ct-dashboard a:not(.ct-btn):hover,
html body .ct-workspace a:not(.ct-btn):hover,
html body .ct-wallet a:not(.ct-btn):hover,
html body .ct-profile-detail a:not(.ct-btn):not(.ct-avatar):hover,
html body .ct-project-detail a:not(.ct-btn):hover,
html body a.ct-back-link:hover,
html body a.ct-attachment:hover {
    color: #123b59 !important;
}

/* Dočasný globální header – žádná vínová ani u odhlášení. */
html body .ct-site-header .ct-main-navigation > a {
    color: #243746 !important;
}
html body .ct-site-header .ct-main-navigation > a:hover,
html body .ct-site-header .ct-main-navigation > a:focus-visible {
    color: #123b59 !important;
}
html body .ct-site-header .ct-main-navigation > a.ct-nav-cta {
    background: #185b8c !important;
    border-color: #185b8c !important;
    color: #ffffff !important;
}
html body .ct-site-header .ct-main-navigation > a.ct-nav-cta:hover,
html body .ct-site-header .ct-main-navigation > a.ct-nav-cta:focus-visible {
    background: #123b59 !important;
    border-color: #123b59 !important;
    color: #ffffff !important;
}
html body .ct-site-header .ct-main-navigation > a.ct-nav-logout {
    color: #243746 !important;
}

/* Elementor widgetová tlačítka na stránkách CopyTrhu. */
html body .elementor .elementor-button,
html body .elementor a.elementor-button,
html body .elementor .elementor-widget-button .elementor-button,
html body .elementor .elementor-form button[type="submit"],
html body .elementor .elementor-form input[type="submit"] {
    background: #185b8c !important;
    background-color: #185b8c !important;
    background-image: none !important;
    border-color: #185b8c !important;
    color: #ffffff !important;
}
html body .elementor .elementor-button:hover,
html body .elementor .elementor-button:focus,
html body .elementor .elementor-form button[type="submit"]:hover,
html body .elementor .elementor-form button[type="submit"]:focus {
    background: #123b59 !important;
    background-color: #123b59 !important;
    border-color: #123b59 !important;
    color: #ffffff !important;
}


/* CopyTrh Core 0.6.27 – přehledný Můj účet */
.ct-account-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 28px;padding:8px;border:1px solid #dce5eb;border-radius:12px;background:#f6f9fb}
.ct-account-tabs a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border-radius:9px;color:#243746!important;font-size:16px;font-weight:700;text-decoration:none!important}
.ct-account-tabs a:hover{background:#eaf3f8;color:#123b59!important}
.ct-account-tabs a.is-active{background:#185b8c!important;color:#fff!important}
.ct-account-tabs a span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#fff;color:#185b8c;font-size:15px;font-weight:800}
.ct-account-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.ct-account-summary-card{display:flex;flex-direction:column;gap:8px;min-height:150px;padding:22px;border:1px solid #dce5eb;border-radius:12px;background:#fff;text-decoration:none!important;color:#243746!important;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.ct-account-summary-card:hover{border-color:#9fbed1;transform:translateY(-1px);box-shadow:0 8px 24px rgba(26,71,101,.08);color:#243746!important}
.ct-account-summary-card span{font-size:16px;color:#5f7180}
.ct-account-summary-card strong{font-size:27px;line-height:1.15;color:#123b59}
.ct-account-summary-card small{margin-top:auto;font-size:15px;line-height:1.45;color:#687986}
.ct-account-overview-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid #dce5eb;border-radius:12px;background:#f8fbfd;margin-bottom:22px}
.ct-account-overview-panel h2{margin:0 0 8px;font-size:23px;color:#123b59}
.ct-account-overview-panel p{margin:0;font-size:16px;color:#5f7180}
.ct-account-quick-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ct-message-center-list{display:grid;gap:12px}
.ct-message-center-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;padding:18px;border:1px solid #dce5eb;border-radius:12px;background:#fff}
.ct-message-center-item.is-unread{border-color:#86b7d4;background:#f2f8fc}
.ct-message-center-avatar img{display:block;width:52px;height:52px;border-radius:50%}
.ct-message-center-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ct-message-center-head strong{font-size:17px;color:#17212b}
.ct-message-center-head time{font-size:15px;color:#71808b}
.ct-message-project{display:block;margin-top:4px;font-size:15px;font-weight:700;color:#185b8c}
.ct-message-center-content p{margin:9px 0 12px;font-size:16px;line-height:1.55;color:#344653}
.ct-message-center-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-message-center-actions>span{font-size:15px;color:#667783}
.ct-message-center-actions .ct-btn{min-height:42px;padding:9px 14px;font-size:15px}
.ct-account-profile-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;padding:24px;border:1px solid #dce5eb;border-radius:12px;background:#fff}
.ct-account-profile-avatar img{display:block;width:96px;height:96px;border-radius:50%}
.ct-account-profile-main h3{margin:0 0 18px;font-size:25px;color:#123b59}
.ct-account-profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
.ct-account-profile-data div{padding:14px 16px;border:1px solid #e2e9ee;border-radius:9px;background:#f8fbfd}
.ct-account-profile-data span{display:block;margin-bottom:5px;font-size:15px;color:#687986}
.ct-account-profile-data strong{display:block;font-size:16px;color:#17212b;overflow-wrap:anywhere}
.ct-account-profile-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:980px){.ct-account-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-account-overview-panel{align-items:flex-start;flex-direction:column}.ct-account-quick-actions{justify-content:flex-start}}
@media(max-width:680px){.ct-account-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ct-account-tabs a{padding:10px 12px}.ct-account-summary-grid{grid-template-columns:1fr}.ct-message-center-item{grid-template-columns:1fr}.ct-message-center-avatar{display:none}.ct-message-center-head,.ct-message-center-actions{align-items:flex-start;flex-direction:column}.ct-account-profile-card{grid-template-columns:1fr}.ct-account-profile-data{grid-template-columns:1fr}.ct-account-profile-actions .ct-btn,.ct-account-quick-actions .ct-btn{width:100%}}

/* =========================================================
   CopyTrh Core 0.6.28 – moderní profily + PRO katalog
   ========================================================= */

/* Aktivní záložka musí přebít obecnou barvu odkazů CopyTrhu/Elementoru. */
html body .ct-dashboard .ct-account-tabs a.is-active,
html body .ct-dashboard .ct-account-tabs a.is-active:hover,
html body .ct-dashboard .ct-account-tabs a.is-active:focus {
    background:#185b8c!important;
    color:#fff!important;
}

.ct-profile-badges{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.ct-profile-badges.is-compact{gap:6px;margin-top:5px}
.ct-profile-badge{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;font-size:15px;line-height:1.2;font-weight:800}
.ct-profile-badge-pro{background:#e8f1ff;color:#174f9b;border:1px solid #c9ddfb}
.ct-profile-badge-recommended{background:#eaf6ef;color:#176743;border:1px solid #b9ddc8}
.ct-profile-inline-badges{min-height:30px;margin-bottom:7px}

/* Karty v běžném přehledu copywriterů – žádné veřejné kontakty. */
.ct-profile-card-modern{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(18,59,89,.06)}
.ct-profile-card-modern:hover{border-color:#a8c5d7;box-shadow:0 14px 34px rgba(18,59,89,.1)}
.ct-profile-card-top{display:grid;grid-template-columns:84px minmax(0,1fr);gap:18px;align-items:center}
.ct-profile-card-avatar img{display:block;width:84px!important;height:84px!important;border-radius:18px!important;object-fit:cover}
.ct-profile-card-main .ct-card-title{margin:0 0 5px;font-size:23px;line-height:1.2}
.ct-profile-card-main .ct-professional-title{margin:0 0 8px;color:#5f7180;font-size:16px;line-height:1.45}
.ct-profile-card-main .ct-profile-state{margin:0}
.ct-profile-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;border-radius:12px;background:#f7fafc}
.ct-profile-card-stats>div{min-width:0;padding:2px 8px;border-right:1px solid #dce5eb}
.ct-profile-card-stats>div:last-child{border-right:0}
.ct-profile-card-stats strong,.ct-profile-card-stats span{display:block}
.ct-profile-card-stats strong{color:#123b59;font-size:18px;line-height:1.25}
.ct-profile-card-stats span{margin-top:4px;color:#687986;font-size:15px;line-height:1.35}
.ct-profile-card-modern .ct-card-excerpt{margin:0;color:#344653;font-size:16px;line-height:1.65}
.ct-profile-card-modern .ct-card-footer{margin-top:auto;padding-top:2px;border-top:0}

/* Detail profilu */
.ct-profile-detail-modern{max-width:1220px;margin:0 auto;padding:34px 24px 60px;color:#17212b}
.ct-profile-hero-modern{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:32px;border:1px solid #dce5eb;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f4f9fc 100%);box-shadow:0 14px 38px rgba(18,59,89,.06)}
.ct-profile-detail-modern.is-pro .ct-profile-hero-modern{border-color:#bdd5e4;background:linear-gradient(135deg,#fff 0%,#eef6fb 100%)}
.ct-profile-identity{display:flex;align-items:center;gap:24px;min-width:0}
.ct-profile-avatar-modern{flex:0 0 142px;width:142px;height:142px;padding:5px;border-radius:24px;background:#fff;box-shadow:0 10px 25px rgba(18,59,89,.12)}
.ct-profile-avatar-modern.is-small{flex-basis:96px;width:96px;height:96px;border-radius:18px}
.ct-profile-avatar-modern img{display:block;width:100%;height:100%;border-radius:19px;object-fit:cover}
.ct-profile-avatar-modern.is-small img{border-radius:14px}
.ct-profile-identity-main h1{margin:0;color:#123b59;font-size:clamp(34px,4vw,50px);line-height:1.08;font-weight:800;letter-spacing:-.025em}
.ct-profile-identity-main .ct-profile-title-large{margin:8px 0 12px;color:#506574;font-size:19px;line-height:1.45}
.ct-profile-hero-actions{display:grid;gap:14px;min-width:220px}
.ct-profile-price-modern{padding:18px 20px;border:1px solid #dce5eb;border-radius:14px;background:#fff}
.ct-profile-price-modern span,.ct-profile-price-modern strong{display:block}
.ct-profile-price-modern span{color:#687986;font-size:15px}
.ct-profile-price-modern strong{margin-top:4px;color:#123b59;font-size:24px;line-height:1.25}
.ct-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 30px}
.ct-profile-metrics>div{padding:18px 20px;border:1px solid #dce5eb;border-radius:14px;background:#fff}
.ct-profile-metrics strong,.ct-profile-metrics span{display:block}
.ct-profile-metrics strong{color:#123b59;font-size:22px;line-height:1.2}
.ct-profile-metrics span{margin-top:5px;color:#687986;font-size:15px;line-height:1.4}
.ct-profile-layout-modern{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.ct-profile-content-modern{display:grid;gap:20px;min-width:0}
.ct-profile-panel,.ct-profile-side-card{padding:26px;border:1px solid #dce5eb;border-radius:16px;background:#fff}
.ct-profile-panel h2,.ct-profile-side-card h2{margin:0 0 18px;color:#123b59;font-size:24px;line-height:1.25}
.ct-profile-panel .ct-detail-content{font-size:16px;line-height:1.75;color:#344653}
.ct-profile-sidebar-modern{display:grid;gap:18px;position:sticky;top:92px}
.ct-profile-contact-card{border-color:#bdd5e4;background:#f7fbfd}
.ct-pro-contact-list{display:grid;gap:10px}
.ct-pro-contact-list>a{display:block;padding:12px 14px;border:1px solid #dce5eb;border-radius:10px;background:#fff;text-decoration:none!important}
.ct-pro-contact-list>a:hover{border-color:#9dbfd3;background:#f8fbfd}
.ct-pro-contact-list span,.ct-pro-contact-list strong{display:block}
.ct-pro-contact-list span{color:#6b7d89;font-size:15px}
.ct-pro-contact-list strong{margin-top:3px;color:#123b59;font-size:16px;overflow-wrap:anywhere}
.ct-pro-contact-list p{margin:0;font-size:16px;line-height:1.55;color:#687986}

/* Editace profilu v Můj účet */
.ct-account-profile-modern{display:grid;grid-template-columns:310px minmax(0,1fr);gap:24px;align-items:start}
.ct-account-profile-preview{display:flex;flex-direction:column;gap:15px;padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#f8fbfd;position:sticky;top:92px}
.ct-account-profile-preview .ct-account-profile-avatar img{width:112px;height:112px;border-radius:18px;object-fit:cover}
.ct-account-profile-preview h3{margin:0;color:#123b59;font-size:26px;line-height:1.25}
.ct-account-profile-preview p{margin:4px 0 14px;color:#617380;font-size:16px;line-height:1.5}
.ct-profile-edit-form{display:grid;gap:18px;padding:26px;border:1px solid #dce5eb;border-radius:16px;background:#fff}
.ct-profile-edit-form textarea{min-height:180px}
.ct-profile-availability{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:#243746}
.ct-profile-availability input{width:20px;height:20px}
.ct-profile-pro-fields,.ct-profile-pro-promo{padding:22px;border:1px solid #c9ddfb;border-radius:14px;background:#f3f8ff}
.ct-profile-pro-fields h3,.ct-profile-pro-promo strong{display:block;margin:0 0 8px;color:#123b59;font-size:22px}
.ct-profile-pro-fields>p,.ct-profile-pro-promo p{margin:0 0 18px;color:#566b79;font-size:16px;line-height:1.55}
.ct-profile-pro-promo p{margin-bottom:0}

/* Samostatný PRO katalog */
.ct-pro-catalog{max-width:1220px;margin:0 auto;padding:34px 24px 60px}
.ct-pro-catalog .ct-page-head{margin-bottom:28px}
.ct-pro-catalog .ct-page-head h1{margin:0 0 10px;color:#123b59;font-size:clamp(34px,4vw,48px);line-height:1.1}
.ct-pro-catalog .ct-page-head p{margin:0;max-width:760px;color:#5f7180;font-size:17px;line-height:1.6}
.ct-pro-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ct-pro-catalog-card{display:flex;flex-direction:column;gap:18px;padding:26px;border:1px solid #cbdde8;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(18,59,89,.06)}
.ct-pro-catalog-card-top{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center}
.ct-pro-catalog-card h2{margin:0 0 6px;font-size:25px;line-height:1.2}
.ct-pro-catalog-card h2 a{color:#123b59!important;text-decoration:none!important}
.ct-pro-catalog-card-top p{margin:0;color:#617380;font-size:16px;line-height:1.45}
.ct-pro-catalog-meta{display:flex;flex-wrap:wrap;gap:12px 22px;padding:14px 16px;border-radius:12px;background:#f7fafc;color:#627481;font-size:15px}
.ct-pro-catalog-meta strong{color:#123b59;font-size:17px}
.ct-pro-catalog-excerpt{margin:0;color:#344653;font-size:16px;line-height:1.65}
.ct-pro-catalog-contacts .ct-pro-contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.ct-pro-catalog-card>.ct-btn{margin-top:auto}

@media(max-width:980px){
    .ct-profile-hero-modern{grid-template-columns:1fr}
    .ct-profile-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
    .ct-profile-layout-modern{grid-template-columns:1fr}
    .ct-profile-sidebar-modern{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
    .ct-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ct-account-profile-modern{grid-template-columns:1fr}
    .ct-account-profile-preview{position:static;flex-direction:row;align-items:center}
    .ct-pro-catalog-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
    .ct-profile-card-top,.ct-pro-catalog-card-top{grid-template-columns:1fr}
    .ct-profile-card-stats{grid-template-columns:1fr}
    .ct-profile-card-stats>div{border-right:0;border-bottom:1px solid #dce5eb;padding:8px 4px}
    .ct-profile-card-stats>div:last-child{border-bottom:0}
    .ct-profile-detail-modern,.ct-pro-catalog{padding-left:16px;padding-right:16px}
    .ct-profile-hero-modern{padding:22px}
    .ct-profile-identity{align-items:flex-start;flex-direction:column}
    .ct-profile-avatar-modern{width:112px;height:112px;flex-basis:112px}
    .ct-profile-hero-actions{grid-template-columns:1fr;width:100%}
    .ct-profile-metrics{grid-template-columns:1fr}
    .ct-profile-sidebar-modern{grid-template-columns:1fr}
    .ct-account-profile-preview{align-items:flex-start;flex-direction:column}
    .ct-pro-catalog-contacts .ct-pro-contact-list{grid-template-columns:1fr}
}

/* CopyTrh Core 0.6.29 – PRO nákup a platnost */
.ct-pro-validity {
    margin: 8px 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef5fa;
    color: #123b59;
    font-size: 16px;
    line-height: 1.5;
}
.ct-pro-purchase-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #cbdbe6;
    border-radius: 14px;
    background: #f7fbfe;
}
.ct-pro-purchase-form strong,
.ct-pro-purchase-form p {
    font-size: 16px;
}
.ct-pro-purchase-form p {
    margin: 5px 0 0;
    line-height: 1.55;
}
.ct-pro-purchase-form .ct-btn {
    flex: 0 0 auto;
    min-width: 220px;
}
@media (max-width: 767px) {
    .ct-pro-purchase-form {
        align-items: stretch;
        flex-direction: column;
    }
    .ct-pro-purchase-form .ct-btn {
        width: 100%;
        min-width: 0;
    }
}

/* CopyTrh Core 0.6.30 – Hotové texty */
.ct-ready-market,
.ct-ready-detail {
    max-width: 1220px;
    margin: 0 auto;
    padding: 34px 24px 60px;
}
.ct-ready-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.ct-ready-head h1,
.ct-ready-detail h1 {
    margin: 0 0 10px;
    color: #123b59;
    font-size: clamp(34px,4vw,48px);
    line-height: 1.1;
}
.ct-ready-head p,
.ct-ready-lead {
    margin: 0;
    color: #5f7180;
    font-size: 17px;
    line-height: 1.65;
}
.ct-ready-filters {
    display: grid;
    grid-template-columns: minmax(220px,1.5fr) minmax(170px,.8fr) minmax(160px,.8fr) auto;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #dce5eb;
    border-radius: 14px;
    background: #fff;
}
.ct-ready-filters input,
.ct-ready-filters select {
    min-height: 48px;
    border: 1px solid #cddae2;
    border-radius: 9px;
    background: #fff;
    color: #17212b;
    font-size: 16px;
}
.ct-ready-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}
.ct-ready-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18,59,89,.06);
}
.ct-ready-card h2 {
    margin: 0;
    color: #123b59;
    font-size: 23px;
    line-height: 1.25;
}
.ct-ready-card h2 a {
    color: #123b59!important;
    text-decoration: none!important;
}
.ct-ready-card>p {
    margin: 0;
    color: #435563;
    font-size: 16px;
    line-height: 1.65;
}
.ct-ready-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ct-ready-card-labels>span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf3f8;
    color: #185b8c;
    font-size: 15px;
    font-weight: 750;
}
.ct-ready-card-labels .ct-ready-license {
    background: #f4f6f8;
    color: #506574;
}
.ct-ready-card-labels .ct-ready-sold {
    background: #fbecec;
    color: #963f3f;
}
.ct-ready-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #627481;
    font-size: 15px;
}
.ct-ready-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ct-ready-author img {
    display: block;
    width: 42px!important;
    height: 42px!important;
    border-radius: 12px!important;
    object-fit: cover;
}
.ct-ready-author strong {
    display: block;
    color: #243746;
    font-size: 16px;
}
.ct-ready-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #edf1f4;
}
.ct-ready-card-footer>strong {
    color: #123b59;
    font-size: 22px;
}
.ct-ready-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #185b8c!important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none!important;
}
.ct-ready-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 28px;
    align-items: start;
}
.ct-ready-main,
.ct-ready-price-box,
.ct-ready-seller {
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
}
.ct-ready-main {
    padding: 30px;
}
.ct-ready-lead {
    margin: 0 0 22px;
}
.ct-ready-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin: 22px 0;
}
.ct-ready-facts>div {
    padding: 15px 16px;
    border-radius: 12px;
    background: #f6f9fb;
}
.ct-ready-facts span,
.ct-ready-facts strong {
    display: block;
}
.ct-ready-facts span {
    color: #6b7d89;
    font-size: 15px;
}
.ct-ready-facts strong {
    margin-top: 4px;
    color: #123b59;
    font-size: 17px;
}
.ct-ready-keywords {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid #9fc2d7;
    background: #f8fbfd;
    color: #425765;
    font-size: 16px;
    line-height: 1.55;
}
.ct-ready-preview {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e3eaee;
}
.ct-ready-preview h2,
.ct-ready-seller h2 {
    margin: 0 0 16px;
    color: #123b59;
    font-size: 24px;
}
.ct-ready-text-content {
    color: #283b48;
    font-size: 17px;
    line-height: 1.8;
}
.ct-ready-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}
.ct-ready-price-box,
.ct-ready-seller {
    padding: 24px;
}
.ct-ready-price-box>span,
.ct-ready-price-box>strong,
.ct-ready-price-box>small {
    display: block;
}
.ct-ready-price-box>span {
    color: #687986;
    font-size: 15px;
}
.ct-ready-price-box>strong {
    margin: 4px 0 6px;
    color: #123b59;
    font-size: 30px;
}
.ct-ready-price-box>small {
    margin-bottom: 18px;
    color: #687986;
    font-size: 15px;
    line-height: 1.45;
}
.ct-ready-seller .ct-ready-author img {
    width: 64px!important;
    height: 64px!important;
    border-radius: 14px!important;
}
.ct-ready-seller .ct-btn {
    margin-top: 18px;
}
.ct-ready-dashboard {
    display: grid;
    gap: 22px;
}
.ct-ready-seller-grid {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr);
    gap: 22px;
    align-items: start;
}
.ct-ready-form-box,
.ct-ready-owned,
.ct-ready-purchases {
    padding: 24px;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
}
.ct-ready-form-box h3,
.ct-ready-owned h3,
.ct-ready-purchases h3 {
    margin: 0 0 10px;
    color: #123b59;
    font-size: 23px;
}
.ct-ready-form-box>p {
    margin: 0 0 20px;
    color: #5f7180;
    font-size: 16px;
    line-height: 1.6;
}
.ct-ready-owned-list {
    display: grid;
    gap: 12px;
}
.ct-ready-owned-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e0e7ec;
    border-radius: 12px;
    background: #fafcfd;
}
.ct-ready-owned-list article>div:first-child {
    display: grid;
    gap: 5px;
}
.ct-ready-owned-list strong {
    color: #243746;
    font-size: 17px;
}
.ct-ready-owned-list small {
    color: #687986;
    font-size: 15px;
}
.ct-ready-owned-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ct-ready-owned-actions form {
    margin: 0;
}
.ct-status-available { background:#eaf6ef!important; color:#176743!important; }
.ct-status-withdrawn { background:#f0f2f4!important; color:#596b77!important; }
.ct-status-sold { background:#eaf3f8!important; color:#185b8c!important; }

@media(max-width:980px){
    .ct-ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ct-ready-detail-grid{grid-template-columns:1fr}
    .ct-ready-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
    .ct-ready-seller-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
    .ct-ready-market,.ct-ready-detail{padding-left:16px;padding-right:16px}
    .ct-ready-head{align-items:stretch;flex-direction:column}
    .ct-ready-filters{grid-template-columns:1fr}
    .ct-ready-grid{grid-template-columns:1fr}
    .ct-ready-facts{grid-template-columns:1fr}
    .ct-ready-sidebar{grid-template-columns:1fr}
    .ct-ready-card-footer,.ct-ready-owned-list article{align-items:stretch;flex-direction:column}
    .ct-ready-owned-actions{width:100%}
    .ct-ready-owned-actions .ct-btn,.ct-ready-owned-actions form,.ct-ready-owned-actions form .ct-btn{width:100%}
}

/* CopyTrh Core 0.6.31 – řízené licence Hotových textů */
.ct-license-box {
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
}
.ct-license-box strong { font-size: 17px; color: var(--ct-primary-dark, #123b59); }
.ct-license-box p { margin: 8px 0 0; font-size: 16px; }
.ct-license-exclusive { background: #eef6fb; border-color: #b9d4e5; }
.ct-license-nonexclusive { background: #fff8e8; border-color: #ead59a; }
.ct-author-declarations {
    display: grid;
    gap: 12px;
    padding: 18px;
    margin: 4px 0 8px;
    border: 1px solid var(--ct-line, #dce5eb);
    border-radius: 12px;
    background: #f7fafc;
}
.ct-author-declarations label {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}
.ct-author-declarations input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; }
.ct-author-declarations label.is-optional { opacity: .68; }

/* CopyTrh Core 0.6.32 – přímé platby a transparentnost AI */
.ct-ready-filters {
    grid-template-columns: minmax(220px,1.5fr) repeat(3,minmax(170px,1fr)) auto;
}
.ct-ready-ai {
    background: #eef4f8 !important;
    color: #294c63 !important;
    border: 1px solid #cfdee7;
}
.ct-ready-ai-human {
    background: #eaf6ef !important;
    color: #176743 !important;
    border-color: #b9dec9;
}
.ct-ready-ai-research {
    background: #eef6fb !important;
    color: #185b8c !important;
    border-color: #bdd8e8;
}
.ct-ready-ai-assisted {
    background: #fff6e5 !important;
    color: #795319 !important;
    border-color: #ead39b;
}
.ct-ready-reserved {
    background: #fff6e5 !important;
    color: #795319 !important;
    border: 1px solid #ead39b;
}
.ct-ai-disclosure {
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid #dce5eb;
    border-radius: 12px;
    background: #f7fafc;
    font-size: 16px;
    line-height: 1.6;
}
.ct-ai-disclosure strong { color: #123b59; font-size: 17px; }
.ct-ai-disclosure p { margin: 7px 0 0; font-size: 16px; }
.ct-ai-disclosure-human { background: #eef8f3; border-color: #bfdfce; }
.ct-ai-disclosure-research { background: #eef6fb; border-color: #bdd8e8; }
.ct-ai-disclosure-assisted { background: #fff8e8; border-color: #ead59a; }
.ct-text-payment-box {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #b9d4e5;
    border-radius: 12px;
    background: #eef6fb;
}
.ct-text-payment-box > strong { color: #123b59; font-size: 18px; }
.ct-text-payment-box > p { margin: 0; font-size: 16px; line-height: 1.55; }
.ct-ready-bank-form { margin-top: 10px; }
.ct-ready-bank-form small {
    display: block;
    margin-top: 9px;
    color: #61737f;
    font-size: 15px;
    line-height: 1.5;
}
.ct-ready-price-box .ct-payment-details {
    display: grid;
    grid-template-columns: minmax(100px,.7fr) minmax(0,1.3fr);
    gap: 8px 12px;
    margin: 4px 0;
    font-size: 15px;
}
.ct-ready-price-box .ct-payment-details span { color: #657784; }
.ct-ready-price-box .ct-payment-details b { color: #17212b; overflow-wrap: anywhere; }
.ct-ready-price-box .ct-payment-qr { max-width: 230px; margin: 8px auto; }
.ct-ready-price-box .ct-payment-qr svg { width: 100%; height: auto; display: block; }
@media(max-width:1100px){
    .ct-ready-filters{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
    .ct-ready-filters{grid-template-columns:1fr;}
}

/* CopyTrh Core 0.6.33 – 24h ochrana nákupu Hotových textů */
.ct-ready-protection-box {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #bdd8e8;
    border-radius: 12px;
    background: #eef6fb;
    color: #17212b;
    font-size: 16px;
    line-height: 1.55;
}
.ct-ready-protection-box > strong {
    display: block;
    margin-bottom: 6px;
    color: #123b59;
    font-size: 18px;
}
.ct-ready-protection-box > p { margin: 0; font-size: 16px; }
.ct-ready-dispute-form { margin-top: 14px; }
.ct-ready-dispute-form summary {
    cursor: pointer;
    color: #185b8c;
    font-size: 16px;
    font-weight: 700;
}
.ct-ready-dispute-form form {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}
.ct-ready-dispute-form label {
    display: grid;
    gap: 7px;
    font-size: 16px;
    font-weight: 650;
}
.ct-ready-dispute-form select,
.ct-ready-dispute-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #c7d5de;
    border-radius: 9px;
    background: #fff;
    color: #17212b;
    font-size: 16px;
}
.ct-status-held { background:#fff6e5 !important; color:#795319 !important; border-color:#ead39b !important; }
.ct-status-released { background:#eaf6ef !important; color:#176743 !important; border-color:#b9dec9 !important; }
.ct-status-disputed { background:#fff0f0 !important; color:#8a2f2f !important; border-color:#e4b5b5 !important; }
.ct-status-refund_pending { background:#eef6fb !important; color:#185b8c !important; border-color:#bdd8e8 !important; }
.ct-status-refunded { background:#f1f4f6 !important; color:#4f626e !important; border-color:#d3dde3 !important; }

/* CopyTrh Core 0.6.34 – Akce pro copywritery */
.ct-events,
.ct-event-submit,
.ct-event-detail {
    font-size: 16px;
}
.ct-events-head,
.ct-event-submit .ct-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.ct-events h1,
.ct-event-submit h1,
.ct-event-detail h1 {
    margin: 0 0 10px;
    color: #123b59;
}
.ct-events-head p,
.ct-event-submit .ct-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #52616d;
}
.ct-event-filters {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 16px;
    align-items: end;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid #dce5eb;
    border-radius: 14px;
    background: #f7fafc;
}
.ct-event-filters label {
    display: grid;
    gap: 7px;
    font-size: 16px;
    font-weight: 700;
    color: #17212b;
}
.ct-event-filters select {
    min-height: 48px;
    border: 1px solid #c7d5df;
    border-radius: 9px;
    background: #fff;
    font-size: 16px;
    padding: 0 12px;
}
.ct-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.ct-event-card {
    overflow: hidden;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18,59,89,.07);
}
.ct-event-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #eef4f8;
}
.ct-event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ct-event-card-body {
    padding: 22px;
}
.ct-event-card h2 {
    margin: 12px 0 14px;
    font-size: 22px;
    line-height: 1.3;
}
.ct-event-card h2 a {
    color: #123b59 !important;
    text-decoration: none !important;
}
.ct-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ct-event-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf3f8;
    color: #185b8c;
    font-size: 15px;
    font-weight: 700;
}
.ct-event-meta {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    color: #53636f;
    font-size: 15px;
    line-height: 1.5;
}
.ct-event-meta strong {
    color: #17212b;
    font-size: 16px;
}
.ct-event-fee-box {
    display: grid;
    gap: 6px;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #bfd4e2;
    border-radius: 12px;
    background: #f0f7fb;
    color: #17212b;
}
.ct-event-fee-box strong,
.ct-event-fee-box span {
    font-size: 16px;
}
.ct-my-events {
    margin-top: 38px;
}
.ct-event-manage-list {
    display: grid;
    gap: 12px;
}
.ct-event-manage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid #dce5eb;
    border-radius: 12px;
    background: #fff;
}
.ct-event-manage-row > div {
    display: grid;
    gap: 4px;
}
.ct-event-manage-row strong,
.ct-event-manage-row span {
    font-size: 16px;
}
.ct-event-manage-row span {
    color: #60717d;
}
.ct-event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}
.ct-event-hero {
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 16px;
}
.ct-event-hero img {
    width: 100%;
    height: auto;
    display: block;
}
.ct-event-detail .ct-event-tags {
    margin-bottom: 14px;
}
.ct-event-description {
    font-size: 16px;
    line-height: 1.75;
    color: #28343d;
}
.ct-event-info-card {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 0;
    padding: 22px;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18,59,89,.07);
}
.ct-event-info-card > div {
    display: grid;
    gap: 4px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f4;
}
.ct-event-info-card span {
    color: #667782;
    font-size: 15px;
}
.ct-event-info-card strong {
    color: #17212b;
    font-size: 16px;
}
.ct-event-info-card .ct-btn {
    margin-top: 18px;
}
@media (max-width: 980px) {
    .ct-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-event-detail-grid { grid-template-columns: 1fr; }
    .ct-event-info-card { position: static; }
}
@media (max-width: 700px) {
    .ct-events-head,
    .ct-event-submit .ct-section-head,
    .ct-event-manage-row { align-items: stretch; flex-direction: column; }
    .ct-event-filters { grid-template-columns: 1fr; }
    .ct-event-grid { grid-template-columns: 1fr; }
}

/* CopyTrh 0.6.35 – veřejné akce, přímá platba a ověření pořadatele */
.ct-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.ct-event-payment-choice {
    display: grid;
    gap: 10px;
    margin: 2px 0 6px;
    padding: 18px 20px;
    border: 1px solid #d8e4ec;
    border-radius: 12px;
    background: #f8fbfd;
}
.ct-event-payment-choice legend {
    padding: 0 6px;
    color: #17212b;
    font-size: 16px;
    font-weight: 700;
}
.ct-event-payment-choice label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #28343d;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}
.ct-event-payment-choice input[type="radio"] {
    margin-top: 5px;
}
.ct-event-manage-box {
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid #bfd4e2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18,59,89,.07);
}
.ct-event-manage-box h2,
.ct-event-payment-box h3 {
    margin: 0 0 14px;
    color: #17212b;
}
.ct-event-manage-box > p {
    font-size: 16px;
}
.ct-event-payment-box {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #dce5eb;
    border-radius: 12px;
    background: #f6f9fb;
}
.ct-event-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.ct-event-payment-grid > div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    background: #fff;
}
.ct-event-payment-grid span {
    color: #667782;
    font-size: 15px;
}
.ct-event-payment-grid strong {
    color: #17212b;
    font-size: 16px;
    overflow-wrap: anywhere;
}
.ct-event-payment-box .ct-payment-qr {
    width: min(250px,100%);
    padding: 10px;
    border: 1px solid #dce5eb;
    border-radius: 10px;
    background: #fff;
}
.ct-event-payment-box .ct-payment-qr svg {
    display: block;
    width: 100%;
    height: auto;
}
.ct-event-payment-box p {
    margin: 0;
    color: #53636f;
    font-size: 16px;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .ct-event-payment-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   CopyTrh Core 0.6.36 – centrum upozornění
   ========================================================= */
.ct-nav-notifications{position:relative;display:inline-flex!important;align-items:center!important;gap:7px!important;color:#243746!important;text-decoration:none!important}
.ct-nav-notifications:hover,.ct-nav-notifications.has-unread{color:#185b8c!important}
.ct-nav-notification-icon{width:23px;height:23px;display:block;flex:0 0 23px}
.ct-nav-notification-label{font-size:16px;font-weight:700}
.ct-nav-notifications .ct-message-badge{position:absolute;top:-8px;right:-10px}
.ct-notification-list{display:grid;gap:12px}
.ct-notification-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:18px;border:1px solid #dce5eb;border-radius:12px;background:#fff}
.ct-notification-item.is-unread{border-color:#86b7d4;background:#f2f8fc}
.ct-notification-icon{width:44px;height:44px;border-radius:50%;background:#eaf3f8;position:relative}
.ct-notification-icon:before{content:"";position:absolute;inset:13px;border-radius:50%;background:#185b8c}
.ct-notification-icon-wallet{background:#edf7f1}.ct-notification-icon-wallet:before{background:#237a57}
.ct-notification-icon-text{background:#f1eefb}.ct-notification-icon-text:before{background:#6752a4}
.ct-notification-icon-event{background:#fff4e8}.ct-notification-icon-event:before{background:#a96524}
.ct-notification-icon-bid{background:#eaf3f8}.ct-notification-icon-bid:before,.ct-notification-icon-job:before{background:#185b8c}
.ct-notification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.ct-notification-head strong{font-size:17px;line-height:1.4;color:#17212b}
.ct-notification-head time{font-size:15px;white-space:nowrap;color:#71808b}
.ct-notification-main p{margin:8px 0 12px;font-size:16px;line-height:1.55;color:#344653}
.ct-notification-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-notification-actions>span{font-size:15px;color:#667783}
.ct-notification-actions .ct-btn{min-height:42px;padding:9px 14px;font-size:15px}
.ct-account-summary-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
@media(max-width:760px){.ct-nav-notification-label{display:inline}.ct-notification-item{grid-template-columns:1fr}.ct-notification-icon{display:none}.ct-notification-head,.ct-notification-actions{flex-direction:column;align-items:flex-start}.ct-notification-head time{white-space:normal}}

/* =========================================================
   CopyTrh Core 0.6.38 – homepage
   ========================================================= */
.ct-home{--ct-primary:#185b8c;--ct-primary-dark:#123b59;--ct-primary-soft:#eaf3f8;--ct-text:#17212b;--ct-muted:#5f6f7d;--ct-line:#dce5eb;--ct-soft:#f5f8fa;--ct-white:#fff;color:var(--ct-text);font-size:16px;line-height:1.65;background:#fff}
.ct-home *{box-sizing:border-box}
.ct-home-shell{width:min(1240px,calc(100% - 48px));margin:0 auto}
.ct-home-hero{padding:74px 0 64px;background:linear-gradient(135deg,#f8fbfd 0%,#eef6fb 55%,#fff 100%);border-bottom:1px solid #e2eaf0}
.ct-home-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:48px;align-items:center}
.ct-home-hero-copy h1{max-width:800px;margin:0;color:var(--ct-primary-dark);font-size:clamp(42px,6vw,68px);line-height:1.02;font-weight:800;letter-spacing:-.035em}
.ct-home-hero-copy>p{max-width:760px;margin:24px 0 0;color:#435563;font-size:20px;line-height:1.65}
.ct-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.ct-home-actions .ct-btn{min-height:52px;padding:13px 22px}
.ct-home-hero-panel{display:grid;gap:12px;padding:28px;border:1px solid #cfe0eb;border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(18,59,89,.10)}
.ct-home-hero-panel h2{margin:0 0 6px;color:var(--ct-primary-dark);font-size:27px;line-height:1.2}
.ct-home-hero-panel a{display:grid;gap:4px;padding:16px 18px;border:1px solid #dce7ee;border-radius:12px;background:#f9fbfc;color:inherit;text-decoration:none!important;transition:.18s ease}
.ct-home-hero-panel a:hover{border-color:#98bfd5;background:#f1f7fb;transform:translateY(-1px)}
.ct-home-hero-panel strong{color:var(--ct-primary-dark);font-size:18px}
.ct-home-hero-panel span{color:#5b6b78;font-size:16px;line-height:1.5}
.ct-home-stats{padding:26px 0;border-bottom:1px solid #e5edf2;background:#fff}
.ct-home-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ct-home-stat-grid>div{padding:16px 18px;text-align:center}
.ct-home-stat-grid strong{display:block;color:var(--ct-primary-dark);font-size:30px;line-height:1.1;font-weight:800}
.ct-home-stat-grid span{display:block;margin-top:6px;color:#657681;font-size:16px}
.ct-home-section{padding:64px 0}
.ct-home-section-soft{background:#f7fafc;border-top:1px solid #e8eef2;border-bottom:1px solid #e8eef2}
.ct-home-section-head{margin:0 0 28px}
.ct-home-section-head h2{margin:0;color:var(--ct-primary-dark);font-size:clamp(30px,4vw,40px);line-height:1.15;font-weight:780;letter-spacing:-.02em}
.ct-home-section-head-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.ct-home-section-head-row>a{color:var(--ct-primary);font-size:16px;font-weight:750;text-decoration:none}
.ct-home-section-head-row>a:hover{color:var(--ct-primary-dark);text-decoration:underline}
.ct-home-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ct-home-service{display:flex;flex-direction:column;min-height:245px;padding:26px;border:1px solid var(--ct-line);border-radius:16px;background:#fff;color:inherit;text-decoration:none!important;box-shadow:0 10px 28px rgba(18,59,89,.05);transition:.18s ease}
.ct-home-service:hover{border-color:#9ebfd2;transform:translateY(-2px);box-shadow:0 14px 36px rgba(18,59,89,.09)}
.ct-home-service h3{margin:0 0 14px;color:var(--ct-primary-dark);font-size:24px;line-height:1.25}
.ct-home-service p{margin:0;color:#536572;font-size:16px;line-height:1.65}
.ct-home-service span{margin-top:auto;padding-top:22px;color:var(--ct-primary);font-size:16px;font-weight:750}
.ct-home .ct-projects,.ct-home .ct-copywriters{margin:0}
.ct-home .ct-results-count{display:none}
.ct-home .ct-core-grid{gap:20px}
.ct-home .ct-ready-grid,.ct-home .ct-event-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ct-home-final{padding-top:24px}
.ct-home-final-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:34px 38px;border-radius:18px;background:var(--ct-primary-dark);color:#fff}
.ct-home-final-inner h2{margin:0;color:#fff;font-size:34px;line-height:1.2}
.ct-home-final-inner p{max-width:760px;margin:10px 0 0;color:rgba(255,255,255,.82);font-size:17px;line-height:1.6}
.ct-home-final-inner .ct-btn{background:#fff!important;border-color:#fff!important;color:var(--ct-primary-dark)!important;flex:0 0 auto}
.ct-home-final-inner .ct-btn:hover{background:#eef5f9!important;border-color:#eef5f9!important;color:var(--ct-primary-dark)!important}
@media(max-width:1024px){.ct-home-hero-grid{grid-template-columns:1fr}.ct-home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-home .ct-ready-grid,.ct-home .ct-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ct-home-shell{width:min(100% - 28px,1240px)}.ct-home-hero{padding:48px 0 42px}.ct-home-hero-copy h1{font-size:clamp(38px,12vw,52px)}.ct-home-hero-copy>p{font-size:18px}.ct-home-actions{flex-direction:column}.ct-home-actions .ct-btn{width:100%}.ct-home-hero-panel{padding:20px}.ct-home-stat-grid,.ct-home-service-grid,.ct-home .ct-ready-grid,.ct-home .ct-event-grid{grid-template-columns:1fr}.ct-home-section{padding:46px 0}.ct-home-section-head-row{align-items:flex-start;flex-direction:column;gap:10px}.ct-home-final-inner{align-items:stretch;flex-direction:column;padding:26px}.ct-home-final-inner .ct-btn{width:100%}}

/* =========================================================
   CopyTrh Core 0.6.39 – čistý header + nové karty copywriterů
   ========================================================= */

/* Používáme vlastní globální CopyTrh header. Starý Hello / Elementor header
   se nesmí zobrazovat pod ním. */
body.copytrh-core-active header#site-header:not(.ct-site-header),
body.copytrh-core-active .site-header:not(.ct-site-header),
body.copytrh-core-active .elementor-location-header,
body.copytrh-core-active [data-elementor-type="header"] {
    display: none !important;
}

/* Defaultní page title z Hello není potřeba – systémové stránky mají vlastní H1. */
body.copytrh-core-active .page-header,
body.copytrh-core-active main .entry-header:has(> .entry-title),
body.copytrh-core-active .site-main > header.page-header {
    display: none !important;
}

/* Copywriteři – místo úzkých čtyř sloupců používáme kompaktní 2sloupcové karty. */
.ct-copywriters .ct-core-grid,
.ct-home .ct-copywriters .ct-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
}

.ct-profile-card-modern {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 165px;
    gap: 20px;
    align-items: start;
    min-height: 250px;
    padding: 24px !important;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(18,59,89,.06);
}
.ct-profile-card-modern:hover {
    border-color: #aac6d8;
    box-shadow: 0 12px 30px rgba(18,59,89,.10);
}
.ct-profile-card-modern .ct-profile-card-avatar {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    overflow: hidden;
    background: #f1f5f7;
}
.ct-profile-card-modern .ct-profile-card-avatar img {
    display: block;
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover;
}
.ct-profile-card-content {
    min-width: 0;
}
.ct-profile-card-content .ct-profile-inline-badges {
    margin: 0 0 6px;
}
.ct-profile-card-content .ct-card-title {
    margin: 0 0 5px;
    font-size: 22px;
    line-height: 1.22;
}
.ct-profile-card-content .ct-professional-title {
    margin: 0 0 7px;
    color: #5f7180;
    font-size: 16px;
    line-height: 1.45;
}
.ct-profile-card-content .ct-profile-state {
    margin: 0 0 12px;
}
.ct-profile-card-content .ct-card-excerpt {
    display: -webkit-box;
    margin: 0 0 13px;
    overflow: hidden;
    color: #3f5361;
    font-size: 16px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.ct-profile-card-content .ct-skills {
    margin: 0;
    gap: 6px;
}
.ct-profile-card-content .ct-skills span {
    padding: 6px 9px;
    font-size: 15px;
}
.ct-profile-card-aside {
    display: grid;
    gap: 10px;
    align-content: start;
    padding-left: 18px;
    border-left: 1px solid #e1e8ed;
}
.ct-profile-card-metric {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf1f4;
}
.ct-profile-card-metric strong,
.ct-profile-card-metric span {
    display: block;
}
.ct-profile-card-metric strong {
    color: #123b59;
    font-size: 18px;
    line-height: 1.25;
}
.ct-profile-card-metric span {
    margin-top: 2px;
    color: #6a7c89;
    font-size: 15px;
    line-height: 1.35;
}
.ct-profile-card-aside .ct-btn-full {
    margin-top: 4px;
    width: 100%;
}

@media (max-width: 1120px) {
    .ct-copywriters .ct-core-grid,
    .ct-home .ct-copywriters .ct-core-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 700px) {
    .ct-profile-card-modern {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 20px !important;
    }
    .ct-profile-card-modern .ct-profile-card-avatar,
    .ct-profile-card-modern .ct-profile-card-avatar img {
        width: 76px !important;
        height: 76px !important;
    }
    .ct-profile-card-aside {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 12px;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #e1e8ed;
    }
    .ct-profile-card-aside .ct-btn-full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .ct-profile-card-modern {
        grid-template-columns: 1fr;
    }
    .ct-profile-card-modern .ct-profile-card-avatar {
        margin: 0 auto;
    }
    .ct-profile-card-content {
        text-align: center;
    }
    .ct-profile-card-content .ct-profile-state,
    .ct-profile-card-content .ct-skills,
    .ct-profile-card-content .ct-profile-inline-badges {
        justify-content: center;
    }
    .ct-profile-card-aside {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =========================================================
   CopyTrh Core 0.6.40 – jednotné marketplace karty copywriterů
   Varianta 2: kompaktní 3sloupcová karta s fixní strukturou
   ========================================================= */

.ct-copywriters .ct-core-grid,
.ct-home .ct-copywriters .ct-core-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}

.ct-profile-card-marketplace,
.ct-pro-catalog .ct-profile-card-marketplace {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 24px !important;
    border: 1px solid #d8e4eb !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(18,59,89,.055) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ct-profile-card-marketplace:hover {
    transform: translateY(-2px);
    border-color: #b7cfdd !important;
    box-shadow: 0 13px 30px rgba(18,59,89,.09) !important;
}
.ct-profile-card-marketplace.is-pro {
    border-color: #c8dceb !important;
}

.ct-profile-card-head {
    display: grid;
    grid-template-columns: 104px minmax(0,1fr);
    gap: 18px;
    align-items: center;
    min-width: 0;
}
.ct-profile-card-marketplace .ct-profile-card-avatar,
.ct-profile-card-marketplace .ct-profile-card-avatar img {
    width: 104px !important;
    height: 104px !important;
    border-radius: 50% !important;
}
.ct-profile-card-marketplace .ct-profile-card-avatar {
    display: block;
    overflow: hidden;
    background: #eef3f6;
}
.ct-profile-card-marketplace .ct-profile-card-avatar img {
    display: block;
    object-fit: cover;
}
.ct-profile-card-identity { min-width: 0; }
.ct-profile-card-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 31px;
    margin-bottom: 7px;
}
.ct-profile-card-marketplace .ct-profile-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f6f8;
    color: #657683;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}
.ct-profile-card-marketplace .ct-profile-state::before {
    content: '';
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #a6b1b8;
}
.ct-profile-card-marketplace .ct-profile-state.is-online {
    background: #eaf7f0;
    color: #24704c;
}
.ct-profile-card-marketplace .ct-profile-state.is-online::before { background: #20a064; }
.ct-profile-card-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 10px;
    border: 1px solid #f0dba3;
    border-radius: 999px;
    background: #fff7de;
    color: #9a6810;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}
.ct-profile-card-marketplace .ct-card-title {
    margin: 0 0 5px !important;
    color: #123b59;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800;
}
.ct-profile-card-marketplace .ct-card-title a { color: inherit !important; text-decoration: none !important; }
.ct-profile-card-marketplace .ct-professional-title {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 !important;
    overflow: hidden;
    color: #60717f !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ct-profile-card-marketplace .ct-card-excerpt {
    display: -webkit-box;
    min-height: 98px;
    margin: 22px 0 20px !important;
    overflow: hidden;
    color: #465a68 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.ct-profile-card-stats-marketplace {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-top: auto;
    padding: 18px 0;
    border-top: 1px solid #e2e9ee;
    border-bottom: 1px solid #e2e9ee;
}
.ct-profile-card-stats-marketplace > div {
    min-width: 0;
    padding: 0 12px;
    text-align: center;
    border-right: 1px solid #e2e9ee;
}
.ct-profile-card-stats-marketplace > div:first-child { padding-left: 0; }
.ct-profile-card-stats-marketplace > div:last-child { padding-right: 0; border-right: 0; }
.ct-profile-card-stats-marketplace .ct-stat-icon,
.ct-profile-card-stats-marketplace strong,
.ct-profile-card-stats-marketplace span { display: block; }
.ct-profile-card-stats-marketplace .ct-stat-icon {
    margin-bottom: 3px;
    color: #2d83d2;
    font-size: 20px;
    line-height: 1;
}
.ct-profile-card-stats-marketplace strong {
    color: #123b59;
    font-size: 20px;
    line-height: 1.25;
}
.ct-profile-card-stats-marketplace span:last-child {
    min-height: 42px;
    margin-top: 4px;
    color: #71818d;
    font-size: 15px;
    line-height: 1.35;
}
.ct-profile-card-bottom {
    display: grid;
    gap: 14px;
    padding-top: 16px;
}
.ct-profile-card-marketplace .ct-skills {
    display: flex;
    min-height: 35px;
    gap: 7px;
    margin: 0;
    flex-wrap: wrap;
}
.ct-profile-card-marketplace .ct-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f1f6fa;
    color: #465f70;
    font-size: 15px;
    line-height: 1.2;
}
.ct-profile-card-marketplace .ct-btn-full {
    width: 100%;
    min-height: 50px;
    margin: 0;
    font-size: 16px;
}
.ct-profile-card-marketplace .ct-pro-catalog-contacts {
    display: grid;
    gap: 7px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #f7fafc;
    font-size: 15px;
}

/* PRO katalog drží stejnou vizuální rodinu, ale kontakty zůstávají viditelné. */
.ct-pro-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}

@media (max-width: 1120px) {
    .ct-copywriters .ct-core-grid,
    .ct-home .ct-copywriters .ct-core-grid,
    .ct-pro-catalog-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 760px) {
    .ct-copywriters .ct-core-grid,
    .ct-home .ct-copywriters .ct-core-grid,
    .ct-pro-catalog-grid {
        grid-template-columns: 1fr !important;
    }
    .ct-profile-card-head {
        grid-template-columns: 86px minmax(0,1fr);
        gap: 14px;
    }
    .ct-profile-card-marketplace .ct-profile-card-avatar,
    .ct-profile-card-marketplace .ct-profile-card-avatar img {
        width: 86px !important;
        height: 86px !important;
    }
    .ct-profile-card-marketplace .ct-card-excerpt { min-height: 0; }
}
@media (max-width: 480px) {
    .ct-profile-card-marketplace { padding: 20px !important; }
    .ct-profile-card-head { grid-template-columns: 1fr; }
    .ct-profile-card-marketplace .ct-profile-card-avatar { margin: 0 auto; }
    .ct-profile-card-identity { text-align: center; }
    .ct-profile-card-status-row { justify-content: center; flex-wrap: wrap; }
    .ct-profile-card-stats-marketplace { grid-template-columns: 1fr; padding: 8px 0; }
    .ct-profile-card-stats-marketplace > div {
        display: grid;
        grid-template-columns: 28px 72px minmax(0,1fr);
        align-items: center;
        gap: 8px;
        min-height: 46px;
        padding: 8px 0 !important;
        text-align: left;
        border-right: 0;
        border-bottom: 1px solid #e2e9ee;
    }
    .ct-profile-card-stats-marketplace > div:last-child { border-bottom: 0; }
    .ct-profile-card-stats-marketplace .ct-stat-icon { margin: 0; text-align: center; }
    .ct-profile-card-stats-marketplace span:last-child { min-height: 0; margin: 0; }
    .ct-profile-card-marketplace .ct-skills { justify-content: center; }
}

/* =========================================================
   CopyTrh Core 0.6.45 – živější homepage marketplace
   ========================================================= */
.ct-home-hero-v2{padding:58px 0 46px;background:
    radial-gradient(circle at 12% 18%,rgba(89,168,213,.15),transparent 30%),
    linear-gradient(135deg,#f8fbfd 0%,#eef6fb 58%,#fff 100%)}
.ct-home-hero-grid-v2{grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);gap:42px}
.ct-home-hero-v2 .ct-home-hero-copy h1{font-size:clamp(44px,5.5vw,66px);max-width:760px}
.ct-home-trustline{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:24px;color:#45606f;font-size:15px;font-weight:650}
.ct-home-trustline span{position:relative;padding-left:17px}
.ct-home-trustline span:before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:#2d9366}
.ct-home-visual{position:relative;min-width:0}
.ct-home-visual>img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}
.ct-home-visual-card{position:absolute;right:26px;bottom:20px;display:grid;gap:3px;width:min(310px,70%);padding:16px 18px;border:1px solid rgba(24,91,140,.18);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 16px 38px rgba(18,59,89,.13);backdrop-filter:blur(8px)}
.ct-home-visual-card strong{color:#123b59;font-size:17px;line-height:1.3}
.ct-home-visual-card span{color:#5d707d;font-size:15px;line-height:1.45}
.ct-home-stats-v2{background:#fff}
.ct-home-stats-v2 .ct-home-stat-grid{gap:0;border:1px solid #dce8ef;border-radius:18px;overflow:hidden;box-shadow:0 10px 34px rgba(18,59,89,.05)}
.ct-home-stats-v2 .ct-home-stat-grid>div{position:relative;padding:20px 18px;background:#fff}
.ct-home-stats-v2 .ct-home-stat-grid>div+div:before{content:"";position:absolute;left:0;top:20%;bottom:20%;width:1px;background:#e3ebf0}
.ct-home-live{background:#fff}
.ct-home-live-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(310px,.75fr);gap:28px;align-items:start}
.ct-home-subhead{margin-bottom:18px}
.ct-home-subhead h2{font-size:28px}
.ct-home-side{display:grid;gap:18px;position:sticky;top:96px}
.ct-home-side-card{padding:24px;border:1px solid #d9e6ed;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(18,59,89,.06)}
.ct-home-side-card h3{margin:0 0 10px;color:#123b59;font-size:24px;line-height:1.2}
.ct-home-side-card p{margin:0 0 18px;color:#546975;font-size:16px;line-height:1.6}
.ct-home-side-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:16px;border-radius:14px;background:#eaf3f8;color:#185b8c;font-size:23px;font-weight:800}
.ct-home-side-texts{background:linear-gradient(160deg,#fffaf1 0%,#fff 70%);border-color:#eadbc3}
.ct-home-featured-title{display:block;margin:8px 0;color:#17212b;font-size:18px;line-height:1.35}
.ct-home-side-price{margin:0 0 16px;color:#185b8c;font-size:28px;font-weight:800}
.ct-home-side-writer{background:linear-gradient(145deg,#185b8c 0%,#123b59 100%);border-color:#185b8c;color:#fff}
.ct-home-side-writer h3,.ct-home-side-writer p{color:#fff}
.ct-home-side-writer p{color:rgba(255,255,255,.84)}
.ct-home-light-btn{background:#fff!important;border-color:#fff!important;color:#123b59!important}
.ct-home-light-btn:hover{background:#eef6fb!important;border-color:#eef6fb!important;color:#123b59!important}
.ct-home-side-event{background:#f2f8fb}
.ct-home-side-event>a{color:#185b8c;font-size:16px;font-weight:750;text-decoration:none}
.ct-home-side-event>a:hover{text-decoration:underline}
.ct-home-section-head>div>p,.ct-home-section-head-row>div>p{max-width:760px;margin:9px 0 0;color:#62737f;font-size:16px;line-height:1.55}
.ct-home-writers-section{background:linear-gradient(180deg,#f7fafc 0%,#f2f7fa 100%)}
.ct-home-ready-showcase{background:#fff}
.ct-home-join{padding-top:24px;padding-bottom:50px}
.ct-home-join-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ct-home-join-card{min-height:260px;padding:34px;border-radius:22px;border:1px solid #d8e5ed;box-shadow:0 14px 38px rgba(18,59,89,.07)}
.ct-home-join-card h2{margin:0;color:#123b59;font-size:32px;line-height:1.2}
.ct-home-join-card p{max-width:580px;margin:14px 0 24px;color:#536874;font-size:17px;line-height:1.62}
.ct-home-join-client{background:linear-gradient(145deg,#edf7fc 0%,#fff 76%)}
.ct-home-join-writer{background:linear-gradient(145deg,#185b8c 0%,#123b59 100%);border-color:#185b8c}
.ct-home-join-writer h2,.ct-home-join-writer p{color:#fff}
.ct-home-join-writer p{color:rgba(255,255,255,.84)}
.ct-home-final{padding-bottom:72px}

@media(max-width:1100px){
  .ct-home-hero-grid-v2,.ct-home-live-grid{grid-template-columns:1fr}
  .ct-home-side{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}
  .ct-home-visual{max-width:760px;margin:0 auto}
}
@media(max-width:820px){
  .ct-home-side,.ct-home-join-grid{grid-template-columns:1fr}
  .ct-home-stats-v2 .ct-home-stat-grid>div+div:before{display:none}
}
@media(max-width:760px){
  .ct-home-hero-v2{padding:38px 0 30px}
  .ct-home-hero-grid-v2{gap:26px}
  .ct-home-visual-card{position:static;width:100%;margin-top:12px}
  .ct-home-trustline{display:grid;gap:8px}
  .ct-home-side-card,.ct-home-join-card{padding:24px}
  .ct-home-join-card{min-height:0}
}


/* =========================================================
   CopyTrh Core 0.6.46 – full-width homepage + nový hero vizuál
   ========================================================= */
.ct-home{
    position:relative;
    left:50%;
    width:100vw;
    max-width:none!important;
    margin-left:-50vw!important;
    margin-right:0!important;
    overflow:hidden;
}
.ct-home-shell{
    width:min(1320px,calc(100% - 64px));
    max-width:none!important;
}
.ct-home-hero-v2{
    position:relative;
    padding:72px 0 66px;
    background:
        radial-gradient(circle at 83% 24%,rgba(89,168,213,.18),transparent 25%),
        radial-gradient(circle at 12% 8%,rgba(24,91,140,.09),transparent 28%),
        linear-gradient(135deg,#f7fbfe 0%,#edf6fb 54%,#f9fcfe 100%);
}
.ct-home-hero-v2:after{
    content:"";
    position:absolute;
    right:-150px;
    bottom:-190px;
    width:560px;
    height:560px;
    border-radius:50%;
    border:1px solid rgba(89,168,213,.16);
    pointer-events:none;
}
.ct-home-hero-grid-v2{
    grid-template-columns:minmax(0,1.05fr) minmax(500px,.95fr);
    gap:64px;
}
.ct-home-hero-v2 .ct-home-hero-copy h1{
    max-width:720px;
    font-size:clamp(48px,5.2vw,72px);
    line-height:1.01;
}
.ct-home-hero-v2 .ct-home-hero-copy>p{
    max-width:690px;
    font-size:20px;
}
.ct-home-visual{
    min-height:500px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ct-home-visual-stage{
    position:relative;
    width:min(100%,590px);
    height:430px;
    border:1px solid rgba(24,91,140,.13);
    border-radius:32px;
    background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(230,244,252,.82));
    box-shadow:0 28px 70px rgba(18,59,89,.12);
    overflow:hidden;
}
.ct-home-visual-stage:before{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    right:-90px;
    top:-80px;
    border-radius:50%;
    background:rgba(89,168,213,.15);
}
.ct-home-visual-stage:after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    left:-100px;
    bottom:-110px;
    border-radius:50%;
    background:rgba(24,91,140,.08);
}
.ct-home-browser{
    position:absolute;
    left:86px;
    top:72px;
    width:365px;
    height:235px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 20px 48px rgba(18,59,89,.16);
    overflow:hidden;
    z-index:3;
}
.ct-home-browser-bar{
    height:38px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 14px;
    border-bottom:1px solid #e4edf2;
    background:#f7fafc;
}
.ct-home-browser-bar span{
    width:8px;height:8px;border-radius:50%;background:#b9ccd8;
}
.ct-home-browser-body{padding:28px 30px;background:linear-gradient(145deg,#fff,#f8fbfd)}
.ct-home-browser-title{width:48%;height:20px;border-radius:10px;background:#185b8c;margin-bottom:24px}
.ct-home-browser-line{height:9px;width:74%;border-radius:5px;background:#c5d9e5;margin:0 0 13px}
.ct-home-browser-line-lg{width:92%}
.ct-home-browser-line-sm{width:56%}
.ct-home-browser-cta{width:112px;height:34px;border-radius:9px;background:#2b79aa;margin-top:26px}
.ct-home-paper{
    position:absolute;
    left:30px;
    top:40px;
    width:145px;
    min-height:185px;
    padding:24px 20px;
    border-radius:17px;
    background:#fff;
    box-shadow:0 18px 42px rgba(18,59,89,.14);
    transform:rotate(-7deg);
    z-index:4;
}
.ct-home-paper-mark{display:block!important;color:#185b8c!important;font-size:27px!important;font-weight:800;margin-bottom:20px!important}
.ct-home-paper>span:not(.ct-home-paper-mark){display:block;width:100%;height:8px;margin:0 0 11px;border-radius:4px;background:#d3e3ec}
.ct-home-paper>span.short{width:62%}
.ct-home-writer-chip{
    position:absolute;
    left:56px;
    bottom:34px;
    display:flex;
    align-items:center;
    gap:12px;
    width:250px;
    padding:14px 16px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 40px rgba(18,59,89,.14);
    z-index:5;
}
.ct-home-writer-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;border-radius:50%;background:#eaf4fa;color:#185b8c;font-size:20px;font-weight:800}
.ct-home-writer-chip strong,.ct-home-text-chip strong{display:block;color:#123b59;font-size:15px;line-height:1.3}
.ct-home-writer-chip span,.ct-home-text-chip span{display:block;margin-top:3px;color:#667987;font-size:13px;line-height:1.3}
.ct-home-writer-chip span:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#2d9366}
.ct-home-text-chip{
    position:absolute;
    right:26px;
    bottom:90px;
    width:210px;
    padding:15px 17px;
    border:1px solid #d9e8f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 40px rgba(18,59,89,.12);
    z-index:5;
}
.ct-home-text-chip:before{content:"✓";display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin-bottom:8px;border-radius:50%;background:#e9f6ef;color:#278c61;font-weight:800}
.ct-home-pen{
    position:absolute;
    right:58px;
    top:60px;
    width:18px;
    height:125px;
    border-radius:10px;
    background:linear-gradient(180deg,#2b79aa,#123b59);
    transform:rotate(18deg);
    z-index:4;
}
.ct-home-pen:after{content:"";position:absolute;left:0;bottom:-20px;border-left:9px solid transparent;border-right:9px solid transparent;border-top:24px solid #e8b84d}
.ct-home-visual-card{
    right:18px;
    bottom:20px;
    width:min(300px,62%);
    z-index:7;
}
@media(max-width:1180px){
    .ct-home-shell{width:min(100% - 48px,1180px)}
    .ct-home-hero-grid-v2{grid-template-columns:1fr;gap:38px}
    .ct-home-visual{min-height:0;max-width:720px;margin:0 auto;width:100%}
}
@media(max-width:760px){
    .ct-home-shell{width:min(100% - 28px,1320px)}
    .ct-home-hero-v2{padding:42px 0 34px}
    .ct-home-hero-v2 .ct-home-hero-copy h1{font-size:clamp(40px,12vw,54px)}
    .ct-home-visual-stage{height:360px;border-radius:22px}
    .ct-home-browser{left:17%;top:72px;width:68%;height:205px}
    .ct-home-paper{left:12px;top:34px;width:120px;min-height:160px;padding:20px 16px}
    .ct-home-writer-chip{left:18px;bottom:26px;width:220px}
    .ct-home-text-chip{right:14px;bottom:74px;width:180px}
    .ct-home-pen{right:34px;top:42px}
    .ct-home-visual-card{position:static;width:100%;margin-top:12px}
}

/* =========================================================
   CopyTrh Core 0.6.49 – homepage: Texty na prodej + Akce vedle sebe
   ========================================================= */
.ct-home-market-duo{
    padding-top:42px;
    padding-bottom:54px;
    background:linear-gradient(180deg,#f7fafc 0%,#fff 100%);
}
.ct-home-market-duo-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px;
    align-items:stretch;
}
.ct-home-market-panel{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:28px;
    border:1px solid #d8e5ed;
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 36px rgba(18,59,89,.065);
}
.ct-home-market-texts{
    background:linear-gradient(155deg,#fffaf3 0%,#fff 42%);
    border-color:#eadbc4;
}
.ct-home-market-events{
    background:linear-gradient(155deg,#eef8fd 0%,#fff 44%);
}
.ct-home-market-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    margin-bottom:18px;
}
.ct-home-market-panel-head h3{
    margin:0;
    color:#123b59;
    font-size:29px;
    line-height:1.18;
}
.ct-home-market-panel-head p{
    margin:8px 0 0;
    color:#60727e;
    font-size:16px;
    line-height:1.5;
}
.ct-home-market-panel-head>a{
    flex:0 0 auto;
    margin-top:4px;
    color:#185b8c!important;
    font-size:15px;
    font-weight:750;
    text-decoration:none!important;
}
.ct-home-market-panel-head>a:hover{text-decoration:underline!important}
.ct-home-market-list{
    display:grid;
    gap:0;
    border-top:1px solid #e2eaf0;
}
.ct-home-market-item{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    min-height:122px;
    padding:18px 0;
    border-bottom:1px solid #e2eaf0;
}
.ct-home-event-item{
    grid-template-columns:62px minmax(0,1fr) auto;
}
.ct-home-market-item-main{min-width:0}
.ct-home-market-badges{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:8px;
}
.ct-home-market-badges span{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:4px 9px;
    border-radius:999px;
    background:#eef5f9;
    color:#45606f;
    font-size:14px;
    line-height:1.25;
    font-weight:650;
}
.ct-home-market-texts .ct-home-market-badges span:first-child{
    background:#fff2d9;
    color:#805c18;
}
.ct-home-market-item h4{
    margin:0 0 7px;
    font-size:19px;
    line-height:1.3;
}
.ct-home-market-item h4 a{
    color:#173f5c!important;
    text-decoration:none!important;
}
.ct-home-market-item h4 a:hover{color:#185b8c!important}
.ct-home-market-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 14px;
    color:#657681;
    font-size:15px;
    line-height:1.4;
}
.ct-home-market-meta span+span{position:relative;padding-left:13px}
.ct-home-market-meta span+span:before{
    content:"";
    position:absolute;
    left:0;
    top:.58em;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#a3b7c3;
}
.ct-home-market-price{
    display:grid;
    justify-items:end;
    gap:8px;
    min-width:118px;
    text-align:right;
}
.ct-home-market-price strong{
    color:#123b59;
    font-size:20px;
    line-height:1.2;
}
.ct-home-market-price a{
    color:#185b8c!important;
    font-size:15px;
    font-weight:750;
    text-decoration:none!important;
}
.ct-home-market-price a:hover{text-decoration:underline!important}
.ct-home-event-date{
    display:grid;
    place-items:center;
    align-content:center;
    width:58px;
    height:66px;
    border-radius:14px;
    background:#185b8c;
    color:#fff;
}
.ct-home-event-date strong{
    font-size:23px;
    line-height:1;
}
.ct-home-event-date span{
    margin-top:5px;
    font-size:14px;
    line-height:1;
    opacity:.88;
}
.ct-home-market-empty{
    padding:24px 0;
    color:#62737f;
    font-size:16px;
    line-height:1.55;
}
.ct-home-market-all{
    align-self:flex-start;
    margin-top:22px;
}

@media(max-width:980px){
    .ct-home-market-duo-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
    .ct-home-market-panel{padding:22px}
    .ct-home-market-panel-head{display:grid;gap:10px}
    .ct-home-market-item,.ct-home-event-item{grid-template-columns:1fr;gap:12px;align-items:start}
    .ct-home-event-date{width:54px;height:58px}
    .ct-home-market-price{justify-items:start;text-align:left;min-width:0}
    .ct-home-market-meta span+span{padding-left:0}
    .ct-home-market-meta span+span:before{display:none}
}

/* CopyTrh – pozvánky k poptávkám */
.ct-collaboration-card { display:grid; gap:16px; }
.ct-collaboration-card > p { margin:0; }
.ct-invites-section { margin-bottom:24px; }
.ct-invite-list { display:grid; gap:14px; }
.ct-invite-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; padding:20px; border:1px solid #cdddea; border-radius:14px; background:#fff; }
.ct-invite-card h3 { margin:9px 0 8px; font-size:20px; line-height:1.3; color:#123b59; }
.ct-invite-card p { margin:0 0 12px; font-size:16px; line-height:1.55; }
.ct-invite-actions { min-width:210px; }
.ct-invite-actions form { display:grid; gap:10px; }
@media (max-width:800px){ .ct-invite-card{grid-template-columns:1fr}.ct-invite-actions{min-width:0}.ct-profile-sidebar-modern .ct-collaboration-card{width:100%} }

/* =========================================================
   CopyTrh Core 0.6.51 – reálný hero vizuál + čistší marketplace bloky
   ========================================================= */
.ct-home-hero-grid-v2{
    grid-template-columns:minmax(0,.92fr) minmax(560px,1.08fr);
    gap:54px;
    align-items:center;
}
.ct-home-visual-photo{
    min-height:0;
    display:block;
}
.ct-home-photo-frame{
    position:relative;
    margin:0;
    overflow:hidden;
    border:1px solid rgba(24,91,140,.14);
    border-radius:28px;
    background:#fff;
    box-shadow:0 28px 68px rgba(18,59,89,.14);
}
.ct-home-photo-frame:after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(237,246,251,.20) 0%,rgba(255,255,255,0) 28%);
}
.ct-home-photo-frame img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1600/686;
    object-fit:cover;
    object-position:center;
}
.ct-home-market-panel-head{
    justify-content:flex-start;
}
.ct-home-market-panel-head>div{
    width:100%;
}
.ct-home-market-panel-head>a{
    display:none!important;
}
@media(max-width:1180px){
    .ct-home-hero-grid-v2{grid-template-columns:1fr;gap:34px}
    .ct-home-visual-photo{max-width:900px;margin:0 auto;width:100%}
}
@media(max-width:760px){
    .ct-home-photo-frame{border-radius:20px}
    .ct-home-photo-frame img{aspect-ratio:16/10;object-position:center}
}

/* =========================================================
   CopyTrh 0.6.52 – oblíbení copywriteři + cílené hlídání
   ========================================================= */
.ct-profile-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.ct-profile-card-actions .ct-btn-full{width:100%}
.ct-favorite-form{margin:0!important;display:block}
.ct-favorite-form.is-compact{min-width:104px}
.ct-favorite-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important;padding:11px 14px!important;white-space:nowrap!important}
.ct-favorite-btn svg{width:19px;height:19px;flex:0 0 19px}
.ct-favorite-btn.is-favorite{background:#eaf3f8!important;border-color:#9dbfd3!important;color:#123b59!important}
.ct-profile-hero-actions .ct-favorite-form{width:100%}
.ct-profile-hero-actions .ct-favorite-btn{width:100%}
.ct-favorites-grid{align-items:stretch}
.ct-watch-form{max-width:none!important}
.ct-watch-master{display:flex;align-items:flex-start;gap:12px;padding:17px 18px;margin:0 0 20px;border:1px solid #bfd6e6;border-radius:12px;background:#eef6fb;font-size:16px;line-height:1.5}
.ct-watch-master input{margin-top:5px;flex:0 0 auto}
.ct-watch-master span{display:grid;gap:3px}
.ct-watch-master strong{font-size:17px;color:#123b59}
.ct-watch-master small{font-size:15px;color:#526978}
.ct-watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.ct-watch-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px;border:1px solid #d9e4eb;border-radius:10px;background:#fff}
.ct-watch-checks label{display:flex;align-items:flex-start;gap:8px;font-size:15px;line-height:1.4;color:#273c4a}
.ct-watch-checks input{margin-top:3px}
.ct-account-watch select[multiple]{min-height:52px;font-size:15px}
.ct-account-watch .ct-check-option{margin:4px 0 18px}
@media(max-width:900px){.ct-watch-grid{grid-template-columns:1fr}.ct-profile-card-actions{grid-template-columns:1fr}.ct-favorite-form.is-compact{min-width:0}.ct-favorite-btn{width:100%}}
@media(max-width:560px){.ct-watch-checks{grid-template-columns:1fr}}


/* =========================================================
   CopyTrh Core 0.6.53 – hero sekce podle schváleného návrhu
   ========================================================= */
.ct-home-shell{
    width:min(1360px,calc(100% - 64px));
}
.ct-home-hero-v3{
    position:relative;
    padding:0 0 32px;
    background:linear-gradient(180deg,#ffffff 0%,#eef6fb 100%);
    overflow:hidden;
}
.ct-home-hero-v3:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(255,255,255,.86) 0%,rgba(255,255,255,.42) 36%,rgba(255,255,255,0) 60%);
    pointer-events:none;
}
.ct-home-hero-grid-v3{
    position:relative;
    grid-template-columns:minmax(0,.9fr) minmax(620px,1.1fr);
    gap:34px;
    align-items:center;
    min-height:610px;
}
.ct-home-hero-v3 .ct-home-hero-copy{
    position:relative;
    z-index:3;
    padding:42px 0 28px;
}
.ct-home-kicker{
    margin:0 0 14px;
    color:#5b7390;
    font-size:14px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.14em;
}
.ct-home-hero-v3 .ct-home-hero-copy h1{
    max-width:640px;
    margin:0;
    color:#123b59;
    font-size:clamp(54px,5.5vw,82px);
    line-height:.94;
    font-weight:800;
    letter-spacing:-.04em;
}
.ct-home-hero-v3 .ct-home-hero-copy>p{
    max-width:560px;
    margin:22px 0 0;
    color:#425665;
    font-size:18px;
    line-height:1.52;
}
.ct-home-hero-v3 .ct-home-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:22px;
}
.ct-home-hero-v3 .ct-home-primary,
.ct-home-hero-v3 .ct-btn-secondary{
    min-width:214px;
    min-height:54px;
    padding:14px 24px;
    border-radius:12px;
    font-size:18px;
    font-weight:750;
}
.ct-home-benefits{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin-top:28px;
    max-width:860px;
}
.ct-home-benefit{
    display:flex;
    align-items:flex-start;
    gap:12px;
}
.ct-home-benefit-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    border-radius:50%;
    background:linear-gradient(180deg,#d9e9ff 0%,#cde4ff 100%);
    color:#2c6fad;
    font-size:20px;
    box-shadow:inset 0 0 0 1px rgba(44,111,173,.08);
}
.ct-home-benefit strong{
    display:block;
    margin:2px 0 4px;
    color:#153f5d;
    font-size:18px;
    line-height:1.25;
}
.ct-home-benefit span{
    display:block;
    color:#667884;
    font-size:15px;
    line-height:1.35;
}
.ct-home-visual-photo-v3{
    position:relative;
    z-index:2;
    display:flex;
    align-items:stretch;
    justify-content:flex-end;
    min-height:610px;
}
.ct-home-hero-photo-wrap{
    position:relative;
    width:100%;
    height:100%;
    min-height:610px;
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
}
.ct-home-hero-photo-wrap img{
    position:absolute;
    right:-56px;
    top:0;
    width:min(930px,100% + 56px);
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:0 0 0 24px;
}
.ct-home-handwritten{
    position:absolute;
    right:18px;
    top:26px;
    color:#476684;
    font-size:28px;
    line-height:1.12;
    font-weight:500;
    text-align:left;
    letter-spacing:.01em;
    font-family:"Brush Script MT","Segoe Script","Comic Sans MS",cursive;
    transform:rotate(-4deg);
    z-index:3;
}
.ct-home-handwritten:after{
    content:"";
    display:block;
    width:116px;
    height:3px;
    margin-top:8px;
    border-radius:999px;
    background:#5d81a4;
    transform:rotate(4deg);
}
.ct-home-hero-socialproof{
    position:absolute;
    right:26px;
    bottom:36px;
    display:flex;
    align-items:center;
    gap:14px;
    min-width:220px;
    padding:16px 18px;
    border-radius:18px;
    background:rgba(255,255,255,.96);
    box-shadow:0 18px 42px rgba(18,59,89,.14);
    z-index:4;
}
.ct-home-hero-socialproof-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 48px;
    width:48px;
    height:48px;
    border-radius:14px;
    background:#edf5fb;
    color:#2d6ea6;
    font-size:24px;
}
.ct-home-hero-socialproof span,
.ct-home-hero-socialproof small{
    display:block;
    color:#667884;
    font-size:14px;
    line-height:1.25;
}
.ct-home-hero-socialproof strong{
    display:block;
    margin:3px 0;
    color:#123b59;
    font-size:28px;
    line-height:1;
    font-weight:800;
}
@media(max-width:1200px){
    .ct-home-shell{width:min(100% - 48px,1360px)}
    .ct-home-hero-grid-v3{grid-template-columns:1fr;gap:28px;min-height:0}
    .ct-home-hero-v3 .ct-home-hero-copy{padding:34px 0 0}
    .ct-home-visual-photo-v3,.ct-home-hero-photo-wrap{min-height:460px}
    .ct-home-hero-photo-wrap img{position:relative;right:0;width:100%;height:460px;border-radius:26px}
    .ct-home-handwritten{right:24px;top:18px}
}
@media(max-width:860px){
    .ct-home-hero-v3{padding:0 0 24px}
    .ct-home-hero-v3 .ct-home-hero-copy h1{font-size:clamp(42px,12vw,60px)}
    .ct-home-benefits{grid-template-columns:1fr;gap:14px}
    .ct-home-hero-v3 .ct-home-primary,.ct-home-hero-v3 .ct-btn-secondary{min-width:0;width:auto}
    .ct-home-visual-photo-v3,.ct-home-hero-photo-wrap{min-height:0}
    .ct-home-hero-photo-wrap img{height:auto;aspect-ratio:16/10}
    .ct-home-handwritten{font-size:22px}
    .ct-home-hero-socialproof{right:18px;bottom:18px;padding:14px 16px;min-width:200px}
    .ct-home-hero-socialproof strong{font-size:24px}
}
@media(max-width:640px){
    .ct-home-shell{width:min(100% - 28px,1360px)}
    .ct-home-hero-v3 .ct-home-actions{display:grid;grid-template-columns:1fr;gap:12px}
    .ct-home-hero-v3 .ct-home-primary,.ct-home-hero-v3 .ct-btn-secondary{width:100%}
    .ct-home-kicker{font-size:12px;letter-spacing:.12em}
    .ct-home-hero-photo-wrap img{border-radius:20px}
    .ct-home-handwritten{display:none}
    .ct-home-hero-socialproof{position:absolute;left:16px;right:16px;bottom:16px;min-width:0;justify-content:flex-start}
}


/* =========================================================
   CopyTrh Core 0.6.54 – HERO 1:1 podle schváleného návrhu
   pouze vizuální korekce hero sekce
   ========================================================= */
.ct-home-hero-v3{
    position:relative;
    min-height:545px;
    padding:0;
    overflow:hidden;
    background:linear-gradient(90deg,#f7fbfe 0%,#f5fafe 38%,#eef6fb 100%);
}
.ct-home-hero-v3:before,
.ct-home-hero-v3:after{
    display:none!important;
}
.ct-home-hero-v3 .ct-home-shell{
    position:relative;
    width:min(1420px,calc(100% - 48px));
    min-height:545px;
}
.ct-home-hero-grid-v3{
    position:relative;
    display:block;
    min-height:545px;
}
.ct-home-hero-v3 .ct-home-hero-copy{
    position:relative;
    z-index:5;
    width:min(610px,45%);
    padding:34px 0 24px;
}
.ct-home-kicker{
    margin-bottom:13px;
}
.ct-home-hero-v3 .ct-home-hero-copy h1{
    max-width:610px;
    font-size:clamp(48px,4.6vw,72px);
    line-height:.99;
}
.ct-home-hero-v3 .ct-home-hero-copy>p{
    max-width:520px;
    margin-top:17px;
    font-size:17px;
    line-height:1.48;
}
.ct-home-hero-v3 .ct-home-actions{
    margin-top:18px;
}
.ct-home-hero-v3 .ct-home-primary,
.ct-home-hero-v3 .ct-btn-secondary{
    min-width:190px;
    min-height:50px;
    padding:13px 21px;
    font-size:16px;
}
.ct-home-benefits{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    width:min(760px,100%);
    margin-top:24px;
}
.ct-home-benefit{
    gap:10px;
}
.ct-home-benefit-icon{
    flex-basis:42px;
    width:42px;
    height:42px;
    font-size:18px;
}
.ct-home-benefit strong{
    font-size:15px;
}
.ct-home-benefit span{
    font-size:13px;
}

/* fotografie je součást hero, ne vložený box */
.ct-home-visual-photo-v3{
    position:absolute;
    z-index:1;
    top:0;
    right:calc((min(1420px,100vw - 48px) - 100vw) / 2);
    width:min(1040px,72vw);
    height:100%;
    min-height:545px;
    display:block;
    pointer-events:none;
}
.ct-home-hero-photo-wrap{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:545px;
    overflow:hidden;
}
.ct-home-hero-photo-wrap img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center 48%;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    /* mlha / ztracení do levé části – přesně ten efekt z návrhu */
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 7%,rgba(0,0,0,.60) 17%,#000 31%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 7%,rgba(0,0,0,.60) 17%,#000 31%,#000 100%);
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
}
/* měkká bílá mlha nad přechodem – fallback i pro browser bez masky */
.ct-home-hero-photo-wrap:before{
    content:"";
    position:absolute;
    z-index:2;
    inset:0 auto 0 0;
    width:42%;
    pointer-events:none;
    background:linear-gradient(90deg,#f6fbfe 0%,rgba(246,251,254,.96) 14%,rgba(246,251,254,.70) 42%,rgba(246,251,254,.22) 72%,rgba(246,251,254,0) 100%);
}
.ct-home-hero-photo-wrap:after{
    content:"";
    position:absolute;
    z-index:2;
    left:0;
    right:0;
    bottom:0;
    height:16%;
    pointer-events:none;
    background:linear-gradient(0deg,rgba(238,246,251,.72) 0%,rgba(238,246,251,0) 100%);
}
.ct-home-handwritten{
    z-index:4;
    right:38px;
    top:24px;
    font-size:26px;
}
.ct-home-hero-socialproof{
    z-index:5;
    right:34px;
    bottom:38px;
    min-width:205px;
    padding:13px 16px;
    border-radius:14px;
}
.ct-home-hero-socialproof strong{
    font-size:25px;
}

@media(max-width:1200px){
    .ct-home-hero-v3{min-height:0;padding-bottom:30px}
    .ct-home-hero-v3 .ct-home-shell{width:min(100% - 40px,1180px);min-height:0}
    .ct-home-hero-grid-v3{display:grid;grid-template-columns:1fr;min-height:0}
    .ct-home-hero-v3 .ct-home-hero-copy{width:100%;max-width:720px;padding:34px 0 6px}
    .ct-home-visual-photo-v3{position:relative;right:auto;top:auto;width:100%;height:auto;min-height:0;margin-top:18px}
    .ct-home-hero-photo-wrap{position:relative;inset:auto;min-height:0;height:auto;border-radius:24px;overflow:hidden}
    .ct-home-hero-photo-wrap img{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/8.5;object-fit:cover;-webkit-mask-image:none;mask-image:none}
    .ct-home-hero-photo-wrap:before{display:none}
    .ct-home-hero-photo-wrap:after{height:12%}
    .ct-home-benefits{width:100%;max-width:760px}
}
@media(max-width:760px){
    .ct-home-hero-v3 .ct-home-shell{width:min(100% - 28px,760px)}
    .ct-home-hero-v3 .ct-home-hero-copy h1{font-size:clamp(40px,12vw,54px)}
    .ct-home-benefits{grid-template-columns:1fr;gap:13px}
    .ct-home-hero-photo-wrap{border-radius:18px}
    .ct-home-hero-photo-wrap img{aspect-ratio:4/3;object-position:center}
    .ct-home-handwritten{display:none}
    .ct-home-hero-socialproof{left:auto;right:14px;bottom:14px;min-width:180px}
}


/* =========================================================
   CopyTrh Core 0.6.55 – finální doladění hero podle návrhu
   ========================================================= */
.ct-home-hero-v3{
    min-height:590px;
    background:linear-gradient(90deg,#f6fbfe 0%,#f4f9fd 34%,#edf6fb 100%);
}
.ct-home-hero-v3 .ct-home-shell{
    min-height:590px;
}
.ct-home-hero-grid-v3{
    min-height:590px;
}
.ct-home-hero-v3 .ct-home-hero-copy{
    width:min(640px,46%);
    padding:30px 0 34px;
}
.ct-home-hero-v3 .ct-home-hero-copy h1{
    max-width:650px;
    font-size:clamp(50px,4.8vw,76px);
    line-height:.97;
}
.ct-home-hero-v3 .ct-home-hero-copy>p{
    max-width:540px;
    margin-top:18px;
    font-size:17px;
    line-height:1.5;
}
.ct-home-hero-v3 .ct-home-actions{
    gap:16px;
    margin-top:22px;
}
.ct-home-benefits{
    position:relative;
    z-index:6;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    width:min(830px,100%);
    margin-top:30px;
}
.ct-home-benefit{
    align-items:flex-start;
    gap:12px;
}
.ct-home-benefit-icon{
    flex:0 0 48px;
    width:48px;
    height:48px;
    border-radius:999px;
    background:linear-gradient(180deg,#d6e5ff 0%,#cfe1ff 100%);
    color:#5f8fd3;
    font-size:20px;
}
.ct-home-benefit strong{
    margin:2px 0 5px;
    color:#153f5d;
    font-size:17px;
    line-height:1.22;
}
.ct-home-benefit span{
    color:#667884;
    font-size:15px;
    line-height:1.34;
}
.ct-home-visual-photo-v3{
    top:0;
    right:calc((min(1420px,100vw - 48px) - 100vw) / 2);
    width:min(1020px,70vw);
    min-height:590px;
}
.ct-home-hero-photo-wrap{
    min-height:590px;
}
.ct-home-hero-photo-wrap img{
    object-position:center 46%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 5%,rgba(0,0,0,.34) 11%,rgba(0,0,0,.72) 20%,#000 31%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 5%,rgba(0,0,0,.34) 11%,rgba(0,0,0,.72) 20%,#000 31%,#000 100%);
}
.ct-home-hero-photo-wrap:before{
    width:52%;
    background:linear-gradient(90deg,#f6fbfe 0%,rgba(246,251,254,.98) 12%,rgba(246,251,254,.86) 28%,rgba(246,251,254,.58) 46%,rgba(246,251,254,.18) 70%,rgba(246,251,254,0) 100%);
}
.ct-home-hero-photo-wrap:after{
    left:-6%;
    right:auto;
    width:68%;
    height:32%;
    background:radial-gradient(ellipse at left bottom, rgba(246,251,254,.98) 0%, rgba(246,251,254,.90) 22%, rgba(246,251,254,.52) 48%, rgba(246,251,254,0) 76%);
}
.ct-home-handwritten{
    right:40px;
    top:30px;
    color:#557190;
    font-size:24px;
    line-height:1.22;
    font-weight:400;
    letter-spacing:0;
    font-family:"Segoe Print","Bradley Hand","Chalkboard SE","Comic Sans MS",cursive;
    transform:rotate(-3deg);
}
.ct-home-handwritten:after{
    width:124px;
    background:#6c8bab;
    transform:rotate(3deg);
}
.ct-home-hero-socialproof{
    right:34px;
    bottom:40px;
    min-width:214px;
    padding:15px 17px;
    border-radius:16px;
    box-shadow:0 18px 42px rgba(18,59,89,.16);
}
.ct-home-hero-socialproof-icon{
    width:46px;
    height:46px;
    border-radius:12px;
}
.ct-home-hero-socialproof strong{
    font-size:24px;
}
@media(max-width:1200px){
    .ct-home-hero-v3,.ct-home-hero-v3 .ct-home-shell,.ct-home-hero-grid-v3{min-height:0}
    .ct-home-hero-v3 .ct-home-hero-copy{width:100%;max-width:740px;padding:34px 0 10px}
    .ct-home-benefits{max-width:820px;gap:18px}
    .ct-home-hero-photo-wrap img{aspect-ratio:16/8.2;object-position:center}
}
@media(max-width:760px){
    .ct-home-benefits{grid-template-columns:1fr;gap:14px}
    .ct-home-benefit strong{font-size:16px}
    .ct-home-benefit span{font-size:14px}
    .ct-home-hero-socialproof{right:14px;bottom:14px}
}


/* =========================================================
   CopyTrh Core 0.6.56 – HERO postavené znovu od nuly
   ========================================================= */
.ct-home-hero-final{
    position:relative;
    width:100%;
    min-height:520px;
    overflow:hidden;
    background:#eef6fb;
}
.ct-home-hero-final-inner{
    position:relative;
    width:min(1480px,calc(100% - 40px));
    min-height:520px;
    margin:0 auto;
}
.ct-home-hero-final-copy{
    position:relative;
    z-index:8;
    width:560px;
    padding:34px 0 118px;
}
.ct-home-hero-final-kicker{
    margin:0 0 14px;
    color:#58708c;
    font-size:14px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.14em;
}
.ct-home-hero-final-copy h1{
    max-width:560px;
    margin:0;
    color:#123b59;
    font-size:clamp(50px,4.6vw,72px);
    line-height:.98;
    font-weight:800;
    letter-spacing:-.04em;
}
.ct-home-hero-final-copy p{
    max-width:520px;
    margin:20px 0 0;
    color:#425867;
    font-size:17px;
    line-height:1.5;
}
.ct-home-hero-final-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:22px;
}
.ct-home-hero-final-actions .ct-btn{
    min-width:190px;
    min-height:50px;
    padding:13px 22px;
    border-radius:11px;
    font-size:16px;
    font-weight:750;
}
.ct-home-hero-final-photo{
    position:absolute;
    z-index:1;
    top:0;
    right:-20px;
    width:72%;
    height:100%;
    overflow:hidden;
}
.ct-home-hero-final-photo img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center 47%;
}
.ct-home-hero-final-fog{
    position:absolute;
    z-index:2;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(90deg,#eef6fb 0%,rgba(238,246,251,.98) 6%,rgba(238,246,251,.84) 14%,rgba(238,246,251,.50) 23%,rgba(238,246,251,.16) 31%,rgba(238,246,251,0) 40%),
        linear-gradient(0deg,rgba(238,246,251,.88) 0%,rgba(238,246,251,.38) 8%,rgba(238,246,251,0) 18%);
}
.ct-home-hero-final-claim{
    position:absolute;
    z-index:4;
    top:28px;
    right:28px;
    max-width:220px;
    color:#4f6d8b;
    font-family:Georgia,"Times New Roman",serif;
    font-size:24px;
    line-height:1.22;
    font-style:italic;
    text-align:left;
}
.ct-home-hero-final-claim:after{
    content:"";
    display:block;
    width:118px;
    height:2px;
    margin:9px 0 0 22px;
    border-radius:999px;
    background:#6b88a7;
}
.ct-home-hero-final-proof{
    position:absolute;
    z-index:5;
    right:30px;
    bottom:30px;
    display:flex;
    align-items:center;
    gap:13px;
    min-width:210px;
    padding:14px 17px;
    border-radius:16px;
    background:rgba(255,255,255,.96);
    box-shadow:0 18px 42px rgba(18,59,89,.15);
}
.ct-home-hero-final-proof-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    border-radius:12px;
    background:#edf5fb;
    color:#185b8c;
}
.ct-home-hero-final-proof-icon svg{
    width:26px;
    height:26px;
    fill:currentColor;
}
.ct-home-hero-final-proof span,
.ct-home-hero-final-proof small{
    display:block;
    color:#6a7b87;
    font-size:13px;
    line-height:1.2;
}
.ct-home-hero-final-proof strong{
    display:block;
    margin:2px 0;
    color:#123b59;
    font-size:24px;
    line-height:1;
    font-weight:800;
}
.ct-home-hero-final-benefits{
    position:absolute;
    z-index:9;
    left:0;
    bottom:24px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:26px;
    width:790px;
}
.ct-home-hero-final-benefit{
    display:flex;
    align-items:flex-start;
    gap:11px;
}
.ct-home-hero-final-benefit-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 48px;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#d7e7ff;
    color:#5d8fd4;
    box-shadow:inset 0 0 0 1px rgba(93,143,212,.08);
}
.ct-home-hero-final-benefit-icon svg{
    width:23px;
    height:23px;
    fill:currentColor;
}
.ct-home-hero-final-benefit strong{
    display:block;
    margin:2px 0 4px;
    color:#153f5d;
    font-size:16px;
    line-height:1.22;
}
.ct-home-hero-final-benefit span{
    display:block;
    max-width:190px;
    color:#667884;
    font-size:14px;
    line-height:1.35;
}
@media(max-width:1220px){
    .ct-home-hero-final{min-height:0;padding-bottom:28px}
    .ct-home-hero-final-inner{width:min(100% - 40px,1120px);min-height:0}
    .ct-home-hero-final-copy{width:100%;max-width:680px;padding:34px 0 24px}
    .ct-home-hero-final-photo{position:relative;right:auto;width:100%;height:auto;min-height:0;border-radius:24px}
    .ct-home-hero-final-photo img{position:relative;height:auto;aspect-ratio:16/8.5}
    .ct-home-hero-final-fog{background:linear-gradient(0deg,rgba(238,246,251,.56),rgba(238,246,251,0) 22%)}
    .ct-home-hero-final-benefits{position:relative;left:auto;bottom:auto;width:100%;max-width:820px;margin-top:24px}
}
@media(max-width:760px){
    .ct-home-hero-final-inner{width:min(100% - 28px,760px)}
    .ct-home-hero-final-copy h1{font-size:clamp(40px,12vw,54px)}
    .ct-home-hero-final-actions{display:grid;grid-template-columns:1fr}
    .ct-home-hero-final-actions .ct-btn{width:100%;min-width:0}
    .ct-home-hero-final-benefits{grid-template-columns:1fr;gap:14px}
    .ct-home-hero-final-claim{display:none}
    .ct-home-hero-final-proof{right:14px;bottom:14px;min-width:185px;padding:12px 14px}
    .ct-home-hero-final-photo{border-radius:18px}
    .ct-home-hero-final-photo img{aspect-ratio:4/3;object-position:center}
}


/* =========================================================
   CopyTrh Core 0.6.57 – spodní část hero podle návrhu
   ========================================================= */
.ct-home-hero-final-claim{
    display:none!important;
}
.ct-home-hero-final-copy{
    padding-bottom:128px;
}
.ct-home-hero-final-benefits{
    left:0;
    bottom:22px;
    width:820px;
    max-width:58%;
    gap:22px;
    padding:8px 18px 8px 0;
    isolation:isolate;
}
.ct-home-hero-final-benefits:before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-14px;
    right:-110px;
    bottom:-14px;
    left:-34px;
    pointer-events:none;
    background:linear-gradient(90deg,
        rgba(238,246,251,1) 0%,
        rgba(238,246,251,.99) 58%,
        rgba(238,246,251,.92) 73%,
        rgba(238,246,251,.60) 86%,
        rgba(238,246,251,0) 100%);
}
.ct-home-hero-final-benefit{
    min-width:0;
    gap:12px;
    align-items:center;
}
.ct-home-hero-final-benefit-icon{
    flex:0 0 46px;
    width:46px;
    height:46px;
    background:#d6e5ff;
    color:#5b89c8;
}
.ct-home-hero-final-benefit strong{
    margin:0 0 4px;
    font-size:15px;
    line-height:1.22;
    white-space:nowrap;
}
.ct-home-hero-final-benefit span{
    max-width:none;
    font-size:13px;
    line-height:1.3;
}
/* silnější spodní ztracení fotografie jen pod benefit řádkem */
.ct-home-hero-final-fog:after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:62%;
    height:120px;
    pointer-events:none;
    background:linear-gradient(90deg,
        rgba(238,246,251,.98) 0%,
        rgba(238,246,251,.90) 42%,
        rgba(238,246,251,.54) 70%,
        rgba(238,246,251,0) 100%);
}
@media(max-width:1220px){
    .ct-home-hero-final-copy{padding-bottom:24px}
    .ct-home-hero-final-benefits{
        max-width:820px;
        width:100%;
        padding:0;
    }
    .ct-home-hero-final-benefits:before{display:none}
    .ct-home-hero-final-fog:after{display:none}
}
@media(max-width:760px){
    .ct-home-hero-final-benefit strong{white-space:normal}
}


/* CopyTrh Core 0.6.58 – čisté ikony benefitů v hero */
.ct-home-hero-final-benefits{left:18px;}
.ct-home-hero-final-benefit-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 48px!important;
    width:48px!important;
    height:48px!important;
    padding:0!important;
    border:1px solid #c7daf2!important;
    border-radius:50%!important;
    background:#e5efff!important;
    color:#4e7fb9!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.ct-home-hero-final-benefit-icon svg{
    display:block!important;
    width:23px!important;
    height:23px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
.ct-home-hero-final-benefit-icon svg path,
.ct-home-hero-final-benefit-icon svg circle{
    fill:none!important;
    stroke:currentColor!important;
}
@media(max-width:1200px){.ct-home-hero-final-benefits{left:0;}}


/* CopyTrh Core 0.6.60 – čitelná ikona komunity v social proof boxu */
.ct-home-hero-final-proof-icon{
    flex:0 0 50px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#eaf4fb;
    border:1px solid #c9deed;
    color:#185b8c;
}
.ct-home-hero-final-proof-icon svg{
    width:27px;
    height:27px;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* =========================================================
   CopyTrh Core 0.6.61 – nastavení e-mailových upozornění
   ========================================================= */
.ct-email-preferences{margin:0 0 28px;padding:24px;border:1px solid #d7e4ec;border-radius:16px;background:#f8fbfd}
.ct-email-preferences-head h3{margin:0;color:#123b59;font-size:22px;line-height:1.25}
.ct-email-preferences-head p{max-width:900px;margin:7px 0 0;color:#5f7280;font-size:15px;line-height:1.55}
.ct-email-preferences-form{margin-top:18px}
.ct-email-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ct-email-pref-option{display:flex!important;align-items:flex-start!important;gap:12px!important;min-height:92px;padding:16px;border:1px solid #dce7ee;border-radius:12px;background:#fff;cursor:pointer}
.ct-email-pref-option input{flex:0 0 auto;width:18px!important;height:18px!important;margin:3px 0 0!important;accent-color:#1d6798}
.ct-email-pref-option span{display:block}
.ct-email-pref-option strong{display:block;color:#123b59;font-size:16px;line-height:1.3}
.ct-email-pref-option small{display:block;margin-top:5px;color:#667884;font-size:14px;line-height:1.45}
.ct-email-preferences-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}
.ct-email-preferences-foot>span{color:#60727f;font-size:14px;line-height:1.45}
.ct-email-preferences-foot a{color:#185b8c!important;font-weight:700;text-decoration:none!important}
@media(max-width:760px){.ct-email-preferences{padding:20px}.ct-email-preferences-grid{grid-template-columns:1fr}.ct-email-preferences-foot{align-items:stretch;flex-direction:column}.ct-email-preferences-foot .ct-btn{width:100%}}


/* =========================================================
   CopyTrh Core 0.6.62 – nový detail Basic / PRO profilu
   ========================================================= */
.ct-profile-detail-v3{
    max-width:1240px;
    margin:0 auto;
    padding:10px 0 28px;
    color:#17212b;
}
.ct-profile-v3-hero{
    display:grid;
    grid-template-columns:190px minmax(0,1fr) 270px;
    gap:28px;
    align-items:center;
    padding:30px;
    border:1px solid #d8e5ed;
    border-radius:22px;
    background:linear-gradient(135deg,#fff 0%,#f4f9fc 100%);
    box-shadow:0 14px 36px rgba(18,59,89,.065);
}
.ct-profile-detail-v3.is-pro .ct-profile-v3-hero{
    border-color:#b9d4e5;
    background:linear-gradient(135deg,#fff 0%,#eef7fc 100%);
}
.ct-profile-v3-avatar-wrap{
    display:grid;
    justify-items:center;
    gap:12px;
}
.ct-profile-v3-avatar{
    width:158px;
    height:158px;
    padding:5px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 12px 30px rgba(18,59,89,.12);
}
.ct-profile-v3-avatar img{
    display:block;
    width:100%!important;
    height:100%!important;
    object-fit:cover;
    border-radius:50%!important;
}
.ct-profile-v3-availability{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:7px 11px;
    border-radius:999px;
    background:#f3f5f6;
    color:#657681;
    font-size:14px;
    line-height:1.2;
    font-weight:750;
    text-align:center;
}
.ct-profile-v3-availability:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#9caab3;
}
.ct-profile-v3-availability.is-online{
    background:#eaf7f0;
    color:#256e4e;
}
.ct-profile-v3-availability.is-online:before{background:#23a067}
.ct-profile-v3-main{min-width:0}
.ct-profile-v3-main .ct-profile-inline-badges{margin-bottom:10px}
.ct-profile-v3-main h1{
    margin:0;
    color:#123b59;
    font-size:clamp(38px,4vw,54px);
    line-height:1.04;
    font-weight:800;
    letter-spacing:-.03em;
}
.ct-profile-v3-title{
    margin:9px 0 0;
    color:#536b7a;
    font-size:20px;
    line-height:1.45;
}
.ct-profile-v3-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
    margin-top:18px;
    color:#526977;
    font-size:15px;
    line-height:1.35;
}
.ct-profile-v3-meta span{
    position:relative;
    padding-left:15px;
}
.ct-profile-v3-meta span:before{
    content:"";
    position:absolute;
    left:0;
    top:.52em;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#5f96b7;
}
.ct-profile-v3-skill-preview{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}
.ct-profile-v3-skill-preview span,
.ct-profile-v3-skills span{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    border-radius:999px;
    background:#eef5f9;
    color:#45606f;
    font-size:14px;
    line-height:1.2;
    font-weight:650;
}
.ct-profile-v3-summary{
    display:grid;
    gap:0;
    padding-left:24px;
    border-left:1px solid #d8e5ed;
}
.ct-profile-v3-summary-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:3px 10px;
    padding:12px 0;
    border-bottom:1px solid #e3ebf0;
}
.ct-profile-v3-summary-row>span{
    color:#657681;
    font-size:14px;
    line-height:1.3;
}
.ct-profile-v3-summary-row strong{
    grid-row:1 / span 2;
    grid-column:2;
    align-self:center;
    color:#123b59;
    font-size:22px;
    line-height:1.1;
    font-weight:800;
}
.ct-profile-v3-summary-row small{
    color:#73838e;
    font-size:13px;
    line-height:1.3;
}
.ct-profile-v3-actions{
    display:grid;
    gap:10px;
    padding-top:18px;
}
.ct-profile-v3-actions .ct-favorite-form,
.ct-profile-v3-actions .ct-favorite-btn{width:100%}
.ct-profile-v3-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:24px;
    align-items:start;
    margin-top:24px;
}
.ct-profile-v3-content{
    display:grid;
    gap:20px;
    min-width:0;
}
.ct-profile-v3-panel,
.ct-profile-v3-sidebar .ct-profile-side-card{
    border:1px solid #dce5eb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 26px rgba(18,59,89,.045);
}
.ct-profile-v3-panel{padding:26px}
.ct-profile-v3-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}
.ct-profile-v3-panel-head h2{
    margin:0;
    color:#123b59;
    font-size:25px;
    line-height:1.2;
}
.ct-profile-v3-panel-head>span{
    color:#758591;
    font-size:14px;
    white-space:nowrap;
}
.ct-profile-v3-panel .ct-detail-content{
    color:#344653;
    font-size:16px;
    line-height:1.75;
}
.ct-profile-v3-panel .ct-detail-content>:first-child{margin-top:0}
.ct-profile-v3-panel .ct-detail-content>:last-child{margin-bottom:0}
.ct-profile-v3-skills{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}
.ct-profile-v3-portfolio{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.ct-profile-v3-portfolio-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #e0e8ed;
    border-radius:14px;
    background:#fbfdfe;
}
.ct-profile-v3-portfolio-image,
.ct-profile-v3-portfolio-placeholder{
    height:128px;
    background:linear-gradient(135deg,#e8f2f8,#dcebf4);
}
.ct-profile-v3-portfolio-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.ct-profile-v3-portfolio-body{padding:14px}
.ct-profile-v3-portfolio-body h3{
    margin:0 0 10px;
    color:#173f5c;
    font-size:16px;
    line-height:1.35;
}
.ct-profile-v3-portfolio-body a{
    color:#185b8c!important;
    font-size:14px;
    font-weight:750;
    text-decoration:none!important;
}
.ct-profile-v3-reviews{display:grid;gap:14px}
.ct-profile-v3-review{
    padding:18px;
    border:1px solid #e0e8ed;
    border-radius:14px;
    background:#fbfdfe;
}
.ct-profile-v3-review-head{
    display:flex;
    align-items:center;
    gap:12px;
}
.ct-profile-v3-review-avatar{
    display:grid;
    place-items:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#e8f2f8;
    color:#185b8c;
    font-size:17px;
    font-weight:800;
}
.ct-profile-v3-review-head>div{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
.ct-profile-v3-review-head strong{color:#123b59;font-size:16px}
.ct-profile-v3-review-head span{color:#b97900;font-size:15px;font-weight:800}
.ct-profile-v3-review p{margin:12px 0 0;color:#536773;font-size:15px;line-height:1.65}
.ct-profile-v3-empty-review{
    display:grid;
    gap:5px;
    padding:20px;
    border-radius:14px;
    background:#f5f9fc;
}
.ct-profile-v3-empty-review strong{color:#123b59;font-size:17px}
.ct-profile-v3-empty-review span{color:#6a7c87;font-size:15px;line-height:1.5}
.ct-profile-v3-sidebar{
    display:grid;
    gap:18px;
    position:sticky;
    top:92px;
}
.ct-profile-v3-sidebar .ct-profile-side-card{padding:22px}
.ct-profile-v3-sidebar .ct-profile-side-card h2{
    margin:0 0 14px;
    color:#123b59;
    font-size:21px;
    line-height:1.25;
}
.ct-profile-v3-facts dl{margin:0}
.ct-profile-v3-facts dl>div{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:11px 0;
    border-bottom:1px solid #e5ecf1;
}
.ct-profile-v3-facts dl>div:last-child{border-bottom:0}
.ct-profile-v3-facts dt{color:#6c7d88;font-size:14px}
.ct-profile-v3-facts dd{margin:0;color:#173f5c;font-size:14px;font-weight:750;text-align:right}
.ct-profile-v3-contact{
    border-color:#bed8e8!important;
    background:linear-gradient(145deg,#f3f9fd,#fff)!important;
}
.ct-profile-v3-contact-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
}
.ct-profile-v3-contact-head span{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:4px 9px;
    border-radius:999px;
    background:#e8f1ff;
    color:#174f9b;
    font-size:13px;
    font-weight:800;
}
.ct-profile-v3-contact-head h2{margin:0!important}
.ct-profile-v3-basic-note{
    background:#f8fafb!important;
}
.ct-profile-v3-basic-note p{
    margin:0;
    color:#647680;
    font-size:15px;
    line-height:1.55;
}
@media(max-width:1020px){
    .ct-profile-v3-hero{grid-template-columns:150px minmax(0,1fr);align-items:start}
    .ct-profile-v3-avatar{width:132px;height:132px}
    .ct-profile-v3-summary{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 0 0;border-left:0;border-top:1px solid #d8e5ed}
    .ct-profile-v3-summary-row{display:block;padding:10px 14px;border:1px solid #e1e9ee;border-radius:12px;background:#fff}
    .ct-profile-v3-summary-row strong,.ct-profile-v3-summary-row span,.ct-profile-v3-summary-row small{display:block}
    .ct-profile-v3-summary-row strong{margin:5px 0;grid-row:auto;grid-column:auto}
    .ct-profile-v3-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;padding-top:0}
    .ct-profile-v3-layout{grid-template-columns:1fr}
    .ct-profile-v3-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
    .ct-profile-v3-sidebar>.ct-btn{grid-column:1 / -1}
}
@media(max-width:720px){
    .ct-profile-detail-v3{padding-top:0}
    .ct-profile-v3-hero{grid-template-columns:1fr;gap:20px;padding:22px}
    .ct-profile-v3-avatar-wrap{justify-items:start}
    .ct-profile-v3-avatar{width:112px;height:112px}
    .ct-profile-v3-main h1{font-size:38px}
    .ct-profile-v3-summary{grid-template-columns:1fr;gap:10px}
    .ct-profile-v3-actions{grid-template-columns:1fr}
    .ct-profile-v3-layout{margin-top:18px}
    .ct-profile-v3-panel{padding:20px}
    .ct-profile-v3-panel-head{align-items:flex-start;flex-direction:column;gap:5px}
    .ct-profile-v3-portfolio{grid-template-columns:1fr}
    .ct-profile-v3-portfolio-image,.ct-profile-v3-portfolio-placeholder{height:180px}
    .ct-profile-v3-sidebar{grid-template-columns:1fr}
}


/* =========================================================
   CopyTrh Core 0.6.65 – homepage řádkové poptávky + formulář
   ========================================================= */

/* Social proof: ikona je zarovnaná k hornímu okraji textu, ne na střed boxu. */
.ct-home-hero-final-proof{align-items:flex-start!important}
.ct-home-hero-final-proof-icon{align-self:flex-start!important;margin-top:0!important}

/* Homepage – poptávky jako kompaktní řádky místo karet. */
.ct-home-project-list{width:100%;border-top:1px solid #dce6ed}
.ct-home-project-list-head,
.ct-home-project-row{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(120px,.9fr) minmax(120px,.8fr) minmax(110px,.7fr) auto;gap:18px;align-items:center}
.ct-home-project-list-head{padding:0 14px 10px;color:#9aaab5;font-size:12px;line-height:1.25;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.ct-home-project-list-body{border-bottom:1px solid #dce6ed}
.ct-home-project-row{min-height:72px;padding:13px 14px;border-top:1px solid #e5edf2;background:#fff}
.ct-home-project-row:first-child{border-top:0}
.ct-home-project-row:hover{background:#f8fbfd}
.ct-home-project-name{min-width:0}
.ct-home-project-name a{display:block;color:#123b59;font-size:16px;line-height:1.35;font-weight:700;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-home-project-name a:hover{color:#185b8c}
.ct-home-project-author,
.ct-home-project-date{color:#687b88;font-size:14px;line-height:1.35}
.ct-home-project-budget strong{color:#123b59;font-size:16px;line-height:1.2;font-weight:800}
.ct-home-project-action{text-align:right}
.ct-home-project-action .ct-btn{min-width:104px;padding:10px 16px;font-size:14px}
.ct-home-project-empty{padding:22px 0;color:#687b88;font-size:16px}

/* Po odstranění duplicitního bloku hotového textu zůstává sidebar čistý se dvěma bloky. */
.ct-home-side{align-content:start}

/* Formulář poptávky – jednotné zarovnání řádků a ovládacích prvků. */
.ct-project-form-box .ct-form-row{align-items:start}
.ct-project-form-box .ct-form-field{align-content:start;grid-auto-rows:max-content}
.ct-project-form-box .ct-form-field>label{margin:0;min-height:23px;display:flex;align-items:flex-end}
.ct-project-form-box .ct-form input[type="text"],
.ct-project-form-box .ct-form input[type="email"],
.ct-project-form-box .ct-form input[type="password"],
.ct-project-form-box .ct-form input[type="number"],
.ct-project-form-box .ct-form input[type="date"],
.ct-project-form-box .ct-form input[type="url"],
.ct-project-form-box .ct-form select{height:52px;min-height:52px;padding-top:10px;padding-bottom:10px}
.ct-project-form-box .ct-input-suffix{height:52px;min-height:52px}
.ct-project-form-box .ct-input-suffix input{height:52px!important;min-height:52px!important}
.ct-project-form-box .ct-input-suffix>span{height:52px;min-height:52px}
.ct-project-form-box .ct-field-help{margin-top:0;line-height:1.45}

/* Vícenásobný výběr dovedností jako zavírací roletka. */
.ct-multiselect{position:relative;width:100%;margin:0}
.ct-multiselect>summary{position:relative;display:flex;align-items:center;min-height:52px;padding:10px 44px 10px 13px;border:1px solid #c8d5de;border-radius:9px;background:#fff;color:#17212b;font-size:16px;line-height:1.45;cursor:pointer;list-style:none;user-select:none}
.ct-multiselect>summary::-webkit-details-marker{display:none}
.ct-multiselect>summary:after{content:"";position:absolute;right:17px;top:50%;width:8px;height:8px;border-right:2px solid #687b88;border-bottom:2px solid #687b88;transform:translateY(-68%) rotate(45deg);transition:transform .18s ease}
.ct-multiselect[open]>summary{border-color:#185b8c;box-shadow:0 0 0 3px rgba(24,91,140,.12)}
.ct-multiselect[open]>summary:after{transform:translateY(-30%) rotate(225deg)}
.ct-multiselect-value{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-multiselect-menu{position:absolute;z-index:80;top:calc(100% + 7px);left:0;right:0;max-height:300px;overflow:auto;padding:7px;border:1px solid #c8d5de;border-radius:10px;background:#fff;box-shadow:0 16px 36px rgba(18,59,89,.14)}
.ct-multiselect-option{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:8px 10px!important;border-radius:7px;color:#263946!important;font-size:15px!important;line-height:1.35!important;font-weight:400!important;cursor:pointer}
.ct-multiselect-option:hover{background:#f0f6fa}
.ct-multiselect-option input{flex:0 0 18px;width:18px!important;height:18px!important;margin:0!important;accent-color:#185b8c}
.ct-multiselect-option span{display:block;min-width:0}

@media(max-width:980px){
  .ct-home-project-list-head{display:none}
  .ct-home-project-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:16px 10px}
  .ct-home-project-name{grid-column:1/2}
  .ct-home-project-action{grid-column:2/3;grid-row:1/4;align-self:center}
  .ct-home-project-author,.ct-home-project-date,.ct-home-project-budget{grid-column:1/2;display:flex;gap:7px;align-items:baseline}
  .ct-home-project-author:before,.ct-home-project-date:before,.ct-home-project-budget:before{content:attr(data-label) ":";color:#9aaab5;font-size:12px;font-weight:750;text-transform:uppercase}
}
@media(max-width:620px){
  .ct-home-project-row{grid-template-columns:1fr}
  .ct-home-project-action{grid-column:1;grid-row:auto;text-align:left}
  .ct-home-project-action .ct-btn{width:100%}
}


/* =========================================================
   CopyTrh Core 0.6.66 – hero + oddělení hlavičky poptávek
   ========================================================= */

/* Social proof: ikona záměrně výš než střed textového bloku. */
.ct-home-hero-final-proof{
    align-items:flex-start!important;
}
.ct-home-hero-final-proof-icon{
    align-self:flex-start!important;
    margin-top:0!important;
    transform:translateY(-8px)!important;
}

/* Třetí benefit – popis na jediném řádku. */
.ct-home-hero-final-benefits{
    width:880px;
    max-width:64%;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(285px,1.28fr);
}
.ct-home-hero-final-benefit:last-child span{
    max-width:none;
    white-space:nowrap;
    font-size:13px;
    letter-spacing:-.08px;
}

/* Poptávky: oddělovací čára patří mezi názvy sloupců a první poptávku. */
.ct-home-project-list{
    border-top:0;
}
.ct-home-project-list-head{
    padding:0 14px 12px;
    border-bottom:1px solid #dce6ed;
}
.ct-home-project-list-body{
    border-bottom:1px solid #dce6ed;
}
.ct-home-project-row,
.ct-home-project-row:first-child{
    border-top:0;
}
.ct-home-project-row + .ct-home-project-row{
    border-top:1px solid #e5edf2;
}

@media(max-width:1200px){
    .ct-home-hero-final-benefits{
        width:100%;
        max-width:100%;
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .ct-home-hero-final-benefit:last-child span{
        white-space:normal;
    }
}


/* =========================================================
   CopyTrh Core 0.6.67 – odstranění ikony ze social proof boxu
   ========================================================= */
.ct-home-hero-final-proof{gap:0;}


/* =========================================================
   CopyTrh Core 0.6.72 – Hlídání poptávek: zavírací roletky
   ========================================================= */
.ct-account-watch .ct-watch-grid{align-items:start}
.ct-account-watch .ct-form-field{align-content:start}
.ct-account-watch .ct-multiselect{margin-top:0}
.ct-account-watch .ct-multiselect>summary{min-height:52px}
.ct-account-watch .ct-field-help{display:block;margin-top:7px;line-height:1.45}

/* =========================================================
   CopyTrh Core 0.6.74 – přehled nabídek + postup zakázky
   ========================================================= */
.ct-dashboard-bid {
    grid-template-columns: minmax(250px, 1.15fr) minmax(170px, .65fr) minmax(260px, auto);
    grid-template-areas:
        "user data actions"
        "detail detail detail"
        "hint hint hint";
    align-items: center;
    gap: 12px 24px;
    padding: 18px 0;
}
.ct-dashboard-bid-user { grid-area: user; }
.ct-dashboard-bid-data { grid-area: data; }
.ct-dashboard-bid-actions {
    grid-area: actions;
    justify-content: flex-end;
    margin-top: 0;
}
.ct-dashboard-bid .ct-bid-detail { grid-area: detail; }
.ct-dashboard-bid .ct-credit-hint { grid-area: hint; margin-top: 0 !important; }
.ct-dashboard-bid-user > div { min-width: 0; }
.ct-dashboard-bid-user .ct-profile-inline-badges,
.ct-dashboard-bid-user .ct-profile-badges { margin-top: 4px; }

.ct-bid-detail {
    margin-top: 4px;
    border: 1px solid #dbe5ec;
    border-radius: 9px;
    background: #f8fafc;
    overflow: hidden;
}
.ct-bid-detail summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 14px;
    color: #185b8c;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.ct-bid-detail summary::-webkit-details-marker { display: none; }
.ct-bid-detail summary::after {
    content: "+";
    float: right;
    margin-left: 12px;
    color: #607482;
    font-size: 18px;
    line-height: 1;
}
.ct-bid-detail[open] summary::after { content: "−"; }
.ct-bid-detail[open] summary { border-bottom: 1px solid #dbe5ec; }
.ct-bid-detail-content {
    padding: 14px;
    color: #445b6b;
    font-size: 16px;
    line-height: 1.65;
}
.ct-bid-detail-own { margin-top: 14px; max-width: 760px; }

.ct-work-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 20px 0 4px;
    padding: 16px 16px 14px;
    border: 1px solid #d9e4eb;
    border-radius: 11px;
    background: #f9fbfc;
}
.ct-work-progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}
.ct-work-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 17px);
    width: calc(100% - 34px);
    height: 2px;
    background: #d5e0e7;
}
.ct-work-progress-step.is-done:not(:last-child)::after { background: #86b8d8; }
.ct-work-progress-dot {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid #c9d6de;
    border-radius: 50%;
    background: #fff;
    color: #7c8e9a;
    font-size: 14px;
    font-weight: 800;
}
.ct-work-progress-label {
    color: #788a96;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.ct-work-progress-step.is-done .ct-work-progress-dot {
    border-color: #78adce;
    background: #eaf4fa;
    color: #185b8c;
}
.ct-work-progress-step.is-done .ct-work-progress-label { color: #4b6575; }
.ct-work-progress-step.is-current .ct-work-progress-dot {
    border-color: #185b8c;
    background: #185b8c;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(24,91,140,.10);
}
.ct-work-progress-step.is-current .ct-work-progress-label { color: #123b59; }
.ct-work-progress-step.is-finished .ct-work-progress-dot {
    border-color: #2f8a5c;
    background: #2f8a5c;
}
.ct-work-progress-step.is-finished .ct-work-progress-label { color: #216342; }
.ct-work-progress.is-warning .ct-work-progress-step.is-current .ct-work-progress-dot {
    border-color: #c58b1d;
    background: #c58b1d;
    box-shadow: 0 0 0 4px rgba(197,139,29,.11);
}
.ct-work-progress.is-warning .ct-work-progress-step.is-current .ct-work-progress-label { color: #745313; }
.ct-work-progress.is-error .ct-work-progress-step.is-current .ct-work-progress-dot {
    border-color: #a74747;
    background: #a74747;
    box-shadow: 0 0 0 4px rgba(167,71,71,.10);
}
.ct-work-progress.is-error .ct-work-progress-step.is-current .ct-work-progress-label { color: #8a2f2f; }
.ct-work-progress.is-muted .ct-work-progress-step.is-current .ct-work-progress-dot {
    border-color: #9aa9b2;
    background: #9aa9b2;
    box-shadow: none;
}
.ct-work-progress.is-muted .ct-work-progress-step.is-current .ct-work-progress-label { color: #657985; }

.ct-dashboard-offer > div:first-child { min-width: 0; flex: 1 1 auto; }
.ct-dashboard-offer .ct-work-progress { max-width: 820px; }

@media (max-width: 980px) {
    .ct-dashboard-bid {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "user actions"
            "data data"
            "detail detail"
            "hint hint";
    }
    .ct-dashboard-bid-actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
    .ct-dashboard-bid {
        grid-template-columns: 1fr;
        grid-template-areas: "user" "data" "actions" "detail" "hint";
    }
    .ct-dashboard-bid-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .ct-dashboard-bid-actions .ct-btn,
    .ct-dashboard-bid-actions form,
    .ct-dashboard-bid-actions form .ct-btn { width: 100%; }
    .ct-work-progress {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 12px 14px;
    }
    .ct-work-progress-step {
        grid-template-columns: 30px 1fr;
        justify-items: start;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        text-align: left;
    }
    .ct-work-progress-step:not(:last-child)::after {
        top: 37px;
        left: 15px;
        width: 2px;
        height: calc(100% - 12px);
    }
    .ct-work-progress-dot { width: 30px; height: 30px; }
    .ct-work-progress-label { font-size: 15px; }
}

/* CopyTrh 0.6.76 – Fakturace */
.ct-billing-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}
.ct-billing-card{border:1px solid #d9e4eb;border-radius:14px;background:#fff;padding:22px}
.ct-billing-card h3{margin:0 0 8px;color:#0b456f;font-size:21px}
.ct-billing-card>p{margin:0 0 18px;color:#61717d;line-height:1.55}
.ct-billing-form .ct-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ct-invoice-list{display:flex;flex-direction:column;gap:10px}
.ct-invoice-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #e3ebf0}
.ct-invoice-row:last-child{border-bottom:0}
.ct-invoice-row>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.ct-invoice-row strong{color:#123b59}.ct-invoice-row span{color:#44545f}.ct-invoice-row small{color:#82919c}
.ct-invoice-row>div:last-child{display:flex;align-items:center;gap:12px;white-space:nowrap}
.ct-invoice-row b{font-size:18px;color:#0b456f}
.ct-billing-subtitle{margin-top:28px!important;padding-top:20px;border-top:1px solid #d9e4eb}
@media(max-width:900px){.ct-billing-grid{grid-template-columns:1fr}.ct-billing-form .ct-form-row{grid-template-columns:1fr}}
@media(max-width:620px){.ct-invoice-row{align-items:flex-start;flex-direction:column}.ct-invoice-row>div:last-child{width:100%;justify-content:space-between}}
