:root {
    --navy: #10253f;
    --navy-2: #173a61;
    --blue: #1769e0;
    --blue-soft: #eaf2ff;
    --ink: #172133;
    --muted: #667085;
    --line: #e4e9f0;
    --bg: #f4f7fb;
    --card: #fff;
    --success: #16825d;
    --warning: #b66a05;
    --danger: #c53b48;
    --info: #1570a6;
    --radius: 14px;
    --shadow: 0 8px 26px rgba(16, 37, 63, .07);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); transition: grid-template-columns .2s ease; }
.sidebar { background: linear-gradient(180deg, var(--navy), #0b1c30); color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; transition: padding .2s ease; }
.brand { display: block; width: 100%; height: 66px; padding: 0 8px 22px; color: #fff; overflow: hidden; }
.brand:hover { text-decoration: none; }
.brand img { display: block; width: 190px; 
   /* height: 50px;*/
     max-width: none; object-fit: contain; object-position: left center; }
.nav-title { color: #7892ad; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; padding: 18px 12px 7px; }
.nav-link { color: #c7d6e6; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; margin: 2px 0; font-weight: 600; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.nav-icon { width: 20px; min-width: 20px; text-align: center; opacity: .9; font-size: 17px; }
.nav-label { white-space: nowrap; }
.sidebar-is-collapsed .app-shell { grid-template-columns: 78px minmax(0, 1fr); }
.sidebar-is-collapsed .sidebar { padding-inline: 12px; }
.sidebar-is-collapsed .brand { width: 48px; padding-inline: 0; }
.sidebar-is-collapsed .brand img { 
    /*width: 190px;*/ 
 }
.sidebar-is-collapsed .nav-title, .sidebar-is-collapsed .nav-label { display: none; }
.sidebar-is-collapsed .nav-link { justify-content: center; padding-inline: 10px; }
.sidebar-is-collapsed .nav-icon { width: 24px; min-width: 24px; }
.main { min-width: 0; }
.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 30px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right { margin-left: auto; min-width: 0; }
.unit-switch { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; background: #fff; color: var(--ink); max-width: 230px; }
.user-chip { text-align: right; }.user-chip strong { display: block; line-height: 1.2; }.user-chip small { color: var(--muted); font-size: 11px; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; }
.icon-button:hover { background: var(--blue-soft); color: var(--blue); }
.profile-menu { position: relative; }
.profile-menu > summary { list-style: none; }
.profile-menu > summary::-webkit-details-marker { display: none; }
.profile-trigger { min-height: 46px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 10px; padding: 4px 7px; background: transparent; color: var(--ink); cursor: pointer; }
.profile-trigger:hover, .profile-menu[open] > .profile-trigger { background: #f4f7fb; }
.profile-chevron { color: var(--muted); font-size: 15px; }
.profile-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 260px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(16,37,63,.18); z-index: 40; }
.profile-menu:not([open]) .profile-dropdown { display: none; }
.profile-summary { display: flex; flex-direction: column; padding: 9px 11px 11px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.profile-summary small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.dropdown-item { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-weight: 650; }
.dropdown-item:hover { background: #f4f7fb; text-decoration: none; }
.dropdown-danger { color: var(--danger); }
.dropdown-section { padding: 9px 11px; border-block: 1px solid var(--line); margin-block: 5px; }
.dropdown-section > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 7px; }
.locale-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.locale-options button { width: 100%; min-height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; font-size: 11px; font-weight: 700; }
.locale-options button.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #dceaff; color: var(--blue); font-weight: 800; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar-sm { width: 36px; height: 36px; }
.avatar-xl { width: 124px; height: 124px; font-size: 40px; }
.avatar-editor { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.avatar-editor .hint { color: var(--muted); font-size: 11px; }
.remove-avatar { color: var(--danger); font-size: 12px; cursor: pointer; }
.content { padding: 28px 30px 50px; max-width: 1500px; margin: 0 auto; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.page-header h1 { margin: 0; font-size: 25px; letter-spacing: -.025em; }.page-header p { color: var(--muted); margin: 5px 0 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }.card-header { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; }.card-header h2, .card-header h3 { margin: 0; font-size: 16px; }.card-body { padding: 20px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; }.stat-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }.stat-value { font-size: 30px; line-height: 1.2; font-weight: 750; margin-top: 7px; }.stat-hint { color: var(--muted); font-size: 12px; margin-top: 4px; }
.grid { display: grid; gap: 18px; }.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }.span-2 { grid-column: span 2; }
.table-wrap { overflow-x: auto; }.table { width: 100%; border-collapse: collapse; }.table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }.table td { padding: 13px 14px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }.table tr:last-child td { border-bottom: 0; }.table tr:hover td { background: #fafcff; }.table .actions { white-space: nowrap; text-align: right; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }.badge-neutral { color: #475467; background: #f2f4f7; }.badge-warning { color: #984e00; background: #fff0d5; }.badge-info { color: #075b86; background: #e4f4ff; }.badge-success { color: #06704d; background: #dcf8ec; }.badge-danger { color: #a22532; background: #fee8eb; }.badge-primary { color: #1258b5; background: #e2edff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; cursor: pointer; text-decoration: none; transition: .15s ease; }.btn:hover { transform: translateY(-1px); text-decoration: none; }.btn:disabled { opacity: .6; cursor: wait; transform: none; }.btn-primary { background: var(--blue); color: #fff; }.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }.btn-success { background: var(--success); color: #fff; }.btn-danger { background: var(--danger); color: #fff; }.btn-warning { background: #d47b08; color: #fff; }.btn-sm { min-height: 31px; padding: 5px 10px; font-size: 12px; }.btn-link { color: var(--blue); background: transparent; padding-inline: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; }.col-12 { grid-column: span 12; }.col-8 { grid-column: span 8; }.col-6 { grid-column: span 6; }.col-4 { grid-column: span 4; }.col-3 { grid-column: span 3; }.col-2 { grid-column: span 2; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 12px; }.field .hint { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }.control { width: 100%; min-height: 40px; border: 1px solid #cfd7e3; border-radius: 8px; background: #fff; padding: 8px 10px; color: var(--ink); }.control:focus { outline: 3px solid rgba(23, 105, 224,.13); border-color: var(--blue); }.control[disabled], .control[readonly] { background: #f3f5f7; color: #526071; cursor: not-allowed; }.textarea { min-height: 90px; resize: vertical; }
.field-label-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }.field-label-actions label { margin: 0; }.btn-link-inline { border: 0; background: transparent; color: var(--blue); padding: 2px 0; cursor: pointer; font-size: 11px; font-weight: 750; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }.toolbar .control { width: auto; min-width: 160px; }.search { min-width: 280px !important; }
.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 17px; border: 1px solid; }.alert-success { background: #eafaf4; color: #076146; border-color: #b9ebd7; }.alert-danger { background: #fff0f1; color: #9f2431; border-color: #f3c7cc; }.alert-warning { background: #fff7e8; color: #8b5205; border-color: #f0d39b; }.alert-info { background: #eef6ff; color: #12558a; border-color: #c9e1f7; }.alert ul { margin: 6px 0 0 20px; padding: 0; }
.detail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }.detail dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }.detail dd { margin: 3px 0 0; font-weight: 650; }
.empty { text-align: center; padding: 42px 20px; color: var(--muted); }.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; }.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 2px solid #e2e8f0; margin-left: 5px; }.timeline li:last-child { padding-bottom: 0; }.timeline li::before { content: ''; position: absolute; width: 10px; height: 10px; background: var(--blue); border: 3px solid #dceaff; border-radius: 50%; left: -7px; top: 2px; }.timeline time { color: var(--muted); font-size: 11px; }
.item-row, .volume-row { border: 1px solid var(--line); background: #fbfcfe; border-radius: 10px; padding: 14px; margin-bottom: 10px; }.row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }.row-head strong { font-size: 12px; }
.item-row-locked { border-color: #ced9e7; background: #f5f7fa; }.item-row-locked .row-head::after { content: "🔒"; margin-left: auto; font-size: 12px; }.item-row-locked .row-head button { display: none; }
.cubage-visual-card { overflow: hidden; }.cubage-3d-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }.cubage-3d-item { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: radial-gradient(circle at 50% 20%, #fff, #eef3f9 72%); overflow: hidden; }.cubage-3d-stage { width: 190px; height: 165px; display: grid; place-items: center; perspective: 700px; }.cubage-3d-box { position: relative; width: var(--box-width); height: var(--box-height); transform-style: preserve-3d; transform: rotateX(-19deg) rotateY(34deg); transition: width .25s ease, height .25s ease; }.cubage-face { position: absolute; display: block; border: 1px solid hsla(var(--box-hue), 68%, 31%, .58); background: hsla(var(--box-hue), 78%, 57%, .72); box-shadow: inset 0 0 24px rgba(255,255,255,.18); backface-visibility: visible; }.cubage-face-front, .cubage-face-back { width: var(--box-width); height: var(--box-height); }.cubage-face-front { transform: translateZ(calc(var(--box-depth) / 2)); }.cubage-face-back { transform: rotateY(180deg) translateZ(calc(var(--box-depth) / 2)); }.cubage-face-right, .cubage-face-left { width: var(--box-depth); height: var(--box-height); left: calc((var(--box-width) - var(--box-depth)) / 2); background: hsla(var(--box-hue), 68%, 43%, .78); }.cubage-face-right { transform: rotateY(90deg) translateZ(calc(var(--box-width) / 2)); }.cubage-face-left { transform: rotateY(-90deg) translateZ(calc(var(--box-width) / 2)); }.cubage-face-top, .cubage-face-bottom { width: var(--box-width); height: var(--box-depth); top: calc((var(--box-height) - var(--box-depth)) / 2); background: hsla(var(--box-hue), 84%, 67%, .8); }.cubage-face-top { transform: rotateX(90deg) translateZ(calc(var(--box-height) / 2)); }.cubage-face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--box-height) / 2)); }.cubage-3d-meta { width: 100%; display: grid; gap: 3px; text-align: center; }.cubage-3d-meta strong { color: var(--ink); }.cubage-3d-meta span, .cubage-3d-meta small { color: var(--muted); }.cubage-3d-empty { grid-column: 1/-1; min-height: 120px; display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; text-align: center; padding: 20px; }
.integration-mapping { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #f8fafc; }.integration-mapping summary { cursor: pointer; font-weight: 700; color: var(--ink); }.integration-health { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-radius: 8px; background: #ecfdf3; color: #17663a; font-size: 12px; }.integration-health span { flex-basis: 100%; }.integration-health-error { background: #fff1f2; color: #a62132; }.break-all { word-break: break-all; }
.santri-search-card { border-color: #b8d3f7; background: linear-gradient(135deg, #fff, #f5f9ff); margin-bottom: 18px; }.search-button-field .btn { width: 100%; }.inline-result { margin-top: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.inline-result[hidden] { display: none; }.inline-result-loading { background: #f5f7fa; color: var(--muted); border-color: var(--line); }.inline-result-success { background: #eafaf4; color: #076146; border-color: #b9ebd7; }.inline-result-error { background: #fff0f1; color: #9f2431; border-color: #f3c7cc; }.check-label { min-height: 40px; display: flex !important; align-items: center; gap: 7px; margin: 0 !important; }.upload-dropzone { min-height: 120px; border: 2px dashed #bfd0e5; border-radius: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; background: #f8fbff; color: var(--muted); cursor: pointer; transition: .15s ease; }.upload-dropzone:hover { border-color: var(--blue); background: var(--blue-soft); }.upload-dropzone strong { color: var(--ink); font-size: 15px; }.upload-icon { width: 38px; height: 38px; border-radius: 50%; background: #dfeeff; color: var(--blue); display: grid; place-items: center; font-size: 22px; font-weight: 800; }.attachment-heading { margin: 22px 0 10px; font-size: 14px; }.attachment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 13px; margin-top: 14px; }.attachment-grid:empty { display: none; }.attachment-card { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; }.attachment-preview-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }.attachment-preview-button:hover .attachment-preview { background: #dfe9f5; }.attachment-preview { height: 145px; background: #edf2f7; display: grid; place-items: center; overflow: hidden; transition: background .15s ease; }.attachment-preview img { width: 100%; height: 100%; object-fit: cover; }.attachment-preview iframe { width: 100%; height: 100%; border: 0; background: #fff; }.file-type-icon { width: 62px; height: 70px; border-radius: 8px; background: #fff; border: 1px solid #d5deea; color: var(--navy-2); display: grid; place-items: center; font-weight: 800; box-shadow: 0 5px 14px rgba(16,37,63,.08); }.attachment-meta { padding: 11px 12px; display: flex; flex-direction: column; min-width: 0; }.attachment-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.attachment-meta span { color: var(--muted); font-size: 11px; }.attachment-actions { padding: 0 12px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }.remove-attachment { color: var(--danger); font-size: 11px; cursor: pointer; }.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.document-preview-dialog { width: min(1120px, calc(100vw - 34px)); height: min(820px, calc(100vh - 34px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 30px 90px rgba(8,24,43,.32); overflow: hidden; }.document-preview-dialog::backdrop { background: rgba(8,24,43,.68); backdrop-filter: blur(3px); }.document-preview-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }.document-preview-header { min-height: 68px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }.document-preview-header > div { min-width: 0; display: flex; flex-direction: column; }.document-preview-header span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }.document-preview-header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.document-preview-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 23px; line-height: 1; }.document-preview-body { min-height: 0; padding: 14px; display: grid; place-items: center; background: #e9eef5; }.document-preview-body img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 30px rgba(16,37,63,.16); }.document-preview-body iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; }.document-preview-footer { min-height: 66px; padding: 13px 18px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.document-preview-unavailable { width: min(440px,100%); padding: 34px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: var(--shadow); }.document-preview-unavailable strong { margin-top: 15px; word-break: break-word; }.document-preview-unavailable p { color: var(--muted); margin: 8px 0 0; }
.swal2-container { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(8,24,43,.62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .16s ease; }.swal2-container.swal2-shown { opacity: 1; }.swal2-popup { width: min(460px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px 28px 24px; border-radius: 18px; background: #fff; box-shadow: 0 26px 80px rgba(8,24,43,.34); text-align: center; transform: translateY(10px) scale(.98); transition: transform .16s ease; }.swal2-shown .swal2-popup { transform: translateY(0) scale(1); }.swal2-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border: 4px solid; border-radius: 50%; font-size: 36px; font-weight: 700; line-height: 1; }.swal2-success { color: var(--success); border-color: #8ddabd; }.swal2-error { color: var(--danger); border-color: #f0aeb5; }.swal2-warning, .swal2-question { color: var(--warning); border-color: #ecc683; }.swal2-title { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.25; }.swal2-html-container { margin: 12px 0 0; color: var(--muted); font-size: 14px; }.swal2-html-container ul { margin: 0; padding: 0; list-style: none; text-align: left; }.swal2-html-container li { padding: 8px 0 8px 19px; position: relative; border-bottom: 1px solid #eef1f5; }.swal2-html-container li::before { content: '•'; position: absolute; left: 4px; color: var(--danger); }.swal2-html-container li:last-child { border-bottom: 0; }.swal2-actions { display: flex; justify-content: center; gap: 10px; margin-top: 23px; }.swal2-confirm, .swal2-cancel { min-width: 110px; min-height: 40px; padding: 8px 16px; border-radius: 9px; font-weight: 750; cursor: pointer; }.swal2-confirm { border: 1px solid var(--blue); background: var(--blue); color: #fff; }.swal2-cancel { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.permissions-title { margin: 24px 0 12px; font-size: 15px; }.permission-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.permission-group { border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; overflow: hidden; }.permission-group-header { min-height: 45px; padding: 9px 12px; background: #f3f6fa; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }.permission-options { padding: 7px 12px; }.permission-option { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; cursor: pointer; }.permission-option + .permission-option { border-top: 1px solid #edf0f4; }.permission-option input { margin-top: 3px; }.permission-option span { display: flex; flex-direction: column; }.permission-option strong { font-size: 12px; }.permission-option small { color: var(--muted); font-size: 10px; }
.selection-grid { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; }.selection-card { display: flex !important; align-items: center; gap: 10px; min-height: 48px; margin: 0 !important; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfe; cursor: pointer; }.selection-card:has(input:checked) { border-color: #8ab9f3; background: var(--blue-soft); }.selection-card span { display: flex; min-width: 0; flex-direction: column; }.selection-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.selection-card small { color: var(--muted); font-weight: 500; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }.tab { padding: 10px 13px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; }.tab.active { color: var(--blue); border-color: var(--blue); }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; }.login-visual { background: linear-gradient(135deg, #0f2743, #174a7d 62%, #1875dc); color: #fff; padding: 9vw; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }.login-visual::after { content: ''; width: 480px; height: 480px; border-radius: 50%; border: 90px solid rgba(255,255,255,.06); position: absolute; right: -180px; bottom: -180px; }.login-visual h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.045em; max-width: 650px; margin: 20px 0; }.login-visual p { color: #c5d8eb; max-width: 560px; font-size: 16px; }.login-panel { display: grid; place-items: center; padding: 35px; }.login-card { width: min(420px, 100%); }.login-card h2 { font-size: 28px; margin: 0 0 5px; }.login-card > p { color: var(--muted); margin: 0 0 28px; }.login-card .field { margin-bottom: 16px; }.login-card .btn { width: 100%; margin-top: 8px; }
.guest-locale { position: fixed; top: 18px; right: 18px; z-index: 5; display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.guest-locale form { display: flex; }
.guest-locale button { border: 0; border-radius: 7px; background: transparent; padding: 6px 9px; cursor: pointer; font-size: 11px; font-weight: 750; }
.guest-locale button.active { background: var(--blue-soft); color: var(--blue); }
.login-logo {
    display: block;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 24px;
}
.mobile-toggle { display: none; font-size: 20px; }
.muted { color: var(--muted); }.text-right { text-align: right; }.text-danger { color: var(--danger); }.nowrap { white-space: nowrap; }.mt-2 { margin-top: 12px; }.mb-0 { margin-bottom: 0; }.w-full { width: 100%; }
@media (max-width: 1050px) { .stats { grid-template-columns: repeat(3, 1fr); }.grid-3 { grid-template-columns: 1fr 1fr; }.detail-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .app-shell, .sidebar-is-collapsed .app-shell { grid-template-columns: 1fr; }.sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 30; }.sidebar.open { display: block; }.sidebar-is-collapsed .sidebar { padding: 22px 16px; }.sidebar-is-collapsed .brand { width: 100%; padding-inline: 8px; }.sidebar-is-collapsed .nav-title, .sidebar-is-collapsed .nav-label { display: block; }.sidebar-is-collapsed .nav-link { justify-content: flex-start; padding-inline: 12px; }.mobile-toggle { display: grid; }.desktop-collapse { display: none; }.topbar { padding: 0 16px; }.content { padding: 20px 15px 40px; }.stats, .grid-2, .grid-3 { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.page-header { flex-direction: column; }.form-grid { grid-template-columns: 1fr 1fr; }.form-grid > [class*="col-"] { grid-column: span 1; }.form-grid > .col-12, .form-grid > .col-8 { grid-column: span 2; }.detail-list { grid-template-columns: 1fr; }.user-chip { display: none; }.login-page { grid-template-columns: 1fr; }.login-visual { display: none; }.login-panel { min-height: 100vh; }.search { min-width: 100% !important; }.toolbar { align-items: stretch; }.toolbar .control { width: 100%; }.toolbar .btn { flex: 1; }.inline-result { align-items: stretch; flex-direction: column; }.inline-result .btn { width: 100%; }.permission-groups { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; }.stat { padding: 14px; }.stat-value { font-size: 24px; }.form-grid { grid-template-columns: 1fr; }.form-grid > [class*="col-"] { grid-column: span 1; }.topbar-right .unit-switch { max-width: 145px; }.content { padding-inline: 10px; }.document-preview-dialog { width: 100vw; height: 100vh; border-radius: 0; }.document-preview-footer { justify-content: stretch; }.document-preview-footer .btn { flex: 1; }.swal2-popup { padding: 24px 18px 20px; }.swal2-actions { flex-direction: column-reverse; }.swal2-confirm, .swal2-cancel { width: 100%; } }
