/* ==========================================================
   Fakture — dizajn sistem
   ========================================================== */
:root {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --surface-2: #f9fafb;
    --border: #e6e8ef;
    --border-strong: #d4d7e2;
    --text: #151827;
    --text-2: #4b5266;
    --muted: #8a90a2;
    --primary: #4f46e5;
    --primary-600: #4338ca;
    --primary-50: #eef2ff;
    --green: #059669; --green-50: #ecfdf5;
    --red: #dc2626;   --red-50: #fef2f2;
    --amber: #d97706; --amber-50: #fffbeb;
    --blue: #2563eb;  --blue-50: #eff6ff;
    --gray-50: #f3f4f6;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
    --shadow-lg: 0 12px 32px rgba(16,24,40,.12);
    --sidebar: 248px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 .75rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .mono { font-variant-numeric: tabular-nums; }
.text-right { text-align: right; } .nowrap { white-space: nowrap; }
.mt-0{margin-top:0}.mt-1{margin-top:6px}.mt-2{margin-top:12px}.mt-3{margin-top:20px}.mt-4{margin-top:32px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:6px}.mb-2{margin-bottom:12px}.mb-3{margin-bottom:20px}
.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:6px}.gap-2{gap:12px}.wrap{flex-wrap:wrap}.grow{flex:1}

/* ---------- Layout ---------- */
.sidebar {
    position: fixed; inset: 0 auto 0 0; width: var(--sidebar);
    background: #0f1222; color: #c9cce0; display: flex; flex-direction: column;
    padding: 18px 14px; z-index: 40; transition: transform .2s ease;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; padding: 6px 8px 18px; }
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; font-size: 16px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 8px; color: #b4b8cf; font-weight: 500; }
.side-nav a i { font-size: 16px; opacity: .9; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: rgba(99,102,241,.22); color: #fff; }
.side-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding: 14px 6px 0; }
.user-chip { display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #2a2f4a; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
.user-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e5e7f5; }
.side-logout { color: #9aa0bb; font-size: 18px; padding: 4px; }
.side-logout:hover { color: #fff; }
.main { margin-left: var(--sidebar); min-height: 100vh; }
.topbar {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
    height: 60px; padding: 0 28px; background: rgba(245,246,250,.85); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.topbar-title { font-weight: 600; font-size: 16px; flex: 1; }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }
.content { padding: 24px 28px 60px; max-width: 1320px; }
.sidebar-backdrop { display: none; }

@media (max-width: 960px) {
    .sidebar { transform: translateX(-100%); }
    body.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
    body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15,18,34,.4); z-index: 30; }
    .main { margin-left: 0; }
    .menu-btn { display: inline-grid; }
    .topbar { padding: 0 16px; }
    .content { padding: 18px 16px 50px; }
    .topbar-actions .btn span { display: none; }
}

/* ---------- Cards / grids ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-head h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-head h3 i { color: var(--primary); }
.card + .card, .card + .grid, .grid + .card, .grid + .grid { margin-top: 20px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 0; color: var(--muted); }

/* ---------- KPI ---------- */
.kpi { padding: 18px 20px; }
.kpi-label { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; font-size: 13px; }
.kpi-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.kpi-value { font-size: 23px; font-weight: 700; margin-top: 10px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ic-indigo { background: var(--primary-50); color: var(--primary); }
.ic-green { background: var(--green-50); color: var(--green); }
.ic-red { background: var(--red-50); color: var(--red); }
.ic-amber { background: var(--amber-50); color: var(--amber); }
.ic-blue { background: var(--blue-50); color: var(--blue); }

.progress { height: 8px; background: var(--gray-50); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.progress.warn > span { background: var(--amber); } .progress.danger > span { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 38px; padding: 0 15px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; transition: .15s;
    background: var(--surface); color: var(--text); text-decoration: none;
}
.btn i { font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-outline { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); color: var(--text); border-color: #c1c5d4; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--gray-50); color: var(--text); }
.btn-danger { background: var(--surface); color: var(--red); border-color: #f3c4c4; }
.btn-danger:hover { background: var(--red-50); color: var(--red); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #047857; color: #fff; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; color: var(--text-2); font-size: 18px; }
.icon-btn:hover { background: var(--gray-50); }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 500; font-size: 13px; color: var(--text-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.req::after { content: ' *'; color: var(--red); }
.input, .select, .textarea {
    width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: #fff; font: inherit; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 80px; padding: 9px 12px; resize: vertical; }
.select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%238a90a2' d='M8 11 3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.14); }
.input[readonly] { background: var(--surface-2); }
.input-group { display: flex; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border: 1px solid var(--border-strong); border-left: 0; height: 38px; }
.form-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(12, minmax(0,1fr)); }
.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-9{grid-column:span 9}
@media (max-width: 700px) { .form-grid > [class*="col-"] { grid-column: span 12; } }
.check { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-weight: 500; color: var(--text); }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.check small { display: block; color: var(--muted); font-weight: 400; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 14px; }
.section-title i { color: var(--primary); font-size: 15px; }
.segmented { display: inline-flex; background: var(--gray-50); border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.segmented label { padding: 6px 12px; border-radius: 7px; cursor: pointer; font-weight: 500; color: var(--text-2); font-size: 13px; }
.segmented input { display: none; }
.segmented input:checked + span { color: var(--text); }
.segmented label:has(input:checked) { background: #fff; color: var(--text); box-shadow: var(--shadow); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.clickable { cursor: pointer; }
.table tbody tr:hover { background: #fafbff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-title { font-weight: 600; color: var(--text); }
.cell-sub { font-size: 12.5px; color: var(--muted); }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }

/* ---------- Pills / alerts ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-gray { background: var(--gray-50); color: #5b6175; }
.pill-blue { background: var(--blue-50); color: var(--blue); }
.pill-green { background: var(--green-50); color: var(--green); }
.pill-red { background: var(--red-50); color: var(--red); }
.pill-amber { background: var(--amber-50); color: var(--amber); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--gray-50); color: var(--text-2); font-size: 12px; font-weight: 500; }
.alert { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid; margin-bottom: 16px; }
.alert i { font-size: 17px; margin-top: 1px; }
.alert > div { flex: 1; }
.alert-success { background: var(--green-50); border-color: #a7f3d0; color: #065f46; }
.alert-error { background: var(--red-50); border-color: #fecaca; color: #991b1b; }
.alert-info { background: var(--blue-50); border-color: #bfdbfe; color: #1e40af; }
.alert-warning { background: var(--amber-50); border-color: #fde68a; color: #92400e; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty i { font-size: 38px; color: #c3c7d6; display: block; margin-bottom: 10px; }
.empty h3 { color: var(--text); }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.search { position: relative; flex: 1; min-width: 200px; }
.search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 36px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: 13px; }
.tabs a:hover { background: var(--gray-50); }
.tabs a.active { background: var(--primary-50); color: var(--primary); }
.tabs .count { margin-left: 5px; color: var(--muted); font-weight: 400; }
.pagination { display: flex; gap: 4px; justify-content: center; padding: 14px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; padding: 0 8px; color: var(--text-2); font-weight: 500; }
.pagination a:hover { background: var(--gray-50); }
.pagination .current { background: var(--primary); color: #fff; }

/* ---------- Invoice editor ---------- */
.items-editor { display: flex; flex-direction: column; gap: 10px; }
.item-row { display: grid; grid-template-columns: 28px minmax(0,1fr) 90px 92px 130px 92px 120px 36px; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.item-row .handle { color: var(--muted); display: grid; place-items: center; height: 38px; font-weight: 600; font-size: 12px; }
.item-row .line-total { height: 38px; display: flex; align-items: center; justify-content: flex-end; font-weight: 600; font-variant-numeric: tabular-nums; }
.item-row.no-vat { grid-template-columns: 28px minmax(0,1fr) 90px 92px 130px 120px 36px; }
.item-row.no-vat .vat-cell { display: none; }
.items-head { display: grid; grid-template-columns: 28px minmax(0,1fr) 90px 92px 130px 92px 120px 36px; gap: 8px; padding: 0 11px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.items-head.no-vat { grid-template-columns: 28px minmax(0,1fr) 90px 92px 130px 120px 36px; }
.items-head.no-vat .vat-cell { display: none; }
@media (max-width: 900px) {
    .items-head { display: none; }
    .item-row, .item-row.no-vat { grid-template-columns: 1fr 1fr; }
    .item-row .handle { display: none; }
    .item-row .desc-cell { grid-column: span 2; }
    .item-row .cell-label { display: block; }
}
.cell-label { display: none; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.summary-box { position: sticky; top: 80px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 13px; color: var(--text); font-size: 18px; font-weight: 700; }
.client-picker { position: relative; }
.picker-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; z-index: 15; display: none; }
.picker-list.open { display: block; }
.picker-item { padding: 10px 12px; cursor: pointer; border-bottom: 1px solid var(--border); }
.picker-item:last-child { border-bottom: 0; }
.picker-item:hover, .picker-item.hl { background: var(--primary-50); }
.picker-item .cell-sub { margin-top: 1px; }
.selected-client { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #c7d2fe; background: var(--primary-50); border-radius: 10px; }
.selected-client .grow { min-width: 0; }

/* ---------- Dialog ---------- */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--text); }
dialog::backdrop { background: rgba(15,18,34,.45); }
.dialog-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.dialog-head h3 { margin: 0; }
.dialog-body { padding: 20px 22px; }
.dialog-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; background: var(--surface-2); border-radius: 0 0 14px 14px; }
dialog.wide { width: min(760px, calc(100vw - 32px)); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 20px; border-left: 2px solid var(--border); margin-left: 5px; }
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px #fff; }
.timeline .when { font-size: 12px; color: var(--muted); }

/* ---------- Auth ---------- */
body.auth { min-height: 100vh; background: #0f1222; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 480px; }
.auth-side { padding: 56px; color: #c9cce0; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 20% 20%, rgba(99,102,241,.35), transparent 50%), radial-gradient(circle at 80% 90%, rgba(139,92,246,.25), transparent 45%); }
.auth-side h2 { color: #fff; font-size: 30px; line-height: 1.25; max-width: 520px; margin: 28px 0 22px; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.auth-points i { color: #a5b4fc; margin-right: 8px; }
.brand-lg { font-size: 22px; padding: 0; }
.auth-card { background: #fff; padding: 56px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-card h1 { font-size: 24px; }
.auth-card form { display: grid; gap: 14px; margin-top: 18px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-card { padding: 40px 24px; } }

/* ---------- Misc ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 9px; align-items: flex-start; }
.checklist li i { color: var(--green); margin-top: 1px; }
.checklist li.miss i { color: var(--amber); }
.logo-drop { width: 120px; height: 120px; border: 2px dashed var(--border-strong); border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--muted); text-align: center; font-size: 12px; }
.logo-drop img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prose h3 { margin-top: 22px; }
.prose ul { padding-left: 20px; margin: 6px 0 12px; }
.prose li { margin-bottom: 5px; }
.prose code, .note-box { background: var(--gray-50); padding: 1px 6px; border-radius: 5px; }
.note-box { display: block; padding: 10px 12px; margin: 6px 0 12px; border-left: 3px solid var(--primary); font-size: 13px; }
.copy-field { display: flex; gap: 6px; }
.copy-field .input { font-size: 13px; }
.grid-21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.col-2{grid-column:span 2}
@media (max-width: 1100px) { .grid-21 { grid-template-columns: 1fr; } }
.grid > .card, .grid > * + .card { margin-top: 0; }

/* Editor stavki: raspored po širini kartice */
.items-wrap { container-type: inline-size; }
@container (max-width: 760px) {
    .items-head { display: none; }
    .item-row, .item-row.no-vat {
        grid-template-columns: 1fr 1fr 1.4fr 1fr 36px;
        grid-template-areas: "desc desc desc desc del" "qty unit price vat total";
    }
    .item-row.no-vat { grid-template-areas: "desc desc desc desc del" "qty unit price total total"; }
    .item-row .handle { display: none; }
    .item-row .desc-cell { grid-area: desc; }
    .item-row > div:nth-child(3) { grid-area: qty; }
    .item-row > div:nth-child(4) { grid-area: unit; }
    .item-row > div:nth-child(5) { grid-area: price; }
    .item-row .vat-cell { grid-area: vat; }
    .item-row .line-total { grid-area: total; align-self: end; }
    .item-row > div:last-child { grid-area: del; }
    .item-row .cell-label { display: block; }
    .item-row .desc-cell .cell-label { display: none; }
}

/* Padajući meni akcija */
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 25; min-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 5px; }
.menu-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 11px; border: 0; background: none; font: inherit; color: var(--text); border-radius: 7px; cursor: pointer; text-align: left; }
.menu-item:hover { background: var(--gray-50); }
.menu-item.danger { color: var(--red); }
.menu-item.danger:hover { background: var(--red-50); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
