/* BKCElectronics — client space */
.acc__lead { color: var(--muted); max-width: 640px; margin: 6px 0 0; }
.acc-auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 22px; }
.acc-auth[hidden], .acc-app[hidden] { display: none; }
.acc-auth__card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -40px rgba(15,23,42,.35); }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #f1f5f9; margin-bottom: 18px; }
.acc-tabs button { all: unset; cursor: pointer; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.acc-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(15,23,42,.3); }
.acc-form { display: grid; gap: 12px; }
.acc-form[hidden] { display: none; }
.acc-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #475569; }
.acc-form input, .acc-form select, .acc-form textarea { height: 44px; padding: 0 13px; border-radius: 12px; border: 1.5px solid var(--line); font: 500 15px Inter, sans-serif; color: var(--ink); background: #fff; width: 100%; box-sizing: border-box; }
.acc-form textarea { height: auto; min-height: 110px; padding: 11px 13px; resize: vertical; }
.acc-form input:focus, .acc-form select:focus, .acc-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-err { color: #dc2626; font-weight: 600; font-size: 13.5px; min-height: 1px; margin: 0; }
.acc-ok { color: #15803d; font-weight: 600; font-size: 13.5px; margin: 0; }
.acc-hint { color: var(--muted); font-size: 12.5px; margin: 0; }
.acc-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.acc-perks li { display: grid; gap: 3px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #fff, #f5f9ff); border: 1px solid var(--line); }
.acc-perks b { font-size: 15.5px; } .acc-perks span { color: var(--muted); font-size: 14px; }

.acc-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }
.acc-side { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 14px; }
.acc-me { display: flex; gap: 12px; align-items: center; }
.acc-me b { display: block; } .acc-me small { color: var(--muted); }
.acc-av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #2563eb, #06b6d4); flex: none; }
.acc-nav { display: grid; gap: 4px; }
.acc-nav button { all: unset; cursor: pointer; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: #475569; }
.acc-nav button:hover { background: #f1f5f9; }
.acc-nav button.on { background: #eff6ff; color: var(--accent); }
.acc-nav .acc-out { color: #dc2626; margin-top: 6px; }
.acc-main { min-width: 0; display: grid; gap: 16px; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.acc-card h2 { margin: 0 0 14px; font-size: 19px; }
.acc-list { display: grid; gap: 10px; }
.acc-doc { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s; background: #fff; text-align: start; width: 100%; font: inherit; color: inherit; }
.acc-doc:hover { border-color: #bfdbfe; box-shadow: 0 16px 30px -24px rgba(37,99,235,.6); }
.acc-doc__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: #eff6ff; }
.acc-doc__ic.inv { background: #f0fdf4; }
.acc-doc b { display: block; } .acc-doc small { color: var(--muted); }
.acc-doc__amt { text-align: end; } .acc-doc__amt b { font-size: 17px; font-variant-numeric: tabular-nums; }
.acc-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: #475569; margin-inline-start: 6px; }
.acc-badge.blue { background: #eff6ff; color: #1d4ed8; } .acc-badge.green { background: #f0fdf4; color: #15803d; } .acc-badge.amber { background: #fffbeb; color: #b45309; } .acc-badge.red { background: #fef2f2; color: #b91c1c; } .acc-badge.violet { background: #f5f3ff; color: #6d28d9; }
.acc-alert { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; font-weight: 600; color: #92400e; }
.acc-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.acc-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.acc-filters button { all: unset; cursor: pointer; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #475569; }
.acc-filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* document dialog */
.acc-dlg { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(15,23,42,.5); backdrop-filter: blur(3px); }
.acc-dlg[hidden] { display: none; }
.acc-dlg__box { width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
.acc-dlg__h { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; } .acc-dlg__h h3 { margin: 0; flex: 1; font-size: 20px; }
.acc-dlg__x { all: unset; cursor: pointer; font-size: 24px; color: var(--muted); padding: 0 6px; }
.acc-lines { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.acc-lines th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.acc-lines td { padding: 9px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.acc-lines .n { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc-lines small { color: var(--muted); display: block; }
.acc-tot { display: grid; gap: 5px; margin-inline-start: auto; max-width: 300px; }
.acc-tot div { display: flex; justify-content: space-between; gap: 10px; }
.acc-tot .big { font-size: 18px; font-weight: 800; border-top: 1px dashed var(--line); padding-top: 8px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acc-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.acc-btn:hover { border-color: #94a3b8; }
.acc-btn.ok { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; border: 0; box-shadow: 0 10px 24px -12px rgba(22,163,74,.8); }
.acc-btn.no { color: #dc2626; }
.acc-steps { display: flex; gap: 0; margin: 8px 0 4px; }
.acc-steps span { flex: 1; height: 6px; border-radius: 99px; background: #e2e8f0; margin-inline-end: 4px; }
.acc-steps span.on { background: linear-gradient(90deg, #2563eb, #06b6d4); }
html[dir="rtl"] .acc-form input[type=email], html[dir="rtl"] .acc-form input[name=phone] { direction: ltr; text-align: right; }

@media (max-width: 900px) {
  .acc-auth, .acc-app { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .acc-nav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
  .acc-row { grid-template-columns: 1fr; }
  .acc-doc { grid-template-columns: 40px 1fr; } .acc-doc__amt { grid-column: 1 / -1; text-align: start; }
}

/* projects: phases, messages, reviews */
.acc-cnt { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-inline-start: 8px; border-radius: 99px; background: #e41e3f; color: #fff; font-size: 11.5px; font-weight: 800; }
.acc-cnt[hidden] { display: none; }
.acc-pbar { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; margin-top: 8px; } .acc-pbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #06b6d4); }
.acc-proj .acc-pbar { max-width: 360px; }
.acc-link { all: unset; cursor: pointer; color: var(--accent); font-weight: 700; font-size: 14px; }
.acc-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .acc-h h2 { flex: 1; }
.acc-notifs { display: grid; gap: 6px; }
.acc-n { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; } .acc-n:hover { background: #f8fafc; }
.acc-n.new { background: #eff6ff; } .acc-n.new b::before { content: "● "; color: #1877f2; }
.acc-n small { color: var(--muted); } .acc-n__t { font-size: 11.5px; }
.acc-ph { display: flex; align-items: flex-end; gap: 16px; margin-top: 12px; } .acc-ph > div { flex: 1; display: grid; gap: 4px; justify-items: start; } .acc-ph h2 { margin: 0; }
.acc-ph small { color: var(--muted); } .acc-big { font-size: 36px; letter-spacing: -.03em; } .acc-big small { font-size: 16px; color: var(--muted); }
.acc-tl { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.acc-tl li { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.acc-tl li::before { content: ""; position: absolute; inset-inline-start: 15px; top: 32px; bottom: 0; width: 2px; background: #e2e8f0; } .acc-tl li:last-child::before { display: none; }
.acc-tl li.st-done::before { background: #16a34a; }
.acc-tl__n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: #f1f5f9; color: #64748b; border: 2px solid #e2e8f0; position: relative; }
.acc-tl .st-done .acc-tl__n { background: #16a34a; border-color: #16a34a; color: #fff; }
.acc-tl .st-doing .acc-tl__n, .acc-tl .st-blocked .acc-tl__n { background: #2563eb; border-color: #2563eb; color: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,.18); }
.acc-tl .st-waiting .acc-tl__n { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.acc-tl li > div { display: grid; gap: 2px; padding-top: 4px; } .acc-tl small { color: var(--muted); } .acc-tl .st-todo b { color: #64748b; font-weight: 600; }
.acc-review { background: linear-gradient(135deg, #fffbeb, #fff); border-color: #fde68a; }
.acc-stars { display: flex; gap: 4px; margin: 6px 0 12px; direction: ltr; }
.acc-stars button { all: unset; cursor: pointer; font-size: 34px; color: #e2e8f0; transition: transform .1s, color .1s; } .acc-stars button:hover { transform: scale(1.15); }
.acc-stars button.on, .acc-stars button.hot { color: #f59e0b; }
.acc-msgf textarea { min-height: 80px; } .acc-msgf .acc-btn { justify-self: end; }
.acc-feed { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.acc-feed li { display: grid; justify-items: start; gap: 3px; } .acc-feed li.me { justify-items: end; }
.acc-bub { max-width: 85%; padding: 10px 14px; border-radius: 18px; background: #f1f5f9; display: grid; gap: 4px; line-height: 1.45; }
.acc-feed li.me .acc-bub { background: linear-gradient(135deg, #2563eb, #0891b2); color: #fff; }
.acc-feed small { color: var(--muted); font-size: 12px; } .acc-st { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.acc-feed li.me .acc-st { color: #fde68a; }
.acc-link { white-space: nowrap; } .acc-h h2 { min-width: 0; }

.sig { position: relative; border: 2px dashed #cbd5e1; border-radius: 16px; background: #fff; margin: 10px 0; touch-action: none; }
.sig canvas { width: 100%; height: 180px; display: block; cursor: crosshair; }
.sig .acc-link { position: absolute; right: 12px; bottom: 8px; font-size: 13px; }
.acc-check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; } .acc-check input { width: 18px !important; height: 18px !important; margin-top: 2px; flex: none; }
.acc-btn.ok { position: static; transform: none; width: auto; height: 44px; display: inline-flex; border-radius: 999px; font-size: 14.5px; } /* the site has a global .ok animation class */
