/* Shared screen experience. Document print styles keep control of printed output. */
@media screen {
 :root { --dpd-surface:#fff; --dpd-canvas:#f3f5f8; --dpd-text:#223047; --dpd-muted:#627087; --dpd-line:#dde4ed; }
 body { background:var(--dpd-canvas); color:var(--dpd-text); -webkit-font-smoothing:antialiased; }
 body:has(.dpd-sidebar) { --tblr-body-color:var(--dpd-text); --tblr-border-color:var(--dpd-line); --tblr-primary:#956a16; --tblr-primary-rgb:149,106,22; }
 .page-wrapper { min-width:0; }
 .page-wrapper .container-xl { max-width:1680px; }
 .page-header { margin-top:1.6rem; }
 .page-title { font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; font-size:clamp(1.4rem,2vw,1.9rem); font-weight:750; letter-spacing:-.035em; line-height:1.25; }
 .page-pretitle { color:#778398; letter-spacing:.12em; font-size:.65rem; font-weight:700; margin-bottom:.45rem; }
 .page-wrapper .card { background:var(--dpd-surface); border:1px solid var(--dpd-line); border-radius:14px; box-shadow:0 3px 12px #24344b05; }
 .page-wrapper .card-header { padding:1.15rem 1.3rem; min-height:unset; border-bottom:1px solid #edf0f5; }
 .page-wrapper .card-body { padding:1.3rem; }
 .page-wrapper .card-footer { background:#fafbfd; border-top:1px solid #edf0f5; padding:1rem 1.3rem; border-radius:0 0 14px 14px; flex-wrap:wrap; }
 .card-title { font-size:1rem; font-weight:650; }
 .form-label { font-size:.8125rem; font-weight:600; color:#34445b; margin-bottom:.4rem; }
 .form-control,.form-select { border-radius:8px; border-color:#d7dfea; min-height:40px; box-shadow:0 1px 2px #14223904; }
 .form-control:focus,.form-select:focus { border-color:#ac873e; box-shadow:0 0 0 3px #ac873e20; }
 .form-hint,.text-muted,.text-secondary { line-height:1.6; }
 .btn { border-radius:8px; min-height:38px; font-weight:600; }
 .btn-sm { min-height:32px; }
 .btn { transition:background-color .18s,box-shadow .18s,transform .18s; }
 .btn:hover { transform:translateY(-1px); box-shadow:0 4px 10px #24344b13; }
 .btn:active { transform:translateY(0); }
 .dpd-button-press { animation:dpd-press .3s ease-out; }
 [data-dpd-pending] { animation:dpd-pending 1.4s ease-in-out infinite; cursor:progress; }
 .dpd-feedback-arrive { animation:dpd-confirm .4s ease-out; }
 .dpd-results-arrive { animation:dpd-confirm .35s ease-out; }
 .page-wrapper .page-header,.page-wrapper .page-body { animation:dpd-enter .3s ease-out; }
 .dpd-action-status { position:fixed; top:14px; left:50%; transform:translateX(-50%); z-index:100000; display:flex; gap:10px; align-items:center; max-width:90vw; padding:11px 18px; border-radius:999px; background:#142238; color:#fff; font-size:12px; box-shadow:0 8px 30px #14223830; }
 .dpd-action-status::before { content:''; width:14px; height:14px; flex:none; border:2px solid #ffffff55; border-top-color:#f2ce81; border-radius:50%; animation:dpd-spin .8s linear infinite; }
 @keyframes dpd-spin { to { transform:rotate(360deg); } }
 @keyframes dpd-press { 50% { box-shadow:0 0 0 5px #b58a3528; } }
 @keyframes dpd-pending { 50% { opacity:.65; } }
 @keyframes dpd-confirm { from { opacity:.55; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
 @keyframes dpd-enter { from { opacity:.75; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
 .table-wrap,.table-responsive { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
 .table-wrap th,.table thead th { background:#f8fafc; color:#526178; font-size:.7rem; letter-spacing:.035em; padding:.85rem 1rem; }
 .table-wrap td,.table td { vertical-align:middle; }
 .table-wrap tbody tr:hover,.table-hover tbody tr:hover { box-shadow:inset 3px 0 #ac873e; }
 .alert { border-radius:10px; overflow-wrap:anywhere; }
 .dpd-sidebar.navbar-vertical { background:#142238; border-right:1px solid #26344b; box-shadow:none; }
 .dpd-sidebar .container-fluid { padding:0; }
 .dpd-brand { display:flex; align-items:center; gap:10px; padding:22px 18px; text-decoration:none; color:#f7fafc; font-size:15px; font-weight:700; letter-spacing:-.025em; }
 .dpd-brand:hover { color:#fff; }
 .dpd-brand small { display:block; margin-top:4px; color:#94a5bc; font-size:10px; font-weight:400; letter-spacing:.025em; }
 .dpd-brand-mark { display:grid; place-items:center; width:36px; height:40px; background:#bd9547; color:#fff; border-radius:11px; font-size:15px; letter-spacing:-.06em; flex:none; }
 .dpd-sidebar #sidebar-menu { align-items:stretch; }
 .dpd-nav-tools { padding:0 14px 12px; }
 .dpd-search-launch,.dpd-menu-filter { width:100%; border:1px solid #35455f; border-radius:8px; background:#1d2d45; color:#e2eaf5; font:inherit; font-size:11px; padding:10px; text-align:left; }
 .dpd-search-launch { display:flex; align-items:center; justify-content:space-between; gap:5px; margin-bottom:8px; cursor:pointer; }
 .dpd-search-launch kbd { color:#a6b5ca; background:transparent; border:1px solid #455773; border-radius:4px; padding:2px 3px; font-size:9px; white-space:nowrap; }
 .dpd-menu-filter::placeholder { color:#a4b4ca; opacity:1; }
 .dpd-create { display:flex; gap:8px; margin-top:10px; }
 .dpd-create a { flex:1; text-align:center; color:#f6dfb1; background:#bd954718; border:1px solid #bd954749; border-radius:7px; font-size:11px; padding:8px 3px; text-decoration:none; }
 .dpd-create a:hover { background:#bd954735; }
 .dpd-sidebar .nav-section-title { width:100%; border:0; background:none; padding:15px 18px 6px; color:#95a7c1; font-size:9px; letter-spacing:.105em; text-align:left; }
 .dpd-sidebar .nav-section-title:hover { color:#fff; }
 .dpd-sidebar .navbar-nav .nav-link { min-height:38px; padding:8px 12px; margin:2px 10px; width:calc(100% - 20px); border-radius:8px; color:#bfccdf; font-size:12px; gap:9px; }
 .dpd-sidebar .nav-link-title { line-height:1.4; white-space:normal; }
 .dpd-sidebar .nav-link-icon { margin:0; width:19px; min-width:19px; opacity:.8; }
 .dpd-sidebar .nav-link-icon svg { width:18px; height:18px; }
 .dpd-sidebar .navbar-nav .nav-link.active { background:#bd954721; color:#ffe2a9; box-shadow:inset 3px 0 #cca454; }
 .dpd-sidebar .navbar-nav .nav-link:hover { background:#ffffff0c; color:#fff; }
 .dpd-sidebar .nav-wa-pill { margin:18px 14px 6px; font-size:10px; background:#23364b; color:#b9cbdc; border-radius:8px; }
 .dpd-nav-empty { padding:12px 18px; color:#c5d1e2; font-size:12px; }
 .dpd-nav-footer { border-top:1px solid #30415a; margin-top:10px; padding:8px 0; }
 .dpd-section-jump { display:flex; align-items:center; gap:8px; overflow-x:auto; margin:0 24px 18px; padding:8px 0; scrollbar-width:thin; }
 .dpd-section-jump span { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#627087; white-space:nowrap; margin-right:4px; }
 .dpd-section-jump a { white-space:nowrap; background:#fff; border:1px solid #dce3ed; color:#455572; border-radius:999px; padding:7px 12px; font-size:11px; text-decoration:none; }
 .dpd-section-jump a:hover { color:#80580b; border-color:#bd9547; }
 [id^=dpd-section-] { scroll-margin-top:24px; }
 .dpd-sidebar [hidden] { display:none!important; }
 .dpd-skip { position:fixed; top:-100px; left:16px; z-index:100000; background:#fff; padding:12px 18px; border-radius:8px; color:#142238; }
 .dpd-skip:focus { top:10px; }
 :where(a,button,input,select,textarea,[tabindex]):focus-visible { outline:3px solid #b38a3c; outline-offset:3px; }
 .dpd-request-error { position:fixed; right:20px; bottom:20px; width:min(420px,calc(100vw - 40px)); z-index:100001; padding:18px; color:#602e22; background:#fff6ef; border:1px solid #edbfa6; border-radius:12px; box-shadow:0 12px 50px #14223830; }
 .dpd-request-error button { display:block; margin-top:10px; border:1px solid #ad7360; border-radius:6px; padding:6px 14px; background:#fff; color:inherit; }
 .dpd-offline { position:fixed; bottom:12px; left:50%; transform:translateX(-50%); z-index:99997; border-radius:8px; background:#633b22; color:#fff; padding:10px 16px; font-size:13px; }
 #dpd-palette .dpd-palette-box { border-radius:16px; box-shadow:0 24px 100px #14223855; background:#fff; }
 #dpd-palette input { font-size:16px; }
 .dpd-palette-item[role=option] { cursor:pointer; }
 .dpd-palette-list { max-height:55vh; overflow:auto; }
 body:has(.wrap) .wrap { max-width:920px; }
 body:has(.wrap) .top { max-width:920px; gap:12px; flex-wrap:wrap; }
 body:has(.wrap) .card { border-radius:14px; box-shadow:0 3px 14px #14223806; }
 body:has(.wrap) input,body:has(.wrap) button { min-height:42px; }
 @media(min-width:992px) { .dpd-sidebar.navbar-vertical { width:252px; } .dpd-sidebar.navbar-vertical.navbar-expand-lg~.page-wrapper { margin-left:252px; } .dpd-sidebar .navbar-collapse { overflow-y:auto; scrollbar-width:thin; scrollbar-color:#40516a transparent; padding-bottom:12px; } }
 @media(max-width:991.98px) { .dpd-brand { padding:14px 18px; order:1; } .dpd-sidebar .navbar-toggler { margin-right:16px; order:2; } .dpd-sidebar #sidebar-menu { max-height:75vh; overflow:auto; width:100%; order:3; flex-basis:100%; } .dpd-sidebar .navbar-nav { flex-direction:column; } .page-header,.page-body { margin-top:1rem; } }
 @media(max-width:600px) { .page-wrapper .card-body,.page-wrapper .card-header,.page-wrapper .card-footer { padding:1rem; } .page-header .row { row-gap:12px; } .page-header .btn-list { flex-wrap:wrap; } .form-control,.form-select { font-size:16px; } .table-wrap th { font-size:11px; } }
 @media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
}
@media print { .dpd-sidebar,.dpd-skip,.dpd-offline,.dpd-request-error,.dpd-section-jump,.dpd-action-status { display:none!important; } }
