select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23647768' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select[multiple] { background-image: none; padding: 8px; }
select option { padding: 10px; }
.select-control { position: relative; min-width: 0; width: 100%; }
.table-wrap { position: relative; }
.select-control .native-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; }
.select-trigger { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--panel); border: 1px solid #d6dfd2; border-radius: 10px; padding: 11px 13px; color: var(--ink); text-align: left; font-size: inherit; line-height: 1.4; box-shadow: 0 1px 2px #173c3504; }
.select-trigger:hover { border-color: #93aa95; background: #fcfdf8; }
.select-trigger[aria-expanded=true] { border-color: #66856b; box-shadow: 0 0 0 3px #dce8d680; }
.select-trigger[aria-invalid=true] { border-color: #af5440; }
.select-control input.select-input { display: block; cursor: text; min-height: 46px; width: 100%; padding: 11px 13px; font-size: inherit; }
.select-input::placeholder { color: var(--muted); }
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-chevron { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); flex-shrink: 0; color: #708575; }
.select-popup { position: fixed; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; background: #fffefa; color: var(--ink); border: 1px solid #d6dfd2; border-radius: 12px; box-shadow: 0 12px 36px #173c3526; padding: 8px; font-size: 15px; }
.select-popup[hidden] { display: none; }
.select-popup input.select-search { min-height: 44px; font-size: 15px; border-radius: 7px; background: #f4f6ef; margin: 0 0 6px; }
.select-options { max-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.select-option { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 10px; border: 0; border-radius: 7px; background: transparent; text-align: left; color: var(--ink); line-height: 1.45; font-size: inherit; }
.select-option:hover, .select-option.is-active { background: #edf2e8; }
.select-option[aria-selected=true] { background: #e2eddd; color: #173c35; font-weight: 600; }
.select-option-mark { width: 17px; flex-shrink: 0; color: #285f3d; }
.select-empty { padding: 18px 12px; color: var(--muted); }
.select-multi-note { padding: 8px 10px 2px; color: var(--muted); font-size: 12px; }
.select-rich .select-trigger { min-height: 60px; padding: 9px 12px; cursor: pointer; }
.select-rich .select-value { display: flex; align-items: center; flex: 1; gap: 10px; white-space: normal; }
.select-option-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid #d9e5d5; border-radius: 11px; background: #ecf3e7; color: #45664b; font-size: 14px; font-weight: 700; }
.select-option-avatar.is-placeholder { background: #f1f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23728772' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E") center no-repeat; }
.select-option-content { display: grid; gap: 3px; min-width: 0; flex: 1; }
.select-option-heading { display: flex; align-items: center; gap: 8px; min-width: 0; }
.select-option-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.35; }
.select-option-id { flex: none; padding: 2px 6px; border-radius: 5px; background: #eef2e9; color: #657560; font-size: 10px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.select-option-meta { color: #697b69; font-size: 11px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.select-rich .select-option-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-popup-rich { padding: 8px; border-radius: 14px; box-shadow: 0 14px 40px #173c3526; }
.select-popup-rich input.select-search { min-height: 44px; padding-left: 36px; margin-bottom: 8px; border-color: #e1e8da; border-radius: 9px; background: #f5f8f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23728772' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 12px center no-repeat; font-size: 13px; }
.select-popup-rich .select-option { min-height: 64px; gap: 10px; padding: 10px; margin-bottom: 3px; border-radius: 9px; }
.select-popup-rich .select-option:last-child { margin-bottom: 0; }
.select-popup-rich .select-option-title { white-space: normal; overflow-wrap: anywhere; }
.select-popup-rich .select-option-mark { order: 1; margin-left: auto; width: 15px; font-size: 15px; }
.select-popup-rich .select-option[aria-selected=true] .select-option-avatar { border-color: #315f43; background: #315f43; color: #fffefa; }
.select-rich .select-trigger:focus-visible, .select-popup-rich .select-option:focus-visible { outline: 2px solid #66856b; outline-offset: 3px; }
@media (max-width: 600px), (pointer: coarse) { .select-popup input.select-search { font-size: 16px; } }
.filter-bar > .select-control { width: auto; flex: 1; min-width: 150px; }
.branch-select .select-control { flex: 1; min-width: 135px; }
.branch-select .select-trigger { border: 0; background: transparent; box-shadow: none; padding-left: 0; }
.staff-body .sidebar-toggle { display: inline-flex; flex-shrink: 0; width: 40px; height: 40px; }
.staff-body .sidebar { transition: transform .2s; }
.staff-body .app-shell { transition: margin-left .2s; }
@media (min-width: 1201px) { .staff-body.sidebar-collapsed .sidebar { transform: translateX(-100%); visibility: hidden; } .staff-body.sidebar-collapsed .app-shell { margin-left: 0; } }
.sidebar-backdrop { position: fixed; inset: 0; background: #112c244d; z-index: 35; border: 0; }
.sidebar-backdrop[hidden] { display: none; }
.staff-body .sidebar { z-index: 40; }
.profile-menu { position: relative; flex-shrink: 0; }
.profile-menu summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 5px 8px; border: 1px solid #dce1d6; border-radius: 10px; background: #fffefa; min-height: 44px; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-label { display: flex; flex-direction: column; max-width: 155px; }
.profile-label strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-label small { font-size: 11px; color: var(--muted); }
.profile-panel { position: absolute; right: 0; top: calc(100% + 9px); z-index: 60; display: flex; flex-direction: column; gap: 5px; width: min(280px,85vw); padding: 18px; border: 1px solid #dce1d6; border-radius: 12px; box-shadow: 0 10px 32px #173c351a; background: #fffefa; font-size: 14px; }
.profile-panel .topbar-logout { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.profile-panel .workspace-logout { width: 100%; }
.language-switcher { position: relative; display: block; padding: 0; border-radius: 9px; background: #fffefa; }
.language-switcher .language-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; min-height: 43px; border-radius: inherit; cursor: pointer; font-size: 13px; white-space: nowrap; }
.language-flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px #173c3512; flex-shrink: 0; }
.public-header .language-switcher { display: block; }
.staff-body .reservation-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: center; }
.staff-body .reservation-filters .search-field { min-width: 0; width: 100%; }
.staff-body .reservation-filters input[type=date] { width: 100%; min-width: 0; }
.reservation-date-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.document-tools { max-width: 1100px; margin: 24px auto 0; padding: 0 20px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.document-body .document-page { padding-top: 24px; }
.document-body .page-header { max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 1100px) { .profile-label { display: none; } }
@media (max-width: 1200px) {
    .staff-body .app-shell { margin-left: 0; }
    .staff-body .sidebar { transform: translateX(-100%); box-shadow: 12px 0 30px #20392212; }
    .staff-body .sidebar:not(.open) { visibility: hidden; }
    .staff-body .sidebar.open { transform: translateX(0); visibility: visible; }
}
@media (max-width: 600px) { .staff-body .reservation-status-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .staff-body .topbar { gap: 8px; } .profile-menu summary { padding: 4px; gap: 3px; } .profile-menu .avatar { width: 30px; height: 30px; font-size: 13px; } .language-switcher .language-toggle { padding: 8px; gap: 5px; } .language-switcher .language-toggle span { font-size: 12px; } .staff-body .reservation-filters .search-field input { padding-left: 32px !important; font-size: 14px; } .reservation-filters .search-field svg { width: 14px; left: 10px; } }
@media (prefers-reduced-motion: reduce) { .staff-body .sidebar, .staff-body .app-shell { transition: none; } }
@media print { .document-tools, .select-popup { display: none !important; } .document-body .document-page { padding: 0; } }

@media (max-width: 600px) { .account-page .grid-2 { grid-template-columns: minmax(0, 1fr); } .account-page .stack, .account-page .field { min-width: 0; } .account-page input { min-width: 0; max-width: 100%; } }
