* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f7f5f2;
    color: #2b2b2b;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid #e5e0d8;
}

.site-header .logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #a9746e;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2rem;
}

.nav-links {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.6rem 1.25rem;
    flex-wrap: wrap;
    min-width: 0;
}

.nav-links a {
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #a9746e;
}

.nav-account {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-account > a {
    color: #2b2b2b;
    text-decoration: none;
}

.nav-account > a:hover {
    text-decoration: underline;
}

.nav-avatar {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px;
    border: 1px solid #e5e0d8;
}

.nav-avatar:hover {
    background: #f7f5f2;
}

@media (max-width: 600px) {
    .site-header {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        gap: 0.5rem 0.75rem;
    }

    .site-header .logo {
        margin-right: 0;
    }

    .nav-links {
        order: 3;
        flex-basis: 100%;
        gap: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }

    .nav-account {
        margin-left: auto;
    }
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
    background: #a9746e;
    color: #fff;
    font-weight: 700;
    vertical-align: middle;
    flex-shrink: 0;
}

.avatar-small {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

.avatar-large {
    width: 96px;
    height: 96px;
    font-size: 2rem;
}

.avatar-placeholder {
    text-transform: uppercase;
}

.account-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.account-head h1 {
    margin: 0;
}

.account-role {
    margin: 0.2rem 0 0;
    color: #6b6b6b;
    font-size: 0.9rem;
}

.account-actions {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.account-actions a {
    color: #a9746e;
}

.linklike {
    background: none;
    border: none;
    padding: 0;
    color: #9d2e26;
    cursor: pointer;
    font: inherit;
}

.linklike:hover {
    text-decoration: underline;
}

.avatar-edit {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
}

.avatar-edit-badge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 0.65rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 0;
    border-radius: 0 0 999px 999px;
    opacity: 0;
    transition: opacity 0.1s;
}

.avatar-edit:hover .avatar-edit-badge {
    opacity: 1;
}

.account-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-tile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

a.account-tile:hover {
    border-color: #a9746e;
}

.account-tile-title {
    font-weight: 700;
    color: #a9746e;
}

.account-tile-sub {
    font-size: 0.8rem;
    color: #6b6b6b;
}

.account-tile-soon {
    opacity: 0.6;
}

.vendor-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vendor-detail-header h1 {
    margin: 0;
}

main {
    max-width: 640px;
    margin: 3rem auto;
    padding: 0 1rem;
}

main.main-wide {
    max-width: 1000px;
}

h1 {
    color: #a9746e;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e0d8;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.auth-form input,
.auth-form select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form button {
    padding: 0.6rem;
    border: none;
    border-radius: 4px;
    background: #a9746e;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.auth-form button:hover {
    background: #935e58;
}

.auth-form button.button-secondary {
    background: #fff;
    color: #a9746e;
    border: 1px solid #a9746e;
}

.auth-form button.button-secondary:hover {
    background: #f7f5f2;
}

.errors {
    background: #fdecea;
    color: #9d2e26;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    list-style: none;
}

.flashes .flash {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.flash-success {
    background: #e6f4ea;
    color: #1e6b3c;
}

.flash-error {
    background: #fdecea;
    color: #9d2e26;
}

.flash-info {
    background: #eef4f8;
    color: #2b5b7a;
}

.auth-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.auth-form fieldset {
    border: 1px solid #e5e0d8;
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.auth-form legend {
    padding: 0 0.4rem;
    font-size: 0.85rem;
    color: #6b6b6b;
}

.checkbox-label {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem !important;
    padding: 0.2rem 0;
}

.checkbox-label input {
    flex-shrink: 0;
    margin: 0;
}

.checkbox-group-actions {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid #e5e0d8;
}

.checkbox-group-actions .linklike {
    color: #a9746e;
    font-size: 0.85rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.photo-tile {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
}

.photo-tile img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.photo-tile form {
    padding: 0.4rem;
}

.photo-delete {
    width: 100%;
    padding: 0.4rem;
    border: none;
    border-radius: 4px;
    background: #fdecea;
    color: #9d2e26;
    cursor: pointer;
}

.photo-delete:hover {
    background: #f7d3cf;
}

/* Vložená videa (YouTube/Vimeo) */
.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.video-tile {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
}

.video-tile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
}

.video-tile-meta a {
    color: #a9746e;
    text-decoration: none;
}

.filter-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.filter-form label {
    flex: 1 1 180px;
}

.board-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-drop {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.filter-drop > summary {
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.filter-drop > summary::-webkit-details-marker {
    display: none;
}

.filter-drop > summary::after {
    content: "▾";
    margin-left: 0.4rem;
    font-size: 0.7rem;
    color: #6b6b6b;
}

.filter-drop[open] > summary::after {
    content: "▴";
}

.filter-count {
    color: #a9746e;
    font-weight: 600;
}

.filter-drop-panel {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    z-index: 20;
    min-width: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0.75rem;
}

.filter-drop-actions {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid #e5e0d8;
    position: sticky;
    top: 0;
    background: #fff;
}

.filter-drop-actions .linklike {
    color: #a9746e;
    font-size: 0.85rem;
}

.board-filter button[type="submit"] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: #a9746e;
    color: #fff;
    cursor: pointer;
    align-self: stretch;
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.vendor-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.vendor-card img,
.vendor-card-placeholder {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #f0ece5;
}

.vendor-card-body {
    padding: 1rem;
}

.vendor-card-body h2 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    color: #2b2b2b;
}

.vendor-card-categories {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin: 0 0 0.3rem;
}

.vendor-card-location {
    font-size: 0.85rem;
    color: #a9746e;
    margin: 0;
}

.board-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.board-card-footer {
    font-size: 0.8rem;
    margin: 0.5rem 0 0;
}

/* Detail poptávky */
.offer-scope {
    margin-top: -0.5rem;
}

.offer-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 700px) {
    .offer-info-grid {
        grid-template-columns: 1fr;
    }
}

.offer-info-box {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    text-align: center;
}

.offer-info-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #a9746e;
    margin-bottom: 0.55rem;
}

.offer-info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.3;
}

.offer-info-value-date {
    font-size: 1.6rem;
}

.offer-info-sub {
    font-size: 0.82rem;
    color: #6b6b6b;
    margin-top: 0.3rem;
}

.offer-map-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.offer-map-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7f5f2;
    color: #a9746e;
    text-decoration: none;
}

.offer-map-links a:hover {
    background: #f0e2d8;
}

.offer-map-links .board-icon {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0;
}

.vendor-description {
    white-space: pre-wrap;
    margin: 1rem 0;
}

.vendor-contact {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.vendor-contact a {
    color: #a9746e;
}

.wedding-list {
    list-style: none;
    padding: 0;
}

.wedding-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e0d8;
}

.wedding-list a {
    color: inherit;
    text-decoration: none;
}

.wedding-list a:hover {
    color: #a9746e;
}

.request-category {
    border-bottom: 1px solid #e5e0d8;
    padding-bottom: 0.75rem;
}

.request-category-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.request-category-fields label {
    flex: 1 1 140px;
}

.board-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.board-card {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

.board-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
}

.board-card-thumb {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.wedding-panel-body {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.wedding-panel-body .job-info {
    flex: 1 1 260px;
    min-width: 0;
}

.wedding-bride-photos {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
}

.board-card-top .board-card-header {
    flex: 1;
    min-width: 0;
}

.board-card-meta {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.board-card-client {
    color: #5a5450;
    font-weight: 600;
}

.job-search {
    display: block;
    width: 100%;
    max-width: 480px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    margin-bottom: 1rem;
}

.board-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    color: #2b2b2b;
}

.board-card-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a9746e;
    white-space: nowrap;
}

.board-card-date-past {
    color: #9a908a;
    font-weight: 400;
    font-style: italic;
}

.board-card-conflict-note {
    color: #8a6116;
    font-weight: 600;
    margin: 0.3rem 0 0;
}

.notice-warning {
    background: #fdf3e0;
    color: #8a6116;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.board-card-answered {
    background: #f7f5f2;
}

.board-card-answered-note {
    color: #6b6b6b;
    font-style: italic;
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
}

.btn-primary {
    background: #a9746e;
    color: #fff;
}

.btn-primary:hover {
    background: #935e58;
}

.btn-danger {
    background: #fdecea;
    color: #9d2e26;
}

.btn-danger:hover {
    background: #f7d3cf;
}

.btn-secondary {
    background: #fff;
    color: #a9746e;
    border: 1px solid #a9746e;
}

.btn-secondary:hover {
    background: #f7f5f2;
}

.wedding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wedding-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.wedding-card-date {
    background: #a9746e;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1rem;
}

.wedding-card-body {
    padding: 1rem;
}

.wedding-card-body p {
    margin: 0 0 0.3rem;
}

.wedding-card-location {
    font-weight: 600;
    color: #2b2b2b;
}

.wedding-card-venue {
    color: #6b6b6b;
    font-size: 0.9rem;
}

.wedding-card-stats {
    font-size: 0.85rem;
    color: #a9746e;
}

.offer-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.offer-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.offer-card-vendor-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.offer-card-vendor {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2b2b2b;
}

.offer-card-vendor-link:hover .offer-card-vendor {
    text-decoration: underline;
}

.offer-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #a9746e;
    white-space: nowrap;
}

.offer-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin: 0.4rem 0;
}

.offer-status-sent {
    background: #eef2f7;
    color: #35618f;
}

.offer-status-viewed {
    background: #eef2f7;
    color: #35618f;
}

.offer-status-selected {
    background: #e6f4ea;
    color: #1e6b3c;
}

.offer-status-rejected {
    background: #fdecea;
    color: #9d2e26;
}

.offer-card-text {
    background: #f7f5f2;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    white-space: pre-wrap;
    margin: 0.5rem 0;
}

.offer-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.offer-card-message-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.offer-card-message-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.chat-row-own {
    flex-direction: row-reverse;
}

.chat-message {
    max-width: 70%;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    padding: 0.6rem 0.9rem;
}

.chat-message-own {
    background: #a9746e;
    color: #fff;
    border-color: #a9746e;
    border-radius: 14px;
    border-bottom-right-radius: 4px;
}

.chat-message-meta {
    font-size: 0.75rem;
    color: #6b6b6b;
    margin-bottom: 0.2rem;
}

.chat-message-own .chat-message-meta {
    color: rgba(255, 255, 255, 0.8);
}

.chat-message-text {
    white-space: pre-wrap;
}

.request-category h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.request-category form {
    display: inline;
}

.previous-offers-dialog {
    max-width: 480px;
    width: 90%;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1.5rem;
}

.previous-offers-dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.previous-offers-list {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.use-previous-text {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    background: #f7f5f2;
    border: 1px solid #e5e0d8;
    border-radius: 4px;
    cursor: pointer;
}

.use-previous-text:hover {
    background: #f0ece5;
}

.btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

.job-status-quote { background: #f0ece5; color: #6b6b6b; }
.job-status-active { background: #eef2f7; color: #35618f; }
.job-status-done { background: #e6f4ea; color: #1e6b3c; }
.job-status-cancelled { background: #fdecea; color: #9d2e26; }
.job-status-expired { background: #f0ece5; color: #8a8a8a; }

.task-status-todo { background: #eef2f7; color: #35618f; }
.task-status-in_progress { background: #fdf3e0; color: #8a6116; }
.task-status-done { background: #e6f4ea; color: #1e6b3c; }

.pay-none { background: #fdecea; color: #9d2e26; }
.pay-partial { background: #fdf3e0; color: #8a6116; }
.pay-full { background: #e6f4ea; color: #1e6b3c; }

.task-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.finance-total td {
    background: #f7f5f2;
}

.finance-table th,
.finance-table td {
    white-space: nowrap;
}

.job-info {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.job-info li {
    padding: 0.2rem 0;
}

.job-finance {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e0d8;
    margin: 0.5rem 0 1.5rem;
}

.crm-table th,
.crm-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e0d8;
    text-align: left;
    font-size: 0.9rem;
    vertical-align: middle;
}

.crm-table th {
    background: #f7f5f2;
    font-size: 0.8rem;
    color: #6b6b6b;
}

.crm-table form {
    display: inline-block;
    margin: 0 0.2rem 0 0;
}

.crm-table input[type="date"] {
    padding: 0.2rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.todo-overdue {
    border-color: #e5b8b3;
}

.calendar-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #fff;
    margin: 1rem 0;
}

.calendar-table th {
    padding: 0.4rem;
    background: #f7f5f2;
    border: 1px solid #e5e0d8;
    font-size: 0.8rem;
    color: #6b6b6b;
}

.calendar-table td {
    border: 1px solid #e5e0d8;
    vertical-align: top;
    padding: 0.25rem;
    height: 88px;
    overflow: hidden;
}

.calendar-day-num {
    font-size: 0.75rem;
    color: #6b6b6b;
}

.calendar-day-other {
    background: #f7f5f2;
}

.calendar-day-other .calendar-day-num {
    color: #c9c4bc;
}

.calendar-day-today {
    background: #fdf8f3;
}

.calendar-day-today .calendar-day-num {
    color: #a9746e;
    font-weight: 700;
}

.calendar-chip {
    display: block;
    font-size: 0.7rem;
    background: #f7f0ea;
    border-radius: 4px;
    padding: 1px 4px;
    margin-top: 2px;
    color: #2b2b2b;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.calendar-chip:hover {
    background: #f0e2d8;
}

.calendar-chip-done {
    opacity: 0.55;
    text-decoration: line-through;
}

.ical-url {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
}

/* ---- Galerie fotografů ---- */
main.main-gallery {
    max-width: 1100px;
}

.muted {
    color: #6b6b6b;
    font-size: 0.85rem;
}

.button-link {
    display: inline-block;
    background: #a9746e;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.button-link:hover {
    background: #935e58;
}

.notice-info {
    background: #eef4f8;
    color: #2b5b7a;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-sorts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1.5rem;
}

.gallery-sort {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e0d8;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.9rem;
}

.gallery-sort:hover {
    border-color: #a9746e;
    color: #a9746e;
}

.gallery-sort.active {
    background: #a9746e;
    border-color: #a9746e;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.gallery-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.12s;
}

a.gallery-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.gallery-card-photo {
    display: block;
}

.gallery-card-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
}

.gallery-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.gallery-author-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #a9746e;
    text-decoration: none;
    font-weight: 500;
}

.gallery-stats {
    display: flex;
    gap: 0.6rem;
    color: #6b6b6b;
    white-space: nowrap;
}

.gallery-card-owned form {
    padding: 0.4rem;
}

/* Detail fotky – svislé uspořádání: autor / fotka / srdíčka / (komentáře + EXIF) */
.gallery-detail-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.gallery-detail-photo {
    margin: 0;
    text-align: center;
    background: #f0ece8;
    border-radius: 8px;
}

.gallery-detail-photo img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    cursor: zoom-in;
}

.gallery-detail-hearts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 0.5rem;
}

.hearters {
    font-size: 0.9rem;
}

.hearters summary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #6b6b6b;
    list-style: none;
}

.hearters summary::-webkit-details-marker {
    display: none;
}

.hearters summary:hover {
    color: #a9746e;
}

.hearters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.hearter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 999px;
    padding: 0.2rem 0.7rem 0.2rem 0.2rem;
    font-size: 0.85rem;
}

.hearter .avatar-small {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
}

.hearter-badge {
    color: #a9746e;
    font-weight: 700;
    font-size: 0.75rem;
}

.gallery-detail-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
}

.gallery-exif-col {
    flex: 0 1 300px;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.gallery-exif-col h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.heart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid #a9746e;
    border-radius: 999px;
    background: #fff;
    color: #a9746e;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.heart-button:hover {
    background: #f7ece9;
}

.heart-button.active {
    background: #a9746e;
    color: #fff;
}

.heart-static {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #a9746e;
    font-size: 1.05rem;
}

.gallery-exif {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.gallery-exif summary {
    cursor: pointer;
    font-weight: 600;
}

.exif-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.exif-table th {
    text-align: left;
    color: #6b6b6b;
    font-weight: 600;
    padding: 0.2rem 0.75rem 0.2rem 0;
    white-space: nowrap;
    vertical-align: top;
}

.exif-table td {
    padding: 0.2rem 0;
}

/* Komentáře */
.gallery-comments {
    flex: 1 1 420px;
    min-width: 0;
}

.gallery-comments h2 {
    margin-top: 0;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.comment-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.comment-bubble {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
}

.comment-meta {
    font-size: 0.8rem;
    color: #6b6b6b;
    margin-bottom: 0.25rem;
}

.comment-body {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Lightbox pro zvětšení fotky */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---- Moje svatba (nevěsta) ---- */
.wedding-card-title {
    margin: 0 0 0.25rem;
    font-weight: 700;
}

.invite-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.invite-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #eef4f8;
    border: 1px solid #d5e2ec;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.wedding-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.wedding-detail-head h1 {
    margin: 0;
}

.wedding-detail-date {
    margin: 0.35rem 0 0;
    color: #6b6b6b;
}

.btn-disabled {
    background: #ece7e1;
    color: #8a8a8a;
    cursor: default;
}

.table-scroll {
    overflow-x: auto;
}

.vendors-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
}

.vendors-table th,
.vendors-table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e5e0d8;
    vertical-align: middle;
}

.vendors-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b6b6b;
}

.vendors-table .nowrap {
    white-space: nowrap;
}

.vendor-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 500;
}

.vendor-cell:hover {
    color: #a9746e;
}

.unread-badge {
    display: inline-block;
    background: #9d2e26;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    vertical-align: middle;
}

.expense-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    margin-top: 0.5rem;
}

.expense-summary strong {
    font-size: 1.25rem;
    color: #a9746e;
}

.expense-summary-sub {
    margin-top: 0.5rem;
    background: #f7f5f2;
}

.expense-summary-sub strong {
    font-size: 1.1rem;
    color: #8a6116;
}

.pay-ok {
    color: #2e7d32;
    font-weight: 600;
}

.pay-due {
    color: #8a6116;
    font-size: 0.85rem;
}

.wedding-panel {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-left: 4px solid #a9746e;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
}

.wedding-panel h2 {
    margin-top: 0;
}

.wedding-panel-chats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.venue-info {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.venue-info h2 {
    margin-top: 0;
}

.venue-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.35rem 1.5rem;
}

.venue-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.amenity-tag {
    display: inline-block;
    background: #f0e2d8;
    color: #7a4f49;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.85rem;
}

/* Našeptávač obce */
.obec-autocomplete {
    position: relative;
}

.obec-input {
    width: 100%;
}

.obec-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.obec-suggestion {
    padding: 0.5rem 0.65rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.obec-suggestion:hover {
    background: #f0e2d8;
}

/* Veřejný profil dodavatele – hero hlavička ve stylu mywed */
.avatar-xl {
    width: 150px;
    height: 150px;
    font-size: 3rem;
}

.vendor-hero {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vendor-hero-info {
    flex: 1;
    min-width: 260px;
}

.vendor-hero-info h1 {
    margin: 0 0 0.25rem;
}

.vendor-hero-facts {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    color: #6b6b6b;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.message-box {
    margin-top: 0.75rem;
}

.message-box summary {
    list-style: none;
    display: inline-block;
    cursor: pointer;
}

.message-box summary::-webkit-details-marker {
    display: none;
}

.message-form {
    margin-top: 0.75rem;
    max-width: 480px;
}

/* Velká mřížka fotek (portfolio + galerie) */
.profile-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.pp-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.pp-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.15s;
}

.pp-item:hover img {
    transform: scale(1.02);
}

/* Šipky a popisek v lightboxu */
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
}

.lb-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lb-prev {
    left: 1rem;
}

.lb-next {
    right: 1rem;
}

.lb-caption {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
}

.lb-caption a {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
}

.lb-caption a:hover {
    text-decoration: underline;
}

/* Katalog svatebních míst */
.venue-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 1rem 0;
}

.venue-filter select,
.venue-filter input,
.venue-filter button {
    padding: 0.45rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.venue-filter button {
    background: #a9746e;
    color: #fff;
    border-color: #a9746e;
    cursor: pointer;
}

.venue-filter button:hover {
    background: #935e58;
}

.venue-search {
    flex: 1 1 200px;
    min-width: 160px;
}

.venue-num {
    width: 150px;
}

.venue-map {
    height: 380px;
    border-radius: 8px;
    border: 1px solid #e5e0d8;
    margin: 1rem 0 1.5rem;
    z-index: 0;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* Fotky ke svatbě */
.wedding-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0;
}

.wedding-photo {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 0.5rem;
    text-align: center;
}

.wedding-photo img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    margin-bottom: 0.4rem;
}

.wedding-photo-author {
    display: block;
    font-size: 0.8rem;
    color: #7a4f49;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.wedding-photo form {
    display: inline-block;
}

.photo-tile {
    position: relative;
}

.photo-author-badge,
.photo-wedding-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.7rem;
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
}

.pp-item {
    position: relative;
}

.pp-author {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

/* Blog */
.blog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 1.5rem;
}

.blog-cats a {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e0d8;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-cats a.active {
    background: #a9746e;
    border-color: #a9746e;
    color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.12s;
}

.blog-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
}

.blog-card-cover {
    aspect-ratio: 16 / 9;
    background: #f3e7de;
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.blog-card-body {
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.blog-card-body h2 {
    font-size: 1.15rem;
    margin: 0;
}

.blog-card-perex {
    font-size: 0.9rem;
    color: #5a5450;
    margin: 0;
}

.blog-card-foot {
    margin-top: auto;
    font-size: 0.82rem;
}

.blog-card-meta,
.blog-article-meta {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-block;
    background: #f0e2d8;
    color: #7a4f49;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    text-decoration: none;
}

.blog-tag-vendors {
    background: #e3edf6;
    color: #2f5f86;
}

/* Detail článku */
.blog-article {
    max-width: 760px;
    margin: 0 auto;
}

.blog-article h1 {
    margin: 0.5rem 0 0.25rem;
}

.blog-article-cover {
    width: 100%;
    border-radius: 10px;
    margin: 1rem 0 1.5rem;
}

.blog-body {
    line-height: 1.7;
    font-size: 1.05rem;
}

.blog-body h2 { font-size: 1.5rem; margin: 1.6rem 0 0.6rem; }
.blog-body h3 { font-size: 1.2rem; margin: 1.3rem 0 0.5rem; }
.blog-body p { margin: 0 0 1rem; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 0.5rem 0; }
.blog-body ul, .blog-body ol { margin: 0 0 1rem 1.4rem; }
.blog-body blockquote {
    margin: 1rem 0;
    padding: 0.5rem 1.1rem;
    border-left: 3px solid #a9746e;
    color: #5a5450;
    font-style: italic;
}

.blog-status {
    display: inline-block;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.12rem 0.6rem;
    font-weight: 600;
}
.blog-status-draft { background: #eee; color: #555; }
.blog-status-pending { background: #fdf2d6; color: #8a6d1a; }
.blog-status-published { background: #e6f4ea; color: #1e6b3c; }
.blog-status-rejected { background: #fdecea; color: #9d2e26; }

/* Editor článku */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.5rem;
    background: #f7f5f2;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.editor-toolbar button {
    padding: 0.35rem 0.6rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #2b2b2b;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
}

.editor-toolbar button:hover {
    background: #f0e2d8;
    color: #2b2b2b;
}

.editor-area {
    min-height: 320px;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    padding: 1rem 1.15rem;
    background: #fff;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.editor-area:focus {
    outline: 2px solid #a9746e;
    outline-offset: -1px;
}

.editor-area:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
}

.editor-area img { max-width: 100%; height: auto; border-radius: 6px; }

.editor-submit {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row label {
    flex: 1;
    min-width: 200px;
}

/* Modal výběru fotky z galerie */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.gallery-modal[hidden] { display: none; }

.gallery-modal-box {
    background: #fff;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #eee;
}

.gallery-modal-close {
    border: none;
    background: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.gallery-modal-grid {
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.6rem;
}

.gallery-modal-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-modal-grid img:hover {
    border-color: #a9746e;
}

.admin-reject-form {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.admin-reject-form input {
    padding: 0.3rem 0.45rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font: inherit;
    font-size: 0.82rem;
    width: 130px;
}

/* Stránka pro hosty – správa (veřejná stránka má vlastní samostatný
   /assets/wedding-site.css a tyto třídy nepoužívá). */
.wsite-status {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}

.wsite-hero-preview {
    max-width: 320px;
    margin-top: 0.5rem;
    border-radius: 8px;
}

.wsite-lang-list {
    list-style: none;
    padding: 0;
    max-width: 480px;
}

.wsite-lang-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee6dd;
}

.wsite-lang-list li form {
    margin-left: auto;
}

.wsite-add-lang {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.75rem;
}

.wsite-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1.5rem;
}

.wsite-lang-switch a {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e0d8;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.88rem;
}

.wsite-lang-switch a.active {
    background: #a9746e;
    border-color: #a9746e;
    color: #fff;
}

.wsite-text-form h2 {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee6dd;
}

.wsite-text-form h2:first-of-type {
    margin-top: 0.5rem;
    padding-top: 0;
    border-top: none;
}

.editor-area-sm {
    min-height: 110px;
}

.wsite-import-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.wsite-import-item {
    display: block;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.82rem;
}

.wsite-import-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.3rem;
}

.wsite-import-item input {
    margin-right: 0.3rem;
}

.wsite-photo-actions {
    display: flex;
    gap: 0.3rem;
    padding: 0.4rem;
}

.wsite-photo-actions form {
    flex: 1;
}

.wsite-photo-actions button {
    width: 100%;
    padding: 0.35rem;
    border: none;
    border-radius: 4px;
    background: #f0e2d8;
    cursor: pointer;
}

.wsite-photo-actions .photo-delete {
    background: #fdecea;
    color: #9d2e26;
}

.wsite-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.wsite-people-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.wsite-people-card img,
.wsite-people-noimg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.6rem;
    background: #f0e2d8;
}

.wsite-people-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.wsite-people-card form {
    margin-top: 0.6rem;
}

.wsite-schedule-list {
    list-style: none;
    padding: 0;
    max-width: 640px;
}

.wsite-schedule-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee6dd;
}

.wsite-schedule-time {
    color: #a9746e;
    margin-right: 0.5rem;
}

.wsite-schedule-empty {
    color: #6b6b6b;
    border-bottom: none !important;
}

.wsite-couple-edit {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0.75rem 0 1.25rem;
}

.wsite-couple-edit-col {
    flex: 1;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem;
}

.wsite-couple-preview {
    max-width: 140px;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
}

.wsite-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.5rem 0 1.5rem;
    max-width: 640px;
}

.wsite-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 84px;
    font-size: 0.72rem;
    text-align: center;
    color: #5a5450;
    cursor: pointer;
}

.wsite-color-swatch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wsite-color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--swatch);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.wsite-color-swatch input:checked + .wsite-color-dot {
    box-shadow: 0 0 0 2px #a9746e;
}

.wsite-color-swatch input:disabled:not(:checked) {
    cursor: not-allowed;
}

.wsite-color-swatch input:disabled:not(:checked) + .wsite-color-dot {
    opacity: 0.35;
}

.wsite-color-name {
    line-height: 1.2;
}

/* Administrace */
.admin-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0.75rem 0 1.5rem;
}

.admin-tabs a {
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e0d8;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.92rem;
}

.admin-tabs a.active {
    background: #a9746e;
    border-color: #a9746e;
    color: #fff;
}

.stats-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 140px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e5e0d8;
    margin-bottom: 0.5rem;
    overflow-x: auto;
}

.stats-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1 0 20px;
    height: 100%;
}

.stats-bar {
    width: 100%;
    max-width: 20px;
    min-height: 1px;
    background: #a9746e;
    border-radius: 4px 4px 0 0;
}

.stats-bar-label {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #6b6b6b;
    white-space: nowrap;
    height: 12px;
}

.admin-search {
    flex: 1 1 220px;
    min-width: 180px;
    padding: 0.45rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
}

.admin-table td {
    vertical-align: top;
}

.admin-row-inactive {
    opacity: 0.55;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 170px;
}

.admin-credit-form {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.admin-credit-form input {
    padding: 0.3rem 0.45rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font: inherit;
    font-size: 0.85rem;
}

.admin-credit-form input[name=amount] { width: 90px; }
.admin-credit-form input[name=note] { width: 120px; }

.admin-text-cell {
    max-width: 320px;
    white-space: normal;
    overflow-wrap: break-word;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-photo {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
}

.admin-photo img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.admin-photo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
}

/* Ověřený dodavatel */
.verified-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #1e6b3c;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    vertical-align: middle;
    margin-left: 0.35rem;
    letter-spacing: 0.02em;
}

/* Úvodní stránka */
.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1.05rem;
}

.home-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    background: linear-gradient(135deg, #fbf4ef, #f3e7de);
    border-radius: 14px;
    margin-bottom: 2rem;
}

.home-hero h1 {
    font-size: 2.3rem;
    margin: 0 0 0.75rem;
    color: #7a4f49;
}

.home-hero p {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: #5a5450;
}

.home-hero-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.home-duo-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.5rem;
}

.home-duo-card h2 {
    margin-top: 0;
}

.home-list {
    line-height: 1.7;
    padding-left: 1.1rem;
    margin: 0 0 1.25rem;
}

.home-section {
    margin-bottom: 2.5rem;
}

.req-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0;
}

.req-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.12s;
}

.req-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.req-card-cat {
    font-weight: 700;
    color: #2b2b2b;
}

.req-card-date {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin: 0.2rem 0;
}

.req-card-budget {
    color: #a9746e;
    font-weight: 600;
}

/* Dashboard přihlášených */
.dash-weddings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.dash-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.25rem 1.4rem;
}

.dash-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dash-card-head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.dash-date {
    font-size: 0.9rem;
    color: #a9746e;
    font-weight: 600;
    white-space: nowrap;
}

.dash-stats {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    font-size: 0.92rem;
    color: #5a5450;
}

.dash-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dash-empty {
    max-width: 560px;
}

.dash-credit {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.dash-credit-value {
    font-size: 1.9rem;
    font-weight: 700;
    color: #a9746e;
    margin: 0.15rem 0 0.6rem;
}

.dash-offers {
    list-style: none;
    padding: 0;
    max-width: 560px;
}

.dash-offers li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee6dd;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Patička webu */
.site-footer {
    margin-top: 3rem;
    background: #2f2b2a;
    color: #d8cfc9;
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem 2rem;
}

.footer-heading {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a9746e;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: #d8cfc9;
    text-decoration: none;
    padding: 0.22rem 0;
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand-col p {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.5;
}

.footer-cta {
    color: #fff !important;
    font-weight: 600;
}

.site-footer-bottom {
    border-top: 1px solid #45403e;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: #9a908a;
}

/* Statické stránky */
.how-steps {
    max-width: 720px;
    line-height: 1.6;
}

.how-steps li {
    margin-bottom: 0.6rem;
}

.faq-list {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item p {
    margin: 0.6rem 0 0;
    line-height: 1.55;
}

.contact-box,
.legal-text {
    max-width: 720px;
    line-height: 1.6;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    padding: 0.3rem 0;
}

.legal-text h2 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.blog-teasers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.blog-teaser {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
}

.blog-teaser h2 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.4rem;
}

.blog-teaser-tag {
    display: inline-block;
    background: #f0e2d8;
    color: #7a4f49;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
}

/* Free nástroje */
.signature-preview {
    font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
    font-size: 2.6rem;
    color: #7a4f49;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    margin: 1rem 0 1.5rem;
}

.variant-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 640px;
}

.variant-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.variant-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.variant-card {
    padding: 1rem 1.15rem;
}

.variant-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b6b6b;
}

.variant-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0.35rem 0;
    line-height: 1.25;
}

.variant-card p {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
}

.card-preview {
    margin: 0 0 1.25rem;
    max-width: 600px;
}

.card-preview img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e5e0d8;
    display: block;
}

.card-preview figcaption {
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.variant-num {
    font-weight: 700;
    color: #a9746e;
    margin-right: 0.35rem;
}

.variant-joke {
    max-width: 640px;
    background: #faf6f0;
    border-style: dashed;
}

/* Sdílení */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1rem;
}

.share-label {
    color: #6b6b6b;
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.share-btn {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.share-fb { background: #1877f2; }
.share-x { background: #111; }
.share-wa { background: #25d366; }
.share-copy { background: #a9746e; }
.share-btn:hover { opacity: 0.9; }

/* Reklamní patička nástrojů */
.tool-footer {
    margin-top: 2.5rem;
    padding: 1.1rem 1.35rem;
    background: linear-gradient(135deg, #a9746e, #8a5b56);
    color: #fff;
    border-radius: 10px;
}

.tool-footer-brand {
    font-weight: 700;
    font-size: 1.15rem;
    margin-right: 0.4rem;
}

.tool-footer a {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.weather-verdict {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.weather-pct {
    font-size: 2.4rem;
    font-weight: 700;
    color: #a9746e;
}

.weather-verdict p {
    margin: 0.4rem 0 0;
    font-size: 1.05rem;
}

.weather-strip {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 80px;
    padding: 0.5rem 0.25rem 0;
}

.weather-bar {
    flex: 1;
    max-width: 22px;
    border-radius: 3px 3px 0 0;
}

.weather-dry { background: #e8d9c8; }
.weather-light { background: #b9d3e8; }
.weather-rain { background: #4a82b0; }

.wlegend {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 0.15rem;
}

.wlegend-dry { background: #e8d9c8; }
.wlegend-light { background: #b9d3e8; }
.wlegend-rain { background: #4a82b0; }

.tool-cta {
    margin-top: 2rem;
}

/* Recenze dodavatelů */
.stars {
    color: #d8c9b0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.stars .star.on {
    color: #e8a838;
}

.stars-lg {
    font-size: 1.3rem;
}

.vendor-rating {
    margin: 0.25rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.vendor-rating strong {
    color: #a9746e;
}

.vendor-card-rating {
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
    color: #6b6b6b;
}

.reviews {
    margin-top: 2.5rem;
    max-width: 760px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.review-form {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    max-width: none;
}

.review-form h3 {
    margin-top: 0;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.review-card-head {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.review-author {
    font-weight: 600;
}

.review-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #1e6b3c;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.review-body {
    margin: 0.5rem 0 0;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.review-response {
    margin-top: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: #f7f5f2;
    border-left: 3px solid #a9746e;
    border-radius: 0 6px 6px 0;
}

.review-response p {
    margin: 0.25rem 0 0;
    white-space: pre-wrap;
}

.review-respond-form {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.review-respond-form textarea {
    flex: 1;
    min-width: 200px;
    padding: 0.4rem 0.55rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: inherit;
    font-size: 0.9rem;
}

/* Svatební checklist */
.checklist-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.checklist-progress {
    color: #a9746e;
    font-weight: 600;
}

.checklist-section {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
    color: #7a4f49;
}

.checklist-list {
    display: flex;
    flex-direction: column;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.5rem;
}

.checklist-item.done {
    background: #f4f8f4;
}

.checklist-item.done .checklist-title {
    text-decoration: line-through;
    color: #6b6b6b;
}

.check-btn {
    width: 26px;
    height: 26px;
    border: 2px solid #a9746e;
    border-radius: 6px;
    background: #fff;
    color: #2e7d32;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.checklist-item.done .check-btn {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.checklist-body {
    flex: 1;
    min-width: 0;
}

.checklist-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.checklist-title {
    font-weight: 500;
}

.wedz-tag {
    font-size: 0.8rem;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    text-decoration: none;
}

.wedz-confirmed {
    background: #e6f4ea;
    color: #1e6b3c;
}

.wedz-confirmed a {
    color: #1e6b3c;
    font-weight: 600;
}

.wedz-requested {
    background: #eef4f8;
}

.wedz-requested a {
    color: #2b5b7a;
    text-decoration: none;
}

.wedz-cta {
    background: #a9746e;
    color: #fff;
}

.wedz-cta:hover {
    background: #935e58;
}

.checklist-detail-form {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.checklist-price {
    width: 110px;
}

.checklist-note {
    flex: 1;
    min-width: 160px;
}

.checklist-detail-form input {
    padding: 0.35rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: inherit;
    font-size: 0.9rem;
}

/* Kredity */
.credit-balance {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.credit-balance strong {
    font-size: 1.6rem;
    color: #a9746e;
}

.credit-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.credit-preset {
    padding: 0.5rem 1.1rem;
    border: 1px solid #a9746e;
    border-radius: 999px;
    background: #fff;
    color: #a9746e;
    font: inherit;
    cursor: pointer;
}

.credit-preset:hover,
.credit-preset.active {
    background: #a9746e;
    color: #fff;
}

.credit-topup-form {
    max-width: 480px;
}

.referral-box {
    background: #eef4f8;
    border: 1px solid #d5e2ec;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    max-width: 640px;
}

.credit-table .num {
    text-align: right;
    white-space: nowrap;
}

.credit-plus {
    color: #2e7d32;
    font-weight: 600;
}

.credit-minus {
    color: #9d2e26;
    font-weight: 600;
}

/* Moje nabídky */
.mine-offer-line {
    margin: 0.4rem 0 0;
}

.mine-offer-read {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
}

/* ---- Centrum chatu ---- */
.chat-center {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1rem;
    align-items: start;
}

.chat-center-title {
    margin: 0 0 0.6rem;
    font-size: 1.3rem;
}

.chat-list-pane,
.chat-content-pane {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 0.85rem;
}

.chat-content-pane {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

.chat-search {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    font: inherit;
}

.chat-list {
    display: flex;
    flex-direction: column;
    max-height: 65vh;
    overflow-y: auto;
}

.chat-list-item {
    display: block;
    padding: 0.6rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0ece6;
}

.chat-list-item:hover {
    background: #f7f5f2;
}

.chat-list-item.active {
    background: #f0e2d8;
}

.chat-list-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.chat-list-title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list-sub {
    font-size: 0.8rem;
    color: #6b6b6b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.15rem;
}

.chat-type-tag {
    display: inline-block;
    background: #eef4f8;
    color: #2b5b7a;
    font-size: 0.7rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.chat-content-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e5e0d8;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
}

.chat-content-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.chat-back {
    display: none;
    color: #a9746e;
    text-decoration: none;
    font-size: 1.3rem;
}

.chat-center .chat-thread {
    flex: 1;
    max-height: 52vh;
    overflow-y: auto;
    margin-bottom: 0.6rem;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.chat-form textarea {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    resize: vertical;
}

.chat-empty {
    text-align: center;
    padding: 3rem 1rem;
}

@media (max-width: 700px) {
    .chat-center {
        grid-template-columns: 1fr;
    }

    .chat-center.has-selection .chat-list-pane {
        display: none;
    }

    .chat-center:not(.has-selection) .chat-content-pane {
        display: none;
    }

    .chat-back {
        display: inline-block;
    }
}
