@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-accent:#123947;--color-accent-hover:#0f2f3a;--color-accent-soft:#e8f0f3;--color-accent-soft-hover:#dce9ee;--btn-accent-bg:transparent;--btn-accent-border:#d1d9e0;--btn-accent-text:#64748b;--btn-accent-hover-bg:#f4f6f8;--btn-accent-hover-border:#b8c4ce;--btn-accent-hover-text:#475569;--color-bg:#fff;--color-bg-soft:#f7f9fb;--color-bg-muted:#f0f4f8;--color-surface:#fff;--color-text:#1a2332;--color-text-muted:#64748b;--color-text-light:#94a3b8;--color-border:#e2e8f0;--color-border-light:#eef2f6;--shadow-sm:0 1px 3px #1239470f;--shadow-md:0 8px 30px #12394714;--shadow-header:0 1px 0 var(--color-border-light);--container-width:1200px;--header-height:72px;--example-nav-sticky-height:76px;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-full:999px;color:var(--color-text);background-color:var(--color-bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter Variable,Inter,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:400;line-height:1.5}*,:before,:after{box-sizing:border-box}.brand-logo{display:contents}html,body,#root{min-height:100%}body{margin:0}a{color:inherit;text-decoration:none}ul{margin:0;padding:0;list-style:none}button{font:inherit;cursor:pointer}.container{width:min(100% - 32px, var(--container-width));margin-inline:auto}.page{background:var(--color-bg);min-height:100vh;padding-top:var(--header-height);flex-direction:column;display:flex}.page__content{background:var(--color-bg);flex:1;min-height:320px}.page--fullscreen-map{height:100vh;overflow:hidden}.page__content--fullscreen-map{min-height:0;height:calc(100vh - var(--header-height));overflow:hidden}.content-placeholder{min-height:inherit}.route-fallback{min-height:min(72vh, calc(100vh - var(--header-height) - 32px));text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:40px 24px;display:flex}.route-fallback--compact{min-height:12rem;padding:24px}.route-fallback__visual{place-items:center;width:72px;height:72px;display:grid;position:relative}.route-fallback__logo{object-fit:contain;opacity:.92;width:40px;height:40px}.route-fallback__ring{border:2px solid #1239471f;border-top-color:var(--color-accent);border-radius:50%;animation:.9s linear infinite route-fallback-spin;position:absolute;inset:0}.route-fallback__label{letter-spacing:.01em;max-width:20rem;color:var(--color-text-muted);margin:0;font-size:.9375rem;font-weight:500;line-height:1.45}.page__content--fullscreen-map .route-fallback{min-height:calc(100vh - var(--header-height))}@keyframes route-fallback-spin{to{transform:rotate(360deg)}}.header{z-index:1000;position:fixed;top:0;left:0;right:0}.header__main{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--color-border-light);background:#fffffff5;box-shadow:0 2px 8px #12202f14}.header__main-inner{min-height:var(--header-height);align-items:center;gap:24px;display:flex}.header__logo{letter-spacing:-.02em;color:var(--color-text);flex-shrink:0;align-items:center;gap:12px;font-size:1rem;font-weight:600;display:inline-flex}.header__logo-img{object-fit:contain;flex-shrink:0;width:52px;height:52px}.header__logo-text{color:var(--color-text);flex-direction:column;line-height:1.15;display:flex}.header__logo-line{display:block}.header__right{align-items:center;gap:20px;min-width:0;margin-left:auto;display:flex}.header__nav{justify-content:flex-end;align-items:center;gap:4px;display:flex}.header__divider{background:var(--color-border);flex-shrink:0;width:1px;height:20px}.nav-link{color:var(--color-text);border-radius:6px;align-items:center;padding:8px 10px;font-size:.9375rem;font-weight:500;transition:color .15s;display:inline-flex}.nav-link:hover{color:var(--color-accent)}.nav-dropdown{position:relative}.nav-dropdown__trigger{color:var(--color-text);border-radius:6px;align-items:center;gap:6px;padding:8px 10px;font-size:.9375rem;font-weight:500;transition:color .15s;display:inline-flex}.nav-dropdown__trigger:hover,.nav-dropdown--open .nav-dropdown__trigger{color:var(--color-accent)}.nav-dropdown__caret{opacity:.55;border-bottom:1.5px solid;border-right:1.5px solid;width:5px;height:5px;transition:transform .15s;transform:rotate(45deg)translateY(-1px)}.nav-dropdown--open .nav-dropdown__caret{transform:rotate(-135deg)translateY(1px)}.nav-dropdown__panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:220px;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;padding:8px;transition:opacity .15s,transform .15s,visibility .15s;position:absolute;top:calc(100% + 10px);left:0;transform:translateY(4px)}.nav-dropdown--open .nav-dropdown__panel{opacity:1;visibility:visible;transform:translateY(0)}.nav-dropdown__link{color:var(--color-text-muted);border-radius:6px;padding:9px 12px;font-size:.875rem;transition:background-color .15s,color .15s;display:block}.nav-dropdown__link:hover{background:var(--color-bg-muted);color:var(--color-text)}.nav-dropdown__link--muted{color:var(--color-text-light)}.nav-dropdown__link--muted:hover{color:var(--color-text-muted)}.header__actions{flex-shrink:0;align-items:center;gap:20px;display:flex}.header__sign-in{border-radius:var(--radius-full);width:40px;height:40px;color:var(--color-text);justify-content:center;align-items:center;transition:color .15s,background-color .15s;display:inline-flex}.header__sign-in:hover{color:var(--color-accent);background:var(--color-bg-muted)}.header__sign-in-icon{width:22px;height:22px}.account-menu{position:relative}.account-menu__panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:240px;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;flex-direction:column;padding:8px;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:absolute;top:calc(100% + 10px);right:0;transform:translateY(4px)}.account-menu--open .account-menu__panel{opacity:1;visibility:visible;transform:translateY(0)}.account-menu__name{color:var(--color-text);margin:0;padding:10px 12px 8px;font-size:.875rem;font-weight:600;line-height:1.4}.account-menu__list{flex:auto;margin:0;padding:0;list-style:none}.account-menu__link{color:var(--color-text-muted);border-radius:6px;padding:9px 12px;font-size:.875rem;transition:background-color .15s,color .15s;display:block}.account-menu__link:hover{background:var(--color-bg-muted);color:var(--color-text)}.account-menu__admin{border-top:1px solid var(--color-border-light);flex-direction:column;flex-shrink:0;gap:8px;margin-top:auto;padding-top:8px;display:flex}.account-menu__audience{padding:8px 12px 10px}.account-menu__audience-label{letter-spacing:.02em;color:var(--color-text-muted);margin:0 0 8px;font-size:.75rem;font-weight:600}.account-menu__audience-switch{background:var(--color-bg-muted);border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.account-menu__audience-btn{min-height:44px;color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:6px 8px;transition:background-color .15s,color .15s;display:flex}.account-menu__audience-code{font-size:.8125rem;font-weight:600;line-height:1.2}.account-menu__audience-hint{opacity:.8;font-size:.6875rem;font-weight:500;line-height:1.2}.account-menu__audience-btn:hover{color:var(--color-text)}.account-menu__audience-btn--active{background:var(--color-surface);color:var(--color-accent);box-shadow:var(--shadow-sm)}.account-menu__admin-link{color:var(--color-accent);background:var(--color-accent-soft);border-radius:6px;padding:9px 12px;font-size:.875rem;font-weight:600;transition:background-color .15s,color .15s;display:block}.account-menu__admin-link:hover{background:var(--color-accent-soft-hover);color:var(--color-accent-hover)}.account-menu__crm-link{border:1px solid var(--color-accent);letter-spacing:.04em;text-transform:uppercase;text-align:center;color:var(--color-surface);background:linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);box-shadow:var(--shadow-sm);border-radius:8px;padding:11px 14px;font-size:.9375rem;font-weight:700;transition:filter .15s,transform .15s,box-shadow .15s;display:block}.account-menu__crm-link:hover{filter:brightness(1.05);color:var(--color-surface);box-shadow:var(--shadow-md);transform:translateY(-1px)}.account-menu__footer{border-top:1px solid var(--color-border-light);flex-shrink:0;margin-top:auto;padding-top:8px}.account-menu__logout{width:100%;color:var(--color-text-muted);font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;padding:9px 12px;font-size:.875rem;transition:background-color .15s,color .15s;display:block}.account-menu__logout:hover{background:var(--color-bg-muted);color:var(--color-text)}.header__cta{border-radius:var(--radius-full);background:var(--color-accent);color:#fff;white-space:nowrap;justify-content:center;align-items:center;min-height:40px;padding:0 18px;font-size:.875rem;font-weight:500;transition:background-color .15s;display:inline-flex}.header__cta:hover{background:var(--color-accent-hover)}.header__burger{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);flex-direction:column;flex-shrink:0;justify-content:center;gap:5px;width:40px;height:40px;margin-left:auto;padding:0;display:none}.header__burger span{background:var(--color-text);width:16px;height:1.5px;margin-inline:auto;transition:transform .2s,opacity .2s;display:block}.header__burger--open span:first-child{transform:translateY(6.5px)rotate(45deg)}.header__burger--open span:nth-child(2){opacity:0}.header__burger--open span:nth-child(3){transform:translateY(-6.5px)rotate(-45deg)}.header__mobile{z-index:1001;position:relative}.header__mobile-backdrop{inset:var(--header-height) 0 0;cursor:pointer;background:#1a233259;border:0;padding:0;position:fixed}.header__mobile-panel{top:var(--header-height);max-height:calc(100vh - var(--header-height));background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-md);padding:16px 16px 24px;position:fixed;left:0;right:0;overflow-y:auto}.header__mobile-nav{gap:4px;display:grid}.header__mobile-link{border-radius:var(--radius-sm);color:var(--color-text);padding:14px 12px;font-size:.9375rem;font-weight:500;display:block}.header__mobile-link:hover{background:var(--color-bg-muted)}.header__mobile-group{border-radius:var(--radius-sm)}.header__mobile-group-trigger{border-radius:var(--radius-sm);width:100%;color:var(--color-text);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;padding:14px 12px;font-size:.9375rem;font-weight:500;display:flex}.header__mobile-group-trigger:hover{background:var(--color-bg-muted)}.header__mobile-caret{opacity:.55;border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;transition:transform .2s;transform:rotate(45deg)}.header__mobile-group--open .header__mobile-caret{transform:rotate(-135deg)}.header__mobile-sublist{gap:2px;padding:0 8px 8px 12px;display:none}.header__mobile-group--open .header__mobile-sublist{display:grid}.header__mobile-sublink{border-radius:calc(var(--radius-sm) - 2px);color:var(--color-text-muted);padding:10px 12px;font-size:.875rem;display:block}.header__mobile-sublink:hover{background:var(--color-bg-muted);color:var(--color-text)}.header__mobile-sublink--muted{color:var(--color-text-light)}.header__mobile-sublink--muted:hover{color:var(--color-text-muted)}.header__mobile-divider{background:var(--color-border-light);height:1px;margin:12px 0 0}.header__mobile-actions{border-top:0;gap:12px;margin-top:16px;padding-top:16px;display:grid}.header__mobile-actions .header__sign-in{white-space:nowrap;border-radius:0;justify-self:center;width:auto;height:auto;padding:8px 0;font-size:.9375rem;font-weight:500}.header__mobile-actions .header__sign-in:hover{background:0 0}.header__mobile-cta{width:100%}.header__mobile-audience{padding:4px 0 8px}.header__mobile-audience .account-menu__audience{padding:0}@media (width<=1024px){.header__right,.header__nav,.header__actions,.header__divider{display:none}.header__burger{display:flex}}@media (width<=640px){.header__logo-text{display:none}}.footer{background:var(--color-bg-soft);color:var(--color-text);border-top:1px solid var(--color-border-light);padding:48px 0 28px}.footer__main{grid-template-columns:minmax(220px,280px) 1fr;align-items:start;gap:48px 64px;padding-bottom:48px;display:grid}.footer__brand{max-width:280px}.footer__brand-link{color:var(--color-text);align-items:center;gap:12px;margin-bottom:12px;display:inline-flex}.footer__brand-logo{object-fit:contain;flex-shrink:0;width:34px;height:34px}.footer__brand-name{letter-spacing:-.02em;font-size:1rem;font-weight:600}.footer__brand-tagline{color:var(--color-text-muted);margin:0;font-size:.875rem;line-height:1.55}.footer__columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;display:grid}.footer__column-title{color:var(--color-text);margin:0 0 20px;font-size:.875rem;font-weight:600}.footer__column-list{gap:14px;display:grid}.footer__column-link{color:var(--color-text-muted);font-size:.875rem;line-height:1.4;transition:color .15s}.footer__column-link:hover{color:var(--color-text)}.footer__column-link--muted{color:var(--color-text-light)}.footer__column-link--muted:hover{color:var(--color-text-muted)}.footer__bottom{border-top:1px solid var(--color-border);grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding-top:24px;display:grid}.footer__copy{color:var(--color-text-light);white-space:nowrap;margin:0;font-size:.8125rem}.footer__legal{flex-wrap:wrap;justify-content:center;gap:8px 24px;display:flex}.footer__legal-link{color:var(--color-text-muted);font-size:.8125rem;transition:color .15s}.footer__legal-link:hover{color:var(--color-text)}.footer__lang{justify-self:end;position:relative}.footer__lang-btn{min-height:32px;color:var(--color-text-muted);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:.8125rem;transition:color .15s;display:inline-flex}.footer__lang-btn:hover{color:var(--color-text)}.footer__lang-caret{opacity:.55;border-bottom:1.5px solid;border-right:1.5px solid;width:5px;height:5px;transform:rotate(45deg)translateY(-1px)}.footer__lang-list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:140px;box-shadow:var(--shadow-md);padding:6px;position:absolute;bottom:calc(100% + 8px);right:0}.footer__lang-option{width:100%;color:var(--color-text-muted);text-align:left;background:0 0;border:0;border-radius:6px;padding:9px 12px;font-size:.8125rem;display:block}.footer__lang-option:hover,.footer__lang-option--active{background:var(--color-bg-muted);color:var(--color-text)}@media (width<=900px){.footer__main{grid-template-columns:1fr;gap:36px}.footer__brand{max-width:none}.footer__columns{grid-template-columns:repeat(2,minmax(0,1fr))}.footer__bottom{grid-template-columns:1fr;gap:16px}.footer__legal{justify-content:flex-start}.footer__lang{justify-self:start}}@media (width<=640px){.footer{padding-top:40px}.footer__main{gap:32px;padding-bottom:36px}.footer__columns{grid-template-columns:1fr;gap:28px}}.content-page{padding:48px 0 80px}.family-tree-page__advantages{scroll-margin-top:calc(var(--header-height) + 24px)}.approval-pending-banner{color:#fff;text-align:center;letter-spacing:.01em;background:#c62828;width:100%;padding:12px 16px;font-size:.9375rem;font-weight:600;line-height:1.35}.content-faq{flex-direction:column;gap:12px;margin-top:28px;display:flex}.content-faq__item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);overflow:hidden}.content-faq__question{cursor:pointer;padding:18px 20px;font-size:.9375rem;font-weight:500;line-height:1.45;list-style:none}.content-faq__question::-webkit-details-marker{display:none}.content-faq__question:after{content:"+";float:right;color:var(--color-accent);font-size:1.125rem;font-weight:400}.content-faq__item[open] .content-faq__question:after{content:"−"}.content-faq__answer{color:var(--color-text-muted);margin:0;padding:0 20px 18px;font-size:.9375rem;line-height:1.6}.content-hero{width:min(100% - 32px, var(--container-width));margin:0 auto 56px;padding:0 0 8px}.content-hero--compact{margin-bottom:40px}.content-hero__eyebrow{color:var(--color-accent);letter-spacing:.02em;text-transform:uppercase;margin:0 0 12px;font-size:.875rem;font-weight:600}.content-hero__title{letter-spacing:-.03em;max-width:18ch;color:var(--color-text);margin:0 0 16px;font-size:clamp(2rem,4vw,2.75rem);line-height:1.15}.content-hero__lead{max-width:42rem;color:var(--color-text-muted);margin:0;font-size:1.0625rem;line-height:1.6}.content-hero__cta{border-radius:var(--radius-full);background:var(--color-accent);color:#fff;justify-content:center;align-items:center;min-height:44px;margin-top:28px;padding:0 22px;font-size:.9375rem;font-weight:500;transition:background-color .15s;display:inline-flex}.content-hero__cta:hover{background:var(--color-accent-hover)}.content-section{width:min(100% - 32px, var(--container-width));scroll-margin-top:calc(var(--header-height) + 24px);margin:0 auto;padding:56px 0}.content-section--muted{border-radius:var(--radius-lg);background:var(--color-bg-soft);padding-left:24px;padding-right:24px}.content-section__title{letter-spacing:-.02em;margin:0 0 12px;font-size:1.5rem}.content-section__lead,.content-section__note{max-width:42rem;color:var(--color-text-muted);margin:0;font-size:1rem;line-height:1.6}.content-section__note{margin-top:32px}.content-link{color:var(--color-accent);text-underline-offset:3px;text-decoration:underline}.content-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px;display:grid}.content-step{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);padding:24px}.content-step__num{border-radius:var(--radius-full);background:var(--color-accent-soft);width:32px;height:32px;color:var(--color-accent);justify-content:center;align-items:center;margin-bottom:16px;font-size:.875rem;font-weight:600;display:inline-flex}.content-step h3{margin:0 0 8px;font-size:1.0625rem}.content-step p{color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.55}.content-step__tip{border-top:1px solid var(--color-border-light);padding-top:12px;margin-top:12px!important;font-size:.875rem!important}.content-features{border-top:1px solid var(--color-border-light);flex-direction:column;gap:0;margin-top:36px;display:flex}.content-feature{border-bottom:1px solid var(--color-border-light);grid-template-columns:3.25rem minmax(0,1fr);gap:8px 20px;padding:28px 0;display:grid}.content-feature__index{letter-spacing:.06em;color:var(--color-accent);font-variant-numeric:tabular-nums;padding-top:4px;font-size:.8125rem;font-weight:600}.content-feature__body h3{letter-spacing:-.02em;margin:0 0 10px;font-size:1.125rem;line-height:1.3}.content-feature__body p{max-width:44rem;color:var(--color-text-muted);margin:0;font-size:.975rem;line-height:1.65}.content-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px;display:grid}.content-card{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);padding:24px}.content-card h3{margin:0 0 10px;font-size:1rem}.content-card p{color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.55}.example-preview{margin-bottom:32px}.example-preview__frame{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);max-width:520px;box-shadow:var(--shadow-sm);padding:28px}.example-preview__header{margin-bottom:20px}.example-preview__name{letter-spacing:-.02em;margin:0 0 4px;font-size:1.25rem;font-weight:600}.example-preview__dates{color:var(--color-text-muted);margin:0;font-size:.9375rem}.example-preview__photo{aspect-ratio:4/3;border-radius:var(--radius-md);background:linear-gradient(145deg, var(--color-bg-muted), var(--color-border-light));width:100%;margin-bottom:20px}.example-preview__quote{color:var(--color-text-muted);margin:0;font-size:.9375rem;font-style:italic;line-height:1.6}@media (width<=900px){.content-steps,.content-cards{grid-template-columns:1fr}}@media (width<=640px){.content-page{padding-top:32px}.content-section{padding:40px 0}.content-section--muted{padding-left:16px;padding-right:16px}.content-feature{grid-template-columns:2.5rem minmax(0,1fr);gap:4px 14px;padding:22px 0}.content-feature__body h3{font-size:1.0625rem}}.contacts-page__form-section{padding-top:32px;padding-bottom:48px}.contacts-page__form{width:min(100%,36rem)}.contacts-page__agency-notice{color:var(--color-text);background:#2e5d4a14;border-radius:10px;margin:0 0 8px;padding:12px 14px;font-size:.9375rem;line-height:1.45}.contacts-page__counter{color:var(--color-text-light);font-size:.8125rem}.contacts-page .auth-form__submit{align-self:flex-start;min-width:10rem}.home{overflow:clip}.home [data-reveal]{opacity:0;transition:opacity .7s,transform .7s;transform:translateY(18px)}.home [data-reveal].is-visible{opacity:1;transform:none}@media (prefers-reduced-motion:reduce){.home [data-reveal]{opacity:1;transition:none;transform:none}}.home-hero{min-height:calc(100svh - var(--header-height));width:100%;padding:48px max(16px, calc((100% - var(--container-width)) / 2)) 56px;background:radial-gradient(80% 60% at 85% 20%,#12394714,#0000 55%),linear-gradient(165deg,#eef4f6 0%,#f7fafb 42%,#fff 100%);grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:end;gap:32px;display:grid;position:relative}.home-hero__content{z-index:2;max-width:34rem;padding-bottom:12px;animation:.9s both home-hero-in;position:relative}.home-hero__brand{letter-spacing:-.03em;color:var(--color-accent);margin:0 0 18px;font-size:clamp(1.75rem,3.4vw,2.35rem);font-weight:600;line-height:1.15}.home-hero__title{letter-spacing:-.03em;max-width:16ch;color:var(--color-text);margin:0 0 16px;font-size:clamp(1.65rem,3vw,2.15rem);font-weight:500;line-height:1.2}.home-hero__lead{max-width:36rem;color:var(--color-text-muted);margin:0;font-size:1.0625rem;line-height:1.6}.home-hero__cta{border-radius:var(--radius-md);background:var(--color-accent);color:#fff;min-height:46px;font:inherit;cursor:pointer;border:0;justify-content:center;align-items:center;margin-top:28px;padding:0 22px;font-size:.9375rem;font-weight:500;text-decoration:none;transition:background-color .15s;display:inline-flex}.home-hero__cta:hover{background:var(--color-accent-hover)}.home-hero__media{min-height:min(62vh,560px);animation:1.1s both home-hero-media-in;position:relative}.home-hero__wash{pointer-events:none;z-index:1;background:linear-gradient(90deg,#eef4f6 0%,#0000 28%),linear-gradient(#0000 78%,#fff 100%);position:absolute;inset:0}.home-hero__photo{object-fit:cover;border-radius:4px;position:absolute}.home-hero__photo--main{width:74%;height:82%;animation:12s ease-in-out infinite home-hero-float;top:8%;left:18%;box-shadow:0 18px 50px #12394724}.home-hero__photo--side{aspect-ratio:4/3;opacity:.92;width:42%;animation:14s ease-in-out infinite reverse home-hero-float;bottom:18%;right:4%;box-shadow:0 12px 32px #1239471f}.home-hero__photo--side-b{aspect-ratio:5/4;opacity:.78;filter:saturate(.9);width:34%;animation:16s ease-in-out infinite home-hero-float;top:6%;right:10%}@keyframes home-hero-in{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes home-hero-media-in{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}@keyframes home-hero-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.home-hero__content,.home-hero__media,.home-hero__photo--main,.home-hero__photo--side,.home-hero__photo--side-b{animation:none}}.home-strip{border-block:1px solid var(--color-border-light);padding:28px max(16px, calc((100% - var(--container-width)) / 2));background:#f4f7f8}.home-strip__list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 20px;margin:0;padding:0;list-style:none;display:grid}.home-strip__item{text-align:center;color:var(--color-accent);flex-direction:column;align-items:center;gap:10px;display:flex}.home-strip__icon{background:#1239470f;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.home-strip__icon svg{width:28px;height:28px}.home-strip__label{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);font-size:.8125rem;font-weight:600}.home-section{padding:72px max(16px, calc((100% - var(--container-width)) / 2))}.home-section--features{background:var(--color-bg)}.home-section--tree{background:linear-gradient(#f3f7f8 0%,#eef4f6 100%)}.home-section--invite{background:var(--color-bg)}.home-section--start{background:var(--color-bg-soft);padding-bottom:96px}.home-section__inner{max-width:40rem;margin-bottom:48px}.home-section__title{letter-spacing:-.02em;color:var(--color-text);margin:0 0 12px;font-size:clamp(1.4rem,2.4vw,1.75rem);line-height:1.25}.home-section__lead{max-width:38rem;color:var(--color-text-muted);margin:0;font-size:1rem;line-height:1.6}.home-features{flex-direction:column;gap:64px;display:flex}.home-feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px 56px;display:grid}.home-feature--reverse .home-feature__copy{order:2}.home-feature--reverse .home-feature__visual{order:1}.home-feature__copy{max-width:36rem}.home-feature__copy :is(h2,h3){letter-spacing:-.03em;margin:0 0 16px;font-size:clamp(1.5rem,2.8vw,2.05rem);font-weight:600;line-height:1.2}.home-feature__copy p{color:var(--color-text-muted);margin:0;font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.6}.home-feature__visual{min-height:240px}.home-scene{border-radius:var(--radius-lg);background:radial-gradient(circle at 30% 20%, #1239470f, transparent 50%), var(--color-bg-soft);place-items:center;min-height:240px;padding:12px;display:grid}.home-scene__svg{width:min(100%,320px);height:auto}.home-feature__photo-wrap{border-radius:var(--radius-lg);background:var(--color-bg-muted);aspect-ratio:4/3;position:relative;overflow:hidden}.home-feature__photo-wrap img{object-fit:cover;filter:saturate(.92);width:100%;height:100%;display:block}.home-feature__scene-overlay{border-radius:var(--radius-md);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#f7fafbeb;width:46%;padding:6px;position:absolute;bottom:4%;right:4%}.home-feature__scene-overlay .home-scene__svg{width:100%}.home-quote{padding:56px max(16px, calc((100% - var(--container-width)) / 2));background:var(--color-accent);color:#fff}.home-quote__text{text-align:center;max-width:40rem;margin:0 auto}.home-quote__text p{letter-spacing:-.015em;margin:0;font-size:clamp(1.15rem,2.2vw,1.4rem);font-weight:500;line-height:1.45}.home-tree{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px 48px;display:grid}.home-tree__copy{max-width:34rem}.home-tree__link{color:var(--color-accent);text-underline-offset:4px;margin-top:24px;font-weight:600;text-decoration:underline;display:inline-flex}.home-tree__link:hover{color:var(--color-accent-hover)}.home-tree-visual{border-radius:var(--radius-lg);background:#ffffffb3;place-items:center;min-height:280px;padding:16px;display:grid}.home-tree-visual__svg{width:min(100%,360px);height:auto}.home-invite{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px 48px;display:grid}.home-invite__copy{max-width:36rem}.home-invite__how{margin-top:14px!important}.home-invite__note{max-width:36rem;color:var(--color-text);margin:18px 0 0;font-size:.9375rem;line-height:1.55}.home-invite__visual .home-scene{min-height:260px}.home-start{max-width:38rem}.home-start .home-hero__cta{margin-top:24px}@media (width<=960px){.home-hero{grid-template-columns:1fr;gap:28px;min-height:auto;padding-top:36px;padding-bottom:40px}.home-hero__media{order:-1;min-height:280px;margin-inline:-16px}.home-hero__wash{background:linear-gradient(#0000 55%,#eef4f6 100%),linear-gradient(90deg,#0000,#0000)}.home-hero__photo--main{inset:0 18% 8%}.home-hero__photo--side,.home-hero__photo--side-b{display:none}.home-feature,.home-feature--reverse,.home-tree,.home-invite{grid-template-columns:1fr;gap:24px}.home-feature--reverse .home-feature__copy,.home-feature--reverse .home-feature__visual{order:initial}.home-features{gap:48px}.home-section{padding-top:56px;padding-bottom:56px}}@media (width<=720px){.home-strip__list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.home-hero__brand{font-size:1.55rem}.home-hero__title{max-width:none}.home-feature__scene-overlay{width:52%}}@media (width<=480px){.home-strip__list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-strip__list li:last-child{grid-column:1/-1}}.memory-pages-page__hero{min-height:min(72svh,720px)}.memory-pages-page__step-num{letter-spacing:.06em;text-transform:uppercase;color:var(--color-accent);margin:0 0 10px;font-size:.8125rem;font-weight:700}.memory-pages-page__step-cta{border-radius:var(--radius-full);background:var(--color-accent,#2f6778);color:#fff;min-height:48px;font:inherit;cursor:pointer;border:0;justify-content:center;align-items:center;margin-top:24px;padding:0 22px;font-weight:600;text-decoration:none;transition:background-color .15s;display:inline-flex}.memory-pages-page__step-cta:hover{background:var(--color-accent-hover,#0f3a49);color:#fff}.services-page__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent);margin:0 0 12px;font-size:.8125rem;font-weight:700}.about-service-page .home-section__inner .home-hero__cta{margin-top:24px}.about-service-page__photo-placeholder{background:radial-gradient(circle at 30% 20%,#12394714,#0000 52%),linear-gradient(145deg,#e8f0f3 0%,#d7e3e8 100%);place-items:center;display:grid}.about-service-page__photo-placeholder .home-scene__svg{width:min(88%,300px);height:auto}.about-service-page__points{flex-direction:column;gap:16px;margin:24px 0 0;padding:0;list-style:none;display:flex}.about-service-page__points strong{color:var(--color-text);margin:0 0 4px;font-size:1rem;font-weight:650;display:block}.about-service-page__points p{margin:0;font-size:.9375rem;line-height:1.55}.about-service-page__closing{margin-top:24px!important}.services-page__intro{max-width:44rem;margin:16px 0 0}.services-catalog{flex-direction:column;gap:28px;width:100%;display:flex}.services-catalog__status{color:var(--color-text-muted);margin:0}.services-catalog__category{box-sizing:border-box;width:100%;padding:0}.services-catalog__category-title{letter-spacing:-.02em;color:var(--color-text);margin:0 0 16px;font-size:1.25rem;font-weight:600}.services-catalog__empty{color:var(--color-text-muted);margin:0}.services-catalog__list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.services-catalog__item{box-sizing:border-box;border-radius:var(--radius-md);background:var(--color-bg-muted);width:100%;color:var(--color-text);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;font-size:1rem;line-height:1.45;transition:background-color .15s,color .15s;display:flex}.services-catalog__item:hover,.services-catalog__item--selected{background:var(--color-accent-soft)}.services-catalog__item:hover .services-catalog__price,.services-catalog__item--selected .services-catalog__price{color:var(--color-accent)}.services-catalog__checkbox{width:18px;height:18px;accent-color:var(--color-accent);cursor:pointer;flex-shrink:0;margin:0}.services-catalog__name{flex:1;min-width:0}.services-catalog__price{color:var(--color-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.services-catalog__total{border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);z-index:2;justify-content:space-between;align-items:center;gap:16px;margin-top:8px;padding:16px 20px;font-size:1rem;display:flex;position:sticky;bottom:16px;box-shadow:0 10px 28px #0f172a1a}.services-catalog__total strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.service-request-modal{z-index:1350;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}.service-request-modal__backdrop{-webkit-backdrop-filter:blur(8px);cursor:pointer;background:#0f172a57;border:0;position:absolute;inset:0}.service-request-modal__panel{z-index:1;width:min(100%,480px);max-height:min(90vh,760px);margin:0;animation:.22s ease-out memory-page-editor-delete-modal-in;position:relative;overflow-y:auto}.service-request-modal__panel.auth-card{width:min(100%,480px)}.service-request-modal__panel--wide,.service-request-modal__panel--wide.auth-card{width:min(100%,720px);max-height:min(92vh,880px)}.service-request-modal__panel--extra-wide,.service-request-modal__panel--extra-wide.auth-card{width:min(100%,1100px);max-height:min(94vh,960px)}.service-request-modal__panel--split,.service-request-modal__panel--split.auth-card{flex-direction:column;width:min(100%,960px);height:min(90vh,760px);max-height:min(90vh,760px);display:flex;overflow:hidden}.service-request-modal__panel--split .service-request-modal__header{flex-shrink:0;margin-bottom:20px}@media (width<=800px){.service-request-modal:has(.service-request-modal__panel--split){align-items:stretch;padding:0}.service-request-modal__panel--split,.service-request-modal__panel--split.auth-card{width:100%;height:100dvh;max-height:100dvh;padding:16px 16px calc(12px + env(safe-area-inset-bottom,0px));border-radius:0;margin:0}.service-request-modal__panel--split .service-request-modal__header{margin-bottom:12px}.service-request-modal__panel--split .service-request-modal__header .auth-card__title{font-size:1.2rem}}.service-request-modal--page-scroll{align-items:flex-start;overflow-y:auto}.service-request-modal--page-scroll .service-request-modal__backdrop{position:fixed}.service-request-modal--page-scroll .service-request-modal__panel,.service-request-modal--page-scroll .service-request-modal__panel--wide,.service-request-modal--page-scroll .service-request-modal__panel--wide.auth-card,.service-request-modal--page-scroll .service-request-modal__panel--extra-wide,.service-request-modal--page-scroll .service-request-modal__panel--extra-wide.auth-card{max-height:none;margin:0 auto 24px;overflow:visible}.service-request-modal__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.service-request-modal__header .auth-card__title{font-size:1.45rem}.service-request-modal__close{border-radius:var(--radius-full);width:36px;height:36px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;flex-shrink:0;margin:-4px -8px 0 0;font-size:1.75rem;line-height:1}.service-request-modal__close:hover{color:var(--color-text);background:var(--color-bg-muted)}.service-request-modal__notice{border-radius:var(--radius-sm);background:var(--color-accent-soft);color:var(--color-text);margin:0;padding:12px 14px;font-size:.8125rem;line-height:1.5}.auth-field__input--area{resize:vertical;min-height:96px;padding:12px 14px}.service-request-modal select.auth-field__input{cursor:pointer}.farewell-edit{max-width:760px;padding:32px 0 120px}.farewell-edit-page{padding-bottom:0}.farewell-edit__top{margin-bottom:28px}.farewell-edit__title{letter-spacing:-.03em;margin:0 0 8px;font-size:clamp(1.5rem,3vw,1.9rem)}.farewell-edit__lead,.farewell-edit__hint{color:var(--color-text-muted);margin:0;line-height:1.55}.farewell-edit__hint{margin-bottom:16px;font-size:.9375rem}.farewell-edit__success{color:#1b5e20;margin:0 0 16px;font-weight:500}.farewell-edit__card{border:1px solid var(--color-border-light);border-radius:var(--radius-lg);background:var(--color-surface);margin-bottom:20px;padding:24px}.farewell-edit__card h2{margin:0 0 16px;font-size:1.125rem}.farewell-edit__card-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.farewell-edit__card-header h2{margin:0}.farewell-edit__stage{border-top:1px solid var(--color-border-light);padding:18px 0}.farewell-edit__stage:first-of-type{border-top:none;padding-top:0}.farewell-edit__stage-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.farewell-edit__stage-top h3{margin:0;font-size:1rem}.farewell-edit__remove{color:var(--color-text-muted);text-underline-offset:2px;background:0 0;border:none;text-decoration:underline}.farewell-edit__row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.farewell-edit__textarea{resize:vertical;min-height:120px}.farewell-edit__maps{color:var(--color-accent);text-underline-offset:3px;margin-top:8px;font-weight:600;text-decoration:underline;display:inline-flex}.farewell-edit__toggle{align-items:center;gap:10px;margin:12px 0 16px;font-weight:500;display:flex}.farewell-edit__share-box{flex-direction:column;gap:12px;display:flex}.farewell-edit__share-url{border-radius:var(--radius-md);background:var(--color-bg-soft);word-break:break-all;padding:12px 14px;font-size:.875rem;display:block}.farewell-edit__share-actions{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.farewell-edit__share-btn{box-sizing:border-box;border:1px solid var(--color-accent);border-radius:var(--radius-md);background:var(--color-accent);color:#fff;cursor:pointer;justify-content:center;align-items:center;min-width:180px;min-height:44px;padding:0 18px;font-size:.9375rem;font-weight:500;line-height:1;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}.farewell-edit__share-btn:hover{background:var(--color-accent-hover);border-color:var(--color-accent-hover);color:#fff}.farewell-edit__share-btn--secondary{border-color:var(--color-border);color:var(--color-accent);background:0 0}.farewell-edit__share-btn--secondary:hover{background:var(--color-accent-soft);border-color:var(--color-accent);color:var(--color-accent)}.farewell-edit__share-btn:disabled{opacity:.65;cursor:not-allowed}.farewell-edit__pdf-actions{margin-top:16px}.farewell-edit__memory-page{flex-direction:column;gap:10px;margin-top:8px;display:flex}.farewell-edit__memory-page .farewell-edit__hint{margin-bottom:0}.farewell-edit__memory-page-modes{flex-wrap:wrap;gap:10px;display:flex}.farewell-edit__memory-page-mode{border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);min-height:40px;color:var(--color-text);cursor:pointer;align-items:center;gap:8px;padding:0 14px;font-size:.875rem;display:inline-flex}.farewell-edit__memory-page-mode:has(input:checked){background:#12394714;border-color:#12394747}.farewell-edit__memory-page-mode input{margin:0}.farewell-edit__memory-page-link{color:var(--color-accent);text-underline-offset:3px;font-size:.875rem;font-weight:600;text-decoration:underline}.farewell-edit__memory-page-link:hover{opacity:.85}.account-memory-pages__item.farewell-account-item{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:14px}.farewell-account-item__top{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:16px;width:100%;display:flex}.farewell-account-item .account-memory-pages__item-main{text-align:left;flex:1 1 0;min-width:0}.farewell-account-item__manage-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.farewell-account-item__footer-actions{border-top:1px solid var(--color-border-light);border-radius:var(--radius-md);background:#f8fafc;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;width:100%;margin-top:2px;padding:12px 14px;display:flex}.farewell-account-item__footer-actions .account-memory-pages__action--secondary,.farewell-account-item__footer-actions .account-memory-pages__action--secondary:hover{background:#fff}@media (width<=640px){.farewell-account-item__manage-actions{margin-left:auto}}.farewell-account-item__link{word-break:break-all;margin:8px 0 0;font-size:.8125rem;line-height:1.45}.farewell-account-item__link a{color:var(--color-accent);text-underline-offset:2px;text-decoration:underline}.farewell-account-item__link--muted{color:var(--color-text-light)}.farewell-map-picker{margin:8px 0 16px}.farewell-map-picker__hint{color:var(--color-text-muted);margin:0 0 8px;font-size:.875rem}.farewell-map-picker__canvas{border-radius:var(--radius-md);border:1px solid var(--color-border-light);background:var(--color-bg-muted);width:100%;height:280px;overflow:hidden}.farewell-map-picker__status{color:var(--color-text-muted);margin:8px 0 0;font-size:.875rem}.farewell-map-picker__status--error{color:#b91c1c}.farewell-public{min-height:calc(100vh - var(--header-height));background:linear-gradient(#eef4f6 0%,#fff 40%);padding:40px 20px 72px}.farewell-public__inner{width:min(100%,1040px);margin:0 auto}.farewell-public__eyebrow{color:var(--color-accent);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px;font-size:.875rem;font-weight:600}.farewell-public__title{letter-spacing:-.03em;max-width:28ch;margin:0 0 28px;font-size:clamp(1.7rem,3.2vw,2.4rem);line-height:1.2}.farewell-public__title:has(+.farewell-public__memory){margin-bottom:12px}.farewell-public__memory{margin:0 0 28px}.farewell-public__cta--secondary{border:1px solid var(--color-accent);color:var(--color-accent);background:0 0;margin-top:0}.farewell-public__cta--secondary:hover{background:var(--color-accent-soft);color:var(--color-accent)}.farewell-public__primary{border-radius:var(--radius-lg);background:var(--color-surface);border:1px solid var(--color-border-light);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:stretch;gap:24px 28px;margin-bottom:32px;padding:24px;display:grid}.farewell-public__primary-copy{flex-direction:column;justify-content:center;min-width:0;display:flex}.farewell-public__primary h2{margin:0 0 10px;font-size:1.25rem}.farewell-public__datetime{margin:0 0 8px;font-size:1.05rem;font-weight:600}.farewell-public__address{color:var(--color-text-muted);margin:0 0 8px;line-height:1.5}.farewell-public__comment{color:var(--color-text-muted);margin:0;font-size:.9375rem}.farewell-public__cta{border-radius:var(--radius-md);background:var(--color-accent);color:#fff;justify-content:center;align-self:flex-start;align-items:center;min-height:44px;margin-top:16px;padding:0 18px;font-weight:500;text-decoration:none;display:inline-flex}.farewell-public__map-wrap{flex-direction:column;gap:8px;min-width:0;display:flex}.farewell-public__map{border-radius:var(--radius-md);background:var(--color-bg-muted);border:0;width:100%;height:320px;display:block}.farewell-public__map-link{color:var(--color-accent);text-underline-offset:3px;font-size:.875rem;font-weight:600;text-decoration:underline}.farewell-public__section{margin-bottom:28px}.farewell-public__section h2{margin:0 0 14px;font-size:1.125rem}.farewell-public__stages{flex-direction:column;gap:18px;margin:0;padding:0;list-style:none;display:flex}.farewell-public__stage{border-top:1px solid var(--color-border-light);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px 24px;padding:18px 0 0;display:grid}.farewell-public__stage-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.farewell-public__stage .farewell-public__map{height:220px}.farewell-public__stages a{color:var(--color-accent);text-underline-offset:3px;font-weight:600;text-decoration:underline}.farewell-public__phone{color:var(--color-accent);font-size:1.05rem;font-weight:600}.farewell-public__notes{white-space:pre-wrap;max-width:62ch;color:var(--color-text-muted);margin:0;line-height:1.6}.farewell-public__download{flex-direction:column;align-items:flex-start;gap:10px;margin-top:36px;display:flex}.farewell-public__download-btn{cursor:pointer;border:0;margin-top:0}.farewell-public__download-btn:disabled{opacity:.7;cursor:not-allowed}.farewell-public__download-error{color:#b91c1c;margin:0;font-size:.875rem}.farewell-public__footer{color:var(--color-text-light);margin-top:40px;font-size:.8125rem}@media (width<=900px){.farewell-public__primary,.farewell-public__stage{grid-template-columns:1fr}.farewell-public__map{height:260px}.farewell-public__stage .farewell-public__map{height:220px}}@media (width<=640px){.farewell-edit__row{grid-template-columns:1fr}.farewell-edit__card-header{flex-direction:column;align-items:flex-start}.farewell-public{padding:28px 16px 56px}.farewell-public__title{max-width:none}.farewell-public__primary{padding:18px}}.auth-page{justify-content:center;padding-top:32px;display:flex}.auth-card{border:1px solid var(--color-border-light);border-radius:var(--radius-lg);background:var(--color-surface);width:min(100% - 32px,420px);box-shadow:var(--shadow-sm);padding:32px}.auth-card__header{margin-bottom:28px}.auth-card__title{letter-spacing:-.03em;margin:0 0 8px;font-size:1.75rem}.auth-card__lead{color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.55}.auth-form{flex-direction:column;gap:18px;display:flex}.auth-form__error{border-radius:var(--radius-sm);color:#b91c1c;background:#fef2f2;margin:0;padding:12px 14px;font-size:.875rem;line-height:1.45}.auth-form__success{border-radius:var(--radius-sm);background:var(--color-accent-soft);color:var(--color-accent);margin:0 0 20px;padding:12px 14px;font-size:.875rem;line-height:1.45}.auth-field{flex-direction:column;gap:8px;display:flex}.auth-field__label{color:var(--color-text);font-size:.875rem;font-weight:500}.auth-field__input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-bg);width:100%;min-height:44px;color:var(--color-text);font:inherit;padding:0 14px;transition:border-color .15s,box-shadow .15s}.auth-field__input:focus{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft);outline:none}.auth-field__input:disabled{opacity:.6;cursor:not-allowed}.auth-field__required,.auth-field--error .auth-field__label{color:#b91c1c}.auth-field--error .auth-field__input{border-color:#fca5a5;box-shadow:0 0 0 3px #f871712e}.auth-checkbox{color:var(--color-text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;font-size:.875rem;display:flex}.auth-checkbox input{width:16px;height:16px;accent-color:var(--color-accent);cursor:pointer;margin:0}.auth-form__submit{border-radius:var(--radius-full);background:var(--color-accent);color:#fff;border:none;min-height:44px;margin-top:4px;padding:0 22px;font-size:.9375rem;font-weight:500;transition:background-color .15s}.auth-form__submit:hover:not(:disabled){background:var(--color-accent-hover)}.auth-form__submit:disabled{opacity:.65;cursor:not-allowed}.auth-card__footer{text-align:center;color:var(--color-text-muted);margin:24px 0 0;font-size:.875rem}.auth-link{color:var(--color-accent);text-underline-offset:3px;text-decoration:underline}@media (width<=640px){.auth-card{padding:24px 20px}}.account-page{padding-top:32px;padding-bottom:48px}.account-page--wide>.container{width:100%;max-width:none;padding-left:50px;padding-right:50px}.account-page--wide .account-tabs,.account-page--wide .account-page__panel>.auth-card{box-shadow:0 4px 16px #1239470b,0 1px 4px #12394706}.account-page--wide .account-tabs{border:1px solid var(--color-border-light);border-radius:var(--radius-lg);background:var(--color-surface);padding:12px 14px}.account-page__shell{flex-direction:column;gap:24px;display:flex}.account-page__header{min-width:0}.account-page__title{color:var(--color-text);margin:0;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.2}.account-tabs{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-tabs__tab{box-sizing:border-box;border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);height:40px;color:var(--color-text-muted);font:inherit;white-space:nowrap;cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0 16px;font-size:.875rem;font-weight:500;line-height:1;text-decoration:none;transition:border-color .15s,background-color .15s,color .15s;display:inline-flex}.account-tabs__tab:hover{border-color:var(--color-border);color:var(--color-text)}.account-tabs__tab--active{border-color:var(--color-accent);background:var(--color-accent-soft);color:var(--color-accent)}.account-tabs__badge{background:#e53935;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-left:8px;display:inline-block}.admin-feedback__message{-webkit-line-clamp:4;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:280px;margin:0;display:-webkit-box;overflow:hidden}.admin-feedback__payment{gap:6px;min-width:12rem;max-width:18rem;display:grid}.admin-feedback__payment-row{margin:0;font-size:.8125rem;line-height:1.4}.admin-feedback__payment-label{color:var(--color-text-light);font-size:.75rem;display:block}.admin-feedback__row--focus td{background:#2e5d4a14}.admin-payments__content{margin-top:16px}.admin-payments__feedback-link{white-space:nowrap}.account-page__panel{min-width:0}.account-tab-panels{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;display:grid}.account-profile__footer{grid-column:1/-1;padding-top:4px}.account-placeholder{padding:32px}.account-placeholder__lead{color:var(--color-text);margin:0 0 12px;font-size:.9375rem;line-height:1.55}.account-placeholder__note{color:var(--color-text-muted);margin:0;font-size:.875rem;line-height:1.5}.account-section.auth-card{width:100%;max-width:none}.account-section__title{letter-spacing:-.02em;margin:0 0 8px;font-size:1.125rem}.account-page__logout{border:1px solid var(--color-border);border-radius:var(--radius-full);min-height:44px;color:var(--color-text-muted);font:inherit;background:0 0;padding:0 22px;font-size:.9375rem;transition:border-color .15s,color .15s}.account-page__logout:hover{border-color:var(--color-text-muted);color:var(--color-text)}.account-genealogical-trees__delete{border-radius:var(--radius-sm);color:#c53030;cursor:pointer;background:#fff5f5;border:1px solid #e8b4b4;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:color .15s,border-color .15s,background-color .15s,box-shadow .15s;display:inline-flex;box-shadow:0 1px 2px #b91c1c14}.account-genealogical-trees__delete:hover{color:#b91c1c;background:#fee2e2;border-color:#f87171;box-shadow:0 2px 6px #b91c1c1f}.account-genealogical-trees__delete:focus-visible{outline-offset:2px;outline:2px solid #f87171}.account-genealogical-trees-create-modal{z-index:1200;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}.account-genealogical-trees-create-modal__backdrop{-webkit-backdrop-filter:blur(8px);cursor:pointer;background:#0f172a57;border:0;position:absolute;inset:0}.account-genealogical-trees-create-modal__backdrop:disabled{cursor:not-allowed}.account-genealogical-trees-create-modal__panel{z-index:1;width:min(100%,420px);margin:0;padding:28px 32px 32px;animation:.22s ease-out memory-page-editor-delete-modal-in;position:relative}.account-genealogical-trees-settings,.account-genealogical-trees-settings__form{flex-direction:column;min-width:0;display:flex}.account-genealogical-trees-settings-modal__tabs{border-bottom:1px solid var(--color-border-light);flex-wrap:wrap;gap:8px;margin-bottom:20px;padding-bottom:12px;display:flex}.account-genealogical-trees-settings-modal__tab{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg);color:var(--color-text-muted);cursor:pointer;padding:8px 14px;font-size:.875rem;font-weight:500;transition:background .15s,border-color .15s,color .15s}.account-genealogical-trees-settings-modal__tab:hover:not(:disabled){color:var(--color-text);border-color:var(--color-border)}.account-genealogical-trees-settings-modal__tab--active{background:var(--color-bg-muted);border-color:var(--color-accent);color:var(--color-text)}.account-genealogical-trees-settings-modal__tab:disabled{cursor:not-allowed;opacity:.7}.account-genealogical-trees-settings-modal__panel{flex:1}.account-genealogical-trees-settings-modal__crest-photo{flex-direction:column;gap:8px;display:flex}.account-genealogical-trees-settings-modal__crest-photo .family-tree-edit-person-modal__photo-dropzone{width:160px;height:160px}.account-genealogical-trees-settings-modal__crest-count{color:var(--color-text-muted);margin-top:6px;font-size:.75rem}.account-genealogical-trees-settings-modal__placeholder{text-align:center;justify-content:center;align-items:center;min-height:220px;padding:12px 0 24px;display:flex}.account-genealogical-trees-settings-modal__gedcom{flex-direction:column;gap:16px;min-height:220px;padding:4px 0 8px;display:flex}.account-genealogical-trees-settings-modal__format-section{flex-direction:column;gap:12px;display:flex}.account-genealogical-trees-settings-modal__format-title{margin:0;font-size:1rem;font-weight:600}.account-genealogical-trees-settings-modal__gedcom-actions{flex-wrap:wrap;gap:12px;display:flex}.account-genealogical-trees-settings-modal__gedcom-button{margin-top:0}.account-genealogical-trees-settings-modal__file-input{display:none}.account-genealogical-trees-settings-modal__gedcom-hint,.account-genealogical-trees-settings-modal__gedcom-status{color:var(--color-text-muted);margin:0;font-size:.875rem;line-height:1.5}.account-genealogical-trees-settings-modal__gedcom-status{color:var(--color-text)}.account-genealogical-trees-create-modal__share-hint{margin:0}.account-genealogical-trees-create-modal__header{margin-bottom:20px}.account-genealogical-trees-create-modal__title{letter-spacing:-.02em;margin:0 0 8px;font-size:1.375rem}.account-genealogical-trees-create-modal__actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.account-genealogical-trees-create-modal__submit{margin-top:0}.account-memory-pages__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.account-memory-pages__create,.account-memory-pages__create-inline{border-radius:var(--radius-full);background:var(--color-accent);color:#fff;min-height:44px;font:inherit;cursor:pointer;border:none;justify-content:center;align-items:center;padding:0 22px;font-size:.9375rem;font-weight:500;text-decoration:none;transition:background-color .15s;display:inline-flex}.account-memory-pages__create:hover,.account-memory-pages__create-inline:hover{background:var(--color-accent-hover);color:#fff}.account-memory-pages__create:disabled{cursor:not-allowed;opacity:.55;background:var(--color-accent)}.account-genealogical-trees__limit-hint{color:#7a4b16;margin:0 0 16px;font-size:.875rem;line-height:1.45}.account-genealogical-trees__count{color:var(--color-text-muted);margin:8px 0 0;font-size:.875rem}.account-genealogical-trees__header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-subscription__block{margin:0 0 28px}.account-subscription__block-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.account-subscription__block-title{margin:0 0 8px;font-size:1.0625rem;font-weight:600}.account-subscription__plan,.account-subscription__count,.account-subscription__price{color:var(--color-text-muted);margin:0 0 4px;font-size:.9375rem}.account-subscription__coins-value{color:#123947;margin:0;font-size:2.25rem;font-weight:600;line-height:1.1}.account-subscription__coins-label{color:var(--color-text-muted);margin:8px 0 0;font-size:.9375rem}.account-subscription__coins-lead{max-width:36rem;color:var(--color-text);margin:16px 0 0;font-size:.9375rem;line-height:1.55}.account-subscription__coins-hint{max-width:36rem;color:var(--color-text-muted);margin:8px 0 0;font-size:.875rem;line-height:1.5}.account-subscription__notice{color:#1f6b3a;margin:0 0 16px;font-size:.9375rem}.account-subscription__paid-badge{color:#1f6b3a;margin:0;font-size:.9375rem;font-weight:600}.account-subscription .admin-sub-tabs{margin:0 0 20px}.account-subscription .admin-sub-tabs__tab{font:inherit;cursor:pointer}.account-subscription .account-memory-pages__item-actions .account-memory-pages__create{min-height:40px;padding:0 16px;font-size:.875rem}.account-memory-pages__status{color:var(--color-text-muted);margin:0;font-size:.9375rem}.account-memory-pages__empty{flex-direction:column;align-items:flex-start;gap:16px;display:flex}.account-memory-pages__list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.account-memory-pages__item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.account-memory-pages__item-title{margin:0 0 4px;font-size:.9375rem;font-weight:600}.account-memory-pages__item-years{color:var(--color-text-muted);margin:0 0 4px;font-size:.875rem}.account-memory-pages__item-visibility{margin:0 0 6px;font-size:.8125rem;font-weight:600}.account-memory-pages__item-visibility--active{color:#15803d}.account-memory-pages__item-visibility--inactive{color:#6b7280}.account-memory-pages__item-meta{color:var(--color-text-muted);margin:0;font-size:.8125rem;line-height:1.5}.memory-words-moderation-page__back{margin-bottom:20px;display:inline-flex}.memory-words-moderation-page__hint{color:var(--color-text-muted);margin:8px 0 0;font-size:.9375rem;line-height:1.5}.memory-words-moderation-tabs__nav{border-bottom:1px solid var(--color-border-light);flex-wrap:wrap;gap:8px;margin-top:20px;padding-bottom:12px;display:flex}.memory-words-moderation-tabs__tab{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg);color:var(--color-text-muted);cursor:pointer;padding:8px 14px;font-size:.875rem;font-weight:500;transition:background .15s,border-color .15s,color .15s}.memory-words-moderation-tabs__tab:hover{color:var(--color-text);border-color:var(--color-border)}.memory-words-moderation-tabs__tab--active{background:var(--color-bg-muted);border-color:var(--color-accent);color:var(--color-text)}.memory-words-moderation-tabs__bulk{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:12px 14px;display:flex}.memory-words-moderation-tabs__select-all{color:var(--color-text);cursor:pointer;align-items:center;gap:8px;font-size:.875rem;display:inline-flex}.memory-words-moderation-tabs__select-all input{cursor:pointer;width:16px;height:16px;margin:0}.account-memory-pages__item-actions{flex-wrap:wrap;gap:8px;display:flex}.account-memory-pages__action{border:1px solid var(--color-accent);border-radius:var(--radius-full);background:var(--color-accent);color:#fff;justify-content:center;align-items:center;min-height:36px;padding:0 16px;font-size:.875rem;font-weight:500;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.account-memory-pages__action:hover{background:var(--color-accent-hover);border-color:var(--color-accent-hover);color:#fff}.account-memory-pages__action--secondary{border-color:var(--color-border);color:var(--color-text);background:0 0}.account-memory-pages__action--secondary:hover{border-color:var(--color-text-muted);color:var(--color-text);background:0 0}.account-memory-pages__action--with-badge{position:relative}.account-memory-pages__badge{border:2px solid var(--color-bg);color:#fff;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.6875rem;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-7px}.account-memory-page-editor__meta{gap:12px;margin:0 0 24px;display:grid}.account-memory-page-editor__meta div{gap:4px;display:grid}.account-memory-page-editor__meta dt{color:var(--color-text-muted);font-size:.8125rem}.account-memory-page-editor__meta dd{word-break:break-all;margin:0;font-size:.9375rem}.account-memory-page-editor__actions{flex-wrap:wrap;gap:8px;display:flex}.account-memory-page-viewer__note{color:var(--color-text-muted);margin:0 0 20px;font-size:.9375rem;line-height:1.55}.memory-page-editor{background:var(--color-bg);padding:20px 0 88px}.memory-page-editor__shell{flex-direction:column;gap:12px;display:flex}.memory-page-editor__panel{border:1px solid var(--color-border-light);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sm);padding:18px 20px}.memory-page-editor__panel:not(.memory-page-editor__toolbar){background:var(--color-bg-soft)}.memory-page-editor__panel:not(.memory-page-editor__toolbar) .auth-field__input,.memory-page-editor__panel:not(.memory-page-editor__toolbar) .memory-page-editor__textarea{background:#fff}.memory-page-editor__anchor{scroll-margin-top:calc(var(--header-height) + var(--example-nav-sticky-height,56px) + 16px)}.memory-page-editor__sections{flex-direction:column;gap:12px;display:flex}.memory-page-viewer__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;margin-bottom:20px;display:flex}.memory-page-viewer__empty-toolbar{margin-bottom:20px}.memory-page-editor__top-links{border-bottom:1px solid var(--color-border-light);background:var(--color-surface);padding:10px 0}.memory-page-editor__top-links-inner{flex-wrap:wrap;gap:16px;display:flex}.memory-page-editor__top-links a:not(.memory-page-editor__back-link){color:var(--color-accent);font-size:.875rem;text-decoration:none}.memory-page-editor__back-link,.memory-page-editor__view-link{border:1px solid var(--color-accent);border-radius:var(--radius-full);background:var(--color-accent-soft);min-height:40px;color:var(--color-accent);white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-size:.9375rem;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.memory-page-editor__back-link:before{content:"←";font-size:1rem;line-height:1}.memory-page-editor__view-link:after{content:"↗";font-size:1rem;line-height:1}.memory-page-editor__back-link:hover,.memory-page-editor__view-link:hover{background:var(--color-accent);border-color:var(--color-accent);color:#fff}.memory-page-editor__top-links a:not(.memory-page-editor__back-link):hover{text-decoration:underline}.memory-page-editor__back{flex-shrink:0}.memory-page-editor__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;display:flex}.memory-page-editor__toolbar-text{min-width:0}.memory-page-editor__title{letter-spacing:-.02em;margin:0 0 4px;font-size:1.25rem}.memory-page-editor__lead{color:var(--color-text-muted);margin:0;font-size:.875rem}.memory-page-editor__nav-float{top:var(--header-height);z-index:900;pointer-events:none;margin-bottom:12px;padding:8px 0;position:sticky}.memory-page-editor__nav-float .example-page-nav__box{pointer-events:auto}.memory-page-editor__nav-float .example-page-nav{margin:0;padding:0;position:static;top:auto}.memory-page-editor__footer{z-index:900;border-top:1px solid var(--color-border-light);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;transition:background-color .6s,border-color .6s,box-shadow .6s;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0f172a14}.memory-page-editor__footer--saved{animation:2.8s ease-out forwards memory-page-editor-footer-saved}@keyframes memory-page-editor-footer-saved{0%{background-color:#dcfce7;border-top-color:#86efac;box-shadow:0 -8px 24px #16653424}50%{background-color:#dcfce7;border-top-color:#86efac}to{border-top-color:var(--color-border-light);background-color:#fffffff0;box-shadow:0 -8px 24px #0f172a14}}.memory-page-editor__footer-inner{grid-template-columns:auto 1fr auto;align-items:center;gap:12px 16px;min-height:68px;padding:12px 0;display:grid}.memory-page-editor__footer-spacer{display:block}.memory-page-editor__footer-status{color:#15803d;text-align:center;flex:auto;justify-content:center;align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:600;display:flex}.memory-page-editor__footer-status-icon{border-radius:var(--radius-full);color:#166534;background:#bbf7d0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.8125rem;font-weight:700;line-height:1;display:inline-flex}.memory-page-editor__footer--saved .memory-page-editor__footer-status{animation:.35s ease-out memory-page-editor-status-pop}@keyframes memory-page-editor-status-pop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.memory-page-editor__save{flex-shrink:0;min-height:44px;margin-top:0}.memory-page-editor__archive{flex-direction:column;align-items:flex-start;gap:12px;padding:8px 0 12px;display:flex}.memory-page-editor__download{border:1px solid var(--color-accent);border-radius:var(--radius-full);background:var(--color-accent-soft);min-height:44px;color:var(--color-accent);font:inherit;cursor:pointer;padding:0 18px;font-size:.9375rem;font-weight:600}.memory-page-editor__download:hover:not(:disabled){background:var(--color-accent);color:#fff}.memory-page-editor__download:disabled{opacity:.65;cursor:wait}.memory-page-editor__message{margin:0}.memory-page-editor__panel-title{letter-spacing:-.02em;margin:0 0 16px;font-size:1.125rem;font-weight:600}.memory-page-editor__grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.memory-page-editor__full{grid-column:1/-1}.memory-page-editor__textarea{resize:vertical;min-height:96px;padding-top:10px;padding-bottom:10px}.memory-page-editor__textarea-field{gap:6px}.memory-page-editor__char-counter{font-variant-numeric:tabular-nums;color:var(--color-text-muted);align-self:flex-end;font-size:.75rem}.memory-page-editor__char-counter--low{color:#b45309}.memory-page-editor__char-counter--empty{color:#b91c1c}.memory-page-editor__list,.memory-page-editor__list-header{flex-direction:column;gap:10px;display:flex}.memory-page-editor__list-header{flex-flow:wrap;justify-content:space-between;align-items:center;margin-bottom:4px}.memory-page-editor__subtitle{margin:0;font-size:.9375rem;font-weight:600}.memory-page-editor__custom-fields{border-top:1px solid var(--color-border-light);flex-direction:column;gap:14px;margin-top:4px;padding-top:20px;display:flex}.memory-page-editor__custom-fields-list{flex-direction:column;gap:12px;display:flex}.memory-page-editor__custom-fields-add{border-top:1px solid var(--color-border-light);padding-top:16px}.memory-page-editor__add-field{border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-bg-soft);width:100%;min-height:42px;color:var(--color-accent);font:inherit;cursor:pointer;justify-content:center;align-items:center;padding:0 16px;font-size:.875rem;font-weight:500;transition:background-color .15s,border-color .15s,color .15s;display:flex}.memory-page-editor__add-field:hover{border-color:var(--color-accent);background:var(--color-accent-soft)}.memory-page-editor__card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-page-editor__card-title{color:var(--color-text-muted);letter-spacing:.02em;text-transform:uppercase;margin:0;font-size:.8125rem;font-weight:600}.memory-page-editor__card--custom-field{gap:12px}.memory-page-editor__card{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:10px;padding:14px;display:flex}.memory-page-editor__card-toolbar{justify-content:flex-end;margin:-2px 0 2px;display:flex}.memory-page-editor__card-delete{border-radius:var(--radius-sm);color:#c53030;cursor:pointer;background:#fff5f5;border:1px solid #e8b4b4;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:color .15s,border-color .15s,background-color .15s,box-shadow .15s;display:inline-flex;box-shadow:0 1px 2px #b91c1c14}.memory-page-editor__card-delete:hover{color:#b91c1c;background:#fee2e2;border-color:#f87171;box-shadow:0 2px 6px #b91c1c24}.memory-page-editor__card-delete:focus-visible{outline-offset:2px;outline:2px solid #fecaca}.memory-page-editor-delete-modal{z-index:1200;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}.memory-page-editor-delete-modal__backdrop{-webkit-backdrop-filter:blur(8px);cursor:pointer;background:#0f172a57;border:0;position:absolute;inset:0}.memory-page-editor-delete-modal__panel{z-index:1;width:min(100%,420px);margin:0;padding-top:28px;animation:.22s ease-out memory-page-editor-delete-modal-in;position:relative}.memory-page-editor-delete-modal__icon{border-radius:var(--radius-full);color:#b91c1c;background:#fee2e2;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:12px;display:inline-flex}.memory-page-editor-delete-modal__header{margin-bottom:20px}.memory-page-editor-delete-modal__actions{justify-content:flex-end;gap:10px;display:flex}.memory-page-editor-delete-modal__confirm{border-radius:var(--radius-full);color:#fff;min-height:40px;font:inherit;cursor:pointer;background:#ef4444;border:1px solid #f87171;padding:0 18px;font-size:.875rem;font-weight:600;transition:background-color .15s,border-color .15s}.memory-page-editor-delete-modal__confirm:hover{background:#dc2626;border-color:#dc2626}.memory-page-editor-delete-modal__confirm:focus-visible{outline-offset:2px;outline:2px solid #fecaca}.memory-page-editor-delete-modal__confirm:disabled{opacity:.6;cursor:not-allowed}@keyframes memory-page-editor-delete-modal-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.memory-page-editor__block-hero,.memory-page-editor__general-hero{grid-template-columns:minmax(200px,280px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.memory-page-editor__general-hero{margin-bottom:20px}.memory-page-editor__general-photo{min-width:0}.memory-page-editor__general-photo .memory-page-editor__photo,.memory-page-editor__block-hero-photo .memory-page-editor__photo,.memory-page-editor__general-photo .memory-words-modal__photo-dropzone,.memory-page-editor__block-hero-photo .memory-words-modal__photo-dropzone{max-width:none}.memory-page-editor__block-hero-photo--video .memory-words-modal__photo-dropzone{aspect-ratio:16/9}.memory-page-editor__block-hero-photo--video .memory-words-modal__photo-preview{object-fit:contain}.memory-page-editor__general-main,.memory-page-editor__block-hero-main{flex-direction:column;gap:12px;min-width:0;display:flex}.memory-page-editor__general-fio,.memory-page-editor__general-dates{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.memory-page-editor__date-field{z-index:1;flex-direction:column;gap:8px;min-width:0;display:flex;position:relative}.memory-page-editor__date-precision{cursor:pointer;width:100%}.memory-page-editor__date-field .auth-field__input{cursor:pointer}.memory-page-editor__date-unknown{border:1px solid var(--color-border);border-radius:var(--radius-sm);min-height:40px;color:var(--color-text-muted);background:#fff;align-items:center;padding:0 12px;display:flex}.memory-page-editor__card-list{flex-direction:column;gap:20px;margin-bottom:16px;display:flex}.memory-page-editor__add-action.account-memory-pages__action--secondary{color:var(--color-accent);background:#fff;border-color:#c5d5dc;font-weight:600;box-shadow:0 1px 2px #12394712}.memory-page-editor__add-action.account-memory-pages__action--secondary:hover:not(:disabled){border-color:var(--color-accent);background:var(--color-accent-soft);color:var(--color-accent)}.memory-page-editor__add-field.memory-page-editor__add-action{color:var(--color-accent);background:#fff;border-color:#c5d5dc;font-weight:600;box-shadow:0 1px 2px #12394712}.memory-page-editor__add-field.memory-page-editor__add-action:hover{border-color:var(--color-accent);background:var(--color-accent-soft);color:var(--color-accent)}.memory-page-editor__remove{color:#b91c1c;cursor:pointer;font:inherit;background:0 0;border:none;flex-shrink:0;padding:0;font-size:.8125rem}.memory-page-editor__remove:hover{text-decoration:underline}.memory-page-editor__card>.memory-page-editor__remove{align-self:flex-start}.memory-page-editor__toggle{justify-content:space-between;align-items:center;gap:16px;display:flex}.memory-page-editor__toggle-control{flex-shrink:0;display:inline-flex;position:relative}.memory-page-editor__toggle-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.memory-page-editor__toggle-track{border-radius:var(--radius-full);background:#d1d5db;width:44px;height:26px;transition:background-color .15s;display:block}.memory-page-editor__toggle-track:after{content:"";border-radius:var(--radius-full);background:#fff;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0f172a2e}.memory-page-editor__toggle-input:checked+.memory-page-editor__toggle-track{background:#16a34a}.memory-page-editor__toggle-input:checked+.memory-page-editor__toggle-track:after{transform:translate(18px)}.memory-page-editor__toggle-input:focus-visible+.memory-page-editor__toggle-track{outline:2px solid var(--color-accent-soft);outline-offset:2px}.memory-page-editor__hint{color:var(--color-text-muted);margin:0;font-size:.8125rem}.memory-page-editor__hint--error{color:#b91c1c}.memory-page-editor__hint--locked{color:#7a4b16}.memory-page-editor__hint--upgrade{width:100%;font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;display:block}.memory-page-editor__hint--upgrade:hover,.memory-page-editor__hint--upgrade:focus-visible{color:#5c370f}.memory-page-editor__tariff{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px 24px;margin:0 0 20px;padding:16px 18px;display:flex}.memory-page-editor__tariff-main{gap:4px;min-width:140px;display:grid}.memory-page-editor__tariff-label{color:var(--color-text-muted);margin:0;font-size:.75rem;font-weight:500}.memory-page-editor__tariff-name{color:var(--color-text);margin:0;font-size:1.0625rem;font-weight:600}.memory-page-editor__tariff-limits{color:var(--color-text-muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0;padding:0;font-size:.8125rem;list-style:none;display:grid}@media (width<=640px){.memory-page-editor__tariff-limits{grid-template-columns:1fr;width:100%}}.memory-page-editor__upload-row{gap:8px;display:flex}.memory-page-editor__upload-overlay{z-index:2;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;animation:.25s ease-out memory-page-editor-upload-fade-in;display:flex;position:absolute;inset:0}.memory-page-editor__upload-ring{width:88px;height:88px;position:relative}.memory-page-editor__upload-ring-svg{width:100%;height:100%;transform:rotate(-90deg)}.memory-page-editor__upload-ring-track{fill:none;stroke:#ffffff38;stroke-width:6px}.memory-page-editor__upload-ring-fill{fill:none;stroke:#fff;stroke-width:6px;stroke-linecap:round;filter:drop-shadow(0 0 6px #ffffff59);transition:stroke-dashoffset .25s}.memory-page-editor__upload-percent{color:#fff;letter-spacing:-.02em;justify-content:center;align-items:center;font-size:1rem;font-weight:600;display:flex;position:absolute;inset:0}.memory-page-editor__upload-stage{color:#fff;text-align:center;margin:0;font-size:.8125rem;font-weight:500}.memory-page-editor__upload-filename{color:#ffffffd1;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0;font-size:.75rem;line-height:1.35;overflow:hidden}.memory-page-editor__upload-panel{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-bg) 100%);gap:10px;padding:14px 16px;animation:.25s ease-out memory-page-editor-upload-fade-in;display:grid;box-shadow:inset 0 1px #ffffffa6}.memory-page-editor__upload-panel-head{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid}.memory-page-editor__upload-panel-icon{background:var(--color-accent-soft);border-radius:50%;width:36px;height:36px;animation:1.6s ease-in-out infinite memory-page-editor-upload-pulse;position:relative}.memory-page-editor__upload-panel-icon:before{content:"";border:2px solid var(--color-accent);border-top-color:#0000;border-radius:50%;animation:.9s linear infinite memory-page-editor-upload-spin;position:absolute;inset:9px}.memory-page-editor__upload-panel-text{min-width:0}.memory-page-editor__upload-panel-text .memory-page-editor__upload-stage{color:var(--color-text);text-align:left}.memory-page-editor__upload-panel-text .memory-page-editor__upload-filename{color:var(--color-text-muted);text-align:left}.memory-page-editor__upload-panel-percent{color:var(--color-accent);font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:600}.memory-page-editor__upload-bar{background:var(--color-accent-soft);border-radius:999px;height:8px;position:relative;overflow:hidden}.memory-page-editor__upload-bar-fill{z-index:1;border-radius:inherit;background:linear-gradient(90deg, var(--color-accent) 0%, #1f5f73 100%);height:100%;transition:width .25s;display:block;position:relative}.memory-page-editor__upload-bar-shimmer{z-index:2;pointer-events:none;background:linear-gradient(90deg,#0000 0%,#ffffff73 50%,#0000 100%);animation:1.4s ease-in-out infinite memory-page-editor-upload-shimmer;position:absolute;inset:0}@keyframes memory-page-editor-upload-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes memory-page-editor-upload-spin{to{transform:rotate(360deg)}}@keyframes memory-page-editor-upload-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}@keyframes memory-page-editor-upload-shimmer{0%{transform:translate(-120%)}to{transform:translate(120%)}}.memory-page-editor__field{flex-direction:column;gap:6px;display:flex}.memory-page-editor__settings-grid{gap:8px;display:grid}.memory-page-editor__checkbox{min-height:44px;padding-bottom:2px}.memory-page-editor__meta-line{border-top:1px solid var(--color-border-light);color:var(--color-text-muted);word-break:break-all;flex-wrap:wrap;gap:8px 16px;margin:14px 0 0;padding-top:12px;font-size:.75rem;display:flex}.memory-page-editor .auth-field{gap:6px}.memory-page-editor .auth-field__label{font-size:.8125rem}.memory-page-editor .auth-field__input{min-height:40px}.memory-page-editor__input--readonly{color:var(--color-text-muted);cursor:not-allowed;background:#fff}@media (width<=900px){.memory-page-editor__general-hero,.memory-page-editor__block-hero{grid-template-columns:1fr}.memory-page-editor__general-photo .memory-words-modal__photo-dropzone,.memory-page-editor__block-hero-photo .memory-words-modal__photo-dropzone{max-width:280px}}@media (width<=720px){.memory-page-editor__general-fio,.memory-page-editor__general-dates,.memory-page-editor__settings-grid{grid-template-columns:1fr}.memory-page-editor__panel{padding:16px}}.admin-users__header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.admin-users__summary{color:var(--color-text-muted);white-space:nowrap;margin:0;font-size:.875rem;line-height:1.5}.admin-users__status{color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.55}.admin-users__table-wrap{margin-bottom:16px;overflow-x:auto}.admin-users__table{border-collapse:collapse;width:100%;min-width:640px;font-size:.875rem}.admin-users__table th,.admin-users__table td{border-bottom:1px solid var(--color-border-light);text-align:left;vertical-align:top;padding:12px 14px}.admin-users__table th{color:var(--color-text);background:var(--color-bg-muted);font-weight:600}.admin-users__table-sort{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-weight:600;display:inline-flex}.admin-users__table-sort:hover{color:var(--color-primary)}.admin-users__table-sort:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:2px}.admin-users__table-sort--active{color:var(--color-primary)}.admin-users__table-sort-indicator{opacity:.85;font-size:.75rem;line-height:1}.admin-users__table tbody tr:hover{background:#12394708}.admin-users__status-badge{border-radius:var(--radius-full);align-items:center;padding:2px 10px;font-size:.8125rem;font-weight:500;line-height:1.4;display:inline-flex}.admin-users__status-badge--active{color:#1f5f3f;background:#e8f5ee}.admin-users__status-badge--inactive{color:#7a4b16;background:#fbf0e4}.admin-users__pagination{justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.admin-users__pagination-info{color:var(--color-text-muted);margin:0;font-size:.875rem}.admin-users__pagination-button{border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);min-height:36px;color:var(--color-text);font:inherit;cursor:pointer;padding:0 14px;font-size:.875rem;transition:border-color .15s,background-color .15s,color .15s}.admin-users__pagination-button:hover:not(:disabled){border-color:var(--color-border);background:var(--color-bg-muted)}.admin-users__pagination-button:disabled{opacity:.45;cursor:not-allowed}@media (width<=720px){.admin-users__header{flex-direction:column}}.admin-cemeteries__content{min-width:0}.admin-cemeteries__panel{flex-direction:column;gap:16px;padding:24px 0 0;display:flex}.admin-geo-form{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 16px;padding:16px;display:grid}.admin-geo-form--cemetery{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-geo-form--site-service{grid-template-columns:minmax(7rem,1fr) minmax(0,3fr) minmax(6rem,1fr) auto auto}.admin-geo-form__full{grid-column:1/-1}.admin-geo-form__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.admin-geo-form__actions .auth-form__submit{width:auto;margin-top:0}.admin-geo-form__price-from{align-self:end;min-height:44px}.admin-geo-form__cancel{border:1px solid var(--color-border);border-radius:var(--radius-full);min-height:44px;color:var(--color-text-muted);font:inherit;background:0 0;padding:0 18px;font-size:.9375rem}.admin-geo-form__cancel:hover:not(:disabled){border-color:var(--color-text-muted);color:var(--color-text)}.admin-geo-form__cancel:disabled{opacity:.65;cursor:not-allowed}.admin-geo-id{color:var(--color-text-muted);word-break:break-all;font-size:.75rem}.admin-geo-actions{flex-wrap:wrap;gap:8px;display:flex}.admin-geo-actions__button{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-height:32px;color:var(--color-text);font:inherit;padding:0 12px;font-size:.8125rem}.admin-geo-actions__button:hover{border-color:var(--color-text-muted)}.admin-geo-actions__button--danger{color:#b91c1c;border-color:#fecaca}.admin-geo-actions__button--danger:hover{border-color:#f87171}@media (width<=720px){.admin-geo-form,.admin-geo-form--cemetery,.admin-geo-form--site-service{grid-template-columns:1fr}}.cemetery-search{position:relative}.cemetery-search__list{z-index:20;border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);max-height:280px;box-shadow:var(--shadow-sm);margin:0;padding:6px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto}.cemetery-search__status,.cemetery-search__option{width:100%;color:var(--color-text);font:inherit;text-align:left;background:0 0;border:0;padding:10px 14px;display:block}.cemetery-search__option:hover,.cemetery-search__option:focus-visible{background:var(--color-bg-muted)}.cemetery-search__option-name{font-weight:500;display:block}.cemetery-search__option-meta{color:var(--color-text-muted);margin-top:2px;font-size:.8125rem;display:block}.cemetery-search__option--custom{border-top:1px solid var(--color-border-light);color:var(--color-accent);font-weight:500}.cemetery-search__hint{color:var(--color-text-muted);margin:8px 0 0;font-size:.8125rem}.cemetery-search__clear{color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:8px;padding:0;font-size:.8125rem;text-decoration:underline}.cemetery-custom-form{margin-top:8px}.cemetery-custom-form__lead{grid-column:1/-1}.admin-suggestion-merge{flex-direction:column;gap:10px;min-width:280px;margin-top:12px;display:flex}.admin-suggestion-merge__hint{color:var(--color-text-muted);margin:0;font-size:.8125rem}.admin-sub-tabs{border-bottom:1px solid var(--color-border-light);flex-wrap:wrap;gap:8px;margin-top:0;padding-bottom:12px;display:flex}.admin-sub-tabs__tab{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg);color:var(--color-text-muted);justify-content:center;align-items:center;padding:8px 14px;font-size:.875rem;font-weight:500;line-height:1;text-decoration:none;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.admin-sub-tabs__tab:hover{color:var(--color-text);border-color:var(--color-border)}.admin-sub-tabs__tab--active{background:var(--color-bg-muted);border-color:var(--color-accent);color:var(--color-text)}.admin-page-views__content{min-width:0}.admin-page-views__panel{flex-direction:column;gap:16px;padding:24px 0 0;display:flex}.admin-page-views__filters{flex-wrap:wrap;gap:12px;display:flex}.admin-page-views__filter{flex-direction:column;gap:6px;min-width:160px;display:flex}.admin-page-views__filter-label{color:var(--color-text-muted);font-size:.8125rem;font-weight:500}.admin-page-views__filter-input{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);min-height:40px;color:var(--color-text);font:inherit;padding:0 12px}.admin-page-views__period-note{color:var(--color-text-muted);margin:0;font-size:.875rem}.admin-page-views__metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.admin-page-views__metric{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);padding:16px}.admin-page-views__metric-label{color:var(--color-text-muted);margin:0 0 8px;font-size:.8125rem}.admin-page-views__metric-value{color:var(--color-text);margin:0;font-size:1.5rem;font-weight:600;line-height:1.2}.admin-page-views__page-link{color:var(--color-text);font-weight:500;text-decoration:none}.admin-page-views__page-link:hover{text-decoration:underline}.admin-page-views__page-id{color:var(--color-text-muted);word-break:break-all;margin-top:4px;font-size:.75rem;display:block}@media (width<=900px){.admin-page-views__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.admin-page-views__metrics{grid-template-columns:1fr}}.admin-memory-pages__tariff-select{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);min-width:148px;min-height:36px;color:var(--color-text);font:inherit;padding:0 10px;font-size:.875rem}.admin-memory-pages__tariff-select:disabled{opacity:.6;cursor:not-allowed}.admin-change-history__list{gap:12px;max-height:min(60vh,480px);margin:8px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.admin-change-history__item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);padding:12px 14px}.admin-change-history__time{color:var(--color-text-muted);margin:0 0 4px;font-size:.75rem}.admin-change-history__change{margin:0 0 4px;font-size:.9375rem}.admin-change-history__meta,.admin-change-history__actor{color:var(--color-text-muted);margin:0;font-size:.8125rem}.admin-partners__content,.admin-pages__content{min-width:0}.admin-pages__panel{flex-direction:column;gap:16px;padding:24px 0 0;display:flex}.admin-pages__panel .admin-sub-tabs{margin-top:4px}.admin-site-settings__content{min-width:0}.admin-site-settings__panel{flex-direction:column;gap:16px;padding:24px 0 0;display:flex}.admin-site-settings__nested{min-width:0;padding-top:8px}.admin-site-settings__nested-panel{flex-direction:column;gap:16px;display:flex}.admin-site-settings__stack{flex-direction:column;gap:32px;display:flex}.admin-site-settings__stack--pages{gap:10px}.admin-site-settings__block,.admin-service-tree{flex-direction:column;gap:16px;display:flex}.admin-service-tree__group{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);padding:16px}.admin-service-tree__title{margin:0 0 12px;font-size:1rem;font-weight:600}.admin-service-tree__empty{color:var(--color-text-muted);margin:0}.admin-service-tree__list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.admin-service-tree__service{border-radius:var(--radius-md);background:var(--color-bg-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:10px 12px;display:flex}.admin-service-tree__service-main{flex-wrap:wrap;align-items:baseline;gap:8px 16px;min-width:0;display:flex}.admin-service-tree__service-name{font-weight:500}.admin-service-tree__service-price{color:var(--color-text-muted);font-variant-numeric:tabular-nums}.admin-partners__panel{flex-direction:column;gap:16px;padding:24px 0 0;display:flex}.admin-partners__none{color:var(--color-text-muted)}.admin-partner-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.admin-partner-chip{border-radius:var(--radius-full);background:var(--color-bg-muted);padding:2px 8px;font-size:.75rem;line-height:1.4;display:inline-flex}.admin-partner-services{border:0;flex-direction:column;gap:10px;margin:0 0 16px;padding:0;display:flex}.admin-partners__settings-lead{color:var(--color-text-muted);margin:0 0 16px;font-size:.9375rem;line-height:1.55}.admin-request-modal__layout{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:28px 40px;min-height:0;display:grid}.admin-request-details{flex-direction:column;gap:14px;min-height:0;margin:0;display:flex;overflow:auto}.admin-request-details>div{flex-direction:column;gap:4px;display:flex}.admin-request-details dt{color:var(--color-text-muted);font-size:.8125rem;font-weight:500}.admin-request-details dd{margin:0;font-size:.9375rem;line-height:1.5}.admin-request-details__message{white-space:pre-wrap}.admin-request-status{border-radius:var(--radius-full);align-items:center;padding:2px 10px;font-size:.8125rem;font-weight:500;line-height:1.4;display:inline-flex}.admin-request-status--new{color:#5b6470;background:#eef1f4}.admin-request-status--taken{color:#1d4e6b;background:#e4f1f7}.admin-request-status--inProgress{color:#7a4b16;background:#fbf0e4}.admin-request-status--completed{color:#1f5f3f;background:#e8f5ee}.admin-request-status--rejected{color:#9f1d1d;background:#fdecec}.admin-request-comments{border-left:1px solid #1f24301a;flex-direction:column;min-height:0;margin:0;padding:0 0 0 32px;display:flex}.admin-request-comments__title{flex-shrink:0;margin:0 0 .75rem;font-size:1rem;font-weight:650}.admin-request-comments__feed{flex:1;min-height:0;padding-right:4px;overflow-y:auto}.admin-request-comments__empty{color:#5c6473;margin:0;font-size:.92rem}.admin-request-comments__list{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.admin-request-comments__item{background:#f6f7f9;border-radius:10px;padding:.75rem .85rem}.admin-request-comments__meta{color:#5c6473;flex-wrap:wrap;gap:.35rem .75rem;margin-bottom:.35rem;font-size:.82rem;display:flex}.admin-request-comments__author{color:#1f2430;font-weight:650}.admin-request-comments__body{white-space:pre-wrap;margin:0;line-height:1.45}.admin-request-comments__form{border-top:1px solid #1f24301a;flex-direction:column;flex-shrink:0;gap:.65rem;margin-top:.85rem;padding-top:.85rem;display:flex}.admin-request-comments__form textarea{resize:none;min-height:5.5rem;max-height:5.5rem}@media (width<=800px){.admin-request-modal__layout{flex-direction:column;gap:14px;display:flex}.admin-request-details{-webkit-overflow-scrolling:touch;flex:0 auto;max-height:34dvh;padding-right:4px}.admin-request-comments{border-top:1px solid #1f24301a;border-left:0;flex:auto;min-height:0;padding:14px 0 0}.admin-request-comments__feed{-webkit-overflow-scrolling:touch;min-height:4.5rem}.admin-request-comments__form{margin-top:.65rem;padding-top:.65rem}.admin-request-comments__form textarea{min-height:4.25rem;max-height:4.25rem}}.admin-site-page-card{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);flex-direction:column;display:flex}.admin-site-page-card--link{color:inherit;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;text-decoration:none}.admin-site-page-card--link:hover{border-color:var(--color-border)}.admin-site-page-card--link:after{content:"";border-right:2px solid var(--color-text-muted);border-bottom:2px solid var(--color-text-muted);flex-shrink:0;width:8px;height:8px;transform:rotate(-45deg)}.admin-site-page-card__title{margin:0;font-size:1.0625rem;font-weight:650}.admin-site-page-card__form{flex-direction:column;gap:16px;display:flex}.admin-site-page-card__modes{border:0;flex-wrap:wrap;gap:10px;margin:0;padding:0;display:flex}.admin-site-page-card__modes legend{margin:0 0 8px;padding:0}.admin-site-page-card__mode{border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);min-height:40px;color:var(--color-text);cursor:pointer;align-items:center;gap:8px;padding:0 14px;font-size:.875rem;display:inline-flex}.admin-site-page-card__mode:has(input:checked){background:#12394714;border-color:#12394747}.admin-site-page-card__mode input{margin:0}.admin-site-page-card__actions{justify-content:flex-start;display:flex}.admin-site-page-card__saved{color:var(--color-accent);margin:0;font-size:.875rem}.admin-site-page-card__meta{color:var(--color-text-muted);margin:0;font-size:.8125rem}.admin-carnations-settings{flex-direction:column;gap:1.25rem;display:flex}.admin-carnations-settings__list{flex-direction:column;gap:1rem;display:flex}.admin-carnations-settings__card{border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-surface);grid-template-columns:minmax(140px,180px) 1fr;gap:1.25rem;padding:1rem;display:grid}.admin-carnations-settings__preview{flex-direction:column;align-items:flex-start;gap:.75rem;display:flex}.admin-carnations-settings__preview .memory-carnations__icon{object-fit:contain;width:96px;height:96px}.admin-carnations-settings__upload{color:var(--color-accent);cursor:pointer;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.admin-carnations-settings__upload input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.admin-carnations-settings__fields{flex-direction:column;gap:.75rem;display:flex}.admin-carnations-settings__prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}@media (width<=720px){.admin-carnations-settings__card,.admin-carnations-settings__prices{grid-template-columns:1fr}}.markdown-editor{flex-direction:column;gap:8px;display:flex}.markdown-editor__hint{color:var(--color-text-muted);margin:0;font-size:.8125rem;line-height:1.45}.markdown-editor__wysiwyg-shell{border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-surface);overflow:hidden}.markdown-editor__toolbar{border-bottom:1px solid var(--color-border-light);background:var(--color-bg-soft);flex-wrap:wrap;gap:6px;padding:8px;display:flex}.markdown-editor__tool{border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-surface);min-width:32px;min-height:32px;color:var(--color-text);padding:0 8px;font-weight:700}.markdown-editor__tool:hover:not(:disabled){background:var(--color-bg-muted)}.markdown-editor__tool--active{background:#12394714;border-color:#12394747}.markdown-editor__wysiwyg{outline:none;min-height:180px;padding:12px 14px;display:block;overflow-y:auto}.markdown-editor__wysiwyg.markdown-content>*+*{margin-top:10px}.markdown-editor__wysiwyg:focus{box-shadow:inset 0 0 0 1px #1239472e}.markdown-editor__wysiwyg--empty:before{content:attr(data-placeholder);white-space:pre-wrap;color:var(--color-text-muted);pointer-events:none}.markdown-content{flex-direction:column;gap:10px;display:flex}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content p,.markdown-content ul,.markdown-content ol{color:var(--color-text);margin:0;font-size:.9375rem;line-height:1.6}.markdown-content h2,.markdown-content h3,.markdown-content h4{color:var(--color-text);margin:0;line-height:1.3}.markdown-content h2{font-size:1.125rem}.markdown-content h3,.markdown-content h4{font-size:1rem}.markdown-content ul,.markdown-content ol{padding-left:1.2em}.markdown-content a{color:var(--color-accent);text-underline-offset:.12em;text-decoration:underline}.markdown-content code{background:var(--color-bg-muted);border-radius:4px;padding:.1em .35em;font-size:.875em}.account-calendar__note{margin-bottom:24px}.account-calendar__section+.account-calendar__section{border-top:1px solid var(--color-border-light);margin-top:28px;padding-top:24px}.account-calendar__heading{letter-spacing:-.01em;margin:0 0 8px;font-size:1rem}.account-calendar__hint{color:var(--color-text-muted);margin:0 0 16px;font-size:.875rem;line-height:1.55}.account-calendar__groups{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.account-calendar__group{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);padding:14px 16px}.account-calendar__group-title{color:var(--color-text);margin:0 0 10px;font-size:.875rem;font-weight:600}.account-calendar__events{color:var(--color-text-muted);margin:0;padding-left:1.1rem;font-size:.8125rem;line-height:1.55}.account-calendar__events li+li{margin-top:6px}.account-calendar__empty-state{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.account-calendar__pages{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.account-calendar__page-item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.account-calendar__page-name{font-size:.9375rem;font-weight:600}.account-calendar__page-status{white-space:nowrap;font-size:.8125rem}.account-calendar__page-status--ready{color:var(--color-accent)}.account-calendar__page-status--missing{color:var(--color-text-muted)}.account-calendar__page-edit{color:var(--color-accent);font-size:.8125rem;text-decoration:none}.account-calendar__page-edit:hover{text-decoration:underline}.account-memorial-calendar{flex-direction:column;gap:20px;display:flex}.account-memorial-calendar__toolbar{grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px;display:grid}.account-memorial-calendar__title-wrap{flex-direction:column;align-items:center;gap:6px;display:flex}.account-memorial-calendar__title{text-transform:capitalize;margin:0;font-size:1.125rem}.account-memorial-calendar__today{color:var(--color-accent);font:inherit;cursor:pointer;background:0 0;border:none;font-size:.8125rem}.account-memorial-calendar__nav{border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);width:40px;height:40px;color:var(--color-text);cursor:pointer;font-size:1.25rem;line-height:1}.account-memorial-calendar__grid-wrap{overflow-x:auto}.account-memorial-calendar__grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0;display:grid}.account-memorial-calendar__weekday{text-align:center;color:var(--color-text-muted);padding:8px 4px;font-size:.75rem;font-weight:600}.account-memorial-calendar__cell{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);min-height:108px;padding:8px}.account-memorial-calendar__cell--empty{background:0 0;border-color:#0000}.account-memorial-calendar__cell--today{border-color:var(--color-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 25%, transparent)}.account-memorial-calendar__cell--has-events{background:color-mix(in srgb, var(--color-accent) 6%, var(--color-surface))}.account-memorial-calendar__day{margin-bottom:6px;font-size:.8125rem;font-weight:600;display:inline-block}.account-memorial-calendar__day-events{margin:0;padding:0;font-size:.8125rem;line-height:1.35;list-style:none}.account-memorial-calendar__day-events li{flex-direction:column;gap:2px;display:flex}.account-memorial-calendar__day-events .account-memorial-calendar__page-name,.account-memorial-calendar__day-events .account-memorial-calendar__event-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-memorial-calendar__day-events li+li{margin-top:6px}.account-memorial-calendar__page-name{font-size:inherit;color:var(--color-text);font-weight:700}.account-memorial-calendar__event-label{font-size:inherit;color:var(--color-text-muted);font-weight:400}.account-memorial-calendar__more{color:var(--color-accent)}.account-memorial-calendar__list-title{margin:0 0 10px;font-size:.9375rem}.account-memorial-calendar__empty{color:var(--color-text-muted);margin:0;font-size:.875rem}.account-memorial-calendar__events{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.account-memorial-calendar__events li{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-muted);grid-template-columns:88px minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;font-size:.8125rem;display:grid}.account-memorial-calendar__event-date{color:var(--color-text-muted);font-weight:600}.account-memorial-calendar__events li .account-memorial-calendar__page-name{min-width:0}.account-memorial-calendar__events li .account-memorial-calendar__event-label{text-align:right}.account-memorial-calendar__invitation{border:1px solid var(--color-accent);border-radius:var(--radius-full);background:var(--color-accent);color:#fff;min-height:32px;font:inherit;white-space:nowrap;cursor:pointer;justify-content:center;justify-self:end;align-items:center;padding:0 12px;font-size:.75rem;font-weight:500;text-decoration:none;display:inline-flex}.account-memorial-calendar__invitation:hover:not(:disabled){filter:brightness(.95)}.account-memorial-calendar__invitation:disabled{opacity:.65;cursor:not-allowed}.account-memorial-calendar__invitation--created{border-color:var(--color-border-light);color:var(--color-accent);background:0 0}.account-memorial-calendar__invitation--created:hover{filter:none;text-decoration:underline}.account-memorial-calendar__invitation--compact{justify-self:stretch;width:100%;min-height:24px;margin-top:4px;padding:0 6px;font-size:.6875rem}@media (width<=900px){.account-memorial-calendar__grid{min-width:840px}}@media (width<=720px){.account-calendar__page-item{grid-template-columns:1fr}.account-memorial-calendar__events li{grid-template-columns:1fr;gap:4px}.account-memorial-calendar__events li .account-memorial-calendar__event-label{text-align:left}.account-memorial-calendar__invitation{justify-self:start;margin-top:4px}}.crm-page{padding-top:24px;padding-bottom:48px}.crm-page__layout{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:24px;width:100%;max-width:none;margin:0;padding:0 12px;display:grid}.crm-page__main{min-width:0}.crm-sync-error{background:#fdecee;border:1px solid #f5c2c7;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 16px;padding:10px 12px;display:flex}.crm-sync-error__text{margin:0}.crm-sync-error__dismiss{color:#9b2c2c;cursor:pointer;background:0 0;border:0;flex:none;font-size:.875rem;font-weight:600}.crm-sync-error__dismiss:hover{text-decoration:underline}.crm-dev-banner{color:#fff;letter-spacing:.02em;text-align:center;text-transform:uppercase;background:#dc2626;border:2px solid #b42318;border-radius:12px;margin:12px 0 0;padding:18px 20px;font-size:1.35rem;font-weight:700;line-height:1.3}.crm-page__main>.auth-card,.crm-sidebar{box-shadow:0 4px 16px #1239470b,0 1px 4px #12394706}.crm-page .admin-users__table-wrap,.crm-families-drawer .admin-users__table-wrap,.crm-families-memory-picker .admin-users__table-wrap{border:1px solid var(--color-border-light);background:var(--color-surface);border-radius:8px;overflow:hidden}.crm-page .admin-users__table th,.crm-page .admin-users__table td,.crm-families-drawer .admin-users__table th,.crm-families-drawer .admin-users__table td,.crm-families-memory-picker .admin-users__table th,.crm-families-memory-picker .admin-users__table td{border-bottom-color:var(--color-border-light)}.crm-page .admin-users__table th,.crm-families-drawer .admin-users__table th,.crm-families-memory-picker .admin-users__table th{background:#f3f7fa}.crm-page .admin-users__table tbody tr:last-child td,.crm-families-drawer .admin-users__table tbody tr:last-child td,.crm-families-memory-picker .admin-users__table tbody tr:last-child td{border-bottom:0}.crm-sidebar{border:1px solid var(--color-border-light);border-radius:var(--radius-lg);background:var(--color-surface);flex-direction:column;gap:20px;width:260px;padding:18px 16px;transition:width .18s;display:flex;position:sticky;top:88px}.crm-sidebar--collapsed{width:76px;padding:14px 10px 16px}.crm-sidebar__brand{border-bottom:1px solid var(--color-border-light);border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:var(--color-bg-soft);margin:-18px -16px 0;padding:18px 16px 16px 20px}.crm-sidebar--collapsed .crm-sidebar__brand{margin:-14px -10px 0;padding:14px 8px 12px}.crm-sidebar__brand-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.crm-sidebar--collapsed .crm-sidebar__brand-row{flex-direction:column}.crm-sidebar__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent);margin:0;font-size:.8125rem;font-weight:700}.crm-sidebar__toggle{border:1px solid var(--color-border-light);background:var(--color-surface);width:32px;height:32px;color:var(--color-accent);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-sidebar__toggle:hover{border-color:var(--color-border);background:var(--color-bg-soft)}.crm-sidebar__toggle:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.crm-sidebar__lead{color:var(--color-text-muted);margin:8px 0 0;font-size:.8125rem;line-height:1.45}.crm-sidebar__list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.crm-sidebar__link{color:var(--color-text);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:.9375rem;font-weight:500;transition:background-color .15s,color .15s;display:flex}.crm-sidebar__icon{flex-shrink:0;width:20px;height:20px;display:block}.crm-sidebar__link-label{min-width:0}.crm-sidebar__link-main{align-items:center;gap:10px;min-width:0;display:inline-flex}.crm-sidebar--collapsed .crm-sidebar__link{justify-content:center;padding:10px}.crm-sidebar--collapsed .crm-sidebar__link-label,.crm-sidebar--collapsed .crm-sidebar__expand,.crm-sidebar--collapsed .crm-sidebar__sublist,.crm-sidebar--collapsed .crm-sidebar__divider{display:none}.crm-sidebar__link:hover{background:var(--color-bg-muted);color:var(--color-text)}.crm-sidebar__link--active{color:var(--color-accent);background:#e4ebf2}.crm-sidebar__link--current{background:var(--color-bg-muted)}.crm-sidebar__group-row{grid-template-columns:minmax(0,1fr) 34px;align-items:stretch;gap:4px;display:grid}.crm-sidebar--collapsed .crm-sidebar__group-row{grid-template-columns:1fr}.crm-sidebar__link--group-main{min-width:0}.crm-sidebar__expand{border:1px solid var(--color-border-light,#d7dee7);background:color-mix(in srgb, var(--color-bg-muted,#f3f5f7) 70%, #fff);color:var(--color-text-muted,#5b6572);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.crm-sidebar__expand:hover{background:var(--color-bg-muted,#eef2f6);color:var(--color-text);border-color:color-mix(in srgb, var(--color-accent,#1e4b7a) 28%, transparent)}.crm-sidebar__expand:focus-visible{outline:2px solid color-mix(in srgb, var(--color-accent,#1e4b7a) 55%, transparent);outline-offset:1px}.crm-sidebar__expand svg{width:14px;height:14px;transition:transform .15s;display:block}.crm-sidebar__expand--open{color:var(--color-accent,#1e4b7a);border-color:color-mix(in srgb, var(--color-accent,#1e4b7a) 35%, transparent);background:#e4ebf2}.crm-sidebar__expand--open svg{transform:rotate(90deg)}.crm-sidebar__group{flex-direction:column;gap:2px;display:flex}.crm-sidebar__sublist{flex-direction:column;gap:2px;margin:0;padding:0 0 4px;list-style:none;display:flex}.crm-sidebar__link--sub{padding:8px 12px 8px 22px;font-size:.875rem}.crm-sidebar__divider{background:var(--color-border);border:0;height:1px;margin:10px 12px;padding:0;list-style:none}.crm-section__stub{flex-direction:column;gap:16px;display:flex}.crm-section__features{color:var(--color-text-muted);margin:0;padding-left:1.25rem;font-size:.9375rem;line-height:1.55}.crm-section__features li+li{margin-top:6px}.crm-overview{flex-direction:column;gap:18px;display:flex}.crm-overview__board{flex-direction:column;gap:16px;display:flex}.crm-overview__empty-board{border:1px dashed var(--color-border-light);border-radius:var(--radius-md);background:#f7f8f9;flex-direction:column;align-items:flex-start;gap:14px;padding:20px 18px;display:flex}.crm-overview__empty-board .auth-form__submit{width:auto;margin-top:0}.crm-overview__kpis,.crm-overview__amounts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.crm-overview__amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-overview__kpi{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:#f7f8f9;padding:14px 16px}.crm-overview__kpi-label{color:var(--color-text-muted);margin:0 0 8px;font-size:.8125rem}.crm-overview__kpi-value{color:var(--color-text);margin:0;font-size:1.5rem;font-weight:600;line-height:1.2}.crm-overview__kpi-meta{color:var(--color-text-muted);margin:6px 0 0;font-size:.8125rem}.crm-overview__gaps{flex-wrap:wrap;gap:6px;display:flex}.crm-overview__gap{color:#8a3b32;white-space:nowrap;background:#f4e8e6;border-radius:999px;align-items:center;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.crm-overview__panel{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);flex-direction:column;gap:12px;min-width:0;padding:14px 16px 16px;display:flex}.crm-overview__widget{cursor:grab}.crm-overview__widget--dragging{opacity:.72}.crm-overview__widget-title{align-items:center;gap:8px;min-width:0;display:flex}.crm-overview__drag-handle{color:var(--color-text-muted);letter-spacing:-2px;-webkit-user-select:none;user-select:none}.crm-overview__widget-remove{flex-shrink:0}.crm-overview__panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-overview__panel-head h3{margin:0;font-size:1rem;font-weight:600}.crm-overview__panel-count{min-width:1.75rem;height:1.75rem;color:var(--color-text-muted);background:#f3f7fa;border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.8125rem;font-weight:600;display:inline-flex}.crm-overview__empty{color:var(--color-text-muted);margin:0;font-size:.875rem}.crm-overview__table{table-layout:fixed;width:100%;min-width:0}.crm-overview__table .crm-tasks__title-cell{width:30%;max-width:none;overflow:hidden}.crm-overview__table .crm-tasks__title-text{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.crm-overview__table .crm-tasks__family-link{text-overflow:ellipsis;white-space:nowrap;text-align:left;max-width:100%;display:block;overflow:hidden}.crm-overview__table td:nth-child(3),.crm-overview__table td:nth-child(5){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.crm-overview__flags{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-overview__flag{border:1px solid var(--color-border-light);max-width:100%;color:var(--color-text);font:inherit;cursor:pointer;background:#f7f8f9;border-radius:999px;align-items:center;gap:10px;padding:8px 12px;font-size:.875rem;display:inline-flex}.crm-overview__flag:hover{border-color:var(--color-text-muted)}.crm-overview__flag--active{border-color:color-mix(in srgb, #9b2c2c 35%, var(--color-border-light));color:#9b2c2c;background:#fdecec}.crm-overview__flag-label{text-align:left;min-width:0}.crm-overview__flag-count{flex-shrink:0;font-weight:600}.crm-overview__flag-table{margin-top:4px}.crm-overview__catalog{flex-direction:column;gap:18px;max-height:min(60vh,520px);margin-bottom:8px;display:flex;overflow:auto}.crm-overview__catalog-group h3{margin:0 0 8px;font-size:.9375rem}.crm-overview__catalog-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-overview__catalog-item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;background:#f7f8f9;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.crm-overview__catalog-item:hover{border-color:var(--color-text-muted);background:#fff}.crm-overview__catalog-item-title{font-weight:600}.crm-overview__catalog-item-lead{color:var(--color-text-muted);font-size:.8125rem}@media (width<=1100px){.crm-overview__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.crm-overview__kpis,.crm-overview__amounts{grid-template-columns:1fr}}.crm-tasks__row{cursor:pointer}.crm-tasks__row:focus-visible{outline:2px solid color-mix(in srgb, var(--color-accent,#1e4b7a) 55%, transparent);outline-offset:-2px}.crm-tasks__row--active,.crm-tasks__row--active:hover{background:color-mix(in srgb, var(--color-accent,#1e4b7a) 8%, transparent)}.crm-tasks__row--overdue td{background:#fff7f7}.crm-tasks__row--overdue.crm-tasks__row--active td{background:#f7e7e7}.crm-tasks__hints{margin-bottom:8px}.crm-tasks__body-preview{color:var(--color-text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:.8125rem;line-height:1.4;display:-webkit-box;overflow:hidden}.crm-tasks__priority{font-size:.8125rem;font-weight:600;display:inline-block}.crm-tasks__priority--low{color:#4b5563}.crm-tasks__priority--normal{color:#1e4b7a}.crm-tasks__priority--high{color:#9a5b12}.crm-tasks__priority--urgent{color:#9b2c2c}.crm-tasks__overdue-badge{color:#9b2c2c;margin-left:8px;font-size:.75rem;font-weight:600;display:inline-block}.crm-tasks__family-field{flex-direction:column;gap:8px;margin-bottom:4px;display:flex}.crm-tasks__family-selected{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-tasks__family-label{font-size:.9375rem}.crm-tasks__family-link{color:var(--color-link,#1e4b7a);font:inherit;text-align:left;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;margin:0;padding:0;text-decoration:underline}.crm-tasks__family-link:hover{color:var(--color-text,#123947)}.crm-tasks__family-pick{align-self:flex-start}.crm-tasks__personal{white-space:normal;min-height:44px;line-height:1.35}.crm-tasks__personal-badge{border-radius:var(--radius-full);background:var(--color-bg-muted);color:var(--color-text-muted);letter-spacing:.02em;text-transform:uppercase;align-items:center;padding:2px 8px;font-size:.6875rem;font-weight:600;display:inline-flex}.crm-tasks__priority-chip--low{color:#4b5563}.crm-tasks__priority-chip--normal{color:#1e4b7a}.crm-tasks__priority-chip--high{color:#9a5b12}.crm-tasks__priority-chip--urgent{color:#9b2c2c}.crm-families .auth-card__lead{margin-bottom:6px}.crm-families__demo-note{color:var(--color-text-light);margin:0;font-size:.8125rem;line-height:1.45}.crm-families__create-button{white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;margin-top:0;display:inline-flex}.crm-families__create-plus{color:currentColor;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex}.crm-families__create-plus svg{display:block}.crm-families__toolbar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.crm-families__search{flex:220px;min-width:200px}.crm-families__total{margin-left:auto;padding-bottom:10px}.crm-families__table{min-width:860px}.crm-families__table td:first-child,.crm-families__table td:nth-child(6),.crm-families__table td:nth-child(8){white-space:nowrap}.crm-families__row{cursor:pointer}.crm-families__row:focus-visible{outline:2px solid var(--color-accent);outline-offset:-2px}.crm-families__row--today{background:#f7fbf4}.crm-families__row--active,.crm-families__row--active:hover{background:var(--color-accent-soft)}.crm-page .admin-users__table tbody tr.crm-row--closed,.crm-page .admin-users__table tbody tr.crm-row--closed:hover,.crm-families-drawer .admin-users__table tbody tr.crm-row--closed,.crm-families-drawer .admin-users__table tbody tr.crm-row--closed:hover{color:#9aa3af;background:#f3f4f6}.crm-page .admin-users__table tbody tr.crm-row--closed.crm-tasks__row--active,.crm-page .admin-users__table tbody tr.crm-row--closed.crm-tasks__row--active:hover,.crm-page .admin-users__table tbody tr.crm-row--closed.crm-families__row--active,.crm-page .admin-users__table tbody tr.crm-row--closed.crm-families__row--active:hover{background:#e8eaed}.crm-row--closed td,.crm-row--closed .crm-families__contact,.crm-row--closed .crm-families__phone,.crm-row--closed .crm-families-drawer__task-title,.crm-row--closed .crm-tasks__body-preview{color:#9aa3af}.crm-row--closed .crm-families-badge,.crm-row--closed .crm-tasks__personal-badge{filter:grayscale(.55);opacity:.72}.crm-row--closed.crm-tasks__row--overdue td{background:0 0}.crm-families__contact{font-weight:600}.crm-families__channels{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.crm-families__phone{color:var(--color-accent);white-space:nowrap}.crm-families__phone:hover{text-decoration:underline}.crm-families__funeral-today{color:#3f6b32;font-weight:600}.crm-families-badge{border-radius:var(--radius-full);white-space:nowrap;align-items:center;padding:4px 12px;font-size:.8125rem;font-weight:500;line-height:1.4;display:inline-flex}.crm-families-badge--new{color:#1e4b7a;background:#e8f1fb}.crm-families-badge--in_progress{color:#123947;background:var(--color-accent-soft)}.crm-families-badge--agreed{color:#1f5f3f;background:#e8f5ee}.crm-families-badge--completed{color:#4b5563;background:#eef2f6}.crm-families-badge--declined{color:#9b2c2c;background:#fdecec}.crm-families-status-chip{--chip-fg:var(--color-text-muted);--chip-bg:var(--color-bg);color:var(--chip-fg);background:var(--chip-bg);border-color:color-mix(in srgb, var(--chip-fg) 22%, var(--chip-bg))}.crm-families-status-chip:hover,.crm-families-status-chip.crm-catalog-chip--active{color:var(--chip-fg);background:var(--chip-bg);border-color:color-mix(in srgb, var(--chip-fg) 42%, var(--chip-bg))}.crm-families-status-chip .crm-catalog-chip__check input{border-color:color-mix(in srgb, var(--chip-fg) 40%, #fff)}.crm-families-status-chip .crm-catalog-chip__check input:checked{background:var(--chip-fg);border-color:var(--chip-fg)}.crm-families-status-chip--new{--chip-fg:#1e4b7a;--chip-bg:#e8f1fb}.crm-families-status-chip--in_progress{--chip-fg:#123947;--chip-bg:#e8f0f3}.crm-families-status-chip--agreed{--chip-fg:#1f5f3f;--chip-bg:#e8f5ee}.crm-families-status-chip--completed{--chip-fg:#4b5563;--chip-bg:#eef2f6}.crm-families-status-chip--declined{--chip-fg:#9b2c2c;--chip-bg:#fdecec}.crm-lists-statuses__color{cursor:pointer;min-height:44px;padding:4px 8px}.crm-lists-statuses__preview{flex-direction:column;gap:8px;margin-top:4px;display:flex}.crm-lists-contracts__spoiler{border:1px solid var(--color-border,#e2e8f0);background:var(--color-bg-soft,#f8fafc);border-radius:12px;margin:0 0 20px;overflow:hidden}.crm-lists-contracts__spoiler-toggle{cursor:pointer;width:100%;font:inherit;text-align:left;color:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.crm-lists-contracts__spoiler-toggle:hover{background:#1239470a}.crm-lists-contracts__spoiler-title{font-size:.975rem;font-weight:600}.crm-lists-contracts__spoiler-action{border:1px solid var(--color-border,#d5dde5);color:#123947;background:#fff;border-radius:8px;flex-shrink:0;padding:4px 10px;font-size:.8125rem}.crm-lists-contracts__spoiler-panel{border-top:1px solid var(--color-border,#e2e8f0);padding:0 16px 16px}.crm-lists-contracts__spoiler-lead{color:var(--color-text-muted,#64748b);margin:12px 0;font-size:.9375rem;line-height:1.45}.crm-lists-contracts__vars-wrap{background:#fff;border-radius:8px;margin:0}.crm-lists-contracts__vars-table{margin:0}.crm-lists-contracts__vars-table th:first-child,.crm-lists-contracts__vars-table td:first-child{white-space:nowrap;width:42%}.crm-lists-contracts__token{color:#123947;background:#eef3f6;border-radius:4px;padding:2px 6px;font-size:.8125rem;display:inline-block}.crm-lists-contracts__body{white-space:pre-wrap;min-height:280px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem;line-height:1.45}.crm-lists-contracts__body-hint{color:var(--color-text-muted,#64748b);margin:-4px 0 12px;font-size:.8125rem}.crm-lists-contracts__desc{max-width:360px;color:var(--color-text-muted,#64748b);font-size:.9375rem}.crm-lists-contracts__file-meta{color:var(--color-text-muted,#64748b);margin-top:2px;font-size:.75rem}.crm-lists-contracts__source{border:0;margin:0 0 14px;padding:0}.crm-lists-contracts__source-options{flex-wrap:wrap;gap:16px;margin-top:8px;display:flex}.crm-lists-contracts__version-note{color:#123947;background:#eef3f6;border-radius:8px;margin:0 0 12px;padding:10px 12px;font-size:.875rem;line-height:1.45}.crm-lists-contracts__docx-actions{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.crm-lists-contracts__docx-actions .auth-form__submit{margin-top:0}.crm-lists-contracts__file-current{color:var(--color-text-muted,#64748b);margin:0 0 12px;font-size:.875rem}.crm-lists-contracts__history-preview{margin-top:16px}.crm-lists-contracts__history-preview h3{margin:0 0 8px;font-size:.975rem}.crm-lists-contracts__history-body{border:1px solid var(--color-border,#e2e8f0);white-space:pre-wrap;background:#f8fafc;border-radius:8px;max-height:280px;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8125rem;line-height:1.45;overflow:auto}.crm-lists-contracts__history-body--html{white-space:normal;font-family:inherit}.crm-lists-contracts__history-body--html p{margin:0 0 .65em}.crm-contract-editor{border:1px solid var(--color-border,#d5dde5);background:#fff;border-radius:10px;margin-top:6px;overflow:hidden}.crm-contract-editor__toolbar{border-bottom:1px solid var(--color-border,#e2e8f0);background:#f5f8fa;flex-wrap:wrap;gap:8px;padding:10px 12px;display:flex}.crm-contract-editor__sep{background:var(--color-border,#d5dde5);align-self:stretch;width:1px;margin:2px 4px}.crm-contract-editor__tool{width:36px;height:34px;font:inherit;cursor:pointer;color:#1f2937;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-contract-editor__tool:disabled{opacity:.35;cursor:not-allowed}.crm-contract-editor__tool:hover:not(:disabled){background:#e8eef3;border-color:#d5dde5}.crm-contract-editor__tool--active{background:#d9e6f2;border-color:#9bb4c4}.crm-contract-editor__icon{display:block}.crm-contract-editor__glyph{min-width:16px;color:inherit;justify-content:center;align-items:center;font-family:Times New Roman,Times,Liberation Serif,serif;font-size:17px;font-weight:700;line-height:1;display:inline-flex}.crm-contract-editor__glyph--i{font-style:italic;font-weight:600}.crm-contract-editor__glyph--u{text-underline-offset:2px;text-decoration:underline}.crm-contract-editor__glyph--s{font-weight:600;text-decoration:line-through}.crm-contract-editor__glyph--h{letter-spacing:-.02em;font-family:inherit;font-size:13px;font-weight:700}.crm-contract-editor__content .tiptap{font-synthesis:style weight;outline:none;min-height:280px;max-height:420px;padding:14px 16px;font-family:Times New Roman,Times,Georgia,Liberation Serif,serif;font-size:1rem;line-height:1.5;overflow:auto}.crm-contract-editor__content .tiptap em,.crm-contract-editor__content .tiptap i{font-style:italic}.crm-contract-editor__content .tiptap strong,.crm-contract-editor__content .tiptap b{font-weight:700}.crm-contract-editor__content .tiptap u{text-decoration:underline}.crm-contract-editor__content .tiptap s{text-decoration:line-through}.crm-contract-editor__content .tiptap p{margin:0 0 .65em}.crm-contract-editor__content .tiptap h1,.crm-contract-editor__content .tiptap h2,.crm-contract-editor__content .tiptap h3{margin:.4em 0 .5em;line-height:1.25}.crm-contract-editor__content .tiptap ul,.crm-contract-editor__content .tiptap ol{margin:0 0 .65em;padding-left:1.4rem}.crm-contract-editor__content .tiptap blockquote{color:#475569;border-left:3px solid #9bb4c4;margin:0 0 .65em;padding-left:12px}.crm-contract-editor__content .tiptap hr{border:0;border-top:1px solid #d5dde5;margin:12px 0}.crm-contract-editor__content .tiptap [style*="text-align: center"],.crm-contract-editor__content .tiptap [data-text-align=center]{text-align:center}.crm-contract-editor__content .tiptap [style*="text-align: right"],.crm-contract-editor__content .tiptap [data-text-align=right]{text-align:right}.crm-contract-editor__content .tiptap [style*="text-align: justify"],.crm-contract-editor__content .tiptap [data-text-align=justify]{text-align:justify}.crm-families__form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.crm-families__form-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-families__textarea{resize:vertical;min-height:92px;padding:12px 14px;line-height:1.5}.crm-families__form-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.crm-families__form-actions .auth-form__submit{margin-top:0}.crm-families__create-form .auth-card__lead{margin:0 0 4px}.crm-families-drawer{z-index:1150;justify-content:flex-end;display:flex;position:fixed;inset:0}.crm-client-drawer-overlay{z-index:1260}.crm-drawer-stack-top{z-index:1280}.crm-over-drawer.service-request-modal,.crm-family-card-picker.service-request-modal{z-index:1350}.crm-families-drawer__backdrop{cursor:pointer;background:#0f172a47;border:0;position:absolute;inset:0}.crm-families-drawer__panel{z-index:1;background:var(--color-surface);width:min(100%,1080px);height:100%;box-shadow:var(--shadow-md);flex-direction:column;animation:.22s ease-out crm-families-drawer-in;display:flex;position:relative}.crm-families-drawer__header{border-bottom:1px solid var(--color-border-light);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 16px;display:flex}.crm-families-drawer__eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--color-accent);margin:0 0 4px;font-size:.75rem;font-weight:700}.crm-families-drawer__title{letter-spacing:-.02em;margin:0 0 10px;font-size:1.25rem;line-height:1.3}.crm-families-drawer__meta{flex-wrap:wrap;align-items:center;gap:10px;margin:0;display:flex}.crm-families-drawer__phone{color:var(--color-text-muted);font-size:.875rem}.crm-families-drawer__phone:hover{color:var(--color-accent)}.crm-families-drawer__tabs{border-bottom:1px solid var(--color-border-light);flex-wrap:wrap;flex-shrink:0;gap:4px;padding:0 22px;display:flex}.crm-families-drawer__tab{color:var(--color-text-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:12px 14px 11px;font-size:.9375rem;font-weight:500;display:inline-flex}.crm-families-drawer__tab:hover{color:var(--color-text)}.crm-families-drawer__tab--active{border-bottom-color:var(--color-accent);color:var(--color-accent);font-weight:600}.crm-families-drawer__tab--icon{padding-left:12px;padding-right:12px}.crm-families-drawer__tab-icon-wrap{justify-content:center;align-items:center;display:inline-flex;position:relative}.crm-families-drawer__tab-icon{flex-shrink:0;display:block}.crm-families-drawer__tab-tooltip{z-index:5;border:1px solid var(--color-border-light,#e2e8f0);color:var(--color-text,#0f172a);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;background:#fff;border-radius:6px;padding:5px 8px;font-size:.75rem;font-weight:500;line-height:1.2;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(2px);box-shadow:0 4px 12px #0f172a1f}.crm-families-drawer__tab--icon:hover .crm-families-drawer__tab-tooltip,.crm-families-drawer__tab--icon:focus-visible .crm-families-drawer__tab-tooltip{opacity:1;visibility:visible;transform:translate(-50%)translateY(0)}.crm-families-drawer__tab-count{border-radius:var(--radius-full);background:var(--color-accent-soft);min-width:20px;height:20px;color:var(--color-accent);justify-content:center;align-items:center;padding:0 6px;font-size:.75rem;font-weight:600;line-height:1;display:inline-flex}.crm-families-drawer__form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.crm-families-drawer__readonly-fieldset{border:0;min-width:0;margin:0;padding:0}.crm-families-drawer__readonly-fieldset:disabled .crm-families-drawer__contact,.crm-families-drawer__readonly-fieldset:disabled .crm-families-drawer__contact--call,.crm-families-drawer__readonly-fieldset:disabled .crm-families-drawer__contact--write{pointer-events:auto}.crm-families-drawer__form-body{flex:1;min-height:0;padding:8px 22px 16px;overflow:auto}.crm-families-drawer__placeholder{text-align:center;flex:1;justify-content:center;align-items:center;min-height:180px;padding:24px 8px;display:flex}.crm-families-drawer__placeholder p{max-width:28rem;color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.5}.crm-families-drawer__section{border-bottom:1px solid var(--color-border-light);flex-direction:column;gap:14px;padding:16px 0;display:flex}.crm-families-drawer__section--panel,.crm-form-block{border-radius:var(--radius-md);background:#f7f8f9;border:0;flex-direction:column;gap:14px;padding:16px;display:flex}.crm-form-block__title{letter-spacing:.04em;text-transform:uppercase;color:#4b5563;margin:0;font-size:.8125rem;font-weight:700}.crm-family-create__layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch;gap:14px;display:grid}.crm-family-create__main{flex-direction:column;gap:14px;min-width:0;display:flex}.crm-family-create__notes{min-height:100%}.crm-family-create__notes-field{flex-direction:column;flex:1;min-height:0;display:flex}.crm-family-create__notes-input{resize:vertical;flex:1;height:100%;min-height:220px}@media (width<=720px){.crm-family-create__layout{grid-template-columns:1fr}.crm-family-create__notes-input{min-height:120px}}.crm-families-drawer__section--panel{margin-bottom:12px}.crm-families-drawer__section--panel:last-child{margin-bottom:0}.crm-families-drawer__section--panel h3{color:#4b5563}.crm-families-drawer__section h3{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);margin:0;font-size:.8125rem;font-weight:700}.crm-families-drawer__section--panel .auth-field__input,.crm-form-block .auth-field__input{background-color:#fff;border-color:#d5dee8}.crm-families-drawer__section--panel select.auth-field__input,.crm-form-block select.auth-field__input{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%), linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);background-position:calc(100% - 18px) calc(50% + 1px),calc(100% - 12px) calc(50% + 1px);background-repeat:no-repeat;background-size:6px 6px,6px 6px;padding-right:36px}.crm-families-drawer__section--panel input[type=date].auth-field__input,.crm-form-block input[type=date].auth-field__input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.crm-families-drawer__footer{border-top:1px solid var(--color-border-light);background:var(--color-surface);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px 22px;display:flex}.crm-families-drawer__footer-links{flex-wrap:wrap;gap:8px;display:flex}.crm-families-drawer__call{align-items:center;text-decoration:none;display:inline-flex}.crm-families-drawer__add-task+.crm-families-drawer__contact,.crm-families-drawer__contact+.crm-families-drawer__call{margin-left:10px}.crm-families-drawer__contact{border-radius:var(--radius-full);border:1px solid #0000;justify-content:center;align-items:center;width:44px;height:44px;padding:0;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.crm-families-drawer__contact svg{display:block}.crm-families-drawer__contact--call{color:#1f9d55;background:#e8f8ee;border-color:#b7e4c7}.crm-families-drawer__contact--call:hover{background:#d8f3e3;border-color:#8fd3ab}.crm-families-drawer__contact--write{color:#2b6cb0;background:#eaf2fb;border-color:#b6d0f0}.crm-families-drawer__contact--write:hover{background:#dceaf8;border-color:#8fb6e4}.crm-families-drawer__add-task{gap:8px}.crm-families-drawer__add-task-plus{color:currentColor;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex}.crm-families-drawer__add-task-plus svg{display:block}.crm-families-drawer__footer-end{align-items:center;gap:12px;display:flex}.crm-families-drawer__footer-end .auth-form__submit{margin-top:0}.crm-families-drawer__saved{color:#1f5f3f;margin:0;font-size:.8125rem}.crm-families-drawer__remarks{flex-direction:column;flex:1;min-height:0;padding:16px 22px 22px;display:flex}.crm-families-drawer__remarks-lead{color:var(--color-text-muted);flex-shrink:0;margin:0 0 14px;font-size:.8125rem;line-height:1.45}.crm-hint{color:var(--color-text-muted);background:#f7f8f9;border-radius:10px;flex-shrink:0;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;font-size:.9375rem;line-height:1.5;display:flex}.crm-hint__mark{color:#6b7280;background:#e4e7eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-top:1px;font-size:.875rem;font-weight:700;line-height:1;display:inline-flex}.crm-hint__text{min-width:0}.crm-families-drawer__remarks-feed{flex:1;min-height:0;overflow-y:auto}.crm-families-drawer__remarks-empty{color:var(--color-text-muted);margin:0;font-size:.9375rem}.crm-families-drawer__remarks-list,.crm-families-drawer__task-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.crm-families-drawer__task{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.crm-families-drawer__task:hover{border-color:var(--color-border)}.crm-families-drawer__task:focus-visible{outline:2px solid color-mix(in srgb, var(--color-accent) 55%, transparent);outline-offset:2px}.crm-families-drawer__task--done{opacity:.72}.crm-families-drawer__task--overdue{background:#fff7f7;border-color:#f3d4d4}.crm-families-drawer__task--active{border-color:color-mix(in srgb, var(--color-accent) 35%, var(--color-border-light));background:color-mix(in srgb, var(--color-accent) 6%, var(--color-surface))}.crm-families-drawer__task-main{flex-direction:column;gap:4px;min-width:0;display:flex}.crm-families-drawer__task-title{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;max-width:100%;font-weight:600;display:flex}.crm-tasks__title-cell{max-width:18rem}.crm-tasks__title-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.crm-families-drawer__task-title .crm-tasks__personal-badge{flex-shrink:0}.crm-families-drawer__task-deadline{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.8125rem;display:inline-flex}.crm-families-drawer__tasks-wrap{margin-bottom:0}.crm-families-drawer__tasks-table{min-width:0}.crm-families-drawer__tasks-table .crm-clients__role-select,.crm-families-drawer__tasks-table .crm-clients__unlink{width:100%;max-width:11rem}.crm-families-drawer__tasks-table td:last-child{white-space:nowrap;width:1%}.crm-families-drawer__task .crm-families-badge{flex-shrink:0}.crm-families-drawer__remark{border-radius:var(--radius-sm);background:var(--color-bg-muted);padding:12px 14px}.crm-families-drawer__remark-meta{color:var(--color-text-muted);flex-wrap:wrap;gap:6px 12px;margin:0 0 6px;font-size:.8125rem;display:flex}.crm-families-drawer__remark-meta strong{color:var(--color-text);font-weight:600}.crm-families-drawer__remark-body{white-space:pre-wrap;margin:0;font-size:.9375rem;line-height:1.5}.crm-families-drawer__history-changes{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.crm-families-drawer__history-change{margin:0;font-size:.875rem;line-height:1.45}.crm-families-drawer__history-change--subtask{padding-left:.1rem}.crm-families-drawer__remarks-form{border-top:1px solid var(--color-border-light);flex-direction:column;flex-shrink:0;gap:12px;margin-top:14px;padding-top:14px;display:flex}.crm-families-drawer__remarks-form .auth-form__submit{align-self:flex-end;margin-top:0}.crm-families-memory{flex-direction:column;gap:16px;padding:8px 0 4px;display:flex}.crm-families-memory__lead{color:var(--color-text-muted);margin:0;font-size:.8125rem;line-height:1.45}.crm-families-memory .crm-hint{margin-bottom:0}.crm-families-memory__notice{border-radius:var(--radius-sm,8px);color:#166534;background:#f0fdf4;margin:0;padding:16px 18px;font-size:1rem;line-height:1.5}.crm-families-memory__notice-action{color:#14532d;font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;margin:0;padding:0;font-weight:600;text-decoration:underline}.crm-families-memory__notice-action:hover{color:#052e16}.crm-families-memory__search{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.crm-families-memory__search-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-families-memory__search .auth-field{margin:0}.crm-families-memory__email{align-items:stretch;display:flex}.crm-families-memory__email .auth-field__input{border-top-right-radius:0;border-bottom-right-radius:0}.crm-families-memory__picker{border:1px solid var(--color-border);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--color-surface);width:44px;min-height:44px;color:var(--color-text-muted);cursor:pointer;border-left:0;flex:0 0 44px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.crm-families-memory__picker:hover{color:var(--color-text);background:var(--color-bg-muted)}.crm-families-memory__email .auth-field__input:focus{z-index:1;position:relative}.crm-families-memory__find{white-space:nowrap;margin-top:0}.crm-families-memory__result{flex-direction:column;display:flex}.crm-families-memory__account{flex-direction:column;gap:4px;margin:0;display:flex}.crm-families-memory__account span{color:var(--color-text-muted);font-size:.875rem}.crm-families-memory__empty{color:var(--color-text-muted);margin:0;font-size:.875rem}.crm-families-memory__pages{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.crm-families-memory__page{border:1px solid color-mix(in srgb, var(--color-accent) 8%, var(--color-border-light));border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-accent) 5%, var(--color-surface));justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.crm-families-memory__page--tree{border-color:color-mix(in srgb, var(--color-accent) 16%, var(--color-border-light));background:color-mix(in srgb, var(--color-accent) 10%, var(--color-surface))}.crm-families-memory__page-title{margin:0 0 4px;font-weight:600}.crm-families-memory__page-meta{color:var(--color-text-muted);margin:0;font-size:.8125rem}.crm-families-memory__page-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.crm-families-memory__open{box-sizing:border-box;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-height:36px;color:var(--color-text);letter-spacing:0;white-space:nowrap;flex-shrink:0;justify-content:center;align-items:center;padding:0 14px;font-size:.8125rem;font-weight:500;line-height:1;text-decoration:none;display:inline-flex}.crm-families-memory__open:hover{border-color:var(--color-text-muted);color:var(--color-text)}.crm-families-memory__open[type=button]{cursor:pointer;appearance:none;font-family:inherit}.crm-families-memory__open--payment{color:var(--color-accent,#1e4b7a);border-color:color-mix(in srgb, var(--color-accent,#1e4b7a) 35%, var(--color-border));background:color-mix(in srgb, var(--color-accent,#1e4b7a) 8%, var(--color-surface))}.crm-families-memory__open--payment:hover{color:var(--color-accent,#1e4b7a);border-color:color-mix(in srgb, var(--color-accent,#1e4b7a) 55%, var(--color-border));background:color-mix(in srgb, var(--color-accent,#1e4b7a) 14%, var(--color-surface))}.crm-families-memory-picker{z-index:1350}.crm-families-memory-picker__panel{flex-direction:column;display:flex}.crm-families-memory-picker__lead{margin-bottom:16px}.crm-families-memory-picker__status{color:var(--color-text-muted);margin:0 0 8px;font-size:.875rem}.crm-families-memory-picker__table-wrap{margin-bottom:12px}.crm-families-memory-picker__table{min-width:0}.crm-families-memory-picker__row{cursor:pointer}.crm-families-memory-picker__row:focus-visible{outline:2px solid var(--color-accent);outline-offset:-2px}.crm-memory-account-drawer__panel{width:min(100%,920px);box-shadow:-14px 0 32px #0f172a29}.crm-memory-sales__account-flags{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.crm-memory-sales__badge{border-radius:var(--radius-full,999px);color:#4b5563;background:#f3f4f6;align-items:center;padding:3px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.crm-memory-sales__badge--blocked{color:#9b2c2c;background:#fdecec}.crm-memory-sales__badge--ok{color:#166534;background:#e8f5ee}.crm-memory-sales__do-not-offer{flex-direction:column;gap:8px;display:flex}.crm-memory-sales__do-not-offer-lead{color:var(--color-text-muted,#64748b);margin:0;font-size:.8125rem;line-height:1.4}.crm-memory-sales__do-not-offer .crm-memory-sales__account-check{margin-top:0}.crm-memory-sales__do-not-offer .crm-memory-sales__badge--blocked{align-self:flex-start;padding:6px 12px;font-size:.9375rem;font-weight:700;line-height:1.3}.crm-memory-pages__row--blocked{opacity:.78}.crm-memory-pages__pages-cell{outline:none;max-width:100%;display:inline-flex;position:relative}.crm-memory-pages__counters{flex-wrap:wrap;gap:4px;display:flex}.crm-memory-pages__pages-tooltip--portal{z-index:1200;border-radius:var(--radius-md,8px);pointer-events:none;background:#fff;border:1px solid #e5e7eb;min-width:12rem;max-width:20rem;padding:8px 10px;position:fixed;box-shadow:0 8px 24px #0f172a1f}.crm-memory-pages__pages-tooltip--above{transform:translateY(-100%)}.crm-memory-pages__pages-tooltip--below{transform:none}.crm-memory-pages__pages-tooltip-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.crm-memory-pages__pages-tooltip-list li{flex-direction:column;gap:2px;display:flex}.crm-memory-pages__pages-tooltip-title{color:var(--color-text,#1e293b);font-size:.8125rem;font-weight:600;line-height:1.3}.crm-memory-pages__pages-tooltip-status{color:var(--color-text-muted,#64748b);font-size:.75rem}.crm-memory-sales__page{align-items:flex-start;gap:12px}.crm-memory-sales__page-main{flex-direction:column;flex:auto;gap:8px;min-width:0;display:flex}.crm-memory-sales__status-field{max-width:16rem;margin:0}.crm-memory-sales__add-page{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px;display:grid}.crm-memory-page-payment.service-request-modal{z-index:1400}.crm-memory-page-payment__page,.crm-memory-page-payment__current{margin:0 0 12px;font-size:.9375rem}.crm-memory-page-payment__form .auth-field{margin-bottom:12px}.crm-memory-account-create.service-request-modal{z-index:1350}.crm-memory-account-create__form{flex-direction:column;gap:12px;display:flex}.crm-memory-account-create__mode{cursor:pointer;align-items:flex-start;gap:10px;margin:0 0 10px;display:flex}.crm-memory-account-create__mode input{margin-top:.25rem}.crm-memory-account-create__mode span{flex-direction:column;gap:2px;display:flex}.crm-memory-account-create__mode-lead{color:var(--color-text-muted,#64748b);font-size:.875rem}.crm-memory-account-create__password-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.crm-memory-account-create__dice{border:1px solid var(--color-border-light,#e2e8f0);border-radius:var(--radius-md,10px);background:var(--color-surface,#fff);width:42px;min-height:42px;color:var(--color-text,#0f172a);cursor:pointer;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-memory-account-create__dice:hover:not(:disabled){border-color:var(--color-border,#cbd5e1)}.crm-memory-account-create__dice:disabled{opacity:.45;cursor:default}.crm-memory-account-create__password-hint{color:var(--color-text-muted,#64748b);margin-top:6px;font-size:.8125rem;line-height:1.35;display:block}.crm-families-leave{z-index:1350}.crm-families-leave .auth-card__lead{margin-bottom:24px}.crm-families-leave__actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-families-leave__actions-end{flex-wrap:wrap;gap:10px;display:flex}.crm-families-leave__actions-end .auth-form__submit{margin-top:0}.crm-catalog .admin-sub-tabs{margin:0 0 16px}.crm-catalog__archived-toggle{margin-bottom:18px}.crm-catalog-filters{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-soft);margin:0 0 18px;padding:14px 16px 16px}.crm-catalog-filters .crm-families__toolbar{margin-bottom:0}.crm-catalog-filters .crm-families__toolbar:not(:last-child){margin-bottom:14px}.crm-catalog-chip-block{flex-direction:column;gap:8px;display:flex}.crm-catalog-chip-block__label{color:var(--color-text-muted);font-size:.8125rem;font-weight:500}.crm-catalog-chips{flex-wrap:wrap;gap:8px;margin:0;display:flex}.crm-catalog-chip{border:1px solid var(--color-border);background:var(--color-bg);min-height:34px;color:var(--color-text-muted);font:inherit;cursor:pointer;border-radius:6px;align-items:center;padding:6px 12px;font-size:.875rem;font-weight:500;line-height:1;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.crm-catalog-chip:hover{color:var(--color-text);background:var(--color-accent-soft);border-color:#b8c4ce}.crm-catalog-chip:focus-visible,.crm-catalog-chip__tab:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.crm-catalog-chip--active{background:var(--color-accent-soft);color:var(--color-accent);border-color:#9bb0bb}.crm-catalog-chip--all{min-width:92px;color:var(--color-text);justify-content:center;padding-left:20px;padding-right:20px;font-weight:700}.crm-catalog-chip--all:hover,.crm-catalog-chip--all.crm-catalog-chip--active{color:var(--color-accent)}.crm-catalog-chip--with-check{cursor:default;padding:4px 10px 4px 8px}.crm-catalog-chip__check{cursor:pointer;justify-content:center;align-items:center;margin-right:6px;display:inline-flex}.crm-catalog-chip__check input{appearance:none;background:var(--color-bg);cursor:pointer;border:1px solid #9bb0bb;border-radius:3px;width:14px;height:14px;margin:0}.crm-catalog-chip__check input:checked{background:var(--color-accent);border-color:var(--color-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2 6.2 4.7 9 10 3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px 10px}.crm-catalog-chip__check input:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.crm-catalog-chip__tab{color:inherit;font:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:4px 4px 4px 0}.crm-catalog-chip--archived{color:#4b5563;background:#f5f5f5;border-color:#e5e7eb}.crm-catalog-chip--archived:hover{color:#4b5563;background:#eee;border-color:#d4d4d8}.crm-catalog-chip--archived.crm-catalog-chip--active{color:#4b5563;background:#f5f5f5;border-color:#9ca3af}.crm-catalog__table tbody tr.crm-catalog__row--archived,.crm-catalog__table tbody tr.crm-catalog__row--archived:hover{color:#4b5563;background:#f5f5f5}.crm-catalog__row--archived .crm-quote__name,.crm-catalog__row--archived .crm-quote__meta{color:#4b5563}.crm-catalog__layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.crm-catalog__categories h3{margin:0 0 10px;font-size:.9375rem}.crm-catalog__category-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-catalog__category{border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-bg);width:100%;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:8px 10px;display:flex}.crm-catalog__category:hover{border-color:var(--color-border)}.crm-catalog__category--active{border-color:var(--color-accent);background:var(--color-accent-soft)}.crm-catalog__row-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.crm-tasks__table .crm-catalog__row-actions{align-items:center;margin-top:0}.crm-tasks__table td{vertical-align:middle}.crm-catalog__icon-button{border:1px solid var(--color-border-light);border-radius:var(--radius-full);background:var(--color-surface);min-height:32px;color:var(--color-text);font:inherit;cursor:pointer;justify-content:center;align-items:center;padding:0 10px;font-size:.8125rem;line-height:1;display:inline-flex}.crm-catalog__icon-button:hover:not(:disabled){border-color:var(--color-border)}.crm-catalog__icon-button:disabled{opacity:.4;cursor:default}.crm-catalog__add-category{flex-direction:column;gap:10px;margin-top:16px;display:flex}.crm-catalog__add-category--inline{flex-flow:wrap;align-items:flex-end;margin-top:0;margin-bottom:18px}.crm-catalog__add-category--inline .auth-field{flex:220px}.crm-catalog__add-category--inline .auth-form__submit,.crm-catalog__add-category .auth-form__submit{margin-top:0}.crm-catalog__empty,.crm-quote__empty{color:var(--color-text-muted);margin:0;font-size:.9375rem;line-height:1.5}.crm-catalog__table{min-width:640px}.crm-catalog__history{margin-top:8px}.crm-catalog-form{flex-direction:column;gap:16px;display:flex}.crm-catalog-form .auth-form__submit{margin-top:4px}.crm-catalog-package-items{border:0;margin:0;padding:0}.crm-catalog-package-items__group{margin-bottom:14px}.crm-catalog-package-items__group h4{margin:0 0 8px;font-size:.875rem}.crm-catalog-package-items__group ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-catalog-package-items__group li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.crm-quote__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.crm-quote__toolbar-start,.crm-quote__toolbar-end{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.crm-quote__toolbar .auth-form__submit{margin-top:0}.crm-quote-picker{flex-direction:column;gap:16px;margin-top:8px;display:flex}.crm-quote-picker__group{flex-direction:column;gap:10px;display:flex}.crm-quote-picker__group-title{color:var(--color-text-muted);margin:0;font-size:.8125rem;font-weight:600}.crm-quote-picker__item{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-bg-soft);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px;padding:14px 16px;display:flex}.crm-quote-picker__body{flex:220px;min-width:0}.crm-quote-picker__name{font-weight:600}.crm-quote-picker__description{color:var(--color-text-muted);margin:6px 0 0;font-size:.875rem}.crm-quote-picker__price{margin-top:8px;font-weight:600}.crm-quote-picker__add{flex-shrink:0;margin-top:0}.crm-quote-picker__empty{color:var(--color-text-muted);margin:8px 0 0}.crm-quote-picker--rows{gap:8px}.crm-quote-picker__item--row{flex-wrap:nowrap;align-items:center;gap:12px;padding:8px 12px}.crm-quote-picker__item--row .crm-quote-picker__name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.crm-quote-picker__item--row .crm-quote-picker__price{font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-top:0}.crm-quote-picker__unit{color:var(--color-text-muted);margin-left:8px;font-weight:500}.crm-quote-picker__item--row .crm-quote-picker__add{min-height:36px;padding:0 14px}.service-request-modal .crm-catalog-filters{margin-bottom:16px}.crm-quote__table{min-width:560px}.crm-quote__done-col{text-align:center;vertical-align:middle;white-space:nowrap;width:44px;min-width:44px;padding-right:8px}.crm-quote__done-label{justify-content:center;gap:0}.crm-quote__row--done .crm-quote__name,.crm-quote__row--done .crm-quote__meta{color:var(--color-text-muted)}.crm-quote__name{font-weight:600}.crm-quote__meta{color:var(--color-text-muted);margin-top:4px;font-size:.8125rem}.crm-quote__number{width:84px;min-height:36px;padding:0 8px}.crm-quote__amount{width:120px}.crm-quote__remove{border:1px solid var(--color-border-light);background:var(--color-surface);width:36px;min-height:36px;color:var(--color-text-muted);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-quote__remove:hover{border-color:var(--color-border);background:var(--color-bg-muted);color:var(--color-text)}.crm-quote__remove:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.crm-quote__total{margin:12px 0 0;font-size:1.0625rem;font-weight:600}.crm-quote__total-row{margin-top:16px}.crm-quote__total-inline{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.crm-quote__total-field{flex:160px;max-width:220px}.crm-quote__total-field .auth-field__label{font-weight:600}.crm-quote__total-input{font-size:1.0625rem;font-weight:600}.crm-quote__total-action{flex-shrink:0;margin-top:0}.crm-quote__hint{color:var(--color-text-muted);margin:8px 0 0;font-size:.8125rem}.crm-quote-apply,.crm-quote-done-all{z-index:1350}.crm-quote-done-all .auth-card__lead{margin-bottom:24px}.crm-quote-done-all__actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.crm-quote-done-all__actions .auth-form__submit{margin-top:0}.crm-quote-apply__actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.crm-quote-apply__actions .auth-form__submit,.crm-quote-apply__actions .account-page__logout{margin-top:0}.crm-family-card-picker__toolbar{flex-wrap:wrap;align-items:flex-end;gap:16px 20px;margin-bottom:16px;display:flex}.crm-family-card-picker__all{margin:0 0 8px}.crm-family-card-picker__table{min-width:640px}.crm-client-picker__lead{margin-bottom:16px}.crm-client-picker__toolbar{flex-wrap:wrap;align-items:flex-end;gap:16px 20px;margin-bottom:12px;display:flex}.crm-client-picker__total{color:var(--color-text-muted);margin:0 0 12px;font-size:.8125rem}.crm-client-picker__table-wrap{max-height:min(52vh,420px);margin-bottom:16px;overflow:auto}.crm-client-picker__table{min-width:640px}.crm-clients__table{min-width:780px}.crm-clients__how-to{color:var(--color-text-muted);margin-top:4px;font-size:.75rem;line-height:1.35;display:block}.crm-clients__cards-badge{border:1px solid var(--color-border-light);min-height:28px;color:var(--color-text-muted);white-space:nowrap;background:#f7f8f9;border-radius:999px;align-items:center;padding:0 10px;font-size:.8125rem;display:inline-flex}.crm-clients__cards-badge--open{border-color:color-mix(in srgb, var(--color-accent) 18%, #eef3f7);color:var(--color-accent);background:#eef3f7}.crm-table-pagination{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 20px;margin-top:16px;display:flex}.crm-table-pagination__nav{flex:240px;min-width:0;padding-top:0}.crm-table-pagination__size{flex-direction:column;flex:none;gap:6px;display:flex}.crm-table-pagination__size-input{min-width:88px}.crm-catalog-import-export{flex-direction:column;gap:16px;max-width:40rem;display:flex}.crm-catalog-import-export__actions{flex-wrap:wrap;gap:12px;display:flex}.crm-catalog-import-export__note{color:var(--color-muted,#678);margin:0;font-size:.92rem;line-height:1.45}.crm-families-services .crm-quote__table{min-width:0}.crm-families-services>.crm-hint{margin-bottom:12px}.crm-families-services__to-task{border-radius:var(--radius-md,10px);color:#1e4b7a;min-height:42px;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d5dee8;align-items:center;gap:8px;margin:0;padding:0 14px;font-weight:600;display:inline-flex}.crm-families-services__to-task:hover:not(:disabled){background:#f3f7fb;border-color:#1e4b7a}.crm-families-services__to-task:disabled{opacity:.45;cursor:default}.crm-families-services__to-task-icon{color:currentColor;justify-content:center;align-items:center;line-height:0;display:inline-flex}.crm-families-services__to-task-icon svg{display:block}.crm-services-to-task{flex-direction:column;gap:12px;display:flex}.crm-services-to-task__lead{margin:0}.crm-services-to-task__block-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-services-to-task__block-head .crm-form-block__title{margin:0}.crm-services-to-task__list,.crm-services-to-task__targets,.crm-services-to-task__duplicates{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-services-to-task__row,.crm-services-to-task__target{cursor:pointer;align-items:flex-start;gap:10px;margin:0;display:flex}.crm-services-to-task__row input,.crm-services-to-task__target input{flex:none;margin-top:.2rem}.crm-services-to-task__name{flex:auto;min-width:0}.crm-services-to-task__badge{border-radius:var(--radius-full,999px);color:#4b5563;background:#fff;flex:none;padding:2px 8px;font-size:.75rem;font-weight:600;line-height:1.3}.crm-services-to-task__target-body{flex-direction:column;gap:2px;min-width:0;display:flex}.crm-services-to-task__target-title{font-weight:600}.crm-services-to-task__target-meta,.crm-services-to-task__empty,.crm-services-to-task__warning-lead{color:var(--color-text-muted,#64748b);margin:0;font-size:.9rem;line-height:1.4}.crm-services-to-task__duplicates li{justify-content:space-between;align-items:center;gap:10px;display:flex}.crm-services-to-task__warning{background:#fbf6ec;border:1px solid #e8d7b8}@keyframes crm-families-drawer-in{0%{opacity:.4;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (width<=900px){.crm-page__layout{grid-template-columns:1fr}.crm-sidebar,.crm-sidebar--collapsed{width:100%;padding:18px 16px;position:static}.crm-sidebar--collapsed{gap:0}.crm-sidebar--collapsed .crm-sidebar__brand{margin:-18px -16px 0;padding:18px 16px 16px 20px}.crm-sidebar--collapsed .crm-sidebar__brand-row{flex-direction:row}.crm-sidebar--collapsed .crm-sidebar__nav{display:none}.crm-sidebar--collapsed .crm-sidebar__link{justify-content:flex-start;padding:10px 12px}.crm-sidebar--collapsed .crm-sidebar__link-label,.crm-sidebar--collapsed .crm-sidebar__expand,.crm-sidebar--collapsed .crm-sidebar__sublist,.crm-sidebar--collapsed .crm-sidebar__divider{display:revert}.crm-sidebar--collapsed .crm-sidebar__expand{display:inline-flex}.crm-sidebar--collapsed .crm-sidebar__sublist{display:flex}.crm-sidebar--collapsed .crm-sidebar__divider{display:block}.crm-sidebar--collapsed .crm-sidebar__group-row{grid-template-columns:minmax(0,1fr) 34px}.crm-families__form-grid,.crm-families__form-grid--three,.crm-catalog__layout{grid-template-columns:1fr}.crm-families__col--optional{display:none}.crm-families__total{width:100%;margin-left:0;padding-bottom:0}.crm-families .admin-users__header,.crm-catalog .admin-users__header{flex-direction:column}}@media (width<=760px){.crm-families-drawer__panel{width:100%}.crm-families-memory__search{grid-template-columns:1fr}.crm-families-memory__page,.crm-families-drawer__task{flex-direction:column;align-items:flex-start}}.crm-clients__deals-actions{justify-content:flex-start;margin:0 0 14px;display:flex}.crm-clients__role-select{box-sizing:border-box;width:auto;min-width:8.5rem;height:32px;min-height:32px;padding-top:0;padding-bottom:0;font-size:.8125rem;line-height:1.2}.crm-clients__unlink,.crm-clients__card-item .account-page__logout{box-sizing:border-box;height:32px;min-height:32px;margin:0;padding:0 10px;font-size:.8125rem;line-height:1.2}.crm-clients__memory-note{color:var(--color-text-muted);margin:8px 0 0;font-size:.8125rem}.crm-clients__card-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.crm-clients__card-section-head .crm-hint{flex:1;min-width:0;margin-bottom:0}.crm-clients__card-section-head h3{margin:0}.crm-clients__link-button{margin-top:0;padding:8px 14px;font-size:.875rem}.crm-clients__card-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.crm-clients__card-item{border:1px solid var(--color-border-light);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.crm-clients__card-item-main{text-align:left;min-width:0;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;flex-direction:column;gap:2px;margin:0;padding:0;display:flex}.crm-clients__card-item-main:hover strong{text-decoration:underline}.crm-clients__card-item-main:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px;border-radius:4px}.crm-clients__card-item-main strong{font-weight:600}.crm-clients__card-item-main span{color:var(--color-text-muted);font-size:.8125rem}@media (width<=900px){.crm-clients__card-item{grid-template-columns:1fr}}.crm-clients__match{border:1px solid color-mix(in srgb, var(--color-accent) 18%, #eef3f7);background:#eef3f7;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;display:flex}.crm-clients__match p{color:var(--color-accent);flex:12rem;margin:0;font-size:.875rem;line-height:1.45}.crm-clients__match--linked{border-color:var(--color-border-light);background:#f7f8f9}.crm-clients__match--linked p{color:var(--color-text-muted)}.crm-clients__match .auth-form__submit{flex:none;width:auto;min-height:36px;padding:0 14px}.crm-tasks__drawer-lead{margin:0 0 14px}.crm-tasks__subtasks{flex-direction:column;gap:12px;display:flex}.crm-tasks__subtasks-lead{color:var(--color-text-muted,#64748b);margin:0;font-size:.92rem;line-height:1.45}.crm-tasks__subtasks-empty{color:var(--color-text-muted,#64748b);margin:0;font-size:.92rem}.crm-tasks__subtasks-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-tasks__subtask-row{grid-template-columns:1.25rem minmax(0,1fr) 2rem;align-items:center;gap:10px;display:grid}.crm-tasks__subtask-row--done .crm-tasks__subtask-input{color:var(--color-text-muted,#64748b);text-decoration:line-through}.crm-tasks__subtask-check{cursor:pointer;justify-content:center;align-items:center;margin:0;display:inline-flex}.crm-tasks__subtask-check input{width:1rem;height:1rem;accent-color:var(--color-accent,#1e4b7a);margin:0}.crm-tasks__subtask-input{min-width:0}.crm-tasks__subtask-remove{width:2rem;height:2rem;color:var(--color-text-muted,#64748b);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;font-size:1.15rem;line-height:1;display:inline-flex}.crm-tasks__subtask-remove:hover{color:#0f172a;background:#fff}.crm-tasks__subtask-add{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.crm-tasks__subtask-add-button{white-space:nowrap;min-height:42px}.crm-tasks__subtask-add-button:disabled{opacity:.5;cursor:default}.crm-tasks__subtasks .crm-form-block{margin-bottom:0}.crm-tasks__form .crm-form-block{margin-bottom:12px}.crm-tasks__form .crm-form-block:last-child{margin-bottom:0}.crm-tasks__form .crm-families-drawer__footer{justify-content:flex-end;gap:10px}.crm-tasks__form .crm-families-drawer__footer .crm-clients__drawer-footer-start{margin-right:auto}.crm-tasks__form .crm-families-drawer__footer .auth-form__submit{width:auto;min-width:9rem}.crm-tasks__form .crm-families-drawer__footer .account-page__logout{width:auto}.crm-tasks-drawer__panel{width:min(100%,980px);box-shadow:-14px 0 32px #0f172a29}.crm-cemetery-drawer__panel,.crm-ceremony-place-drawer__panel{width:min(100%,720px);box-shadow:-14px 0 32px #0f172a29}.crm-contracts-drawer__panel{width:min(100%,1080px);box-shadow:-14px 0 32px #0f172a29}.crm-contracts-drawer__form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.crm-contracts-drawer__body{flex-direction:column;flex:1;justify-content:flex-start;align-items:stretch;gap:14px;min-height:0;padding:16px 22px 20px;display:flex;overflow:auto}.crm-contracts-drawer__body>.auth-form__error{margin:0}.crm-contracts-drawer__body>.crm-families-drawer__section--panel{margin-bottom:0}.crm-contracts-drawer__editor-block .crm-contract-editor__content .tiptap{min-height:320px;max-height:min(52vh,560px)}.crm-contracts-drawer__footer{justify-content:flex-end}.crm-contracts-drawer__footer .auth-form__submit{width:auto;min-width:9rem}.crm-lists-contracts__source{border:0;min-width:0;margin:0;padding:0}.crm-lists-contracts__source-options{flex-wrap:wrap;gap:10px;display:flex}.crm-lists-contracts__source-option{border:1px solid var(--color-border-light);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;align-items:center;gap:8px;margin:0;padding:10px 14px;display:inline-flex}.crm-lists-contracts__source-option:has(input:checked){background:#eef4f8;border-color:#9bb4c4}.crm-lists-contracts__source-option--disabled{opacity:.72;cursor:not-allowed}.crm-lists-contracts__source-option--disabled:has(input:checked){border-color:var(--color-border-light);background:var(--color-surface-muted,#f6f7f8)}.crm-lists-contracts__source-badge{color:var(--color-text-muted,#6b7280);font-size:.78rem}.crm-lists-contracts__body-hint--muted{color:var(--color-text-muted,#6b7280)}.crm-contract-editor--readonly .crm-contract-editor__content{background:var(--color-surface-muted,#f6f7f8);cursor:default}.crm-clients__archived-badge{border:1px solid var(--color-border-light);color:var(--color-text-muted);background:#f7f8f9;border-radius:999px;margin-top:4px;margin-left:0;padding:2px 8px;font-size:.6875rem;display:inline-block}.crm-clients__drawer-footer-start{flex-wrap:wrap;flex:auto;align-items:center;gap:10px 14px;min-width:0;display:flex}.crm-clients__archive-error{margin:0;font-size:.8125rem}.crm-user-permissions-drawer__panel{width:min(820px,100%)}.crm-user-permissions-drawer__body{flex-direction:column;gap:14px;display:flex}.crm-user-permissions-drawer__admin-note{border-radius:var(--radius-sm,8px);color:#1e3a8a;background:#eff6ff;margin:0;padding:12px 14px;font-size:.9375rem;line-height:1.45}.crm-user-permissions-drawer__crm-access{border:1px solid var(--color-border-light,#e2e8f0);border-radius:var(--radius-sm,8px);color:var(--color-text,#0f172a);background:#f8fafc;align-items:flex-start;gap:12px;padding:12px 14px;font-size:.9375rem}.crm-user-permissions-drawer__crm-access--off{background:#fff7ed;border-color:#fdba74}.crm-user-permissions-drawer__crm-access span{flex-direction:column;gap:4px;display:flex}.crm-user-permissions-drawer__hint{color:var(--color-text-muted,#64748b);font-size:.8125rem;font-weight:400;line-height:1.35;display:block}.crm-user-permissions-drawer__table-wrap{border:1px solid var(--color-border-light,#e2e8f0);border-radius:10px;overflow:auto}.crm-user-permissions-drawer__table{border-collapse:collapse;table-layout:fixed;width:100%}.crm-user-permissions-drawer__table th{border-bottom:1px solid var(--color-border-light,#e2e8f0);color:var(--color-text-muted,#64748b);letter-spacing:.04em;text-align:left;text-transform:uppercase;background:#f8fafc;padding:10px 14px;font-size:.75rem;font-weight:700}.crm-user-permissions-drawer__table td{vertical-align:middle;border-top:1px solid var(--color-border-light,#e2e8f0);width:50%;padding:4px 8px}.crm-user-permissions-drawer__table tbody tr:first-child td{border-top:0}.crm-user-permissions-drawer__extra-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.crm-user-permissions-drawer__item{color:var(--color-text,#0f172a);border-radius:8px;align-items:flex-start;gap:10px;padding:8px 10px}.crm-user-permissions-drawer__item span{flex-direction:column;gap:2px;display:flex}.crm-user-permissions-drawer__item--disabled{opacity:.55;cursor:default}.crm-user-permissions-drawer__actions,.crm-user-permissions-drawer__actions .auth-form__submit{margin-top:0}.crm-families-drawer__files{flex-direction:column;flex:1;gap:14px;min-height:0;padding:16px 22px 20px;display:flex;overflow:auto}.crm-families-drawer__files-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.crm-families-drawer__files .crm-hint{margin-bottom:0}.crm-families-drawer__files-block{margin:0}.crm-families-drawer__files-block .crm-form-block__title{flex:auto;margin:0}.crm-families-drawer__files-lead{color:var(--color-text-muted,#64748b);flex:12rem;margin:0;font-size:.875rem;line-height:1.45}.crm-families-drawer__files-upload{width:auto;min-width:8rem;margin:0}.crm-families-drawer__files-input{display:none}.crm-families-drawer__files-empty{margin:0;padding:20px 16px}.crm-families-drawer__files-empty-text{color:var(--color-text-muted,#64748b);margin:0;font-size:.9375rem;line-height:1.45}.crm-families-drawer__files-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.crm-families-drawer__files-item{border:1px solid var(--color-border-light,#e2e8f0);background:#f8fafc;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.crm-families-drawer__files-main{flex:12rem;min-width:0}.crm-families-drawer__files-name{word-break:break-word;margin:0;font-weight:600}.crm-families-drawer__files-meta{color:var(--color-text-muted,#64748b);margin:4px 0 0;font-size:.8125rem}.crm-families-drawer__files-actions{flex-wrap:wrap;gap:6px;display:flex}.crm-families-drawer__files-show-tasks{margin-top:10px;font-size:.8125rem}.crm-tasks__files{flex:none;justify-content:flex-start;align-self:stretch;gap:12px;width:100%;padding:0;overflow:visible}.crm-tasks__files-block{width:100%;margin-top:0}.crm-tasks__files-block .crm-form-block__title{flex:auto;margin:0}.crm-tasks__files-block .crm-families-drawer__files-toolbar{width:100%}.crm-tasks__files-family{color:var(--color-text-muted,#64748b);margin:0 0 12px;font-size:.875rem}button.crm-tasks__files-family{color:var(--color-link,#1e4b7a);font:inherit;text-align:left;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-size:.875rem;text-decoration:underline;display:inline}button.crm-tasks__files-family:hover{color:var(--color-text,#123947)}.memory-words-modal{z-index:1200;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}.memory-words-modal__backdrop{cursor:pointer;background:#0f172a85;border:0;position:absolute;inset:0}.memory-words-modal__panel{z-index:1;width:min(100%,520px);max-height:calc(100vh - 48px);margin:0;position:relative;overflow:auto}.memory-words-modal__close{border-radius:var(--radius-full);width:36px;height:36px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;font-size:1.5rem;line-height:1;display:inline-flex;position:absolute;top:14px;right:14px}.memory-words-modal__close:hover{background:var(--color-bg-muted);color:var(--color-text)}.memory-words-modal__panel.memory-page-upgrade-modal__panel.auth-card{width:min(100%,640px)}.memory-page-upgrade-modal__steps{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px;display:grid}.memory-page-upgrade-modal__step{border:1px solid var(--color-border-light);border-radius:var(--radius-full);min-height:40px;color:var(--color-text-muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:.875rem;display:inline-flex}.memory-page-upgrade-modal__step:disabled{opacity:.45;cursor:not-allowed}.memory-page-upgrade-modal__step--current{border-color:var(--color-accent);color:var(--color-text);background:var(--color-bg-muted)}.memory-page-upgrade-modal__step-index{border-radius:var(--radius-full);background:var(--color-border-light);justify-content:center;align-items:center;width:22px;height:22px;font-size:.75rem;font-weight:600;display:inline-flex}.memory-page-upgrade-modal__step--current .memory-page-upgrade-modal__step-index{background:var(--color-accent);color:#fff}.memory-page-upgrade-modal__plans,.memory-page-upgrade-modal__pay{gap:10px;margin:0 0 18px;display:grid}.memory-page-upgrade-modal__plan{border:1px solid var(--color-border-light);border-radius:var(--radius-md);cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:14px 14px 14px 12px;display:grid}.memory-page-upgrade-modal__plan--selected{border-color:var(--color-accent);box-shadow:var(--shadow-sm)}.memory-page-upgrade-modal__plan--disabled{cursor:not-allowed;opacity:.58}.memory-page-upgrade-modal__plan--disabled.memory-page-upgrade-modal__plan--selected{border-color:var(--color-border-light);box-shadow:none}.memory-page-upgrade-modal__radio{margin-top:4px}.memory-page-upgrade-modal__plan-main{gap:4px;min-width:0;display:grid}.memory-page-upgrade-modal__plan-title{font-size:1rem;font-weight:600;display:block}.memory-page-upgrade-modal__plan-price{font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:600;display:block}.memory-page-upgrade-modal__plan-once{color:var(--color-text-muted);margin-left:6px;font-size:.75rem;font-weight:400}.memory-page-upgrade-modal__plan-desc{color:var(--color-text-muted);font-size:.8125rem;line-height:1.4;display:block}.memory-page-upgrade-modal__plan-spec{color:var(--color-text-muted);flex-wrap:wrap;gap:6px;margin-top:6px;font-size:.75rem;display:flex}.memory-page-upgrade-modal__plan-spec span{border-radius:var(--radius-full);background:var(--color-bg-muted);align-items:center;padding:3px 8px;display:inline-flex}.memory-page-upgrade-modal__chosen{color:var(--color-text);margin:0;font-size:.875rem}.memory-page-upgrade-modal__notice{color:#7a4b16;margin:0;font-size:.8125rem;line-height:1.45}.memory-page-upgrade-modal__actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-page-upgrade-modal__actions .auth-form__submit{width:auto;min-width:140px;margin:0}.memory-page-upgrade-modal__back{min-height:40px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;padding:0 14px;font-size:.875rem}.memory-page-upgrade-modal__back:hover{color:var(--color-text)}
