.fs-shell { display:grid; gap:10px; color:#20334b; }
.fs-info { display:flex; align-items:center; min-height:28px; color:#287457; }
.fs-list { display:grid; gap:8px; }
.fs-item,.fs-empty { border:1px solid #d9e4ec; border-radius:10px; background:#fff; }
.fs-item { padding:12px; }
.fs-item.is-linked { outline:3px solid #b66a25; outline-offset:2px; }
.fs-item-head { display:flex; align-items:start; justify-content:space-between; gap:10px; }
.fs-item-head>div { display:grid; gap:2px; min-width:0; }
.fs-item-head a { color:#08716e; font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.fs-item-head small { color:#6e8294; overflow-wrap:anywhere; }
.fs-item-head strong { text-align:right; white-space:nowrap; font-size:12px; font-variant-numeric:tabular-nums; }
.fs-item p { margin:9px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.fs-empty,.fs-error { margin:0; padding:12px; }
.fs-empty { color:#60758b; }
.fs-error { border-radius:7px; background:#fff0ed; color:#9b3728; }
#foreign-stoppages-root [data-fs-retry] { min-height:44px; padding:8px 12px; border:1px solid #cbd8e4; border-radius:8px; background:#fff; color:#31516a; font:inherit; cursor:pointer; }
#foreign-stoppages-root :is(button,a):focus-visible { outline:2px solid #087d76; outline-offset:2px; }
@media(max-width:480px) { .fs-item-head { flex-direction:column; gap:6px; } .fs-item-head strong { text-align:left; } }
.fs-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.fs-top>button,.fs-editor button,.fs-item-actions button{min-height:44px;padding:8px 12px;border:1px solid #b4c9d4;border-radius:8px;background:#fff;color:#08716e;font:inherit;font-weight:700;cursor:pointer}.fs-editor{display:grid;gap:11px;padding:14px;border:1px solid #b9d4d0;border-radius:10px;background:#fff}.fs-editor-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.fs-editor-head h2{margin:0;font-size:17px}.fs-editor-head span,.fs-draft-badge{display:inline-flex;width:fit-content;padding:3px 8px;border-radius:5px;background:#fff1d6;color:#875e22;font-size:12px;font-weight:700}.fs-editor label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:700}.fs-editor :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #aabfca;border-radius:8px;background:#fff;color:#20334b;font:inherit;font-size:16px}.fs-editor textarea{resize:vertical}.fs-editor-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fs-editor-references{display:grid;gap:8px}.fs-editor-references h3{margin:0;font-size:14px}.fs-editor-references p{margin:0;color:#60758b;font-size:12px}.fs-reference{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) 44px;align-items:end;gap:8px}.fs-reference>button{padding:0}.fs-editor-actions{display:flex;justify-content:flex-end;gap:8px}.fs-editor-actions button[type=submit]{background:#08716e;color:#fff}.fs-save-status{min-height:1em;margin:0;color:#60758b;font-size:12px}.fs-save-status.is-error{color:#9b3728}.fs-draft-badge{margin-top:8px}.fs-reference-list{display:grid;gap:4px;margin:8px 0 0;padding-left:20px}.fs-reference-list a,.fs-item-actions a{display:inline-flex;align-items:center;min-height:44px;color:#08716e;font-weight:700;overflow-wrap:anywhere}.fs-item-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.fs-item-actions button{min-height:44px}
@media(max-width:480px){.fs-top{align-items:flex-start;flex-wrap:wrap}.fs-top>button{width:100%}.fs-editor{padding:12px}.fs-editor-dates,.fs-reference{grid-template-columns:minmax(0,1fr)}.fs-reference{padding:9px;border:1px solid #d9e4ec;border-radius:8px}.fs-reference>button{width:44px}.fs-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fs-item-actions{align-items:stretch;flex-direction:column}.fs-item-actions button,.fs-item-actions a{width:100%;box-sizing:border-box}}
.fs-agreement{display:grid;gap:9px;margin-top:10px;padding:12px;border:1px solid #d9e4ec;border-radius:8px;background:#f8fafb}.fs-agreement>strong{color:#875e22;font-size:12px}.fs-agreement label{display:grid;gap:5px;font-size:12px;font-weight:700}.fs-agreement textarea{box-sizing:border-box;width:100%;min-height:160px;padding:9px;border:1px solid #adbfcb;border-radius:8px;background:#fff;color:#20334b;font:inherit;font-size:14px;line-height:1.45;white-space:pre-wrap;resize:vertical}.fs-agreement button{justify-self:start;min-height:44px;padding:8px 12px;border:1px solid #a9c9c5;border-radius:8px;background:#fff;color:#08716e;font:inherit;font-weight:700;cursor:pointer}.fs-agreement p{margin:0;color:#60758b;font-size:12px}@media(max-width:480px){.fs-agreement{padding:10px}.fs-agreement button{width:100%}}
.fs-agreement-actions{display:flex;flex-wrap:wrap;gap:8px}.fs-agreement-actions button:first-child{background:#08716e;color:#fff}.fs-agreement-stale{padding:8px;border-radius:7px;background:#fff1d6;color:#815a21!important}@media(max-width:480px){.fs-agreement-actions{display:grid;grid-template-columns:minmax(0,1fr)}.fs-agreement-actions button{width:100%}}
.fs-filters{display:grid;gap:9px;padding:12px;border:1px solid #d9e4ec;border-radius:10px;background:#f8fafb}.fs-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fs-filter-grid label{display:grid;gap:5px;min-width:0;color:#50677d;font-size:12px;font-weight:700}.fs-filter-grid :is(select,input){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #aabfca;border-radius:8px;background:#fff;color:#20334b;font:inherit;font-size:16px}.fs-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#50677d;font-size:12px;font-weight:700}.fs-filter-foot button{min-height:44px;padding:8px 12px;border:1px solid #b4c9d4;border-radius:8px;background:#fff;color:#08716e;font:inherit;font-weight:700;cursor:pointer}@media(max-width:700px){.fs-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.fs-filters{padding:10px}.fs-filter-grid{grid-template-columns:minmax(0,1fr)}.fs-filter-foot{align-items:stretch;flex-direction:column}.fs-filter-foot button{width:100%}}
