@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--black:#111110;--paper:#fafaf9;--white:#fff;--ink:#171717;--muted:#959592;--line:#e9e9e6;--soft:#f5f5f2;--font:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--tight:'Manrope',var(--font)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--tight);letter-spacing:-.055em}h1{font-size:clamp(35px,3.5vw,53px);line-height:1.14;margin-bottom:12px;font-weight:800}h1 span,h2 span:not(.subtle-number){color:#bbb}h2{font-weight:800;font-size:26px;line-height:1.22}h3{font-size:23px}.eyebrow,.overline,.tiny-heading,label,.side-label{font-weight:800;letter-spacing:.13em;font-size:10px}.eyebrow{color:var(--muted);margin-bottom:15px}.muted,.muted-small{color:var(--muted)}.muted-small{font-size:12px;line-height:1.7}.heading{margin-bottom:37px}.heading-copy{color:#858582;font-size:14px;margin:0}.row-heading{display:flex;justify-content:space-between;align-items:end;gap:18px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:37px 0 17px}.section-head h2{margin:4px 0 0}.section-head .tiny-heading{color:var(--muted);margin:0}.subtle-number{font-size:12px;color:var(--muted);letter-spacing:0;vertical-align:top}.btn{height:43px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:99px;border:1px solid transparent;font-size:10px;font-weight:800;letter-spacing:.105em;white-space:nowrap;transition:transform .15s,background .15s,color .15s}.btn:hover{transform:translateY(-1px)}.btn-black{background:var(--black);color:white}.btn-black:hover{background:#30302e}.btn-outline{background:#fff;border-color:#e6e6e4;color:var(--black)}.btn-outline:hover{border-color:var(--black)}.btn-wide{width:100%;justify-content:space-between;height:53px}.btn-text{background:transparent}.btn .ico{width:16px;height:16px}.icon-btn,.round-btn,.square-btn{display:grid;place-items:center;background:transparent;border:0;color:var(--black);height:39px;width:39px;flex-shrink:0}.icon-btn:hover,.round-btn:hover{background:var(--soft);border-radius:50%}.round-btn{border:1px solid var(--line);border-radius:50%;background:white}.ico{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.round-btn .ico{width:18px}.svg-library{position:absolute;width:0;height:0;pointer-events:none}input,textarea,select{outline:none;border:1px solid var(--line);background:white;color:var(--ink);border-radius:12px;padding:12px 14px;width:100%;min-width:0;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:#666}input::placeholder,textarea::placeholder{color:#b8b8b5}input:disabled{background:#f6f6f4;color:#a3a3a0}label{display:block;margin-bottom:10px;color:#5b5b59}label .muted{letter-spacing:0;font-weight:500}textarea{resize:vertical}.form-error{color:#b34242;font-size:12px;min-height:15px;margin:10px 0}
/* AUTH */
.auth-layout{display:grid;grid-template-columns:minmax(350px,1fr) minmax(480px,1fr);min-height:100vh}.auth-story{background:#111;display:flex;flex-direction:column;justify-content:space-between;color:white;padding:58px clamp(36px,6vw,100px);min-height:720px}.wordmark{font-family:var(--tight);font-size:34px;letter-spacing:-.095em;font-weight:800;line-height:1}.wordmark span{color:#9e9e99}.wordmark.large{font-size:41px}.story-bottom{max-width:530px}.story-bottom .overline{color:#aaa;margin-bottom:25px}.story-bottom h1{font-size:clamp(46px,5.5vw,79px);line-height:1.03;letter-spacing:-.065em;margin-bottom:28px}.story-bottom h1 em{font-weight:500;color:#aaa;font-style:normal}.story-bottom>p:last-child{max-width:380px;color:#aaa;line-height:1.8;font-size:15px;margin:0}.story-illustration{height:260px;position:relative;display:grid;place-items:center;margin-bottom:20px;overflow:hidden}.orbit{position:absolute;border:1px solid #383838;border-radius:50%;width:270px;height:270px}.orbit.o2{width:400px;height:400px}.main-dot{height:142px;width:142px;background:#fdfdf9;border-radius:47% 51% 50% 46%;transform:rotate(-14deg);display:grid;place-items:center;color:black;font-size:56px;box-shadow:0 0 90px #fff2}.main-dot span{transform:rotate(14deg) translateY(-8px)}.auth-right{display:flex;flex-direction:column;justify-content:space-between;padding:57px clamp(40px,7vw,108px)}.auth-top{display:flex;justify-content:space-between;gap:15px}.auth-top>.overline{color:var(--muted)}.auth-top a{font-size:10px;letter-spacing:.085em;font-weight:800}.auth-form{width:min(100%,410px);margin:80px auto}.auth-form h2{font-size:clamp(32px,3vw,42px);max-width:400px;margin:0 0 13px}.auth-form h2 span{color:#aaa}.auth-subtitle{font-size:13px;color:var(--muted);margin-bottom:33px}.auth-form>div{margin-bottom:20px}.auth-form input{height:52px;border-radius:11px}.auth-form .btn{margin-top:5px}.switch-auth{font-size:12px;text-align:center;color:var(--muted);margin-top:28px}.switch-auth button{border:0;background:none;font-weight:800;text-decoration:underline;padding:0;color:var(--black)}.auth-foot{font-size:10px;font-weight:800;letter-spacing:.1em;color:#b0b0aa}
/* APP LAYOUT */
.app-frame{display:flex;min-height:100vh}.sidebar{width:256px;flex:0 0 256px;height:100vh;position:sticky;top:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:39px 17px 20px}.side-top{padding:3px 17px 0;display:flex;flex-direction:column;gap:11px;margin-bottom:62px}.side-top .wordmark{font-size:36px}.side-label{font-size:8px;color:#b8b8b6;letter-spacing:.1em}.primary-nav,.secondary-nav{display:flex;flex-direction:column;gap:7px}.nav-btn{width:100%;border:0;background:none;height:45px;display:flex;align-items:center;gap:15px;border-radius:10px;text-align:left;padding:0 15px;font-weight:700;color:#8a8a88;font-size:13px}.nav-btn.selected{background:#111;color:#fff}.nav-btn:not(.selected):hover{background:#f5f5f2;color:var(--black)}.nav-btn .ico{width:19px;height:19px}.nav-counter{margin-left:auto;font-size:10px;background:#eee;border-radius:50px;min-width:23px;padding:4px;text-align:center;color:#444}.selected .nav-counter{background:#353535;color:white}.side-stretch{flex:1}.side-tip{background:var(--soft);border-radius:12px;padding:18px 13px;display:flex;align-items:center;gap:12px;margin-bottom:23px;color:#888;font-size:11px;line-height:1.7}.side-tip-mascot{width:42px;height:38px;background:black;border-radius:47%;flex-shrink:0;display:flex;gap:7px;align-items:center;justify-content:center;position:relative}.small-eye{height:5px;width:4px;background:#fff;border-radius:50%}.side-tip-mascot i{position:absolute;bottom:8px;width:10px;height:5px;border-bottom:1px solid #fff;border-radius:50%}.user-chip{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 4px 0;margin-top:14px}.avatar{width:37px;height:37px;background:#111;color:#fff;display:grid;place-items:center;border-radius:50%;font-family:var(--tight);font-weight:800}.user-data{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.user-data strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.user-data span{font-size:8px;color:#aaa;font-weight:800;letter-spacing:.08em}.user-chip .icon-btn{width:28px;height:28px}.user-chip .ico{width:17px}.workspace{flex:1;min-width:0}.topbar{height:91px;border-bottom:1px solid var(--line);padding:0 clamp(25px,4vw,67px);display:flex;align-items:center;justify-content:space-between;background:#fafaf9}.breadcrumbs{font-size:10px;color:#aaa;font-weight:800;letter-spacing:.1em}.breadcrumbs span{margin:0 12px;color:#ddd}.breadcrumbs strong{color:#111}.top-actions{display:flex;align-items:center;gap:15px}.top-date{font-size:10px;color:#888;font-weight:700;text-transform:uppercase;letter-spacing:.07em;margin-right:12px}.new-btn{height:39px;padding:0 17px}.new-btn .ico{width:16px}.page-wrap{max-width:1280px;padding:clamp(36px,4.3vw,67px) clamp(26px,4.2vw,69px) 90px;margin:0 auto}.page-view{display:none;animation:appear .26s ease}.page-view.active{display:block}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.mobile-menu{display:none}
/* DASH */
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(245px,.8fr);gap:27px}.hero-block{background:#111;color:#fff;border-radius:15px;padding:37px 38px;min-height:234px;position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero-block>div:first-child{max-width:370px;position:relative;z-index:1;width:100%}.hero-block .tiny-heading{color:#888;margin-bottom:30px}.hero-value{display:flex;align-items:baseline;gap:12px;margin-bottom:18px}.hero-value>span{font-size:60px;letter-spacing:-.09em;line-height:1;font-family:var(--tight);font-weight:800}.hero-value small{font-size:12px;color:#a7a7a7}.progress-track{width:min(100%,340px);height:5px;background:#3b3b3b;overflow:hidden;border-radius:20px}.progress-track div{height:100%;width:0;background:#f8f8f8;border-radius:20px;transition:width .4s}.hero-block p:last-child{font-size:11px;color:#9b9b9b;margin:15px 0 0}.hero-art{height:170px;width:180px;position:relative;display:grid;place-items:center;flex-shrink:0}.mascot{background:#fff;border-radius:47% 53% 47% 48%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(-11deg);position:relative;border:1px solid transparent}.mascot.big{height:117px;width:117px;box-shadow:10px 10px 0 #252525;animation:floaty 4s ease-in-out infinite}.mascot.small{height:49px;width:49px;background:#111;flex-shrink:0}.mascot-eyes{display:flex;gap:23px;transform:rotate(11deg);margin-top:7px}.mascot-eyes i{display:block;width:7px;height:9px;background:#111;border-radius:50%}.mascot.small .mascot-eyes{gap:9px;margin-top:3px}.mascot.small .mascot-eyes i{background:white;width:4px;height:5px}.mascot-mouth{width:17px;height:10px;border-bottom:2px solid #111;border-radius:50%;transform:rotate(11deg);margin-top:6px}.mascot.small .mascot-mouth{width:9px;height:5px;border-color:#fff;border-bottom-width:1px;margin-top:1px}.hero-star{position:absolute;color:#8c8c8c}.hero-star.a{font-size:26px;top:0;right:10px}.hero-star.b{font-size:13px;bottom:9px;left:9px}@keyframes floaty{50%{transform:rotate(-5deg) translateY(-8px)}}.overview-side{display:flex;flex-direction:column;gap:20px}.stat-card,.week-card{border:1px solid var(--line);border-radius:14px;padding:24px 24px 22px;background:#fff}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#9c9c9a}.stat-top .ico{width:18px;height:18px}.stat-big{font-family:var(--tight);font-size:43px;font-weight:800;letter-spacing:-.09em;margin:20px 0 4px}.stat-big span{font-size:13px;letter-spacing:0;color:#aaa}.stat-card .muted-small{margin:0}.mini-link{display:flex;width:100%;justify-content:space-between;padding:24px 0 0;border:0;background:none;text-align:left;font-size:10px;font-weight:800;letter-spacing:.08em}.week-card h3{margin:14px 0 22px}.week-chart{height:85px;display:flex;justify-content:space-between;align-items:end;gap:9px}.chart-bar{flex:1;background:#e8e8e6;border-radius:6px 6px 1px 1px;min-height:4px;transition:height .2s}.chart-bar.today{background:#111}.week-chart-labels{display:flex;justify-content:space-between;margin-top:12px}.week-chart-labels span{flex:1;text-align:center;font-size:10px;color:#aaa;font-weight:700}.week-card .muted-small{margin:23px 0 0}.chat-promo{border:1px solid var(--line);text-align:left;background:#f3f3f0;border-radius:13px;padding:22px 25px;transition:transform .2s}.chat-promo:hover{transform:translateY(-2px)}.small-sparkle{font-size:22px;margin-bottom:13px}.chat-promo p{font-family:var(--tight);font-size:15px;font-weight:800;letter-spacing:-.04em;margin:0 0 9px}.chat-promo span{color:#8a8a85;font-size:11px}.event-list{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.event-row{display:flex;align-items:center;gap:15px;padding:18px 17px;border-bottom:1px solid #eeeeeb;min-height:76px}.event-row:last-child{border:0}.event-row:hover{background:#fbfbfa}.event-row.done .event-title{text-decoration:line-through;color:#aaa}.event-check{width:21px;height:21px;border:1.5px solid #cfcfcb;border-radius:6px;background:#fff;display:grid;place-items:center;flex-shrink:0;font-size:13px}.event-check.checked{background:#111;border-color:#111;color:white}.event-row-detail{flex:1;min-width:0}.event-title{font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-meta{color:#aaa;font-size:11px;margin-top:7px}.event-chip{font-size:9px;font-weight:800;letter-spacing:.07em;background:#f3f3f0;padding:7px 9px;border-radius:6px;color:#666}.event-edit{border:none;background:none;font-size:19px;padding:5px 8px;color:#777}.event-empty{padding:36px 24px;text-align:center}.event-empty .empty-mark{font-size:27px;margin-bottom:12px}.event-empty strong{display:block;font-size:14px}.event-empty p{font-size:12px;color:#aaa;margin:9px 0 16px}
/* INBOX */
.tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-bottom:26px}.tab{font-size:10px;font-weight:800;color:#999;letter-spacing:.11em;border:0;background:none;border-bottom:2px solid transparent;padding:0 0 18px}.tab.active{color:var(--black);border-bottom-color:var(--black)}.tab span{margin-left:5px;color:#aaa}.inbox-list{display:flex;flex-direction:column;gap:9px}.inbox-list .event-row{border:1px solid var(--line);background:white;border-radius:12px;padding:21px;min-height:86px}.inbox-list .event-title{font-size:15px}.inbox-list .event-row:hover{border-color:#999}.inbox-list .event-chip{margin-left:auto}
/* CALENDAR */
.calendar-shell{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;padding:22px 23px;border-bottom:1px solid var(--line)}.calendar-toolbar h2{font-size:23px;margin:0;text-transform:capitalize}.calendar-toolbar>div{display:flex;align-items:center;gap:9px}.square-btn{width:32px;height:32px;border-radius:9px;border:1px solid var(--line);font-size:22px;line-height:1}.btn-today{height:30px;padding:0 12px;font-size:10px}.cal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}.cal-weekdays>span{padding:18px 0;color:#999;font-size:10px;font-weight:800}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line)}.cal-cell{height:112px;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;padding:9px 9px;text-align:left;display:flex;flex-direction:column;gap:6px;cursor:pointer}.cal-cell:nth-child(7n){border-right:0}.cal-cell.outside{background:#fbfbfa;color:#c4c4c0}.cal-cell.selected{box-shadow:inset 0 0 0 2px #111}.cal-cell.today .cal-day-num{background:#111;color:white;border-radius:50%}.cal-day-num{font-size:12px;font-weight:700;width:26px;height:26px;display:grid;place-items:center}.cal-mark{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:#ededeb;color:#555;font-size:9px;font-weight:700;padding:4px 6px;border-radius:4px}.cal-mark.exam{background:#111;color:white}.cal-more{font-size:9px;color:#aaa;padding-left:3px}.calendar-bottom{margin-top:36px}
/* FOCUS */
.focus-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.75fr);gap:30px}.timer-panel{min-width:0;padding:30px 30px 36px;border:1px solid var(--line);border-radius:14px;background:white;display:flex;flex-direction:column;align-items:center}.focus-modes{display:flex;border-radius:25px;background:#f3f3f1;padding:4px;gap:3px}.focus-mode{border:0;background:transparent;border-radius:20px;padding:10px 22px;font-size:10px;letter-spacing:.08em;font-weight:800;color:#999}.focus-mode.active{color:#fff;background:#111}.timer-dial{width:min(100%,335px);aspect-ratio:1;position:relative;margin:19px 0 2px}.timer-dial svg{width:100%;height:100%;transform:rotate(-90deg)}.timer-dial circle{fill:none;stroke-width:6}.timer-bg{stroke:#ededeb}.timer-progress{stroke:#111;stroke-linecap:round;stroke-dasharray:797.96;stroke-dashoffset:0;transition:stroke-dashoffset .4s}.timer-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.timer-center .tiny-heading{color:#999;font-size:9px}.time-display{font-family:var(--tight);font-size:clamp(51px,5.5vw,77px);font-weight:800;letter-spacing:-.09em;line-height:1.4;font-variant-numeric:tabular-nums}.timer-center p{font-size:11px;color:#aaa}.timer-controls{display:flex;gap:11px;justify-content:center;flex-wrap:wrap}.focus-subject{width:min(100%,390px);margin-top:31px}.focus-subject label{font-size:9px;color:#999}.focus-aside{border-radius:14px;background:#111;color:#fff;padding:40px 32px;display:flex;flex-direction:column}.focus-aside>.tiny-heading{color:#868686}.focus-aside h2{font-size:clamp(32px,3.2vw,43px);margin:22px 0 20px}.focus-aside>p:not(.tiny-heading){font-size:12px;color:#aaa;line-height:1.8;margin:0 0 15px}.focus-metric{display:flex;gap:13px;align-items:baseline;margin-top:38px}.focus-metric strong{font-family:var(--tight);font-size:39px;letter-spacing:-.06em}.focus-metric span{font-size:9px;letter-spacing:.09em;color:#999;font-weight:800}.focus-line{height:1px;background:#363636;margin:35px 0 27px}.focus-aside .muted-small{color:#aaa;margin-top:0}
/* SETTINGS */
.settings-form{border-top:1px solid var(--line)}.settings-section{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:55px;border-bottom:1px solid var(--line);padding:39px 0}.settings-section>.tiny-heading{margin:0}.settings-section h2{font-size:23px;margin:17px 0 11px}.settings-section>div:first-child>p:last-child{color:#999;font-size:12px;line-height:1.8}.settings-fields{display:flex;flex-direction:column;gap:0}.settings-fields label{margin:0 0 9px}.settings-fields input{margin:0 0 21px}.setting-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.setting-checkbox{font-weight:600;letter-spacing:0;text-transform:none;font-size:12px;display:flex;align-items:center;gap:10px;margin-top:3px;cursor:pointer}.setting-checkbox input{width:17px;height:17px;accent-color:#111;margin:0;flex-shrink:0}.copy-field{display:flex;gap:9px}.copy-field input{margin:0;min-width:0;font-size:11px}.copy-field .btn{flex-shrink:0;height:auto;border-radius:11px}.settings-help{font-size:11px;color:#999;line-height:1.7;margin:16px 0}.underlink{border:0;background:none;text-decoration:underline;text-align:left;padding:0;color:#111;font-size:10px;letter-spacing:.07em;font-weight:800}.settings-save{display:flex;justify-content:flex-end;padding:29px 0}
/* CHAT */
.chat-scrim,.popup-backdrop{position:fixed;inset:0;background:#10101055;opacity:0;pointer-events:none;z-index:45;transition:opacity .2s}.chat-scrim.open,.popup-backdrop.open{opacity:1;pointer-events:auto}.chat-panel{position:fixed;top:0;right:0;bottom:0;width:min(430px,100vw);z-index:50;background:white;transform:translateX(103%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;box-shadow:-10px 0 35px #0001}.chat-panel.open{transform:translateX(0)}.chat-header{padding:23px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.chat-header-icon{width:38px;height:38px;display:grid;place-items:center;background:#111;color:#fff;border-radius:11px;font-size:20px}.chat-header>div:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.chat-header strong{font-family:var(--tight);font-size:17px;letter-spacing:-.04em}.chat-header span{font-size:9px;color:#999;letter-spacing:.09em;font-weight:800}.chat-messages{padding:24px 22px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:12px}.chat-bubble{max-width:92%;align-self:flex-start;background:#f3f3f0;border-radius:14px 14px 14px 3px;padding:14px 17px;font-size:12px;line-height:1.7}.chat-bubble.user{align-self:flex-end;background:#111;color:white;border-radius:14px 14px 3px 14px}.chat-bubble strong{font-weight:800}.chat-samples{display:flex;gap:9px;padding:14px 18px 8px}.chat-samples button{border:1px solid #e5e5e2;border-radius:25px;background:#fff;padding:9px 12px;font-size:9px;font-weight:800;letter-spacing:.06em}.chat-form{padding:7px 18px;display:flex;align-items:center;gap:10px}.chat-form input{border-radius:25px;background:#f4f4f1;padding:15px 18px;border:0}.chat-form button{border:0;background:#111;color:#fff;font-size:23px;border-radius:50%;height:45px;width:45px;flex-shrink:0}.chat-caption{font-size:10px;color:#999;text-align:center;padding:5px 8px 24px}.chat-confirm{display:flex;flex-direction:column;gap:8px}.chat-preview{background:white;border:1px solid #ddd;border-radius:10px;padding:11px 12px;font-size:11px}.chat-preview strong{display:block;font-size:12px}.chat-preview span{display:block;color:#999;margin-top:5px}.chat-confirm-actions{display:flex;gap:8px}.chat-confirm-actions button{font-size:10px;letter-spacing:.05em;flex:1;padding:10px;background:#111;color:white;border:0;border-radius:7px}.chat-confirm-actions button:last-child{background:#fff;color:#111;border:1px solid #ddd}
/* MODAL */
dialog{border:0}.event-modal{position:fixed;max-height:min(92vh,900px);width:min(570px,calc(100vw - 28px));border-radius:19px;padding:30px;z-index:71;box-shadow:0 20px 90px #0002;margin:auto}.event-modal::backdrop{background:#1119}.event-modal form{display:flex;flex-direction:column}.modal-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:29px;gap:14px}.modal-top .eyebrow{margin-bottom:7px}.modal-top h2{margin:0}.event-modal label{font-size:9px;color:#777}.event-modal input,.event-modal select,.event-modal textarea{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.event-modal .all-day-row{margin:0 0 16px;font-size:12px;letter-spacing:0;font-weight:600}.event-modal .all-day-row input{margin:0;width:17px;height:17px}.modal-footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:7px}.event-modal #deleteEvent{color:#a44;border-color:#f0dada}
/* MASCOT/TOAST */
.mascot-toast{position:fixed;bottom:25px;right:28px;z-index:40;background:#fff;border:1px solid #e9e9e6;border-radius:14px;padding:13px 16px;display:flex;gap:13px;align-items:center;box-shadow:0 10px 35px #0001;max-width:min(340px,calc(100vw - 28px));transform:translateX(calc(100% + 40px));transition:transform .5s cubic-bezier(.2,.7,.2,1)}.mascot-toast.open{transform:translateX(0)}.mascot-toast p{font-size:12px;font-weight:700;line-height:1.5;margin:0;max-width:190px}.mascot-toast>button{font-size:10px;align-self:flex-start;background:none;border:0;color:#999}.notification{position:fixed;bottom:25px;left:50%;transform:translate(-50%,150px);background:#111;color:white;padding:14px 24px;border-radius:35px;z-index:100;font-size:12px;font-weight:700;transition:transform .2s;max-width:90vw;text-align:center}.notification.show{transform:translate(-50%,0)}
@media(max-width:1100px){.sidebar{width:215px;flex-basis:215px}.page-wrap{padding-left:35px;padding-right:35px}.topbar{padding-left:35px;padding-right:35px}.dashboard-grid{grid-template-columns:1fr 275px;gap:19px}.hero-block{padding:28px 24px}.hero-art{width:116px}.mascot.big{width:90px;height:90px}.focus-layout{gap:18px}.focus-aside{padding:30px 23px}.event-chip{display:none}}
@media(max-width:840px){.sidebar{position:fixed;z-index:61;transform:translateX(-102%);transition:transform .24s;box-shadow:10px 0 25px #0001}.sidebar.show{transform:translateX(0)}.mobile-menu{display:grid;margin-left:-8px}.breadcrumbs{margin-right:auto;margin-left:11px}.page-wrap{padding:39px 25px 60px}.topbar{padding:0 25px;height:76px}.dashboard-grid{grid-template-columns:1fr 265px}.top-date{display:none}.side-tip{margin-top:10px}.auth-layout{grid-template-columns:1fr 1fr}.auth-story{padding:40px 30px}.auth-right{padding:40px 30px}.story-bottom h1{font-size:48px}}
@media(max-width:650px){h1{font-size:37px}.heading{margin-bottom:30px}.auth-layout{display:block;min-height:100dvh}.auth-story{display:none}.auth-right{min-height:100dvh;padding:30px 26px 20px}.auth-top>.overline{display:none}.auth-top{justify-content:space-between}.auth-top:before{content:'modo.';font-size:29px;letter-spacing:-.09em;font-weight:900;font-family:var(--tight)}.auth-form{margin:90px auto 65px}.auth-form h2{font-size:36px}.auth-foot{text-align:center}.sidebar{width:min(290px,86vw);flex-basis:auto}.topbar{height:66px;padding:0 18px}.top-actions{gap:8px}.top-actions .round-btn{height:37px;width:37px}.new-btn{height:37px;padding:0 13px}.page-wrap{padding:30px 17px 75px}.dashboard-grid{display:flex;flex-direction:column;gap:23px}.hero-block{min-height:216px;padding:30px 24px}.hero-value>span{font-size:51px}.hero-art{width:110px}.mascot.big{width:82px;height:82px}.hero-star.a{right:-4px}.overview-side{display:grid;grid-template-columns:1fr 1fr;gap:11px}.stat-card,.week-card{padding:18px}.stat-big{font-size:33px}.stat-card .mini-link{font-size:8px;line-height:1.4;gap:5px}.week-card h3{font-size:17px}.week-chart{height:59px}.week-chart-labels span{font-size:8px}.week-card .muted-small{display:none}.chat-promo{grid-column:1 / -1}.row-heading{align-items:flex-start}.heading-cta{font-size:9px;padding:0 11px;height:34px}.tabs{gap:21px}.inbox-list .event-row{padding:16px 13px}.inbox-list .event-title{font-size:13px}.cal-cell{height:77px;padding:5px 2px}.cal-day-num{width:23px;height:23px;font-size:11px}.cal-mark{font-size:8px;padding:3px 3px}.cal-more{font-size:8px}.cal-weekdays>span{padding:14px 0;font-size:9px}.calendar-toolbar{padding:16px 12px}.calendar-toolbar h2{font-size:19px}.calendar-toolbar>div{gap:3px}.focus-layout{display:flex;flex-direction:column}.timer-panel{padding:25px 15px}.timer-dial{max-width:320px}.timer-center .tiny-heading{font-size:8px}.focus-aside{padding:33px}.focus-metric{margin-top:16px}.focus-aside h2{font-size:32px}.settings-section{display:flex;flex-direction:column;gap:15px;padding:29px 0}.settings-section h2{margin:7px 0}.settings-section>div:first-child>p:last-child{margin-bottom:0}.event-modal{padding:22px 18px}.modal-top h2{font-size:22px}.form-grid{gap:8px}.event-modal input,.event-modal select,.event-modal textarea{font-size:13px}.mascot-toast{right:10px;bottom:15px}.chat-header{padding-top:calc(23px + env(safe-area-inset-top))}.chat-caption{padding-bottom:calc(14px + env(safe-area-inset-bottom))}}
@media(max-width:375px){.overview-side{grid-template-columns:1fr}.week-card .muted-small{display:block}.hero-art{width:90px}.mascot.big{width:75px;height:75px}.breadcrumbs{font-size:9px}.new-btn span{display:none}.tab{font-size:9px}.tabs{gap:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Rifiniture dei microcontrolli e toast fuori dal viewport. */
.link-arrow{border:0;background:none;font-family:var(--font);font-size:10px;letter-spacing:.08em;font-weight:800;white-space:nowrap;padding:7px 0;color:#555}.link-arrow:hover{color:#111}.notification{visibility:hidden}.notification.show{visibility:visible}
