#sfa-intake #sfa-freezing-workspace #sfa-freezing-content .hub-table-wrap{min-width:0!important;max-width:100%!important;overflow-x:auto}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table{table-layout:fixed!important;width:100%!important;min-width:0!important;font-size:12px!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td){min-width:0!important;max-width:none!important;padding:10px 7px!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:middle}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(1){width:22%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(2){width:9%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(3){width:12%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(4),#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(5){width:11%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(6){width:15%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(7){width:13%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table :is(th,td):nth-child(8){width:7%!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table .column-sort-button{font-size:11px!important;white-space:normal!important;gap:3px!important}
#sfa-intake #sfa-freezing-workspace #sfa-freezing-content table.cryo-summary-table td button{font-size:11px!important;padding:8px 4px!important;width:100%;min-width:0!important;white-space:normal!important}
#sfa-intake .cryo-cell-stack{display:flex;flex-direction:column;gap:4px;line-height:1.6}
#sfa-intake .cryo-cell-stack small,#sfa-intake .cryo-quantity small{color:#617782;font-size:11px}
#sfa-intake .cryo-quantity{line-height:1.55}
#sfa-intake .cryo-quantity strong{font-size:16px;color:#16566a}
#sfa-intake .cryo-quantity small{display:block}
#sfa-intake .cryo-renewal-state{border-radius:7px;padding:6px}
#sfa-intake .cryo-renewal-state.is-due{background:#fff4df;color:#7b4f0b;border:1px solid #eed4a0}
#sfa-intake .cryo-renewal-state.is-settled{background:#eaf6f0;color:#216843;border:1px solid #c6e3d3}
#sfa-intake .cryo-metrics{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px;margin:14px 0 20px}
#sfa-intake .cryo-metrics>section{border:1px solid #d4e4e9;border-radius:10px;padding:12px 15px;background:white}
#sfa-intake .cryo-metrics>section>span{display:block;color:#647c88;font-size:12px;margin-bottom:6px}
#sfa-intake .cryo-metrics .cryo-quantity strong{font-size:22px}
#sfa-intake .cryo-batch-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#sfa-intake .cryo-selected-batch{border:1px solid #c6dce3;border-inline-start:4px solid #15748a;background:#fff;border-radius:10px;padding:16px;margin:14px 0}
#sfa-intake .cryo-selected-title{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#15596c}
#sfa-intake .cryo-sites-wrap{max-width:100%;overflow-x:auto;margin:10px 0}
#sfa-intake table.cryo-sites-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px}
#sfa-intake table.cryo-sites-table :is(th,td){padding:9px 8px;border-bottom:1px solid #dce7eb;white-space:normal;overflow-wrap:anywhere;text-align:start}
#sfa-intake table.cryo-sites-table th{background:#edf5f7;color:#185e72;font-size:12px}
#sfa-intake .cryo-batch-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
#sfa-intake .cryo-batch-meta>div{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
#sfa-intake .cryo-batch-meta span{color:#70828c;font-size:12px}
#sfa-intake .cryo-batch-meta strong{font-size:13px;font-weight:500}
#sfa-intake .cryo-change-history{background:#f6fafb;border:1px solid #d6e4e8;padding:12px;border-radius:8px;margin:12px 0}
#sfa-intake .cryo-change-history summary{cursor:pointer;color:#17657b;font-weight:600}
#sfa-intake #sfa-operation-feedback{position:fixed;inset-inline-end:24px;bottom:24px;z-index:10000;max-width:min(630px,calc(100vw - 48px));display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:11px;box-shadow:0 8px 32px #12374626;background:#fff;border:1px solid #a9d5be;border-inline-start:5px solid #2d8a5e;color:#1e5840;line-height:1.65}
#sfa-intake #sfa-operation-feedback[hidden]{display:none}
#sfa-intake #sfa-operation-feedback.is-error{color:#8e3b27;border-color:#e7bfaf;background:#fffaf8}
#sfa-intake #sfa-operation-feedback>strong{font-size:22px}
#sfa-intake #sfa-operation-feedback button{font-size:11px;padding:5px 10px;min-width:auto;background:transparent;color:inherit;border:1px solid currentColor}
@media(max-width:900px){#sfa-intake .cryo-metrics{grid-template-columns:1fr 1fr}#sfa-intake .cryo-metrics>section:last-child{grid-column:1/-1}#sfa-intake .cryo-batch-meta{grid-template-columns:1fr 1fr}}
@media print{#sfa-operation-feedback{display:none!important}}

#sfa-intake .cryo-batch-list li>button{color:#17657b!important;border-color:#aacbd5!important;background:#f4fafb!important}
#sfa-intake .cryo-batch-summary .cryo-quantity{min-width:85px}

#sfa-intake #sfa-hub-content table.cryo-audit-table{width:100%;table-layout:fixed;font-size:12px}
#sfa-intake #sfa-hub-content table.cryo-audit-table>thead>tr>th:nth-child(1),#sfa-intake #sfa-hub-content table.cryo-audit-table>tbody>tr>td:nth-child(1){width:16%}
#sfa-intake #sfa-hub-content table.cryo-audit-table>thead>tr>th:nth-child(2),#sfa-intake #sfa-hub-content table.cryo-audit-table>tbody>tr>td:nth-child(2){width:15%}
#sfa-intake #sfa-hub-content table.cryo-audit-table>thead>tr>th:nth-child(3),#sfa-intake #sfa-hub-content table.cryo-audit-table>tbody>tr>td:nth-child(3){width:22%}
#sfa-intake #sfa-hub-content table.cryo-audit-table>thead>tr>th:nth-child(4),#sfa-intake #sfa-hub-content table.cryo-audit-table>tbody>tr>td:nth-child(4){width:47%}
#sfa-intake #sfa-hub-content table.cryo-audit-table td{overflow-wrap:anywhere}

#sfa-cryo-summary-dialog{width:min(1100px,96vw);height:94vh;max-height:94vh;padding:0;border:1px solid #ccdce0;border-radius:12px;box-shadow:0 12px 60px #102b4350;color:var(--sf-text);background:var(--sf-panel)}
#sfa-cryo-summary-dialog[open]{display:flex;flex-direction:column}#sfa-cryo-summary-dialog::backdrop{background:#102b4388}.cryo-summary-toolbar{padding:12px 18px;border-bottom:1px solid #dce6e9}.cryo-summary-toolbar h3{margin:0 0 5px}.cryo-summary-toolbar>.action-group{margin-top:10px}.cryo-summary-toolbar select{max-width:230px}#sfa-cryo-summary-preview{border:0;width:100%;flex:1;min-height:0;background:#eaf0f2}#sfa-cryo-summary-status:empty{display:none}@media print{#sfa-cryo-summary-dialog{display:none!important}}

/* Bidirectional patient-file / freezing-batch navigation. */
#sfa-intake .cryo-navigation-icon{width:20px;height:20px;flex:none;vertical-align:middle}
#sfa-intake .cryo-patient-file-button,#sfa-intake .cryo-history-link{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#sfa-intake .cryo-detail-navigation{flex-wrap:wrap;margin-block:12px}
#sfa-intake .patient-freezing-history .cryo-history-link{min-width:0;padding:8px 10px;white-space:pre-line;text-align:inherit;line-height:1.6;background:transparent;color:var(--sf-accent,#126a7b);border-color:transparent;text-decoration:underline;text-underline-offset:4px}
#sfa-intake .patient-freezing-history .cryo-history-link:disabled{cursor:default;text-decoration:none;opacity:.65}
#sfa-intake .cryo-history-row{cursor:pointer}
#sfa-intake .cryo-history-row:hover,#sfa-intake .cryo-history-row:focus-within{background:#edf7fa}
#sfa-intake .cryo-history-link:focus-visible,#sfa-intake .cryo-patient-file-button:focus-visible{outline:3px solid #1a8097;outline-offset:3px}

/* Ovarian tissue uses the shared typography and form controls. */
.ovarian-panel .action-group{gap:10px;margin-block:16px}
html[lang=en] .ovarian-panel{text-align:left}
.ovarian-panel textarea{width:100%;min-height:90px}
