/* Event topology and deliberate reassignment; typography inherits the product font. */
.structure-status{padding:18px 21px;border:1px solid #e1e2e8;border-left:3px solid #8a5363;border-radius:10px;background:#fff;margin-bottom:24px;line-height:1.75;font-size:13px}
.structure-status strong{display:block;font-size:14px;margin-bottom:4px;color:#363943}.structure-status p{color:#686d78;max-width:960px}.structure-status.is-locked{border-left-color:#ba843b;background:#fffdf8}
.structure-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin-bottom:28px}
.structure-overview-card{padding:20px 21px;border:1px solid #e0e1e7;border-radius:12px;background:#fff;min-width:0}.structure-overview-card>div:first-child{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.structure-overview-card h3{font-size:17px;font-weight:700;overflow-wrap:anywhere}.structure-overview-card p{font-size:13px;color:#6d707c;margin-top:10px}
.structure-code{display:inline-flex;align-items:center;background:#f6edf0;color:#9b3e52;border-radius:5px;padding:4px 7px;font-size:11px;font-weight:700;letter-spacing:.2px;overflow-wrap:anywhere}.structure-room-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.structure-room-tags span{font-size:12px;background:#f4f4f7;color:#565b67;padding:5px 9px;border-radius:5px;overflow-wrap:anywhere}.structure-room-tags .structure-warning{background:#fff3e3;color:#946127}
.structure-form{min-width:0}.structure-form>fieldset{margin:0;padding:0;border:0;min-width:0;display:grid;gap:24px}.structure-form .structure-section{margin:0}.structure-section>.panel-head{align-items:flex-start;gap:20px}.structure-section>.panel-head>.btn{flex-shrink:0}.structure-kicker{display:block;font-size:11px;color:#a34155;letter-spacing:.4px;font-weight:700;margin-bottom:7px}.structure-section .panel-head h2{font-size:19px;line-height:1.5}.structure-section .panel-head .sub{font-size:13px;line-height:1.75;max-width:830px;margin-top:7px}
.structure-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.structure-card{border:1px solid #e5e5eb;border-radius:10px;padding:20px;min-width:0;background:#fff}.structure-row-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:20px}.structure-row-heading>div:first-child{min-width:0}.structure-index{font-size:11px;color:#7a7e89;display:block;margin-bottom:6px}.structure-row-heading h3{font-size:17px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.structure-row-heading p{font-size:12px;color:#747884;margin-top:5px;line-height:1.7}.structure-row-actions{display:flex;gap:4px;flex-shrink:0}.structure-row-actions .btn{min-width:34px;padding:6px 9px;font-size:12px}
.structure-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}.structure-form .field{margin:0;min-width:0;gap:7px}.structure-form .field label{font-size:12px;line-height:1.65;font-weight:650;color:#494e5a}.structure-form .field input,.structure-form .field select,.structure-form .field textarea{width:100%;min-width:0;min-height:44px;border-color:#dadde5;font-size:14px;line-height:1.5}.structure-form .field input[type=number]{font-variant-numeric:tabular-nums}.structure-form fieldset:disabled input,.structure-form fieldset:disabled select,.structure-form fieldset:disabled textarea{background:#f5f5f7;color:#626875;opacity:1}.structure-help{font-size:12px;line-height:1.8;color:#767a85;margin-top:16px}.structure-requirements{border-top:1px solid #ededf1;margin-top:20px;padding-top:18px}.structure-requirements h4{font-size:13px;font-weight:650;line-height:1.6;margin:0 0 14px}.structure-requirements h4 span{display:block;font-size:12px;color:#7b7f89;font-weight:400;margin-top:4px}
.structure-removed{display:flex;gap:10px 16px;align-items:center;flex-wrap:wrap;border-top:1px solid #ececf0;background:#fffaf7;padding:17px 23px;font-size:13px;color:#83613d}.structure-removed>span{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.structure-removed .btn{background:#fff}
.structure-roster{border:1px solid #e2e4ea;border-radius:9px;margin-bottom:15px;overflow:hidden}.structure-roster>summary{padding:18px 20px;font-size:14px;font-weight:650;cursor:pointer;line-height:1.65;display:list-item;list-style-position:inside}.structure-roster>summary span{font-size:12px;color:#747986;font-weight:400;margin-left:12px}.structure-roster[open]>summary{border-bottom:1px solid #e7e8ed;background:#f9f9fb}.structure-roster-content{padding:19px}.structure-assignment{border-bottom:1px solid #e9eaf0;padding:0 0 22px;margin-bottom:22px;min-width:0}.structure-assignment:last-of-type{margin-bottom:0}.structure-assignment.needs-attention{background:#fffcf7;border:1px solid #eadcc8;padding:17px;border-radius:8px}.structure-assignment-identity{display:flex;align-items:center;gap:9px 15px;flex-wrap:wrap;margin-bottom:15px}.structure-assignment-identity h4{font-size:14px;color:#353b47;margin:0;line-height:1.65}.structure-assignment-identity h4 span{color:#7c818c;font-size:11px;font-weight:400;margin-left:7px}.structure-assignment-identity p{font-size:12px;color:#7a7e89;line-height:1.7}.structure-assignment-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(90px,.6fr);gap:16px}.structure-first-stage{background:#f8f3f4;border-radius:8px;padding:17px;margin-top:18px}.structure-first-stage>p{font-size:12px;line-height:1.8;color:#7d4a57;margin-bottom:15px}.structure-first-stage .config-review{margin-top:16px;font-size:12px}.structure-pager{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:19px;font-size:12px;color:#747985}.structure-pager>div{display:flex;gap:7px}
.structure-save{border:1px solid #dadde5;background:#fff;border-radius:12px;padding:24px;display:grid;gap:18px}.structure-save h2{font-size:18px;line-height:1.6}.structure-save>div:first-child p{font-size:13px;line-height:1.8;color:#6e7480;margin-top:5px}.structure-save-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.structure-draft-status{font-size:12px;color:#777d88;line-height:1.7}.structure-save .form-error{margin:0;line-height:1.75}.structure-save .form-error:empty{display:none}
#dialog:has(#structure-preview-form){width:min(880px,calc(100vw - 32px))}.structure-preview-intro{font-size:13px;line-height:1.8;color:#676e7a}.structure-preview-summary{display:flex;gap:14px 25px;flex-wrap:wrap;border:1px solid #e2e4eb;background:#f8f8fa;border-radius:8px;padding:16px 18px;margin:19px 0 24px;font-size:13px;color:#737985}.structure-preview-summary b{color:#343b48;margin-left:8px}.structure-preview-section{margin-top:23px}.structure-preview-section h3{font-size:15px;margin:0 0 12px}.structure-preview-section h3 span{color:#8b3d52;font-size:12px;margin-left:8px}.structure-diff{border:1px solid #e3e5eb;border-radius:8px;padding:16px 18px;margin-top:10px}.structure-diff>strong{display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:12px}.structure-diff>div{display:grid;grid-template-columns:60px 1fr;gap:9px;font-size:12px;line-height:1.8;margin-top:5px}.structure-diff>div>span{color:#7c818d}.structure-diff p{overflow-wrap:anywhere}.structure-preview-reason{background:#f7f7fa;padding:16px 18px;margin:24px 0;font-size:13px;line-height:1.8;white-space:pre-wrap}.structure-preview-reason b{display:block;color:#5a626f;margin-bottom:5px}.structure-preview-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:22px}
@media(max-width:1180px){.structure-card-grid{grid-template-columns:minmax(0,1fr)}.structure-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.structure-section>.panel-head{flex-direction:column;gap:15px}.structure-section>.panel-head>.btn{align-self:stretch}.structure-section>.panel-body{padding:16px}.structure-card{padding:17px 14px}.structure-row-heading{gap:8px}.structure-row-actions{gap:3px}.structure-row-actions .btn{min-height:40px;min-width:35px;padding:6px 8px}.structure-row-heading h3{font-size:16px}.structure-fields,.structure-assignment-fields{grid-template-columns:minmax(0,1fr);gap:17px}.structure-form .field input,.structure-form .field select,.structure-form .field textarea{font-size:16px}.structure-overview{grid-template-columns:minmax(0,1fr);gap:11px}.structure-overview-card{padding:17px 19px}.structure-roster>summary{padding:16px 14px}.structure-roster>summary span{display:block;margin:5px 0 0 15px}.structure-roster-content{padding:15px 12px}.structure-assignment-identity{display:block}.structure-assignment-identity p{margin:5px 0 9px}.structure-assignment.needs-attention{padding:14px 12px}.structure-first-stage{padding:15px 12px}.structure-save{padding:20px 17px}.structure-save-actions{flex-direction:column-reverse;align-items:stretch}.structure-status{padding:16px 18px}.structure-preview-actions{flex-direction:column-reverse}.structure-preview-actions .btn{width:100%}.structure-diff{padding:14px}.structure-diff>div{grid-template-columns:1fr;gap:2px}.structure-removed{padding:16px}.structure-pager{gap:9px}.structure-preview-summary{gap:12px 18px}}
