:root{--green:#08a67f;--green-dark:#058c6b;--navy:#071a3c;--muted:#60748e;--line:#dce7ec;--blue:#146ef2;--surface:#fff;--bg:#f6f9fa;--shadow:0 8px 24px rgba(15,41,56,.08)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#eaf0f2;color:var(--navy);font-family:"Noto Sans SC","Microsoft YaHei",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{tap-highlight-color:transparent}.mobile-app{position:relative;width:min(100%,430px);min-height:100dvh;margin:auto;background:var(--bg);box-shadow:0 0 38px rgba(18,42,54,.13)}#screen{min-height:100dvh;padding-bottom:92px}.view{min-height:calc(100dvh - 92px)}
html,body,.mobile-app,#screen{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,.mobile-app::-webkit-scrollbar,#screen::-webkit-scrollbar{display:none;width:0;height:0}
.primary-header{height:90px;padding:12px 22px 10px 40px;background:#fcfeff;position:relative}.primary-header:before{content:"";position:absolute;left:24px;top:20px;width:5px;height:50px;border-radius:3px;background:var(--green)}.primary-header small{display:block;color:var(--green-dark);font:500 8px/12px Arial;letter-spacing:.08em}.primary-header h1{margin:3px 0 0;font-size:26px;line-height:30px}.primary-header p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:18px}.page-content{padding:12px 16px 22px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.loading,.empty{padding:28px;text-align:center;color:var(--muted)}
.report-card{height:228px;margin-bottom:12px;padding:26px 22px;position:relative;overflow:hidden;border-radius:24px;background-size:cover;background-position:center;box-shadow:0 12px 28px rgba(20,41,56,.09)}.report-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.58) 54%,transparent 82%)}.report-card>*{position:relative;z-index:1}.report-card h2{margin:0;font-size:26px}.report-card p{margin:7px 0 10px;color:#5f7183;font-size:13px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips span,.tag{padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.84);color:var(--green-dark);font-size:11px;box-shadow:0 4px 12px rgba(20,41,56,.05)}.pill-action{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:44px;margin-top:22px;border:0;border-radius:22px;background:var(--green);color:#fff;font-weight:700;text-decoration:none}.news-card .pill-action{background:#398ed4}.archive-card{height:136px;padding:18px 34px;margin-top:4px;position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,#eafbf7)}.archive-card h2{margin:0 0 5px;font-size:20px}.archive-card p{margin:0;color:var(--muted);font-size:12px}.archive-card small{position:absolute;left:34px;bottom:28px;color:var(--green-dark);font-size:9px}.archive-card a{position:absolute;right:20px;bottom:22px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;text-decoration:none;font-size:20px;box-shadow:0 8px 16px rgba(4,143,111,.2)}
.product-content{padding:0 24px 24px}.health-hero{height:184px;padding:18px;position:relative;overflow:hidden;border-radius:20px;background:#eaf8ff url('/mobile-v2/assets/ai-health-hero.png') center/cover no-repeat;box-shadow:var(--shadow)}.health-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(242,252,255,.99),rgba(242,252,255,.74) 55%,transparent 82%)}.health-hero>*{position:relative}.health-hero small{color:var(--green-dark);font-size:9px}.health-hero h2{margin:12px 0 6px;font-size:24px}.health-hero p{width:235px;margin:0;color:#324a66;font-size:10px}.hero-actions{display:flex;gap:8px;margin-top:22px}.hero-actions button{height:34px;padding:0 14px;border-radius:17px;border:1px solid var(--blue);background:rgba(255,255,255,.92);color:var(--blue);font-size:10px;font-weight:700}.hero-actions button:first-child{background:var(--green);border-color:var(--green);color:#fff}.family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.family-card{height:166px;overflow:hidden;text-align:center;text-decoration:none;color:var(--navy)}.family-card h3{margin:10px 0 4px;font-size:13px}.family-card p{height:28px;margin:0 5px;color:var(--muted);font-size:8px}.family-card img{display:block;width:100%;height:78px;object-fit:cover}.family-card b{display:block;padding-top:7px;color:var(--green-dark);font-size:10px}.materials-card{height:100px;margin-top:12px;padding:18px;background:#fff url('/mobile-v2/assets/materials-center.png') right center/62% 100% no-repeat}.materials-card h2{margin:0;font-size:18px}.materials-card p{margin:5px 0;color:var(--muted);font-size:10px}.solutions-title{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}.solutions-title h2{font-size:16px}.solutions-title small{color:var(--muted)}.solution-card{padding:16px;margin-bottom:8px}.solution-card h3{margin:0 0 6px;font-size:14px}.solution-card p{margin:0;color:var(--muted);font-size:10px}
.literature-hero{height:158px;padding:20px 24px;background:#eafbff url('/mobile-v2/assets/literature-hero.png') center/cover}.literature-hero small{color:var(--green-dark);font-size:9px;letter-spacing:.08em}.literature-hero h2{margin:12px 0 9px;font-size:24px}.literature-hero p{width:245px;margin:0;color:#526e9e;font-size:11px;line-height:19px}.search-panel{margin:12px 8px;padding:14px 12px 12px}.search-row{display:flex;gap:8px}.search-row input{min-width:0;flex:1;height:42px;padding:0 14px;border:1px solid #dce7ee;border-radius:10px}.search-row button{width:60px;border:0;border-radius:12px;background:var(--green);color:#fff;font-weight:700}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.filter-row select{height:36px;padding:0 10px;border:1px solid #dce7ee;border-radius:9px;background:#fff;color:var(--navy);font-size:11px}.results-head{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 8px}.results-head h2{font-size:15px}.results-head select{border:0;background:transparent;color:var(--muted);font-size:11px}.lit-card{margin:0 8px 12px;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.lit-card h3{margin:11px 0 8px;font-size:16px}.lit-card .authors,.lit-card .journal,.lit-card .doi{color:#5d77a4;font-size:10px;line-height:17px}.lit-card .ai-summary{margin:10px 0 0;padding:9px;border:1px solid #ccebe4;border-radius:9px;background:#effaf7;font-size:10px;line-height:19px}.lit-card .ai-summary b{color:var(--green-dark)}
.selected-filter-summary{margin-top:9px;color:#7385a2;font-size:10px;line-height:16px}.selected-filter-summary span{margin-left:6px;color:#536b92}
.sub-header{height:60px;padding:8px 16px 8px 60px;position:relative;background:#fff;border-bottom:1px solid #e8eff3}.back{position:absolute;left:16px;top:14px;width:32px;height:32px;border:1px solid #dce7ee;border-radius:50%;background:#fff;color:var(--navy);font-size:22px}.sub-header small{display:block;color:var(--green-dark);font:500 8px/12px Arial;letter-spacing:.07em}.sub-header h1{margin:2px 0;font-size:17px}.sub-header em{position:absolute;right:16px;top:21px;color:var(--green-dark);font-size:9px;font-style:normal;font-weight:700}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;margin:4px 16px 6px;padding:2px;border-radius:11px;background:#f2f6f8}.mode-tabs button{height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:700}.mode-tabs button.active{background:#fff;color:var(--green-dark);box-shadow:0 4px 12px rgba(13,36,61,.06)}.manager{padding:0 16px 22px}.manager-intro{display:flex;gap:14px;padding:12px;margin-bottom:6px;background:#effbfe}.spark{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#05b28c,#1461f2);color:#fff;font-size:22px}.manager-intro h2{margin:0;font-size:15px}.manager-intro p{margin:5px 0 0;color:var(--muted);font-size:10px}.notice{padding:12px 14px;margin-bottom:6px;border-radius:11px;background:#fff9e5;color:#8c590d;font-size:9px;line-height:16px}.manager-form{padding:12px;border-radius:14px;background:#fff;border:1px solid #e3ebf2}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:block;margin-bottom:10px;color:#4d6387;font-size:10px}.field select,.field textarea{display:block;width:100%;margin-top:6px;border:1px solid #dbe5f0;border-radius:9px;background:#fff;color:var(--navy)}.field select{height:38px;padding:0 10px}.field textarea{min-height:88px;padding:10px;resize:vertical}.voice{float:right;padding:4px 9px;border:1px solid #72cfc0;border-radius:13px;background:#fff;color:var(--green-dark);font-size:9px}.upload-box{display:block;padding:18px 12px;margin:8px 0;border:1px dashed #59bfad;border-radius:11px;background:#f7fefe;text-align:center}.upload-box input{display:block;width:100%;margin-top:12px}.upload-box b{display:block}.upload-box small{display:block;margin-top:6px;color:var(--muted)}.manager-submit{width:100%;height:44px;border:0;border-radius:12px;background:linear-gradient(90deg,#05b28c,#146cf2);color:#fff;font-weight:700}.consent{display:flex;gap:8px;padding:12px;margin:10px 0;background:#f2f7fb;border-radius:10px;font-size:10px;line-height:18px}.manager-result{padding:12px;margin-top:10px;background:#effaf7;border-radius:12px;font-size:11px;line-height:19px}
.profile-card{height:112px;padding:18px;margin-bottom:12px;position:relative;background:linear-gradient(135deg,#fff,#e7faf5)}.profile-card h2{margin:0;font-size:19px}.profile-card p{margin:6px 0;color:var(--muted);font-size:11px}.profile-card small{color:var(--green-dark)}.profile-card button{position:absolute;right:18px;bottom:20px;height:34px;padding:0 14px;border:1px solid #a6d6cd;border-radius:10px;background:#fff;color:var(--green-dark);font-weight:700}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-card{height:104px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:left}.stat-card i{display:inline-grid;place-items:center;width:38px;height:38px;margin-right:8px;border-radius:12px;background:var(--green);color:#fff;font-size:22px;font-style:normal}.stat-card b{font-size:14px}.stat-card small{display:block;margin:6px 0 0 50px;color:var(--muted)}.menu-card{margin-top:14px;overflow:hidden}.menu-card button{display:flex;align-items:center;width:100%;height:56px;padding:8px 14px;border:0;border-bottom:1px solid #e9eff2;background:#fff;text-align:left}.menu-card button:last-child{border-bottom:0}.menu-icon{display:grid;place-items:center;width:30px;height:30px;margin-right:12px;border-radius:50%;background:var(--green);color:#fff}.menu-card b,.menu-card small{display:block}.menu-card small{margin-top:3px;color:var(--muted);font-size:10px}.menu-card i{margin-left:auto;color:var(--muted);font-size:20px}.drawer{position:fixed;z-index:30;inset:0;background:rgba(5,20,35,.36);display:flex;align-items:flex-end;justify-content:center}.drawer.hidden{display:none}.drawer-panel{width:min(100%,430px);max-height:78dvh;padding:20px;background:#fff;border-radius:24px 24px 0 0;overflow:auto}.drawer-panel header{display:flex;justify-content:space-between}.drawer-panel button{border:0;background:none}.drawer-item{padding:12px 0;border-bottom:1px solid var(--line)}
.mobile-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,430px);height:78px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:1px solid #d9e7eb;border-radius:26px 26px 0 0;background:rgba(255,255,255,.94);box-shadow:0 -8px 24px rgba(19,44,58,.08);backdrop-filter:blur(16px)}.mobile-nav button{position:relative;border:0;border-radius:20px;background:transparent;color:#60748e;font-size:10px}.mobile-nav button>img{display:block;width:22px;height:22px;margin:3px auto 5px}.mobile-nav button>span:last-child{display:block}.mobile-nav button.active{background:#e5faf4;color:var(--green-dark);font-weight:700}.mobile-nav .ai-entry{padding-top:34px}.ai-orb{position:absolute!important;top:-6px;left:50%;transform:translateX(-50%);display:grid!important;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#06b596,#626be9);box-shadow:0 4px 12px rgba(37,86,180,.22)}.ai-orb img{width:27px!important;height:27px!important;margin:0!important;filter:brightness(0) invert(1)}.toast{position:fixed;z-index:50;left:50%;bottom:92px;transform:translate(-50%,20px);padding:9px 15px;border-radius:20px;background:#10243c;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){body{padding:20px 0}.mobile-app{min-height:calc(100dvh - 40px);border-radius:28px;overflow:hidden}.mobile-nav{bottom:20px;border-radius:26px}}

/* Mobile v2 alignment and interaction refinements */
.materials-card{position:relative;padding-right:56%}
.materials-card a{display:inline-flex;align-items:center;justify-content:center;min-width:86px;height:30px;margin-top:3px;padding:0 12px;border:1px solid rgba(5,160,123,.25);border-radius:15px;background:rgba(255,255,255,.9);color:var(--green-dark);font-size:11px;font-weight:700;line-height:1;text-decoration:none;box-shadow:0 5px 14px rgba(17,76,71,.06)}
.coming-link{cursor:pointer}
.stat-card{display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:1fr;align-items:center;column-gap:12px;height:104px;padding:14px 16px}
.stat-card i{grid-column:1;grid-row:1;width:42px;height:42px;margin:0;border-radius:13px}
.stat-copy{grid-column:2;grid-row:1;display:flex;min-width:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px}
.stat-copy b{display:block;font-size:14px;line-height:18px;white-space:nowrap}
.stat-copy small{display:block;margin:0;color:var(--muted);font-size:11px;line-height:16px;white-space:nowrap}
.stat-copy strong{font-weight:500}
.coming-view{min-height:calc(100dvh - 78px);padding:28px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 80% 18%,rgba(91,137,255,.16),transparent 28%),radial-gradient(circle at 15% 75%,rgba(8,181,142,.14),transparent 30%),#fbfdfe}
.coming-back{position:absolute;top:22px;left:22px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font-size:28px;line-height:36px}
.coming-mark{width:78px;height:78px;margin-bottom:20px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(135deg,#06b58f,#3675ee);color:#fff;font-size:36px;box-shadow:0 18px 34px rgba(42,112,190,.2)}
.coming-view small{color:var(--green-dark);font:600 11px/16px Arial;letter-spacing:.16em}
.coming-view h1{margin:10px 0 8px;font-size:30px}
.coming-view p{margin:0;color:var(--muted);font-size:13px}
.coming-home{width:148px;height:44px;margin-top:30px;border:0;border-radius:22px;background:var(--green);color:#fff;font-weight:700;box-shadow:0 10px 22px rgba(4,143,111,.2)}

/* Figma-aligned report upload controls */
.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.fga-upload-card{padding:10px;margin:8px 0 10px;border:1px solid #dce8ef;border-radius:14px;background:linear-gradient(135deg,#f5fffc,#f2f8ff);box-shadow:0 5px 14px rgba(24,59,78,.05)}
.fga-upload-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px}
.fga-badge{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#08b394,#1469f1);color:#fff;font:700 12px/1 Arial;box-shadow:0 7px 14px rgba(30,104,197,.15)}
.fga-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.fga-copy b{color:var(--navy);font-size:12px;line-height:16px}
.fga-copy small{overflow:hidden;color:var(--muted);font-size:9px;line-height:13px;text-overflow:ellipsis;white-space:nowrap}
.fga-upload-head>a{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 11px;border:1px solid #55c8b5;border-radius:15px;background:#fff;color:var(--green-dark);font-size:9px;font-weight:700;text-decoration:none;white-space:nowrap}
.fga-file-row{display:flex;height:38px;margin-top:8px;padding:0 10px;align-items:center;justify-content:space-between;gap:10px;border:1px dashed #58c8b6;border-radius:10px;background:rgba(255,255,255,.7);cursor:pointer}
.fga-file-row b{color:var(--green-dark);font-size:10px;line-height:1;white-space:nowrap}
.fga-file-row small{min-width:0;overflow:hidden;color:var(--muted);font-size:9px;line-height:1;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.report-manager-form{padding:14px}
.report-upload-panel{display:flex;min-height:210px;margin:0 0 16px;padding:24px 12px 12px;flex-direction:column;align-items:center;justify-content:flex-start;border:1px dashed #48bfad;border-radius:14px;background:linear-gradient(145deg,#f7fffd,#f4fbff);text-align:center;cursor:pointer}
.report-file-icon{position:relative;display:block;width:34px;height:42px;margin-bottom:14px;border:2px solid var(--green-dark);border-radius:5px;background:#fff}
.report-file-icon:before{content:"";position:absolute;top:-2px;right:-2px;width:11px;height:11px;border-left:2px solid var(--green-dark);border-bottom:2px solid var(--green-dark);background:#f4fbff;clip-path:polygon(0 0,100% 100%,0 100%)}
.report-file-icon i:before{content:"";position:absolute;left:15px;top:16px;width:2px;height:15px;border-radius:2px;background:#247de0}
.report-file-icon i:after{content:"";position:absolute;left:11px;top:16px;width:8px;height:8px;border-top:2px solid #247de0;border-left:2px solid #247de0;transform:rotate(45deg)}
.report-upload-panel>b{color:var(--navy);font-size:15px;line-height:20px}
.report-upload-panel>small{display:block;max-width:290px;margin-top:7px;color:#5d77a4;font-size:10px;line-height:15px;white-space:normal}
.report-file-button{display:flex;width:100%;height:42px;margin-top:20px;align-items:center;justify-content:center;border:1px solid var(--green);border-radius:9px;background:#fff;color:var(--green-dark);font-size:13px;font-weight:700}

/* Materials Center · Figma node 101:44 */
.materials-card{position:relative;width:100%;height:100px;margin-top:12px;padding:0;overflow:hidden;border:1px solid #d9e7ec;border-radius:18px;background:none;box-shadow:none}
.materials-bg{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;border-radius:18px}
.materials-fade{position:absolute;z-index:1;left:-1px;top:-1px;width:230px;height:100px;background:linear-gradient(90deg,rgba(247,255,255,.98) 0%,rgba(242,252,255,.82) 75%,rgba(242,252,255,0) 100%);pointer-events:none}
.materials-icon{position:absolute;z-index:2;left:13px;top:27px;width:44px;height:44px;border-radius:13px;object-fit:cover}
.materials-card h2{position:absolute;z-index:2;left:69px;top:16px;width:170px;height:22px;margin:0;color:#112642;font-size:18px;line-height:22px}
.materials-card p{position:absolute;z-index:2;left:69px;top:44px;width:190px;height:22px;margin:0;color:#65778a;font-size:11px;line-height:22px;white-space:nowrap}
.materials-card>a{position:absolute;z-index:3;left:auto;right:11px;top:17px;display:block;width:74px;height:22px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#0a9b80;font-size:11px;font-weight:700;line-height:22px;text-align:left;text-decoration:none;white-space:nowrap}
.materials-tags{position:absolute;z-index:2;left:75px;top:67px;display:flex;gap:6px;height:24px}
.materials-tags span{display:flex;height:24px;padding:0 6px;align-items:center;justify-content:center;border:1px solid #d8e3e8;border-radius:8px;background:rgba(255,255,255,.82);color:#516579;font-size:9px;font-weight:500;line-height:1;white-space:nowrap}
.materials-tags span:nth-child(1),.materials-tags span:nth-child(2),.materials-tags span:nth-child(4){width:48px}
.materials-tags span:nth-child(3){width:58px}

/* Literature tags · Figma nodes 140:26–29 and 141:24–29 */
.lit-card .literature-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lit-card .literature-tags .lit-tag{display:inline-flex;width:auto;min-width:0;height:22px;padding:0 10px;align-items:center;justify-content:center;border-radius:11px;background:#e5f7f2;box-shadow:none;color:#058c6b;font-size:10px;font-weight:500;line-height:1;text-align:center;white-space:nowrap}
.lit-card .literature-tags .lit-tag.blue{background:#e5f2ff;color:#056ee0}
.lit-card .literature-tags .lit-tag.green{background:#e5f7f2;color:#058c6b}

/* AI Health Manager · Figma nodes 146:23 and 157:23 */
.mobile-app.secondary-page{width:min(100%,390px);background:#fbfcfe}
.secondary-page #screen{padding-bottom:0}
.secondary-page .mobile-nav{display:none}
.ai-view{min-height:844px;background:#fbfcfe}
.ai-view .sub-header{height:60px;padding:8px 16px 8px 60px;border-bottom:1px solid #e8f0f5;background:#fff}
.ai-view .back{left:16px;top:14px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;font-size:24px;line-height:28px;text-align:center}
.ai-view .back img{display:block;width:32px;height:32px;margin:-1px;object-fit:contain}
.ai-view .back span{position:absolute;z-index:2;left:0;top:0;display:flex;width:32px;height:32px;align-items:center;justify-content:center;color:#081f45;font-size:24px;font-weight:700;line-height:28px}
.ai-view .sub-header small{height:12px;color:#05946e;font:500 8px/12px Arial;letter-spacing:.07em}
.ai-view .sub-header h1{height:24px;margin:2px 0 0;color:#051738;font-size:17px;line-height:24px}
.ai-view .sub-header em{right:16px;top:22px;width:96px;color:#05946e;font-size:9px;line-height:16px;text-align:right}
.ai-view .mode-tabs{display:grid;grid-template-columns:171px 171px;justify-content:space-between;width:358px;height:42px;margin:4px 16px 6px;padding:0;border-radius:11px;background:#f7fafc;box-shadow:0 4px 12px rgba(13,36,61,.06)}
.ai-view .mode-tabs button{position:relative;width:171px;height:38px;padding:0;border-radius:10px;color:#617394;font-size:12px;font-weight:500;line-height:18px}
.ai-view .mode-tabs button.active{background:#fff;color:#05946e;font-weight:700;box-shadow:none}
.ai-view .mode-tabs button.active:after{content:"";position:absolute;left:38px;bottom:-4px;width:96px;height:3px;border-radius:2px;background:#05a880}
.ai-view .manager{width:390px;padding:0 16px 16px}
.ai-view .manager-intro{display:flex;width:358px;height:66px;margin:0 0 6px;padding:12px 13px;gap:14px;overflow:hidden;border:1px solid #d9e8f0;border-radius:12px;background:#f2fbfe;box-shadow:none}
.ai-view .spark{flex:0 0 40px;width:40px;height:40px;border-radius:12px;font-size:22px}
.ai-view .manager-intro>div{min-width:0}
.ai-view .manager-intro h2{height:22px;margin:0;color:#051738;font-size:15px;line-height:22px}
.ai-view .manager-intro p{width:290px;max-width:100%;margin:2px 0 0;color:#5e7394;font-size:10px;line-height:16px;white-space:nowrap}
.ai-view .notice{position:relative;display:flex;width:358px;height:54px;margin:0 0 6px;padding:10px 8px 10px 34px;align-items:flex-start;border-radius:11px;background:#fff9e5;color:#8c590d;font-size:9px;line-height:16px}
.notice-icon{position:absolute;left:10px;top:14px;display:grid;width:16px;height:16px;place-items:center;border:1px solid #c77505;border-radius:50%;color:#c77505;font:700 10px/1 Arial}
.ai-view .manager-form{position:relative;margin-top:0;border:1px solid #e3ebf2;border-radius:14px;background:#fff;box-shadow:none}
.plan-manager-form{width:370px;height:584px;margin-left:-6px;padding:0}
.plan-manager-form>.two-cols{position:absolute;left:11px;top:7px;display:grid;width:346px;height:51px;grid-template-columns:166px 164px;gap:16px}
.plan-manager-form .two-cols .field{width:100%;height:51px;margin:0;color:#4d6387;font-size:10px;line-height:16px}
.plan-manager-form .two-cols select{width:100%;height:29px;margin-top:6px;padding:0 9px;border:1px solid #dbe5f0;border-radius:9px;color:#0a1a38;font-size:10px;font-weight:700}
.plan-manager-form>.textarea-field{position:absolute;left:11px;width:346px;margin:0;color:#4d6387;font-size:10px;font-weight:500;line-height:16px}
.plan-manager-form>.textarea-field>small{margin-left:5px;color:#6e82a1;font-size:8px;font-weight:400}
.plan-manager-form>.health-field{top:72px;height:110px}
.plan-manager-form>.goal-field{top:196px;height:106px}
.plan-manager-form>.habits-field{top:310px;height:104px}
.plan-manager-form>.textarea-field textarea{position:absolute;left:0;top:22px;width:346px;margin:0;padding:9px;border:1px solid #dbe5f0;border-radius:9px;color:#0a1a38;font-size:9px;line-height:16px;resize:none}
.plan-manager-form>.health-field textarea{height:88px}
.plan-manager-form>.goal-field textarea{height:84px}
.plan-manager-form>.habits-field textarea{height:82px}
.voice-button{position:absolute;right:11px;bottom:10px;display:flex;width:66px;height:24px;padding:0;align-items:center;justify-content:center;border:1px solid #73d1c2;border-radius:12px;background:rgba(255,255,255,.92);color:#03a17d;font-size:8px;font-weight:700}
.voice-button:before{content:"";width:5px;height:8px;margin-right:5px;border:1px solid #03a17d;border-radius:4px}
.voice-button:after{content:"";position:absolute;left:15px;top:14px;width:7px;height:4px;border-bottom:1px solid #03a17d;border-radius:0 0 5px 5px}
.plan-manager-form>.fga-upload-card{position:absolute;left:11px;top:423px;width:346px;height:94px;margin:0;padding:9px;overflow:hidden;border:1px solid #d9e8f0;border-radius:12px;background:#f2fbfe;box-shadow:none}
.plan-manager-form .fga-upload-head{display:grid;height:36px;grid-template-columns:36px minmax(0,1fr) 54px;gap:12px}
.plan-manager-form .fga-badge{width:36px;height:36px;border-radius:10px;font-size:10px}
.plan-manager-form .fga-copy{gap:0}
.plan-manager-form .fga-copy b{height:20px;font-size:11px;line-height:18px}
.plan-manager-form .fga-copy small{height:16px;font-size:8px;line-height:14px}
.plan-manager-form .fga-upload-head>a{width:54px;height:28px;margin-top:2px;padding:0;border-radius:14px;font-size:8px}
.plan-manager-form .fga-file-row{display:flex;width:326px;height:34px;margin:6px 0 0;padding:0 9px;border:1px dashed #66c7b8;border-radius:10px;background:rgba(255,255,255,.72)}
.plan-manager-form .fga-file-row b,.plan-manager-form .fga-file-row small{font-size:8px;line-height:14px}
.plan-manager-form>.manager-submit{position:absolute;left:11px;top:531px;width:346px;height:42px;border-radius:12px;font-size:13px}
.plan-manager-form>.manager-result{position:absolute;left:11px;top:584px;width:346px}
.report-manager-form{width:358px;height:572px;padding:0;box-shadow:0 5px 8px rgba(10,31,56,.06)}
.report-manager-form>.report-upload-panel{position:absolute;left:13px;top:13px;display:flex;width:342px;height:192px;min-height:0;margin:0;padding:27px 13px 14px;overflow:hidden;border:1px dashed #59bfad;border-radius:11px;background:#f7fefe}
.report-manager-form .report-file-icon{width:38px;height:48px;margin:0 0 8px;border-radius:5px}
.report-manager-form img.report-file-icon{display:block;border:0;background:transparent;object-fit:contain}
.report-manager-form .report-upload-panel>b{height:21px;font-size:14px;line-height:21px}
.report-manager-form .report-upload-panel>small{width:314px;height:16px;margin-top:6px;font-size:9px;line-height:16px;white-space:nowrap}
.report-manager-form .report-file-button{position:absolute;left:13px;top:141px;width:314px;height:36px;margin:0;border-radius:8px;font-size:11px}
.report-manager-form>.report-question{position:absolute;left:13px;top:221px;width:336px;height:196px;margin:0;color:#081a3b;font-size:11px;font-weight:700;line-height:18px}
.report-manager-form>.report-question textarea{position:absolute;left:0;top:26px;width:336px;height:170px;margin:0;padding:11px 9px;border:1px solid #d6e3ed;border-radius:9px;color:#0a1a38;font-size:10px;font-weight:400;line-height:17px;resize:none}
.textarea-resize{position:absolute;z-index:2;right:7px;bottom:6px;width:12px;height:12px;pointer-events:none}
.report-manager-form>.consent{position:absolute;left:9px;top:425px;display:flex;width:342px;height:70px;margin:0;padding:12px;gap:12px;align-items:flex-start;border-radius:10px;background:#f5faff;color:#0d264d;font-size:10px;line-height:20px}
.report-manager-form>.consent input{flex:0 0 16px;width:16px;height:16px;margin:4px 0 0}
.report-manager-form>.manager-submit{position:absolute;left:7px;top:517px;width:342px;height:50px;border-radius:12px;font-size:14px}
.report-manager-form>.manager-result{position:absolute;left:7px;top:572px;width:342px}
.ai-view .manager-submit{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#05b08c,#146bf2);color:#fff;font-weight:700;text-align:center}
.ai-view .manager-result{z-index:5;margin-top:8px;border:1px solid #d9e8f0;background:#effaf7;white-space:pre-wrap}

/* AI Assistant primary page */
.assistant-view{min-height:calc(100dvh - 78px);background:#f6f8fa}
.assistant-content{position:relative;width:100%;height:676px;overflow-x:hidden;overflow-y:auto;background:#f6f8fa;-ms-overflow-style:none;scrollbar-width:none}
.assistant-content::-webkit-scrollbar{display:none;width:0;height:0}
.assistant-atmosphere{position:absolute;pointer-events:none;opacity:.82}
.assistant-atmosphere.blue{left:-96px;top:260px;width:230px;height:230px}
.assistant-atmosphere.green{left:250px;top:430px;width:260px;height:260px}
.assistant-hero{position:absolute;left:16px;right:16px;top:12px;width:auto;height:176px;overflow:hidden;border:1px solid rgba(133,161,191,.16);border-radius:24px;background:#fff;box-shadow:0 14px 34px -4px rgba(38,69,97,.11)}
.assistant-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.assistant-hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 52%,rgba(255,255,255,.3) 74%,rgba(255,255,255,0) 100%)}
.assistant-hero-copy{position:absolute;left:23px;top:21px;width:245px;text-align:left}
.assistant-hero-copy small{display:block;color:#4774d8;font-size:10px;font-weight:700;line-height:14px;letter-spacing:.8px}
.assistant-hero-copy h2{margin:18px 0 8px;color:#08234e;font-size:21px;font-weight:700;line-height:28px}
.assistant-hero-copy p{margin:0;color:#61799c;font-size:12px;line-height:20px}
.assistant-hero>small{position:absolute;left:23px;top:21px;color:#4774d8;font-size:10px;font-weight:700;line-height:14px;letter-spacing:.8px}
.assistant-hero>h2{position:absolute;left:23px;top:52px;margin:0;color:#08234e;font-size:21px;font-weight:700;line-height:28px}
.assistant-hero>p{position:absolute;left:23px;top:88px;margin:0;color:#61799c;font-size:12px;line-height:20px}
.direction-title{position:absolute;left:16px;top:212px;display:flex;height:28px;align-items:center;color:#08234e}
.direction-title::before{display:none}
.direction-title h2{margin:0;font-size:20px;font-weight:700;line-height:28px}
.direction-title>i{width:4px;height:22px;margin-right:8px;border-radius:2px;background:linear-gradient(180deg,#5a80f2,#43b7d7)}
.assistant-direction{position:absolute;left:16px;right:16px;width:auto;height:116px;overflow:hidden;border-radius:22px;text-align:left;box-shadow:0 12px 26px -8px rgba(45,77,111,.1)}
.assistant-direction.academic{top:254px;border:1px solid rgba(75,121,232,.22);background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(235,242,255,.95))}
.assistant-direction.product{top:382px;border:1px solid rgba(45,167,145,.22);background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(232,248,243,.95))}
.assistant-direction>.direction-glow{position:absolute;left:271px;top:-57px;width:126px;height:126px;pointer-events:none}
.assistant-direction>img{position:absolute;left:271px;top:-57px;width:126px;height:126px;pointer-events:none}
.direction-icon{position:absolute;left:19px;top:31px;display:grid;width:52px;height:52px;place-items:center;border-radius:16px;color:#fff;font-size:28px;line-height:1}
.academic .direction-icon{background:linear-gradient(145deg,#8bb0ff,#496fe4);box-shadow:0 8px 18px rgba(75,112,222,.2)}
.product .direction-icon{background:linear-gradient(145deg,#8edbc9,#48aa96);box-shadow:0 8px 18px rgba(44,157,135,.18)}
.direction-copy{position:absolute;left:87px;top:17px;width:238px}
.direction-copy h3{margin:0;font-size:17px;font-weight:700;line-height:24px}
.academic .direction-copy h3,.academic .direction-scope,.academic .direction-arrow{color:#3970df}
.product .direction-copy h3,.product .direction-scope,.product .direction-arrow{color:#26957f}
.direction-copy p{margin:3px 0 0;color:#61799c;font-size:13px;line-height:20px;white-space:nowrap}
.direction-copy .direction-scope{margin-top:2px;font-size:12px;line-height:18px}
.direction-arrow{position:absolute;right:20px;top:47px;font-size:24px;line-height:24px}
.assistant-direction .direction-copy{position:absolute;left:87px;top:17px;display:flex;width:238px;flex-direction:column}
.assistant-direction .direction-copy b{font-size:17px;font-weight:700;line-height:24px}
.assistant-direction.academic .direction-copy b,.assistant-direction.academic .direction-copy em,.assistant-direction.academic>strong{color:#3970df}
.assistant-direction.product .direction-copy b,.assistant-direction.product .direction-copy em,.assistant-direction.product>strong{color:#26957f}
.assistant-direction .direction-copy small{margin-top:3px;color:#61799c;font-size:13px;font-style:normal;line-height:20px;white-space:nowrap}
.assistant-direction .direction-copy em{margin-top:2px;font-size:12px;font-style:normal;line-height:18px}
.assistant-direction>strong{position:absolute;right:20px;top:47px;font-size:24px;font-weight:400;line-height:24px}
.recommend-title{position:absolute;left:16px;right:16px;top:522px;display:flex;width:auto;height:30px;align-items:center}
.recommend-title .recommend-star{margin-right:8px;color:#08234e;font-size:20px}
.recommend-title h2{margin:0;color:#08234e;font-size:20px;font-weight:700;line-height:28px}
.recommend-title button{margin-left:auto;border:0;background:transparent;color:#7289aa;font-size:12px}
.recommend-title>span{margin-right:8px;color:#08234e;font-size:20px}
.question-tabs{position:absolute;left:16px;right:16px;top:564px;display:flex;width:auto;height:48px;overflow:hidden;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(37,67,95,.06)}
.question-tabs button{position:relative;width:50%;border:0;background:transparent;font-size:13px;font-weight:700}
.question-tabs button:first-child{color:#4674df}
.question-tabs button:last-child{color:#26957f}
.question-tabs button.active::after{position:absolute;bottom:1px;left:50%;width:36px;height:3px;transform:translateX(-50%);border-radius:2px;background:currentColor;content:""}
.question-list{position:absolute;left:16px;right:16px;top:624px;width:auto;padding-bottom:28px}
.assistant-question{position:relative;display:flex;width:100%;min-height:56px;margin-bottom:8px;align-items:center;border:1px solid rgba(133,161,191,.13);border-radius:16px;background:linear-gradient(100deg,rgba(255,255,255,.97),rgba(230,239,255,.9));box-shadow:0 8px 22px rgba(35,69,103,.05);color:#294466;text-align:left}
.assistant-question::before{width:3px;height:28px;margin:0 15px;border-radius:2px;background:#5680ef;content:"";flex:none}
.assistant-question span{padding:10px 14px 10px 0;font-size:14px;line-height:20px}
.question-list>button{position:relative;display:flex;width:100%;min-height:56px;margin-bottom:8px;align-items:center;border:1px solid rgba(133,161,191,.13);border-radius:16px;background:linear-gradient(100deg,rgba(255,255,255,.97),rgba(230,239,255,.9));box-shadow:0 8px 22px rgba(35,69,103,.05);color:#294466;text-align:left}
.question-list>button>i{width:3px;height:28px;margin:0 15px;border-radius:2px;background:#5680ef;flex:none}
.question-list>button>span{padding:10px 14px 10px 0;font-size:14px;line-height:20px}

/* Keep the AI entry aligned with the shared bottom navigation. */
.mobile-nav .ai-entry{height:64px;padding-top:39px}
.mobile-nav .ai-entry .ai-orb{top:2px;width:36px;height:36px;background:transparent;box-shadow:none}
.mobile-nav .ai-entry .ai-orb img{width:25px;height:25px;filter:none}
.mobile-nav .ai-entry:not(.active) .ai-nav-default{filter:brightness(0) saturate(0) opacity(.62)}
.mobile-nav .ai-entry.active{border-radius:22px;background:#e6f6f1;color:#168c77}
.mobile-nav .ai-entry.active .ai-orb{top:2px;background:transparent;box-shadow:none}
.ai-nav-active{display:none!important}
.mobile-nav .ai-entry.active .ai-nav-default{display:none!important}
.mobile-nav .ai-entry.active .ai-nav-active{display:block!important;width:25px!important;height:25px!important;filter:none!important}

/* Figma bottom navigation: 390 × 78, shared by every primary screen. */
.mobile-nav{bottom:0;display:grid;width:min(100%,390px);height:calc(78px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);grid-template-columns:repeat(5,68px);column-gap:3px;justify-content:center;border:1px solid rgba(212,227,232,.9);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,252,255,.97) 70%,rgba(242,250,252,.96));box-shadow:0 10px 30px rgba(13,33,46,.16);backdrop-filter:blur(12px);overflow:hidden}
.mobile-nav::before{position:absolute;left:50%;top:0;width:322px;height:1px;transform:translateX(-50%);border-radius:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);content:""}
.mobile-nav button{position:relative;width:68px;height:60px;margin:7px 0 0;padding:0;border:0;border-radius:20px;background:transparent;color:#597391;font-size:11px;font-weight:500;line-height:normal;overflow:hidden}
.mobile-nav button>img{position:absolute;left:50%;top:7px;display:block;width:21px;height:21px;margin:0;transform:translateX(-50%);filter:brightness(0) saturate(100%) invert(45%) sepia(14%) saturate(913%) hue-rotate(174deg) brightness(91%) contrast(87%)}
.mobile-nav button>span:last-child{position:absolute;left:0;top:38px;display:block;width:100%;height:16px;text-align:center;white-space:nowrap}
.mobile-nav button.active{background:#e5fbf5;color:#05a67a;font-weight:700}
.mobile-nav button.active>img{filter:brightness(0) saturate(100%) invert(48%) sepia(71%) saturate(1612%) hue-rotate(126deg) brightness(91%) contrast(96%)}
.mobile-nav button[data-route="products"]>img{top:8px;width:22px;height:22px}
.mobile-nav button[data-route="products"]>span:last-child{top:40px}
.mobile-nav .ai-entry,.mobile-nav .ai-entry.active{width:68px;height:68px;margin-top:0;padding:0;border-radius:20px;background:transparent;color:#597391;font-weight:500;overflow:visible}
.mobile-nav .ai-entry .ai-orb,.mobile-nav .ai-entry.active .ai-orb{position:absolute!important;left:0;top:0;width:68px;height:44px;transform:none;background:transparent;box-shadow:none;overflow:visible}
.mobile-nav .ai-entry .ai-orb .ai-halo{position:absolute!important;left:-4px!important;top:-9px!important;display:block!important;width:76px!important;height:76px!important;margin:0!important;filter:none!important}
.mobile-nav .ai-entry .ai-orb .ai-glyph{position:absolute!important;left:21.5px!important;top:9.5px!important;display:block!important;width:25px!important;height:25px!important;margin:0!important;filter:none!important}
.mobile-nav .ai-entry>span:last-child{top:49px;color:#597391}
@media(min-width:700px){.mobile-nav{bottom:20px}}
