* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Noto Sans Hebrew", "Segoe UI", sans-serif; background: #faf8ff; color: #2f2547; max-width: 480px; margin: 0 auto; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; }

.hero { background: linear-gradient(160deg, #c3a6f0, #9b7fe0); color: #fff; padding: 46px 24px 66px; border-radius: 0 0 36px 36px; }
.hero h1 { font-size: 29px; font-weight: 700; }
.hero p { margin-top: 4px; opacity: .9; }

.bar { margin: -42px 18px 16px; background: #2f2547; color: #fff; border-radius: 20px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 20px rgba(60,20,90,.25); }
.bar .t { font-size: 19px; font-weight: 700; }
.bar .s { opacity: .7; font-size: 14px; margin-top: 2px; }
.b { background: #ffd8a8; color: #2f2547; border-radius: 12px; padding: 10px 16px; font-weight: 800; }
.b.done { background: #e3f1e6; color: #2e7d4f; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.tile { border-radius: 22px; padding: 18px; height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.e { width: 48px; height: 48px; border-radius: 15px; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.tile .t { font-size: 20px; font-weight: 800; }

.top { background: linear-gradient(160deg, #c3a6f0, #9b7fe0); color: #fff; padding: 40px 24px 20px; display: flex; gap: 16px; align-items: center; }
.top a { font-size: 26px; }
.top h1 { font-size: 24px; }

.center { padding: 40px 24px; text-align: center; }
.list { padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.row { background: #fff; border-radius: 14px; padding: 16px; text-align: right; font-size: 17px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.tile .s { font-size: 14px; margin-top: 2px; opacity: .75; }
.b:disabled { opacity: .6; }

h2 { font-size: 15px; color: #7a5fd0; margin-top: 8px; }
.list0 { display: flex; flex-direction: column; gap: 10px; }
.row { display: block; width: 100%; }
.row .t, .card .t { font-size: 17px; font-weight: 700; }
.row .s, .card .s { font-size: 14px; color: #77727d; margin-top: 2px; }
.card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.row.card { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 12px; font-weight: 700; border-radius: 8px; padding: 4px 10px; white-space: nowrap; }
.tag.red { background: #fde3e3; color: #b23b3b; }
.tag.blue { background: #e1ecfb; color: #2f5fa8; }
.tag.green { background: #e3f1e6; color: #2e7d4f; }
.link { background: none; color: #b23b3b; padding: 12px; margin-top: 12px; }

label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
label.radio { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
input, select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #ddd5ee; border-radius: 12px; background: #fff; color: inherit; }
input[type=radio] { width: 20px; height: 20px; }
.search { width: 100%; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; border-radius: 16px; padding: 6px 14px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.chip.on { background: #9b7fe0; color: #fff; }
.fab { position: fixed; bottom: 24px; inset-inline-end: max(20px, calc(50vw - 220px)); width: 58px; height: 58px; border-radius: 50%; background: #2f2547; color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); cursor: pointer; }
main.list { padding-bottom: 100px; }
