/* ==========================================================================
   Hřbitov – Design: členská sekce a průvodce vytvořením oznámení (v1.9)
   ========================================================================== */

.hbd-home.hbd-acc { padding-bottom: 64px; }
.hbd-home .hbd-acc__body { position: relative; z-index: 2; margin-top: -52px; }
.hbd-home p.hbd-acc__kicker { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hbd-green-l); }
.hbd-home .hbd-acc__headactions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hbd-home strong { font-weight: 700; }

/* Tlačítka navíc */
.hbd-home label.hbd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; margin: 0;
    border-radius: 4px; font-family: var(--hbd-font); font-size: 13px; font-weight: 800; letter-spacing: .06em; line-height: 1;
    text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: border-color .2s ease, color .2s ease;
}
.hbd-home label.hbd-btn.hbd-btn--outline:hover { border-color: var(--hbd-green); color: var(--hbd-green-d); }
.hbd-home button.hbd-btn.hbd-btn--outline-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.hbd-home button.hbd-btn.hbd-btn--outline-light:hover { background: #fff; color: var(--hbd-navy); border-color: #fff; }
.hbd-home .hbd-acc__headactions .hbd-btn--outline-light .hbd-ico { transform: rotate(0); }
.hbd-home button.hbd-btn.hbd-btn--danger { background: #b4412f; border-color: #b4412f; color: #fff; }
.hbd-home button.hbd-btn.hbd-btn--danger:hover { background: #973424; border-color: #973424; }
.hbd-home .hbd-btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.hbd-home .hbd-btn.is-busy::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: hbd-spin .7s linear infinite;
}
.hbd-home .hbd-btn--outline.is-busy::after { border-color: #d5d9dd; border-top-color: var(--hbd-green); }
@keyframes hbd-spin { to { transform: rotate(360deg); } }

/* Texty */
.hbd-home h2.hbd-acc-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--hbd-font); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--hbd-text); }
.hbd-home h2.hbd-acc-h2 .hbd-ico { color: var(--hbd-green); font-size: 22px; }
.hbd-home h3.hbd-acc-h3 { margin: 26px 0 4px; padding-top: 22px; border-top: 1px solid var(--hbd-line); font-family: var(--hbd-font); font-size: 16px; font-weight: 700; color: var(--hbd-text); }
.hbd-home p.hbd-acc-muted { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--hbd-muted); }
.hbd-home p.hbd-acc-small { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--hbd-muted); }
.hbd-home .hbd-acc-small a, .hbd-home .hbd-acc-muted a, .hbd-home .hbd-check a { color: var(--hbd-green-d); font-weight: 700; }
.hbd-home .hbd-acc-center { text-align: center; }
.hbd-home a.hbd-acc-link, .hbd-home button.hbd-acc-link {
    display: inline; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; cursor: pointer;
    font-family: var(--hbd-font); font-size: 14px; font-weight: 700; color: var(--hbd-green-d); text-decoration: none; text-transform: none; letter-spacing: 0;
}
.hbd-home a.hbd-acc-link:hover, .hbd-home button.hbd-acc-link:hover { color: var(--hbd-text); text-decoration: underline; background: none; }
.hbd-home .hbd-acc-badge {
    display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 0 16px;
    border-radius: 50%; background: #eef4e2; color: var(--hbd-green-d); font-size: 28px;
}
.hbd-home .hbd-acc-badge--danger { background: #fbeae7; color: #b4412f; }
.hbd-home .hbd-acc-note {
    display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; padding: 16px 20px; border-radius: 8px;
    background: #fff8e8; border: 1px solid #f1dfb2; color: #6f5310; font-size: 14px; line-height: 1.6;
}
.hbd-home .hbd-acc-note .hbd-ico { flex: 0 0 auto; font-size: 20px; margin-top: 1px; }

/* Zprávy */
.hbd-home .hbd-acc-msg { margin: 0 0 20px; padding: 14px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.55; }
.hbd-home .hbd-acc-msg[hidden] { display: none; }
.hbd-home .hbd-acc-msg--error { background: #fbeceb; color: #9b2f22; border: 1px solid #f0c9c3; }
.hbd-home .hbd-acc-msg--success { background: #eef6e2; color: #45631a; border: 1px solid #cfe2ad; }

/* Formulářová pole */
.hbd-home .hbd-acc-form { margin: 0; }
.hbd-home .hbd-f { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; min-width: 0; }
.hbd-home .hbd-f__label { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--hbd-text); line-height: 1.3; }
.hbd-home .hbd-f__label i { font-style: normal; color: #b4412f; }
.hbd-home .hbd-f__label small, .hbd-home .hbd-wextra summary small, .hbd-home .hbd-photo-drop__text strong small { font-size: 12px; font-weight: 600; color: #8a9098; }
.hbd-home .hbd-f__aside { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--hbd-green-d); text-decoration: none; }
.hbd-home span.hbd-f__aside { color: #8a9098; font-weight: 600; }
.hbd-home a.hbd-f__aside:hover { text-decoration: underline; }
.hbd-home .hbd-f input[type="text"], .hbd-home .hbd-f input[type="email"], .hbd-home .hbd-f input[type="password"],
.hbd-home .hbd-f input[type="date"], .hbd-home .hbd-f input[type="number"], .hbd-home .hbd-f input[type="search"],
.hbd-home .hbd-f select, .hbd-home .hbd-f textarea {
    display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px;
    font-family: var(--hbd-font); font-size: 15px; font-weight: 500; color: var(--hbd-text);
    background: #fff; border: 1.5px solid #d3d8dd; border-radius: 6px; box-shadow: none; outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.hbd-home .hbd-f textarea { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.65; resize: vertical; }
.hbd-home .hbd-f select {
    -webkit-appearance: none; appearance: none; padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a313a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.hbd-home .hbd-f select:disabled { background-color: #f5f6f7; color: #9aa0a6; cursor: not-allowed; }
.hbd-home .hbd-f input::placeholder, .hbd-home .hbd-f textarea::placeholder { color: #9aa0a6; opacity: 1; }
.hbd-home .hbd-f input:focus, .hbd-home .hbd-f select:focus, .hbd-home .hbd-f textarea:focus { border-color: var(--hbd-green); box-shadow: 0 0 0 3px rgba(124, 162, 52, .18); }
.hbd-home .hbd-f__hint { font-size: 12.5px; line-height: 1.5; color: #8a9098; }
.hbd-home .hbd-f__err { font-size: 13px; font-weight: 700; color: #b4412f; }
.hbd-home .hbd-f.is-invalid input, .hbd-home .hbd-f.is-invalid select, .hbd-home .hbd-f.is-invalid textarea { border-color: #d0604f; box-shadow: 0 0 0 3px rgba(208, 96, 79, .12); }
.hbd-home .hbd-f.is-invalid .hbd-f__hint { display: none; }
.hbd-home .hbd-f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.hbd-home .hbd-f-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.hbd-home .hbd-f__pass, .hbd-home .hbd-f__icon { position: relative; display: block; }
.hbd-home .hbd-f__pass input { padding-right: 50px; }
.hbd-home button.hbd-f__eye {
    position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; padding: 0; margin: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; border-radius: 4px; color: #8a9098; font-size: 20px; cursor: pointer; box-shadow: none;
}
.hbd-home button.hbd-f__eye:hover, .hbd-home button.hbd-f__eye.is-on { color: var(--hbd-green-d); background: none; }
.hbd-home .hbd-f__icon > .hbd-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 19px; color: #8a9098; pointer-events: none; }
.hbd-home .hbd-f__icon input[type="search"] { padding-left: 44px; }
.hbd-home .hbd-check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin: 4px 0 6px; font-size: 14px; line-height: 1.6; color: #4b535c; cursor: pointer; }
.hbd-home .hbd-check > span { flex: 1 1 0; min-width: 0; }
.hbd-home .hbd-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hbd-green); }
.hbd-home .hbd-check .hbd-f__err { flex: 1 0 100%; padding-left: 32px; }
.hbd-home .hbd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Záložky */
.hbd-home .hbd-tabs { display: flex; gap: 6px; margin: 0 0 26px; border-bottom: 1px solid var(--hbd-line); }
.hbd-home button.hbd-tabs__tab {
    position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 -1px; padding: 14px 18px;
    background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none; cursor: pointer;
    font-family: var(--hbd-font); font-size: 15px; font-weight: 700; color: var(--hbd-muted); text-transform: none; letter-spacing: 0;
}
.hbd-home button.hbd-tabs__tab:hover { color: var(--hbd-text); background: none; }
.hbd-home button.hbd-tabs__tab.is-active { color: var(--hbd-text); border-bottom-color: var(--hbd-green); }
.hbd-home .hbd-tabs__count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: #eef4e2; color: var(--hbd-green-d); font-size: 12px; font-weight: 800; }
.hbd-home .hbd-tabpanel[hidden] { display: none; }

/* Přihlášení / registrace */
.hbd-home .hbd-auth { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); overflow: hidden; padding: 0; }
.hbd-home .hbd-auth__side {
    position: relative; display: flex; flex-direction: column; gap: 26px; padding: 40px 36px;
    background-color: var(--hbd-navy-2);
    background-image: radial-gradient(120% 80% at 0% 0%, rgba(124, 162, 52, .22), rgba(124, 162, 52, 0) 60%);
    color: #dfe5ea;
}
.hbd-home h2.hbd-auth__title { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--hbd-font); font-size: 24px; font-weight: 700; color: #fff; }
.hbd-home h2.hbd-auth__title .hbd-sprig { width: 30px; height: auto; color: var(--hbd-green-l); }
.hbd-home ul.hbd-auth__list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.hbd-home ul.hbd-auth__list li { display: flex; gap: 14px; margin: 0; font-size: 14px; line-height: 1.6; color: #c3ccd4; }
.hbd-home ul.hbd-auth__list li > .hbd-ico { flex: 0 0 auto; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--hbd-green-l); }
.hbd-home ul.hbd-auth__list strong { display: block; color: #fff; font-size: 15px; }
.hbd-home .hbd-auth__guest { margin-top: auto; padding: 22px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.hbd-home .hbd-auth__guest strong { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
.hbd-home .hbd-auth__guest p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #c3ccd4; }
.hbd-home .hbd-auth__main { padding: 34px 44px 40px; }
.hbd-home .hbd-auth__main .hbd-tabs { margin-bottom: 28px; }
.hbd-home .hbd-auth__main .hbd-acc-form { max-width: 520px; }
.hbd-home .hbd-auth__main .hbd-btn--block { margin-top: 6px; }
.hbd-home .hbd-acc-form .hbd-acc-center { margin: 18px 0 0; }

.hbd-home .hbd-acc-narrow { max-width: 560px; margin: 0 auto; padding: 40px 44px; }
.hbd-home .hbd-acc-narrow.hbd-acc-center .hbd-acc-muted { max-width: 440px; margin-left: auto; margin-right: auto; }

/* Přehled – statistiky */
.hbd-home .hbd-acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 34px; }
.hbd-home .hbd-acc-stat { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 22px 22px; }
.hbd-home .hbd-acc-stat__ico { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: #eef4e2; color: var(--hbd-green-d); font-size: 24px; }
.hbd-home .hbd-acc-stat__ico--flame { background: #fff4dc; color: #d9951a; }
.hbd-home .hbd-acc-stat__val { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--hbd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbd-home .hbd-acc-stat__val small { font-size: 16px; font-weight: 700; color: #9aa0a6; }
.hbd-home .hbd-acc-stat__val--text { font-size: 20px; padding: 4px 0 3px; }
.hbd-home .hbd-acc-stat__lbl { font-size: 13px; font-weight: 600; color: var(--hbd-muted); }
.hbd-home .hbd-acc-stat__bar { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 4px; border-radius: 4px; background: #eceef0; overflow: hidden; }
.hbd-home .hbd-acc-stat__bar i { display: block; height: 100%; border-radius: 4px; background: var(--hbd-green); }

/* Moje oznámení */
.hbd-home .hbd-mine-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.hbd-home article.hbd-mine {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 22px;
    padding: 22px; margin: 0; transition: box-shadow .25s ease, opacity .25s ease;
}
.hbd-home article.hbd-mine:hover { box-shadow: 0 10px 34px rgba(20, 30, 40, .1), 0 1px 3px rgba(20, 30, 40, .05); }
.hbd-home article.hbd-mine.is-busy { opacity: .45; pointer-events: none; }
.hbd-home a.hbd-mine__photo { grid-row: 1 / 3; display: block; align-self: start; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; border: 3px solid #e3e6e9; background: #e7eaec; }
.hbd-home a.hbd-mine__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); border-radius: 0; }
.hbd-home .hbd-mine__body { min-width: 0; }
.hbd-home .hbd-mine__status { display: inline-block; margin: 0 0 8px; padding: 3px 9px; border-radius: 999px; background: #fff3d6; color: #8a6510; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hbd-home h3.hbd-mine__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; font-family: var(--hbd-font); font-size: 20px; font-weight: 700; line-height: 1.25; }
.hbd-home h3.hbd-mine__name a { color: var(--hbd-text); text-decoration: none; }
.hbd-home h3.hbd-mine__name a:hover { color: var(--hbd-green-d); }
.hbd-home h3.hbd-mine__name .hbd-age { font-size: 12px; padding: 4px 9px; }
.hbd-home p.hbd-mine__life, .hbd-home p.hbd-mine__cem { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; font-size: 14px; line-height: 1.45; color: #4b535c; }
.hbd-home p.hbd-mine__life .hbd-ico, .hbd-home p.hbd-mine__cem .hbd-ico { flex: 0 0 auto; margin-top: 1px; font-size: 17px; color: var(--hbd-green); }
.hbd-home ul.hbd-mine__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; }
.hbd-home ul.hbd-mine__stats li { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--hbd-muted); }
.hbd-home ul.hbd-mine__stats li .hbd-ico { font-size: 16px; color: #a3a9af; }
.hbd-home ul.hbd-mine__stats li:first-child .hbd-ico { color: #d9951a; }
.hbd-home ul.hbd-mine__stats strong { color: var(--hbd-text); }
.hbd-home .hbd-mine__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hbd-line); }

.hbd-home a.hbd-mbtn, .hbd-home button.hbd-mbtn {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; margin: 0; padding: 0 13px;
    border: 1px solid #dde1e5; border-radius: 999px; background: #fff; box-shadow: none; cursor: pointer;
    font-family: var(--hbd-font); font-size: 13px; font-weight: 700; color: var(--hbd-text); text-decoration: none; text-transform: none; letter-spacing: 0; line-height: 1; white-space: nowrap;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.hbd-home .hbd-mbtn .hbd-ico { font-size: 16px; color: var(--hbd-green); }
.hbd-home a.hbd-mbtn:hover, .hbd-home button.hbd-mbtn:hover { border-color: var(--hbd-green); color: var(--hbd-green-d); background: #fff; }
.hbd-home .hbd-mbtn.is-done { border-color: var(--hbd-green); background: #eef4e2; color: var(--hbd-green-d); }
.hbd-home button.hbd-mbtn--danger { margin-left: auto; width: 36px; padding: 0; justify-content: center; }
.hbd-home button.hbd-mbtn--danger .hbd-ico { color: #c2604f; font-size: 13px; }
.hbd-home button.hbd-mbtn--danger:hover { border-color: #d0604f; color: #b4412f; background: #fff; }

.hbd-home .hbd-acc-empty { padding: 56px 30px; text-align: center; }
.hbd-home .hbd-acc-empty .hbd-acc-h2 { justify-content: center; }
.hbd-home .hbd-acc-empty .hbd-acc-muted { max-width: 520px; margin: 0 auto 26px; }
.hbd-home .hbd-acc-empty__ico {
    display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 18px;
    border-radius: 50%; background: radial-gradient(circle, #fff8e6 0%, #fdf0cf 100%); color: #d9951a; font-size: 40px;
    box-shadow: 0 0 0 10px rgba(243, 186, 70, .08), 0 0 40px rgba(243, 186, 70, .35);
}

/* Nastavení účtu */
.hbd-home .hbd-acc-settings { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.hbd-home .hbd-acc-box { padding: 30px 32px; }
.hbd-home .hbd-acc-box .hbd-acc-h2 { margin-bottom: 22px; }
.hbd-home .hbd-acc-info p { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: #4b535c; }
.hbd-home .hbd-acc-info p a { color: var(--hbd-green-d); font-weight: 700; }
.hbd-home .hbd-acc-info .hbd-btn { margin-top: 10px; }

/* Dialog */
.hbd-home dialog.hbd-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 30px 80px rgba(10, 20, 30, .35); color: var(--hbd-text); }
.hbd-home dialog.hbd-dialog::backdrop { background: rgba(20, 28, 36, .6); }
.hbd-home .hbd-dialog__inner { padding: 34px 32px 28px; text-align: center; margin: 0; }
.hbd-home .hbd-dialog__inner .hbd-acc-h2 { justify-content: center; }
.hbd-home .hbd-dialog__btns { display: flex; justify-content: center; gap: 12px; }

/* ==========================================================================
   Průvodce
   ========================================================================== */
.hbd-home .hbd-wiz { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.hbd-home .hbd-wiz[hidden] { display: none; }
.hbd-home form.hbd-wiz__main { position: relative; padding: 30px 38px 30px; }

.hbd-home ol.hbd-steps-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 34px; padding: 0 0 26px; list-style: none; border-bottom: 1px solid var(--hbd-line); counter-reset: none; }
.hbd-home ol.hbd-steps-nav li { position: relative; margin: 0; padding: 0; }
.hbd-home ol.hbd-steps-nav li::before { content: none; }
.hbd-home ol.hbd-steps-nav li + li::after { content: ""; position: absolute; top: 17px; right: calc(50% + 24px); left: calc(-50% + 24px); height: 2px; background: #e3e6e9; border-radius: 2px; }
.hbd-home ol.hbd-steps-nav li.is-done + li::after, .hbd-home ol.hbd-steps-nav li.is-done + li.is-current::after { background: var(--hbd-green); }
.hbd-home ol.hbd-steps-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 9px; width: 100%; margin: 0; padding: 0;
    background: none; border: 0; box-shadow: none; cursor: pointer; font-family: var(--hbd-font); text-transform: none; letter-spacing: 0;
}
.hbd-home ol.hbd-steps-nav button:hover { background: none; }
.hbd-home ol.hbd-steps-nav button:disabled { cursor: default; }
.hbd-home .hbd-steps-nav__n {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 2px solid #d9dde1; color: #8a9098; font-size: 15px; font-weight: 800; transition: all .25s ease;
}
.hbd-home .hbd-steps-nav__t { font-size: 13px; font-weight: 700; line-height: 1.3; color: #8a9098; text-align: center; }
.hbd-home li.is-current .hbd-steps-nav__n { background: var(--hbd-green); border-color: var(--hbd-green); color: #fff; box-shadow: 0 0 0 5px rgba(124, 162, 52, .18); }
.hbd-home li.is-current .hbd-steps-nav__t { color: var(--hbd-text); }
.hbd-home li.is-done .hbd-steps-nav__n { background: #eef4e2; border-color: var(--hbd-green); color: var(--hbd-green-d); }
.hbd-home li.is-done .hbd-steps-nav__t { color: #4b535c; }
.hbd-home li.is-done button:hover .hbd-steps-nav__t { color: var(--hbd-green-d); }

.hbd-home fieldset.hbd-wstep { margin: 0; padding: 0; border: 0; min-width: 0; }
.hbd-home fieldset.hbd-wstep[hidden] { display: none; }
.hbd-home legend.hbd-wstep__title { display: block; float: left; width: 100%; margin: 0 0 22px; padding: 0; font-family: var(--hbd-font); font-size: 22px; font-weight: 700; color: var(--hbd-text); }
.hbd-home legend.hbd-wstep__title + * { clear: both; }
.hbd-home p.hbd-wstep__lead { margin-top: -8px; }

.hbd-home details.hbd-wextra { margin: 4px 0 6px; padding: 0 20px; border: 1px solid var(--hbd-line); border-radius: 8px; background: #fafbfb; }
.hbd-home details.hbd-wextra summary { display: flex; align-items: center; gap: 8px; padding: 15px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--hbd-text); }
.hbd-home details.hbd-wextra summary::-webkit-details-marker { display: none; }
.hbd-home details.hbd-wextra summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #eef4e2; color: var(--hbd-green-d); font-weight: 800; }
.hbd-home details.hbd-wextra[open] summary::before { content: "–"; }
.hbd-home details.hbd-wextra[open] { padding-bottom: 2px; }

/* Výběr hřbitova */
.hbd-home .hbd-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 4px; border-radius: 8px; background: #f1f3f4; }
.hbd-home .hbd-seg button {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 6px;
    background: transparent; box-shadow: none; cursor: pointer; font-family: var(--hbd-font); font-size: 14px; font-weight: 700; color: var(--hbd-muted); text-transform: none; letter-spacing: 0;
}
.hbd-home .hbd-seg button .hbd-ico { font-size: 17px; }
.hbd-home .hbd-seg button:hover { color: var(--hbd-text); background: transparent; }
.hbd-home .hbd-seg button.is-active { background: #fff; color: var(--hbd-text); box-shadow: 0 1px 4px rgba(20, 30, 40, .12); }
.hbd-home .hbd-seg button.is-active .hbd-ico { color: var(--hbd-green); }
.hbd-home [data-hbd-cempanel][hidden] { display: none; }
.hbd-home ul.hbd-cem-results { margin: -10px 0 20px; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto; border: 1px solid var(--hbd-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(20, 30, 40, .08); }
.hbd-home ul.hbd-cem-results[hidden] { display: none; }
.hbd-home ul.hbd-cem-results li { margin: 0; }
.hbd-home ul.hbd-cem-results button {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin: 0; padding: 11px 14px;
    background: none; border: 0; border-radius: 6px; box-shadow: none; cursor: pointer; text-align: left; font-family: var(--hbd-font); text-transform: none; letter-spacing: 0;
}
.hbd-home ul.hbd-cem-results button:hover, .hbd-home ul.hbd-cem-results button:focus-visible { background: #f2f7ea; }
.hbd-home ul.hbd-cem-results strong { font-size: 15px; color: var(--hbd-text); }
.hbd-home ul.hbd-cem-results small { font-size: 13px; color: var(--hbd-muted); }
.hbd-home li.hbd-cem-results__info { padding: 14px; font-size: 14px; color: var(--hbd-muted); }
.hbd-home .hbd-cem-chosen { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; padding: 18px 20px; border-radius: 8px; background: #f2f7ea; border: 1px solid #d6e5b8; }
.hbd-home .hbd-cem-chosen[hidden], .hbd-home .hbd-cem-pick[hidden] { display: none; }
.hbd-home .hbd-cem-chosen__ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--hbd-green-d); font-size: 22px; }
.hbd-home .hbd-cem-chosen__text { flex: 1 1 auto; min-width: 0; }
.hbd-home .hbd-cem-chosen__text strong { display: block; font-size: 16px; color: var(--hbd-text); }
.hbd-home .hbd-cem-chosen__text small { display: block; font-size: 13px; color: var(--hbd-muted); }

/* Fotografie */
.hbd-home .hbd-photo-drop { display: flex; gap: 24px; align-items: center; margin: 0 0 24px; padding: 20px; border: 2px dashed #d3d8dd; border-radius: 10px; background: #fafbfb; transition: border-color .2s ease, background-color .2s ease; }
.hbd-home .hbd-photo-drop.is-drag { border-color: var(--hbd-green); background: #f2f7ea; }
.hbd-home .hbd-photo-drop.has-photo { border-style: solid; border-color: var(--hbd-line); }
.hbd-home .hbd-photo-drop__frame { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 120px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #e7eaec; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(20, 30, 40, .1); }
.hbd-home .hbd-photo-drop__frame img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); border-radius: 0; }
.hbd-home .hbd-photo-drop__frame img[hidden], .hbd-home .hbd-photo-drop__ph[hidden] { display: none; }
.hbd-home .hbd-photo-drop__ph { color: #b3b9bf; font-size: 48px; }
.hbd-home .hbd-photo-drop__text { min-width: 0; }
.hbd-home .hbd-photo-drop__text > strong { display: block; margin: 0 0 4px; font-size: 16px; color: var(--hbd-text); }
.hbd-home .hbd-photo-drop__text > p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--hbd-muted); }
.hbd-home .hbd-photo-drop__text > p.hbd-acc-small { margin: 12px 0 0; font-size: 12.5px; }
.hbd-home .hbd-photo-drop__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Host – přihlášení k existujícímu účtu */
.hbd-home .hbd-wlogin { margin: 0 0 18px; padding: 18px 20px 0; border-radius: 8px; background: #f2f7ea; border: 1px solid #d6e5b8; }
.hbd-home .hbd-wlogin[hidden] { display: none; }
.hbd-home p.hbd-wlogin__head { display: flex; gap: 10px; margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #45631a; }
.hbd-home p.hbd-wlogin__head .hbd-ico { flex: 0 0 auto; font-size: 19px; margin-top: 1px; }

/* Souhrn */
.hbd-home dl.hbd-wsum { margin: 0; padding: 0; border: 1px solid var(--hbd-line); border-radius: 8px; overflow: hidden; }
.hbd-home dl.hbd-wsum > div { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--hbd-line); }
.hbd-home dl.hbd-wsum > div:first-child { border-top: 0; }
.hbd-home dl.hbd-wsum dt { margin: 0; font-size: 13px; font-weight: 700; color: var(--hbd-muted); }
.hbd-home dl.hbd-wsum dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--hbd-text); overflow-wrap: anywhere; }
.hbd-home dl.hbd-wsum .hbd-acc-link { font-size: 13px; }

/* Navigace průvodce */
.hbd-home .hbd-wnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hbd-line); }
.hbd-home .hbd-wnav [hidden] { display: none !important; }
.hbd-home .hbd-wnav__step { margin-right: auto; font-size: 13px; font-weight: 700; color: #9aa0a6; }
.hbd-home .hbd-wnav [data-hbd-prev]:not([hidden]) + .hbd-wnav__step { margin-left: 6px; }
.hbd-home .hbd-wnav .hbd-btn { min-height: 50px; }

/* Náhled */
.hbd-home .hbd-wiz__side { position: sticky; top: 24px; }
.admin-bar .hbd-home .hbd-wiz__side { top: 56px; }
.hbd-home p.hbd-wiz__plabel { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.hbd-home p.hbd-wiz__plabel .hbd-ico { color: var(--hbd-green-l); font-size: 16px; }
.hbd-home .hbd-pv { padding: 30px 26px 24px; text-align: center; background: #fff; }
.hbd-home .hbd-pv__photo { position: relative; display: flex; align-items: center; justify-content: center; width: 132px; aspect-ratio: 3 / 4; margin: 0 auto 18px; border-radius: 6px; overflow: hidden; background: #e7eaec; border: 4px solid #e3e6e9; }
.hbd-home .hbd-pv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); border-radius: 0; }
.hbd-home .hbd-pv__photo img[hidden], .hbd-home .hbd-pv__photo span[hidden] { display: none; }
.hbd-home .hbd-pv__photo > span { color: #b3b9bf; font-size: 54px; }
.hbd-home .hbd-pv__ribbon { position: absolute; right: -22px; top: 12px; width: 90px; height: 14px; background: #111; transform: rotate(45deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.hbd-home p.hbd-pv__kicker { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9aa0a6; }
.hbd-home h3.hbd-pv__name { margin: 0 0 6px; font-family: var(--hbd-font); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--hbd-text); overflow-wrap: anywhere; }
.hbd-home h3.hbd-pv__name.is-empty { color: #c3c8cd; }
.hbd-home p.hbd-pv__age { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--hbd-green-d); }
.hbd-home p.hbd-pv__dates { margin: 0 0 6px; font-size: 14px; color: #4b535c; white-space: pre-wrap; }
.hbd-home p.hbd-pv__prof { margin: 0 0 6px; font-size: 13px; font-style: italic; color: var(--hbd-muted); }
.hbd-home p.hbd-pv__cem { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--hbd-line); font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--hbd-text); }
.hbd-home p.hbd-pv__cem .hbd-ico { flex: 0 0 auto; color: var(--hbd-green); font-size: 16px; margin-top: 1px; }
.hbd-home p.hbd-pv__text { margin: 14px 0 0; font-size: 13.5px; line-height: 1.7; font-style: italic; color: #59616a; overflow-wrap: anywhere; }
.hbd-home .hbd-pv [hidden] { display: none; }
.hbd-home .hbd-pv__candle { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; height: 42px; border-radius: 4px; background: var(--hbd-green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.hbd-home ul.hbd-wiz__tips { margin: 18px 4px 0; padding: 0; list-style: none; }
.hbd-home ul.hbd-wiz__tips li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--hbd-muted); }
.hbd-home ul.hbd-wiz__tips .hbd-ico { flex: 0 0 auto; color: var(--hbd-green); font-size: 17px; margin-top: 1px; }

/* Hotovo */
.hbd-home .hbd-wdone[hidden] { display: none; }
.hbd-home .hbd-wdone { max-width: 640px; padding: 46px 44px 38px; }
.hbd-home .hbd-wdone .hbd-acc-h2 { justify-content: center; font-size: 26px; }
.hbd-home .hbd-wdone__flame {
    display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin-bottom: 20px; border-radius: 50%;
    background: radial-gradient(circle, #fff8e6 0%, #fdf0cf 100%); color: #d9951a; font-size: 44px;
    box-shadow: 0 0 0 12px rgba(243, 186, 70, .08), 0 0 50px rgba(243, 186, 70, .45); animation: hbd-glow 2.4s ease-in-out infinite;
}
@keyframes hbd-glow { 50% { box-shadow: 0 0 0 16px rgba(243, 186, 70, .06), 0 0 70px rgba(243, 186, 70, .55); } }
.hbd-home .hbd-wdone__account { display: flex; gap: 12px; margin: 0 0 22px; padding: 16px 18px; border-radius: 8px; background: #f2f7ea; border: 1px solid #d6e5b8; text-align: left; font-size: 14px; line-height: 1.6; color: #45631a; }
.hbd-home .hbd-wdone__account[hidden] { display: none; }
.hbd-home .hbd-wdone__account .hbd-ico { flex: 0 0 auto; font-size: 20px; margin-top: 2px; }
.hbd-home .hbd-wdone__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 6px 0 26px; }
.hbd-home .hbd-wdone__share { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding-top: 22px; border-top: 1px solid var(--hbd-line); font-size: 14px; color: var(--hbd-muted); }
.hbd-home .hbd-wdone__share > span { flex: 1 0 100%; margin-bottom: 4px; }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1100px) {
    .hbd-home .hbd-mine-list { grid-template-columns: minmax(0, 1fr); }
    .hbd-home .hbd-wiz { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
    .hbd-home form.hbd-wiz__main { padding: 28px 28px; }
    .hbd-home .hbd-f-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .hbd-home .hbd-acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hbd-home .hbd-auth { grid-template-columns: minmax(0, 1fr); }
    .hbd-home .hbd-auth__side { order: 2; }
    .hbd-home .hbd-wiz { grid-template-columns: minmax(0, 1fr); }
    .hbd-home .hbd-wiz__side { position: static; order: -1; display: none; }
    .hbd-home .hbd-acc-settings { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .hbd-home .hbd-acc__body { margin-top: -46px; }
    .hbd-home .hbd-acc__headactions { width: 100%; }
    .hbd-home .hbd-acc__headactions .hbd-btn { flex: 1 1 auto; }
    .hbd-home .hbd-f-row, .hbd-home .hbd-f-row--4 { grid-template-columns: minmax(0, 1fr); }
    .hbd-home .hbd-auth__main { padding: 24px 20px 28px; }
    .hbd-home .hbd-auth__side { padding: 28px 20px; }
    .hbd-home .hbd-acc-narrow, .hbd-home .hbd-wdone { padding: 32px 20px; }
    .hbd-home .hbd-acc-stats { gap: 12px; margin-bottom: 24px; }
    .hbd-home .hbd-acc-stat { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 20px; row-gap: 4px; }
    .hbd-home .hbd-acc-stat__ico { grid-row: auto; width: 40px; height: 40px; font-size: 20px; margin-bottom: 6px; border-radius: 10px; }
    .hbd-home .hbd-acc-stat__val { font-size: 23px; }
    .hbd-home .hbd-acc-stat__val--text { font-size: 17px; }
    .hbd-home .hbd-acc-stat__bar { left: 16px; right: 16px; bottom: 10px; }
    .hbd-home button.hbd-tabs__tab { padding: 12px 12px; font-size: 14px; }
    .hbd-home article.hbd-mine { grid-template-columns: 82px minmax(0, 1fr); column-gap: 16px; padding: 18px 16px; }
    .hbd-home a.hbd-mine__photo { grid-row: 1; }
    .hbd-home .hbd-mine__actions { grid-column: 1 / -1; }
    .hbd-home h3.hbd-mine__name { font-size: 18px; }
    .hbd-home .hbd-mbtn span { display: none; }
    .hbd-home a.hbd-mbtn, .hbd-home button.hbd-mbtn { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .hbd-home .hbd-mbtn .hbd-ico { font-size: 18px; }
    .hbd-home .hbd-wdone__share .hbd-mbtn span { display: inline; }
    .hbd-home .hbd-wdone__share a.hbd-mbtn, .hbd-home .hbd-wdone__share button.hbd-mbtn { width: auto; padding: 0 13px; }
    .hbd-home .hbd-acc-box { padding: 24px 20px; }

    .hbd-home form.hbd-wiz__main { padding: 22px 18px 22px; }
    .hbd-home ol.hbd-steps-nav { margin-bottom: 24px; padding-bottom: 20px; }
    .hbd-home .hbd-steps-nav__t { display: none; }
    .hbd-home li.is-current .hbd-steps-nav__t { display: block; position: absolute; top: 46px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; }
    .hbd-home ol.hbd-steps-nav li:first-child.is-current .hbd-steps-nav__t { left: 0; transform: none; }
    .hbd-home ol.hbd-steps-nav li:last-child.is-current .hbd-steps-nav__t { left: auto; right: 0; transform: none; }
    .hbd-home ol.hbd-steps-nav { padding-bottom: 38px; }
    .hbd-home legend.hbd-wstep__title { font-size: 19px; margin-bottom: 18px; }
    .hbd-home .hbd-seg { display: flex; }
    .hbd-home .hbd-seg button { flex: 1 1 auto; justify-content: center; padding: 0 10px; font-size: 13px; }
    .hbd-home .hbd-photo-drop { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 14px; }
    .hbd-home .hbd-photo-drop__frame { margin: 0 auto; }
    .hbd-home .hbd-photo-drop__btns { justify-content: center; }
    .hbd-home dl.hbd-wsum > div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
    .hbd-home dl.hbd-wsum dt { grid-column: 1 / -1; }
    .hbd-home .hbd-wnav { flex-wrap: wrap; }
    .hbd-home .hbd-wnav__step { flex: 1 0 100%; order: -1; margin: 0; text-align: center; }
    .hbd-home .hbd-wnav .hbd-btn { flex: 1 1 auto; padding: 0 16px; }
}

.hbd-home .hbd-acc-link[hidden], .hbd-home .hbd-mbtn[hidden], .hbd-home .hbd-btn[hidden] { display: none !important; }
