.section-heading,.subsection-heading,.treatment-row-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-4);min-width:0;display:flex}.section-heading>div,.subsection-heading>div{min-width:0}.route-section>p,.section-heading p,.subsection-heading p{color:var(--muted);font-size:var(--font-size-body);margin:0}.eyebrow{font-weight:var(--font-weight-semibold);letter-spacing:.1em;text-transform:uppercase;margin:0;color:var(--teal)!important;font-size:var(--font-size-micro)!important}.test-note{gap:var(--space-3);margin:var(--space-5) 0;padding:var(--space-3) var(--space-4);background:var(--theme-warning,#fff8dc);font-size:var(--font-size-meta);border-left:4px solid #c18a00;display:flex}.test-note strong{flex:none}.route-guides{gap:var(--space-3);margin-bottom:var(--space-5);display:grid}.route-guide{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--theme-subtle,#f8fafc);min-width:0}.route-guide summary{min-height:var(--touch-target);padding:var(--space-3) var(--space-4);color:var(--navy);font-size:var(--font-size-card);font-weight:var(--font-weight-semibold);cursor:pointer}.route-guide summary:focus-visible{outline-offset:2px;outline:3px solid #89c7dc}.route-guide-content{gap:var(--space-3);padding:0 var(--space-4) var(--space-4);color:var(--theme-text,#343740);font-size:var(--font-size-body);display:grid}.route-guide-content p,.route-guide-content ul,.route-guide-content ol{margin:0}.route-guide-content ul,.route-guide-content ol{padding-left:22px}.route-guide-content li+li{margin-top:var(--space-2)}.route-example{padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--theme-panel,white)}.route-example h4{margin:0 0 var(--space-3);font-size:var(--font-size-card)}.route-example li{padding-left:var(--space-1)}.route-example li span{color:var(--muted);margin-top:2px;display:block}.route-example-note{padding-top:var(--space-3);border-top:1px solid var(--border);color:var(--muted);font-size:var(--font-size-meta);margin-top:var(--space-3)!important}.route-section{margin-top:var(--space-5);padding-top:var(--space-5);border-top:1px solid var(--border);container-type:inline-size}.route-section h3,.route-section h4,.route-section h5{margin:0 0 var(--space-1);color:var(--navy)}.route-section h3{font-size:var(--font-size-section)}.director-environments{gap:var(--space-5);margin-top:var(--space-4);display:grid}.director-environment{min-width:0;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--theme-subtle,#f9fbfe)}.director-grid{gap:var(--space-3);min-width:0;margin-top:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.director-card{min-width:0;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--theme-panel,white);overflow:hidden}.routes-main label{gap:var(--space-2);min-width:0;color:var(--navy);font-size:var(--font-size-meta);font-weight:var(--font-weight-semibold);display:grid}.routes-main input,.routes-main select{width:100%;min-width:0;max-width:100%;min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:1px solid var(--theme-border,#cbd3df);border-radius:var(--radius-control);background:var(--theme-panel,white);color:var(--theme-text,#292d35);font-size:var(--font-size-body);font-weight:400}.routes-main button{min-height:var(--touch-target)}.director-card button{width:100%;margin-top:var(--space-3)}.identity-controls{align-items:end;gap:var(--space-3);margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.identity-action{min-height:var(--touch-target);align-items:end;display:flex}.compact-list,.steps,.treatment-fields{gap:var(--space-3);margin-top:var(--space-3);display:grid}.compact-row{justify-content:space-between;align-items:center;gap:var(--space-4);min-width:0;padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-card);font-size:var(--font-size-body);display:flex}.compact-row>div:first-child{min-width:0}.compact-row strong{color:var(--navy);overflow-wrap:anywhere;display:block}.compact-row p{margin:var(--space-1) 0 0;color:var(--muted);font-size:var(--font-size-meta)}.route-row-heading{align-items:center;gap:var(--space-2);flex-wrap:wrap;min-width:0;display:flex}.route-row-heading .status-chip{flex:none}.status-chip{border-radius:var(--radius-pill);background:var(--theme-subtle,#eef0f7);color:var(--navy);font-size:var(--font-size-meta);font-weight:var(--font-weight-regular);align-items:center;padding:2px 7px;display:inline-flex}.status-chip.test{background:var(--theme-warning,#fff0b8);color:var(--theme-warning-text,#705800)}.status-chip.production{background:var(--theme-info,#e8f2f5);color:var(--teal-dark)}.route-list-actions,.route-row-actions{align-items:end}.route-list-actions label{min-width:170px}.route-row-actions{flex:none;align-items:center}.route-title{max-width:760px;margin-top:var(--space-4)}.route-version-note{border-left:3px solid var(--teal);background:var(--theme-info,#f2f8f8);padding:10px 12px;margin-top:var(--space-3)!important;font-size:var(--font-size-meta)!important}.step-heading{margin-top:var(--space-5)}.route-step{min-width:0;padding:clamp(var(--space-3), 2.3vw, var(--space-5));border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--theme-panel,white)}.step-card-heading{justify-content:space-between;gap:var(--space-3);align-items:center;display:flex}.step-card-heading .ui-result-meta{font-weight:var(--font-weight-regular);display:block}.step-edit-caption{font-size:var(--font-size-meta);flex-shrink:0}.route-step:not([open]){padding-block:var(--space-2)}.step-card-heading h4{font-size:var(--font-size-card)}.step-grid{gap:var(--space-4);min-width:0;margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.step-grid .wide{grid-column:1/-1}.step-sequence,.treatment-behavior{gap:var(--space-3);min-width:0;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-control);background:var(--theme-subtle,#f8fafc);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.step-sequence{grid-column:1/-1}.step-sequence legend,.treatment-behavior legend{padding:0 var(--space-1);color:var(--navy);font-size:var(--font-size-meta);font-weight:var(--font-weight-semibold)}.treatment-panel{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border)}.treatment-heading{align-items:center}.treatment-heading h5{font-size:var(--font-size-card)}.treatment-row{min-width:0;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--theme-subtle,#f9fbfe)}.treatment-row-heading{margin-bottom:var(--space-3);align-items:center}.treatment-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;display:grid}.treatment-grid .wide{grid-column:1/-1}.check-label{min-width:0;min-height:var(--touch-target);align-items:center;gap:var(--space-2);font-weight:600;display:flex}.check-label input{width:19px;min-width:19px;height:19px;min-height:19px}.routes-main button.destructive-text{min-height:var(--touch-target);color:var(--red);font-size:var(--font-size-meta);background:0 0;padding:8px 4px}.routes-main button.destructive-text:hover{text-underline-offset:3px;text-decoration:underline}.field-help{color:var(--muted);font-size:var(--font-size-meta);font-weight:400;line-height:1.45}.form-actions{display:contents}.form-actions[hidden]{display:none}@container (width<=760px){.director-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=520px){.director-grid,.identity-controls,.step-grid,.treatment-grid,.step-sequence,.treatment-behavior{grid-template-columns:1fr}.step-grid .wide,.treatment-grid .wide{grid-column:auto}}@media (width<=720px){.section-heading,.subsection-heading,.compact-row,.treatment-row-heading{flex-wrap:wrap}.route-list-actions,.route-row-actions,.route-list-actions label,.route-list-actions button,.route-row-actions button,.compact-row button{width:100%}.test-note{gap:var(--space-1);display:grid}.identity-action button{width:100%}}
