.fc-view { color:var(--ink, #182331); min-width:0; }
.fc-view *, .fc-view *::before, .fc-view *::after { box-sizing:border-box; }
.fc-view h2, .fc-view h3 { margin:0; letter-spacing:0; }
.fc-heading { display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; padding:6px 0 16px; }
.fc-heading h2 { font-size:21px; }
.fc-heading > span { color:var(--muted, #67758b); font-size:13px; }
.fc-form { border-top:1px solid #dce3ea; border-bottom:1px solid #dce3ea; padding:18px 0; margin:0; }
.fc-form fieldset { border:0; padding:0; margin:0; min-width:0; }
.fc-entry-grid { display:grid; grid-template-columns:minmax(150px, .8fr) minmax(220px, 1.5fr) minmax(80px, .35fr) minmax(220px, 1.4fr); gap:14px; align-items:start; }
.fc-view label, .fc-search-field > label { display:flex; flex-direction:column; gap:7px; font-size:12px; font-weight:700; min-width:0; }
.fc-view input, .fc-view select { width:100%; min-width:0; font-weight:400; height:42px; }
.fc-note { margin-top:14px; max-width:720px; }
.fc-entry-footer { display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; margin-top:16px; }
.fc-entry-footer > button { min-height:42px; }
.fc-estimate { display:flex; gap:24px; flex-wrap:wrap; min-height:38px; align-items:center; }
.fc-estimate span { display:flex; flex-direction:column; gap:3px; font-size:12px; color:#536273; }
.fc-estimate strong { font-size:18px; color:#182331; font-variant-numeric:tabular-nums; }
.fc-search-field { min-width:0; position:relative; }
.fc-search-field > input { margin-top:7px; }
.fc-results:not(:empty) { max-height:260px; overflow:auto; border:1px solid #d8e0e9; border-radius:4px; margin-top:5px; background:white; }
.fc-result { width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px; border:0; border-bottom:1px solid #e7ebf0; border-radius:0; background:white; text-align:left; cursor:pointer; color:inherit; font:inherit; }
.fc-result:hover:not(:disabled) { background:#edf5fa; }
.fc-result:disabled { opacity:.6; cursor:not-allowed; }
.fc-result > span { min-width:0; overflow-wrap:anywhere; }
.fc-result > span:last-child { font-size:12px; }
.fc-result small { display:block; color:#637084; margin-top:4px; }
.fc-selection { display:grid; grid-template-columns:1fr 32px; align-items:start; gap:3px 8px; padding:9px 0 0; font-size:12px; overflow-wrap:anywhere; }
.fc-selection small { grid-column:1; color:#526376; }
.fc-selection button { width:30px; height:30px; }
.fc-message, .fc-pending { border:1px solid #b6d5c7; border-radius:4px; background:#edf8f1; color:#254d3b; padding:12px; margin-bottom:14px; overflow-wrap:anywhere; }
.fc-message.fc-error { border-color:#e6c184; background:#fff7e8; color:#71511c; }
.fc-pending { background:#fff7e8; color:#71511c; border-color:#e6c184; display:flex; flex-direction:column; gap:8px; }
.fc-pending > div { display:flex; gap:8px; flex-wrap:wrap; }
.fc-history-heading { padding:22px 0 14px; }
.fc-history-heading h3 { font-size:17px; }
.fc-filters { display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; }
.fc-filters > label { flex:0 1 180px; }
.fc-filters > .icon-btn { width:42px; height:42px; }
.fc-summary { display:flex; flex-wrap:wrap; gap:24px; padding:16px 0; font-size:13px; }
.fc-summary strong { margin-left:7px; font-variant-numeric:tabular-nums; }
.fc-table-wrap { overflow-x:auto; }
.fc-table { width:100%; border-collapse:collapse; font-size:12px; }
.fc-table th { text-align:left; color:#65778d; font-size:11px; border-bottom:1px solid #d8e0e9; padding:10px 8px; }
.fc-table td { padding:11px 8px; vertical-align:top; border-bottom:1px solid #e5eaf0; }
.fc-table td:nth-child(2), .fc-table td:nth-child(3) { min-width:150px; max-width:270px; overflow-wrap:anywhere; }
.fc-table td:first-child { min-width:132px; }
.fc-table td span, .fc-table td small { display:block; margin-top:4px; }
.fc-table td small { color:#65778d; }
.fc-table .fc-number { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.fc-table .fc-empty { text-align:center; padding:26px; color:#65778d; }
.fc-table .fc-cancelled { margin:0; color:#8b3e36; }
.fc-pagination { display:flex; justify-content:flex-end; align-items:center; gap:14px; padding:14px 0; font-size:12px; }
.fc-pagination .icon-btn { width:36px; height:36px; }
.fc-view [hidden] { display:none !important; }
.fc-view button:focus-visible, .fc-view input:focus-visible, .fc-view select:focus-visible { outline:2px solid #176bbb; outline-offset:2px; }
@media (max-width:1150px) { .fc-entry-grid { grid-template-columns:minmax(150px,1fr) minmax(220px,2fr); } }
@media (max-width:580px) { .fc-entry-grid { grid-template-columns:minmax(0,1fr); } .fc-entry-footer > button { width:100%; } .fc-filters > label { flex:1 1 130px; } .fc-heading h2 { font-size:19px; } .fc-summary { gap:12px; } }
@media print { .fc-form, .fc-filters, .fc-pagination, .fc-pending, .fc-message, .fc-table button { display:none !important; } .fc-table-wrap { overflow:visible; } }
