:root{--ink:#172b3a;--muted:#758391;--line:#e6ebef;--paper:#f6f8fa;--teal:#177b73;--teal-dark:#11645e;--navy:#173247;--blue:#eaf3fd;--amber:#fff5df;--violet:#f2efff;--green:#e8f5ee}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'Segoe UI',sans-serif}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:26px 16px;display:flex;flex-direction:column}.brand{height:34px;display:flex;align-items:center;gap:10px;font:800 18px 'Segoe UI',sans-serif;color:#183449;padding:0 8px}.brand-mark{width:28px;height:28px;border-radius:9px;background:#197e75;color:#fff;display:grid;place-items:center;font:800 16px 'Segoe UI'}.brand-light{color:#81919d;font-weight:600}.workspace-label{font-size:10px;font-weight:700;letter-spacing:1px;color:#9aa6b0;margin:42px 9px 13px}.nav{height:42px;border:0;background:transparent;color:#687986;text-align:left;border-radius:7px;padding:0 10px;font:600 13px 'Segoe UI';margin:2px 0;cursor:pointer}.nav.active{background:#eaf4f2;color:#176d66}.nav-icon{display:inline-block;width:27px;font-size:16px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:18px 7px 0;display:flex;align-items:center;gap:10px;font-size:12px}.sidebar-bottom strong{display:block;font-size:12px}.sidebar-bottom small{color:var(--muted);font-size:11px}.avatar{height:32px;width:32px;border-radius:50%;background:#e4efed;color:#246e69;display:grid;place-items:center;font-size:10px;font-weight:700}.more{margin-left:auto;color:#8996a1;font-size:19px}.main{margin-left:238px;padding:0 38px 28px;max-width:1800px}.topbar{height:62px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#83909b;font-size:12px}.crumb span{padding:0 8px;color:#bec7ce}.today{color:#536472}.page-head{display:flex;justify-content:space-between;align-items:end;padding:30px 0 22px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.2px;color:var(--teal);margin-bottom:7px}h1{font:700 26px 'Segoe UI',sans-serif;margin:0;color:#193247;letter-spacing:-.6px}.subhead{margin:7px 0 0;color:#778692;font-size:13px}.upload-button{background:var(--teal);color:#fff;border:0;border-radius:6px;height:38px;padding:0 15px;display:inline-flex;align-items:center;gap:7px;font:600 12px 'Segoe UI';cursor:pointer;box-shadow:0 2px 4px #11645e22}.upload-button:hover{background:var(--teal-dark)}.upload-button span{font-size:19px;font-weight:400}.notice{background:#edf6f5;border:1px solid #d9ebe8;color:#4b6665;border-radius:6px;padding:10px 12px;display:flex;align-items:center;gap:10px;font-size:11px;margin-bottom:17px}.notice strong{color:#276963}.notice-icon{border:1px solid #6c9e98;border-radius:50%;height:15px;width:15px;text-align:center;line-height:13px;font:600 10px 'Segoe UI';color:#43877f}.notice button{margin-left:auto;border:0;background:none;color:#75918f;font-size:18px;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{height:103px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:15px 16px;position:relative}.stat-label{font-size:9px;letter-spacing:.65px;font-weight:700;color:#7c8a96}.stat-icon{position:absolute;right:14px;top:12px;height:24px;width:24px;border-radius:6px;display:grid;place-items:center;font-size:12px}.blue{background:var(--blue);color:#4287bb}.amber{background:var(--amber);color:#c48c29}.violet{background:var(--violet);color:#7762c0}.green{background:var(--green);color:#44976b}.stat-number{font:700 25px 'Segoe UI',sans-serif;color:#18354b;margin-top:8px}.stat-note{font-size:10px;color:#8a97a1;margin-top:2px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.tabs{display:flex;gap:18px;height:34px}.tab{font:600 11px 'Segoe UI';color:#7f8b95;border:0;background:none;border-bottom:2px solid transparent;padding:0 1px;cursor:pointer}.tab span{background:#edf0f2;color:#72808a;padding:2px 6px;border-radius:10px;margin-left:4px;font-size:9px}.tab.selected{color:#176d66;border-bottom-color:var(--teal)}.tab.selected span{background:#e4f1ef;color:#286f68}.filters{display:flex;gap:8px}.search{height:32px;width:224px;border:1px solid #e1e7eb;background:#fff;border-radius:5px;display:flex;align-items:center;padding:0 9px;color:#94a0a9}.search span{font-size:18px;transform:rotate(-20deg)}.search input{width:100%;border:0;outline:0;background:transparent;padding-left:7px;font:11px 'Segoe UI';color:var(--ink)}.search input::placeholder{color:#a1acb4}.filters select{height:32px;border:1px solid #e1e7eb;background:white;border-radius:5px;color:#61717d;padding:0 24px 0 9px;font:11px 'Segoe UI'}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;min-height:215px}table{border-collapse:collapse;width:100%;table-layout:fixed}thead{background:#f9fafb}th{text-align:left;height:37px;padding:0 10px;font-size:9px;letter-spacing:.45px;color:#86939d;font-weight:700;border-bottom:1px solid var(--line)}td{padding:9px 10px;border-bottom:1px solid #eef1f3;vertical-align:middle;color:#4c5c68;font-size:11px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfc}th:nth-child(1){width:17%}th:nth-child(2){width:11%}th:nth-child(3){width:19%}th:nth-child(4){width:9%}th:nth-child(5){width:13%}th:nth-child(6){width:12%}th:nth-child(7){width:16%}th:nth-child(8){width:3%}.person{font-weight:600;color:#304656;font-size:11px}.company{color:#909ca5;font-size:10px;margin-top:3px}.exam{color:#405967;line-height:1.35}.result{color:#788791}.row-select,.date-input,.observation{height:27px;border:1px solid #e4e9ec;background:#fff;border-radius:4px;color:#5f707c;font:10px 'Segoe UI';padding:0 6px;width:100%}.row-select{font-weight:600}.row-select[data-state="Pendiente"]{color:#b07d26;background:#fffaf0;border-color:#f2e6c9}.row-select[data-state="Listo para enviar"]{color:#6554a8;background:#f8f6ff;border-color:#e9e4fa}.row-select[data-state="Enviado"]{color:#37835d;background:#f1faf5;border-color:#d8eee1}.date-input{font-size:10px}.observation{min-width:0}.observation::placeholder{color:#aab3ba}.action{border:0;background:none;color:#85939d;font-size:17px;cursor:pointer}.empty{text-align:center;padding:35px 16px 28px;color:#74838e}.empty-icon{font-size:25px;color:#9cb6b3;margin-bottom:8px}.empty strong{font:600 13px 'Segoe UI';color:#334c5c}.empty p{font-size:11px;margin:5px 0 15px}.secondary{height:31px;font-size:11px}footer{display:flex;justify-content:space-between;color:#98a4ad;font-size:10px;padding:11px 2px}.toast{position:fixed;right:25px;bottom:25px;background:#173d46;color:white;padding:11px 16px;border-radius:6px;font-size:12px;box-shadow:0 5px 20px #173d4633;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1100px){.main{padding-left:24px;padding-right:24px}.sidebar{width:205px}.main{margin-left:205px}.stats{gap:8px}.stat-card{padding-left:12px}.table-wrap{overflow:auto}table{min-width:1050px}}@media(max-width:760px){.sidebar{width:54px;padding:16px 7px}.brand{padding:0;justify-content:center}.brand>span,.workspace-label,.sidebar .nav:not(.active),.nav.active:not(:first-of-type),.sidebar-bottom>div:not(.avatar),.more{display:none}.nav.active{font-size:0;margin-top:35px}.nav-icon{font-size:18px;width:auto}.sidebar-bottom{justify-content:center;padding-left:0;padding-right:0}.main{margin-left:54px;padding:0 14px 20px}.topbar{height:50px}.page-head{align-items:start;gap:10px;flex-direction:column;padding:23px 0 17px}.stats{grid-template-columns:repeat(2,1fr)}.stat-card{height:95px}.toolbar{align-items:flex-start;flex-direction:column;gap:12px}.tabs{gap:12px}.filters{width:100%}.search{flex:1}.filters select{max-width:130px}.notice{align-items:flex-start}.notice button{flex:0 0 auto}footer{gap:15px;flex-direction:column}}

/* Agrupación por cita: cada persona y empresa se muestran una sola vez. */
th:nth-child(1){width:16%}th:nth-child(2){width:14%}th:nth-child(3){width:11%}th:nth-child(4){width:12%}th:nth-child(5){width:20%}th:nth-child(6){width:8%}th:nth-child(7){width:11%}th:nth-child(8){width:18%}
.group-cell{vertical-align:top;padding-top:12px;background:#fcfdfd;border-bottom-color:#e6ebef;font-weight:600;color:#3b5261}.company-cell{color:#284c5d}.person-cell{color:#486170}.exam-unchecked .exam{color:#c24141}.exam-checked .exam{color:#2874b8}.result-cell{text-align:center}.result-check{appearance:none;width:16px;height:16px;border:1.5px solid #c6d0d7;border-radius:4px;background:#fff;vertical-align:middle;cursor:pointer;position:relative}.result-check:checked{background:#347fca;border-color:#347fca}.result-check:checked:after{content:'✓';position:absolute;inset:-2px 0 0;color:#fff;text-align:center;font:bold 12px 'Segoe UI'}.result-check:focus-visible{outline:2px solid #91b9df;outline-offset:2px}tbody tr.exam-unchecked:hover,tbody tr.exam-checked:hover{background:#fafcfd}

/* Fecha y compromiso como valores agrupados; resaltados por fila. */
th:nth-child(1){width:9%}th:nth-child(2){width:11%}th:nth-child(3){width:14%}th:nth-child(4){width:13%}th:nth-child(5){width:19%}th:nth-child(6){width:7%}th:nth-child(7){width:11%}th:nth-child(8){width:13%}th:nth-child(9){width:3%;text-align:center}
.agenda-cell{color:#627581}.group-cell.group-sent{background:#edf7e9}.sent-row td{background:#edf7e9}.starred-row td{background:#fff2b8!important}.sent-row .date-input,.sent-row .observation,.starred-row .date-input,.starred-row .observation{background:transparent}.star-cell{text-align:center}.star-button{border:0;background:transparent;color:#a0aab1;font-size:20px;line-height:1;padding:2px 4px;cursor:pointer}.star-button[aria-pressed="true"]{color:#d19a19}.star-button:hover{color:#c58d08}.star-button:focus-visible{outline:2px solid #d5a82b;border-radius:4px}

/* Orden final solicitado y filas más compactas. */
th:nth-child(1){width:9%}th:nth-child(2){width:15%}th:nth-child(3){width:13%}th:nth-child(4){width:11%}th:nth-child(5){width:20%}th:nth-child(6){width:7%}th:nth-child(7){width:10%}th:nth-child(8){width:12%}th:nth-child(9){width:3%;text-align:center}
tbody td{padding:5px 8px}.group-cell{padding-top:5px}.date-input,.observation{height:21px}.exam{line-height:1.2}.star-button{font-size:17px;line-height:16px}
th:last-child{font-size:14px;color:#bd8032}

/* El marcado en amarillo afecta solo a las cinco celdas de la fila de examen. */
.starred-row .exam-cell,.starred-row .result-cell,.starred-row .send-cell,.starred-row .observation-cell,.starred-row .star-cell{background:#fff2b8!important}.starred-row .group-cell{background:#fcfdfd!important}.starred-row.sent-row .group-cell{background:#edf7e9!important}

[hidden]{display:none!important}
.exam-name-button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}.exam-name-button:hover{text-decoration:underline;text-underline-offset:2px}.exam-name-button:focus-visible{outline:2px solid #91b9df;outline-offset:2px;border-radius:2px}.exam-actions[popover]{position:fixed;inset:auto;margin:0;padding:5px;width:145px;border:1px solid #dce5e8;border-radius:7px;background:#fff;box-shadow:0 8px 24px #17324724;z-index:20}.exam-actions:popover-open{display:grid;gap:2px}.exam-actions button{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:4px;background:#fff;padding:9px 10px;color:#435966;text-align:left;font:600 11px 'Segoe UI';cursor:pointer}.exam-actions button:hover{background:#f2f7f7}.exam-actions button.danger{color:#b33b3b}.exam-actions button.danger:hover{background:#fff1f0}.exam-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.auth-gate{position:fixed;inset:0;z-index:10;background:#f2f6f7;display:grid;place-items:center;padding:20px}.auth-card{width:min(420px,100%);background:#fff;border:1px solid #e2e9ec;border-radius:12px;padding:32px;box-shadow:0 16px 45px #17324712}.auth-brand{padding:0;margin-bottom:34px}.auth-card h1{font-size:23px}.auth-card p{color:#7b8994;line-height:1.55;font-size:13px;margin:9px 0 22px}.auth-card label{display:block;font-size:11px;font-weight:700;color:#5e6e79;margin:14px 0 6px}.auth-card input{height:40px;width:100%;border:1px solid #dfe6e9;border-radius:5px;padding:0 10px;font:13px 'Segoe UI';outline-color:#77aaa4}.auth-submit{width:100%;justify-content:center;margin-top:18px;height:40px}.auth-message{font-size:12px;color:#b33b3b;margin-top:12px;min-height:17px}.auth-card code{font-size:11px;color:#365f73;background:#f2f7f8;padding:2px 4px;border-radius:3px}.sidebar-bottom .more{border:0;background:transparent;cursor:pointer;padding:0 4px}.management-dialog{width:min(780px,calc(100% - 28px));max-height:85vh;border:1px solid #e0e7eb;border-radius:10px;padding:0;box-shadow:0 18px 70px #16384b30;color:var(--ink)}.management-dialog::backdrop{background:#142d3d66;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:21px 24px 15px;border-bottom:1px solid var(--line)}.dialog-head h2{font:700 19px 'Segoe UI';margin:0}.dialog-head .eyebrow{margin-bottom:4px}.dialog-close{border:0;background:none;color:#7d8b95;font-size:24px;cursor:pointer;line-height:1}.invite-form{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:10px;align-items:end;padding:17px 24px;border-bottom:1px solid var(--line)}.invite-form label{font-size:10px;font-weight:700;color:#6a7983}.invite-form input,.invite-form select,.user-role{display:block;width:100%;height:34px;margin-top:5px;border:1px solid #dfe6e9;border-radius:5px;background:white;padding:0 8px;color:#405463;font:11px 'Segoe UI'}.invite-form .upload-button{height:34px}.user-list-wrap{overflow:auto;max-height:48vh;padding:0 24px}.user-table{min-width:580px}.user-table th{height:34px}.user-table td{height:45px}.user-role{width:125px;margin:0}.active-toggle{white-space:nowrap;font-size:11px;color:#64737d}.active-toggle input{vertical-align:middle;accent-color:#177b73}.user-save{border:1px solid #dce5e8;background:#fff;border-radius:4px;padding:6px 10px;color:#3d5967;font:600 10px 'Segoe UI';cursor:pointer}.user-save:hover{background:#eef6f5}.dialog-note{padding:0 24px 18px;color:#8c98a1;font-size:10px}.history-dialog .user-list-wrap{padding-bottom:15px}.history-dialog .user-table{min-width:650px}@media(max-width:600px){.auth-card{padding:25px}.invite-form{grid-template-columns:1fr;padding:15px}.user-list-wrap{padding:0 12px}.dialog-head{padding:17px}.dialog-note{padding:10px 16px 17px}}
.pagination{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:9px 11px;color:#82909a;font-size:10px}.pagination div{display:flex;gap:6px}.pagination button{border:1px solid #dfe6e9;border-radius:4px;background:#fff;padding:5px 9px;color:#566974;font:600 10px 'Segoe UI';cursor:pointer}.pagination button:disabled{opacity:.45;cursor:default}
@media(max-width:760px){.sidebar .nav:not(.active){display:block;font-size:0;text-align:center;padding:0}.sidebar .nav:not(.active) .nav-icon{width:auto;font-size:15px}.sidebar-bottom .more{display:block;font-size:16px;margin-left:4px}}
.text-button{display:block;border:0;background:transparent;color:#317870;font:600 11px 'Segoe UI';margin:10px auto 0;cursor:pointer}.password-form{padding:4px 24px 22px}.password-form p{color:#7a8993;font-size:12px}.password-form label{display:block;color:#5e6e79;font-size:11px;font-weight:700;margin:12px 0}.password-form input{width:100%;height:36px;display:block;border:1px solid #dfe6e9;border-radius:5px;margin-top:6px;padding:0 9px;font:12px 'Segoe UI'}.password-form .upload-button{margin-top:8px}
.table-wrap{max-height:min(70vh,720px);overflow:auto}.table-wrap thead th,.user-table thead th{position:sticky;top:0;z-index:5;background:#11645e;color:#fff;border-bottom:1px solid #0d554f}.table-wrap thead,.user-table thead{background:#11645e}.table-wrap th:last-child,.user-table th:last-child{color:#fff}.agenda-cell,.company-cell,.person-cell{color:#000!important}.sent-date{color:#000!important}.observation{display:block;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;color:#98a3ab}.observation.has-content{color:#000}.observation:focus-visible{outline:2px solid #91b9df;outline-offset:1px}.observation-dialog{width:min(640px,calc(100% - 28px))}.observation-form{padding:18px 24px 22px}.observation-form label{display:block;margin-bottom:7px;color:#202020;font-size:12px;font-weight:700}.observation-form textarea{display:block;width:100%;min-height:160px;resize:vertical;border:1px solid #dfe6e9;border-radius:5px;padding:10px;color:#000;font:13px/1.5 'Segoe UI';white-space:pre-wrap}.observation-form .upload-button{margin-top:9px}
.table-wrap th:nth-child(1){width:8%}.table-wrap th:nth-child(2){width:15%}.table-wrap th:nth-child(3){width:13%}.table-wrap th:nth-child(4){width:7%}.table-wrap th:nth-child(5){width:20%}.table-wrap th:nth-child(6){width:4%}.table-wrap th:nth-child(7){width:9%}.table-wrap th:nth-child(8){width:21%}.table-wrap th:nth-child(9){width:3%;text-align:center}
.result-cell-content{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:5px;width:100%}.group-result-toggle{grid-column:1;justify-self:end;border:0;background:transparent;color:#e48a17;font:700 12px/1 'Segoe UI',sans-serif;padding:2px;cursor:pointer}.result-check{grid-column:2;justify-self:end}.group-result-toggle:hover{color:#b96708}.group-result-toggle:focus-visible{outline:2px solid #efbd76;border-radius:3px}.group-result-toggle:disabled{opacity:.55;cursor:wait}
.toolbar{margin-bottom:0;align-items:flex-end}.tabs{height:38px;gap:4px;align-items:flex-end}.tab{height:34px;padding:0 13px;border:0;border-radius:10px 10px 0 0;font-weight:700;transition:height .12s ease,filter .12s ease}.tab.selected{height:38px;border:0;box-shadow:0 -2px 7px #17324720;position:relative;z-index:2}.tab[data-filter="Todos"]{background:#5799d4;color:#fff}.tab[data-filter="Pendentes"]{background:#f3a13f;color:#65400c}.tab[data-filter="Prontos"]{background:#b99be7;color:#482d70}.tab[data-filter="Enviados"]{background:#11645e;color:#fff}.tab span{background:#ffffff48;color:inherit;font-weight:700}.tab.selected span{background:#ffffff5c;color:inherit}.tab:hover{filter:brightness(1.06)}.table-wrap{border-top:0;border-radius:0 7px 7px 7px}.table-wrap[data-theme="Todos"] thead,.table-wrap[data-theme="Todos"] thead th{background:#5799d4;color:#fff;border-bottom-color:#437fb6}.table-wrap[data-theme="Pendentes"] thead,.table-wrap[data-theme="Pendentes"] thead th{background:#f3a13f;color:#65400c;border-bottom-color:#da892e}.table-wrap[data-theme="Prontos"] thead,.table-wrap[data-theme="Prontos"] thead th{background:#b99be7;color:#482d70;border-bottom-color:#a280d5}.table-wrap[data-theme="Enviados"] thead,.table-wrap[data-theme="Enviados"] thead th{background:#11645e;color:#fff;border-bottom-color:#0d554f}
.tabs{gap:2px;height:30px}.tab,.tab.selected{flex:0 0 132px;width:132px;height:30px;padding:0 5px;border-radius:14px 14px 0 0;clip-path:path("M 12 0 L 120 0 Q 130 0 130 10 L 132 30 L 0 30 L 2 10 Q 2 0 12 0 Z");box-shadow:none;transition:filter .12s ease}.tab.selected{position:relative;z-index:2}
@media(max-width:760px){.tabs{height:auto;flex-wrap:wrap;gap:2px}}
.table-wrap tbody td{padding-top:4px;padding-bottom:4px}.table-wrap th:nth-child(5){width:20%}.table-wrap th:nth-child(6){width:4%}.table-wrap th:nth-child(7){width:10%}.table-wrap th:nth-child(8){width:15%}.table-wrap th:nth-child(9){width:3%}.table-wrap td.result-cell{padding-left:2px;padding-right:2px}.result-cell-content{grid-template-columns:minmax(0,1fr) 16px;gap:1px}.group-cell{font-weight:400}
.table-wrap th:nth-child(6){width:4%;white-space:nowrap;font-size:8px;letter-spacing:0;padding-left:0;padding-right:0}.table-wrap td.result-cell{padding-left:0;padding-right:0}.result-cell-content{grid-template-columns:7px 14px;justify-content:end;gap:0}.group-result-toggle{font-size:8px;padding:0}.result-check{width:14px;height:14px}.result-check:checked:after{font-size:10px}
.table-wrap th:nth-child(5){width:20.5%}.table-wrap th:nth-child(6){width:3.5%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1;padding-left:0;padding-right:0}
.result-cell-content{grid-template-columns:minmax(16px,1fr) 16px;column-gap:5px;justify-content:stretch}.group-result-toggle{width:16px;min-width:16px;height:16px;display:grid;place-items:center;justify-self:end;font-size:0}.group-result-toggle::before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:8.66px solid #e48a17}.group-result-toggle:hover::before{border-top-color:#b96708}.result-check{grid-column:2;justify-self:end;width:16px;height:16px}.result-check:checked:after{font-size:11px}
.table-wrap tbody td{padding-top:2px;padding-bottom:2px}.table-wrap .date-input,.table-wrap .observation{height:17.75px}
.table-wrap th:nth-child(1){width:8%}.table-wrap th:nth-child(4){width:7%}.table-wrap th:nth-child(5){width:20%}.table-wrap th:nth-child(6){width:4%}.table-wrap th:nth-child(7){width:9%}.table-wrap th:nth-child(8){width:21%}.sent-row td,.group-cell.group-sent{background:#b7e1cd}.starred-row.sent-row .group-cell{background:#b7e1cd!important}
.table-wrap .sent-date{color:#98a3ab!important}.table-wrap .sent-date.has-date{color:#000!important}.table-wrap .sent-date::-webkit-datetime-edit{color:inherit}
.table-wrap th:nth-child(1){width:9%}.table-wrap th:nth-child(2){width:14%}.table-wrap th:nth-child(3){width:14%}.table-wrap th:nth-child(4){width:7%}.table-wrap th:nth-child(5){width:20%}.table-wrap th:nth-child(6){width:4%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1;padding-left:0;padding-right:0}.table-wrap th:nth-child(7){width:9%}.table-wrap th:nth-child(8){width:20%}.table-wrap th:nth-child(9){width:2%;text-align:center}
.table-wrap .observation[contenteditable="true"]{outline:none}.table-wrap .observation[contenteditable="true"]:focus{border-color:#91b9df;box-shadow:0 0 0 1px #91b9df}.table-wrap .observation[contenteditable="true"]:empty::before{content:attr(data-placeholder);color:#98a3ab}.table-wrap .observation[contenteditable="false"]{cursor:default}
.table-wrap th:nth-child(6){font-size:9px;letter-spacing:.45px}
.sidebar-operations{position:relative;margin:4px 0}.sidebar-operations .operations-menu{left:calc(100% + 8px);right:auto;top:0}.operations-nav{width:100%}.page-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.page-head-actions .today{text-align:right;color:#536472;font-size:12px}
@media(max-width:760px){.page-head-actions{align-items:flex-start}.page-head-actions .today{text-align:left}}
.expand-view-button{height:29px;width:29px;flex:0 0 29px;display:grid;place-items:center;border:1px solid #dce5e8;border-radius:6px;background:#fff;color:#536c78;cursor:pointer}.expand-view-button:hover{background:#edf5f4;color:#176d66}.expand-view-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.expand-view-button:focus-visible{outline:2px solid #91b9df;outline-offset:2px}
body.table-expanded{overflow:hidden}body.table-expanded .sidebar,body.table-expanded .page-head,body.table-expanded #notice,body.table-expanded .stats,body.table-expanded footer{display:none!important}body.table-expanded .main{margin:0;padding:0;max-width:none}body.table-expanded .toolbar{position:fixed;inset:0 0 auto;z-index:30;height:42px;margin:0;padding:4px 10px;align-items:center;background:var(--paper);border-bottom:1px solid var(--line)}body.table-expanded .toolbar .filters{display:none}body.table-expanded .table-wrap{position:fixed;inset:42px 0 0;z-index:20;max-height:none;min-height:0;border:0;border-radius:0;overflow:auto}body.table-expanded .table-wrap table{margin:0}
body.table-expanded .toolbar{height:36px;padding:0 10px;align-items:stretch;flex-direction:row;justify-content:space-between;gap:0}body.table-expanded .toolbar .tabs{display:flex;flex:0 0 auto;gap:2px;width:auto;height:30px;align-items:stretch;align-self:flex-end;overflow:visible}body.table-expanded .toolbar .tab,body.table-expanded .toolbar .tab.selected{flex:0 0 132px;width:132px;min-width:132px;height:30px;padding:0 5px;border-radius:14px 14px 0 0;clip-path:path("M 12 0 L 120 0 Q 130 0 130 10 L 132 30 L 0 30 L 2 10 Q 2 0 12 0 Z");box-shadow:none;font-size:11px;white-space:nowrap}body.table-expanded .toolbar .filters{display:flex;margin-left:auto;align-self:center;gap:0}body.table-expanded .toolbar .filters select{display:none}body.table-expanded .toolbar .search{width:min(320px,30vw);height:28px}body.table-expanded .toolbar .search input{font-size:11px}body.table-expanded .toolbar .expand-view-button{align-self:center}body.table-expanded .table-wrap{top:36px}
.date-picker-popup{position:fixed;z-index:1000;width:260px;padding:10px;background:#fff;border:1px solid #dce5e8;border-radius:8px;box-shadow:0 10px 28px #1732472b;color:#34515e}.date-picker-popup[hidden]{display:none}.calendar-heading{height:32px;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.calendar-heading strong{text-transform:capitalize;font-size:12px}.calendar-heading button{width:28px;height:28px;border:0;border-radius:5px;background:transparent;color:#476571;font:20px/1 'Segoe UI',sans-serif;cursor:pointer}.calendar-heading button:hover{background:#edf5f4}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}.calendar-weekdays{margin-bottom:3px;color:#81909a;font-size:9px;font-weight:700}.calendar-weekdays span{padding:4px 0}.calendar-day,.calendar-empty{width:30px;height:30px;justify-self:center}.calendar-day{border:0;border-radius:5px;background:transparent;color:#304b59;font:11px 'Segoe UI',sans-serif;cursor:pointer}.calendar-day:hover{background:#eaf4f2;color:#176d66}.calendar-day.selected{background:#177b73;color:white;font-weight:700}.sent-date{font-variant-numeric:tabular-nums;cursor:text}.send-cell{position:relative}
.date-field{position:relative;display:block;width:100%;height:17.75px}.date-field .sent-date{position:relative;z-index:2;height:100%;font-variant-numeric:tabular-nums}.date-mask-preview{display:none;position:absolute;z-index:1;inset:0;align-items:center;overflow:hidden;padding:0 6px;white-space:pre;font:10px 'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;pointer-events:none}.date-field.is-editing .date-mask-preview{display:flex}.date-mask-typed{color:#000}.date-mask-suggested{color:#98a3ab}.date-field.is-editing .sent-date{color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:#000;background:transparent!important}.date-field.is-editing .sent-date::placeholder{color:transparent;-webkit-text-fill-color:transparent}
.table-wrap .date-field .sent-date,.table-wrap .observation{border:0!important;background:transparent!important}
.table-wrap .observation[contenteditable="true"]:focus{box-shadow:none}
.date-field .sent-date{padding-right:24px!important}
.date-calendar-trigger{position:absolute;z-index:3;right:1px;top:0;width:20px;height:100%;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#768993;cursor:pointer}
.date-calendar-trigger:hover{color:#177b73}
.date-calendar-trigger:focus-visible{outline:2px solid #91b9df;outline-offset:1px;border-radius:3px}
.date-calendar-trigger svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.table-expanded .table-wrap th{font-size:12px;letter-spacing:.4px}
body.table-expanded .table-wrap td{font-size:14px}
body.table-expanded .table-wrap .exam,body.table-expanded .table-wrap .exam-name-button,body.table-expanded .table-wrap .observation{font-size:14px;line-height:1.35}
body.table-expanded .table-wrap .sent-date,body.table-expanded .table-wrap .date-mask-preview{font-size:13px}
body.table-expanded .table-wrap .date-mask-preview{font-family:'Segoe UI',sans-serif}
body.table-expanded .table-wrap .star-button{font-size:18px}
body.table-expanded .table-wrap .pagination{font-size:13px}
body.table-expanded .table-wrap .exam-actions button{font-size:14px;padding:11px 12px}
body.table-expanded .date-picker-popup{width:300px;padding:13px}
body.table-expanded .calendar-heading{height:38px}
body.table-expanded .calendar-heading strong{font-size:15px}
body.table-expanded .calendar-heading button{width:34px;height:34px;font-size:24px}
body.table-expanded .calendar-weekdays{font-size:12px}
body.table-expanded .calendar-day,body.table-expanded .calendar-empty{width:36px;height:36px}
body.table-expanded .calendar-day{font-size:14px}
body.table-expanded #observationDialog .dialog-head h2{font-size:22px}
body.table-expanded #observationDialog .observation-form label{font-size:15px}
body.table-expanded #observationDialog .observation-form textarea{font-size:16px}
#agendaTable th,#agendaTable td{border-color:#eef1f3!important}
#agendaTable thead th{border-top:0!important}
.table-wrap tbody td.group-cell{border-bottom:1px solid #eef1f3!important}
.toolbar{position:relative;z-index:6;margin-bottom:-1px!important;padding-bottom:0!important}
.toolbar .tabs{position:relative;z-index:7;align-self:flex-end}
.table-wrap{position:relative;z-index:1;margin-top:0!important}
body.table-expanded .toolbar{border-bottom:0}
body.table-expanded .toolbar .tabs{margin-bottom:-1px}
.stats{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
tbody tr.group-start:not(:first-child) td{border-top:2px solid #cbd6d8}
.topbar-actions{display:flex;align-items:center;gap:18px}.operations-menu-wrap{position:relative}.operations-button{height:30px;padding:0 11px;border:1px solid #dfe7e9;border-radius:5px;background:#fff;color:#315764;font:600 11px 'Segoe UI',sans-serif;cursor:pointer}.operations-button span{margin-left:6px;color:#7f9199}.operations-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:8;min-width:175px;padding:5px;background:#fff;border:1px solid #e0e7eb;border-radius:6px;box-shadow:0 8px 24px #17324720}.operations-menu[hidden]{display:none}.operations-menu button{display:block;width:100%;border:0;border-radius:4px;background:transparent;text-align:left;padding:9px;color:#3e5a67;font:500 11px 'Segoe UI',sans-serif;cursor:pointer}.operations-menu button:hover{background:#eef5f4}.operations-menu button.danger{color:#a43b35}.operations-dialog{width:min(520px,calc(100% - 28px))}.operations-form{padding:15px 24px 22px}.operations-form>p{margin:0 0 18px;color:#667985;font-size:12px;line-height:1.5}.operations-form .delete-warning{color:#9b3934;background:#fff3f1;border:1px solid #f3dad7;border-radius:5px;padding:10px}.range-options{border:1px solid #e2e8eb;border-radius:5px;padding:9px 12px 12px;margin:0 0 12px}.range-options legend{padding:0 5px;color:#647680;font-size:10px;font-weight:700}.range-options label{display:inline-flex;align-items:center;gap:5px;margin:3px 14px 0 0;color:#445d69;font-size:11px}.range-options input{accent-color:#177b73}.date-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.date-range[hidden]{display:none}.date-range label{color:#536a75;font-size:10px;font-weight:600}.date-range input{display:block;width:100%;height:34px;margin-top:5px;border:1px solid #dfe6e9;border-radius:5px;padding:0 8px;color:#405463;font:11px 'Segoe UI',sans-serif}.operations-form .upload-button{margin-top:5px}.danger-button{background:#a9413b}.danger-button:hover{background:#88332f}
