*{box-sizing:border-box}
html,body{margin:0;background:#E9EEED;color:#14201E;font-family:Inter,system-ui,sans-serif;-webkit-text-size-adjust:100%}
body.rtl{font-family:'IBM Plex Sans Arabic',Inter,sans-serif}
a{color:#0F5E59}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:#F4F7F6;position:relative}
.app.with-tabs{padding-bottom:84px}
.main{padding:20px 16px 24px}
.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;align-items:center;gap:12px}
.between{display:flex;justify-content:space-between;align-items:center;gap:8px}
.grow{flex:1 1 auto;min-width:0}
h1{font-size:24px;line-height:1.2;margin:0;font-weight:700}
h2{font-size:17px;margin:4px 0 0;font-weight:700}
.muted{color:#3E4B49;font-size:14px;line-height:1.45}
.small{font-size:13px}
.ic{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.rtl .flip{transform:scaleX(-1)}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;border:0;border-radius:14px;background:#0F5E59;color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer;text-decoration:none;padding:12px 16px;text-align:center}
.btn:disabled,.btn.disabled{background:#A9B8B6;cursor:not-allowed;pointer-events:none}
.btn.gold{background:#F5B83D;color:#14201E}
.btn.wa{background:#1F8A4C}
.btn2{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border:1.5px solid #0F5E59;border-radius:14px;background:#fff;color:#0F5E59;font:inherit;font-weight:600;font-size:15px;cursor:pointer;padding:10px 14px;text-decoration:none}
.btn2.danger{border-color:#991B1B;color:#991B1B}
.link{background:none;border:0;font:inherit;font-weight:600;color:#0F5E59;cursor:pointer;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0;text-decoration:none}
.card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
a.card{text-decoration:none;color:inherit;display:block}
a.card.row{display:flex}
.chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;white-space:nowrap}
.c-pending{background:#FEF3C7;color:#92400E}.c-accepted{background:#DCFCE7;color:#166534}.c-rejected{background:#FEE2E2;color:#991B1B}.c-info{background:#E0ECEA;color:#0F5E59}
.bub{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.b-dicom{background:#FDECC8;color:#7A4A00}.b-pdf{background:#E0ECEA;color:#0F5E59}.b-photo{background:#E8E4F5;color:#4B3A8C}
label.lbl{font-size:13px;font-weight:600;color:#3E4B49;margin-bottom:6px;display:block}
.inp{width:100%;min-height:48px;border:1.5px solid #C9D3D1;border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;background:#fff}
.inp:focus{outline:2px solid #0F5E59;border-color:#0F5E59}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45}
.check input{width:22px;height:22px;flex-shrink:0;margin:0;accent-color:#0F5E59}
.errors{background:#FEE2E2;color:#7F1D1D;border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600}
.errors div+div{margin-top:4px}
.flash{display:flex;gap:10px;align-items:center;margin:12px 16px 0;padding:12px 14px;border-radius:14px;font-weight:600;font-size:14px}
.flash-ok{background:#166534;color:#fff}.flash-err{background:#991B1B;color:#fff}
.note{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:14px;font-weight:600;font-size:14px;color:#fff;text-decoration:none}
.note.ok{background:#166534}.note.bad{background:#991B1B}
.hero{background:#0F5E59;color:#fff}
.hero .muted{color:#D5ECE9}
.bar{height:8px;border-radius:4px;background:#E0ECEA;overflow:hidden}
.bar>span{display:block;height:100%;background:#0F5E59;border-radius:4px}
.hero .bar{background:rgba(255,255,255,.2)}.hero .bar>span{background:#F5B83D}
.tabs{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #DDE5E3;padding:6px 4px calc(10px + env(safe-area-inset-bottom));z-index:10}
.tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:56px;justify-content:center;font-size:12px;font-weight:600;color:#7C8C89;text-decoration:none}
.tabs a.on{color:#0F5E59}
.intro{min-height:100vh;background:#0F5E59;color:#fff;padding:20px 20px 24px;display:flex;flex-direction:column;gap:14px}
.intro .muted{color:#D5ECE9}
.intro .skip{color:#D5ECE9;font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 6px}
.prices{background:#fff;color:#14201E;border-radius:18px;padding:4px 12px}
.prices .row{padding:10px 0;border-bottom:1px solid #E3E9E8}
.prices .row:last-child{border-bottom:0}
.amt{font-size:22px;font-weight:800;white-space:nowrap}
.amt small{font-size:12px}
.tip{font-size:13px;line-height:1.45;background:rgba(245,184,61,.18);border-radius:12px;padding:10px 12px;color:#FCE7B5}
.step{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.1);border-radius:16px;padding:12px}
.step .bub{background:#F5B83D;color:#14201E;position:relative}
.step .n{position:absolute;top:-6px;inset-inline-end:-6px;width:20px;height:20px;border-radius:50%;background:#fff;color:#0F5E59;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.dots{display:flex;gap:8px;justify-content:center}
.dots span{height:8px;width:8px;border-radius:4px;background:rgba(255,255,255,.35)}
.dots span.on{width:24px;background:#F5B83D}
.lang a{color:inherit;text-decoration:none;font-weight:600;padding:6px 12px;border-radius:999px;font-size:14px}
.lang a.on{background:rgba(255,255,255,.18)}
.lang.light a.on{background:#0F5E59;color:#fff}
.lang.light a{color:#0F5E59;background:#fff}
.camtile{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px dashed #9DB5B1;border-radius:16px;background:#fff;padding:16px 8px;cursor:pointer;position:relative;overflow:hidden;font-weight:600;font-size:14px;text-align:center;color:#0F5E59}
.camtile input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.camtile.ok{border-color:#166534;background:#F0FBF3;color:#166534}
.camtile img{width:100%;height:84px;object-fit:cover;border-radius:10px;display:none}
.camtile.ok img{display:block}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.drop{display:flex;flex-direction:column;align-items:center;gap:10px;border:2px dashed #0F5E59;border-radius:16px;background:#fff;padding:28px 16px;color:#0F5E59;position:relative;overflow:hidden;cursor:pointer;text-align:center}
.drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.progress{display:none}
.uploading .progress{display:flex}
.uploading .pick{display:none}
.timeline .t{display:flex;gap:12px}
.timeline .dotc{display:flex;flex-direction:column;align-items:center}
.timeline .dot{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.timeline .line{width:2px;height:22px;background:#D3DEDC}
.d-done{background:#DCFCE7;color:#166534}.d-cur{background:#FEF3C7;color:#92400E}.d-fail{background:#FEE2E2;color:#991B1B}.d-todo{background:#EEF2F1;color:#9DB5B1}
.bubble{background:#DCF8C6;border-radius:14px 14px 4px 14px;padding:12px 14px;font-size:14px;line-height:1.45;white-space:pre-line;box-shadow:0 1px 2px rgba(0,0,0,.08);overflow-wrap:anywhere}
.code{font-size:30px;font-weight:800;letter-spacing:2px}
.legal{font-size:14px;line-height:1.6}
.legal h2{margin-top:18px}
.ltr{direction:ltr;unicode-bidi:isolate}
.center{text-align:center}
