/* ===== الرموز ===== */
:root {
  --bg: #f4f6f7; --surface: #ffffff; --surface2: #f8fafa; --line: #e3e8ea; --text: #14262a; --muted: #5d7276;
  --brand: #0f766e; --brand-d: #0b5a54; --brand-l: #d9f0ed; --on-brand: #fff;
  --side: #0c2a2c; --side-t: #b6cfd0; --side-on: #ffffff; --side-hl: rgba(255,255,255,.09);
  --good: #15803d; --good-l: #dcf5e4; --bad: #c2410c; --bad-l: #fde6dc; --warn: #b45309; --warn-l: #fdf0cf; --gray-l: #e9eef0;
  --c1: #0f766e; --c2: #4f46e5; --shadow: 0 1px 2px rgba(10,40,45,.06), 0 4px 16px rgba(10,40,45,.05);
  --r: 12px; color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#0b1517; --surface:#112124; --surface2:#15292d; --line:#223a3e; --text:#e6f0f1; --muted:#8fa9ad; --brand:#2dd4bf; --brand-d:#5eead4; --brand-l:#12403d; --on-brand:#06201e; --side:#071719; --good:#4ade80; --good-l:#12351f; --bad:#fb923c; --bad-l:#3b2112; --warn:#fbbf24; --warn-l:#3a2d0e; --gray-l:#1d3034; --c1:#2dd4bf; --c2:#818cf8; --shadow:none; color-scheme: dark; } }
:root[data-theme="dark"] { --bg:#0b1517; --surface:#112124; --surface2:#15292d; --line:#223a3e; --text:#e6f0f1; --muted:#8fa9ad; --brand:#2dd4bf; --brand-d:#5eead4; --brand-l:#12403d; --on-brand:#06201e; --side:#071719; --good:#4ade80; --good-l:#12351f; --bad:#fb923c; --bad-l:#3b2112; --warn:#fbbf24; --warn-l:#3a2d0e; --gray-l:#1d3034; --c1:#2dd4bf; --c2:#818cf8; --shadow:none; color-scheme: dark; }

* { box-sizing: border-box; }
html { font-size: 15px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
h1 { font-size: 1.55rem; } h3 { font-size: 1.02rem; margin-bottom: .8rem; } h4 { margin: 1.1rem 0 .4rem; font-size: .92rem; color: var(--muted); }
p { margin: 0 0 .6rem; }
a { color: inherit; text-decoration: none; }
small { color: var(--muted); font-size: .8rem; }
small.blk, .who small { display: block; }
.muted { color: var(--muted); }
code { background: var(--gray-l); padding: 1px 6px; border-radius: 5px; font-size: .85em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
main:focus { outline: none; }

/* ===== الهيكل ===== */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-t); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--side-on); font-weight: 700; font-size: 1.15rem; padding: 4px 8px; letter-spacing: .3px; }
.brand .ico { width: 26px; height: 26px; color: #5eead4; }
.co { font-size: .78rem; padding: 2px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
nav { flex: 1; }
.nav-g { margin-top: 12px; } .nav-g > span { display: block; font-size: .7rem; letter-spacing: .5px; opacity: .55; padding: 4px 10px; }
nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--side-t); font-size: .93rem; transition: background .15s, color .15s; }
nav a:hover { background: var(--side-hl); color: #fff; }
nav a.on { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.ico { width: 19px; height: 19px; flex: none; }
.side-f { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.side-f .btn { background: transparent; color: var(--side-t); border-color: rgba(255,255,255,.18); justify-content: center; }
.side-f .btn:hover { background: var(--side-hl); color: #fff; }
.me { display: flex; gap: 10px; align-items: center; color: #fff; } .me small { color: var(--side-t); display: block; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d); display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.main { min-width: 0; }
.top { display: none; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
main#view { padding: 28px 32px 60px; max-width: 1500px; }

/* ===== مكونات ===== */
.page-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-h p { margin: 4px 0 0; } .page-a { display: flex; gap: 8px; flex-wrap: wrap; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; } .card-h h3 { margin: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpis.small { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow); border-inline-start: 4px solid var(--line); }
.kpi.good { border-inline-start-color: var(--good); } .kpi.bad { border-inline-start-color: var(--bad); } .kpi.warn { border-inline-start-color: var(--warn); }
.kpi-l { color: var(--muted); font-size: .82rem; } .kpi-v { font-size: 1.6rem; font-weight: 700; line-height: 1.2; } .kpi-s { color: var(--muted); font-size: .76rem; }

.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--surface2); border-color: var(--muted); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); } .btn.primary:hover { background: var(--brand-d); border-color: var(--brand-d); }
.btn.ghost { background: transparent; } .btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.sm { padding: 4px 10px; font-size: .8rem; border-radius: 7px; } .btn.wide { width: 100%; justify-content: center; padding: 11px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.danger-t { color: var(--bad); } .btn.ghost.danger-t:hover { background: var(--bad-l); border-color: var(--bad); }
.icon-btn { background: none; border: 0; font-size: 1.15rem; cursor: pointer; color: var(--muted); padding: 6px 10px; border-radius: 8px; } .icon-btn:hover { background: var(--gray-l); color: var(--text); }
.link { color: var(--brand); font-weight: 600; font-size: .85rem; cursor: pointer; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 600; white-space: nowrap; background: var(--gray-l); color: var(--muted); }
.badge.green { background: var(--good-l); color: var(--good); } .badge.amber { background: var(--warn-l); color: var(--warn); } .badge.red { background: var(--bad-l); color: var(--bad); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.filters .inl { display: flex; align-items: center; gap: 8px; color: var(--muted); }
input, select, textarea { font: inherit; font-size: .9rem; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; width: 100%; }
.filters input, .filters select { width: auto; min-width: 150px; } .filters input[type=search] { flex: 1 1 240px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
input[type=checkbox] { width: auto; accent-color: var(--brand); }
td input[type=time], td select { padding: 5px 8px; width: auto; min-width: 100px; }
.tabs { display: inline-flex; background: var(--gray-l); padding: 4px; border-radius: 10px; margin-bottom: 16px; gap: 2px; }
.tabs button { font: inherit; border: 0; background: none; padding: 7px 18px; border-radius: 7px; cursor: pointer; color: var(--muted); font-weight: 500; } .tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ===== الجداول ===== */
.tbl-w { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: start; color: var(--muted); font-weight: 600; font-size: .78rem; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface2); position: sticky; top: 0; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--surface2); }
.tbl.dense td, .tbl.dense th { padding: 8px 6px; font-size: .82rem; white-space: nowrap; }
.tbl.plain tbody tr:hover { background: none; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; } .neg { color: var(--bad); }
.who { display: flex; gap: 10px; align-items: center; } .who b { display: block; }
.acts { display: flex; gap: 4px; justify-content: flex-end; white-space: nowrap; }
.matrix td, .matrix th { text-align: center; } .matrix th:first-child { text-align: start; } .matrix td.has { background: var(--brand-l); color: var(--brand-d); font-weight: 700; }
.empty { color: var(--muted); text-align: center; padding: 26px 10px; font-size: .9rem; }
.list { list-style: none; margin: 0; padding: 0; } .list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); } .list li:last-child { border: 0; }
.list small { display: block; } .list.big li { padding: 12px 0; }

/* ===== المخططات ===== */
.bars { display: grid; gap: 10px; } .bar-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: .85rem; }
.bar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar-t { background: var(--gray-l); border-radius: 99px; height: 12px; overflow: hidden; } .bar-f { height: 100%; border-radius: 99px; transition: width .5s; } .bar-v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: end; }
.col-chart { width: 100%; height: auto; } .svg-n { font-size: 11px; fill: var(--text); font-weight: 600; } .svg-l { font-size: 10px; fill: var(--muted); }
.donut-w { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; } .donut { width: 130px; flex: none; } .donut-n { font-size: 20px; font-weight: 700; fill: var(--text); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; } .legend b { margin-inline-start: 6px; }

/* ===== النماذج والنوافذ ===== */
.overlay { position: fixed; inset: 0; background: rgba(6,24,26,.55); display: grid; place-items: center; padding: 16px; z-index: 100; animation: fade .15s; }
.modal { background: var(--surface); border-radius: 14px; width: min(520px, 100%); max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: pop .18s; } .modal.wide { width: min(820px, 100%); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); } .modal-h h3 { margin: 0; }
.modal-b { padding: 18px 20px; overflow-y: auto; } .modal-f { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.confirm-msg { line-height: 1.8; }
.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; } .grid-form .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; } .fld label b { color: var(--bad); }
.chk { display: flex !important; align-items: center; gap: 8px; color: var(--text) !important; font-size: .9rem !important; margin-top: 22px; cursor: pointer; }
.form-err { background: var(--bad-l); color: var(--bad); padding: 8px 12px; border-radius: 8px; font-size: .86rem; }
.note { background: var(--surface2); border: 1px dashed var(--line); padding: 10px 14px; border-radius: 9px; color: var(--muted); font-size: .84rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .86rem; color: var(--text) !important; margin: 0 !important; }
.prof-h { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; } .prof-h .avatar { width: 56px; height: 56px; font-size: 1.2rem; }
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 0; } .dl div { border-bottom: 1px solid var(--line); padding-bottom: 6px; } .dl dt { font-size: .75rem; color: var(--muted); } .dl dd { margin: 0; font-weight: 500; }

/* ===== التوظيف ===== */
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 18px; }
.job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 4px; cursor: pointer; transition: border-color .15s; } .job:hover { border-color: var(--brand); } .job.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-l); }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.col { background: var(--surface2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; min-height: 160px; } .col h4 { margin: 0 0 10px; display: flex; justify-content: space-between; color: var(--text); } .col h4 span { background: var(--gray-l); border-radius: 99px; padding: 0 9px; font-size: .78rem; }
.cand { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; display: grid; gap: 3px; } .cand .acts { justify-content: flex-start; flex-wrap: wrap; margin-top: 6px; } .stars { color: #d97706; letter-spacing: 2px; font-size: .85rem; }

/* ===== قسيمة الراتب ===== */
.payslip { font-size: .9rem; } .ps-h { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--brand); padding-bottom: 12px; margin-bottom: 14px; flex-wrap: wrap; } .ps-h h2 { color: var(--brand); } .ps-id { display: grid; text-align: end; } .ps-id span { color: var(--muted); font-size: .82rem; }
.ps-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .tbl .tot td { font-weight: 700; border-top: 2px solid var(--line); }
.ps-net { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; background: var(--brand); color: var(--on-brand); padding: 14px 18px; border-radius: 10px; font-size: 1.05rem; } .ps-net b { font-size: 1.4rem; }

/* ===== إشعارات وتحميل ===== */
#toasts { position: fixed; bottom: 20px; inset-inline-start: 20px; display: grid; gap: 8px; z-index: 200; }
.toast { background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-size: .9rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); animation: pop .2s; border-inline-start: 4px solid var(--good); } .toast.err { border-inline-start-color: var(--bad); } .toast.out { opacity: 0; transition: opacity .4s; }
.loading { display: flex; gap: 6px; justify-content: center; padding: 60px; } .loading i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: bounce 1s infinite; } .loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }
.boot-err { max-width: 520px; margin: 80px auto; padding: 24px; background: var(--bad-l); color: var(--bad); border-radius: 12px; }
@keyframes fade { from { opacity: 0 } } @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98) } } @keyframes bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .5 } 40% { transform: scale(1); opacity: 1 } }

/* ===== تسجيل الدخول ===== */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: linear-gradient(155deg, #0c2a2c, #0f766e); color: #e8fbf8; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.login-art h1 { font-size: 2.2rem; } .login-art p { font-size: 1.05rem; opacity: .85; max-width: 420px; } .brand.big { font-size: 1.6rem; padding: 0; } .brand.big .ico { width: 38px; height: 38px; }
.login-card { align-self: center; justify-self: center; width: min(400px, 90%); display: grid; gap: 14px; padding: 24px 0; }
.demo-box { background: var(--surface2); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; font-size: .85rem; } .demo-box p { margin: 2px 0 8px; color: var(--muted); } .demo-btns { display: flex; gap: 8px; }

/* ===== استجابة ===== */
@media (max-width: 1100px) { .grid-main { grid-template-columns: 1fr; } .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; } .top { display: flex; }
  .side { position: fixed; inset-block: 0; inset-inline-start: 0; width: 264px; z-index: 50; transform: translateX(100%); transition: transform .25s; } .side.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.5); }
  main#view { padding: 18px 16px 50px; } .grid2, .grid3 { grid-template-columns: 1fr; } .grid-form, .ps-cols, .dl { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; } .login-art { padding: 32px 24px; } .login-art h1 { font-size: 1.5rem; } .bar-row { grid-template-columns: 90px 1fr 60px; }
  .kanban { grid-template-columns: repeat(6, 220px); }
}

/* ===== الطباعة ===== */
@media print {
  body { background: #fff; color: #000; }
  .side, .top, .page-a, .filters, .btn, #toasts, .tabs { display: none !important; }
  .shell { display: block; } main#view { padding: 0; }
  body:has(.overlay) .shell { display: none; }
  .overlay { position: static; background: none; padding: 0; display: block; } .modal { box-shadow: none; max-height: none; width: 100%; animation: none; } .modal-h, .modal-f { display: none; } .modal-b { overflow: visible; padding: 0; }
  .card, .kpi { box-shadow: none; break-inside: avoid; }
}

/* ===== الإضافات (v2) ===== */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 8px; background: var(--surface); align-content: start; }
.doc.has { border-color: var(--good); background: color-mix(in srgb, var(--good-l) 35%, var(--surface)); } .doc.miss { border-style: dashed; border-color: var(--bad); }
.doc-h { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .doc-h b { flex: 1 1 100%; }
.doc-f { min-height: 38px; font-size: .84rem; word-break: break-all; } .doc-f small { display: block; } .doc .acts { justify-content: flex-start; flex-wrap: wrap; }
.prog { margin-bottom: 14px; display: grid; gap: 6px; }
.checkin { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-inline-start: 4px solid var(--brand); } .checkin h3 { margin-bottom: 4px; }
.grid-form .btn.full { justify-self: start; }
a.btn { text-decoration: none; }

/* ===== الإصدار 3 ===== */
.bell { position: relative; justify-content: center; } .bell-n { background: var(--bad); color: #fff; border-radius: 99px; font-size: .68rem; font-weight: 700; padding: 0 6px; min-width: 18px; text-align: center; line-height: 18px; }
.bell-top { position: relative; margin-inline-start: auto; } .bell-top .bell-n { position: absolute; top: -2px; inset-inline-end: -2px; }
.notif li { cursor: pointer; padding: 10px 8px; border-radius: 8px; } .notif li:hover { background: var(--surface2); } .notif li.unread { background: var(--brand-l); } .notif li.unread b::before { content: "● "; color: var(--brand); }
.cal { overflow-x: auto; } .cal-h, .cal-g { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 4px; } .cal-h span { text-align: center; color: var(--muted); font-size: .78rem; padding: 6px 0; font-weight: 600; }
.cal-c { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); font-size: .78rem; } .cal-c.empty { border: 0; background: none; }
.cal-c.wk { background: var(--surface2); } .cal-c.hol { background: var(--warn-l); } .cal-c.now { outline: 2px solid var(--brand); }
.cal-c b { font-size: .85rem; } .ev { border-radius: 5px; padding: 0 6px; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ev.h { background: var(--warn); color: #fff; } .ev.l { background: var(--c2); color: #fff; } .ev.b { background: var(--good-l); color: var(--good); }
i.ev { display: inline-block; width: 12px; height: 12px; padding: 0; vertical-align: middle; margin-inline-end: 6px; } .legend-row { display: flex; gap: 18px; margin-top: 12px; color: var(--muted); font-size: .8rem; flex-wrap: wrap; }
.ann.pin { border-inline-start: 4px solid var(--warn); } .ann-i { padding: 12px 0; border-bottom: 1px solid var(--line); } .ann-i:last-child { border: 0; } .ann-i.new { background: var(--brand-l); padding: 12px; border-radius: 10px; margin-bottom: 8px; border: 0; } .ann-i p { margin: 4px 0 8px; }
.task { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); cursor: pointer; } .task.done span { text-decoration: line-through; color: var(--muted); } .task small { margin-inline-start: auto; }
.sigpad { width: 100%; height: auto; border: 2px dashed var(--line); border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; }
.sign-row { display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; align-items: flex-end; } .sign-row.two > div { flex: 1; } .sign-line { border-bottom: 1px solid var(--text); height: 54px; margin-top: 8px; }
.sig { margin-top: 6px; } .sig img { max-height: 70px; max-width: 100%; display: block; } .sig.empty { height: 54px; border-bottom: 1px solid var(--line); display: grid; align-items: end; }
.stamp { width: 110px; height: 110px; border: 2px dashed var(--muted); border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.hash { font-size: .72rem; color: var(--muted); margin-top: 18px; } .letter { padding: 8px 4px; } .pos { color: var(--good); }
