.fs-workspace{display:grid;gap:18px;color:var(--text-primary,#172033)}
#appShell #pageContent .fs-workspace .fs-table th,#appShell #pageContent .fs-workspace .fs-table td{display:table-cell!important}
#appShell #pageContent .fs-arr-table th{white-space:normal;overflow-wrap:normal}
#appShell #pageContent .fs-arr-table td{white-space:normal;overflow-wrap:anywhere}
@media(max-width:800px){#appShell #pageContent .fs-workspace .fs-table{min-width:740px!important}#appShell #pageContent .fs-arr-table .fs-table{min-width:1050px!important}}
.fs-workspace>.page-header{display:flex!important;grid-template-columns:none!important;width:100%;gap:20px}.fs-workspace>.page-header>div:first-child{max-width:none!important}.fs-workspace>.page-header h1{white-space:normal;word-break:normal}.fs-workspace .fs-tabs button{flex:0 0 auto;padding:14px 20px}.fs-workspace .fs-history-grid{grid-template-columns:minmax(0,1fr)}.fs-versions{display:grid;gap:8px}.fs-versions>div{display:flex;gap:10px;margin:0;padding:8px 0}.fs-versions button{min-height:32px;padding:6px 10px}.fs-audit-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fs-audit-meta dt{font-size:12px;font-weight:600}.fs-audit-meta dd{margin:4px 0;overflow-wrap:anywhere}.fs-rule-card .fs-table{table-layout:fixed}.fs-rule-card .fs-table td{overflow-wrap:anywhere}.fs-rule-card .fs-table td:last-child{width:45px}.fs-workspace .fs-arr-table table{table-layout:fixed}.fs-arr-table td{overflow-wrap:anywhere}.fs-arr-table th:first-child{width:17%}.fs-arr-table th:nth-child(2){width:13%}.fs-arr-table th:last-child{width:6%}
@media(max-width:800px){.fs-workspace .fs-arr-table table{min-width:950px!important}.fs-workspace>.page-header{flex-wrap:wrap}.fs-audit-meta{grid-template-columns:1fr}}
#pageContent .fs-workspace>.page-header>div:first-child{flex:1;min-width:0}#pageContent .fs-workspace>.page-header>select{width:190px!important;max-width:190px;min-width:0}#pageContent .fs-workspace .fs-table{min-width:0!important;width:100%!important}#pageContent .fs-rule-card .fs-table th,#pageContent .fs-rule-card .fs-table td{width:auto!important;min-width:0!important;white-space:normal;padding:12px 8px}#pageContent .fs-rule-card .fs-table td:last-child{white-space:nowrap}
@media(max-width:600px){#pageContent .fs-workspace>.page-header>select{width:100%!important;max-width:none}}
.fs-workspace .panel{min-width:0}.fs-workspace .fs-history-grid,.fs-workspace .fs-billing-grid{min-width:0}
#pageContent .fs-history-grid .fs-table{table-layout:fixed!important}#pageContent .fs-history-grid .fs-table th,#pageContent .fs-history-grid .fs-table td{width:auto!important;min-width:0!important;overflow:hidden;text-overflow:ellipsis}#pageContent .fs-history-grid .fs-table th{white-space:normal}#pageContent .fs-history-grid .fs-table th:last-child,#pageContent .fs-history-grid .fs-table td:last-child{width:42px!important}
#fsArrangementDetail .fs-modal section{margin-top:0;margin-bottom:12px}#fsArrangementDetail .fs-modal h3{margin:0 0 12px;font-size:14px}#fsArrangementDetail .fs-modal .panel{padding:12px;border:1px solid var(--border-color,#e2e9f5);border-radius:6px}#fsArrangementDetail .fs-modal .fs-info{padding:12px}#fsArrangementDetail .fs-modal .fs-info p{font-size:12px;line-height:1.4;margin:0}#fsArrangementDetail .fs-modal .fs-detail-grid{margin-bottom:12px}#fsArrangementDetail .fs-timeline{padding:5px 0}
@media(max-width:600px){.fs-workspace>.page-header{flex-wrap:wrap}.fs-workspace>.page-header>select{width:100%}.fs-workspace>.page-header .fs-actions{width:100%}}
.fs-workspace>.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.fs-workspace>.page-header>select{width:190px;flex-shrink:0}.fs-workspace .page-header h1{font-size:28px;margin:0 0 8px}.fs-workspace .fs-table th,.fs-workspace .fs-table td{display:table-cell!important}.fs-workspace .fs-table th{padding:13px 10px}.fs-workspace .fs-table td{padding:13px 10px}.fs-workspace .fs-rule-card .fs-table td:nth-child(4){max-width:155px;white-space:normal}.fs-workspace .fs-rule-card .fs-table{table-layout:auto}.fs-workspace .fs-arr-table .fs-table td{white-space:nowrap}
#fsArrangementDetail .fs-modal{max-width:850px;width:min(850px,calc(100vw - 32px))}#fsArrangementDetail .fs-person-grid section{padding:14px}#fsArrangementDetail .fs-arr-parameters dl{gap:8px}#fsArrangementDetail .fs-arr-parameters dl>div{padding:9px}
.fs-workspace .page-header{margin-bottom:0}.fs-workspace h1{font-size:28px}.fs-workspace h2{font-size:17px;margin:0 0 6px}.fs-workspace h3{font-size:15px;margin:0 0 12px}.fs-workspace p{font-size:13px;color:var(--text-secondary,#53647c);margin:4px 0 10px;line-height:1.5}
.fs-workspace .panel{padding:18px;border:1px solid var(--border-color,#dee7f2);border-radius:8px;background:var(--surface,#fff);box-shadow:none;margin:0}.fs-workspace section>header,.fs-workspace aside>header,.fs-versions>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.fs-workspace button{min-height:36px;font-size:12px;border-radius:6px}.fs-workspace .primary-action{background:#0967f9;color:white;border:1px solid #0967f9}.fs-actions{display:flex;gap:10px;flex-wrap:wrap}.fs-tabs{display:flex;border:1px solid var(--border-color,#dee7f2);border-radius:7px;background:var(--surface,#fff);overflow:hidden}.fs-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;background:none;border:0;border-right:1px solid var(--border-color,#dee7f2);border-bottom:3px solid transparent;padding:16px;color:inherit;font-size:14px;border-radius:0;min-height:56px}.fs-tabs button[aria-selected=true]{color:#0862f7;border-bottom-color:#0862f7;font-weight:700}.fs-tabs button:disabled{opacity:.45}.fs-tabs small{font-size:10px}.fs-tabs .button-svg{width:20px;height:20px}
.fs-protection,.fs-info,.fs-footer{display:flex;align-items:center;gap:16px;border:1px solid #dceaff;background:#f0f7ff;border-radius:8px;padding:16px 20px}.fs-protection{background:#fff9e9;border-color:#f5df9d;padding:10px 18px}.fs-protection>div,.fs-info>div{flex:1}.fs-protection p,.fs-info p{margin:0}.fs-info>span{width:48px;height:48px;border-radius:50%;background:#5a95ff;color:#fff;display:grid;place-items:center;flex-shrink:0}.fs-info>span .button-svg{width:26px;height:26px}.fs-info h2{color:#103b88}.fs-billing-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:stretch}.fs-table-scroll{overflow:auto;max-width:100%}.fs-table{width:100%;border-collapse:collapse;font-size:12px;background:var(--surface,#fff)}.fs-table th{background:var(--surface-alt,#f3f6fa);color:inherit;font-size:11px;padding:12px 9px;text-align:left;white-space:nowrap;border:1px solid var(--border-color,#e4eaf3)}.fs-table td{padding:11px 10px;border:1px solid var(--border-color,#e4eaf3);line-height:1.45}.fs-table tbody tr:nth-child(even){background:var(--surface-alt,#f8fbff)}.fs-table tr[data-fs]{cursor:pointer}.fs-table .ns-semantic-badge{font-size:11px;white-space:nowrap}.fs-table td:last-child button{padding:5px;min-width:32px;min-height:30px}.fs-rule-card td:last-child button span,.fs-arr-table td:last-child button span,.fs-history-grid td:last-child button span{display:none}.fs-options{display:grid;gap:18px}.fs-options label{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;align-items:center;font-size:13px}.fs-options strong{font-size:12px;font-weight:500}.fs-workspace select,.fs-workspace input,.fs-modal select,.fs-modal input:not([type=checkbox]),.fs-modal textarea{border:1px solid var(--border-color,#d8e1ee);border-radius:6px;padding:9px 11px;background:var(--surface,#fff);color:inherit;min-width:0;min-height:36px;font:inherit;font-size:12px}.fs-modes>div{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.fs-modes article{padding:12px;display:grid;grid-template-columns:22px 1fr;gap:6px 9px;border:1px solid var(--border-color,#e2e9f2);border-radius:6px;font-size:12px;align-content:start}.fs-modes article>.button-svg{color:#0862f7}.fs-modes small{grid-column:2;color:var(--text-secondary,#53647c);line-height:1.4}.fs-quick{background:#f1f7ff!important}.fs-quick form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.fs-quick label,.fs-history-filters label,.fs-arr-filters label{display:grid;gap:7px;font-size:12px}.fs-preview-result{background:#eefbf4;border:1px solid #d6f1e3;border-radius:7px;padding:14px}.fs-quick [data-fs-example-result]{grid-column:1/-1}.fs-footer{font-size:12px;padding:14px}.fs-footer .button-svg{color:#0768f9}.fs-versions>div{align-items:center;border-bottom:1px solid var(--border-color,#e4eaf3);padding-bottom:10px;font-size:12px}.fs-versions>div>span{flex:1}
.fs-history-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:18px}.fs-history-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:18px 0}.fs-history-value{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fs-history-detail dl>div{margin:0 0 16px}.fs-history-detail dt{font-weight:600;font-size:11px;margin-bottom:5px}.fs-history-detail dd{margin:0;font-size:12px;overflow-wrap:anywhere;line-height:1.5}.fs-pagination{display:flex;align-items:center;gap:8px;padding:16px 0 0;font-size:12px}.fs-pagination>span{margin-right:auto}.fs-pagination strong{padding:8px 12px;background:#0768f9;color:white;border-radius:6px}.fs-pagination select{max-width:90px}.fs-recovery-tabs button{flex:0 1 280px}.fs-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.fs-kpis article{display:flex;align-items:center;gap:18px;border:1px solid #e1ecfc;background:#f2f7ff;border-radius:8px;padding:24px}.fs-kpis article[data-tone=green]{background:#f0fcf5;border-color:#d9f4e5}.fs-kpis article[data-tone=red]{background:#fff3f5;border-color:#f7e0e7}.fs-kpis article>span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e3efff;color:#0768f9}.fs-kpis article[data-tone=green]>span{background:#ddf7e7;color:#00a846}.fs-kpis article[data-tone=red]>span{background:#ffe3e9;color:#fa173a}.fs-kpis .button-svg{width:30px;height:30px}.fs-kpis strong{font-size:28px}.fs-kpis p{font-size:14px;font-weight:600;margin:4px 0 0;color:inherit}.fs-arr-filters{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1.1fr auto;gap:16px;align-items:end}.fs-arr-table{padding:0 0 16px!important;overflow:hidden}.fs-arr-table .fs-pagination{padding:16px 18px 0}.fs-table th>button{padding:0;min-height:20px;font:inherit;color:inherit;background:none;border:0;text-align:left}
.ns-form-dialog.fs-modal{width:min(960px,calc(100vw - 32px));max-width:960px}.fs-modal .communication-modal-body{padding:24px}.fs-modal footer{gap:9px;flex-wrap:wrap}.fs-modal label{display:grid;gap:7px;font-size:13px}.fs-modal label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.fs-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.fs-editor-grid textarea{width:100%}.fs-full{grid-column:1/-1}.fs-modal fieldset{border:1px solid var(--border-color,#e1e8f1);border-radius:7px;padding:12px;display:flex;gap:16px;flex-wrap:wrap}.fs-modal legend{font-size:12px;font-weight:600}.fs-band-table{margin:16px 0}.fs-band-table input{width:90px}.fs-band-table select{max-width:180px}.fs-note{padding:12px;color:var(--text-secondary,#53647c);background:var(--surface-alt,#f2f7ff);font-size:12px;border-radius:6px;line-height:1.5}.fs-person-grid,.fs-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.fs-person-grid section{display:flex;gap:18px;padding:16px;border:1px solid var(--border-color,#e2e9f5);border-radius:7px;background:var(--surface-alt,#f7faff)}.fs-person-grid section>.button-svg{width:40px;height:40px;color:#0868fc}.fs-person-grid h2{font-size:17px;margin:0 0 8px}.fs-person-grid p{font-size:12px;margin:4px 0}.fs-person-grid small{display:block;margin-bottom:8px}.fs-arr-parameters{border:1px solid var(--border-color,#e2e9f5);border-radius:7px;padding:14px;margin-bottom:16px}.fs-arr-parameters dl{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0}.fs-arr-parameters dl>div{border:1px solid var(--border-color,#e4eaf4);border-radius:6px;padding:10px}.fs-arr-parameters dt{font-size:11px;margin-bottom:8px;color:var(--text-secondary,#53647c)}.fs-arr-parameters dd{margin:0;font-size:12px;font-weight:600}.fs-modal .fs-info{padding:14px;margin-bottom:18px}.fs-modal .fs-info h2{font-size:13px}.fs-modal .fs-info p{font-size:12px}.fs-modal .panel{border:1px solid var(--border-color,#e2e9f5);border-radius:7px;padding:14px;margin-bottom:14px}.fs-timeline{display:flex;gap:14px;padding:10px;font-size:12px}.fs-timeline>span{width:10px;height:10px;background:#0870ff;border-radius:50%;margin-top:5px;flex-shrink:0}.fs-timeline p{margin:5px 0}.fs-timeline small{color:var(--text-secondary,#53647c)}[data-fs-error]{color:#c92c3d}
@media(max-width:1100px){.fs-billing-grid,.fs-history-grid{grid-template-columns:1fr}.fs-kpis{grid-template-columns:repeat(2,1fr)}.fs-arr-filters{grid-template-columns:repeat(3,1fr)}.fs-tabs button{font-size:12px;padding:12px 7px;gap:6px}.fs-history-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.fs-workspace{gap:12px}.fs-workspace h1{font-size:23px}.fs-tabs{overflow-x:auto}.fs-tabs button{flex:0 0 auto;min-width:140px}.fs-info{padding:14px;gap:12px;align-items:flex-start}.fs-info>span{width:32px;height:32px}.fs-info>button{display:none}.fs-workspace .panel{padding:14px}.fs-modes>div{grid-template-columns:repeat(2,1fr)}.fs-options label{grid-template-columns:1fr}.fs-kpis{gap:10px}.fs-kpis article{padding:14px;gap:10px}.fs-kpis article>span{width:36px;height:36px}.fs-kpis .button-svg{width:22px;height:22px}.fs-kpis strong{font-size:23px}.fs-kpis p{font-size:11px}.fs-arr-filters,.fs-history-filters{grid-template-columns:1fr 1fr}.fs-arr-filters>label:first-child{grid-column:1/-1}.fs-table{min-width:740px}.fs-pagination{flex-wrap:wrap}.fs-pagination>span{flex-basis:100%}.ns-form-dialog.fs-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.fs-modal .communication-modal-body{padding:14px}.fs-editor-grid,.fs-person-grid,.fs-detail-grid{grid-template-columns:1fr}.fs-arr-parameters dl{grid-template-columns:1fr 1fr}.fs-protection{align-items:flex-start;flex-wrap:wrap}.fs-protection>div{min-width:180px}.fs-workspace .page-header{align-items:flex-start}.fs-versions>div{flex-wrap:wrap}.fs-quick form{grid-template-columns:1fr}.fs-footer{font-size:11px}}
.fs-kpis article{gap:12px;padding:12px 14px;min-height:78px;color:var(--color-text-primary)}.fs-kpis article>span{width:34px;height:34px;flex:0 0 34px}.fs-kpis .button-svg{width:21px;height:21px}.fs-kpis strong{font-size:22px;line-height:1.15}.fs-kpis p{font-size:var(--ns-card-description-font-size,12px);margin-top:3px}.fs-protection [data-fs-countdown]{font-variant-numeric:tabular-nums}
#fsArrangementEditor .ns-form-dialog{width:min(1040px,calc(100vw - 28px));max-width:1040px}#fsArrangementEditor .communication-modal-body{padding:14px 18px}.fs-agreement-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;margin-bottom:10px}.fs-agreement-form [hidden]{display:none!important}.fs-agreement-form label{gap:4px;font-size:12px}.fs-agreement-form .fs-span-two{grid-column:span 2}.fs-agreement-form textarea{min-height:56px;height:56px;padding:7px}.fs-agreement-form fieldset{gap:8px 14px;padding:8px 10px}.fs-agreement-form .fs-note{padding:8px;margin:8px 0;font-size:11px}.fs-agreement-form .fs-confirm{font-size:12px}.fs-agreement-form [data-arr-preview] .fs-table-scroll{max-height:190px;overflow:auto}.fs-agreement-form [data-arr-preview] .panel{padding:10px;margin:8px 0}.fs-obligation-choices{max-height:140px;overflow:auto}
.fs-student-field{position:relative}.fs-student-field>[role=status]{font-size:11px;line-height:1.35;color:var(--color-text-secondary)}#fsStudentResults{position:absolute;top:58px;left:0;min-width:100%;width:350px;max-width:calc(100vw - 40px);max-height:190px;overflow:auto;border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 6px 18px rgba(0,0,0,.12);border-radius:7px;z-index:5}.fs-student-option{display:grid;gap:3px;width:100%;height:auto;min-height:44px;padding:8px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}.fs-student-option small{font-size:11px;color:var(--color-text-secondary)}.fs-student-option:hover,.fs-student-option[aria-selected=true]{background:var(--color-info-soft,#eaf4ff)}
@media(max-width:1000px){.fs-agreement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.fs-agreement-grid{grid-template-columns:1fr}.fs-agreement-form .fs-span-two{grid-column:auto}.fs-agreement-form textarea{height:64px}#fsStudentResults{width:100%}}
.fs-agreement-grid>label{align-content:start}.fs-agreement-grid .ns-tenant-date-display{min-height:var(--ns-control-height,32px);height:var(--ns-control-height,32px)}
.fs-kpis .metric-card>span,.fs-kpis .metric-card strong{margin-top:0}
/* Version status must remain readable rather than collapsing behind the action column. */
#pageContent .fs-rule-card .fs-table{table-layout:auto!important}#pageContent .fs-rule-card .fs-table th:nth-child(5),#pageContent .fs-rule-card .fs-table td:nth-child(5){width:65px!important;min-width:65px!important}#pageContent .fs-rule-card .fs-table th:last-child,#pageContent .fs-rule-card .fs-table td:last-child{width:50px!important;min-width:50px!important}
