/* Identidad de Just Be You: manual de marca recibido el 22 de octubre de 2026. */
@font-face{font-family:'TT Drugs';src:url('assets/brand/tt-drugs-regular.woff') format('woff');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0020,U+0041-005A,U+0061-007A,U+00D1,U+00E1,U+00E9,U+00ED,U+00F1,U+00F3,U+00FA}
@font-face{font-family:'Realistic Nature';src:url('assets/brand/realistic-nature.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
:root{--brand-sage:#8A9B78;--brand-pink:#FDD9DD;--brand-rose:#D9A0A6;--brand-cream:#FFFDF9;--brand-gold:#8E6B16;--ink:#293226;--muted:#636A5C;--paper:var(--brand-cream);--white:#fff;--line:#E6E7DD;--olive:#526442;--forest:var(--brand-sage);--gold:var(--brand-gold);--light-gold:#FFF1B8;--green:#EDF1E8;--shadow:0 18px 60px #8A9B781A;font-family:'TT Drugs','Avenir Next','Segoe UI',sans-serif;font-synthesis:weight}
body{background:var(--brand-cream)}
/* Fondo suave en los tonos de la marca, adaptado al área de trabajo. */
.shell .workspace{position:relative;isolation:isolate;min-height:100svh}
.shell .workspace::before{content:'';position:fixed;inset:0 0 0 238px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 0%,#8A9B782B 0%,transparent 58%),radial-gradient(ellipse at 0% 100%,#FDD9DD66 0%,transparent 55%),#F7F8F3}
.shell .page-heading{padding:22px 24px;border:1px solid #DDE2D4;border-radius:12px;background:var(--brand-cream)}
.shell .footer-line{padding:12px 16px;border:1px solid #DDE2D4;border-radius:9px;background:var(--brand-cream)}
@media(max-width:1200px){.shell .workspace::before{left:208px}}
@media(max-width:760px){
  .shell .workspace::before{left:0}
  .shell .page-heading{padding:18px 16px}
}
@media print{.shell .workspace::before{display:none}}
h1,h2{font-family:'Realistic Nature',Georgia,serif;font-weight:400;letter-spacing:0;line-height:1.2}
h3,h4{font-family:'TT Drugs','Avenir Next','Segoe UI',sans-serif;letter-spacing:0}
h1{font-size:34px}h2{font-size:24px}
button:focus-visible,a:focus-visible{outline-color:var(--brand-gold)}
input:focus,select:focus,textarea:focus{outline-color:#687C55}
input,select,textarea{border-color:#D8DECF;background:var(--brand-cream);color:var(--ink)}
.field{color:#45533A}.eyebrow{color:var(--brand-gold)}
.btn-primary{background:var(--brand-sage);color:#202A1B;border:1px solid #7C8E68}
.btn-primary:hover{background:#9CAD8A;color:#202A1B}
.btn-outline{background:var(--brand-cream);color:#455638;border-color:#C7D0BD}
.btn-outline:hover{background:#EDF1E7}
.btn-gold{background:var(--brand-pink);color:#5C3940;border:1px solid var(--brand-rose)}
.btn-ghost,.text-link{color:#526442}
.card,.intake-card,.access-card{background:var(--brand-cream);border-color:#DDE2D4}
.badge.green{background:#E7EEDB;color:#435733}.badge.amber{background:#FFF1B8;color:#765810}.badge.gray{background:#F7E6E8;color:#784E54}
.icon-btn{color:#596A49}.icon-btn:hover{background:#FBE6E8}
.mini-caption{color:#656C5E}
.card-heading p,.quick-card>p,.shortcut small,.session-preview p,.stat-hint,.footer-line,.section-title span,.empty,.table-footer,.client-cell span{color:#636A5C}

/* Se utiliza el logotipo original, sin el recuadro negro ni texto duplicado. */
.brand img.brand-logo,.access-brand img.brand-logo,.intake-brand img.brand-logo{height:auto;object-fit:contain;border-radius:0;flex-shrink:0}
.brand>div,.access-brand>div,.intake-brand>div{display:none}
.brand{display:block;padding:0 0 22px;border-color:#6B7D5860}
.brand img.brand-logo{width:198px;max-width:100%}
.access-brand{justify-content:center;margin-bottom:32px}
.access-brand img.brand-logo{width:280px;max-width:100%}
.intake-brand img.brand-logo{width:190px;max-width:100%}
.mobile-brand{object-fit:contain;background:var(--brand-cream);padding:2px}

/* Panel privado. */
.sidebar{background:var(--brand-sage);color:#202A1B}
.nav-label,.side-version{color:#202A1B}
.nav button{color:#202A1B;font-weight:500}
.nav button.active{background:var(--brand-cream);color:#3D4D31;box-shadow:0 3px 12px #5264420D}
.nav button.active svg{color:#8E6B16}.nav button.active:after{background:var(--brand-rose)}
.nav button:hover{background:#FFFDF945}
.privacy-note{border-color:#6B7D5860}.privacy-note svg,.privacy-note b,.privacy-note p{color:#202A1B}
.topbar{background:var(--brand-cream);border-bottom-color:#EBD4D7}
.breadcrumb,.breadcrumb b{color:#536047}
.demo-tag{background:#FCE8EB;border-color:#E8C0C5;color:#70464D}.demo-tag:before{background:#A26F78}
.avatar{background:var(--brand-pink);color:#714950;border-color:#E4BFC4}
.welcome-card{background:var(--brand-pink);color:#4B3834;border:1px solid #E6B8BF}
.welcome-card h2{font-size:32px;font-weight:400;color:#4B3834;letter-spacing:0}
.welcome-card .eyebrow{color:#805020}.welcome-card p{color:#645047}
.welcome-art{stroke:#9C6F3A;opacity:.3}
.welcome-card .btn-gold{background:var(--brand-cream);color:#5D4735;border-color:#D7B676}
.stat{background:var(--brand-cream)}.stat-label,.stat-hint{color:#637256}
.stat-value{color:#394B2C}.stat-icon{background:#EDF1E7;color:#586E43}
.stat:nth-child(2) .stat-icon{background:#FFF1B8;color:#8E6B16}
.stat:nth-child(3) .stat-icon{background:var(--brand-pink);color:#8D5C65}
.note-card{background:#FDEDF0;border-color:#EAC8CD}.note-card h3{color:#704951}.note-card p{color:#705D5C}
.note-card>.icon-circle{background:var(--brand-pink);color:#8E5E66}
.client-avatar,.date-square{background:#E8EEDC;color:#4E633C}
.client-name,.shortcut b{color:#3E5230}.client-cell span,.table-footer{color:#66745A}
.records-table thead{background:#F1F4EB}.records-table th{color:#586A48;border-color:#DEE4D5}
.records-table td{color:#56654B}.records-table tbody tr:hover{background:#FBEFF0}
.records-table .row-open{color:#53683E}
.shortcut>span:first-child{background:#FCE8EB;color:#91636B}
.search input{background:var(--brand-cream);border-color:#D8E0CF}
.filter-select{background:var(--brand-cream)}
.mobile-bar{background:#FFFDF9F5;border-color:#E6CBCF}.mobile-bar button{color:#59694B}.mobile-bar button.active{color:#6E4F0F}
.form-option>svg{color:#8E6B16}.info-strip{background:#FCEBED;border-color:#E9C9CE;color:#68504D}
.record-dialog,.compact-dialog,.dialog-head{background:var(--brand-cream)}
.dialog-head{border-color:#E6CBCF}.health-tag{background:#EAF0E1;color:#485E38}
.review-entry,.session-area,.document-section{border-color:#D5DDC9}
.review-notice{background:#FFF7DA;border-color:#E4CE8A;color:#69531C}
.document-section summary,.session-area legend{color:#4E653C}
.document-section[open]>summary{color:#714B53}
.initials-summary span{background:#FCE9EC;color:#714B53}
.body-map-grid figure{background:#F5F5EB;border-color:#DDE3D2}
.body-outline{fill:#FDEDF0;stroke:#6E805A}.body-detail{stroke:#AAAB91}.body-mark{fill:#8E6B16}
.signature-box{border-color:#C8D2BB}.signature-tools{background:#EFF2E8;color:#536747}
.success-icon{background:#E8EFD9;color:#52683D}

/* Acceso de la profesional y pantallas independientes del cliente. */
.access-page{background:radial-gradient(ellipse at top right,#FDD9DD 0,transparent 58%),var(--brand-cream)}
.access-card{border-color:#D3DCC7;box-shadow:0 20px 65px #8A9B7829}
.access-card h1{font-size:35px;color:#3E4F31;letter-spacing:0}
.access-card>p{color:#626A58}.access-card .admin-label{color:#79601F}
.admin-route-note{background:#FDE9EC;color:#70535A}
.customer-page,.intake-page{background:var(--brand-cream)}
.customer-header,.intake-top{background:#EFF2E8;color:#3D4E31;border-bottom:2px solid var(--brand-rose)}
.customer-label{color:#6E4950;background:var(--brand-pink);border:1px solid #E4BEC4;border-radius:999px;padding:8px 14px}
.customer-card{border-top:4px solid var(--brand-rose);background:var(--brand-cream)}
.customer-card h1{font-size:40px;color:#3F5033}
.customer-card>p{color:#606951}.customer-card .eyebrow{color:#8E6B16}
.customer-icon{background:var(--brand-pink);color:#8E6B16}
.customer-privacy,.intake-privacy{color:#57694A}
.intake-heading h1{font-size:40px;color:#3F5033}.intake-heading p{color:#667159}
.intake-card{box-shadow:0 10px 40px #8A9B780D;border-top:4px solid var(--brand-rose)}
.intake-card h2{font-size:29px;color:#405331}
.intake-top .btn{color:#526442;background:var(--brand-cream);border:1px solid #C9D2BE}
.step{color:#647357}.step strong{background:#EFF2E8;color:#596F47;border-color:#D2DCC6}
.step.active strong{background:var(--brand-sage);color:#23301C;border-color:#7D9069}
.step.active{color:#3B4F2D}.step.done strong{background:var(--brand-pink);color:#764E56;border-color:#E8C2C8}
.check-option:has(input:checked){background:#F7E5E8;border-color:var(--brand-rose);color:#704850}
.business-location{background:#F1F4EB;border-color:#D5DEC8}
.business-location h2{font-size:25px;color:#425732}
.business-location address,.business-location-inline{color:#5B6D4B}
.business-location-inline{border-color:#E3C6CB}.business-location-inline a{color:#4B6338}

@media(max-width:760px){
  h1{font-size:30px}.page-heading h1{font-size:29px}
  .intake-brand img.brand-logo{width:158px}
  .intake-brand{min-width:0}.intake-top{gap:14px;align-items:center}
  .intake-top .btn{font-size:10px;max-width:104px;padding:8px 10px;text-align:center}
  .customer-header{gap:16px}.customer-label{max-width:116px;padding:7px 11px;text-align:center}
  .customer-card h1{font-size:33px}.customer-card{padding:29px 24px}
  .intake-heading h1{font-size:32px}.intake-card h2{font-size:27px}
  .steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
  .step{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:flex-start;min-width:0}
  .step-divider{display:none}.step strong{width:28px;height:28px;flex-shrink:0;border-radius:50%}
  .step span{font-size:10px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
  .access-brand img.brand-logo{width:250px}.access-card h1{font-size:31px}
  .welcome-card h2{font-size:29px}.business-location h2{font-size:23px}
  .top-actions .demo-tag{font-size:9px}
}
@media print{
  #print-document{color:#222;font-family:Arial,sans-serif}
  #print-document .print-header img.brand-logo{width:200px;height:auto;object-fit:contain}
  #print-document h1,#print-document h2{font-family:'Realistic Nature',Georgia,serif;color:#222}
  .body-outline{fill:#F7F1E9;stroke:#666}.body-mark{fill:#555}
}
/* Cuestionario con suma de la hoja, acceso y consulta de sesiones. */
.top-actions .account-trigger{display:grid;width:44px;height:44px;min-width:44px;padding:0;overflow:hidden;flex-shrink:0;cursor:pointer}
.account-trigger img,.account-photo-preview img{width:100%;height:100%;object-fit:cover;display:block;background:transparent}
.account-trigger:hover{box-shadow:0 0 0 3px #D9A0A638}
.account-dialog{width:min(560px,calc(100% - 28px))}
.account-email{font-size:12px;color:#526442;overflow-wrap:anywhere;margin:0 0 22px}
.account-photo-section{display:flex;align-items:center;gap:20px}
.account-photo-preview{width:88px;height:88px;border-radius:50%;background:var(--brand-pink);color:#714950;display:grid;place-items:center;flex-shrink:0;overflow:hidden;font-size:23px;border:1px solid #E4BFC4}
.account-photo-section h3,.account-password-section h3{font-size:17px;margin:0 0 7px}
.account-photo-section p,.account-password-section>p{font-size:12px;color:#636A5C;margin:0 0 12px}
.account-photo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.account-photo-actions label{cursor:pointer}.account-photo-actions [hidden]{display:none}
.account-password-section{border-top:1px solid var(--line);padding-top:24px;margin-top:14px}
.account-dialog .password-control{position:relative;margin:7px 0 17px}
.account-dialog .password-control input{display:block;padding-right:54px}
.account-dialog .field{margin:0}
.account-status{font-size:12px;line-height:1.7;margin:14px 0;color:#3E5232;min-height:1em;overflow-wrap:anywhere}
.account-status.form-error{color:#A13B32}
.account-reauth{padding:14px;border:1px solid #DDE2D4;background:#F1F4EB;border-radius:10px;margin-bottom:16px}
.account-reauth[hidden]{display:none}.account-reauth p{font-size:12px}.account-reauth .field{margin-top:12px;display:block}
.btn-danger-outline{background:var(--brand-cream);color:#943D3D;border:1px solid #D9B1AE}
.btn-danger-outline:hover{background:#FCEBED}
.btn-danger{background:#963F43;color:#fff;border:1px solid #843338}.btn-danger:hover{background:#7C3034}
.trash-count{font-size:10px;border-radius:20px;background:#F7E6E8;padding:3px 7px;color:#714B53}
.trash-dialog{width:min(650px,calc(100% - 28px))}
.trash-list{list-style:none;padding:0;margin:0}.trash-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}
.trash-list li>div{min-width:0}.trash-list strong{display:block;font-size:13px;overflow-wrap:anywhere}.trash-list span{display:block;font-size:11px;color:#636A5C;margin-top:5px}
.trash-list .btn{flex-shrink:0}
.trash-item-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;flex-shrink:0}
.trash-dialog{width:min(760px,calc(100% - 28px))}
@media(max-width:500px){.trash-list li{align-items:flex-start;flex-direction:column}.trash-item-actions{width:100%}.trash-item-actions .btn{width:100%}}
@media(max-width:600px){.account-photo-section{gap:14px}.account-photo-preview{width:68px;height:68px}.account-photo-actions .btn{font-size:11px;padding:10px 12px}.account-dialog .dialog-body{padding:22px 18px}.account-dialog .dialog-head{padding:18px}.top-actions .account-trigger{display:grid}.record-actions .btn-danger-outline{width:100%}}
.skin-score{padding:22px;border:1px solid #d6dfcb;border-radius:18px;background:#f4f7ef;margin:20px 0;color:#202a1b}
.skin-score-total{display:flex;align-items:center;justify-content:space-between;gap:20px}
.skin-score-total .eyebrow{margin:0 0 5px;font-size:11px}
.skin-score-total strong{font:700 32px/1.2 system-ui,sans-serif}
.skin-score-total strong small{font-size:14px;font-weight:400}
.skin-score-total p:last-child{font-size:12px;margin:8px 0 0}
.skin-score-symbol{display:grid;place-items:center;width:48px;height:48px;background:#e5ecdc;border-radius:50%}
.skin-score-symbol svg{width:24px;height:24px}
.skin-score-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 0;padding-top:16px;border-top:1px solid #d6dfcb}
.skin-score-sections dt{font-size:12px;line-height:1.4}
.skin-score-sections dd{margin:8px 0 0;font:600 17px/1.4 system-ui,sans-serif}
.skin-score-sections dd span{display:block;font-size:11px;font-weight:400;margin-top:3px}
.access-card .password-control{position:relative;margin:0 0 18px}
.access-card .field:has(+.password-control){margin-bottom:7px}
.access-card .password-control input{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:12px 55px 12px 14px;font:inherit;color:#202a1b;border:1px solid #c7cdbf;border-radius:9px;background:#fffdf9}
.password-control button{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;background:transparent;border:0;border-radius:8px;color:#48573b;cursor:pointer}
.password-control button svg{width:22px;height:22px}
.password-control button:hover{background:#edf2e7}
.password-control button:focus-visible,.password-control input:focus-visible{outline:3px solid #8e6b16;outline-offset:2px}
.session-history-tools{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:16px}
.session-history-actions{display:flex;gap:12px;flex-wrap:wrap;margin:2px 0 20px}
.session-history-viewer .dialog-head p:last-child{margin:6px 0 0;font-size:14px;color:#526147}
.session-history-viewer .timeline{margin-top:24px}
.session-history-viewer .timeline h4{font-size:15px}
.session-history-viewer .timeline p{font-size:14px;line-height:1.65;color:#3d4934}
.session-history-viewer .timeline time{font-size:12px;color:#526147}
@media(max-width:600px){
  .skin-score{padding:17px}
  .skin-score-sections{grid-template-columns:1fr;gap:12px}
  .skin-score-sections>div{display:flex;justify-content:space-between;gap:18px}
  .skin-score-sections dt{max-width:60%}
  .skin-score-sections dd{margin:0;text-align:right;flex-shrink:0}
  .session-history-tools{grid-template-columns:1fr 1fr}
  .session-history-tools .field:last-child{grid-column:1/-1}
  .record-actions .btn{white-space:normal}
}


/* Expediente privado: mejor composición y centrado en teléfonos. */
@media(max-width:760px){
  #record-dialog .dialog-head{
    position:sticky;
    justify-content:center;
    text-align:center;
    padding:21px 56px 18px;
  }
  #record-dialog .dialog-head>div{
    min-width:0;
    max-width:100%;
  }
  #record-dialog .dialog-head h2{
    overflow-wrap:anywhere;
  }
  #record-dialog .dialog-head .icon-btn[data-close]{
    position:absolute;
    top:50%;
    right:15px;
    transform:translateY(-50%);
    width:44px;
    height:44px;
  }
  #record-dialog .dialog-body{
    padding:24px 20px 42px;
  }
  #record-dialog .record-profile{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    margin:3px auto 24px;
  }
  #record-dialog .record-profile .client-avatar{
    width:66px;
    height:66px;
    border-radius:20px;
    font-size:22px;
  }
  #record-dialog .record-profile h3{
    margin:0 0 6px;
    font-size:21px;
  }
  #record-dialog .record-profile p{
    line-height:1.55;
    font-size:12px;
  }
  #record-dialog .record-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    max-width:490px;
    margin:0 auto 28px;
  }
  #record-dialog .record-actions .btn{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:100%;
    min-height:54px;
    white-space:normal;
    text-align:center;
    line-height:1.45;
    padding:10px 9px;
  }
  #record-dialog .record-actions .btn-danger-outline{
    grid-column:1/-1;
    min-height:48px;
  }
  #record-dialog .dialog-body > .details-grid{
    width:100%;
    max-width:480px;
    margin:0 auto 25px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  #record-dialog .dialog-body > .details-grid .detail-item{
    min-width:0;
    padding:15px 10px;
    border:1px solid #e5e9df;
    border-radius:12px;
    background:#f8f9f5;
    text-align:center;
  }
  #record-dialog .dialog-body > .details-grid dt{
    font-size:11px;
    margin-bottom:8px;
  }
  #record-dialog .dialog-body > .details-grid dd{
    overflow-wrap:anywhere;
    word-break:normal;
    font-size:13px;
    line-height:1.55;
  }
  #record-dialog .record-section{
    width:100%;
    max-width:560px;
    margin-left:auto;
    margin-right:auto;
  }
}
@media(max-width:359px){
  #record-dialog .record-actions{
    grid-template-columns:minmax(0,1fr);
  }
  #record-dialog .dialog-body > .details-grid{
    grid-template-columns:minmax(0,1fr);
  }
}


/* Legibilidad de historial y observaciones en expedientes móviles. */
@media(max-width:760px){
  #record-dialog .record-section > h3{
    font-size:21px;
    line-height:1.35;
    font-weight:600;
    letter-spacing:-0.015em;
  }
  #record-dialog .record-section .details-grid{
    gap:25px 16px;
  }
  #record-dialog .record-section .detail-item dt{
    font-size:14px;
    line-height:1.5;
    color:#64705e;
    margin-bottom:8px;
  }
  #record-dialog .record-section .detail-item dd{
    font-size:17px;
    line-height:1.55;
    color:#374532;
    overflow-wrap:anywhere;
  }
  #record-dialog .record-section .health-tag,
  #record-dialog .record-section .health-tags .badge{
    font-size:13px;
    line-height:1.5;
    padding:7px 11px;
  }
}


/* Respuestas desplegables: una presentación coherente para ambas hojas. */
#record-dialog .record-response-toggle{
  width:100%;
  margin-top:18px;
}
#record-dialog .record-response-toggle:first-child{
  margin-top:0;
}
#record-dialog .record-response-toggle > summary{
  display:flex;
  align-items:center;
  gap:14px;
  box-sizing:border-box;
  width:100%;
  min-height:74px;
  padding:16px 18px;
  border:1px solid #d7dfcf;
  border-radius:12px;
  background:#f7f8f3;
  color:#45583c;
  font-size:18px;
  font-weight:500;
  line-height:1.45;
  letter-spacing:0;
  cursor:pointer;
  list-style:none;
  overflow-wrap:anywhere;
}
#record-dialog .record-response-toggle > summary::-webkit-details-marker{display:none}
#record-dialog .record-response-toggle > summary::before{
  content:"";
  flex:0 0 10px;
  width:10px;
  height:10px;
  border-right:2px solid #657a53;
  border-bottom:2px solid #657a53;
  transform:rotate(-45deg);
  transition:transform .15s ease;
}
#record-dialog .record-response-toggle[open] > summary::before{
  transform:rotate(45deg);
}
#record-dialog .record-response-toggle > summary:focus-visible{
  outline:3px solid #8e6b16;
  outline-offset:3px;
}
#record-dialog .record-response-toggle[open] > summary{
  border-color:#b5c3a7;
  background:#f0f3eb;
}
#record-dialog .record-response-toggle > .details-grid{
  margin-top:18px;
}
@media(max-width:760px){
  #record-dialog .record-response-toggle > summary{
    min-height:72px;
    padding:15px 16px;
    font-size:17px;
  }
}


/* Historial de sesiones: controles compactos, calendario nativo sin desbordes. */
.session-history-viewer .session-history-tools{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,230px));
  justify-content:start;
  align-items:start;
  gap:16px;
  width:100%;
}
.session-history-viewer .session-history-tools>.field{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  gap:7px;
  color:#526147;
  font-size:14px;
  line-height:1.4;
}
.session-history-viewer .session-history-tools .session-date-control{
  display:flex;
  align-items:center;
  position:relative;
  box-sizing:border-box;
  width:100%;
  height:46px;
  min-height:46px;
  max-height:46px;
  padding:0 13px;
  overflow:hidden;
  border:1px solid #d8decf;
  border-radius:9px;
  background:#fffdf9;
  color:#344332;
}
.session-history-viewer .session-history-tools .session-date-value{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  pointer-events:none;
  font-size:15px;
  line-height:1.3;
}
.session-history-viewer .session-history-tools .session-date-control input[type="date"]{
  position:absolute;
  inset:0;
  display:block;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-height:100%;
  margin:0;
  padding:0;
  border:0;
  opacity:0;
  cursor:pointer;
}
.session-history-viewer .session-date-control:focus-within{
  outline:2px solid #8b9474;
  outline-offset:2px;
}
.session-history-viewer .session-history-tools select{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  height:46px;
  min-height:46px;
  max-height:46px;
  margin:0;
  padding:8px 12px;
  border-radius:9px;
  font-size:15px;
  line-height:1.3;
}
.session-history-viewer .session-history-actions{
  margin-top:14px;
  margin-bottom:16px;
}
@media(max-width:1100px){
  .session-history-viewer .session-history-tools{
    grid-template-columns:repeat(2,minmax(0,230px));
  }
  .session-history-viewer .session-history-tools>.field:last-child{
    grid-column:1/-1;
    max-width:280px;
  }
}
@media(max-width:640px){
  .session-history-viewer .session-history-tools{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .session-history-viewer .session-history-tools>.field{
    grid-column:1/-1;
    max-width:100%;
  }
  .session-history-viewer .dialog-body{
    padding:22px 18px 26px;
  }
  .session-history-viewer .session-history-actions{
    flex-direction:column;
    gap:10px;
  }
  .session-history-viewer .session-history-actions button{
    width:100%;
    min-height:44px;
  }
}
