/* Worksheet Lab Premium V5: visual layer only. Existing routes and behavior remain authoritative. */
:root {
  --v5-ink: #15231f;
  --v5-muted: #61706b;
  --v5-line: #dce4e0;
  --v5-line-strong: #cbd7d1;
  --v5-paper: #ffffff;
  --v5-canvas: #f4f7f5;
  --v5-emerald: #087a68;
  --v5-emerald-dark: #075f53;
  --v5-emerald-soft: #e8f3ef;
  --v5-navy: #142d42;
  --v5-warm: #b66b2c;
  --v5-radius: 14px;
  --v5-rail: 208px;
  --v5-top: 64px;
  --v5-font: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

html { background: var(--v5-canvas); }
body[data-premium-v5] {
  margin: 0 !important;
  color: var(--v5-ink) !important;
  background: var(--v5-canvas) !important;
  font-family: var(--v5-font) !important;
  letter-spacing: 0 !important;
}
body[data-premium-v5] *, body[data-premium-v5] *::before, body[data-premium-v5] *::after {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}
body[data-premium-v5] :focus-visible { outline: 3px solid rgba(8,122,104,.28) !important; outline-offset: 2px; }
body[data-premium-v5] .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
body[data-premium-v5] a { color: var(--v5-emerald-dark); }
body[data-premium-v5] h1, body[data-premium-v5] h2, body[data-premium-v5] h3 { color: var(--v5-ink); line-height: 1.26; }
body[data-premium-v5] h1 { font-size: clamp(28px, 3vw, 42px); }
body[data-premium-v5] h2 { font-size: 22px; }
body[data-premium-v5] h3 { font-size: 17px; }

.v5-rail {
  position: fixed; inset: 0 auto 0 0; z-index: 900; width: var(--v5-rail);
  display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--v5-line);
}
.v5-brand { min-height: var(--v5-top); display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--v5-line); font-size: 20px; font-weight: 850; color: var(--v5-ink) !important; text-decoration: none; }
.v5-brand span { color: var(--v5-emerald); }
.v5-rail nav { padding: 22px 12px; display: grid; gap: 4px; }
.v5-rail nav a, .v5-rail nav button {
  width: 100%; min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 13px;
  border: 0; border-radius: 6px; background: transparent; color: #465650; text-decoration: none;
  font: 700 14px/1 var(--v5-font); text-align: left; cursor: pointer;
}
.v5-rail nav a:hover, .v5-rail nav button:hover, .v5-rail nav a.is-active { background: var(--v5-emerald-soft); color: var(--v5-emerald-dark); }
.v5-rail nav a::before, .v5-rail nav button::before { content: ""; width: 3px; height: 16px; border-radius: 2px; background: #c9d5d0; }
.v5-rail nav a.is-active::before, .v5-rail nav a:hover::before, .v5-rail nav button:hover::before { background: var(--v5-emerald); }
.v5-rail-section { margin: 9px 13px 4px; padding-top: 13px; border-top: 1px solid var(--v5-line); color: #85908c; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.v5-rail-foot { margin-top: auto; padding: 18px 20px 22px; border-top: 1px solid var(--v5-line); color: var(--v5-muted); font-size: 12px; line-height: 1.6; }
.v5-mobile-toggle { display: none; }

body[data-premium-v5] > header,
body[data-premium-v5] > main,
body[data-premium-v5] > footer,
body[data-premium-v5] > section:not(#cs-faq-widget),
body[data-premium-v5] > .wrap { margin-left: var(--v5-rail) !important; width: auto !important; max-width: none !important; }
body[data-premium-v5] > header { min-height: var(--v5-top); background: rgba(255,255,255,.98) !important; border-bottom: 1px solid var(--v5-line) !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; }
body[data-premium-v5] > header .hbar { max-width: none !important; min-height: var(--v5-top); padding: 0 28px !important; }
body[data-premium-v5] > header .logo { display: none !important; }
body[data-premium-v5] > header .gnb { gap: 4px !important; }
body[data-premium-v5] > header .gnb a { min-height: 38px; padding: 0 12px !important; border-radius: 5px !important; color: #42514c !important; font-size: 14px !important; }
body[data-premium-v5] > header .gnb a.active, body[data-premium-v5] > header .gnb a:hover { background: var(--v5-emerald-soft) !important; color: var(--v5-emerald-dark) !important; }
body[data-premium-v5] .hactions .btn, body[data-premium-v5] .hactions > a:nth-of-type(n+2) { display: none !important; }
body[data-premium-v5] .selbtn { min-height: 36px !important; border: 1px solid var(--v5-line) !important; border-radius: 5px !important; background: #fff !important; }

body.ws-legacy-home[data-premium-v5] > main { padding: 0 28px 48px !important; }
body[data-premium-v5] .home-workbench { max-width: 1320px; margin: 0 auto; padding-top: 18px; }
body[data-premium-v5] .workspace-intro {
  position: relative; min-height: 310px; overflow: hidden; display: grid !important; grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: center; padding: 42px 48px !important; border: 1px solid var(--v5-line) !important; border-radius: var(--v5-radius) !important;
  background: #fff !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important;
}
body[data-premium-v5] .workspace-intro::after { content: ""; position: absolute; inset: 0 0 0 44%; background: url("../tile-media/worksheet-hero.png") center/cover no-repeat; }
body[data-premium-v5] .workspace-intro > div { position: relative; z-index: 1; max-width: 500px; padding-bottom: 70px; }
body[data-premium-v5] .workspace-kicker, body[data-premium-v5] .panel-label { margin: 0 0 9px !important; color: var(--v5-emerald) !important; font-size: 12px !important; font-weight: 850 !important; }
body[data-premium-v5] .workspace-intro h1 { margin: 0 0 14px !important; max-width: 520px; font-size: 38px !important; }
body[data-premium-v5] .workspace-copy { max-width: 500px; color: var(--v5-muted) !important; font-size: 16px !important; line-height: 1.75 !important; }
body[data-premium-v5] .workspace-stats { position: absolute; z-index: 2; left: 48px; bottom: 30px; width: calc(44% - 70px); display: grid !important; grid-template-columns: repeat(3,1fr); gap: 0; margin: 0 !important; }
body[data-premium-v5] .workspace-stats div { padding: 0 18px; border-left: 1px solid var(--v5-line); }
body[data-premium-v5] .workspace-stats div:first-child { padding-left: 0; border-left: 0; }
body[data-premium-v5] .workspace-stats dt { color: var(--v5-muted); font-size: 12px; }
body[data-premium-v5] .workspace-stats dd { margin: 3px 0 0; font-size: 22px; font-weight: 850; }
body[data-premium-v5] .workspace-search { display: grid !important; grid-template-columns: 1fr 120px; gap: 8px; margin: 16px 0 8px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
body[data-premium-v5] input, body[data-premium-v5] select, body[data-premium-v5] textarea { border: 1px solid var(--v5-line-strong) !important; border-radius: 5px !important; background: #fff !important; color: var(--v5-ink) !important; }
body[data-premium-v5] input { min-height: 44px; padding: 0 14px !important; }
body[data-premium-v5] button, body[data-premium-v5] .btn, body[data-premium-v5] .button { border-radius: 5px !important; font-family: var(--v5-font) !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; }
body[data-premium-v5] .btn-p, body[data-premium-v5] button.btn-p { background: var(--v5-emerald) !important; border-color: var(--v5-emerald) !important; color: #fff !important; }
body[data-premium-v5] .workspace-notice { color: var(--v5-muted) !important; font-size: 13px; }
body[data-premium-v5] .workspace-quick { display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap; padding: 9px 0 18px !important; }
body[data-premium-v5] .workspace-quick button, body[data-premium-v5] .fchip, body[data-premium-v5] .chip { min-height: 32px; padding: 0 11px !important; border: 1px solid var(--v5-line) !important; border-radius: 5px !important; background: #fff !important; color: #43524d !important; }
body[data-premium-v5] .workspace-catalog { display: grid !important; grid-template-columns: 220px minmax(0,1fr); gap: 18px !important; align-items: start; }
body[data-premium-v5] .workspace-filter, body[data-premium-v5] .filters { padding: 20px !important; border: 1px solid var(--v5-line) !important; border-radius: var(--v5-radius) !important; background: #fff !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; }
body[data-premium-v5] .filter-group { display: flex !important; flex-wrap: wrap; gap: 6px; }
body[data-premium-v5] .filter-group > span { width: 100%; margin: 13px 0 3px; color: var(--v5-muted); font-size: 12px; font-weight: 800; }
body[data-premium-v5] .filter-group button { min-height: 32px; padding: 0 9px; border: 1px solid var(--v5-line); background: #fff; color: #45534f; }
body[data-premium-v5] .filter-group button.is-current { background: var(--v5-emerald-soft); border-color: #a9c9bf; color: var(--v5-emerald-dark); }
body[data-premium-v5] .workspace-results-head { display: flex !important; justify-content: space-between; gap: 20px; align-items: end; margin: 0 0 13px; }
body[data-premium-v5] .workspace-results-head h2 { margin: 0 0 4px; }
body[data-premium-v5] .workspace-results-head p { margin: 0; color: var(--v5-muted); }
body[data-premium-v5] .studio-grid, body[data-premium-v5] .grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px !important; }
body[data-premium-v5] .studio-card, body[data-premium-v5] .card, body[data-premium-v5] .road {
  overflow: hidden; border: 1px solid var(--v5-line) !important; border-radius: var(--v5-radius) !important; background: #fff !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; transform:translateY(-2px)!important;
}
body[data-premium-v5] .studio-card:hover, body[data-premium-v5] .card:hover { border-color: #9ebdb4 !important; transform: translateY(-2px) !important; }
body[data-premium-v5] .studio-thumb { width: 100%; aspect-ratio: 16/9; border: 0; border-bottom: 1px solid var(--v5-line); background: #edf2ef; overflow: hidden; position: relative; }
body[data-premium-v5] .studio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body[data-premium-v5] .studio-thumb > span:last-child { position: absolute; right: 9px; bottom: 9px; padding: 5px 8px; border-radius: 4px; background: rgba(18,35,31,.88); color: #fff; font-size: 11px; }
body[data-premium-v5] .studio-body { padding: 15px !important; }
body[data-premium-v5] .studio-body h3 { min-height: 43px; margin: 10px 0 5px !important; }
body[data-premium-v5] .studio-body p { min-height: 42px; margin: 0 0 12px; color: var(--v5-muted); line-height: 1.55; }
body[data-premium-v5] .studio-meta, body[data-premium-v5] .studio-actions { display: flex !important; gap: 7px; justify-content: space-between; }
body[data-premium-v5] .studio-meta { padding: 10px 0; border-top: 1px solid #edf1ef; color: var(--v5-muted); font-size: 12px; }
body[data-premium-v5] .studio-actions button { flex: 1; min-height: 36px; border: 1px solid #aac6bd; background: #fff; color: var(--v5-emerald-dark); font-weight: 750; }
body[data-premium-v5] .classroom-strip { display: grid !important; grid-template-columns: repeat(3,1fr); margin-top: 18px; border: 1px solid var(--v5-line); border-radius: var(--v5-radius); background: #fff; }
body[data-premium-v5] .classroom-strip > div { padding: 18px 20px; border-left: 1px solid var(--v5-line); }
body[data-premium-v5] .classroom-strip > div:first-child { border-left: 0; }
body[data-premium-v5] .classroom-strip b, body[data-premium-v5] .classroom-strip span { display: block; }
body[data-premium-v5] .classroom-strip span { margin-top: 5px; color: var(--v5-muted); font-size: 13px; }

body[data-premium-v5] .search-workspace { max-width: 1280px; margin: 0 auto; padding-top: 22px; }
body[data-premium-v5] .search-head { display: flex !important; justify-content: space-between; align-items: end; margin-bottom: 16px; padding: 0 !important; border: 0 !important; background: transparent !important; }
body[data-premium-v5] .search-head h1 { margin: 0 0 5px; font-size: 32px; }
body[data-premium-v5] .search-head p { margin: 0; color: var(--v5-muted); }
body[data-premium-v5] .search-workspace .layout { display: grid !important; grid-template-columns: 240px minmax(0,1fr); gap: 18px; }
body[data-premium-v5] .searchbar { display: grid !important; grid-template-columns: 1fr 86px; gap: 7px; margin-bottom: 12px; }
body[data-premium-v5] .results-toolbar { display: flex !important; justify-content: space-between; align-items: center; margin: 8px 0 12px; }

body[data-premium-v5].ws-v5-internal > main, body[data-premium-v5].ws-v5-internal > .wrap { padding-left: 28px !important; padding-right: 28px !important; }
body[data-premium-v5].ws-v5-internal main { max-width: 1260px !important; margin-right: auto !important; }
body[data-premium-v5].ws-v5-internal .topbar, body[data-premium-v5].ws-v5-internal .top { background: #fff !important; border-bottom: 1px solid var(--v5-line) !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; }
body[data-premium-v5].ws-v5-internal .panel, body[data-premium-v5].ws-v5-internal article, body[data-premium-v5].ws-v5-internal section:not(.v5-rail) { border-radius: var(--v5-radius) !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important; }
body[data-premium-v5].ws-v5-internal table { width: 100%; border-collapse: collapse; background: #fff; }
body[data-premium-v5].ws-v5-internal th { background: #f0f5f2; color: #34433e; font-size: 12px; text-align: left; }
body[data-premium-v5].ws-v5-internal th, body[data-premium-v5].ws-v5-internal td { padding: 11px 12px; border-bottom: 1px solid var(--v5-line); }

/* Premium V5 internal task surfaces */
body.ws-v5-viewer[data-premium-v5] { background: var(--v5-canvas) !important; }
body.ws-v5-viewer[data-premium-v5] > .fv-top {
  min-height: var(--v5-top); margin-left: var(--v5-rail); padding: 0 32px !important;
  background: #fff !important; border-bottom: 1px solid var(--v5-line); color: var(--v5-ink) !important;
}
body.ws-v5-viewer[data-premium-v5] .fv-top .brand,
body.ws-v5-viewer[data-premium-v5] .fv-top .title { color: var(--v5-ink) !important; }
body.ws-v5-viewer[data-premium-v5] .fv-top .brand { color: var(--v5-emerald-dark) !important; }
body.ws-v5-viewer[data-premium-v5] .fv-top .back {
  padding: 8px 12px; border: 1px solid var(--v5-line); border-radius: 5px;
  background: #fff !important; color: var(--v5-emerald-dark) !important;
}
body.ws-v5-viewer[data-premium-v5] > .fv-wrap {
  width: auto; max-width: none; margin: 0 0 0 var(--v5-rail); padding: 30px 40px 48px;
}
body.ws-v5-viewer[data-premium-v5] .fv-note {
  max-width: 980px; margin: 0 auto 14px; color: var(--v5-muted); font-size: 13px; overflow-wrap: anywhere;
}
body.ws-v5-viewer[data-premium-v5] #fv-slot {
  max-width: 980px; min-height: 520px; margin: 0 auto; border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius); box-shadow: none; background: #fff;
}
body.ws-v5-viewer[data-premium-v5] .fv-panel {
  min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 32px; border: 0; border-radius: 0; box-shadow: none;
}
body.ws-v5-viewer[data-premium-v5] .fv-panel .ico { margin-bottom: 18px; font-size: 32px; }
body.ws-v5-viewer[data-premium-v5] .fv-panel h2 { margin: 0 0 9px; font-size: 24px; letter-spacing: 0; }
body.ws-v5-viewer[data-premium-v5] .fv-panel p { max-width: 620px; margin: 0; color: var(--v5-muted); overflow-wrap: anywhere; }
body.ws-v5-viewer[data-premium-v5] .fv-panel .admin {
  width: min(100%,620px); border: 1px solid var(--v5-line); border-radius: 6px; background: #f6f8f7;
}
body.ws-v5-viewer[data-premium-v5] .fv-btn {
  margin-top: 20px; padding: 10px 18px; border-radius: 5px; background: var(--v5-emerald); color: #fff;
}
body.ws-v5-viewer[data-premium-v5] .fv-prog { max-width: 980px; margin: 12px auto 0; }
body.ws-v5-viewer[data-premium-v5] .fv-prog .fill { background: var(--v5-emerald); }

body.ws-v5-fill[data-premium-v5] { background: var(--v5-canvas) !important; }
body.ws-v5-fill[data-premium-v5] > .topbar { min-height: var(--v5-top); padding: 0 30px !important; }
body.ws-v5-fill[data-premium-v5] > main.wrap { max-width: 1120px !important; padding-top: 28px !important; }
body.ws-v5-fill[data-premium-v5] .card {
  margin-bottom: 14px; padding: 24px !important; border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important; box-shadow:0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04)!important;
}
body.ws-v5-fill[data-premium-v5] .ws-title { margin: 12px 0 4px; font-size: 36px !important; line-height: 1.2; letter-spacing: 0; }
body.ws-v5-fill[data-premium-v5] .guide {
  margin-top: 18px; padding: 13px 15px; border-left: 3px solid var(--v5-emerald);
  border-radius: 0 6px 6px 0; background: #f3f7f5; color: #485852; overflow-wrap: anywhere;
}
body.ws-v5-fill[data-premium-v5] .flow { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-top: 16px; }
body.ws-v5-fill[data-premium-v5] .flow .step,
body.ws-v5-fill[data-premium-v5] .badge,
body.ws-v5-fill[data-premium-v5] .area-chip span { border-radius: 5px; }
body.ws-v5-fill[data-premium-v5] .flow .step { min-width: 0; padding: 7px 10px; background: #fff; white-space: normal; }
body.ws-v5-fill[data-premium-v5] .flow .arr { display: none; }
body.ws-v5-fill[data-premium-v5] .sec-title .n { border-radius: 5px; background: var(--v5-emerald); }
body.ws-v5-fill[data-premium-v5] .rateitem { border: 1px solid var(--v5-line); border-radius: 6px; background: #f7f9f8; }
body.ws-v5-fill[data-premium-v5] .rate { border-radius: 5px; }
body.ws-v5-fill[data-premium-v5] .rate:has(input:checked),
body.ws-v5-fill[data-premium-v5] .area-chip input:checked + span { background: var(--v5-emerald); border-color: var(--v5-emerald); }
body.ws-v5-fill[data-premium-v5] .actionbar { left: var(--v5-rail); box-shadow: none; }
body.ws-v5-fill[data-premium-v5] .actionbar .inner { max-width: 1120px; }
body.ws-v5-fill[data-premium-v5] .savebadge { border-radius: 5px; }

body.ws-v5-pricing[data-premium-v5] { background: var(--v5-canvas) !important; }
body.ws-v5-pricing[data-premium-v5] > main.wrap { max-width: 1180px !important; padding-top: 0 !important; }
body.ws-v5-pricing[data-premium-v5] .hero { padding: 40px 20px 22px; }
body.ws-v5-pricing[data-premium-v5] .hero h1 { font-size: 34px; letter-spacing: 0; }
body.ws-v5-pricing[data-premium-v5] .price-note { border-radius: 5px; }
body.ws-v5-pricing[data-premium-v5] .payment-mode-notice {
  border-color: #cbd8d3; border-radius: 6px; background: #f4f7f6; color: #4d5d57;
}
body.ws-v5-pricing[data-premium-v5] .payment-mode-notice strong { color: var(--v5-emerald-dark); }
body.ws-v5-pricing[data-premium-v5] .tiers { gap: 14px; margin-top: 28px; }
body.ws-v5-pricing[data-premium-v5] .tier {
  min-width: 0; padding: 24px 22px; border: 1px solid var(--v5-line); border-radius: var(--v5-radius); box-shadow: none;
}
body.ws-v5-pricing[data-premium-v5] .tier.pop { border: 2px solid var(--v5-emerald); }
body.ws-v5-pricing[data-premium-v5] .tier .badge { border-radius: 4px; background: var(--v5-emerald); }
body.ws-v5-pricing[data-premium-v5] .tier .btn { border-radius: 5px; background: var(--v5-emerald); }
body.ws-v5-pricing[data-premium-v5] .tier.pop .btn { background: var(--v5-emerald-dark); }
body.ws-v5-pricing[data-premium-v5] .cmp-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--v5-line); border-radius: 7px; background: #fff; }
body.ws-v5-pricing[data-premium-v5] .cmp-wrap h2 { position: sticky; left: 0; margin: 0; padding: 18px; text-align: left; }
body.ws-v5-pricing[data-premium-v5] table.cmp { min-width: 720px; border: 0; border-radius: 0; }
body.ws-v5-pricing[data-premium-v5] .cta-band {
  padding: 36px 28px; border: 1px solid #b8cec6; border-radius: var(--v5-radius);
  background: #eaf3f0; color: var(--v5-ink);
}
body.ws-v5-pricing[data-premium-v5] .cta-band p { color: var(--v5-muted); }
body.ws-v5-pricing[data-premium-v5] .cta-band .btn-lg { border-radius: 5px; background: var(--v5-emerald); color: #fff; }
body.ws-v5-pricing[data-premium-v5] .faq-item { border-radius: 6px; }

body[data-premium-v5].ws-v5-admin > main.wrap { max-width: none !important; padding: 28px 34px 56px !important; }
body[data-premium-v5].ws-v5-admin main > header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 0 0 22px; border-bottom: 1px solid var(--v5-line); }
body[data-premium-v5].ws-v5-admin main > header h1 { margin: 0 0 8px; font-size: 30px; }
body[data-premium-v5].ws-v5-admin main > header p { margin: 0; color: var(--v5-muted); }
body[data-premium-v5].ws-v5-admin .group { margin: 24px 0; }
body[data-premium-v5].ws-v5-admin .group > h2 { margin: 0 0 10px; font-size: 15px; }
body[data-premium-v5].ws-v5-admin .grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
body[data-premium-v5].ws-v5-admin .card { padding: 16px !important; min-height: 105px; }
body[data-premium-v5].ws-v5-admin .card .label { color: var(--v5-muted); font-size: 12px; }
body[data-premium-v5].ws-v5-admin .card .value { margin-top: 9px; color: var(--v5-ink); font-size: 26px; font-weight: 850; }
body[data-premium-v5].ws-v5-admin .card.warn { border-left: 3px solid #c9853d !important; }
body[data-premium-v5].ws-v5-admin .card.good { border-left: 3px solid var(--v5-emerald) !important; }

body[data-premium-v5] .modal, body[data-premium-v5] dialog { border: 1px solid var(--v5-line) !important; border-radius: 8px !important; box-shadow: 0 18px 50px rgba(21,35,31,.16) !important; }
body[data-premium-v5] .toast { border-radius: 6px !important; }

@media (max-width: 1100px) {
  body[data-premium-v5] .studio-grid, body[data-premium-v5] .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-premium-v5].ws-v5-admin .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-premium-v5] .workspace-intro { grid-template-columns: 52% 48%; }
  body[data-premium-v5] .workspace-intro::after { left: 52%; }
  body[data-premium-v5] .workspace-stats { width: calc(52% - 70px); }
}

@media (max-width: 760px) {
  :root { --v5-rail: 0px; }
  .v5-rail { width: 270px; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 45px rgba(21,35,31,.14); }
  body.v5-rail-open .v5-rail { transform: translateX(0); }
  .v5-mobile-toggle { display: inline-flex; position: fixed; z-index: 930; top: 12px; left: 12px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--v5-line); border-radius: 6px; background: #fff; color: var(--v5-ink); font-size: 0; }
  .v5-mobile-toggle::before { content: ""; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; box-shadow: inset 0 4px #fff, inset 0 6px currentColor; }
  body[data-premium-v5] > header, body[data-premium-v5] > main, body[data-premium-v5] > footer, body[data-premium-v5] > section:not(#cs-faq-widget), body[data-premium-v5] > .wrap { margin-left: 0 !important; }
  body[data-premium-v5] > header .hbar { padding: 0 12px 0 62px !important; }
  body[data-premium-v5] > header .gnb { display: none !important; }
  body[data-premium-v5] .hactions { margin-left: auto; }
  body[data-premium-v5] .hactions .selbox:first-child { display: none; }
  body.ws-legacy-home[data-premium-v5] > main { padding: 0 14px 36px !important; }
  body[data-premium-v5] .home-workbench { padding-top: 10px; }
  body[data-premium-v5] .workspace-intro { display: block !important; min-height: 510px; padding: 26px 22px 220px !important; }
  body[data-premium-v5] .workspace-intro::after { inset: auto 0 0; height: 210px; }
  body[data-premium-v5] .workspace-intro h1 { font-size: 30px !important; }
  body[data-premium-v5] .workspace-intro > div { padding-bottom: 80px; }
  body[data-premium-v5] .workspace-stats { left: 22px; right: 22px; bottom: 226px; width: auto; }
  body[data-premium-v5] .workspace-stats div { padding: 0 10px; }
  body[data-premium-v5] .workspace-search { grid-template-columns: 1fr; }
  body[data-premium-v5] .workspace-search button { min-height: 42px; }
  body[data-premium-v5] .workspace-catalog, body[data-premium-v5] .search-workspace .layout { grid-template-columns: 1fr !important; }
  body[data-premium-v5] .workspace-filter { display: none; }
  body[data-premium-v5] .studio-grid, body[data-premium-v5] .grid, body[data-premium-v5].ws-v5-admin .grid { grid-template-columns: 1fr !important; }
  body[data-premium-v5] .workspace-results-head, body[data-premium-v5] .search-head { align-items: flex-start; flex-direction: column; }
  body[data-premium-v5] .classroom-strip { grid-template-columns: 1fr; }
  body[data-premium-v5] .classroom-strip > div { border-left: 0; border-top: 1px solid var(--v5-line); }
  body[data-premium-v5] .classroom-strip > div:first-child { border-top: 0; }
  body[data-premium-v5].ws-v5-internal > main, body[data-premium-v5].ws-v5-internal > .wrap, body[data-premium-v5].ws-v5-admin > main.wrap { padding-left: 14px !important; padding-right: 14px !important; }
  body[data-premium-v5].ws-v5-admin main > header { display: block; }
  body.ws-v5-viewer[data-premium-v5] > .fv-top { margin-left: 0; min-height: 64px; padding: 0 12px 0 62px !important; }
  body.ws-v5-viewer[data-premium-v5] .fv-top .title { display: none; }
  body.ws-v5-viewer[data-premium-v5] > .fv-wrap { margin-left: 0; padding: 18px 14px 34px; }
  body.ws-v5-viewer[data-premium-v5] #fv-slot, body.ws-v5-viewer[data-premium-v5] .fv-panel { min-height: 430px; }
  body.ws-v5-viewer[data-premium-v5] .fv-panel { padding: 34px 18px; }
  body.ws-v5-fill[data-premium-v5] > .topbar { padding: 0 12px 0 62px !important; }
  body.ws-v5-fill[data-premium-v5] > main.wrap { padding-top: 18px !important; padding-bottom: 142px !important; }
  body.ws-v5-fill[data-premium-v5] .card { padding: 18px !important; }
  body.ws-v5-fill[data-premium-v5] .ws-title { font-size: 30px !important; }
  body.ws-v5-fill[data-premium-v5] .flow .arr { display: none; }
  body.ws-v5-fill[data-premium-v5] .flow .step { width: 100%; }
  body.ws-v5-fill[data-premium-v5] .actionbar { left: 0; }
  body.ws-v5-fill[data-premium-v5] .actionbar { padding: 8px 12px; }
  body.ws-v5-fill[data-premium-v5] .actionbar .inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  body.ws-v5-fill[data-premium-v5] .actionbar .btn { min-height: 40px; justify-content: center; padding: 8px 10px; }
  body.ws-v5-fill[data-premium-v5] .actionbar .savebadge { grid-column: 1 / -1; margin: 0; padding: 4px 8px; }
  body[data-premium-v5] .onae-switcher--float { display: none !important; }
  body.ws-v5-pricing[data-premium-v5] > main.wrap { width: auto !important; max-width: none !important; padding-left: 14px !important; padding-right: 14px !important; overflow: hidden; }
  body.ws-v5-pricing[data-premium-v5] > header .hbar { min-width: 0; gap: 6px; white-space: normal; }
  body.ws-v5-pricing[data-premium-v5] > header .back { margin-left: 0; font-size: 12px; }
  body.ws-v5-pricing[data-premium-v5] .hero { padding: 28px 8px 18px; }
  body.ws-v5-pricing[data-premium-v5] .hero h1 { font-size: 30px; }
  body.ws-v5-pricing[data-premium-v5] .price-note { max-width: 100%; padding: 8px 10px; }
  body.ws-v5-pricing[data-premium-v5] .tier { padding: 22px 18px; }
  body.ws-v5-pricing[data-premium-v5] .cmp-wrap { -webkit-overflow-scrolling: touch; }
  body.ws-v5-pricing[data-premium-v5] table.cmp { width: 100% !important; min-width: 0 !important; table-layout: fixed; }
  body.ws-v5-pricing[data-premium-v5] table.cmp th:first-child { width: 40%; }
  body.ws-v5-pricing[data-premium-v5] table.cmp th:not(:first-child) { width: 20%; }
  body.ws-v5-pricing[data-premium-v5] table.cmp th,
  body.ws-v5-pricing[data-premium-v5] table.cmp td { padding: 8px 4px; overflow-wrap: anywhere; }
  body.ws-v5-pricing[data-premium-v5] .cta-band { padding: 28px 18px; }
}

@media print { .v5-rail, .v5-mobile-toggle { display: none !important; } body[data-premium-v5] > * { margin-left: 0 !important; } }
