.v2-main[data-editing-briefs-mount] { padding: 0; border: 0; background: transparent; box-shadow: none; }
.eb-builder { display: grid; gap: 16px; min-width: 0; }
.eb-context { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 20px; }
.eb-services { grid-column: 1 / -1; font-size: 13px; overflow-wrap: anywhere; }
.eb-services ul { margin: 8px 0; padding-left: 20px; }
.eb-services p { margin: 8px 0; }
.eb-services a { color: var(--brand-green-dark); }
.eb-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.eb-form, .eb-preview { padding: 20px; min-width: 0; }
.eb-builder fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.eb-builder legend, .eb-preview h2 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 0 0 12px; padding: 0; }
.eb-types > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; margin-bottom: 8px; }
.eb-types label, .eb-zero { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; font-size: 13px; }
.eb-builder :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--brand-green); }
.eb-field-heading { display: flex; align-items: center; gap: 6px; }
.eb-field-heading > :first-child { flex: 1; min-width: 0; }
.eb-builder .v2-help { position:relative; box-sizing:border-box; flex:0 0 20px; width:20px; height:20px; min-width:20px; min-height:20px; }
.eb-builder .v2-help::after { content:""; position:absolute; inset:-2px; border-radius:50%; }
.eb-builder .v2-help:focus-visible { outline:2px solid var(--brand-green); outline-offset:2px; }
.eb-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; font-size: 14px; }
.eb-field > label, .eb-field > span, .eb-field-heading > label { font-weight: 600; }
.eb-field > label.eb-zero { font-weight: 400; }
.eb-builder small, .eb-note { color: var(--brand-muted); font-size: 12px; line-height: 18px; }
.eb-builder :is(select, textarea, input[type="number"], input[type="text"], input[type="datetime-local"], input[type="time"]) { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--brand-border); border-radius: var(--radius-sm, 8px); background: var(--surface-card); color: inherit; padding: 9px 10px; font: inherit; line-height: 1.5; }
.eb-publication { border-top: 1px solid var(--brand-border); margin-top: 20px; padding-top: 16px; font-size: 13px; overflow-wrap: anywhere; }
.eb-publication h3 { font-size: 16px; margin: 0 0 16px; }
.eb-publication [data-ep-refresh] { margin-bottom: 16px; }
.eb-deadline { max-width:336px; }
.eb-deadline > label { flex:1 1 120px; }
.eb-deadline [data-ep-input] { min-height:36px; font-size:14px; }
.eb-deadline [data-ep-calendar-toggle] { width:100%; }
.eb-deadline [data-deadline-calendar][hidden] { display:none; }
.eb-deadline [data-deadline-calendar][popover] { position:fixed; inset:auto; margin:0; box-sizing:border-box; width:min(316px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:12px; border:1px solid var(--brand-border); border-radius:8px; background:#fff; box-shadow:0 8px 24px #18251c26; }
.eb-publication ul { padding-left: 20px; }
.eb-publication li { margin-bottom: 12px; }
.eb-builder textarea { resize: vertical; }
.eb-builder :is(select, textarea, input):focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.eb-builder :disabled { opacity: .6; cursor: not-allowed; }
.eb-builder [aria-invalid="true"] { border-color: var(--danger, #b42318); }
.eb-builder .eb-field-error { color: var(--danger, #b42318); }
.eb-field-error:empty { display: none; }
.eb-skip { align-self: flex-start; }
.eb-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eb-preview-head h2 { margin: 0; }
.eb-preview [data-eb-status] { font-size: 13px; line-height: 20px; }
.eb-preview textarea { font-size: 14px; line-height: 1.6; min-height: 340px; }
.eb-preview textarea[hidden] { display: none; }
.eb-errors { padding-left: 20px; margin: 12px 0; font-size: 13px; }
.eb-errors button { border: 0; background: transparent; color: var(--danger, #b42318); text-align: left; text-decoration: underline; cursor: pointer; font: inherit; padding: 4px 0; }
.eb-note { margin: 10px 0 0; }
@media (max-width: 900px) { .eb-columns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) {
  .eb-context { grid-template-columns: minmax(0, 1fr); }
  .eb-form, .eb-preview, .eb-context { padding: 16px; }
  .eb-types > div { grid-template-columns: minmax(0, 1fr); }
  .eb-types label, .eb-zero, .eb-builder .v2-button { min-height: 44px; }
  .eb-builder :is(select, textarea, input[type="number"], input[type="text"], input[type="datetime-local"], input[type="time"]) { font-size: 16px; }
}
/* Editing workspace v9: shared dashboard tokens, readable fields and free block navigation. */
body:has(.eb-workspace,.editing-passport) .product-header { position:static; }
.eb-workspace { color:#18251c; font-size:14px; max-width:1480px; margin:auto; }
.eb-workspace .eb-columns { grid-template-columns:minmax(0,2fr) minmax(300px,1fr); align-items:start; }
.eb-main-form { display:grid; gap:24px; min-width:0; }
.eb-panel { padding:20px; scroll-margin-top:20px; min-width:0; }
.eb-panel h2,.eb-preview h2 { margin:0 0 16px; font-size:19px; }
.eb-context-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.eb-block-nav { display:flex; gap:8px; flex-wrap:wrap; }
.eb-type-card { border:1px solid #b7c4b8; border-radius:8px; padding:10px 12px; box-sizing:border-box; background:#fff; }
.eb-type-card.is-selected { background:#edf6e8; border:2px solid #34731f; padding:9px 11px; color:#245519; font-weight:700; }
.eb-workspace .eb-preview { position:sticky; top:16px; }
.eb-workspace :is(input[type="search"],input[type="text"],input[type="time"],input[type="number"],textarea,select) { border:1px solid #aab8ac; background:#fff; color:#18251c; border-radius:8px; min-height:42px; padding:9px 11px; width:100%; min-width:0; box-sizing:border-box; font:inherit; }
.eb-workspace textarea[data-autogrow] { overflow:hidden; min-height:90px; }
.eb-workspace .eb-field { margin-bottom:16px; }
.eb-workspace .eb-field-heading { color:#18251c; }
.eb-workspace .eb-note,.eb-workspace small { color:#475547; }
.eb-workspace .eb-preview textarea { border-color:#b7c4b8; background:#fbfcfa; min-height:300px; line-height:1.6; }
.eb-workspace .eb-publication { margin:0 0 12px; padding:12px 0 0; }
.eb-workspace [data-ep-form] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.eb-workspace [data-ep-form]>h3,.eb-workspace [data-ep-form]>p,.eb-workspace [data-ep-form]>small,.eb-workspace [data-ep-form]>span,.eb-workspace [data-ep-form]>button { grid-column:1/-1; }
.eb-workspace [data-ep-form]>.eb-field:has([data-ep-deadline]) { grid-column:1/-1; }
.eb-workspace [data-ep-form]>h3 { display:none; }
.eb-workspace [data-ep-publish] { display:none; }
.eb-action-bar { position:sticky; bottom:8px; z-index:10; display:flex; align-items:center; gap:8px; padding:12px 16px; flex-wrap:wrap; border:1px solid #bac9ba; background:#fff; }
.eb-action-bar [data-eb-summary] { flex:1; font-size:13px; }
.eb-passport-card { border:1px solid #b7c4b8; background:#f5f8f2; border-radius:8px; padding:14px; margin-bottom:20px; line-height:1.6; }
.eb-passport-card .eb-source { margin:14px 0 0; padding:12px 0 0; border-top:1px solid #ccd7cd; display:flex; flex-wrap:wrap; gap:12px; }
.eb-source label { display:flex; align-items:center; gap:8px; min-height:40px; }
.eb-source legend { display:flex; align-items:center; gap:8px; font-size:14px; }
.eb-preview-metadata { font-size:13px; color:#475547; line-height:1.6; overflow-wrap:anywhere; }
.eb-missing { border-top:1px solid #d5ded4; margin-top:16px; padding-top:16px; }
.eb-missing h3 { font-size:15px; margin:0 0 8px; }
.eb-missing ul { padding-left:18px; }
.eb-missing button { border:0; background:transparent; padding:4px 0; color:#275d1c; font:inherit; text-align:left; text-decoration:underline; cursor:pointer; }
.eb-missing.is-attempted { color:#912018; }
.eb-mobile-tabs { display:none; }
.ep-service-state { font-size:13px; color:#475547; }
.eb-workspace [data-ep-form]>.ep-feedback { grid-column:1/-1; }
.ep-feedback { padding:16px; margin:12px 0; border:1px solid var(--brand-border); border-radius:12px; background:#f7f9f5; }
.ep-feedback [data-ep-status] { margin:8px 0; font-size:14px; color:#263524; }
.ep-feedback[data-state="created"] { background:#edf6e8; border-color:#34731f; }
.ep-feedback [data-ep-task-link] .v2-button { min-height:44px; margin-top:8px; padding:10px 18px; font-size:14px; font-weight:700; text-decoration:none; }
.ep-feedback [data-ep-progress] .v2-project-creation__progress { overflow:hidden; margin-bottom:8px; }
.ep-feedback [data-ep-progress] .v2-project-creation__progress>span { width:0; background:var(--v2-accent,var(--brand-green-dark)); }
.ep-feedback [data-ep-progress][aria-busy="true"] .v2-project-creation__progress>span { width:35%; animation:ep-progress-wait 1.4s ease-in-out infinite; }
.ep-feedback[data-state="created"] .v2-project-creation__progress>span { width:100%; }
.ep-feedback:is([data-state="error"],[data-state="blocked"]) { border-color:#b27739; }
@keyframes ep-progress-wait { from { transform:translateX(-110%); } to { transform:translateX(300%); } }
@media(prefers-reduced-motion:reduce){.ep-feedback [data-ep-progress][aria-busy="true"] .v2-project-creation__progress>span { animation:none; width:100%; opacity:.45; }}
.eb-service-editing { font-weight:700; color:#275d1c; }
@media(max-width:1100px){.eb-workspace .eb-columns{grid-template-columns:minmax(0,3fr) minmax(280px,2fr)}}
@media(max-width:900px){.eb-workspace .eb-columns{grid-template-columns:1fr}.eb-mobile-tabs{display:flex}.eb-workspace .eb-preview{position:static}.eb-workspace[data-view="preview"] [data-eb-form-column]{display:none}.eb-workspace:not([data-view="preview"]) [data-eb-preview-column]{display:none}}
@media(max-width:680px){.eb-context-fields,.eb-workspace [data-ep-form]{grid-template-columns:1fr}.eb-panel{padding:16px}.eb-workspace .eb-types>div{grid-template-columns:1fr}.eb-action-bar{bottom:0;padding:10px;gap:8px}.eb-action-bar .v2-button{flex:1 1 42%;min-height:44px}.eb-action-bar [data-eb-summary]{order:-1;flex-basis:100%}.eb-workspace :is(input,select,textarea){font-size:16px}.eb-block-nav .v2-button{flex:1 1 45%;font-size:13px}}
.eb-workspace .eb-mobile-tabs { display:none; }
.eb-action-bar [data-eb-integration] { flex-basis:100%; color:#475547; font-size:12px; }
.eb-action-bar [data-eb-integration]:empty { display:none; }
@media(max-width:900px){.eb-workspace .eb-mobile-tabs{display:flex}}
.eb-workspace .v2-button { min-height:40px; }
.eb-workspace .eb-block-nav { position:sticky; top:8px; z-index:11; background:#f6f8f3; border:1px solid #dce4dd; border-radius:8px; padding:8px; }
.eb-workspace .eb-preview { top:80px; }
.eb-panel { scroll-margin-top:120px; }
.eb-workspace [data-ep-input="serviceId"] option[data-editing="true"] { color:#245519; font-weight:700; }
.eb-workspace [data-ep-input="serviceId"]:has(option[data-editing="true"]:checked) { background:#edf6e8; border-color:#34731f; }
