.legacy{font-family:inherit;--l-bg: #f6f7f5;--l-card: #fff;--l-text: #1d2420;--l-muted: #5f6b64;--l-line: #dfe4e0;--l-brand: #0f6e56;--l-brand-soft: #e1f5ee;--l-red: #a32d2d;--l-red-soft: #fcebeb;--l-orange: #854f0b;--l-orange-soft: #faeeda;--l-green: #3b6d11;--l-green-soft: #eaf3de;--l-blue-soft: #e6f1fb;font-family:system-ui,Segoe UI,Tahoma,Noto Sans Arabic,sans-serif;color:var(--l-text);background:var(--l-bg);line-height:1.6;box-sizing:border-box}.legacy h1{font-size:1.35rem;margin:0 0 .5rem}.legacy h2{font-size:1.1rem;margin:0 0 .5rem}.legacy h3{font-size:1rem;margin:.5rem 0}.legacy .center{min-height:100vh;display:grid;place-items:center;padding:1rem}.legacy .card{background:var(--l-card);border:1px solid var(--l-line);border-radius:12px;padding:.9rem 1rem}.legacy .narrow{width:min(420px,100%);display:flex;flex-direction:column;gap:.7rem}.legacy .list{display:flex;flex-direction:column;gap:.6rem;max-width:860px;margin-inline:auto}.legacy .row{display:flex;align-items:center;gap:.5rem}.legacy .between{justify-content:space-between}.legacy .wrap{flex-wrap:wrap;margin-top:.4rem}.legacy label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;color:var(--l-muted)}.legacy input,.legacy select,.legacy textarea{font:inherit;padding:.55rem .7rem;border:1px solid var(--l-line);border-radius:8px;background:#fff;color:var(--l-text)}.legacy button,.legacy .btn{font:inherit;padding:.55rem 1rem;border-radius:8px;border:1px solid var(--l-brand);background:var(--l-brand);color:#fff;cursor:pointer;text-decoration:none;display:inline-block}.legacy button:disabled{opacity:.5;cursor:not-allowed}.legacy button.ghost{background:transparent;color:var(--l-brand)}.legacy .small{font-size:.85rem}.legacy button.small,.legacy .btn.small{padding:.35rem .7rem}.legacy .muted{color:var(--l-muted)}.legacy .error{color:var(--l-red);background:var(--l-red-soft);padding:.5rem .7rem;border-radius:8px;margin:0}.legacy .notice{background:var(--l-blue-soft);padding:.6rem .8rem;border-radius:8px;margin:0}.legacy .pill{font-size:.75rem;background:var(--l-brand-soft);color:var(--l-brand);padding:.1rem .5rem;border-radius:99px;margin-inline-start:.4rem}.legacy .badge{font-size:.8rem;padding:.15rem .6rem;border-radius:99px;background:#eef1ef;white-space:nowrap}.legacy .b-red{background:var(--l-red-soft);color:var(--l-red)}.legacy .b-orange{background:var(--l-orange-soft);color:var(--l-orange)}.legacy .b-green{background:var(--l-green-soft);color:var(--l-green)}.legacy .b-overdue{background:var(--l-orange-soft);color:var(--l-orange)}.legacy .b-due{background:var(--l-blue-soft)}.legacy .lead{border-inline-start:5px solid var(--l-line)}.legacy .u-red{border-inline-start-color:var(--l-red)}.legacy .u-orange{border-inline-start-color:#ef9f27}.legacy .u-green{border-inline-start-color:#97c459}.legacy .shell{min-height:100vh}.legacy .top{display:flex;justify-content:space-between;align-items:center;padding:.6rem 1rem;background:#fff;border-bottom:1px solid var(--l-line);position:sticky;top:0;z-index:2}.legacy .brand,.legacy .top-actions{display:flex;align-items:center;gap:.4rem}.legacy .tabs{display:flex;gap:.3rem;overflow-x:auto;padding:.5rem 1rem;background:#fff;border-bottom:1px solid var(--l-line)}.legacy .tabs a{padding:.4rem .8rem;border-radius:99px;text-decoration:none;color:var(--l-muted);white-space:nowrap}.legacy .tabs a.active{background:var(--l-brand-soft);color:var(--l-brand);font-weight:600}.legacy .content{padding:1rem}.legacy .chips{display:flex;flex-wrap:wrap;gap:.4rem}.legacy .chip{background:#fff;color:var(--l-text);border:1px solid var(--l-line);padding:.35rem .8rem;border-radius:99px}.legacy .chip.on{background:var(--l-brand);color:#fff;border-color:var(--l-brand)}.legacy .overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:grid;place-items:center;padding:1rem;z-index:10}.legacy .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem}.legacy .form-grid h2{grid-column:1 / -1}.legacy .row-btn{display:flex;justify-content:space-between;background:#fff;color:var(--l-text);border-color:var(--l-line)}.legacy .qr{width:200px;height:200px;align-self:center;background:#fff}.legacy .msg{background:var(--l-bg);padding:.5rem .7rem;border-radius:8px;margin:.4rem 0}.legacy .kpis{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.legacy .kpi span{color:var(--l-muted);font-size:.9rem}.legacy .kpi strong{display:block;font-size:1.8rem}.legacy .search{width:100%}.legacy .scroll-x{overflow-x:auto}.legacy table{border-collapse:collapse;width:100%;font-size:.85rem}.legacy th,.legacy td{padding:.35rem .5rem;border-bottom:1px solid var(--l-line);text-align:start;white-space:nowrap}.legacy .lvl-edit{color:var(--l-green);font-weight:600}.legacy .lvl-view{color:var(--l-orange)}.legacy .lvl-none{color:#b4b2a9}.legacy .appt.s-cancelled{opacity:.6}.legacy .appt.s-no_show{border-inline-start:5px solid var(--l-red)}.legacy .appt.s-attended{border-inline-start:5px solid #97c459}.legacy code{background:var(--l-bg);padding:.1rem .3rem;border-radius:4px;word-break:break-all}
