/* Emerald ribbon. Shared drawing, optics and control sizes across the application. */
:root {
  --ribbon-art: url("/brand/home-liquid-jade.webp");
  --ribbon-ink: #103a31;
  --ribbon-muted: #405f54;
  --ribbon-accent: #086748;
  --ribbon-edge: inset 0 1px 1px #fffffffa, inset 1px 0 1px #ffffffbf, inset 0 -1px 1px #47796926, 0 5px 18px -10px #143d315c;
  --ribbon-glass: linear-gradient(121deg, #fffffff5 1%, #f9fffbe8 48%, #ecfaf0cc 100%);
  --ribbon-lens: linear-gradient(125deg, #ffffffed, #ffffffc2 56%, #eefcf0a8);
}
.poruchitel[data-screen] {
  --ink: var(--ribbon-ink);
  --green: var(--ribbon-accent);
  color: var(--ribbon-ink);
  background: linear-gradient(112deg,#f9fcf9e6,#f3faf6c9 57%,#e7f7e99c), var(--ribbon-art) center / cover no-repeat, #e5f1e9;
}
.poruchitel:is([data-screen=home],[data-screen=catalog]) {
  background: linear-gradient(140deg,#fff6,#ffffff16 57%,#f7fff324), var(--ribbon-art) center / cover no-repeat, #e5f1e9;
}
.poruchitel[data-screen] :is(.p-scroll,.p-content) {background:transparent}
.poruchitel[data-screen] .brand-topbar {
  left:12px;right:12px;top:calc(8px + env(safe-area-inset-top,0px));height:54px;
  padding-inline:clamp(8px,3.2vw,18px);border-radius:23px;
}
.poruchitel[data-screen] :is(.brand-topbar,.p-navigation,.wizard-progress .step-back,.category-tabs) {
  background:var(--ribbon-lens);border:1px solid #ffffffe0!important;box-shadow:var(--ribbon-edge);
  -webkit-backdrop-filter:blur(12px) saturate(1.14);backdrop-filter:blur(12px) saturate(1.14);
}
@supports (backdrop-filter:url("#home-lens-bar")) {
  .poruchitel[data-screen] :is(.brand-topbar,.p-navigation) {backdrop-filter:url("#home-lens-bar") blur(8px) saturate(1.15)}
}
.poruchitel[data-screen] .header-contact {
  display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%;
  color:var(--ribbon-accent);background:radial-gradient(circle at 38% 30%, #fff 0%, #f5fff8cc 48%, #d1eddd73 100%);
}
.poruchitel[data-screen] .header-contact svg {width:22px;height:22px}
.poruchitel[data-screen] .p-scroll {top:calc(67px + env(safe-area-inset-top,0px))!important}
.poruchitel[data-screen] .p-scroll.with-progress {top:calc(118px + env(safe-area-inset-top,0px))!important}
.poruchitel[data-screen] .wizard-progress {
  top:calc(65px + env(safe-area-inset-top,0px));height:50px;padding:2px clamp(14px,4.4vw,24px);
  background:transparent;border:0;box-shadow:none;
}
.poruchitel[data-screen] .step-back {border-radius:17px;color:#12573f;min-width:87px}
.poruchitel[data-screen] .step-ring {width:40px;height:40px;box-shadow:0 1px 4px #18463124}
.poruchitel[data-screen] .step-ring b {width:76%;height:76%;font-size:12px;font-variant-numeric:tabular-nums;color:#15513e}
.poruchitel[data-screen] .p-navigation {
  left:12px;right:12px;height:66px;padding:5px;border-radius:25px;margin-bottom:calc(8px + env(safe-area-inset-bottom,0px));
}
.poruchitel[data-screen] .p-navigation>button {min-height:54px;height:54px;color:#39594c;gap:3px}
.poruchitel[data-screen] .p-navigation .active .nav-label {color:#075d40!important}
.poruchitel[data-screen] .p-navigation .nav-icon svg {width:21px;height:21px}
.poruchitel[data-screen] .p-navigation [data-nav-key=drafts] .nav-icon svg {width:22px;height:22px}
.poruchitel[data-screen] :is(.category-active-pill,.p-navigation .nav-active-pill) {
  border:1px solid #a7cdbb;border-radius:19px;background:linear-gradient(145deg,#f6fff8,#cfebda 68%,#e7f8ec);
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #82a99640,0 2px 4px #284c3b16;
}
.poruchitel[data-screen] .flow-footer {
  left:0;right:0;border:0;box-shadow:none;
  background:linear-gradient(0deg,#eef7f3 15%,#f4faf5ec 65%,#f4faf500);
  padding-inline:clamp(14px,4.4vw,24px);padding-top:11px;
}
.poruchitel[data-screen] :is(.flow-footer .p-button.primary,.p-button.primary,.hero-button),.native-sheet .p-button.primary {
  border:1px solid #0c674a!important;border-radius:17px;
  background:linear-gradient(117deg,#117650,#075d43 68%,#07563f);
  box-shadow:inset 0 1px 0 #d0f9dc60,0 4px 10px -6px #064830aa;color:#fff;
}
.poruchitel[data-screen] .p-button.primary:disabled,.native-sheet .p-button.primary:disabled {
  background:#dce6df;color:#51625a;border-color:#c3d3c9!important;box-shadow:none;opacity:1;
}
.poruchitel[data-screen] .p-button.secondary,.native-sheet .p-button.secondary {
  background:linear-gradient(120deg,#ffffffed,#eff8f2e8);border:1px solid #afc8b9!important;color:#14553f;
}
.poruchitel[data-screen] :is(.contact-fields,.consent-box,.amount-panel,.facts-panel,.p-details,.check-section,.catalog-info,.draft-card,.empty-state-card,.review-product,.lead-submit,.account-panel,.support-card,.office,.about-requisites,.about-links,.result-actions,.result-totals,.insight,.account-consent.contact-legal) {
  border:1px solid #fffffff2;border-radius:21px;background:var(--ribbon-glass);box-shadow:var(--ribbon-edge);
}
.poruchitel[data-screen] :is(.contact-fields,.consent-box,.account-panel,.amount-panel,.check-section,.facts-panel,.support-card,.office,.lead-submit,.catalog-info) {padding-inline:clamp(12px,4vw,20px)}
.poruchitel[data-screen] .page-intro h1,.poruchitel[data-screen] .result-heading h1 {color:#0d3329;letter-spacing:-.035em;text-wrap:balance}
.poruchitel[data-screen] :is(.page-intro p,.fine-print,.consent-hint,.range-labels) {color:var(--ribbon-muted)}
.poruchitel[data-screen] :is(.p-select-trigger,.p-field input:not([type=checkbox]):not([type=range]),.p-field select) {
  background:#fbfefc;border:1px solid #aabfb2!important;border-radius:13px;color:#143a2d;
}
.poruchitel[data-screen] .p-field :is(input,.p-select-trigger)[aria-invalid=true] {border:1px solid #a22e33!important;background:#fffafa}
.poruchitel[data-screen] .field-error {color:#8f252c}
.poruchitel[data-screen] .p-field input::placeholder {color:#60776b;opacity:1}
.poruchitel[data-screen] :is(input[type=checkbox],input[type=radio],input[type=range]) {accent-color:#0c7451}
.poruchitel[data-screen] :is(button,a,input,select,summary):focus-visible,.native-sheet :focus-visible,.choice-sheet :focus-visible {outline:2px solid #087750;outline-offset:2px}
.poruchitel[data-screen] .kind-options>button {min-height:52px;color:#234d3d;background:var(--ribbon-glass);border:1px solid #b9cfc2!important}
.poruchitel[data-screen] .kind-options>button:is(.active,[aria-pressed=true],[aria-checked=true]) {background:#e0f4e7;border-color:#509974!important;color:#075b3f}
.poruchitel[data-screen] :is(.service-symbol,.needs-symbol,.support-emblem,.account-profile-avatar,.empty-calculation-icon) {display:grid;place-items:center;flex-shrink:0}
.poruchitel[data-screen=home] .service-symbol {width:clamp(47px,13vw,56px);height:clamp(47px,13vw,56px)}
.poruchitel[data-screen] .needs-symbol {width:38px;height:38px}
.poruchitel[data-screen] img:is(.needs-symbol,.service-symbol) {display:block;object-fit:contain;mix-blend-mode:multiply}
.poruchitel[data-screen] :is(.support-emblem,.account-profile-avatar,.empty-calculation-icon) {width:49px;height:49px}
.poruchitel[data-screen] :is(.support-emblem,.account-profile-avatar,.empty-calculation-icon) img {width:100%;height:100%;object-fit:contain}
.poruchitel[data-screen] .list-action>svg:first-child {width:21px;height:21px;color:#146447;flex-shrink:0}
.poruchitel[data-screen] :is(.list-action,.priority-link)>svg:last-child {width:17px;height:17px;color:#456e5c;flex-shrink:0}
.poruchitel[data-screen] :is(.program-artwork,.program-art-shell) {transform:none!important}
.poruchitel[data-screen] .program-art-glint {background-image:linear-gradient(112deg,transparent 34%,#f2f7f92e 44%,#f6faffb8 50%,#dde8ee40 57%,transparent 67%)}
.poruchitel[data-screen=catalog] .carousel-card {border-radius:23px}
.poruchitel[data-screen] .result-summary {border-radius:23px;border:1px solid #ffffffdc;overflow:hidden;background:var(--ribbon-glass);box-shadow:var(--ribbon-edge)}
.poruchitel[data-screen=result] .result-summary>.result-hero {
  background:linear-gradient(106deg,#064732 7%,#07513be0 57%,#064934a8),var(--ribbon-art) 72% 56% / cover;
  color:#fff;border:0;
}
.poruchitel[data-screen] .result-hero>* {color:#fff}
.poruchitel[data-screen] .result-terms {background:#f7fcf6ef}
.poruchitel[data-screen] :is(.result-hero,.fact dd,.amount-input,.range-labels,.catalog-facts) {font-variant-numeric:tabular-nums}
.poruchitel[data-screen=result] .result-actions {padding-inline:14px}
.poruchitel[data-screen=needs] .p-content>.fine-print {background:#f6fcf6e8;padding:10px 13px;border-radius:12px;line-height:1.48}
.poruchitel[data-screen] .about-requisites .facts-panel {background:transparent;border:0;box-shadow:none;padding-inline:0}
.poruchitel[data-screen] .result-actions>.list-action,.poruchitel[data-screen] .result-actions .result-explanation {background:transparent}
.poruchitel[data-screen] .legal-copy {background:var(--ribbon-glass);border-radius:21px}
.poruchitel[data-screen] .legal-copy>section {background:none;border-radius:0}
.poruchitel[data-screen] .legal-copy {padding:clamp(14px,4.4vw,22px);box-shadow:var(--ribbon-edge);line-height:1.55}
.poruchitel[data-screen] .account-session-actions {order:2}
.poruchitel[data-screen] .account-panel:has(>.account-session-actions)>.account-heading {margin-top:0}
.poruchitel[data-screen] .account-panel:has(>.account-session-actions) {display:flex;flex-direction:column}
.poruchitel[data-screen] .account-session-actions {margin:16px 0 0;padding:13px 0 0;border-top:1px solid #d0e2d6}
.poruchitel[data-screen] .account-history+.account-history {margin-top:24px}
.native-overlay,.choice-overlay {background:#234c3f55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.native-sheet.poruchitel,.choice-sheet.poruchitel {background:linear-gradient(120deg,#fffffff9,#f4fcf6f0),var(--ribbon-art) center/cover;border:1px solid #fff;box-shadow:0 -8px 42px #092d2529;border-radius:26px 26px 0 0}
.choice-sheet.poruchitel {inset:auto 0 0;max-width:680px;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
.native-sheet .sheet-heading {background:linear-gradient(115deg,#fffffff4,#e2f2e9da);border-bottom:1px solid #c9dfd1}
.native-sheet .sheet-heading .sheet-close {border-radius:50%;color:#1a5942;background:#fbfffc;border-color:#c4dacb}
.native-sheet .payment-schedule thead th {background:#e0f0e6;color:#295a40}
.native-sheet .payment-schedule tbody tr:nth-child(even) {background:#f0f8f2}
#poruchitel-boot .splash {background:linear-gradient(160deg,#ffffffeb,#ffffffe3 28%,#f1fff353 64%,#ecf9ed55),var(--ribbon-art) center/cover}
#poruchitel-boot[data-welcome-period=night] .splash {background:linear-gradient(158deg,#073d35f5 5%,#063b34e8 34%,#0a493f7a 66%,#073b39ab),var(--ribbon-art) center/cover}
#poruchitel-boot .welcome-scene {display:none}
#poruchitel-boot .launch-skip {border-radius:22px}
@media(max-width:359px){
  .poruchitel[data-screen] .brand-topbar {left:6px;right:6px;padding-inline:6px}
  .poruchitel[data-screen] .p-navigation {left:8px;right:8px}
  .poruchitel[data-screen] .needs-symbol {width:32px;height:32px}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  .poruchitel[data-screen] {--ribbon-glass:#f8fcf9;--ribbon-lens:#f8fcf9}
  .poruchitel[data-screen] :is(.brand-topbar,.p-navigation,.category-tabs,.service,.home-hero,.step-back,.carousel-card,.catalog-info),.native-sheet.poruchitel,.choice-sheet {backdrop-filter:none;-webkit-backdrop-filter:none;background:#f8fcf9;border-color:#91aa9a!important}
  .native-overlay,.choice-overlay {backdrop-filter:none;-webkit-backdrop-filter:none;background:#2d4c40af}
}
