/* Shared professional services UI. Edit canonical assets under admin-private/professional-services. */
.ps-page{width:min(1230px,calc(100% - 40px));margin:0 auto;padding:28px 0 76px;box-sizing:border-box;flex:1 0 auto}
.ps-page *{box-sizing:border-box}
.ps-page .ps-back{margin-bottom:24px}.ps-page .ps-back a{font-weight:700;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;min-height:40px}.ps-page .ps-back a:hover{text-decoration:underline}
.ps-page .ps-hero{padding:clamp(22px,4vw,44px) 0 28px;max-width:840px}.ps-page .ps-hero h1{font-size:clamp(2rem,4.5vw,3.5rem);letter-spacing:-.045em;line-height:1.12;margin:0 0 12px;color:var(--text,#e8edf4)}.ps-page .ps-hero p{font-size:1.03rem;line-height:1.65;color:var(--muted,#b6beca);margin:0}
.ps-it{--ps-color:#65dfaa;--ps-ink:#0a2318}.ps-plan{--ps-color:#ff6571;--ps-ink:#2b080d}.ps-center,.shared-premium-service{--ps-color:#f59e0b;--ps-ink:#251500}
html[data-ux-theme="light"] .ps-it{--ps-color:#087b4a;--ps-ink:#fff}html[data-ux-theme="light"] .ps-plan{--ps-color:#b4233c;--ps-ink:#fff}html[data-ux-theme="light"] .ps-center,html[data-ux-theme="light"] .shared-premium-service{--ps-color:#935700;--ps-ink:#fff}
.ps-page .ps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.ps-page .ps-card{min-width:0;display:flex;flex-direction:column;padding:clamp(18px,2.4vw,28px);gap:14px;border:1px solid color-mix(in srgb,var(--ps-color) 43%,var(--border,#34404a));border-top:3px solid var(--ps-color);border-radius:19px;background:linear-gradient(155deg,color-mix(in srgb,var(--ps-color) 7%,var(--panel-strong,#172029)),var(--panel,#121920));box-shadow:var(--shadow-soft,none)}
.ps-page .ps-card-top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ps-page .ps-icon{display:inline-grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:12px;color:var(--ps-color);background:color-mix(in srgb,var(--ps-color) 13%,transparent)}.ps-page .ps-icon svg{width:25px;height:25px}.ps-page .ps-tag{color:var(--ps-color);font-size:.76rem;font-weight:750}
.ps-page .ps-card h2{font-size:clamp(1.22rem,1.9vw,1.55rem);line-height:1.28;letter-spacing:-.02em;color:var(--ps-color);margin:0;min-height:2.56em}.ps-page .ps-card p{font-size:.94rem;color:var(--muted,#b6beca);line-height:1.65;margin:0}
.ps-page .ps-checks{list-style:none;margin:0;padding:15px 0 4px;display:grid;gap:12px;border-top:1px solid var(--border,#34404a)}.ps-page .ps-checks li{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-size:.91rem}.ps-page .ps-checks li span{color:var(--ps-color);font-weight:800;flex:none}
.ps-page .ps-card-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:6px}.ps-page .ps-button,.ps-page .ps-secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;border-radius:10px;font-size:.91rem;font-weight:750;text-decoration:none;line-height:1.4;text-align:center}.ps-page .ps-button{background:var(--ps-color);color:var(--ps-ink);border:1px solid var(--ps-color)}.ps-page .ps-button:hover{filter:brightness(1.1)}.ps-page .ps-secondary{color:var(--ps-color);border:1px solid color-mix(in srgb,var(--ps-color) 50%,transparent)}.ps-page .ps-tool-link{font-size:.88rem;font-weight:700;text-align:center;color:var(--ps-color);padding:6px;text-decoration:none}.ps-page .ps-tool-link:hover,.ps-page .ps-secondary:hover{text-decoration:underline}
.ps-page .ps-presentations{margin-top:46px}.ps-page .ps-presentations>h2{font-size:1.6rem;margin:0 0 6px}.ps-page .ps-presentations>p{color:var(--muted);margin:0 0 20px;line-height:1.6}.ps-page .ps-detail{margin:12px 0;border:1px solid color-mix(in srgb,var(--ps-color) 38%,var(--border,#34404a));border-radius:16px;background:var(--panel,#151d24);scroll-margin-top:110px;overflow:hidden}.ps-page .ps-detail>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:17px 21px;cursor:pointer}.ps-page .ps-detail>summary::-webkit-details-marker{display:none}.ps-page .ps-summary-text{display:grid;gap:3px;flex:1;min-width:0}.ps-page .ps-summary-text strong{color:var(--ps-color);font-size:1.08rem;line-height:1.35}.ps-page .ps-summary-text small{color:var(--muted)}.ps-page .ps-chevron{color:var(--ps-color);font-size:1.55rem;line-height:1;transition:transform .15s}.ps-page .ps-detail[open]>summary .ps-chevron{transform:rotate(180deg)}.ps-page .ps-detail-body{padding:22px clamp(18px,3vw,32px) 28px;border-top:1px solid var(--border,#34404a)}.ps-page .ps-detail-intro{color:var(--muted);line-height:1.65;margin:0 0 24px}
.ps-page .service-section{margin:26px 0;scroll-margin-top:110px}.ps-page .service-section h3{font-size:1.18rem;margin:0 0 14px}.ps-page .service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ps-page .service-card{border:1px solid var(--border,#34404a);border-radius:12px;background:var(--panel-strong,#1b242c);padding:18px;min-width:0}.ps-page .service-card>span{font-size:.77rem;color:var(--ps-color);font-weight:750}.ps-page .service-card h4{font-size:1rem;margin:9px 0}.ps-page .service-card p{font-size:.9rem;line-height:1.6;color:var(--muted);margin:0}.ps-page .service-faq{display:grid;gap:9px}.ps-page .service-faq details{padding:13px 16px;border:1px solid var(--border,#34404a);border-radius:10px}.ps-page .service-faq summary{font-weight:650;cursor:pointer}.ps-page .service-faq p{color:var(--muted);line-height:1.6;margin:10px 0 0}.ps-page .service-note{padding:15px 18px;border-left:3px solid var(--ps-color);border-radius:6px;background:color-mix(in srgb,var(--ps-color) 7%,transparent);line-height:1.6;font-size:.88rem;color:var(--muted)}.ps-page .ps-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.ps-page :is(a,summary):focus-visible{outline:2px solid var(--ps-color,var(--accent,#f59e0b));outline-offset:4px}
/* Shared homepage premium cards. Scoped above portal-specific legacy styles. */
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource > .resource-card-heading strong,
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource > .resource-card-description {
  color:#f5f5f5!important;
}
html[data-ux-theme="light"] body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource > .resource-card-heading strong,
html[data-ux-theme="light"] body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource > .resource-card-description {
  color:#242424!important;
}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service {
  border:1px solid color-mix(in srgb,var(--ps-color) 55%,#46515e)!important;
  background:linear-gradient(150deg,#30281b,#1c2028)!important;
  box-shadow:none!important;
  color:#f5f5f5!important;
  display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0;
  transition:border-color .15s,background .15s;
}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service:is(:hover,:focus-visible) {
  border-color:var(--ps-color)!important;
  background:linear-gradient(150deg,#3b2d18,#1c2028)!important;
}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service :is(.resource-card-kicker,.resource-feature-icon,.resource-card-arrow) {
  color:var(--ps-color)!important;
}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service .resource-card-heading {
  display:flex!important;align-items:center;gap:10px;
}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service .resource-feature-icon {
  flex:0 0 24px;display:inline-grid;place-items:center;width:24px;height:24px;background:none!important;border:0!important;
}
.resource-card.shared-premium-service .resource-feature-icon svg{width:23px;height:23px}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service .resource-card-heading strong{font-size:1.06rem!important;font-weight:750!important;line-height:1.35!important}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service .resource-card-description{font-size:.92rem!important;line-height:1.55!important}
html body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service .resource-card-kicker{font-size:.72rem!important;font-weight:750!important;letter-spacing:.03em}
/* Keep the red card legible in the light theme despite its legacy dark background. */
html[data-ux-theme="light"] body.site-varnakoda #strokovna-pomoc .resource-grid .resource-card.premium-resource:not(.shared-premium-service){background:linear-gradient(150deg,#fff0f2,#fffafa)!important;border-color:#bd5265!important}
html[data-ux-theme="light"] body.site-varnakoda #strokovna-pomoc .resource-grid .resource-card.premium-resource:not(.shared-premium-service):is(:hover,:focus-visible){background:#ffe5ea!important;border-color:#a52645!important}
html[data-ux-theme="light"] body.site-varnakoda #strokovna-pomoc .resource-grid .resource-card.premium-resource:not(.shared-premium-service) :is(.resource-card-kicker,.resource-feature-icon,.resource-card-arrow){color:#a52645!important}
html[data-ux-theme="light"] body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service{background:linear-gradient(150deg,#fff4dc,#fffaf1)!important;color:#242424!important}
html[data-ux-theme="light"] body :is(#orodja,#strokovna-pomoc) .resource-grid .resource-card.premium-resource.shared-premium-service:is(:hover,:focus-visible){background:#fff0cd!important}
@media(max-width:900px){.ps-page .ps-grid{grid-template-columns:1fr}.ps-page .ps-card h2{min-height:0}.ps-page .ps-card-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.ps-page .service-grid{grid-template-columns:1fr}}@media(max-width:550px){.ps-page{width:calc(100% - 28px);padding-top:16px}.ps-page .ps-card-actions{flex-direction:column;align-items:stretch}.ps-page .ps-detail>summary{padding:14px;gap:10px}.ps-page .ps-detail-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.ps-page .ps-chevron{transition:none}}

/* Each detail section uses its own service accent; body text retains readable contrast. */
.ps-page .ps-detail .service-section h3,
.ps-page .ps-detail .service-card h4,
.ps-page .ps-detail .service-faq summary,
.ps-page .ps-detail .plan-preview-card h4 {color:var(--ps-color)}
.ps-page .ps-detail .service-card,
.ps-page .ps-detail .service-faq details,
.ps-page .ps-detail .plan-preview-card,
.ps-page .ps-detail .plan-preview-disclaimer {border-color:color-mix(in srgb,var(--ps-color) 36%,var(--border,#34404a));background:color-mix(in srgb,var(--ps-color) 6%,var(--panel-strong,#1b242c))}
.ps-page .ps-detail .service-card {display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:11px;row-gap:10px;align-items:start;align-content:start}
.ps-page .ps-detail .service-card>span {grid-column:1;grid-row:1;display:inline-grid;place-items:center;min-width:2.15em;min-height:2.15em;line-height:1;border-radius:7px;background:color-mix(in srgb,var(--ps-color) 13%,transparent);color:var(--ps-color);font-size:.78rem;font-weight:800}
.ps-page .ps-detail .service-card>h4 {grid-column:2;grid-row:1;align-self:center;line-height:1.35;margin:0;overflow-wrap:anywhere}
.ps-page .ps-detail .service-card>p {grid-column:1/-1;grid-row:2;margin:0;color:var(--text,#e8edf4)}
.ps-page .ps-detail .service-faq p,.ps-page .ps-detail .ps-detail-intro,.ps-page .ps-detail .service-note,.ps-page .ps-detail .plan-preview-desc,.ps-page .ps-detail .plan-preview-intro p {color:var(--text,#e8edf4)}
.ps-page .ps-detail .plan-preview-index,.ps-page .ps-detail .plan-preview-demo {color:var(--ps-color)}

/* Number markers follow the service, not the host portal accent. */
.ps-page .ps-detail .service-card>span {border:1px solid color-mix(in srgb,var(--ps-color) 58%,transparent);box-sizing:border-box}
