@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{
  --yso-background:#f8fafc; --yso-foreground:#0a172d; --yso-card:#ffffff; --yso-card-foreground:#0a172d;
  --yso-primary:#0b1e3f; --yso-primary-foreground:#f8fafc; --yso-secondary:#1e40af; --yso-accent:#3b82f6;
  --yso-muted:#f0f4f8; --yso-muted-foreground:#526174; --yso-border:#d9e2ec; --yso-input:#d9e2ec;
  --yso-radius:12px; --yso-hero-gradient:linear-gradient(135deg,#081831 0%,#173488 60%,#2672ee 100%);
  --yso-subtle-gradient:linear-gradient(180deg,#f8fafc 0%,#eef4fa 100%); --yso-card-gradient:linear-gradient(160deg,#fff 0%,#f5f8fc 100%);
  --yso-glow-primary:0 20px 50px -15px rgba(11,30,63,.35); --yso-glow-accent:0 20px 50px -15px rgba(59,130,246,.4);
  --yso-shadow-card:0 4px 24px -8px rgba(11,30,63,.12);
}
.yso-root,.yso-root *{box-sizing:border-box}.yso-root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--yso-foreground);background:var(--yso-background);line-height:1.5}.yso-root h1,.yso-root h2,.yso-root h3,.yso-root h4{font-family:"Space Grotesk",Inter,sans-serif;letter-spacing:-.02em;color:inherit;margin:0}.yso-root p{margin:0}.yso-root a{color:inherit;text-decoration:none}.yso-container{max-width:1280px;margin:0 auto;padding:0 16px}.yso-min-screen{min-height:100vh}.yso-header{border-bottom:1px solid var(--yso-border);background:rgba(255,255,255,.86);backdrop-filter:blur(16px);position:sticky;top:0;z-index:30}.yso-header-inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}.yso-brand{display:flex;align-items:center;gap:10px}.yso-logo{width:36px;height:36px;border-radius:10px;background:var(--yso-hero-gradient);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;box-shadow:var(--yso-shadow-card)}.yso-logo-lg{width:48px;height:48px;border-radius:14px}.yso-brand-title{font-weight:700;font-size:14px;line-height:1.15}.yso-brand-sub{font-size:12px;color:var(--yso-muted-foreground);line-height:1.15}.yso-nav{display:flex;align-items:center;gap:8px}.yso-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:10px;border:1px solid transparent;padding:10px 16px;font-size:14px;font-weight:650;cursor:pointer;transition:.2s ease;background:var(--yso-primary);color:var(--yso-primary-foreground);box-shadow:none}.yso-btn:hover{transform:translateY(-1px);box-shadow:var(--yso-glow-primary)}.yso-btn-ghost{background:transparent;color:var(--yso-foreground)}.yso-btn-ghost:hover{background:var(--yso-muted);box-shadow:none}.yso-btn-outline{background:transparent;border-color:rgba(255,255,255,.28);color:#fff}.yso-btn-outline:hover{background:rgba(255,255,255,.10);box-shadow:none}.yso-btn-hero{background:#fff;color:#0b1e3f}.yso-btn-lg{min-height:48px;padding:12px 20px;font-size:16px}.yso-hero{background:var(--yso-hero-gradient);color:#fff;position:relative;overflow:hidden}.yso-grid-pattern{position:absolute;inset:0;opacity:.3;background-image:linear-gradient(rgba(59,130,246,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(59,130,246,.22) 1px,transparent 1px);background-size:48px 48px}.yso-hero-inner{position:relative;padding:86px 16px 106px}.yso-hero-copy{max-width:790px}.yso-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);padding:5px 12px;font-size:12px;font-weight:650;backdrop-filter:blur(8px)}.yso-hero h1{font-size:clamp(38px,6vw,72px);line-height:1.04;margin-top:20px}.yso-hero p{font-size:clamp(18px,2vw,22px);color:rgba(255,255,255,.82);margin-top:20px;max-width:720px}.yso-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.yso-section{padding:80px 0}.yso-center{text-align:center}.yso-section-head{max-width:720px;margin:0 auto 48px}.yso-section-head h2{font-size:clamp(30px,4vw,44px);line-height:1.1}.yso-section-head p{color:var(--yso-muted-foreground);margin-top:12px}.yso-grid{display:grid;gap:20px}.yso-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.yso-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.yso-card{background:var(--yso-card);border:1px solid rgba(217,226,236,.75);border-radius:var(--yso-radius);box-shadow:var(--yso-shadow-card);overflow:hidden}.yso-card-hover{transition:all .25s ease}.yso-card-hover:hover{transform:translateY(-4px);box-shadow:var(--yso-glow-primary)}.yso-card-pad{padding:24px}.yso-iconbox{width:44px;height:44px;border-radius:12px;background:rgba(59,130,246,.11);color:var(--yso-accent);display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:22px}.yso-feature-title{font-weight:700;font-size:18px;margin-bottom:4px}.yso-feature-text{font-size:14px;color:var(--yso-muted-foreground)}.yso-footer{border-top:1px solid var(--yso-border);background:rgba(240,244,248,.55);padding:32px 0;color:var(--yso-muted-foreground);font-size:14px}.yso-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.yso-footer-links{display:flex;gap:18px}.yso-auth{min-height:100vh;background:var(--yso-hero-gradient);display:flex;align-items:center;justify-content:center;padding:40px 16px}.yso-auth-box{width:100%;max-width:520px}.yso-back{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.82);margin-bottom:24px;font-size:14px}.yso-back:hover{color:#fff}.yso-auth .yso-card{box-shadow:0 25px 70px rgba(0,0,0,.24)}.yso-card-header{padding:26px 26px 0}.yso-card-title{font-size:28px;font-weight:800}.yso-card-desc{font-size:14px;color:var(--yso-muted-foreground);margin-top:4px}.yso-form{display:grid;gap:16px}.yso-form-row{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.yso-field{display:grid;gap:8px}.yso-label{font-weight:650;font-size:14px}.yso-input,.yso-textarea,.yso-select{width:100%;border:1px solid var(--yso-input);background:#fff;border-radius:10px;padding:11px 12px;font:inherit;color:var(--yso-foreground);outline:none}.yso-input:focus,.yso-textarea:focus,.yso-select:focus{border-color:var(--yso-accent);box-shadow:0 0 0 3px rgba(59,130,246,.18)}.yso-textarea{min-height:110px;resize:vertical}.yso-help{font-size:13px;color:var(--yso-muted-foreground)}.yso-error{font-size:13px;color:#c02626;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:10px 12px}.yso-success{font-size:13px;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:10px 12px}.yso-shell{min-height:100vh;display:flex;background:rgba(240,244,248,.55)}.yso-sidebar{width:272px;border-right:1px solid var(--yso-border);background:#f8fafc;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20}.yso-sidebar-head{padding:12px;border-bottom:1px solid var(--yso-border)}.yso-sidebar-body{padding:14px 10px;flex:1}.yso-sidebar-label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--yso-muted-foreground);font-weight:700;margin:8px 10px 10px}.yso-side-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#13203a;font-size:14px;font-weight:600;margin-bottom:2px}.yso-side-link:hover,.yso-side-link.is-active{background:var(--yso-muted)}.yso-side-icon{width:20px;text-align:center}.yso-main{flex:1;min-width:0;display:flex;flex-direction:column}.yso-topbar{height:56px;border-bottom:1px solid var(--yso-border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:15}.yso-topbar-left,.yso-topbar-right{display:flex;align-items:center;gap:12px}.yso-menu-btn{display:none;background:transparent;border:0;font-size:24px;cursor:pointer}.yso-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:750;background:var(--yso-muted);color:#17233c}.yso-badge-admin{background:#0b1e3f;color:#fff}.yso-content{max-width:1280px;width:100%;margin:0 auto;padding:28px 18px 42px}.yso-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.yso-page-head h1{font-size:32px;line-height:1.1}.yso-page-head p{color:var(--yso-muted-foreground);margin-top:5px}.yso-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:24px}.yso-stats-6{grid-template-columns:repeat(6,minmax(0,1fr))}.yso-stat{padding:18px;background:var(--yso-card);border:1px solid var(--yso-border);border-radius:var(--yso-radius);box-shadow:var(--yso-shadow-card)}.yso-stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--yso-muted-foreground);font-size:13px}.yso-stat-value{font-size:24px;font-weight:800;margin-top:8px;font-family:"Space Grotesk",Inter,sans-serif}.yso-table-wrap{overflow-x:auto}.yso-table{width:100%;border-collapse:collapse;font-size:14px}.yso-table th,.yso-table td{padding:13px 14px;text-align:left;border-bottom:1px solid var(--yso-border);vertical-align:middle;white-space:nowrap}.yso-table th{font-size:12px;color:var(--yso-muted-foreground);font-weight:800;text-transform:none}.yso-table tr:last-child td{border-bottom:0}.yso-right{text-align:right!important}.yso-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.yso-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:750;background:#e2e8f0;color:#1f2937}.yso-status-new{background:#dbeafe;color:#1d4ed8}.yso-status-planned,.yso-status-reviewing{background:#ede9fe;color:#6d28d9}.yso-status-in_progress,.yso-status-sent{background:#fef3c7;color:#a16207}.yso-status-completed,.yso-status-accepted{background:#dcfce7;color:#166534}.yso-status-paused{background:#ffedd5;color:#c2410c}.yso-status-cancelled,.yso-status-rejected{background:#fee2e2;color:#b91c1c}.yso-priority-low{background:#e0f2fe;color:#0369a1}.yso-priority-normal{background:#e2e8f0;color:#334155}.yso-priority-high{background:#fef3c7;color:#92400e}.yso-priority-urgent{background:#fee2e2;color:#991b1b}.yso-empty{padding:38px;text-align:center;color:var(--yso-muted-foreground)}.yso-empty-title{font-weight:800;color:var(--yso-foreground);font-size:18px}.yso-kv{display:grid;grid-template-columns:180px 1fr;gap:12px;font-size:14px}.yso-kv dt{color:var(--yso-muted-foreground)}.yso-kv dd{margin:0;font-weight:600}.yso-detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}.yso-notice{border:1px solid var(--yso-border);background:#fff;border-radius:12px;padding:16px;margin-bottom:18px;color:var(--yso-muted-foreground)}.yso-admin-note{border-color:#bfdbfe;background:#eff6ff;color:#1e3a8a}.yso-builder-box{border:1px dashed #93c5fd;background:#eff6ff;border-radius:14px;padding:18px;color:#1e3a8a}.yso-wp-page{background:var(--yso-background);min-height:100vh}.yso-wp-header,.yso-wp-footer{display:none}.page-template-template-yoursystem-fullwidth .site-header,.page-template-template-yoursystem-fullwidth .site-footer{display:none}.yso-no-builder-padding{margin:0!important;padding:0!important}.yso-builder-shortcodes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.yso-code{background:#0b1e3f;color:#e0f2fe;border-radius:8px;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:inline-block}.yso-settings-list{display:grid;gap:10px}.yso-media-card{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center}.yso-media-card img{width:100%;height:260px;object-fit:cover;border-radius:12px;box-shadow:var(--yso-shadow-card)}
@media (max-width:1100px){.yso-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.yso-stats,.yso-stats-6{grid-template-columns:repeat(2,minmax(0,1fr))}.yso-detail-grid,.yso-media-card{grid-template-columns:1fr}}
@media (max-width:760px){.yso-grid-3,.yso-grid-2,.yso-form-row,.yso-builder-shortcodes{grid-template-columns:1fr}.yso-hero-inner{padding:64px 16px 78px}.yso-nav{gap:4px}.yso-btn{padding:9px 12px}.yso-footer-inner{align-items:flex-start}.yso-sidebar{position:fixed;left:-290px;transition:left .2s ease;box-shadow:var(--yso-glow-primary)}body.yso-sidebar-open .yso-sidebar{left:0}.yso-menu-btn{display:inline-flex}.yso-topbar-right .yso-user-email{display:none}.yso-content{padding:22px 14px 36px}.yso-page-head{flex-direction:column}.yso-page-head h1{font-size:28px}.yso-kv{grid-template-columns:1fr}.yso-stats,.yso-stats-6{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.yso-btn,.yso-card-hover{transition:none}.yso-btn:hover,.yso-card-hover:hover{transform:none}}
.yso-link{color:var(--yso-secondary);font-weight:700;text-decoration:none}.yso-link:hover{text-decoration:underline}.yso-card .yso-form .yso-select{max-width:100%}.yso-table form .yso-btn{min-height:34px;padding:7px 10px;font-size:13px}.yso-card pre.yso-code{line-height:1.6}.yso-page-head .yso-status{margin-left:6px}


/* Yoursystem v1.0.2 – säkerställ att text alltid syns på knappar även när Divi/Elementor eller temat skriver över knappstilar. */
.yso-root .yso-btn,
.yso-root a.yso-btn,
.yso-root button.yso-btn,
.yso-root input[type="submit"].yso-btn,
.yso-root input[type="button"].yso-btn {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:40px!important;
  height:auto!important;
  width:auto!important;
  max-width:100%!important;
  padding:10px 16px!important;
  border-radius:10px!important;
  border:1px solid transparent!important;
  background:var(--yso-primary)!important;
  color:var(--yso-primary-foreground)!important;
  -webkit-text-fill-color:var(--yso-primary-foreground)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  text-align:center!important;
  text-decoration:none!important;
  text-indent:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
  cursor:pointer!important;
  box-shadow:none;
}
.yso-root .yso-btn:visited,
.yso-root .yso-btn:active,
.yso-root .yso-btn:focus {
  color:var(--yso-primary-foreground)!important;
  -webkit-text-fill-color:var(--yso-primary-foreground)!important;
  text-decoration:none!important;
}
.yso-root .yso-btn:hover {
  color:var(--yso-primary-foreground)!important;
  -webkit-text-fill-color:var(--yso-primary-foreground)!important;
  text-decoration:none!important;
}
.yso-root .yso-btn *,
.yso-root .yso-btn span,
.yso-root .yso-btn strong,
.yso-root .yso-btn em {
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-indent:0!important;
  visibility:visible!important;
  opacity:1!important;
}
.yso-root .yso-btn-ghost,
.yso-root a.yso-btn-ghost,
.yso-root button.yso-btn-ghost {
  background:transparent!important;
  color:var(--yso-foreground)!important;
  -webkit-text-fill-color:var(--yso-foreground)!important;
  border-color:rgba(15,23,42,.12)!important;
}
.yso-root .yso-btn-ghost:hover,
.yso-root .yso-btn-ghost:focus {
  background:var(--yso-muted)!important;
  color:var(--yso-foreground)!important;
  -webkit-text-fill-color:var(--yso-foreground)!important;
}
.yso-root .yso-btn-outline,
.yso-root a.yso-btn-outline,
.yso-root button.yso-btn-outline {
  background:transparent!important;
  border-color:rgba(255,255,255,.34)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.yso-root .yso-btn-outline:hover,
.yso-root .yso-btn-outline:focus {
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.yso-root .yso-btn-hero,
.yso-root a.yso-btn-hero,
.yso-root button.yso-btn-hero {
  background:#fff!important;
  color:#0b1e3f!important;
  -webkit-text-fill-color:#0b1e3f!important;
  border-color:#fff!important;
}
.yso-root .yso-btn-lg {
  min-height:48px!important;
  padding:12px 20px!important;
  font-size:16px!important;
}
.yso-root .yso-table form .yso-btn {
  min-height:34px!important;
  padding:7px 10px!important;
  font-size:13px!important;
}
.yso-root .yso-menu-btn {
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  border:1px solid var(--yso-border);
  border-radius:10px;
  background:#fff;
  color:var(--yso-foreground);
  -webkit-text-fill-color:var(--yso-foreground);
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  padding:8px 12px;
  text-indent:0;
  visibility:visible;
  opacity:1;
  cursor:pointer;
}
.yso-root .yso-menu-icon,
.yso-root .yso-menu-text {
  display:inline-flex;
  color:inherit;
  -webkit-text-fill-color:currentColor;
  visibility:visible;
  opacity:1;
}
@media (max-width:760px){
  .yso-root .yso-menu-btn{display:inline-flex!important;}
}


/* Yoursystem v1.0.3 – extra stark fix för Logga in-knappen. */
.yso-root .yso-login-submit,
.yso-root button.yso-login-submit,
.yso-root form.yso-form button.yso-login-submit[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:44px!important;
  padding:12px 18px!important;
  background:#0b1e3f!important;
  background-color:#0b1e3f!important;
  border:1px solid #0b1e3f!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  text-indent:0!important;
  text-transform:none!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}
.yso-root .yso-login-submit:hover,
.yso-root .yso-login-submit:focus,
.yso-root .yso-login-submit:active{
  background:#102a56!important;
  background-color:#102a56!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.yso-root .yso-login-submit .yso-btn-label,
.yso-root .yso-btn .yso-btn-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:normal!important;
  text-indent:0!important;
  text-transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  transform:none!important;
}


/* v1.0.5 FINAL button text visibility fix: use real text, not pseudo-elements. */
html body .yso-root .yso-btn,
html body .yso-root button.yso-btn,
html body .yso-root a.yso-btn{opacity:1!important;visibility:visible!important;overflow:visible!important;text-indent:0!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important;clip:auto!important;clip-path:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;background-color:#0b1e3f!important;}
html body .yso-root .yso-btn span,
html body .yso-root .yso-btn strong,
html body .yso-root .yso-btn .yso-btn-label{display:inline!important;position:static!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;overflow:visible!important;clip:auto!important;clip-path:none!important;opacity:1!important;visibility:visible!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;font:inherit!important;text-indent:0!important;text-transform:none!important;letter-spacing:normal!important;}
html body .yso-root .yso-btn-ghost{background:transparent!important;background-color:transparent!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;}
html body .yso-root .yso-btn-hero{background:#ffffff!important;background-color:#ffffff!important;color:#0b1e3f!important;-webkit-text-fill-color:#0b1e3f!important;}
html body .yso-root .yso-btn-outline{background:transparent!important;background-color:transparent!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border-color:rgba(255,255,255,.55)!important;}
html body .yso-root button.yso-login-submit{width:100%!important;min-height:48px!important;background:#0b1e3f!important;background-color:#0b1e3f!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;font-size:16px!important;font-weight:800!important;line-height:1.25!important;}
html body .yso-root .yso-btn::before,
html body .yso-root .yso-btn::after{content:none!important;display:none!important;}
