/* Ticket controls inherit the HMS black/gold visual language. */
.hms-entry-header-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b9953e;background:#fff;color:#31291b;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:800;white-space:nowrap;min-height:43px;cursor:pointer}
.hms-entry-header-btn svg{width:20px;height:20px;flex:none;stroke:currentColor}.hms-entry-header-btn:hover,.hms-entry-header-btn:focus-visible{background:#fff4d4;border-color:#ba962d;outline-offset:2px}
.hms-entry-nav svg{width:21px;height:21px;flex:none;stroke:currentColor}
.hms-entry-modal{display:grid;gap:13px}.hms-entry-modal label{display:grid;gap:5px}.hms-entry-modal .hms-entry-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#f5f1e5;border-radius:12px;font-size:17px}.hms-entry-modal .hms-entry-total strong{font-size:21px;direction:ltr;white-space:nowrap}
.hms-entry-complimentary-note{margin:0;color:#8c3524;font-size:13px;font-weight:700}.hms-entry-complimentary-note[hidden]{display:none}
.hms-entry-archive{width:100%;min-width:0}.hms-entry-archive-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.hms-entry-archive-head h1{font-size:27px;margin:0 0 2px}.hms-entry-archive-head p{margin:0;color:#716a5b}.hms-entry-archive-head .btn svg{width:18px;height:18px;vertical-align:middle;margin-inline-end:6px}
.hms-entry-archive-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto auto;align-items:end;gap:12px;background:#fff;border:1px solid #eadcc2;border-radius:14px;padding:17px;margin-bottom:16px}.hms-entry-archive-filters label{display:grid;gap:5px;font-size:13px;font-weight:700;min-width:0}.hms-entry-archive-filters input,.hms-entry-archive-filters select{width:100%;min-width:0}.hms-entry-archive-filters .btn{min-height:44px}
.hms-entry-table{width:100%;min-width:0;overflow-x:auto;border:1px solid #e4dacc;border-radius:13px;background:#fff}.hms-entry-table table{border-collapse:collapse;width:100%;min-width:800px}.hms-entry-table th,.hms-entry-table td{padding:13px 14px;text-align:right;border-bottom:1px solid #eee9dd;font-size:13px;white-space:nowrap}.hms-entry-table th{font-weight:800;background:#fff4db}.hms-entry-row-day{display:block;color:#706d66;font-size:11px}.hms-entry-status{display:inline-block;padding:4px 9px;border-radius:20px;font-weight:700}.hms-entry-status.is-issued{background:#e5f4e6;color:#25683b}.hms-entry-status.is-void{background:#f9e8e6;color:#9c2922}.hms-entry-pager{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:13px;margin-top:16px}
@media(max-width:950px){.hms-entry-archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hms-entry-archive-filters .btn{width:100%}}
@media(max-width:650px){.hms-entry-modal .hms-entry-total{flex-wrap:wrap}.hms-entry-modal .hms-entry-total strong{font-size:19px}.hms-entry-archive-filters{grid-template-columns:1fr}.hms-entry-archive-head h1{font-size:23px}}
@media(max-width:650px){.hms-entry-header-btn{width:44px;height:44px;min-width:44px;padding:8px;flex:none}.hms-entry-header-btn span{display:none}}

/* Keep both ticket actions easy to reach. */
.hms-entry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.hms-entry-actions .btn{white-space:nowrap;min-height:40px}
.hms-entry-actions .hms-entry-cancel-btn{border-color:#e5c5bd;color:#8c3524;background:#fff9f7}
.hms-entry-actions .hms-entry-cancel-btn:hover,.hms-entry-actions .hms-entry-cancel-btn:focus-visible{background:#fff0ec;border-color:#a84431}
@media(max-width:620px){.hms-entry-actions{gap:5px}.hms-entry-actions .btn{min-height:44px}}

/* Archive title and its issue action share the application header. */
.app-topbar__heading:has([data-act="entrance-ticket-new"]){display:flex;flex-direction:row;align-items:center;gap:12px;flex-wrap:nowrap}
@media(max-width:650px){.app-topbar__heading:has([data-act="entrance-ticket-new"]){flex-wrap:wrap;align-items:flex-start;gap:6px 10px}.app-topbar__heading [data-act="entrance-ticket-new"] svg{display:none}.app-topbar__heading [data-act="entrance-ticket-new"]{min-height:36px;padding-inline:10px}}
.app-topbar__heading [data-act="entrance-ticket-new"]{min-height:40px;white-space:nowrap}
.app-topbar__heading [data-act="entrance-ticket-new"] svg{width:18px;height:18px;vertical-align:middle;margin-inline-end:5px}
.hms-entry-icon-btn{width:44px;min-width:44px;height:44px;padding:9px;display:inline-flex;align-items:center;justify-content:center}
.hms-entry-icon-btn svg{width:20px;height:20px;flex:none}
@media(max-width:650px){.app-topbar__heading [data-act="entrance-ticket-new"]{font-size:12px;padding-inline:9px}.hms-entry-archive-filters{gap:9px}}
.hms-entry-archive-filters{grid-template-columns:repeat(4,minmax(120px,1fr))}
.hms-entry-financial-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.hms-entry-financial-summary span{background:#fff;border:1px solid #eadcc2;border-radius:10px;padding:10px 13px;font-size:13px}
.hms-entry-financial-summary b{font-size:15px;color:#31291b;direction:ltr;display:inline-block}
.hms-entry-table table{min-width:1060px}
@media(max-width:950px){.hms-entry-archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hms-entry-archive-filters{grid-template-columns:1fr}.hms-entry-financial-summary span{flex:1 1 145px}}
