/* Desktop density pass: compact the entire Cloud UI without shrinking mobile touch targets. */
@media (min-width:651px){
  body{font-size:12px}
  main{max-width:1040px!important;margin:20px auto 42px!important;padding:0 14px!important}
  h1{font-size:clamp(24px,2.6vw,34px)!important}h2{font-size:18px!important}h3{font-size:14px!important}
  p{line-height:1.45}.eyebrow{font-size:7px!important;letter-spacing:.14em!important}
  .button,button{padding:6px 9px!important;border-radius:6px!important;font-size:10px!important}
  input,select,textarea{padding:7px!important;border-radius:6px!important;font-size:11px!important}
  .page-head{min-height:52px!important;margin-bottom:14px!important}.page-head h1{margin:3px 0!important}.page-head p{font-size:11px!important}
  .panel,.glass-panel{padding:14px!important;border-radius:10px!important;box-shadow:0 7px 22px #26372e0a!important}
  .panel.narrow{max-width:560px!important;padding:22px 26px!important}.panel form p,.glass-panel form p{margin:10px 0!important}
  .section-title{gap:8px!important;margin-bottom:12px!important}.section-title>span,.glass-panel .section-title>span{min-width:28px!important;width:28px!important;height:28px!important;padding:0!important;border-radius:8px!important;font-size:11px!important}.section-title p{font-size:9px!important}
  .home-shell{max-width:1040px!important;margin:-20px auto 34px!important}.home-hero{min-height:315px!important;margin:0 -2vw!important;padding:28px max(2vw,calc((100vw - 1000px)/2))!important}.hero-copy h1{margin:7px 0 10px!important;font-size:clamp(30px,3.2vw,38px)!important}.hero-copy p{max-width:440px!important;font-size:11px!important}.hero-actions{gap:6px!important;margin:13px 0!important}.hero-actions a{padding:7px 10px!important;border-radius:6px!important;font-size:9px!important}.trust-row{gap:11px!important;font-size:7px!important}
  .hero-visual{min-height:245px!important}.mock-app{border-width:3px!important;border-radius:9px!important;box-shadow:0 14px 30px #28305430!important}.mock-bar{height:20px!important;padding:0 7px!important;font-size:6px!important}.mock-bar i{width:4px!important;height:4px!important}.mock-body{grid-template-columns:38px 1fr!important;height:175px!important}.mock-body aside{gap:3px!important;padding:7px 4px!important}.mock-body aside span{height:23px!important}.mock-body main strong{font-size:15px!important}.floating-card{gap:5px!important;padding:6px 8px!important;border-radius:6px!important}.floating-card>span{width:20px!important;height:20px!important;border-radius:5px!important}.floating-card b{font-size:7px!important}.floating-card small{font-size:6px!important}.glow-orb.one{width:110px!important;height:110px!important}.glow-orb.two{width:65px!important;height:65px!important}
  .dashboard-stats{margin:-18px 14px 38px!important;padding:9px!important;border-radius:10px!important}.dashboard-stats>div{gap:8px!important;padding:4px 12px!important}.stat-icon{width:28px!important;height:28px!important;border-radius:7px!important;font-size:13px!important}.dashboard-stats b{font-size:14px!important}.dashboard-stats small{font-size:8px!important}
  .home-section{padding:0 14px 34px!important}.section-head{margin-bottom:12px!important}.section-head h2{margin-top:3px!important;font-size:17px!important}.section-head>p{max-width:300px!important;font-size:9px!important}.feature-grid{gap:8px!important}.feature-card{min-height:120px!important;padding:11px!important;border-radius:8px!important}.feature-card h3{margin:8px 0 4px!important;font-size:11px!important}.feature-card p{margin:0 0 8px!important;font-size:9px!important}.feature-card em{font-size:8px!important}.feature-icon{width:26px!important;height:26px!important;border-radius:7px!important;font-size:12px!important}.feature-art{height:95px!important;margin:-3px -3px 10px!important;border-radius:7px!important}.feature-art i{width:90px!important;height:90px!important}.feature-art strong{left:10px!important;bottom:10px!important;font-size:15px!important}.theme-fan{width:120px!important;min-width:100px!important}
  .activity-grid{gap:12px!important}.activity-list{padding:5px 12px!important;border-radius:10px!important}.activity-list>a{grid-template-columns:34px 1fr 14px!important;gap:8px!important;padding:8px 0!important}.date-tile{padding:3px!important;border-radius:6px!important}.date-tile b{font-size:12px!important}.inspiration{padding:18px!important;border-radius:10px!important}.inspiration blockquote{margin:14px 0 8px!important;font-size:16px!important}.inspiration i{font-size:90px!important}
  .glass-hero{min-height:125px!important;margin-bottom:13px!important;padding:21px 25px!important;border-radius:18px!important}.glass-hero h1{margin:5px 0!important;font-size:clamp(25px,3.5vw,36px)!important}.glass-hero p{max-width:560px!important;margin-top:8px!important;font-size:10px!important}.hero-glyph{width:62px!important;height:62px!important;border-radius:19px!important;font-size:28px!important;box-shadow:0 12px 24px #395a4930!important}.workspace-grid{gap:13px!important}.glass-search{gap:6px!important;margin:-3px 0 13px!important;padding:6px!important;border-radius:10px!important}
  .gloss-row,.sermon-card,.output-card,.review-card{gap:8px!important;margin-bottom:6px!important;padding:8px!important;border-radius:10px!important}.gloss-row>i,.sermon-card>span,.output-card>span{width:29px!important;height:29px!important;border-radius:8px!important;font-size:10px!important}.gloss-row small,.sermon-card small,.output-card small{font-size:8px!important}.gloss-row>span,.sermon-card>em,.output-card>em{padding:3px 6px!important;font-size:7px!important}
  .capability-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:9px!important;margin-top:11px!important}.capability-card{min-height:95px!important;padding:13px!important;border-radius:12px!important}.capability-card h3{margin:10px 0!important;font-size:13px!important}.capability-card>span,.capability-card em,.capability-card a{font-size:8px!important}
  .cards{gap:9px!important}.cards .panel{min-height:105px!important;padding:14px!important}.cards .panel:before{width:52px!important;height:52px!important}.cards .panel h3{font-size:13px!important}.cards .panel strong{font-size:16px!important}.plan-icon,.feature-icon,.stat-icon{transform:scale(.9)}
  .row-link{min-height:45px!important;grid-template-columns:28px 1fr!important;column-gap:8px!important;padding:7px 28px 7px 3px!important}.row-link:before{width:27px!important;height:27px!important;border-radius:7px!important;font-size:10px!important}.service-item{min-height:44px!important;padding:6px 0!important}.service-item>b,.order-position{width:24px!important;height:24px!important;font-size:9px!important}
  .service-hero,.subscription-hero{min-height:125px!important;padding:22px!important;border-radius:16px!important}.service-hero h1,.subscription-hero h1{font-size:30px!important}.service-stats{gap:8px!important}.service-stats span{padding:7px 9px!important}.service-hero-actions{gap:5px!important}.content-builder{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:8px!important}.content-builder a{min-height:64px!important;display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;column-gap:8px!important;align-content:center!important;padding:9px!important;border-radius:9px!important}.content-builder a:before{position:static!important;grid-row:1/3!important;align-self:start!important;width:23px!important;height:23px!important;border-radius:6px!important;font-size:10px!important}.content-builder a b,.content-builder a span{grid-column:2!important;min-width:0!important}.content-builder a b{font-size:10px!important}.content-builder a span{font-size:8px!important;line-height:1.35!important}
  .feature-card>.feature-icon{position:static!important;float:none!important;margin:0 0 6px!important}.feature-card h3,.feature-card p,.feature-card em{position:relative!important;z-index:2!important}.cards .panel>.plan-icon{position:static!important;float:none!important;width:25px!important;height:25px!important;margin:0 0 7px!important;border-radius:7px!important;font-size:11px!important}.cards .panel h3,.cards .panel p,.cards .panel strong,.cards .panel a{position:relative!important;z-index:2!important}
  .preview-frame{max-width:760px!important;margin:auto}.order-row{min-height:52px!important;padding:8px!important}.order-copy{font-size:10px!important}.order-actions{gap:4px!important}
}

@media (min-width:651px){
  .item-editor-shell{display:grid;grid-template-columns:minmax(300px,440px) minmax(340px,1fr);gap:14px;align-items:start;max-width:1040px;margin:auto}
  .item-editor-form{padding:14px!important;border:1px solid #e3e6e2;border-radius:10px;background:#ffffffed;box-shadow:0 8px 24px #20372b0d}
  .item-editor-form form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}
  .item-editor-form form>p{margin:0!important;padding:7px!important;border:1px solid #e7e9e6;border-radius:7px;background:#fff}
  .item-editor-form form>p:has(textarea),.item-editor-form form>p:has(input[type=file]),.item-editor-form form>.item-editor-actions{grid-column:1/-1}
  .item-editor-form label{display:block;margin-bottom:3px;font-size:8px;font-weight:850;color:#35433b}
  .item-editor-form .helptext{font-size:7px;color:#7d8781}
  .item-editor-form textarea{min-height:60px;max-height:105px}
  .item-editor-actions{display:flex;align-items:center;gap:5px;padding-top:4px}
  .item-preview-panel{position:fixed;z-index:30;top:51px;right:max(12px,calc((100vw - 1040px)/2 + 14px));width:min(42vw,500px);max-height:calc(100vh - 63px);padding:12px;border:1px solid #25372e;border-radius:11px;background:linear-gradient(145deg,#101a15,#182820);box-shadow:0 12px 30px #14251c25;color:#fff}
  .item-preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#96aa9f;font-size:7px;font-weight:900;letter-spacing:.15em}
  .item-preview-head span:last-child{display:flex;align-items:center;gap:4px;color:#61d58f}.item-preview-head span:last-child:before{content:'';width:5px;height:5px;border-radius:50%;background:#61d58f}
  .item-preview-stage{position:relative;isolation:isolate;display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:radial-gradient(circle at top,#304b3e,#122019 67%);box-shadow:inset 0 0 0 1px #ffffff12}
  .item-preview-stage img,.item-preview-stage video{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;display:none}.item-preview-stage:after{content:'';position:absolute;z-index:-1;inset:0;background:#0005}
  .item-preview-copy{width:82%;text-align:center}.item-preview-copy small{display:block;margin-bottom:8px;color:#f0cb64;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.item-preview-copy h2{margin:0;color:#fff!important;font-size:clamp(17px,2.4vw,28px)!important;line-height:1.12}.item-preview-copy p{margin:9px 0 0;color:#e8f0eb;font-size:10px;line-height:1.45;white-space:pre-line}.item-preview-footer{display:flex;justify-content:space-between;margin-top:8px;color:#81968a;font-size:7px}.item-preview-footer b{color:#cbd8d1}
  .slide-studio{grid-template-columns:minmax(270px,360px) minmax(340px,1fr)!important}.slide-studio .studio-canvas{position:sticky!important;top:51px!important;grid-row:auto!important;align-self:start!important;padding:10px!important}.slide-studio .canvas-label{font-size:7px!important}.slide-studio .studio-tip{font-size:8px!important}.studio-shell .studio-workspace{height:calc(100vh - 105px)!important;min-height:480px!important}.studio-shell .studio-topbar{min-height:54px!important;padding:8px 12px!important}.studio-shell .canvas-column{position:sticky;top:45px;padding:10px 16px!important}.studio-shell .presentation-canvas{width:100%!important;height:min(52vh,calc(56.25vw - 139.5px))!important;min-height:220px!important;aspect-ratio:16/9;max-height:52vh}
}
@media(max-width:650px){.item-editor-shell{display:block}.item-preview-panel{margin-top:12px}.item-preview-stage{aspect-ratio:16/9}}
