/* Responsive learning workspace: common editor, journeys, knowledge and results. */
.workspace-shell{max-width:1180px;margin:auto;min-width:0}.workspace-shell *{min-width:0}.narrow-workspace{max-width:860px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:8px 0 28px}.workspace-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:7px 0 10px}.workspace-heading p{margin:0;color:#61776f;max-width:680px}.workspace-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.back-link{display:inline-block;margin-bottom:12px;font-size:14px}.workspace-shell .panel,.journey-card{background:#fff;border:1px solid #dce6e0;border-radius:16px;padding:24px;box-shadow:0 2px 5px #142f2110}.workspace-shell h2{font-size:21px;line-height:1.35;margin:0 0 14px}.workspace-shell h3{font-size:18px;line-height:1.4;margin:0 0 14px}.workspace-shell p{overflow-wrap:anywhere}.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.journey-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.journey-card h2,.journey-card p{margin:0}.journey-card p{color:#65786e;font-size:15px}.journey-card>.workspace-actions,.journey-card>.button{margin-top:auto}.card-kicker,.journey-meta,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex-wrap:wrap}.journey-meta{padding:14px 0;border-top:1px solid #e5ece7;font-size:14px;color:#6a7b73}.journey-meta b{font-size:20px;color:#203a36}.journey-symbol,.module-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#e9f4ec;color:#1a6650;font-size:22px;font-weight:700;flex-shrink:0}.workspace-empty{background:#fff;border:1px dashed #cbdad1;border-radius:16px;padding:42px;text-align:center;grid-column:1/-1}.workspace-empty h2{margin-top:18px}.section-heading{margin-bottom:18px}.section-heading h2{margin:0}.section-heading>span{font-size:14px;color:#6d7e76}.journey-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.journey-details{grid-column:2;grid-row:1;position:sticky;top:20px}.journey-module-area{grid-column:1;grid-row:1}.workspace-shell label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}.workspace-shell label>input:not([type=checkbox]),.workspace-shell label>select,.workspace-shell label>textarea{display:block;width:100%;margin-top:7px;max-width:100%}.workspace-shell input,.workspace-shell textarea,.workspace-shell select{font-size:16px;min-height:44px}.workspace-shell .inline-check{display:flex;align-items:center;gap:10px;font-weight:400}.workspace-shell input[type=checkbox]{min-height:20px;width:20px}.journey-publish{border-top:1px solid #e1e9e3;margin-top:22px;padding-top:22px}.journey-publish p{font-size:14px;color:#6d7e76}.journey-publish .button,.journey-publish button{width:100%;margin-top:10px}.module-list{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}.module-card{display:flex;align-items:flex-start;gap:16px;padding:22px;background:white;border:1px solid #dce6e0;border-radius:14px}.module-body{flex:1}.module-body h3,.module-body h2{margin:12px 0 16px}.module-actions{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}.module-actions .icon-action{width:40px;padding:7px}.module-actions button:disabled{cursor:default;opacity:.35}.module-locked{background:#f2f5f3}.module-locked .module-number{background:#e4eae6;color:#75857a}.module-add form{display:flex;align-items:flex-end;gap:12px}.module-add form label{flex:1;margin:0}.module-add-new{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px;border-top:1px solid #e4ebe6;padding-top:20px}.module-add-new span{font-size:14px;color:#718075}.selection-summary{display:flex;gap:15px;align-items:center;margin-bottom:20px}.selection-summary strong{font-size:23px}.selection-summary p{font-size:14px;color:#6c7c74;margin:4px 0!important}.recipient-list{max-height:380px;overflow:auto;border:1px solid #e3eae5;border-radius:12px;margin-bottom:24px}.recipient-row{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e3eae5}.recipient-row:last-child{border:0}.recipient-row small,.result-table small{display:block;color:#7a8881;font-size:12px;overflow-wrap:anywhere;margin-top:4px}.assignment-card details{margin:18px 0}.assignment-card .workspace-actions{margin-top:24px}.knowledge-search{display:grid;grid-template-columns:1.5fr 1fr auto;align-items:end;gap:16px}.knowledge-search label{margin:0}.knowledge-tags{font-size:12px!important;background:#edf5ef;padding:6px 10px;border-radius:7px}.result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.result-metric{padding:22px;border:1px solid #dde6e1;background:#fff;border-radius:14px;display:flex;flex-direction:column;gap:8px}.result-metric strong{font-size:36px;line-height:1.1}.result-metric span{font-size:14px;font-weight:600}.result-metric small{font-size:12px;color:#6d7e76}.result-metric.success{background:#eaf5ee;border-color:#c8e3d2}.result-metric.failure{background:#fff0ed;border-color:#f0cec5}.result-table{width:100%;table-layout:fixed}.result-table td{white-space:normal!important;overflow-wrap:anywhere}.result-table th:nth-child(1){width:35%}.result-table th:nth-child(2){width:18%}.result-failed{background:#ffe6e2;color:#a82c23}.result-succeeded{background:#dff2e5;color:#196541}.result-skipped{background:#fff3d7;color:#80600d}.workspace-tools-toggle,.compact-brand{display:none}
body:has(.workspace-shell) .breadcrumb,body:has(#inline-form-builder) .breadcrumb{display:none}body:has(.workspace-shell) .topbar,body:has(#inline-form-builder) .topbar{justify-content:flex-end}body:has(.workspace-shell) .top-actions,body:has(#inline-form-builder) .top-actions{gap:16px}body:has(.workspace-shell) main{padding:30px}
#inline-form-builder .rich-content{font-size:16px;line-height:1.65;border-radius:7px;min-height:58px}#inline-form-builder .fb-title .form-rich:first-of-type .rich-content{font-size:22px;font-weight:600}#inline-form-builder .rich-toolbar{border:1px solid #dae6df;border-radius:8px;margin-bottom:5px;gap:5px}#inline-form-builder .rich-toolbar button{min-height:34px;padding:5px 8px;font-size:12px;background:white;color:#24493c;border-color:#dce5df}#inline-form-builder .rich-toolbar label{margin:0;font-size:12px}#inline-form-builder .fb-top{padding:15px 0}#inline-form-builder .fb-top h1{font-size:24px}#inline-form-builder .fb-editor{padding:22px}#inline-form-builder .fb-summary{min-height:68px}#inline-form-builder .fb-toolbar{padding:12px;border-radius:12px}#inline-form-builder .fb-toolbar button{min-height:40px}
@media(max-width:1100px){.journey-editor-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.module-card{padding:16px}.module-actions{margin-left:0}.workspace-shell .panel{padding:20px}.knowledge-search{grid-template-columns:1fr 1fr}.knowledge-search button{grid-column:1/-1}}
@media(max-width:760px){body:has(.workspace-shell) main{padding:18px 14px 32px}.workspace-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px}.workspace-heading h1{font-size:26px}.workspace-heading p{font-size:15px}.workspace-heading>.workspace-actions{width:100%}.workspace-actions>.button,.workspace-actions>button{flex:1;white-space:normal;text-align:center;min-height:44px}.journey-grid{grid-template-columns:1fr;gap:14px}.journey-editor-layout{display:flex;flex-direction:column}.journey-details{position:static;width:100%;order:0}.journey-module-area{width:100%;order:1}.module-card{gap:12px}.module-number{width:34px;height:34px;font-size:18px;border-radius:9px}.module-body h2,.module-body h3{font-size:18px}.module-body .workspace-actions{align-items:stretch}.module-actions{width:100%}.module-add form{display:block}.module-add button,.module-add-new .button{width:100%;margin-top:12px;white-space:normal}.workspace-shell .panel,.journey-card{padding:18px}.workspace-empty{padding:28px 18px}.knowledge-search{display:flex;flex-direction:column;align-items:stretch}.result-metrics{gap:8px}.result-metric{padding:14px 10px}.result-metric strong{font-size:28px}.result-metric span{font-size:12px}.result-metric small{font-size:11px}.result-table,.result-table tbody,.result-table tr,.result-table td{display:block;width:100%!important}.result-table thead{display:none}.result-table tr{border:1px solid #e0e8e2;border-radius:12px;margin:12px 0;padding:10px}.result-table td{border:0;padding:8px;font-size:14px}.result-table td::before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#73867b;margin-bottom:5px}.operation-workspace .table-wrap{overflow:visible}.selection-summary strong{font-size:20px}body:has(.workspace-shell) .topbar,body:has(#inline-form-builder) .topbar{height:auto;min-height:62px;padding:10px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between}body:has(.workspace-shell) .compact-brand,body:has(#inline-form-builder) .compact-brand{display:block;font-weight:700;margin-right:auto}body:has(.workspace-shell) .workspace-tools-toggle,body:has(#inline-form-builder) .workspace-tools-toggle{display:inline-flex;padding:9px 12px}body:has(.workspace-shell) .top-actions,body:has(#inline-form-builder) .top-actions{display:none;width:100%}body:has(.workspace-shell) .topbar.tools-open .top-actions,body:has(#inline-form-builder) .topbar.tools-open .top-actions{display:flex;flex-wrap:wrap;padding:12px 0;gap:16px}body:has(.workspace-shell) .top-actions form:first-child,body:has(#inline-form-builder) .top-actions form:first-child{display:flex;width:100%;gap:10px}body:has(.workspace-shell) .top-actions input,body:has(#inline-form-builder) .top-actions input{flex:1;max-width:none}#inline-form-builder .fb-top>div:first-child{display:block}#inline-form-builder .fb-top h1{font-size:24px;margin:7px 0}#inline-form-builder .fb-top #save-status{display:block;font-size:12px}#inline-form-builder .fb-top .card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#inline-form-builder .fb-top .card-actions button{min-height:44px;font-size:14px}#inline-form-builder .fb-title .form-rich:first-of-type .rich-content{font-size:20px}#inline-form-builder .rich-content{font-size:16px}#inline-form-builder .fb-editor{padding:16px}#inline-form-builder .fb-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#inline-form-builder .fb-toolbar details{grid-column:1/-1}#inline-form-builder .fb-toolbar button{white-space:normal;font-size:13px}#inline-form-builder .rich-toolbar button{min-height:38px}#inline-form-builder .rich-toolbar select{max-width:100px}#inline-form-builder .fb-q-heading{display:block}.recipient-row{padding:12px}.workspace-shell .button,.workspace-shell button{min-height:44px}}
.forms-workspace .metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.forms-workspace .metric-grid .panel{margin:0;padding:18px}.forms-workspace .metric-grid small{font-size:13px}.forms-workspace .metric-grid h2{font-size:29px;margin:9px 0 0}.forms-workspace .smart-grid .panel{display:flex;flex-direction:column;gap:12px}.forms-workspace .smart-grid h2,.forms-workspace .smart-grid p{margin:0}.forms-workspace .smart-grid .card-actions{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}.forms-workspace .smart-grid .card-actions>a,.forms-workspace .smart-grid .card-actions>button{display:flex;align-items:center;justify-content:center;padding:9px 10px;border:1px solid #dce6df;border-radius:8px;min-height:42px;font-size:13px;text-align:center}.forms-workspace .filters{display:flex;gap:14px;align-items:flex-end}.forms-workspace .filters label{flex:1;margin:0}.forms-workspace .card-actions details a{display:block;padding:10px}.forms-workspace .smart-grid .badge{align-self:flex-start;font-size:12px}.forms-workspace .smart-grid .card-actions .danger{color:#a83326;border-color:#edcec7;background:#fff6f3}
@media(max-width:760px){.forms-workspace .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.forms-workspace .metric-grid .panel{padding:14px}.forms-workspace .filters{display:flex;flex-direction:column;align-items:stretch}.forms-workspace .card-actions{gap:12px}.forms-workspace .smart-grid .card-actions>a,.forms-workspace .smart-grid .card-actions>button{min-height:44px}.forms-workspace .workspace-heading>.button{width:100%}}

.forms-workspace .forms-search{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.forms-workspace .forms-search input{flex:1;min-width:180px}.forms-workspace .smart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}@media(max-width:1100px){.forms-workspace .smart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.forms-workspace .smart-grid{grid-template-columns:1fr}.forms-workspace .forms-search{align-items:stretch;flex-direction:column}.forms-workspace .forms-search input{width:100%;min-width:0}.forms-workspace .smart-grid .panel{margin:0}}
