@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f6f7fb;--paper:#fff;--ink:#25334a;--muted:#788294;--line:#e9ecf2;--blue:#3977d5;--blue-soft:#edf3ff;--pink:#d66596;--pink-soft:#fbedf3;--accent:#3977d5;--shadow:0 5px 24px #29385105;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #77a4ef;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #81a9e8;outline-offset:1px}button{border:0;background:none}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}svg{width:20px;height:20px;vertical-align:middle;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.skip-link{position:fixed;top:-60px;left:20px;z-index:200;background:white;padding:12px;border:2px solid var(--blue)}.skip-link:focus{top:10px}.app-shell{display:flex;min-height:100dvh}.sidebar{width:216px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:36px 20px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:10;overflow:auto}.brand{display:flex;align-items:center;gap:14px;padding:0 18px;font-family:Manrope,system-ui,sans-serif;font-size:29px;line-height:.98;font-weight:800;letter-spacing:-1.5px;width:max-content}.brand-second{display:block;margin-top:3px}.brand-dot{color:var(--pink)}.brand-mark{position:relative;width:36px;height:54px;display:block}.brand-mark i{position:absolute;display:block;width:29px;height:40px;border-radius:20px;background:#a8c5f2;transform:rotate(27deg);top:0;left:0}.brand-mark i+ i{background:#e8adc9;transform:rotate(27deg);top:17px;left:10px;opacity:.85}.sidebar-caption{font-size:8px;font-weight:700;letter-spacing:1.3px;margin:23px 0 37px;text-align:center;color:#929aaa}.main-nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;text-align:left;gap:10px;padding:12px 13px;border-radius:9px;white-space:nowrap;font-size:12px;font-weight:600;width:100%;color:#7a8393;min-height:44px}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#f5f7fb}.nav-item.active{background:var(--blue-soft);color:var(--blue)}.nav-count{margin-left:auto;font-size:10px;display:grid;place-items:center;min-width:20px;height:20px;background:#ecedf5;border-radius:6px}.mini-month{margin-top:32px;padding:0 9px}.mini-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;font-family:Manrope,sans-serif;font-weight:750;font-size:11px}.mini-header button{padding:4px}.mini-header svg{width:14px;height:14px}.mini-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px 1px;text-align:center}.mini-grid button,.mini-grid>span{display:grid;place-items:center;font-size:9px;min-width:20px;height:22px;border-radius:6px}.mini-grid>span{color:#9aa1ae;font-size:8px}.mini-grid .out{color:#c7cbd3}.mini-grid .current{color:var(--blue);font-weight:700}.mini-grid .picked{background:var(--blue);color:#fff}.sidebar-people{margin-top:32px;padding:24px 12px 8px;border-top:1px solid var(--line)}.tiny-label{font-size:8px;font-weight:700;letter-spacing:1.6px;color:#a0a7b2}.sidebar-people>div{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:16px}.avatar{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:50%;font-size:10px;font-weight:700;font-style:normal;flex-shrink:0}.avatar.ana{color:#b94b7b;background:#f8e3ed}.avatar.johannes{color:#3268bc;background:#e3ecfc}.avatar.both{color:#7c63a7;background:#f0eafa;font-size:8px}.person-dot{margin-left:auto}.small-dot,.person-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%}.ana-dot{background:var(--pink)}.johannes-dot{background:var(--blue)}.shared-dot{background:#8b6bba}.sidebar-bottom{margin-top:auto;padding-top:32px}.storage-status{padding:10px 12px;display:flex;align-items:center;gap:7px;font-size:9px;color:#939cab;width:100%;text-align:left}.status-dot{width:6px;height:6px;border-radius:50%;background:#7aa894;flex-shrink:0}.status-dot.warning{background:#d29b49}.status-dot.error{background:#cc695e}main{margin-left:216px;padding:36px 34px 22px;width:calc(100% - 216px);max-width:1800px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#939dad;margin:0 0 11px}.page-header h1{font-family:Manrope,system-ui,sans-serif;font-size:29px;font-weight:750;letter-spacing:-1.2px;margin:0;line-height:1.25}.page-subtitle{font-size:12px;color:#8b94a4;margin:9px 0 0}.header-actions{display:flex;align-items:center;gap:10px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 18px;border-radius:9px;font-size:12px;font-weight:600}.primary-button{background:var(--accent);color:white;box-shadow:0 3px 6px #3977d51a}.primary-button:hover{filter:brightness(.95)}.secondary-button{background:#f2f4f8;color:#687487}.primary-button svg{width:17px;height:17px}.icon-button{width:33px;height:33px;display:inline-grid;place-items:center;border-radius:7px;padding:5px;color:#7d899a;flex-shrink:0}.icon-button:hover{background:#eef2f8}.icon-button svg{width:18px;height:18px}#mobile-settings{display:none}.planner-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.person-filter{display:flex;align-items:center;gap:6px}.person-filter button{height:37px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#8791a1;padding:0 14px;border:1px solid transparent;border-radius:8px}.person-filter button.selected{background:white;border-color:#e3e8f0;color:var(--ink);box-shadow:var(--shadow);font-weight:600}.person-filter button[data-person=ana].selected{background:var(--pink-soft);border-color:#edd3df;color:#b94b7b}.person-filter button[data-person=johannes].selected{background:var(--blue-soft);border-color:#d6e3fa;color:#3268bc}.duo-avatar{display:flex;align-items:center;margin-right:1px}.duo-avatar i{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;font-size:7px;font-style:normal;background:#f8e3ed;color:#b94b7b;border:1.5px solid white}.duo-avatar i+i{background:#e3ecfc;color:#3268bc;margin-left:-6px}.right-tools{display:flex;align-items:center;gap:10px}.search-box{display:flex;align-items:center;gap:8px;color:#9ba5b4}.search-box svg{width:16px;height:16px}.search-box input{border:0;background:transparent;width:137px;font-size:11px;color:var(--ink);min-height:36px}.search-box input::placeholder{color:#9ba5b4}.planner-card{border:1px solid #e5e9f0;border-radius:14px;background:white;box-shadow:var(--shadow);overflow:hidden}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;border-bottom:1px solid var(--line);gap:10px}.date-navigation{display:flex;align-items:center;gap:14px;min-width:0}.date-navigation h2{font-family:Manrope,sans-serif;font-size:17px;font-weight:750;margin:0;letter-spacing:-.4px}.arrow-group{display:flex;gap:0}.arrow-group .icon-button{width:27px;height:28px}.today-button{font-size:10px;border:1px solid var(--line);border-radius:6px;padding:7px 11px;color:#7b8595;min-height:31px}.today-button:hover{background:#f5f7fb}.view-switch{display:flex;padding:3px;background:#f2f4f8;border-radius:8px;flex-shrink:0}.view-switch button{font-size:10px;font-weight:600;color:#8e98a8;padding:7px 15px;border-radius:6px}.view-switch .selected{background:white;color:var(--ink);box-shadow:0 1px 4px #21304a0c}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px}.calendar{min-width:0}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.weekdays span{padding:14px 2px;text-align:center;font-size:9px;font-weight:600;color:#9aA2b0}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-cell{min-width:0;min-height:106px;padding:8px 6px 6px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);position:relative;cursor:pointer}.month-cell:nth-child(7n){border-right:0}.month-cell:nth-last-child(-n+7){border-bottom:0}.month-cell:hover{background:#f9fbfe}.month-cell.selected-day{background:#f4f7fd}.month-cell.outside{background:#fcfcfe}.date-button{width:26px;height:26px;border-radius:50%;font-size:11px;color:#647186;margin-bottom:5px;display:grid;place-items:center}.outside .date-button{color:#c0c6d0}.date-button.is-today{background:var(--blue);color:white;font-weight:700}.month-cell.selected-day:not(:has(.is-today)) .date-button{background:#e4edfc;color:var(--blue);font-weight:700}.month-event{display:flex;align-items:center;gap:3px;width:100%;padding:4px 5px;margin-bottom:3px;background:color-mix(in srgb,var(--event-color) 10%,white);border-radius:4px;color:color-mix(in srgb,var(--event-color) 80%,#25334a);border-left:2px solid var(--event-color);font-size:8.5px;text-align:left;overflow:hidden;line-height:1.4}.month-event .event-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-event time{font-size:7px;flex-shrink:0;opacity:.8}.month-event.done{opacity:.5}.month-event.done .event-name{text-decoration:line-through}.month-event .event-emoji{font-size:9px}.more-events{font-size:8px;color:#9aA2b0;padding:2px 3px}.mobile-dots{display:none}.day-agenda{padding:22px 18px;border-left:1px solid var(--line);min-width:0;background:linear-gradient(160deg,#fcfdff,white 70%)}.agenda-head{display:flex;align-items:center;justify-content:space-between}.agenda-head .tiny-label{font-size:8px;letter-spacing:1.5px;color:#9aA2b0}.agenda-head .icon-button{width:27px;height:27px}.agenda-date{font-family:Manrope,sans-serif;font-size:15px;font-weight:750;margin:3px 0 5px;letter-spacing:-.5px}.agenda-summary{font-size:10px;color:#9aA2b0;margin:0 0 23px}.agenda-progress{height:3px;background:#edf0f6;border-radius:3px;margin:-12px 0 22px;overflow:hidden}.agenda-progress span{height:100%;display:block;background:#8aa9d8}.agenda-item{display:flex;gap:9px;position:relative;margin-bottom:17px}.agenda-item:not(:last-child)::after{content:'';position:absolute;top:35px;left:15px;bottom:-13px;width:1px;background:#eef0f5}.task-icon{display:grid;place-items:center;background:color-mix(in srgb,var(--event-color) 10%,white);width:32px;height:34px;border-radius:9px;font-size:16px;flex-shrink:0}.agenda-item-info{flex:1;min-width:0;text-align:left;padding:0;display:block}.agenda-item-title{display:block;font-weight:600;font-size:11px;line-height:1.4;margin:1px 0 5px;overflow-wrap:anywhere}.agenda-item-time{display:block;font-size:9px;color:#9aA2b0;margin-bottom:6px}.agenda-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.person-tag{font-size:8px;padding:3px 6px;border-radius:4px;background:#f0f3f8;color:#7e899b}.person-tag.ana{background:var(--pink-soft);color:#bc5883}.person-tag.johannes{background:var(--blue-soft);color:#4c7ebe}.person-tag.both{background:#f1ecf8;color:#8b6bba}.repeat-mark{color:#a4acba;display:inline-flex}.repeat-mark svg{width:11px;height:11px}.complete-button{width:18px;height:18px;margin-top:5px;display:grid;place-items:center;border:1px solid #dce2eb;border-radius:50%;background:white;color:#73a08d;flex-shrink:0;padding:0}.complete-button svg{width:12px;height:12px}.agenda-item.done .agenda-item-title{text-decoration:line-through;color:#9cA4b1}.agenda-item.done .complete-button{background:#eaf5ed;border-color:#c9dece}.agenda-item.done .task-icon{opacity:.6}.agenda-add{width:100%;margin-top:8px;font-size:10px;padding:10px;border:1px dashed #dbe1ec;color:#8d9aad;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:5px}.agenda-add svg{width:13px;height:13px}.empty-agenda{text-align:center;padding:32px 0 15px;color:#a0a8b6}.empty-art{width:88px;height:84px;position:relative;margin:0 auto 19px}.empty-art::before{content:'';position:absolute;width:74px;height:74px;background:#edf3fd;border-radius:50%;left:5px;top:4px}.empty-art::after{content:'';position:absolute;width:27px;height:27px;background:#f5dce8;border-radius:50%;right:-2px;bottom:0;opacity:.9}.empty-paper{width:47px;height:56px;border:1.5px solid #a5bbdf;border-radius:7px;background:white;position:absolute;left:19px;top:10px;transform:rotate(-9deg);z-index:1;display:flex;flex-direction:column;gap:7px;padding:14px 8px}.empty-paper i{height:2px;border-radius:2px;background:#cbd7eb}.empty-paper i:nth-child(2){width:65%}.empty-agenda h3{font-size:12px;font-weight:600;color:#7c899d;margin:0 0 9px}.empty-agenda p{font-size:10px;line-height:1.8;max-width:175px;margin:0 auto}.empty-agenda button{margin:18px auto 0;padding:8px 12px;font-size:10px;color:#5e84bd;background:#edf3fd;border-radius:7px}.page-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a5adba;margin-top:17px;gap:10px}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer .small-dot{width:5px;height:5px;margin-left:9px}.page-footer .small-dot:first-child{margin-left:0}.connection-banner{font-size:11px;background:#fff8e9;border:1px solid #f0dfb9;border-radius:8px;padding:12px 15px;margin-bottom:18px;display:flex;gap:12px;align-items:center;justify-content:space-between;line-height:1.5}.connection-banner button{color:#9c7137;text-decoration:underline;font-weight:600}.week-wrapper{height:590px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.week-grid{position:relative;min-width:0}.week-heading{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:44px repeat(7,minmax(0,1fr));background:white;border-bottom:1px solid var(--line);min-height:55px}.week-heading>button{padding:9px 1px;display:grid;justify-items:center;gap:4px;color:#96a0af;border-left:1px solid var(--line);font-size:8px}.week-heading>button b{font-size:13px;color:#5f6c81;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-weight:500}.week-heading>button.active b{background:var(--blue-soft);color:var(--blue)}.week-heading>button.current b{background:var(--blue);color:white}.week-timeline{display:grid;grid-template-columns:44px repeat(7,minmax(0,1fr));position:relative}.time-axis{position:relative}.hour-label{position:absolute;right:8px;transform:translateY(-50%);color:#a2aaba;font-size:8px}.hour-label.fraction{font-size:7px;color:#8498b6}.week-day-column{position:relative;border-left:1px solid var(--line);min-width:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 51px,#eef0f5 51px,#eef0f5 52px)}.week-day-column.selected-col{background-color:#fbfcff}.week-event{position:absolute;display:block;overflow:hidden;border:0;border-left:2.5px solid var(--event-color);border-radius:4px;background:color-mix(in srgb,var(--event-color) 13%,white);color:color-mix(in srgb,var(--event-color) 80%,#25334a);padding:5px 3px;text-align:left;min-height:13px;z-index:1}.week-event:hover{filter:brightness(.97);z-index:2;box-shadow:0 2px 8px #22344b12}.week-event strong{font-size:8px;display:block;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.week-event time{display:block;font-size:7px;opacity:.8;margin-top:3px}.week-event .week-extra{font-size:7px;margin-top:3px;display:block;line-height:1.4}.week-event.compact{padding:2px 3px}.week-event.compact time,.week-event.compact .week-extra{display:none}.week-event.tiny strong{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.week-event.done{opacity:.5}.week-event.done strong{text-decoration:line-through}.fraction-line{position:absolute;left:0;right:0;border-top:1px dashed #d9e2ef;pointer-events:none}.week-allday{display:grid;grid-template-columns:44px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);background:#fcfdff}.week-allday>div{padding:4px;min-width:0;border-left:1px solid var(--line)}.week-allday>span{font-size:7px;color:#a0a8b6;padding:9px 4px}.week-allday .month-event{font-size:7px}.mobile-week{display:none}.routine-header{display:flex;justify-content:space-between;align-items:center;margin:7px 0 20px}.routine-header h2{font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.5px;margin:0 0 6px}.routine-header p{font-size:11px;color:#8a95a6;margin:0}.routines-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:15px}.routine-card{border:1px solid #e5e9f0;border-radius:12px;background:white;padding:20px;box-shadow:var(--shadow)}.routine-card-top{display:flex;align-items:center;gap:10px}.routine-card h3{font-family:Manrope,sans-serif;font-size:14px;margin:0 0 5px;overflow-wrap:anywhere}.routine-card-top .task-icon{width:40px;height:42px;font-size:20px}.routine-card-top>div{flex:1;min-width:0}.routine-card-top .icon-button{margin-left:auto}.routine-time{display:flex;gap:6px;align-items:center;color:#8390a3;font-size:11px;margin:19px 0 14px}.routine-time svg{width:14px;height:14px}.routine-days{display:flex;gap:6px}.routine-days span{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;font-size:10px;background:#f3f5f8;color:#b0b7c3}.routine-days span.on{background:color-mix(in srgb,var(--event-color) 11%,white);color:var(--event-color);font-weight:700}.routine-card-bottom{border-top:1px solid var(--line);margin-top:17px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:9px;color:#99a2b1}.routine-empty{background:white;border:1px solid var(--line);border-radius:14px;padding:50px 25px;text-align:center}.routine-empty .empty-agenda p{max-width:300px}.routine-empty .empty-agenda{padding:0}.routine-empty .primary-button{margin-top:22px}.intensity{display:inline-flex;gap:4px;align-items:center;font-size:8px;color:#8792a3;white-space:nowrap}.intensity-bars{display:inline-flex;gap:2px;align-items:flex-end}.intensity-bars i{display:inline-block;width:4px;border-radius:1px;background:#e6eaf0;height:5px}.intensity-bars i:nth-child(2){height:8px}.intensity-bars i:nth-child(3){height:11px}.intensity.light .intensity-bars .filled{background:#57a78a}.intensity.moderate .intensity-bars .filled{background:#d4a14a}.intensity.high .intensity-bars .filled{background:#d87969}.training-tag{display:block;font-size:9px;color:#8c97a8;margin:7px 0 0;line-height:1.5}.mobile-add{display:none}dialog{border:1px solid #e3e7ef;border-radius:17px;padding:0;color:var(--ink);background:#fff;box-shadow:0 20px 90px #2035522b;max-height:90dvh;max-width:calc(100vw - 32px)}dialog::backdrop{background:#26344b55;backdrop-filter:blur(4px)}.event-dialog{width:530px}.event-dialog form{display:flex;flex-direction:column;max-height:90dvh}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px 19px;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-header .eyebrow{font-size:8px;margin-bottom:7px}.dialog-header h2{margin:0;font-family:Manrope,sans-serif;font-size:21px;font-weight:750;letter-spacing:-.7px}.dialog-body{padding:21px 25px;overflow:auto;overscroll-behavior:contain}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:16px 25px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}.dialog-footer .danger-text{margin-right:auto}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 19px;padding:0;border:0;font-size:11px;font-weight:600;min-width:0}.field legend{padding:0;margin-bottom:9px;font-size:11px;font-weight:600}.field input,.field select,.field textarea,select#edit-scope{width:100%;min-width:0;background:#fcfdff;border:1px solid #e1e6ef;padding:10px 11px;min-height:42px;border-radius:8px;color:#4a586e;font-size:12px;font-weight:400}.field textarea{resize:vertical;min-height:80px}.field small{font-size:10px;color:#9aa3b2;font-weight:400}.field-row{display:flex;gap:14px}.field-row>.field{flex:1}.field-label{display:block}.optional{font-size:9px;color:#a3aaba;font-weight:400}.presets{display:flex;gap:5px;overflow:auto;scrollbar-width:none;margin:-2px 0 20px;padding-bottom:3px}.presets button{font-size:9px;color:#8a95a6;background:#f5f7fb;border:1px solid #edf0f5;border-radius:20px;padding:7px 9px;white-space:nowrap}.presets button:hover{background:#eaf0fa}.profile-picker{display:flex;gap:9px}.profile-picker label{flex:1;min-width:0;cursor:pointer}.profile-picker input{position:absolute;opacity:0;width:1px;height:1px}.profile-picker label>span{display:flex;align-items:center;gap:8px;border:1px solid #e3e7ef;border-radius:8px;padding:9px;font-size:11px;font-weight:500}.profile-picker input:checked+span{border-color:#82a7df;background:#f2f6fd}.profile-picker input:focus-visible+span{outline:2px solid #77a4ef}.profile-picker .avatar{width:24px;height:24px;font-size:9px}.weekday-picker{display:flex;gap:7px}.weekday-picker label{flex:1;cursor:pointer}.weekday-picker input{position:absolute;opacity:0;width:1px;height:1px}.weekday-picker span{width:100%;height:36px;display:grid;place-items:center;border:1px solid #e3e8ef;border-radius:7px;color:#9ba5b3;font-size:10px}.weekday-picker input:checked+span{background:#eaf1fd;border-color:#a6bee4;color:var(--blue);font-weight:700}.weekday-picker input:focus-visible+span{outline:2px solid #77a4ef}.day-shortcuts{display:flex;gap:12px;margin-top:3px}.day-shortcuts button{font-size:9px;color:#7f97bc;text-decoration:underline;padding:3px 0}.toggle-field{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;font-size:11px;font-weight:600;cursor:pointer}.toggle-field input{position:absolute;opacity:0}.toggle-field i{width:32px;height:18px;background:#e0e5ee;border-radius:20px;position:relative}.toggle-field i::after{content:'';width:12px;height:12px;position:absolute;left:3px;top:3px;background:#fff;border-radius:50%;transition:.15s}.toggle-field input:checked+i{background:var(--blue)}.toggle-field input:checked+i::after{transform:translateX(14px)}.toggle-field input:focus-visible+i{outline:2px solid #77a4ef}.color-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.color-choice{width:27px;height:27px;border-radius:50%;background:var(--swatch);border:3px solid white;outline:1px solid transparent;position:relative}.color-choice[aria-pressed=true]{outline-color:var(--swatch)}.color-choice[aria-pressed=true]::after{content:'✓';color:white;position:absolute;inset:0;font-size:12px;display:grid;place-items:center}.custom-color{display:flex;align-items:center;gap:5px;font-size:9px;color:#9aA3b2;cursor:pointer;font-weight:400}.custom-color input{width:26px;height:26px;border:1px solid #dce3ee;border-radius:50%;padding:2px;min-height:0;background:white;cursor:pointer}.icon-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.icon-choice{min-height:37px;border:1px solid #edf0f5;border-radius:7px;font-size:19px;background:#fcfdff}.icon-choice[aria-pressed=true]{border-color:#a6bee4;background:#edf3fe}.more-fields{border-top:1px solid var(--line);padding-top:15px;margin-top:5px}.more-fields summary{font-size:11px;color:#8c98aa;cursor:pointer;min-height:25px;margin-bottom:8px}.more-fields .field{margin-top:11px}.training-fields{border:1px solid #e6eaf2;border-radius:9px;padding:13px 13px 0;background:#fbfcfe;margin:0 0 19px}.training-fields summary{font-size:11px;color:#7d8ba0;cursor:pointer;margin-bottom:13px}.intensity-picker{display:flex;gap:7px;flex-wrap:wrap}.intensity-picker button{border:1px solid #e3e8ef;border-radius:7px;padding:9px 10px;display:flex;align-items:center;gap:6px;font-size:10px;background:white}.intensity-picker button[aria-pressed=true]{border-color:#97acd0;background:#edf3fd}.intensity-picker .intensity{font-size:10px}.scope-callout{border:1px solid #dce6f6;border-radius:9px;background:#f4f7fe;padding:13px;font-size:11px;margin-bottom:20px;display:flex;flex-direction:column;gap:8px}.scope-callout small{font-size:10px;color:#8291aa;line-height:1.5}.conflict-hint{font-size:10px;line-height:1.7;color:#aa7b35;background:#fff8eb;padding:10px;border-radius:7px}.form-error{font-size:11px;color:#be6156;line-height:1.6;margin:12px 0 0}.danger-text{font-size:11px;color:#c37170;padding:8px 0}.detail-dialog{width:420px}.detail-top{display:flex;align-items:flex-start;gap:13px;padding:25px 25px 18px;border-bottom:1px solid var(--line)}.detail-top .task-icon{width:47px;height:48px;font-size:25px;border-radius:12px}.detail-top>div:nth-child(2){flex:1;min-width:0}.detail-top h2{font-family:Manrope,sans-serif;margin:3px 0 8px;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.detail-top .icon-button{margin-top:-8px;margin-right:-10px}.detail-row{display:flex;gap:11px;align-items:flex-start;font-size:12px;margin:0 0 19px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.detail-row>svg{width:17px;height:17px;flex-shrink:0;color:#99a5b7;margin-top:2px}.detail-row small{display:block;color:#939eb0;font-size:10px}.detail-row .intensity{font-size:11px}.detail-actions{display:flex;flex-wrap:wrap;gap:8px}.detail-actions button{flex:1;white-space:nowrap}.settings-dialog{width:560px}.settings-section{margin-bottom:25px;padding-bottom:23px;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0;margin:0;padding:0}.settings-section h3{font-family:Manrope,sans-serif;font-size:14px;margin:0 0 9px}.settings-section p{font-size:11px;line-height:1.8;color:#8d98a9}.settings-section .field{margin-top:15px;margin-bottom:13px}.settings-actions{display:flex;gap:8px;flex-wrap:wrap}.settings-actions button{font-size:10px;min-height:37px;padding:9px 12px}.settings-section textarea{font-family:ui-monospace,monospace;font-size:10px}.account-badge{background:#f1f6fe;color:#5982bc;border-radius:7px;padding:11px;font-size:11px;overflow-wrap:anywhere}.setup-note{background:#f8f9fc;padding:12px;border-radius:7px;font-size:10px;color:#939eaf;line-height:1.7}.setup-note a{color:#6c8eba;text-decoration:underline}.confirm-dialog{width:390px}.confirm-dialog h2{font-family:Manrope,sans-serif;font-size:19px;margin:0 0 12px;letter-spacing:-.5px}.confirm-dialog p{font-size:12px;color:#8a96a8;line-height:1.8;margin-bottom:24px}.confirm-actions{display:flex;gap:8px;justify-content:flex-end}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:calc(100vw - 35px);padding:13px 20px;background:#2f4059;color:#fff;font-size:12px;border-radius:10px;box-shadow:0 5px 30px #24354b22;opacity:0;pointer-events:none;transition:.2s;z-index:100;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.calendar-layout{grid-template-columns:minmax(0,1fr) 300px}.month-cell{min-height:125px}.month-event{font-size:10px}.month-event time{font-size:8px}.day-agenda{padding:25px}.agenda-item-title{font-size:12px}.agenda-item-time{font-size:10px}.week-wrapper{height:685px}}
@media(max-width:1200px){.sidebar{width:190px;padding:29px 13px 18px}main{margin-left:190px;width:calc(100% - 190px);padding:30px 23px 20px}.brand{font-size:27px}.sidebar-caption{font-size:7px}.nav-item{font-size:11px;padding:11px 10px;gap:8px}.calendar-layout{grid-template-columns:minmax(0,1fr) 220px}.day-agenda{padding:18px 14px}.calendar-toolbar{padding:18px 15px}.date-navigation{gap:9px}.date-navigation h2{font-size:15px}.month-cell{padding:7px 4px;min-height:102px}.month-event{font-size:8px;padding:3px}.month-event time{display:none}.page-header h1{font-size:25px}.week-event strong{font-size:7px}.week-event time{font-size:6px}.week-event .week-extra{display:none}.planner-tools{margin-bottom:16px}}
@media(max-width:1000px) and (min-width:761px){.sidebar{width:165px;padding:27px 10px 17px}main{margin-left:165px;width:calc(100% - 165px);padding:28px 19px 20px}.brand{padding:0 10px;font-size:25px;gap:9px}.sidebar-caption{font-size:6px;letter-spacing:1px}.mini-month{padding:0 4px}.nav-item{font-size:10px;gap:7px;padding:10px 8px}.nav-count{font-size:8px;min-width:16px;height:16px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.day-agenda{border-left:0;border-top:1px solid var(--line)}.agenda-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.agenda-item::after{display:none}.empty-agenda{padding:15px}.empty-art{display:none}.agenda-summary{margin-bottom:15px}.day-agenda .agenda-add{width:auto;padding:10px 20px}.page-header h1{font-size:23px}.page-subtitle{font-size:11px}.primary-button{padding:10px 13px;font-size:11px}.person-filter button{padding:0 11px}.search-box input{width:115px}.month-cell{min-height:94px}.week-event strong{font-size:8px}.month-event time{display:inline}}
@media(max-width:760px){.sidebar{display:none}.app-shell{display:block}main{margin:0;width:100%;padding:25px 16px 95px}.page-header{margin-bottom:22px;align-items:flex-start;gap:5px}.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:9px}.page-header h1{font-size:23px;letter-spacing:-.9px;line-height:1.3}.page-subtitle{font-size:10px;margin-top:7px}.header-actions{padding-top:8px}.header-actions>.primary-button{display:none}#mobile-settings{display:grid;background:white;border:1px solid var(--line);width:36px;height:36px}.planner-tools{margin-bottom:17px;gap:4px;flex-wrap:wrap}.person-filter{gap:2px}.person-filter button{padding:0 10px;height:35px;font-size:10px;gap:6px}.person-filter .small-dot{width:6px;height:6px}.duo-avatar i{width:17px;height:17px;font-size:6px}.right-tools{gap:0;margin-left:auto}.right-tools #print-button{display:none}.search-box{gap:3px}.search-box input{width:88px;font-size:10px}.search-box svg{width:14px;height:14px}.planner-card{border-radius:12px}.calendar-toolbar{padding:16px 12px;flex-wrap:wrap;gap:13px}.date-navigation{gap:4px;flex:1}.date-navigation h2{font-size:14px;letter-spacing:-.4px;margin-right:auto}.date-navigation .icon-button{width:23px}.today-button{padding:6px 8px;font-size:9px;min-height:28px}.view-switch{padding:3px}.view-switch button{font-size:9px;padding:6px 10px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.weekdays span{font-size:8px;padding:12px 0}.month-cell{min-height:65px;padding:6px 2px 5px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.date-button{font-size:11px;width:26px;height:26px;margin:0 0 7px}.month-cell .month-event,.month-cell .more-events{display:none}.mobile-dots{display:flex;gap:3px;align-items:center;justify-content:center;flex-wrap:wrap;max-width:30px}.mobile-dots i{width:4px;height:4px;border-radius:50%;background:var(--event-color)}.mobile-dots span{font-size:7px;color:#a0a8b6;line-height:1}.day-agenda{border-left:0;border-top:1px solid var(--line);padding:22px 18px 20px;background:white}.agenda-date{font-size:18px;margin:4px 0 6px}.agenda-head .tiny-label{font-size:8px}.agenda-summary{font-size:10px;margin-bottom:20px}.agenda-item{gap:12px;margin-bottom:20px}.agenda-item-title{font-size:13px;margin-top:2px}.agenda-item-time{font-size:11px;margin:0 0 7px}.task-icon{width:39px;height:41px;font-size:21px;border-radius:10px}.agenda-item::after{left:19px;top:44px;bottom:-17px}.person-tag{font-size:9px}.complete-button{width:23px;height:23px;margin-top:9px}.complete-button svg{width:14px;height:14px}.intensity{font-size:9px}.training-tag{font-size:10px}.agenda-add{font-size:11px;min-height:41px}.empty-agenda{padding:15px 0 5px}.empty-art{width:74px;height:66px;margin-bottom:18px;transform:scale(.85)}.empty-agenda h3{font-size:13px}.empty-agenda p{font-size:11px;max-width:230px}.empty-agenda button{font-size:11px;min-height:37px;margin-top:15px}.mobile-add{position:fixed;display:grid;place-items:center;right:21px;bottom:max(24px,env(safe-area-inset-bottom));width:52px;height:52px;border-radius:17px;background:var(--accent);color:white;box-shadow:0 6px 20px #3977d53d;z-index:12}.mobile-add svg{width:24px;height:24px}.page-footer{margin-top:16px;font-size:8px}.page-footer>span:last-child{display:none}.connection-banner{font-size:10px;padding:10px;align-items:flex-start}.week-wrapper{display:none}.mobile-week{display:block}.mobile-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;padding:14px 6px}.mobile-week-days button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 2px;border-radius:9px;min-width:0;font-size:8px;color:#9aa3b2}.mobile-week-days b{font-size:17px;font-weight:600;color:#6e7c91}.mobile-week-days button.active{background:var(--blue-soft);color:var(--blue)}.mobile-week-days button.active b{color:var(--blue)}.mobile-week-days button.current b{background:var(--blue);color:white;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;margin:-4px 0}.week-mobile-hint{font-size:9px;text-align:center;color:#a4acb9;padding:0 15px 14px;margin:0}.routine-header{margin-top:6px;margin-bottom:17px}.routine-header h2{font-size:17px}.routine-header p{font-size:10px;line-height:1.6}.routine-header button{padding:9px 11px;font-size:10px}.routines-grid{grid-template-columns:minmax(0,1fr);gap:12px}.routine-card{padding:18px}.routine-card h3{font-size:14px}.routine-days span{width:30px;height:30px}.routine-card .training-tag{font-size:10px}.routine-card .intensity{font-size:9px}.toast{bottom:89px;font-size:11px;padding:12px 17px}.event-dialog,.settings-dialog{border-radius:17px 17px 0 0;margin:auto 0 0;width:100%;max-width:100%;max-height:94dvh}.event-dialog form{max-height:94dvh}.settings-dialog{max-height:94dvh}.settings-dialog>.dialog-body{max-height:calc(94dvh - 92px)}.dialog-header{padding:20px 19px 16px}.dialog-header h2{font-size:21px}.dialog-body{padding:19px}.dialog-footer{padding:14px 19px max(14px,env(safe-area-inset-bottom));gap:7px}.dialog-footer button{font-size:11px}.dialog-footer .primary-button{padding:11px 14px}.field{font-size:12px;margin-bottom:18px}.field input,.field textarea,.field select,select#edit-scope{font-size:16px;min-height:44px;padding:10px}.field legend{font-size:12px}.field-row{gap:10px}.field small{font-size:10px}.profile-picker{gap:6px}.profile-picker label>span{font-size:11px;padding:10px 7px;gap:6px}.weekday-picker{gap:5px}.weekday-picker span{height:39px}.color-picker{gap:9px}.color-choice{width:28px;height:28px}.icon-picker{gap:6px}.icon-choice{min-height:39px}.presets{margin-bottom:18px}.presets button{font-size:9px;min-height:31px}.more-fields summary{font-size:12px}.detail-dialog{max-width:calc(100vw - 28px);border-radius:15px;width:420px}.detail-top{padding:22px 19px 18px}.detail-top h2{font-size:20px}.detail-row{font-size:12px}.detail-actions button{font-size:11px;min-height:43px}.detail-top .task-icon{width:45px;height:46px}.confirm-dialog{max-width:calc(100vw - 32px)}.settings-section textarea{font-size:12px}.training-fields summary{font-size:12px}.intensity-picker button{font-size:10px;padding:9px}.intensity-picker .intensity{font-size:10px}}
@media(max-width:370px){main{padding-left:11px;padding-right:11px}.page-header h1{font-size:21px}.person-filter button{padding:0 8px}.search-box input{width:74px}.date-navigation h2{font-size:12px}.view-switch button{padding:6px 8px}.date-navigation{gap:1px}.today-button{padding:6px}.month-cell{min-height:61px}.field-row{flex-wrap:wrap}.field-row>.field{min-width:130px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A4 landscape;margin:8mm}body{background:white;font-size:9px}.sidebar,.page-header,.planner-tools,.page-footer,.mobile-add,.day-agenda,.connection-banner,.arrow-group,.today-button,.view-switch,.toast,dialog,.mobile-week{display:none!important}main{margin:0;width:100%;padding:0}.planner-card{border:1px solid #ccc;box-shadow:none;border-radius:0}.calendar-toolbar{padding:10px 12px}.calendar-layout{display:block}.month-cell{min-height:90px;padding:5px;display:block;break-inside:avoid}.month-cell .month-event{display:flex!important;font-size:8px}.month-cell .more-events{display:block!important}.mobile-dots{display:none}.date-button{width:20px;height:20px;font-size:10px}.month-event{background:white!important;border:1px solid #ccc!important;color:black!important}.week-wrapper{display:block!important;height:auto;overflow:visible}.week-heading{position:static}.week-day-column{background:repeating-linear-gradient(to bottom,transparent 0,transparent 23px,#ddd 23px,#ddd 24px)!important}.week-timeline{height:var(--print-height)!important}.hour-label,.fraction-line,.week-event{top:calc(var(--minute-offset)*.4px)!important}.week-event{height:calc(var(--duration)*.4px)!important;min-height:7px;background:white!important;border:1px solid #aaa;color:black}.week-event strong{font-size:6px}.week-event time{font-size:5px}.week-event .week-extra{display:none}.week-grid{break-inside:avoid}.week-heading>button{font-size:7px;padding:4px}.week-heading{min-height:35px}.week-allday>div{padding:2px}.routines-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.routine-card{box-shadow:none;break-inside:avoid}.routine-card .icon-button{display:none}.routine-header button{display:none}}
