.procedure-notice{margin-bottom:20px;border-left:4px solid #6355c8}.procedure-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.procedure-toolbar label{flex:1;min-width:180px}.procedure-steps{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.procedure-steps span{padding:6px 10px;border-radius:12px;background:#f0eefc}.procedure-steps .current{background:#5148bf;color:white}.procedure-items{overflow-x:auto;margin:18px 0}.procedure-items table{min-width:950px}.procedure-items input{min-width:80px}.procedure-items textarea{min-width:200px}.procedure-events{max-height:220px;overflow:auto}.procedure-files{display:grid;gap:8px}.procedure-file{padding:12px;border:1px solid #ddd;border-radius:8px;display:block;overflow-wrap:anywhere}.procedure-form-note{padding:12px;background:#f4f2fd;border-radius:8px}.procedure-sources a{display:block;margin:8px 0}.procedure-model{border-bottom:1px solid #ddd;padding:14px 0}.procedure-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.procedure-summary p{overflow-wrap:anywhere}@media(max-width:600px){.procedure-toolbar button{width:100%}.procedure-summary{grid-template-columns:1fr}.procedure-steps{font-size:12px}.procedure-steps span{padding:5px}.procedure-notice{padding:16px}}

.procedure-file small,.procedure-model small{display:block;margin-top:5px;color:#67627c}.procedure-file{text-decoration:none;color:#5148bf}.procedure-file strong{display:block;margin-bottom:4px}

.procedure-known dt{font-weight:600;margin-top:10px}.procedure-known dd{margin:3px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.procedure-review-row{padding:18px 0;border-bottom:1px solid #ddd}.procedure-review-row pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f5f4fa;padding:12px;max-height:260px;overflow:auto}.procedure-source-line{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #ddd;align-items:flex-start}.procedure-source-line input{flex:0 0 auto;width:auto;margin-top:6px}.procedure-source-line span{white-space:pre-wrap;overflow-wrap:anywhere}#procedureSourceRows{max-height:55vh;overflow:auto}


/* Keep every procedure field and its opening action reachable at each width. */
#proceduresView .table-scroll table{min-width:0;table-layout:fixed}
#proceduresView th,#proceduresView td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
#proceduresView th:nth-child(1){width:24%}
#proceduresView th:nth-child(2){width:22%}
#proceduresView th:nth-child(3){width:24%}
#proceduresView th:nth-child(4){width:16%}
#proceduresView th:nth-child(5){width:14%}
#procedureRows .secondary-button{max-width:100%;white-space:normal;padding:10px 8px;font-size:12px}
@media(max-width:680px){
 #proceduresView .table-scroll table,#procedureRows{display:block;width:100%}
 #proceduresView .table-scroll thead{display:none}
 #procedureRows{display:grid;gap:12px;padding:12px}
 #procedureRows tr{display:block;border:1px solid var(--line);border-radius:12px;padding:8px;background:var(--card)}
 #procedureRows td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;padding:8px;border:0}
 #procedureRows td::before{content:attr(data-label);font-size:10px;font-weight:750;color:var(--muted)}
 #procedureRows td[colspan]{display:block}
 #procedureRows td[colspan]::before{display:none}
}
