/* Persik: калькулятор схуднення */
.pshd{--pshd-acc:#e89068;--pshd-acc-l:#fbeee7;--pshd-dark:#313131;--pshd-text:#4a4a4a;--pshd-line:#dedede;--pshd-bg:#f7f5f3;--pshd-head:inherit;
  box-sizing:border-box;color:var(--pshd-text);font-size:15px;line-height:1.5;margin:0 0 30px}
.pshd *,.pshd *::before,.pshd *::after{box-sizing:border-box}
.pshd-title,.pshd-hl{font-family:var(--pshd-head);color:var(--pshd-dark);font-weight:700;line-height:1.2;margin:0;letter-spacing:0;text-transform:none}
.pshd-label{display:block;font-size:13px;font-weight:600;color:var(--pshd-dark);margin:0 0 6px;line-height:1.3}
.pshd input[type=number],.pshd select{display:block;width:100%;min-height:44px;margin:0;padding:8px 12px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;color:var(--pshd-dark);font:inherit;font-size:16px;line-height:1.3;box-shadow:none}
.pshd input[type=number]{-moz-appearance:textfield;appearance:textfield}
.pshd input[type=number]::-webkit-inner-spin-button,.pshd input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pshd input:focus-visible,.pshd select:focus-visible,.pshd button:focus-visible,.pshd a:focus-visible,.pshd-seg input:focus-visible+span{outline:2px solid var(--pshd-dark);outline-offset:2px}
.pshd fieldset{border:0;margin:0;padding:0;min-width:0}
.pshd legend{padding:0;float:left;width:100%}
.pshd legend+*{clear:both}
.pshd-unit{position:relative}
.pshd-unit input{padding-right:42px}
.pshd-unit span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px;color:#8a8a8a;pointer-events:none}

/* Перемикач статі */
.pshd-seg{display:flex;border:1px solid #cfcfcf;border-radius:4px;overflow:hidden;background:#fff}
.pshd-seg label{flex:1 1 50%;margin:0;position:relative}
.pshd-seg input{position:absolute;opacity:0;width:1px;height:1px}
.pshd-seg span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:42px;padding:0 8px;font-size:14px;font-weight:600;color:var(--pshd-text);cursor:pointer}
.pshd-seg label+label span{border-left:1px solid #cfcfcf}
.pshd-seg input:checked+span{background:var(--pshd-dark);color:#fff}

/* Кнопки */
.pshd-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:10px 20px;border:0;border-radius:4px;background:var(--pshd-acc);color:#2a2a2a!important;font:inherit;font-size:15px;font-weight:700;line-height:1.25;text-decoration:none!important;cursor:pointer;transition:background .2s,color .2s}
.pshd-btn:hover{background:var(--pshd-dark);color:#fff!important}
.pshd-chips{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:8px}
.pshd-chip{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;min-width:0;padding:0 4px;border:1px solid #cfcfcf;border-radius:22px;background:#fff;color:var(--pshd-dark);font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer}
.pshd-chip[aria-pressed=true]{background:var(--pshd-dark);border-color:var(--pshd-dark);color:#fff}

/* Вердикт */
.pshd-badge{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:26px;padding:3px 10px;border-radius:13px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.2}
.pshd-badge.pshd-v-ok{background:#dcefe3;color:#205a39}
.pshd-badge.pshd-v-edge{background:#fbebcc;color:#734a00}
.pshd-badge.pshd-v-no{background:#f8ddd6;color:#8e2f20}

/* ===== Міні-смуга для головної ===== */
.pshd-mini{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);background:#fff;border:1px solid var(--pshd-line);border-top:3px solid var(--pshd-acc)}
.pshd-mini-form{padding:22px 24px 24px}
.pshd-mini .pshd-title{font-size:24px;margin-bottom:4px}
.pshd-mini-sub{margin:0 0 16px;font-size:14px;color:#6a6a6a}
.pshd-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}
.pshd-mini-res{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;padding:22px 24px;background:var(--pshd-bg);border-left:1px solid var(--pshd-line)}
.pshd-m-main{margin:0;font-size:17px;line-height:1.4;color:var(--pshd-dark)}
.pshd-m-main b,.pshd-nw{white-space:nowrap}
.pshd-mbars{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 10px;margin:4px 0 2px;font-size:12px;color:#6a6a6a}
.pshd-mbars i{display:flex;height:10px;border-radius:5px;background:#e9e5e1;overflow:hidden}
.pshd-mbars i em{display:block;height:100%;transition:width .35s ease}
.pshd-mbars b{color:var(--pshd-dark);font-size:13px;white-space:nowrap}
.pshd-m-sub{margin:0;font-size:14px;color:#5a5a5a}
.pshd-m-wait{margin:0;color:#6a6a6a}
.pshd-mini-res [data-pshd-out]{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.pshd-mini .pshd-btn{margin-top:8px}

/* ===== Повний калькулятор ===== */
.pshd-full{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:0;background:#fff;border:1px solid var(--pshd-line);border-top:3px solid var(--pshd-acc);scroll-margin-top:90px}
.pshd-form{padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 16px;align-content:start}
.pshd-form .pshd-wide{grid-column:1/-1}
.pshd-res{padding:24px;background:var(--pshd-bg);border-left:1px solid var(--pshd-line)}
.pshd-verdict{margin:0 0 18px}
.pshd-verdict .pshd-hl{font-size:22px;margin:10px 0 8px}
.pshd-verdict p{margin:0 0 8px}
.pshd-bars{margin:0 0 18px;padding:14px 16px;background:#fff;border:1px solid var(--pshd-line);border-radius:4px}
.pshd-bar-row{display:grid;grid-template-columns:118px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 10px;font-size:13px}
.pshd-bar-row b{color:var(--pshd-dark);white-space:nowrap}
.pshd-bar-lbl{color:#5a5a5a;line-height:1.25}
.pshd-bar{display:flex;height:16px;background:#efedeb;border-radius:8px;overflow:hidden}
.pshd-bar i{display:block;height:100%;transition:width .35s ease}
.pshd-seg-goal{background:#b9b2ac}
.pshd-seg-fat{background:#c4683e}
.pshd-seg-fat2{background:var(--pshd-acc)}
.pshd-seg-water{background:repeating-linear-gradient(135deg,#9fc3d8 0 5px,#c9dfeb 5px 10px)}
.pshd-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:2px 0 0;font-size:12px;color:#6a6a6a}
.pshd-legend span{display:inline-flex;align-items:center;gap:6px}
.pshd-legend i{display:inline-block;width:12px;height:12px;border-radius:3px}
.pshd-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.pshd-stats div{background:#fff;border:1px solid var(--pshd-line);border-radius:4px;padding:10px 12px}
.pshd-stats dt{font-size:12px;color:#6a6a6a;margin:0 0 2px;font-weight:400}
.pshd-stats dd{margin:0;font-size:13px;color:#5a5a5a}
.pshd-stats dd b{font-size:20px;color:var(--pshd-dark);margin-right:2px}
.pshd-plan,.pshd-warn,.pshd-note,.pshd-link,.pshd-wait{margin:0 0 10px}
.pshd-warn{padding:10px 12px;background:#fbebcc;border-radius:4px;color:#5a3a00}
.pshd-note{font-size:13px;color:#6a6a6a}
.pshd-link a{color:#b2552c;font-weight:600}
.pshd-safety{grid-column:1/-1;margin:0;padding:14px 24px;border-top:1px solid var(--pshd-line);font-size:13px;color:#6a6a6a}
.pshd-hint{margin:6px 0 0;font-size:12px;color:#7a7a7a}

/* Нижня смуга на телефоні */
.pshd-sticky{position:fixed;left:10px;right:10px;bottom:10px;z-index:9990;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 10px 8px 16px;border-radius:6px;background:var(--pshd-dark);color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:600;line-height:1.3;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.pshd-sticky[hidden]{display:none}
.pshd-sticky-more{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:36px;padding:0 12px;border-radius:4px;background:var(--pshd-acc);color:#2a2a2a;white-space:nowrap}
@media (min-width:861px){.pshd-sticky{display:none!important}}

@media (max-width:1000px){
  .pshd-mini{grid-template-columns:1fr}
  .pshd-mini-res{border-left:0;border-top:1px solid var(--pshd-line)}
}
@media (max-width:860px){
  .pshd-full{grid-template-columns:1fr}
  .pshd-res{border-left:0;border-top:1px solid var(--pshd-line)}
}
@media (max-width:560px){
  .pshd-mini-form,.pshd-mini-res,.pshd-form,.pshd-res{padding:18px 16px}
  .pshd-mini .pshd-title{font-size:21px}
  .pshd-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pshd-mini-grid .pshd-f-sex,.pshd-mini-grid>.pshd-field:last-child{grid-column:1/-1}
  .pshd-bar-row{grid-template-columns:1fr auto}
  .pshd-bar-row .pshd-bar{grid-column:1/-1;grid-row:2}
  .pshd-verdict .pshd-hl{font-size:20px}
  .pshd-safety{padding:14px 16px}
  .pshd-mini .pshd-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.pshd-bar i,.pshd-mbars em,.pshd-btn{transition:none}}

/* FAQ під калькулятором */
.pshd-faq{border:1px solid var(--pshd-line,#dedede);border-radius:4px;margin:0 0 10px;background:#fff}
.pshd-faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 16px;font-weight:700;color:#313131}
.pshd-faq summary::-webkit-details-marker{display:none}
.pshd-faq summary::after{content:"+";font-size:22px;line-height:1;color:#e89068;flex:none}
.pshd-faq[open] summary::after{content:"\2212"}
.pshd-faq summary:focus-visible{outline:2px solid #313131;outline-offset:2px}
.pshd-faq-a{padding:0 16px 14px}
.pshd-faq-a p:last-child{margin-bottom:0}
