:root{color-scheme:light;--violet:#5B3FA8;--ui:#694DBC;--ink:#242424;--dark:#292532;--muted:#6B6B70;--line:#E7E5EC;--soft:#F7F7FA;--lilac:#F3F0FF;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
select{width:100%;max-width:100%;min-width:0;border:1px solid #c6c1ce;border-radius:9px;padding:.8rem .9rem;font:inherit;background:white}select:focus{outline:2px solid #937add;outline-offset:1px}.day-card{min-width:0;overflow-wrap:anywhere}summary{cursor:pointer;padding:.6rem 0;font-weight:650}input[type=checkbox]{width:auto}
*{box-sizing:border-box}body{margin:0;background:var(--soft);color:var(--ink);line-height:1.55}h1,h2{font-family:Manrope,Inter,system-ui,sans-serif;line-height:1.2}h1{font-size:clamp(1.8rem,5vw,2.9rem);margin:.5rem 0}h2{font-size:1.4rem;margin:0 0 .8rem}.shell{width:min(900px,calc(100% - 2rem));margin:0 auto}.hero{background:var(--dark);color:#F7F5FA;padding:1.7rem 0 2.1rem;background-image:linear-gradient(120deg,transparent 5%,rgba(155,147,171,.045) 5%,rgba(155,147,171,.045) 11%,transparent 11%,transparent 72%,rgba(155,147,171,.045) 72%,rgba(155,147,171,.045) 79%,transparent 79%)}.brand{display:block;max-width:min(260px,78vw);max-height:110px;object-fit:contain;object-position:left}.hero-copy{max-width:750px;margin-top:1.3rem}.hero-copy p{color:#D7C6F5;margin:.4rem 0}.eyebrow{letter-spacing:.08em;font-size:.74rem;font-weight:800;color:var(--violet)}.hero .eyebrow{color:#D7C6F5}.tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.3rem 0}.tabs a{padding:.66rem 1rem;border:1px solid var(--line);border-radius:9px;color:var(--dark);text-decoration:none;background:white;font-weight:600}.tabs a[aria-current=page]{background:var(--ui);color:white;border-color:var(--ui)}.panel{background:white;border:1px solid var(--line);padding:clamp(1rem,3vw,2rem);border-radius:16px;box-shadow:0 5px 22px #2925320b}.muted{color:var(--muted)}form{display:grid;gap:.7rem;max-width:540px}label{font-size:.9rem;font-weight:650;margin-top:.4rem}input{border:1px solid #c6c1ce;border-radius:9px;padding:.8rem .9rem;font:inherit;width:100%;min-width:0}input:focus{outline:2px solid #937add;outline-offset:1px}button{border:0;background:var(--ui);color:white;font:inherit;font-weight:700;padding:.77rem 1.1rem;border-radius:9px;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.quiet{background:#F3F0FF;color:var(--violet)}.notice{margin:1rem 0;padding:1rem;border:1px solid var(--line);background:#F3F0FF;border-radius:10px}.notice.error{background:#fff2f0;border-color:#ddafad;color:#86252b}.between{display:flex;justify-content:space-between;align-items:start;gap:1rem}.stack{display:grid;gap:.9rem}.stat{background:var(--lilac);padding:1rem;border-radius:10px}.records{list-style:none;padding:0;margin:.5rem 0;display:grid;gap:.5rem}.records li{padding:.75rem 1rem;border:1px solid var(--line);border-radius:9px;display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.pill{font-size:.8rem;border-radius:1rem;padding:.2rem .6rem;background:#eeeaf8;color:#49377d}.row{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.subtle{font-size:.85rem;color:var(--muted)}.employee{display:flex;justify-content:space-between;gap:1rem;align-items:center}.pin-once{padding:1rem;background:#f9f5e9;border:1px solid #dcc589;border-radius:9px}footer{margin:2rem 0;color:var(--muted);font-size:.82rem}@media(max-width:600px){.employee{align-items:flex-start;flex-direction:column}.between{align-items:center}.tabs a{flex:1;text-align:center;font-size:.85rem;padding:.6rem .2rem}.panel{padding:1.15rem}}

/* CHAT06 v1: solo presentación del panel ADMIN; roles, API y reglas de fichaje intactos. */
.admin-sidebar[hidden], .admin-workspace-heading[hidden], .admin-feature-notice[hidden], .admin-menu-toggle[hidden]{display:none!important}
.admin-sidebar{position:fixed;inset:0 auto 0 0;width:260px;z-index:50;display:flex;flex-direction:column;overflow-y:auto;background:#292532;color:#fff;padding:1.45rem 1rem 1rem;box-shadow:8px 0 30px #29253213}
.admin-sidebar-brand{padding:.5rem .65rem 1.55rem;border-bottom:1px solid #ffffff26}
.admin-sidebar-brand img{display:block;width:175px;max-width:100%;height:auto;object-fit:contain}
.admin-sidebar-caption{margin:1.15rem .45rem 1.6rem;padding:.75rem .65rem;border-left:3px solid #9474df;background:#1e1b25;border-radius:7px;font-size:.7rem;font-weight:800;letter-spacing:.05em}
.admin-sidebar-nav{display:flex;flex-direction:column;gap:.28rem}
.admin-sidebar-group{font-size:.7rem;font-weight:800;letter-spacing:.045em;color:#ded0f8;margin:1.1rem .6rem .35rem;padding-top:.7rem;border-top:1px solid #ffffff19}
.admin-nav-link{width:100%;min-height:44px;display:flex;gap:.65rem;align-items:center;padding:.68rem .7rem;border-radius:9px;text-align:left;background:transparent;color:#f6f3fb;font-size:.84rem;font-weight:700;line-height:1.3}
.admin-nav-link>span:first-child{font-size:1.2rem;min-width:20px;text-align:center;font-weight:500}
.admin-nav-link--nested{padding-left:1.1rem;font-size:.8rem}
.admin-nav-link[aria-current="page"]{background:#694dbc;color:white}
.admin-nav-link:hover:not(.admin-nav-link--future),.admin-nav-link:focus-visible:not(.admin-nav-link--future){background:#514065}
.admin-nav-link--future{color:#c1b9d0;cursor:pointer}
.admin-nav-link--future:hover,.admin-nav-link--future:focus-visible{background:#ffffff14}
.admin-nav-ban{margin-left:auto;font-size:1.2rem;color:#b3a5d4}
.admin-sidebar-logout{margin-top:auto;background:transparent;color:#f6f3fb;text-align:left;border-top:1px solid #ffffff26;border-radius:0;padding:1.2rem .6rem .5rem;font-size:.84rem}
.admin-sidebar-logout:hover,.admin-sidebar-logout:focus-visible{background:#514065;border-radius:8px}
.admin-workspace .hero,.admin-workspace .tabs{display:none}
.admin-workspace main.shell{width:calc(100% - 260px - 3.5rem);max-width:1430px;margin:0 1.75rem 0 calc(260px + 1.75rem);padding:1.6rem 0 1rem}
.admin-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.25rem}
.admin-workspace-site{display:flex;flex-direction:column;gap:.15rem;padding:.8rem 1.1rem;border:1px solid #e7e5ec;background:#f0eff4;border-left:4px solid #694dbc;border-radius:12px}
.admin-workspace-site span{font-size:.7rem;font-weight:800;letter-spacing:.07em;color:#74658d}
.admin-workspace-site strong{font-size:1.2rem;color:#292532}
.admin-workspace-title{display:flex;flex-direction:column;align-items:flex-end;background:#f0eff4;border:1px solid #e7e5ec;border-left:4px solid #694dbc;border-radius:12px;padding:.7rem 1.2rem}
.admin-workspace-title strong{font:800 clamp(1.25rem,2.1vw,1.65rem)/1.2 Manrope,Inter,system-ui,sans-serif;color:#292532}
.admin-workspace-title small{color:#786e86}
.admin-workspace #app-panel{background:transparent;border:0;box-shadow:none;padding:0}
.admin-workspace #app-panel>.between{align-items:center;margin-bottom:1rem}
.admin-workspace #app-panel>.between h2{margin:0;font-size:1.45rem}
.admin-workspace #admin-site{color:#6b6480;font-size:.88rem}
.admin-workspace #daily-control,.admin-workspace #employee-management,.admin-workspace #app-content>.stack>details:not(#employee-management){background:#fff;border:1px solid #e7e5ec;box-shadow:0 8px 25px #2925320a;border-radius:16px;padding:clamp(1rem,2.2vw,1.55rem)}
.admin-workspace #daily-control form{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.admin-workspace #daily-control .day-card{background:#fcfbfe;border-left:4px solid #694dbc;border-radius:12px;padding:1rem 1.2rem}
.admin-workspace #employee-management[open]{scroll-margin-top:1rem}
.admin-workspace #employee-management summary{color:#5b3fa8;font-size:1rem}
.admin-workspace #correction-form{scroll-margin-top:2rem}
.admin-workspace #app-content>.stack>details{scroll-margin-top:1rem}
.admin-workspace #notice{scroll-margin-top:1rem}
.admin-feature-notice{background:#f3f0ff;border:1px solid #dcd1f1;border-left:4px solid #694dbc;padding:.85rem 1rem;border-radius:12px;margin:0 0 1rem;color:#49377d;font-size:.92rem}
.admin-menu-toggle{display:none}
@media(max-width:900px){
  .admin-sidebar{width:260px;transform:translateX(-110%);transition:transform .18s ease}
  .admin-nav-open .admin-sidebar{transform:translateX(0)}
  .admin-workspace main.shell{width:calc(100% - 2rem);margin:0 auto;padding:1rem 0}
  .admin-workspace-heading{flex-wrap:wrap}
  .admin-workspace-title{flex:1}
  .admin-workspace .admin-menu-toggle:not([hidden]){display:block}
}
@media(max-width:600px){
  .admin-workspace-title{width:100%;align-items:flex-start}
  .admin-workspace-site{flex:1}
  .admin-workspace #daily-control form{grid-template-columns:1fr}
  .admin-workspace #app-panel>.between{flex-wrap:wrap}
}

/* TR-ADMIN-01: mismo lenguaje visual del ADMIN v9, conectado a lecturas autenticadas.
   No hay estilos aplicados a las rutas /fichaje ni /consulta. */
body.admin-route:not(.admin-workspace){min-height:100dvh;background:#f7f7fa}
.admin-route:not(.admin-workspace) .hero{position:fixed;inset:0 auto 0 0;width:44%;display:flex;align-items:center;justify-content:center;background:#292532;color:#fff;padding:clamp(2rem,4vw,5rem);margin:0}
.admin-route:not(.admin-workspace) .hero>.shell{width:100%;max-width:510px;margin:0}
.admin-route:not(.admin-workspace) .hero .brand{max-width:min(330px,100%);max-height:130px}
.admin-route:not(.admin-workspace) .hero-copy{margin-top:2rem}
.admin-route:not(.admin-workspace) .hero-copy h1{font-size:clamp(2rem,3vw,3.2rem);color:#fff}
.admin-route:not(.admin-workspace) .hero-copy p{font-size:1rem;color:#ccc3d9;line-height:1.75}
.admin-route:not(.admin-workspace) main.shell{width:56%;max-width:none;min-height:100dvh;margin:0 0 0 44%;padding:clamp(1.5rem,6vw,5rem);display:flex;flex-direction:column;justify-content:center}
.admin-route:not(.admin-workspace) .tabs{display:none}
.admin-route:not(.admin-workspace) #login-panel{width:min(100%,530px);margin:auto;background:transparent;border:0;border-radius:0;box-shadow:none;padding:1rem}
.admin-route:not(.admin-workspace) #login-panel h2{font-size:clamp(1.8rem,3vw,2.5rem);color:#292532;margin-bottom:.75rem}
.admin-route:not(.admin-workspace) #login-panel .muted{color:#746e7c;line-height:1.6}
.admin-route:not(.admin-workspace) #login-form{max-width:none;gap:1rem;margin:1.4rem 0 0}
.admin-route:not(.admin-workspace) #login-form label{color:#4b4058;font-size:.88rem}
.admin-route:not(.admin-workspace) #login-form input{min-height:51px;background:#fff}
.admin-route:not(.admin-workspace) #login-form #site{background:#f1eff5;color:#5f5870}
.admin-route:not(.admin-workspace) #login-form #login-btn{margin-top:.65rem;min-height:50px;background:#694dbc}
.admin-route:not(.admin-workspace) footer{font-size:.77rem;color:#837a8b;text-align:center;margin:1rem auto}
.admin-route:not(.admin-workspace) .notice{max-width:530px;margin:1rem auto;width:100%}
.admin-workspace #access-security{display:none}
.admin-workspace .admin-live{width:100%;gap:1rem}
.admin-live-section-label{font-size:.77rem;color:#736b81;letter-spacing:.01em;margin:0}
.admin-live-block{border:1px solid #e8e3ed;background:#fff;padding:clamp(1rem,2.4vw,1.55rem);border-radius:16px;box-shadow:0 7px 22px #2925320b;display:flex;flex-direction:column;gap:1rem}
.admin-live-heading h3{margin:0 0 .35rem;color:#292532;font-size:1.18rem}
.admin-live-heading p{font-size:.81rem;color:#787083;margin:0}
.admin-live-search-label{display:flex;flex-direction:column;gap:.45rem;max-width:720px;color:#4e425e}
.admin-live-search{min-height:49px;border-color:#dcd4e8;border-radius:10px}
.admin-live-count{font-size:.8rem;color:#7a7185;margin:.2rem 0}
.admin-live-employees{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.admin-live-person-card{background:#fff;border:1px solid #e7e2ec;border-radius:14px;padding:1.15rem;display:flex;flex-direction:column;gap:1.1rem;box-shadow:0 7px 20px #29253208}
.admin-live-person-top{display:flex;align-items:flex-start;gap:.85rem;min-height:140px}
.admin-live-avatar{width:62px;height:62px;border-radius:50%;flex:none;background:#f1ecfa;position:relative;overflow:hidden}
.admin-live-avatar::before{content:"";position:absolute;left:39%;top:18%;width:22%;height:31%;background:#6959a3;border-radius:50%}
.admin-live-avatar::after{content:"";position:absolute;left:21%;bottom:8%;width:58%;height:42%;background:#4c3b83;border-radius:50% 50% 16% 16%}
.admin-live-person-info{min-width:0;overflow-wrap:anywhere}
.admin-live-person-info strong{color:#332c3d;font-size:1rem;line-height:1.35;display:block}
.admin-live-person-info p{font-size:.77rem;color:#766e81;margin:.35rem 0;line-height:1.5}
.admin-live-person-info p:nth-child(3){color:#594582;font-weight:750}
.admin-live-muted{font-size:.78rem;color:#7b7188!important;line-height:1.65;margin:.3rem 0}
.admin-live-card-action{display:block;width:100%;background:#f1ebfa;border:1px solid #ded2ed;border-radius:10px;color:#60479c;min-height:42px;font-size:.82rem}
.admin-live-card-action:hover{background:#e7dcf7}
.admin-live-read-warning{color:#615273;border-left:3px solid #9474df;background:#f5f1fb;border-radius:7px;padding:.85rem 1rem;font-size:.82rem;line-height:1.55;margin:0}
.admin-live-filters{max-width:none;display:grid;grid-template-columns:minmax(120px,1fr) minmax(165px,1.1fr) minmax(175px,1.2fr) auto auto;align-items:end;gap:.85rem}
.admin-live-filters label{display:flex;flex-direction:column;gap:.4rem;margin:0;font-size:.8rem;color:#554766}
.admin-live-filters label input,.admin-live-filters label select{font-size:.87rem;min-height:45px}
.admin-live-filters .admin-live-check{display:flex;align-items:center;flex-direction:row;min-height:45px;gap:.45rem;max-width:190px;line-height:1.25}
.admin-live-filters input[type="checkbox"]{min-height:0;width:auto}
.admin-live-filters button{min-height:45px}
.admin-live-table-scroll{overflow-x:auto;border:1px solid #e8e1ee;border-radius:10px}
.admin-live-table{width:100%;min-width:960px;border-collapse:collapse;text-align:left}
.admin-live-table thead{background:#f1eafb;color:#604681}
.admin-live-table th{padding:.8rem .7rem;white-space:nowrap;font-size:.76rem}
.admin-live-table td{padding:.95rem .7rem;border-top:1px solid #eeeaf2;color:#3e3648;font-size:.8rem;vertical-align:top}
.admin-live-table .admin-live-status{font-weight:750;color:#5f478d}
.admin-live-detail-row td{padding:.3rem .8rem 1.05rem;background:#faf9fc}
.admin-live-detail-row summary{font-size:.78rem;color:#654a9d;padding:.4rem 0;cursor:pointer}
.admin-live-audit{padding-left:1.25rem;margin:.2rem 0;color:#756981}
.admin-live-audit li{padding:.25rem 0;font-size:.8rem;overflow-wrap:anywhere}
.admin-live-empty{text-align:center;padding:1.5rem;color:#81768e;font-size:.85rem}
.admin-live-employee-result .admin-live-empty{text-align:left}
@media(max-width:1250px){.admin-live-employees{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-live-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-route:not(.admin-workspace) .hero{position:static;width:100%;min-height:210px;padding:1.7rem}.admin-route:not(.admin-workspace) main.shell{width:100%;min-height:auto;margin:0;padding:1.5rem 1rem}.admin-route:not(.admin-workspace) .hero-copy{margin-top:.85rem}.admin-route:not(.admin-workspace) .hero-copy h1{font-size:1.5rem}.admin-route:not(.admin-workspace) .hero-copy p{font-size:.84rem}.admin-route:not(.admin-workspace) #login-panel{padding:.5rem}.admin-live-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){.admin-live-employees{grid-template-columns:1fr}.admin-live-filters{grid-template-columns:1fr}.admin-live-person-top{min-height:0}.admin-live-block{padding:1rem}}

/* TR-ADMIN-01 responsive safeguard: prevent a wide attendance table from
   imposing its min-content width on the outer mobile page (Firefox flexbox).
   The table itself continues to scroll horizontally within its own region. */
.admin-workspace #app-panel,
.admin-workspace #app-content,
.admin-workspace .admin-live,
.admin-workspace .admin-live-block,
.admin-workspace .admin-live-employee-result,
.admin-workspace .admin-live-table-scroll{
  min-width:0;
  max-width:100%;
}
.admin-workspace .admin-live-table-scroll{width:100%}
.admin-workspace .admin-workspace-heading>*{min-width:0}
.admin-workspace .admin-workspace-site strong{overflow-wrap:anywhere}

/* Firefox mobile: 'width:100%' alone does not override earlier flex:1.
   Force the ADMIN heading title onto its own row below menu and site. */
@media(max-width:600px){
  .admin-workspace .admin-workspace-heading>.admin-workspace-title{
    flex:0 0 100%;
    width:100%;
    min-width:0;
  }
}


/* TR-ADMIN-02: empleados — edición mínima y confirmación explícita. */
.admin-workspace .admin-live-employee-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}
.admin-workspace .admin-live-employee-toolbar .admin-live-heading{flex:1;min-width:200px}
.admin-workspace .admin-live-add-employee{background:#32236c;color:#fff;min-height:45px;font-size:.84rem;white-space:normal}
.admin-workspace .admin-live-add-employee:hover{background:#48348f}
.admin-workspace .admin-live-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.admin-workspace .admin-live-card-actions button{min-height:43px;padding:.65rem .5rem;font-size:.82rem}
.admin-workspace .admin-live-card-manage{border:1px solid #d7c9e8;background:#fff;color:#493479}
.admin-workspace .admin-live-card-manage:hover{background:#f4f0fa}
.admin-live-employee-dialog{border:1px solid #ded6e8;border-radius:17px;width:min(94vw,540px);max-width:540px;max-height:90dvh;overflow-y:auto;box-shadow:0 24px 80px #16101f44;padding:clamp(1.1rem,3vw,1.8rem);color:#292532}
.admin-live-employee-dialog::backdrop{background:#1b162ac4}
.admin-live-employee-dialog h3{font:800 1.35rem/1.3 Manrope,Inter,system-ui,sans-serif;color:#292532;margin:0 0 .45rem}
.admin-live-employee-dialog>.admin-live-muted{margin:.2rem 0 1.2rem}
.admin-live-employee-form{display:flex;flex-direction:column;gap:1rem;max-width:none}
.admin-live-employee-field{display:flex;flex-direction:column;gap:.4rem;font-size:.87rem;color:#423655;margin:0}
.admin-live-employee-field input{min-height:46px;width:100%}
.admin-live-employee-field input[readonly]{background:#f4f2f7;color:#696273}
.admin-live-employee-toggle,.admin-live-employee-confirm{display:flex;gap:.65rem;align-items:flex-start;font-size:.85rem;line-height:1.4;color:#4f4262}
.admin-live-employee-toggle input,.admin-live-employee-confirm input{flex:none;width:19px;height:19px;margin:.07rem 0 0;padding:0;accent-color:#694dbc}
.admin-live-employee-warning{margin:0;font-size:.8rem;color:#675775;background:#f6f2fb;padding:.8rem;border-left:3px solid #9775ce;border-radius:7px;line-height:1.5}
.admin-live-employee-confirm{padding:.85rem;border:1px solid #c8a5ad;background:#fff4f5;border-radius:9px;font-weight:750}
.admin-live-employee-confirm[hidden]{display:none}
.admin-live-employee-feedback{min-height:0;color:#8e2633;margin:0;font-size:.84rem}
.admin-live-employee-feedback:empty{display:none}
.admin-live-employee-actions{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;flex-wrap:wrap}
.admin-live-employee-actions button{min-height:44px;font-size:.84rem}
.admin-live-employee-submit{background:#694dbc;color:#fff}
@media(max-width:590px){
  .admin-workspace .admin-live-card-actions{grid-template-columns:1fr}
  .admin-workspace .admin-live-add-employee{width:100%}
  .admin-live-employee-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-live-employee-dialog{width:calc(100vw - 1.2rem);padding:1rem}
}


/* TR-ADMIN-03: correcciones auditadas, únicamente en ADMIN autenticado. */
.admin-workspace .admin-live-correction{
  min-width:0;max-width:100%;border:1px solid #e6ddec;border-radius:15px;
  background:#fff;padding:clamp(1rem,2.2vw,1.45rem);box-shadow:0 7px 20px #2925320a;
}
.admin-workspace .admin-live-correction>summary{
  color:#594185;font-size:1rem;font-weight:800;line-height:1.4;
}
.admin-workspace .admin-live-correction>.admin-live-read-warning{margin:.65rem 0 1rem}
.admin-workspace .admin-live-correction-form{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;
  width:100%;max-width:none;
}
.admin-workspace .admin-live-correction-field{
  display:flex;flex-direction:column;gap:.45rem;margin:0;min-width:0;
  color:#4b4057;font-size:.83rem;font-weight:700;
}
.admin-workspace .admin-live-correction-field>input,
.admin-workspace .admin-live-correction-field>select,
.admin-workspace .admin-live-correction-field>textarea{
  width:100%;min-width:0;max-width:100%;font-size:.88rem;
  border:1px solid #d8cfe3;border-radius:9px;min-height:46px;
}
.admin-workspace .admin-live-correction-field[hidden]{display:none!important}
.admin-workspace .admin-live-correction-accept{
  grid-column:1/-1;display:flex;align-items:flex-start;gap:.65rem;
  font-size:.82rem;font-weight:700;color:#5f4c71;margin:.35rem 0;
}
.admin-workspace .admin-live-correction-accept input{
  flex:none;max-width:21px;width:21px;height:21px;margin:.1rem 0 0;
  accent-color:#694dbc;
}
.admin-workspace .admin-live-correction-feedback{
  grid-column:1/-1;color:#843241;font-size:.8rem;line-height:1.5;margin:0;
  overflow-wrap:anywhere;
}
.admin-workspace .admin-live-correction-feedback:empty{display:none}
.admin-workspace .admin-live-correction-actions{
  grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;
}
.admin-workspace .admin-live-correction-actions button{min-height:45px;font-size:.82rem}
.admin-workspace .admin-live-correction-actions [hidden]{display:none!important}
@media(max-width:650px){
  .admin-workspace .admin-live-correction-form{grid-template-columns:1fr}
  .admin-workspace .admin-live-correction-actions{flex-direction:column;align-items:stretch}
}

/* CHAT06 private QA provider: only shown when the server opts in. */
.qa-vercel-signin{
  display:block;max-width:420px;margin:1rem 0 .5rem;
  padding:.9rem 1rem;border-radius:10px;text-align:center;
  background:#5B3FA8;color:#fff;font-weight:700;text-decoration:none;
  box-sizing:border-box;
}
.qa-vercel-signin:hover,.qa-vercel-signin:focus-visible{
  background:#694DBC;color:#fff;outline-offset:3px;
}
