.health-page{width:calc(100% - 56px);max-width:1500px;margin:auto;padding:28px 0 60px;color:#dce7e2}.health-title,.health-section-head,.batch-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.health-title{margin-bottom:22px}.health-title h1{margin:3px 0;font-size:clamp(2.2rem,4vw,3.6rem);letter-spacing:-.055em}.health-title p,.health-section-head p,.health-subsection>p{margin:0;color:#82928b}.health-title-mark{display:grid;place-items:center;width:64px;height:64px;border:1px solid #335346;border-radius:20px;background:#13251e;color:#70d69e;font-size:29px}.health-workbench{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:650px;border:1px solid #293632;border-radius:14px;overflow:hidden;background:#0d1416}.health-nav{display:grid;align-content:start;gap:4px;padding:12px;border-right:1px solid #293632;background:#0f1718}.health-nav button{padding:12px;border-color:transparent;background:transparent;text-align:left}.health-nav button.active,.health-segments button.active{border-color:#365b49;background:#152a21;color:#79dca7}.health-content{min-width:0;padding:22px}.health-section-head{margin-bottom:18px}.health-section-head h2,.health-subsection h2{margin:0 0 4px}.health-primary{border-color:#4d8f6d!important;background:#246643!important;color:#fff!important}.health-message{padding:12px 15px;border:1px solid #3b574b;border-radius:9px}.health-message.error,.issue.error{border-color:#713f42;background:#2b171a;color:#f2afb3}.health-message.success{background:#14291f;color:#83d9a7}.health-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;margin-bottom:18px}.health-filters select,.health-filters input,.health-editor input,.health-editor select,.health-editor textarea,.measure-toolbar select,.import-editor input,.import-editor select,.prescription-row select{width:100%}.health-timeline{position:relative}.health-timeline:before{content:"";position:absolute;left:8px;top:10px;bottom:10px;width:1px;background:#304139}.health-timeline article{position:relative;display:grid;grid-template-columns:18px 1fr;gap:15px;padding:0 0 22px}.health-timeline i{z-index:1;width:17px;height:17px;margin-top:3px;border:4px solid #0d1416;border-radius:50%;background:#70d69e}.health-timeline i.problem{background:#e7bd68}.health-timeline i.measurement{background:#70bde0}.health-timeline i.prescription{background:#c69ee5}.health-timeline h3,.health-timeline p{margin:3px 0}.health-timeline small,.health-cards small{color:#81918a}.health-badge{display:inline-flex;margin:5px 5px 0 0;padding:3px 7px;border:1px solid #35433e;border-radius:999px;color:#aab8b2;font-size:10px}.health-badge.ready{border-color:#376b52;color:#77dca5}.health-badge.review{border-color:#6b5937;color:#e7c16f}.health-badge.rejected{border-color:#704145;color:#e99ca3}.health-empty{display:grid;place-items:center;min-height:150px;padding:25px;border:1px dashed #31413b;border-radius:12px;color:#778881;text-align:center}.health-cards{display:grid;gap:8px}.health-cards article,.prescription-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #26342f;border-radius:10px;background:#10191a}.health-cards h3,.health-cards p{margin:3px 0}.health-card-actions{display:flex;gap:6px}.danger{border-color:#653c40!important;color:#e8a0a5!important}.health-editor label,.measure-toolbar label,.import-fields label{display:grid;gap:6px;color:#9caca5;font-size:11px}.health-editor textarea{min-height:90px}.measure-toolbar{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:12px}.measure-toolbar label{min-width:240px}.health-segments{display:flex;gap:5px;flex-wrap:wrap}.health-segments button{min-height:36px;padding:7px 10px}.health-segments.standalone{margin-bottom:14px}.health-chart{padding:16px 5px 4px;border:1px solid #26342f;border-radius:12px;background:#0b1213}.health-chart p{color:#71827a;font-size:10px;text-align:center}.health-cards.compact{margin-top:12px}.health-subsection{margin-top:28px;padding-top:20px;border-top:1px solid #293632}.prescription-row{display:grid;grid-template-columns:minmax(150px,1fr) 200px 200px;margin-top:7px}.csv-drop{display:grid;place-items:center;gap:5px;padding:30px;border:1px dashed #3b5c4e;border-radius:12px;background:#102019;text-align:center;cursor:pointer}.csv-drop span{color:#82928b;font-size:11px}.csv-drop input{max-width:250px;margin-top:8px}.health-batches{display:grid;gap:7px;margin-top:18px}.health-batches>button{display:flex;justify-content:space-between;text-align:left}.batch-summary{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:1px;margin:18px 0;background:#293632}.batch-summary>div{display:grid;gap:3px;padding:14px;background:#11191a}.batch-summary strong{font-size:18px}.batch-summary small{color:#7e8f87}.batch-actions{flex-wrap:wrap;margin-bottom:14px}.import-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px}.import-rows{display:grid;align-content:start;gap:5px}.import-rows>button{display:flex;align-items:center;gap:8px;padding:9px;text-align:left}.import-rows>button.active{border-color:#4d896b;background:#14251e}.import-rows span{display:grid;min-width:0}.import-rows small{overflow:hidden;color:#7c8e86;text-overflow:ellipsis}.import-editor{min-width:0;padding:16px;border:1px solid #2b3b35;border-radius:12px;background:#101819}.import-editor header{display:flex;justify-content:space-between}.import-editor h3{margin:2px 0}.issue{padding:10px;margin:10px 0;border:1px solid #66552f;border-radius:8px;background:#282315;color:#e1c477}.issue p{margin:4px 0;font-size:11px}.import-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:560px;margin:12px 0;padding-right:5px;overflow:auto}.import-result{display:flex;gap:20px;flex-wrap:wrap;padding:14px;margin-bottom:12px;border:1px solid #385544;border-radius:10px;background:#112019}.import-result span{display:grid}.import-result b{font-size:20px}.import-result p{width:100%;margin:0;color:#d6bc7c}@media(max-width:900px){.health-page{width:calc(100% - 24px);padding-top:70px}.health-workbench{grid-template-columns:1fr}.health-nav{grid-template-columns:repeat(3,1fr);border-right:0;border-bottom:1px solid #293632}.health-filters{grid-template-columns:1fr 1fr}.import-layout{grid-template-columns:1fr}.import-rows{max-height:260px;overflow:auto}.prescription-row{grid-template-columns:1fr}}@media(max-width:560px){.health-content{padding:13px}.health-nav{display:flex;overflow:auto}.health-nav button{white-space:nowrap}.health-title-mark{display:none}.health-section-head,.measure-toolbar{align-items:stretch;flex-direction:column}.health-filters,.health-editor,.import-fields,.batch-summary{grid-template-columns:1fr}.health-card-actions{flex-direction:column}}.health-page{width:100%;padding:0 0 36px}.health-title{margin:2px 2px 14px}.health-title h1{font-size:2.1rem}.health-title-mark{display:none}.health-workbench{display:block;min-height:0;border:0;background:transparent}.health-nav{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:12;display:flex;gap:6px;margin:0 -12px 14px;padding:8px 12px;overflow-x:auto;border:0;border-bottom:1px solid var(--line);background:#090d0ff2;scrollbar-width:none}.health-nav button{flex:0 0 auto;min-height:40px;padding:8px 12px;white-space:nowrap}.health-content{padding:0}.health-section-head{align-items:stretch;flex-direction:column}.health-section-head>button{width:100%}.health-filters{display:flex;margin:0 -2px 14px;padding:2px;overflow-x:auto}.health-filters>*{flex:0 0 165px}.health-timeline article{padding-bottom:18px}.health-cards article{align-items:stretch;flex-direction:column}.health-card-actions{display:grid;grid-template-columns:1fr 1fr}.measure-toolbar{align-items:stretch;flex-direction:column}.measure-toolbar label{min-width:0}.health-segments{display:grid;grid-template-columns:repeat(3,1fr)}.health-chart{margin:0 -5px}.prescription-row{grid-template-columns:1fr}.batch-summary{grid-template-columns:1fr 1fr}.batch-summary>div:first-child{grid-column:1/-1}.batch-actions{align-items:stretch;flex-direction:column}.batch-actions .health-segments{width:100%}.batch-actions>button{width:100%}.import-layout{grid-template-columns:1fr}.import-rows{max-height:none}.import-fields{grid-template-columns:1fr;max-height:none}.import-editor{padding:13px}.csv-drop{padding:22px 14px}.health-batches>button{align-items:flex-start;flex-direction:column;gap:4px}.import-result{display:grid;grid-template-columns:1fr 1fr}.recharts-wrapper{touch-action:pan-y}.source-details{margin:12px 0;padding:11px;border:1px solid #2b3b35;border-radius:10px}.source-details summary{min-height:44px;display:flex;align-items:center;color:#aebcb6;font-size:13px;font-weight:700}.source-details .import-fields{margin-bottom:0}.import-fields.business{max-height:none}.health-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.health-nav button{min-width:0;min-height:44px;padding:6px 4px;white-space:normal;font-size:10px;line-height:1.15}.health-content{position:relative;z-index:1}.health-overview{display:grid;gap:16px}.health-overview-loading{display:grid;min-height:240px;place-items:center;color:#82928b}.overview-section{min-width:0;padding:18px;border:1px solid #293832;border-radius:14px;background:#10191a}.overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.overview-heading h2{display:flex;align-items:center;gap:9px;margin:2px 0 0;font-size:20px}.overview-heading h2 b,.overview-heading>span{display:inline-grid;min-width:28px;height:28px;padding:0 8px;place-items:center;border:1px solid #365b49;border-radius:999px;background:#152a21;color:#79dca7;font-size:13px}.overview-kicker{color:#779087;font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.overview-problem-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.overview-problem-list article{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #283730;border-radius:10px;background:#0d1516}.overview-problem-list h3,.overview-problem-list p{margin:0}.overview-problem-list p{margin-top:4px;color:#91a098;font-size:12px}.overview-problem-list span{flex:none;color:#8fa098;font-size:10px}.overview-columns{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px}.overview-measures,.overview-event-list{display:grid;gap:1px;background:#26342f}.overview-measures article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 12px;background:#10191a}.overview-measures h3,.overview-measures strong{margin:0;font-size:13px}.overview-measures small,.overview-event-list time,.linked-row small{color:#81918a;font-size:10px}.overview-measures strong{font-size:16px;text-align:right}.overview-event-list article{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:11px 0;background:#10191a}.overview-event-list h3,.overview-event-list p{margin:0}.overview-event-list h3{font-size:13px}.overview-event-list p{margin-top:3px;color:#81918a;font-size:11px}.overview-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-chart-grid>article{min-width:0;padding:13px 10px 8px;border:1px solid #26342f;border-radius:11px;background:#0c1415}.overview-chart-grid header{display:flex;align-items:center;justify-content:space-between;padding:0 5px}.overview-chart-grid h3{margin:0;font-size:13px}.overview-chart-grid header span{color:#82928b;font-size:11px}.overview-chart{height:170px;margin-top:8px}.overview-linked-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.overview-linked-grid>article{min-width:0;padding:13px;border:1px solid #26342f;border-radius:10px;background:#0d1516}.overview-linked-grid h3{margin:0 0 8px;font-size:13px}.linked-row{display:grid;gap:2px;padding:8px 0;border-top:1px solid #25332e}.linked-row strong{font-size:12px}.linked-row small{overflow:hidden;text-overflow:ellipsis}.overview-unavailable,.overview-quiet{margin:0;color:#9aaaa3;font-size:12px}.overview-quiet{padding:18px 0}.overview-quiet.compact{padding:4px 0}.overview-unavailable{color:#d6bc7c}.overview-footer{display:flex;justify-content:flex-end}.overview-footer button{min-height:42px;border-color:#365b49;color:#8fe1b2}@media(max-width:900px){.overview-problem-list,.overview-columns,.overview-chart-grid{grid-template-columns:1fr}.overview-linked-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.health-overview{gap:12px}.overview-section{padding:15px;border-radius:12px}.overview-problem-list,.overview-columns,.overview-chart-grid,.overview-linked-grid{grid-template-columns:1fr}.overview-problem-list article{padding:12px}.overview-measures article{align-items:flex-start}.overview-measures strong{max-width:46%;font-size:15px}.overview-event-list article{grid-template-columns:80px 1fr}.overview-chart-grid{display:flex;margin:0 -15px;padding:0 15px 5px;overflow-x:auto;scroll-snap-type:x mandatory}.overview-chart-grid>article{flex:0 0 min(84vw,340px);scroll-snap-align:start}.overview-chart{height:190px}.overview-linked-grid{display:grid}.overview-linked-grid>article{padding:14px}.linked-row{padding:10px 0}.overview-footer button{width:100%;min-height:48px}.overview-trends{overflow:hidden}.overview-heading h2{font-size:19px}.health-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-collapsible{padding:0;overflow:hidden}.overview-collapsible>.overview-heading{width:100%;min-height:58px;display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0;padding:11px 16px;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:#dce7e2;text-align:left;cursor:pointer}.overview-collapsible>.overview-heading[aria-expanded=true]{border-bottom-color:#293832}.overview-collapsible>.overview-heading:hover{background:#ffffff06}.overview-chevron{flex:0 0 18px;color:#9fc8b1!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;min-width:0!important;height:auto!important;font-size:23px!important;line-height:1}.overview-heading-copy{min-width:0;flex:1;display:grid}.overview-heading-copy small{color:#779087;font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.overview-heading-copy strong{font-size:20px;letter-spacing:-.02em}.overview-count{display:inline-grid;min-width:28px;height:28px;padding:0 8px;place-items:center;border:1px solid #365b49;border-radius:999px;background:#152a21;color:#79dca7;font-size:13px}.overview-content{padding:14px 16px 16px}.overview-problems-more,.overview-trends-mobile{display:none}.overview-linked.empty .overview-content{padding-top:8px;padding-bottom:10px}.health-title{margin:0 2px 4px}.health-title h1{margin:0;line-height:1}.health-title .eyebrow{margin:0 0 3px}.health-nav{display:flex;grid-template-columns:none;flex-wrap:nowrap;gap:5px;margin:0 -12px 10px;padding:6px 12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.health-nav::-webkit-scrollbar{display:none}.health-nav button{flex:0 0 auto;min-width:max-content;min-height:36px;padding:7px 10px;white-space:nowrap;font-size:10px;line-height:1}.health-overview{gap:10px}.overview-collapsible>.overview-heading{min-height:52px;padding:9px 12px}.overview-heading-copy strong{font-size:17px}.overview-content{padding:10px 12px 12px}.overview-problem-list{gap:6px}.overview-problem-list article{padding:9px 10px}.overview-problem-list h3{font-size:13px}.overview-problem-list p{display:-webkit-box;margin-top:3px;overflow:hidden;font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.overview-problem-list .problem-extra{display:none}.overview-problems.expanded .problem-extra{display:flex}.overview-problems-more{display:block;width:100%;min-height:38px;margin-top:8px;border-color:#30483d;background:#111e19;color:#9fd2b4}.overview-chart-grid{display:none}.overview-trends-mobile{display:block;min-width:0}.overview-trend-tabs{display:flex;gap:6px;margin:0 -12px 10px;padding:0 12px 3px;overflow-x:auto;scrollbar-width:none}.overview-trend-tabs::-webkit-scrollbar{display:none}.overview-trend-tabs button{flex:0 0 auto;min-height:34px;padding:6px 10px;border-color:#304139;border-radius:999px;background:#0d1516;color:#9caaa4;font-size:10px;white-space:nowrap}.overview-trend-tabs button.active{border-color:#4d8f6d;background:#193126;color:#8fe1b2}.overview-trends-mobile .overview-chart-card{width:100%;padding:11px 7px 5px}.overview-trends-mobile .overview-chart-card header{display:flex;align-items:center;justify-content:space-between;padding:0 5px}.overview-trends-mobile .overview-chart-card h3{margin:0;font-size:13px}.overview-trends-mobile .overview-chart-card header span{color:#82928b;font-size:11px}.overview-trends-mobile .overview-chart{height:200px}.overview-linked.empty .overview-content{padding:6px 12px 8px}.overview-linked.empty .overview-quiet{padding:0}.overview-footer{margin-top:0}.health-overview-section{margin:0;padding:13px;border:1px solid #29363b;border-radius:12px;background:#10171c}.health-overview-section .collapsible-heading{width:100%;min-height:52px;display:flex;align-items:center;gap:.8rem;padding:.65rem 0;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:#eef3f0;text-align:left}.health-overview-section .collapsible-heading[aria-expanded=true]{border-bottom-color:#2a383d}.health-overview-section .collapsible-chevron{flex:0 0 1.2rem;color:#9fc8b1;font-size:1.5rem;line-height:1}.health-overview-section .collapsible-title{min-width:0;flex:1;display:block}.health-overview-section .collapsible-title strong{font-size:1.05rem;font-weight:650;letter-spacing:-.015em}.health-overview-section .collapsible-count{min-width:2rem;padding:.2rem .55rem;border-radius:999px;background:#17231e;color:#b9d4c5;text-align:center;font-size:.78rem}.health-overview-section .collapsible-content{padding-top:.7rem}.health-overview-section.empty .collapsible-content{padding-top:.3rem}.health-overview-section.empty .overview-quiet{padding:0}.health-nav{position:static;display:flex;width:100%;max-width:100%;gap:.3rem;margin:0 0 12px;padding:.35rem;overflow-x:auto;overflow-y:hidden;border:1px solid #29363b;border-radius:12px;background:#0d1519;scrollbar-width:none}.health-nav button{flex:0 0 auto;min-width:max-content;min-height:40px;padding:.55rem .8rem;border:1px solid transparent;border-radius:9px;background:transparent;white-space:nowrap}.health-nav button.active{border-color:transparent;background:#8bc6a3;color:#08110c;font-weight:700}.health-title{margin-bottom:8px}.health-workbench{overflow:visible}.measure-series-chart{height:230px}.health-editor input[readonly],.import-editor input[readonly]{border-color:#30483d;background:#111a17;color:#b9d4c5}.health-editor label>small,.import-editor label>small{color:#7f9288;font-size:10px}.measurement-editor>button.wide{min-height:44px}.import-editor label input,.import-editor label select{min-width:0;max-width:100%}.mobile-health-link-directory{display:grid;gap:8px;margin-top:16px}.mobile-health-link-directory>h2,.mobile-health-link-directory>p{margin:0}.mobile-health-link-directory>p{color:var(--muted);font-size:10px}.mobile-health-link-directory details{padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.mobile-health-link-directory summary{font-weight:700}.health-medication-links{display:grid;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line-soft)}.health-medication-links>header,.health-medication-links>header>div,.mobile-linked-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.health-medication-links>header>div{align-items:flex-start;flex-direction:column}.health-medication-links small{color:var(--muted)}.mobile-linked-row{padding:8px;border-radius:8px;background:#14201c}.mobile-link-picker{display:grid;gap:12px;padding:10px;border:1px solid #355746;border-radius:10px;background:#0b1214}.mobile-link-picker h4,.mobile-link-picker p{margin:0 0 7px}.mobile-link-picker label{display:flex;align-items:flex-start;gap:8px;padding:7px 3px}.mobile-link-picker label span{display:grid}.health-link-error{color:#e99b9b;font-size:10px}.health-page button,.mobile-health button{min-height:44px;padding:9px 11px;border:1px solid #2d4138;border-radius:9px;background:#14201b;color:#f1f6f3;font-weight:700}.health-page .health-primary,.mobile-health .health-primary{border-color:#4a956d;background:#7fd0a2;color:#07110c}.health-page button.danger,.mobile-health button.danger{border-color:#70464b;background:#1d1517;color:#f29ba2}.health-page .health-cards>article,.mobile-health .health-cards>article{display:grid;gap:10px;padding:13px;border:1px solid #293d34;border-radius:11px;background:#101815}.health-page .health-card-actions,.mobile-health .health-card-actions{display:flex;gap:6px;flex-wrap:wrap}.health-medication-links{display:grid;gap:8px;padding-top:9px;border-top:1px solid #213129}.health-links-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.health-links-heading>div{display:grid;gap:2px}.health-links-heading small{color:#81988d}.mobile-link-picker,.health-link-picker{position:fixed;z-index:120;left:0;right:0;bottom:0;max-height:78dvh;overflow:auto;display:grid;gap:12px;padding:16px 14px calc(18px + env(safe-area-inset-bottom));border:1px solid #39684f;border-bottom:0;border-radius:16px 16px 0 0;background:#0d1512;box-shadow:0 -18px 60px #000000a6}.mobile-link-picker label,.health-link-picker label{display:flex;gap:9px;padding:9px 4px;border-bottom:1px solid #203129}.health-page input,.health-page select,.health-page textarea,.mobile-health input,.mobile-health select,.mobile-health textarea{border:1px solid #2c4037;border-radius:9px;background:#0d1512;color:#eef5f1}.csv-drop{border:1px dashed #3b6c52;border-radius:11px;background:#102019}.health-segments button.active{border-color:#4f9b72;background:#7fd0a2;color:#07110c}.health-page nav,.mobile-health nav,.health-tabs{display:flex;align-items:center;gap:4px;width:100%;padding:4px;overflow-x:auto;overflow-y:hidden;border:1px solid #293d35;border-radius:12px;background:#0f1715;scrollbar-width:none;-webkit-overflow-scrolling:touch}.health-page nav::-webkit-scrollbar,.mobile-health nav::-webkit-scrollbar,.health-tabs::-webkit-scrollbar{display:none}.health-page nav button,.mobile-health nav button,.health-tabs button{flex:0 0 auto;min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:10px;background:transparent;color:#83978e;white-space:nowrap;font-size:13px;font-weight:650}.health-page nav button.active,.mobile-health nav button.active,.health-tabs button.active{border-color:#365b49;background:#193b2b;color:#7bd6a4}.health-page nav button:not(.active):hover,.mobile-health nav button:not(.active):hover,.health-tabs button:not(.active):hover{background:#14201b;color:#cbd8d2}.health-page button.danger,.mobile-health button.danger,.health-page .danger-button,.mobile-health .danger-button{border-color:#493638;background:transparent;color:#c9878c}.health-page button.danger:active,.mobile-health button.danger:active,.health-page .danger-button:active,.mobile-health .danger-button:active{border-color:#805057;background:#241719;color:#f09aa2}.health-medication-links{gap:5px;padding-top:7px;border-top:1px solid #1d2b26}.health-links-heading{min-height:32px}.health-links-heading strong{color:#91a79d;font-size:10px;font-weight:700}.health-links-heading small{color:#667a71;font-size:9px}.health-links-heading>button{min-height:34px!important;padding:5px 9px!important;font-size:11px}.health-medication-links:not(:has(.mobile-linked-row)){opacity:.78}.health-medication-links:not(:has(.mobile-linked-row)):focus-within{opacity:1}.mobile-linked-row{min-height:36px;padding:6px 8px;font-size:11px}.mobile-linked-row button{min-height:30px!important;padding:4px 7px!important;font-size:10px}.health-prescriptions-list{display:grid;gap:10px}.health-prescription-card{display:grid;gap:12px;padding:13px;border:1px solid #293d34;border-radius:11px;background:#101815}.health-prescription-main>small{color:#81988e}.health-prescription-main h3{margin:4px 0 6px}.health-prescription-main p{margin:8px 0 0;color:#cbd8d2}.health-prescription-meta{display:grid;gap:3px;color:#81988e;font-size:11px}.health-prescription-treatments{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.health-prescription-treatments span{padding:5px 8px;border:1px solid #315343;border-radius:999px;background:#14231c;color:#a8d8bf;font-size:10px}.health-prescriptions-archive{display:grid;gap:9px;margin-top:16px}.health-prescriptions-archive-toggle{display:flex;align-items:center;justify-content:space-between;width:100%}.health-prescription-treatment-picker{display:grid;gap:5px;padding:11px;border:1px solid #2b4036;border-radius:9px}.health-prescription-treatment-picker>label{display:flex;align-items:center;gap:9px;min-height:44px;padding:7px;border-bottom:1px solid #1d2c27}.health-prescription-treatment-picker>label span{display:grid}.health-prescription-treatment-picker small{color:#81988e}.modal-layer>.sheet .modal-layer>.sheet.health-editor>header{position:sticky;top:-14px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-14px -14px 2px;padding:14px;border-bottom:1px solid var(--line-soft);background:#101718}.modal-layer>.sheet.health-editor>header h2{margin:0}.modal-layer>.sheet.health-editor>header button{flex:0 0 40px;width:40px;min-height:40px;padding:0}.modal-layer>.sheet.health-editor>label{min-width:0;display:grid;gap:6px}.modal-layer>.sheet.health-editor>footer{position:sticky!important;bottom:-14px!important;z-index:4;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:4px -14px -14px!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--line-soft);background:#101718!important}.modal-layer>.sheet.health-editor .wide,.modal-layer>.sheet.health-editor>header,.modal-layer>.sheet.health-editor>footer{grid-column:auto!important}.modal-layer>.sheet.health-prescription-editor .health-prescription-treatment-picker{width:100%!important;min-height:0!important;max-height:250px!important;overflow-y:auto!important}.modal-layer>.sheet.health-prescription-editor>footer{position:sticky!important;bottom:-14px!important}.modal-layer>.sheet .modal-layer>.sheet .modal-layer>.sheet.health-editor>header{top:-14px!important;margin:-14px -14px 12px!important}.modal-layer>.sheet.health-editor>footer{bottom:-14px!important;margin:12px -14px -14px!important}.modal-layer>.sheet.health-prescription-editor,.modal-layer>.sheet.measurement-editor{min-height:100%!important}.modal-layer>.mobile-sheet-form.health-editor{width:min(100%,620px)!important;max-width:620px!important;height:100%!important;max-height:100%!important;padding:14px!important;background:#101718;box-shadow:0 24px 80px #0000008c}.modal-layer>.mobile-sheet-form.health-editor .wide{grid-column:auto!important}.modal-layer>.mobile-sheet-form.health-editor textarea{min-height:90px}.health-prescription-treatment-picker{display:grid;gap:0;width:100%;max-height:250px;overflow-y:auto;padding:8px;border:1px solid #2b4036;border-radius:9px}.health-prescription-treatment-picker>label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;min-height:46px;margin:0;padding:7px 5px;border-bottom:1px solid #1d2c27}.health-prescription-treatment-picker>label:last-child{border-bottom:0}.health-prescription-treatment-picker input[type=checkbox]{position:static;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important}.health-prescription-treatment-picker>label>span{min-width:0;display:grid;gap:2px;justify-items:start;text-align:left}.health-prescription-treatment-picker strong,.health-prescription-treatment-picker small{position:static;display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere}.health-prescription-treatment-picker small{color:#81988e;font-size:10px}.modal-layer>.mobile-sheet-form.health-editor input:not([type=checkbox]):not([type=radio]),.modal-layer>.mobile-sheet-form.health-editor select{min-height:40px!important;height:40px!important;padding:6px 9px!important;font-size:16px!important}.modal-layer>.mobile-sheet-form.health-editor textarea{min-height:72px!important;padding:8px 9px!important;font-size:16px!important}.health-card-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:6px!important;flex-wrap:wrap}.health-card-actions button{width:auto!important;min-width:0!important;min-height:36px!important;padding:5px 9px!important;font-size:11px!important;flex:0 0 auto}.health-nav,.health-tabs,.health-page nav,.mobile-health nav{position:static;margin:0 0 12px;border-color:var(--line);background:#0c1315}.health-nav button,.health-tabs button,.health-page nav button,.mobile-health nav button{min-height:40px;padding:5px 7px;border-radius:8px;font-size:10px;line-height:1.1}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#edf5f1;background:#090d0f;color-scheme:dark;font-synthesis:none;--bg:#090d0f;--surface:#101719;--surface-2:#151f21;--line:#273537;--line-soft:#1c292b;--text:#edf5f1;--muted:#8a9b95;--green:#7bd2a3;--green-soft:#183126;--danger:#f19b9b;--header-height:54px}*{box-sizing:border-box}html{min-width:0;overflow-x:hidden;background:var(--bg)}body{min-width:0;min-height:100vh;min-height:100dvh;margin:0;overflow-x:hidden;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}button:disabled{opacity:.55}a{color:var(--green)}.mobile-shell{min-height:100vh;min-height:100dvh}.app-header{position:fixed;inset:0 0 auto;z-index:30;height:calc(var(--header-height) + env(safe-area-inset-top));display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:6px;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));border-bottom:1px solid var(--line-soft);background:#0a0f11f0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;font-size:22px}.brand{justify-self:start;display:flex;align-items:center;gap:9px;padding:0 8px;border:0;background:transparent}.brand>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #46705d;border-radius:8px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:900}.brand strong{font-size:15px}.header-spacer{width:44px}.app-content{width:min(100%,900px);min-width:0;margin:0 auto;padding:calc(var(--header-height) + env(safe-area-inset-top) + 18px) max(12px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.drawer-scrim{position:fixed;inset:0;z-index:39;width:100%;height:100%;border:0;border-radius:0;background:#000000a8}.drawer{position:fixed;inset:0 auto 0 0;z-index:40;width:min(82vw,310px);display:flex;flex-direction:column;gap:5px;padding:calc(10px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));background:#0d1416;box-shadow:20px 0 70px #00000080}.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:0 4px 10px;border-bottom:1px solid var(--line)}.drawer>button{width:100%;padding:0 14px;border-color:transparent;background:transparent;text-align:left}.drawer>button.active{border-color:#315444;background:var(--green-soft);color:var(--green)}.drawer{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0;overflow:hidden}.drawer-head{min-height:52px;margin-bottom:5px}.drawer-brand{min-width:0;display:flex;align-items:center;gap:10px}.drawer-brand>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #46705d;border-radius:9px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:900}.drawer-brand>div{min-width:0;display:grid;gap:1px}.drawer-brand strong{font-size:14px}.drawer-brand small{color:var(--muted);font-size:8px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.drawer-navigation{min-width:0;overflow-x:hidden;overflow-y:auto;padding:2px 2px 10px;overscroll-behavior:contain}.drawer-navigation section{display:grid;gap:3px;margin-bottom:9px}.drawer-navigation h2{margin:0;padding:5px 9px 3px;color:#64766f;font-size:8px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.drawer-item{width:100%;min-width:0;min-height:40px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#aebbb6;text-align:left;text-decoration:none;box-shadow:none}.drawer-item:hover{border-color:var(--line);background:#141d1f}.drawer-item.active{border-color:#315143;background:var(--green-soft);color:var(--green);box-shadow:inset 2px 0 var(--green)}.drawer-item.unavailable{opacity:.46}.drawer-item span{min-width:0;font-size:12px;font-weight:650}.drawer-item small{color:#75867f;font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.drawer-item b{color:var(--muted);font-size:11px}.drawer-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.drawer-footer{display:grid;gap:5px;padding:8px 2px 0;border-top:1px solid var(--line)}.drawer-account{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) 38px;align-items:center;gap:8px;padding:7px 5px}.account-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#1b2925;color:var(--green);font-size:12px;font-weight:850}.drawer-account>div{min-width:0;display:grid;gap:2px}.drawer-account strong,.drawer-account small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-account strong{font-size:10px}.drawer-account small{color:var(--muted);font-size:8px}.drawer-account>button{display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:0;border-color:transparent;background:transparent;color:#8c9b95}.drawer-account>button:hover{background:#1b2325;color:var(--danger)}@media(orientation:landscape)and (max-height:600px){.drawer{width:min(64vw,350px)}.drawer-navigation section{margin-bottom:5px}.drawer-item{min-height:36px}.drawer-navigation h2{padding-top:3px}.drawer-footer{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center}.drawer-account{padding-block:3px}}.eyebrow{margin:0 0 4px;color:var(--green);font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}h1,h2,p{overflow-wrap:anywhere}.home-page h1{margin:0;font-size:clamp(2rem,9vw,3.2rem);letter-spacing:-.05em}.lead{margin:9px 0 28px;color:var(--muted);font-size:14px}.module-card{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;text-align:left}.module-card>span:nth-child(2){min-width:0;display:grid;gap:4px}.module-card small{color:var(--muted)}.module-card b{font-size:24px}.module-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--green-soft);color:var(--green);font-weight:800}.agenda-page{min-width:0}.agenda-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.agenda-title-row>div{min-width:0}.agenda-title-row h1{margin:0;font-size:clamp(1.45rem,6vw,2rem);line-height:1.1;letter-spacing:-.035em;text-transform:capitalize}.create-button{flex:0 0 46px;width:46px;height:46px;padding:0;border-color:#3e7059;background:var(--green);color:#092016;font-size:26px;font-weight:500}.day-navigation{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:7px;margin-bottom:12px}.day-navigation button{padding:0 8px}.day-navigation button:nth-child(2){font-size:13px;font-weight:700}.notice{margin:9px 0;padding:10px 12px;border:1px solid;border-radius:9px;font-size:12px}.notice.success{border-color:#315441;background:#11241b;color:#a9dfc1}.notice.error{border-color:#633e3e;background:#251616;color:#f1b1b1}.all-day-strip{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;align-items:start;margin-bottom:8px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.all-day-strip>span{padding-top:8px;color:var(--muted);font-size:9px;text-transform:uppercase}.all-day-strip>div{min-width:0;display:grid;gap:5px}.all-day-strip button{min-height:36px;padding:7px 9px;border-color:#47725e;background:var(--green-soft);font-size:11px;text-align:left}.day-grid{display:grid;grid-template-columns:58px minmax(0,1fr);width:100%;min-width:0;height:calc(100dvh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:420px;max-height:760px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--surface);scrollbar-gutter:stable}.time-column{position:relative;border-right:1px solid var(--line);background:#0d1416}.time-column span{position:absolute;right:7px;transform:translateY(-50%);color:#768981;font-size:10px;white-space:nowrap}.events-column{position:relative;min-width:0;background:#0f1718}.hour-line{position:absolute;left:0;right:0;height:1px;background:var(--line-soft);pointer-events:none}.event-card{position:absolute;left:5px;right:5px;z-index:2;min-width:0;min-height:34px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;overflow:hidden;padding:5px 8px;border-color:#4b8068;border-radius:7px;background:#234b39;color:#f0faf5;text-align:left;line-height:1.15}.event-card strong,.event-card span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-card strong{font-size:12px}.event-card span{color:#c0dbc9;font-size:10px}.now-line{position:absolute;left:0;right:0;z-index:4;height:2px;background:#ef7777;pointer-events:none}.now-line:before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#ef7777}.grid-loading{position:sticky;top:10px;z-index:5;width:max-content;margin:10px auto;padding:6px 9px;border-radius:999px;background:#182326;color:var(--muted);font-size:11px}.page-state,.empty-state{min-height:60dvh;display:grid;place-items:center;align-content:center;gap:12px;text-align:center}.page-state p,.empty-state p{margin:0;color:var(--muted)}.empty-state h1{margin:0}.empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:var(--green-soft);color:var(--green);font-size:24px;font-weight:800}.spinner{width:30px;height:30px;border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.primary-button{border-color:#4d8a6b;background:var(--green);color:#092016;font-weight:800}.danger-button{color:var(--danger)}.modal-layer{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;padding:12px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#000000b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.sheet{width:min(100%,620px);max-height:min(88dvh,780px);overflow:auto;padding:10px 16px 16px;border:1px solid #344548;border-radius:18px;background:#11191b;box-shadow:0 24px 80px #0000008c}.sheet-head{position:sticky;top:-10px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -4px 12px;padding:8px 4px;background:#11191b}.sheet-head h2{margin:0;font-size:19px}.sheet-head>button{flex:0 0 40px;width:40px;min-height:40px;padding:0;border:0;background:transparent;font-size:24px}.sheet-handle{position:absolute;top:0;left:50%;width:42px;height:4px;border-radius:4px;background:#435154;transform:translate(-50%)}.event-detail h2{margin:0 0 18px;font-size:24px}.detail-row{display:grid;gap:5px;margin:0;padding:13px 0;border-top:1px solid var(--line-soft);color:#d7e1dd;font-size:13px;white-space:pre-wrap}.detail-row span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.text-link{display:inline-flex;min-height:44px;align-items:center}.sheet-actions,.form-actions{display:flex;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line-soft)}.sheet-actions button,.form-actions button{flex:1}.event-form{display:grid;gap:12px}.event-form label{min-width:0;display:grid;gap:6px;color:#aab8b2;font-size:11px;font-weight:700}.event-form input,.event-form select,.event-form textarea{width:100%;min-width:0;min-height:44px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#0b1214;color:var(--text)}.event-form textarea{resize:vertical}.date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.repeat-fields{min-width:0;display:grid;gap:10px;margin:0;padding:12px;border:1px solid var(--line);border-radius:10px}.repeat-fields legend{padding:0 5px;color:var(--muted);font-size:11px}.weekday-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.weekday-picker button{min-width:0;min-height:36px;padding:0 2px;font-size:9px}.weekday-picker button.active{border-color:#4b8068;background:var(--green-soft);color:var(--green)}.scope-sheet{display:grid;gap:7px}.scope-sheet h2,.scope-sheet p{margin:0}.scope-sheet p{margin-bottom:6px;color:var(--muted)}.scope-sheet>button{text-align:left;padding:0 12px}@media(orientation:landscape)and (max-height:600px){:root{--header-height:48px}.app-content{padding-top:calc(var(--header-height) + env(safe-area-inset-top) + 10px)}.agenda-title-row{margin-bottom:7px}.agenda-title-row h1{font-size:1.35rem}.day-navigation{position:absolute;top:calc(var(--header-height) + env(safe-area-inset-top) + 10px);right:max(12px,env(safe-area-inset-right));width:min(44vw,310px);margin:0}.day-grid{height:calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:260px;max-height:none}.form-layer{align-items:stretch}.event-form{max-height:none}}@media(max-width:520px){.date-fields{grid-template-columns:1fr}.sheet{border-radius:16px 16px 10px 10px}}.medication-page,.med-view{min-width:0}.med-page-title{margin-bottom:12px}.med-page-title h1,.med-heading h2{margin:0;letter-spacing:-.035em}.med-page-title h1{font-size:clamp(1.65rem,7vw,2.2rem)}.med-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 12px}.med-heading>div{min-width:0}.med-heading h2{font-size:clamp(1.35rem,6vw,1.8rem)}.med-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#0c1315}.med-tabs button{min-width:0;min-height:40px;padding:5px 2px;border-color:transparent;background:transparent;color:var(--muted);font-size:clamp(8px,2.5vw,11px)}.med-tabs button.active{background:var(--green-soft);color:var(--green)}.med-day-nav{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:6px;margin-bottom:12px}.med-day-nav input{min-width:0;width:100%;padding:0 6px;border:1px solid var(--line);border-radius:9px;background:#0d1416;color:var(--text);text-align:center}.med-section{min-width:0;margin:10px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.section-title,.med-section>summary{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title h3{margin:0;font-size:14px}.section-title span,.med-section>summary b{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:10px}.med-section>summary{min-height:36px;cursor:pointer;font-weight:750;list-style:none}.med-section>summary::-webkit-details-marker{display:none}.med-empty{margin:16px 0;color:var(--muted);font-size:12px;text-align:center}.dose-list,.treated-list,.history-cards,.treatment-list,.medicine-list,.package-list,.report-list{display:grid;gap:9px;margin-top:10px}.dose-card,.treated-card,.history-card,.treatment-card,.medicine-list>article,.package-card,.report-list>article{min-width:0;padding:12px;border:1px solid var(--line-soft);border-radius:10px;background:#0d1416}.dose-select{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:start}.dose-select input{width:20px;height:20px;margin:2px 0}.dose-select span{min-width:0;display:grid;gap:3px}.dose-select time{color:var(--green);font-size:11px;font-weight:800}.dose-select strong{font-size:14px}.dose-select small{color:var(--muted);font-size:11px}.dose-select em{width:max-content;padding:3px 6px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:9px;font-style:normal}.dose-actions,.card-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.dose-actions button,.card-buttons button{flex:1 1 auto;min-height:40px;padding:6px 9px;font-size:11px}.batch-bar{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;margin:10px -5px -5px;padding:8px;border:1px solid #3b5b4d;border-radius:10px;background:#0f1916f5;box-shadow:0 10px 30px #0006}.batch-bar span{font-size:10px}.batch-bar button{min-height:38px;padding:5px 8px;font-size:10px}.simple-list{display:grid;gap:6px;margin-top:10px}.simple-list>button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;text-align:left}.simple-list span{display:grid;gap:2px}.simple-list small{color:var(--muted)}.simple-list b{color:var(--green);font-size:10px}.treated-card,.history-card{padding:0;overflow:hidden}.treated-card>summary,.history-card>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:58px;padding:9px;cursor:pointer;list-style:none}.treated-card>summary::-webkit-details-marker,.history-card>summary::-webkit-details-marker{display:none}.treated-card time,.history-card time{color:var(--green);font-size:10px}.treated-card summary span,.history-card summary span{min-width:0;display:grid;gap:2px}.treated-card small,.history-card small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.treated-detail{padding:10px;border-top:1px solid var(--line-soft)}.treated-detail p{margin:5px 0;color:#bdcbc5;font-size:11px}.treated-detail select{width:100%;margin-top:7px}.stock-alert{padding:7px;border-radius:7px;background:#2a2112!important;color:#e8c27f!important}.status-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;background:#1b2926;color:#a8bbb4;font-size:9px;font-weight:800}.status-pill.taken,.status-pill.active,.status-pill.open{background:var(--green-soft);color:var(--green)}.status-pill.ignored,.status-pill.paused,.status-pill.sealed{background:#262821;color:#d0c68d}.status-pill.missed,.status-pill.discarded{background:#2b1b1b;color:var(--danger)}.status-pill.cancelled,.status-pill.ended,.status-pill.finished{background:#22282a;color:#9ba9a4}.med-form{display:grid;gap:11px}.med-form label{min-width:0;display:grid;gap:5px;color:#aab8b2;font-size:11px;font-weight:700}.med-form input,.med-form select,.med-form textarea,.filter-stack select,.wide-select,.treated-detail select{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0b1214;color:var(--text)}.quick-buttons,.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.segmented{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented button{min-width:0;padding:4px}.segmented button.active{border-color:#4a765f;background:var(--green-soft);color:var(--green)}.two-fields,.filter-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.schedule-inputs{display:grid;grid-template-columns:minmax(78px,.8fr) minmax(65px,.6fr) minmax(90px,1fr) auto;gap:5px}.schedule-inputs input{min-width:0}.schedule-inputs button{width:40px;padding:0}.schedule-editor{display:grid;gap:7px;padding:9px;border:1px solid var(--line);border-radius:9px}.treatment-card h3,.medicine-list h3,.package-card h3{margin:7px 0 3px;font-size:15px}.treatment-card p,.medicine-list p{margin:0;color:var(--muted);font-size:11px}.schedule-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.schedule-chips span{padding:5px 7px;border-radius:7px;background:#172220;color:#b9c9c2;font-size:10px}.full-button{width:100%;margin:9px 0}.medicine-list>article{display:grid;gap:8px}.medicine-list small{color:var(--muted)}.simple-rows{display:grid;gap:8px;margin-top:9px}.simple-rows>div{display:flex;justify-content:space-between;gap:8px;padding:8px;border-bottom:1px solid var(--line-soft);font-size:11px}.simple-rows span{color:var(--muted)}.wide-select{margin-bottom:9px}.stock-total{display:flex;align-items:center;justify-content:space-between;padding:11px;border-radius:9px;background:var(--green-soft);color:#b7c9c1;font-size:11px}.stock-total strong{color:var(--green);font-size:16px}.package-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.package-head>strong{color:var(--green);font-size:12px;text-align:right}.package-card dl,.history-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.package-card dl div,.history-card dl div{min-width:0}.package-card dt,.history-card dt{color:var(--muted);font-size:8px;font-weight:800}.package-card dd,.history-card dd{margin:2px 0 0;overflow:hidden;font-size:11px;text-overflow:ellipsis}.package-card>details{margin-top:10px;border-top:1px solid var(--line-soft)}.package-card>details>summary{padding:10px 0 0;color:var(--green);font-size:11px;cursor:pointer}.movement-list{display:grid;margin-top:8px}.movement-list>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid var(--line-soft);font-size:11px}.movement-list span{display:grid}.movement-list small{color:var(--muted);font-size:9px}.history-legend{color:var(--muted);font-size:10px}.month-cards{display:grid;gap:9px}.month-cards>article{padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.month-cards article>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:5px;margin-top:9px}.month-day{display:grid;place-items:center;gap:2px;min-height:46px;padding:4px;border-radius:7px;background:#182022}.month-day small{color:var(--muted);font-size:7px;text-align:center}.month-day.taken{background:var(--green-soft)}.report-list>article{display:grid;gap:10px}.report-list article>div,.report-list label{display:grid;gap:5px}.report-list small{color:var(--muted);font-size:10px}.report-list input,.report-list select{width:100%;min-width:0;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#0b1214;color:var(--text)}.home-page .module-card+.module-card{margin-top:9px}@media(max-width:420px){.two-fields,.filter-stack{grid-template-columns:1fr}.schedule-inputs{grid-template-columns:1fr 1fr}.schedule-inputs input:nth-child(3){grid-column:1/-1}.med-tabs button{font-size:8px}.treated-card>summary,.history-card>summary{grid-template-columns:auto minmax(0,1fr)}.treated-card>summary>.status-pill,.history-card>summary>.status-pill{grid-column:2}.package-card dl{grid-template-columns:1fr 1fr}}.mobile-timing-section{min-width:0;display:grid;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.mobile-timing-head{display:flex;align-items:end;justify-content:space-between;gap:10px;min-width:0}.mobile-timing-head h3{margin:0;font-size:15px}.mobile-timing-head small{color:var(--muted);font-size:9px;text-align:right}.mobile-timing-card{min-width:0;padding:10px 6px 7px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.mobile-timing-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 5px 6px}.mobile-timing-card-head strong{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-timing-card-head small{color:var(--muted);font-size:9px}.mobile-timing-chart{width:100%;min-width:0;height:clamp(250px,72vw,330px)}.mobile-chart-tooltip{display:grid;gap:3px;max-width:min(250px,72vw);padding:8px 9px;border:1px solid #34433d;border-radius:9px;background:#0b1115;color:#dce6e1;box-shadow:0 10px 30px #00000059;font-size:10px}.mobile-chart-tooltip span{color:#9fb0a7}.mobile-chart-note{margin:0;color:var(--muted);font-size:10px}@media(orientation:landscape)and (max-height:600px){.mobile-timing-chart{height:clamp(260px,56vw,360px)}.mobile-timing-card{padding-inline:10px}}.mobile-home{min-width:0;display:grid;gap:20px}.home-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:3px 1px 16px;border-bottom:1px solid var(--line)}.home-hero>div{min-width:0}.home-hero h1{margin:0;font-size:clamp(1.9rem,9vw,3rem);line-height:1;letter-spacing:-.055em}.home-hero p:last-child{margin:8px 0 0;color:var(--muted);font-size:12px;text-transform:capitalize}.home-sync{flex:0 0 auto;display:flex;align-items:center;gap:6px;margin-top:2px;padding:6px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:9px}.home-sync i{width:6px;height:6px;border-radius:50%;background:#7d8984}.home-sync.ready{border-color:#2c4c3e;background:#101d18;color:#a8cdb9}.home-sync.ready i{background:var(--green);box-shadow:0 0 0 3px #7bd2a31a}.home-section{min-width:0;display:grid;gap:9px}.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}.home-section-head h2{margin:0;font-size:14px;letter-spacing:-.01em}.home-section-head>span{color:var(--green);font-size:9px}.home-section-head>button{min-height:34px;padding:3px 6px;border:0;background:transparent;color:var(--green);font-size:10px}.home-priorities{display:grid;gap:7px}.home-priorities>button,.home-planning{width:100%;min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px;border-color:var(--line);background:var(--surface);text-align:left}.home-priorities>button.needs-action{border-color:#3c6955;background:#12201a;box-shadow:inset 3px 0 var(--green)}.home-priorities>button:disabled{opacity:1;cursor:default}.home-priorities>button>span:nth-child(2),.home-planning>span:nth-child(2){min-width:0;display:grid;gap:3px}.home-priorities strong,.home-planning strong{font-size:12px}.home-priorities small,.home-planning small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.home-priorities b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:var(--green-soft);color:var(--green);font-size:12px}.home-priorities em,.home-planning em{color:#73837d;font-size:15px;font-style:normal}.home-priorities>button:disabled em{font-size:8px}.home-module-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#1a2825;color:#a3cbb8;font-size:11px;font-weight:900}.home-module-mark.mail{background:#172426;color:#86bfc2}.home-planning{grid-template-columns:auto minmax(0,1fr) auto;min-height:76px}.planning-count{display:grid;place-items:center;min-width:48px;color:var(--green);font-size:34px;font-weight:800;line-height:1;letter-spacing:-.05em}.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.home-shortcuts>*{min-width:0;min-height:82px;display:grid;place-items:center;align-content:center;gap:4px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:center;text-decoration:none}.home-shortcuts button:disabled{opacity:.65}.home-shortcuts span{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--green-soft);color:var(--green);font-size:8px;font-weight:900}.home-shortcuts strong{font-size:10px}.home-shortcuts small{color:var(--muted);font-size:8px}@media(orientation:landscape)and (max-height:600px){.mobile-home{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px}.home-hero{grid-column:1/-1;padding-bottom:10px}.mobile-home>.home-section:nth-of-type(3){grid-column:1/-1}.home-shortcuts>*{min-height:68px}}.mobile-settings{min-width:0;width:100%}.mobile-settings>header{margin-bottom:12px}.mobile-settings>header h1{margin:0;font-size:clamp(1.7rem,7vw,2.2rem);letter-spacing:-.045em}.settings-mobile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:16px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#0c1315}.settings-mobile-tabs button{min-width:0;display:grid;gap:2px;padding:7px 5px;border-color:transparent;background:transparent}.settings-mobile-tabs button.active{border-color:#315143;background:var(--green-soft);color:var(--green)}.settings-mobile-tabs strong{font-size:11px}.settings-mobile-tabs small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.mobile-settings-section{min-width:0;display:grid;gap:10px}.settings-section-title{padding:0 2px 4px}.settings-section-title h2{margin:0;font-size:clamp(1.35rem,6vw,1.75rem);letter-spacing:-.03em}.settings-section-title>p:last-child{margin:5px 0 0;color:var(--muted);font-size:10px}.settings-mobile-card,.settings-device-list>article{min-width:0;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.settings-mobile-card h3,.settings-devices-head h3{margin:0;font-size:13px}.settings-mobile-card>p,.settings-devices-head p{margin:5px 0 0;color:var(--muted);font-size:10px}.settings-wide-button{width:100%;margin-top:12px}.google-mobile-account{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px}.google-mobile-account>img,.google-mobile-account>span{width:44px;height:44px;border-radius:11px}.google-mobile-account>img{object-fit:cover}.google-mobile-account>span{display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-weight:850}.google-mobile-account>div{min-width:0;display:grid;gap:2px}.google-mobile-account small{color:var(--muted);font-size:7px;font-weight:800;text-transform:uppercase}.google-mobile-account strong,.google-mobile-account p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.google-mobile-account strong{font-size:11px}.google-mobile-account p{margin:0;color:var(--muted);font-size:9px}.google-mobile-account>b,.settings-state,.settings-device-title span{padding:4px 6px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:7px}.settings-meta{display:grid;gap:3px;margin-top:11px;padding-top:9px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:8px}.settings-card-actions{display:flex;gap:6px;margin-top:11px}.settings-card-actions button{flex:1;min-width:0;min-height:38px;padding:5px 7px;font-size:9px}.current-mobile-device{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:9px}.current-mobile-device>div{min-width:0}.current-mobile-device small{color:var(--muted);font-size:7px;font-weight:800;text-transform:uppercase}.current-mobile-device h3{margin-top:3px}.current-mobile-device>button{grid-column:1/-1;width:100%;min-height:40px}.settings-state.blocked{background:#2b1b1b;color:var(--danger)}.settings-devices-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;padding:0 2px}.settings-devices-head>div{min-width:0}.settings-devices-head button{min-height:36px;padding:4px 8px;font-size:9px}.settings-device-list{display:grid;gap:7px}.settings-empty{margin:8px 0;color:var(--muted);font-size:10px;text-align:center}.settings-device-list>article{display:grid;gap:4px}.settings-device-list article>small{color:var(--muted);font-size:8px}.settings-device-title{min-width:0;display:flex;align-items:center;gap:6px}.settings-device-title strong{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.settings-device-rename{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.settings-device-rename input{min-width:0;width:100%;min-height:40px;padding:8px 9px;border:1px solid var(--line);border-radius:8px;background:#0b1214;color:var(--text)}.settings-device-rename button{min-height:40px;padding:4px 7px;font-size:8px}@media(max-width:420px){.google-mobile-account{grid-template-columns:40px minmax(0,1fr)}.google-mobile-account>img,.google-mobile-account>span{width:40px;height:40px}.google-mobile-account>b{grid-column:2;width:max-content}.settings-device-rename{grid-template-columns:1fr 1fr}.settings-device-rename input{grid-column:1/-1}}@media(orientation:landscape)and (max-height:600px){.mobile-settings-section{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.settings-section-title,.mobile-settings-section>.notice,.settings-devices-head{grid-column:1/-1}.settings-device-list{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.google-mobile-card{grid-column:1/-1}}.mobile-contacts,.contact-mobile-detail,.contact-mobile-form{min-width:0;width:100%}.contacts-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.contacts-mobile-head h1{margin:0;font-size:clamp(1.7rem,7vw,2.2rem);letter-spacing:-.045em}.contacts-mobile-filters{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:6px}.contacts-mobile-filters input,.contacts-mobile-filters select,.contacts-group-create-mobile input,.contact-form-fields input{min-width:0;width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0d1416;color:var(--text)}.contacts-groups-manager{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.contacts-groups-manager>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:7px 10px;cursor:pointer;list-style:none;font-size:11px;font-weight:750}.contacts-groups-manager>summary::-webkit-details-marker{display:none}.contacts-groups-manager>summary span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:9px}.contacts-group-create-mobile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:9px;border-top:1px solid var(--line-soft)}.contacts-group-create-mobile button{padding-inline:10px}.contacts-group-list-mobile{display:grid;padding:0 9px 9px}.contacts-group-list-mobile>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;padding:7px 0;border-top:1px solid var(--line-soft)}.contacts-group-list-mobile>div>span{min-width:0;display:grid;gap:2px}.contacts-group-list-mobile strong,.contacts-group-list-mobile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contacts-group-list-mobile strong{font-size:10px}.contacts-group-list-mobile small{color:var(--muted);font-size:8px}.contacts-group-list-mobile button{min-height:36px;padding:4px 7px;font-size:8px}.contacts-result-count{padding:10px 2px 6px;color:var(--muted);font-size:9px}.contacts-mobile-list{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}.contacts-mobile-list>p{margin:0;padding:22px;color:var(--muted);font-size:11px;text-align:center}.contacts-mobile-list>button{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:#0e1517;text-align:left}.contacts-mobile-list>button:last-child{border-bottom:0}.contacts-mobile-list>button>b{color:#718079}.contact-avatar-mobile{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:14px;font-weight:850}.contact-summary-mobile{min-width:0;display:grid;gap:2px}.contact-summary-mobile strong,.contact-summary-mobile small,.contact-summary-mobile em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-summary-mobile strong{font-size:12px}.contact-summary-mobile small{color:#afbeb8;font-size:9px}.contact-summary-mobile em{color:var(--muted);font-size:8px;font-style:normal}.contact-summary-mobile>span{display:flex;gap:3px;overflow:hidden}.contact-summary-mobile i,.contact-detail-group-chips span{max-width:100%;overflow:hidden;padding:2px 5px;border:1px solid #34483f;border-radius:999px;color:#9fc6b3;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.contact-mobile-bar{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:15;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;margin:-18px -12px 12px;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:#090d0ff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.contact-mobile-bar button{min-height:38px;padding:4px 8px}.contact-mobile-bar strong{font-size:12px}.contact-mobile-detail>header{display:grid;justify-items:center;gap:7px;padding:12px 8px 20px;text-align:center}.contact-mobile-detail>header>span{display:grid;place-items:center;width:66px;height:66px;border-radius:18px;background:var(--green-soft);color:var(--green);font-size:24px;font-weight:850}.contact-mobile-detail h1{margin:0;font-size:clamp(1.6rem,8vw,2.3rem);letter-spacing:-.04em}.contact-mobile-detail header p{margin:0;color:var(--muted);font-size:11px}.contact-mobile-detail dl{margin:0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}.contact-mobile-detail dl>div{display:grid;gap:5px;padding:12px;border-bottom:1px solid var(--line-soft)}.contact-mobile-detail dl>div:last-child{border-bottom:0}.contact-mobile-detail dt{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.contact-mobile-detail dd{display:grid;gap:5px;margin:0;font-size:12px}.contact-detail-group-chips{display:flex!important;flex-wrap:wrap}.contact-mobile-actions,.contact-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.contact-mobile-actions button,.contact-form-actions button{min-width:0}.contact-form-fields{display:grid;gap:10px}.contact-form-fields>label{min-width:0;display:grid;gap:5px;color:#aab8b2;font-size:10px;font-weight:700}.contact-form-fields fieldset{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:2px 0 0;padding:10px;border:1px solid var(--line);border-radius:10px}.contact-form-fields legend{padding:0 4px;color:var(--muted);font-size:10px}.contact-form-fields fieldset label{min-width:0;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:5px;min-height:38px;padding:5px;border-radius:7px;background:var(--surface)}.contact-form-fields fieldset input{width:18px;height:18px;min-height:0;padding:0}.contact-form-fields fieldset span{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.contact-form-actions{position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));margin:12px -12px -24px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#090d0ff5}@media(max-width:420px){.contacts-mobile-filters{grid-template-columns:1fr}.contacts-group-list-mobile>div{grid-template-columns:minmax(0,1fr) auto}.contacts-group-list-mobile>div .danger-button{grid-column:2}.contact-form-fields fieldset{grid-template-columns:1fr}}@media(orientation:landscape)and (max-height:600px){.contacts-mobile-head{margin-bottom:7px}.contacts-mobile-list{grid-template-columns:repeat(2,minmax(0,1fr))}.contacts-mobile-list>button:nth-last-child(2){border-bottom:0}.contact-mobile-detail>header{padding-block:5px 12px}.contact-mobile-detail>header>span{width:48px;height:48px;border-radius:13px;font-size:18px}.contact-form-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-form-fields fieldset{grid-column:1/-1}}.mobile-mail,.mail-thread-screen,.mail-compose-screen{min-width:0;width:100%}.mail-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.mail-mobile-head h1{margin:0;font-size:clamp(1.7rem,7vw,2.2rem);letter-spacing:-.045em}.mail-folder-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-bottom:8px}.mail-folder-row select,.mail-search input,.mail-advanced input,.mail-advanced select,.mail-addresses input{min-width:0;width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0d1416;color:var(--text)}.mail-folder-row button.active,.mail-quick-filters button.active{border-color:#3e6b57;background:var(--green-soft);color:var(--green)}.mail-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.mail-search button{min-width:0;padding:5px 8px;font-size:10px}.mail-quick-filters{display:flex;gap:5px;margin:7px 0}.mail-quick-filters button{flex:1;min-width:0;min-height:38px;padding:5px;font-size:10px}.mail-advanced{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:8px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.mail-advanced select,.mail-advanced>div{grid-column:1/-1}.mail-advanced>div{display:flex;justify-content:flex-end;gap:5px}.mail-advanced button{min-height:38px;font-size:10px}.mail-bulk{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top) + 4px);z-index:10;display:flex;align-items:center;gap:5px;margin:8px 0;padding:7px;border:1px solid #3b5b4d;border-radius:10px;background:#0e1714f7}.mail-bulk span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:var(--green-soft);color:var(--green);font-size:10px}.mail-bulk button{flex:1;min-width:0;min-height:36px;padding:4px;font-size:9px}.mail-mobile-list{display:grid;margin-top:8px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}.mail-list-row{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--line-soft);background:#0e1517}.mail-list-row:last-child{border-bottom:0}.mail-list-row.unread{background:#12201c;box-shadow:inset 3px 0 var(--green)}.mail-list-row>input{width:19px;height:19px;margin:0 0 0 9px}.mail-list-row>button:first-of-type{min-width:0;display:grid;gap:4px;padding:11px;border:0;background:transparent;color:var(--text);text-align:left}.mail-list-row>button>span:first-child{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.mail-list-row strong,.mail-list-row time,.mail-list-row b,.mail-list-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-list-row strong{font-size:11px}.mail-list-row time{flex:0 0 auto;color:var(--muted);font-size:8px}.mail-list-row b{font-size:12px}.mail-list-row small{color:var(--muted);font-size:9px}.mail-list-row>.danger-button{width:38px;min-height:38px;margin-right:5px;padding:0}.mail-label-chips{display:flex!important;justify-content:flex-start!important;gap:4px}.mail-label-chips i{max-width:90px;overflow:hidden;padding:2px 5px;border:1px solid #34483f;border-radius:999px;color:#9fc6b3;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.mail-load-more-mobile{width:100%;margin-top:8px}.mail-screen-bar{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:15;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;margin:-18px -12px 10px;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:#090d0ff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mail-screen-bar button{min-height:38px;padding:4px 7px}.mail-screen-bar strong{overflow:hidden;font-size:12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.mail-screen-bar small{color:var(--muted);font-size:8px}.mail-addresses{display:grid;gap:6px}.mail-addresses label{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;color:var(--muted);font-size:10px}.mail-addresses label:last-child{grid-template-columns:48px minmax(0,1fr)}.mail-cc-toggle{display:flex;justify-content:flex-end;gap:5px}.mail-cc-toggle button{min-height:32px;padding:3px 9px;font-size:9px}.mobile-contact-picker,.mobile-contact-search{position:relative;min-width:0;width:100%}.mobile-contact-selected{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.mobile-contact-selected>span{min-width:0;max-width:100%;display:flex;align-items:center;gap:3px;padding:3px 3px 3px 7px;border:1px solid #34483f;border-radius:999px;background:var(--green-soft);color:var(--text)}.mobile-contact-selected b{min-width:0;overflow:hidden;font-size:8px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.mobile-contact-selected button{flex:0 0 auto;width:25px;min-height:25px;padding:0;border:0;background:transparent}.mobile-contact-suggestions{position:absolute;top:calc(100% + 4px);left:0;z-index:40;width:100%;max-height:min(240px,35dvh);overflow-x:hidden;overflow-y:auto;border:1px solid #3b5148;border-radius:9px;background:#11191b;box-shadow:0 14px 36px #0000008c}.mobile-contact-suggestions button{width:100%;min-width:0;display:grid;gap:2px;padding:9px 10px;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:transparent;text-align:left}.mobile-contact-suggestions button:last-child{border-bottom:0}.mobile-contact-suggestions strong,.mobile-contact-suggestions span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-contact-suggestions strong{color:var(--text);font-size:10px}.mobile-contact-suggestions span{color:var(--muted);font-size:9px}.mobile-rich-editor{min-width:0;margin-top:8px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#0d1416}.mobile-rich-toolbar{display:flex;gap:3px;padding:5px;overflow-x:auto;border-bottom:1px solid var(--line-soft)}.mobile-rich-toolbar button{flex:0 0 auto;min-height:34px;padding:3px 8px;font-size:10px}.mobile-rich-content{min-height:clamp(220px,45dvh,520px);padding:11px;overflow-wrap:anywhere;color:var(--text);font-size:14px;line-height:1.5;outline:none}.mobile-rich-content:empty:before{content:attr(data-placeholder);color:#65756f}.mobile-rich-content img{max-width:100%;height:auto}.mobile-attachments{display:grid;gap:6px;margin-top:8px}.mobile-attachments>label{display:flex;min-height:40px;align-items:center;width:max-content;padding:5px 9px;border:1px solid var(--line);border-radius:8px;font-size:10px}.mobile-attachments input{display:none}.mobile-attachments>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 8px;border-radius:7px;background:var(--surface);font-size:9px}.mobile-attachments span button{width:30px;min-height:30px;padding:0}.mail-compose-actions{position:sticky;bottom:calc(-24px - env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px -12px -24px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#090d0ff5}.mail-reply-to{margin:0 0 7px;color:var(--muted);font-size:10px}.mail-thread-toolbar{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:15;display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) 42px;gap:5px;margin:-18px -12px 10px;padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:#090d0ff5}.mail-thread-toolbar>button{min-width:0;min-height:38px;padding:4px;font-size:9px}.mail-thread-toolbar details{position:relative}.mail-thread-toolbar details>summary{display:grid;place-items:center;width:42px;height:38px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);list-style:none}.mail-thread-toolbar details>summary::-webkit-details-marker{display:none}.mail-thread-toolbar details>div{position:absolute;top:43px;right:0;z-index:20;width:min(230px,80vw);display:grid;gap:3px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#11191b;box-shadow:0 18px 50px #00000080}.mail-thread-toolbar details button{width:100%;min-height:38px;padding:5px 8px;text-align:left}.thread-subject{display:grid;gap:7px;padding:4px 2px 12px}.thread-subject h1{margin:0;font-size:clamp(1.25rem,6vw,1.8rem);letter-spacing:-.035em}.thread-subject>details summary{width:max-content;color:var(--green);font-size:9px;cursor:pointer}.thread-subject>details{font-size:9px}.thread-subject>details label{display:inline-flex;align-items:center;gap:4px;margin:5px 7px 0 0;padding:4px 6px;border:1px solid var(--line);border-radius:7px}.thread-message-list{display:grid;gap:8px}.thread-message{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}.message-head{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px;border:0;background:transparent;text-align:left}.message-head span{min-width:0;display:grid;gap:2px}.message-head strong,.message-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-head strong{font-size:10px}.message-head small,.message-head time{color:var(--muted);font-size:8px}.message-head b{font-size:15px}.message-content{min-width:0;padding:0 9px 9px;border-top:1px solid var(--line-soft)}.message-content iframe{display:block;width:100%;height:min(55dvh,520px);margin-top:9px;border:0;border-radius:6px;background:#fff}.message-content pre{max-width:100%;margin:9px 0 0;overflow:hidden;color:#dce6e1;font:12px/1.5 inherit;white-space:pre-wrap;overflow-wrap:anywhere}.thread-attachments{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.thread-attachments button{min-height:36px;padding:5px 8px;font-size:9px}@media(orientation:landscape)and (max-height:600px){.mobile-rich-content{min-height:42dvh}.mail-compose-screen{padding-bottom:8px}.message-content iframe{height:62dvh}}@media(max-width:420px){.mail-search{grid-template-columns:minmax(0,1fr) auto}.mail-search button:last-child{grid-column:1/-1}.mail-advanced{grid-template-columns:1fr}.mail-advanced select,.mail-advanced>div{grid-column:auto}.mail-thread-toolbar{grid-template-columns:38px 1fr 1fr 38px}}.mail-list-row>button:first-of-type{grid-column:1/-1}.mail-list-row:has(>input)>button:first-of-type{grid-column:2/-1}.mail-draft-row-mobile{grid-template-columns:minmax(0,1fr) auto}.settings-mobile-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.mail-signature-mobile>div:first-child p{margin:4px 0 0;color:var(--muted);font-size:9px}.mail-signature-mobile .mobile-rich-content{min-height:180px}.settings-mail-filters-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 2px}.settings-mail-filters-head h3{margin:0;font-size:13px}.settings-mail-filters-head p{margin:3px 0 0;color:var(--muted);font-size:9px}.settings-mail-filters-head button{min-height:38px;padding:5px 9px;font-size:9px}.settings-mail-filter-list{display:grid;gap:7px}.settings-mail-filter-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.settings-mail-filter-list article strong{font-size:10px;line-height:1.45}.settings-mail-filter-list article p{grid-column:1/-1;margin:0;color:var(--muted);font-size:9px;line-height:1.45}.settings-mail-filter-list article button{grid-column:1/-1;min-height:38px}.settings-mail-empty{text-align:center}.settings-mail-empty p{margin-bottom:10px!important}.settings-mail-screenbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;margin-bottom:12px}.settings-mail-screenbar strong{text-align:center;font-size:12px}.mail-filter-create-mobile form{display:grid;gap:10px}.mail-filter-create-mobile fieldset{min-width:0;display:grid;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.mail-filter-create-mobile legend{padding:0 4px;color:var(--green);font-size:11px;font-weight:750}.mail-filter-create-mobile label{min-width:0;display:grid;gap:5px;color:#afbeb8;font-size:10px}.mail-filter-create-mobile input,.mail-filter-create-mobile select{min-width:0;width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0d1416;color:var(--text)}.mail-filter-create-mobile .settings-mail-check{grid-template-columns:24px minmax(0,1fr);align-items:center;min-height:40px}.mail-filter-create-mobile .settings-mail-check input{width:20px;height:20px;min-height:0;padding:0}.settings-mail-submit{width:100%;min-height:46px}@media(orientation:landscape)and (max-height:600px){.mail-settings-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.mail-settings-mobile>.settings-section-title,.mail-settings-mobile>.notice,.mail-settings-mobile>.settings-mail-filters-head,.mail-settings-mobile>.settings-mail-filter-list{grid-column:1/-1}.mail-signature-mobile{grid-column:1/-1}.settings-mail-filter-list,.mail-filter-create-mobile form{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-mail-submit{grid-column:1/-1}.mail-signature-mobile .mobile-rich-content{min-height:42dvh}}.mail-draft-row-mobile>button:first-child{grid-column:1}.mobile-notes,.mobile-note-editor{min-width:0;width:100%}.mobile-notes>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mobile-notes>header h1{margin:2px 0 0;font-size:clamp(1.8rem,8vw,2.35rem);letter-spacing:-.045em}.mobile-notes>header p{margin:0}.mobile-notes-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:10px;background:#0d1416}.mobile-notes-search:focus-within{border-color:var(--green)}.mobile-notes-search span{padding-left:10px;color:var(--muted);font-size:19px}.mobile-notes-search input{min-width:0;width:100%;min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--text);outline:0}.mobile-notes-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:9px 0;padding:4px;border:1px solid var(--line-soft);border-radius:9px;background:#0a1011}.mobile-notes-tabs button{border-color:transparent;background:transparent;color:var(--muted)}.mobile-notes-tabs button.active{border-color:#315143;background:var(--green-soft);color:var(--green)}.mobile-notes-list{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}.mobile-notes-list>button{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 11px;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:#0e1517;color:var(--text);text-align:left}.mobile-notes-list>button:last-child{border-bottom:0}.mobile-notes-list>button.pinned{background:#12201c;box-shadow:inset 3px 0 var(--green)}.mobile-notes-list>button>div{min-width:0;display:grid;gap:5px}.mobile-notes-list strong,.mobile-notes-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-notes-list strong{font-size:12px}.mobile-notes-list strong span{color:var(--green)}.mobile-notes-list span{color:#9aa9a3;font-size:10px}.mobile-notes-list time{color:var(--muted);font-size:8px}.mobile-notes-list b{color:#718079}.mobile-notes-empty{display:grid;justify-items:center;gap:12px;padding:44px 15px;color:var(--muted);font-size:11px;text-align:center}.mobile-notes-empty p{margin:0}.mobile-note-editor{min-height:calc(100dvh - var(--header-height) - env(safe-area-inset-top));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;margin:-18px -12px -24px;width:calc(100% + 24px)}.mobile-note-editor>header{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:15;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:7px;min-height:50px;padding:5px 12px;border-bottom:1px solid var(--line);background:#090d0ff7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-note-editor>header button{width:42px;padding:0}.mobile-note-editor>header strong{overflow:hidden;font-size:12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.mobile-note-editor>.notice{margin:9px 12px 0}.mobile-note-fields{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:18px 15px 8px}.mobile-note-fields input{width:100%;padding:4px 0 12px;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:transparent;color:var(--text);font-size:24px;font-weight:720;letter-spacing:-.035em;outline:0}.mobile-note-fields textarea{width:100%;min-height:42dvh;resize:none;padding:18px 0;border:0;background:transparent;color:var(--text);font-size:16px;line-height:1.65;outline:0}.mobile-note-fields input:disabled,.mobile-note-fields textarea:disabled{opacity:1}.mobile-note-fields small{padding-top:8px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:8px}.mobile-note-editor>footer{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#090d0ff7}.mobile-note-editor>footer button{min-width:0;padding-inline:7px;font-size:10px}.mobile-note-editor>footer button:first-child:last-child{grid-column:1/-1}@media(orientation:landscape)and (max-height:600px){.mobile-note-fields textarea{min-height:50dvh}.mobile-note-editor>footer{grid-template-columns:repeat(4,minmax(0,1fr))}}.mail-draft-row-mobile>div{display:flex;gap:3px;padding-right:5px}.mail-draft-row-mobile>div button{min-height:34px;padding:3px 6px;font-size:8px}.agenda-task-summary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;padding:10px 12px;border-style:dashed;border-color:#816e43;background:#211d14;text-align:left}.agenda-task-summary span{min-width:0;display:grid;gap:3px}.agenda-task-summary strong{font-size:10px}.agenda-task-summary small{overflow:hidden;color:#c5ad78;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.agenda-timed-task{position:absolute;z-index:4;left:5px;right:5px;display:grid;align-content:center;min-width:0;padding:3px 7px;overflow:hidden;border:1px dashed #a88d52;background:#2a2418;color:#f1dfb7;text-align:left}.agenda-timed-task small{color:#d2b36f;font-size:7px;text-transform:uppercase}.agenda-timed-task strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mobile-tasks,.mobile-task-form{min-width:0;width:100%}.tasks-mobile-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:12px}.tasks-mobile-head h1{margin:0;font-size:clamp(1.75rem,8vw,2.3rem);letter-spacing:-.045em}.task-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;border:1px solid var(--line);border-radius:11px;background:#0c1315}.task-tabs button{min-width:0;min-height:40px;padding:4px 2px;border-color:transparent;background:transparent;color:var(--muted);font-size:clamp(8px,2.3vw,10px)}.task-tabs button.active{background:var(--green-soft);color:var(--green)}.task-list-select{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;margin:9px 0;color:var(--muted);font-size:9px}.task-list-select select,.mobile-task-form input,.mobile-task-form select,.mobile-task-form textarea{min-width:0;width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#0d1416;color:var(--text)}.mobile-task-list{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}.mobile-task-list article{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:3px;min-height:66px;padding:6px 8px;border-bottom:1px solid var(--line-soft)}.mobile-task-list article:last-child{border-bottom:0}.mobile-task-list article.completed strong{text-decoration:line-through;color:#718079}.mobile-task-check{width:27px;min-height:27px;padding:0;border-radius:8px}.mobile-task-main{min-width:0;display:grid;gap:3px;padding:7px 4px;border:0;background:transparent;text-align:left}.mobile-task-main strong,.mobile-task-main small,.mobile-task-main em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-task-main strong{font-size:12px}.mobile-task-main small{color:var(--muted);font-size:9px}.mobile-task-main em{color:#8dbba5;font-size:8px;font-style:normal}.task-empty{padding:55px 15px;color:var(--muted);text-align:center}.task-screen-bar{position:sticky;top:calc(var(--header-height) + env(safe-area-inset-top));z-index:15;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin:-18px -12px 12px;padding:5px 12px;border-bottom:1px solid var(--line);background:#090d0ff5}.task-screen-bar strong{text-align:center}.mobile-task-form form{display:grid;gap:11px}.mobile-task-form form label{display:grid;gap:5px;color:#aab8b2;font-size:10px;font-weight:700}.task-form-actions,.task-extra-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:4px}.task-form-actions button{min-height:45px}.task-extra-actions{padding-top:12px;border-top:1px solid var(--line)}@media(orientation:landscape)and (max-height:600px){.mobile-task-form form{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-task-form form label:nth-child(3){grid-row:1/4;grid-column:2}.task-form-actions{grid-column:1/-1}.mobile-task-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-task-list article:nth-last-child(2){border-bottom:0}}input:not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable=true]{font-size:16px}input[type=checkbox],input[type=radio]{font-size:inherit}.modal-layer{top:calc(var(--header-height) + env(safe-area-inset-top));bottom:0;height:auto;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));align-items:flex-end}.modal-layer>.sheet{width:min(100%,620px);max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-layer>.sheet.med-form,.modal-layer>.sheet.event-form,.modal-layer>.sheet.health-editor{height:100%;max-height:100%;display:flex;flex-direction:column;align-items:stretch}.modal-layer>.sheet>.sheet-head,.modal-layer>.sheet.health-editor>header{position:sticky;top:0;z-index:20;flex:0 0 auto;margin:0 -6px 12px;padding:8px 6px 10px;border-bottom:1px solid var(--line-soft);background:#11191b}.modal-layer>.sheet.health-editor>header{margin:-14px -14px 12px;padding:14px;background:#101718}.modal-layer>.sheet.health-editor>footer,.modal-layer>.sheet.event-form>.form-actions,.modal-layer>.sheet.med-form>.form-actions{position:sticky;bottom:0;z-index:20;flex:0 0 auto}.modal-layer>.sheet input:focus,.modal-layer>.sheet textarea:focus,.modal-layer>.sheet select:focus{scroll-margin-top:80px;scroll-margin-bottom:110px}.modal-layer>.sheet>.sheet-head{position:relative;top:auto;z-index:auto;margin:0 -6px 12px;padding:8px 6px 10px;background:#11191b}.modal-layer{position:fixed;z-index:50;top:calc(var(--header-height) + env(safe-area-inset-top));right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));overflow:hidden;background:#000000b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-layer>.sheet{box-sizing:border-box;width:min(100%,620px);max-width:620px;max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px;border:1px solid #344548;border-radius:16px 16px 10px 10px;background:#11191b;box-shadow:0 24px 80px #0000008c}.modal-layer>.mobile-sheet-form{height:100%;min-height:0;display:grid;grid-template-columns:1fr;align-content:start;gap:12px}.modal-layer>.sheet>.sheet-head,.modal-layer>.mobile-sheet-form>header{position:static!important;top:auto!important;z-index:auto!important;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px!important;padding:0 0 12px!important;border-bottom:1px solid var(--line-soft);background:transparent!important}.modal-layer>.sheet>.sheet-head h2,.modal-layer>.mobile-sheet-form>header h2{min-width:0;margin:0;font-size:19px;overflow-wrap:anywhere}.modal-layer>.sheet>.sheet-head>button,.modal-layer>.mobile-sheet-form>header>button{flex:0 0 40px;width:40px;min-height:40px;padding:0}.modal-layer>.mobile-sheet-form>label{min-width:0}.modal-layer>.mobile-sheet-form>footer,.modal-layer>.mobile-sheet-form>.sheet-actions{position:static!important;bottom:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:4px 0 0!important;padding:12px 0 0!important;border-top:1px solid var(--line-soft);background:transparent!important}.modal-layer>.mobile-sheet-form>footer>button,.modal-layer>.mobile-sheet-form>.sheet-actions>button{min-width:0;width:100%}.modal-layer>.mobile-sheet-form>.primary-button:last-child{width:100%;margin-top:4px}.modal-layer>.sheet input:focus,.modal-layer>.sheet textarea:focus,.modal-layer>.sheet select:focus,.modal-layer>.sheet [contenteditable=true]:focus{scroll-margin-top:16px;scroll-margin-bottom:24px}.modal-layer .two-fields,.modal-layer .date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-layer .schedule-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.modal-layer .schedule-inputs>*{min-width:0;max-width:100%}.modal-layer .schedule-inputs>:nth-child(3){grid-column:1/-1}.modal-layer .schedule-inputs>button{grid-column:1/-1;width:100%}@media(max-width:380px){.modal-layer .two-fields,.modal-layer .date-fields,.modal-layer .schedule-inputs{grid-template-columns:1fr}.modal-layer .schedule-inputs>:nth-child(3),.modal-layer .schedule-inputs>button{grid-column:auto}}.modal-layer,.modal-layer>.sheet,.mobile-sheet-form,.mobile-sheet-form *{box-sizing:border-box}.modal-layer>.mobile-sheet-form{min-width:0;max-width:100%;overflow-x:hidden}.mobile-sheet-form label{min-width:0;max-width:100%;display:grid;gap:5px;color:#aab8b2;font-size:10px;font-weight:700}.mobile-sheet-form input:not([type=checkbox]):not([type=radio]),.mobile-sheet-form select,.mobile-sheet-form textarea{min-width:0;width:100%;max-width:100%;border:1px solid var(--line);border-radius:8px;background:#0d1513;color:var(--text);font-size:16px;font-weight:500}.mobile-sheet-form input:not([type=checkbox]):not([type=radio]),.mobile-sheet-form select{min-height:40px;height:40px;padding:6px 9px}.mobile-sheet-form textarea{min-height:72px;padding:8px 9px;resize:vertical}.mobile-sheet-form .two-fields{min-width:0;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-sheet-form .two-fields>*{min-width:0}.mobile-sheet-form .schedule-editor{min-width:0;width:100%;display:grid;gap:8px}.mobile-sheet-form .schedule-inputs{min-width:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:7px;align-items:center}.mobile-sheet-form .schedule-inputs>*{min-width:0;max-width:100%}.mobile-sheet-form .schedule-inputs>:nth-child(3){grid-column:1 / -1}.mobile-sheet-form .schedule-inputs>button{grid-column:1 / -1;width:auto;min-height:36px;padding:5px 9px;justify-self:start}.mobile-sheet-form button{min-width:0}.mobile-sheet-form>button,.mobile-sheet-form .form-actions button{min-height:40px;padding:7px 10px}.mobile-sheet-form>.sheet-head,.mobile-sheet-form>header{min-width:0}.mobile-sheet-form>.sheet-head h2,.mobile-sheet-form>header h2{min-width:0;overflow-wrap:anywhere;font-size:16px;line-height:1.25}.mobile-sheet-form>.sheet-head>button,.mobile-sheet-form>header>button{min-width:36px;width:36px;min-height:36px;height:36px;padding:0}.mobile-sheet-form .segmented,.mobile-sheet-form .quick-buttons,.mobile-sheet-form .form-actions,.mobile-sheet-form footer{min-width:0;max-width:100%}.mobile-sheet-form img,.mobile-sheet-form svg,.mobile-sheet-form canvas{max-width:100%}@media(max-width:360px){.mobile-sheet-form .two-fields,.mobile-sheet-form .schedule-inputs{grid-template-columns:1fr}.mobile-sheet-form .schedule-inputs>:nth-child(3),.mobile-sheet-form .schedule-inputs>button{grid-column:auto}}@media(min-width:430px){.mobile-sheet-form .schedule-inputs{grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,.85fr)}.mobile-sheet-form .schedule-inputs>:nth-child(3){grid-column:auto}.mobile-sheet-form .schedule-inputs>button{grid-column:1 / -1}}.mobile-sheet-form input[type=date],.mobile-sheet-form input[type=time],.mobile-sheet-form input[type=datetime-local],.mobile-sheet-form input[type=month]{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:40px!important;height:40px!important;padding:6px 9px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:#0d1513!important;color:var(--text)!important;font-size:16px!important;line-height:1.2!important;box-sizing:border-box!important;-webkit-appearance:none;appearance:none}.mobile-sheet-form input[type=date]::-webkit-date-and-time-value,.mobile-sheet-form input[type=time]::-webkit-date-and-time-value,.mobile-sheet-form input[type=datetime-local]::-webkit-date-and-time-value,.mobile-sheet-form input[type=month]::-webkit-date-and-time-value{min-width:0;width:100%;margin:0;padding:0;text-align:left}.mobile-sheet-form input[type=date]::-webkit-datetime-edit,.mobile-sheet-form input[type=time]::-webkit-datetime-edit,.mobile-sheet-form input[type=datetime-local]::-webkit-datetime-edit,.mobile-sheet-form input[type=month]::-webkit-datetime-edit{min-width:0;padding:0}.mobile-sheet-form .two-fields,.mobile-sheet-form .schedule-inputs{grid-template-columns:1fr!important}.mobile-sheet-form .schedule-inputs>:nth-child(3),.mobile-sheet-form .schedule-inputs>button{grid-column:auto!important}@media(min-width:520px){.mobile-sheet-form .two-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mobile-sheet-form .schedule-inputs{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,.9fr)!important}.mobile-sheet-form .schedule-inputs>:nth-child(3){grid-column:auto!important}.mobile-sheet-form .schedule-inputs>button{grid-column:1 / -1!important}}.med-tabs,.task-tabs,.mobile-notes-tabs,.settings-mobile-tabs,.health-nav,.health-tabs,.health-page nav,.mobile-health nav{min-width:0;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#0c1315}.med-tabs button,.task-tabs button,.mobile-notes-tabs button,.settings-mobile-tabs button,.health-nav button,.health-tabs button,.health-page nav button,.mobile-health nav button{min-width:0;min-height:40px;padding:5px 7px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:650;line-height:1.1;box-shadow:none}.med-tabs button.active,.task-tabs button.active,.mobile-notes-tabs button.active,.settings-mobile-tabs button.active,.health-nav button.active,.health-tabs button.active,.health-page nav button.active,.mobile-health nav button.active{border-color:#315143;background:var(--green-soft);color:var(--green)}.settings-mobile-tabs strong{font-size:10px;line-height:1.1}.settings-mobile-tabs small{font-size:8px;line-height:1.1}.health-nav,.health-tabs,.health-page nav,.mobile-health nav{display:flex;align-items:center;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}.health-nav::-webkit-scrollbar,.health-tabs::-webkit-scrollbar,.health-page nav::-webkit-scrollbar,.mobile-health nav::-webkit-scrollbar{display:none}.health-nav button,.health-tabs button,.health-page nav button,.mobile-health nav button{flex:0 0 auto;min-width:max-content;white-space:nowrap}@media(orientation:landscape){.app-content{width:min(calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right)),900px);margin-left:auto;margin-right:auto;padding-left:12px;padding-right:12px}}.drawer{padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}@media(orientation:landscape){.drawer{width:min(calc(82vw - env(safe-area-inset-left)),310px)}}.mail-compose-screen,.mail-reply-screen{min-width:0;width:100%;overflow-x:hidden}.mail-screen-bar{position:static!important;top:auto!important;z-index:auto!important;margin:-18px -12px 12px!important;padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left))!important}.mail-compose-actions{position:static!important;bottom:auto!important;margin:14px 0 0!important;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--line);background:transparent!important}.mail-addresses,.mobile-rich-editor,.mobile-rich-content,.mobile-attachments{min-width:0;max-width:100%}.mobile-rich-content{overflow-wrap:anywhere}.contact-mobile-detail,.contact-mobile-form{min-width:0;width:100%;overflow-x:hidden}.contact-mobile-bar{position:static!important;top:auto!important;z-index:auto!important;margin:-18px -12px 12px!important;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left))!important}.contact-form-actions{position:static!important;bottom:auto!important;margin:14px 0 0!important;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--line);background:transparent!important}.mobile-note-editor{min-width:0;width:100%!important;min-height:0!important;display:block!important;margin:0!important;overflow:visible!important}.mobile-note-editor>header{position:static!important;top:auto!important;z-index:auto!important;margin:-18px -12px 12px!important;padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left))!important}.mobile-note-fields{min-width:0;display:grid!important;grid-template-rows:auto auto auto!important;padding:8px 3px 0!important;overflow:visible!important}.mobile-note-fields textarea{min-width:0;width:100%;min-height:45dvh!important;overflow:visible}.mobile-note-editor>footer{position:static!important;bottom:auto!important;margin:14px 0 0!important;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--line);background:transparent!important}.mobile-task-form{min-width:0;width:100%;overflow-x:hidden}.task-screen-bar{position:static!important;top:auto!important;z-index:auto!important;margin:-18px -12px 12px!important;padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left))!important}.mobile-task-form form{min-width:0;width:100%;display:grid!important;grid-template-columns:1fr!important;gap:11px}.mobile-task-form form>*{min-width:0}.task-form-actions{position:static!important;grid-column:auto!important;margin-top:8px!important;padding-top:10px;border-top:1px solid var(--line)}.task-extra-actions{grid-column:auto!important}@media(orientation:landscape){.mobile-task-form form{grid-template-columns:1fr!important}.mobile-task-form form label:nth-child(3){grid-row:auto!important;grid-column:auto!important}.task-form-actions{grid-column:auto!important}.mobile-note-editor>footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.mail-compose-screen input:focus,.mail-compose-screen textarea:focus,.mail-reply-screen input:focus,.mail-reply-screen textarea:focus,.contact-mobile-form input:focus,.contact-mobile-form textarea:focus,.contact-mobile-form select:focus,.mobile-note-editor input:focus,.mobile-note-editor textarea:focus,.mobile-task-form input:focus,.mobile-task-form textarea:focus,.mobile-task-form select:focus{scroll-margin-top:24px;scroll-margin-bottom:24px}.mail-screen-bar,.contact-mobile-bar,.mobile-note-editor>header,.task-screen-bar{margin-left:0!important;margin-right:0!important;width:100%;max-width:100%;box-sizing:border-box}.mail-screen-bar,.contact-mobile-bar,.mobile-note-editor>header{margin-top:0!important}.mail-screen-bar>button,.contact-mobile-bar>button,.mobile-note-editor>header>button,.task-screen-bar>button{max-width:100%;box-sizing:border-box}.mail-compose-screen,.mail-reply-screen,.contact-mobile-form,.mobile-note-editor,.mobile-task-form,.mail-compose-screen *,.mail-reply-screen *,.contact-mobile-form *,.mobile-note-editor *,.mobile-task-form *{box-sizing:border-box}.mobile-task-form,.mobile-task-form form,.mobile-task-form form>*,.mobile-task-form label{min-width:0;width:100%;max-width:100%}.mobile-task-form input:not([type=checkbox]):not([type=radio]),.mobile-task-form select,.mobile-task-form textarea{display:block;min-width:0!important;width:100%!important;max-width:100%!important}.mobile-task-form input[type=date],.mobile-task-form input[type=time],.mobile-task-form input[type=datetime-local],.mobile-task-form input[type=month]{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;-webkit-appearance:none;appearance:none}.mobile-task-form input[type=date]::-webkit-date-and-time-value,.mobile-task-form input[type=time]::-webkit-date-and-time-value,.mobile-task-form input[type=datetime-local]::-webkit-date-and-time-value,.mobile-task-form input[type=month]::-webkit-date-and-time-value{min-width:0;width:100%;margin:0;padding:0;text-align:left}.mobile-task-form input[type=date]::-webkit-datetime-edit,.mobile-task-form input[type=time]::-webkit-datetime-edit,.mobile-task-form input[type=datetime-local]::-webkit-datetime-edit,.mobile-task-form input[type=month]::-webkit-datetime-edit{min-width:0;padding:0}@media(orientation:landscape){.mobile-task-form,.mobile-task-form form,.mobile-task-form form>*{min-width:0!important;width:100%!important;max-width:100%!important}.task-form-actions,.task-extra-actions{width:100%;max-width:100%}.mobile-note-editor>header{padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}}
