
@page {
    size: auto;
}

.navbar-nav .open .dropdown-menu {
    background-color:#fff;
  }

.navbar-nav .open .dropdown-menu {
                display: block;
                width: 100%;
                padding: 0.25rem 1.5rem;
                clear: both;
                font-weight: 400;
                color: #212529;
                text-align: inherit;
                white-space: nowrap;
                background-color: #7f7f7f;
                border: 0;
}

@media screen{
    .noScreen_custom{display: none;}
    .DateInput, .DateInput_1 {

}

table.dataTable thead th {
  white-space: wrap
}

/* Fix the font size and other stuff of datepicker*/
.DateInput_input, .DateInput_input_1 {
  /* my personal stuff */
  text-align: center;
  line-height: calc(1.5em + 0.75rem);
  /* default flatly stuff */
  height: calc(1.4em + 0.75rem + 2px);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #7b8a8b;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 5rem;
        }
    .print-class {}
    .noScreen{display: none;}
    .chrome{height:300px;}
    .title{height:20px}
    .hidden{display: none;}
    .loader-wrapper > div {
    visibility: visible !important;
}
    overflow:visible !important;
}

@media print{
      .noScreen_custom{display: none;}
      .DateInput, .DateInput_1 {
  width: 100%; /* replace with whatever length you prefer */
}

@media print {
    body {
        font-size: 11px; /* Set the font size to 11 pixels for printing */
    }
}
body {
    font-size: 11px; /* Set the font size to 11 pixels */
}

/* Fix the font size and other stuff of datepicker*/
.DateInput_input, .DateInput_input_1 {
  /* my personal stuff */
  text-align: center;
  line-height: calc(1.5em + 0.75rem);
  /* default flatly stuff */
  height: calc(1.4em + 0.75rem + 2px);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #7b8a8b;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
    html{font-size: 8pt;}
    body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p{font-size: 7pt;}

    blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th{
           font-size: 8pt;
	  }

	  h1.entry-title {
	  font-size: 20pt !important;
         }
	   h1, h2, h3, h4, h5, h6,h1.entry-title {
	  font-size: 12pt !important;
         }
    .hidden{display: none;}
    .print-class {display: none;}
    .noScreen{}
    .chrome{height:300px
    }
    .title{height:20px}
    .name{height:30px}
    .name2{height:20px}
    .checklist{height:30px}
    .display-4{height:32px}
    .my-2{height:1px}
    .display-4{font-size: 100%}

    .hide_me{height:1px}
    overflow:visible !important;
    .custom_data_cell td {font-size: 6pt !important;}
}



/*
 *  This stylesheet defines the className dbc_light which helps improve
 *  the design of light themed Bootstrap apps
 */



/* fixes margins so data isn't cut off at table edges */
.dbc_light .dash-table-container .row {
    display : block !important;
    margin: 0 !important;
}

/* fixes  when the table dropdown doesn't drop down */
.dbc_light .Select-menu-outer {
    display: block !important;
}


/*
 *  sort arrow and delete icons in the DataTable header
 *  these icons appear when the table is sortable and/or columns are deletable
 */
.dbc_light .dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {
    --accent: var(--primary) !important;
    --hover: none !important;
    --border: lightgrey !important;
    --text-color: var(--dark) !important;
}

/* pagination buttons - this removes the default pink hover  */
.dbc_light .last-page:hover, .previous-page:hover, .first-page:hover, .next-page:hover{
    color: var(--primary) !important;
}

/* table body */
.dbc_light .dash-spreadsheet td {
    fontfamily:  var(--font-family-sans-serif);
    background-color: var(--white) !important;
    color: var(--dark) !important;
    --border: lightgrey;
  /*  border-color: lightgrey !important; */
}


/* table header */
.dbc_light .dash-spreadsheet .dash-header {
    font-family:  var(--font-family-sans-serif);
    background-color: var(--light) !important;
    opacity: 0.9;
    color: var(--dark) !important;
    --accent: var(--primary) !important;
    --border: lightgrey;
}

/*  filter row in the header  */
.dbc_light .dash-spreadsheet .dash-filter {
    font-family:  var(--font-family-sans-serif);
    background-color: var(--light) !important;
    color: var(--dark) !important;
    --border: lightgrey;
}


.dbc_light input.dash-filter--case--sensitive {
    border-color: var(--primary) !important;
    border-radius: 3px;
    border-style: solid;
    border-width: 2px;
    color: var(--primary) !important;
}


/* tooltips - makes text readable in dark themes */
.dbc_light .dash-table-tooltip {
    color:black
}



/* row hover */
.dbc_light.dbc_row_hover .dash-spreadsheet td.dash-cell {
    border-color: lightgrey !important;
 }
.dbc_light.dbc_row_hover .dash-spreadsheet  tr:hover td.dash-cell {
    border-color: lightgrey !important;
    border-width: 1.5px !important;
    background-color: var(--light) !important;

}


/*------------------------------------
 * Sliders - makes the slider the "primary color"
 */

.dbc_light .rc-slider-handle {
  border: 0;
  background-color: var(--primary)
}

.dbc_light .rc-slider-rail {
   background-color: #ededed;  /* grey */
}

.dbc_light .rc-slider-track {
  background-color: var(--primary)
}

.dbc_light .rc-slider-dot {
  border: 0;
  background-color: #ededed; /* grey */
}

.dbc_light .rc-slider-dot.rc-slider-dot-active {
  background-color: var(--primary)
}

/* label color */
.dbc_light .rc-slider-mark-text {
  color: black
  opacity: 0.7
}

/* Makes the active label color different than default label color */
.dbc_light .rc-slider-mark-text.rc-slider-mark-text-active {
    color: black;
}

/* Dropdowns */
.dbc_light .VirtualizedSelectOption {
    background-color: white;
    color: black;
}

.dbc_light .VirtualizedSelectFocusedOption {
    background-color: lightgrey;
    color: black;
}

/* Tabs */
.dbc_light .tab-pane .card {
    border-top-left-radius: 0;
}

.dbc_light .nav-tabs {
    border-bottom-width: 0 !important;
}

.dbc_light .nav-link {
    border-width: 0.5px !important;
    border-color: rgba(100, 100, 100, 0.4) !important;
    color: var(--primary) !important;
}

.dbc_light .nav-link.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border-color: rgba(100, 100, 100, 0.4);
}

.dbc_light .nav-item {
    margin-right: 0 !important;
}

.fa-cog {
    color: white;
}

.titlefont2 {
    font-family: 'Amatic SC', cursive;
}

.titlefont3 {
    font-family: 'Gruppo', cursive;
}

.contact_card {
    margin: 0 auto; /* Added */
    float: none; /* Added */
    margin-bottom: 10px; /* Added */
}

@media print {
    button, .d-print-none {
        display: none;
    }
}

.avoid-page-break {
    page-break-inside: avoid; /* Prevent this element from being split across pages */
}

.cannot-break {
    page-break-inside: avoid;
}

/* Add this CSS to ensure proper rendering for PDF */
.temp-adjustment {
    width: 100%;
}

/* Ensure proper page breaks */
@media print {
    .cannot-break {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .page-break {
        page-break-before: always;
        break-before: page;
    }

    #content-to-print {
        page-break-inside: avoid;
        break-inside: avoid;
    }

}
@media print {
  /* scale down just the preop section */
  #content-to-print{
    transform: scale(0.90);          /* try 0.85–0.95 */
    transform-origin: top left;
    width: 111%;                      /* counteracts scale so it still fills page */
  }
}

/* Applied during PDF capture via JS (generate_pdf.js applyAdjustments) */
.editing-cols-pdf .dash-spreadsheet tr { height: auto; }
.editing-cols-pdf .dash-spreadsheet td,
.editing-cols-pdf .dash-spreadsheet th {
  min-width: 6px !important;
  width: 6px !important;
  max-width: 6px !important;
  font-size: 10px !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  height: auto !important;
  border: none !important;
  border-bottom: 1px solid #ccc !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  background-color: white !important;
  padding: 1px 2px !important;
}
.editing-cols-pdf .dash-spreadsheet th {
  text-overflow: clip !important;
  white-space: normal !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background-color: white !important;
}
/* Higher specificity than the general td rule so the 10% width wins */
.editing-cols-pdf .dash-spreadsheet td[data-dash-column="column1"],
.editing-cols-pdf .dash-spreadsheet th[data-dash-column="column1"] {
  width: 10% !important;
  min-width: 10% !important;
  max-width: 10% !important;
}
/* Fixed table layout so column widths are treated as hard constraints, not hints */
.editing-cols-pdf .dash-spreadsheet-inner table {
  table-layout: fixed !important;
}
.editing-cols-pdf .dash-spreadsheet-container {
  border: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ml1 {
    margin-top: 150px; /* Adjust this value to move the text down */
}

.slider-custom .rc-slider-handle {
    width: 20px;
    height: 30px;

}


.slider-custom .rc-slider-track {
    height: 16px; /* Adjust track height if needed */
}

.slider-custom .rc-slider-rail {
    height: 16px; /* Adjust rail height if needed */
}

.small-font {
    font-size: 14px;
}

/* Flight Phase: Frame moves across the screen */
.sprite-container {
  width: 343px;    /* width of the "window" frame */
  height: 316px;   /* height of the "window" frame */
  overflow: hidden;
  position: relative;

  /* Frame moves across the screen during flight */
  animation: moveFrame 2s linear infinite 1s;
}
.sprite-sheet {
  width: 2744px;   /* total width of the sprite image (9 frames * 343px) */
  height: 343px;   /* height of a single row in the sprite sheet */
  background: url('/assets/spritesheet.png') no-repeat;
  position: absolute;
  top: 0;
  left: 0;

  /* Initially run the flap (flight) animation for frames 1-6 */
  animation: flap 1s steps(6) infinite  1s;
}

/* Move the frame (container) across the screen */
@keyframes moveFrame {
  from { transform: translateX(0); }
  to   { transform: translateX(1000px); }
}

/* Flapping animation: frames 1–6 */
@keyframes flap {
  from { background-position: 0 0; }
  to { background-position: -2058px 0; }
}

@keyframes landing {
  from { background-position: -1715px 0; }
  to { background-position: -2401px 0; }
}


/* Landing State: Stop container movement */
.landing {
  animation: landing 1s steps(2) 1 forwards;
}
/* Remove outer whitespace */
body { margin: 0 !important; padding: 0 !important; }

/* Tighten Bootstrap gutters */
.row { --bs-gutter-x: 0.2rem; --bs-gutter-y: 0.15rem; }

/* Tight labels */
label, .form-label { margin-bottom: 0 !important; line-height: 1.05 !important; }

/* Compact inputs/selects */
.form-control, .form-select {
  min-height: 24px !important;
  height: 24px !important;
  padding: 0 6px !important;
  line-height: 1.1 !important;
  font-size: 12px !important;
}

/* Compact radios */
.form-check { margin-bottom: 0 !important; }
.form-check-input { margin-top: 0.15rem !important; }

/* Compact DatePicker */
.DateInput, .DateInput_input {
  height: 24px !important;
  line-height: 24px !important;
  font-size: 12px !important;
  padding: 0 6px !important;
}
.DateRangePickerInput, .SingleDatePickerInput { padding: 0 !important; }

/* ===== Compact grid like your boxed header form ===== */
.compact-form {
  --b: #8ea3b7;          /* border color (matches your screenshot) */
  --bg: #ffffff;
  --hdr: #eef5fb;        /* light blue header fill */
  --label: #2f3b45;
  --muted: #6c757d;
  --padx: 10px;
  --pady: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* remove card/body padding so grid touches edges */
.compact-form .card-body { padding: 0 !important; }

/* remove bootstrap gutters between cols */
.compact-form .row { --bs-gutter-x: 0; --bs-gutter-y: 0; }

/* each “cell” */
.cf-cell{
  border: 2px solid var(--b);
  background: var(--bg);
  padding: var(--pady) var(--padx);
  min-height: 74px;   /* keeps rows aligned */
}

/* optional filled cells (like Screening BP row) */
.cf-cell.hdr { background: var(--hdr); }

/* label style (top-left) */
.cf-label{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 6px;
  line-height: 1;
}

/* input look: minimal border, underline feel */
.cf-control input,
.cf-control textarea,
.cf-control select{
  width: 100%;
  border: 1px solid #d8e0e8;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 16px;
  background: #fff;
  box-shadow: none !important;
}

/* tighter textareas */
.cf-control textarea{
  min-height: 58px;
  resize: vertical;
}

/* or_textarea explicit height override */
#or_textarea {
  height: 100px !important;
}

/* Bigger horizontal scrollbar for editing-columns DataTable */
#editing-columns .dash-spreadsheet-inner::-webkit-scrollbar {
  height: 14px;
}
#editing-columns .dash-spreadsheet-inner::-webkit-scrollbar-track {
  background: #eef5fb;
  border-radius: 4px;
}
#editing-columns .dash-spreadsheet-inner::-webkit-scrollbar-thumb {
  background: #8ea3b7;
  border-radius: 4px;
  border: 2px solid #eef5fb;
}
#editing-columns .dash-spreadsheet-inner::-webkit-scrollbar-thumb:hover {
  background: #5f7d96;
}

/* make dbc.InputGroup not add spacing/borders */
.compact-form .input-group { gap: 0 !important; }
.compact-form .input-group-text{
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
}

.ros-row{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;      /* hides scroll */
  width: 100%;
}

.ros-col{
  flex: 1 1 0;             /* each column shares width evenly */
  min-width: 140px;        /* keep readable; lower = tighter */
}

.ros-cell{
  min-height: unset;
}

/* slightly shorter cells for vitals row */
.compact-form .cf-cell {
  min-height: 72px;
}

/* Force this specific notes box to be taller */
#textarea_comment {
  height: 150px !important;
  min-height: 150px !important;
}

#post_op_comments {
  height: 100px !important;
  min-height: 100px !important;
}


/* wrapper: one line, scroll if it overflows */
.seg-scrollwrap{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

/* Force the ChipGroup itself to be a single horizontal row */
.seg-scrollwrap .seg-line{
  display: inline-flex !important;   /* critical */
  flex-wrap: nowrap !important;      /* critical */
  gap: 0 !important;                 /* fuse borders */
  white-space: nowrap !important;
  width: auto !important;
}

/* Make each chip not take a full line */
.seg-scrollwrap .seg-chip{
  display: inline-flex !important;   /* critical */
  align-items: center;
  border: 1px solid #cfd7df;
  border-right: none;
  border-radius: 0;
  padding: 6px 10px;
  margin: 0;
  background: #fff;
  font-size: 14px;
  line-height: 1;
}

/* rounded ends */
.seg-scrollwrap .seg-chip:first-child{
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.seg-scrollwrap .seg-chip:last-child{
  border-right: 1px solid #cfd7df;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* selected look */
.seg-scrollwrap .seg-chip[data-checked="true"]{
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
}

.seg-scrollwrap{
  display: block;          /* ensure wrapper is normal block */
}

.seg-scrollwrap *{
  flex-direction: row;     /* prevents weird inherited column flex in some setups */
}

/* one-row equipment strip */
.strip-row{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0;
  width: 100%;
}

/* default cell width */
.strip-col{ flex: 0 0 190px; }     /* adjust smaller/larger */
.strip-col.wide{ flex: 0 0 320px; } /* “Other” gets more room */

/* make the boxes genuinely small */
.cf-cell.strip.tiny{
  min-height: 50px;
  padding: 6px 8px;
}

.cf-cell.strip.tiny .cf-label{
  font-size: 11px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-cell.strip.tiny .cf-control input,
.cf-cell.strip.tiny .cf-control select{
  height: 30px;
  padding: 3px 8px;
  font-size: 14px;
}

/* one-row equipment strip */
.strip-row{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;   /* will disappear if everything fits */
  overflow-y: hidden;
  gap: 0;
  width: 100%;
}

/* width presets */
.strip-col.xs{ flex: 0 0 110px; }   /* single numbers */
.strip-col.sm{ flex: 0 0 150px; }   /* short text */
.strip-col.md{ flex: 0 0 190px; }   /* slightly longer */
.strip-col.lg{ flex: 0 0 280px; }   /* “Other” */

/* keep the boxes genuinely small */
.cf-cell.strip.tiny{
  min-height: 50px;
  padding: 6px 8px;
}

.cf-cell.strip.tiny .cf-label{
  font-size: 11px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-cell.strip.tiny .cf-control input,
.cf-cell.strip.tiny .cf-control select{
  height: 30px;
  padding: 3px 8px;
  font-size: 14px;
}

/* same “screening row” feel */
.cf-tint-blue {
  background: #eef5ff;            /* tweak to match your screenshot */
}

/* keep the input itself white */
.cf-tint-blue input,
.cf-tint-blue select,
.cf-tint-blue textarea {
  background: #ffffff !important;
}

.iv-one-line{
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  overflow: visible;        /* important: don’t clip */
}

/* each cell */
.iv-one-line .iv-mini{
  flex: 0 0 auto;
  min-width: 110px;         /* stops “scrunching” */
}

/* a few tuned widths */
.iv-one-line .w-ivsite{ min-width: 160px; }
.iv-one-line .w-bpsite{ min-width: 140px; }
.iv-one-line .w-temp  { min-width: 120px; }
.iv-one-line .w-mask  { min-width: 120px; }
.iv-one-line .w-fluid { min-width: 120px; }
.iv-one-line .w-num   { min-width: 90px; }   /* gauge / ET / cuff */

/* make the number control look centered and not tiny */
.iv-one-line input[type="number"]{
  text-align: center;
}

/* tighten vertical spacing inside the cell */
.iv-one-line .cf-cell{
  padding: 6px 10px;        /* adjust if your cf_cell uses a different wrapper */
}

/* Outer box like your CF table */
.cf-chip-table{
  border: 2px solid #8ea3b8;          /* match your blue border */
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;                    /* keeps fused lines clean */
}

/* Each row becomes a “table row” */
.cf-chip-table .compact-row{           /* <-- use your actual row class if different */
  display: flex;
  align-items: stretch;
  border-top: 2px solid #e7d7c9;       /* your peach separators */
}

.cf-chip-table .compact-row:first-child{
  border-top: 0;
}

/* Left label column */
.cf-chip-table .compact-title{         /* <-- use your title wrapper class */
  width: 220px;                        /* fixed title column like screenshot */
  padding: 10px 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #2d3a45;
  background: #ffffff;
  border-right: 2px solid #8ea3b8;
  line-height: 1.05;
}

/* Right content area */
.cf-chip-table .compact-body{          /* <-- use your body wrapper class */
  flex: 1 1 auto;
  padding: 8px 10px;
  background: #ffffff;
}

/* Keep one line; allow horizontal scroll *inside* the row if needed */
.cf-chip-table .seg-scrollwrap{
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.cf-chip-table .seg-line{
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;                            /* small gap between chips */
  align-items: center;
  white-space: nowrap;
}

/* Chip sizing — compact + consistent */
.cf-chip-table .mantine-Chip-root{
  margin: 0;
}
.cf-chip-table .mantine-Chip-label{
  padding: 6px 12px;                   /* tighter */
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  background: #f3f4f6;                 /* soft grey like your screenshot */
  border: 1px solid #e5e7eb;
}

/* selected chips */
.cf-chip-table .mantine-Chip-label[data-checked="true"]{
  background: #1e7be3;
  border-color: #1e7be3;
  color: #fff;
}

/* One-line row, no wrapping */
.vital-row{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  align-items:stretch;
}

/* Each cell has a controlled width (no Bootstrap columns) */
.vital-item{ flex: 0 0 auto; }

/* Tune widths per field (adjust numbers to taste) */
.w-ivsite{ width:140px; }
.w-ivg   { width:90px;  }
.w-bpsite{ width:140px; }
.w-temp  { width:110px; }
.w-et    { width:80px;  }
.w-cuff  { width:90px;  }
.w-fluid { width:140px; }
.w-mask  { width:110px; }

/* Compact “screening row” look */
.vital-cell{
  background: rgba(210,225,245,.55);
  border: 2px solid #7f96ad;
  padding: 6px 8px;
}

/* Prevent “IV GAUG E” wrapping */
.vital-cell *{
  white-space: nowrap;
}

/* If your cf_cell uses a label element, keep it tiny */
.vital-cell label,
.vital-cell .cf-label{
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 4px 0;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
}

/* Short inputs like the screening row */
.vital-cell input,
.vital-cell select{
  height: 28px !important;
  padding: 2px 6px !important;
  font-size: 13px !important;
  width: 100%;
  box-sizing: border-box;
}

/* dcc.Dropdown placeholder visibility */
.Select-placeholder,
.Select--single .Select-placeholder,
[class$="placeholder"],
[class*="-placeholder"] {
  color: #6c757d !important;
  opacity: 1 !important;
}

/* ── Pill-style Checkbox (PDF-safe: no CSS custom properties) ───────────── */
.dmc-api-demo-root {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd7df;
  border-right: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #fff;
}
.dmc-api-demo-root:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.dmc-api-demo-root:last-child {
  border-right: 1px solid #cfd7df;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
/* Hide the visual checkbox indicator */
.dmc-api-demo-root .mantine-Checkbox-inner {
  display: none;
}
/* Label is the clickable face */
.dmc-api-demo-root .mantine-Checkbox-label {
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
/* Fused horizontal group */
.segmented-tight {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  white-space: nowrap;
}
/* Selected state — plain CSS selectors (html2canvas-safe, no CSS vars) */
.segmented-tight input:checked + .mantine-Checkbox-label {
  background: #1677ff;
  color: #fff;
}
/* :has() covers DOM structures where input is not adjacent to label */
.dmc-api-demo-root:has(input:checked) {
  background: #1677ff;
  border-color: #1677ff;
}
.dmc-api-demo-root:has(input:checked) .mantine-Checkbox-label {
  color: #fff;
}