.oi-page { max-width: 1500px; margin: 0 auto; padding: 28px; color: var(--text, #172b42); }
.oi-heading, .oi-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.oi-heading h1 { margin: 4px 0 12px; font-size: 28px; }
.oi-heading { position: static; height: auto; padding: 0; border: 0; background: transparent; z-index: auto; }
.oi-eyebrow { color: #246d78; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.oi-note { color: var(--muted, #536478); line-height: 1.65; font-size: 13px; margin: 10px 0; }
.oi-panel, .oi-review:not(:empty), .oi-results:not(:empty) { padding: 22px; margin: 20px 0; border: 1px solid var(--border, #dce3eb); border-radius: 12px; background: var(--surface, #fff); }
.oi-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.oi-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.oi-field input, .oi-field select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #a8b6c6; border-radius: 6px; background: #fff; color: #172b42; font: inherit; }
.oi-panel .oi-actions { justify-content: flex-end; margin-top: 18px; }
.oi-panel > .oi-actions > h2 { margin-right: auto; }
.oi-page .btn { min-height: 40px; padding: 8px 16px; border: 1px solid #b2c2ce; border-radius: 6px; cursor: pointer; }
.oi-page .btn:disabled { opacity: .5; cursor: default; }
.oi-page :focus-visible { outline: 3px solid #247eab; outline-offset: 3px; }
.oi-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid #dce3eb; border-radius: 6px; }
.oi-scroll table { border-collapse: collapse; width: 100%; font-size: 13px; white-space: nowrap; }
.oi-scroll caption { text-align: left; padding: 12px; font-weight: 700; background: #f2f6fa; }
.oi-scroll th, .oi-scroll td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e5ebf0; }
.oi-scroll th { color: #40566e; background: #f8fafc; }
.oi-scroll tbody tr:hover { background: #f5f9fc; }
.oi-scroll input { width: 18px; height: 18px; accent-color: #246d78; }
.oi-scroll a { color: #176c9a; text-decoration: underline; }
.oi-message:empty { display: none; }
.oi-message { padding: 12px 16px; border-left: 3px solid #ba4c32; background: #fff5ef; color: #8a321e; }
.oi-balanced { color: #23644c; }
.oi-warning { color: #8a571c; }
.oi-page h2 { font-size: 19px; margin-top: 0; }
@media (max-width: 760px) { .oi-page { padding: 16px; } .oi-filters { grid-template-columns: 1fr 1fr; } .oi-panel, .oi-review:not(:empty), .oi-results:not(:empty) { padding: 16px; } }
@media (max-width: 440px) { .oi-filters { grid-template-columns: 1fr; } .oi-actions .btn { width: 100%; } }
.oi-steps { padding: 12px 16px; border-radius: 8px; background: #edf5f6; color: #245e68; font-size: 14px; line-height: 1.7; }
.oi-lookup { display: grid; grid-template-columns: minmax(160px, 1fr) auto; align-items: end; gap: 14px; margin-top: 20px; max-width: 650px; }
.oi-save-fields { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 2fr); gap: 18px; }
.oi-field textarea { box-sizing: border-box; width: 100%; min-height: 88px; padding: 8px 12px; border: 1px solid #a8b6c6; border-radius: 6px; background: #fff; color: #172b42; font: inherit; resize: vertical; }
.oi-page input:disabled, .oi-page textarea:disabled { background: #edf1f5; color: #526275; }
.oi-save-message:not(:empty), .oi-loaded:not(:empty) { padding: 14px 16px; margin-top: 16px; border-left: 3px solid #397b87; background: #f0f7f8; line-height: 1.65; overflow-wrap: anywhere; }
.oi-loaded h2 { margin-bottom: 10px; }
.oi-loaded { scroll-margin-top: 88px; }
.oi-saved-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.oi-saved-card { padding: 18px; border: 1px solid #dce3eb; border-radius: 8px; overflow-wrap: anywhere; }
.oi-page h3 { font-size: 16px; line-height: 1.5; margin: 18px 0 8px; }
.oi-saved-card h3 { margin-top: 0; }
.oi-saved-card .oi-note { white-space: pre-wrap; }
.oi-unavailable { background: #f6f8fa; }
.oi-delete-confirm { padding: 18px; margin-top: 16px; border: 2px solid #aa663f; border-radius: 8px; background: #fff8f2; overflow-wrap: anywhere; }
.oi-delete-confirm h3 { margin-top: 0; }
.oi-save-message .oi-note { margin: 4px 0; }
@media (max-width: 760px) { .oi-saved-list, .oi-save-fields { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .oi-lookup { grid-template-columns: 1fr; } .oi-lookup .btn { width: 100%; } }

.oi-review-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.oi-review-filters button{padding:.45rem .8rem;border:1px solid var(--border, #dce3eb);border-radius:.5rem;background:var(--surface, #fff);color:inherit}.oi-review-filters button[aria-pressed="true"]{font-weight:700;outline:2px solid #247eab}.oi-review-state{font-weight:650}.oi-edit-panel{margin-top:1rem;padding:1rem;border:1px solid var(--border, #dce3eb);border-radius:.75rem}.oi-return{margin-bottom:.5rem}
