/* Ronove – Simply Supportive. Brand: navy #303391, sky #00abec (green kept for "done" states) */
:root {
  --blue: #303391; --blue-d: #262a7a; --sky: #00abec; --green: #6fbf52; --green-d: #4f9e34; --head: #23286b; --text: #50677a; --muted: #8597a6;
  --line: #e3eaf1; --bg: #f3f6f9; --red: #d9534f; --amber: #f0a43a; --r: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--blue-d); }
h1, h2 { color: var(--head); line-height: 1.25; margin: 0 0 8px; }
h1 { font-size: 24px; } h2 { font-size: 18px; }
p { margin: 0 0 10px; }
small, .small { font-size: 13.5px; } .muted { color: var(--muted); } .warn { color: #b8711a; }
.sr { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* shell */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + var(--safe-t)) 16px 8px; background: #fff; border-bottom: 1px solid var(--line); min-height: 60px; }
.bar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; } .bar-logo img { height: 34px; width: auto; display: block; } .bar-logo span { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; line-height: 1.2; }
.bar-back { font-weight: 600; text-decoration: none; font-size: 17px; padding: 8px 0; }
.bar-me { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.main { max-width: 640px; margin: 0 auto; padding: 18px 16px calc(96px + var(--safe-b)); }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabs svg { width: 24px; height: 24px; fill: currentColor; }
.tabs a.on { color: var(--blue-d); }
@media (min-width: 900px) {
  .tabs { top: 60px; bottom: auto; left: 50%; transform: translateX(-50%); max-width: 640px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; }
  .tabs a { flex-direction: row; justify-content: center; gap: 6px; font-size: 13.5px; padding: 10px; }
  .tabs svg { width: 18px; height: 18px; }
  .signed-in .main { padding-top: 70px; padding-bottom: 40px; }
}

/* blocks */
.card { background: #fff; border-radius: var(--r); padding: 16px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(34,54,74,.06), 0 6px 18px rgba(34,54,74,.05); }
.card.empty { color: var(--muted); text-align: center; padding: 22px 16px; }
.hello { font-size: 26px; margin-bottom: 2px; }
.section { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 10px; }
.day-label { font-weight: 700; color: var(--head); margin: 14px 0 6px; font-size: 14px; }
.note { display: block; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; text-decoration: none; color: var(--head); }
.note-ok { background: #e9f6e3; color: #2f6a1d; } .note-error { background: #fdecec; color: #a33b38; } .note-warn { background: #fff4e0; color: #8a5a0f; } .note-info { background: #eaf4fd; color: #2a5a83; }
.job-head .note { margin: 10px 0 0; }

/* job list */
.job { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 14px; margin-bottom: 10px; text-decoration: none; color: var(--text); box-shadow: 0 1px 2px rgba(34,54,74,.06), 0 6px 18px rgba(34,54,74,.05); border-left: 5px solid var(--sky); }
.job:active { transform: scale(.99); }
.job-live { border-left-color: var(--amber); background: #fffaf2; }
.job.st-completed { border-left-color: var(--green); } .job.st-cancelled { opacity: .55; border-left-color: #c9d3dc; }
.job-time { flex: 0 0 62px; font-weight: 700; color: var(--head); font-size: 16px; line-height: 1.2; } .job-time small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.job-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .job-main strong { color: var(--head); font-size: 16.5px; } .job-main small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.job-tag { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chev { width: 9px; height: 9px; border-right: 2px solid #b5c3cf; border-bottom: 2px solid #b5c3cf; transform: rotate(-45deg); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eef3f8; color: var(--head); }
.tag-live { background: #fff1db; color: #a8650b; } .tag-done { background: #e6f5df; color: #3b7a26; } .tag-plan { background: #eaf4fd; color: #2a6aa8; } .tag-off { background: #eef1f4; color: #6d7d8b; } .tag-late { background: #fdecec; color: #a33b38; }
.rate-nudge { display: block; margin: -4px 0 12px 8px; font-weight: 600; font-size: 14px; }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1px solid #cfdbe6; background: #fff; color: var(--head); font-family: inherit; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .55; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn-primary:active { background: var(--blue-d); }
.btn-ghost { background: transparent; }
.btn-out { background: var(--green); border-color: var(--green); color: #fff; }
.btn-block { display: flex; width: 100%; margin: 6px 0 14px; } .btn-lg { min-height: 54px; font-size: 17px; } .btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-big { min-height: 64px; font-size: 18px; flex: 1; }
.btn-scan svg { width: 22px; height: 22px; fill: currentColor; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-weight: 600; color: var(--head); font-size: 14.5px; margin-top: 4px; }
input, select, textarea { width: 100%; font-family: inherit; font-size: 16px; padding: 12px; border: 1px solid #cfdbe6; border-radius: 10px; background: #fff; color: var(--head); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; } .check input { width: 22px; height: 22px; flex: 0 0 22px; }

/* job page */
.job-head h1 { margin-top: 2px; } .addr { color: var(--head); }
.clock-card { border: 2px solid var(--sky); }
.clock-btns { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 6px; }
.clock-status { font-weight: 600; color: var(--head); } .clock-status.good { color: var(--green-d); } .clock-status.warn { color: #a8650b; } .clock-status.bad { color: var(--red); }
.clock-log { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { border-bottom: 1px solid var(--line); } .checks li:last-child { border: 0; }
.checks label { display: flex; align-items: center; gap: 12px; padding: 12px 2px; cursor: pointer; color: var(--head); }
.checks input { width: 26px; height: 26px; flex: 0 0 26px; accent-color: var(--green); }
.checks input:checked + span { color: var(--muted); text-decoration: line-through; }
.checks label.saving { opacity: .6; }
.photo-btns { display: flex; gap: 8px; } .photo-btn { flex: 1; padding: 10px 6px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.thumbs a { display: block; border-radius: 10px; overflow: hidden; background: #eef3f8; text-decoration: none; color: var(--text); font-size: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; } .thumbs span { display: block; padding: 3px 6px; }

/* scanner */
.scanner { width: min(480px, 100vw); max-width: 100vw; border: 0; border-radius: 16px; padding: 0; background: #000; color: #fff; }
.scanner::backdrop { background: rgba(0,0,0,.8); }
.scanner-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.x { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 6px; }
.scanner-view { position: relative; aspect-ratio: 1; background: #111; }
.scanner-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanner-frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.scanner-msg { padding: 12px 16px 16px; margin: 0; text-align: center; }

/* rating */
.stars-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; }
.stars-input label { font-size: 40px; color: #d5dee6; cursor: pointer; margin: 0 !important; line-height: 1; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--amber); }
.stars-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }

/* hours */
.weeknav { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stats div { background: #fff; border-radius: 12px; padding: 12px; text-align: center; } .stats span { display: block; font-size: 12.5px; color: var(--muted); } .stats strong { font-size: 20px; color: var(--head); }
.shift { display: flex; justify-content: space-between; gap: 10px; } .shift-t { text-align: right; font-weight: 600; color: var(--head); white-space: nowrap; }
.devices { padding-left: 18px; }

/* sign-in */
body.auth { background: linear-gradient(160deg, #e6f6fd 0%, #eceefa 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.auth-card { background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(34,54,74,.15); padding: 30px 24px 24px; width: 100%; max-width: 420px; text-align: center; }
.auth-card .form { text-align: left; margin: 16px 0; }
.auth-logo { width: 240px; max-width: 80%; height: auto; margin-bottom: 14px; }
.big-icon { font-size: 44px; } .dev { background: #fff7e6; border-radius: 8px; padding: 8px; font-size: 14px; }

/* invoices (shared document) */
.invoice-wrap { overflow-x: auto; }
.invoice-doc { color: #33475a; font-size: 14px; min-width: 300px; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.inv-logo { width: 150px; height: auto; display: block; margin-bottom: 6px; }
.inv-meta h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-d); }
.inv-meta table, .inv-lines { border-collapse: collapse; } .inv-meta th { text-align: left; padding: 2px 12px 2px 0; color: var(--muted); font-weight: 600; }
.inv-to h3, .inv-pay h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.inv-lines { width: 100%; margin: 16px 0; } .inv-lines th, .inv-lines td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.inv-lines thead th { background: #f2f7fc; color: var(--head); font-size: 12.5px; } .inv-lines .num { text-align: right; white-space: nowrap; }
.inv-lines tfoot th { text-align: right; font-weight: 600; border: 0; } .inv-lines tfoot td { border: 0; }
.inv-total th, .inv-total td { font-size: 17px; color: var(--head); font-weight: 700; border-top: 2px solid var(--head) !important; }
.inv-paid { display: inline-block; border: 3px solid var(--green); color: #3b7a26; font-weight: 800; letter-spacing: .08em; padding: 6px 14px; border-radius: 6px; transform: rotate(-3deg); }
.inv-pay { background: #f6f9fc; border-radius: 8px; padding: 12px 14px; }
.inv-foot { margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); text-align: center; }

@media print {
  .bar, .tabs, .no-print, .note { display: none !important; }
  body { background: #fff; } .main { padding: 0; max-width: none; } .card { box-shadow: none; padding: 0; }
  .inv-lines thead th, .inv-pay { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* employee self-service */
.menu-list { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(34,54,74,.06), 0 6px 18px rgba(34,54,74,.05); }
.menu-list a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.menu-list a:last-child { border-bottom: 0; } .menu-list a > span { flex: 1; display: flex; flex-direction: column; } .menu-list strong { color: var(--head); } .menu-list small { color: var(--muted); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 8px; } .dl dt { color: var(--muted); } .dl dd { margin: 0; color: var(--head); font-weight: 600; text-align: right; }
.locked { background: #f7f9fb; } .sub { font-size: 16px; margin: 14px 0 0; }
ul.tight { margin: 6px 0 0; padding-left: 18px; }
.big-note { font-size: 16px; }
.rich h2 { font-size: 19px; margin-top: 18px; } .rich h3 { font-size: 16px; } .rich ul, .rich ol { padding-left: 20px; } .rich li { margin: 4px 0; }
.rich table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; } .rich th, .rich td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.quiz fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.quiz legend { font-weight: 700; color: var(--head); padding: 0 4px; }
.quiz fieldset.wrong { border-color: var(--red); background: #fff6f6; } .quiz fieldset.right { border-color: var(--green); }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 2px; cursor: pointer; } .opt input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--blue); }
.linkish { background: none; border: 0; color: var(--blue-d); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; padding: 4px 0 0; }
.center { text-align: center; }

/* Ronove intro animation on the sign-in screen */
.intro { margin: -14px -8px 6px; border-radius: 14px; overflow: hidden; background: #fdfdfd; aspect-ratio: 16 / 9; }
.intro-video { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .intro-video { display: none; } .intro { background: #fdfdfd url(brand/ronove-intro-poster.jpg) center / cover no-repeat; } }

/* cleaning type and questions */
.ctype { display: flex; flex-direction: column; gap: 8px; }
.levels { border: 0; padding: 0; margin: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.levels legend { font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.level-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #dde6ee; border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.level-opt input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; }
.level-opt span { display: flex; flex-direction: column; gap: 2px; } .level-opt small { color: #8597a6; font-size: 12.5px; line-height: 1.35; }
.level-opt:has(input:checked) { border-color: #3b93dd; background: #f2f8fe; }
.ctype-q { border: 1px solid #dde6ee; border-radius: 12px; padding: 10px 14px 14px; margin: 0; } .ctype-q legend { font-weight: 650; padding: 0 6px; font-size: 14px; }
.ctype-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px; } .ctype-grid .wide { grid-column: 1 / -1; }
.ctype-grid label { font-size: 13px; margin: 0 0 3px; display: block; }
.ctype-sum { background: #f4f8fc; border-radius: 10px; padding: 10px 12px; margin: 8px 0; } .ctype-sum strong { display: block; margin-bottom: 4px; }
.ctype-sum dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; font-size: 13.5px; } .ctype-sum dt { color: #8597a6; } .ctype-sum dd { margin: 0; }
.ctag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #eceefa; color: #303391; } .ctag.deep { background: #303391; color: #fff; }
@media (max-width: 520px) { .levels { grid-template-columns: 1fr; } }

/* notifications, re-clean, reject sheet, complaints */
.bar-bell { position: relative; margin-left: auto; margin-right: 6px; color: var(--head); display: flex; padding: 6px; }
.bar-bell svg { width: 26px; height: 26px; fill: currentColor; } .bar-bell b { position: absolute; top: 0; right: 0; background: #d9534f; color: #fff; font-size: 11px; border-radius: 99px; padding: 0 6px; line-height: 18px; }
.notif { display: flex; flex-direction: column; gap: 3px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; text-decoration: none; color: var(--text); border-left: 4px solid #dde6ee; }
.notif.unread { border-left-color: var(--sky); background: #f5fbff; } .notif strong { color: var(--head); } .notif span { font-size: 14px; } .notif small { color: var(--muted); }
.notif.k-rejected, .notif.k-escalation { border-left-color: #d9534f; } .notif.k-accepted { border-left-color: var(--green); }
.reclean { border: 2px solid #d9534f; } .reclean h2 { color: #a33b38; }
.checks h3.room, .sheet h3.room { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.checks ul { list-style: none; padding: 0; margin: 0; }
.review-card { border: 2px solid var(--sky); }
.sheet { width: min(560px, 100vw); max-width: 100vw; max-height: 92vh; border: 0; border-radius: 18px 18px 0 0; padding: 0; margin: auto auto 0; }
@media (min-width: 640px) { .sheet { border-radius: 18px; margin: auto; } }
.sheet::backdrop { background: rgba(20,30,60,.55); } .sheet form { display: flex; flex-direction: column; }
.sheet-step { padding: 14px 16px calc(16px + var(--safe-b)); display: flex; flex-direction: column; gap: 8px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; } .sheet-head .x { color: var(--head); }
.sheet-body { max-height: 52vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; }
.updates { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; } .updates li { border-top: 1px solid var(--line); padding: 6px 0; } .updates small { color: var(--muted); margin-right: 6px; }
/* e-signing in the app */
.pad{position:relative;border:2px dashed #b9c0dd;border-radius:12px;background:#fbfcff;touch-action:none;margin-bottom:6px}.pad canvas{display:block;width:100%;height:180px}
.pad .linkish{position:absolute;right:10px;top:6px;background:none;border:0;color:#303391;text-decoration:underline}.sig-img{max-width:100%;max-height:110px;background:#fff}
.doc-body{overflow-x:auto}.doc-body table{border-collapse:collapse;font-size:.9rem}.doc-body td,.doc-body th{border:1px solid #e3e8ef;padding:5px 7px}.decline{margin-top:12px}.decline summary{color:#6b7d8c}
.menu-list .badge{background:#e5484d;color:#fff;border-radius:99px;padding:1px 8px;font-size:.75rem;margin-left:auto;margin-right:6px}
.sign-nudge{display:block;text-decoration:none;font-weight:600}
/* available shifts */
.sub{font-size:1.05rem;margin:18px 0 8px}.cards{display:grid;gap:10px}
.shift{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;margin:0}.shift.mine{grid-template-columns:1fr auto}
.shift-when{text-align:center;background:#eef0fb;border-radius:12px;padding:8px 4px;color:#303391}.shift-when b{display:block;font-size:.8rem;text-transform:uppercase}.shift-when span{font-size:.95rem;font-weight:700}
.shift-pay{display:inline-block;margin-top:4px;font-weight:800;color:#14804a}.shift small{color:#6b7d8c}
.pill{display:inline-block;padding:2px 9px;border-radius:99px;font-size:.75rem;font-weight:700;margin-top:4px}.pill-ok{background:#e8f6ee;color:#14804a}.pill-wait{background:#fff6e5;color:#8a5a00}
.fl-card{border-left:4px solid #00abec}.linkish{background:none;border:0;color:#303391;text-decoration:underline;padding:6px;font:inherit}
@media(max-width:360px){.shift{grid-template-columns:48px 1fr}.shift-act{grid-column:1/-1}}
.shift.mine small{display:block;margin:2px 0}
.req-list{list-style:none;margin:0;padding:0}.req-list li{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #eef0f4}
.req-list li:first-child{border-top:0}.req-list small{display:block;color:#6b7d8c}.req-list .st-missing small,.req-list .st-rejected small,.req-list .st-expired small{color:#b42318;font-weight:600}
.inv-name{font-size:1.3rem;font-weight:800;color:#303391;margin:0 0 4px}.login-co-logo{display:block;max-width:200px;max-height:80px;margin:0 auto 10px}
/* cleaners */
.cleaner{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start;padding:10px 0;border-top:1px solid #eef0f4}.cleaner:first-of-type{border-top:0}
.avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#eef0fb;color:#303391;font-weight:800;font-size:1.4rem}
.cleaner-main small{display:block;color:#6b7d8c}.cleaner-review{margin-top:6px;gap:6px}.cleaner-review .stars-input{margin:0}
.avatar-xs{width:20px;height:20px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:4px}.who{display:block}
.me-head{display:flex;gap:14px;align-items:center}.me-head h1{margin:0}.avatar-up{width:72px;height:72px;border-radius:50%;overflow:hidden;background:#eef0fb;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#303391;font-weight:700;font-size:.8rem;flex:0 0 72px}
.avatar-up img{width:100%;height:100%;object-fit:cover}.avatar-up input{display:none}.stars-line{margin:2px 0;color:#b7791f;font-weight:700}.stars-line small{color:#6b7d8c;font-weight:400}


body.auth{flex-direction:column}
body.auth 
/* live notifications */
.ronove-toast{position:fixed;left:50%;top:12px;transform:translate(-50%,-140%);z-index:9999;max-width:min(92vw,420px);background:#1f2a44;color:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 10px 30px rgba(0,0,0,.25);text-decoration:none;display:flex;flex-direction:column;gap:2px;transition:transform .3s ease}
.ronove-toast.show{transform:translate(-50%,0)}
.ronove-toast strong{font-size:.95rem}.ronove-toast span{font-size:.85rem;opacity:.85}
.push-panel h2.push-h{font-size:1rem;margin:0 0 .35rem}
.push-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.push-msg{margin:.6rem 0 0;font-size:.85rem;color:#1d7a3a}
.push-invite{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;background:#fff7e6;border:1px solid #f3d27a;border-radius:12px;padding:10px 12px;margin:0 0 12px}
.push-invite span{flex:1 1 200px;font-size:.9rem}
.bell b,.bar-bell b{animation:ronove-pop .3s ease}
@keyframes ronove-pop{0%{transform:scale(.4)}80%{transform:scale(1.15)}100%{transform:scale(1)}}
/* Powered by UKIS – small footer, bottom left */
.ukis-foot{display:block;margin:28px 0 0;padding:10px 16px 14px;text-align:left;font-size:12px;line-height:1;opacity:.85}
.ukis-foot a{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none}
.ukis-foot a:hover{opacity:1;text-decoration:underline}
.ukis-foot img{width:16px;height:16px;display:block;flex:none}
body.auth .ukis-foot{position:fixed;left:16px;bottom:12px;margin:0;padding:0;z-index:5}

/* ---------- Ronove tiles theme (cleaning.ronove.io look): green bar and coloured tiles ---------- */
body.tiles-theme { background: #f2f3f4; }
.tiles-theme .bar { background: #659d1f; border-bottom: 0; color: #fff; position: sticky; }
.tiles-theme .bar-home { display: flex; padding: 6px; border-radius: 8px; color: #fff; } .tiles-theme .bar-home svg { width: 26px; height: 26px; fill: #fff; }
.tiles-theme .bar-title { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; color: #fff; font-weight: 700; font-size: 19px; max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.tiles-theme .bar-back, .tiles-theme .bar a:not(.bar-me) { color: #fff; }
.tiles-theme .bar-bell { color: #fff; } .tiles-theme .bar-bell b { background: #f7aa47; }
.tiles-theme .bar-me { background: #fff; color: #4b7a14; }
.tiles-theme .bar-logo span { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.4); }
.tiles-theme .tabs a.on { color: #4f8a14; }
.atiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 22px; }
.astat { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px; min-height: 76px; color: #333; text-decoration: none; }
.astat-ic { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.astat-ic .tic { width: 20px; height: 20px; fill: #fff; }
.s-red { background: #d5080f; } .s-blue { background: #0e62c7; } .s-green { background: #68b828; }
.astat-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.astat-txt strong { font-size: 21px; font-weight: 400; font-variant-numeric: tabular-nums; }
.astat-txt span { font-size: 14px; color: #888; margin-top: 3px; } .astat-txt small { font-size: 10.5px; color: #888; margin-top: 3px; text-transform: uppercase; }
.atiles .tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 84px; color: #fff; text-decoration: none; }
.atiles .tile:active { filter: brightness(.95); }
.atiles .tile .tic { width: 26px; height: 26px; fill: #fff; flex: none; }
.atiles .tile-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.atiles .tile-txt strong { font-size: 20px; font-weight: 400; } .atiles .tile-txt strong.up { text-transform: uppercase; font-size: 17px; }
.atiles .tile-txt span { font-size: 15px; } .atiles .tile-txt small { font-size: 12px; opacity: .85; }
.t-green { background: #68b828; } .t-purple { background: #7c38bc; } .t-cyan { background: #40bbea; } .t-orange { background: #f7aa47; }
.t-coral { background: #ff6264; } .t-red { background: #d5080f; } .t-darkred { background: #cc3f44; } .t-yellow { background: #fcd036; }
.t-blue { background: #0e62c7; } .t-teal { background: #1fa89a; } .t-indigo { background: #3f51b5; } .t-grey { background: #6b7a86; }
@media (min-width: 700px) { .atiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .atiles .tile { min-height: 110px; padding: 20px; gap: 20px; } .atiles .tile-txt strong { font-size: 24px; } .atiles .tile-txt span { font-size: 17px; } }
.main:has(.atiles) { max-width: 1000px; }
/* On my way, client sign-off */
.onway-card { border-left: 4px solid #659d1f; }
.tiny { font-size: 12px; margin: 8px 0 0; }
.onway-note { display: block; text-decoration: none; margin-top: 10px; }
.sig-pad { position: relative; border: 2px dashed #b9c9ad; border-radius: 12px; background: #fff; margin-bottom: 12px; }
.sig-pad canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sig-clear { position: absolute; right: 8px; top: 6px; font-size: 13px; }
.sig-img { max-width: 100%; border: 1px solid #e3e8df; border-radius: 10px; background: #fff; }
.site-card h2 { margin: 0 0 2px; }
.site-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.site-stats span { background: #f4f6f2; border-radius: 10px; padding: 8px 6px; text-align: center; font-size: 11.5px; color: #55607a; }
.site-stats strong { display: block; font-size: 17px; color: #1f2a44; }
.site-stats .warn strong { color: #d5080f; }
.exp-list { list-style: none; margin: 0; padding: 0; } .exp-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef1ec; }
.exp-list li span { display: flex; flex-direction: column; } .exp-list small { color: #7b8a7b; }
.help-list a { display: flex; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid #eef1ec; color: #1f2a44; text-decoration: none; }
.help-list a span { color: #659d1f; font-weight: 700; } .help-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #7b8a7b; margin: 14px 0 2px; font-weight: 700; }
.help-art .md { line-height: 1.6; } .help-art .md li { margin: 4px 0; }
.tk-note { background: #f4f6f2; border-radius: 12px; padding: 8px 12px; margin: 8px 0; } .tk-note.office { background: #e6f2d8; } .tk-note small { color: #7b8a7b; } .tk-note p { margin: 4px 0 0; }
.tk-row { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: #1f2a44; } .tk-row small { color: #7b8a7b; }
.bank-note { display: block; font-size: 12.5px; margin-top: 3px; color: #7b8a7b; } .bank-note.ok { color: #3d7a0c; } .bank-note.bad { color: #c0262d; }
/* Marketplace */
.mp-map { height: 260px; margin-bottom: 12px; }
.mp-row { display: flex; gap: 12px; align-items: center; text-decoration: none; color: #1f2a44; }
.mp-av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #68b828, #3d7a0c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }
.mp-av.big { width: 64px; height: 64px; font-size: 28px; }
.mp-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .mp-info small { color: #6b7a86; }
.mp-rate { font-size: 18px; color: #3d7a0c; text-align: right; } .mp-rate small { display: block; font-size: 11px; color: #7b8a7b; font-weight: 400; }
.mp-badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; } .mp-badges i { font-style: normal; font-size: 11px; background: #e6f2d8; color: #3d6a0c; padding: 2px 7px; border-radius: 99px; }
.mp-head { display: flex; gap: 12px; align-items: flex-start; } .mp-head > div { flex: 1; } .mp-head h1 { margin: 0; font-size: 22px; }
.mp-quote { display: grid; gap: 4px; background: #f4f6f2; border-radius: 12px; padding: 10px 14px; margin: 10px 0; } .mp-quote span { display: flex; justify-content: space-between; } .mp-quote .tot { font-weight: 700; border-top: 1px solid #dde4d6; padding-top: 4px; }
.mp-req.mp-new { border-left: 4px solid #f7aa47; } .mp-req h2 { margin: 2px 0 4px; font-size: 17px; }
.vet-list { list-style: none; margin: 0; padding: 0; } .vet-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef1ec; }
.vet-list li b { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #c6cfd8; display: flex; align-items: center; justify-content: center; color: #8597a6; flex: none; font-size: 13px; }
.vet-list li.ok b { border-color: #659d1f; background: #659d1f; color: #fff; } .vet-list li span { flex: 1; display: flex; flex-direction: column; } .vet-list small { color: #7b8a7b; }
.choice-grid { border: 0; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px 14px; } .choice-grid legend { font-weight: 600; margin-bottom: 4px; }
.av-row { display: flex; gap: 6px; align-items: center; width: 100%; } .av-row .check { min-width: 64px; margin: 0; } .av-row input[type=time] { width: auto; flex: 1; }
.g2, .grid-2, .grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prefix { display: flex; align-items: center; } .prefix span { padding: 0 8px; color: #6b7a86; font-weight: 600; } .prefix input { flex: 1; }
.help { display: block; font-size: 12.5px; color: #7b8a7b; }

/* notification sound settings */
.sound-hint{position:fixed;right:14px;bottom:84px;z-index:9998;background:#1f2a44;color:#fff;border:0;border-radius:999px;padding:10px 16px;font:inherit;font-size:.9rem;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer}
.sound-box{margin-top:14px;border-top:1px solid #e6ebf0;padding-top:10px}.sound-box h3{font-size:1rem;margin:0 0 8px}
.sound-line{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;margin:8px 0}.sound-line label{font-size:.9rem}.sound-line select{min-width:150px}.sound-line input[type=range]{width:170px}

/* ID badge in the app */
.app-badge{max-width:340px;margin:16px auto;background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.12);overflow:hidden;text-align:center;padding-bottom:16px}
.app-badge-top{background:#659d1f;color:#fff;font-weight:700;padding:12px}
.app-badge-photo{display:block;width:120px;height:140px;object-fit:cover;border-radius:12px;margin:16px auto 8px;border:1px solid #dde3e8}
.app-badge-nophoto{display:flex;align-items:center;justify-content:center;background:#f4f6f8;color:#667;text-decoration:none;font-size:.9rem}
.app-badge h1{font-size:1.3rem;margin:4px 0}.app-badge p{margin:4px 12px}
.app-badge-qr{width:190px;margin:10px auto}.app-badge-qr svg{width:190px;height:190px}
.mp-online{border-left:4px solid #c9d1d9}.mp-online.is-on{border-left-color:#2f8a1f;background:#f3faee}
.mp-badges .mp-online-b{background:#e3f4d7;color:#2f6b0f}
.receipt .table td,.receipt .table th{padding:6px 4px}

/* offline mode */
.rn-offline{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#1f2a44;color:#fff;padding:10px 14px;font-size:.9rem;text-align:center;box-shadow:0 -4px 14px rgba(0,0,0,.2)}
body.is-offline nav.tabs{bottom:42px}
.rn-outbox{position:fixed;right:14px;bottom:70px;z-index:9991;border:0;border-radius:999px;padding:9px 14px;background:#f0a020;color:#1f2a44;font:inherit;font-weight:600;font-size:.88rem;box-shadow:0 6px 18px rgba(0,0,0,.2);cursor:pointer}
.rn-outbox.has-err{background:#b3261e;color:#fff}
.rn-outbox-panel{position:fixed;right:14px;bottom:116px;z-index:9992;width:min(92vw,340px);background:#fff;color:#1f2a44;border-radius:14px;padding:14px;box-shadow:0 12px 30px rgba(0,0,0,.25);font-size:.9rem}
.rn-outbox-panel ul{margin:8px 0 10px;padding-left:18px}.rn-outbox-panel small{display:block;color:#b3261e}
.rn-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,140%);z-index:9995;background:#2f8a1f;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.25);transition:transform .3s ease;font-size:.92rem;max-width:92vw}
.rn-toast.show{transform:translate(-50%,0)}
