:root{--loruna-ui-version:"0.3.1";--loruna-primary:#0f766e;--loruna-accent:#f97316;--loruna-bg:#f4f7fa;--loruna-surface:#fff;--loruna-text:#17202a;--loruna-text-muted:#5f6b7a;--loruna-border:#d8e2e9;--loruna-focus:#7c3aed;--loruna-touch:44px;--loruna-radius:16px;--loruna-shadow:0 14px 36px rgba(15,35,52,.09)}
body{background:linear-gradient(180deg,#f8fbfc,#f2f6f8 48%,#f7fafb)!important;color:var(--loruna-text)!important}
:focus-visible{outline:3px solid var(--loruna-focus)!important;outline-offset:3px}
.btn,button,input,select,textarea,.nav-link{min-height:var(--loruna-touch)}
.app-header{margin:10px 14px 0;border:1px solid var(--loruna-border)!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(15,35,52,.08);background:rgba(255,255,255,.98)!important;backdrop-filter:blur(12px)}
.app-header .nav-link{color:#263746!important}
.app-sidebar{background:linear-gradient(180deg,#0a2530 0,#0d3940 55%,#105157 100%)!important;box-shadow:16px 0 42px rgba(4,31,38,.16)!important}
.brand-sidebar{background:rgba(3,22,28,.45)!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
.brand-sidebar .brand-link,.brand-sidebar .brand-text,.nav-sidebar .nav-link,.nav-sidebar .nav-link p,.nav-sidebar .nav-icon,.nav-sidebar .nav-arrow{color:#fff!important}
.nav-sidebar .nav-link{border-radius:10px!important;margin:2px 8px!important;transition:background .16s ease,transform .16s ease}
.nav-sidebar .nav-link:hover{background:rgba(255,255,255,.09)!important;transform:translateX(2px)}
.nav-sidebar .nav-link.active{background:linear-gradient(90deg,#f97316,#ea580c)!important;box-shadow:0 8px 20px rgba(249,115,22,.24)}
.app-main,.content-wrapper{background:transparent!important;color:var(--loruna-text)!important}
.app-content-header{margin:14px 14px 0;padding:16px 18px!important;border:1px solid var(--loruna-border);border-radius:16px;background:#fff!important;box-shadow:0 10px 28px rgba(15,35,52,.07);display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important}
.app-content-header h1,.app-content-header h2,.app-content-header h3,.app-content-header .breadcrumb-item.active{color:#17202a!important;opacity:1!important}
.app-content-header .breadcrumb a{color:#0b63b6!important}
.app-content{padding-top:14px!important;color:var(--loruna-text)!important}
.card,.info-box,.small-box{border:1px solid var(--loruna-border)!important;border-radius:var(--loruna-radius)!important;box-shadow:var(--loruna-shadow)!important;background:#fff!important;overflow:hidden}
.card,.card-body,.card-header,.card p,.card h1,.card h2,.card h3,.card h4,.card h5,.card h6{color:#17202a}
.card-header{background:linear-gradient(180deg,#fff,#f7fafb)!important;border-bottom:1px solid #e4ebf0!important}
.small-box .inner h3,.stat{letter-spacing:-.035em}.small-box h3,.info-box-number{font-size:2rem!important;letter-spacing:-.04em!important}
.card-title{font-weight:850!important;letter-spacing:-.02em!important}
.btn{border-radius:10px!important;font-weight:800!important}
.btn-primary,.bg-primary{background:linear-gradient(135deg,#0f766e,#0d9488)!important;border-color:transparent!important;color:#fff!important}
.btn-danger{background:linear-gradient(135deg,#e11d48,#be123c)!important;border-color:transparent!important;color:#fff!important}
.form-control,.form-select,input,select,textarea{border-radius:10px!important;border-color:#d5e0e7!important}
.table{border-radius:14px;overflow:hidden}.table thead th{background:#eef5f6!important;color:#23464a!important}.table tbody tr:hover{background:#f7fbfb!important}
.app-footer{margin:14px;border:1px solid var(--loruna-border);border-radius:14px;background:#fff!important;box-shadow:0 8px 22px rgba(15,35,52,.06);color:#334155!important}
.badge,.status,.label{border-radius:999px!important;font-weight:800!important}.btn-group,.actions{display:flex;gap:8px;flex-wrap:wrap}
.content-header h1,.app-content-header h1{letter-spacing:-.035em!important}.dashboard-grid,.row.dashboard,.row.metrics{gap:14px!important}
@media(max-width:991.98px){
 .app-header,.app-content-header,.app-footer{margin-left:8px;margin-right:8px}
 body.sidebar-open::after{content:"";position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:1025;pointer-events:none}
 .app-sidebar{z-index:1035!important;width:min(86vw,320px)!important;max-width:320px!important}
 .sidebar-wrapper{overflow-y:auto!important;overscroll-behavior:contain}
 .brand-sidebar{position:sticky;top:0;z-index:2}
 .app-header{position:relative;z-index:1020}
 .app-header .container-fluid{padding-left:8px!important;padding-right:8px!important}
 .app-header .navbar-nav.ms-auto .nav-link{padding-left:7px!important;padding-right:7px!important}
 .app-main{min-width:0!important}
}
@media(max-width:767px){
 .app-content-header{display:block!important;padding:14px!important}
 .app-content-header .btn,.app-content-header .actions{margin-top:10px}
 .btn-group,.actions{width:100%}
 .app-content-header .breadcrumb{float:none!important;margin-top:8px!important;font-size:.9rem}
 .app-content>.container-fluid{padding-left:10px!important;padding-right:10px!important}
 .card-body{padding:14px!important}
}
@media(max-width:430px){
 .app-header{margin-top:6px!important}
 .app-header .navbar-nav.ms-auto>li:not(:last-child) .nav-link{font-size:.9rem}
 .brand-admin-logo{max-width:92px!important;height:auto!important}
 .brand-sidebar .brand-text{font-size:1rem!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* TT100 mobile navigation and accessible contrast repair */
.app-header .nav-link,.app-header .navbar-nav .nav-link{color:#17202a!important;opacity:1!important}
.app-header [data-widget="pushmenu"],.app-header .nav-link[data-widget="pushmenu"],.app-header .navbar-toggler,.app-header .menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:48px!important;min-height:48px!important;color:#102a43!important;background:rgba(255,255,255,.92)!important;border:1px solid #9eacba!important;border-radius:10px!important;opacity:1!important}
.app-header [data-widget="pushmenu"] i,.app-header [data-widget="pushmenu"] svg,.app-header .navbar-toggler-icon{color:#102a43!important;opacity:1!important}
.app-content-header h1,.app-content-header h2,.content-header h1{color:#17202a!important;opacity:1!important;text-shadow:none!important}
.app-content .text-muted,.card .text-muted,.app-content small,.card small{color:#475569!important;opacity:1!important}
.card .form-control,.card .form-select{background:#fff!important;color:#17202a!important}
.card .form-control::placeholder{color:#64748b!important;opacity:1!important}
@media(max-width:767px){.app-header [data-widget="pushmenu"]{position:relative!important;z-index:1040!important}.app-content-header h1{font-size:1.55rem!important;line-height:1.3!important}.app-content-header{background:#fff!important}.app-header .navbar-nav .nav-link{font-size:1rem!important}}
/* AdminLTE 4 actual sidebar trigger and readable mobile controls */
.app-header [data-lte-toggle="sidebar"]{display:inline-flex!important;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:10px 14px!important;color:#102a43!important;background:rgba(255,255,255,.96)!important;border:2px solid #718096!important;border-radius:10px!important;font-size:1.5rem!important;font-weight:900!important;opacity:1!important;visibility:visible!important}
.app-header [data-lte-toggle="sidebar"]:hover,.app-header [data-lte-toggle="sidebar"]:focus-visible{background:#eaf4ff!important;color:#082f49!important}
@media(max-width:767px){.app-header .navbar-nav:first-child{display:flex!important;align-items:center!important}.app-header [data-lte-toggle="sidebar"]{position:relative!important;z-index:1040!important}}
