:root{--bg:#f7f8f5;--paper:#fff;--ink:#202b29;--muted:#596961;--teal:#176b62;--dark:#12483f;--sage:#e6f0eb;--line:#dde5df;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #579f8b;outline-offset:4px}.shell{display:flex;max-width:1600px;margin:auto;min-height:100vh}.sidebar{width:265px;flex-shrink:0;padding:34px 24px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:#f0f3ed}.brand{display:flex;gap:12px;align-items:center;font-size:30px;font-weight:650;letter-spacing:-1px}.brand img{width:52px;height:52px;border-radius:50%}.brand small{display:block;font-size:12px;letter-spacing:0;font-weight:400;color:var(--muted)}.profile-switch{margin:38px 0 24px;border:1px solid var(--line);background:var(--paper);display:flex;align-items:center;gap:10px;width:100%;padding:12px;border-radius:13px;font-size:14px;color:var(--ink)}.profile-switch span:last-child{margin-left:auto}.profile-icon{border-radius:50%;background:var(--sage);width:30px;height:30px;display:grid;place-items:center}nav button{display:flex;gap:13px;align-items:center;border:0;background:none;color:var(--muted);padding:15px 16px;width:100%;text-align:left;border-radius:12px;margin:5px 0;font-size:16px}nav button.active{background:var(--teal);color:white}nav svg{width:21px;height:21px;flex-shrink:0}.side-bottom{margin-top:auto;padding-top:20px}.small-card{border:1px solid #d3dfd6;padding:18px;border-radius:14px;background:#e7ede4}.small-card p{margin:10px 0;font-size:16px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:var(--teal)}.tiny{font-size:12px;color:var(--muted);line-height:1.6}main{min-width:0;flex:1;padding:0 46px}.topbar{height:87px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.status-dot{display:inline-block;width:7px;height:7px;background:#558b6e;border-radius:50%;margin-right:8px}.preview-banner{font-size:12px;color:#666c58;background:#f1f1e5;padding:8px 12px;border-radius:8px;margin-top:16px}#content{min-height:70vh;padding-top:32px}h1,h2,h3,p{margin-top:0}h1{font:normal clamp(34px,3.5vw,52px)/1.12 var(--serif);letter-spacing:-1.4px;margin-bottom:18px}h2{font-size:23px;line-height:1.3;font-weight:600;letter-spacing:-.5px}h3{font-size:18px;font-weight:600;line-height:1.4}.muted{color:var(--muted)}.hero{background:#e6eee3;border:1px solid #dae5d7;border-radius:24px;display:grid;grid-template-columns:1.25fr 1fr;overflow:hidden;min-height:340px}.hero-copy{padding:35px 0 34px 34px;z-index:1}.hero .eyebrow{display:block;margin-bottom:18px}.hero p{max-width:390px;color:#4e665b;font-size:16px}.hero-visual{position:relative;display:flex;align-items:flex-end;justify-content:center;padding:26px 15px 0}.hero-visual img{width:100%;max-width:310px;aspect-ratio:1;border-radius:48% 48% 18px 18px;object-fit:cover;mix-blend-mode:multiply}.ai-label{position:absolute;bottom:18px;background:#fffffff2;box-shadow:0 8px 30px #163d2010;border:1px solid white;border-radius:30px;padding:8px 17px;font-size:13px;color:var(--dark)}.button{background:var(--teal);color:white;border:1px solid var(--teal);border-radius:11px;min-height:50px;padding:12px 20px;font-weight:600;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button:hover{background:#12574f}.button.secondary{color:var(--teal);background:white;border-color:#cbdad2}.button.secondary:hover{background:var(--sage)}.button.compact{min-height:40px;padding:8px 16px;font-size:14px}.button.wide{width:100%}.text-button{padding:5px 0;border:0;background:none;color:var(--teal);font-size:14px;text-align:left}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:32px 0 16px;gap:12px}.section-heading h2{margin:0}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.action-card{background:white;border:1px solid var(--line);border-radius:16px;padding:21px;text-align:left;color:var(--ink);transition:transform .15s,border-color .15s}.action-card:hover{transform:translateY(-3px);border-color:#81a99c}.action-card svg{width:25px;height:25px;display:block;margin-bottom:22px;color:var(--teal)}.action-card strong{display:block;font-size:17px;margin-bottom:7px}.action-card span{font-size:13px;color:var(--muted);line-height:1.5;display:block}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.empty{padding:32px 18px;text-align:center;background:#ffffffa0;border:1px dashed #ccd8cf;border-radius:14px;color:var(--muted)}.empty svg{width:32px;height:32px;color:#719087}.empty h3{color:var(--ink);margin:12px 0 8px}.empty p{font-size:14px;margin-bottom:16px}.empty .button{min-height:42px}.quote{font:normal 25px/1.4 var(--serif);color:var(--dark)}.note{padding:13px 16px;background:var(--sage);border-radius:12px;font-size:14px;color:#345b4b;margin:16px 0}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.page-head h1{font-size:38px;margin:0}.page-head p{margin:7px 0 0;font-size:15px;color:var(--muted)}.list{display:grid;gap:12px}.list-item{border:1px solid var(--line);background:white;border-radius:14px;padding:17px;display:flex;align-items:center;gap:14px}.list-item .grow{flex:1;min-width:0}.list-item strong{font-size:16px;display:block;overflow-wrap:anywhere}.list-item small{font-size:13px;color:var(--muted)}.icon-button{border:1px solid var(--line);color:var(--teal);background:white;border-radius:9px;min-width:42px;min-height:42px;padding:7px}.icon-button.danger{color:#a64038}.chat-header{display:flex;align-items:center;gap:13px;margin-bottom:20px}.chat-header img{width:48px;height:48px;border-radius:50%}.chat-header h2{margin:0;font-size:19px}.chat-header p{font-size:12px;margin:0;color:var(--muted)}.chat-header .grow{flex:1}.messages{min-height:260px;max-height:53vh;overflow-y:auto;padding:10px 4px;display:flex;flex-direction:column;gap:18px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:1px solid var(--line);padding:19px 22px;border-radius:16px;max-width:92%;font-size:17px;line-height:1.7}.bubble.user{align-self:flex-end;background:var(--sage);max-width:82%;border:none}.bubble .message-meta{white-space:normal;display:flex;justify-content:space-between;color:var(--teal);font-size:12px;margin-bottom:8px}.composer{margin-top:20px;background:white;border:1px solid #adc9bd;border-radius:17px;padding:14px}.composer textarea{border:0;resize:vertical;min-height:65px;width:100%;background:transparent;outline:none;font-size:17px;color:var(--ink)}.composer-actions{display:flex;align-items:center;gap:10px}.composer-actions .button{margin-left:auto}.attachment{font-size:13px;color:var(--teal);padding-bottom:8px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:white;color:var(--teal);padding:9px 12px;border-radius:24px;font-size:13px}.search{width:100%;margin-bottom:18px}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.plan{background:white;border:1px solid var(--line);border-radius:20px;padding:24px 20px;display:flex;flex-direction:column;position:relative}.plan.featured{border:2px solid var(--teal);background:#f1f7f1}.plan .badge{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--teal);margin-bottom:15px;min-height:17px}.price{font-size:40px;letter-spacing:-1.5px;font-weight:650;line-height:1.2}.price small{font-size:14px;letter-spacing:0;font-weight:400;color:var(--muted)}.plan ul{padding-left:18px;font-size:14px;line-height:1.9;margin-bottom:25px;flex:1}.plan .charge{font-size:13px;margin:10px 0;color:var(--muted)}footer{border-top:1px solid var(--line);margin:40px 0 22px;padding-top:18px;color:var(--muted);font-size:12px;line-height:1.7}footer span{float:right}footer button{font-size:12px!important}dialog{border:1px solid var(--line);border-radius:22px;max-width:520px;width:calc(100% - 32px);padding:34px;box-shadow:0 25px 100px #183e3025;color:var(--ink);background:var(--bg);max-height:90vh}dialog::backdrop{background:#142b2260;backdrop-filter:blur(4px)}dialog h2{padding-right:20px}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px;color:var(--muted)}label{display:block;font-size:14px;margin:16px 0 7px}input,textarea,select{border:1px solid #c6d4ca;border-radius:10px;background:white;padding:12px;width:100%;color:var(--ink)}input[type=checkbox]{width:19px;height:19px;flex-shrink:0;accent-color:var(--teal)}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:18px 0}.check input{margin-top:2px}.error{color:#9d332d;font-size:14px;margin:12px 0}.mobile-nav{display:none}#toast{display:none;position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--dark);color:white;padding:14px 22px;border-radius:12px;max-width:90%;z-index:100;font-size:15px}.account-grid{display:grid;gap:18px}.health-tabs{display:flex;gap:9px;margin-bottom:20px;flex-wrap:wrap}.health-tabs button.active{background:var(--sage)}.welcome-chat{text-align:center;padding:25px}.welcome-chat img{width:88px;height:88px;border-radius:50%;margin-bottom:14px}.welcome-chat h2{font-family:var(--serif);font-size:28px}.welcome-chat p{font-size:15px;color:var(--muted)}@media(min-width:1400px){main{padding:0 65px}.hero{min-height:380px}.hero-copy{padding:42px}.hero-visual img{max-width:350px}}@media(max-width:1100px){.sidebar{width:220px;padding:28px 18px}main{padding:0 25px}.hero-copy{padding:26px 0 26px 26px}.plans{gap:10px}.plan{padding:20px 14px}.price{font-size:32px}}@media(max-width:760px){body{font-size:17px}.sidebar{display:none}main{padding:0 18px}.topbar{height:66px;font-size:12px}.preview-banner{font-size:11px}#content{padding-top:22px}.hero{grid-template-columns:1.5fr 1fr;min-height:270px;border-radius:19px}.hero-copy{padding:24px 0 24px 22px}.hero h1{font-size:34px;letter-spacing:-.9px}.hero p{font-size:14px}.hero .eyebrow{font-size:10px;margin-bottom:12px}.hero-visual{padding:0 0 28px}.hero-visual img{width:125%;max-width:none}.ai-label{font-size:10px;padding:5px 9px;bottom:23px}.hero .button{font-size:13px;padding:10px 12px}.action-grid{gap:9px}.action-card{padding:15px 12px}.action-card strong{font-size:14px}.action-card span{font-size:12px}.action-card svg{margin-bottom:14px}.two-col{grid-template-columns:1fr}.section-heading{margin-top:25px}.section-heading h2{font-size:21px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#ffffffee;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:5px 8px calc(5px + env(safe-area-inset-bottom))}.mobile-nav button{flex-direction:column;gap:3px;justify-content:center;font-size:10px;padding:8px 3px;margin:0;border-radius:9px}.mobile-nav button.active{background:var(--sage);color:var(--teal)}footer{margin-bottom:100px}.page-head h1{font-size:31px}.plans{grid-template-columns:1fr}.plan{padding:24px}.plan ul{margin:12px 0}.price{font-size:38px}.messages{max-height:48vh}.bubble{max-width:100%;padding:16px;font-size:16px}.page-head{gap:8px}.page-head .button{padding:10px;font-size:13px}.chat-header{flex-wrap:wrap}.chat-header .button{font-size:12px;padding:7px}.composer-actions{gap:7px}dialog{padding:27px 22px}#toast{bottom:90px}.card{padding:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.document-text{white-space:pre-wrap;font:14px/1.6 system-ui;max-height:35vh;overflow:auto;background:white;border:1px solid var(--line);padding:15px;border-radius:10px}svg{max-width:30px}.list-item>svg{width:24px;flex-shrink:0}[hidden]{display:none!important}
.button svg{width:20px;height:20px;flex-shrink:0}.hero .button{white-space:nowrap}@media(max-width:420px){.hero{grid-template-columns:1.45fr 1fr}.hero-copy{padding-left:17px}.hero h1{font-size:30px}.hero .button{font-size:12px;padding:11px 8px;gap:5px}.hero .button svg{width:16px;height:16px}.hero-visual img{width:140%}.hero-visual{overflow:hidden}.hero p{font-size:13px}.action-card strong{font-size:13px}}

.auth-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:650;margin-bottom:20px}.auth-brand img{width:36px;height:36px;border-radius:50%}.social-auth{display:grid;gap:10px}.social{display:flex;align-items:center;gap:18px;border:0;border-radius:12px;color:white;padding:13px 18px;font-size:20px;font-weight:700;min-height:50px}.social span{font-size:16px;font-weight:600;flex:1}.social.vk{background:#0077ff}.social.mail{background:#076bed}.social.yandex{background:#ed392b}.auth-divider{text-align:center;color:var(--muted);font-size:14px;margin:22px 0 12px}.password-row{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:15px}.password-row input{border:0;margin:0;min-width:0;flex:1}.password-row button{border:0;background:var(--sage);color:var(--teal);font-size:13px;padding:0 12px}.email-code{font-size:28px;letter-spacing:12px;text-align:center}.check a{text-decoration:underline}dialog{max-height:92dvh;overflow:auto}

#portal-return{font-size:14px;color:var(--muted);text-decoration:none;white-space:nowrap}#portal-return[hidden]{display:none}

.webutil-header,.webutil-breadcrumbs{display:none}
.webutil{--bg:#faf8f9;--paper:#fff;--ink:#28212a;--muted:#756972;--teal:#79243c;--dark:#632035;--sage:#f5e8ed;--line:#e8e0e4;--serif:Inter,ui-sans-serif,system-ui,sans-serif}
.webutil body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
.webutil .webutil-header{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1440px;margin:auto;padding:22px 24px;border-bottom:1px solid var(--line)}
.webutil-brand{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:750;letter-spacing:-1px}.webutil-brand>span:last-child{color:var(--teal)}.webutil-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--teal);color:white;border-radius:10px;font-size:27px;font-weight:800}
.webutil-header nav{display:flex;gap:28px;font-size:14px}.webutil-header a:hover,.webutil-breadcrumbs a:hover{color:var(--teal)}
.webutil .webutil-breadcrumbs{display:flex;gap:12px;max-width:1440px;padding:24px;margin:auto;color:var(--muted);font-size:13px}
.webutil .shell{max-width:1392px;min-height:75vh;background:#fff;border:1px solid var(--line);border-radius:18px;margin:0 auto 32px;overflow:clip}
.webutil .sidebar{background:#fff;width:235px;height:calc(100vh - 32px);padding:26px 20px;top:16px}.webutil main{padding:0 32px}.webutil .topbar{height:72px}.webutil #portal-return{display:none}.webutil #content{padding-top:24px}.webutil h1{font-weight:700;font-size:clamp(30px,3vw,42px);letter-spacing:-1px}.webutil .brand{font-size:25px}.webutil .brand img{width:42px;height:42px}.webutil .hero{background:#faf5f7;border-color:var(--line);border-radius:16px;min-height:290px}.webutil .hero p{color:var(--muted)}.webutil .hero-visual img{max-width:245px;mix-blend-mode:normal}.webutil .small-card{background:#faf5f7;border-color:var(--line)}.webutil .button:hover{background:#632035}.webutil .button.secondary{border-color:var(--line)}.webutil .status-dot{background:var(--teal)}.webutil .profile-icon,.webutil .message.user{background:var(--sage)}.webutil .action-card:hover{border-color:#b78294}.webutil button:focus-visible,.webutil a:focus-visible,.webutil input:focus-visible,.webutil textarea:focus-visible{outline-color:#a7405f}
@media(max-width:900px){.webutil .shell{margin:0 16px 24px}.webutil .sidebar{width:200px}.webutil main{padding:0 22px}}
@media(max-width:700px){.webutil .webutil-header{padding:16px;gap:12px;flex-wrap:wrap}.webutil-header nav{gap:18px;font-size:13px}.webutil .webutil-breadcrumbs{padding:18px 16px}.webutil .shell{margin:0 10px 90px}.webutil .sidebar{display:none}.webutil main{padding:0 16px}.webutil .topbar{height:64px}.webutil .hero-copy{padding:24px}.webutil .mobile-nav{background:#fff;border-color:var(--line)}}
.health-workspace{max-width:850px;margin:22px 0}.health-workspace textarea{min-height:110px;width:100%}.health-tool-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;color:var(--muted);font-size:13px}.health-tool-links a{text-decoration:underline}.health-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.health-document{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.health-document>button{margin-left:15px}.health-document details{margin-top:10px}.health-answer{margin-top:28px}.health-answer p{overflow-wrap:anywhere;white-space:pre-wrap}.health-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.health-fields input{width:100%}.health-table-scroll{overflow:auto;margin:18px 0}.health-table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}.health-table th,.health-table td{padding:12px;border-bottom:1px solid var(--line);min-width:90px;vertical-align:top}.health-table th{background:var(--sage)}.health-table td{overflow-wrap:anywhere}.pressure-chart{display:block;width:100%;max-height:260px;margin:16px 0}.health-pre{white-space:pre-wrap}.health-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:28px}#bmi-result{margin-top:28px}.health-workspace input[type=file]{max-width:100%;font-size:14px}.health-workspace input[type=checkbox]{flex-shrink:0}@media(max-width:600px){.health-fields{grid-template-columns:1fr}.health-tool-grid{grid-template-columns:1fr}.health-workspace{padding:18px}.health-actions .button{width:100%}.health-answer .list-item{flex-wrap:wrap}}
