.auth-layout{display:grid;grid-template-columns:minmax(295px,1.12fr) minmax(300px,1fr);gap:clamp(20px,5.6vw,82px);align-items:stretch}.auth-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:570px;padding:clamp(25px,4.5vw,59px);border-radius:30px;background:radial-gradient(ellipse at 60% 22%,#7b4eb6 0,transparent 55%),linear-gradient(152deg,#3d245d,#2d1845 63%,#281836);color:#fff}.hero-art{position:absolute;inset:0;z-index:-1;overflow:hidden}.hero-halo,.hero-orbit,.hero-sphere,.hero-satellite{position:absolute}.hero-halo{top:-1%;left:-3%;width:107%;height:83%;background:radial-gradient(ellipse at 56% 55%,#ba81e962,#a465cf1b 45%,transparent 68%)}.hero-orbit{top:27%;left:52%;width:111%;height:26%;border-radius:50%;border:1px solid #eedcfc45;transform:translate(-50%,-50%) rotate(-28deg)}.hero-orbit--tilted{height:38%;width:92%;border-color:#eedcfc2b;transform:translate(-50%,-50%) rotate(44deg)}.hero-orbit--inner{height:17%;width:104%;border-color:#f2d3fa30}.hero-sphere{top:7%;left:50%;width:clamp(140px,52%,290px);aspect-ratio:1;border-radius:50%;transform:translate(-50%);background:radial-gradient(ellipse at 34% 25%,#fcf1ff,#d8adf5 19%,#9e62d9 40%,#6e42c2 62%,#3d2265 86%);box-shadow:inset -14px -22px 35px #23113f60,0 34px 66px #1d0b3e60,0 0 80px #cd92fb27}.hero-satellite{top:17%;left:78%;width:8%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 33% 29%,#fff1fd,#d09ce9 30%,#8251bf 67%,#36224d);box-shadow:0 12px 30px #36214d70}.hero-copy{max-width:425px}.hero-copy h2{max-width:11ch;font-size:clamp(32px,5.5vw,66px);line-height:.99;letter-spacing:-.067em;font-weight:720}.hero-copy p{margin-top:18px;color:#efe3fa;line-height:1.6;font-size:15px}.auth-content{display:grid;align-items:center;justify-content:center;padding:34px 0}.auth-form-wrap{width:min(100%,370px)}.auth-form-wrap .notice{margin-top:16px}.form-fields{display:grid;gap:19px;margin-top:26px}.password-field{display:flex;position:relative;align-items:center}.password-field input{padding-right:91px}.password-toggle{position:absolute;right:5px;padding:8px;border:0;border-radius:7px;background:transparent;color:var(--brand);font-size:12px;font-weight:680}.password-toggle:hover{background:#f4effa}.reset-link{justify-self:end;font-size:13px}.auth-submit{width:100%;margin-top:1px}.auth-switch{margin-top:23px;color:var(--muted);font-size:14px;line-height:1.6}.auth-switch a{white-space:normal}@media(max-width:940px){.auth-hero{min-height:540px}.hero-sphere{top:15%}}@media(max-width:700px){.auth-layout{grid-template-columns:minmax(0,1fr);gap:24px}.auth-hero{min-height:163px;border-radius:21px;padding:22px}.hero-copy{max-width:74%}.hero-copy h2{font-size:clamp(28px,6vw,42px);max-width:16ch}.hero-copy p{font-size:13px;margin-top:9px}.hero-sphere{top:-9%;left:88%;width:146px;opacity:.66}.hero-orbit{left:86%;width:43%;height:68%}.hero-satellite{top:55%;left:80%;width:16px}.auth-content{padding:0 2px 10px;justify-content:stretch}.auth-form-wrap{width:min(100%,390px);margin-inline:auto}}.profile-layout{padding:27px 0}.profile-heading{margin-bottom:28px}.profile-grid{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);align-items:start;gap:23px}.identity-card,.profile-card,.state-card{border-radius:22px;padding:clamp(20px,3vw,34px);min-width:0}.identity-card{display:grid;gap:20px;background:radial-gradient(ellipse at 0 0,#8858b4,transparent 76%),linear-gradient(145deg,#4d296e,#301d44);color:#fff}.avatar{display:grid;place-items:center;width:62px;height:62px;border:1px solid #e6cef680;border-radius:20px;background:#f5e8ff29;color:#fff;font-weight:650;font-size:23px;letter-spacing:-.04em}.identity-card h2{font-size:23px;line-height:1.15;overflow-wrap:anywhere}.identity-card p{margin-top:8px;color:#f1e7fa;font-size:14px;line-height:1.5}.profile-card,.state-card{background:var(--paper);border:1px solid var(--line)}.profile-card h2{font-size:22px}.profile-fields{margin-top:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.units,.profile-actions{grid-column:1 / -1}.units legend{margin-bottom:9px;color:var(--ink);font-size:14px;font-weight:650}.units-options{display:flex;flex-wrap:wrap;gap:10px}.units-options label{display:inline-flex;gap:8px;align-items:center;padding:9px 13px;min-height:43px;border:1px solid var(--line);border-radius:10px;font-size:14px;cursor:pointer}.units-options label:has(input:checked){background:#f4edfc;border-color:#a581cf}.units-options input{accent-color:var(--brand)}.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:6px}.state-card .button{margin-top:13px}.profile-layout>.notice{margin-bottom:15px}.recovery{margin-bottom:20px;border-radius:16px;background:#efe8f8;border:1px solid #dfd0ee;padding:17px 20px}.recovery h2{font-size:17px}.recovery p{margin-top:6px;font-size:14px;line-height:1.5;color:var(--muted)}.recovery-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.recovery code{display:inline-block;border-radius:8px;background:#fff;padding:10px 13px;font-size:14px;color:var(--ink);-webkit-user-select:all;user-select:all;overflow-wrap:anywhere}@media(max-width:800px){.profile-grid{grid-template-columns:minmax(0,1fr)}.identity-card{grid-template-columns:auto 1fr;align-items:center}}@media(max-width:520px){.profile-layout{padding-top:12px}.profile-fields{grid-template-columns:minmax(0,1fr)}.profile-actions .button,.profile-actions .notice{width:100%}}.patient-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px;padding-bottom:14px;border-bottom:1px solid var(--line)}.patient-nav a{min-height:42px;display:inline-flex;align-items:center;padding:8px 13px;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:14px;text-decoration:none}.patient-nav a:hover{background:#f1ebf8;color:var(--brand-hover)}.patient-nav a[aria-current=page]{background:#eee5f9;border-color:#ddcbed;color:var(--brand-hover)}.feature-page{display:grid;gap:20px}.feature-heading,.entry-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.entry-list,.cycle-details,.diary-entry,.history-entry{display:grid;gap:14px}.diary-entry h2,.history-entry h2{font-size:18px}.entry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.entry-actions p{font-size:14px}.entry-metrics{display:flex;flex-wrap:wrap;gap:12px;margin:0}.entry-metrics:empty{display:none}.entry-metrics div{min-width:min(100%,118px);padding:9px 12px;border-radius:10px;background:#f6f2fa}.entry-metrics dt{color:var(--muted);font-size:12px}.entry-metrics dd{margin:4px 0 0;font-size:16px;font-weight:680}.full-field{grid-column:1 / -1}.check-field{display:flex;gap:9px;align-items:center;font-size:14px}.check-field input{accent-color:var(--brand)}.field input[type=file]{height:auto;padding:10px}.field input[type=file]::file-selector-button{font:inherit;color:var(--brand-hover);border:0;border-radius:7px;background:#eee5f9;padding:8px 10px;margin-right:9px;cursor:pointer}.diary-photo{display:grid;justify-items:start;gap:10px}.diary-photo img{max-width:min(100%,420px);max-height:360px;object-fit:contain;border-radius:12px}.history-list{padding:0;margin:0;list-style:none}.history-time{font-size:14px;color:var(--muted)}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:18px}.calendar-heading h2{text-transform:capitalize;font-size:19px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:15px}.weekday{color:var(--muted);text-align:center;font-size:12px;padding:5px 0}.calendar-day{min-height:40px;border:1px solid transparent;border-radius:9px;color:var(--ink);background:#f7f4fa;padding:0}.calendar-day:disabled{opacity:.35;cursor:default}.calendar-day:hover:not(:disabled){border-color:#c6b1df}.calendar-day--marked{color:#4e2489;background:#e6d3f6;font-weight:690}.calendar-day[aria-pressed=true]{border-color:var(--brand)}.cycle-fields{grid-template-columns:minmax(0,1fr);gap:14px}.cycle-details .notice{margin-top:12px}.cycle-period{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;display:grid;gap:7px}@media(max-width:790px){.calendar-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:510px){.feature-heading>.button{width:100%}.patient-nav{gap:5px}.patient-nav a{font-size:13px;padding-inline:8px}}:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#261d33;background:#f7f5fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #fff;--ink: #261d33;--muted: #63596f;--brand: #6332a3;--brand-hover: #4e2489;--line: #e2dbe9;--focus: #a781d5}*,*:before,*:after{box-sizing:border-box}body{min-width:0;margin:0}:where(h1,h2,p,fieldset){margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--brand);font-weight:650;text-underline-offset:.23em}a:hover{color:var(--brand-hover)}:where(a,button,input,select):focus-visible{outline:2px solid var(--focus);outline-offset:3px}fieldset{min-inline-size:0;padding:0;border:0}.app-shell{max-width:1260px;margin-inline:auto;padding:0 clamp(18px,4vw,54px) 44px}.app-header{display:flex;justify-content:space-between;align-items:center;min-height:98px}.brand{display:inline-flex;align-items:center;gap:10px;color:#30213b;font-size:24px;font-weight:750;letter-spacing:-.06em}.brand-mark{display:inline-flex;justify-content:center;align-items:center;gap:3px;width:35px;height:35px;border-radius:11px;background:linear-gradient(150deg,#a674db,#5a299c 80%)}.brand-mark i{width:3px;height:8px;border-radius:10px;background:#fff}.brand-mark i:nth-child(2){height:15px}.brand-mark i:nth-child(3){height:11px}h1{color:var(--ink);font-size:clamp(31px,4.3vw,46px);font-weight:720;line-height:1.06;letter-spacing:-.055em}h2{font-weight:680;letter-spacing:-.025em}.section-intro{margin-top:12px;color:var(--muted);font-size:15px;line-height:1.55}.field{display:grid;gap:8px;min-width:0;color:var(--ink);font-size:14px;font-weight:650}.field small{color:var(--muted);font-size:12px;font-weight:450}.field input,.field select{display:block;width:100%;height:50px;border:1px solid #dcd4e5;border-radius:12px;background:var(--paper);padding:0 14px;color:var(--ink);font-size:16px;font-weight:450}.field input::placeholder{color:#7a7084}.field input:focus,.field select:focus{border-color:var(--brand)}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid transparent;border-radius:11px;font-size:14px;font-weight:700;line-height:1.25;text-decoration:none;transition:background-color .15s ease,border-color .15s ease}.button--primary{background:var(--brand);color:#fff}.button--primary:hover:not(:disabled){background:var(--brand-hover)}.button--secondary{background:var(--paper);color:var(--ink);border-color:var(--line)}.button--secondary:hover:not(:disabled){background:#f4effa;border-color:#c6b1df}.button--text{background:transparent;color:var(--brand)}.button--text:hover:not(:disabled){background:#e8ddef}.button--compact{min-height:40px;padding:8px 14px}.notice{border:1px solid;border-radius:10px;padding:10px 13px;font-size:14px;line-height:1.45}.notice--error{background:#fff2f3;border-color:#efc6cd;color:#852b3d}.notice--success{background:#edf8f1;border-color:#b9dec7;color:#205f3c}@media(max-width:700px){.app-header{min-height:74px}.brand{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
