
*{box-sizing:border-box}body{margin:0;background:#eeebf8;color:#21165f;font-family:'Segoe UI',Arial,sans-serif;display:grid;place-items:center;min-height:100svh;padding:28px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9178e7;outline-offset:4px}.phone{width:100%;max-width:410px;min-height:820px;background:linear-gradient(150deg,#fff 30%,#f7f4ff 73%,#eae3ff);border:1px solid #e3dcf4;border-radius:36px;box-shadow:0 24px 75px #36237816,0 3px 12px #36237808;position:relative;overflow:hidden}.screen{min-height:820px;padding:32px 26px;position:relative;display:flex;flex-direction:column;isolation:isolate}.splash{align-items:center;text-align:center;justify-content:center}.organic{position:absolute;z-index:-1;pointer-events:none}.top-shape{width:290px;height:220px;border-radius:36% 64% 58% 42%;background:linear-gradient(135deg,#ded5fa,#f0eaff);top:-115px;right:-100px;transform:rotate(35deg)}.top-left{width:150px;height:140px;background:#f0ebfc;border-radius:47% 53% 76% 24%;top:-45px;left:-45px}.bottom-shape{width:310px;height:300px;border-radius:50% 50% 15% 70%;background:linear-gradient(40deg,#ddd2fa,#eee8fd);bottom:-140px;left:-128px;transform:rotate(-20deg)}.small-shape{height:28px;width:32px;border-radius:50% 50% 65% 35%;background:#e5dcfc;top:108px;left:36px;transform:rotate(-28deg)}.brandmark{width:140px;height:128px;filter:drop-shadow(0 12px 16px #6042b918)}.splash h1{font-size:46px;letter-spacing:-2px;margin:14px 0 8px;line-height:1.1;font-weight:750}.tagline{font-size:18px;line-height:1.55;margin:0;max-width:235px;color:#392974}.identity{transform:translateY(-28px);display:flex;flex-direction:column;align-items:center}.splash-foot{position:absolute;bottom:59px;left:26px;right:26px;display:flex;align-items:center;flex-direction:column}.splash-foot p{max-width:255px;font-size:14px;line-height:1.6;margin:0 0 30px;color:#514378}.loader{height:4px;width:100px;overflow:hidden;background:#d9cff2;border-radius:10px}.loader span{display:block;height:100%;width:38%;border-radius:10px;background:#6240cb;animation:loading 1.8s ease-in-out infinite alternate}@keyframes loading{to{transform:translateX(165%)}}@media(prefers-reduced-motion:reduce){.loader span{animation:none}}@media(max-width:480px){body{padding:0;background:#f6f3ff}.phone{border:0;border-radius:0;min-height:100svh;box-shadow:none;max-width:100%}.screen{min-height:100svh}}@media(max-height:850px) and (min-width:481px){body{padding:16px}.phone,.screen{min-height:calc(100svh - 32px)}}

.screen:not(.splash){gap:20px;background:radial-gradient(ellipse at 100% 0,#eee7ff80,transparent 45%)}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}h2{font-size:16px;line-height:1.45}p{font-size:15px;line-height:1.6;color:#675d82}header{display:flex;align-items:center;gap:12px;min-height:36px}header h1{font-size:21px;letter-spacing:-.5px}.back,.icon-button{border:0;background:transparent;color:#5d3ac5;width:36px;height:36px;padding:6px;display:grid;place-items:center}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.intro{text-align:center;margin:12px 0 8px}.intro p{margin-top:12px}.mini-brand{display:flex;align-items:center;gap:6px;font-size:17px;font-weight:750}.mini-brand .brandmark{width:32px;height:32px;filter:none}.hero-image{width:100%;height:250px;object-fit:contain;border-radius:24px;mix-blend-mode:multiply}.welcome h1{font-size:32px}.welcome .hero-image{height:290px}.actions{margin-top:auto;display:grid;gap:12px;padding-top:14px}.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:13px 16px;border:1px solid transparent;border-radius:13px;background:linear-gradient(120deg,#7450df,#5633c7);color:white;font-size:15px;font-weight:650;text-decoration:none;box-shadow:0 6px 16px #6742cb1c}.btn:hover{filter:brightness(1.05)}.btn.secondary{background:transparent;border-color:#c9bae9;color:#5534b5;box-shadow:none}.btn.danger{background:#fff;border-color:#eab6c4;color:#b94360;box-shadow:none}.text-button{border:0;background:transparent;padding:9px;color:#6040bd;font-weight:600;font-size:14px;text-align:center;text-decoration:none}.small{font-size:13px}.center{text-align:center}.card{background:#ffffffbe;border:1px solid #e8e0f5;border-radius:17px;padding:18px;box-shadow:0 3px 10px #38256704}.list{display:grid;gap:12px}.row{display:flex;align-items:center;gap:13px}.row .grow{flex:1;min-width:0}.tile-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:#6240c9;background:#ede6ff;flex-shrink:0}.tile-icon .icon{width:25px;height:25px}.chevron{color:#7a5ccb;font-size:24px}.field{display:grid;gap:8px;margin-bottom:15px;font-size:14px;font-weight:600}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap .icon{position:absolute;left:13px;width:18px;color:#776699}.input-wrap input{padding-left:41px}input:not([type=checkbox]):not([type=range]):not([type=radio]),select,textarea{width:100%;border:1px solid #e1d9ef;background:#ffffffa8;border-radius:11px;padding:13px 14px;min-height:47px;color:#292049;outline-offset:2px}input::placeholder,textarea::placeholder{color:#8b809e;font-size:14px}textarea{resize:vertical;min-height:135px;line-height:1.65}input[type=checkbox],input[type=radio]{accent-color:#6941cd;width:19px;height:19px;flex-shrink:0}.terms{display:flex;gap:9px;font-size:13px;line-height:1.6;color:#655778}.terms a{color:#5735b3}.form{margin-top:4px}.otp{display:flex;gap:7px;margin:12px 0}.otp input{text-align:center!important;padding:8px!important;font-size:22px!important;min-width:0;height:56px}.symbol-hero{position:relative;align-self:center;display:grid;place-items:center;width:190px;height:200px;margin:20px auto;background:radial-gradient(circle,#e9e0ff 0 57%,transparent 58%)}.symbol-hero>.icon{height:115px;width:115px;stroke-width:1;color:#6942cb}.symbol-hero .badge{position:absolute;right:18px;bottom:32px;width:61px;height:61px;background:#7650db;color:#fff;border:6px solid #f5f0ff;border-radius:50%;display:grid;place-items:center}.badge .icon{width:28px;height:28px}.selectable{cursor:pointer;text-align:left;color:inherit;width:100%;font:inherit}.selectable[aria-pressed=true]{border:1.5px solid #8565d5;background:#f4efff;box-shadow:0 0 0 3px #efe8ff}.selectable h2{margin-bottom:6px}.selectable p{font-size:14px}.permission{display:flex;align-items:center;gap:12px}.switch{margin-left:auto;width:38px;height:23px;border-radius:20px;background:#dcd3ed;border:0;padding:3px;flex-shrink:0}.switch:before{content:'';display:block;background:white;width:17px;height:17px;border-radius:50%;transition:transform .2s}.switch[aria-checked=true]{background:#7650db}.switch[aria-checked=true]:before{transform:translateX(15px)}.dots{display:flex;gap:6px;justify-content:center}.dots i{width:6px;height:6px;border-radius:50%;background:#d5c8f1}.dots i:first-child{width:18px;background:#6c43d0}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats .card{background:linear-gradient(135deg,#f0eaff,#ebe3ff);border:none}.number{font-size:31px;font-weight:750;color:#5c39be}.stats p{font-size:13px}.nav{margin:18px -16px -16px;display:flex;justify-content:space-around;border-top:1px solid #e9e1f4;padding:15px 0 4px;margin-top:auto}.nav a{display:flex;flex-direction:column;gap:5px;align-items:center;text-decoration:none;color:#8a7ba4;font-size:10px;padding:4px;min-width:45px}.nav a.active{color:#603ac5;font-weight:700}.quick{border:0;background:transparent;text-decoration:none;color:inherit;padding:10px 0}.quick .tile-icon{width:34px;height:34px;border-radius:11px}.quick .icon{width:19px}.quick span.grow{font-size:14px}.picture-row{display:flex;align-items:center;gap:12px}.medicine{object-fit:contain;border-radius:16px;width:100%;height:220px;background:#f4f0fc}.picture-row .medicine{width:70%;height:180px}.add{width:61px;height:61px;border:1px solid #ddd0f3;border-radius:15px;background:#eee7fd;color:#6240c9;font-size:30px}.success{justify-content:center;text-align:center}.success .symbol-hero{margin:70px auto 20px}.success h1{font-size:27px}.success .actions{margin-top:28px;margin-bottom:70px}.tabs{display:flex;padding:4px;background:#eee8f9;border-radius:12px;gap:4px}.tabs button{flex:1;background:transparent;border:0;padding:11px 5px;border-radius:9px;font-size:13px;color:#74618f}.tabs button.active{background:#7046d3;color:white;box-shadow:0 3px 8px #6140a51f}.avatar{width:43px;height:43px;border-radius:50%;background:linear-gradient(140deg,#d4c6f8,#ab8ce9);color:#fff;font-size:16px;font-weight:700;display:grid;place-items:center;flex-shrink:0}.verified{font-size:12px;color:#7153b7;display:flex;align-items:center;gap:4px}.verified .icon{height:13px;width:13px}.request p{font-size:13px}.request h2{font-size:15px}.chat{gap:16px}.chat header{padding-bottom:17px;border-bottom:1px solid #e9e0f4}.chat header .icon-button{margin-left:auto}.bubble{max-width:84%;padding:16px 17px;background:#f0eafa;border-radius:17px 17px 17px 3px;color:#4a3b68;font-size:14px;line-height:1.65}.bubble.mine{align-self:flex-end;background:#dfd2fa;border-radius:17px 17px 3px 17px}.chat-form{display:flex;gap:8px;margin-top:auto}.chat-form .btn{width:48px;padding:10px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #ddd0f3;border-radius:24px;padding:9px 12px;background:#f1ebff;color:#6041aa;font-size:12px}.chip[aria-pressed=true]{background:#6b45cd;color:#fff}.product{display:flex;gap:13px;text-decoration:none;color:inherit}.product img{width:85px;height:104px;object-fit:contain;background:#f5f2fa;border-radius:10px}.product h2{font-size:15px}.product p{font-size:13px}.pill{display:inline-block;background:#ece4fc;color:#7251b3;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:600}.status-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.detail-line{display:flex;justify-content:space-between;font-size:14px;gap:12px}.stepper{display:flex;justify-content:space-between;font-size:11px;color:#6b4caf;gap:5px}.stepper span{display:flex;align-items:center;gap:3px}.stepper .icon{width:14px;height:14px}.counter{text-align:right;font-size:12px;color:#8d7e9d;margin-top:5px}.rating{display:grid;gap:8px;margin-bottom:15px;font-size:14px}.stars{display:flex;gap:6px}.stars button{font-size:29px;color:#d9cce9;background:transparent;border:0;padding:0 3px;line-height:1.2}.stars button.selected{color:#8c64da}.premium{background:radial-gradient(circle at 100% 0,#8261d9,transparent 45%),linear-gradient(155deg,#513091,#271365)!important;color:#fff}.premium p{color:#e0d5f6}.premium .tile-icon{color:#f1e8ff;background:#ffffff16}.premium .btn{background:#eadfff;color:#4b278e}.premium header .icon-button{color:#fff}.premium h1{font-size:31px}.premium .symbol-hero{background:radial-gradient(circle,#ffffff12 0 58%,transparent 59%);height:145px}.premium .symbol-hero>.icon{color:#d7bbff;width:88px;height:88px}.price{font-size:25px;font-weight:750;margin:10px 0;color:#513196}.price small{font-size:14px;font-weight:400}.notification{position:relative;padding:20px;background:#f3edff;border:1px solid #daccf4;border-radius:16px;box-shadow:0 10px 25px #5832940a}.chart{display:flex;align-items:flex-end;gap:13px;height:150px;padding:20px 8px 0;border-bottom:1px solid #ddcfee}.chart span{flex:1;border-radius:5px 5px 0 0;background:linear-gradient(#9c78e2,#dcccf6);height:var(--h)}.subscription .row{padding:13px 3px;border-bottom:1px solid #eee5f7}.notice{border-left:3px solid #b29ada;padding:11px 13px;background:#f2ecfb;border-radius:0 10px 10px 0;font-size:13px;color:#736087}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#392064;color:#fff;border-radius:12px;max-width:90vw;z-index:9;font-size:14px;box-shadow:0 5px 20px #28134533}.hidden{display:none!important}@media(max-width:360px){.screen{padding:24px 20px}h1{font-size:25px}.otp{gap:4px}.nav{margin-left:-12px;margin-right:-12px}.stars button{font-size:26px}}@media(prefers-reduced-motion:no-preference){.screen:not(.splash){animation:appear .22s ease-out}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}}

/* Keep each icon in its own layout column, including at browser zoom. */
.input-wrap:has(> .icon){display:grid;grid-template-columns:42px minmax(0,1fr);border:1px solid #e1d9ef;border-radius:11px;background:#ffffffa8;align-items:center;}
.input-wrap:has(> .icon)>.icon{position:static;grid-column:1;justify-self:center;pointer-events:none;width:18px;height:18px;}
.input-wrap:has(> .icon)>input:not([type=checkbox]):not([type=range]):not([type=radio]){grid-column:2;min-width:0;border:0;background:transparent;padding:13px 14px 13px 0;border-radius:0 11px 11px 0;}
.input-wrap:has(> .icon):focus-within{outline:3px solid #9178e7;outline-offset:2px;}
.input-wrap:has(> .icon)>input:focus-visible{outline:none;}
.phone-hint{margin:-5px 0 15px;font-weight:400;}
.btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;}
.otp input:disabled{background:#f0eaf7;cursor:not-allowed;}
