/* Ostale teme se uporabijo samo pri izrecni izbiri; originalna modra ostane nedotaknjena. */
:root{
 --theme-sidebar:#0f172a;
 --theme-sidebar-text:#aab8cb;
 --theme-sidebar-muted:#94a3b8;
 --theme-sidebar-active:#283e63;
 --theme-sidebar-active-text:#ffffff;
 --theme-sidebar-search:#1e293b;
 --theme-background:#f8fafc;
 --theme-topbar:#ffffff;
 --theme-surface:#ffffff;
 --theme-primary:#2563eb;
 --theme-primary-text:#ffffff;
 --theme-primary-hover:#1d4ed8;
 --theme-soft:#f1f5f9;
 --theme-border:#e2e8f0;
 --theme-text:#0f172a;
 --theme-muted:#64748b;
 --theme-hero-start:#172554;
 --theme-hero-end:#3b82f6;
 --theme-hero-text:#ffffff;
 --theme-link:#2563eb;
}
html.theme-enabled{
 --nav:var(--theme-sidebar);--nav-border:var(--theme-border);
 --primary:var(--theme-link);--primary-hover:var(--theme-link);
 --primary-soft:var(--theme-soft);--primary-border:var(--theme-border);
 --blue:var(--theme-link);--blue-dark:var(--theme-link);
 --text:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-border);
 --background:var(--theme-background);--soft:var(--theme-soft);
 color:var(--theme-text);background:var(--theme-background);
}
html.theme-enabled body,html.theme-enabled .app-shell{background:var(--theme-background);color:var(--theme-text)}html.theme-enabled .app-sidebar{background:var(--theme-sidebar);border-right-color:var(--theme-border);color:var(--theme-sidebar-text)}html.theme-enabled .sidebar-brand{border-bottom-color:var(--theme-border);color:var(--theme-sidebar-text)}html.theme-enabled .sidebar-brand-copy small,html.theme-enabled .sidebar-user small,html.theme-enabled .sidebar-no-results{color:var(--theme-sidebar-muted)}html.theme-enabled .sidebar-section-label{color:var(--theme-sidebar-muted)}html.theme-enabled .sidebar-search,html.theme-enabled .sidebar-search:focus-within{background:var(--theme-sidebar-search);border-color:var(--theme-border);color:var(--theme-sidebar-text)}html.theme-enabled .sidebar-search input::placeholder,html.theme-enabled .app-sidebar .sidebar-search input[type="search"]::placeholder{color:var(--theme-sidebar-muted)}html.theme-enabled .sidebar-search input,html.theme-enabled .app-sidebar .sidebar-search input[type="search"],html.theme-enabled .app-sidebar .sidebar-search input[type="search"]:focus{color:var(--theme-sidebar-text);caret-color:var(--theme-link)}html.theme-enabled .side-link,html.theme-enabled .side-link:hover{color:var(--theme-sidebar-text)}html.theme-enabled .side-link:hover{background:var(--theme-sidebar-search)}html.theme-enabled .side-link.current,html.theme-enabled .side-link.current:hover{background:var(--theme-sidebar-active);color:var(--theme-sidebar-active-text);box-shadow:0 2px 9px rgba(65,52,31,.07),inset 2px 0 var(--theme-link);border:1px solid var(--theme-border)}html.theme-enabled .side-link.current .ico{color:var(--theme-sidebar-active-text);background:transparent}html.theme-enabled .nav-active-indicator{background-color:var(--theme-link)}html.theme-enabled .avatar-sidebar{background:var(--theme-sidebar-active);color:var(--theme-sidebar-active-text)}html.theme-enabled .sidebar-footer{border-top-color:var(--theme-border)}html.theme-enabled .sidebar-logout,html.theme-enabled .sidebar-logout:hover{color:var(--theme-sidebar-text)}html.theme-enabled .sidebar-logout:hover{background:var(--theme-sidebar-search)}html.theme-enabled .sidebar-logo,html.theme-enabled .mobile-logo{background:var(--theme-primary);color:var(--theme-primary-text);box-shadow:none}html.theme-enabled .topbar{background:var(--theme-topbar);border-bottom-color:var(--theme-border)}html.theme-enabled .topbar-account-copy strong{color:var(--theme-text)}html.theme-enabled .shortcut,html.theme-enabled .shortcut-primary{background:var(--theme-soft);color:var(--theme-link)}html.theme-enabled .shortcut:hover,html.theme-enabled .shortcut-primary:hover{background:var(--theme-border)}html.theme-enabled .avatar{background:var(--theme-soft);color:var(--theme-link)}html.theme-enabled .page-heading .eyebrow,html.theme-enabled .eyebrow{color:var(--theme-link)}html.theme-enabled .heading-user{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}html.theme-enabled .panel,html.theme-enabled .metric-card,html.theme-enabled .accounting-summary>div,html.theme-enabled .scan-step,html.theme-enabled .login-card{background:var(--theme-surface);border-color:var(--theme-border)}html.theme-enabled .panel p,html.theme-enabled .muted,html.theme-enabled .metric-label,html.theme-enabled .scanner-header p{color:var(--theme-muted)}html.theme-enabled .card-icon,html.theme-enabled .step-number,html.theme-enabled .tone-blue,html.theme-enabled .scan-welcome-icon,html.theme-enabled .count-pill,html.theme-enabled .drop-zone .drop-icon{background:var(--theme-soft);color:var(--theme-link)}html.theme-enabled .card-icon.soft{background:var(--theme-soft);color:var(--theme-muted)}html.theme-enabled button,html.theme-enabled .button{background:var(--theme-primary);color:var(--theme-primary-text)}html.theme-enabled button:hover,html.theme-enabled .button:hover{background:var(--theme-primary-hover);color:var(--theme-primary-text)}html.theme-enabled button.secondary,html.theme-enabled .button.secondary{background:var(--theme-soft);color:var(--theme-link)}html.theme-enabled button.secondary:hover,html.theme-enabled .button.secondary:hover{background:var(--theme-border);color:var(--theme-link)}html.theme-enabled button.danger,html.theme-enabled .button.danger{background:#dc2626;color:#fff}html.theme-enabled button.danger:hover,html.theme-enabled .button.danger:hover{background:#b91c1c;color:#fff}html.theme-enabled button.scan-finish,html.theme-enabled .scan-finish{background:#15803d;color:#fff}html.theme-enabled button.scan-finish:hover,html.theme-enabled .scan-finish:hover{background:#166534;color:#fff}html.theme-enabled button.scan-remove,html.theme-enabled .scan-remove{background:#fff1f2;color:#be123c}html.theme-enabled button.scan-remove:hover,html.theme-enabled .scan-remove:hover{background:#ffe4e6;color:#9f1239}html.theme-enabled input[type=checkbox],html.theme-enabled input[type=radio]{accent-color:var(--theme-link)}html.theme-enabled button:focus-visible,html.theme-enabled a:focus-visible,html.theme-enabled input:focus-visible,html.theme-enabled select:focus-visible,html.theme-enabled textarea:focus-visible,html.theme-enabled [tabindex]:focus-visible{outline-color:var(--theme-link)}html.theme-enabled input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,html.theme-enabled select:focus,html.theme-enabled textarea:focus,html.theme-enabled .field-input:focus-within{border-color:var(--theme-link);box-shadow:0 0 0 4px var(--theme-soft)}html.theme-enabled input:not([type=checkbox]):not([type=radio]):not([type=file]),html.theme-enabled select,html.theme-enabled textarea,html.theme-enabled .field-input{border-color:var(--theme-border);color:var(--theme-text)}html.theme-enabled label{color:var(--theme-text)}html.theme-enabled .notice,html.theme-enabled .scanner-screen>.scan-status:not(:empty){background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-link)}html.theme-enabled .notice{color:var(--theme-link)}html.theme-enabled .dashboard-hero{background:linear-gradient(112deg,var(--theme-hero-start),var(--theme-hero-end));color:var(--theme-hero-text);box-shadow:0 14px 32px rgba(60,48,22,.09)}html.theme-enabled .dashboard-hero::before,html.theme-enabled .dashboard-hero::after{background:rgba(255,255,255,.16)}html.theme-enabled .hero-copy h2,html.theme-enabled .hero-copy p,html.theme-enabled .hero-eyebrow{color:var(--theme-hero-text)}html.theme-enabled .hero-main{background:var(--theme-primary-text);color:var(--theme-surface)}html.theme-enabled .hero-main:hover{background:var(--theme-text);color:var(--theme-surface)}html.theme-enabled .hero-subtle{background:rgba(255,255,255,.25);color:var(--theme-hero-text);border-color:var(--theme-hero-text)}html.theme-enabled .hero-subtle:hover{background:rgba(255,255,255,.48);color:var(--theme-hero-text)}html.theme-enabled .hero-paper{color:var(--theme-link)}html.theme-enabled .hero-paper span{background:var(--theme-soft)}html.theme-enabled .hero-spark{background:var(--theme-primary);color:var(--theme-primary-text)}html.theme-enabled .metric-card:hover{box-shadow:0 12px 29px rgba(60,48,22,.08)}html.theme-enabled .drop-zone,html.theme-enabled .empty-state,html.theme-enabled .camera-quick,html.theme-enabled .camera-panel .camera-input,html.theme-enabled .check,html.theme-enabled .override-field,html.theme-enabled .scan-page,html.theme-enabled .scan-export{background:var(--theme-background);border-color:var(--theme-border)}html.theme-enabled .drop-zone:hover,html.theme-enabled .drop-zone.is-dragover,html.theme-enabled .check:hover{background:var(--theme-soft);border-color:var(--theme-link)}html.theme-enabled .drop-zone:focus-within{border-color:var(--theme-link);outline-color:var(--theme-border)}html.theme-enabled .table-scroll{border-color:var(--theme-border)}html.theme-enabled th{background:var(--theme-soft);color:var(--theme-muted)}html.theme-enabled tbody tr:hover{background:var(--theme-background)}html.theme-enabled th,html.theme-enabled td{border-bottom-color:var(--theme-border)}html.theme-enabled td a,html.theme-enabled .inline-action,html.theme-enabled .pdf-preview-error a{color:var(--theme-link)}html.theme-enabled .access-tabs a[aria-current="page"],html.theme-enabled .accounting-choice:has(input:checked){background:var(--theme-soft);border-color:var(--theme-link);color:var(--theme-link)}html.theme-enabled .accounting-choice,html.theme-enabled .access-tabs a{border-color:var(--theme-border)}html.theme-enabled .accounting-dialog{border-color:var(--theme-border);color:var(--theme-text)}html.theme-enabled .login-brand-panel{background:linear-gradient(145deg,var(--theme-hero-start),var(--theme-hero-end));color:var(--theme-hero-text)}html.theme-enabled .login-brand-panel::after{background:rgba(255,255,255,.15)}html.theme-enabled .login-brand-top small,html.theme-enabled .login-brand-copy p,html.theme-enabled .login-brand-copy h1 em,html.theme-enabled .login-eyebrow,html.theme-enabled .login-bottom{color:var(--theme-hero-text)}html.theme-enabled .login-brand-features span{background:rgba(255,255,255,.22);color:var(--theme-hero-text);border-color:var(--theme-border)}html.theme-enabled .login-form-panel{background:var(--theme-background)}html.theme-enabled .login-form-eyebrow{color:var(--theme-link)}html.theme-enabled .login-card-footer{border-color:var(--theme-border)}

@media(max-width:700px){html.theme-enabled .mobile-cards tr,html.theme-enabled .mobile-cards tbody tr:hover{background:var(--theme-surface);border-color:var(--theme-border)}html.theme-enabled .mobile-cards td{border-color:var(--theme-border)}html.theme-enabled .mobile-cards td a{background:var(--theme-soft)}}
html.theme-enabled .menu-toggle,html.theme-enabled .menu-toggle:hover{background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-text)}


/* Izbira predlog in lasten mešalnik barv. */
.theme-intro{max-width:900px;line-height:1.6}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}
.theme-option{display:flex;flex-direction:column;gap:11px;margin:0;padding:14px;background:var(--theme-surface);border:2px solid var(--theme-border);border-radius:15px;cursor:pointer;min-width:0;transition:box-shadow .15s,border-color .15s}
.theme-option:has(input:checked){border-color:var(--theme-link);box-shadow:0 0 0 3px var(--theme-soft)}
.theme-option input[type=radio]{width:18px;height:18px;flex:0 0 auto}
.theme-option-top{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:850}
.theme-option small{font-size:12px;font-weight:500;color:var(--theme-muted);line-height:1.4}
.theme-sample{height:77px;width:100%;display:flex;align-items:stretch;gap:6px;padding:8px;border:1px solid rgba(0,0,0,.08);border-radius:11px;overflow:hidden}
.theme-sample-menu{width:27%;border-radius:6px;flex:0 0 auto}
.theme-sample-main{flex:1;display:flex;flex-direction:column;gap:6px}
.theme-sample-banner{height:23px;border-radius:5px}
.theme-sample-cards{display:flex;gap:6px;flex:1}
.theme-sample-cards>i{flex:1;border-radius:5px}
.theme-custom-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.theme-color-field{margin:0;display:flex;align-items:center;gap:12px;padding:11px;border:1px solid var(--theme-border);background:var(--theme-background);border-radius:12px;min-width:0}
.theme-color-field>span{display:block;flex:1;min-width:0}
.theme-color-field strong,.theme-color-field small{display:block}
.theme-color-field strong{font-size:12px;font-weight:800}
.theme-color-field small{font-size:10px;margin-top:5px;line-height:1.4;color:var(--theme-muted);font-weight:500}
.theme-color-field input[type=color]{appearance:auto;-webkit-appearance:auto;flex:0 0 51px;width:51px!important;height:43px!important;margin:0!important;padding:3px!important;border:1px solid var(--theme-border)!important;background:var(--theme-surface);border-radius:10px;cursor:pointer}
.theme-editor{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:16px;padding:22px;margin:0 0 20px}
.theme-editor h3{margin:0 0 8px}
.theme-editor[hidden]{display:none!important}
.theme-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:22px}
.theme-accessibility{font-size:12px;font-weight:750;line-height:1.5;margin-top:12px;color:var(--theme-muted)}
.theme-accessibility[hidden]{display:none!important}
.theme-note{font-size:12px;color:var(--theme-muted)}
@media(max-width:1050px){.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-custom-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.theme-options,.theme-custom-fields{grid-template-columns:1fr}.theme-editor{padding:15px}.theme-actions>*{width:100%}}
