:root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#20364b;background:#edf2f6;font-size:16px;color-scheme:light;--blue:#3f779f;--line:#9cb3c5;--head:#cee2f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{border:1px solid #9cb3c5;background:white;color:#20364b;padding:8px 13px;border-radius:5px;min-height:36px}button:hover{background:#f1f6fa}button:disabled{opacity:.45}button[aria-selected=true],button[aria-pressed=true]{color:white;background:var(--blue);border-color:var(--blue)}button.primary{background:var(--blue);color:white;border-color:var(--blue)}a{color:var(--blue)}input:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#kaposi-qc-app{margin:24px auto;padding:24px 28px 30px;max-width:1800px;background:white;min-height:calc(100vh - 48px)}.top{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:24px}.top h1{font-size:24px;font-weight:600;margin:0 0 6px}.top p{margin:0;color:#536a7e}.account{display:flex;align-items:center;gap:14px;color:#64798d;font-size:12px;padding-top:6px;flex-wrap:wrap}.account span{max-width:240px;overflow-wrap:anywhere}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #dae5ed;flex-wrap:wrap}nav,.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.search input{border:1px solid #9cb3c5;border-radius:5px;padding:8px 10px;width:230px;min-height:36px}.groups{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:16px 0 11px}.groups button{border:0;padding:7px 11px}.groups span{margin-left:0;color:#536a7e;font-size:12px}.status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 0 10px;color:#536a7e;font-size:12px}#sync.error{color:#b24b3a}
.table-wrap{overflow:auto;width:100%;max-height:65vh;scrollbar-width:thin}table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content}th,td{min-width:130px;max-width:180px;height:51px;padding:10px 9px;text-align:center;vertical-align:middle;border-right:1px dashed var(--line);border-bottom:1px dashed var(--line);background:white}th{position:sticky;top:0;z-index:3;height:62px;background:var(--head);color:#20364b;font-weight:600;line-height:1.4}th:nth-child(1),td:nth-child(1){position:sticky;left:0;min-width:100px;max-width:100px;width:100px;z-index:2}th:nth-child(2),td:nth-child(2){position:sticky;left:100px;min-width:100px;max-width:100px;width:100px;z-index:2;border-right:2px dashed var(--line)}th:nth-child(1),th:nth-child(2){z-index:4}.wide{min-width:255px;max-width:255px}td input[type=text],td input[type=date],td input[type=number]{width:100%;border:0;background:white;color:#20364b;padding:4px 0;text-align:inherit;font:inherit;min-width:0}td input[readonly]{color:#536a7e}.check{display:flex;align-items:center;justify-content:center;min-height:32px}input[type=checkbox],input[type=radio]{accent-color:var(--blue);width:18px;height:18px;margin:0}.cell-option{border:0;padding:3px;min-height:28px;background:transparent;color:var(--blue);max-width:100%;text-align:left;white-space:normal}.saving{background:#f4f8fb}#empty{text-align:center;padding:36px 18px;color:#536a7e}#empty h2{color:#3b546a;font-size:18px;font-weight:500}#empty p{margin-bottom:18px}.table-nav{display:flex;align-items:center;gap:12px;padding-top:11px}.table-nav input{min-width:80px;flex:1;accent-color:var(--blue)}.table-nav button{font-size:12px;padding:5px 9px;min-height:30px}.pagination{display:flex;align-items:center;gap:8px;justify-content:flex-end;padding-top:12px;color:#536a7e;font-size:12px}.pagination span{margin-right:auto}.pagination button{font-size:12px;padding:4px 9px;min-height:30px}.foot{font-size:12px;line-height:1.7;color:#536a7e;margin:12px 0 0}#choices{padding:16px 0 4px;border-top:1px solid #dbe5ed;margin-top:16px}.choices-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.choices-heading h2{font-size:15px;font-weight:500;margin:0}#choices-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px 23px;padding-top:12px}#choices-options label{display:flex;align-items:center;gap:8px;min-height:36px}#alert{color:#ad4536;background:#fff7f4;border-left:3px solid #d88c77;padding:12px 14px;margin-top:14px;overflow-wrap:anywhere}
dialog{border:1px solid #ccdae4;border-radius:10px;max-width:600px;width:calc(100% - 32px);padding:22px;color:#20364b;background:white}dialog::backdrop{background:#243b5055}.dialog-heading,.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog-heading{margin-bottom:18px}.dialog-heading h2{font-size:19px;font-weight:500;margin:0}.dialog-actions{justify-content:flex-end;margin-top:16px}#create-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px 16px}#create-fields>label{display:flex;flex-direction:column;gap:6px;color:#526b80}#create-fields input:not([type=checkbox]),#create-fields select{width:100%;min-width:0;border:1px solid #9cb3c5;border-radius:4px;padding:9px;background:white;color:#20364b}.form-wide{grid-column:1/-1}.form-check{flex-direction:row!important;align-items:center;gap:8px!important}#create-error{color:#ad4536;margin:12px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:700px){#kaposi-qc-app{margin:0;padding:19px 12px 24px;min-height:100vh}.top{margin-bottom:17px;flex-direction:column;gap:8px}.top h1{font-size:21px}.account{padding:0}.toolbar{align-items:stretch}.actions{width:100%}.search{flex:1;min-width:190px}.search input{width:100%}.groups{gap:4px}.groups button{padding:6px 8px;font-size:13px}.groups span{width:100%;margin:2px 0}.table-wrap{max-height:62vh}th:nth-child(1),td:nth-child(1){min-width:80px;max-width:80px;width:80px}th:nth-child(2),td:nth-child(2){left:80px;min-width:80px;max-width:80px;width:80px}td input[type=text],td input[type=date],td input[type=number],.search input,#create-fields input:not([type=checkbox]),#create-fields select{font-size:16px}#create-fields{grid-template-columns:1fr}.form-wide{grid-column:auto}dialog{padding:18px}.foot{line-height:1.8}.pagination{flex-wrap:wrap}} 

/* Clear separation between the two workflows, with a single admission table. */
.toolbar nav button{font-weight:600;padding:10px 16px}
button[aria-selected=true]:hover,button[aria-pressed=true]:hover,button.primary:hover{background:#31668d}
.table-wrap{border:1px solid var(--line);border-radius:6px}
.groups{padding:16px 0 6px}
.groups span{font-size:13px}

/* Larger controls and a lighter blue header. */
select,.cell-option,#choices-options label{font-size:16px}
input[type=checkbox],input[type=radio]{width:22px;height:22px}
.follow-controls span,.writer-label,.foot,.groups span{font-size:14px}
