:root{--bg:#070b17;--panel:#111a2c;--panel2:#172139;--stroke:#293550;--text:#f6f8ff;--muted:#9caec9;--cyan:#36e6dc;--purple:#8976ff;--pink:#e178ee}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Cairo,system-ui,sans-serif;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#87b4ff22 .7px,transparent .7px);background-size:26px 26px;mask-image:linear-gradient(to bottom,#0007,transparent 85%)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.app{min-height:100vh;position:relative}.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px max(20px,calc((100vw - 1230px)/2));background:#080e1de8;border-bottom:1px solid #26334b;backdrop-filter:blur(24px)}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:20px;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:linear-gradient(135deg,#172b45,#273064);border:1px solid #4d6583;color:var(--cyan);font:900 30px 'Space Grotesk',sans-serif;box-shadow:0 0 30px #36e6dc20}.brand small{display:block;font:700 11px 'Space Grotesk';letter-spacing:3px;color:var(--cyan);direction:ltr}.top nav{display:flex;align-items:center;gap:5px}.top nav .pill{border:0;background:transparent;color:#b7c6de;font-size:12px}.top nav .pill:hover{color:white;background:#1a2842}.pill{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#17233a;color:#eef7ff;border:1px solid #35435c;padding:10px 16px;border-radius:12px;font-weight:800;transition:transform .25s,border-color .25s,box-shadow .25s}.pill:hover{transform:translateY(-2px);border-color:var(--cyan);box-shadow:0 8px 25px #0adbd120}.btn{background:linear-gradient(115deg,#2ce3d7,#6d90ff 55%,#9974f9)!important;border:0!important;color:#07101e!important;box-shadow:0 10px 35px #25c9d42c}.row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.user-mini{font-size:11px;color:var(--muted);max-width:110px;overflow:hidden;text-overflow:ellipsis}.hero{min-height:560px;position:relative;display:grid;place-items:center;overflow:hidden;padding:95px 22px 85px;text-align:center;background:radial-gradient(ellipse at 50% 35%,#142958 0%,#0b1530 35%,transparent 73%)}.hero:before,.hero:after{content:"";position:absolute;border:1px solid #62a6fa26;border-radius:50%;width:600px;height:600px;transform:rotate(-18deg);pointer-events:none}.hero:after{width:850px;height:850px;border-color:#6a5bff18;transform:rotate(24deg)}.hero-inner{position:relative;z-index:2;max-width:960px}.eyebrow,.tag{display:inline-flex;align-items:center;gap:8px;color:#78f6ed;border:1px solid #36e6dc4d;background:#36e6dc12;padding:7px 15px;border-radius:50px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(37px,6.4vw,76px);line-height:1.36;letter-spacing:-1.5px;margin:20px auto 16px;font-weight:900}.hero h1 em{font-style:normal;background:linear-gradient(90deg,#4bf1e3,#84a5ff,#bb7fff);background-clip:text;-webkit-text-fill-color:transparent}.hero p{color:#b6c6df;line-height:2.15;max-width:660px;margin:0 auto 25px;font-size:clamp(13px,1.6vw,17px)}.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.hero-actions .pill{padding:14px 24px}.hero-stats{display:flex;justify-content:center;gap:35px;margin-top:43px;flex-wrap:wrap}.hero-stats strong{display:block;font:700 22px 'Space Grotesk';color:#fff}.hero-stats span{font-size:11px;color:var(--muted)}.orb{position:absolute;border-radius:50%;filter:blur(4px);animation:float 7s ease-in-out infinite}.orb.one{height:155px;width:155px;right:6%;top:17%;background:radial-gradient(circle at 30% 30%,#3de5e25a,#354eab17 70%);box-shadow:0 0 95px #22dddb35}.orb.two{height:100px;width:100px;left:11%;bottom:12%;background:radial-gradient(circle,#b674ff65,#7847f500);animation-delay:-3s}@keyframes float{50%{transform:translateY(-26px)}}.section{max-width:1240px;margin:auto;padding:70px 22px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:27px}.section h2{font-size:clamp(25px,3.5vw,39px);margin:8px 0 15px;line-height:1.5}.section-sub{color:var(--muted);font-size:13px;max-width:680px;line-height:2}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.glass{position:relative;background:linear-gradient(145deg,#17243bdf,#0e172adf);border:1px solid #34415c;border-radius:23px;padding:24px;box-shadow:0 20px 55px #0003;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}.glass:hover{transform:translateY(-5px);border-color:#55e8df70;box-shadow:0 24px 55px #0005,0 0 35px #4ce4e312}.glass:before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#80a8ff5c,transparent)}.glass h3{margin:12px 0;font-size:17px}.glass p{color:#aebfd8;line-height:1.95;font-size:12px}.glass .pill{font-size:12px}.category-card{min-height:210px;display:flex;flex-direction:column;align-items:flex-start}.category-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:16px;background:linear-gradient(135deg,#36e6dc24,#9074ff26);border:1px solid #8bd9f346;color:#61f5e8}.category-icon svg{width:27px;height:27px}.category-card p{margin:0 0 14px}.category-card .card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;width:100%;color:#5ce7e1;font-size:12px}.service-card{padding:0}.service-visual{height:180px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 35% 30%,#2a559b,#111a34 75%)}.service-visual img{width:100%;height:100%;object-fit:cover}.service-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 65%,#0e172b88)}.service-art{font:900 58px 'Space Grotesk';color:#7ceee8;opacity:.9;text-shadow:0 0 35px #30ded4aa}.service-body{padding:23px}.service-body h3{font-size:17px}.service-body p{min-height:45px}.service-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:16px}.price{color:#50e9df;font-size:20px;font-weight:900}.muted{color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.detail{max-width:850px;margin:auto}.detail .service-visual{height:310px;border-radius:16px}.detail h1{font-size:clamp(28px,4vw,45px)}.feature-band{background:linear-gradient(90deg,#0f1c35,#162044,#0e1b31);border-top:1px solid #31415b;border-bottom:1px solid #31415b}.feature-grid{max-width:1220px;margin:auto;padding:30px 22px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-grid div{display:flex;gap:12px;align-items:center}.feature-grid b{font-size:13px}.feature-grid p{font-size:11px;color:var(--muted);margin:3px 0}.feature-grid svg{color:var(--cyan);width:27px;flex-shrink:0}.form{display:grid;gap:14px;max-width:740px}.form label{display:grid;gap:6px;color:#d4e3fa;font-size:12px}.form input,.form textarea,.form select,.compose input,#search{width:100%;background:#0b1324;border:1px solid #344460;color:white;padding:12px 14px;border-radius:12px;outline:none}.form input:focus,.form textarea:focus,.compose input:focus,#search:focus{border-color:var(--cyan)}.form textarea{min-height:105px;resize:vertical}.form select{color-scheme:dark}.form .btn{justify-self:start}.item{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0}.item select{background:#0e1c31;color:white;padding:8px;border:1px solid #40516b;border-radius:10px}.messages{height:390px;overflow:auto;display:flex;flex-direction:column;gap:13px}.bubble{align-self:flex-start;max-width:85%;background:#263651;border:1px solid #354c6a;border-radius:17px;padding:12px 16px;white-space:pre-wrap}.bubble.mine{align-self:flex-end;background:#14515a;border-color:#277981}.bubble small{color:#7ee7e2;font-size:10px}.bubble p{color:#fff;font-size:13px;margin:5px 0}.compose{display:flex;gap:8px;margin-top:14px}.compose input{flex:1}.error{background:#502934;border-bottom:1px solid #f78b9a;padding:14px;text-align:center}.hide{display:none!important}footer{text-align:center;border-top:1px solid #26334b;padding:45px 20px;color:#90a4bf;font-size:12px}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.loader-mark{font:900 64px 'Space Grotesk';color:var(--cyan)}.loader-mark span{font-size:22px;color:var(--purple)}.notice{border:1px solid #40526d;border-radius:14px;background:#17233b;padding:14px;color:#a9bdd6}.admin-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:25px 0}.stat-num{font:700 32px 'Space Grotesk';color:var(--cyan)}.admin-block{margin:35px 0}.admin-block>h2{font-size:23px}.menu-toggle{display:none}.avatar{width:34px;height:34px;border-radius:50%;object-fit:cover}.section-label{font-size:11px;letter-spacing:1px;color:var(--cyan);font-weight:800}.search-wrap{max-width:440px;margin:20px 0}.icon-inline{width:17px;height:17px;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.empty-state{text-align:center;padding:36px}.empty-state h3{margin:10px}.empty-state p{color:var(--muted)}@media(max-width:960px){.top{flex-wrap:wrap}.top nav{order:3;width:100%;overflow:auto;justify-content:flex-start}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:610px){.top{padding:12px 15px;gap:8px}.brand{font-size:15px}.brand-icon{width:36px;height:36px;font-size:24px}.top nav{gap:2px}.top nav .pill{font-size:11px;padding:8px}.top .row .pill{font-size:11px;padding:8px 11px}.user-mini{display:none}.hero{padding:66px 18px;min-height:530px}.hero h1{letter-spacing:-.5px}.hero-stats{gap:24px}.section{padding:45px 16px}.cards{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr}.glass{padding:20px}.service-card{padding:0}.service-visual{height:190px}.section-heading{display:block}.compose{flex-wrap:wrap}.compose button{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* KAIVO V5 — Alexandria light design inspired by supplied reference */
:root{--bg:#f5f8ff;--panel:#fff;--panel2:#eef4ff;--stroke:#e0e9fa;--text:#14254c;--muted:#647795;--cyan:#0879e9;--purple:#4c67e7;--pink:#a4d9ff}
body{background:#f5f8ff;color:#14254c;font-family:Alexandria,system-ui,sans-serif}body:before{background-image:radial-gradient(#0969e911 .7px,transparent .7px)}
.top{background:#fffffff2;border-bottom:1px solid #e2eafa;box-shadow:0 5px 28px #1845a20b}.brand{color:#18316b}.brand small{color:#0879e9}.brand-icon{background:linear-gradient(135deg,#e1f3ff,#e5e7ff);border:1px solid #c2dbff;color:#1477dc}.top nav .pill{color:#526788}.top nav .pill:hover{background:#eef5ff;color:#0866d6}.pill{background:white;border:1px solid #dbe5f7;color:#284576;border-radius:15px}.btn{background:linear-gradient(115deg,#086bdf,#4e87f7 65%,#6e70ed)!important;color:white!important;box-shadow:0 10px 28px #126bdc24}.glass{background:white;border:1px solid #e1e9f7;box-shadow:0 16px 35px #1648870b}.glass:hover{box-shadow:0 20px 45px #1654ae20;border-color:#9dc6ff}.glass h3,.glass h2{color:#193567}.glass p,.section-sub{color:#647795}.category-icon{background:#eaf3ff;color:#126ad2;border-color:#d0e4ff}.category-card .card-bottom,.price,.section-label{color:#086ddc}.service-visual{background:linear-gradient(135deg,#dcecff,#c5e4ff)}.service-art{color:#1477e7;text-shadow:none}.service-visual:after{background:none}.service-body h3{color:#193567}.form label{color:#314b78}.form input,.form textarea,.form select,.compose input,#search{background:#f7faff;border-color:#dce5f5;color:#18305c}.form select,.item select{color-scheme:light}.item select{background:white;color:#18305c;border-color:#dbe5f7}.bubble{background:#eff5ff;border-color:#d9e7fc;color:#18305c}.bubble.mine{background:#d9eaff;border-color:#afd2ff}.bubble p{color:#1b3562}.bubble small{color:#166bd4}.feature-band{background:#e9f2ff;border-color:#dbe8fc}.feature-grid p,.muted{color:#647795}.feature-grid svg{color:#1774e7}footer{border-color:#dbe7f8;color:#6e809c}.notice{background:#edf5ff;color:#526c94;border-color:#d9e6fa}.error{background:#fff0f0;color:#a41d35}.section h1,.section h2{color:#162e5d}.bell-dot{color:#ef475d;font-size:10px}.system-welcome{background:#e8f3ff;border-color:#bddcff;align-self:flex-start}.top .user-mini{color:#617b9b}
.welcome{max-width:1240px;margin:0 auto;min-height:620px;padding:75px 30px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;position:relative}.welcome-blob{position:absolute;width:450px;height:450px;right:5%;top:10%;border-radius:50%;background:#b3d8ff70;filter:blur(90px);pointer-events:none}.welcome-inner,.welcome-graphic{position:relative;z-index:1}.welcome-pill{display:inline-flex;padding:12px 19px;border:1px solid #c5dcff;background:#ecf5ff;border-radius:40px;color:#166cda;font-weight:700;font-size:12px}.welcome h1{font-size:clamp(36px,5vw,64px);line-height:1.55;margin:22px 0 15px;letter-spacing:-1px;color:#152d5c}.welcome h1 span{display:block;background:linear-gradient(100deg,#0871df,#5486ed,#7565d6);background-clip:text;-webkit-text-fill-color:transparent}.welcome p{color:#607694;line-height:2.3;font-size:14px;max-width:580px}.welcome-actions,.welcome-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.welcome-actions .pill{padding:15px 22px}.welcome-points{margin-top:35px;gap:20px;color:#426087;font-size:11px}.welcome-points svg{color:#1b7fe8}.welcome-graphic{min-height:440px;display:grid;place-items:center}.floating-panel{width:min(100%,410px);height:345px;background:linear-gradient(145deg,#fff,#eef5ff);border:1px solid #d9e8ff;border-radius:29px;box-shadow:0 32px 75px #1451a62b;transform:rotate(-3deg);display:flex;flex-direction:column;justify-content:space-between;padding:25px;animation:panel-float 7s ease-in-out infinite}.panel-top,.panel-bottom{display:flex;justify-content:space-between;gap:8px;color:#7390b4;font-size:10px;direction:ltr}.panel-dots{color:#79a8e8;letter-spacing:5px}.panel-center{display:grid;justify-items:center;gap:12px;color:#21417c;text-align:center}.panel-center strong{font-size:22px}.panel-center small{color:#8094b5}.panel-symbol{display:grid;place-items:center;width:95px;height:95px;border-radius:28px;background:linear-gradient(135deg,#0872dc,#86baff);color:white;font-size:55px;box-shadow:0 16px 30px #176fe64d}.float-chip{position:absolute;padding:15px 18px;background:white;border:1px solid #d9e8ff;box-shadow:0 12px 30px #164a9b22;border-radius:17px;color:#2461ac;font-size:12px;font-weight:700;animation:panel-float 5s ease-in-out infinite}.chip-one{right:0;top:55px}.chip-two{left:0;bottom:45px;animation-delay:-2s}@keyframes panel-float{50%{transform:translateY(-15px) rotate(-1deg)}}.home-bottom{background:#eaf3ff;border-top:1px solid #dceafd;text-align:center;padding:65px 20px}.home-bottom-inner{max-width:700px;margin:auto}.home-bottom h2{font-size:clamp(23px,4vw,35px);color:#19386d}.home-bottom p{color:#607694;line-height:2.2}.home-bottom .pill{margin-top:18px}
.auth-gate{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 15%,#d4e9ff,transparent 45%),radial-gradient(circle at 90% 90%,#e6e4ff,transparent 50%),#f5f8ff}.auth-card{width:min(100%,490px);background:#fff;border:1px solid #e1eaf8;border-radius:30px;box-shadow:0 30px 90px #16498e22;padding:40px 32px;text-align:center}.auth-logo{width:76px;height:76px;margin:0 auto 24px;display:grid;place-items:center;background:linear-gradient(135deg,#086ddd,#7196ff);border-radius:24px;color:#fff;font-size:48px;font-weight:800;box-shadow:0 15px 30px #126ddd3d}.auth-logo span{font-size:15px;align-self:start}.auth-label{font-size:11px;color:#2b79d8;letter-spacing:1px}.auth-card h1{font-size:clamp(23px,4vw,30px);margin:17px 0;color:#183468}.auth-card p{color:#637b9c;font-size:12px;line-height:2.2}.auth-features{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:25px 0}.auth-features span{display:flex;align-items:center;gap:5px;font-size:10px;color:#51749d}.auth-features svg{color:#0878e6}.google-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border:1px solid #c8d9f2;background:#fff;border-radius:16px;padding:17px;color:#1b396b;font-weight:700;box-shadow:0 8px 20px #2054a514}.google-button:hover{border-color:#2a7deb;background:#f3f8ff}.auth-card small{display:block;color:#8ca0b9;font-size:10px;margin-top:20px}.auth-error{padding:12px;margin-top:15px;border-radius:12px;background:#fff1f1;color:#ac2736;font-size:12px}
@media(max-width:780px){.welcome{grid-template-columns:1fr;text-align:center;padding:50px 20px 25px;gap:10px}.welcome p{margin-inline:auto}.welcome-actions,.welcome-points{justify-content:center}.welcome-graphic{min-height:350px}.floating-panel{height:275px;max-width:310px}.panel-center strong{font-size:17px}.float-chip{font-size:10px}.chip-one{right:0}.chip-two{left:0}}@media(max-width:610px){.top{gap:10px}.top nav{scrollbar-width:none}.welcome h1{font-size:34px}.welcome-graphic{min-height:330px}.auth-card{padding:35px 23px}}

/* V6 mobile-first navigation and toast */
.kaivo-toast{position:fixed;z-index:9999;left:50%;bottom:105px;transform:translate(-50%,30px);opacity:0;pointer-events:none;max-width:min(92vw,460px);width:max-content;text-align:center;background:#e6fff3;color:#08673d;border:1px solid #8bdfb7;border-radius:18px;padding:16px 22px;box-shadow:0 20px 60px #17496a30;font-size:13px;font-weight:700;transition:opacity .25s,transform .25s}.kaivo-toast.visible{opacity:1;transform:translate(-50%,0)}.kaivo-toast.error{background:#fff0f1;color:#a01d35;border-color:#ffc2c8}.bottom-nav{display:none}.bottom-link{position:relative;border:0;background:transparent;color:#899bb5;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;font-size:10px;font-weight:800;padding:9px 4px;min-width:0}.bottom-link .icon-inline{width:23px;height:23px}.bottom-link.active{color:#076fe4}.bottom-link.active:before{content:'';position:absolute;top:0;width:35px;height:4px;background:#0879ef;border-radius:0 0 6px 6px}.bottom-link i{position:absolute;top:7px;right:22%;width:7px;height:7px;background:#ef4762;border-radius:50%}@media(max-width:780px){.top{flex-wrap:nowrap;padding:12px 17px}.top nav{display:none}.top .row{margin-inline-start:auto}.top .row .pill{font-size:10px}.brand{font-size:15px}.brand small{letter-spacing:2px}.app main{padding-bottom:100px}.bottom-nav{position:fixed;bottom:12px;left:12px;right:12px;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fffffff5;border:1px solid #e1eafa;border-radius:24px;box-shadow:0 16px 50px #1d4a9530;backdrop-filter:blur(16px);padding:5px}.chatbox .messages{height:48dvh}.compose{display:flex;flex-wrap:nowrap}.compose button{width:auto;min-width:80px}.compose input{min-width:0}.section{padding:34px 16px}.item{align-items:flex-start}}

/* V7 — coherent mobile-first design inspired by the supplied Cyber Alqmishi references */
:root{--bg:#f4f7ff;--panel:#fff;--text:#14264c;--muted:#72829c;--cyan:#0c83ef;--purple:#6852e7}
body{background:linear-gradient(145deg,#f3f7ff,#eaf2ff 52%,#f8faff);font-family:Alexandria,system-ui,sans-serif}
.app{min-height:100dvh}.top{max-width:1280px;margin:auto;position:relative;z-index:10;padding:18px 24px;border-radius:0 0 26px 26px;box-shadow:0 10px 35px #2454a50c}.brand{font-weight:800;letter-spacing:-.5px}.brand-icon{width:52px;height:52px;border-radius:17px;box-shadow:0 9px 24px #187be51b}.top nav{gap:4px}.top nav .pill{font-size:12px;padding:10px}.top .row{gap:7px}
.section{max-width:1190px;margin:0 auto;padding:48px 24px}.section-head{margin-bottom:26px}.section-head h1,.section-head h2{font-size:clamp(24px,4vw,35px);margin:8px 0}.section-head p{color:#70829e;font-size:13px}.section-kicker{color:#1279e7;font-size:10px;font-weight:800;letter-spacing:2px}.glass{border-radius:25px;box-shadow:0 16px 40px #1b56a40e}.cards{gap:18px}.service-card{overflow:hidden;transition:transform .25s,box-shadow .25s}.service-card:hover{transform:translateY(-5px)}.service-visual{height:165px}.service-body{padding:22px}.service-body h3{font-size:18px}.service-body p{line-height:1.9}.pill,.btn{transition:transform .2s,box-shadow .2s}.pill:active,.btn:active{transform:scale(.97)}
.category-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 32px}.showcase-tile{border:0;min-height:185px;padding:22px;border-radius:30px;text-align:right;position:relative;overflow:hidden;display:flex;align-items:flex-start;flex-direction:column;justify-content:flex-end;gap:9px;color:white;box-shadow:0 16px 32px #1356b124;cursor:pointer;transition:transform .22s,box-shadow .22s}.showcase-tile:hover{transform:translateY(-5px);box-shadow:0 20px 36px #1356b133}.showcase-tile:before{content:'';position:absolute;top:-65px;left:-65px;width:170px;height:170px;border-radius:50%;background:#ffffff18}.tile-0{background:linear-gradient(140deg,#138bff,#0760d4)}.tile-1{background:linear-gradient(140deg,#9361f7,#5835c8)}.tile-2{background:linear-gradient(140deg,#21c99d,#069a7b)}.tile-3{background:linear-gradient(140deg,#ff9744,#f36c36)}.tile-icon{width:55px;height:55px;display:grid;place-items:center;border-radius:17px;background:#ffffff27;margin-bottom:auto}.tile-icon svg{width:27px;height:27px}.showcase-tile strong{font-size:17px}.showcase-tile small{font-size:11px;line-height:1.8;color:#ffffffd9}.tile-arrow{position:absolute;left:19px;bottom:18px;font-size:21px;color:#fff9}
.activity-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border-radius:20px;background:#e7effe;margin:0 0 23px}.activity-tabs button{padding:15px 10px;border:0;border-radius:15px;background:transparent;color:#5b7195;font-family:inherit;font-weight:800;cursor:pointer}.activity-tabs button.selected{background:white;color:#086ce0;box-shadow:0 6px 20px #124ea719}.activity-tabs span{margin-inline-start:5px;font-size:10px;background:#dcecff;border-radius:20px;padding:3px 8px}.activity-section>.section{padding:0}.activity-section .item{margin-bottom:12px}.bottom-nav{direction:rtl}
@media(max-width:780px){.top{padding:12px 16px;border-radius:0 0 20px 20px}.brand{font-size:16px}.brand-icon{width:46px;height:46px}.top .user-mini{display:none}.top .row .pill{padding:9px}.welcome{padding-top:44px}.welcome h1{font-size:clamp(30px,8vw,42px)}.welcome-graphic{margin:5px auto}.category-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.showcase-tile{min-height:170px;border-radius:26px;padding:18px}.showcase-tile strong{font-size:14px}.showcase-tile small{font-size:10px}.tile-icon{width:48px;height:48px;border-radius:15px}.bottom-nav{left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));border-radius:28px;padding:7px 3px;box-shadow:0 15px 45px #2a51932a}.bottom-link{font-size:9px;min-height:56px;gap:5px}.bottom-link .icon-inline{width:23px;height:23px}.app main{padding-bottom:112px}.section{padding:27px 16px}.service-body{padding:17px}.kaivo-toast{bottom:112px}}
@media(max-width:370px){.bottom-link{font-size:8px}.showcase-tile{padding:13px;min-height:160px}.showcase-tile strong{font-size:12px}.top .row .pill{font-size:9px}}
@media(prefers-reduced-motion:reduce){.showcase-tile,.service-card,.pill,.btn{transition:none!important}}

/* V8: robust RTL mobile layout and reference-inspired visual system */
*,*::before,*::after{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;overflow-x:clip}body{margin:0;background:#f3f7ff;color:#152b53}img,svg{max-width:100%}.app,.app main,.section,.welcome,.welcome-inner,.welcome-graphic,.glass{min-width:0;max-width:100%}h1,h2,h3,p{overflow-wrap:anywhere}.top{width:100%;max-width:none;background:#ffffffed;border-bottom:1px solid #e5edfa;box-shadow:0 8px 35px #2660a012}.welcome{width:min(1200px,100%);margin:auto;overflow:hidden;isolation:isolate}.welcome-inner,.welcome-graphic{width:100%}.welcome h1{line-height:1.5;overflow-wrap:normal}.welcome-graphic{position:relative;overflow:hidden}.floating-panel{max-width:calc(100% - 32px)}.float-chip{max-width:48%;white-space:normal}.section,.glass,.form{overflow-wrap:anywhere}.glass{background:#fff;border:1px solid #e3eaf5}.bottom-nav{background:#fff}.bottom-link{white-space:normal;text-align:center;line-height:1.3}.category-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-tile{min-width:0}.compose input{width:100%;min-width:0;direction:rtl}.messages .bubble p{white-space:pre-wrap;overflow-wrap:anywhere}.auth-card{max-width:100%}
@media(max-width:780px){.top{max-width:100%;border-radius:0;padding:12px 14px}.top .row{flex-shrink:0}.top .row .avatar{width:30px;height:30px}.brand{min-width:0}.brand span{min-width:0}.welcome{display:flex!important;flex-direction:column;align-items:center;gap:20px;padding:38px 18px 34px!important;text-align:center;min-width:0}.welcome-inner{padding:0!important;margin:0!important;max-width:100%!important;transform:none!important}.welcome h1{font-size:clamp(26px,7.4vw,42px)!important;line-height:1.55;letter-spacing:-.7px}.welcome p{font-size:13px!important;line-height:2.15;max-width:100%}.welcome-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.welcome-actions .pill{max-width:100%;font-size:12px;padding:13px 17px}.welcome-points{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px 0 0}.welcome-graphic{min-height:315px;max-width:100%;margin:0 auto!important}.floating-panel{transform:none;animation:none;width:min(100% - 30px,360px);height:280px}.chip-one{right:0;top:24px}.chip-two{left:0;bottom:20px}.section{padding:25px 14px}.section-head h1,.section-head h2{font-size:24px}.cards{grid-template-columns:1fr!important}.category-showcase{gap:11px}.showcase-tile{min-height:165px;padding:16px;border-radius:25px}.showcase-tile strong{font-size:13px}.bottom-nav{width:auto;max-width:calc(100vw - 20px);left:10px;right:10px;grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-link{font-size:9px;padding:7px 1px}.bottom-link span{max-width:100%;overflow-wrap:anywhere}.chatbox .glass{padding:14px}.compose{gap:7px}.compose .pill{min-width:75px;padding:10px}.form input,.form textarea,.form select{max-width:100%}}
@media(max-width:390px){.top .row .pill{font-size:9px;padding:8px}.brand{font-size:13px}.brand-icon{width:40px;height:40px}.welcome h1{font-size:27px!important}.showcase-tile strong{font-size:12px}}

/* V11: Mobile overflow protection and accessible form sizing */
html,body,#root,.app{max-width:100%;overflow-x:clip}*{box-sizing:border-box}img,svg{max-width:100%}input,textarea,select{max-width:100%;min-width:0}.chatbox,.messages,.glass,.section{min-width:0;overflow-wrap:anywhere}@media(max-width:700px){.top{max-width:100%;min-width:0}.section{padding-inline:16px}.chatbox .glass{max-width:100%}.compose{display:flex;gap:8px}.compose input{flex:1;min-width:0}.compose button{flex:none}}

.showcase-tile .tile-icon{align-self:center;margin:auto auto 14px;width:64px;height:64px;border-radius:22px}
.showcase-tile .tile-icon svg{width:32px;height:32px}
.category-detail-hero{background:var(--category-color);border-radius:30px;color:white;padding:30px;margin-bottom:22px;min-height:190px}
.category-detail-hero h1,.category-detail-hero p{color:white}
.category-detail-icon{display:grid;place-items:center;background:#ffffff30;border-radius:20px;width:66px;height:66px;margin-inline-start:auto}
.category-detail-icon svg{width:34px;height:34px}

.customer-details{display:flex;align-items:center;gap:14px;margin:14px 0;padding:14px;border-radius:20px;overflow-wrap:anywhere}
.customer-details p{margin:5px 0 0;color:#63758f;direction:ltr;text-align:right}
.customer-avatar{width:54px;height:54px;flex:0 0 54px;object-fit:cover;border-radius:50%;background:#eaf2ff;display:grid;place-items:center}
.emoji-icon{display:inline-flex;align-items:center;justify-content:center;font-size:1.5em;line-height:1.2}
.category-icon .emoji-icon,.category-detail-icon .emoji-icon{font-size:34px}

/* V16: unified brand identity across login, header, landing card and loading */
.kaivo-brand-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.auth-logo{overflow:hidden;padding:0;background:#071a39}.auth-logo .kaivo-brand-image{border-radius:24px}
.brand-icon{overflow:hidden;background:#071a39}.brand-icon .kaivo-brand-image{border-radius:inherit}
.panel-symbol{display:block!important;width:116px;height:116px;margin:0 auto 15px;border-radius:26px;overflow:hidden;font-size:0!important;line-height:normal!important;background:#071a39;box-shadow:0 14px 35px #186bd93b}
.panel-symbol .kaivo-brand-image{border-radius:26px}
.loader-mark{overflow:hidden;padding:0!important;background:#071a39!important}.loader-mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:610px){.panel-symbol{width:104px;height:104px}.auth-logo{width:86px;height:86px}}
