/* DJSpace.cz 1.3.3 — finální sjednocení světlého designu po auditu */
:root{
  --audit-text:#271f2a;
  --audit-muted:#625966;
  --audit-border:#e7dfe9;
  --audit-soft:#faf7fb;
  --audit-card:#ffffff;
  --audit-accent:#c20a79;
  --audit-accent-dark:#94065c;
  --audit-focus:rgba(194,10,121,.23);
}
html{scroll-behavior:smooth}
body{color:var(--audit-text);background:#f7f4f8}
body,button,input,select,textarea{font-synthesis:none;text-rendering:optimizeLegibility}
a{color:var(--audit-accent);text-underline-offset:2px}
a:hover{color:var(--audit-accent-dark)}
.muted,small,.help,.field-help,.form-help{color:var(--audit-muted)!important}
::placeholder{color:#716776!important;opacity:1}
input,select,textarea{
  color:var(--audit-text)!important;background:#fff!important;border-color:#dcd2df!important;
  box-shadow:0 1px 2px rgba(45,29,48,.025)
}
input:hover,select:hover,textarea:hover{border-color:#cbbdce!important}
input:focus,select:focus,textarea:focus,
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--audit-focus)!important;outline-offset:2px!important;border-color:var(--audit-accent)!important
}
label{color:#382f3b}
.card,.stat-card,.inline-card,.admin-tile,.content-card,.terms-content{
  background:var(--audit-card)!important;border-color:var(--audit-border)!important;
  box-shadow:0 12px 34px rgba(54,35,58,.065)!important
}
.card h1,.card h2,.card h3,.admin-tile h2,.inline-card h3{color:#241b27}
.card-head,.page-head{gap:18px}
.page-head{align-items:flex-start}
.page-head h1{letter-spacing:-.025em}
.btn{box-shadow:0 8px 20px rgba(183,7,111,.13)}
.btn-ghost{box-shadow:none!important;background:#fff!important;color:#6f0a4a!important;border-color:#d9cbdc!important}
.btn-ghost:hover{background:#fbf2f8!important;border-color:#c20a79!important}
.table-wrap{border:1px solid var(--audit-border)!important;border-radius:16px;overflow:auto;background:#fff}
table{background:#fff;color:var(--audit-text)}
thead th{background:#f7f1f7!important;color:#4b3f4e!important;border-bottom:1px solid #dfd4e1!important;font-size:.76rem;letter-spacing:.035em;text-transform:uppercase}
tbody td{border-bottom-color:#eee7ef!important;vertical-align:top}
tbody tr:hover td{background:#fcf8fc}
.badge{font-weight:750;letter-spacing:.01em}
.alert,.readonly-banner{line-height:1.55}
.form-grid{gap:17px}
.form-row{gap:15px}
.check{color:#453a48}
.actions{gap:9px}
.app-sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar-nav a{min-height:43px}
.sidebar-nav a:focus-visible{outline-color:rgba(194,10,121,.32)!important}
.app-main{min-width:0}
.public-sections p,.terms-page p,.legal-page p,.terms-content p,
.terms-page li,.legal-page li,.terms-content li{color:#403544!important;line-height:1.76}
.terms-page,.legal-page,.terms-content{max-width:980px}
.terms-page h1,.terms-page h2,.terms-page h3,.legal-page h1,.legal-page h2,.legal-page h3,.terms-content h1,.terms-content h2,.terms-content h3{color:#241b27!important}
.profile-gallery img{background:#f2edf3}
.profile-gallery figure{margin:0}
.subscription-payment-box,.billing-plan,.free-dashboard-card,.premium-locked-card{
  color:var(--audit-text)!important;background:linear-gradient(145deg,#fff,#faf5fb)!important;border-color:#e4d8e6!important;
  box-shadow:0 14px 36px rgba(54,35,58,.07)!important
}
.subscription-payment-box h2,.billing-plan h2,.billing-price strong,.free-dashboard-card h2,.premium-locked-card h2{color:#241b27!important}
.subscription-payment-box p,.billing-plan .price-note,.billing-price span,.free-dashboard-card p,.premium-locked-card p{color:var(--audit-muted)!important}
.free-plan-banner{background:linear-gradient(135deg,#effbf8,#fff5fb)!important;color:#315e58!important;border-color:#bce4dc!important}
.free-plan-banner strong{color:#173f3a!important}
.sms-otp-panel{background:linear-gradient(135deg,#fff1f8,#f5f0ff)!important;border-color:#e6c9dc!important;box-shadow:0 12px 30px rgba(70,35,70,.07)!important}
.sms-otp-panel h3{color:#241b27!important}.sms-otp-panel p{color:var(--audit-muted)!important}
.signature-proof-grid p{background:#faf7fb!important;border-color:#e7dfe9!important;color:#403544!important}
@media(max-width:900px){
  .page-head{display:block}.page-head>.actions,.page-head>.btn{margin-top:14px}
  .form-row{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .card,.stat-card,.admin-tile{border-radius:15px!important;padding:17px!important}
  .actions{width:100%;align-items:stretch}.actions .btn,.actions form,.actions form .btn{width:100%}
  .table-wrap{border-radius:12px}
  table{min-width:650px}
  .app-footer{gap:8px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
