.ops-page{padding:12px 13px 28px;background:var(--bg);min-height:calc(100vh - 87px);color:var(--ink)}.ops-page .page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin:0 0 24px}.ops-page h1{font-size:25px;line-height:1.5;margin:0;font-weight:750;color:var(--ink)}.ops-page .page-heading p{font-size:10px;color:#687b96;margin:2px 0}.ops-page .page-actions{display:flex;gap:7px;flex-wrap:wrap;padding-top:8px}.ops-page .panel{border-radius:6px}.ops-page .ops-caption{font-size:10px;line-height:1.8;color:#6e7b8c}.ops-page .ops-warning{border:1px solid #decb94;border-radius:6px;padding:10px;background:#fffbeb;color:#86550d;margin:12px 0 21px;font-size:10px}.ops-page .ops-tabs{display:flex;gap:5px;justify-content:flex-start;flex-wrap:wrap;padding-bottom:7px;margin-bottom:24px;border-bottom:1px solid #d3ded8}.ops-page .ops-tab{background:white;color:#184945;border:1px solid #becdc5;border-radius:6px;padding:7px 10px;font-size:10px;min-height:32px}.ops-page .ops-tab b{font-size:12px;margin-right:8px}.ops-page .ops-tab.active{background:#145a42;color:white;border-color:#145a42;font-weight:700}.ops-page .ops-filters{display:grid;grid-template-columns:minmax(250px,3fr) repeat(2,minmax(110px,1fr)) auto;gap:8px;align-items:end;padding:12px;margin:15px 0}.ops-page .ops-filters label{font-size:10px;display:flex;flex-direction:column;gap:7px}.ops-page .ops-filters input,.ops-page .ops-filters select{width:100%;height:29px;border:1px solid #b7c1cf;border-radius:5px;padding:4px 7px;background:white}.ops-page .ops-filter-buttons{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ops-page .ops-filters.history-filter{grid-template-columns:minmax(250px,3fr) repeat(3,minmax(110px,1fr)) auto}.ops-page .ops-admin-search{padding:11px;background:#f6faf8;border:1px solid #d5ded9;border-radius:6px;margin:8px 0 22px}.ops-page .ops-admin-search h3{font-size:11px;margin:0 0 4px}.ops-page .ops-admin-search p{font-size:10px;margin:4px 0 15px}.ops-page .ops-admin-search label{display:block;font-size:10px;margin-bottom:6px}.ops-page .ops-admin-search input{height:29px;width:min(340px,70%);background:#fff;border:1px solid #b7c1cf;border-radius:5px;padding:5px 7px}.ops-page .ops-toolbar{display:flex;gap:7px;align-items:center;justify-content:space-between;margin:10px 0}.ops-page .ops-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ops-page .ops-table .table-wrap,.ops-page #office-grid .table-wrap{border-radius:5px;overflow:auto}.ops-page .requests-table{min-width:1100px;table-layout:auto;background:white}.ops-page .requests-table th{background:#fff;font-size:9px;height:25px}.ops-page .requests-table td{font-size:10px;min-height:38px}.ops-page .requests-table tbody tr{height:43px}.ops-page .requests-table th:last-child,.ops-page .requests-table td:last-child{min-width:130px}.ops-page .ops-row-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.ops-page .ops-row-actions .button{min-height:23px;font-size:9px;padding:3px 6px;border-radius:4px}.ops-page .ops-icon{display:inline-flex;align-items:center;justify-content:center;min-width:23px;min-height:23px;border:1px solid var(--primary);background:var(--secondary);border-radius:4px;color:var(--primary);font-size:12px}.ops-page .ops-icon.green{border-color:#8dc6a4;background:#e5f5eb;color:#187b48}.ops-page .ops-icon.red,.ops-page .ops-red{border-color:#ed9c99;background:#fff1f0;color:#b02d26}.ops-page .ops-icon.amber{border-color:#deba71;background:#fff2cd;color:#8c681b}.ops-page .ops-icon:disabled{opacity:.4;cursor:not-allowed}.ops-page .ops-badge{display:inline-block;font-size:9px;line-height:1.6;padding:3px 5px;border-radius:4px;background:#f1f4f7;color:#344f6b}.ops-page .ops-badge.warning{background:#fff7e1;color:#8e590d}.ops-page .ops-badge.success{background:#e7f7ee;color:#166a48}.ops-page .ops-badge.danger{background:#fff1f0;color:#b02928}.ops-page .ops-money{font-variant-numeric:tabular-nums;direction:ltr;white-space:nowrap}.ops-page .ops-totalbar{display:flex;gap:17px;flex-wrap:wrap;padding:10px;background:#e6f5e8;border:1px solid #c4dfcb;border-radius:5px;margin-top:12px;font-size:11px}.ops-page .ops-meta{display:block;color:#8b6a2a;font-size:9px;margin-top:3px}.ops-page .ops-office-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:25px 0}.ops-page .ops-office-stat{display:flex;align-items:center;gap:13px;text-align:right;background:white;border:1px solid #d8e3f3;border-radius:5px;min-height:64px;padding:12px;font-size:11px}.ops-page .ops-office-stat strong{display:block;font-size:18px;margin-top:5px}.ops-page .ops-stat-icon{border-radius:50%;background:var(--secondary);color:var(--primary);display:grid;place-items:center;width:33px;height:33px;font-size:19px}.ops-page .ops-stat-icon.active{background:#e1f6ed;color:#16a078}.ops-page .ops-stat-icon.stopped{background:#ffeef0;color:#ed5363}.ops-page .ops-office-primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.ops-page .ops-office-primary:hover{background:var(--primary);filter:brightness(.93)}.ops-modal{width:min(450px,calc(100vw - 32px))!important;margin:auto!important;max-height:calc(100vh - 25px)!important}.ops-modal.ops-wide{width:min(900px,calc(100vw - 32px))!important}.ops-modal .modal-heading{padding:9px 11px}.ops-modal .modal-heading h2{font-size:13px}.ops-modal .modal-close{width:29px;height:29px;font-size:18px}.ops-modal .modal-body{padding:11px;font-size:11px;line-height:1.8}.ops-modal .ops-snapshot{background:#f4f8f5;border:1px solid #cbdcd3;border-radius:5px;padding:8px;margin:12px 0}.ops-modal .ops-snapshot h3{font-size:11px;margin:0 0 8px}.ops-modal .ops-fact{display:flex;justify-content:space-between;gap:12px;line-height:1.9;margin:3px 0;font-size:10px}.ops-modal .ops-fact span:last-child{max-width:70%;overflow-wrap:anywhere;text-align:left}.ops-modal .ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 7px}.ops-modal .ops-form-grid label{display:flex;flex-direction:column;font-size:10px;gap:6px;color:#243553;font-weight:600}.ops-modal .ops-form-grid .full{grid-column:1/-1}.ops-modal .ops-form-grid input,.ops-modal .ops-form-grid textarea,.ops-modal .ops-form-grid select{width:100%;border:1px solid #b6c8c0;border-radius:5px;background:#fff;padding:5px 6px;min-height:29px;font-size:11px}.ops-modal .ops-form-grid input[readonly]{background:#f0f4f1}.ops-modal .ops-form-grid textarea{min-height:55px;resize:vertical}.ops-modal .ops-modal-actions{display:flex;gap:6px;margin-top:12px}.ops-modal .ops-error{background:#fff1ef;color:#ac3025;border-radius:5px;padding:7px;margin-top:7px;font-size:11px}.ops-modal .ops-error:empty{display:none}.ops-modal .ops-modal-note{padding:8px;border:1px solid #e6cb8a;border-radius:5px;background:#fffbeb;font-size:10px;margin:10px 0}.ops-modal .ops-timeline{margin:10px 0;padding:0;list-style:none}.ops-modal .ops-timeline li{border-right:2px solid #d1daea;padding:7px 10px;margin:0 4px 5px 0;background:#f6f8fb}.ops-modal .ops-timeline small{display:block;color:#687a95}.ops-modal .ops-history-grid{overflow:auto}.ops-modal .ops-history-grid table{width:100%;border-collapse:collapse;font-size:10px}.ops-modal .ops-history-grid td,.ops-modal .ops-history-grid th{border:1px solid #d2dcea;padding:6px}.ops-modal .ops-history-grid th{background:#eef3f8}.ops-modal .ops-related{border:1px solid #d8e2ef;border-radius:5px;padding:9px;margin:8px 0}.ops-modal .ops-related .button{margin:5px 0 0 5px}.ops-modal .ops-issue-list{padding-right:20px;color:#a33a20}.ops-modal .ops-review-note{background:#f0f6fc;border:1px solid #d4e2f2;padding:9px;border-radius:5px;margin-bottom:10px;font-size:10px}@media(max-width:900px){.ops-page .ops-filters,.ops-page .ops-filters.history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-page .ops-filters>label:first-child{grid-column:1/-1}.ops-page .ops-office-stats{gap:5px}.ops-page h1{font-size:22px}}
.delegations-page .ops-filters{grid-template-columns:minmax(320px,1fr) 130px 130px auto}.delegations-page .ops-filters.history-filter{grid-template-columns:minmax(260px,1fr) 130px 130px 140px auto}.ops-modal #ops-action-form .ops-modal-actions>.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.ops-modal #ops-action-form .ops-modal-actions>.primary:hover{background:var(--primary);filter:brightness(.93)}.ops-modal .ops-snapshot .ops-fact:last-child{color:#667593}@media(max-width:900px){.delegations-page .ops-filters,.delegations-page .ops-filters.history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ops-page .ops-text-action{font-size:10px;line-height:1.4;min-height:25px;padding:4px 7px}.ops-page .ops-text-action.green{background:#e5f5eb;border-color:#8dc6a4;color:#176b40}.ops-page .ops-text-action.red{background:#fff1f0;border-color:#ed9c99;color:#a92d26}.ops-page .ops-text-action.amber{background:#fff7e2;border-color:#deba71;color:#7c5811}.ops-page .ops-text-action:hover{filter:brightness(.96)}.ops-modal.ops-wide.ops-edit-modal{width:min(760px,calc(100vw - 32px))!important}.ops-edit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px;padding:12px;background:var(--field);border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:10px;line-height:1.8}.ops-edit-summary b{display:block;overflow-wrap:anywhere;font-size:11px}.ops-edit-choice{display:flex;align-items:center;gap:12px;font-weight:700;margin:15px 0 12px;color:var(--ink)}.ops-edit-choice select{flex:1;min-height:32px;border:1px solid var(--input-line);border-radius:5px;background:var(--panel);color:var(--ink);padding:5px 8px}.ops-edit-modal #ops-edit-body{border-top:1px solid var(--line);padding-top:10px}.ops-edit-modal #ops-edit-body h3{font-size:12px;color:var(--ink);margin:0 0 12px}.ops-edit-modal .ops-modal-actions{justify-content:flex-start}.ops-edit-log{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.ops-edit-log summary{cursor:pointer;font-size:11px;color:var(--ink)}.ops-edit-log .ops-timeline{max-height:180px;overflow:auto}.ops-edit-log .ops-timeline p{margin:5px 0;font-size:10px}.ops-edit-overview{font-size:11px;line-height:1.9;margin:5px 0 12px}.ops-edit-modal .ops-form-grid label{color:var(--ink)}@media(max-width:700px){.ops-edit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ops-page .ops-money{unicode-bidi:isolate;display:inline-block;text-align:left}

.ops-history-view .requests-table{width:100%;min-width:1050px;table-layout:fixed}.ops-history-view .requests-table th,.ops-history-view .requests-table td{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:7px 5px;text-align:right;vertical-align:middle;font-size:11px;line-height:1.65}.ops-history-view .requests-table th{font-size:10px}.ops-history-view .requests-table th:last-child,.ops-history-view .requests-table td:last-child{min-width:0}.ops-history-view .ops-row-actions{flex-wrap:wrap;gap:4px}.ops-history-view .ops-row-actions .button{font-size:10px;min-height:27px;padding:4px 6px}.ops-history-view .ops-badge{font-size:10px}.ops-history-view .ops-money-stack{font-size:10px;line-height:1.9}.ops-money-stack span{display:flex;justify-content:space-between;gap:3px}.ops-money-stack bdi{font-weight:700;white-space:nowrap}

.ops-edit-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0;font-size:10px;color:var(--muted)}.ops-edit-extra b{display:block;color:var(--ink);overflow-wrap:anywhere;font-size:11px;margin-top:4px}

.ops-modal .ops-form-grid .ops-actual-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:8px;line-height:1.8;font-weight:400}.ops-modal .ops-form-grid .ops-actual-confirm input{width:15px;min-height:15px;height:15px;margin:3px 0 0;flex:none;accent-color:var(--primary)}.ops-modal .required-marker{display:none}.ops-admin-results{display:grid;gap:8px;margin-top:12px}.ops-admin-result{border:1px solid var(--line);border-radius:5px;padding:9px;font-size:11px}.ops-admin-result p{margin:0 0 6px}

.ops-history-view .requests-table th:nth-child(1){width:8%}.ops-history-view .requests-table th:nth-child(2){width:7%}.ops-history-view .requests-table th:nth-child(3){width:6%}.ops-history-view .requests-table th:nth-child(4){width:9%}.ops-history-view .requests-table th:nth-child(5){width:8%}.ops-history-view .requests-table th:nth-child(6){width:8%}.ops-history-view .requests-table th:nth-child(7){width:8%}.ops-history-view .requests-table th:nth-child(8){width:9%}.ops-history-view .requests-table th:nth-child(9){width:9%}.ops-history-view .requests-table th:nth-child(10){width:5%}.ops-history-view .requests-table th:nth-child(11){width:10%}.ops-history-view .requests-table th:nth-child(12){width:13%}
.ops-contract-modal .modal-body{font-size:12px}.ops-contract-history p{line-height:1.8}.ops-contract-timeline{list-style:none;padding:0;margin:16px 0}.ops-contract-timeline>li{border-right:3px solid var(--primary);background:var(--field);border-radius:5px;padding:12px;margin:10px 0}.ops-timeline-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ops-contract-timeline small{display:block;color:var(--muted);line-height:1.8}.ops-contract-timeline p{margin:6px 0}.ops-change-table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:9px;font-size:11px}.ops-change-table th,.ops-change-table td{border:1px solid var(--line);padding:7px;overflow-wrap:anywhere;text-align:right}.ops-change-table thead{background:var(--secondary)}.ops-timeline-amount{font-weight:600}

.receiving-template-notice{display:flex;flex-direction:column;gap:5px;padding:11px 13px;margin:0 0 14px;background:var(--field);border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:11px;line-height:1.8}.receiving-template-preview{font-size:12px;line-height:1.8;color:var(--ink)}.receiving-template-meta,.receiving-template-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.receiving-template-meta>div,.receiving-template-fields>div{display:flex;flex-direction:column;border-bottom:1px solid var(--line);padding:6px 0}.receiving-template-meta span,.receiving-template-fields span{font-size:11px;color:var(--muted)}.receiving-template-worker{border-top:2px solid var(--primary);margin-top:20px;padding-top:10px}.receiving-template-worker h3{font-size:14px}.receiving-template-page{border:1px solid var(--line);border-radius:6px;padding:12px;margin:10px 0;background:var(--field)}.receiving-template-page h4{margin:0 0 10px;font-size:12px}.receiving-template-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px}.receiving-template-slot{min-height:115px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:1px dashed var(--line);background:var(--panel);padding:14px}.receiving-template-slot span{font-size:11px;color:var(--muted);margin-top:10px}
