/* Код Души 2.1.4 — личный кабинет в стиле мистической рукописи */

.kd-account-shell{
  --kd-night:#0A0D18;
  --kd-section:#111625;
  --kd-card:#161C2D;
  --kd-ivory:#E9E1D2;
  --kd-text:#D5CCBD;
  --kd-muted:#A99C88;
  --kd-gold:#B99755;
  --kd-gold-light:#D8BA7A;
  --kd-bronze:#7C6338;
  --kd-warm:#6E552E;
  position:relative;
  isolation:isolate;
  width:min(1260px,calc(100% - 30px));
  margin:32px auto 56px;
  padding:26px;
  overflow:hidden;
  color:var(--kd-ivory);
  border:1px solid rgba(124,99,56,.52);
  border-radius:30px;
  background:
    url("../images/account-stars.svg") center top/cover no-repeat,
    radial-gradient(circle at 18% 10%,rgba(185,151,85,.08),transparent 22%),
    linear-gradient(180deg,#0A0D18 0%,#0D1220 48%,#111625 100%);
  box-shadow:0 38px 100px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.025),inset 0 0 80px rgba(110,85,46,.05);
  font-family:"Manrope",Arial,sans-serif;
}
.kd-account-shell::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url("../images/account-grain.svg") repeat;
  opacity:.18;mix-blend-mode:soft-light;
}
.kd-account-shell::after{
  content:"";position:absolute;inset:12px;z-index:-1;pointer-events:none;
  border:1px solid rgba(124,99,56,.22);border-radius:22px;
}
body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{
  background:linear-gradient(180deg,#0A0D18 0%,#070A13 100%)!important;
}
body:has(.kd-account-shell) .entry-header,body:has(.kd-account-shell) .wp-block-post-title{display:none!important}
.kd-account-shell *{box-sizing:border-box}
.kd-account-shell a{text-decoration:none!important}
.kd-account-shell h2,.kd-account-shell h3,.kd-account-shell h4{font-family:"Cormorant",Georgia,serif;font-weight:600}
.kd-account-shell p{margin:0;color:var(--kd-text)}

.kd-cabinet-topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:3px 8px 20px;border-bottom:1px solid rgba(124,99,56,.34)}
.kd-cabinet-brand{display:flex;align-items:center;gap:12px;color:var(--kd-ivory)!important}
.kd-cabinet-brand img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(0,0,0,.36))}
.kd-cabinet-brand span{display:flex;flex-direction:column}
.kd-cabinet-brand strong{font:600 28px/1 "Cormorant",Georgia,serif;color:var(--kd-gold-light)}
.kd-cabinet-brand small{margin-top:5px;color:#C8BBA3;font-size:11px;letter-spacing:.06em}
.kd-cabinet-mainnav{display:flex;justify-content:center;gap:26px;flex-wrap:wrap}
.kd-cabinet-mainnav a{position:relative;color:#CDBD9D!important;font:600 14px "Manrope",Arial,sans-serif;padding:10px 0}
.kd-cabinet-mainnav a::after{content:"";position:absolute;left:50%;right:50%;bottom:2px;height:1px;background:var(--kd-gold);transition:.2s ease}
.kd-cabinet-mainnav a:hover,.kd-cabinet-mainnav a.is-active{color:var(--kd-gold-light)!important}
.kd-cabinet-mainnav a:hover::after,.kd-cabinet-mainnav a.is-active::after{left:0;right:0}

.kd-antique-panel,.kd-account-section,.kd-summary-card,.kd-tool-card,.kd-history-row,.kd-brand-logo-row,.kd-account-card{
  position:relative;overflow:hidden;
  background:
    url("../images/account-grain.svg") repeat,
    linear-gradient(145deg,rgba(22,28,45,.99),rgba(17,22,37,.99));
  border:0;
  box-shadow:0 20px 42px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025),inset 0 0 34px rgba(185,151,85,.025);
}
.kd-antique-panel::after,.kd-account-section::after,.kd-summary-card::after,.kd-tool-card::after,.kd-history-row::after,.kd-brand-logo-row::after,.kd-account-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;background:url("../images/account-manuscript-frame.svg") center/100% 100% no-repeat;opacity:.82
}
.kd-summary-card::after,.kd-tool-card::after,.kd-history-row::after,.kd-brand-logo-row::after,.kd-account-card::after{background-image:url("../images/account-card-frame.svg");opacity:.75}

.kd-account-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;padding:38px 42px;margin-top:22px;border-radius:26px;min-height:300px}
.kd-account-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:url("../images/account-stars.svg") center/cover no-repeat;opacity:.34}
.kd-account-hero-main{position:relative;z-index:1;display:flex;align-items:center;gap:30px}
.kd-hero-medallion{display:flex;align-items:center;justify-content:center;flex:0 0 190px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(185,151,85,.16),rgba(13,18,31,.98) 64%);border:1px solid rgba(185,151,85,.68);box-shadow:0 0 0 10px rgba(185,151,85,.025),0 0 0 11px rgba(124,99,56,.26),0 20px 36px rgba(0,0,0,.35)}
.kd-account-hero-copy{position:relative;z-index:1;min-width:0}
.kd-account-kicker,.kd-history-type,.kd-tool-card small,.kd-summary-card small{color:var(--kd-gold-light);font-size:10px;font-weight:850;letter-spacing:.17em;text-transform:uppercase}
.kd-account-hero h2{margin:8px 0 14px;color:var(--kd-ivory);font-size:clamp(38px,4.4vw,62px);line-height:.95;letter-spacing:-.035em;text-shadow:0 3px 18px rgba(0,0,0,.42)}
.kd-account-hero-copy>p{max-width:630px;font-size:15px;line-height:1.7}
.kd-hero-facts{display:flex;gap:24px;flex-wrap:wrap;margin-top:24px}
.kd-hero-facts>span{display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;column-gap:10px;align-items:center}
.kd-hero-facts b{color:#C6A86C;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.kd-hero-facts em{color:var(--kd-ivory);font-style:normal;font:600 15px "Cormorant",Georgia,serif}
.kd-fact-icon{grid-row:1/3;width:34px;height:34px;border:1px solid rgba(124,99,56,.56);border-radius:50%;background:radial-gradient(circle,rgba(185,151,85,.16),rgba(17,22,37,.96))}
.kd-fact-calendar::before,.kd-fact-status::before,.kd-fact-access::before{display:flex;align-items:center;justify-content:center;height:100%;color:var(--kd-gold-light);font-size:16px}
.kd-fact-calendar::before{content:"✦"}.kd-fact-status::before{content:"☉"}.kd-fact-access::before{content:"✧"}
.kd-account-hero-actions{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;gap:14px;min-width:220px}

.kd-account-button{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 21px;border:1px solid rgba(124,99,56,.68);border-radius:14px;color:#21160A!important;background:linear-gradient(180deg,#E0C582 0%,#C8A45E 54%,#A97E3F 100%);box-shadow:0 12px 26px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.38),inset 0 -1px 0 rgba(64,42,14,.30);font-family:"Manrope",Arial,sans-serif;font-weight:800;transition:.18s ease;cursor:pointer}
.kd-account-button:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 15px 30px rgba(0,0,0,.28),0 0 20px rgba(185,151,85,.12),inset 0 1px 0 rgba(255,255,255,.42)}
.kd-account-button-secondary,.kd-account-button-muted{color:#E9E1D2!important;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent),#111625;border-color:rgba(185,151,85,.56)}
.kd-account-button-small{min-height:40px;padding:8px 16px;border-radius:999px;font-size:12px;white-space:nowrap}
.kd-cabinet-exit{min-height:40px;padding-inline:18px;border-radius:999px}

.kd-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.kd-summary-card{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;min-height:130px;padding:20px 22px;border-radius:21px}
.kd-summary-card>div{position:relative;z-index:2}
.kd-summary-card strong{display:block;margin:4px 0;color:var(--kd-ivory);font:600 32px "Cormorant",Georgia,serif}
.kd-summary-card p{font-size:12px;color:#B8AA92}

.kd-icon{position:relative;z-index:2;display:block;width:68px;height:68px;flex:0 0 68px;background:center/contain no-repeat;filter:drop-shadow(0 8px 14px rgba(0,0,0,.28))}
.kd-icon-total{background-image:url("../images/icon-total.svg")}.kd-icon-individual{background-image:url("../images/icon-individual.svg")}.kd-icon-child{background-image:url("../images/icon-child.svg")}.kd-icon-compatibility{background-image:url("../images/icon-compatibility.svg")}.kd-icon-archive{background-image:url("../images/icon-archive.svg")}.kd-icon-brand{background-image:url("../images/icon-brand.svg")}.kd-icon-profile{background-image:url("../images/icon-profile.svg")}
.kd-hero-medallion .kd-icon{width:140px;height:140px}

.kd-account-section{padding:30px 32px;margin-top:18px;border-radius:26px}
.kd-section-title-row{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.kd-account-section h3{margin:5px 0 5px;color:var(--kd-ivory);font-size:clamp(30px,3vw,40px);line-height:1.04}
.kd-account-section p{line-height:1.6}
.kd-section-link{color:var(--kd-gold-light)!important;font:600 14px "Manrope",Arial,sans-serif;white-space:nowrap}
.kd-section-link::after{content:" →"}
.kd-account-section-count{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border:1px solid rgba(185,151,85,.56);border-radius:50%;color:var(--kd-gold-light);background:radial-gradient(circle,rgba(185,151,85,.14),#111625 70%);font:600 20px "Cormorant",Georgia,serif}

.kd-tool-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kd-tool-card{display:grid;grid-template-columns:72px minmax(0,1fr) 18px;align-items:center;gap:14px;min-height:170px;padding:22px 20px;border-radius:21px;color:inherit!important;transition:.2s ease}
.kd-tool-card>div{position:relative;z-index:2}
.kd-tool-card h4{margin:5px 0 7px;color:var(--kd-ivory);font-size:20px;line-height:1.1}
.kd-tool-card p{font-size:12px;line-height:1.55;color:#C6BBAA}
.kd-tool-card.is-open:hover{transform:translateY(-3px);box-shadow:0 24px 42px rgba(0,0,0,.34),0 0 18px rgba(185,151,85,.07),inset 0 1px 0 rgba(255,255,255,.03)}
.kd-tool-card.is-locked{opacity:.58;filter:saturate(.65)}
.kd-tool-arrow{position:relative;z-index:2;color:var(--kd-gold-light);font:300 34px "Cormorant",Georgia,serif}
.kd-tool-state{position:absolute;z-index:2;right:18px;top:15px;color:#A99C88;font-size:8px;letter-spacing:.12em;text-transform:uppercase}
.kd-tool-individual{background-color:#161C2D}.kd-tool-child{background-color:#171A2E}.kd-tool-compatibility{background-color:#1A1728}.kd-tool-archive{background-color:#151A28}

.kd-history-list{position:relative;z-index:2;display:grid;gap:12px}
.kd-history-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:98px;padding:14px 18px;border-radius:20px}
.kd-history-copy{position:relative;z-index:2;min-width:0}
.kd-history-row h4{margin:5px 0 3px;color:var(--kd-ivory);font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kd-history-row time{color:#AFA28D;font-size:11px}
.kd-history-individual{background-color:#161C2D}.kd-history-child{background-color:#171A2E}.kd-history-compatibility{background-color:#1A1728}

.kd-brand-intro{position:relative;z-index:2;display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:20px;margin-bottom:22px}
.kd-brand-intro .kd-icon{width:84px;height:84px}
.kd-brand-state{display:inline-flex;padding:9px 13px;border:1px solid rgba(124,99,56,.48);border-radius:999px;color:#D4C29E;background:#151A28;font-size:9px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;white-space:nowrap}
.kd-brand-state.is-ready{color:#E3CA91;border-color:rgba(185,151,85,.58)}
.kd-brand-form{position:relative;z-index:2}
.kd-brand-logo-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:center;padding:22px;border-radius:22px;margin-bottom:20px}
.kd-brand-logo-preview{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px;padding:18px;border:1px solid rgba(124,99,56,.38);border-radius:22px;background:radial-gradient(circle,rgba(185,151,85,.10),transparent 54%),#111625}
.kd-brand-logo-preview img{max-width:185px;max-height:150px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.32))}
.kd-brand-logo-preview small{color:#AFA28D}
.kd-brand-logo-copy{position:relative;z-index:2}
.kd-brand-logo-copy h4{margin:6px 0;color:var(--kd-ivory);font-size:28px}
.kd-brand-file-label{display:inline-flex;flex-direction:column;gap:8px;margin-top:14px;padding:11px 13px;border:1px solid rgba(124,99,56,.42);border-radius:12px;color:#E9E1D2;background:#111625;font-weight:700}
.kd-brand-help{margin-top:8px!important;color:#AFA28D!important;font-size:12px!important}
.kd-brand-checkbox{display:flex;gap:8px;align-items:center;margin-top:10px;color:#D5CCBD}
.kd-brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}
.kd-brand-grid label{color:#D9CFBF;font-size:12px;font-weight:700}
.kd-brand-grid input,.kd-account-card input[type=text],.kd-account-card input[type=password],.kd-account-card input[type=email],.kd-account-card input[type=url]{width:100%;margin-top:7px;padding:13px 14px;border:1px solid rgba(124,99,56,.42);border-radius:12px;color:#E9E1D2;background:#0F1422;box-shadow:inset 0 2px 8px rgba(0,0,0,.26)}
.kd-brand-grid input:focus,.kd-account-card input:focus{outline:none;border-color:rgba(185,151,85,.78);box-shadow:0 0 0 3px rgba(185,151,85,.09),inset 0 2px 8px rgba(0,0,0,.26)}

.kd-account-profile-row{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:18px}
.kd-account-profile-row .kd-icon{width:72px;height:72px}
.kd-account-profile-row>div{position:relative;z-index:2}

.kd-account-notice,.kd-account-empty{position:relative;z-index:2;margin-top:14px;padding:15px 18px;border:1px solid rgba(124,99,56,.34);border-radius:14px;color:#DDD3C3;background:#151A28}
.kd-account-error{border-color:rgba(155,80,89,.55);background:#27161E}

.kd-account-login{max-width:980px}
.kd-account-heading{display:flex;align-items:center;gap:22px;padding:10px 8px 24px;border-bottom:1px solid rgba(124,99,56,.34)}
.kd-account-heading .kd-account-symbol{width:96px;height:96px;background:url("../images/brand-logo-gold.png") center/contain no-repeat}
.kd-account-heading h2{margin:5px 0;color:var(--kd-ivory);font-size:38px}
.kd-account-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.kd-account-card{padding:25px;border-radius:22px}
.kd-account-card>*{position:relative;z-index:2}
.kd-account-card h3{margin:0 0 8px;color:var(--kd-ivory);font-size:28px}
.kd-account-card label{display:block;margin-bottom:6px;color:#D9CFBF}
.kd-account-links a{color:var(--kd-gold-light)!important}
.kd-account-register-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}

.kd-saved-shell{max-width:1300px}
.kd-saved-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:4px 4px 22px;margin-bottom:20px;border-bottom:1px solid rgba(124,99,56,.32)}
.kd-saved-toolbar h2{margin:5px 0;color:var(--kd-ivory);font-size:clamp(30px,3vw,43px)}
.kd-print-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.kd-saved-result{position:relative;z-index:2;min-height:150px}

@media(max-width:1050px){
  .kd-cabinet-topbar{grid-template-columns:1fr auto}.kd-cabinet-mainnav{grid-column:1/-1;grid-row:2}.kd-summary-grid,.kd-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kd-account-hero{grid-template-columns:1fr}.kd-account-hero-actions{flex-direction:row;justify-content:flex-start}.kd-brand-logo-row{grid-template-columns:1fr}.kd-history-row{grid-template-columns:68px minmax(0,1fr)}.kd-history-row .kd-account-button{grid-column:1/-1;width:100%}
}
@media(max-width:720px){
  .kd-account-shell{width:calc(100% - 16px);padding:15px;margin:14px auto 32px;border-radius:22px}.kd-cabinet-topbar{grid-template-columns:1fr}.kd-cabinet-mainnav{justify-content:flex-start;gap:14px}.kd-cabinet-exit{position:absolute;right:20px;top:25px}.kd-account-hero{padding:26px 22px}.kd-account-hero-main{flex-direction:column;align-items:flex-start}.kd-hero-medallion{width:132px;height:132px;flex-basis:132px}.kd-hero-medallion .kd-icon{width:100px;height:100px}.kd-account-hero h2{font-size:40px}.kd-account-hero-actions{flex-direction:column}.kd-account-hero-actions .kd-account-button{width:100%}.kd-summary-grid,.kd-tool-grid,.kd-brand-grid,.kd-account-login-grid{grid-template-columns:1fr}.kd-section-title-row,.kd-brand-intro,.kd-account-profile-row,.kd-saved-toolbar{display:flex;flex-direction:column;align-items:flex-start}.kd-brand-intro .kd-brand-state{align-self:flex-start}.kd-account-section{padding:24px 20px}.kd-tool-card{grid-template-columns:62px minmax(0,1fr) 16px}.kd-history-row{grid-template-columns:58px minmax(0,1fr)}.kd-history-row h4{white-space:normal}.kd-print-actions{justify-content:flex-start}.kd-print-actions .kd-account-button{width:100%}
}
@media print{
  body,body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background:#fff!important}.kd-account-shell{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.kd-account-shell::before,.kd-account-shell::after,.kd-cabinet-topbar,.kd-saved-toolbar,.kd-print-actions,.site-header,.site-footer,header,footer,.wp-block-post-title,.entry-title{display:none!important}.kd-saved-result{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;color:#111!important}
}


/* 2.1.3 — облегчённые полупрозрачные карточки и более читабельная сетка */

.kd-account-shell{
  background:
    radial-gradient(circle at 50% 0%, rgba(185,151,85,.08), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(185,151,85,.06), transparent 18%),
    linear-gradient(180deg, #0A0D18 0%, #0C1221 45%, #101625 100%);
}
.kd-account-shell::before{opacity:.12}
.kd-antique-panel,
.kd-account-section{
  background:
    linear-gradient(180deg, rgba(12,17,31,.58), rgba(12,17,31,.42)),
    radial-gradient(circle at top, rgba(185,151,85,.05), transparent 34%);
  border:1px solid rgba(124,99,56,.34);
  backdrop-filter: blur(3px) saturate(108%);
  box-shadow: 0 22px 46px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.02), inset 0 0 40px rgba(185,151,85,.03);
}
.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card{
  background:
    linear-gradient(180deg, rgba(19,26,43,.28), rgba(12,18,31,.14)),
    radial-gradient(circle at top left, rgba(185,151,85,.045), transparent 40%);
  border:1px solid rgba(124,99,56,.26);
  backdrop-filter: blur(2px) saturate(108%);
  box-shadow: 0 14px 30px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.018), inset 0 0 22px rgba(185,151,85,.018);
}
.kd-summary-card::after,
.kd-tool-card::after,
.kd-history-row::after,
.kd-brand-logo-row::after,
.kd-account-card::after{opacity:.52}
.kd-antique-panel::after,.kd-account-section::after{opacity:.64}
.kd-summary-card{min-height:118px;grid-template-columns:72px minmax(0,1fr)}
.kd-summary-card strong{font-size:26px}
.kd-summary-card p{font-size:11px}
.kd-tool-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:stretch}
.kd-tool-card{
  grid-template-columns:58px minmax(0,1fr) 14px;
  gap:12px;
  min-height:150px;
  padding:20px 18px;
  align-content:start;
}
.kd-tool-card h4{
  font-size:16px;
  line-height:1.18;
  margin:4px 0 6px;
  letter-spacing:0;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}
.kd-tool-card p{font-size:12px;line-height:1.45;max-width:26ch}
.kd-tool-card small{font-size:9px;line-height:1.2}
.kd-tool-card .kd-icon{width:48px;height:48px;flex-basis:48px;align-self:flex-start;margin-top:6px}
.kd-tool-arrow{font-size:28px;align-self:center}
.kd-tool-state{right:16px;top:13px;font-size:8px}
.kd-history-row{
  grid-template-columns:58px minmax(0,1fr) auto;
  min-height:86px;
  padding:14px 18px;
}
.kd-history-row .kd-icon{width:46px;height:46px;flex-basis:46px}
.kd-history-row h4{font-size:18px;white-space:normal;line-height:1.18}
.kd-brand-logo-preview{background:linear-gradient(180deg, rgba(17,22,37,.32), rgba(10,13,24,.18));}
.kd-account-section h3{font-size:clamp(28px,2.8vw,38px)}
.kd-account-hero{min-height:270px;padding:34px 38px}
.kd-account-hero-copy>p{max-width:560px}
.kd-hero-medallion{width:160px;height:160px;flex-basis:160px;background:radial-gradient(circle,rgba(185,151,85,.12),rgba(13,18,31,.75) 62%)}
.kd-hero-medallion .kd-icon{width:116px;height:116px}
.kd-account-hero h2{font-size:clamp(34px,4vw,56px)}
.kd-cabinet-mainnav a{font-size:13px}
.kd-account-section p,.kd-history-row time,.kd-account-kicker{position:relative;z-index:2}
@media(max-width:1180px){
  .kd-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .kd-tool-grid{grid-template-columns:1fr}
  .kd-tool-card p{max-width:none}
  .kd-summary-grid{grid-template-columns:1fr 1fr}
}


/* 2.1.3 — один декоративный слой, без наложения рамок и просвечивающих панелей */
.kd-account-shell{
  background:
    radial-gradient(circle at 50% 0%, rgba(185,151,85,.075), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(110,85,46,.055), transparent 18%),
    linear-gradient(180deg,#0A0D18 0%,#0D1220 48%,#111625 100%);
  box-shadow:0 34px 90px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.02),inset 0 0 64px rgba(110,85,46,.035);
}
.kd-account-shell::before{
  background:
    url("../images/account-corner-ornament.svg") left 14px top 12px/220px auto no-repeat,
    url("../images/account-corner-ornament.svg") right 14px bottom 14px/220px auto no-repeat,
    url("../images/account-grain.svg") repeat;
  opacity:.10;
  mix-blend-mode:normal;
}
.kd-account-shell::after{border-color:rgba(124,99,56,.24)}

.kd-antique-panel,
.kd-account-section{
  background:
    radial-gradient(circle at 84% 10%,rgba(185,151,85,.04),transparent 18%),
    linear-gradient(145deg,rgba(17,22,37,.94),rgba(12,18,31,.96));
  border:1px solid rgba(124,99,56,.34);
  backdrop-filter:none;
  box-shadow:0 20px 42px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.02),inset 0 0 28px rgba(185,151,85,.018);
}
.kd-antique-panel::after,
.kd-account-section::after{
  display:block;
  opacity:.44;
}
.kd-account-hero::before{
  background:
    url("../images/account-corner-ornament.svg") left -18px top -14px/155px auto no-repeat,
    radial-gradient(circle at 82% 14%,rgba(185,151,85,.07),transparent 18%);
  opacity:.18;
}

.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card{
  background:linear-gradient(145deg,rgba(22,28,45,.86),rgba(15,21,35,.88));
  border:1px solid rgba(124,99,56,.28);
  backdrop-filter:none;
  box-shadow:0 12px 26px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.018);
}
.kd-summary-card::after,
.kd-tool-card::after,
.kd-history-row::after,
.kd-brand-logo-row::after,
.kd-account-card::after{display:none!important}

.kd-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kd-summary-card{grid-template-columns:58px minmax(0,1fr);gap:12px;min-height:112px;padding:17px 18px}
.kd-summary-card .kd-icon{width:52px;height:52px;flex-basis:52px}
.kd-summary-card>div{min-width:0}
.kd-summary-card small{display:block;font-size:9px;letter-spacing:.11em;line-height:1.25;overflow-wrap:normal;word-break:normal}
.kd-summary-card strong{font-size:25px;line-height:1.05;margin:5px 0}
.kd-summary-card p{font-size:11px}

.kd-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kd-tool-card{
  grid-template-columns:62px minmax(0,1fr) 16px;
  gap:15px;
  min-height:142px;
  padding:20px 20px;
  align-items:center;
}
.kd-tool-card .kd-icon{width:54px;height:54px;flex-basis:54px}
.kd-tool-card>div{min-width:0}
.kd-tool-card h4{font-size:20px;line-height:1.14;margin:5px 0 7px;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}
.kd-tool-card p{font-size:12px;line-height:1.48;max-width:none}
.kd-tool-card small{font-size:9px;letter-spacing:.13em;line-height:1.25}
.kd-tool-card.is-locked{opacity:.82;filter:saturate(.82)}
.kd-tool-state{top:14px;right:16px}
.kd-tool-arrow{font-size:28px}

.kd-history-row{grid-template-columns:58px minmax(0,1fr) auto;gap:16px;min-height:88px;padding:14px 18px}
.kd-history-row .kd-icon{width:48px;height:48px;flex-basis:48px}
.kd-history-row h4{font-size:19px;line-height:1.18;white-space:normal}

.kd-brand-logo-preview{background:linear-gradient(145deg,rgba(20,26,43,.88),rgba(13,19,32,.90))}
.kd-account-section::before{display:none!important}

@media(max-width:1050px){
  .kd-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kd-tool-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .kd-summary-grid,.kd-tool-grid{grid-template-columns:1fr}
}


/* 2.1.3 — единая космическая подложка без декоративных рамок и наложений */
body:has(.kd-account-home),
body:has(.kd-account-home) .site,
body:has(.kd-account-home) .site-main,
body:has(.kd-account-home) main{
  background:
    linear-gradient(rgba(5,8,16,.18),rgba(5,8,16,.34)),
    url("../images/account-cosmic-bg.png") center top / cover fixed no-repeat!important;
}

.kd-account-home.kd-account-shell{
  width:min(1260px,calc(100% - 30px));
  margin:30px auto 56px;
  padding:22px;
  overflow:visible;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.kd-account-home::before,
.kd-account-home::after,
.kd-account-home .kd-antique-panel::before,
.kd-account-home .kd-antique-panel::after,
.kd-account-home .kd-account-section::before,
.kd-account-home .kd-account-section::after,
.kd-account-home .kd-summary-card::before,
.kd-account-home .kd-summary-card::after,
.kd-account-home .kd-tool-card::before,
.kd-account-home .kd-tool-card::after,
.kd-account-home .kd-history-row::before,
.kd-account-home .kd-history-row::after,
.kd-account-home .kd-brand-logo-row::before,
.kd-account-home .kd-brand-logo-row::after,
.kd-account-home .kd-account-card::before,
.kd-account-home .kd-account-card::after{
  display:none!important;
  content:none!important;
  background:none!important;
}

.kd-account-home .kd-cabinet-topbar{
  padding:14px 18px;
  border:0!important;
  border-radius:20px;
  background:rgba(8,12,23,.62);
  backdrop-filter:blur(8px) saturate(108%);
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}

.kd-account-home .kd-account-hero{
  min-height:0;
  margin-top:18px;
  padding:38px 42px;
  border:0!important;
  border-radius:26px;
  background:
    linear-gradient(135deg,rgba(8,13,26,.70),rgba(13,19,35,.48));
  backdrop-filter:blur(5px) saturate(110%);
  box-shadow:0 22px 50px rgba(0,0,0,.20);
}

.kd-account-home .kd-account-hero-main{
  display:block;
}

.kd-account-home .kd-account-hero-copy{
  max-width:720px;
}

.kd-account-home .kd-account-hero h2{
  margin-top:8px;
  max-width:760px;
  font-size:clamp(38px,4.2vw,58px);
  line-height:.98;
}

.kd-account-home .kd-account-hero-actions{
  min-width:220px;
}

.kd-account-home .kd-summary-grid{
  gap:14px;
  margin:16px 0;
}

.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card{
  border:1px solid rgba(185,151,85,.16)!important;
  border-radius:20px;
  background:linear-gradient(145deg,rgba(9,14,27,.68),rgba(15,21,37,.54))!important;
  backdrop-filter:blur(5px) saturate(110%);
  box-shadow:0 12px 30px rgba(0,0,0,.15)!important;
}

.kd-account-home .kd-summary-card{
  min-height:112px;
  grid-template-columns:58px minmax(0,1fr);
  padding:17px 18px;
}

.kd-account-home .kd-summary-card .kd-icon{
  width:50px;
  height:50px;
  flex-basis:50px;
}

.kd-account-home .kd-account-section{
  margin-top:18px;
  padding:30px 32px;
  border:0!important;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(7,12,24,.62),rgba(13,19,34,.44))!important;
  backdrop-filter:blur(5px) saturate(110%);
  box-shadow:0 20px 48px rgba(0,0,0,.18)!important;
}

.kd-account-home .kd-tool-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}

.kd-account-home .kd-tool-card{
  grid-template-columns:58px minmax(0,1fr) 16px;
  gap:14px;
  min-height:138px;
  padding:19px 20px;
}

.kd-account-home .kd-tool-card .kd-icon{
  width:50px;
  height:50px;
  flex-basis:50px;
}

.kd-account-home .kd-tool-card h4{
  font-size:19px;
  line-height:1.18;
  margin:5px 0 7px;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

.kd-account-home .kd-tool-card p{
  font-size:12px;
  line-height:1.5;
}

.kd-account-home .kd-history-row{
  grid-template-columns:58px minmax(0,1fr) auto;
  min-height:88px;
  padding:14px 18px;
}

.kd-account-home .kd-history-row .kd-icon{
  width:48px;
  height:48px;
  flex-basis:48px;
}

.kd-account-home .kd-history-row h4{
  white-space:normal;
  font-size:19px;
  line-height:1.18;
}

.kd-account-home .kd-brand-logo-preview{
  border:1px solid rgba(185,151,85,.16);
  background:rgba(7,12,24,.48);
  backdrop-filter:blur(5px);
}

.kd-account-home .kd-account-button-secondary,
.kd-account-home .kd-account-button-muted{
  background:rgba(9,14,27,.72)!important;
  backdrop-filter:blur(4px);
}

@media(max-width:1050px){
  .kd-account-home .kd-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kd-account-home .kd-tool-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:720px){
  body:has(.kd-account-home),
  body:has(.kd-account-home) .site,
  body:has(.kd-account-home) .site-main,
  body:has(.kd-account-home) main{
    background-position:center top!important;
    background-attachment:scroll!important;
  }
  .kd-account-home.kd-account-shell{width:calc(100% - 16px);padding:8px;margin:10px auto 28px}
  .kd-account-home .kd-summary-grid,
  .kd-account-home .kd-tool-grid{grid-template-columns:1fr}
  .kd-account-home .kd-account-hero{padding:26px 22px}
  .kd-account-home .kd-account-section{padding:24px 20px}
}

/* 2.1.5 — единая палитра кабинета, кремовый внутренний свет, знак без подписи */

/* Единая космическая подложка на входе, в кабинете и в сохранённых расчётах */
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main{
  background:
    radial-gradient(ellipse at 50% 7%,rgba(233,225,210,.055) 0%,rgba(233,225,210,.018) 20%,transparent 42%),
    linear-gradient(180deg,rgba(10,13,24,.12) 0%,rgba(10,13,24,.28) 48%,rgba(10,13,24,.42) 100%),
    url("../images/account-cosmic-bg.png") center top / cover fixed no-repeat!important;
}

.kd-account-shell{
  --kd-night:#0A0D18;
  --kd-section:#111625;
  --kd-card:#161C2D;
  --kd-ivory:#E9E1D2;
  --kd-text:#D5CCBD;
  --kd-muted:#A99C88;
  --kd-gold:#B99755;
  --kd-gold-light:#D8BA7A;
  --kd-bronze:#7C6338;
  --kd-warm:#6E552E;
  --kd-cream-glow:rgba(233,225,210,.055);
  --kd-panel-border:rgba(185,151,85,.16);
  --kd-panel-a:rgba(10,13,24,.69);
  --kd-panel-b:rgba(17,22,37,.48);
}

/* Наружная оболочка больше не выглядит отдельной тёмной коробкой */
.kd-account-home.kd-account-shell,
.kd-account-login.kd-account-shell,
.kd-saved-shell.kd-account-shell{
  width:min(1260px,calc(100% - 30px));
  margin:30px auto 56px;
  padding:22px;
  overflow:visible;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.kd-account-login.kd-account-shell{max-width:980px}
.kd-saved-shell.kd-account-shell{max-width:1300px}
.kd-account-home::before,
.kd-account-home::after,
.kd-account-login::before,
.kd-account-login::after,
.kd-account-login .kd-account-card::before,
.kd-account-login .kd-account-card::after,
.kd-saved-shell::before,
.kd-saved-shell::after{
  display:none!important;
  content:none!important;
  background:none!important;
}

/* Общая «подложка» для всех блоков: сапфир + один кремовый блик */
.kd-account-home .kd-cabinet-topbar,
.kd-account-home .kd-account-hero,
.kd-account-home .kd-account-section,
.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card,
.kd-account-login .kd-account-card,
.kd-saved-shell .kd-saved-toolbar{
  border:1px solid var(--kd-panel-border)!important;
  background:
    linear-gradient(180deg,rgba(233,225,210,.025),transparent 28%),
    linear-gradient(145deg,var(--kd-panel-a),var(--kd-panel-b))!important;
  backdrop-filter:none!important;
  box-shadow:
    0 12px 30px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(233,225,210,.045),
    inset 0 0 34px rgba(233,225,210,.014)!important;
}

.kd-account-home .kd-cabinet-topbar,
.kd-account-home .kd-account-hero,
.kd-account-home .kd-account-section,
.kd-saved-shell .kd-saved-toolbar{border-radius:10px}
.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card,
.kd-account-login .kd-account-card{border-radius:8px}

/* Шапка кабинета */
.kd-account-home .kd-cabinet-topbar{padding:13px 18px}
.kd-cabinet-brand{gap:11px}
.kd-cabinet-brand img{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:drop-shadow(0 0 9px rgba(233,225,210,.075)) drop-shadow(0 7px 13px rgba(0,0,0,.28));
}
.kd-cabinet-brand strong{color:#D8BA7A}
.kd-cabinet-brand small{color:#C9BEAB}
.kd-account-home .kd-cabinet-mainnav a{color:#CDBD9D!important}

/* Главный блок и секции */
.kd-account-home .kd-account-hero{
  min-height:0;
  margin-top:18px;
  padding:34px 38px;
  box-shadow:
    0 16px 38px rgba(0,0,0,.15),
    0 0 34px rgba(233,225,210,.018),
    inset 0 1px 0 rgba(233,225,210,.045),
    inset 0 0 42px rgba(233,225,210,.014)!important;
}
.kd-account-home .kd-account-hero-main{display:block}
.kd-account-home .kd-account-hero-copy{max-width:720px}
.kd-account-home .kd-account-hero h2{
  margin-top:8px;
  max-width:760px;
  font-size:clamp(38px,4.2vw,58px);
  line-height:.98;
  text-shadow:0 2px 15px rgba(233,225,210,.028),0 3px 16px rgba(0,0,0,.30);
}
.kd-account-home .kd-account-section{margin-top:18px;padding:30px 32px}
.kd-account-home .kd-summary-grid{gap:14px;margin:16px 0}
.kd-account-home .kd-summary-card{min-height:108px;grid-template-columns:58px minmax(0,1fr);padding:17px 18px}
.kd-account-home .kd-summary-card .kd-icon{width:50px;height:50px;flex-basis:50px}
.kd-account-home .kd-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.kd-account-home .kd-tool-card{grid-template-columns:58px minmax(0,1fr) 16px;gap:14px;min-height:136px;padding:19px 20px}
.kd-account-home .kd-tool-card .kd-icon{width:50px;height:50px;flex-basis:50px}
.kd-account-home .kd-history-row{grid-template-columns:58px minmax(0,1fr) auto;min-height:88px;padding:14px 18px}
.kd-account-home .kd-history-row .kd-icon{width:48px;height:48px;flex-basis:48px}

.kd-account-home .kd-summary-card:hover,
.kd-account-home .kd-tool-card.is-open:hover,
.kd-account-home .kd-history-row:hover{
  border-color:rgba(216,186,122,.28)!important;
  background:
    linear-gradient(180deg,rgba(233,225,210,.035),transparent 30%),
    linear-gradient(145deg,rgba(10,15,28,.72),rgba(17,23,39,.52))!important;
  box-shadow:
    0 10px 26px rgba(0,0,0,.14),
    0 0 24px rgba(233,225,210,.025),
    inset 0 1px 0 rgba(233,225,210,.055)!important;
}

/* Кремовый свет остаётся очень мягким: не жёлтая неоновая подсветка */
.kd-account-home .kd-account-kicker,
.kd-account-home .kd-history-type,
.kd-account-home .kd-tool-card small,
.kd-account-home .kd-summary-card small,
.kd-account-login .kd-account-kicker,
.kd-saved-shell .kd-account-kicker{color:#D0AE69}

/* Кнопки — округлые, плотные и объёмные, как на основном сайте */
.kd-account-shell .kd-account-button{
  border-radius:999px!important;
  border-color:rgba(124,99,56,.82);
  background:linear-gradient(180deg,#D8BD79 0%,#BC9854 54%,#98713A 100%);
  box-shadow:
    0 12px 28px rgba(0,0,0,.30),
    0 3px 8px rgba(0,0,0,.20),
    0 0 0 1px rgba(185,151,85,.06),
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(64,42,14,.30);
}
.kd-account-shell .kd-account-button:hover{
  transform:translateY(-2px);
  filter:brightness(1.035);
  box-shadow:
    0 16px 34px rgba(0,0,0,.34),
    0 5px 11px rgba(0,0,0,.18),
    0 0 22px rgba(185,151,85,.10),
    inset 0 1px 0 rgba(255,255,255,.36);
}
.kd-account-shell .kd-account-button-secondary,
.kd-account-shell .kd-account-button-muted{
  color:#E9E1D2!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(233,225,210,.025),transparent),#111625!important;
  backdrop-filter:none!important;
  box-shadow:0 8px 22px rgba(0,0,0,.22),inset 0 1px 0 rgba(233,225,210,.04)!important;
}
.kd-account-shell .kd-cabinet-exit,
.kd-account-shell .kd-account-button-small{border-radius:999px!important}

/* Вход: тот же фон, те же панели, только знак без подписи */
.kd-account-login{padding-top:44px!important}
.kd-account-login .kd-account-heading{
  display:flex;
  align-items:center;
  gap:20px;
  padding:12px 14px 24px;
  border-bottom:1px solid rgba(185,151,85,.22);
}
.kd-account-login .kd-account-heading .kd-account-symbol{
  flex:0 0 76px;
  width:76px;
  height:76px;
  background:url("../images/brand-mark-gold.png") center/contain no-repeat;
  filter:drop-shadow(0 0 10px rgba(233,225,210,.06)) drop-shadow(0 7px 13px rgba(0,0,0,.24));
}
.kd-account-login .kd-account-heading h2{font-size:38px}
.kd-account-login-grid{gap:16px;margin-top:18px}
.kd-account-login .kd-account-card{padding:24px}

/* Формы и настройки бренда не уходят в другой оттенок */
.kd-brand-logo-preview,
.kd-brand-file-label,
.kd-brand-grid input,
.kd-account-card input[type=text],
.kd-account-card input[type=password],
.kd-account-card input[type=email],
.kd-account-card input[type=url],
.kd-account-notice,
.kd-account-empty{
  border-color:rgba(124,99,56,.40)!important;
  background:linear-gradient(180deg,rgba(233,225,210,.015),transparent),rgba(10,13,24,.62)!important;
  color:#E9E1D2;
  box-shadow:inset 0 1px 0 rgba(233,225,210,.025)!important;
}
.kd-brand-grid input:focus,.kd-account-card input:focus{
  border-color:rgba(185,151,85,.72)!important;
  box-shadow:0 0 0 3px rgba(233,225,210,.035),inset 0 1px 0 rgba(233,225,210,.025)!important;
}
.kd-brand-state{background:rgba(10,13,24,.64)}

/* Сохранённый расчёт */
.kd-saved-shell .kd-saved-toolbar{padding:18px 20px;margin-bottom:20px}

@media(max-width:1050px){
  .kd-account-home .kd-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kd-account-home .kd-tool-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  body:has(.kd-account-shell),
  body:has(.kd-account-shell) .site,
  body:has(.kd-account-shell) .site-main,
  body:has(.kd-account-shell) main{
    background-position:center top!important;
    background-attachment:scroll!important;
  }
  .kd-account-home.kd-account-shell,
  .kd-account-login.kd-account-shell,
  .kd-saved-shell.kd-account-shell{width:calc(100% - 16px);padding:8px;margin:10px auto 28px}
  .kd-account-home .kd-cabinet-topbar,
  .kd-account-home .kd-account-hero,
  .kd-account-home .kd-account-section,
  .kd-saved-shell .kd-saved-toolbar{border-radius:8px}
  .kd-account-home .kd-summary-card,
  .kd-account-home .kd-tool-card,
  .kd-account-home .kd-history-row,
  .kd-account-home .kd-brand-logo-row,
  .kd-account-home .kd-account-card,
  .kd-account-login .kd-account-card{border-radius:7px}
  .kd-account-home .kd-summary-grid,
  .kd-account-home .kd-tool-grid{grid-template-columns:1fr}
  .kd-account-home .kd-account-hero{padding:26px 22px}
  .kd-account-home .kd-account-section{padding:24px 20px}
  .kd-account-login{padding-top:14px!important}
  .kd-account-login .kd-account-heading .kd-account-symbol{width:62px;height:62px;flex-basis:62px}
}

/* Печать сохранённых отчётов остаётся белой и не получает фон кабинета */
@media print{
  body,
  body:has(.kd-account-shell),
  body:has(.kd-account-shell) .site,
  body:has(.kd-account-shell) .site-main,
  body:has(.kd-account-shell) main{background:#fff!important}
  .kd-account-shell{background:#fff!important;box-shadow:none!important}
}

/* 2.4.6 — ежедневный бесплатный прогноз в кабинете */
.kd-account-home .kd-daily-forecast-section{position:relative;overflow:hidden}
.kd-account-home .kd-daily-forecast-section:before{
  content:"";position:absolute;inset:-120px auto auto 56%;width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle,rgba(208,174,105,.075),rgba(208,174,105,0) 68%);pointer-events:none
}
.kd-daily-refresh-note{font-size:12px;letter-spacing:.04em;color:#BFB39D;border:1px solid rgba(185,151,85,.26);padding:7px 11px;border-radius:999px;background:rgba(10,13,24,.44)}
.kd-current-period-card{
  position:relative;display:grid;grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr);gap:18px;align-items:stretch;
  margin:16px 0 20px;padding:18px;border:1px solid rgba(185,151,85,.34);border-radius:9px;
  background:linear-gradient(135deg,rgba(185,151,85,.075),rgba(10,13,24,.50) 40%,rgba(10,13,24,.67));
  box-shadow:inset 0 1px 0 rgba(233,225,210,.035)
}
.kd-current-period-main{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:5px 8px}
.kd-current-period-main small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#C7A866}
.kd-current-period-main strong{font-family:"Cormorant",Georgia,serif;font-size:29px;font-weight:500;line-height:1.08;color:#E9E1D2}
.kd-current-period-main span{font-size:13px;color:#BFB39D}
.kd-period-locked,.kd-period-interpretation{border:1px solid rgba(124,99,56,.34);border-radius:8px;background:rgba(10,13,24,.52)}
.kd-period-locked{display:grid;grid-template-columns:1fr auto;gap:5px 16px;align-content:center;padding:15px 17px}
.kd-period-locked span{font-size:13px;color:#D9D0BF}
.kd-period-locked strong{grid-row:1 / span 2;grid-column:2;font-size:20px;color:#D0AE69;align-self:center}
.kd-period-locked small{font-size:12px;line-height:1.45;color:#958B7C}
.kd-period-interpretation{padding:0}
.kd-period-interpretation summary{cursor:pointer;padding:15px 17px;color:#D0AE69;font-weight:600;list-style:none}
.kd-period-interpretation summary::-webkit-details-marker{display:none}
.kd-period-interpretation[open] summary{border-bottom:1px solid rgba(124,99,56,.28)}
.kd-period-interpretation .kd-forecast-copy{padding:16px 18px}
.kd-daily-forecast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kd-forecast-card{border:1px solid rgba(124,99,56,.34);border-radius:8px;background:rgba(10,13,24,.58);overflow:hidden;box-shadow:inset 0 1px 0 rgba(233,225,210,.025)}
.kd-forecast-card.is-today{border-color:rgba(185,151,85,.52);background:linear-gradient(180deg,rgba(185,151,85,.07),rgba(10,13,24,.62))}
.kd-forecast-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;cursor:pointer;list-style:none}
.kd-forecast-card summary::-webkit-details-marker{display:none}
.kd-forecast-card summary span{display:flex;flex-direction:column;gap:2px}
.kd-forecast-card summary small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#A99B84}
.kd-forecast-card summary strong{font-family:"Cormorant",Georgia,serif;font-size:20px;font-weight:500;color:#E9E1D2}
.kd-forecast-card summary em{font-style:normal;font-size:11px;color:#D0AE69}
.kd-forecast-card[open] summary{border-bottom:1px solid rgba(124,99,56,.26)}
.kd-forecast-card-body{padding:16px}
.kd-forecast-copy{font-size:13px;line-height:1.65;color:#D5CCBC}
.kd-forecast-arcana{margin-top:17px;padding-top:15px;border-top:1px solid rgba(124,99,56,.25)}
.kd-forecast-arcana>small{display:block;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#A99B84}
.kd-forecast-arcana>strong{display:block;margin:3px 0 9px;font-family:"Cormorant",Georgia,serif;font-size:17px;font-weight:500;color:#D0AE69}
.kd-daily-forecast-footnote{margin:14px 0 0;font-size:11px;line-height:1.5;color:#827A6E}
.kd-daily-forecast-empty strong{display:block;margin-bottom:7px;color:#E9E1D2}
.kd-daily-forecast-empty p{margin:0 0 14px;color:#BFB39D}

@media(max-width:1050px){
  .kd-daily-forecast-grid{grid-template-columns:1fr}
  .kd-current-period-card{grid-template-columns:1fr}
}
@media(max-width:720px){
  .kd-daily-refresh-note{display:none}
  .kd-current-period-main strong{font-size:25px}
  .kd-period-locked{grid-template-columns:1fr}
  .kd-period-locked strong{grid-row:auto;grid-column:auto}
}

/* 2.4.13 — динамические 52-дневные периоды. Только компоновка, без смены палитры. */
.kd-period-test-form{grid-column:1/-1;margin-top:8px}
.kd-period-test-form .kd-account-button{width:auto;display:inline-flex}
.kd-period-history{margin-top:12px;border:1px solid rgba(124,99,56,.34);border-radius:8px;background:rgba(10,13,24,.38);overflow:hidden}
.kd-period-history>summary{cursor:pointer;padding:13px 16px;color:#D0AE69;font-size:13px;font-weight:700;letter-spacing:.04em}
.kd-period-history-list{display:grid;gap:8px;padding:0 12px 12px}
.kd-period-history-item{border:1px solid rgba(124,99,56,.26);border-radius:7px;background:rgba(10,13,24,.45)}
.kd-period-history-item>summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:11px 13px;color:#E9E1D2}
.kd-period-history-item>summary small{color:#958B7C}
.kd-period-history-item>.kd-forecast-copy{padding:0 13px 13px}

/* 2.4.22 — кнопка покупки полного детского расчёта / совместимости. */
.kd-calculator-pay-form{position:relative;z-index:3;grid-column:1/-1;margin-top:6px}
.kd-calculator-pay-form .kd-account-button{width:100%}

.kd-history-temp{display:block;margin-top:6px;font-size:12px;color:#b99755}.kd-history-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kd-account-link-button{border:0;background:transparent;color:#b99755;text-decoration:underline;cursor:pointer;padding:6px}

/* 2.4.30 — прогностика другого человека на выбранную дату. */
.kd-saved-forecast-panel{margin:18px 0 22px;padding:20px;border:1px solid rgba(185,151,85,.34);border-radius:10px;background:linear-gradient(135deg,rgba(185,151,85,.07),rgba(10,13,24,.72) 42%,rgba(10,13,24,.88))}
.kd-saved-forecast-head{display:flex;justify-content:space-between;gap:22px;align-items:center}
.kd-saved-forecast-head h3{margin:4px 0 7px;font-family:"Cormorant",Georgia,serif;font-size:26px;font-weight:500;color:#E9E1D2}
.kd-saved-forecast-head p{margin:0;max-width:820px;color:#BFB39D;line-height:1.55}
.kd-saved-forecast-price{flex:0 0 auto;font-family:"Cormorant",Georgia,serif;font-size:25px;color:#D0AE69}
.kd-saved-forecast-buy{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:17px;border-top:1px solid rgba(124,99,56,.28)}
.kd-saved-forecast-buy label{display:flex;flex-direction:column;gap:7px;min-width:220px;color:#D8CEBC;font-size:12px}
.kd-saved-forecast-buy input[type=date]{min-height:42px;padding:9px 12px;border:1px solid rgba(185,151,85,.45);border-radius:8px;background:#0A0D18;color:#E9E1D2}
.kd-saved-forecast-history{margin-top:16px;padding:13px 0 0;border-top:1px solid rgba(124,99,56,.24);color:#BFB39D;font-size:12px}
.kd-saved-forecast-history>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.kd-saved-forecast-history a{padding:6px 10px;border:1px solid rgba(124,99,56,.38);border-radius:999px;color:#D0AE69;text-decoration:none}
.kd-saved-forecast-history a.is-active{background:rgba(185,151,85,.14);border-color:rgba(185,151,85,.62)}
.kd-saved-forecast-result{margin-top:18px;padding-top:18px;border-top:1px solid rgba(185,151,85,.28)}
.kd-saved-forecast-result-title span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#A99B84}
.kd-saved-forecast-result-title h4{margin:4px 0 14px;font-family:"Cormorant",Georgia,serif;font-size:22px;font-weight:500;color:#D0AE69}
@media(max-width:760px){.kd-saved-forecast-head{align-items:flex-start;flex-direction:column}.kd-saved-forecast-buy{align-items:stretch}.kd-saved-forecast-buy label,.kd-saved-forecast-buy .kd-account-button{width:100%}}
.kd-daily-owner-map{margin:5px 0 0;color:#958B7C;font-size:12px}

/* 2.4.31 — профиль владельца кабинета отделён от истории расчётов. */
.kd-owner-data-form{position:relative;z-index:2;margin-top:18px}
.kd-owner-data-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}
.kd-owner-data-grid label{display:flex;flex-direction:column;gap:7px;color:#D8CEBC;font-size:12px}
.kd-owner-data-grid input{width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(185,151,85,.42);border-radius:9px;background:#0A0D18;color:#E9E1D2;box-sizing:border-box}
.kd-owner-data-grid input:focus{outline:none;border-color:rgba(185,151,85,.78);box-shadow:0 0 0 3px rgba(185,151,85,.09)}
.kd-daily-forecast-section .kd-daily-forecast-grid{grid-template-columns:1fr}
@media(max-width:960px){.kd-owner-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.kd-owner-data-grid{grid-template-columns:1fr}}


/* 2.4.32 — панель 52-дневных периодов в конкретной карте. */
.kd-year-period-bundle{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:18px;padding-top:17px;border-top:1px solid rgba(124,99,56,.28)}
.kd-year-period-bundle>div:first-child{max-width:760px}
.kd-year-period-bundle p{margin:5px 0 0;color:#BFB39D;line-height:1.5}
.kd-year-period-opened{font-weight:700;color:#D0AE69}
@media(max-width:760px){.kd-year-period-bundle{align-items:stretch;flex-direction:column}.kd-year-period-bundle form,.kd-year-period-bundle .kd-account-button{width:100%}}

/* 2.4.33 — данные владельца перенесены в компактный профиль */
.kd-account-profile-panel{display:block}
.kd-account-profile-head{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:18px;align-items:center}
.kd-account-profile-head>.kd-icon{width:64px;height:64px}
.kd-account-profile-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}
.kd-account-profile-details{margin-top:18px;border-top:1px solid rgba(124,99,56,.30);padding-top:14px}
.kd-account-profile-details>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer;list-style:none;padding:10px 0;color:#E9E1D2}
.kd-account-profile-details>summary::-webkit-details-marker{display:none}
.kd-account-profile-details>summary span{font-weight:700;color:#D8CEBC}
.kd-account-profile-details>summary em{font-style:normal;font-size:12px;color:#A99B84}
.kd-account-profile-body{padding:4px 0 2px}
.kd-account-profile-body .kd-owner-data-form{margin-top:8px}
@media(max-width:820px){
  .kd-account-profile-head{grid-template-columns:56px minmax(0,1fr)}
  .kd-account-profile-head>.kd-icon{width:52px;height:52px}
  .kd-account-profile-actions{grid-column:1/-1;justify-content:flex-start}
  .kd-account-profile-details>summary{align-items:flex-start;flex-direction:column;gap:4px}
}

/* 2.4.35 — космос + кремовое золото на ВСЕХ клиентских страницах кабинета */
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main{
  background:
    radial-gradient(circle at 52% 4%,rgba(47,99,158,.18),transparent 34%),
    linear-gradient(180deg,rgba(3,13,29,.02),rgba(3,15,32,.16)),
    url("../images/account-cosmic-bg.png") center top / cover fixed no-repeat!important;
}
.kd-account-shell{
  --kd-night:#06152c;
  --kd-section:#0b2342;
  --kd-card:#f6efe3;
  --kd-ivory:#f7efe1;
  --kd-text:#e7dcc8;
  --kd-muted:#b6a88e;
  --kd-gold:#c89a4b;
  --kd-gold-light:#e2bf78;
  --kd-bronze:#9b7236;
  --kd-warm:#7b592a;
  --kd-panel-border:rgba(211,171,95,.56);
}
.kd-account-home .kd-cabinet-topbar,
.kd-account-home .kd-account-hero,
.kd-account-home .kd-account-section,
.kd-saved-shell .kd-saved-toolbar{
  border:1px solid rgba(211,171,95,.34)!important;
  background:linear-gradient(145deg,rgba(5,24,49,.82),rgba(10,42,77,.68))!important;
  box-shadow:0 16px 38px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.055)!important;
}
.kd-account-home .kd-cabinet-topbar{background:rgba(4,21,44,.72)!important}
.kd-account-home .kd-account-hero{background:linear-gradient(125deg,rgba(5,25,51,.82),rgba(10,48,85,.62))!important}
.kd-cabinet-brand strong{color:#e4bf75!important}.kd-cabinet-brand small,.kd-account-home .kd-cabinet-mainnav a{color:#e6d7bb!important}
.kd-account-home .kd-account-hero h2,.kd-account-home .kd-account-section h3,.kd-saved-shell .kd-saved-toolbar h2{color:#f8efe1!important}
.kd-account-home .kd-account-hero-copy>p,.kd-account-home .kd-account-section>p{color:#ddd0bb!important}

/* Светлые ювелирные карточки внутри космических секций */
.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card,
.kd-account-login .kd-account-card{
  border:1px solid rgba(205,158,78,.52)!important;
  background:
    linear-gradient(145deg,rgba(252,248,241,.99),rgba(239,226,204,.98))!important;
  color:#17233a!important;
  box-shadow:0 14px 32px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.88)!important;
}
.kd-account-home .kd-summary-card:hover,
.kd-account-home .kd-tool-card.is-open:hover,
.kd-account-home .kd-history-row:hover{
  border-color:rgba(205,151,61,.82)!important;
  background:linear-gradient(145deg,#fffaf1,#ead4ae)!important;
  box-shadow:0 17px 34px rgba(0,0,0,.19),0 0 18px rgba(219,176,93,.12)!important;
}
.kd-account-home .kd-summary-card strong,
.kd-account-home .kd-tool-card h4,
.kd-account-home .kd-history-row h4,
.kd-account-home .kd-brand-logo-copy h4,
.kd-account-login .kd-account-card h3{color:#17233a!important}
.kd-account-home .kd-summary-card p,
.kd-account-home .kd-tool-card p,
.kd-account-home .kd-history-row time,
.kd-account-home .kd-brand-help,
.kd-account-login .kd-account-card p,
.kd-account-login .kd-account-card label{color:#71634f!important}
.kd-account-home .kd-account-kicker,
.kd-account-home .kd-history-type,
.kd-account-home .kd-tool-card small,
.kd-account-home .kd-summary-card small,
.kd-account-login .kd-account-kicker,
.kd-saved-shell .kd-account-kicker{color:#a9782f!important}
.kd-account-home .kd-tool-arrow{color:#a9772e!important}
.kd-account-home .kd-tool-state{color:#8a775b!important}
.kd-account-home .kd-tool-card.is-locked{opacity:.72;filter:saturate(.72)}

/* Вход / регистрация */
.kd-account-login .kd-account-heading{border-bottom-color:rgba(220,179,100,.32)}
.kd-account-login .kd-account-heading h2{color:#f8efe1!important}
.kd-account-login .kd-account-card label{color:#5f523f!important}
.kd-account-login .kd-account-links a{color:#b17c2e!important}
.kd-brand-grid input,
.kd-account-card input[type=text],
.kd-account-card input[type=password],
.kd-account-card input[type=email],
.kd-account-card input[type=url],
.kd-owner-data-grid input,
.kd-saved-forecast-buy input[type=date]{
  border-color:rgba(184,136,56,.38)!important;
  background:rgba(255,252,246,.84)!important;
  color:#17233a!important;
  box-shadow:inset 0 1px 3px rgba(75,53,20,.06)!important;
}
.kd-brand-grid input:focus,.kd-account-card input:focus,.kd-owner-data-grid input:focus,.kd-saved-forecast-buy input[type=date]:focus{
  border-color:rgba(190,140,55,.78)!important;
  box-shadow:0 0 0 3px rgba(200,154,75,.12)!important;
}
.kd-brand-grid label,.kd-owner-data-grid label,.kd-saved-forecast-buy label{color:#6b5c48!important}

/* Кнопки и ссылки */
.kd-account-shell .kd-account-button{
  border-color:rgba(154,108,37,.72)!important;
  background:linear-gradient(180deg,#e7c980 0%,#c89a4b 58%,#ad7b31 100%)!important;
  color:#17233a!important;
}
.kd-account-shell .kd-account-button-secondary,
.kd-account-shell .kd-account-button-muted{
  border-color:rgba(213,171,95,.56)!important;
  background:rgba(5,25,51,.46)!important;
  color:#f6ead4!important;
}
.kd-section-link,.kd-account-links a,.kd-account-link-button{color:#e0bc72!important}

/* Бесплатная дневная прогностика: тёмная витрина, светлая карточка текста */
.kd-account-home .kd-daily-forecast-section{background:linear-gradient(145deg,rgba(5,25,51,.86),rgba(10,44,79,.72))!important}
.kd-daily-refresh-note{color:#e5d5b9;border-color:rgba(220,179,100,.38);background:rgba(3,18,38,.46)}
.kd-forecast-card,
.kd-forecast-card.is-today,
.kd-current-period-card,
.kd-period-locked,
.kd-period-interpretation,
.kd-period-history,
.kd-period-history-item{
  border-color:rgba(197,149,67,.42)!important;
  background:linear-gradient(145deg,rgba(252,248,241,.98),rgba(237,223,199,.96))!important;
  color:#17233a!important;
}
.kd-current-period-main small,.kd-forecast-card summary small,.kd-forecast-arcana>small{color:#9b6f2e!important}
.kd-current-period-main strong,.kd-forecast-card summary strong,.kd-period-history-item>summary{color:#17233a!important}
.kd-current-period-main span,.kd-forecast-copy,.kd-period-locked span,.kd-period-locked small,.kd-daily-owner-map,.kd-period-history-item>summary small{color:#695c49!important}
.kd-forecast-card summary em,.kd-forecast-arcana>strong,.kd-period-interpretation summary,.kd-period-history>summary,.kd-period-locked strong{color:#a8772d!important}
.kd-forecast-card[open] summary,.kd-period-interpretation[open] summary{border-bottom-color:rgba(180,132,53,.22)!important}

/* Профиль и уведомления */
.kd-account-profile-details{border-top-color:rgba(214,173,96,.22)}
.kd-account-profile-details>summary span{color:#f4e5ca}.kd-account-profile-details>summary em{color:#c5b394}
.kd-account-notice,.kd-account-empty{
  border-color:rgba(198,151,72,.38)!important;
  background:linear-gradient(145deg,rgba(252,248,241,.96),rgba(237,223,199,.94))!important;
  color:#4e4233!important;
}
.kd-account-empty strong{color:#17233a!important}

/* Сохранённый расчёт: панели прогностики становятся кремовыми, сам отчёт уже светлый */
.kd-saved-forecast-panel{
  border-color:rgba(205,158,78,.52)!important;
  background:linear-gradient(145deg,rgba(252,248,241,.99),rgba(239,226,204,.98))!important;
  box-shadow:0 14px 32px rgba(0,0,0,.15)!important;
}
.kd-saved-forecast-head h3,.kd-saved-forecast-price,.kd-saved-forecast-result-title h4{color:#17233a!important}
.kd-saved-forecast-head p,.kd-saved-forecast-history,.kd-year-period-bundle p{color:#71634f!important}
.kd-saved-forecast-buy{border-top-color:rgba(181,133,53,.22)!important}
.kd-saved-forecast-history{border-top-color:rgba(181,133,53,.22)!important}
.kd-saved-forecast-history a{color:#9f7028;border-color:rgba(181,133,53,.34)}
.kd-saved-forecast-history a.is-active{background:#fff8eb;border-color:rgba(181,133,53,.62)}
.kd-year-period-bundle{border-top-color:rgba(181,133,53,.22)!important}.kd-year-period-opened{color:#9c6c25!important}

/* Логотип/бренд в профиле практика */
.kd-brand-logo-preview,.kd-brand-file-label,.kd-brand-state{
  border-color:rgba(190,141,58,.36)!important;
  background:linear-gradient(145deg,#fffaf1,#ecd9ba)!important;
  color:#17233a!important;
}
.kd-brand-logo-preview small{color:#746650!important}

@media(max-width:720px){
  body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background-attachment:scroll!important}
}
@media print{
  body,body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background:#fff!important}
  .kd-account-shell{background:#fff!important;box-shadow:none!important}
}

/* 2.4.36 — новая космическая сцена, бронза вместо плоского золота и мягкая типографика */
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main{
  background:
    radial-gradient(circle at 48% 12%,rgba(8,34,67,.08),transparent 34%),
    linear-gradient(180deg,rgba(1,7,17,.05),rgba(2,10,22,.16) 58%,rgba(1,7,16,.34)),
    url('../images/account-cosmic-bg.png') center top/cover fixed no-repeat!important;
}
.kd-account-shell{
  --kd-gold:#b66d35;
  --kd-gold-light:#d89c5d;
  --kd-bronze:#8d4f28;
  --kd-warm:#6f3b20;
  --kd-ivory:#dfd1bd;
  --kd-text:#c7b8a4;
  --kd-panel-border:rgba(190,119,57,.35);
}
.kd-account-home .kd-cabinet-topbar,
.kd-account-home .kd-account-hero,
.kd-account-home .kd-account-section,
.kd-saved-shell .kd-saved-toolbar{
  border-color:rgba(190,119,57,.32)!important;
  background:
    radial-gradient(circle at 85% 0%,rgba(187,101,42,.10),transparent 26%),
    linear-gradient(145deg,rgba(2,13,29,.78),rgba(5,27,53,.58))!important;
  box-shadow:0 18px 46px rgba(0,0,0,.28),inset 0 1px 0 rgba(228,174,115,.045)!important;
}
.kd-account-home .kd-cabinet-topbar{padding:16px 22px;background:linear-gradient(145deg,rgba(2,12,27,.82),rgba(4,23,45,.62))!important}
.kd-cabinet-brand{gap:15px}
.kd-cabinet-brand img{width:82px!important;height:82px!important;filter:drop-shadow(0 9px 20px rgba(0,0,0,.42)) drop-shadow(0 0 11px rgba(188,105,45,.12))!important}
.kd-cabinet-brand strong{
  font-size:32px!important;
  color:#c47a3b!important;
  background:linear-gradient(180deg,#e0ac70 8%,#bc6e34 60%,#8b4a24 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.kd-cabinet-brand small{color:#ba9c77!important;font-size:10px!important;letter-spacing:.11em}
.kd-account-home .kd-cabinet-mainnav a{color:#c7b49a!important;font-weight:600}
.kd-account-home .kd-cabinet-mainnav a:hover,.kd-account-home .kd-cabinet-mainnav a.is-active{color:#d99556!important}
.kd-account-home .kd-account-hero{background:radial-gradient(circle at 88% 18%,rgba(191,103,43,.13),transparent 30%),linear-gradient(128deg,rgba(3,17,36,.82),rgba(5,31,59,.60))!important}
.kd-account-home .kd-account-hero h2,
.kd-account-home .kd-account-section h3,
.kd-saved-shell .kd-saved-toolbar h2,
.kd-account-login .kd-account-heading h2{
  color:#d2a069!important;
  text-shadow:0 5px 22px rgba(0,0,0,.38)!important;
}
.kd-account-home .kd-account-hero h2{font-weight:500;letter-spacing:-.025em}
.kd-account-home .kd-account-hero-copy>p,.kd-account-home .kd-account-section>p{color:#c6b7a2!important}
.kd-account-home .kd-account-kicker,.kd-account-home .kd-history-type,.kd-account-home .kd-tool-card small,.kd-account-home .kd-summary-card small,.kd-account-login .kd-account-kicker,.kd-saved-shell .kd-account-kicker{color:#b96e36!important}
.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card,
.kd-account-login .kd-account-card{
  border-color:rgba(178,111,54,.40)!important;
  background:linear-gradient(145deg,rgba(246,239,228,.985),rgba(226,208,183,.97))!important;
  box-shadow:0 15px 34px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.86)!important;
}
.kd-account-home .kd-summary-card:hover,.kd-account-home .kd-tool-card.is-open:hover,.kd-account-home .kd-history-row:hover{border-color:rgba(191,113,48,.72)!important;background:linear-gradient(145deg,#faf3e8,#dec09b)!important}
.kd-account-home .kd-summary-card strong,.kd-account-home .kd-tool-card h4,.kd-account-home .kd-history-row h4,.kd-account-home .kd-brand-logo-copy h4,.kd-account-login .kd-account-card h3{color:#1b2738!important}
.kd-account-home .kd-summary-card p,.kd-account-home .kd-tool-card p,.kd-account-home .kd-history-row time,.kd-account-home .kd-brand-help,.kd-account-login .kd-account-card p,.kd-account-login .kd-account-card label{color:#6d5a47!important}
.kd-account-home .kd-tool-arrow,.kd-account-home .kd-tool-state{color:#9e5d2f!important}
.kd-account-shell .kd-account-button{border-color:rgba(120,65,29,.76)!important;background:linear-gradient(180deg,#dba364 0%,#b86c33 58%,#8d4a24 100%)!important;color:#1b120d!important;box-shadow:0 9px 22px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,230,194,.34)!important}
.kd-account-shell .kd-account-button-secondary,.kd-account-shell .kd-account-button-muted{border-color:rgba(188,112,52,.52)!important;background:rgba(2,16,34,.54)!important;color:#d8c6af!important}
.kd-section-link,.kd-account-links a,.kd-account-link-button{color:#c97b3d!important}
.kd-account-login .kd-account-heading .kd-account-symbol{width:150px;height:150px;flex:0 0 150px;background-image:url('../images/brand-mark-gold.png')!important;filter:drop-shadow(0 12px 25px rgba(0,0,0,.38))}
.kd-account-login .kd-account-heading{gap:24px;padding-bottom:20px;border-bottom-color:rgba(190,119,57,.30)!important}
.kd-account-login .kd-account-heading h2{font-size:42px!important}
.kd-daily-forecast-section .kd-section-title-row h3{color:#d2a069!important}
.kd-daily-refresh-note{color:#c7b29a;border-color:rgba(190,119,57,.38);background:rgba(2,15,32,.46)}
.kd-forecast-card,.kd-forecast-card.is-today,.kd-current-period-card,.kd-period-locked,.kd-period-interpretation,.kd-period-history,.kd-period-history-item{border-color:rgba(178,110,52,.38)!important;background:linear-gradient(145deg,rgba(247,240,229,.98),rgba(226,208,183,.96))!important}
.kd-current-period-main small,.kd-forecast-card summary small,.kd-forecast-arcana>small{color:#995729!important}.kd-forecast-card summary em,.kd-forecast-arcana>strong,.kd-period-interpretation summary,.kd-period-history>summary,.kd-period-locked strong{color:#a96130!important}
@media(max-width:760px){body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background-attachment:scroll!important}.kd-cabinet-brand img{width:66px!important;height:66px!important}.kd-cabinet-brand strong{font-size:27px!important}.kd-account-login .kd-account-heading .kd-account-symbol{width:110px;height:110px;flex-basis:110px}}


/* 2.4.45 — понятный вход в профессиональный доступ прямо со страницы авторизации. */
.kd-account-practitioner-entry{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  margin-top:18px;padding:22px 24px;
  border:1px solid rgba(190,119,57,.44);border-radius:8px;
  background:linear-gradient(135deg,rgba(12,32,57,.92),rgba(7,18,35,.94));
  box-shadow:0 14px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);
}
.kd-account-practitioner-entry h3{margin:4px 0 6px;color:#d8a263;font:600 28px/1.05 "Cormorant",Georgia,serif}
.kd-account-practitioner-entry p{max-width:700px;margin:0;color:#d6c7b2;line-height:1.55}
.kd-account-practitioner-entry .kd-account-kicker{color:#c88443!important}
.kd-account-practitioner-button{flex:0 0 auto;white-space:nowrap;background:linear-gradient(180deg,#d9a15e,#b66a31 58%,#8f4d25)!important;color:#160d08!important;border-color:rgba(190,119,57,.7)!important}
@media(max-width:760px){.kd-account-practitioner-entry{flex-direction:column;align-items:flex-start}.kd-account-practitioner-button{width:100%;justify-content:center}}

/* 2.4.47 — рабочий кабинет практика и клиентская база */
.kd-practitioner-home .kd-cabinet-brand small{color:#c99b61!important;letter-spacing:.08em}
.kd-practitioner-home .kd-account-hero{background:linear-gradient(135deg,rgba(5,28,55,.94),rgba(9,47,79,.86) 62%,rgba(72,42,22,.34))!important}
.kd-practitioner-home .kd-account-hero h2{max-width:720px}
.kd-practitioner-home .kd-account-hero p{max-width:720px;color:#d8cbb7!important}
.kd-practitioner-summary .kd-summary-card{min-height:112px}

.kd-practitioner-client-card{background:linear-gradient(145deg,rgba(7,29,55,.94),rgba(10,38,65,.9))!important;border-color:rgba(197,128,61,.58)!important}
.kd-practitioner-client-card-head{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.kd-practitioner-client-card-head h3{margin:4px 0 7px!important;font-size:38px!important;color:#ead8be!important}
.kd-practitioner-client-card-head p{margin:0;color:#c7b79e}
.kd-client-card-head-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.kd-client-contact-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px;margin:22px 0}
.kd-client-contact-grid>div{padding:15px 17px;border:1px solid rgba(188,125,61,.3);border-radius:14px;background:rgba(3,17,34,.42)}
.kd-client-contact-grid small{display:block;margin-bottom:6px;color:#b88a57;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.kd-client-contact-grid strong{display:block;color:#e7dac7;font-size:14px;line-height:1.5;font-weight:600}
.kd-client-calc-actions{position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid rgba(201,139,70,.34);border-radius:16px;background:rgba(193,116,52,.07)}
.kd-client-calc-actions>div{margin-right:auto}.kd-client-calc-actions small{color:#d59a55;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.kd-client-calc-actions p{margin:4px 0 0;color:#bfb19d;font-size:12px}
.kd-client-history-block{position:relative;z-index:2;margin-top:18px;padding-top:18px;border-top:1px solid rgba(192,126,62,.22)}
.kd-client-history-head small{display:block;color:#c58a4b;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.kd-client-history-head strong{display:block;margin-top:4px;color:#ead8be;font:600 23px/1.2 "Cormorant",Georgia,serif}
.kd-client-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
.kd-client-history-list a{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:13px 15px;border:1px solid rgba(188,125,61,.27);border-radius:13px;background:rgba(3,17,34,.34);text-decoration:none!important}
.kd-client-history-list a span{color:#c58a4b;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.kd-client-history-list a strong{grid-column:1/-1;color:#eee1cf;font-size:14px}.kd-client-history-list a time{grid-column:1/-1;color:#9f927f;font-size:10px}

.kd-practitioner-client-layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(390px,.9fr) minmax(420px,1.1fr);gap:18px;align-items:start}
.kd-practitioner-client-form{padding:21px;border:1px solid rgba(182,126,65,.33);border-radius:18px;background:linear-gradient(145deg,rgba(249,242,230,.98),rgba(230,211,183,.97));color:#34271d;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.kd-client-form-title{display:flex;align-items:center;gap:12px;margin-bottom:17px}.kd-client-form-title .kd-icon{width:48px;height:48px;flex:0 0 48px}.kd-client-form-title small{display:block;color:#9b6b31;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.kd-client-form-title strong{display:block;margin-top:3px;color:#17233a;font:600 25px/1.1 "Cormorant",Georgia,serif}
.kd-client-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kd-client-form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.kd-practitioner-client-form label{display:flex;flex-direction:column;gap:6px;margin-bottom:11px;color:#6e5b43;font-size:11px;font-weight:700}
.kd-practitioner-client-form input,.kd-practitioner-client-form textarea{width:100%;padding:11px 12px;border:1px solid rgba(172,120,58,.34);border-radius:10px;background:rgba(255,252,246,.9);color:#17233a;font:500 13px/1.4 Arial,sans-serif;outline:none}
.kd-practitioner-client-form textarea{resize:vertical;min-height:88px}.kd-practitioner-client-form input:focus,.kd-practitioner-client-form textarea:focus{border-color:#b67838;box-shadow:0 0 0 3px rgba(184,120,56,.10)}
.kd-client-form-actions{display:flex;gap:9px;align-items:center;margin-top:5px}
.kd-practitioner-client-list{display:grid;gap:9px}
.kd-practitioner-client-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 15px;border:1px solid rgba(187,126,63,.28);border-radius:15px;background:linear-gradient(145deg,rgba(13,31,51,.78),rgba(9,23,39,.72));transition:.18s ease}
.kd-practitioner-client-row:hover,.kd-practitioner-client-row.is-selected{border-color:rgba(209,145,76,.64);background:linear-gradient(145deg,rgba(18,42,67,.9),rgba(12,29,48,.86))}
.kd-client-avatar{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(204,139,71,.48);border-radius:50%;background:radial-gradient(circle at 35% 32%,rgba(188,107,46,.18),rgba(5,20,38,.82));color:#d99b59;font:600 22px/1 "Cormorant",Georgia,serif}
.kd-client-row-copy h4{margin:0 0 4px;color:#eadbc6;font:600 19px/1.15 "Cormorant",Georgia,serif}.kd-client-row-copy p{margin:0;color:#9f927f;font-size:11px;line-height:1.45}
.kd-client-row-actions{display:flex;align-items:center;gap:8px}.kd-client-row-actions form{margin:0}.kd-client-row-actions .kd-account-link-button{font-size:10px;color:#9e8465}
.kd-practitioner-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

@media(max-width:980px){
  .kd-practitioner-client-layout{grid-template-columns:1fr}.kd-client-contact-grid{grid-template-columns:1fr 1fr}.kd-client-notes{grid-column:1/-1}.kd-practitioner-tool-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .kd-practitioner-client-card-head,.kd-client-calc-actions{flex-direction:column;align-items:flex-start}.kd-client-contact-grid,.kd-client-form-grid,.kd-client-form-grid-three,.kd-client-history-list{grid-template-columns:1fr}.kd-client-notes{grid-column:auto}.kd-practitioner-client-row{grid-template-columns:44px minmax(0,1fr)}.kd-client-row-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}.kd-client-form-actions{flex-direction:column;align-items:stretch}.kd-client-form-actions .kd-account-button{width:100%}
}


/* 2.4.53 — кабинет практика: компактная главная и рабочая клиентская база */
.kd-practitioner-home .kd-practitioner-hero{
  min-height:0!important;
  padding:30px 34px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
}
.kd-practitioner-home .kd-practitioner-hero h2{
  margin:5px 0 8px!important;
  max-width:none!important;
  font-size:48px!important;
  line-height:1!important;
  color:#e5c08a!important;
}
.kd-practitioner-home .kd-practitioner-hero p{margin:0!important;max-width:760px!important}
.kd-practitioner-home .kd-practitioner-hero .kd-hero-facts{margin-top:18px!important}
.kd-practitioner-home .kd-practitioner-summary{gap:12px!important}
.kd-practitioner-home .kd-practitioner-summary .kd-summary-card{min-height:92px!important;padding:16px 18px!important}
.kd-practitioner-home .kd-practitioner-summary .kd-summary-card .kd-icon{width:48px!important;height:48px!important}
.kd-practitioner-home .kd-practitioner-summary .kd-summary-card strong{font-size:26px!important}

.kd-practitioner-clients-section{padding:28px!important}
.kd-practitioner-clients-head{margin-bottom:18px!important}
.kd-practitioner-clients-head h3{font-size:38px!important}
.kd-practitioner-clients-head p{max-width:700px!important;margin-top:5px!important}

.kd-client-add-panel{
  position:relative;
  z-index:2;
  margin:0 0 18px;
  border:1px solid rgba(190,126,62,.34);
  border-radius:16px;
  overflow:hidden;
  background:rgba(9,27,48,.58);
}
.kd-client-add-panel>summary{
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.kd-client-add-panel>summary::-webkit-details-marker{display:none}
.kd-client-add-panel>summary:hover{background:rgba(193,116,52,.06)}
.kd-client-add-plus{
  display:grid;place-items:center;
  width:38px;height:38px;flex:0 0 38px;
  border:1px solid rgba(205,139,71,.55);border-radius:50%;
  color:#d99b59;font:400 25px/1 "Cormorant",Georgia,serif;
  background:rgba(195,115,50,.07)
}
.kd-client-add-panel>summary span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0}
.kd-client-add-panel>summary strong{color:#eadbc6;font:600 19px/1.1 "Cormorant",Georgia,serif}
.kd-client-add-panel>summary small{color:#a99a85;font-size:11px}
.kd-client-add-panel>summary em{margin-left:auto;color:#c58a4b;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.kd-client-add-panel[open]>summary{border-bottom:1px solid rgba(190,126,62,.22);background:rgba(193,116,52,.045)}
.kd-client-add-panel[open] .kd-client-add-plus{transform:rotate(45deg)}

.kd-practitioner-client-form-collapsed{
  margin:0!important;
  padding:18px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:linear-gradient(145deg,rgba(249,242,230,.98),rgba(230,211,183,.97))!important;
}
.kd-practitioner-client-form-collapsed .kd-client-form-grid{margin-bottom:0!important}
.kd-practitioner-client-form-collapsed textarea{min-height:72px!important}

.kd-client-toolbar{
  position:relative;z-index:2;
  display:flex;align-items:end;justify-content:space-between;gap:16px;
  margin:0 0 14px;
}
.kd-client-search{display:block!important;flex:1;max-width:520px;margin:0!important;color:#bca98d!important}
.kd-client-search span{display:block;margin:0 0 6px;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.kd-client-search input{
  width:100%;padding:11px 14px;border:1px solid rgba(190,126,62,.34);border-radius:12px;
  background:rgba(4,20,38,.72);color:#eadfce;outline:none
}
.kd-client-search input:focus{border-color:rgba(211,147,78,.72);box-shadow:0 0 0 3px rgba(193,116,52,.08)}
.kd-client-toolbar>small{padding-bottom:10px;color:#998b78}.kd-client-toolbar>small b{color:#d49a58}

.kd-practitioner-client-list-wide{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.kd-practitioner-client-list-wide .kd-account-empty{grid-column:1/-1}
.kd-practitioner-client-row{min-height:78px;padding:12px 14px!important}
.kd-practitioner-client-row[hidden]{display:none!important}
.kd-practitioner-client-empty{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  min-height:180px;padding:28px!important;text-align:center!important;
  border:1px dashed rgba(188,125,61,.28)!important;border-radius:16px!important;
  background:rgba(4,20,38,.26)!important
}
.kd-practitioner-client-empty .kd-icon{width:58px;height:58px;margin-bottom:10px;opacity:.78}
.kd-practitioner-client-empty strong{color:#e3d4c0;font:600 20px/1.2 "Cormorant",Georgia,serif}
.kd-practitioner-client-empty p{max-width:560px;margin:7px auto 0!important;color:#9f927f!important}
.kd-client-search-empty{min-height:100px!important;padding:26px!important;text-align:center!important}

@media(max-width:980px){
  .kd-practitioner-home .kd-practitioner-hero{grid-template-columns:1fr!important}
  .kd-practitioner-home .kd-practitioner-hero-actions{flex-direction:row!important;flex-wrap:wrap!important}
  .kd-practitioner-client-list-wide{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .kd-practitioner-home .kd-practitioner-hero{padding:24px 20px!important}
  .kd-practitioner-home .kd-practitioner-hero h2{font-size:36px!important}
  .kd-practitioner-home .kd-practitioner-hero-actions{flex-direction:column!important;width:100%!important}
  .kd-practitioner-home .kd-practitioner-hero-actions .kd-account-button{width:100%!important}
  .kd-practitioner-clients-section{padding:22px 16px!important}
  .kd-client-add-panel>summary{padding:12px!important}
  .kd-client-add-panel>summary em{display:none}
  .kd-practitioner-client-form-collapsed{padding:15px!important}
  .kd-client-toolbar{display:block}
  .kd-client-search{max-width:none}
  .kd-client-toolbar>small{display:block;padding:8px 2px 0}
  .kd-practitioner-client-row{grid-template-columns:42px minmax(0,1fr)!important}
  .kd-client-row-actions{grid-column:2!important}
}


/* 2.4.54 — контраст пустого состояния клиентской базы */
.kd-practitioner-client-empty strong{
  color:#d9a35f!important;
  text-shadow:0 1px 10px rgba(0,0,0,.18)!important;
}
.kd-practitioner-client-empty p{
  color:#c8b89f!important;
}
.kd-practitioner-client-empty .kd-icon{opacity:.95!important}


/* 2.4.55 — унификация палитры кабинета практика */
.kd-practitioner-home{
  --kd-pract-dark-1:#081a31;
  --kd-pract-dark-2:#0d2745;
  --kd-pract-dark-3:#122f4f;
  --kd-pract-bronze:#c78343;
  --kd-pract-bronze-light:#dfb07b;
  --kd-pract-cream-1:#f6eee1;
  --kd-pract-cream-2:#e8d6bc;
  --kd-pract-text-dark:#1c2738;
  --kd-pract-text-soft:#6f5d49;
  --kd-pract-text-light:#d8c9b3;
}
.kd-practitioner-home .kd-account-hero,
.kd-practitioner-home .kd-account-section,
.kd-practitioner-home .kd-practitioner-client-card,
.kd-practitioner-home .kd-account-feature-section,
.kd-practitioner-home .kd-account-history-section,
.kd-practitioner-home .kd-account-profile-panel{
  background:linear-gradient(135deg,rgba(8,26,49,.96),rgba(10,35,60,.94) 62%,rgba(17,42,68,.88))!important;
  border-color:rgba(195,128,67,.44)!important;
}
.kd-practitioner-home .kd-account-kicker,
.kd-practitioner-home .kd-history-type,
.kd-practitioner-home .kd-tool-card small,
.kd-practitioner-home .kd-summary-card small,
.kd-practitioner-home .kd-client-history-head small,
.kd-practitioner-home .kd-client-calc-actions small,
.kd-practitioner-home .kd-client-search span,
.kd-practitioner-home .kd-client-contact-grid small{
  color:var(--kd-pract-bronze)!important;
}
.kd-practitioner-home .kd-practitioner-hero h2,
.kd-practitioner-home .kd-practitioner-clients-head h3,
.kd-practitioner-home .kd-practitioner-client-card-head h3,
.kd-practitioner-home .kd-client-history-head strong,
.kd-practitioner-home .kd-account-feature-section h3,
.kd-practitioner-home .kd-account-history-section h3,
.kd-practitioner-home .kd-account-profile-panel h3{
  color:var(--kd-pract-bronze-light)!important;
}
.kd-practitioner-home .kd-account-hero p,
.kd-practitioner-home .kd-practitioner-clients-head p,
.kd-practitioner-home .kd-practitioner-client-card-head p,
.kd-practitioner-home .kd-client-calc-actions p,
.kd-practitioner-home .kd-client-row-copy p,
.kd-practitioner-home .kd-client-toolbar>small,
.kd-practitioner-home .kd-tool-card p,
.kd-practitioner-home .kd-history-row time,
.kd-practitioner-home .kd-brand-help,
.kd-practitioner-home .kd-account-profile-row p{
  color:var(--kd-pract-text-light)!important;
}

/* светлые карточки и уведомления */
.kd-practitioner-home .kd-summary-card,
.kd-practitioner-home .kd-account-notice,
.kd-practitioner-home .kd-account-empty:not(.kd-practitioner-client-empty),
.kd-practitioner-home .kd-practitioner-client-form,
.kd-practitioner-home .kd-practitioner-client-form-collapsed{
  background:linear-gradient(145deg,var(--kd-pract-cream-1),var(--kd-pract-cream-2))!important;
  border-color:rgba(192,125,60,.36)!important;
  color:var(--kd-pract-text-dark)!important;
}
.kd-practitioner-home .kd-summary-card strong,
.kd-practitioner-home .kd-account-notice,
.kd-practitioner-home .kd-account-empty:not(.kd-practitioner-client-empty),
.kd-practitioner-home .kd-client-form-title strong,
.kd-practitioner-home .kd-practitioner-client-form label,
.kd-practitioner-home .kd-practitioner-client-form input,
.kd-practitioner-home .kd-practitioner-client-form textarea{
  color:var(--kd-pract-text-dark)!important;
}
.kd-practitioner-home .kd-summary-card p,
.kd-practitioner-home .kd-client-form-title small,
.kd-practitioner-home .kd-practitioner-client-form label,
.kd-practitioner-home .kd-account-notice small,
.kd-practitioner-home .kd-account-empty small{
  color:var(--kd-pract-text-soft)!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon{
  border-color:rgba(191,125,60,.38)!important;
  background:radial-gradient(circle at 35% 32%,rgba(198,128,62,.18),rgba(255,252,246,.84))!important;
}
.kd-practitioner-home .kd-summary-card:hover{background:linear-gradient(145deg,#fbf5ea,#e4c9a6)!important}

/* кнопки */
.kd-practitioner-home .kd-account-button{
  border-color:rgba(182,109,46,.62)!important;
}
.kd-practitioner-home .kd-account-button:not(.kd-account-button-secondary):not(.kd-account-button-muted){
  background:linear-gradient(180deg,#e0ad70 0%,#c77b3d 52%,#9b5429 100%)!important;
  color:#1a0e08!important;
  box-shadow:inset 0 1px 0 rgba(255,241,220,.45),0 10px 18px rgba(0,0,0,.16)!important;
}
.kd-practitioner-home .kd-account-button-secondary,
.kd-practitioner-home .kd-account-button-muted{
  background:rgba(4,20,38,.62)!important;
  color:#e8dccb!important;
  border-color:rgba(196,130,67,.46)!important;
}
.kd-practitioner-home .kd-account-link-button{color:#c98b4f!important}

/* карточка клиента и рабочие блоки */
.kd-practitioner-home .kd-client-contact-grid>div,
.kd-practitioner-home .kd-client-calc-actions,
.kd-practitioner-home .kd-client-history-list a,
.kd-practitioner-home .kd-practitioner-client-row,
.kd-practitioner-home .kd-client-add-panel,
.kd-practitioner-home .kd-client-search input{
  background:rgba(6,22,39,.52)!important;
  border-color:rgba(193,127,63,.32)!important;
}
.kd-practitioner-home .kd-client-contact-grid strong,
.kd-practitioner-home .kd-client-row-copy h4,
.kd-practitioner-home .kd-client-history-list a strong,
.kd-practitioner-home .kd-client-add-panel>summary strong,
.kd-practitioner-home .kd-client-add-plus{
  color:#eadbc5!important;
}
.kd-practitioner-home .kd-client-history-list a time,
.kd-practitioner-home .kd-client-add-panel>summary small,
.kd-practitioner-home .kd-client-row-copy p{
  color:#bba98f!important;
}
.kd-practitioner-home .kd-practitioner-client-row:hover,
.kd-practitioner-home .kd-practitioner-client-row.is-selected,
.kd-practitioner-home .kd-client-history-list a:hover{
  background:rgba(10,30,51,.82)!important;
  border-color:rgba(212,147,77,.58)!important;
}
.kd-practitioner-home .kd-client-avatar{
  border-color:rgba(204,139,71,.52)!important;
  background:radial-gradient(circle at 35% 32%,rgba(188,107,46,.22),rgba(9,30,53,.86))!important;
  color:var(--kd-pract-bronze-light)!important;
}
.kd-practitioner-home .kd-practitioner-client-empty{
  background:rgba(5,20,37,.42)!important;
  border-color:rgba(188,125,61,.26)!important;
}
.kd-practitioner-home .kd-practitioner-client-empty strong{color:var(--kd-pract-bronze-light)!important}
.kd-practitioner-home .kd-practitioner-client-empty p{color:#cdbca4!important}

/* мелкие служебные элементы */
.kd-practitioner-home .kd-account-section-count{
  color:var(--kd-pract-bronze-light)!important;
  border-color:rgba(196,130,67,.5)!important;
  background:radial-gradient(circle,rgba(196,130,67,.14),rgba(6,23,41,.88) 72%)!important;
}
.kd-practitioner-home .kd-client-toolbar>small b{color:var(--kd-pract-bronze-light)!important}


/* 2.4.56 — покупка профессионального кабинета */
.kd-practitioner-upgrade-card{border-color:rgba(194,124,59,.55)!important;background:linear-gradient(135deg,rgba(7,27,50,.96),rgba(18,40,62,.92),rgba(55,34,24,.58))!important}
.kd-practitioner-upgrade-card h3{color:#dfad75!important}.kd-practitioner-upgrade-card p{color:#d4c3ad!important}
.kd-practitioner-upgrade-offer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid rgba(197,128,61,.32);border-radius:16px;background:rgba(5,20,38,.48)}
.kd-practitioner-upgrade-offer>div{display:flex;flex-direction:column;gap:4px}.kd-practitioner-upgrade-offer strong{color:#e1b17b;font:600 28px/1 "Cormorant",Georgia,serif}.kd-practitioner-upgrade-offer span{color:#c5b39a;font-size:12px}.kd-practitioner-upgrade-offer form{margin:0}
@media(max-width:700px){.kd-practitioner-upgrade-offer{flex-direction:column;align-items:stretch}.kd-practitioner-upgrade-offer .kd-account-button{width:100%}}


/* 2.4.57 — постоянный вход в профессиональный доступ из клиентского кабинета */
.kd-account-home .kd-account-practitioner-cta{
  background:linear-gradient(180deg,#e2ad73 0%,#c77a3d 52%,#985126 100%)!important;
  color:#170d08!important;
  border-color:rgba(180,105,45,.72)!important;
  box-shadow:inset 0 1px 0 rgba(255,241,220,.44),0 10px 20px rgba(0,0,0,.16)!important;
}
.kd-account-home .kd-account-practitioner-cta:hover{transform:translateY(-1px)}
.kd-account-home .kd-practitioner-upgrade-card{
  margin-top:16px!important;
  background:linear-gradient(135deg,rgba(7,27,50,.97),rgba(13,39,65,.94) 58%,rgba(62,38,24,.58))!important;
  border-color:rgba(196,126,60,.58)!important;
}
.kd-account-home .kd-practitioner-upgrade-card .kd-account-kicker{color:#c98548!important}
.kd-account-home .kd-practitioner-upgrade-card h3{color:#e1b07a!important}
.kd-account-home .kd-practitioner-upgrade-card p{color:#d7c6ae!important}
.kd-account-home .kd-practitioner-upgrade-offer{
  background:rgba(4,19,37,.48)!important;
  border-color:rgba(199,130,63,.34)!important;
}
.kd-account-home .kd-practitioner-upgrade-offer strong{color:#e3b27e!important}
.kd-account-home .kd-practitioner-upgrade-offer span{color:#cbbba4!important}
@media(max-width:700px){
  .kd-account-home .kd-account-practitioner-cta{width:100%!important}
}


/* 2.4.64 — читаемость светлых карточек практику и восстановление иконок. */
.kd-practitioner-home .kd-tool-card p{
  color:#6d5a47!important;
  opacity:1!important;
}
.kd-practitioner-home .kd-history-row time{
  color:#806b56!important;
  opacity:1!important;
}
.kd-practitioner-home .kd-tool-card h4,
.kd-practitioner-home .kd-history-row h4{
  color:#1b2738!important;
}
.kd-practitioner-home .kd-tool-card small,
.kd-practitioner-home .kd-history-type{
  color:#ad6532!important;
}

/* В 2.4.55 background shorthand у summary-icon перекрывал SVG background-image. */
.kd-practitioner-home .kd-summary-card .kd-icon{
  background-color:rgba(255,252,246,.74)!important;
  background-position:center!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 0 0 1px rgba(191,125,60,.20)!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon-total{
  background-image:url("../images/icon-total.svg")!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon-individual{
  background-image:url("../images/icon-individual.svg")!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon-child{
  background-image:url("../images/icon-child.svg")!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon-compatibility{
  background-image:url("../images/icon-compatibility.svg")!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon-profile{
  background-image:url("../images/icon-profile.svg")!important;
}


/* 2.4.69 — пакеты профессиональных разборов */
.kd-practitioner-home .kd-practitioner-credit-section{background:linear-gradient(145deg,#081a31,#0d2745)!important;border-color:rgba(199,131,67,.38)!important}
.kd-practitioner-home .kd-practitioner-credit-head{align-items:center;gap:20px}
.kd-practitioner-home .kd-practitioner-credit-head h3{color:#dfb07b!important;margin-bottom:6px}
.kd-practitioner-home .kd-practitioner-credit-head p{color:#d8c9b3!important;max-width:760px}
.kd-practitioner-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.kd-practitioner-package-card{padding:22px;border:1px solid rgba(199,131,67,.34);border-radius:18px;background:linear-gradient(145deg,#f6eee1,#e8d6bc);color:#1c2738}
.kd-practitioner-package-card>small{color:#9b5429;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.kd-practitioner-package-card h4{margin:7px 0 6px;color:#1c2738!important;font-size:24px}
.kd-practitioner-package-card>strong{display:block;margin:4px 0;color:#9b5429;font:700 28px/1.1 "Cormorant",Georgia,serif}
.kd-practitioner-package-card>p{margin:0 0 16px;color:#6f5d49!important}
.kd-practitioner-package-card form{margin:0}.kd-practitioner-package-card .kd-account-button{width:100%;justify-content:center}
.kd-practitioner-package-disabled{display:block;padding:12px;border:1px dashed rgba(111,93,73,.35);border-radius:10px;color:#6f5d49;text-align:center;font-size:12px}
@media(max-width:760px){.kd-practitioner-package-grid{grid-template-columns:1fr}.kd-practitioner-home .kd-practitioner-credit-head{align-items:flex-start}}

/* 2.4.70 — детские разборы: 100 бесплатно, затем 3 за 1 кредит */
.kd-practitioner-home .kd-practitioner-child-policy{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:18px 0 22px;padding:16px 18px;border:1px solid rgba(199,131,67,.32);
  border-radius:16px;background:rgba(246,238,225,.94);color:#1c2738;
}
.kd-practitioner-home .kd-practitioner-child-policy>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.kd-practitioner-home .kd-practitioner-child-policy small{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9b6236}
.kd-practitioner-home .kd-practitioner-child-policy strong{font-size:16px;line-height:1.3;color:#1c2738}
.kd-practitioner-home .kd-practitioner-child-policy span{font-size:13px;line-height:1.45;color:#6f5d49}
.kd-practitioner-home .kd-practitioner-child-policy>b{display:flex;align-items:center;justify-content:center;min-width:54px;height:54px;padding:0 12px;border-radius:14px;background:#0d2745;color:#dfb07b;font-size:20px}
@media(max-width:760px){.kd-practitioner-home .kd-practitioner-child-policy{align-items:flex-start}.kd-practitioner-home .kd-practitioner-child-policy>b{min-width:46px;height:46px;font-size:18px}}

/* 2.4.74 — титульная страница и безопасный тест PDF в кабинете практика. */
.kd-practitioner-home .kd-brand-cover-row{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:26px;
  align-items:center;
  margin:0 0 20px;
  padding:22px;
  border:1px solid rgba(199,131,67,.32);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(11,31,55,.94),rgba(8,24,44,.96));
}
.kd-practitioner-home .kd-brand-cover-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:250px;
  padding:12px;
  border:1px solid rgba(199,131,67,.34);
  border-radius:18px;
  background:#07182c;
  overflow:hidden;
}
.kd-practitioner-home .kd-brand-cover-preview img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:235px;
  aspect-ratio:210/297;
  object-fit:contain;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}
.kd-practitioner-home .kd-brand-cover-placeholder{
  width:150px;
  aspect-ratio:210/297;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:18px 14px;
  border:1px dashed rgba(223,176,123,.58);
  background:linear-gradient(180deg,#f6eee1,#ead9c2);
  color:#1c2738;
  text-align:center;
}
.kd-practitioner-home .kd-brand-cover-placeholder span{font:700 18px/1.1 "Cormorant",Georgia,serif;color:#9b5429}
.kd-practitioner-home .kd-brand-cover-placeholder small{font-size:10px;line-height:1.45;color:#6f5d49}
.kd-practitioner-home .kd-brand-cover-copy h4{margin:6px 0 8px;color:#dfb07b;font-size:26px}
.kd-practitioner-home .kd-brand-cover-copy>p{color:#d8c9b3}
.kd-practitioner-home .kd-brand-form-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kd-practitioner-home .kd-brand-test-note{margin:10px 0 0!important;color:#bca98e!important;font-size:12px!important}
@media(max-width:760px){
  .kd-practitioner-home .kd-brand-cover-row{grid-template-columns:1fr;padding:18px}
  .kd-practitioner-home .kd-brand-cover-preview{min-height:220px}
  .kd-practitioner-home .kd-brand-form-actions .kd-account-button{width:100%}
}


/* 2.4.75 — понятная загрузка бренда, предпросмотр и ошибки размера/типа. */
.kd-practitioner-home .kd-brand-upload-explain{margin:0 0 18px;padding:12px 14px;border:1px solid rgba(215,157,91,.35);border-radius:12px;background:rgba(215,157,91,.08);color:#e7d7c1;line-height:1.5}
.kd-practitioner-home .kd-brand-file-status{margin-top:9px;font-size:13px;line-height:1.4;color:#b8aa96}
.kd-practitioner-home .kd-brand-file-status.is-ok{color:#bfd6ad;font-weight:700}
.kd-practitioner-home .kd-brand-file-status.is-error{color:#f0a5a5;font-weight:700}
.kd-practitioner-home .kd-brand-upload-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 22px;padding:14px;border:1px dashed rgba(215,157,91,.35);border-radius:14px}
.kd-practitioner-home .kd-brand-upload-actions span{font-size:13px;color:#c8b89f}
.kd-practitioner-home .kd-brand-logo-preview img,.kd-practitioner-home .kd-brand-cover-preview img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.kd-practitioner-home .kd-brand-upload-actions .kd-account-button{width:100%}}

/* 2.4.83 — единая палитра портала по основному сайту.
   ВАЖНО: эти правила относятся только к оболочке портала/кабинетов.
   Цвета самих расчётов, отчётов и PDF остаются в frontend.css без изменений. */
.kd-account-shell{
  --kd-night:#0A0D18!important;
  --kd-section:#111625!important;
  --kd-card:#161C2D!important;
  --kd-ivory:#E9E1D2!important;
  --kd-text:#E9E1D2!important;
  --kd-muted:#6E552E!important;
  --kd-gold:#B99755!important;
  --kd-gold-light:#E9E1D2!important;
  --kd-bronze:#7C6338!important;
  --kd-warm:#6E552E!important;
  --kd-panel-border:rgba(124,99,56,.58)!important;
  color:#E9E1D2!important;
  border-color:rgba(124,99,56,.58)!important;
  background:
    url("../images/account-stars.svg") center top/cover no-repeat,
    radial-gradient(circle at 50% 0%,rgba(185,151,85,.07),transparent 28%),
    linear-gradient(180deg,#0A0D18 0%,#111625 100%)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.52),inset 0 1px 0 rgba(233,225,210,.025),inset 0 0 70px rgba(110,85,46,.055)!important;
}
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main{
  background:
    linear-gradient(180deg,rgba(10,13,24,.18),rgba(10,13,24,.42)),
    url('../images/account-cosmic-bg.png') center top/cover fixed no-repeat,
    #0A0D18!important;
}
.kd-account-shell::after{border-color:rgba(124,99,56,.25)!important}
.kd-account-shell p{color:rgba(233,225,210,.78)!important}

/* Верхняя панель, герои и крупные секции кабинета */
.kd-account-home .kd-cabinet-topbar,
.kd-account-home .kd-account-hero,
.kd-account-home .kd-account-section,
.kd-account-login .kd-account-practitioner-entry,
.kd-practitioner-home .kd-account-hero,
.kd-practitioner-home .kd-account-section,
.kd-practitioner-home .kd-practitioner-client-card,
.kd-practitioner-home .kd-account-feature-section,
.kd-practitioner-home .kd-account-history-section,
.kd-practitioner-home .kd-account-profile-panel,
.kd-saved-shell .kd-saved-toolbar{
  background:linear-gradient(145deg,rgba(17,22,37,.98),rgba(10,13,24,.98))!important;
  border-color:rgba(124,99,56,.58)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.28),inset 0 1px 0 rgba(233,225,210,.025)!important;
}
.kd-account-home .kd-cabinet-topbar{background:rgba(17,22,37,.96)!important}
.kd-account-home .kd-account-hero,
.kd-practitioner-home .kd-account-hero{
  background:
    radial-gradient(circle at 88% 16%,rgba(185,151,85,.08),transparent 29%),
    linear-gradient(135deg,#111625,#0A0D18)!important;
}

/* Бренд, навигация, заголовки */
.kd-cabinet-brand strong{
  color:#B99755!important;
  background:none!important;
  -webkit-text-fill-color:#B99755!important;
  text-shadow:0 0 18px rgba(110,85,46,.18)!important;
}
.kd-cabinet-brand small{color:rgba(233,225,210,.62)!important}
.kd-account-home .kd-cabinet-mainnav a,
.kd-practitioner-home .kd-cabinet-mainnav a{color:rgba(233,225,210,.72)!important}
.kd-account-home .kd-cabinet-mainnav a:hover,
.kd-account-home .kd-cabinet-mainnav a.is-active,
.kd-practitioner-home .kd-cabinet-mainnav a:hover,
.kd-practitioner-home .kd-cabinet-mainnav a.is-active{color:#E9E1D2!important}
.kd-cabinet-mainnav a::after{background:#B99755!important}
.kd-account-home .kd-account-hero h2,
.kd-account-home .kd-account-section h3,
.kd-practitioner-home .kd-account-hero h2,
.kd-practitioner-home .kd-account-section h3,
.kd-practitioner-home .kd-practitioner-clients-head h3,
.kd-practitioner-home .kd-practitioner-client-card-head h3,
.kd-practitioner-home .kd-account-feature-section h3,
.kd-practitioner-home .kd-account-history-section h3,
.kd-practitioner-home .kd-account-profile-panel h3,
.kd-saved-shell .kd-saved-toolbar h2,
.kd-account-login .kd-account-heading h2{
  color:#E9E1D2!important;
  text-shadow:0 4px 22px rgba(0,0,0,.34)!important;
}
.kd-account-kicker,
.kd-history-type,
.kd-tool-card small,
.kd-summary-card small,
.kd-practitioner-home .kd-client-history-head small,
.kd-practitioner-home .kd-client-calc-actions small,
.kd-practitioner-home .kd-client-search span,
.kd-practitioner-home .kd-client-contact-grid small{
  color:#B99755!important;
}
.kd-section-link,.kd-account-links a,.kd-account-link-button,
.kd-practitioner-home .kd-account-link-button{color:#B99755!important}
.kd-section-link:hover,.kd-account-links a:hover,.kd-account-link-button:hover{color:#E9E1D2!important}

/* Служебные карточки портала — тёмный бархат, как на основном сайте */
.kd-account-home .kd-summary-card,
.kd-account-home .kd-tool-card,
.kd-account-home .kd-history-row,
.kd-account-home .kd-brand-logo-row,
.kd-account-home .kd-account-card,
.kd-account-login .kd-account-card,
.kd-practitioner-home .kd-summary-card,
.kd-practitioner-home .kd-tool-card,
.kd-practitioner-home .kd-history-row,
.kd-practitioner-home .kd-brand-logo-row,
.kd-practitioner-home .kd-account-card,
.kd-practitioner-home .kd-practitioner-package-card{
  background:linear-gradient(145deg,#161C2D,#111625)!important;
  border:1px solid rgba(124,99,56,.56)!important;
  color:#E9E1D2!important;
  box-shadow:0 14px 32px rgba(0,0,0,.20),inset 0 1px 0 rgba(233,225,210,.025)!important;
}
.kd-account-home .kd-summary-card:hover,
.kd-account-home .kd-tool-card.is-open:hover,
.kd-account-home .kd-history-row:hover,
.kd-practitioner-home .kd-summary-card:hover,
.kd-practitioner-home .kd-tool-card.is-open:hover,
.kd-practitioner-home .kd-history-row:hover{
  background:linear-gradient(145deg,#1A2134,#161C2D)!important;
  border-color:#B99755!important;
  box-shadow:0 17px 36px rgba(0,0,0,.24),0 0 22px rgba(110,85,46,.13)!important;
}
.kd-account-home .kd-summary-card strong,
.kd-account-home .kd-tool-card h4,
.kd-account-home .kd-history-row h4,
.kd-account-home .kd-brand-logo-copy h4,
.kd-account-login .kd-account-card h3,
.kd-practitioner-home .kd-summary-card strong,
.kd-practitioner-home .kd-tool-card h4,
.kd-practitioner-home .kd-history-row h4,
.kd-practitioner-home .kd-brand-logo-copy h4,
.kd-practitioner-home .kd-practitioner-package-card h4{
  color:#E9E1D2!important;
}
.kd-account-home .kd-summary-card p,
.kd-account-home .kd-tool-card p,
.kd-account-home .kd-history-row time,
.kd-account-home .kd-brand-help,
.kd-account-login .kd-account-card p,
.kd-account-login .kd-account-card label,
.kd-practitioner-home .kd-summary-card p,
.kd-practitioner-home .kd-tool-card p,
.kd-practitioner-home .kd-history-row time,
.kd-practitioner-home .kd-brand-help,
.kd-practitioner-home .kd-practitioner-package-card>p{
  color:rgba(233,225,210,.70)!important;
}
.kd-account-home .kd-tool-arrow,.kd-account-home .kd-tool-state,
.kd-practitioner-home .kd-tool-arrow,.kd-practitioner-home .kd-tool-state,
.kd-practitioner-home .kd-practitioner-package-card>small,
.kd-practitioner-home .kd-practitioner-package-card>strong{color:#B99755!important}

/* Кнопки — старинное золото без рыже-медного ухода */
.kd-account-shell .kd-account-button,
.kd-practitioner-home .kd-account-button:not(.kd-account-button-secondary):not(.kd-account-button-muted),
.kd-account-home .kd-account-practitioner-cta,
.kd-account-practitioner-button{
  border-color:#7C6338!important;
  background:linear-gradient(180deg,#B99755 0%,#9C7D47 56%,#7C6338 100%)!important;
  color:#0A0D18!important;
  box-shadow:0 10px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(233,225,210,.24)!important;
}
.kd-account-shell .kd-account-button:hover,
.kd-practitioner-home .kd-account-button:hover,
.kd-account-home .kd-account-practitioner-cta:hover,
.kd-account-practitioner-button:hover{
  filter:none!important;
  border-color:#B99755!important;
  background:linear-gradient(180deg,#D0BA8D,#B99755)!important;
  box-shadow:0 13px 28px rgba(0,0,0,.28),0 0 20px rgba(110,85,46,.16)!important;
}
.kd-account-shell .kd-account-button-secondary,
.kd-account-shell .kd-account-button-muted,
.kd-practitioner-home .kd-account-button-secondary,
.kd-practitioner-home .kd-account-button-muted{
  border-color:rgba(124,99,56,.72)!important;
  background:#111625!important;
  color:#E9E1D2!important;
}
.kd-account-shell .kd-account-button-secondary:hover,
.kd-account-shell .kd-account-button-muted:hover{
  border-color:#B99755!important;
  background:#161C2D!important;
  color:#E9E1D2!important;
}

/* Формы портала (не формы/карточки внутри самих расчётов) */
.kd-account-card input[type=text],
.kd-account-card input[type=password],
.kd-account-card input[type=email],
.kd-account-card input[type=url],
.kd-owner-data-grid input,
.kd-brand-grid input,
.kd-practitioner-home .kd-client-search input,
.kd-practitioner-home .kd-practitioner-client-form input,
.kd-practitioner-home .kd-practitioner-client-form textarea{
  border-color:rgba(124,99,56,.70)!important;
  background:#0A0D18!important;
  color:#E9E1D2!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.22)!important;
}
.kd-account-card input:focus,
.kd-owner-data-grid input:focus,
.kd-brand-grid input:focus,
.kd-practitioner-home .kd-client-search input:focus,
.kd-practitioner-home .kd-practitioner-client-form input:focus,
.kd-practitioner-home .kd-practitioner-client-form textarea:focus{
  border-color:#B99755!important;
  box-shadow:0 0 0 3px rgba(185,151,85,.10)!important;
}
.kd-brand-grid label,.kd-owner-data-grid label,
.kd-practitioner-home .kd-practitioner-client-form label{color:rgba(233,225,210,.72)!important}

/* Клиентская база практика и рабочие элементы */
.kd-practitioner-home .kd-client-contact-grid>div,
.kd-practitioner-home .kd-client-calc-actions,
.kd-practitioner-home .kd-client-history-list a,
.kd-practitioner-home .kd-practitioner-client-row,
.kd-practitioner-home .kd-client-add-panel,
.kd-practitioner-home .kd-practitioner-upgrade-offer,
.kd-practitioner-home .kd-practitioner-client-empty,
.kd-practitioner-home .kd-brand-cover-row,
.kd-practitioner-home .kd-brand-cover-preview{
  background:#161C2D!important;
  border-color:rgba(124,99,56,.52)!important;
}
.kd-practitioner-home .kd-client-contact-grid strong,
.kd-practitioner-home .kd-client-row-copy h4,
.kd-practitioner-home .kd-client-history-list a strong,
.kd-practitioner-home .kd-client-add-panel>summary strong,
.kd-practitioner-home .kd-client-add-plus,
.kd-practitioner-home .kd-brand-cover-copy h4,
.kd-practitioner-home .kd-practitioner-upgrade-offer strong{
  color:#E9E1D2!important;
}
.kd-practitioner-home .kd-client-history-list a time,
.kd-practitioner-home .kd-client-add-panel>summary small,
.kd-practitioner-home .kd-client-row-copy p,
.kd-practitioner-home .kd-brand-cover-copy>p,
.kd-practitioner-home .kd-practitioner-upgrade-offer span{
  color:rgba(233,225,210,.68)!important;
}
.kd-practitioner-home .kd-practitioner-client-row:hover,
.kd-practitioner-home .kd-practitioner-client-row.is-selected,
.kd-practitioner-home .kd-client-history-list a:hover{
  background:#111625!important;
  border-color:#B99755!important;
}
.kd-practitioner-home .kd-client-avatar,
.kd-practitioner-home .kd-account-section-count{
  border-color:rgba(185,151,85,.56)!important;
  background:radial-gradient(circle,rgba(185,151,85,.12),#111625 72%)!important;
  color:#B99755!important;
}
.kd-practitioner-home .kd-practitioner-credit-section,
.kd-account-home .kd-practitioner-upgrade-card,
.kd-practitioner-upgrade-card{
  background:linear-gradient(145deg,#111625,#0A0D18)!important;
  border-color:rgba(124,99,56,.58)!important;
}
.kd-practitioner-home .kd-practitioner-credit-head h3,
.kd-account-home .kd-practitioner-upgrade-card h3,
.kd-practitioner-upgrade-card h3{color:#E9E1D2!important}
.kd-practitioner-home .kd-practitioner-credit-head p,
.kd-account-home .kd-practitioner-upgrade-card p,
.kd-practitioner-upgrade-card p{color:rgba(233,225,210,.72)!important}

/* Нейтральные сообщения портала. Данные самих расчётов ниже не переопределяются. */
.kd-account-notice,
.kd-account-empty,
.kd-practitioner-home .kd-account-notice,
.kd-practitioner-home .kd-account-empty:not(.kd-practitioner-client-empty){
  border-color:rgba(124,99,56,.58)!important;
  background:#161C2D!important;
  color:#E9E1D2!important;
}
.kd-account-empty strong,
.kd-practitioner-home .kd-account-notice,
.kd-practitioner-home .kd-account-empty:not(.kd-practitioner-client-empty){color:#E9E1D2!important}
.kd-account-notice small,.kd-account-empty small{color:rgba(233,225,210,.66)!important}

/* Блок входа практика */
.kd-account-practitioner-entry h3{color:#E9E1D2!important}
.kd-account-practitioner-entry p{color:rgba(233,225,210,.72)!important}
.kd-account-practitioner-entry .kd-account-kicker{color:#B99755!important}

/* Логотип/загрузка бренда — это интерфейс портала, не оформление PDF. */
.kd-brand-logo-preview,.kd-brand-file-label,.kd-brand-state,
.kd-practitioner-home .kd-brand-cover-placeholder{
  border-color:rgba(124,99,56,.58)!important;
  background:#161C2D!important;
  color:#E9E1D2!important;
}
.kd-brand-logo-preview small,.kd-practitioner-home .kd-brand-cover-placeholder small{color:rgba(233,225,210,.64)!important}
.kd-practitioner-home .kd-brand-cover-placeholder span{color:#B99755!important}
.kd-practitioner-home .kd-brand-upload-explain,
.kd-practitioner-home .kd-brand-upload-actions{
  border-color:rgba(124,99,56,.50)!important;
  background:rgba(110,85,46,.10)!important;
  color:#E9E1D2!important;
}
.kd-practitioner-home .kd-brand-file-status,
.kd-practitioner-home .kd-brand-upload-actions span{color:rgba(233,225,210,.66)!important}

/* Сохраняем мобильный космический фон без fixed. */
@media(max-width:760px){
  body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background-attachment:scroll!important}
}

/* 2.4.83 — доводка профессионального интерфейса до той же палитры. */
.kd-practitioner-home .kd-practitioner-client-form,
.kd-practitioner-home .kd-practitioner-client-form-collapsed,
.kd-practitioner-home .kd-practitioner-child-policy{
  background:#161C2D!important;
  border-color:rgba(124,99,56,.56)!important;
  color:#E9E1D2!important;
}
.kd-practitioner-home .kd-client-form-title strong,
.kd-practitioner-home .kd-practitioner-child-policy strong{color:#E9E1D2!important}
.kd-practitioner-home .kd-client-form-title small,
.kd-practitioner-home .kd-practitioner-child-policy span{color:rgba(233,225,210,.68)!important}
.kd-practitioner-home .kd-practitioner-child-policy small{color:#B99755!important}
.kd-practitioner-home .kd-practitioner-child-policy>b{
  background:#0A0D18!important;
  border:1px solid rgba(124,99,56,.56)!important;
  color:#B99755!important;
}
.kd-practitioner-home .kd-summary-card .kd-icon{
  background-color:#111625!important;
  box-shadow:inset 0 0 0 1px rgba(124,99,56,.42)!important;
}
.kd-practitioner-home .kd-practitioner-package-disabled{
  border-color:rgba(124,99,56,.54)!important;
  color:rgba(233,225,210,.66)!important;
  background:#0A0D18!important;
}
.kd-practitioner-home .kd-brand-test-note{color:rgba(233,225,210,.62)!important}

/* 2.4.84 — сохранённая карта: служебная панель 52-дневных периодов в палитре основного сайта.
   Сам светлый персональный расчёт ниже не затрагивается. */
.kd-saved-shell .kd-saved-forecast-panel,
.kd-saved-shell .kd-year-period-panel{
  border:1px solid rgba(124,99,56,.66)!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(185,151,85,.08),transparent 30%),
    linear-gradient(145deg,#161C2D 0%,#111625 58%,#0A0D18 100%)!important;
  color:#E9E1D2!important;
  box-shadow:0 18px 42px rgba(0,0,0,.30),inset 0 1px 0 rgba(233,225,210,.025)!important;
}
.kd-saved-shell .kd-saved-forecast-panel .kd-account-kicker,
.kd-saved-shell .kd-year-period-panel .kd-account-kicker{
  color:#B99755!important;
}
.kd-saved-shell .kd-saved-forecast-head h3,
.kd-saved-shell .kd-saved-forecast-result-title h4{
  color:#E9E1D2!important;
  text-shadow:0 3px 18px rgba(0,0,0,.28)!important;
}
.kd-saved-shell .kd-saved-forecast-price{
  color:#B99755!important;
}
.kd-saved-shell .kd-saved-forecast-head p,
.kd-saved-shell .kd-saved-forecast-history,
.kd-saved-shell .kd-year-period-bundle p{
  color:rgba(233,225,210,.72)!important;
}
.kd-saved-shell .kd-year-period-bundle{
  border-top-color:rgba(124,99,56,.48)!important;
}
.kd-saved-shell .kd-year-period-bundle strong{
  color:#E9E1D2!important;
}
.kd-saved-shell .kd-year-period-opened{
  color:#B99755!important;
}
.kd-saved-shell .kd-saved-forecast-buy,
.kd-saved-shell .kd-saved-forecast-history{
  border-top-color:rgba(124,99,56,.42)!important;
}
.kd-saved-shell .kd-saved-forecast-history a{
  color:#B99755!important;
  border-color:rgba(124,99,56,.58)!important;
  background:#111625!important;
}
.kd-saved-shell .kd-saved-forecast-history a:hover,
.kd-saved-shell .kd-saved-forecast-history a.is-active{
  color:#E9E1D2!important;
  border-color:#B99755!important;
  background:#161C2D!important;
}
.kd-saved-shell .kd-year-period-panel .kd-account-notice{
  border-color:rgba(124,99,56,.58)!important;
  background:#0A0D18!important;
  color:#E9E1D2!important;
}


/* 2.4.86 — типографика портала как на основном сайте: Cormorant + Manrope. */
.kd-account-shell button,.kd-account-shell input,.kd-account-shell select,.kd-account-shell textarea{font-family:"Manrope",Arial,sans-serif}
.kd-account-shell .kd-account-button,.kd-account-shell .kd-cabinet-mainnav,.kd-account-shell .kd-history-actions,.kd-account-shell .kd-tool-card small,.kd-account-shell .kd-summary-card small{font-family:"Manrope",Arial,sans-serif}


/* 2.4.87 — не даём тёмной палитре кабинета осветлять текст внутри светлых карточек расчёта. */
.kd-account-shell .kd-result .kd-section-lockcopy p{
  color:#5f5044!important;
}


/* 2.4.90 — возвращаем насыщенную подложку и убираем тяжесть чёрного контейнера. */
body:has(.kd-account-shell){
  background-color:#0A0D18!important;
}
body:has(.kd-account-shell)::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    url("../images/portal-atmosphere-bg.png") center top / cover fixed no-repeat,
    #0A0D18;
  opacity:.90;
}
body:has(.kd-account-shell)::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 12%, rgba(185,151,85,.12) 0%, rgba(185,151,85,.05) 16%, rgba(10,13,24,0) 34%),
    radial-gradient(circle at 50% 18%, rgba(28,58,108,.18) 0%, rgba(16,33,63,.10) 24%, rgba(10,13,24,0) 52%),
    radial-gradient(circle at 50% 82%, rgba(10,20,40,.18) 0%, rgba(10,13,24,0) 34%),
    linear-gradient(180deg, rgba(5,8,16,.26) 0%, rgba(7,10,18,.38) 24%, rgba(10,13,24,.58) 100%);
}
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main{
  background:transparent!important;
}
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main,
body:has(.kd-account-shell) .entry-content,
body:has(.kd-account-shell) .wp-site-blocks{
  background-color:transparent!important;
}

.kd-account-shell{
  width:min(1280px,calc(100% - 28px));
  margin:28px auto 58px;
  padding:30px;
  border-radius:40px;
  border:1px solid rgba(124,99,56,.22);
  background:
    linear-gradient(180deg, rgba(10,15,27,.42) 0%, rgba(10,16,28,.34) 52%, rgba(11,17,29,.30) 100%),
    radial-gradient(circle at 50% 4%, rgba(185,151,85,.08) 0%, rgba(185,151,85,0) 24%),
    radial-gradient(circle at 50% 16%, rgba(24,50,92,.12) 0%, rgba(18,34,63,0) 40%),
    rgba(10,15,27,.20);
  box-shadow:
    0 30px 80px rgba(0,0,0,.22),
    0 12px 30px rgba(11,26,52,.12),
    0 0 24px rgba(185,151,85,.035),
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 0 0 1px rgba(255,255,255,.01),
    inset 0 0 52px rgba(16,41,80,.10),
    inset 0 0 26px rgba(185,151,85,.025);
  backdrop-filter:blur(10px) saturate(112%);
  -webkit-backdrop-filter:blur(10px) saturate(112%);
}
.kd-account-home.kd-account-shell,
.kd-account-login.kd-account-shell,
.kd-saved-shell.kd-account-shell{
  background-color:rgba(10,15,27,.20)!important;
}
.kd-account-shell::before{
  background:
    radial-gradient(circle at 50% 8%, rgba(185,151,85,.06) 0%, rgba(185,151,85,0) 24%),
    radial-gradient(circle at 50% 20%, rgba(38,77,138,.08) 0%, rgba(16,31,56,0) 40%),
    linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,0) 14%),
    url("../images/account-grain.svg") repeat;
  opacity:.42;
  mix-blend-mode:screen;
}
.kd-account-shell::after{
  inset:10px;
  border-radius:31px;
  border:1px solid rgba(124,99,56,.12)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.010), inset 0 0 28px rgba(8,16,31,.08);
}

.kd-antique-panel,
.kd-account-section{
  border-radius:28px;
  border:1px solid rgba(124,99,56,.26)!important;
  background:
    linear-gradient(180deg, rgba(18,24,40,.56) 0%, rgba(12,17,31,.48) 100%),
    radial-gradient(circle at 50% 0%, rgba(185,151,85,.06) 0%, rgba(185,151,85,0) 38%),
    rgba(17,22,37,.30)!important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.14),
    0 3px 18px rgba(12,21,42,.12),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 0 24px rgba(185,151,85,.018)!important;
  backdrop-filter:blur(7px) saturate(112%);
  -webkit-backdrop-filter:blur(7px) saturate(112%);
}
.kd-antique-panel::after,
.kd-account-section::after{opacity:.52}

.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card,
.kd-practitioner-home .kd-practitioner-client-form,
.kd-practitioner-home .kd-practitioner-client-form-collapsed,
.kd-practitioner-home .kd-practitioner-child-policy{
  border-radius:24px;
  border:1px solid rgba(124,99,56,.22)!important;
  background:
    linear-gradient(180deg, rgba(20,27,44,.48) 0%, rgba(14,20,34,.38) 100%),
    radial-gradient(circle at 50% 0%, rgba(185,151,85,.05) 0%, rgba(185,151,85,0) 36%),
    rgba(17,22,37,.24)!important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.10),
    0 8px 18px rgba(12,21,42,.10),
    inset 0 1px 0 rgba(255,255,255,.03),
    inset 0 0 16px rgba(185,151,85,.014)!important;
  backdrop-filter:blur(6px) saturate(110%);
  -webkit-backdrop-filter:blur(6px) saturate(110%);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.kd-summary-card::after,
.kd-tool-card::after,
.kd-history-row::after,
.kd-brand-logo-row::after,
.kd-account-card::after{opacity:.44}

.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card,
.kd-practitioner-home .kd-practitioner-client-form,
.kd-practitioner-home .kd-practitioner-client-form-collapsed,
.kd-practitioner-home .kd-practitioner-child-policy{
  padding:22px 24px;
}
.kd-summary-card:hover,
.kd-tool-card:hover,
.kd-history-row:hover,
.kd-brand-logo-row:hover,
.kd-account-card:hover,
.kd-practitioner-home .kd-practitioner-client-form:hover,
.kd-practitioner-home .kd-practitioner-client-form-collapsed:hover,
.kd-practitioner-home .kd-practitioner-child-policy:hover{
  transform:translateY(-3px);
  border-color:rgba(185,151,85,.34)!important;
  box-shadow:
    0 22px 40px rgba(0,0,0,.20),
    0 10px 24px rgba(12,21,42,.16),
    0 0 22px rgba(185,151,85,.06),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 0 18px rgba(185,151,85,.018)!important;
}
.kd-tool-card.is-open:hover{
  transform:translateY(-4px)!important;
}
.kd-account-section{padding:32px 34px}
.kd-account-hero{padding:40px 44px;border-radius:30px;overflow:hidden}
.kd-account-hero::before{opacity:.18}

.kd-saved-shell .kd-saved-forecast-panel,
.kd-saved-shell .kd-year-period-panel{
  border-color:rgba(124,99,56,.34)!important;
  background:
    linear-gradient(180deg, rgba(18,24,40,.64) 0%, rgba(12,17,31,.56) 100%),
    radial-gradient(circle at 50% 0%, rgba(185,151,85,.07) 0%, rgba(185,151,85,0) 40%),
    rgba(17,22,37,.56)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.03)!important;
}

.kd-account-shell .kd-account-button{
  box-shadow:0 14px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.34), 0 0 0 1px rgba(255,255,255,.02)!important;
}
.kd-account-shell .kd-account-button-secondary,
.kd-account-shell .kd-account-button-muted{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)), rgba(14,20,33,.78)!important;
}

.kd-account-shell .kd-result .kd-section-lockcopy p{color:#5f5044!important}

@media(max-width:760px){
  body:has(.kd-account-shell),body:has(.kd-account-shell) .site,body:has(.kd-account-shell) .site-main,body:has(.kd-account-shell) main{background-attachment:scroll!important}
  .kd-account-shell{width:calc(100% - 16px);padding:12px;margin:12px auto 30px;border-radius:26px}
  .kd-account-shell::after{inset:8px;border-radius:20px}
  .kd-account-section,.kd-antique-panel{padding:24px 20px;border-radius:22px}
  .kd-summary-card,.kd-tool-card,.kd-history-row,.kd-brand-logo-row,.kd-account-card{padding:18px;border-radius:20px}
  .kd-account-hero{padding:28px 22px;border-radius:24px}
}


/* 2.4.91 — единая подложка по всему порталу, opacity 100%, без локальных расхождений. */
body:has(.kd-account-shell){
  background-color:#0A0D18!important;
}
body:has(.kd-account-shell)::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-2!important;
  pointer-events:none!important;
  background:url("../images/portal-atmosphere-bg.png") center top / cover fixed no-repeat, #0A0D18!important;
  opacity:1!important;
}
body:has(.kd-account-shell)::after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 50% 12%, rgba(185,151,85,.10) 0%, rgba(185,151,85,.04) 15%, rgba(10,13,24,0) 34%),
    radial-gradient(circle at 50% 18%, rgba(28,58,108,.14) 0%, rgba(16,33,63,.08) 24%, rgba(10,13,24,0) 54%),
    linear-gradient(180deg, rgba(5,8,16,.16) 0%, rgba(7,10,18,.26) 26%, rgba(10,13,24,.44) 100%)!important;
}
body:has(.kd-account-shell),
body:has(.kd-account-shell) .site,
body:has(.kd-account-shell) .site-main,
body:has(.kd-account-shell) main,
body:has(.kd-account-shell) .entry-content,
body:has(.kd-account-shell) .wp-site-blocks{
  background:transparent!important;
  background-color:transparent!important;
}

.kd-account-shell,
.kd-account-home.kd-account-shell,
.kd-account-login.kd-account-shell,
.kd-saved-shell.kd-account-shell,
.kd-practitioner-home.kd-account-shell{
  background:
    linear-gradient(180deg, rgba(10,15,27,.34) 0%, rgba(10,16,28,.28) 52%, rgba(11,17,29,.24) 100%),
    radial-gradient(circle at 50% 4%, rgba(185,151,85,.06) 0%, rgba(185,151,85,0) 24%),
    radial-gradient(circle at 50% 16%, rgba(24,50,92,.10) 0%, rgba(18,34,63,0) 40%),
    rgba(10,15,27,.18)!important;
  border:1px solid rgba(124,99,56,.18)!important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.18),
    0 10px 26px rgba(11,26,52,.10),
    0 0 18px rgba(185,151,85,.03),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 0 0 1px rgba(255,255,255,.008),
    inset 0 0 42px rgba(16,41,80,.08)!important;
  backdrop-filter:blur(10px) saturate(110%)!important;
  -webkit-backdrop-filter:blur(10px) saturate(110%)!important;
}
.kd-account-shell::before{
  opacity:.34!important;
}
.kd-account-shell::after{
  border-color:rgba(124,99,56,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.008), inset 0 0 24px rgba(8,16,31,.06)!important;
}

/* Единая визуальная среда для всех внутренних вкладок и калькуляторных экранов портала. */
.kd-cabinet-topbar,
.kd-account-hero,
.kd-account-section,
.kd-saved-toolbar,
.kd-saved-result,
.kd-saved-forecast-panel,
.kd-year-period-panel,
.kd-account-login-panel,
.kd-account-login-aside,
.kd-practitioner-home .kd-account-section,
.kd-practitioner-home .kd-cabinet-topbar{
  background:linear-gradient(145deg, rgba(10,18,33,.68), rgba(12,22,40,.56))!important;
  border:1px solid rgba(124,99,56,.22)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.03)!important;
}

.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card,
.kd-calculator-card,
.kd-calculator-preview-pay,
.kd-saved-shell .kd-year-period-bundle,
.kd-saved-shell .kd-year-period-opened,
.kd-saved-shell .kd-account-notice{
  background:linear-gradient(145deg, rgba(17,22,37,.32), rgba(14,19,31,.24))!important;
  border-color:rgba(124,99,56,.18)!important;
}


/* 2.4.95 — убираем могильную плиту: shell только для layout, не для визуала */
body:has(.kd-account-shell) .entry-content,
body:has(.kd-account-shell) .wp-block-post-content,
body:has(.kd-account-shell) article,
body:has(.kd-account-shell) .inside-article,
body:has(.kd-account-shell) .post,
body:has(.kd-account-shell) .page{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}

.kd-account-shell.kd-account-home,
.kd-account-shell.kd-account-login,
.kd-account-shell.kd-saved-shell,
.kd-account-shell.kd-practitioner-home{
  width:min(1260px,calc(100% - 30px)) !important;
  margin:30px auto 56px !important;
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}

.kd-account-shell.kd-account-home::before,
.kd-account-shell.kd-account-home::after,
.kd-account-shell.kd-account-login::before,
.kd-account-shell.kd-account-login::after,
.kd-account-shell.kd-saved-shell::before,
.kd-account-shell.kd-saved-shell::after,
.kd-account-shell.kd-practitioner-home::before,
.kd-account-shell.kd-practitioner-home::after{
  content:none !important;
  display:none !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Внутренние панели оставляем, но они теперь висят на фоне, а не сидят на плите */
.kd-account-home > .kd-cabinet-topbar,
.kd-practitioner-home > .kd-cabinet-topbar{
  margin:0 0 16px !important;
}
.kd-account-home > .kd-account-hero,
.kd-practitioner-home > .kd-account-hero{
  margin:0 0 18px !important;
}
.kd-account-home > .kd-summary-grid,
.kd-practitioner-home > .kd-summary-grid{
  margin:0 0 18px !important;
}
.kd-account-home > .kd-account-section,
.kd-practitioner-home > .kd-account-section,
.kd-saved-shell > .kd-saved-toolbar,
.kd-saved-shell > .kd-saved-result,
.kd-saved-shell > .kd-saved-actions{
  margin:0 0 18px !important;
}

@media (max-width: 900px){
  .kd-account-shell.kd-account-home,
  .kd-account-shell.kd-account-login,
  .kd-account-shell.kd-saved-shell,
  .kd-account-shell.kd-practitioner-home{
    width:calc(100% - 16px) !important;
    margin:10px auto 28px !important;
    padding:0 !important;
  }
  .kd-account-home > .kd-cabinet-topbar,
  .kd-account-home > .kd-account-hero,
  .kd-account-home > .kd-summary-grid,
  .kd-account-home > .kd-account-section,
  .kd-practitioner-home > .kd-cabinet-topbar,
  .kd-practitioner-home > .kd-account-hero,
  .kd-practitioner-home > .kd-summary-grid,
  .kd-practitioner-home > .kd-account-section{
    margin-bottom:14px !important;
  }
}


/* 2.4.96 — карточки парят в воздухе */
.kd-summary-card,
.kd-tool-card,
.kd-history-row,
.kd-brand-logo-row,
.kd-account-card,
.kd-practitioner-home .kd-practitioner-client-form,
.kd-practitioner-home .kd-practitioner-client-form-collapsed,
.kd-practitioner-home .kd-practitioner-child-policy{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(185,151,85,.26)!important;
  background:
    radial-gradient(circle at 18% 14%, rgba(222,193,134,.10) 0%, rgba(222,193,134,0) 24%),
    radial-gradient(circle at 84% 16%, rgba(84,132,199,.12) 0%, rgba(84,132,199,0) 28%),
    linear-gradient(180deg, rgba(23,31,52,.66) 0%, rgba(15,21,37,.50) 100%),
    rgba(17,22,37,.24)!important;
  box-shadow:
    0 16px 30px rgba(4,8,18,.18),
    0 28px 56px rgba(2,6,16,.22),
    0 0 0 1px rgba(255,255,255,.014),
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 0 24px rgba(192,161,104,.02)!important;
  backdrop-filter:blur(8px) saturate(118%);
  -webkit-backdrop-filter:blur(8px) saturate(118%);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.kd-summary-card::before,
.kd-tool-card::before,
.kd-history-row::before,
.kd-brand-logo-row::before,
.kd-account-card::before,
.kd-practitioner-home .kd-practitioner-client-form::before,
.kd-practitioner-home .kd-practitioner-client-form-collapsed::before,
.kd-practitioner-home .kd-practitioner-child-policy::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 24%);
  opacity:.75;
}

.kd-summary-card::after,
.kd-tool-card::after,
.kd-history-row::after,
.kd-brand-logo-row::after,
.kd-account-card::after{
  opacity:.34!important;
}

.kd-summary-card:hover,
.kd-tool-card:hover,
.kd-history-row:hover,
.kd-brand-logo-row:hover,
.kd-account-card:hover,
.kd-practitioner-home .kd-practitioner-client-form:hover,
.kd-practitioner-home .kd-practitioner-client-form-collapsed:hover,
.kd-practitioner-home .kd-practitioner-child-policy:hover{
  transform:translateY(-7px);
  border-color:rgba(203,171,112,.52)!important;
  background:
    radial-gradient(circle at 18% 14%, rgba(235,205,149,.14) 0%, rgba(235,205,149,0) 28%),
    radial-gradient(circle at 84% 16%, rgba(100,148,218,.14) 0%, rgba(100,148,218,0) 32%),
    linear-gradient(180deg, rgba(25,35,58,.74) 0%, rgba(16,23,40,.60) 100%),
    rgba(17,22,37,.30)!important;
  box-shadow:
    0 18px 34px rgba(4,8,18,.22),
    0 34px 72px rgba(2,6,16,.30),
    0 0 22px rgba(185,151,85,.10),
    0 0 48px rgba(63,102,163,.10),
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 0 30px rgba(192,161,104,.03)!important;
}

.kd-summary-grid,
.kd-tool-grid,
.kd-brand-grid{
  gap:16px!important;
}

@media (max-width:760px){
  .kd-summary-card,
  .kd-tool-card,
  .kd-history-row,
  .kd-brand-logo-row,
  .kd-account-card{
    box-shadow:
      0 12px 22px rgba(4,8,18,.14),
      0 18px 34px rgba(2,6,16,.16),
      inset 0 1px 0 rgba(255,255,255,.045)!important;
  }
  .kd-summary-card:hover,
  .kd-tool-card:hover,
  .kd-history-row:hover,
  .kd-brand-logo-row:hover,
  .kd-account-card:hover{
    transform:translateY(-4px);
    box-shadow:
      0 14px 24px rgba(4,8,18,.18),
      0 22px 40px rgba(2,6,16,.20),
      0 0 18px rgba(185,151,85,.08)!important;
  }
}


/* 2.4.105 — golden logo + footer in cabinets */
.kd-cabinet-brand{gap:16px!important}
.kd-cabinet-brand img{width:94px!important;height:94px!important;filter:drop-shadow(0 12px 24px rgba(0,0,0,.44)) drop-shadow(0 0 16px rgba(217,180,92,.18))!important}
.kd-cabinet-brand strong{color:#e4bf75!important}
.kd-cabinet-brand small{color:rgba(233,225,210,.72)!important}

.kd-account-footer{margin-top:28px;padding:22px 24px;border:1px solid rgba(185,151,85,.24);border-radius:22px;background:linear-gradient(180deg,rgba(11,14,25,.82),rgba(8,10,18,.74));display:flex;justify-content:space-between;align-items:flex-start;gap:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.kd-account-footer-title{margin:0 0 8px;color:#e4bf75;font:700 24px/1.1 Georgia,serif}
.kd-account-footer-copy p{margin:0;color:rgba(233,225,210,.76);font-size:13px;line-height:1.7;max-width:760px}
.kd-account-footer-meta{margin-top:10px;color:rgba(233,225,210,.54);font-size:12px;letter-spacing:.04em}
.kd-account-footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 14px;min-width:270px}
.kd-account-footer-nav a{color:#e4bf75!important;text-decoration:none!important;font-size:13px;white-space:nowrap}
.kd-account-footer-nav a:hover{color:#f2ddb1!important}
@media(max-width:760px){.kd-cabinet-brand img{width:74px!important;height:74px!important}.kd-account-footer{flex-direction:column;padding:18px}.kd-account-footer-nav{justify-content:flex-start;min-width:0}}


/* 2.4.106 — палитра кабинетов в цветах портала; бронзовые/рыжие надписи заменены золотом и молочным. */
.kd-account-shell{
  --kd-bronze:#D9B96C!important;
  --kd-bronze-light:#E5CC85!important;
  --kd-pract-bronze-light:#E5CC85!important;
}
.kd-account-shell .kd-cabinet-brand strong,
.kd-account-shell .kd-account-kicker,
.kd-account-shell .kd-section-link,
.kd-account-shell .kd-account-links a,
.kd-account-shell .kd-account-link-button,
.kd-account-shell .kd-client-form-title small,
.kd-account-shell .kd-practitioner-credit-head h3,
.kd-account-shell .kd-brand-cover-copy h4,
.kd-account-shell .kd-brand-cover-placeholder span,
.kd-account-shell .kd-account-footer-title,
.kd-account-shell .kd-account-footer-nav a{
  color:#D9B96C!important;
}
.kd-account-shell .kd-cabinet-brand small,
.kd-account-shell .kd-cabinet-mainnav a,
.kd-account-shell .kd-account-hero p,
.kd-account-shell .kd-account-footer-copy p{
  color:#E3DBCF!important;
}
.kd-account-shell .kd-current-period-main small,
.kd-account-shell .kd-forecast-card summary small,
.kd-account-shell .kd-forecast-arcana>small,
.kd-account-shell .kd-practitioner-package-card>small,
.kd-account-shell .kd-practitioner-package-card>strong,
.kd-account-shell .kd-practitioner-child-policy small{
  color:#CDAF69!important;
}
.kd-account-shell .kd-account-practitioner-button,
.kd-account-shell .kd-practitioner-home .kd-account-button:not(.kd-account-button-muted):not(.kd-account-button-secondary){
  background:linear-gradient(180deg,#EBD68B 0%,#D3B25D 58%,#B9933D 100%)!important;
  color:#0B1B30!important;
  border-color:rgba(229,203,124,.72)!important;
}
.kd-account-shell .kd-summary-card p,
.kd-account-shell .kd-tool-card p,
.kd-account-shell .kd-history-row time,
.kd-account-shell .kd-brand-help,
.kd-account-shell .kd-account-card p,
.kd-account-shell .kd-account-card label{
  color:#6B7788!important;
}
.kd-account-shell .kd-client-form-title strong,
.kd-account-shell .kd-practitioner-package-card h4,
.kd-account-shell .kd-brand-logo-copy h4{
  color:#17263B!important;
}
.kd-account-footer-meta{color:rgba(227,219,207,.60)!important}


/* 2.4.107 — portal pages own the viewport: hide WordPress theme chrome only around account pages. */
body:has(.kd-account-shell) .site-header,
body:has(.kd-account-shell) .site-footer,
body:has(.kd-account-shell) header.wp-block-template-part,
body:has(.kd-account-shell) footer.wp-block-template-part,
body:has(.kd-account-shell) .wp-site-blocks > header,
body:has(.kd-account-shell) .wp-site-blocks > footer,
body:has(.kd-account-shell) .page-header,
body:has(.kd-account-shell) .page-title,
body:has(.kd-account-shell) .entry-header,
body:has(.kd-account-shell) .entry-title,
body:has(.kd-account-shell) .wp-block-post-title,
body:has(.kd-account-shell) .wp-block-query-title,
body:has(.kd-account-shell) .breadcrumbs,
body:has(.kd-account-shell) .breadcrumb,
body:has(.kd-account-shell) .yoast-breadcrumb{
  display:none!important;
}
body:has(.kd-account-shell) .site-content,
body:has(.kd-account-shell) .content-area,
body:has(.kd-account-shell) .entry-content,
body:has(.kd-account-shell) .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body:has(.kd-account-shell) main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-top:0!important;
}


/* 2.4.108 — вся клиентская авторизация внутри портала, без служебных экранов WordPress. */
.kd-account-login .kd-account-heading{
  background:linear-gradient(145deg,rgba(10,18,33,.56),rgba(12,22,40,.42))!important;
  border:1px solid rgba(217,185,108,.22)!important;
  border-radius:24px!important;
  padding:22px 28px!important;
  box-shadow:0 14px 34px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.kd-account-login .kd-account-heading .kd-account-symbol{
  width:112px!important;height:112px!important;flex:0 0 112px!important;
  background-image:url('../images/brand-mark-gold.png')!important;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.35)) drop-shadow(0 0 15px rgba(217,185,108,.14))!important;
}
.kd-account-login .kd-account-heading h2{color:#F1EADF!important;margin:4px 0 6px!important}
.kd-account-login .kd-account-heading p{color:#D8D0C4!important;margin:0!important}
.kd-account-login .kd-account-kicker{color:#D9B96C!important}
.kd-auth-single-grid{grid-template-columns:minmax(0,760px)!important;justify-content:center}
.kd-auth-form-card{padding:30px!important}
.kd-auth-form{position:relative;z-index:2}
.kd-auth-form label{display:block!important;margin:0 0 16px!important;color:#D8D0C4!important;font-size:14px!important;font-weight:600!important}
.kd-auth-form input[type=text],
.kd-auth-form input[type=email],
.kd-auth-form input[type=password]{
  width:100%!important;margin-top:8px!important;padding:14px 15px!important;
  border:1px solid rgba(217,185,108,.42)!important;border-radius:13px!important;
  background:rgba(7,13,25,.82)!important;color:#F5F0E7!important;
  box-shadow:inset 0 1px 7px rgba(0,0,0,.34)!important;
}
.kd-auth-form input[type=text]:focus,
.kd-auth-form input[type=email]:focus,
.kd-auth-form input[type=password]:focus{
  outline:none!important;border-color:#D9B96C!important;
  box-shadow:0 0 0 3px rgba(217,185,108,.10),inset 0 1px 7px rgba(0,0,0,.30)!important;
}
.kd-auth-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.kd-auth-remember,.kd-auth-consent{display:flex!important;align-items:flex-start!important;gap:10px!important;color:#D8D0C4!important;font-weight:400!important}
.kd-auth-remember input[type=checkbox],.kd-auth-consent input[type=checkbox]{width:17px!important;height:17px!important;flex:0 0 17px!important;margin:2px 0 0!important;accent-color:#D9B96C!important}
.kd-auth-consent span{line-height:1.5}
.kd-auth-consent a,.kd-auth-back-link a{color:#D9B96C!important;text-decoration:none!important}
.kd-auth-consent a:hover,.kd-auth-back-link a:hover{color:#F0D995!important}
.kd-auth-form .kd-account-button{margin-top:4px!important;min-width:180px!important}
.kd-auth-notice{margin:18px 0 0;padding:14px 17px;border-radius:14px;font-size:14px;line-height:1.55;background:rgba(13,21,36,.82);border:1px solid rgba(217,185,108,.28);color:#E5DED2}
.kd-auth-notice.is-success{border-color:rgba(159,190,136,.48);background:rgba(26,47,34,.62);color:#DBE9D4}
.kd-auth-notice.is-error{border-color:rgba(202,119,119,.52);background:rgba(55,24,28,.58);color:#F0D3D3}
.kd-account-login .kd-account-card h3{color:#F1EADF!important}
.kd-account-login .kd-account-card p,.kd-account-login .kd-account-card label{color:#D8D0C4!important}
.kd-account-login .kd-account-links{margin:18px 0 0!important}
.kd-account-login .kd-account-links a{color:#D9B96C!important}
.kd-auth-footer{margin-top:18px!important}
@media(max-width:760px){
  .kd-account-login .kd-account-heading{padding:18px!important;align-items:flex-start!important}
  .kd-account-login .kd-account-heading .kd-account-symbol{width:78px!important;height:78px!important;flex-basis:78px!important}
  .kd-account-login .kd-account-heading h2{font-size:34px!important}
  .kd-auth-two-cols{grid-template-columns:1fr}
  .kd-auth-form-card{padding:20px!important}
}


/* 2.4.109 — email-only auth */
.kd-auth-field-note{margin:-4px 0 14px!important;color:rgba(233,225,210,.62)!important;font-size:12px!important;line-height:1.5!important}


/* 2.4.111 — понятный маршрут PRO-доступа */
.kd-auth-notice.is-info{border-color:rgba(214,185,110,.38)!important;background:rgba(214,185,110,.08)!important;color:#eee4d1!important}
.kd-auth-practitioner-note strong{color:#e4bf75!important}
.kd-practitioner-entry-note{margin-top:8px!important;color:rgba(233,225,210,.62)!important;font-size:13px!important}
.kd-practitioner-entry-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:190px}
.kd-practitioner-entry-actions .kd-account-link-button{color:#e4bf75!important;text-decoration:none!important;font-size:13px}
.kd-practitioner-not-eligible{margin-top:18px;padding:18px 20px;border:1px solid rgba(185,151,85,.26);border-radius:16px;background:rgba(11,14,25,.58)}
.kd-practitioner-not-eligible>strong{display:block;margin-bottom:7px;color:#e4bf75;font-size:16px}
.kd-practitioner-not-eligible p{margin:0;color:rgba(233,225,210,.76);line-height:1.65}
.kd-practitioner-not-eligible-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.kd-practitioner-not-eligible-actions .kd-account-button{display:inline-flex;width:auto}
@media(max-width:760px){.kd-practitioner-entry-actions{align-items:stretch;width:100%;min-width:0}.kd-practitioner-entry-actions .kd-account-button{text-align:center}.kd-practitioner-not-eligible-actions .kd-account-button{width:100%;justify-content:center}}


/* 2.4.114 — читаемость карточек пополнения PRO */
.kd-account-shell.kd-practitioner-home .kd-practitioner-package-card h4{
  color:#E9E1D2!important;
}


/* 2.4.115 — first-time client flow: daily forecast first, profile next, PRO lower */
.kd-account-home .kd-daily-forecast-empty{padding:22px!important;border:1px solid rgba(185,151,85,.34)!important;background:linear-gradient(145deg,rgba(15,20,35,.78),rgba(10,15,27,.68))!important}
.kd-account-home .kd-daily-forecast-empty strong{font-family:"Cormorant Garamond",Georgia,serif!important;font-size:24px!important;line-height:1.18!important;color:#E9E1D2!important}
.kd-account-home .kd-daily-forecast-empty p{max-width:760px!important;color:rgba(233,225,210,.74)!important;line-height:1.6!important}
.kd-account-home .kd-account-profile-panel{scroll-margin-top:24px}
.kd-account-home .kd-practitioner-upgrade-card{margin-top:28px}


/* 2.4.117 — служебный профиль компактно внизу после первичного заполнения */
.kd-account-profile-compact{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:18px 22px!important;
  min-height:0!important;
}
.kd-account-profile-compact-main{display:flex;align-items:center;gap:14px;min-width:0}
.kd-account-profile-compact-main>.kd-icon{flex:0 0 auto}
.kd-account-profile-compact-main h3{margin:2px 0 2px!important;font-size:27px!important;line-height:1.05!important}
.kd-account-profile-compact-main p{margin:0!important;font-size:13px!important;color:rgba(233,225,210,.66)!important}
.kd-account-profile-compact-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:0 0 auto}
.kd-account-profile-compact .kd-account-button{margin:0!important;white-space:nowrap}
.kd-account-profile-compact-details{display:none;width:100%;margin-top:14px}
.kd-account-profile-compact.is-editing{display:grid!important;grid-template-columns:1fr auto}
.kd-account-profile-compact.is-editing .kd-account-profile-compact-details{display:block;grid-column:1/-1}
.kd-account-profile-onboarding{border-color:rgba(185,151,85,.34)!important}
@media(max-width:760px){
  .kd-account-profile-compact{flex-direction:column;align-items:stretch;padding:16px!important;gap:14px}
  .kd-account-profile-compact-main h3{font-size:24px!important}
  .kd-account-profile-compact-actions{justify-content:stretch}
  .kd-account-profile-compact-actions .kd-account-button{flex:1;text-align:center}
  .kd-account-profile-compact.is-editing{display:flex!important}
}


/* 2.4.119 — единое мобильное гамбургер-меню в кабинетах */
.kd-cabinet-menu{display:contents}
.kd-cabinet-menu-toggle{display:none}
@media(max-width:760px){
  .kd-account-home>.kd-cabinet-topbar,.kd-practitioner-home>.kd-cabinet-topbar{
    position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:10px 12px!important
  }
  .kd-cabinet-brand{min-width:0!important;gap:10px!important}
  .kd-cabinet-brand img{width:52px!important;height:52px!important;flex:0 0 52px!important}
  .kd-cabinet-brand strong{font-size:24px!important;line-height:1!important}
  .kd-cabinet-brand small{font-size:8px!important;margin-top:4px!important}
  .kd-cabinet-menu-toggle{appearance:none!important;display:flex!important;width:46px!important;height:46px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;padding:0!important;border:1px solid rgba(185,151,85,.55)!important;border-radius:50%!important;background:rgba(10,17,30,.76)!important;cursor:pointer!important}
  .kd-cabinet-menu-toggle span{display:block!important;width:19px!important;height:1.5px!important;border-radius:2px!important;background:#D8B970!important;transition:transform .22s ease,opacity .18s ease!important}
  .kd-cabinet-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)!important}
  .kd-cabinet-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0!important}
  .kd-cabinet-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)!important}
  .kd-cabinet-menu{display:none!important;grid-column:1/-1!important;width:100%!important;padding:8px 2px 2px!important;border-top:1px solid rgba(185,151,85,.18)!important}
  .kd-cabinet-topbar.is-menu-open .kd-cabinet-menu{display:block!important}
  .kd-account-home .kd-cabinet-mainnav,.kd-practitioner-home .kd-cabinet-mainnav{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important}
  .kd-account-home .kd-cabinet-mainnav a,.kd-practitioner-home .kd-cabinet-mainnav a{padding:13px 8px!important;border-bottom:1px solid rgba(185,151,85,.12)!important;font-size:16px!important}
  .kd-account-home .kd-cabinet-mainnav a::after,.kd-practitioner-home .kd-cabinet-mainnav a::after{display:none!important}
  .kd-account-home .kd-cabinet-exit,.kd-practitioner-home .kd-cabinet-exit{position:static!important;display:flex!important;width:100%!important;margin:10px 0 3px!important;justify-content:center!important}
}


/* 2.4.122 — все кнопки кабинетов и авторизации безопасны на узком экране */
@media(max-width:760px){
  .kd-account-shell .kd-account-button,
  .kd-account-shell a.kd-account-button,
  .kd-account-shell button.kd-account-button,
  .kd-account-login .kd-account-button,
  .kd-auth-shell .kd-account-button{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    padding:11px 14px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-align:center!important;
    font-size:13px!important;
    line-height:1.25!important;
  }

  .kd-account-shell .kd-account-button-small{
    min-height:44px!important;
    padding:10px 12px!important;
  }

  .kd-account-hero-actions,
  .kd-history-actions,
  .kd-account-profile-actions,
  .kd-account-profile-compact-actions,
  .kd-practitioner-not-eligible-actions,
  .kd-practitioner-entry-actions,
  .kd-brand-form-actions,
  .kd-brand-upload-actions{
    width:100%!important;
    min-width:0!important;
    align-items:stretch!important;
  }

  .kd-account-shell .kd-account-link-button{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* Гамбургер — единственное исключение: остаётся круглой иконкой. */
  .kd-account-shell .kd-cabinet-menu-toggle{
    width:46px!important;
    max-width:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    padding:0!important;
  }
}


/* 2.4.123 — заметка о продукте при входе с Tilda */
.kd-auth-offer-note{
  max-width:920px;
  margin:0 auto 18px!important;
}
.kd-auth-offer-note strong{
  color:#E4BF75!important;
}


/* 2.4.127 — понятный возврат к расчёту после входа/регистрации */
.kd-auth-auto-return{
  margin:10px 0 0!important;
  color:rgba(233,225,210,.74)!important;
  font-size:12px!important;
  line-height:1.5!important;
  text-align:center!important;
}

/* 2.4.129 — временная карта: читаемый контраст на золотом фоне */
.kd-account-shell .kd-temporary-card,
.kd-account-shell .kd-temporary-note,
.kd-account-shell .kd-history-temporary,
.kd-app .kd-temporary-card,
.kd-app .kd-temporary-note,
.kd-app .kd-history-temporary{
  color:#14243A!important;
  -webkit-text-fill-color:#14243A!important;
}
.kd-account-shell .kd-temporary-card *,
.kd-account-shell .kd-temporary-note *,
.kd-account-shell .kd-history-temporary *,
.kd-app .kd-temporary-card *,
.kd-app .kd-temporary-note *,
.kd-app .kd-history-temporary *{
  color:#14243A!important;
  -webkit-text-fill-color:#14243A!important;
}
.kd-account-shell .kd-temporary-card a,
.kd-account-shell .kd-temporary-note a,
.kd-account-shell .kd-history-temporary a,
.kd-app .kd-temporary-card a,
.kd-app .kd-temporary-note a,
.kd-app .kd-history-temporary a{
  color:#0B1B30!important;
  -webkit-text-fill-color:#0B1B30!important;
  font-weight:800!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}


/* 2.4.132 — cabinet header uses the same Tilda-like scale and palette */
@media(min-width:761px){
  .kd-account-home>.kd-cabinet-topbar,
  .kd-practitioner-home>.kd-cabinet-topbar{
    min-height:76px!important;
    padding:11px 8px 10px!important;
    border:0!important;
    border-bottom:1px solid rgba(201,166,83,.26)!important;
    border-radius:0!important;
    background:linear-gradient(180deg,rgba(3,8,17,.30),rgba(3,8,17,.10))!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .kd-cabinet-brand{gap:12px!important}
  .kd-cabinet-brand img{width:52px!important;height:52px!important;filter:drop-shadow(0 0 9px rgba(217,185,108,.16))!important}
  .kd-cabinet-brand strong{font-size:28px!important;line-height:.95!important;color:#C9A653!important}
  .kd-cabinet-brand small{margin-top:5px!important;font-size:8.5px!important;letter-spacing:.12em!important;color:#C9A653!important}
  .kd-cabinet-mainnav{gap:28px!important}
  .kd-cabinet-mainnav a{
    font-family:"Cormorant Garamond","Cormorant",Georgia,serif!important;
    font-size:18px!important;
    font-weight:600!important;
    color:#C9A653!important;
  }
  .kd-cabinet-mainnav a:hover,.kd-cabinet-mainnav a.is-active{color:#E7C875!important}
  .kd-cabinet-exit{min-height:42px!important;padding:8px 18px!important;border-radius:999px!important;color:#D8B970!important;background:rgba(3,8,17,.20)!important;border-color:rgba(201,166,83,.66)!important;box-shadow:none!important}
}


/* 2.4.134 — прогностика после основного сохранённого отчёта */
.kd-saved-after-report-heading{
  margin:34px 0 14px;
  padding-top:24px;
  border-top:1px solid rgba(190,141,58,.28);
}
.kd-saved-after-report-heading h3{
  margin:4px 0 0;
  color:#E9E1D2;
  font:600 28px/1.15 Georgia,serif;
}
@media(max-width:760px){
  .kd-saved-after-report-heading{
    margin-top:26px;
    padding-top:20px;
  }
  .kd-saved-after-report-heading h3{
    font-size:23px;
  }
}
@media print{
  .kd-saved-after-report-heading,
  .kd-saved-forecast-panel{
    display:none!important;
  }
}


/* 2.4.137 — пояснение бесплатной личной прогностики */
.kd-saved-forecast-free-note{
  margin-top:9px!important;
  padding:10px 12px!important;
  border:1px solid rgba(190,143,62,.26)!important;
  border-radius:10px!important;
  background:rgba(190,143,62,.07)!important;
  color:rgba(233,225,210,.82)!important;
  font-size:13px!important;
  line-height:1.5!important;
}
.kd-saved-forecast-free-note strong{
  color:#E4BF75!important;
}


/* 2.4.138 — отдельные пакеты практика */
.kd-practitioner-balance-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:18px 0 24px;
}
.kd-practitioner-balance-grid article{
  padding:16px 18px;
  border:1px solid rgba(185,151,85,.28);
  border-radius:15px;
  background:rgba(9,22,39,.58);
}
.kd-practitioner-balance-grid small{
  display:block;
  color:#B99755;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.kd-practitioner-balance-grid strong{
  display:block;
  margin:5px 0 2px;
  color:#E9E1D2;
  font:700 31px/1 Georgia,serif;
}
.kd-practitioner-balance-grid span{
  color:rgba(233,225,210,.66);
  font-size:12px;
}
.kd-practitioner-package-group{
  margin-top:28px;
}
.kd-practitioner-package-group + .kd-practitioner-package-group{
  padding-top:26px;
  border-top:1px solid rgba(185,151,85,.16);
}
.kd-practitioner-package-group-head{
  margin-bottom:12px;
}
.kd-practitioner-package-group-head h4{
  margin:0 0 5px;
  color:#E9E1D2!important;
  font:600 24px/1.15 Georgia,serif;
}
.kd-practitioner-package-group-head p{
  margin:0;
  color:rgba(233,225,210,.65)!important;
  font-size:13px;
}
.kd-practitioner-package-group .kd-practitioner-package-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:12px;
}
.kd-practitioner-package-unlimited{
  border-style:dashed!important;
}
.kd-practitioner-package-unlimited .kd-account-button{
  width:100%;
  justify-content:center;
}
@media(max-width:980px){
  .kd-practitioner-package-group .kd-practitioner-package-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .kd-practitioner-balance-grid,
  .kd-practitioner-package-group .kd-practitioner-package-grid{
    grid-template-columns:1fr;
  }
}


/* 2.4.139 — мобильный кабинет практика: пакеты без бесконечной простыни */
.kd-practitioner-package-tabs{
  display:none;
}

@media(max-width:760px){
  .kd-practitioner-home .kd-practitioner-credit-section{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .kd-practitioner-balance-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin:14px 0 18px!important;
  }
  .kd-practitioner-balance-grid article{
    min-width:0!important;
    padding:10px 8px!important;
    border-radius:12px!important;
    text-align:center!important;
  }
  .kd-practitioner-balance-grid small{
    font-size:8px!important;
    line-height:1.25!important;
    letter-spacing:.05em!important;
  }
  .kd-practitioner-balance-grid strong{
    margin:5px 0 1px!important;
    font-size:24px!important;
  }
  .kd-practitioner-balance-grid span{
    display:none!important;
  }

  .kd-practitioner-package-tabs{
    position:sticky;
    top:8px;
    z-index:15;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin:0 0 14px;
    padding:5px;
    border:1px solid rgba(185,151,85,.24);
    border-radius:14px;
    background:rgba(6,17,31,.94);
    backdrop-filter:blur(10px);
  }
  .kd-practitioner-package-tabs button{
    min-width:0;
    min-height:40px;
    padding:7px 6px;
    border:0;
    border-radius:10px;
    color:rgba(233,225,210,.72);
    background:transparent;
    font:700 11px/1.15 "Manrope",Arial,sans-serif;
    cursor:pointer;
  }
  .kd-practitioner-package-tabs button.is-active{
    color:#111a27;
    background:linear-gradient(180deg,#d6b76e,#b99049);
  }

  .kd-practitioner-package-group{
    display:none!important;
    margin-top:0!important;
    padding-top:0!important;
    border-top:0!important;
  }
  .kd-practitioner-package-group.is-active{
    display:block!important;
  }
  .kd-practitioner-package-group-head{
    margin:0 0 10px!important;
  }
  .kd-practitioner-package-group-head h4{
    font-size:21px!important;
  }
  .kd-practitioner-package-group-head p{
    font-size:12px!important;
    line-height:1.45!important;
  }

  .kd-practitioner-package-group .kd-practitioner-package-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:12px!important;
    align-items:center!important;
    padding:14px!important;
    border-radius:14px!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card>small,
  .kd-practitioner-home .kd-practitioner-package-card>h4,
  .kd-practitioner-home .kd-practitioner-package-card>p{
    grid-column:1!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card>small{
    font-size:8px!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card h4{
    margin:4px 0 2px!important;
    font-size:19px!important;
    line-height:1.1!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card>strong{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    margin:0!important;
    font-size:22px!important;
    white-space:nowrap!important;
    text-align:right!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card>p{
    margin:3px 0 9px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card form,
  .kd-practitioner-home .kd-practitioner-package-card>.kd-account-button,
  .kd-practitioner-home .kd-practitioner-package-card>.kd-practitioner-package-disabled{
    grid-column:1 / -1!important;
    width:100%!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card .kd-account-button{
    min-height:42px!important;
    padding:0 14px!important;
    font-size:11px!important;
  }

  .kd-practitioner-package-unlimited{
    margin-top:2px!important;
  }
}


/* 2.4.140 — компактные пакеты практика на всех экранах */
.kd-practitioner-package-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  max-width:620px;
  margin:4px 0 18px;
  padding:5px;
  border:1px solid rgba(185,151,85,.24);
  border-radius:14px;
  background:rgba(6,17,31,.76);
}
.kd-practitioner-package-tabs button{
  min-height:42px;
  padding:8px 12px;
  border:0;
  border-radius:10px;
  color:rgba(233,225,210,.72);
  background:transparent;
  font:700 12px/1.15 "Manrope",Arial,sans-serif;
  cursor:pointer;
}
.kd-practitioner-package-tabs button.is-active{
  color:#111a27;
  background:linear-gradient(180deg,#d6b76e,#b99049);
}

.kd-practitioner-package-group{
  display:none!important;
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
}
.kd-practitioner-package-group.is-active{
  display:block!important;
}

.kd-practitioner-package-group .kd-practitioner-package-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:10px!important;
}
.kd-practitioner-home .kd-practitioner-package-card{
  position:relative;
  min-height:0!important;
  padding:17px 18px!important;
  border-radius:15px!important;
}
.kd-practitioner-home .kd-practitioner-package-card h4{
  margin:6px 0 4px!important;
  font-size:21px!important;
  line-height:1.1!important;
}
.kd-practitioner-home .kd-practitioner-package-card>strong{
  margin:3px 0!important;
  font-size:25px!important;
}
.kd-practitioner-home .kd-practitioner-package-card>p{
  margin:2px 0 12px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.kd-practitioner-home .kd-practitioner-package-card .kd-account-button{
  min-height:43px!important;
  padding:0 14px!important;
  font-size:11px!important;
}

.kd-practitioner-package-card.is-best-value{
  border-color:rgba(217,190,122,.92)!important;
  box-shadow:0 0 0 1px rgba(217,190,122,.16),0 12px 28px rgba(0,0,0,.18)!important;
  background:
    radial-gradient(circle at 90% 8%,rgba(217,190,122,.11),transparent 30%),
    rgba(12,27,47,.92)!important;
}
.kd-practitioner-best-badge{
  position:absolute;
  top:10px;
  right:10px;
  padding:4px 8px;
  border-radius:999px;
  background:#D9BE7A;
  color:#111a27!important;
  font:800 9px/1 "Manrope",Arial,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.kd-practitioner-package-unlimited{
  grid-column:1 / -1;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px!important;
  border:1px dashed rgba(185,151,85,.36)!important;
  border-radius:14px!important;
  background:rgba(8,20,36,.48)!important;
}
.kd-practitioner-package-unlimited>div{
  min-width:0;
}
.kd-practitioner-package-unlimited small{
  display:block;
  margin-bottom:2px;
  color:#B99755;
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.kd-practitioner-package-unlimited strong{
  display:block;
  color:#E9E1D2!important;
  font:600 19px/1.15 Georgia,serif;
}
.kd-practitioner-package-unlimited span{
  display:block;
  margin-top:3px;
  color:rgba(233,225,210,.62)!important;
  font-size:12px;
}
.kd-practitioner-package-unlimited .kd-account-button{
  flex:0 0 auto;
  width:auto!important;
  min-width:190px;
  min-height:42px!important;
  justify-content:center;
}

@media(max-width:980px){
  .kd-practitioner-package-group .kd-practitioner-package-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .kd-practitioner-package-card.is-best-value{
    grid-column:auto;
  }
}

@media(max-width:760px){
  .kd-practitioner-package-tabs{
    position:sticky;
    top:8px;
    z-index:15;
    max-width:none;
    margin-bottom:12px;
    background:rgba(6,17,31,.94);
    backdrop-filter:blur(10px);
  }
  .kd-practitioner-package-group .kd-practitioner-package-grid{
    grid-template-columns:1fr!important;
  }
  .kd-practitioner-home .kd-practitioner-package-card{
    padding:14px!important;
  }
  .kd-practitioner-best-badge{
    top:9px;
    right:9px;
  }
  .kd-practitioner-package-unlimited{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .kd-practitioner-package-unlimited .kd-account-button{
    width:100%!important;
    min-width:0!important;
  }
}


/* 2.4.142 — кабинет практика: персонализация выше и заметный контрольный PDF. */
.kd-practitioner-home .kd-brand-settings-section{
  border-color:rgba(185,151,85,.62)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.30),inset 0 1px 0 rgba(233,225,210,.035)!important;
}
.kd-practitioner-home .kd-brand-standard-cover-note{
  margin:12px 0 0!important;
  padding:12px 14px!important;
  border:1px solid rgba(185,151,85,.44)!important;
  border-radius:12px!important;
  background:rgba(185,151,85,.09)!important;
  color:#E9E1D2!important;
  font-size:13px!important;
  line-height:1.5!important;
}
.kd-practitioner-home .kd-brand-standard-cover-note strong{color:#E7C77E!important;font-weight:700!important}
.kd-practitioner-home .kd-brand-test-panel{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  margin-top:22px;
  padding:20px 22px;
  border:2px solid rgba(214,169,82,.82);
  border-radius:18px;
  background:radial-gradient(circle at 12% 18%,rgba(214,169,82,.15),transparent 34%),linear-gradient(145deg,#171325,#0C1524);
  box-shadow:0 14px 34px rgba(0,0,0,.30),inset 0 0 0 1px rgba(255,232,174,.06);
}
.kd-practitioner-home .kd-brand-test-panel-copy{min-width:0}
.kd-practitioner-home .kd-brand-test-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 12px;
  border:1px solid rgba(248,216,138,.72);
  border-radius:999px;
  background:#B99755;
  color:#0A0D18;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  line-height:1;
}
.kd-practitioner-home .kd-brand-test-panel h4{
  margin:10px 0 5px!important;
  color:#F0DFC0!important;
  font-size:22px!important;
  line-height:1.15!important;
}
.kd-practitioner-home .kd-brand-test-panel p{
  margin:0!important;
  color:#E9E1D2!important;
  font-size:14px!important;
  line-height:1.5!important;
}
.kd-practitioner-home .kd-brand-test-panel small{
  display:block;
  margin-top:7px;
  color:rgba(233,225,210,.66)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.kd-practitioner-home .kd-brand-test-button{
  min-width:220px;
  border-color:#D6A952!important;
  background:linear-gradient(135deg,#D9BD76,#B99755)!important;
  color:#16110A!important;
  box-shadow:0 8px 22px rgba(185,151,85,.22)!important;
  font-weight:800!important;
}
@media(max-width:760px){
  .kd-practitioner-home .kd-brand-test-panel{grid-template-columns:1fr;padding:18px}
  .kd-practitioner-home .kd-brand-test-button{width:100%;min-width:0}
}


/* 2.4.144 — название проекта в кабинете практика читаемо на тёмной карточке. */
.kd-practitioner-home .kd-brand-logo-copy h4{color:#E7C979!important;text-shadow:0 1px 8px rgba(0,0,0,.28)!important}
.kd-practitioner-home .kd-brand-logo-copy .kd-brand-practitioner-name{margin:0 0 8px!important;color:#E9E1D2!important;font-size:15px!important;font-weight:600!important}

/* 2.4.157 — официальный цветовой стандарт и компактный футер авторизации. */
.kd-account-login,
.kd-account-shell{
  --kd-brand-night:#0A0D18;
  --kd-brand-section:#111625;
  --kd-brand-card:#161C2D;
  --kd-brand-card-soft:#1B2134;
  --kd-brand-ivory:#E9E1D2;
  --kd-brand-muted:#B9B1A3;
  --kd-brand-gold:#B99755;
  --kd-brand-heading:#C6A867;
  --kd-brand-bright:#D9BE7A;
  --kd-brand-line:#7C6338;
}
.kd-auth-footer,
.kd-account-login .kd-account-footer{
  margin-top:12px!important;
  padding:14px 16px!important;
  gap:14px!important;
  border-color:rgba(124,99,56,.48)!important;
  border-radius:17px!important;
  background:rgba(17,22,37,.91)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
.kd-account-login .kd-account-footer-title{
  margin:0 0 4px!important;
  color:#C6A867!important;
  font-size:18px!important;
  line-height:1.05!important;
}
.kd-account-login .kd-account-footer-meta{
  margin-top:3px!important;
  color:#B9B1A3!important;
  font-size:10px!important;
}
.kd-account-login .kd-account-footer-nav{
  min-width:0!important;
  gap:7px 12px!important;
}
.kd-account-login .kd-account-footer-nav a{
  color:#B99755!important;
  font-size:10.5px!important;
}
.kd-account-login .kd-account-footer-nav a:hover{color:#D9BE7A!important}

@media(max-width:760px){
  .kd-auth-footer,
  .kd-account-login .kd-account-footer{
    margin-top:10px!important;
    padding:12px 13px!important;
    gap:9px!important;
    border-radius:15px!important;
  }
  .kd-account-login .kd-account-footer-title{
    font-size:16px!important;
    line-height:1.08!important;
  }
  .kd-account-login .kd-account-footer-meta{font-size:9px!important}
  .kd-account-login .kd-account-footer-nav{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:6px 11px!important;
  }
  .kd-account-login .kd-account-footer-nav a{font-size:9.5px!important}
}

/* 2.4.158 — единый компактный юридический футер кабинетов и авторизации. */
.kd-account-footer{
  margin-top:12px!important;
  padding:14px 16px!important;
  gap:18px!important;
  border-color:rgba(124,99,56,.46)!important;
  border-radius:17px!important;
  background:rgba(17,22,37,.90)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
.kd-account-footer-legal{max-width:760px}
.kd-account-footer-legal strong{
  display:block;
  margin:0 0 4px!important;
  color:#C6A867!important;
  font:700 11.5px/1.35 "Segoe UI",Arial,sans-serif!important;
}
.kd-account-footer-legal p{
  margin:0 0 5px!important;
  color:#B9B1A3!important;
  font-size:9.5px!important;
  line-height:1.45!important;
}
.kd-account-footer-meta{margin-top:0!important;color:#B99755!important;font-size:9.5px!important;letter-spacing:0!important}
.kd-account-footer-nav{min-width:0!important;gap:5px 12px!important}
.kd-account-footer-nav a{color:#B99755!important;font-size:10px!important}
.kd-account-footer-nav a:hover{color:#D9BE7A!important}
@media(max-width:760px){
  .kd-account-footer,
  .kd-auth-footer,
  .kd-account-login .kd-account-footer{
    display:block!important;
    margin-top:10px!important;
    padding:12px 13px!important;
    border-radius:15px!important;
  }
  .kd-account-footer-legal strong{font-size:11px!important}
  .kd-account-footer-legal p{font-size:9px!important;line-height:1.4!important}
  .kd-account-footer-meta{margin-top:5px!important;font-size:9px!important}
  .kd-account-footer-nav,
  .kd-account-login .kd-account-footer-nav{
    margin-top:10px!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:7px 12px!important;
  }
  .kd-account-footer-nav a,
  .kd-account-login .kd-account-footer-nav a{font-size:9.5px!important}
}

/* 2.4.163 — учебный доступ в обычном личном кабинете ученика. */
.kd-student-access-section{position:relative;overflow:hidden;border-color:rgba(185,151,85,.52)!important;background:linear-gradient(145deg,rgba(22,28,45,.98),rgba(15,20,34,.98))!important}
.kd-student-access-section:before{content:"";position:absolute;right:-90px;top:-110px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(185,151,85,.13),rgba(185,151,85,0) 68%);pointer-events:none}
.kd-student-access-section .kd-section-title-row{position:relative;z-index:1}.kd-student-access-section .kd-section-title-row p{max-width:760px;color:#B9B1A3}
.kd-student-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid rgba(217,190,122,.45);border-radius:999px;background:rgba(185,151,85,.09);color:#D9BE7A;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.kd-student-access-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.kd-student-access-card{min-width:0;padding:14px 15px;border:1px solid rgba(124,99,56,.38);border-radius:14px;background:rgba(10,13,24,.52)}.kd-student-access-card.is-open{border-color:rgba(185,151,85,.6);box-shadow:0 10px 24px rgba(0,0,0,.12)}.kd-student-access-card small{display:block;margin-bottom:7px;color:#B9B1A3;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.kd-student-access-card strong{display:block;color:#E9E1D2;font-size:18px;line-height:1.1}.kd-student-access-card.is-open strong{color:#D9BE7A}.kd-student-access-card p{margin:6px 0 0;color:#9f988c;font-size:11px;line-height:1.4}
@media(max-width:980px){.kd-student-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.kd-student-access-section .kd-section-title-row{display:block}.kd-student-badge{margin-top:10px}.kd-student-access-grid{grid-template-columns:1fr 1fr;gap:8px}.kd-student-access-card{padding:12px}.kd-student-access-card strong{font-size:16px}}


/* 2.4.165 — учебные калькуляторы курса */
.kd-student-tools-panel{position:relative;z-index:1;margin-top:20px;padding-top:18px;border-top:1px solid rgba(124,99,56,.35)}
.kd-student-tools-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:13px}.kd-student-tools-head h4{margin:3px 0 5px;color:#E9E1D2;font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.08}.kd-student-tools-head p{max-width:760px;margin:0;color:#B9B1A3;font-size:12px;line-height:1.5}.kd-student-tools-head>span{display:inline-flex;white-space:nowrap;padding:6px 10px;border:1px solid rgba(185,151,85,.42);border-radius:999px;color:#C6A867;font-size:10px;font-weight:800;background:rgba(185,151,85,.07)}
.kd-student-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kd-student-tool-card{position:relative;display:flex;flex-direction:column;min-height:156px;padding:16px 17px;border:1px solid rgba(124,99,56,.48);border-radius:16px;background:linear-gradient(145deg,rgba(10,13,24,.72),rgba(22,28,45,.72));text-decoration:none!important;transition:.2s;overflow:hidden}.kd-student-tool-card:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-70px;top:-75px;background:radial-gradient(circle,rgba(198,168,103,.10),transparent 70%);pointer-events:none}.kd-student-tool-card:hover{transform:translateY(-2px);border-color:rgba(217,190,122,.7);box-shadow:0 12px 26px rgba(0,0,0,.18)}.kd-student-tool-card small{color:#B9B1A3;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.kd-student-tool-card strong{margin:5px 0 7px;color:#E9E1D2;font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.08}.kd-student-tool-card p{margin:0 0 12px;color:#AAA397;font-size:11px;line-height:1.48}.kd-student-tool-card>span{margin-top:auto;color:#D9BE7A;font-size:11px;font-weight:800}.kd-student-tool-compatibility{box-shadow:inset 0 0 0 1px rgba(160,106,123,.12)}.kd-student-tool-relationship,.kd-student-tool-crisis{border-color:rgba(160,106,123,.42)}.kd-student-tool-place{border-color:rgba(122,128,184,.42)}
.kd-student-tools-empty{padding:17px;border:1px dashed rgba(124,99,56,.42);border-radius:14px;background:rgba(10,13,24,.35)}.kd-student-tools-empty strong{color:#E9E1D2}.kd-student-tools-empty p{margin:5px 0 0;color:#B9B1A3;font-size:12px}
.kd-student-tool-page{max-width:1220px!important}.kd-student-tool-top-actions{display:flex;align-items:center;gap:8px}.kd-student-tool-header{padding:28px 2px 18px}.kd-student-tool-header h2{margin:5px 0 7px;color:#E9E1D2;font-family:Georgia,"Times New Roman",serif;font-size:clamp(32px,5vw,50px);line-height:1.03}.kd-student-tool-header>p{max-width:820px;margin:0;color:#B9B1A3;font-size:14px;line-height:1.5}.kd-student-tool-note{margin-top:13px;max-width:900px;padding:10px 13px;border-left:3px solid #B99755;background:rgba(185,151,85,.07);color:#B9B1A3;font-size:11px;line-height:1.5}.kd-student-tool-note strong{color:#D9BE7A}.kd-student-tool-frame-wrap{overflow:hidden;border:1px solid rgba(124,99,56,.5);border-radius:24px;background:#0A0D18;box-shadow:0 24px 60px rgba(0,0,0,.22)}.kd-student-tool-frame{display:block;width:100%;min-height:760px;border:0;background:#0A0D18}
@media(max-width:760px){.kd-student-tools-head{display:block}.kd-student-tools-head>span{margin-top:9px}.kd-student-tools-grid{grid-template-columns:1fr}.kd-student-tool-card{min-height:138px}.kd-student-tool-top-actions .kd-account-button-muted{display:none}.kd-student-tool-header{padding:20px 2px 13px}.kd-student-tool-header h2{font-size:34px}.kd-student-tool-frame-wrap{margin:0 -5px;border-radius:18px}.kd-student-tool-frame{min-height:680px}}

/* 2.4.169 — student cabinet; scoped corrections only */
.kd-account-home .kd-student-access-section{overflow:visible}
.kd-account-home .kd-student-access-section:before{display:none!important;content:none!important}
.kd-account-home .kd-student-access-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kd-account-home .kd-student-access-card{padding:18px;border-radius:16px;text-decoration:none!important}
.kd-account-home .kd-student-access-card.is-clickable{cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
.kd-account-home .kd-student-access-card.is-clickable:hover{transform:translateY(-2px);border-color:rgba(217,190,122,.72);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.kd-account-home .kd-student-access-card.is-locked{background:rgba(10,13,24,.38);border-style:solid;opacity:.82}
.kd-account-home .kd-student-access-card small{font-size:10px}
.kd-account-home .kd-student-access-card strong{font-size:20px}
.kd-account-home .kd-student-access-card p{font-size:12px;line-height:1.45}
.kd-account-home .kd-student-card-action,.kd-account-home .kd-student-card-lock{display:block;margin-top:11px;font-size:11px;font-weight:800;line-height:1.35}
.kd-account-home .kd-student-card-action{color:#D9BE7A}
.kd-account-home .kd-student-card-lock{color:#8F887D}
.kd-account-home .kd-student-tools-panel{margin-top:22px;padding-top:20px}
.kd-account-home .kd-student-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.kd-account-home .kd-student-tool-card{min-height:108px;padding:14px 15px;border-radius:14px}
.kd-account-home .kd-student-tool-card p{display:none!important}
.kd-account-home .kd-student-tool-card strong{font-size:18px;margin:5px 0 8px}
.kd-account-home .kd-student-tool-card small{font-size:9px}
.kd-account-home .kd-student-tool-card>span{font-size:10px}
@media(max-width:760px){
  .kd-account-home .kd-student-access-grid{grid-template-columns:1fr;gap:8px}
  .kd-account-home .kd-student-access-card{padding:14px 15px}
  .kd-account-home .kd-student-access-card strong{font-size:18px}
  .kd-account-home .kd-student-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .kd-account-home .kd-student-tool-card{min-height:96px;padding:12px;border-radius:12px}
  .kd-account-home .kd-student-tool-card strong{font-size:15px;line-height:1.12;margin:4px 0 7px}
  .kd-account-home .kd-student-tool-card small{font-size:8px;line-height:1.25}
}
@media(max-width:360px){.kd-account-home .kd-student-tools-grid{grid-template-columns:1fr}}

/* 2.4.169 — direct student calculators: no second shell/header, no fake empty height */
.kd-student-tool-page-direct{max-width:1180px!important;padding-top:18px!important}
.kd-student-tool-page-direct .kd-student-tool-frame-wrap{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.kd-student-tool-page-direct .kd-student-tool-frame{min-height:320px!important;background:#0A0D18!important}
.kd-account-home .kd-student-access-section{background:#111625!important;border-color:rgba(124,99,56,.62)!important}
.kd-account-home .kd-student-tools-panel{border-color:rgba(124,99,56,.42)!important}
.kd-account-home .kd-student-tool-card{background:#161C2D!important;border-color:rgba(124,99,56,.48)!important}
.kd-account-home .kd-student-tool-card strong{color:#E9E1D2!important}
.kd-account-home .kd-student-tool-card small,.kd-account-home .kd-student-tool-card>span{color:#C6A867!important}
@media(max-width:760px){.kd-student-tool-page-direct{padding-top:8px!important}.kd-student-tool-page-direct .kd-student-tool-frame-wrap{margin:0!important}}


/* 2.4.171 — compact student entitlement + stable embedded calculator height */
.kd-account-home .kd-student-child-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:12px 14px;border:1px solid rgba(185,151,85,.58);border-radius:14px;background:#161C2D;text-decoration:none!important}
.kd-account-home .kd-student-child-summary span{display:flex;align-items:baseline;gap:10px;min-width:0}.kd-account-home .kd-student-child-summary small{color:#B9B1A3;font-size:11px}.kd-account-home .kd-student-child-summary strong{color:#D9BE7A;font-size:18px}.kd-account-home .kd-student-child-summary em{font-style:normal;color:#C6A867;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:620px){.kd-account-home .kd-student-child-summary{padding:11px 12px}.kd-account-home .kd-student-child-summary span{display:block}.kd-account-home .kd-student-child-summary small{display:block;margin-bottom:3px}.kd-account-home .kd-student-child-summary strong{font-size:17px}}

/* 2.4.171 — mobile repair: compact cabinet cards, readable history, no horizontal collapse. */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body:has(.kd-account-home),body:has(.kd-student-tool-page){overflow-x:hidden!important}
  .kd-account-home.kd-account-shell{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto 24px!important;
    padding:10px 12px 24px!important;
  }
  .kd-account-home .kd-cabinet-topbar,
  .kd-account-home .kd-account-hero,
  .kd-account-home .kd-account-section{width:100%!important;max-width:100%!important}
  .kd-account-home .kd-cabinet-topbar{padding:12px 14px!important}
  .kd-account-home .kd-account-hero{padding:24px 18px!important}
  .kd-account-home .kd-account-section{padding:20px 16px!important}

  /* Сводка — 2×2 вместо четырёх огромных карточек столбом. */
  .kd-account-home .kd-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:12px 0!important;
  }
  .kd-account-home .kd-summary-card{
    min-width:0!important;
    min-height:94px!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
    padding:12px 10px!important;
    border-radius:14px!important;
  }
  .kd-account-home .kd-summary-card .kd-icon{width:38px!important;height:38px!important;flex-basis:38px!important}
  .kd-account-home .kd-summary-card small{font-size:7.5px!important;line-height:1.25!important;letter-spacing:.08em!important;overflow-wrap:normal!important;word-break:normal!important}
  .kd-account-home .kd-summary-card strong{font-size:21px!important;line-height:1!important;margin:4px 0!important}
  .kd-account-home .kd-summary-card p{font-size:9px!important;line-height:1.3!important}

  /* Ежедневный блок не должен выталкивать страницу за экран. */
  .kd-account-home .kd-daily-forecast-section,
  .kd-account-home .kd-current-period-card,
  .kd-account-home .kd-daily-forecast-grid,
  .kd-account-home .kd-forecast-card{min-width:0!important;max-width:100%!important}
  .kd-account-home .kd-forecast-card-body{padding:14px!important}
  .kd-account-home .kd-forecast-copy{font-size:13px!important;line-height:1.58!important;overflow-wrap:break-word!important}

  /* История: действия уходят вниз, название получает всю ширину. */
  .kd-account-home .kd-history-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .kd-account-home .kd-history-row{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px 12px!important;
    min-width:0!important;
    width:100%!important;
    min-height:0!important;
    padding:14px!important;
    border-radius:14px!important;
    align-items:start!important;
  }
  .kd-account-home .kd-history-row .kd-icon{width:38px!important;height:38px!important;flex-basis:38px!important}
  .kd-account-home .kd-history-copy{min-width:0!important;width:100%!important}
  .kd-account-home .kd-history-type{display:block!important;font-size:8px!important;line-height:1.3!important;letter-spacing:.08em!important;white-space:normal!important}
  .kd-account-home .kd-history-row h4{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:4px 0!important;
    font-size:18px!important;
    line-height:1.16!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
  }
  .kd-account-home .kd-history-row time{font-size:10px!important;white-space:normal!important}
  .kd-account-home .kd-history-actions{
    grid-column:1/-1!important;
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    justify-content:flex-start!important;
  }
  .kd-account-home .kd-history-actions .kd-account-button{width:100%!important;min-width:0!important}

  /* Учебный блок — без переполнения на узких экранах. */
  .kd-account-home .kd-student-tools-head{min-width:0!important}
  .kd-account-home .kd-student-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .kd-account-home .kd-student-tool-card{min-width:0!important;min-height:92px!important;padding:11px!important}
  .kd-account-home .kd-student-tool-card strong{font-size:14px!important;line-height:1.12!important;overflow-wrap:break-word!important;word-break:normal!important}
  .kd-account-home .kd-student-tool-card small{font-size:7.5px!important;line-height:1.25!important}
}
@media(max-width:360px){
  .kd-account-home .kd-summary-grid{grid-template-columns:1fr!important}
  .kd-account-home .kd-student-tools-grid{grid-template-columns:1fr!important}
}

/* 2.4.175 — one clean responsive rule for opened student calculators.
   No 100vw/negative-margin tricks: on a calculator page we remove the
   WordPress/theme gutters themselves, then let the iframe and its content
   use 100% of the real viewport. The normal cabinet is untouched. */
@media(max-width:900px){
  body:has(.kd-student-tool-page-direct),
  body:has(.kd-student-tool-page-direct) .site,
  body:has(.kd-student-tool-page-direct) .site-content,
  body:has(.kd-student-tool-page-direct) .content-area,
  body:has(.kd-student-tool-page-direct) .site-main,
  body:has(.kd-student-tool-page-direct) main,
  body:has(.kd-student-tool-page-direct) article,
  body:has(.kd-student-tool-page-direct) .entry-content,
  body:has(.kd-student-tool-page-direct) .wp-site-blocks{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow-x:visible!important;
  }
  .kd-student-tool-page-direct.kd-account-shell{
    position:static!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0 0 24px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#0A0D18!important;
    box-shadow:none!important;
    overflow:visible!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .kd-student-tool-page-direct.kd-account-shell::before,
  .kd-student-tool-page-direct.kd-account-shell::after{display:none!important;content:none!important}
  .kd-student-tool-page-direct .kd-student-tool-frame-wrap{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#0A0D18!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .kd-student-tool-page-direct .kd-student-tool-frame{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:260px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:#0A0D18!important;
  }
}


/* 2.4.177 — real fluid mobile cabinet: remove theme gutters, not the cabinet content. */
@media (max-width: 900px){
  body:has(.kd-account-home){
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow-x:hidden!important;
  }
  body:has(.kd-account-home) .site,
  body:has(.kd-account-home) .site-content,
  body:has(.kd-account-home) .site-container,
  body:has(.kd-account-home) .content-container,
  body:has(.kd-account-home) .content-wrap,
  body:has(.kd-account-home) .content-area,
  body:has(.kd-account-home) .site-main,
  body:has(.kd-account-home) main,
  body:has(.kd-account-home) article,
  body:has(.kd-account-home) .entry-content-wrap,
  body:has(.kd-account-home) .entry-content,
  body:has(.kd-account-home) .wp-site-blocks{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .kd-account-home.kd-account-shell{
    width:100%!important;
    max-width:none!important;
    margin:0 auto 24px!important;
    padding:clamp(6px,2.2vw,10px)!important;
  }
  .kd-account-home .kd-cabinet-topbar,
  .kd-account-home .kd-account-hero,
  .kd-account-home .kd-account-section,
  .kd-account-home .kd-summary-grid,
  .kd-account-home .kd-account-footer{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
@media (max-width: 480px){
  .kd-account-home.kd-account-shell{padding:6px!important}
  .kd-account-home .kd-cabinet-topbar{padding:10px 12px!important}
  .kd-account-home .kd-account-hero{padding:22px 16px!important}
  .kd-account-home .kd-account-section{padding:18px 14px!important}
}
