@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');
/* Kyube Workshop Portal v2.1: builder side panel overlap fix */
:root{
  --c-yellow:#DEAB3B;--c-yellow-2:#F5D57D;--c-dark:#333333;--c-bg:#F5F5F3;--c-white:#fff;--c-text:#4A4A4A;--c-muted:#837B6E;--c-line:#E4DED1;--c-soft:#FFF4D7;--c-green:#DDF4E2;--c-blue:#DBEDFF;--c-orange:#FFE0CF;--shadow:0 20px 60px rgba(39,33,24,.13);--shadow-sm:0 10px 28px rgba(39,33,24,.08);--radius:26px;--radius-sm:16px;--max:1240px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#e7e4dc;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--c-text);line-height:1.45}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{color:var(--c-dark);letter-spacing:-.045em;line-height:.98}p{line-height:1.58}.page-root{max-width:var(--max);margin:0 auto;background:var(--c-bg);min-height:calc(100vh - 78px);box-shadow:0 0 50px rgba(0,0,0,.08)}
.site-header{position:sticky;top:0;background:rgba(245,245,243,.92);backdrop-filter:blur(18px);z-index:80;border-bottom:1px solid var(--c-line)}.header-inner{max-width:var(--max);margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:14px 28px;gap:20px}.brand{display:flex;align-items:center;gap:12px}.logo-mark{width:42px;height:42px;border-radius:50%;background:repeating-linear-gradient(45deg,var(--c-yellow),var(--c-yellow) 5px,transparent 5px,transparent 10px),var(--c-dark);border:4px solid var(--c-dark);box-shadow:0 8px 20px rgba(0,0,0,.14)}.brand-title{font-size:26px;font-weight:900;letter-spacing:-.05em;color:var(--c-dark);line-height:1}.brand-subtitle{font-size:11px;text-transform:uppercase;color:var(--c-muted);font-weight:900;letter-spacing:.05em;margin-top:3px}.nav{display:flex;align-items:center;gap:7px}.nav a{font-size:13px;font-weight:900;border-radius:999px;padding:10px 13px;color:var(--c-dark)}.nav a:hover,.nav a.active{background:var(--c-soft)}.nav a.primary{background:var(--c-dark);color:var(--c-white)}.nav a.primary.active,.nav a.primary:hover{background:var(--c-yellow);color:var(--c-dark)}.menu-toggle{display:none;border:0;background:var(--c-dark);color:#fff;border-radius:999px;padding:10px 14px;font-weight:900}.mobile-panel{display:none;background:var(--c-bg);border-top:1px solid var(--c-line);padding:8px 18px 18px}.mobile-panel.open{display:block}.mobile-panel .nav{display:grid;gap:4px}.site-footer{text-align:center;color:var(--c-muted);padding:24px;font-size:12px;font-weight:800;background:#e7e4dc}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:13px 18px;background:var(--c-dark);color:var(--c-white);font-weight:900;cursor:pointer;box-shadow:none;transition:.18s ease;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn.yellow{background:var(--c-yellow);color:var(--c-dark)}.btn.white{background:var(--c-white);color:var(--c-dark);border:1px solid var(--c-line)}.btn.ghost{background:transparent;color:var(--c-dark);border:1px solid rgba(51,51,51,.25)}.btn.small{padding:9px 12px;font-size:12px}.btn.full{width:100%}.cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.eyebrow{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:var(--c-yellow);margin-bottom:12px}.muted{color:var(--c-muted)}
.hero{position:relative;display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center;min-height:660px;background:var(--c-dark);overflow:hidden;padding:62px 54px}.hero:before{content:"";position:absolute;inset:auto -8% -30% auto;width:480px;height:480px;background:var(--c-yellow);border-radius:50%;opacity:.22}.hero-copy,.hero-media{position:relative;z-index:1}.hero h1{font-size:78px;color:#fff;max-width:720px}.hero .subtitle{font-size:20px;font-weight:700;color:rgba(255,255,255,.78);max-width:600px;margin:22px 0 28px}.hero .eyebrow{color:var(--c-yellow)}.hero-media{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:38px;padding:18px}.hero-media img{display:block;width:100%;height:auto;border-radius:28px}.hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hero-pills span{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.13);padding:9px 11px;border-radius:999px;font-size:12px;font-weight:900}.page-banner{position:relative;background:var(--c-yellow);padding:44px 54px;overflow:hidden}.page-banner:after{content:"";position:absolute;right:52px;top:-32px;width:100px;height:190px;background:var(--c-dark);transform:rotate(13deg);opacity:.9}.page-banner h1{font-size:58px;position:relative;z-index:1}.page-banner p{font-weight:750;color:var(--c-dark);max-width:780px;position:relative;z-index:1;margin-bottom:0}.page-banner.soft{background:var(--c-bg);border-bottom:1px solid var(--c-line)}.page-banner.soft:after{background:var(--c-yellow);opacity:.35}.section,.panel{padding:42px 54px}.section.dark{background:var(--c-dark);color:#fff}.section.dark h2,.section.dark h3{color:#fff}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.section-title h2{font-size:42px;margin-bottom:0}.section-title p{max-width:600px;font-weight:700;margin-bottom:0}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}.card{position:relative;background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm);overflow:hidden}.card h3{font-size:25px;margin-bottom:10px}.card p{color:var(--c-text)}.card.visual-card{min-height:235px;display:flex;flex-direction:column;justify-content:space-between}.card.visual-card:after{content:"";position:absolute;right:-38px;bottom:-44px;width:150px;height:150px;background:var(--c-yellow);border-radius:50%;opacity:.18}.card.dark-card{background:var(--c-dark);border-color:var(--c-dark);color:#fff}.card.dark-card h3,.card.dark-card p{color:#fff}.card-img{width:100%;border-radius:22px;border:1px solid var(--c-line);background:#fff;margin-bottom:16px}.icon-bubble{width:56px;height:56px;border-radius:20px;background:var(--c-yellow);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900;color:var(--c-dark);margin-bottom:18px}.num{display:inline-flex;background:var(--c-yellow);color:var(--c-dark);font-weight:900;border-radius:12px;padding:8px 12px;margin-bottom:16px}.panel-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.panel-header h1{font-size:54px}.panel-header p{font-weight:700;max-width:640px;margin:8px 0 0;color:var(--c-dark)}
.form{display:grid;gap:16px}.form-section{background:#fff;border-radius:var(--radius);border:1px solid var(--c-line);padding:24px;box-shadow:var(--shadow-sm)}.form-section h2{font-size:30px;margin-bottom:18px}.field-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:var(--c-muted)}.input,select,textarea{width:100%;border:1px solid #d8d3c7;border-radius:16px;padding:14px;background:#fff;color:var(--c-dark);outline:none}textarea{min-height:120px;resize:vertical}.checks{display:flex;flex-wrap:wrap;gap:9px}.check-chip{display:inline-flex;align-items:center;gap:8px;background:var(--c-bg);border:1px solid var(--c-line);border-radius:999px;padding:9px 12px;font-size:13px;font-weight:800}.check-chip input{accent-color:var(--c-yellow)}
.builder-shell{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}.builder-main{display:grid;gap:18px}.wizard-card{background:#fff;border:1px solid var(--c-line);border-radius:32px;box-shadow:var(--shadow-sm);padding:24px}.wizard-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.step-kicker{display:inline-flex;align-items:center;gap:8px;background:var(--c-soft);border-radius:999px;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:var(--c-dark)}.section-hero{display:grid;grid-template-columns:1fr 250px;gap:18px;align-items:center;border-radius:28px;background:linear-gradient(135deg,#fff8e5,#fff);border:1px solid var(--c-line);padding:18px;margin-bottom:20px}.section-hero h2{font-size:42px;margin-bottom:10px}.section-hero p{font-weight:700;margin-bottom:0}.section-hero img{width:100%;border-radius:22px}.stepper{display:flex;gap:8px;overflow:auto;padding-bottom:6px;margin:6px 0 18px}.step-chip{flex:0 0 auto;border:1px solid var(--c-line);background:#fff;border-radius:999px;padding:10px 12px;font-size:12px;font-weight:900;color:var(--c-dark);cursor:pointer;display:flex;gap:8px;align-items:center}.step-chip.done{background:var(--c-soft)}.step-chip.active{background:var(--c-dark);border-color:var(--c-dark);color:#fff}.step-chip .dot{width:22px;height:22px;border-radius:50%;background:var(--c-yellow);color:var(--c-dark);display:inline-flex;align-items:center;justify-content:center;font-size:11px}.catalog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.catalog-card{border:2px solid transparent;border-radius:24px;background:#fff;padding:18px;box-shadow:var(--shadow-sm);display:grid;gap:12px;transition:.18s ease}.catalog-card:hover{transform:translateY(-2px)}.catalog-card.selected{border-color:var(--c-yellow);background:#fff9e8}.catalog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.catalog-icon{width:50px;height:50px;border-radius:18px;background:var(--c-yellow);color:var(--c-dark);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;flex:0 0 auto}.catalog-card h3{font-size:23px;margin:0}.catalog-card p{font-size:14px;margin-bottom:0}.card-tags{display:flex;flex-wrap:wrap;gap:7px}.tag{display:inline-flex;border-radius:999px;background:var(--c-bg);color:var(--c-dark);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;padding:7px 9px}.tag.yellow{background:var(--c-yellow)}.mini-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-fact{border-top:1px solid var(--c-line);padding-top:9px;font-size:12px}.mini-fact b{display:block;color:var(--c-dark);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.builder-side{position:relative;top:auto;display:grid;gap:14px;align-self:start;z-index:1}.impact-panel{background:var(--c-dark);color:#fff;border-radius:32px;padding:18px;box-shadow:var(--shadow);overflow:hidden}.impact-panel h3,.impact-panel h4{color:#fff}.impact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.impact-head h3{font-size:28px;margin-bottom:4px}.impact-stat{background:var(--c-yellow);color:var(--c-dark);border-radius:18px;padding:10px 12px;text-align:center;font-weight:900;min-width:80px}.impact-stat span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.impact-chart{height:230px;border-radius:24px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);margin:12px 0;overflow:hidden}.impact-fallback{display:grid;gap:8px;padding:14px}.bar-row{display:grid;grid-template-columns:92px 1fr 30px;gap:8px;align-items:center;font-size:11px;font-weight:800}.bar-track{height:9px;background:rgba(255,255,255,.13);border-radius:999px;overflow:hidden}.bar-fill{height:100%;background:var(--c-yellow);border-radius:999px}.journey{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 0}.journey-step{position:relative;border-radius:16px;background:rgba(255,255,255,.08);padding:10px 7px;min-height:64px;text-align:center;font-size:10px;font-weight:900;color:rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center}.journey-step.active{background:var(--c-yellow);color:var(--c-dark)}.outcome-list{display:grid;gap:8px;margin-top:12px}.outcome{display:flex;align-items:flex-start;gap:9px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:10px;font-size:13px;font-weight:800}.outcome .check{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:rgba(255,255,255,.12);color:rgba(255,255,255,.5);font-size:12px}.outcome.active{background:rgba(222,171,59,.18);border-color:rgba(222,171,59,.35)}.outcome.active .check{background:var(--c-yellow);color:var(--c-dark)}.compact-summary{position:relative;z-index:0;background:#fff;border:1px solid var(--c-line);border-radius:26px;padding:18px;box-shadow:var(--shadow-sm)}.selected-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.selected-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:var(--c-soft);border:1px solid #f0d58b;padding:8px 10px;font-size:12px;font-weight:900}.selected-pill button{border:0;background:transparent;font-weight:900;cursor:pointer;color:var(--c-dark)}.mobile-bottom{display:none;position:relative;bottom:auto;z-index:1;background:var(--c-dark);color:#fff;border-radius:22px;padding:12px 14px;box-shadow:0 14px 42px rgba(0,0,0,.18);margin-top:14px}.mobile-bottom strong{color:var(--c-yellow)}
.summary-list{display:grid;gap:10px}.summary-item{display:flex;justify-content:space-between;gap:16px;padding:14px;border-radius:16px;background:var(--c-bg);border:1px solid var(--c-line)}.summary-item b{color:var(--c-dark)}.row-card{display:grid;grid-template-columns:1.2fr .8fr .8fr auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.course-card{display:grid;grid-template-columns:150px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--c-line);border-radius:30px;padding:16px;box-shadow:var(--shadow-sm)}.course-visual{height:122px;border-radius:24px;background:linear-gradient(135deg,var(--c-yellow),#fff0bf);display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:900;color:var(--c-dark)}.course-card h3{font-size:27px;margin-bottom:6px}.course-meta{display:flex;flex-wrap:wrap;gap:8px}.status{display:inline-flex;align-items:center;border-radius:999px;padding:8px 10px;background:var(--c-bg);font-size:12px;font-weight:900;color:var(--c-dark);white-space:nowrap}.status.Submitted{background:#f7e8bd}.status.Received{background:#eae6d9}.status.UnderReview,.status.Under{background:#fff1c8}.status.NeedMoreInformation,.status.Need{background:var(--c-orange)}.status.ProposalSent,.status.Proposal{background:var(--c-blue)}.status.Scheduled{background:var(--c-green)}.status.Completed,.status.Closed{background:#e5f7ec}.ticket-card{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--c-line);border-radius:28px;padding:20px;box-shadow:var(--shadow-sm)}.ticket-card h3{font-size:28px;margin-bottom:4px}.ticket-search-box{background:var(--c-yellow);border-radius:var(--radius);padding:24px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-bottom:22px}.timeline{display:grid;gap:14px;position:relative;margin-top:14px}.timeline:before{content:"";position:absolute;left:17px;top:6px;bottom:6px;width:5px;background:rgba(222,171,59,.35);border-radius:999px}.timeline-item{display:grid;grid-template-columns:44px 1fr;gap:12px;position:relative}.timeline-dot{width:38px;height:38px;border-radius:50%;background:var(--c-yellow);border:6px solid var(--c-bg);z-index:1}.timeline-content{background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:14px}.empty{border:2px dashed #d7d1c4;border-radius:var(--radius);padding:28px;text-align:center;color:var(--c-muted);background:rgba(255,255,255,.5)}.notice{background:var(--c-soft);border-left:8px solid var(--c-yellow);padding:16px;border-radius:14px;color:var(--c-dark)}.success-hero{text-align:center;padding:64px 26px;background:var(--c-yellow)}.success-hero h1{font-size:58px}.ticket-number{display:inline-flex;margin:24px 0 12px;background:var(--c-dark);color:#fff;border-radius:18px;padding:18px 24px;font-size:28px;font-weight:900;letter-spacing:.02em}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-kv{display:grid;grid-template-columns:210px 1fr;gap:10px;border-bottom:1px solid var(--c-line);padding:13px 0}.profile-kv b{color:var(--c-dark)}
@media (max-width:1020px){.builder-shell{grid-template-columns:1fr}.builder-side{position:relative;top:auto}.impact-chart{height:210px}.section-hero{grid-template-columns:1fr 190px}.catalog-grid{grid-template-columns:1fr}.mobile-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.builder-side .compact-summary{display:none}}
@media (max-width:920px){.page-root{box-shadow:none}.nav{display:none}.menu-toggle{display:inline-flex}.hero{grid-template-columns:1fr;min-height:unset;padding:48px 22px 28px}.hero h1{font-size:54px}.hero .subtitle{font-size:18px}.section,.panel{padding:28px 20px}.page-banner{padding:28px 20px}.page-banner h1,.panel-header h1{font-size:42px}.page-banner:after{opacity:.18}.section-title,.panel-header{display:block}.section-title h2{font-size:34px;margin-bottom:10px}.grid.two,.grid.three,.grid.four,.split{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.row-card,.course-card,.ticket-card{grid-template-columns:1fr}.ticket-search-box{grid-template-columns:1fr}.profile-kv{grid-template-columns:1fr}.brand-subtitle{display:none}.section-hero{grid-template-columns:1fr}.section-hero img{max-width:260px}.wizard-actions{flex-direction:column}.wizard-actions .btn{width:100%}}
@media (max-width:560px){.header-inner{padding:12px 14px}.brand-title{font-size:22px}.logo-mark{width:36px;height:36px}.hero{padding-left:16px;padding-right:16px}.hero h1{font-size:44px}.section,.panel,.page-banner{padding-left:16px;padding-right:16px}.page-banner h1{font-size:38px}.hero-media{padding:10px;border-radius:28px}.btn{width:100%}.cta-row{width:100%}.card h3{font-size:22px}.wizard-card{padding:16px;border-radius:24px}.section-hero{padding:14px;border-radius:22px}.section-hero h2{font-size:32px}.catalog-card{padding:15px}.catalog-card h3{font-size:21px}.mini-facts{grid-template-columns:1fr}.impact-head{display:block}.impact-stat{display:inline-block;margin-top:8px}.journey{grid-template-columns:1fr}.mobile-bottom{align-items:flex-start;flex-direction:column}.mobile-bottom .btn{width:100%}.success-hero h1{font-size:40px}.ticket-number{font-size:20px;width:100%;justify-content:center}}
@media print{.site-header,.site-footer,.btn,.builder-side,.mobile-bottom{display:none!important}.page-root{box-shadow:none;max-width:100%;min-height:auto}.card,.form-section,.row-card,.course-card,.ticket-card{box-shadow:none}}


/* Kyube Workshop Portal v2.1 visible layout fix: keep builder-side and compact-summary inside normal flow. */
.builder-shell{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:22px !important;
  align-items:stretch !important;
}
.builder-main{
  min-width:0 !important;
}
.builder-side{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  max-width:none !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr) !important;
  gap:18px !important;
  align-self:stretch !important;
  z-index:auto !important;
  transform:none !important;
  margin:0 !important;
  clear:both !important;
}
.compact-summary{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:auto !important;
  width:100% !important;
  max-width:none !important;
  transform:none !important;
  margin:0 !important;
}
.impact-panel{
  min-width:0 !important;
}
.mobile-bottom{
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:auto !important;
}
@media (max-width:1020px){
  .builder-side{
    grid-template-columns:1fr !important;
  }
  .builder-side .compact-summary{
    display:block !important;
  }
}
@media (max-width:700px){
  .builder-side{
    gap:14px !important;
  }
}


/* Kyube Workshop Portal v2.3 base + v2.4 overrides */
body[data-page="createCourse"] .site-footer{display:none}
body[data-page="createCourse"] .page-root{min-height:calc(100svh - 71px);box-shadow:0 0 50px rgba(0,0,0,.08);overflow:hidden}
.builder-v23{height:calc(100svh - 71px);min-height:660px;display:grid;grid-template-rows:auto auto auto minmax(250px,1fr) auto auto auto;gap:10px;padding:14px 18px 16px;overflow:hidden;background:radial-gradient(circle at top right,rgba(222,171,59,.16),transparent 34%),var(--c-bg)}
.builder-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}.builder-topbar h1{font-size:26px;margin:2px 0 0;line-height:1}.tiny-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--c-muted)}.back-dot{width:38px;height:38px;border-radius:50%;background:var(--c-dark);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;line-height:1}.save-link{font-size:12px;font-weight:900;background:#fff;border:1px solid var(--c-line);border-radius:999px;padding:9px 12px;color:var(--c-dark)}
.goal-strip{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;min-height:34px}.strip-label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:var(--c-muted)}.goal-scroll{display:flex;gap:7px;overflow:hidden}.goal-pill{border:1px solid #f0d58b;background:var(--c-soft);color:var(--c-dark);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}.goal-pill.empty{background:#fff;border-color:var(--c-line);color:var(--c-muted)}
.builder-progress{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;font-size:11px;font-weight:900;color:var(--c-muted)}.builder-progress i{height:7px;border-radius:999px;background:#ded8cb;overflow:hidden}.builder-progress u{display:block;height:100%;background:var(--c-yellow);border-radius:999px;text-decoration:none;transition:.2s ease}
.menu-board{background:#fff;border:1px solid var(--c-line);border-radius:24px;box-shadow:var(--shadow-sm);padding:6px;display:grid;gap:4px;align-self:stretch;overflow:hidden}.menu-row{width:100%;border:0;background:transparent;border-radius:18px;display:grid;grid-template-columns:38px minmax(0,1fr) 92px 18px;gap:8px;align-items:center;text-align:left;padding:7px 9px;cursor:pointer;color:var(--c-dark);transition:.15s ease}.menu-row:hover,.menu-row.has-selected{background:#fff8e7}.menu-row.viewed:not(.has-selected){background:#faf8f1}.row-icon{width:34px;height:34px;border-radius:13px;background:var(--c-soft);display:flex;align-items:center;justify-content:center;font-size:17px}.menu-row.has-selected .row-icon{background:var(--c-yellow)}.row-main{min-width:0}.row-main b{display:block;font-size:13px;line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-main small{display:block;font-size:10px;color:var(--c-muted);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-count{display:grid;gap:4px;justify-items:end}.row-count em{font-style:normal;font-size:10px;font-weight:900;color:var(--c-muted);white-space:nowrap}.row-count i{width:70px;height:5px;border-radius:999px;background:#e8e1d4;overflow:hidden}.row-count u{display:block;height:100%;background:var(--c-yellow);border-radius:999px;text-decoration:none}.row-arrow{font-size:24px;color:var(--c-muted);line-height:1}
.selected-ticker{min-height:34px;display:flex;gap:6px;align-items:center;overflow:hidden;background:rgba(255,255,255,.74);border:1px solid var(--c-line);border-radius:18px;padding:6px}.selected-ticker.empty{font-size:11px;font-weight:800;color:var(--c-muted);padding-left:12px}.selected-ticker span{display:inline-flex;align-items:center;gap:5px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--c-dark);color:#fff;border-radius:999px;padding:6px 8px;font-size:10px;font-weight:900}.selected-ticker button{border:0;background:rgba(255,255,255,.18);color:#fff;border-radius:50%;width:17px;height:17px;font-weight:900;line-height:1;cursor:pointer;flex:0 0 auto}
.snapshot-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:10px;min-height:136px}.shape-panel,.impact-inline{background:#fff;border:1px solid var(--c-line);border-radius:24px;box-shadow:var(--shadow-sm);padding:10px}.shape-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:6px}.shape-stat{background:var(--c-bg);border-radius:16px;padding:9px;min-width:0}.shape-stat b{display:block;color:var(--c-dark);font-size:14px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shape-stat span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--c-muted);font-weight:900;margin-top:4px}.shape-stat.wide{min-width:0}.impact-inline{display:grid;grid-template-rows:auto 1fr;gap:8px}.impact-inline-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.impact-inline-top b{display:block;color:var(--c-dark);font-size:14px}.impact-inline-top span{display:block;font-size:10px;color:var(--c-muted);font-weight:900}.mini-donut{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--c-yellow) calc(var(--p)*1%),#eee6d8 0);position:relative;flex:0 0 auto}.mini-donut:after{content:"";position:absolute;width:31px;height:31px;border-radius:50%;background:#fff}.mini-donut strong{position:relative;z-index:1;font-size:10px;color:var(--c-dark)}.impact-chips{display:flex;flex-wrap:wrap;gap:5px;align-content:start;overflow:hidden}.impact-chip{border:1px solid var(--c-line);border-radius:999px;padding:5px 7px;font-size:9px;font-weight:900;color:var(--c-muted);background:#fff;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.impact-chip.active{background:var(--c-soft);border-color:#f0d58b;color:var(--c-dark)}
.builder-cta{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.builder-cta .btn{width:100%;padding:12px 14px}.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.34);z-index:200;display:flex;align-items:flex-end;justify-content:center;padding:14px}.bottom-sheet{width:min(720px,100%);max-height:min(82svh,760px);background:var(--c-bg);border-radius:30px 30px 24px 24px;box-shadow:0 30px 100px rgba(0,0,0,.36);padding:10px 12px 12px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden}.sheet-handle{width:48px;height:5px;border-radius:999px;background:#cfc8bb;margin:0 auto}.sheet-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:4px 4px 0}.sheet-head h2{font-size:26px;margin:1px 0 4px}.sheet-head p{margin:0;color:var(--c-muted);font-size:13px;font-weight:750;max-width:590px}.sheet-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--c-line);background:#fff;color:var(--c-dark);font-size:24px;line-height:1;cursor:pointer;flex:0 0 auto}.option-list{display:grid;gap:7px;overflow:auto;padding:2px 2px 6px}.option-row{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:start;text-align:left;border:1px solid var(--c-line);background:#fff;border-radius:18px;padding:10px 11px;color:var(--c-dark);cursor:pointer}.option-row.selected{border-color:var(--c-yellow);background:#fff8e7}.option-check{width:30px;height:30px;border-radius:50%;background:var(--c-bg);display:flex;align-items:center;justify-content:center;font-weight:900}.option-row.selected .option-check{background:var(--c-yellow)}.option-row b{display:block;font-size:14px;line-height:1.15}.option-row small{display:block;font-size:11px;color:var(--c-muted);font-weight:750;margin-top:3px;line-height:1.28}.option-row em{display:block;font-style:normal;font-size:10px;font-weight:900;color:var(--c-dark);margin-top:5px}.sheet-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:9px;padding-top:2px}.sheet-actions .btn{width:100%}
@media (min-width:900px){body[data-page="createCourse"] .page-root{max-width:1180px}.builder-v23{width:min(1180px,100%);margin:0 auto;border-left:1px solid var(--c-line);border-right:1px solid var(--c-line);grid-template-columns:.88fr 1.12fr;grid-template-rows:auto auto auto minmax(240px,1fr) auto auto;column-gap:14px}.builder-topbar,.goal-strip,.builder-progress,.builder-cta{grid-column:1/-1}.menu-board{grid-column:1;grid-row:4/6}.selected-ticker{grid-column:1;grid-row:6}.snapshot-grid{grid-column:2;grid-row:4/7;grid-template-columns:1fr;grid-template-rows:170px 1fr;min-height:0}.impact-inline{min-height:0}.impact-chip{font-size:11px;padding:7px 9px}.shape-panel{grid-template-columns:1fr 1fr}.shape-stat{padding:14px}.shape-stat b{font-size:18px}.row-main b{font-size:14px}.row-main small{font-size:11px}.menu-row{padding:9px 10px}.bottom-sheet{align-self:center;border-radius:30px}}
@media (max-width:640px){body[data-page="createCourse"] .site-header{position:static}.nav{display:none}.menu-toggle{display:inline-flex}body[data-page="createCourse"] .page-root{min-height:calc(100svh - 66px)}.builder-v23{height:calc(100svh - 66px);min-height:620px;padding:10px 11px;gap:7px}.builder-topbar{min-height:42px}.builder-topbar h1{font-size:21px}.back-dot{width:34px;height:34px}.save-link{padding:8px 10px}.goal-strip{min-height:30px}.goal-pill{font-size:10px;padding:6px 8px}.builder-progress{font-size:10px}.menu-board{border-radius:20px;padding:5px;gap:3px}.menu-row{grid-template-columns:32px minmax(0,1fr) 76px 14px;padding:6px 7px;border-radius:15px}.row-icon{width:29px;height:29px;border-radius:11px;font-size:15px}.row-main b{font-size:12px}.row-main small{font-size:9px}.row-count em{font-size:9px}.row-count i{width:58px}.row-arrow{font-size:20px}.selected-ticker{min-height:30px;padding:5px;border-radius:15px}.selected-ticker span{font-size:9px;padding:5px 7px;max-width:150px}.snapshot-grid{grid-template-columns:1fr;gap:7px;min-height:184px}.shape-panel{grid-template-columns:1fr 1fr;padding:7px;border-radius:19px}.shape-stat{padding:7px;border-radius:13px}.shape-stat b{font-size:12px}.shape-stat span{font-size:8px}.impact-inline{padding:8px;border-radius:19px}.impact-inline-top b{font-size:12px}.mini-donut{width:38px;height:38px}.mini-donut:after{width:26px;height:26px}.impact-chip{font-size:8px;padding:4px 6px}.builder-cta{grid-template-columns:1fr 1.2fr;gap:7px}.builder-cta .btn{padding:10px 8px;font-size:12px}.sheet-backdrop{padding:8px}.bottom-sheet{max-height:86svh;border-radius:24px 24px 20px 20px}.sheet-head h2{font-size:21px}.sheet-head p{font-size:11px}.option-row{grid-template-columns:32px minmax(0,1fr);padding:8px;border-radius:15px}.option-check{width:26px;height:26px}.option-row b{font-size:12px}.option-row small{font-size:10px}.option-row em{font-size:9px}.sheet-actions .btn{padding:10px 8px;font-size:12px}}
@media (max-height:720px) and (max-width:640px){.builder-v23{min-height:560px;gap:5px}.goal-strip{display:none}.builder-progress{display:none}.menu-row{padding-top:5px;padding-bottom:5px}.row-main small{display:none}.selected-ticker{display:none}.snapshot-grid{min-height:162px}.shape-stat{padding:6px}.impact-chips{max-height:64px}.builder-cta .btn{padding:9px 7px}}

/* Kyube Workshop Portal v2.4: readable mobile builder, useful ticker, radar impact, scroll fix */
body[data-page="createCourse"] .page-root{
  min-height:calc(100svh - 71px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
.builder-v23{
  height:auto !important;
  min-height:calc(100svh - 71px) !important;
  overflow:visible !important;
  grid-template-rows:auto auto auto auto auto auto !important;
  gap:12px !important;
}
.builder-topbar h1{font-size:30px !important;}
.tiny-label{font-size:12px !important;}
.goal-pill{font-size:13px !important;padding:8px 12px !important;}
.strip-label,.builder-progress{font-size:13px !important;}
.menu-board{overflow:visible !important;gap:6px !important;}
.menu-row{padding:11px 12px !important;grid-template-columns:42px minmax(0,1fr) 104px 20px !important;}
.row-icon{width:38px !important;height:38px !important;font-size:19px !important;}
.row-main b{font-size:16px !important;line-height:1.15 !important;}
.row-main small{font-size:12px !important;line-height:1.25 !important;}
.row-count em{font-size:12px !important;}
.row-count i{width:82px !important;height:6px !important;}
.selected-ticker{
  min-height:46px !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  gap:10px !important;
  align-items:center !important;
  overflow:hidden !important;
  background:#fff !important;
  padding:8px 10px !important;
}
.ticker-label{
  color:var(--c-dark);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  white-space:nowrap;
}
.ticker-track{
  display:flex;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  padding-bottom:1px;
}
.ticker-track::-webkit-scrollbar{display:none;}
.selected-ticker .ticker-chip{
  scroll-snap-align:start;
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:none !important;
  flex:0 0 auto;
  background:var(--c-dark);
  color:#fff;
  border-radius:999px;
  padding:8px 10px !important;
  font-size:12px !important;
  font-weight:900;
  white-space:nowrap;
}
.selected-ticker .ticker-chip button{
  width:20px !important;
  height:20px !important;
  font-size:13px !important;
}
.ticker-empty{font-size:13px;font-weight:800;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.snapshot-grid{min-height:auto !important;}
.shape-panel,.impact-inline{padding:14px !important;}
.shape-stat{padding:13px !important;}
.shape-stat b{font-size:18px !important;}
.shape-stat span{font-size:11px !important;}
.impact-inline{grid-template-rows:auto auto auto !important;gap:10px !important;}
.impact-inline-top b{font-size:18px !important;}
.impact-inline-top span{font-size:12px !important;}
.impact-radar{height:230px;border-radius:20px;background:linear-gradient(180deg,#fff,#fbf8ef);border:1px solid var(--c-line);overflow:hidden;}
.radar-fallback{display:grid;gap:8px;padding:14px;}
.radar-bar{display:grid;grid-template-columns:96px 1fr 32px;gap:8px;align-items:center;font-size:12px;font-weight:900;color:var(--c-dark);}
.radar-bar i{height:8px;border-radius:999px;background:#e9e1d3;overflow:hidden;}
.radar-bar u{display:block;height:100%;background:var(--c-yellow);border-radius:999px;text-decoration:none;}
.impact-chip{font-size:11px !important;padding:7px 9px !important;}
.builder-cta.single{grid-template-columns:1fr !important;}
.option-row b{font-size:16px !important;}
.option-row small{font-size:13px !important;line-height:1.35 !important;}
.option-row em{font-size:12px !important;}
.sheet-head h2{font-size:30px !important;}
.sheet-head p{font-size:14px !important;line-height:1.35;}
.catalog-card .card-tags{margin-top:2px;}
.catalog-card .tag{font-size:11px;}

@media (min-width:900px){
  .builder-v23{grid-template-columns:.82fr 1.18fr !important;grid-template-rows:auto auto auto minmax(300px,auto) auto auto !important;}
  .snapshot-grid{grid-template-rows:auto auto !important;}
  .impact-radar{height:300px;}
}
@media (max-width:640px){
  body[data-page="createCourse"] .page-root{min-height:calc(100svh - 66px) !important;overflow-y:auto !important;}
  .builder-v23{height:auto !important;min-height:calc(100svh - 66px) !important;padding:12px 12px 18px !important;gap:9px !important;}
  .builder-topbar h1{font-size:24px !important;}
  .tiny-label{font-size:11px !important;}
  .goal-strip{min-height:36px !important;}
  .goal-pill{font-size:12px !important;padding:8px 10px !important;}
  .builder-progress{font-size:12px !important;}
  .menu-row{grid-template-columns:38px minmax(0,1fr) 88px 18px !important;padding:9px 9px !important;}
  .row-icon{width:34px !important;height:34px !important;font-size:18px !important;}
  .row-main b{font-size:15px !important;}
  .row-main small{font-size:11px !important;}
  .row-count em{font-size:11px !important;}
  .row-count i{width:64px !important;}
  .selected-ticker{grid-template-columns:1fr !important;gap:6px !important;min-height:auto !important;}
  .ticker-label{font-size:11px !important;}
  .selected-ticker .ticker-chip{font-size:11px !important;padding:7px 9px !important;}
  .ticker-empty{font-size:12px;white-space:normal;}
  .shape-panel{grid-template-columns:1fr 1fr !important;padding:10px !important;}
  .shape-stat{padding:10px !important;}
  .shape-stat b{font-size:16px !important;}
  .shape-stat span{font-size:10px !important;}
  .impact-inline{padding:10px !important;}
  .impact-inline-top b{font-size:16px !important;}
  .impact-inline-top span{font-size:11px !important;}
  .impact-radar{height:205px;}
  .impact-chip{font-size:10px !important;padding:6px 8px !important;}
  .builder-cta .btn{font-size:14px !important;padding:13px 12px !important;}
  .bottom-sheet{max-height:88dvh !important;}
  .sheet-head h2{font-size:24px !important;}
  .sheet-head p{font-size:13px !important;}
  .option-row{grid-template-columns:34px minmax(0,1fr) !important;padding:10px !important;}
  .option-row b{font-size:15px !important;}
  .option-row small{font-size:12px !important;}
  .option-row em{font-size:11px !important;}
}
@media (max-height:720px) and (max-width:640px){
  .builder-v23{min-height:calc(100svh - 66px) !important;gap:8px !important;}
  .goal-strip{display:grid !important;}
  .builder-progress{display:grid !important;}
  .selected-ticker{display:grid !important;}
  .row-main small{display:block !important;}
  .impact-chips{max-height:none !important;}
}

/* Kyube Workshop Portal v2.5: create-course overflow, radar layout, mobile scroll and walkthrough sync fixes */
body[data-page="createCourse"]{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  height:auto !important;
  min-height:100dvh !important;
}
body[data-page="createCourse"] .site-header{z-index:90;}
body[data-page="createCourse"] .page-root{
  height:auto !important;
  min-height:calc(100dvh - 71px) !important;
  overflow:visible !important;
  padding-bottom:18px !important;
}
body[data-page="createCourse"] #app-shell{
  min-height:100dvh !important;
  overflow:visible !important;
}
.builder-v23{
  height:auto !important;
  min-height:auto !important;
  overflow:visible !important;
  padding-bottom:28px !important;
}
/* Selected modules: label removed, track scrolls horizontally instead of clipping. */
.selected-ticker{
  display:block !important;
  min-height:50px !important;
  max-width:100% !important;
  overflow:hidden !important;
  padding:8px 9px !important;
}
.selected-ticker.empty{display:flex !important;align-items:center !important;}
.selected-ticker .ticker-label{display:none !important;}
.ticker-track{
  width:100% !important;
  max-width:100% !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:thin !important;
  padding:1px 2px 5px !important;
}
.ticker-track::-webkit-scrollbar{height:5px !important;display:block !important;}
.ticker-track::-webkit-scrollbar-thumb{background:#d4c9b8;border-radius:999px;}
.selected-ticker .ticker-chip{
  flex:0 0 auto !important;
  max-width:260px !important;
}
.ticker-empty{
  flex:0 0 auto !important;
  font-size:13px !important;
  white-space:nowrap !important;
  color:var(--c-muted) !important;
  background:transparent !important;
  color:var(--c-muted) !important;
  padding:0 !important;
}
/* Impact panel: split chart and outcomes so Plotly does not collide with the chips. */
.impact-inline{
  overflow:hidden !important;
}
.impact-body{
  display:grid;
  grid-template-columns:minmax(210px,0.95fr) minmax(185px,1fr);
  gap:12px;
  align-items:stretch;
  min-width:0;
}
.impact-radar{
  height:270px !important;
  min-width:0;
}
.impact-side{
  min-width:0;
  border:1px solid var(--c-line);
  border-radius:18px;
  background:#fffdf8;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:9px;
  overflow:hidden;
}
.impact-side-title{
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--c-muted);
}
.impact-side .impact-chips{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  max-height:238px;
  padding-right:2px;
  align-content:start;
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
}
.impact-side .impact-chip{
  width:100%;
  max-width:100% !important;
  justify-content:flex-start;
  white-space:normal !important;
  line-height:1.2;
}
/* Dialog sheet: real internal scroll on mobile and desktop. */
.sheet-backdrop{
  overflow:hidden !important;
  padding:12px !important;
  touch-action:none;
}
.bottom-sheet{
  width:min(760px,100%) !important;
  height:auto !important;
  max-height:calc(100dvh - 24px) !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
.sheet-head,.sheet-handle,.sheet-actions{flex:0 0 auto !important;}
.option-list{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:calc(100dvh - 230px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  padding-right:4px !important;
  overscroll-behavior:contain !important;
}
.sheet-actions{
  position:sticky;
  bottom:0;
  background:var(--c-bg);
  padding-top:8px !important;
  z-index:2;
}
@media (min-width:900px){
  .builder-v23{min-height:auto !important;grid-template-rows:auto auto auto auto auto auto !important;}
  .snapshot-grid{grid-template-rows:auto auto !important;}
  .impact-radar{height:310px !important;}
  .impact-side .impact-chips{max-height:278px;}
}
@media (max-width:640px){
  html,body{overscroll-behavior-y:auto;}
  body[data-page="createCourse"] .site-header{position:static !important;}
  body[data-page="createCourse"] .page-root{
    height:auto !important;
    min-height:100dvh !important;
    overflow:visible !important;
    padding-bottom:22px !important;
  }
  .builder-v23{
    height:auto !important;
    min-height:auto !important;
    overflow:visible !important;
    padding-bottom:24px !important;
  }
  .selected-ticker{min-height:46px !important;}
  .selected-ticker .ticker-chip{max-width:235px !important;}
  .snapshot-grid{grid-template-columns:1fr !important;min-height:auto !important;}
  .impact-body{
    grid-template-columns:minmax(145px,.92fr) minmax(130px,1fr);
    gap:8px;
  }
  .impact-radar{height:178px !important;border-radius:16px;}
  .impact-side{padding:8px;border-radius:16px;}
  .impact-side-title{font-size:10px;}
  .impact-side .impact-chips{max-height:148px;gap:5px;}
  .impact-side .impact-chip{font-size:9px !important;padding:5px 7px !important;}
  .builder-cta{position:relative !important;bottom:auto !important;}
  .sheet-backdrop{
    align-items:flex-end !important;
    padding:8px !important;
    overflow:hidden !important;
  }
  .bottom-sheet{
    max-height:calc(100dvh - 16px) !important;
    border-radius:24px 24px 18px 18px !important;
  }
  .option-list{
    max-height:calc(100dvh - 210px) !important;
    padding-bottom:8px !important;
  }
  .sheet-actions{padding-bottom:2px !important;}
}
@media (max-width:380px){
  .impact-body{grid-template-columns:1fr !important;}
  .impact-radar{height:170px !important;}
  .impact-side .impact-chips{max-height:96px;}
}
@media (max-height:720px) and (max-width:640px){
  .builder-v23{min-height:auto !important;}
  .option-list{max-height:calc(100dvh - 190px) !important;}
  .impact-radar{height:155px !important;}
  .impact-side .impact-chips{max-height:124px;}
}

/* Kyube Workshop Portal v2.7: reliable mobile sheet + compact readable radar */
body[data-page="createCourse"] .page-root{
  padding-bottom:32px !important;
}
body[data-page="createCourse"] .site-footer{display:none !important;}
.impact-body{
  display:grid !important;
  grid-template-columns:minmax(0,1.18fr) minmax(210px,.82fr) !important;
  gap:14px !important;
  align-items:stretch !important;
  min-width:0 !important;
}
.impact-radar{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  border:1px solid var(--c-line) !important;
  border-radius:20px !important;
  background:linear-gradient(180deg,#fff,#fbf8ef) !important;
  padding:10px !important;
}
.radar-compact{
  display:grid;
  grid-template-columns:178px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-width:0;
}
.radar-svg-wrap{min-width:0;display:flex;align-items:center;justify-content:center;}
.radar-svg{width:100%;max-width:178px;height:auto;display:block;overflow:visible;}
.radar-bg{fill:transparent;}
.radar-ring{fill:none;stroke:#e7ddcf;stroke-width:1;}
.radar-axis{stroke:#d8cdbb;stroke-width:1;}
.radar-axis-label{font-size:9px;font-weight:900;fill:#333333;letter-spacing:.02em;}
.radar-area{fill:rgba(222,171,59,.34);stroke:#333333;stroke-width:2.5;}
.radar-dot{fill:#DEAB3B;stroke:#333333;stroke-width:1.5;}
.radar-center{fill:#333333;}
.radar-key{display:grid;gap:5px;min-width:0;}
.radar-key-row{display:grid;grid-template-columns:minmax(0,1fr) 36px 34px;gap:5px;align-items:center;font-size:10.5px;font-weight:800;color:var(--c-dark);line-height:1.1;}
.radar-key-row span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.radar-key-row i{display:inline-flex;align-items:center;justify-content:center;width:38px;margin-right:5px;border-radius:999px;background:var(--c-soft);font-style:normal;font-size:8px;font-weight:900;color:var(--c-dark);padding:3px 4px;}
.radar-key-row b{text-align:right;font-size:11px;}
.radar-key-row em{text-align:right;font-style:normal;font-size:9px;color:var(--c-muted);font-weight:900;}
.impact-side{min-width:0 !important;}
.impact-side .impact-chips{max-height:238px !important;overflow:auto !important;}

/* Make modal a real full-height mobile dialog, not a bottom sheet that can sink below the viewport. */
@media (max-width:640px){
  html,body{height:auto !important;overflow-y:auto !important;}
  body[data-page="createCourse"]{min-height:100dvh !important;overflow-y:auto !important;}
  body[data-page="createCourse"] .page-root,
  .builder-v23{
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  .builder-v23{padding-bottom:calc(28px + env(safe-area-inset-bottom)) !important;}
  .impact-body{
    grid-template-columns:1fr !important;
    gap:9px !important;
  }
  .impact-radar{padding:8px !important;border-radius:17px !important;}
  .radar-compact{grid-template-columns:150px minmax(0,1fr);gap:7px;}
  .radar-svg{max-width:150px;}
  .radar-axis-label{font-size:8px;}
  .radar-key-row{grid-template-columns:minmax(0,1fr) 31px 28px;gap:3px;font-size:9px;}
  .radar-key-row i{width:32px;font-size:7px;margin-right:4px;padding:2px 3px;}
  .radar-key-row b{font-size:10px;}
  .radar-key-row em{font-size:8px;}
  .impact-side .impact-chips{max-height:none !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:6px !important;overflow:visible !important;}
  .impact-side .impact-chip{font-size:10px !important;line-height:1.15 !important;min-width:0 !important;}
  .builder-cta{position:relative !important;bottom:auto !important;z-index:1 !important;}
  .sheet-backdrop{
    position:fixed !important;
    inset:0 !important;
    z-index:9999 !important;
    display:block !important;
    padding:0 !important;
    overflow:hidden !important;
    background:rgba(0,0,0,.38) !important;
    touch-action:none !important;
  }
  .bottom-sheet{
    position:absolute !important;
    top:8px !important;
    left:8px !important;
    right:8px !important;
    bottom:calc(8px + env(safe-area-inset-bottom)) !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    border-radius:22px !important;
    padding:10px !important;
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    overflow:hidden !important;
    transform:none !important;
  }
  .sheet-handle{flex:0 0 auto !important;}
  .sheet-head{
    flex:0 0 auto !important;
    max-height:26dvh !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    padding-right:2px !important;
  }
  .sheet-head h2{font-size:22px !important;line-height:1.05 !important;}
  .sheet-head p{font-size:12px !important;line-height:1.25 !important;}
  .option-list{
    flex:1 1 auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    padding:2px 2px 12px !important;
  }
  .sheet-actions{
    flex:0 0 auto !important;
    position:relative !important;
    bottom:auto !important;
    z-index:2 !important;
    padding:8px 0 0 !important;
    background:var(--c-bg) !important;
  }
  .sheet-actions .btn{min-height:42px !important;}
}
@media (max-width:380px){
  .radar-compact{grid-template-columns:132px minmax(0,1fr);gap:6px;}
  .radar-svg{max-width:132px;}
  .radar-key-row{font-size:8.4px;}
  .radar-key-row i{width:29px;font-size:6.5px;}
  .impact-side .impact-chips{grid-template-columns:1fr !important;}
}

/* Kyube Workshop Portal v2.8: compact mobile picker + full radar impact */
body[data-page="createCourse"] .impact-body,
body[data-page="createCourse"] .impact-body-radar-only{
  display:block !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
  min-width:0 !important;
}
body[data-page="createCourse"] .impact-side,
body[data-page="createCourse"] .impact-side-title{
  display:none !important;
}
body[data-page="createCourse"] .impact-radar{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  padding:6px !important;
  background:linear-gradient(180deg,#fff,#fbf8ef) !important;
  border:1px solid var(--c-line) !important;
  border-radius:20px !important;
}
body[data-page="createCourse"] .radar-compact,
body[data-page="createCourse"] .radar-compact.radar-only{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
}
body[data-page="createCourse"] .radar-svg{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  display:block !important;
  overflow:visible !important;
}
body[data-page="createCourse"] .radar-bg{fill:#fffdf7;stroke:none;}
body[data-page="createCourse"] .radar-ring{fill:none;stroke:#e6dccd;stroke-width:1;}
body[data-page="createCourse"] .radar-axis{stroke:#d5cab9;stroke-width:1;}
body[data-page="createCourse"] .radar-axis-label{font-size:11px;font-weight:900;fill:#333;letter-spacing:.01em;}
body[data-page="createCourse"] .radar-score{font-size:10px;font-weight:900;fill:#7d725f;}
body[data-page="createCourse"] .radar-area{fill:rgba(222,171,59,.42);stroke:#333;stroke-width:2.3;}
body[data-page="createCourse"] .radar-dot{fill:#DEAB3B;stroke:#333;stroke-width:1.5;}
body[data-page="createCourse"] .radar-center{fill:#333;}

@media (min-width:900px){
  body[data-page="createCourse"] .snapshot-grid{
    grid-template-rows:170px minmax(0,1fr) !important;
  }
  body[data-page="createCourse"] .impact-radar{
    padding:8px !important;
  }
}

@media (max-width:640px){
  body[data-page="createCourse"] .sheet-backdrop{
    position:fixed !important;
    inset:0 !important;
    z-index:99999 !important;
    display:block !important;
    padding:0 !important;
    overflow:hidden !important;
    background:rgba(0,0,0,.4) !important;
    touch-action:none !important;
  }
  body[data-page="createCourse"] .bottom-sheet{
    position:fixed !important;
    top:8px !important;
    left:8px !important;
    right:8px !important;
    bottom:calc(8px + env(safe-area-inset-bottom)) !important;
    width:auto !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    margin:0 !important;
    border-radius:22px !important;
    padding:9px !important;
    display:grid !important;
    grid-template-rows:auto auto minmax(0,1fr) auto !important;
    gap:7px !important;
    overflow:hidden !important;
    transform:none !important;
  }
  body[data-page="createCourse"] .sheet-handle{
    width:42px !important;
    height:4px !important;
    margin:0 auto !important;
  }
  body[data-page="createCourse"] .sheet-head{
    display:flex !important;
    align-items:flex-start !important;
    gap:10px !important;
    padding:2px 2px 0 !important;
    max-height:20dvh !important;
    min-height:0 !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body[data-page="createCourse"] .sheet-head h2{
    font-size:20px !important;
    line-height:1.05 !important;
    margin:0 0 3px !important;
  }
  body[data-page="createCourse"] .sheet-head p{
    font-size:11px !important;
    line-height:1.22 !important;
    margin:0 !important;
  }
  body[data-page="createCourse"] .sheet-close{
    width:32px !important;
    height:32px !important;
    font-size:20px !important;
  }
  body[data-page="createCourse"] .option-list{
    display:grid !important;
    gap:6px !important;
    min-height:0 !important;
    max-height:calc(100dvh - 184px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    padding:1px 2px 10px !important;
  }
  body[data-page="createCourse"] .option-row{
    grid-template-columns:30px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:start !important;
    padding:7px 8px !important;
    border-radius:14px !important;
    min-height:0 !important;
  }
  body[data-page="createCourse"] .option-check{
    width:25px !important;
    height:25px !important;
    font-size:13px !important;
  }
  body[data-page="createCourse"] .option-row b{
    font-size:14px !important;
    line-height:1.12 !important;
  }
  body[data-page="createCourse"] .option-row small{
    font-size:11px !important;
    line-height:1.23 !important;
    margin-top:2px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }
  body[data-page="createCourse"] .option-row em{
    display:none !important;
  }
  body[data-page="createCourse"] .sheet-actions{
    flex:initial !important;
    display:grid !important;
    grid-template-columns:1fr 1.25fr !important;
    gap:8px !important;
    padding:7px 0 0 !important;
    background:var(--c-bg) !important;
    position:relative !important;
    z-index:3 !important;
  }
  body[data-page="createCourse"] .sheet-actions .btn{
    min-height:40px !important;
    padding:9px 8px !important;
    font-size:13px !important;
  }
  body[data-page="createCourse"] .impact-inline{
    padding:9px !important;
  }
  body[data-page="createCourse"] .impact-inline-top b{
    font-size:15px !important;
  }
  body[data-page="createCourse"] .impact-inline-top span{
    font-size:10px !important;
  }
  body[data-page="createCourse"] .impact-radar{
    padding:4px !important;
    border-radius:17px !important;
  }
  body[data-page="createCourse"] .radar-axis-label{
    font-size:10px !important;
  }
  body[data-page="createCourse"] .radar-score{
    font-size:9px !important;
  }
}

@media (max-width:380px){
  body[data-page="createCourse"] .option-list{
    max-height:calc(100dvh - 172px) !important;
  }
  body[data-page="createCourse"] .sheet-head p{
    display:none !important;
  }
  body[data-page="createCourse"] .radar-axis-label{
    font-size:9px !important;
  }
}


/* Kyube Workshop Portal v2.9: reliable compact mobile category picker */
body[data-page="createCourse"].sheet-open,
body[data-page="createCourse"].sheet-open #app-shell{
  overflow:hidden !important;
}

/* Avoid CSS Grid stretching option rows into tall blank cards. */
body[data-page="createCourse"] .option-list{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  align-content:flex-start !important;
  grid-auto-rows:max-content !important;
  gap:8px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior:contain !important;
  touch-action:pan-y !important;
}
body[data-page="createCourse"] .option-row{
  flex:0 0 auto !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  display:grid !important;
  align-items:start !important;
  box-sizing:border-box !important;
}

@media (max-width:640px){
  body[data-page="createCourse"] .sheet-backdrop{
    position:fixed !important;
    inset:0 !important;
    z-index:99999 !important;
    display:block !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    background:rgba(0,0,0,.44) !important;
    touch-action:auto !important;
  }
  body[data-page="createCourse"] .bottom-sheet{
    position:fixed !important;
    left:10px !important;
    right:10px !important;
    top:10px !important;
    bottom:calc(10px + env(safe-area-inset-bottom)) !important;
    width:auto !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    margin:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    padding:10px !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }
  body[data-page="createCourse"] .sheet-handle{
    flex:0 0 auto !important;
    width:44px !important;
    height:4px !important;
    margin:0 auto 2px !important;
  }
  body[data-page="createCourse"] .sheet-head{
    flex:0 0 auto !important;
    max-height:112px !important;
    overflow:hidden !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 38px !important;
    gap:10px !important;
    align-items:start !important;
    padding:2px 2px 4px !important;
  }
  body[data-page="createCourse"] .sheet-head h2{
    font-size:20px !important;
    line-height:1.08 !important;
    margin:0 0 4px !important;
  }
  body[data-page="createCourse"] .sheet-head p{
    font-size:11px !important;
    line-height:1.25 !important;
    margin:0 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }
  body[data-page="createCourse"] .sheet-close{
    width:36px !important;
    height:36px !important;
    font-size:22px !important;
    align-self:start !important;
  }
  body[data-page="createCourse"] .option-list{
    flex:1 1 auto !important;
    min-height:0 !important;
    max-height:none !important;
    height:auto !important;
    padding:2px 1px 8px !important;
  }
  body[data-page="createCourse"] .option-row{
    grid-template-columns:30px minmax(0,1fr) !important;
    gap:8px !important;
    padding:9px 10px !important;
    border-radius:15px !important;
    background:#fff !important;
  }
  body[data-page="createCourse"] .option-check{
    width:26px !important;
    height:26px !important;
    font-size:13px !important;
  }
  body[data-page="createCourse"] .option-row b{
    font-size:15px !important;
    line-height:1.16 !important;
    margin:0 !important;
  }
  body[data-page="createCourse"] .option-row small{
    font-size:12px !important;
    line-height:1.24 !important;
    margin-top:3px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }
  body[data-page="createCourse"] .option-row em{
    display:none !important;
  }
  body[data-page="createCourse"] .sheet-actions{
    flex:0 0 auto !important;
    display:grid !important;
    grid-template-columns:1fr 1.25fr !important;
    gap:8px !important;
    padding:8px 0 0 !important;
    margin:0 !important;
    background:var(--c-bg) !important;
    position:relative !important;
    bottom:auto !important;
    z-index:5 !important;
  }
  body[data-page="createCourse"] .sheet-actions .btn{
    width:100% !important;
    min-height:42px !important;
    padding:10px 8px !important;
    font-size:13px !important;
  }
}

@media (max-width:380px){
  body[data-page="createCourse"] .bottom-sheet{
    left:8px !important;
    right:8px !important;
    top:8px !important;
    bottom:calc(8px + env(safe-area-inset-bottom)) !important;
    padding:9px !important;
    gap:7px !important;
  }
  body[data-page="createCourse"] .sheet-head{
    max-height:88px !important;
  }
  body[data-page="createCourse"] .sheet-head p{
    display:none !important;
  }
  body[data-page="createCourse"] .option-row{
    padding:8px 9px !important;
  }
}

/* Kyube Workshop Portal v2.10: hard mobile create-course/dialog fix.
   This block intentionally appears last to override older v2.x rules. */
@media (max-width: 820px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
  }
  body[data-page="createCourse"] {
    height: auto !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  body[data-page="createCourse"] #app-shell,
  body[data-page="createCourse"] .page-root {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    max-height: none !important;
  }
  body[data-page="createCourse"] .builder-v23 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: grid !important;
    grid-template-rows: auto auto auto auto auto auto !important;
    padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
  }
  body[data-page="createCourse"] .builder-cta {
    position: relative !important;
    bottom: auto !important;
    z-index: 1 !important;
    margin-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  body[data-page="createCourse"].sheet-open {
    overflow: hidden !important;
  }
  body[data-page="createCourse"] .sheet-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    padding: 8px !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    overflow: hidden !important;
    background: rgba(0,0,0,.44) !important;
    box-sizing: border-box !important;
    touch-action: auto !important;
  }
  body[data-page="createCourse"] .bottom-sheet {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 560px !important;
    height: calc(100dvh - 16px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 16px) !important;
    margin: 0 auto !important;
    padding: 10px !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transform: none !important;
  }
  body[data-page="createCourse"] .sheet-handle {
    flex: 0 0 auto !important;
    width: 42px !important;
    height: 4px !important;
    margin: 0 auto 2px !important;
  }
  body[data-page="createCourse"] .sheet-head {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px !important;
    gap: 8px !important;
    align-items: start !important;
    max-height: 108px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 2px 2px !important;
  }
  body[data-page="createCourse"] .sheet-head h2 {
    font-size: 21px !important;
    line-height: 1.08 !important;
    margin: 0 0 4px !important;
  }
  body[data-page="createCourse"] .sheet-head p {
    font-size: 12px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  body[data-page="createCourse"] .sheet-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    align-self: start !important;
  }
  body[data-page="createCourse"] .option-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    padding: 1px 2px 8px !important;
    box-sizing: border-box !important;
  }
  body[data-page="createCourse"] button.option-row,
  body[data-page="createCourse"] .option-row {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
    justify-content: stretch !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: left !important;
    overflow: visible !important;
  }
  body[data-page="createCourse"] .option-check {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }
  body[data-page="createCourse"] .option-row b {
    font-size: 15px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  body[data-page="createCourse"] .option-row small {
    font-size: 12px !important;
    line-height: 1.24 !important;
    margin-top: 3px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  body[data-page="createCourse"] .option-row em {
    display: none !important;
  }
  body[data-page="createCourse"] .sheet-actions {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1.25fr !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    background: var(--c-bg) !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
  }
  body[data-page="createCourse"] .sheet-actions .btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  body[data-page="createCourse"] .bottom-sheet {
    height: calc(100dvh - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 8px !important;
    gap: 7px !important;
  }
  body[data-page="createCourse"] .sheet-head {
    max-height: 78px !important;
  }
  body[data-page="createCourse"] .sheet-head p {
    display: none !important;
  }
  body[data-page="createCourse"] button.option-row,
  body[data-page="createCourse"] .option-row {
    padding: 7px 9px !important;
  }
}

/* Root-level authentication pages */
.auth-shell{min-height:100vh;background:#fff8db;display:flex;align-items:center;justify-content:center;padding:24px}
.auth-card{width:min(760px,100%);background:#fff;border:3px solid #111;border-radius:28px;box-shadow:10px 10px 0 #111;padding:28px}
.auth-card h1{margin:0 0 8px;font-size:clamp(30px,6vw,56px);line-height:.95;letter-spacing:-.04em}
.auth-card p{color:#4b4637}.auth-logo{display:flex;align-items:center;gap:12px;margin-bottom:20px;font-weight:900}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.auth-field.full{grid-column:1/-1}.auth-field label{font-weight:800}.auth-input{border:2px solid #111;border-radius:14px;padding:12px 14px;font:inherit;background:#fff}.auth-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.auth-message{padding:12px 14px;border-radius:14px;margin:14px 0;font-weight:700}.auth-error{background:#ffe3df;border:2px solid #dd3322}.auth-success{background:#dcffd9;border:2px solid #208322}.auth-muted{font-size:14px;color:#675f4f}@media(max-width:720px){.auth-grid{grid-template-columns:1fr}.auth-card{padding:20px;border-radius:22px}}


/* Kyube v1.3 header/auth refinements */
.brand-logo{width:42px;height:42px;object-fit:contain;display:block}
.auth-logo-img{width:44px;height:44px;object-fit:contain;display:block}
.top-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center}
.user-menu-item{display:flex;align-items:center;gap:10px;border:1px solid var(--c-line);background:#fff;border-radius:999px;padding:6px 8px 6px 6px;box-shadow:0 7px 18px rgba(0,0,0,.08)}
.user-avatar{width:34px;height:34px;border-radius:50%;background:var(--c-dark);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;letter-spacing:.04em}
.user-info{display:flex;flex-direction:column;line-height:1.05;max-width:180px}
.user-info b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-info small{font-size:10px;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.logout-link{font-size:12px;font-weight:900;border-radius:999px;padding:8px 10px;background:var(--c-soft);color:var(--c-dark)}
.logout-link:hover{background:var(--c-yellow);color:var(--c-dark)}
.mobile-user{margin-top:10px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid var(--c-line);font-weight:900;color:var(--c-dark)}
.mk-block-msg{font-weight:900;font-size:16px;padding:16px 22px;border:3px solid #111;border-radius:16px;background:#fff8db;color:#111;box-shadow:8px 8px 0 #111}
@media(max-width:900px){.main-nav,.top-menu{display:none}.menu-toggle{display:inline-flex}.brand-logo{width:38px;height:38px}}
@media(max-width:560px){.brand-logo{width:36px;height:36px}.auth-logo-img{width:38px;height:38px}}
