/* Linie form controls (assets/js/ln-select.js), 2026-11-13: custom select + panel date box */
.ln-cs-native { position: absolute !important; width: 1px !important; min-width: 0 !important; height: 1px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden !important; outline: 0 !important; box-shadow: none !important; clip: rect(0 0 0 0) !important; -webkit-clip-path: inset(50%) !important; clip-path: inset(50%) !important; -webkit-appearance: none !important; appearance: none !important; }
.ln-cs { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; text-align: left; }
.ln-cs.ln-cs-full { display: block; width: 100%; }
.ln-cs .ln-cs-b { display: flex; align-items: center; gap: 8px; width: 100%; height: auto; min-height: 40px; margin: 0; padding: 4px 10px 4px 12px; border: 1px solid #cfd6df; border-radius: 10px; background: #fff; background-image: none; box-shadow: none; color: var(--ln-navy, #2c3e50); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.ln-cs .ln-cs-b:hover { border-color: #aab5c2; }
.ln-cs .ln-cs-b, .ln-cs .ln-cs-b:focus, .ln-cs .ln-cs-b:active { outline: 0 !important; -webkit-tap-highlight-color: transparent; }
.ln-cs .ln-cs-b:focus { border-color: var(--ln-accent, #e5732a); box-shadow: none; }
.ln-cs .ln-cs-b:focus-visible, .ln-cs.ln-cs-on .ln-cs-b { border-color: var(--ln-accent, #e5732a); box-shadow: 0 0 0 3px rgba(229, 115, 42, .17); }
.ln-cs-pop button, .ln-cs-pop button:focus, .ln-cs-pop .ln-cs-list:focus, .ln-dw .ln-dw-x:focus { outline: 0 !important; }
.ln-cs .ln-cs-v { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-cs.ln-cs-ph .ln-cs-v { color: #7b8794; font-weight: 500; }
.ln-cs .ln-cs-ch { flex: 0 0 auto; color: #8a96a3; transition: transform .15s, color .15s; }
.ln-cs.ln-cs-on .ln-cs-ch { transform: rotate(180deg); color: var(--ln-accent, #e5732a); }
.ln-cs.ln-cs-dis .ln-cs-b { background: #f3f5f8; color: #9aa5b1; cursor: not-allowed; }
.ln-cs.ln-cs-bad .ln-cs-b { border-color: #d0453a; box-shadow: 0 0 0 3px rgba(208, 69, 58, .16); }
.ln-cs.ln-cs-ap .ln-cs-b { font-size: 13.5px; font-weight: 500; border-radius: 9px; }

.ln-cs-pop { position: absolute; z-index: 2100; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e7ee; border-radius: 12px; box-shadow: 0 18px 48px rgba(16, 24, 40, .22); overflow: hidden; color: var(--ln-navy, #2c3e50); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.35; text-align: left; animation: lnCsIn .13s ease; }
@keyframes lnCsIn { from { transform: translateY(-4px); } to { transform: none; } }
.ln-cs-pop.ln-cs-up { animation-name: lnCsInUp; }
@keyframes lnCsInUp { from { transform: translateY(4px); } to { transform: none; } }
.ln-cs-pop .ln-cs-top { display: none; }
.ln-cs-pop .ln-cs-s { flex: 0 0 auto; padding: 8px; border-bottom: 1px solid #eef1f5; }
.ln-cs-pop .ln-cs-s input { display: block; width: 100%; height: 38px; margin: 0; padding: 0 12px; border: 1px solid #cfd6df; border-radius: 9px; background: #f6f8fa; box-shadow: none; color: var(--ln-navy, #2c3e50); font: inherit; font-size: 14px; outline: 0; }
.ln-cs-pop .ln-cs-s input:focus { background: #fff; border-color: var(--ln-accent, #e5732a); box-shadow: 0 0 0 3px rgba(229, 115, 42, .16); }
.ln-cs-pop .ln-cs-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 5px; outline: 0; -webkit-overflow-scrolling: touch; }
.ln-cs-pop .ln-cs-list[hidden], .ln-cs-pop .ln-cs-g[hidden], .ln-cs-pop .ln-cs-o[hidden], .ln-cs-pop .ln-cs-no[hidden] { display: none; }
.ln-cs-pop .ln-cs-c { position: sticky; top: -5px; z-index: 1; padding: 9px 9px 4px; background: #fff; color: #6b7684; font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.ln-cs-pop .ln-cs-o { display: flex; align-items: center; gap: 8px; width: 100%; height: auto; min-height: 36px; margin: 0; padding: 6px 9px; border: 0; border-radius: 8px; background: none; background-image: none; box-shadow: none; color: var(--ln-navy, #2c3e50); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: left; text-transform: none; cursor: pointer; }
.ln-cs-pop .ln-cs-o span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ln-cs-pop .ln-cs-o u { flex: 0 0 14px; color: var(--ln-accent, #e5732a); font-weight: 700; text-decoration: none; visibility: hidden; }
.ln-cs-pop .ln-cs-o:hover, .ln-cs-pop .ln-cs-o.ln-act { background: #f1f4f7; }
.ln-cs-pop .ln-cs-o.ln-on { background: #fff4ec; font-weight: 700; }
.ln-cs-pop .ln-cs-o.ln-on u { visibility: visible; }
.ln-cs-pop .ln-cs-o.ln-cs-e span { color: #7b8794; }
.ln-cs-pop .ln-cs-o:disabled { color: #b3bcc7; cursor: default; background: none; }
.ln-cs-pop .ln-cs-no { padding: 16px 14px 20px; color: #6b7684; text-align: center; }
.ln-cs-back { position: fixed; inset: 0; z-index: 2099; background: rgba(16, 24, 40, .5); }
.ln-cs-pop.ln-cs-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: min(76vh, 620px); border: 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: lnCsUp .2s ease; }
@keyframes lnCsUp { from { transform: translateY(40px); } to { transform: none; } }
.ln-cs-pop.ln-cs-sheet .ln-cs-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; min-height: 54px; padding: 12px 14px 6px 18px; }
.ln-cs-pop.ln-cs-sheet .ln-cs-top strong { font-size: 16.5px; }
.ln-cs-pop.ln-cs-sheet .ln-cs-x { flex: 0 0 auto; width: 36px; height: 36px; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: #f1f4f7; color: var(--ln-navy, #2c3e50); font-size: 22px; line-height: 34px; cursor: pointer; }
.ln-cs-pop.ln-cs-sheet .ln-cs-s { padding: 6px 14px 10px; }
.ln-cs-pop.ln-cs-sheet .ln-cs-s input { height: 46px; font-size: 16px; }
.ln-cs-pop.ln-cs-sheet .ln-cs-list { padding: 4px 10px 14px; }
.ln-cs-pop.ln-cs-sheet .ln-cs-o { min-height: 48px; padding: 8px 10px; font-size: 16px; }
html.ln-cs-lock, html.ln-cs-lock body { overflow: hidden; }

/* panel date box: read-only DD/MM/YYYY field that opens the Linie calendar */
.ln-dw { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.ln-dw.ln-dw-full { display: block; width: 100%; }
#main .ln-dw .ln-dw-i, .ln-dw .ln-dw-i { display: block; width: 100%; min-height: 38px; padding-left: 38px; padding-right: 10px; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5732a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 11px center; background-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.ln-dw .ln-dw-x { position: absolute; right: 6px; top: 50%; display: none; width: 22px; height: 22px; margin: -11px 0 0; padding: 0; border: 0; border-radius: 50%; background: #eef1f5; background-image: none; color: #5b6672; font-size: 15px; line-height: 20px; cursor: pointer; }
.ln-dw.ln-dw-has .ln-dw-x { display: block; }
.ln-dw .ln-dw-x:hover { background: #d0453a; color: #fff; }
.ln-dw.ln-dw-has .ln-dw-x + .ln-dw-i, .ln-dw:has(.ln-dw-x) .ln-dw-i { padding-right: 30px; }
