:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; color: #23323c; background: #f7f9fa; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; }
[hidden] { display: none !important; }
.login-screen { display: grid; min-height: 100vh; place-items: center; padding: 22px; background: radial-gradient(ellipse at 18% 12%, #ede9fe, transparent 38%), linear-gradient(145deg, #f8f7fd, #f3f0fb 70%, #fff8fa); }
.login-card { width: min(100%, 420px); padding: 34px 35px 27px; border: 1px solid #e7e5ef; border-radius: 17px; background: #fff; box-shadow: 0 18px 55px rgba(49, 36, 76, .10); }
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; }
.login-brand .brand-icon { font-size: 21px; }
.login-card h1 { margin: 0; }
.login-intro { margin: 8px 0 23px; color: #8a9a9c; font-size: 13px; }
.login-form { display: grid; gap: 14px; }
.login-form label { display: grid; gap: 7px; color: #556b6d; font-size: 12px; font-weight: 700; }
.login-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dfe3ec; border-radius: 8px; outline: none; font: inherit; }
.login-form input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px #ede9fe; }
.login-submit { min-height: 45px; }
.login-message { margin: 0; color: #aa5141; font-size: 12px; line-height: 1.5; }
.login-message:empty { display: none; }
.login-footnote { display: flex; align-items: center; gap: 8px; margin-top: 21px; color: #98a2ad; font-size: 10px; }
.login-footnote .dot { background: #4aa88b; }
.shell { min-height: 100vh; display: flex; }
.sidebar { width: 240px; flex-shrink: 0; background: white; border-right: 1px solid #e8edef; padding: 28px 17px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px 40px; }
.brand-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: white; background: #317e79; font-size: 21px; font-weight: 700; }
.brand strong { display: block; font-size: 21px; letter-spacing: -.8px; color: #264b4b; }
.brand small { display: block; color: #95a3a6; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.nav-caption { padding: 0 11px 9px; color: #a4afb2; font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.nav-gap { margin-top: 30px; }
.nav-item { display: flex; align-items: center; gap: 13px; padding: 12px; margin: 2px 0; border-radius: 8px; font-weight: 600; }
.sidebar a.nav-item { text-decoration: none; }
.nav-item > span:first-child { width: 18px; font-size: 18px; text-align: center; }
.nav-item.muted { color: #819094; }
.nav-item.active { color: #286f6a; background: #e8f4f1; }
.demo-badge { margin-left: auto; font-size: 9px; color: #508d86; }
.sidebar-note { margin-top: auto; background: #f7faf9; border-radius: 10px; padding: 15px; color: #97a4a4; font-size: 11px; line-height: 1.8; }
.sidebar-note strong { color: #627976; }
.content { min-width: 0; flex: 1; }
.topbar { height: 67px; background: white; border-bottom: 1px solid #e8edef; display: flex; justify-content: space-between; align-items: center; padding: 0 42px; color: #91a0a2; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.furs-link, .logout-button { border: 1px solid #e3dcf9; border-radius: 8px; padding: 8px 11px; color: #6d28d9; background: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.logout-button { cursor: pointer; color: #647d7b; border-color: #dae5e3; }
.furs-link:hover, .logout-button:hover { background: #f7f5ff; }
.crumb { padding: 0 8px; color: #c4cece; }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: #317e79; background: #e8f4f1; font-weight: 700; }
.container { max-width: 1260px; margin: 0 auto; padding: 39px 42px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { color: #4a928b; font-size: 10px; letter-spacing: 1.25px; font-weight: 800; margin-bottom: 6px; }
h1 { margin: 0; color: #203639; font-size: 29px; letter-spacing: -.9px; }
h2 { margin: 0 0 5px; font-size: 17px; color: #263c3e; letter-spacing: -.3px; }
p { line-height: 1.55; }
.heading p, .section-title p { margin: 6px 0 0; color: #8a9a9c; font-size: 13px; }
.test-tag, .small-tag { white-space: nowrap; border: 1px solid #dfece7; background: #f1f8f5; color: #438174; border-radius: 20px; padding: 7px 11px; font-size: 11px; font-weight: 700; }
.test-tag span, .dot { display: inline-block; border-radius: 50%; background: #4aa88b; width: 8px; height: 8px; margin-right: 5px; }
.notice { display: flex; gap: 13px; color: #846c38; background: #fff9e9; border: 1px solid #f5e9c4; border-radius: 10px; padding: 15px 17px; font-size: 12px; line-height: 1.6; margin-bottom: 22px; }
.notice-icon { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid #d6ae5b; border-radius: 50%; display: grid; place-items: center; font-weight: bold; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-bottom: 20px; }
.stat, .card { background: white; border: 1px solid #e8eeee; border-radius: 12px; box-shadow: 0 3px 12px rgba(27, 65, 60, .025); }
.stat { padding: 20px 21px; }
.stat-label { display: flex; justify-content: space-between; align-items: center; color: #849397; font-size: 12px; font-weight: 600; }
.stat-icon { width: 32px; height: 32px; display: grid; place-items: center; background: #f2f6f6; color: #8a9c9b; border-radius: 9px; font-size: 16px; }
.stat-icon.green { color: #4b9b80; background: #eaf8f1; }
.stat-icon.amber { color: #d3a449; background: #fff8e9; }
.stat > strong { display: block; font-size: 28px; color: #263b3d; margin-top: 3px; }
.stat > small { color: #a2afb0; font-size: 11px; }
.workspace { display: grid; grid-template-columns: 1.25fr 1fr; gap: 17px; margin-bottom: 20px; }
.card { padding: 23px; }
.section-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 24px; }
.section-icon { color: #459188; font-size: 19px; background: #eaf7f4; border-radius: 9px; width: 35px; height: 35px; display: grid; place-items: center; }
label { display: flex; justify-content: space-between; color: #556b6d; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
label span { color: #a0adae; font-weight: 400; }
.amount-input { display: flex; align-items: center; border: 1px solid #dce7e5; border-radius: 8px; padding: 0 13px; }
.amount-input:focus-within { outline: 2px solid #80bbb0; }
.amount-input input { min-width: 0; border: 0; outline: 0; width: 100%; padding: 12px 0; color: #293d3d; font: inherit; font-weight: 700; }
.amount-input span { color: #9caaaa; font-size: 12px; }
.help { display: block; color: #a1aeaf; margin-top: 7px; font-size: 11px; line-height: 1.5; }
.form-details { display: flex; gap: 30px; margin: 20px 0; color: #a0adae; font-size: 11px; }
.form-details strong { display: block; margin-top: 4px; color: #607575; font-size: 12px; }
button { font: inherit; cursor: pointer; border-radius: 8px; min-height: 41px; font-weight: 700; }
button:disabled { opacity: .6; cursor: wait; }
.primary-button { background: #368b80; border: 1px solid #368b80; color: white; padding: 0 18px; }
.primary-button:hover { background: #2d796f; }
.connection-status { display: flex; align-items: center; gap: 9px; background: #f4faf7; padding: 14px; border-radius: 9px; }
.connection-status.offline { background: #fff8ea; }
.dot { width: 9px; height: 9px; margin: 0 3px; flex-shrink: 0; }
.offline .dot { background: #dda543; }
.connection-status strong { color: #387c66; display: block; font-size: 13px; }
.offline strong { color: #a17121; }
.connection-status small { display: block; color: #9aaa9f; font-size: 11px; margin-top: 2px; }
.connection-explain { color: #899a9c; font-size: 12px; margin: 19px 0; }
.secondary-button { color: #647d7b; background: white; border: 1px solid #dae5e3; padding: 0 14px; }
.secondary-button:hover { background: #f7faf9; }
.records-card .section-title { margin-bottom: 12px; }
.records-empty { text-align: center; padding: 25px 10px 20px; color: #819393; font-size: 12px; }
.records-empty strong { display: block; color: #647d7b; font-size: 13px; }
.records-empty p { margin: 6px 0; }
.empty-icon { width: 39px; height: 39px; display: grid; place-items: center; background: #f2f7f6; color: #a3bbb6; border-radius: 11px; font-size: 20px; margin: 0 auto 10px; }
.record { border-top: 1px solid #edf1f1; padding: 15px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; text-align: left; }
.record strong { color: #354c4b; font-size: 13px; }
.record small { display: block; font-size: 11px; margin-top: 5px; color: #9aa8a9; overflow-wrap: anywhere; }
.record-right { text-align: right; }
.record-amount { font-size: 14px; font-weight: 750; color: #344c4b; }
.status { display: inline-block; margin-top: 5px; background: #e9f8ef; color: #468766; padding: 4px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.status.pending { background: #fff5df; color: #a57726; }
.status.problem { background: #fcecea; color: #a34a3d; }
#feedback { color: #aa5141; font-size: 12px; }
footer { color: #afbbba; font-size: 11px; text-align: center; padding: 23px 0 4px; }
@media (max-width: 850px) { .sidebar { display: none; } .topbar { padding: 0 20px; } .container { padding: 28px 20px; } }
@media (max-width: 600px) { .heading { align-items: flex-start; } h1 { font-size: 24px; } .stats { gap: 8px; } .stat { padding: 13px 10px; } .stat-label { font-size: 10px; min-height: 32px; } .stat-icon { display: none; } .stat > strong { font-size: 23px; } .workspace { grid-template-columns: 1fr; } .card { padding: 19px; } .record { grid-template-columns: 1fr; } .record-right { text-align: left; } }
@media (max-width: 600px) { .login-card { padding: 29px 23px 24px; } .topbar { padding: 0 12px; font-size: 11px; } .topbar-actions { gap: 6px; } .furs-link, .logout-button { padding: 7px; font-size: 10px; } }

/* Match Pimasea's violet service-card and checkout palette. */
:root { color: #1e293b; background: #f8f7fd; }
.content { background: linear-gradient(140deg, #f8fafc, #f8f5ff 60%, #fff8fa); }
.brand-icon, .primary-button { background: #7c3aed; }
.primary-button { border-color: #7c3aed; }
.primary-button:hover { background: #6d28d9; }
.brand strong, h1, h2 { color: #1e293b; }
.nav-item.active { color: #6d28d9; background: #f3edff; }
.demo-badge, .eyebrow { color: #8b5cf6; }
.avatar, .section-icon { color: #7c3aed; background: #f3edff; }
.workspace { grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr); align-items: start; }
.search-input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #e4e3ed; border-radius: 8px; outline: none; font: inherit; color: #334155; background: white; }
.search-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px #ede9fe; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.service-card { min-width: 0; min-height: 145px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; color: #334155; background: white; border: 1px solid #e7e5ef; border-radius: 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
.service-card:hover { border-color: #c4b5fd; box-shadow: 0 3px 12px #ede9fe; }
.service-card.selected { border-color: #a78bfa; background: #f5f3ff; box-shadow: 0 0 0 1px #a78bfa; }
.service-card strong { line-height: 1.3; overflow-wrap: anywhere; }
.category { padding: 3px 7px; border-radius: 20px; font-size: 10px; font-weight: 700; background: #f1f5f9; color: #64748b; }
.category.obrvi { background: #fef3c7; color: #a16207; }
.category.trepalnice { background: #ede9fe; color: #6d28d9; }
.category.kombinacija { background: #d1fae5; color: #047857; }
.service-detail { color: #94a3b8; font-size: 11px; }
.service-bottom { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: auto; color: #7c3aed; }
.select-indicator { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #f3edff; font-size: 18px; }
.service-card.selected .select-indicator { background: #7c3aed; color: white; font-size: 13px; }
.client-results button { width: 100%; border: 0; border-bottom: 1px solid #f1f0f7; border-radius: 0; padding: 8px; text-align: left; background: white; color: #475569; font-size: 12px; }
.client-results button:hover { background: #f5f3ff; }
.client-results p { color: #94a3b8; font-size: 11px; }
.selected-client { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #f5f3ff; color: #6d28d9; font-size: 12px; font-weight: 700; }
.selected-client[hidden], .client-form[hidden] { display: none; }
.text-button { padding: 5px 0; border: 0; background: transparent; color: #7c3aed; min-height: 30px; font-size: 12px; }
.client-form { margin-top: 8px; padding: 12px; background: #faf9ff; border-radius: 8px; }
.client-form label:not(:first-child) { margin-top: 10px; }
.inline-buttons { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.inline-buttons .secondary-button { min-height: 34px; font-size: 11px; }
.cart-header { border-top: 1px solid #f0eef6; padding-top: 17px; margin-top: 15px; color: #475569; font-weight: 700; font-size: 12px; }
.cart-empty { color: #94a3b8; font-size: 12px; padding: 12px 0; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f4f2f8; font-size: 12px; }
.cart-item strong { display: block; color: #475569; overflow-wrap: anywhere; }
.cart-item small { color: #8b5cf6; display: block; margin-top: 4px; }
.quantity { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.quantity button { width: 28px; min-height: 28px; padding: 0; border: 1px solid #e3dcf9; background: white; color: #7c3aed; }
.cart-total { display: flex; justify-content: space-between; border-top: 1px solid #eeeaf5; margin-top: 8px; padding-top: 15px; color: #475569; font-weight: 700; }
.cart-total strong { color: #6d28d9; font-size: 20px; }
.checkout-button { width: 100%; margin-top: 17px; }
.connection-card { margin-bottom: 20px; }
.connection-card .section-title { margin-bottom: 12px; }
.connection-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.connection-status { flex: 1; }
#feedback:not(:empty) { padding: 10px 14px; margin-bottom: 15px; background: #fef2f2; border-radius: 8px; }
.inspection-link { color: #7c3aed; font-size: 12px; font-weight: 700; text-decoration: none; }
.inspection-page { max-width: 1260px; margin: 0 auto; padding: 25px 32px; }
.inspection-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.inspection-header > a { color: #7c3aed; text-decoration: none; font-weight: 700; }
.inspection-header .brand { padding: 0; }
.inspection-header .brand-icon { display: grid; }
.inspection-card { min-height: 260px; }
.inspection-login { display: flex; align-items: end; gap: 12px; max-width: 460px; }
.inspection-login label { display: block; }
.inspection-login input { max-width: 170px; }
.inspection-login button { white-space: nowrap; }
.inspection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inspection-toolbar > div { display: flex; align-items: center; gap: 14px; }
.inspection-toolbar p { color: #849397; font-size: 12px; }
.inspection-export { display: inline-flex; align-items: center; text-decoration: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 10px; border-bottom: 1px solid #edf1f1; font-size: 12px; overflow-wrap: anywhere; }
th { color: #607575; white-space: nowrap; }
td { color: #445b5a; }
#inspection-feedback:not(:empty) { color: #aa5141; margin: 14px 0; }
@media (max-width: 600px) {
  .inspection-page { padding: 20px 12px; }
  .inspection-login, .inspection-toolbar { align-items: stretch; flex-direction: column; }
  .inspection-toolbar > div { justify-content: space-between; }
}
@media (max-width: 850px) { .workspace { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .service-grid { grid-template-columns: 1fr; } .connection-row { flex-direction: column; align-items: stretch; } }
