/* fun(Web) terminal theme. This stylesheet is only packaged into the product site.
   The important layer deliberately wins over the shared sales site's !important
   paint rules; it leaves layout and generated website previews alone. */
:root, :host, .site-component, body.builder-light {
  color-scheme: dark;
  --fw-black:#10100d; --fw-ink:#eeeae2; --fw-paper:#101112;
  --fw-panel:#191b1d; --fw-panel-strong:#25282b; --fw-steel:#b8b3aa;
  --fw-rust:#ed947b; --fw-denim:#a4c5ec; --fw-gold:#e2ad30; --fw-green:#7cff6b; --fw-muted:#b8b3aa;
  --fw-border-width:1px; --fw-radius:0px; --fw-shadow:none; --fw-shadow-sm:none; --fw-shadow-lg:none; --fw-shadow-color:transparent;
  --fw-texture:none; --hero-gradient:#101112;
  --bg:var(--fw-paper); --bg2:var(--fw-panel); --bg3:var(--fw-panel-strong); --border:#777b7f;
  --text:var(--fw-ink); --text2:var(--fw-muted); --accent:var(--fw-rust); --accent2:var(--fw-denim);
  --rust:var(--fw-rust); --green:var(--fw-green); --red:#ff9a91; --yellow:#e2ad30;
  --ink:var(--fw-ink); --paper:var(--fw-paper); --panel:var(--fw-panel); --panel-strong:var(--fw-panel-strong); --muted:var(--fw-muted);
  --radius:0px; --shadow:none; --shadow-sm:none; --shadow-color:transparent; --line:1px dashed var(--border);
  --fw-button-transition:background-color .15s, color .15s, border-color .15s;
  --fw-card-transition:border-color .15s;
}
@layer funweb-terminal {
  *, *::before, *::after { box-shadow:none !important; text-shadow:none !important; }
  html, body, .site-component { color-scheme:dark !important; }
  body { background:#101112 !important; color:#eeeae2 !important; }
  :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible { outline:2px solid #7cff6b !important; outline-offset:4px !important; }
  :is(.btn,.cta-button,.service-cta,.pricing-cta,.item-btn,.filter-btn,.copy-btn,.download-actions button,.guide-card a):hover,
  :is(.feature-card,.pricing-card,.service-card,.item-card,.guide-card,.quick-link):hover,
  .pricing-card.featured { transform:none !important; }
  :is(.btn,.cta-button,.service-cta,.pricing-cta,.item-btn,.filter-btn,.copy-btn) { border-radius:0 !important; }
  :is(.btn-primary,.btn-green,.cta-button.primary,.pricing-cta.primary,.item-btn:not(.secondary),.doc-card .btn-primary,.hero-actions .btn-primary,.guide-card a,.copy-btn) {
    background:#7cff6b !important; color:#10100d !important; border:1px solid #7cff6b !important;
  }
  :is(.btn-primary,.btn-green,.cta-button.primary,.pricing-cta.primary,.item-btn:not(.secondary),.guide-card a,.copy-btn):hover { background:#b3ffa9 !important; color:#10100d !important; }
  :is(.btn-secondary,.btn-ghost,.item-btn.secondary,.cta-button.secondary,.pricing-cta.secondary,.filter-btn) { background:#191b1d !important; color:#eeeae2 !important; border:1px solid #777b7f !important; }
  :is(.btn-secondary,.btn-ghost,.item-btn.secondary,.cta-button.secondary,.pricing-cta.secondary,.filter-btn):hover { background:#25282b !important; color:#eeeae2 !important; border-color:#ed947b !important; }
  :is(.filter-btn.active,.toggle-button.active) { background:#7cff6b !important; color:#10100d !important; }
  :is(input,textarea,select,.marketplace-token-input) { background-color:#101112 !important; color:#eeeae2 !important; border:1px solid #777b7f !important; border-radius:0 !important; }
  ::placeholder { color:#b8b3aa !important; opacity:1 !important; }
  :is(input[type="checkbox"],input[type="radio"]) { accent-color:#7cff6b; }
  :is(.feature-card,.pricing-card,.service-card,.process-step,.faq-item,.item-card,.info-section,.card,.doc-card,.hero-card,.mini-card,.guide-card,.quick-link,.hero-copy,.settings-section,.cta,.qr-panel,.panel) {
    background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #777b7f !important; border-radius:0 !important;
  }
  :is(.hero,.gear-hero) { background:#101112 !important; border-bottom:1px dashed #777b7f !important; }
  .hero::after { background:none !important; }
  .gear-hero::before,.gear-hero::after { background:#b9482e !important; opacity:.22 !important; }
  .marketplace-auth-panel { background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #777b7f !important; }
  .marketplace-auth-copy,.marketplace-auth-copy strong,.marketplace-auth-copy span { color:#eeeae2 !important; }
  .comparison-table th { background:#25282b !important; color:#eeeae2 !important; }
  .site-component .header,.site-component .header::before,.site-component .header-nav { background:#101112 !important; color:#eeeae2 !important; box-shadow:none !important; }
  .site-component .header::before { border-bottom:1px dashed #777b7f !important; }
  .site-component .header .logo-mark { display:flex !important; width:38px !important; height:38px !important; }
  .site-component .header .logo-mark svg { display:block !important; width:100% !important; height:100% !important; fill:#ed947b !important; }
  .site-component .header .logo-globe { fill:#eeeae2 !important; }
  .site-component .header .logo-gear { fill:#b9482e !important; }
  .site-component .header .logo-text { display:inline !important; color:#eeeae2 !important; text-transform:none !important; font-size:1.25rem !important; letter-spacing:-.03em; }
  .site-component .header .nav-links a {
    background:transparent !important; color:#b8b3aa !important; border:1px solid transparent !important;
    padding:10px 12px !important; font-weight:400 !important; min-height:44px !important; transform:none !important;
  }
  .site-component .header .nav-links a:hover,.site-component .header .nav-links a[aria-current="page"] { background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #ed947b !important; }
  .site-component .header .btn-primary { background:#7cff6b !important; color:#10100d !important; border:1px solid #7cff6b !important; }
  .site-component .header .menu-toggle { background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #777b7f !important; transform:none !important; width:44px !important; height:44px !important; }
  .site-component .header .menu-toggle-bar,.site-component .header .menu-toggle-bar::before,.site-component .header .menu-toggle-bar::after { background:currentColor !important; }
  .site-component footer { background:#101112 !important; color:#eeeae2 !important; border-top:1px dashed #777b7f !important; }
  .site-component .footer-section :is(h4,a,p) { color:#b8b3aa !important; }
  .site-component .footer-section h4 { color:#ed947b !important; }
  .site-component .footer-section a:hover { color:#7cff6b !important; }
  @media(min-width:769px) { .site-component .header-wrapper { max-width:1280px !important; margin:auto; padding:12px 24px !important; } }
  @media(max-width:768px) {
    .site-component .header .logo-text { font-size:1rem !important; }
    .site-component .header .logo-mark { width:30px !important; height:30px !important; }
    .site-component .header .logo { gap:7px !important; }
    .site-component .header-nav { border:1px dashed #777b7f !important; top:100% !important; }
    .site-component .header-nav .nav-links a { justify-content:flex-start !important; padding:16px !important; }
  }
}
body > #header-placeholder { display:block; min-height:80px; flex-shrink:0; }
.workshop-home { max-width:1200px; margin:auto; padding:32px 24px 80px; }
.workshop-home p { font-size:1rem; line-height:1.8; margin-bottom:18px; color:var(--text2); }
.workshop-home h1 { font-size:clamp(2.5rem,5.3vw,4.25rem); line-height:1.12; letter-spacing:-.055em; margin-bottom:28px; font-weight:700; }
.workshop-home h1 em { font-style:normal; color:var(--fw-rust); }
.workshop-home h2 { font-size:clamp(1.8rem,3.5vw,2.5rem); line-height:1.25; margin-bottom:24px; }
.workshop-home h3 { font-size:1.125rem; line-height:1.45; margin-bottom:14px; }
.workshop-hero { display:grid; grid-template-columns:1.2fr 1fr; gap:64px; align-items:center; padding:60px 0 88px; }
.workshop-home .terminal-label { color:var(--fw-rust); font-size:.875rem; font-weight:400; text-transform:uppercase; letter-spacing:.03em; }
.workshop-actions { display:flex; flex-wrap:wrap; gap:20px; align-items:center; margin:28px 0; }
.workshop-actions .btn { min-height:48px; display:inline-flex; align-items:center; padding:14px 20px; white-space:normal; font-size:1rem; }
.workshop-home .workshop-note { font-size:.875rem; }
.terminal-window { background:#131516; color:var(--text); border:1px dashed var(--border); position:relative; }
.terminal-bar { padding:16px 24px; border-bottom:1px dashed var(--border); color:var(--text2); font-size:.875rem; overflow-wrap:anywhere; }
.terminal-bar span { color:var(--fw-rust); }
.terminal-body { padding:28px; }
.terminal-body p { color:var(--text); margin-bottom:20px; }
.terminal-body p span { color:var(--fw-green); }
.file-output { display:grid; gap:12px; padding:24px 0 0; margin-top:28px; border-top:1px dashed var(--border); }
.file-output strong { color:var(--fw-green); }
.file-output span { color:var(--text2); font-size:.875rem; line-height:1.6; }
.workshop-section { padding:56px 0; border-top:1px dashed var(--border); }
.workflow-list { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; padding:0; }
.workshop-split { display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.workshop-panel { padding:28px; background:var(--bg2); border:1px dashed var(--border); }
.workshop-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.workshop-links a { display:block; border:1px dashed var(--border); padding:24px; color:var(--text); text-decoration:none; }
.workshop-links a:hover { background:var(--bg2); border-color:var(--fw-rust); }
.workshop-close { border:1px dashed var(--border); padding:36px; background:var(--bg2); }
.workshop-home a:not(.btn) { color:var(--text); text-decoration:underline; text-underline-offset:5px; }
.workshop-home .workshop-links a { text-decoration:none; }
.fw-skip { position:fixed; top:-100px; left:16px; z-index:1000; background:var(--bg2); color:var(--text); padding:16px; }
.fw-skip:focus { top:16px; }
@media(max-width:900px) { .workshop-hero { gap:32px; } }
@media(max-width:768px) {
  .workshop-hero,.workshop-split,.workflow-list,.workshop-links { grid-template-columns:minmax(0,1fr); gap:28px; }
  .workshop-home { padding-top:16px; }
  .workshop-hero { padding:32px 0 48px; }
  .terminal-body,.workshop-panel,.workshop-close { padding:24px; }
  .workshop-section { padding:40px 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@layer funweb-terminal {
  ::selection { background:#ed947b !important; color:#101112 !important; }
  .new-project-card,.project-card,.modal,.editor-toolbar,.sidebar,.props-panel {
    border-color:#777b7f !important; border-width:1px !important; border-radius:0 !important;
  }
  .new-project-card { background:#191b1d !important; color:#eeeae2 !important; text-transform:none !important; font-weight:400 !important; }
  .new-project-card:hover { border-color:#ed947b !important; transform:none !important; }
  .pro-banner { background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #777b7f !important; border-radius:0 !important; }
  .pro-banner strong { color:#ed947b !important; }
  .pro-banner :is(span,.pro-banner-link,.pro-banner-close) { color:#eeeae2 !important; }
  .pro-banner .btn { background:#7cff6b !important; color:#10100d !important; }
  .new-project-card .new-project-icon { color:#ed947b !important; }
}
@layer funweb-terminal {
  body[data-funweb-page="tools/contact-form"] .hero { min-height:0 !important; padding:32px 0 !important; display:block !important; text-align:left !important; border:0 !important; }
  body[data-funweb-page="tools/contact-form"] .hero h1 { font-size:clamp(1.75rem,4vw,2.75rem) !important; }
  body[data-funweb-page="tools/contact-form"] .hero p { margin:24px 0 !important; font-weight:400 !important; }
  body[data-funweb-page="tools/contact-form"] .note { background:#191b1d !important; color:#eeeae2 !important; border:1px dashed #ed947b !important; }
  body[data-funweb-page="tools/contact-form"] button:hover { background:#25282b !important; color:#eeeae2 !important; transform:none !important; }
  body[data-funweb-page="tools/contact-form"] .danger { background:#ed947b !important; color:#101112 !important; }
  :is(.hero,.gear-hero) { min-height:0 !important; }
  :is(.gear-hero .hero-inner,.gear-hero .hero-content) { padding-top:48px !important; padding-bottom:48px !important; }
}
