.obje-brief-app{
  --obje-bg:#07101f;
  --obje-panel:rgba(15,29,50,.78);
  --obje-panel-2:rgba(8,18,34,.9);
  --obje-border:rgba(148,163,184,.2);
  --obje-text:#f8fafc;
  --obje-muted:#94a3b8;
  --obje-accent:#f59e0b;
  --obje-accent-2:#38bdf8;
  max-width:1120px;
  margin:0 auto;
  padding:clamp(22px,4vw,48px) 16px 90px;
  color:var(--obje-text);
  direction:rtl;
  font-family:inherit;
}
.obje-brief-app *{box-sizing:border-box}
.obje-brief-app button,.obje-brief-app input,.obje-brief-app textarea,.obje-brief-app select{font:inherit}
.obje-brief-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(24px,5vw,48px);
  border:1px solid var(--obje-border);
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 10%,rgba(245,158,11,.16),transparent 34%),
    radial-gradient(circle at 88% 15%,rgba(56,189,248,.14),transparent 32%),
    linear-gradient(145deg,rgba(10,23,42,.94),rgba(15,29,50,.76));
  box-shadow:0 28px 80px rgba(2,6,23,.28);
  backdrop-filter:blur(18px);
}
.obje-brief-badge{display:inline-flex;padding:7px 12px;border-radius:999px;border:1px solid rgba(245,158,11,.35);background:rgba(245,158,11,.09);color:#fbbf24;font-size:12px;font-weight:800;letter-spacing:.04em;margin-bottom:14px}
.obje-brief-hero h1{margin:0;font-size:clamp(30px,5vw,58px);line-height:1.18;font-weight:900;letter-spacing:-.03em;color:#fff}
.obje-brief-hero>p{max-width:780px;margin:16px 0 0;color:#cbd5e1;font-size:clamp(14px,2vw,17px);line-height:2}
.obje-brief-progress-wrap{margin-top:26px;max-width:620px}
.obje-brief-progress-label{display:flex;align-items:center;justify-content:space-between;color:#cbd5e1;font-size:12px;margin-bottom:8px}
.obje-brief-progress-label strong{color:#fbbf24}
.obje-brief-progress{height:8px;border-radius:999px;background:rgba(30,41,59,.9);overflow:hidden}
.obje-brief-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#f59e0b,#fbbf24,#38bdf8);border-radius:inherit;transition:width .35s ease}
.obje-brief-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;padding:12px;border:1px solid var(--obje-border);border-radius:18px;background:rgba(15,23,42,.68);backdrop-filter:blur(14px)}
.obje-brief-view-toggle{display:flex;gap:6px;padding:4px;background:rgba(2,6,23,.55);border-radius:14px}
.obje-brief-view-toggle button,.obje-brief-import-btn{border:0;cursor:pointer;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:800;color:#94a3b8;background:transparent;transition:.2s ease}
.obje-brief-view-toggle button.is-active{background:rgba(255,255,255,.08);color:#fbbf24}
.obje-brief-import-btn{display:inline-flex;align-items:center;border:1px solid rgba(56,189,248,.28);color:#7dd3fc;background:rgba(56,189,248,.07)}
.obje-brief-step-nav{display:flex;gap:8px;overflow-x:auto;padding:0 0 10px;margin:0 0 14px;scrollbar-width:thin}
.obje-step-pill{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--obje-border);border-radius:14px;background:rgba(15,23,42,.72);color:#94a3b8;font-size:12px;font-weight:800;cursor:pointer;transition:.22s ease}
.obje-step-pill span{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#020617;color:#cbd5e1}
.obje-step-pill.is-active{border-color:rgba(245,158,11,.6);background:rgba(245,158,11,.12);color:#fbbf24;transform:translateY(-1px)}
.obje-step-pill.is-active span{background:#f59e0b;color:#07101f}
.obje-brief-section{display:none;margin-bottom:18px;border:1px solid var(--obje-border);border-radius:26px;overflow:hidden;background:var(--obje-panel);box-shadow:0 18px 50px rgba(2,6,23,.18);backdrop-filter:blur(18px)}
.obje-brief-section.is-active,.obje-brief-app[data-view="all"] .obje-brief-section{display:block}
.obje-section-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--obje-border);background:rgba(2,6,23,.22)}
.obje-section-number{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:rgba(245,158,11,.16);border:1px solid rgba(245,158,11,.35);color:#fbbf24;font-weight:900}
.obje-section-head h2{margin:0;color:#fff;font-size:clamp(16px,2.3vw,21px);font-weight:900}
.obje-section-head p{margin:4px 0 0;color:#94a3b8;font-size:12px;line-height:1.8}
.obje-section-body{padding:20px}
.obje-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.obje-field{min-width:0}
.obje-field-full{grid-column:1/-1}
.obje-field label{display:block;margin-bottom:7px;color:#e2e8f0;font-size:13px;font-weight:800;line-height:1.65}
.obje-field small{display:block;margin:-2px 0 8px;color:#7f8fa6;font-size:11px;line-height:1.75}
.obje-required{color:#fb7185}
.obje-field input[type="text"],.obje-field input[type="tel"],.obje-field textarea,.obje-field select{
  width:100%;border:1px solid rgba(148,163,184,.22);border-radius:14px;background:rgba(2,6,23,.62);color:#fff;padding:12px 14px;outline:none;transition:border-color .2s,box-shadow .2s,background .2s;line-height:1.8
}
.obje-field textarea{resize:vertical;min-height:96px}
.obje-field select{appearance:auto}
.obje-field input:focus,.obje-field textarea:focus,.obje-field select:focus{border-color:rgba(245,158,11,.72);box-shadow:0 0 0 3px rgba(245,158,11,.1);background:rgba(2,6,23,.8)}
.obje-field input::placeholder,.obje-field textarea::placeholder{color:#64748b}
.obje-chip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.obje-chip{display:flex;align-items:center;gap:9px;text-align:right;border:1px solid rgba(148,163,184,.2);border-radius:13px;padding:11px 12px;background:rgba(2,6,23,.48);color:#cbd5e1;cursor:pointer;font-size:12px;font-weight:700;line-height:1.6;transition:.2s ease}
.obje-chip:hover{border-color:rgba(245,158,11,.35);transform:translateY(-1px)}
.obje-chip-check{width:20px;height:20px;border:1px solid #475569;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:transparent;flex:0 0 auto}
.obje-chip.is-selected{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.6);color:#fbbf24}
.obje-chip.is-selected .obje-chip-check{background:#f59e0b;border-color:#f59e0b;color:#07101f}
.obje-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.obje-color-field{display:flex!important;align-items:center!important;justify-content:space-between;gap:8px;margin:0!important;padding:10px 12px;border:1px solid rgba(148,163,184,.2);border-radius:13px;background:rgba(2,6,23,.5)}
.obje-color-field span{font-size:12px;color:#cbd5e1}.obje-color-field input{width:34px;height:34px;padding:0;border:0;background:transparent}.obje-color-field em{font-style:normal;font-family:monospace;color:#94a3b8;font-size:11px;direction:ltr}
.obje-brief-wizard-nav{display:flex;justify-content:space-between;gap:12px;margin:18px 0 28px}
.obje-btn{border:1px solid transparent;border-radius:14px;padding:12px 17px;cursor:pointer;font-size:13px;font-weight:900;transition:.2s ease;text-decoration:none!important}
.obje-btn:hover{transform:translateY(-1px)}
.obje-btn-primary{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#07101f;box-shadow:0 10px 26px rgba(245,158,11,.18)}
.obje-btn-secondary,.obje-btn-glass{background:rgba(255,255,255,.055);border-color:rgba(148,163,184,.22);color:#e2e8f0;backdrop-filter:blur(12px)}
.obje-brief-final-actions{margin-top:18px;padding:22px;border:1px solid rgba(56,189,248,.22);border-radius:24px;background:linear-gradient(145deg,rgba(8,18,34,.92),rgba(15,29,50,.78));box-shadow:0 18px 50px rgba(2,6,23,.18)}
.obje-brief-final-copy h3{margin:0 0 5px;color:#fff;font-size:19px;font-weight:900}.obje-brief-final-copy p{margin:0;color:#94a3b8;font-size:12px;line-height:1.9}
.obje-brief-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.obje-brief-submit-status{margin-top:12px;min-height:22px;font-size:12px;font-weight:800;color:#86efac}
.obje-brief-submit-status.is-error{color:#fda4af}
.obje-brief-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:820px){.obje-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.obje-brief-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .obje-brief-app{padding-left:12px;padding-right:12px}.obje-brief-hero{border-radius:22px;padding:22px 18px}.obje-brief-hero h1{font-size:31px}.obje-brief-toolbar{align-items:stretch;flex-direction:column}.obje-brief-view-toggle{width:100%}.obje-brief-view-toggle button{flex:1}.obje-brief-import-btn{justify-content:center}.obje-fields-grid{grid-template-columns:1fr}.obje-field-full{grid-column:auto}.obje-chip-grid{grid-template-columns:1fr}.obje-color-grid{grid-template-columns:1fr}.obje-section-head{padding:15px}.obje-section-body{padding:15px}.obje-section-head h2{font-size:16px}.obje-section-head p{font-size:11px}.obje-brief-action-grid{grid-template-columns:1fr 1fr}.obje-btn{padding:11px 12px;font-size:12px}.obje-brief-final-actions{padding:16px}.obje-brief-wizard-nav{position:sticky;bottom:12px;z-index:5;padding:8px;border-radius:16px;background:rgba(2,6,23,.78);backdrop-filter:blur(14px)}
}
@media print{
  body{background:#fff!important}.obje-brief-app{max-width:none;padding:0;color:#0f172a}.obje-brief-hero,.obje-brief-section,.obje-brief-final-actions{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important;box-shadow:none!important}.obje-brief-hero h1,.obje-section-head h2,.obje-brief-final-copy h3{color:#0f172a!important}.obje-brief-hero>p,.obje-section-head p,.obje-brief-final-copy p{color:#475569!important}.obje-brief-toolbar,.obje-brief-step-nav,.obje-brief-wizard-nav,.obje-brief-action-grid,.obje-brief-progress-wrap{display:none!important}.obje-brief-section{display:block!important;break-inside:avoid}.obje-field input,.obje-field textarea,.obje-field select{color:#0f172a!important;background:#fff!important;border:1px solid #cbd5e1!important}.obje-chip{color:#334155!important;background:#fff!important}.obje-chip.is-selected{color:#92400e!important;border-color:#f59e0b!important}.obje-brief-submit-status{display:none!important}
}

/* =========================================================
   v1.1 — Dark page shell + compact responsive layout
   ========================================================= */
html:has(body.obje-brief-page),
body.obje-brief-page{
  background:#07101f!important;
  background-image:
    radial-gradient(circle at 12% 4%,rgba(245,158,11,.08),transparent 28%),
    radial-gradient(circle at 88% 2%,rgba(56,189,248,.08),transparent 30%),
    linear-gradient(180deg,#07101f 0%,#091426 55%,#07101f 100%)!important;
  overflow-x:hidden!important;
}
body.obje-brief-page #page,
body.obje-brief-page .site,
body.obje-brief-page .site-content,
body.obje-brief-page .content-area,
body.obje-brief-page .site-main,
body.obje-brief-page main,
body.obje-brief-page article,
body.obje-brief-page .entry-content,
body.obje-brief-page .page-content,
body.obje-brief-page .wp-site-blocks,
body.obje-brief-page .wp-block-group,
body.obje-brief-page .container,
body.obje-brief-page .content-wrap{
  background:transparent!important;
}
body.obje-brief-page article,
body.obje-brief-page .site-main,
body.obje-brief-page .entry-content{
  box-shadow:none!important;
  border-color:transparent!important;
}
/* The form already has its own H1; hide theme-generated duplicate page titles. */
body.obje-brief-page .entry-header,
body.obje-brief-page .entry-title,
body.obje-brief-page .page-title,
body.obje-brief-page .wp-block-post-title,
body.obje-brief-page h1.entry-title{
  display:none!important;
}
body.obje-brief-page .entry-content,
body.obje-brief-page .page-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.obje-brief-page *{max-width:100%}
body.obje-brief-page img,
body.obje-brief-page video,
body.obje-brief-page iframe{max-width:100%;height:auto}

.obje-brief-app{
  width:min(1180px,100%);
  max-width:1180px;
  overflow:hidden;
  padding:clamp(14px,2.2vw,28px) 14px 56px;
}
.obje-brief-hero{
  padding:clamp(18px,3vw,30px);
  border-radius:24px;
}
.obje-brief-hero h1{font-size:clamp(27px,4vw,46px)}
.obje-brief-hero>p{margin-top:10px;line-height:1.85}
.obje-brief-progress-wrap{margin-top:16px}
.obje-brief-toolbar{margin:12px 0;padding:9px 10px}

/* No horizontal scroller: the seven steps wrap into a responsive grid. */
.obje-brief-step-nav{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
  overflow:visible!important;
  width:100%;
  padding:0;
  margin:0 0 12px;
}
.obje-step-pill{
  min-width:0;
  width:100%;
  justify-content:center;
  padding:8px 7px;
  white-space:normal;
  text-align:center;
  line-height:1.35;
}
.obje-step-pill span{width:21px;height:21px;flex:0 0 21px}

.obje-brief-section{margin-bottom:12px;border-radius:22px}
.obje-section-head{padding:13px 16px;gap:10px}
.obje-section-number{width:31px;height:31px;border-radius:10px}
.obje-section-head h2{font-size:clamp(15px,2vw,19px)}
.obje-section-head p{margin-top:2px;line-height:1.55}
.obje-section-body{padding:14px 16px 16px}
.obje-fields-grid{gap:11px 12px}
.obje-field label{margin-bottom:5px;font-size:12px;line-height:1.5}
.obje-field small{margin:-1px 0 5px;font-size:10.5px;line-height:1.55}
.obje-field input[type="text"],.obje-field input[type="tel"],.obje-field textarea,.obje-field select{
  min-width:0;
  padding:9px 11px;
  border-radius:12px;
  line-height:1.6;
}
.obje-field textarea{min-height:74px}
.obje-chip-grid{gap:7px}
.obje-chip{min-width:0;padding:8px 9px;border-radius:11px;font-size:11.5px;line-height:1.45}
.obje-chip-check{width:18px;height:18px;flex:0 0 18px}
.obje-color-grid{gap:7px}
.obje-color-field{min-width:0;padding:8px 9px}
.obje-brief-wizard-nav{margin:12px 0 16px}
.obje-btn{padding:10px 14px;border-radius:12px}
.obje-brief-final-actions{margin-top:12px;padding:16px 18px;border-radius:20px}
.obje-brief-action-grid{gap:8px;margin-top:11px}

@media(max-width:960px){
  .obje-brief-step-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
  .obje-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  body.obje-brief-page{overflow-x:hidden!important}
  .obje-brief-app{width:100%;padding:10px 8px 40px;overflow:hidden}
  .obje-brief-hero{padding:16px 14px;border-radius:18px}
  .obje-brief-badge{font-size:10px;padding:5px 9px;margin-bottom:9px}
  .obje-brief-hero h1{font-size:24px;line-height:1.35;letter-spacing:-.02em}
  .obje-brief-hero>p{font-size:12px;line-height:1.7;margin-top:7px}
  .obje-brief-progress-wrap{margin-top:12px}
  .obje-brief-progress{height:6px}

  .obje-brief-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(118px,.7fr);
    align-items:center;
    gap:7px;
    padding:7px;
    border-radius:14px;
  }
  .obje-brief-view-toggle{min-width:0;width:100%;padding:3px;gap:3px}
  .obje-brief-view-toggle button{min-width:0;padding:7px 5px;font-size:10px;white-space:normal;line-height:1.3}
  .obje-brief-import-btn{min-width:0;justify-content:center;padding:8px 6px;font-size:10px;text-align:center;line-height:1.3}

  .obje-brief-step-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:9px}
  .obje-step-pill{font-size:10px;padding:7px 6px;border-radius:10px;gap:5px}
  .obje-step-pill span{width:19px;height:19px;flex-basis:19px;font-size:10px}

  .obje-brief-section{border-radius:17px;margin-bottom:9px}
  .obje-section-head{padding:10px 11px;gap:8px}
  .obje-section-number{width:27px;height:27px;font-size:11px}
  .obje-section-head h2{font-size:13px;line-height:1.4}
  .obje-section-head p{font-size:9.5px;line-height:1.45}
  .obje-section-body{padding:10px}

  /* Compact two-column mobile form. Long fields remain full width. */
  .obje-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .obje-field{min-width:0}
  .obje-field-full{grid-column:1/-1!important}
  .obje-field label{font-size:10.5px;margin-bottom:4px;line-height:1.45}
  .obje-field small{font-size:9px;margin-bottom:4px;line-height:1.4}
  .obje-field input[type="text"],.obje-field input[type="tel"],.obje-field textarea,.obje-field select{
    width:100%;min-width:0;padding:8px 8px;font-size:11px;border-radius:10px;line-height:1.45
  }
  .obje-field textarea{min-height:68px;resize:vertical}

  .obje-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .obje-chip{min-width:0;padding:7px 6px;font-size:9.5px;gap:5px;border-radius:9px;overflow-wrap:anywhere}
  .obje-chip-check{width:16px;height:16px;flex-basis:16px;font-size:9px}
  .obje-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .obje-color-field{display:grid!important;grid-template-columns:1fr auto;padding:6px;gap:3px}
  .obje-color-field span{font-size:8.5px;line-height:1.25}.obje-color-field input{width:27px;height:27px}.obje-color-field em{grid-column:1/-1;font-size:8px}

  .obje-brief-wizard-nav{position:static!important;margin:8px 0 11px;padding:0;background:transparent;backdrop-filter:none;gap:7px}
  .obje-btn{min-width:0;padding:9px 7px;font-size:10.5px;border-radius:10px}
  .obje-brief-final-actions{padding:12px;border-radius:16px}
  .obje-brief-final-copy h3{font-size:15px}.obje-brief-final-copy p{font-size:10px;line-height:1.55}
  .obje-brief-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .obje-brief-submit-status{font-size:10px}
}

@media(max-width:370px){
  .obje-brief-toolbar{grid-template-columns:1fr}
  .obje-brief-step-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .obje-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* =========================================================
   v1.2 — Force dark WordPress page shell + single title
   + keep send/download actions visible on every wizard step
   ========================================================= */
html.obje-brief-document,
html.obje-brief-document body,
body.obje-brief-page{
  background-color:#07101f!important;
  background-image:
    radial-gradient(circle at 10% 2%,rgba(245,158,11,.075),transparent 30%),
    radial-gradient(circle at 92% 5%,rgba(56,189,248,.07),transparent 32%),
    linear-gradient(180deg,#07101f 0%,#0a1425 48%,#07101f 100%)!important;
  overflow-x:clip!important;
}

/* Every WordPress wrapper around the actual brief is marked by JS.
   This reliably removes white cards/backgrounds from custom themes. */
html.obje-brief-document .obje-brief-shell,
body.obje-brief-page .obje-brief-shell{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}

/* Extra fallbacks for common WordPress/theme wrappers. */
body.obje-brief-page #primary,
body.obje-brief-page #content,
body.obje-brief-page .main-content,
body.obje-brief-page .page-wrapper,
body.obje-brief-page .page-container,
body.obje-brief-page .content-wrapper,
body.obje-brief-page .page-inner,
body.obje-brief-page .page-shell,
body.obje-brief-page .single-page,
body.obje-brief-page .single-page-content,
body.obje-brief-page .page-content-wrapper{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}

/* Theme-generated page heading: the brief hero below remains untouched. */
body.obje-brief-page .obje-brief-duplicate-title,
body.obje-brief-page .obje-brief-duplicate-title-wrap,
html.obje-brief-document .obje-brief-duplicate-title,
html.obje-brief-document .obje-brief-duplicate-title-wrap,
body.obje-brief-page .page-header,
body.obje-brief-page .page-heading,
body.obje-brief-page .page-title-wrap,
body.obje-brief-page .single-page-header{
  display:none!important;
}

/* User requested these actions on every step. */
@media screen{
  .obje-brief-final-actions{
    display:block!important;
  }
}

/* No component is allowed to push the document wider than the viewport. */
html.obje-brief-document,
html.obje-brief-document body,
body.obje-brief-page,
body.obje-brief-page #page,
body.obje-brief-page .site,
body.obje-brief-page .obje-brief-shell,
.obje-brief-app,
.obje-brief-toolbar,
.obje-brief-step-nav,
.obje-brief-section,
.obje-section-body,
.obje-fields-grid,
.obje-chip-grid,
.obje-color-grid,
.obje-brief-wizard-nav,
.obje-brief-final-actions,
.obje-brief-action-grid{
  max-width:100%!important;
}

@media(max-width:640px){
  html.obje-brief-document,
  body.obje-brief-page{
    width:100%!important;
    overflow-x:clip!important;
  }

  .obje-brief-app{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  .obje-brief-final-actions{
    margin-top:9px!important;
  }
}


/* Since this stylesheet is enqueued only on the brief page, these fallbacks
   do not depend on body_class() being printed by the active theme. */
html,
body{
  background-color:#07101f!important;
  background-image:
    radial-gradient(circle at 10% 2%,rgba(245,158,11,.075),transparent 30%),
    radial-gradient(circle at 92% 5%,rgba(56,189,248,.07),transparent 32%),
    linear-gradient(180deg,#07101f 0%,#0a1425 48%,#07101f 100%)!important;
}
#page,
.site,
.site-content,
.content-area,
.site-main,
main,
article,
.entry-content,
.page-content,
.wp-site-blocks{
  background-color:transparent!important;
  background-image:none!important;
}
.entry-header,
.entry-title,
.page-title,
.wp-block-post-title,
h1.entry-title{
  display:none!important;
}
