/* ==========================================================================
   TABLE OF CONTENTS — S27.1
   --------------------------------------------------------------------------
   No CSS build step exists for this app (plain static file, loaded via
   asset() — no Vite/Mix pipeline to extract into resources/css/ops/), so
   this file stays where it is. This index and DESIGN.md (repo root) are the
   extraction: what the "ops" system is, where each piece lives, and the
   rules behind it, rather than a new directory nothing currently builds.

   1. Legacy / pre-existing (lines 1-210) — untouched, not part of the ops system
   2. Operations dashboard         (~line 212) — home page: status band, triage tiles, activity feed
   3. Booking register             (~line 500) — .ops-register: table, filters
      Filter drawer                (~line 647) — right slide-in panel, chips, count badge
   4. Booking detail modal         (~line 763) — .ops-detail: summary strip, sections, definition lists

   Design rules: DESIGN.md. Verification methodology (why every visual
   change here is checked against real compiled Blade, never hand-written
   markup): scripts/render-blade-check.php + DESIGN.md's own section on it.
   ========================================================================== */

.set-zindex-4 {
    z-index: 4;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: rgb(170, 170, 170, 0.7);
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: rgb(68, 68, 68);
}

.overflow-hide {
    overflow: hidden !important;
}

#preview-mail{
    width: 100vw !important;
    height: 100vh !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}

#preview-mail .modal-xl {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    margin: 0px !important
}

#preview-mail .modal-xl .modal-content{
    height: 100vh;
    max-height: 100vh !important;
    border-radius: 0px;
}

#preview-mail .modal-header{
    border-radius: 0px !important;
}

@media (min-width: 1200px){
    #preview-mail .modal-dialog.modal-xl {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

.waiting-loader{
    width: 30px;
    height: 30px;
    animation: waiting-load 0.7s linear infinite;
    margin-top: 20%;
}

.waiting-loader img{
  width: 100%;
}

.d-inline {
    display: inline;
}

#changeMyPassword .modal-content, #showMyProfile .modal-content {
    border-radius: 15px !important;
}

.backdrop-change-password {
    position: fixed;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    justify-items: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10001;
    display: none;
    top: 0;
    left: 0;
}

.backdrop-change-password svg{
    width: 30px;
    height: 30px;
    animation: waiting-load 0.7s linear infinite;
    opacity: 0.5;
}

.is-show-backdrop {
    display: flex;
}

#imageBodyArticle {
    width: 100%;
    overflow: hidden;
}

#imageBodyArticle img{
    max-width: 100%;
}

.article-image-waiting-loader {
    width: 100%;
    height: 200px;
    background: #f1f1f1;
}

.article-text-waiting-loader {
    width: 100%;
    height: 300px;
}

.article-text-waiting-loader .waiting-loader, .article-image-waiting-loader .waiting-loader{
    margin-top: 0px !important;
}


@keyframes waiting-load {
  100%{
    transform: rotate(360deg);
  }
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}

.btn-selectpicker {
    border: 1px solid #E4E6EF;
}

.is_popular_deals_property.isActive i,
.is_propertycat_sort_orders.isActive i,
.is_roomcat_sort_orders.isActive i,
.is_vip_sort_orders.isActive i,
.is_hotel_sort_orders.isActive i,
.is_offer_sort_orders.isActive i{
    color: #3699FF !important;
}

.is_hotel_sort_orders.isActivePopular i,
.is_popular_deals_property.isActiveHotel i{
    color: #F00 !important;
}

#popular-deals-sortable .list-group-item:hover, #popular-deals-sortable .list-group-item:active,
#properties-vip-sortable .list-group-item:hover, #properties-vip-sortable .list-group-item:active,
#property-offers-sortable .list-group-item:hover, #property-offers-sortable .list-group-item:active {
    background: #eee;
    cursor: move;
}

#popular-deals-sortable .list-group-item:nth-child(n+7){
    background-color: #f69a9a;
    color: #fff;
}

.ghost {
    opacity: .5;
    background: #eee;
}

.new-popular, .new-vip, .new-offer {
	transform-origin: 50% 0;
	animation: append-animate .3s linear;
}

.remove-popular, .remove-vip, .remove-offer {
	transform-origin: 50% 0;
	animation: remove-animate .4s linear;
}

.popular-deals-backdrop,
.sort-orders-backdrop {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    display: none;
}

.font-weight-bold{
    font-weight: bold !important;
}

@keyframes append-animate {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes remove-animate {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

/* ==========================================================================
   Operations dashboard (home)
   --------------------------------------------------------------------------
   Swiss/minimal: hairline rules, one accent, a strict type scale, no
   decoration that isn't carrying information. Palette mirrors the storefront
   brand tokens (apps/web/src/styles/tokens.ts) so the back office reads as
   the same company as the front — gold #A19C36 is the accent, and it is
   reserved for "this needs a person", never used decoratively.

   Type scale: 12 / 13 / 14 / 18 / 24 / 32 / 44. Poppins only — already
   loaded by cms/includes/style.blade.php, so no extra network cost.
   ========================================================================== */

.ops {
    --ops-gold: #A19C36;
    --ops-gold-deep: #383E15;
    --ops-ink: #1A1A1A;
    /* Both greys are WCAG-checked against the white surface: muted 6.90:1,
       faint 4.54:1. The faint tone carries real information (zero counts,
       ages, timestamps), so it cannot go lighter than 4.5:1 no matter how
       much the zero state "wants" to recede — the recede effect comes from
       the gap to --ops-ink (17.40:1), not from being unreadable. */
    --ops-muted: #5A5A5A;
    --ops-faint: #767676;
    --ops-line: #E0E0E0;
    --ops-surface: #FFFFFF;
    /* Gold sits at 2.87:1 and success at 3.14:1 on white — both are used
       only as accent rules, never as text, and never as the sole carrier of
       meaning (the headline says "All clear"/"N need attention" in words and
       the count colour repeats it). Kept brand-true rather than darkened. */
    --ops-success: #0AA83E;
    --ops-danger: #DC2626;

    font-family: Poppins, sans-serif;
    max-width: 1440px;
}

/* --- Status band: the one thing read first ------------------------------ */

.ops-status {
    background: var(--ops-surface);
    border: 1px solid var(--ops-line);
    border-left: 3px solid var(--ops-success);
    padding: 28px 32px;
    margin-bottom: 32px;
}

.ops-status--attention {
    border-left-color: var(--ops-gold);
}

.ops-status__headline {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ops-gold-deep);
    margin: 0;
}

.ops-status__meta {
    font-size: 13px;
    color: var(--ops-muted);
    margin-top: 8px;
}

.ops-status__meta time {
    color: var(--ops-faint);
}

/* --- Section headings: label + hairline --------------------------------- */

.ops-section {
    margin-bottom: 32px;
}

.ops-section__label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted);
    margin: 0 0 16px;
}

.ops-section__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ops-line);
}

/* --- Tile grid ---------------------------------------------------------- */

/* Fixed 4-up rather than auto-fit: the movements row has three tiles and
   the attention row four, and auto-fit would stretch the three to full width
   so the same tile is a different size in each section. A fixed track keeps
   every tile on one column rhythm, leaving the fourth movements slot empty
   on purpose. */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ops-tile {
    position: relative;
    display: block;
    background: var(--ops-surface);
    border: 1px solid var(--ops-line);
    padding: 20px;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ops-tile:hover,
.ops-tile:focus-visible {
    border-color: var(--ops-faint);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.ops-tile:focus-visible {
    outline: 2px solid var(--ops-gold);
    outline-offset: 2px;
}

/* Accent rule reads as "there is work here". Absent at zero, by design. */
.ops-tile--active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: var(--ops-gold);
}

.ops-tile--urgent::before {
    background: var(--ops-danger);
}

.ops-tile__count {
    font-size: 32px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ops-faint);
}

.ops-tile--active .ops-tile__count,
.ops-tile__count--filled {
    color: var(--ops-ink);
}

.ops-tile--urgent .ops-tile__count {
    color: var(--ops-danger);
}

.ops-tile__label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ops-muted);
    margin-top: 10px;
    /* "Payment/booking mismatch" has no space in its first 15 characters and
       a slash is not a wrap opportunity — without this it overflows the tile
       content box at the 2-up mobile width. */
    overflow-wrap: break-word;
}

.ops-tile--active .ops-tile__label {
    color: var(--ops-ink);
}

.ops-tile__age {
    font-size: 12px;
    color: var(--ops-faint);
    margin-top: 6px;
}

/* --- Activity feed ------------------------------------------------------ */

.ops-feed {
    background: var(--ops-surface);
    border: 1px solid var(--ops-line);
}

/* Grid, not flex: with flex the reference/actor/time cluster ends up ragged
   row-to-row and the feed reads as a list of sentences. Fixed tracks line the
   metadata into columns, which is what makes it scannable as a log. */
.ops-feed__row {
    display: grid;
    grid-template-columns: 1fr auto 150px 110px;
    align-items: baseline;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ops-line);
    font-size: 13px;
}

.ops-feed__row:last-child {
    border-bottom: 0;
}

.ops-feed__action {
    font-weight: 500;
    color: var(--ops-ink);
    flex: 1;
    min-width: 0;
}

.ops-feed__ref {
    font-variant-numeric: tabular-nums;
    color: var(--ops-gold-deep);
    white-space: nowrap;
    text-align: right;
}

.ops-feed__actor {
    color: var(--ops-muted);
    white-space: nowrap;
}

.ops-feed__time {
    color: var(--ops-faint);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* --- Empty states: never a blank panel ---------------------------------- */

.ops-empty {
    padding: 32px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--ops-muted);
}

@media (max-width: 1199px) {
    .ops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-status {
        padding: 20px;
    }

    .ops-status__headline {
        font-size: 24px;
    }

    .ops-feed__row {
        grid-template-columns: 1fr auto;
        gap: 4px 12px;
    }

    .ops-feed__action {
        grid-column: 1 / -1;
    }

    .ops-feed__actor {
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ops-tile {
        transition: none;
    }

    .ops-tile:hover,
    .ops-tile:focus-visible {
        transform: none;
    }
}

/* ==========================================================================
   Booking register (.ops-register)
   --------------------------------------------------------------------------
   Same Swiss/brand language as the home dashboard, applied over the
   KeenThemes defaults purely via CSS — the DataTable markup and JS are
   untouched.

   DELIBERATELY NOT RESTYLED: buttons (Search/Clear/View/Export, the segment
   chips, pagination) and the status pills. Their theme colours are the
   product's existing visual vocabulary — operators already read blue as
   "act" and the pink pill as "pending" — and a restyle here was reverted on
   2026-08-15. Structure, type and rules are the only things this section
   changes.
   ========================================================================== */

.ops-register .card.card-custom {
    border: 1px solid var(--ops-line);
    box-shadow: none;
    border-radius: 0;
}

/* --- Filters ------------------------------------------------------------ */

.ops-register label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted);
    margin-bottom: 6px;
}

.ops-register .form-control {
    border-color: var(--ops-line);
    border-radius: 0;
    color: var(--ops-ink);
    font-size: 13px;
}

.ops-register .form-control:focus {
    border-color: var(--ops-gold);
    box-shadow: none;
}

.ops-register .form-control::placeholder {
    color: var(--ops-faint);
}

/* Keep the filter action buttons on one line with their own label, and let
   them wrap as a group rather than each button breaking separately. */
.ops-register .register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- Table -------------------------------------------------------------- */

/* Hairline rows instead of a full grid: vertical rules add noise a row
   stripe pattern doesn't need, and every serious ledger drops them. */
.ops-register .table.table-bordered {
    border: 0;
}

.ops-register .table.table-bordered th,
.ops-register .table.table-bordered td {
    border-left: 0;
    border-right: 0;
    border-color: var(--ops-line);
}

.ops-register .table thead th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted);
    border-top: 0;
    border-bottom: 2px solid var(--ops-ink);
    vertical-align: bottom;
}

.ops-register .table tbody td {
    font-size: 13px;
    color: var(--ops-ink);
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

.ops-register .table.table-hover tbody tr:hover {
    background-color: rgba(161, 156, 54, 0.05);
}

/* --- Responsive --------------------------------------------------------- */

/* The register is 11 columns wide and DataTables Responsive only collapses
   what it can; below the desktop breakpoint the table still needs to be able
   to scroll rather than force the page to. Scrolling the wrapper, never the
   body, is the rule here. */
.ops-register .dataTables_wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ops-register .table {
    min-width: 100%;
}

@media (max-width: 991.98px) {
    /* Filter labels and controls tighten before the table does — twelve
       full-width stacked filters is the failure mode this prevents. */
    .ops-register .card-body {
        padding: 20px;
    }

    .ops-register .table tbody td,
    .ops-register .table thead th {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .ops-register .card-body {
        padding: 16px;
    }

    /* Full-width action buttons read as a stack on a phone rather than a
       cramped row; the buttons keep their own colours and sizing. */
    .ops-register .register-actions .btn {
        flex: 1 1 auto;
    }
}

.ops-register .dataTables_info,
.ops-register .dataTables_length {
    font-size: 12px;
    color: var(--ops-muted);
}

/* Segment notice (deep-linked from the dashboard) in the same voice. */
.ops-register .alert.alert-light-primary {
    background: transparent;
    border: 1px solid var(--ops-gold);
    border-left-width: 3px;
    border-radius: 0;
    color: var(--ops-gold-deep);
}

/* --- Filter drawer ------------------------------------------------------ */

/* KTOffcanvas toggles .register-drawer-on; everything else is ours. Fixed to
   the viewport rather than absolute in the card so it is unaffected by the
   register's own scrolling. */
.register-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: var(--ops-surface, #fff);
    border-left: 1px solid var(--ops-line, #E0E0E0);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 240ms ease;
    z-index: 1051; /* above the theme header (1000) and its overlay */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.register-drawer.register-drawer-on {
    transform: translateX(0);
}

.register-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1050;
}

.register-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ops-line, #E0E0E0);
    flex: 0 0 auto;
}

.register-drawer__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ops-ink, #1A1A1A);
    margin: 0;
}

/* The body is the only scrolling region — the header and the action footer
   stay put, so Search is always reachable without scrolling back. */
.register-drawer__body {
    padding: 24px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.register-drawer__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--ops-line, #E0E0E0);
    background: var(--ops-surface, #fff);
    flex: 0 0 auto;
}

/* Filters stack one per row inside the drawer regardless of the grid classes
   they carry, which exist for the (now unused) inline layout. */
.register-drawer__body .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 16px;
}

.register-drawer__body .row:last-child > [class*="col-"]:last-child {
    margin-bottom: 0;
}

/* Trigger count badge — inherits the button's own colours, so the badge
   reads as part of it rather than introducing a new accent. */
#filter_drawer_count {
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .register-drawer {
        width: 100vw;
    }

    .register-drawer__body,
    .register-drawer__header,
    .register-drawer__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .register-drawer {
        transition: none;
    }
}

/* Bootstrap 4 emits .d-flex AFTER .d-none and marks both !important, so any
   node carrying the pair resolves to flex. The chip row has carried both
   since S18.3, so its "Active:" label has always rendered even with zero
   filters active — visible in the register today, not a regression from the
   drawer work. Re-asserted at id+class specificity so the JS toggle means
   what it says. */
#active_filter_chips.d-none {
    display: none !important;
}

/* ==========================================================================
   Booking detail modal (.ops-detail)
   --------------------------------------------------------------------------
   Was one narrow bordered column of "label : value" lines inside a modal-xl,
   leaving half the dialog empty. Now two columns split by task: what was
   booked on the left, what can be acted on on the right.

   Buttons keep their theme classes and colours throughout — nothing here
   restyles .btn.
   ========================================================================== */

.ops-detail .modal-body {
    background: #FBFBFA;
}

/* --- Summary strip: state, date, terms, read before any detail ---------- */

.ops-detail__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    background: var(--ops-surface, #fff);
    border: 1px solid var(--ops-line, #E0E0E0);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ops-detail__summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ops-detail__summary-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted, #5A5A5A);
}

.ops-detail__summary-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--ops-ink, #1A1A1A);
}

/* --- Sections ----------------------------------------------------------- */

.ops-detail__section {
    background: var(--ops-surface, #fff);
    border: 1px solid var(--ops-line, #E0E0E0);
    padding: 20px;
    margin-bottom: 16px;
}

.ops-detail__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

/* The shared section label carries its own bottom margin elsewhere; inside a
   panel the hairline is the panel border, so the rule is suppressed. */
.ops-detail__section .ops-section__label::after {
    display: none;
}

/* --- Definition grid: the label:value lines, aligned ------------------- */

/* A real two-column grid rather than "Label : value" text — the old version
   relied on padded spaces to line up and never did. */
.ops-dl {
    display: grid;
    grid-template-columns: minmax(96px, auto) 1fr;
    gap: 10px 20px;
    margin: 0;
}

.ops-dl--tight {
    gap: 6px 16px;
}

.ops-dl dt {
    font-size: 12px;
    font-weight: 500;
    color: var(--ops-muted, #5A5A5A);
    margin: 0;
}

.ops-dl dd {
    font-size: 13px;
    color: var(--ops-ink, #1A1A1A);
    margin: 0;
    min-width: 0;
    /* Provider refs and UUIDs are long unbroken tokens. */
    overflow-wrap: anywhere;
}

/* An empty value is a fact ("not supplied"), not a rendering failure — say so
   consistently instead of leaving a blank where a value should be. */
.ops-dl dd:empty::before,
.ops-detail__prose:empty::before,
.ops-detail__summary-value:empty::before {
    content: "—";
    color: var(--ops-faint, #767676);
}

.ops-detail__prose {
    font-size: 13px;
    color: var(--ops-ink, #1A1A1A);
    line-height: 1.6;
}

.ops-detail__prose ul {
    margin: 0;
    padding-left: 18px;
}

/* --- Amounts ------------------------------------------------------------ */

.ops-amounts__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ops-line, #E0E0E0);
}

.ops-amounts__row label {
    font-size: 12px;
    color: var(--ops-muted, #5A5A5A);
    margin: 0;
}

.ops-amounts__row input,
.ops-amounts__row .ops-amounts__value {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--ops-ink, #1A1A1A);
    padding: 0;
    border: 0;
    background: transparent;
    width: auto;
    max-width: 60%;
}

/* Payable is the number that actually settles — the only one given weight. */
.ops-amounts__row--total {
    border-bottom: 0;
    border-top: 2px solid var(--ops-ink, #1A1A1A);
    margin-top: 4px;
    padding-top: 12px;
}

.ops-amounts__row--total label {
    font-weight: 600;
    color: var(--ops-ink, #1A1A1A);
}

.ops-amounts__row--total input,
.ops-amounts__row--total .ops-amounts__value {
    font-size: 18px;
    font-weight: 600;
}

/* --- Ops action rows ---------------------------------------------------- */

.ops-detail__action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ops-detail__action-label {
    font-size: 12px;
    color: var(--ops-muted, #5A5A5A);
    min-width: 96px;
}

.ops-detail__action-value {
    font-size: 13px;
    color: var(--ops-ink, #1A1A1A);
    flex: 1 1 auto;
    min-width: 0;
}

/* S26.4 — the no-show row's value is a date range, genuinely longer than
   ack/escalate's usual "—" or short name. flex-wrap on the row let the
   browser wrap the *button* onto its own line instead of shrinking the
   value, despite .ops-detail__action-value already having min-width:0 —
   flex-wrap's line-breaking chooses to move the last item down rather than
   shrink an earlier one when a line doesn't fit. Scoped to this one row
   rather than changing the shared row/value rules, which stay correct for
   ack/escalate's short content. */
#ops_no_show_row {
    flex-wrap: nowrap;
}

#ops_no_show_row #button_mark_no_show {
    flex-shrink: 0;
}

.ops-detail__history li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid var(--ops-line, #E0E0E0);
}

.ops-detail__history li:last-child {
    border-bottom: 0;
}

/* --- Form controls inside the modal ------------------------------------- */

.ops-detail .form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted, #5A5A5A);
    margin-bottom: 6px;
}

.ops-detail .form-control {
    border-color: var(--ops-line, #E0E0E0);
    border-radius: 0;
    font-size: 13px;
}

.ops-detail .form-control:focus {
    border-color: var(--ops-gold, #A19C36);
    box-shadow: none;
}

.ops-detail textarea.form-control[readonly] {
    background: #F7F7F5;
}

@media (max-width: 991.98px) {
    .ops-detail__summary {
        gap: 16px 24px;
    }
}
