:root {
    --brand: #8ccbb0;
    --brand-strong: #5aa984;
    --brand-dark: #17372d;
    --ink: #16201d;
    --muted: #7a8580;
    --line: #e5e9e4;
    --soft: #f4f7f2;
    --panel: #fbfaf5;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(20, 34, 29, .10);
    --shadow-sm: 0 12px 34px rgba(20, 34, 29, .07);
    --radius: 28px;
}

* { box-sizing: border-box; }

body {
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--soft);
}

a { text-decoration: none; }

.guest-bg {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(140, 203, 176, .42), transparent 30%),
        radial-gradient(circle at 85% 0%, rgba(221, 232, 202, .72), transparent 28%),
        linear-gradient(135deg, #eef5ec 0%, #fbfaf5 46%, #eef3e8 100%);
}

.app-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 8%, rgba(140, 203, 176, .32), transparent 26%),
        radial-gradient(circle at 96% 0%, rgba(226, 236, 212, .95), transparent 29%),
        #eff4ee;
}

.text-brand { color: var(--brand-strong) !important; }

.btn,
.form-control,
.form-select,
.card,
.alert { border-radius: 18px; }

.btn {
    font-weight: 700;
    padding: .72rem 1.05rem;
}

.btn-primary,
.btn-brand {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 12px 25px rgba(23, 55, 45, .18);
}

.btn-primary:hover,
.btn-brand:hover {
    background: #0e241d;
    border-color: #0e241d;
    color: #fff;
}

.btn-outline-primary {
    border-color: rgba(23, 55, 45, .22);
    color: var(--brand-dark);
    background: rgba(255,255,255,.45);
}

.btn-outline-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-secondary,
.btn-outline-danger {
    border-radius: 999px;
}

.btn-light,
.btn-soft {
    background: #f4f7f2;
    border: 1px solid var(--line);
    color: var(--ink);
}

.btn-soft:hover,
.btn-light:hover {
    background: #e9f0e7;
    border-color: #d9e3d8;
}

.form-control,
.form-select {
    border: 1px solid #dfe6de;
    padding: .84rem 1rem;
    background-color: rgba(255,255,255,.86);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-strong);
    box-shadow: 0 0 0 .25rem rgba(140, 203, 176, .22);
}

.form-label {
    font-weight: 700;
    font-size: .9rem;
    color: #35433e;
}

.badge {
    border-radius: 999px;
    padding: .56em .8em;
    font-weight: 700;
}

.bg-primary-subtle { background: #e8f4ec !important; }
.text-primary { color: #3d8b68 !important; }

.app-shell {
    width: min(1520px, calc(100% - 28px));
    min-height: calc(100vh - 28px);
    margin: 14px auto;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 18px;
}

.app-sidebar {
    position: sticky;
    top: 14px;
    height: calc(100vh - 28px);
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 34px;
    background: rgba(251, 250, 245, .82);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    color: var(--ink);
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #17372d, #2f765c);
    color: #fff;
    font-weight: 900;
    letter-spacing: -.08em;
    box-shadow: 0 16px 30px rgba(23,55,45,.22);
}

.sidebar-brand strong,
.sidebar-brand small { display: block; }
.sidebar-brand strong { font-size: 1.05rem; letter-spacing: -.03em; }
.sidebar-brand small { color: var(--muted); font-size: .78rem; }

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.nav-pill {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: .7rem .9rem;
    border-radius: 18px;
    color: #5d6964;
    font-weight: 750;
    transition: .18s ease;
}

.nav-pill span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff4ee;
    color: #557063;
}

.nav-pill:hover,
.nav-pill.active {
    background: #17372d;
    color: #fff;
    transform: translateY(-1px);
}

.nav-pill:hover span,
.nav-pill.active span {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 12px;
    padding-top: 18px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.avatar-dot {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6f3ec;
    color: #2f765c;
    font-weight: 900;
}

.user-chip strong,
.user-chip small { display: block; }
.user-chip strong { font-size: .92rem; }
.user-chip small { color: var(--muted); font-size: .78rem; }

.app-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.topbar,
.content-wrap {
    border-radius: 34px;
    background: rgba(251, 250, 245, .78);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.topbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
}

.topbar-eyebrow {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 900;
}

.topbar-title {
    font-weight: 900;
    font-size: 1.34rem;
    letter-spacing: -.04em;
}

.top-search {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}

.top-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: .36rem .8rem;
    color: var(--ink);
}

.top-search button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .72rem .92rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 800;
    color: #52605b;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #50b978;
    box-shadow: 0 0 0 6px rgba(80,185,120,.12);
}

.content-wrap {
    padding: 24px;
}

.soft-alert {
    border: 0;
    box-shadow: none;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.page-kicker {
    color: var(--brand-strong);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin-bottom: .35rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.07em;
    margin: 0;
}

.page-subtitle {
    color: var(--muted);
    margin: .72rem 0 0;
    max-width: 640px;
}

.card,
.hero-card,
.mini-card,
.glass-card {
    border: 1px solid rgba(229, 233, 228, .88) !important;
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,.84);
}

.glass-card,
.card {
    border-radius: var(--radius) !important;
}

.card-body { border-radius: var(--radius); }
.card-footer { border-radius: 0 0 var(--radius) var(--radius); }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    gap: 18px;
}

.hero-dashboard {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    padding: 30px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 85% 0%, rgba(140, 203, 176, .45), transparent 34%),
        linear-gradient(135deg, #fbfaf5 0%, #eef5ec 100%);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: var(--shadow);
}

.hero-dashboard::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -92px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(23,55,45,.11) 0 9deg, transparent 9deg 18deg);
    opacity: .55;
}

.hero-dashboard > * { position: relative; z-index: 1; }

.hero-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .52rem .78rem;
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(255,255,255,.88);
    color: #466056;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-dashboard h1 {
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    line-height: .9;
    letter-spacing: -.09em;
    font-weight: 950;
    max-width: 730px;
    margin-bottom: 18px;
}

.hero-dashboard p {
    color: #65736d;
    font-size: 1.05rem;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.stat-box,
.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px !important;
    padding: 1.25rem;
    min-height: 138px;
    background: #fff;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm);
}

.stat-card::after,
.stat-box::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #edf6ef;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #edf6ef;
    color: #386c54;
    font-weight: 900;
    margin-bottom: 16px;
}

.stat-box span,
.stat-card span {
    display: block;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.stat-box strong,
.stat-card strong {
    display: block;
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.06em;
}

.metric-note {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
    padding: .28rem .5rem;
    border-radius: 999px;
    background: #f2f6ef;
    color: #5d6b65;
    font-size: .75rem;
    font-weight: 800;
}

.side-stack {
    display: grid;
    gap: 18px;
}

.subscription-card {
    padding: 24px;
    border-radius: 34px;
    background: #17372d;
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.subscription-card::after {
    content: "";
    position: absolute;
    right: -54px;
    top: -54px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(140,203,176,.22);
}

.subscription-card .badge { background: rgba(255,255,255,.14); color: #fff; }
.subscription-card p { color: rgba(255,255,255,.74); }

.icon-circle {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border-radius: 20px;
    font-size: 1.35rem;
}

.quick-btn {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: .95rem 1rem;
    font-weight: 850;
    background: #fff;
}

.quick-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.quick-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef6ef;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.activity-item:last-child { border-bottom: 0; }
.activity-item:hover { color: var(--brand-dark); }

.empty-state {
    text-align: center;
    padding: 46px 24px;
}

.empty-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: #edf6ef;
    color: #386c54;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: #78857f;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--line);
    padding: 1rem .9rem;
}

.table > :not(caption) > * > * {
    padding: 1rem .9rem;
    border-color: #edf0eb;
}

.table tbody tr:hover {
    background: rgba(237,246,239,.48);
}

.table-light { --bs-table-bg: #f3f7f1; }

.hero-card {
    border-radius: 34px;
    padding: 2rem;
}

.mini-card {
    border-radius: 22px;
    padding: 1rem 1.1rem;
    font-weight: 850;
}

.guest-nav {
    background: transparent !important;
    border: 0 !important;
}

.guest-nav .navbar-brand {
    color: var(--ink) !important;
    letter-spacing: -.04em;
}

.landing-hero {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    padding: 52px 0;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.88);
    color: #4f6b60;
    font-weight: 900;
}

.landing-title {
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    line-height: .9;
    letter-spacing: -.095em;
    font-weight: 950;
    margin: 20px 0;
}

.landing-title span { color: #4f9f76; }

.landing-copy {
    color: #64716b;
    max-width: 620px;
    font-size: 1.12rem;
}

.mock-dashboard {
    padding: 20px;
    border-radius: 36px;
    background: rgba(251,250,245,.78);
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: var(--shadow);
}

.mock-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.mock-search {
    width: 46%;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}

.mock-chart {
    min-height: 180px;
    border-radius: 26px;
    background:
        linear-gradient(to top, rgba(140,203,176,.22) 0 28%, transparent 28% 100%),
        repeating-linear-gradient(to right, transparent 0 12%, rgba(23,55,45,.09) 12% 14%, transparent 14% 16%),
        #fff;
    border: 1px solid var(--line);
}

.auth-card {
    border-radius: 34px !important;
    background: rgba(251,250,245,.82);
    border: 1px solid rgba(255,255,255,.88) !important;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

@media (max-width: 1180px) {
    .app-shell { grid-template-columns: 1fr; }
    .app-sidebar {
        position: static;
        height: auto;
    }
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .nav-pill { flex: 0 0 auto; }
    .sidebar-footer { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .app-shell { width: min(100% - 12px, 1520px); margin: 6px auto; gap: 8px; }
    .app-sidebar,
    .topbar,
    .content-wrap { border-radius: 24px; }
    .app-sidebar { padding: 16px; }
    .topbar { align-items: flex-start; flex-direction: column; }
    .top-search { width: 100%; max-width: none; }
    .content-wrap { padding: 16px; }
    .page-head { align-items: flex-start; flex-direction: column; }
    .stat-grid { grid-template-columns: 1fr; }
    .hero-dashboard { padding: 22px; border-radius: 26px; }
    .hero-dashboard h1 { font-size: 2.55rem; }
    .landing-hero { padding: 28px 0; }
}
.fw-black { font-weight: 950 !important; }
.min-vh-75 { min-height: 75vh; }

.workorder-show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    gap: 18px;
}

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

.detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.detail-list > div:last-child { border-bottom: 0; }
.detail-list span { color: var(--muted); font-weight: 800; }
.detail-list strong { text-align: right; }
.detail-list.compact > div { padding: 9px 0; }

.soft-box {
    min-height: 72px;
    padding: 16px;
    border-radius: 22px;
    background: #f5f8f2;
    border: 1px solid var(--line);
    color: #394742;
}

.print-body {
    background: #eef2ed;
    color: #17211d;
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 24px;
}

.print-toolbar {
    width: min(100%, 1040px);
    margin: 0 auto 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.print-toolbar a,
.print-toolbar button {
    border: 0;
    border-radius: 999px;
    background: #17372d;
    color: #fff;
    padding: 12px 18px;
    font-weight: 850;
    cursor: pointer;
}

.print-toolbar a { background: #fff; color: #17372d; border: 1px solid #dce6dc; }

.print-page {
    width: min(100%, 1040px);
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.print-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e7ece5;
    margin-bottom: 24px;
}

.print-brand {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eaf5ed;
    color: #2f765c;
    padding: 7px 11px;
    font-weight: 950;
    margin-bottom: 12px;
}

.print-header h1 {
    font-size: 44px;
    line-height: .95;
    letter-spacing: -.07em;
    margin: 0 0 8px;
}

.print-header p { margin: 0; color: #65736d; font-weight: 700; }

.print-status {
    min-width: 210px;
    align-self: flex-start;
    padding: 18px;
    border-radius: 20px;
    background: #17372d;
    color: #fff;
    text-align: right;
}

.print-status span { display: block; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.print-status strong { display: block; margin-top: 5px; font-size: 18px; }

.print-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.print-box {
    border: 1px solid #e7ece5;
    border-radius: 22px;
    padding: 20px;
    background: #fbfcfa;
}

.print-box h2 {
    margin: 0 0 12px;
    color: #71807a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.print-box p { margin: 5px 0; color: #4b5954; }
.print-section { margin-top: 16px; }

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

.print-grid-4 span {
    display: block;
    color: #71807a;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 4px;
}

.print-grid-4 strong {
    display: block;
    font-size: 14px;
}

.print-text {
    min-height: 82px;
    line-height: 1.6;
    color: #35433e;
}

.print-signatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 74px;
}

.print-signatures span {
    display: block;
    border-bottom: 1.8px solid #1c2824;
    height: 32px;
    margin-bottom: 10px;
}

.print-signatures strong {
    display: block;
    text-align: center;
    color: #4e5b56;
}

.print-footer {
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid #e7ece5;
    color: #7a8580;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 992px) {
    .workorder-show-grid,
    .print-two-cols,
    .print-grid-4,
    .print-signatures { grid-template-columns: 1fr; }
    .print-page { padding: 24px; border-radius: 22px; }
    .print-header { flex-direction: column; }
    .print-status { text-align: left; width: 100%; }
}

@media print {
    @page { size: A4; margin: 12mm; }
    .no-print { display: none !important; }
    .print-body { background: #fff; padding: 0; }
    .print-page { width: 100%; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
    .print-box { break-inside: avoid; background: #fff; }
    .print-header { break-inside: avoid; }
}

/* v1.4 - munkalap csatolmányok */
.attachment-upload-form {
    display: flex;
    gap: .5rem;
    align-items: center;
    max-width: 520px;
}
.attachment-upload-form .form-control {
    min-width: 260px;
}
.attachment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.attachment-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.1rem;
    background: rgba(255,255,255,.86);
    padding: .85rem;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .8rem;
    align-items: start;
}
.attachment-thumb {
    width: 72px;
    height: 72px;
    border-radius: .9rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #eef7f0;
    color: #1f6f43;
    font-weight: 800;
    border: 1px solid rgba(31, 111, 67, .12);
}
.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.attachment-info {
    min-width: 0;
}
.attachment-info a {
    display: block;
    word-break: break-word;
    line-height: 1.25;
}
.attachment-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: .25rem;
}
.attachment-actions form {
    margin: 0;
}
.print-attachment-list {
    margin: 0;
    padding-left: 18px;
}
@media (max-width: 576px) {
    .attachment-upload-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .attachment-upload-form .form-control {
        min-width: 0;
    }
}

/* v1.5 - e-mail modul */
.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    gap: 1.25rem;
    align-items: start;
}
.email-send-form {
    display: flex;
    gap: .65rem;
    align-items: center;
    max-width: 560px;
}
.email-send-form .form-control {
    min-width: 260px;
}
@media (max-width: 992px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .email-send-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .email-send-form .form-control {
        min-width: 0;
    }
}

/* v1.6 - előfizetés modul */
.pricing-card {
    height: 100%;
    border: 1px solid rgba(20, 45, 35, .09);
    border-radius: 24px;
    padding: 1.35rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 16px 45px rgba(17, 37, 27, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(17, 37, 27, .10);
}
.pricing-card.active {
    border-color: rgba(57, 196, 90, .55);
    background: linear-gradient(135deg, rgba(232, 255, 238, .95), rgba(255,255,255,.86));
}
.price-line {
    font-size: 1.45rem;
    font-weight: 900;
    color: #102018;
    letter-spacing: -.03em;
}
.subscription-table .form-select,
.subscription-table .form-control {
    border-radius: 12px;
}
.subscription-row-form {
    margin: 0;
}

/* v1.7 - Stripe modul */
.stripe-settings-form code,
.glass-card code {
    display: block;
    padding: .72rem .85rem;
    border-radius: 14px;
    background: rgba(244, 247, 242, .95);
    border: 1px solid rgba(20, 45, 35, .08);
    color: #17372d;
    white-space: normal;
    word-break: break-word;
}
.stripe-info-box {
    height: 100%;
    border: 1px solid rgba(20, 45, 35, .08);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255,255,255,.72);
}
.stripe-info-box span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .35rem;
}
.stripe-info-box strong {
    display: block;
    color: var(--ink);
    font-weight: 900;
}
.pricing-card .btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

/* v1.8 rendszerállapot */
.health-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.health-hero.health-ok { background: linear-gradient(135deg, #f9fffb, #eef8f1); }
.health-hero.health-warning { background: linear-gradient(135deg, #fffdf5, #fbf4dd); }
.health-hero.health-error { background: linear-gradient(135deg, #fff8f7, #fae7e4); }

.health-hero-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 2rem;
    font-weight: 950;
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
}

.health-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 10px;
}

.health-summary-grid div {
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(229,233,228,.82);
}

.health-summary-grid span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.health-summary-grid strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 950;
    margin-top: 6px;
}

.system-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.health-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) minmax(150px, .7fr);
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.health-badge {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-weight: 950;
}

.health-ok .health-badge { background: #eaf7ee; color: #2f8f59; }
.health-warning .health-badge { background: #fff4d7; color: #9a6a00; }
.health-error .health-badge { background: #fee9e5; color: #b63224; }

.health-value {
    justify-self: end;
    font-weight: 850;
    color: #32413b;
    text-align: right;
}

@media (max-width: 1100px) {
    .system-status-grid { grid-template-columns: 1fr; }
    .health-hero { align-items: flex-start; flex-direction: column; }
    .health-summary-grid { width: 100%; }
}

@media (max-width: 720px) {
    .health-summary-grid { grid-template-columns: 1fr; }
    .health-row { grid-template-columns: 38px minmax(0, 1fr); }
    .health-value { grid-column: 2; justify-self: start; text-align: left; }
}

/* v1.9 értékesítő landing oldal */
html { scroll-behavior: smooth; }

.guest-nav.sticky-top {
    background: rgba(251, 250, 245, .74) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.65) !important;
}

.guest-menu-links .nav-link {
    color: #51615a;
    font-weight: 850;
    padding: .55rem .8rem !important;
}

.guest-menu-links .nav-link:hover { color: var(--brand-dark); }

.guest-nav-actions .btn { white-space: nowrap; }

.landing-section {
    position: relative;
    padding: 86px 0;
}

.landing-hero {
    min-height: calc(100vh - 92px);
    padding-top: 78px;
    overflow: hidden;
}

.landing-hero:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: 120px;
    border-radius: 50%;
    background: rgba(140,203,176,.34);
    filter: blur(4px);
    z-index: 0;
}

.landing-hero .container,
.landing-section .container { position: relative; z-index: 1; }

.landing-actions .btn-lg { padding: .95rem 1.35rem; }

.landing-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
}

.landing-proof-row div {
    border-radius: 22px;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(255,255,255,.84);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.landing-proof-row strong {
    display: block;
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: -.04em;
    color: var(--brand-dark);
}

.landing-proof-row span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: .82rem;
}

.landing-product-card {
    position: relative;
    padding: 18px;
}

.mock-dashboard-large {
    transform: rotate(-1deg);
}

.landing-mini-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.landing-mini-label,
.landing-mini-panel small {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: .82rem;
}

.landing-mini-panel strong {
    display: block;
    font-size: 1rem;
    font-weight: 950;
}

.floating-note {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.96);
    box-shadow: var(--shadow-sm);
    font-weight: 900;
    color: #26483b;
}

.note-one { right: 0; top: 56px; }
.note-two { left: 0; bottom: 56px; }

.landing-muted-section {
    background: rgba(255,255,255,.38);
    border-top: 1px solid rgba(255,255,255,.68);
    border-bottom: 1px solid rgba(255,255,255,.68);
}

.section-head {
    max-width: 780px;
}

.section-head h2,
.landing-section-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: .98;
    letter-spacing: -.075em;
    font-weight: 950;
    margin: 8px 0 12px;
}

.section-head p,
.landing-section-copy {
    color: var(--muted);
    font-size: 1.08rem;
}

.landing-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.landing-card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.landing-info-card,
.feature-card,
.faq-card,
.legal-card,
.pricing-note {
    background: rgba(251,250,245,.82);
    border: 1px solid rgba(255,255,255,.84);
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.landing-info-card {
    padding: 26px;
    min-height: 236px;
}

.landing-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 1.55rem;
    margin-bottom: 18px;
}

.landing-info-card h3,
.feature-card h3,
.faq-card h3,
.landing-step h3 {
    font-size: 1.1rem;
    font-weight: 950;
    letter-spacing: -.035em;
}

.landing-info-card p,
.feature-card p,
.faq-card p,
.landing-step p {
    color: var(--muted);
    margin-bottom: 0;
    font-weight: 650;
}

.features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card {
    padding: 24px;
    min-height: 230px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #e8f4ec;
    color: #337754;
    font-weight: 950;
    margin-bottom: 18px;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.landing-step {
    position: relative;
    min-height: 210px;
    padding: 26px;
    border-radius: 32px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: var(--shadow-sm);
}

.landing-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 17px;
    background: var(--brand-dark);
    color: #fff;
    font-weight: 950;
    margin-bottom: 18px;
}

.landing-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 11px;
}

.landing-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #33443e;
    font-weight: 850;
}

.landing-check-list li:before {
    content: "✓";
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    border-radius: 50%;
    background: #e8f4ec;
    color: #2f765c;
    font-weight: 950;
}

.pricing-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.pricing-landing-card {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: 32px;
    background: rgba(251,250,245,.82);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: var(--shadow-sm);
}

.pricing-landing-card.featured {
    background: linear-gradient(145deg, #17372d, #2f765c);
    color: #fff;
    transform: translateY(-12px);
}

.pricing-landing-card span {
    font-size: .82rem;
    font-weight: 950;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pricing-landing-card.featured span,
.pricing-landing-card.featured small { color: rgba(255,255,255,.75); }

.pricing-landing-card strong {
    display: block;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    letter-spacing: -.055em;
    font-weight: 950;
    margin-top: 10px;
}

.pricing-landing-card small {
    color: var(--muted);
    font-weight: 850;
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: .74rem;
    font-weight: 950;
}

.pricing-note {
    padding: 22px;
}

.faq-grid {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.faq-card { padding: 24px; }

.final-cta-card {
    padding: clamp(34px, 6vw, 72px);
    border-radius: 44px;
    background:
        radial-gradient(circle at 12% 20%, rgba(140,203,176,.28), transparent 32%),
        linear-gradient(145deg, rgba(251,250,245,.88), rgba(255,255,255,.74));
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: var(--shadow);
}

.final-cta-card h2 {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: .98;
    letter-spacing: -.08em;
    font-weight: 950;
}

.final-cta-card p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.1rem;
}

.landing-footer {
    padding: 32px 0 46px;
}

.landing-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(23,55,45,.12);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 950;
    letter-spacing: -.04em;
    margin-bottom: 8px;
}

.small-mark {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    font-size: .75rem;
}

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

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #52645d;
    font-weight: 850;
}

.footer-links a:hover { color: var(--brand-dark); }

.legal-section { min-height: 62vh; }
.legal-card { max-width: 880px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); }
.legal-card h1 { font-weight: 950; letter-spacing: -.06em; }

@media (max-width: 1180px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .guest-menu-links { padding: 16px 0 10px; }
    .guest-nav-actions { padding-bottom: 8px; }
    .landing-card-grid.three,
    .pricing-landing-grid { grid-template-columns: 1fr; }
    .pricing-landing-card.featured { transform: none; }
    .floating-note { display: none; }
}

@media (max-width: 768px) {
    .landing-section { padding: 56px 0; }
    .landing-proof-row,
    .features-grid,
    .landing-steps,
    .faq-grid { grid-template-columns: 1fr; }
    .landing-title { font-size: clamp(2.8rem, 15vw, 4.4rem); }
    .landing-product-card { padding: 0; }
    .mock-dashboard-large { transform: none; }
    .landing-footer-inner { align-items: flex-start; flex-direction: column; }
}


/* v1.9.2 - Poppins, finomabb betűvastagság, kulcs logó, kompakt nyomtatás */
body,
.print-body {
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand-mark {
    color: #fff;
    font-size: 0 !important;
    font-weight: 700;
}
.brand-icon-svg {
    width: 22px;
    height: 22px;
    display: block;
}
.small-mark .brand-icon-svg { width: 16px; height: 16px; }

.navbar-brand,
.sidebar-brand strong,
.footer-brand,
.guest-menu-links .nav-link,
.btn,
.form-label,
.badge {
    font-weight: 600;
}

.landing-title,
.section-head h2,
.landing-section-title,
.final-cta-card h2,
.legal-card h1 {
    font-weight: 700;
    letter-spacing: -0.045em;
}

.landing-title {
    font-size: clamp(2.45rem, 6.2vw, 4.95rem);
    line-height: 1.02;
}

.section-head h2,
.landing-section-title {
    line-height: 1.06;
}

.landing-copy,
.landing-section-copy,
.section-head p,
.landing-info-card p,
.feature-card p,
.faq-card p,
.landing-step p {
    font-weight: 400;
}

.landing-badge,
.landing-proof-row strong,
.landing-proof-row span,
.landing-mini-label,
.landing-mini-panel small,
.landing-mini-panel strong,
.floating-note,
.landing-info-card h3,
.feature-card h3,
.faq-card h3,
.landing-step h3,
.feature-card span,
.landing-step strong,
.landing-check-list li,
.pricing-landing-card span,
.pricing-landing-card strong,
.pricing-landing-card small,
.popular-badge,
.footer-links a {
    font-weight: 600;
}

.pricing-landing-card strong,
.stat-box strong {
    font-weight: 700;
}

.fw-black { font-weight: 700 !important; }

@media print {
    @page { size: A4; margin: 7mm; }

    html,
    body {
        width: 210mm;
        background: #fff !important;
    }

    .no-print { display: none !important; }

    .print-body {
        background: #fff !important;
        padding: 0 !important;
        font-size: 10.5px;
        line-height: 1.25;
        color: #17211d;
    }

    .print-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .print-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10mm !important;
        padding-bottom: 7px !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #dfe7df !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-brand {
        padding: 4px 8px !important;
        margin-bottom: 5px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
    }

    .print-header h1 {
        font-size: 26px !important;
        line-height: 1 !important;
        letter-spacing: -0.035em !important;
        margin-bottom: 4px !important;
    }

    .print-header p {
        font-size: 10.5px !important;
        font-weight: 500 !important;
    }

    .print-status {
        min-width: 115px !important;
        max-width: 135px !important;
        padding: 8px 10px !important;
        border-radius: 11px !important;
        text-align: right !important;
    }

    .print-status span {
        font-size: 8.5px !important;
        font-weight: 600 !important;
    }

    .print-status strong {
        font-size: 11px !important;
        margin-top: 3px !important;
    }

    .print-two-cols {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
    }

    .print-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .print-box {
        padding: 7px 9px !important;
        border-radius: 10px !important;
        background: #fff !important;
        border: 1px solid #dfe7df !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-section { margin-top: 7px !important; }

    .print-box h2 {
        font-size: 8.7px !important;
        margin-bottom: 4px !important;
        letter-spacing: .08em !important;
        font-weight: 600 !important;
    }

    .print-box p {
        margin: 1.5px 0 !important;
        font-size: 10px !important;
    }

    .print-box strong,
    .print-grid-4 strong {
        font-size: 10px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .print-grid-4 span {
        font-size: 8.5px !important;
        margin-bottom: 2px !important;
        font-weight: 600 !important;
    }

    .print-text {
        min-height: 24px !important;
        line-height: 1.28 !important;
        font-size: 10px !important;
    }

    .print-signatures {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
        margin-top: 18px !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-signatures span {
        height: 18px !important;
        margin-bottom: 5px !important;
        border-bottom: 1px solid #1c2824 !important;
    }

    .print-signatures strong {
        font-size: 10px !important;
        font-weight: 600 !important;
    }

    .print-footer {
        margin-top: 8px !important;
        padding-top: 5px !important;
        font-size: 8.5px !important;
    }

    .print-attachment-list {
        margin: 0 !important;
        padding-left: 16px !important;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


/* v1.9.3 - ügyfél oldali egyszerűsítés és kompakt munkalap nyomtatás */
@media print {
    @page { size: A4; margin: 5mm; }

    .print-body {
        font-size: 9.2px !important;
        line-height: 1.15 !important;
    }

    .print-page {
        width: 200mm !important;
        min-height: auto !important;
        padding: 0 !important;
    }

    .print-header {
        display: grid !important;
        grid-template-columns: 1fr 36mm !important;
        gap: 6mm !important;
        padding-bottom: 5px !important;
        margin-bottom: 6px !important;
    }

    .print-brand {
        padding: 2px 6px !important;
        margin-bottom: 3px !important;
        font-size: 8.5px !important;
    }

    .print-header h1 {
        font-size: 21px !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.025em !important;
    }

    .print-header p,
    .print-box p,
    .print-text,
    .print-box strong,
    .print-grid-4 strong {
        font-size: 9px !important;
    }

    .print-status {
        min-width: 0 !important;
        max-width: none !important;
        padding: 6px 7px !important;
        border-radius: 8px !important;
    }

    .print-status span { font-size: 7.5px !important; }
    .print-status strong { font-size: 9.5px !important; }

    .print-two-cols {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5px !important;
    }

    .print-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .print-box {
        padding: 5px 6px !important;
        border-radius: 7px !important;
        margin: 0 !important;
    }

    .print-section { margin-top: 5px !important; }

    .print-box h2 {
        font-size: 7.4px !important;
        margin-bottom: 3px !important;
        letter-spacing: .055em !important;
    }

    .print-box p { margin: 0.6px 0 !important; }
    .print-grid-4 span { font-size: 7.4px !important; margin-bottom: 1px !important; }
    .print-text { min-height: 13px !important; line-height: 1.18 !important; }

    .print-signatures {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
        margin-top: 12px !important;
    }

    .print-signatures span { height: 12px !important; margin-bottom: 3px !important; }
    .print-signatures strong { font-size: 8.5px !important; }

    .print-footer {
        margin-top: 5px !important;
        padding-top: 3px !important;
        font-size: 7.4px !important;
    }
}


/* v1.9.4 - mobil vízszintes görgetés javítás, tisztább landing mockup */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.guest-bg,
.landing-section,
.landing-hero {
    overflow-x: hidden;
}

.landing-product-card,
.mock-dashboard,
.mock-dashboard-large,
.final-cta-card,
.landing-card-grid,
.landing-steps,
.faq-grid,
.pricing-landing-grid {
    max-width: 100%;
    min-width: 0;
}

.mock-dashboard-large {
    transform: none !important;
}

.landing-product-card {
    padding: 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.mock-dashboard-large {
    padding: clamp(16px, 2.2vw, 24px);
    border-radius: 34px;
}

.mock-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    color: var(--brand-dark);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    font-size: .88rem;
}

.mock-top .page-kicker {
    margin-bottom: .25rem;
}

.landing-mini-panel {
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .landing-hero {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .container,
    .container-fluid {
        max-width: 100%;
    }

    .landing-title {
        font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
        letter-spacing: -0.055em;
    }

    .section-head h2,
    .landing-section-title,
    .final-cta-card h2 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: -0.045em;
    }

    .landing-proof-row {
        grid-template-columns: 1fr;
    }

    .mock-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .mock-status-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .landing-mini-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* v1.9.5 - finomított landing ikonok és admin magyarítás */
.sidebar-nav .nav-pill:first-child span,
.stat-icon.stat-icon-svg,
.landing-card-icon.service-icon {
    overflow: hidden;
}

.stat-icon.stat-icon-svg svg,
.landing-card-icon.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing-card-icon.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.92);
    margin-bottom: 22px;
    box-shadow: 0 18px 38px rgba(23,55,45,.08);
    position: relative;
}

.landing-card-icon.service-icon svg {
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 1;
}

.landing-card-icon.service-icon::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    right: -6px;
    bottom: -6px;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
}

.service-icon-cooling {
    color: #2d8066;
    background: linear-gradient(145deg, #e9fbf4, #ffffff 68%);
}

.service-icon-heating {
    color: #85623a;
    background: linear-gradient(145deg, #fff4df, #ffffff 70%);
}

.service-icon-general {
    color: #244c40;
    background: linear-gradient(145deg, #eef5ef, #ffffff 70%);
}

.service-card {
    position: relative;
    isolation: isolate;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: auto 20px 18px auto;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: rgba(140,203,176,.10);
    z-index: -1;
}

.service-card:hover .landing-card-icon.service-icon {
    transform: translateY(-2px);
}

.mock-dashboard-large .stat-icon.stat-icon-svg {
    color: #2d6b54;
}

@media (max-width: 768px) {
    .landing-card-icon.service-icon {
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
    .landing-card-icon.service-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* v2.0 - munkalap életút és ügyfél átvétel */
.status-main-badge {
    padding: .72rem 1rem;
    font-weight: 800;
}
.status-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    position: relative;
}
.status-step {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px 12px;
    background: rgba(255,255,255,.72);
    min-height: 92px;
    box-shadow: 0 10px 26px rgba(20,34,29,.04);
}
.status-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eef6ef;
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 10px;
}
.status-step strong {
    display: block;
    font-size: .88rem;
    line-height: 1.25;
}
.status-step.is-done {
    background: #edf8f0;
    border-color: #cdebd5;
}
.status-step.is-current {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 18px 45px rgba(23,55,45,.18);
}
.status-step.is-current span {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.acceptance-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: stretch;
}
.acceptance-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.acceptance-info > div {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 15px;
    background: rgba(255,255,255,.76);
}
.acceptance-info span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.acceptance-info strong {
    display: block;
    color: var(--ink);
}
.signature-preview {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}
.signature-preview img {
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
}
.signature-pad-wrap {
    border: 1px solid #dfe6de;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(23,55,45,.02);
}
.signature-pad-wrap canvas {
    display: block;
    width: 100%;
    height: 210px;
    touch-action: none;
    cursor: crosshair;
    background:
        linear-gradient(transparent calc(100% - 38px), rgba(23,55,45,.12) calc(100% - 37px), transparent calc(100% - 36px)),
        #fff;
}
@media (max-width: 1180px) {
    .status-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .status-timeline,
    .acceptance-summary,
    .acceptance-info { grid-template-columns: 1fr; }
    .status-step { min-height: auto; }
}

.print-signature-image {
    display: block;
    width: 100%;
    max-height: 72px;
    object-fit: contain;
    border-bottom: 1.8px solid #1c2824;
    padding-bottom: 4px;
    margin-bottom: 10px;
}
@media print {
    .print-header { padding-bottom: 10px; margin-bottom: 10px; }
    .print-header h1 { font-size: 30px; }
    .print-status { padding: 10px 12px; min-width: 160px; }
    .print-two-cols { gap: 10px; }
    .print-box { padding: 11px 13px; border-radius: 12px; }
    .print-box h2 { font-size: 10px; margin-bottom: 6px; }
    .print-box p { margin: 2px 0; font-size: 11px; }
    .print-section { margin-top: 8px; }
    .print-grid-4 { gap: 6px; }
    .print-grid-4 span { font-size: 9px; }
    .print-grid-4 strong { font-size: 10.5px; }
    .print-text { min-height: 38px; font-size: 11px; line-height: 1.35; }
    .print-signatures { margin-top: 26px; gap: 34px; }
    .print-signatures span { height: 22px; margin-bottom: 5px; }
    .print-signatures strong { font-size: 10.5px; }
    .print-footer { margin-top: 14px; padding-top: 8px; font-size: 10px; }
}

.accept-link-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(218, 245, 229, .78), rgba(255, 255, 255, .92));
    border: 1px solid rgba(23, 55, 45, .10);
}
.accept-link-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.customer-accept-page .card {
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(12px);
}
.public-workorder-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.public-workorder-summary > div {
    border: 1px solid rgba(23, 55, 45, .10);
    border-radius: 20px;
    padding: 16px;
    background: rgba(255,255,255,.72);
}
.public-workorder-summary span {
    display: block;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 6px;
}
.public-workorder-summary strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
}
.public-workorder-summary small {
    color: var(--muted);
}
.public-signature-pad canvas,
.signature-pad-wrap canvas {
    touch-action: none;
}
@media (max-width: 767.98px) {
    .accept-link-box,
    .public-workorder-summary {
        grid-template-columns: 1fr;
    }
    .accept-link-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* v2.1 több berendezés */
.equipment-mini-list {
    display: grid;
    gap: 14px;
}
.equipment-mini-card {
    border: 1px solid rgba(20, 60, 48, .10);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255,255,255,.72);
}
.print-equipment-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #edf2ea;
}
.print-equipment-row:last-child {
    border-bottom: 0;
}
.print-equipment-row span {
    display: block;
    font-size: 10px;
    color: #6b7567;
    font-weight: 700;
}
.print-equipment-row strong {
    display: block;
    font-size: 11px;
    color: #102018;
}
@media (max-width: 700px) {
    .print-equipment-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* v2.2 ellenőrzőlisták */
.checklist-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 12px;
}
.checklist-template-form,
.checklist-add-form {
    display: flex;
    gap: 10px;
    align-items: center;
}
.checklist-template-form .form-select,
.checklist-add-form .form-control {
    min-width: 0;
}
.checklist-items {
    display: grid;
    gap: 10px;
}
.checklist-item {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, .8fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(23, 55, 45, .10);
    background: rgba(255, 255, 255, .74);
}
.checklist-item.is-done {
    background: rgba(205, 235, 219, .44);
}
.checklist-check {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    font-weight: 700;
    color: var(--ink);
}
.checklist-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
}
.public-checklist-list,
.print-checklist-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}
.public-checklist-list li,
.print-checklist-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}
.public-checklist-list li small {
    grid-column: 2;
    color: var(--muted);
}
.print-checklist-list li {
    font-size: 11px;
    border-bottom: 1px solid #edf2ea;
    padding-bottom: 4px;
}
@media (max-width: 991.98px) {
    .checklist-toolbar,
    .checklist-item {
        grid-template-columns: 1fr;
    }
    .checklist-template-form,
    .checklist-add-form {
        flex-direction: column;
        align-items: stretch;
    }
}
@media print {
    .print-checklist-list {
        gap: 3px;
        margin: 0;
    }
    .print-checklist-list li {
        font-size: 10.5px;
        grid-template-columns: 20px minmax(0, 1fr);
    }
}

/* v2.3 anyagok + munkaidő */
.print-materials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
}
.print-materials-table th,
.print-materials-table td {
    border-bottom: 1px solid #edf2ea;
    padding: 5px 4px;
    text-align: left;
    vertical-align: top;
}
.print-materials-table th {
    color: #6b7567;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.print-materials-table tfoot th {
    color: #102018;
    font-size: 10.5px;
}
@media print {
    .print-materials-table th,
    .print-materials-table td {
        padding: 3px 4px;
        font-size: 9.8px;
    }
}

/* v2.3.1 - cégadatok, több berendezés áttekinthetőbb megjelenítés */
.print-equipment-list {
    display: grid;
    gap: 10px;
}
.print-equipment-item {
    border: 1px solid #e7ece5;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}
.print-equipment-item h3 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #2f765c;
}
.print-equipment-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border-bottom: 0;
}
.print-equipment-row span {
    display: block;
    margin-bottom: 3px;
}
.print-equipment-row strong {
    display: block;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

@media print {
    .print-equipment-list { gap: 4px !important; }
    .print-equipment-item {
        padding: 4px 5px !important;
        border-radius: 6px !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    .print-equipment-item h3 {
        font-size: 8.4px !important;
        margin-bottom: 3px !important;
    }
    .print-equipment-row {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
        padding: 0 !important;
    }
    .print-equipment-row span {
        font-size: 7.2px !important;
        margin-bottom: 1px !important;
    }
    .print-equipment-row strong {
        font-size: 8.6px !important;
        line-height: 1.16 !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 700px) {
    .print-equipment-row { grid-template-columns: 1fr 1fr; }
}

/* v2.3.2 - nyomtatási berendezésblokk olvashatóbb táblázatos megjelenítéssel */
.print-equipment-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.print-equipment-table th,
.print-equipment-table td {
    text-align: left;
    vertical-align: top;
    padding: 5px 6px;
    border-bottom: 1px solid #edf2ea;
    overflow-wrap: anywhere;
}
.print-equipment-table tr:last-child th,
.print-equipment-table tr:last-child td {
    border-bottom: 0;
}
.print-equipment-table th {
    width: 18%;
    color: #6b7567;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}
.print-equipment-table td {
    width: 32%;
    font-size: 12px;
    color: #102018;
    font-weight: 700;
}
@media print {
    .print-equipment-table th,
    .print-equipment-table td {
        padding: 3px 4px !important;
        font-size: 8.8px !important;
        line-height: 1.18 !important;
    }
    .print-equipment-table th {
        font-size: 7.2px !important;
    }
}

/* v2.4 - mobil finomítások */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
img, svg, canvas, video {
    max-width: 100%;
}
.brand-icon-svg {
    width: 1.35em;
    height: 1.35em;
}
@media (max-width: 991.98px) {
    .guest-nav .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .guest-nav .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(251,250,245,.96);
        border: 1px solid rgba(229,233,228,.95);
        box-shadow: var(--shadow-sm);
    }
    .guest-nav-actions {
        margin-top: 10px;
        width: 100%;
        flex-direction: column;
    }
    .guest-nav-actions .btn {
        width: 100%;
    }
    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 72px);
    }
    .navbar-brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 768px) {
    .landing-title {
        font-size: clamp(2.35rem, 14vw, 4.2rem);
        letter-spacing: -.075em;
    }
    .page-title {
        font-size: clamp(1.85rem, 11vw, 3rem);
        letter-spacing: -.055em;
    }
    .auth-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .auth-card {
        border-radius: 28px !important;
    }
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .app-sidebar {
        max-width: 100%;
        overflow: hidden;
    }
    .sidebar-nav {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .content-wrap,
    .topbar {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* v2.5 ajánlatkészítő */
.public-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.public-quote-page{min-height:100vh}
.quote-total-box{display:flex;justify-content:space-between;gap:16px;align-items:center;background:linear-gradient(135deg,#eef8f1,#fbfcf7);border:1px solid var(--line);border-radius:24px;padding:20px}
.quote-items-table input{min-width:110px}.quote-items-table td:first-child input{min-width:240px}
@media (max-width: 768px){.quote-total-box{display:block}.quote-total-box .text-end{text-align:left!important;margin-top:12px}.quote-items-table{min-width:760px}}

/* v2.5.1 - logo, mobil és nyomtatási finomítások */
.brand-mark .brand-icon-svg,
.brand-icon-svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    display: block !important;
    color: #ffffff !important;
}
.small-mark .brand-icon-svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
}
.brand-mark {
    flex: 0 0 auto;
}
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
}
.app-main,
.content-wrap,
.card,
.soft-box {
    min-width: 0;
}
@media (max-width: 991.98px) {
    .app-shell {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }
    .app-sidebar {
        position: relative;
        top: auto;
        height: auto;
        width: auto;
        margin: 10px;
    }
    .app-main {
        width: 100%;
        padding: 0 10px 16px;
    }
    .topbar,
    .content-wrap {
        width: 100%;
    }
    .auth-card,
    .public-quote-page .card {
        max-width: 100%;
    }
}
.print-equipment-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.print-equipment-table th,
.print-equipment-table td {
    padding: 4px 8px 4px 0;
    vertical-align: top;
    text-align: left;
    line-height: 1.28;
}
.print-equipment-table th {
    width: 17%;
    color: #6b7567;
    font-size: 10px;
    font-weight: 700;
}
.print-equipment-table td {
    width: 33%;
    color: #102018;
    font-size: 11px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
@media print {
    .print-equipment-table th,
    .print-equipment-table td {
        padding: 2px 5px 2px 0 !important;
        line-height: 1.18 !important;
    }
    .print-equipment-table th {
        font-size: 7.5px !important;
    }
    .print-equipment-table td {
        font-size: 8.8px !important;
    }
}

/* v2.5.3 - mobil kijelentkezés javítás */
@media (max-width: 1180px) {
    .sidebar-footer {
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(229, 233, 228, .95);
    }
    .sidebar-footer .user-chip {
        flex: 1 1 100%;
        width: 100%;
    }
    .sidebar-footer > a.btn,
    .sidebar-footer > form {
        flex: 1 1 calc(50% - 6px);
        min-width: 130px;
    }
    .sidebar-footer > form .btn {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .sidebar-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .sidebar-footer .user-chip {
        grid-column: 1 / -1;
    }
    .sidebar-footer .btn {
        min-height: 46px;
        padding: .65rem .85rem;
    }
}

@media (max-width: 420px) {
    .sidebar-footer {
        grid-template-columns: 1fr;
    }
}

/* v2.6 - riportok */
.report-bars {
    display: grid;
    gap: 12px;
}
.report-bar-row {
    display: grid;
    grid-template-columns: 118px minmax(120px, 1fr) 64px;
    gap: 12px;
    align-items: center;
}
.report-bar-date,
.report-bar-value {
    font-weight: 700;
    color: #34423c;
    font-size: .9rem;
}
.report-bar-value {
    text-align: right;
}
.report-bar-track {
    height: 14px;
    border-radius: 999px;
    background: #edf4ef;
    overflow: hidden;
    border: 1px solid rgba(18, 52, 43, .06);
}
.report-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #17372d, #67b894);
}
.mini-stat {
    border: 1px solid #e5e9e4;
    border-radius: 18px;
    padding: 16px 18px;
    background: #fffef9;
    min-height: 92px;
}
.mini-stat span {
    display: block;
    color: #6f7d76;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.mini-stat strong {
    display: block;
    color: #102018;
    font-size: 1.25rem;
    line-height: 1.2;
}
@media (max-width: 576px) {
    .report-bar-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .report-bar-value {
        text-align: left;
    }
}

/* v2.6.1 - stabil mobil nézet és A4 nyomtatás */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body,
.app-body,
.guest-bg,
.app-shell,
.app-main,
.app-sidebar,
.topbar,
.content-wrap,
.card,
.soft-box,
.glass-card,
.row,
[class*="col-"] {
    min-width: 0;
}

img,
svg,
canvas,
video,
iframe {
    max-width: 100%;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive > table {
    margin-bottom: 0;
}

.content-wrap td,
.content-wrap th,
.content-wrap p,
.content-wrap a,
.content-wrap strong,
.content-wrap small {
    overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
    .app-shell {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 10px auto !important;
        grid-template-columns: minmax(0, 1fr) !important;
        overflow: visible !important;
    }

    .app-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .sidebar-brand {
        margin-bottom: 16px;
    }

    .sidebar-nav {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        padding-bottom: 6px;
    }

    .sidebar-nav .nav-pill {
        flex: 0 0 auto !important;
        white-space: nowrap;
    }

    .sidebar-footer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(130px, .42fr) minmax(130px, .42fr);
        gap: 8px;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(229, 233, 228, .95);
    }

    .sidebar-footer .user-chip,
    .sidebar-footer > a.btn,
    .sidebar-footer > form {
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .sidebar-footer > form .btn {
        width: 100%;
        height: 100%;
    }

    .app-main,
    .topbar,
    .content-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .app-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 8px !important;
    }

    .app-sidebar {
        border-radius: 0 0 22px 22px !important;
        padding: 14px 12px !important;
    }

    .app-main {
        padding: 0 8px 12px !important;
    }

    .topbar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center !important;
        gap: 10px !important;
        padding: 14px !important;
        border-radius: 22px !important;
    }

    .topbar > div:first-child {
        min-width: 0;
    }

    .topbar-title {
        font-size: 1.15rem;
        overflow-wrap: anywhere;
    }

    .top-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        order: initial !important;
    }

    .top-search input {
        min-width: 0;
    }

    .topbar-actions {
        grid-column: 2;
        grid-row: 1;
        padding: .62rem .72rem;
        white-space: nowrap;
    }

    .content-wrap {
        padding: 14px !important;
        border-radius: 22px !important;
        overflow: hidden;
    }

    .content-wrap > .d-flex,
    .content-wrap .page-head {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    .content-wrap .btn,
    .content-wrap .form-control,
    .content-wrap .form-select,
    .content-wrap textarea,
    .content-wrap input {
        max-width: 100%;
    }

    .sidebar-footer {
        grid-template-columns: 1fr 1fr !important;
    }

    .sidebar-footer .user-chip {
        grid-column: 1 / -1;
    }

    .sidebar-footer .btn {
        min-height: 44px;
    }

    .quote-total-box {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .sidebar-footer {
        grid-template-columns: 1fr !important;
    }

    .sidebar-footer .user-chip {
        grid-column: auto;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 5mm;
    }

    html,
    body {
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .no-print {
        display: none !important;
    }

    .print-body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #17211d !important;
        font-size: 8.6px !important;
        line-height: 1.14 !important;
    }

    .print-page {
        width: 200mm !important;
        max-width: 200mm !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .print-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 8mm !important;
        margin: 0 0 5px !important;
        padding: 0 0 5px !important;
        border-bottom: 1px solid #dfe7df !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .print-brand {
        margin: 0 0 3px !important;
        padding: 3px 6px !important;
        font-size: 7.8px !important;
    }

    .print-header h1 {
        margin: 0 0 2px !important;
        font-size: 21px !important;
        line-height: 1 !important;
        letter-spacing: -.035em !important;
    }

    .print-header p {
        margin: 0 !important;
        font-size: 8.4px !important;
        line-height: 1.15 !important;
    }

    .print-status {
        width: 39mm !important;
        min-width: 39mm !important;
        max-width: 39mm !important;
        padding: 6px 7px !important;
        border-radius: 7px !important;
        text-align: right !important;
    }

    .print-status span {
        font-size: 6.7px !important;
        line-height: 1.1 !important;
    }

    .print-status strong {
        margin-top: 2px !important;
        font-size: 8.4px !important;
        line-height: 1.15 !important;
    }

    .print-two-cols {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5px !important;
    }

    .print-box {
        padding: 5px 7px !important;
        border-radius: 6px !important;
        background: #fff !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .print-box h2 {
        margin: 0 0 3px !important;
        font-size: 7px !important;
        line-height: 1.1 !important;
        letter-spacing: .06em !important;
    }

    .print-box p {
        margin: 1px 0 !important;
        font-size: 7.8px !important;
        line-height: 1.12 !important;
    }

    .print-section {
        margin-top: 5px !important;
    }

    .print-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .print-grid-4 span {
        margin-bottom: 1px !important;
        font-size: 6.7px !important;
        line-height: 1.1 !important;
    }

    .print-grid-4 strong {
        font-size: 7.8px !important;
        line-height: 1.12 !important;
    }

    .print-equipment-list {
        gap: 3px !important;
    }

    .print-equipment-item {
        padding: 3px 5px !important;
        border-radius: 5px !important;
    }

    .print-equipment-item h3 {
        margin: 0 0 2px !important;
        font-size: 7.4px !important;
        line-height: 1.1 !important;
    }

    .print-equipment-table th,
    .print-equipment-table td {
        padding: 1px 4px 1px 0 !important;
        line-height: 1.1 !important;
        border-bottom: 0 !important;
    }

    .print-equipment-table th {
        width: 17% !important;
        font-size: 6.4px !important;
    }

    .print-equipment-table td {
        width: 33% !important;
        font-size: 7.4px !important;
    }

    .print-materials-table th,
    .print-materials-table td {
        padding: 2px 3px !important;
        font-size: 7.2px !important;
        line-height: 1.1 !important;
    }

    .print-text {
        min-height: 0 !important;
        font-size: 7.8px !important;
        line-height: 1.18 !important;
    }

    .print-checklist-list,
    .print-attachment-list {
        margin: 0 !important;
        padding-left: 14px !important;
    }

    .print-checklist-list li,
    .print-attachment-list li {
        margin: 0 0 1px !important;
        font-size: 7.4px !important;
        line-height: 1.14 !important;
    }

    .print-signatures {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        margin-top: 11px !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .print-signatures span {
        height: 14px !important;
        margin-bottom: 3px !important;
    }

    .print-signatures strong {
        font-size: 7.4px !important;
    }

    .print-signature-image {
        max-height: 38px !important;
        margin-bottom: 3px !important;
        padding-bottom: 2px !important;
    }

    .print-footer {
        margin-top: 7px !important;
        padding-top: 4px !important;
        font-size: 6.8px !important;
        line-height: 1.1 !important;
    }
}

/* v2.7 - kibővített riportok / kimutatások */
.report-filter-card .btn-sm {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-stat small {
    display: block;
    margin-top: 6px;
    color: #829088;
    font-size: .76rem;
    line-height: 1.35;
}

.report-trend-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.report-trend-highlight {
    border: 1px solid #e7ece8;
    background: linear-gradient(180deg, #fbfdfb 0%, #f5faf6 100%);
    border-radius: 16px;
    padding: 14px 16px;
}

.report-trend-highlight span {
    display: block;
    font-size: .76rem;
    color: #6f7d75;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 6px;
}

.report-trend-highlight strong {
    display: block;
    font-size: 1.05rem;
    color: #153023;
    line-height: 1.2;
    margin-bottom: 4px;
}

.report-trend-highlight small {
    color: #6f7d75;
    font-size: .82rem;
}

.report-trend-table-wrap {
    max-height: 560px;
    overflow-y: auto;
}

.report-trend-table thead th {
    position: sticky;
    top: 0;
    background: #f8fbf8;
    z-index: 1;
}

.report-trend-table td,
.report-trend-table th {
    vertical-align: middle;
}

.report-trend-metric {
    min-width: 0;
}

.report-trend-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.report-trend-metric-top strong {
    color: #314039;
    font-size: .86rem;
    white-space: nowrap;
}

.report-trend-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef7f0;
    color: #2f7a4f;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-trend-badge-value {
    background: #f2f5f2;
    color: #5a685f;
}

.report-value-track {
    background: #f3f5f2;
}

.report-value-fill {
    opacity: .7;
}

.report-registry-line {
    min-height: 76px;
    border: 1px solid #e7ece8;
    background: #fbfdfb;
    border-radius: 16px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.report-registry-line span {
    color: #66746d;
    font-size: .84rem;
    font-weight: 600;
}

.report-registry-line strong {
    color: #13221b;
    font-size: 1.35rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .report-filter-card .d-flex .btn-sm {
        flex: 1 1 calc(50% - 8px);
    }

    .report-trend-highlights {
        grid-template-columns: 1fr;
    }

    .report-trend-table {
        min-width: 520px;
    }
}

@media (max-width: 420px) {
    .report-filter-card .d-flex .btn-sm {
        flex-basis: 100%;
    }

    .report-registry-line {
        min-height: 64px;
    }
}

/* v2.9 - elkülönített Stripe teszt / éles mód */
.stripe-mode-switch {
    display: inline-flex;
    gap: 8px;
    padding: 5px;
    border: 1px solid #e2e9e4;
    border-radius: 14px;
    background: #f7faf8;
}

.stripe-mode-option {
    position: relative;
    margin: 0;
}

.stripe-mode-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.stripe-mode-option span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 700;
    color: #607068;
    cursor: pointer;
    transition: .18s ease;
}

.stripe-mode-option.active span,
.stripe-mode-option:has(input:checked) span {
    background: #e8f5ec;
    color: #237044;
    box-shadow: 0 2px 8px rgba(35, 112, 68, .08);
}

.stripe-mode-live.active span,
.stripe-mode-live:has(input:checked) span {
    background: #fff0f0;
    color: #b33b3b;
}

.stripe-live-confirm {
    padding: 12px 14px 12px 38px;
    border-radius: 12px;
    background: #fff9ed;
    border: 1px solid #f2dfb9;
    color: #705927;
}

.stripe-mode-card {
    border-top: 3px solid #8fc6a3;
}

.stripe-live-card {
    border-top-color: #dc7777;
}

@media (max-width: 575.98px) {
    .stripe-mode-switch {
        width: 100%;
    }

    .stripe-mode-option {
        flex: 1 1 0;
    }

    .stripe-mode-option span {
        width: 100%;
        justify-content: center;
    }
}

/* v3.0 - előfizetés kezelése */
.subscription-manage-card {
    overflow: hidden;
}

.subscription-manage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.subscription-manage-actions .btn {
    min-height: 42px;
}

@media (max-width: 575.98px) {
    .subscription-manage-actions,
    .subscription-manage-actions form,
    .subscription-manage-actions .btn {
        width: 100%;
    }
}


/* v3.2 - gombok egységesítése + szakmás ellenőrzőlisták */
.content-wrap .btn,
.content-wrap button.btn,
.content-wrap a.btn {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.2;
}

.content-wrap .btn-sm {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: .9rem;
    padding-right: .9rem;
}

.admin-action-cell {
    white-space: nowrap;
    overflow-wrap: normal !important;
}

.admin-save-btn {
    min-width: 88px;
    flex: 0 0 auto;
}

.admin-status-form {
    min-width: 235px;
    justify-content: flex-end;
}

.admin-status-form .form-select {
    width: 135px !important;
    flex: 0 0 135px;
}

.checklist-filter-card .btn-sm {
    min-height: 36px;
}

.checklist-template-table {
    min-width: 1040px;
}

.checklist-template-table th:first-child,
.checklist-template-table td:first-child {
    min-width: 165px;
}

.checklist-template-table th:nth-child(2),
.checklist-template-table td:nth-child(2) {
    min-width: 205px;
}

.checklist-description-cell {
    min-width: 260px;
}

.checklist-template-table th:nth-child(4),
.checklist-template-table td:nth-child(4) {
    width: 110px;
    min-width: 110px;
    white-space: nowrap;
    overflow-wrap: normal !important;
}

.checklist-points-cell {
    vertical-align: middle;
}

.checklist-points-badge {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    min-width: 70px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f3f7f4;
    border: 1px solid #e0e9e3;
    color: #344b40;
    white-space: nowrap;
    line-height: 1;
}

.checklist-points-badge strong {
    font-size: .92rem;
    color: #163d2d;
}

.checklist-points-badge span {
    font-size: .73rem;
    font-weight: 700;
    color: #6f7f76;
}

.checklist-template-table th:nth-child(5),
.checklist-template-table td:nth-child(5) {
    width: 120px;
    min-width: 120px;
    white-space: nowrap;
}

.checklist-action-cell {
    min-width: 180px;
    white-space: nowrap;
}

.checklist-profession-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf5ef;
    color: #2f5c46;
    border: 1px solid #dce9df;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow-wrap: normal;
}

@media (max-width: 767.98px) {
    .admin-status-form {
        min-width: 220px;
    }

    .checklist-filter-card .d-flex {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: thin;
    }

    .checklist-filter-card .btn-sm {
        flex: 0 0 auto;
    }
}

/* v3.3 - Szerviznaptár */
.calendar-toolbar-card .form-label { margin-bottom: 6px; font-weight: 700; color: #53625a; }
.calendar-month-nav { display: flex; align-items: center; gap: 12px; }
.calendar-month-nav .btn { width: 38px; min-width: 38px; padding-left: 0; padding-right: 0; }
.calendar-month-nav h2 { min-width: 150px; text-align: center; }
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: #f7faf7;
    border-bottom: 1px solid #e7ece8;
}
.calendar-weekdays > div {
    padding: 13px 10px;
    text-align: center;
    color: #6d7b73;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.service-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: #edf1ed;
    gap: 1px;
}
.service-calendar-day {
    min-height: 154px;
    background: #fff;
    padding: 10px;
    min-width: 0;
}
.service-calendar-day.is-outside { background: #fafbfa; }
.service-calendar-day.is-outside .calendar-day-number { color: #b4bcb7; }
.service-calendar-day.is-today { box-shadow: inset 0 0 0 2px rgba(35, 120, 80, .28); background: #fbfefc; }
.calendar-day-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.calendar-day-number {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
    color: #425049;
    border-radius: 999px;
}
.is-today .calendar-day-number { background: #174c38; color: #fff; }
.calendar-today-label { font-size: .66rem; font-weight: 800; color: #2f7a4f; text-transform: uppercase; }
.calendar-day-events { display: grid; gap: 6px; }
.calendar-event {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    padding: 7px 8px;
    border-left: 3px solid #d39b28;
    background: #fff9eb;
    color: #443d2e;
    min-width: 0;
    transition: transform .12s ease, box-shadow .12s ease;
}
.calendar-event:hover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(35,56,45,.08); color: inherit; }
.calendar-event-time { font-size: .66rem; font-weight: 800; margin-right: 4px; }
.calendar-event-title { display: block; font-size: .73rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event small { display: block; margin-top: 2px; font-size: .64rem; color: #76817b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event.is-new { border-left-color: #728078; background: #f5f7f5; }
.calendar-event.is-scheduled { border-left-color: #d39b28; background: #fff9eb; }
.calendar-event.is-progress { border-left-color: #3977b5; background: #eef6fd; }
.calendar-event.is-done { border-left-color: #3c9566; background: #edf8f1; }
.calendar-event.is-danger { border-left-color: #c85656; background: #fff1f1; }
.calendar-event.is-service { border-left-color: #7956a8; background: #f6f1fb; color: #4d3b65; }
.calendar-service-list { display: grid; }
.calendar-service-row { padding: 11px 0; border-bottom: 1px solid #edf1ed; }
.calendar-service-row:first-child { padding-top: 0; }
.calendar-service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.calendar-service-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: #26352e; }
.calendar-service-main:hover { color: #174b36; }
.calendar-service-list span { min-width: 0; }
.calendar-service-list strong, .calendar-service-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-service-list strong { font-size: .82rem; }
.calendar-service-list small { color: #77847d; font-size: .72rem; margin-top: 2px; }
.calendar-service-list b { font-size: .78rem; color: #65458d; white-space: nowrap; }
.calendar-service-create { display: inline-flex; width: max-content; margin-top: 7px; padding: 5px 9px; border-radius: 9px; background: #eef7f1; color: #26764d; text-decoration: none; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.calendar-service-create:hover { background: #dff0e5; color: #185b3a; }
.is-overdue-list .calendar-service-main b { color: #b64949; }
.calendar-overdue-card { border: 1px solid #f3d9d9 !important; }
.calendar-legend { display: flex; align-items: center; gap: 9px; margin: 9px 0; font-size: .78rem; color: #65726b; font-weight: 600; }
.calendar-legend > span { width: 12px; height: 12px; border-radius: 4px; display: inline-block; background: #d39b28; }
.calendar-legend > span.is-new { background: #728078; }
.calendar-legend > span.is-scheduled { background: #d39b28; }
.calendar-legend > span.is-progress { background: #3977b5; }
.calendar-legend > span.is-done { background: #3c9566; }
.calendar-legend > span.is-danger { background: #c85656; }
.calendar-legend > span.is-service { background: #7956a8; }
.calendar-agenda-list { display: grid; gap: 10px; }
.calendar-agenda-item { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 12px; padding: 12px; border: 1px solid #e7ece8; border-radius: 14px; text-decoration: none; color: #26352e; background: #fbfdfb; }
.calendar-agenda-item.is-service { background: #faf7fd; border-color: #ece3f4; }
.calendar-agenda-date { display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid #e5eae6; padding-right: 10px; }
.calendar-agenda-date strong { font-size: .9rem; }
.calendar-agenda-date span { font-size: .69rem; color: #76817b; }
.calendar-agenda-main { min-width: 0; }
.calendar-agenda-main strong, .calendar-agenda-main span, .calendar-agenda-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-agenda-main strong { font-size: .88rem; }
.calendar-agenda-main span { font-size: .8rem; margin-top: 2px; }
.calendar-agenda-main small { font-size: .7rem; color: #76817b; margin-top: 5px; }
@media (max-width: 1199.98px) {
    .service-calendar-day { min-height: 138px; padding: 8px; }
    .calendar-event { padding: 6px; }
}
@media (max-width: 767.98px) {
    .calendar-month-nav { width: 100%; justify-content: space-between; }
    .calendar-month-nav h2 { min-width: 0; flex: 1; }
}
.calendar-service-static { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1ed; color: #26352e; }
.calendar-service-static:last-child { border-bottom: 0; padding-bottom: 0; }
.calendar-service-static:first-child { padding-top: 0; }
.calendar-service-static span { min-width: 0; }
.calendar-service-static strong, .calendar-service-static small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-service-static strong { font-size: .82rem; }
.calendar-service-static small { color: #77847d; font-size: .72rem; margin-top: 2px; }
.calendar-service-static b { font-size: .78rem; color: #65458d; white-space: nowrap; }

/* v3.4 - karbantartási emlékeztetők */
.maintenance-settings-panel {
    border: 1px solid #e3ebe5;
    background: linear-gradient(180deg, #fbfdfb 0%, #f5faf6 100%);
    border-radius: 18px;
    padding: 20px;
}
.maintenance-switch {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 48px;
    border: 1px solid #e1e9e3;
    background: #fff;
    border-radius: 14px;
}
.maintenance-switch .form-check-input { margin-left: -34px; }
.maintenance-switch .form-check-label { display: block; line-height: 1.3; }
.maintenance-switch .form-check-label small { display: block; margin-top: 4px; color: #7a877f; font-size: .72rem; font-weight: 500; }

/* v3.3.1 - desktop oldalsáv: Profilom és Kilépés mindig látható */
@media (min-width: 1180.01px) {
    .app-sidebar {
        height: calc(100dvh - 28px);
        max-height: calc(100dvh - 28px);
        overflow: hidden;
    }

    .sidebar-brand {
        flex: 0 0 auto;
    }

    .sidebar-nav {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 5px;
        scrollbar-width: thin;
        scrollbar-color: rgba(47, 118, 92, .28) transparent;
    }

    .sidebar-nav::-webkit-scrollbar {
        width: 5px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(47, 118, 92, .22);
        border-radius: 999px;
    }

    .sidebar-footer {
        flex: 0 0 auto;
        margin-top: 12px;
        padding-top: 12px;
        background: rgba(251, 250, 245, .96);
        position: relative;
        z-index: 2;
    }
}


/* v3.4.1 - mobil lista / táblázat javítások */
.content-wrap td,
.content-wrap th {
    overflow-wrap: break-word;
    word-break: normal;
}

.mobile-stack-table td,
.mobile-stack-table th,
.mobile-stack-table a,
.mobile-stack-table strong,
.mobile-stack-table small,
.mobile-stack-table span,
.mobile-stack-table div {
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.mobile-stack-table .mobile-col-main {
    min-width: 140px;
}

.mobile-stack-table .mobile-col-wide {
    min-width: 180px;
}

.mobile-stack-table .table-actions {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .mobile-stack-table {
        min-width: 100% !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    .mobile-stack-table thead {
        display: none;
    }

    .mobile-stack-table,
    .mobile-stack-table tbody,
    .mobile-stack-table tr,
    .mobile-stack-table td {
        display: block;
        width: 100%;
    }

    .mobile-stack-table tbody {
        padding: 10px;
    }

    .mobile-stack-table tr {
        background: #fff;
        border: 1px solid #e5ece6;
        border-radius: 22px;
        padding: 12px 14px;
        margin-bottom: 12px;
        box-shadow: 0 8px 22px rgba(16, 32, 24, .05);
    }

    .mobile-stack-table tr:last-child {
        margin-bottom: 0;
    }

    .mobile-stack-table td {
        border: 0 !important;
        padding: 7px 0 !important;
        text-align: left !important;
    }

    .mobile-stack-table td + td {
        border-top: 1px dashed #edf2ee !important;
    }

    .mobile-stack-table td[data-label] {
        display: grid;
        grid-template-columns: minmax(104px, 118px) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .mobile-stack-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #6b786f;
        font-size: .74rem;
        font-weight: 800;
        letter-spacing: .02em;
        text-transform: uppercase;
        white-space: normal;
    }

    .mobile-stack-table td.text-end,
    .mobile-stack-table td .text-end {
        text-align: left !important;
    }

    .mobile-stack-table td .table-actions {
        justify-content: flex-start;
    }

    .mobile-stack-table td .btn,
    .mobile-stack-table td form,
    .mobile-stack-table td .badge {
        max-width: 100%;
    }

    .mobile-stack-table td .btn {
        min-height: 42px;
    }

    .mobile-stack-table td .small {
        display: block;
        margin-top: 4px;
    }

    .mobile-stack-table td[data-label="Művelet"],
    .mobile-stack-table td[data-label="Műveletek"] {
        padding-top: 10px !important;
    }

    .mobile-stack-table td[data-label="Művelet"] .btn,
    .mobile-stack-table td[data-label="Műveletek"] .btn,
    .mobile-stack-table td[data-label="Művelet"] form .btn,
    .mobile-stack-table td[data-label="Műveletek"] form .btn {
        width: auto;
    }
}

/* v3.5 - munkalap státusztörténet és gyors státuszváltás */
.workorder-status-card .form-label {
    font-weight: 700;
    color: #53625a;
}

.status-notify-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e4ebe5;
    border-radius: 14px;
    background: #f8fbf8;
    cursor: pointer;
}

.status-notify-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.status-notify-check strong,
.status-notify-check small {
    display: block;
}

.status-notify-check strong {
    font-size: .88rem;
    color: #26372f;
}

.status-notify-check small {
    margin-top: 2px;
    color: #748078;
    font-size: .76rem;
}

.workorder-history-list {
    position: relative;
    display: grid;
    gap: 0;
}

.workorder-history-item {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 18px;
}

.workorder-history-item:last-child {
    padding-bottom: 0;
}

.workorder-history-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 15px;
    bottom: -2px;
    width: 2px;
    background: #e3ebe5;
}

.workorder-history-dot {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    background: #3f9568;
    border: 3px solid #e6f3eb;
    position: relative;
    z-index: 1;
}

.workorder-history-content {
    min-width: 0;
    padding: 0 0 2px;
}

.history-old-status {
    font-size: .78rem;
    font-weight: 700;
    color: #78837d;
}

.history-arrow {
    color: #9aa49e;
    font-weight: 800;
}

.history-mail-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #3771a7;
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
}

.workorder-history-note {
    margin-top: 7px;
    padding: 9px 11px;
    border-radius: 11px;
    background: #f7f9f7;
    color: #46544c;
    font-size: .82rem;
    line-height: 1.45;
}

.workorder-history-meta {
    margin-top: 6px;
    color: #8a948e;
    font-size: .72rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .status-notify-check {
        padding: 11px 12px;
    }

    .workorder-history-item {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 9px;
    }
}

/* v3.6 - ügyfél / berendezés adatlap és szervizelőzmények */
.customer-profile-actions .btn {
    min-height: 42px;
}

.profile-stat-card {
    height: 100%;
    min-height: 118px;
    border: 1px solid #e4ebe5;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fbfdfb 100%);
    padding: 18px 20px;
    box-shadow: 0 8px 22px rgba(17, 42, 31, .045);
}

.profile-stat-card > span {
    display: block;
    color: #718078;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.profile-stat-card > strong {
    display: block;
    color: #10251b;
    font-size: 1.38rem;
    line-height: 1.15;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.profile-stat-card > strong.profile-stat-date {
    font-size: 1.12rem;
}

.profile-stat-card > small {
    display: block;
    margin-top: 7px;
    color: #7a8880;
    font-size: .74rem;
}

.profile-detail-list {
    display: grid;
    gap: 0;
    border: 1px solid #e7ece8;
    border-radius: 16px;
    overflow: hidden;
}

.profile-detail-list > div {
    display: grid;
    grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
    gap: 16px;
    padding: 13px 15px;
    border-bottom: 1px solid #edf1ee;
    background: #fff;
}

.profile-detail-list > div:last-child {
    border-bottom: 0;
}

.profile-detail-list span {
    color: #748078;
    font-size: .78rem;
    font-weight: 700;
}

.profile-detail-list strong {
    color: #24352d;
    font-size: .88rem;
    font-weight: 700;
    text-align: right;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.profile-note {
    border-radius: 16px;
    background: #f7faf7;
    border: 1px solid #e5ece6;
    padding: 15px 16px;
}

.profile-note > span {
    display: block;
    color: #6e7b74;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.profile-note p {
    color: #34443c;
    font-size: .88rem;
}

.profile-equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-equipment-card {
    display: block;
    min-width: 0;
    border: 1px solid #e3ebe5;
    border-radius: 17px;
    padding: 14px 15px;
    background: #fbfdfb;
    color: #24372e;
    text-decoration: none;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.profile-equipment-card:hover {
    color: #173f2e;
    border-color: #cbded0;
    box-shadow: 0 8px 18px rgba(22, 61, 45, .07);
    transform: translateY(-1px);
}

.profile-equipment-card strong,
.profile-equipment-card span,
.profile-equipment-card small {
    display: block;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.profile-equipment-card strong {
    font-size: .94rem;
    margin-bottom: 4px;
}

.profile-equipment-card span {
    color: #66766e;
    font-size: .8rem;
}

.profile-equipment-card small {
    margin-top: 8px;
    color: #7b8981;
    font-size: .72rem;
}

@media (max-width: 767.98px) {
    .customer-profile-actions {
        width: 100%;
    }

    .customer-profile-actions .btn {
        flex: 1 1 calc(50% - 8px);
    }

    .profile-stat-card {
        min-height: 108px;
        padding: 15px 14px;
    }

    .profile-stat-card > strong {
        font-size: 1.08rem;
    }

    .profile-stat-card > strong.profile-stat-date {
        font-size: .92rem;
    }

    .profile-detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .profile-detail-list strong {
        text-align: left;
    }

    .profile-equipment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .customer-profile-actions .btn {
        flex-basis: 100%;
    }
}

/* v3.7 - Raktár / készlet */
.inventory-table .inventory-low-row > td { background: #fffaf0; }
.inventory-stock { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: #eef7f1; color: #256b48; font-weight: 800; white-space: nowrap; }
.inventory-stock.is-low { background: #fff1df; color: #9a5b13; }
.inventory-low-badge { background: #fff0d9; color: #9a5b13; border: 1px solid #f1d3a8; }
.inventory-adjust-row > td { background: #f8fbf8 !important; padding: 18px !important; }
.inventory-movement { display: inline-flex; align-items: center; font-weight: 800; white-space: nowrap; }
.inventory-movement.is-plus { color: #238257; }
.inventory-movement.is-minus { color: #b84e4e; }
@media (max-width: 767.98px) {
    .inventory-adjust-row { display: block !important; }
    .inventory-adjust-row td { display: block !important; width: 100% !important; }
}

/* v3.8 - Karbantartási szerződések / ismétlődő szervizek */
.contract-auto-box {
    border: 1px solid #dfeae2;
    background: linear-gradient(180deg, #f9fcfa 0%, #f2f8f4 100%);
    border-radius: 16px;
    padding: 16px 18px;
}

.maintenance-contract-table td,
.maintenance-contract-table th {
    vertical-align: middle;
}

.calendar-event.is-contract {
    border-left-color: #4b6fc7;
    background: #eef3ff;
    color: #30466f;
}

.calendar-agenda-item.is-contract {
    border-left: 4px solid #4b6fc7;
    background: #f6f8ff;
}

.calendar-contract-card {
    border: 1px solid #dfe6f7 !important;
}

.calendar-legend > span.is-contract {
    background: #4b6fc7;
}

@media (max-width: 767.98px) {
    .maintenance-contract-table td[data-label="Szerződés"] strong {
        font-size: .96rem;
    }

    .contract-auto-box {
        padding: 14px;
    }
}

/* v3.9.3 - opcionális e-mailes kétlépcsős belépés */
.profile-security-box {
    border: 1px solid #e1e9e3;
    border-radius: 20px;
    background: #f7faf6;
    padding: 20px;
}
.auth-code-input {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: .4rem;
    min-height: 64px;
}
@media (max-width: 575.98px) {
    .profile-security-box { padding: 16px; }
    .auth-code-input { font-size: 1.5rem; letter-spacing: .28rem; }
}

/* v4.0 – jogi elfogadás és süti-hozzájárulás */
.legal-acceptance-box {
    background: rgba(245, 249, 245, .92);
    border: 1px solid #dfe8e1;
    border-radius: 18px;
    padding: 18px;
}
.legal-acceptance-box .form-check-label {
    line-height: 1.55;
}
.legal-version-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    background: #f4f8f3;
    border: 1px solid #e1e9e2;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: .9rem;
}
.cookie-consent {
    position: fixed;
    z-index: 1085;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    pointer-events: none;
}
.cookie-consent-card {
    max-width: 1080px;
    margin: 0 auto;
    background: rgba(252, 251, 246, .98);
    border: 1px solid #dce5de;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(18, 42, 33, .18);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    pointer-events: auto;
}
.cookie-consent-copy strong {
    display: block;
    color: #17372d;
    font-size: 1rem;
    margin-bottom: 5px;
}
.cookie-consent-copy p {
    margin: 0;
    color: #5f6c67;
    font-size: .9rem;
    line-height: 1.55;
}
.cookie-consent-copy a {
    color: #2f765c;
    font-weight: 700;
}
.cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
.footer-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.footer-link-button:hover {
    text-decoration: underline;
}
@media (max-width: 767.98px) {
    .cookie-consent {
        padding: 10px;
    }
    .cookie-consent-card {
        align-items: stretch;
        flex-direction: column;
        border-radius: 18px;
        padding: 16px;
        gap: 14px;
    }
    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .cookie-consent-actions .btn {
        width: 100%;
    }
}

/* v4.0 – teljes publikus bemutató oldalak */
.marketing-home-hero .stat-box small {
    display: block;
    margin-top: 4px;
    color: #7a8780;
    font-size: .72rem;
}
.marketing-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.marketing-module-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.marketing-module-card {
    position: relative;
    min-height: 190px;
    padding: 24px;
    border: 1px solid #e1e9e3;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 28px rgba(17,42,31,.045);
}
.marketing-module-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf6ef;
    color: #2d7957;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.marketing-module-card h3,
.profession-detail-card h2,
.process-item h2,
.marketing-security-card h2 {
    color: #17372d;
    font-weight: 800;
}
.marketing-module-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.marketing-module-card p,
.profession-detail-card p,
.process-item p,
.marketing-security-card p {
    color: #69766f;
    line-height: 1.65;
    margin-bottom: 0;
}
.marketing-flow {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid #dfe8e1;
    border-radius: 26px;
    background: #f9fbf8;
}
.marketing-flow > div {
    flex: 1 1 0;
    min-width: 0;
    padding: 18px 10px;
    text-align: center;
    border-radius: 18px;
    background: #fff;
}
.marketing-flow strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #194d3c;
    color: #fff;
    font-size: .8rem;
}
.marketing-flow span { display: block; color: #33483f; font-size: .82rem; font-weight: 750; line-height: 1.35; }
.marketing-flow i { align-self: center; color: #91a099; font-style: normal; font-weight: 800; }
.profession-chip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.profession-chip-grid span,
.security-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #dfe8e1;
    border-radius: 999px;
    background: #fff;
    color: #30453b;
    font-size: .82rem;
    font-weight: 700;
}
.marketing-security-card,
.marketing-price-card {
    border: 1px solid #dde8df;
    border-radius: 28px;
    padding: 30px;
    background: linear-gradient(180deg,#fff 0%,#f7faf7 100%);
}
.marketing-security-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 12px; }
.security-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.marketing-price-card { background: #173f31; color: #fff; }
.marketing-price-card > span { display: block; color: #b9d9c9; font-weight: 700; }
.marketing-price-card > strong { display: inline-block; margin-top: 12px; font-size: clamp(2.2rem,5vw,3.6rem); line-height: 1; }
.marketing-price-card > small { color: #c4d7cd; margin-left: 4px; }
.marketing-price-card p { margin: 18px 0 24px; color: #d6e4dd; line-height: 1.6; }
.marketing-page-hero { padding-bottom: 36px; }
.marketing-page-heading { max-width: 880px; margin: 0 auto; text-align: center; }
.marketing-page-heading h1 { margin: 8px 0 16px; color: #17372d; font-size: clamp(2.2rem,6vw,4.4rem); font-weight: 850; line-height: 1.05; letter-spacing: -.035em; }
.marketing-page-heading p { max-width: 720px; margin: 0 auto; color: #68756f; font-size: 1.04rem; line-height: 1.7; }
.marketing-page-cta {
    margin-top: 42px;
    padding: 34px;
    border-radius: 28px;
    text-align: center;
    background: #f3f8f4;
    border: 1px solid #dfe9e1;
}
.marketing-page-cta h2 { color: #17372d; font-weight: 800; }
.marketing-page-cta p { color: #6b7871; margin: 8px 0 20px; }
.process-list { max-width: 950px; margin: 0 auto; }
.process-item {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e6ece7;
}
.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #194d3c;
    color: #fff;
    font-weight: 800;
}
.process-item h2 { font-size: 1.2rem; margin: 3px 0 7px; }
.profession-detail-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}
.profession-detail-card {
    min-height: 205px;
    padding: 24px;
    border: 1px solid #e0e8e2;
    border-radius: 24px;
    background: #fff;
}
.profession-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #e8f4ec;
    color: #298159;
    font-weight: 900;
}
.profession-detail-card h2 { font-size: 1.02rem; margin-bottom: 8px; }
.pricing-page-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    max-width: 1050px;
    margin: 0 auto;
}
.pricing-page-card {
    position: relative;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid #dfe8e1;
    background: #fff;
    text-align: center;
}
.pricing-page-card.featured { background: #173f31; color: #fff; transform: translateY(-8px); }
.pricing-page-card > span { display: block; color: #687a70; font-weight: 750; }
.pricing-page-card.featured > span,
.pricing-page-card.featured > small,
.pricing-page-card.featured p { color: #c8dacf; }
.pricing-page-card > strong { display: block; margin: 12px 0 2px; font-size: 2.35rem; font-weight: 850; }
.pricing-page-card > small { color: #7b8881; }
.pricing-page-card p { margin: 18px 0 0; color: #718078; }
.pricing-includes {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: start;
    padding: 30px;
    border-radius: 26px;
    background: #f6f9f6;
    border: 1px solid #e1e9e2;
}
.pricing-includes h2 { color:#17372d; font-weight:800; }
.pricing-include-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pricing-include-grid span { padding: 11px 12px; border-radius: 14px; background:#fff; color:#355047; font-size:.84rem; font-weight:650; }
.faq-page-list { max-width: 960px; margin: 0 auto; }
.faq-page-item {
    margin-bottom: 10px;
    border: 1px solid #e0e8e2;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}
.faq-page-item summary {
    cursor: pointer;
    list-style: none;
    padding: 19px 22px;
    color: #213b31;
    font-weight: 800;
}
.faq-page-item summary::-webkit-details-marker { display:none; }
.faq-page-item summary::after { content:'+'; float:right; color:#5e8170; }
.faq-page-item[open] summary::after { content:'−'; }
.faq-page-item p { margin:0; padding: 0 22px 20px; color:#69776f; line-height:1.7; }
@media (max-width: 991.98px) {
    .marketing-module-grid,
    .marketing-module-grid-full,
    .profession-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .marketing-flow { flex-wrap: wrap; }
    .marketing-flow i { display:none; }
    .marketing-flow > div { flex-basis: calc(33.333% - 8px); }
    .pricing-includes { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .marketing-module-grid,
    .marketing-module-grid-full,
    .profession-detail-grid,
    .pricing-page-grid { grid-template-columns: 1fr; }
    .marketing-module-card,
    .profession-detail-card { min-height: 0; }
    .marketing-flow > div { flex-basis: calc(50% - 8px); }
    .process-item { grid-template-columns: 52px minmax(0,1fr); gap: 14px; }
    .process-number { width:46px; height:46px; border-radius:14px; }
    .pricing-page-card.featured { transform:none; }
    .pricing-include-grid { grid-template-columns:1fr; }
    .marketing-security-card,
    .marketing-price-card,
    .marketing-page-cta { padding:22px; }
}

/* v4.0.1 - rendezett publikus lábléc */
.landing-footer {
    padding: 56px 0 28px;
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr));
    gap: 44px;
    padding: 42px 0 38px;
    border-top: 1px solid rgba(23,55,45,.12);
}

.footer-about {
    max-width: 360px;
}

.footer-about .footer-brand {
    margin-bottom: 14px;
    font-size: 1.06rem;
}

.footer-about p {
    margin: 0 0 16px;
    max-width: 330px;
    color: #718079;
    line-height: 1.7;
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.footer-contact:hover {
    text-decoration: underline;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column .footer-link-button {
    color: #5d6d66;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-column a:hover,
.footer-column .footer-link-button:hover {
    color: var(--brand-dark);
    text-decoration: none;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(23,55,45,.10);
    color: #85918c;
    font-size: .8rem;
    line-height: 1.55;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #74817c;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--brand-dark);
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, 1fr));
        gap: 34px 28px;
    }

    .footer-legal-column {
        grid-column: 2 / 4;
    }
}

@media (max-width: 767.98px) {
    .landing-footer {
        padding: 34px 0 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
        padding: 32px 0 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer-about p {
        max-width: 520px;
    }

    .footer-legal-column {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 479.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-about,
    .footer-legal-column {
        grid-column: auto;
    }

    .footer-column {
        padding-bottom: 4px;
    }
}

/* v4.0.2 - Kapcsolat oldal */
.contact-hero {
    padding-bottom: 34px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.34fr);
    gap: 28px;
    align-items: start;
}

.contact-info-stack {
    display: grid;
    gap: 16px;
}

.contact-info-card,
.contact-note-card,
.contact-form-card {
    background: rgba(255,255,255,.92);
    border: 1px solid #e3ebe5;
    border-radius: 26px;
    box-shadow: 0 16px 42px rgba(27, 60, 48, .08);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
}

.contact-info-card-main {
    background: linear-gradient(145deg, #184c3c 0%, #22644f 100%);
    border-color: transparent;
    color: #fff;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    background: #edf6f0;
    color: #184c3c;
    font-weight: 800;
    font-size: 1.1rem;
}

.contact-info-card-main .contact-icon {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.contact-label {
    color: #748078;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    margin-bottom: 4px;
}

.contact-info-card-main .contact-label,
.contact-info-card-main p {
    color: rgba(255,255,255,.76);
}

.contact-info-card a:not(.contact-inline-link) {
    color: #17372d;
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-card-main a:not(.contact-inline-link) {
    color: #fff;
}

.contact-info-card p {
    color: #69766f;
    margin: 7px 0 0;
    line-height: 1.65;
    font-size: .93rem;
}

.contact-inline-link {
    display: inline-block;
    margin-top: 9px;
    color: #1d654e;
    font-weight: 700;
    text-decoration: none;
}

.contact-help-list {
    margin: 9px 0 0;
    padding-left: 19px;
    color: #5f6e66;
    line-height: 1.85;
    font-size: .93rem;
}

.contact-note-card {
    padding: 20px 22px;
    background: #f3f8f4;
}

.contact-note-card strong {
    color: #17372d;
}

.contact-note-card p {
    margin: 6px 0 0;
    color: #647169;
    line-height: 1.65;
    font-size: .91rem;
}

.contact-form-card {
    padding: 30px;
}

.contact-form-head {
    margin-bottom: 24px;
}

.contact-form-head h2 {
    margin: 4px 0 8px;
    color: #17372d;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
}

.contact-form-head p {
    color: #69766f;
    margin: 0;
    line-height: 1.65;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 50px;
    border-radius: 15px;
    border-color: #dbe5dd;
    background: #fff;
}

.contact-form textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #6ca88e;
    box-shadow: 0 0 0 .2rem rgba(47, 124, 94, .11);
}

.contact-privacy-check {
    padding: 16px 18px 16px 42px;
    border-radius: 16px;
    background: #f7faf7;
    border: 1px solid #e6ede8;
    color: #55655d;
    line-height: 1.55;
}

.contact-privacy-check a {
    color: #1d654e;
    font-weight: 700;
}

.contact-submit-btn {
    min-width: 220px;
}

.contact-form-footnote {
    margin-top: 12px;
    color: #78827d;
    font-size: .84rem;
    line-height: 1.55;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-info-card-main,
    .contact-note-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .contact-info-stack {
        grid-template-columns: 1fr;
    }

    .contact-info-card-main,
    .contact-note-card {
        grid-column: auto;
    }

    .contact-form-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .contact-info-card {
        padding: 19px;
        border-radius: 22px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}

/* v4.0.3 – publikus mobil kontraszt és dashboard dekoráció javítás */
.contact-info-card-main p {
    color: #fff !important;
    opacity: .92;
    font-weight: 500;
}

.marketing-home-hero .stat-box > * {
    position: relative;
    z-index: 2;
}

.marketing-home-hero .stat-box::after {
    right: -34px;
    top: -34px;
    width: 78px;
    height: 78px;
    opacity: .72;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .marketing-home-hero .mock-dashboard-large .stat-box {
        min-height: 132px;
        padding: 1rem;
    }

    .marketing-home-hero .mock-dashboard-large .stat-box::after {
        right: -30px;
        top: -30px;
        width: 66px;
        height: 66px;
        opacity: .62;
    }

    .marketing-home-hero .mock-dashboard-large .stat-box span {
        max-width: 100%;
        padding-right: 0;
        line-height: 1.3;
        overflow-wrap: normal;
        word-break: normal;
    }

    .marketing-home-hero .mock-dashboard-large .stat-box strong,
    .marketing-home-hero .mock-dashboard-large .stat-box small {
        position: relative;
        z-index: 2;
    }
}

/* v4.1.1 – részletes marketing információs oldalak */
.info-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}
.info-highlight-card {
    min-height: 128px;
    padding: 22px;
    border: 1px solid #e0e9e2;
    border-radius: 22px;
    background: linear-gradient(180deg,#ffffff 0%,#f7faf7 100%);
}
.info-highlight-card strong {
    display: block;
    margin-bottom: 8px;
    color: #173f31;
    font-size: 1.12rem;
    font-weight: 800;
}
.info-highlight-card span {
    color: #6a7870;
    line-height: 1.6;
    font-size: .9rem;
}
.detail-section {
    scroll-margin-top: 100px;
}
.detail-section-heading {
    max-width: 850px;
    margin-bottom: 24px;
}
.detail-section-heading h2 {
    margin: 7px 0 10px;
    color: #17372d;
    font-size: clamp(1.65rem,3vw,2.55rem);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.detail-section-heading > p {
    margin: 0;
    color: #67766e;
    line-height: 1.75;
}
.detail-card-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.detail-card-grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.detail-card {
    padding: 26px;
    border: 1px solid #e0e8e2;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 9px 26px rgba(18,54,40,.04);
}
.detail-card h3 {
    margin: 0 0 10px;
    color: #17392f;
    font-size: 1.08rem;
    font-weight: 800;
}
.detail-card > p {
    margin: 0;
    color: #68766e;
    line-height: 1.7;
}
.detail-check-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.detail-check-list li {
    position: relative;
    padding-left: 24px;
    color: #40564c;
    font-size: .88rem;
    line-height: 1.55;
}
.detail-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #2d8a60;
    font-weight: 900;
}
.workflow-summary {
    display: flex;
    align-items: stretch;
    gap: 7px;
    padding: 18px;
    border: 1px solid #dfe8e1;
    border-radius: 26px;
    background: #f6faf7;
}
.workflow-summary > div {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px 9px;
    border-radius: 17px;
    background: #fff;
    text-align: center;
}
.workflow-summary strong,
.workflow-summary span { display:block; }
.workflow-summary strong { color:#1c4537; font-size:.86rem; }
.workflow-summary span { margin-top:4px; color:#839088; font-size:.7rem; }
.workflow-summary i { align-self:center; color:#8ba096; font-style:normal; font-weight:800; }
.process-list-detailed .process-item { padding: 30px 0; }
.process-list-detailed .process-item p { max-width: 790px; }
.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}
.process-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef6f0;
    color: #3d6954;
    font-size: .74rem;
    font-weight: 700;
}
.example-timeline {
    display:grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 12px;
}
.example-timeline > div {
    padding: 20px;
    border-radius: 20px;
    border:1px solid #e0e9e2;
    background:#fff;
}
.example-timeline strong { display:block; color:#2b805a; margin-bottom:8px; font-size:.9rem; }
.example-timeline p { margin:0; color:#68766f; font-size:.82rem; line-height:1.6; }
.profession-intro-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid #dee8e1;
    border-radius: 28px;
    background: #f6faf7;
}
.profession-intro-panel h2 { color:#17372d; font-weight:850; margin:7px 0 0; }
.profession-flow-list { display:flex; flex-wrap:wrap; gap:8px; }
.profession-flow-list span {
    padding:9px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #e0e8e2;
    color:#3e574c;
    font-size:.78rem;
    font-weight:700;
}
.profession-detail-grid-rich { align-items: stretch; }
.profession-rich-card { min-height: 320px; }
.profession-rich-card p { min-height: 72px; }
.pricing-equivalent {
    margin-top: 14px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f2f7f3;
    color: #446055;
    font-size: .78rem;
    font-weight: 750;
}
.pricing-page-card.featured .pricing-equivalent {
    background: rgba(255,255,255,.11);
    color: #e0eee7;
}
.pricing-trial-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    padding: 32px;
    border-radius: 28px;
    background: #f5faf6;
    border: 1px solid #dfe9e1;
}
.pricing-trial-panel h2 { color:#17372d; font-weight:850; margin:7px 0 10px; }
.pricing-trial-panel p { color:#68766f; line-height:1.75; margin:0; }
.pricing-trial-panel ol { margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.pricing-trial-panel li { padding:13px 15px; border-radius:16px; background:#fff; border:1px solid #e4ebe5; }
.pricing-trial-panel li strong, .pricing-trial-panel li span { display:block; }
.pricing-trial-panel li strong { color:#274b3c; font-size:.86rem; }
.pricing-trial-panel li span { margin-top:3px; color:#75827a; font-size:.78rem; line-height:1.5; }
.pricing-feature-groups {
    display:grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:16px;
}
.pricing-feature-groups > div {
    padding:24px;
    border-radius:22px;
    border:1px solid #e0e8e2;
    background:#fff;
}
.pricing-feature-groups h3 { color:#173b30; font-size:1rem; font-weight:800; margin:0; }
.faq-category-nav {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
}
.faq-category-nav a {
    padding:9px 13px;
    border-radius:999px;
    border:1px solid #dfe7e1;
    background:#fff;
    color:#395448;
    text-decoration:none;
    font-size:.78rem;
    font-weight:700;
}
.faq-category-nav a:hover { background:#edf6ef; color:#1e6749; }
.faq-category { max-width:960px; margin:0 auto 42px; scroll-margin-top:110px; }
.faq-category-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}
.faq-category-heading h2 { margin:0; color:#17372d; font-size:1.45rem; font-weight:850; }
.faq-category-heading span { color:#849087; font-size:.78rem; }

@media (max-width: 991.98px) {
    .info-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-card-grid-3 { grid-template-columns: 1fr; }
    .workflow-summary { flex-wrap:wrap; }
    .workflow-summary i { display:none; }
    .workflow-summary > div { flex-basis: calc(33.333% - 8px); }
    .example-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profession-intro-panel,
    .pricing-trial-panel { grid-template-columns:1fr; }
}
@media (max-width: 767.98px) {
    .info-highlight-grid,
    .detail-card-grid,
    .pricing-feature-groups { grid-template-columns:1fr; }
    .info-highlight-card { min-height:0; }
    .workflow-summary > div { flex-basis:calc(50% - 7px); }
    .example-timeline { grid-template-columns:1fr; }
    .profession-rich-card { min-height:0; }
    .profession-rich-card p { min-height:0; }
    .profession-intro-panel,
    .pricing-trial-panel { padding:22px; }
    .detail-card { padding:22px; }
    .faq-category-heading { align-items:flex-start; flex-direction:column; gap:4px; }
}

/* v4.2.0 – SEO megoldás oldalak */
.seo-solution-hero {
    padding-bottom: 46px;
}
.seo-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.seo-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.seo-highlight-card {
    padding: 22px;
    border: 1px solid #dfe8e1;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #f7faf7 100%);
    box-shadow: 0 8px 24px rgba(18,54,40,.035);
}
.seo-highlight-card strong {
    display: block;
    margin-bottom: 7px;
    color: #173f31;
    font-size: 1rem;
    font-weight: 850;
}
.seo-highlight-card p {
    margin: 0;
    color: #68776f;
    font-size: .88rem;
    line-height: 1.6;
}
.seo-intro-panel,
.seo-audience-panel {
    padding: 32px;
    border: 1px solid #dfe8e1;
    border-radius: 28px;
    background: #f5faf6;
}
.seo-intro-panel h2,
.seo-audience-panel h2 {
    margin: 7px 0 10px;
    color: #17372d;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.seo-intro-panel p {
    margin: 0;
    max-width: 980px;
    color: #66756d;
    line-height: 1.8;
}
.seo-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.seo-feature-card {
    min-height: 180px;
    padding: 25px;
    border: 1px solid #e0e9e2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18,54,40,.035);
}
.seo-feature-card h3 {
    margin: 0 0 9px;
    color: #173b30;
    font-size: 1rem;
    font-weight: 850;
}
.seo-feature-card p {
    margin: 0;
    color: #68766f;
    font-size: .88rem;
    line-height: 1.7;
}
.seo-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.seo-step-card {
    padding: 23px;
    border: 1px solid #dfe8e1;
    border-radius: 22px;
    background: #fff;
}
.seo-step-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #e8f4ec;
    color: #2d7f59;
    font-weight: 900;
}
.seo-step-card h3 {
    margin: 0 0 8px;
    color: #183d31;
    font-size: .98rem;
    font-weight: 850;
}
.seo-step-card p {
    margin: 0;
    color: #6c7872;
    font-size: .83rem;
    line-height: 1.65;
}
.seo-audience-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 26px;
    align-items: center;
}
.seo-audience-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.seo-audience-chips span {
    padding: 9px 12px;
    border: 1px solid #dfe8e1;
    border-radius: 999px;
    background: #fff;
    color: #3e5a4d;
    font-size: .78rem;
    font-weight: 750;
}
.seo-faq-section {
    max-width: 980px;
}
.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.seo-related-card,
.seo-home-link-grid a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid #dfe8e1;
    border-radius: 22px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.seo-related-card:hover,
.seo-home-link-grid a:hover,
.seo-hub-card:hover {
    transform: translateY(-3px);
    border-color: #c8dbce;
    box-shadow: 0 12px 30px rgba(18,54,40,.07);
}
.seo-related-card strong,
.seo-home-link-grid strong {
    color: #173f31;
    font-weight: 850;
}
.seo-related-card span,
.seo-home-link-grid span {
    color: #3a7c5c;
    font-size: .78rem;
    font-weight: 750;
}
.seo-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.seo-hub-card {
    display: block;
    min-height: 245px;
    padding: 28px;
    border: 1px solid #dfe8e1;
    border-radius: 24px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.seo-hub-card h2 {
    margin: 8px 0 10px;
    color: #173b30;
    font-size: 1.25rem;
    font-weight: 850;
}
.seo-hub-card p {
    margin: 0 0 18px;
    color: #6b7871;
    font-size: .88rem;
    line-height: 1.7;
}
.seo-hub-card > span {
    color: #2f7d59;
    font-size: .8rem;
    font-weight: 800;
}
.seo-home-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* a plusz Megoldások oszlop miatt szélesebb publikus footer */
.footer-grid {
    grid-template-columns: minmax(245px, 1.35fr) repeat(4, minmax(135px, 1fr));
    gap: 34px;
}

@media (max-width: 1199.98px) {
    .guest-menu-links .nav-link { padding: .55rem .58rem !important; font-size: .88rem; }
    .seo-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: minmax(245px, 1.3fr) repeat(2, minmax(150px, 1fr)); }
    .footer-about { grid-row: span 2; }
}
@media (max-width: 991.98px) {
    .seo-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-audience-panel { grid-template-columns: 1fr; }
    .seo-related-grid,
    .seo-home-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-about { grid-column: 1 / -1; grid-row: auto; }
    .footer-legal-column { grid-column: auto; }
}
@media (max-width: 767.98px) {
    .seo-highlight-grid,
    .seo-feature-grid,
    .seo-step-grid,
    .seo-related-grid,
    .seo-hub-grid,
    .seo-home-link-grid { grid-template-columns: 1fr; }
    .seo-intro-panel,
    .seo-audience-panel { padding: 22px; }
    .seo-feature-card,
    .seo-hub-card { min-height: 0; }
}
@media (max-width: 479.98px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: auto; }
}

/* =========================================================
   Egységes admin ikonkészlet
   ========================================================= */
.ui-icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.16em;
}

.nav-pill span .ui-icon {
    width: 18px;
    height: 18px;
}

.btn .ui-icon,
.top-search .ui-icon {
    width: 1rem;
    height: 1rem;
}

.quick-icon .ui-icon,
.stat-icon .ui-icon {
    width: 20px;
    height: 20px;
}

.icon-circle .ui-icon {
    width: 24px;
    height: 24px;
}

.empty-icon .ui-icon {
    width: 34px;
    height: 34px;
}

.calendar-event-title .ui-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.health-hero-icon .ui-icon,
.health-badge .ui-icon {
    width: 1em;
    height: 1em;
}

.admin-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-inline-check .ui-icon {
    width: 16px;
    height: 16px;
    color: #2f765c;
}

/* v4.2.3.1 - oldalsáv akciógomb ikon méret finomítás */
.sidebar-footer > a.btn,
.sidebar-footer > form .btn {
    min-height: 52px;
    padding: .7rem .9rem;
    font-size: .96rem;
    line-height: 1.2;
}

.sidebar-footer > a.btn .ui-icon,
.sidebar-footer > form .btn .ui-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    flex: 0 0 18px;
}

@media (min-width: 1180.01px) {
    .sidebar-footer > a.btn,
    .sidebar-footer > form .btn {
        min-height: 50px;
        border-radius: 18px;
    }
}

/* v4.2.4 - Google Naptár és .ics export a Szerviznaptárban */
.calendar-event-wrap {
    position: relative;
    min-width: 0;
}

.calendar-event-wrap > .calendar-event {
    padding-right: 54px;
}

.calendar-event-export {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.calendar-event-export a,
.calendar-agenda-export-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 55, 45, .12);
    background: rgba(255, 255, 255, .88);
    color: #315f4e;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(23, 55, 45, .07);
    transition: .15s ease;
}

.calendar-event-export a {
    width: 21px;
    height: 21px;
    border-radius: 7px;
}

.calendar-event-export a:hover,
.calendar-agenda-export-actions a:hover {
    background: #17372d;
    border-color: #17372d;
    color: #fff;
    transform: translateY(-1px);
}

.calendar-event-export .ui-icon {
    width: 12px;
    height: 12px;
}

.calendar-agenda-export-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 7px;
    align-items: stretch;
}

.calendar-agenda-export-actions {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

.calendar-agenda-export-actions a {
    width: 38px;
    min-height: 34px;
    border-radius: 11px;
}

.calendar-agenda-export-actions .ui-icon {
    width: 15px;
    height: 15px;
}

@media (max-width: 1199.98px) {
    .calendar-event-wrap > .calendar-event {
        padding-right: 50px;
    }
}
