:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#f9f7ff;background:#130e22;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#100e1b;--card:#211d30;--card2:#242035;--card3:#191625;--stroke:#3c354e;--muted:#a9a2bd;--purple:#9b53f7;--purple2:#7135dc;--mint:#55dfa7;--gold:#f9c95a;--red:#fd576a;--orange:#ff9b4b;--yellow:#e7c83d;--green:#5fdfa0}
*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;width:100%}body{overflow-x:hidden}button,input,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ae72ff;outline-offset:2px}button,input{transition:background .18s ease,border-color .18s ease,transform .18s ease}button:active{transform:scale(.98)}.ico{display:inline-block;vertical-align:middle;flex-shrink:0}.purple-text{color:#ba84ff}.mint-text{color:#66eab0}.muted{color:var(--muted)}.plain-icon{border:0;background:transparent;padding:3px;display:inline-grid;place-items:center;color:#f5f2fb}.icon-button{height:30px;min-width:30px;padding:0;background:transparent;border:0;display:grid;place-items:center;flex-shrink:0}.icon-button:hover,.plain-icon:hover{color:#c39bff}.icon-button.square{background:#252035;border:1px solid #2c263a;border-radius:10px}.icon-button.tiny{height:25px;min-width:25px;border-radius:8px}.icon-button.ghost{background:transparent}.icon-button.solid-purple,.icon-button.add-round{background:linear-gradient(140deg,#ae67fb,#7d30e9);color:white;border-radius:50%;height:32px;width:32px;box-shadow:0 4px 13px #7431d94d}.text-link{background:transparent;border:0;color:#c692ff;font-size:12px;display:inline-flex;align-items:center;gap:2px}.button-primary{border:1px solid #aa69f9;border-radius:13px;padding:13px 19px;background:linear-gradient(180deg,#ad5aff,#7d32d8);color:white;font-weight:750;box-shadow:0 6px 19px #6d2fdb3d}.button-primary.small{padding:9px 18px;font-size:12px;border-radius:10px}.button-primary.wide,.button-danger.wide{width:100%;justify-content:center}.button-primary:hover{filter:brightness(1.12)}.button-danger{background:#301a2c;border:1px solid #88405c;border-radius:13px;padding:12px 16px;color:#ff8ea0;display:flex;align-items:center;justify-content:center;gap:7px}.button-danger:hover{background:#452036}
/* Layout */
.focus-environment{min-height:100dvh;display:flex;flex-direction:column;position:relative;isolation:isolate;background:radial-gradient(circle at 52% 28%,#40235e 0%,#1b1330 35%,#100b1d 78%);overflow:hidden}.focus-environment:before,.showcase-wrap:before{content:"";pointer-events:none;position:fixed;inset:0;background-image:linear-gradient(90deg,#ffffff03 1px,transparent 1px),linear-gradient(#ffffff03 1px,transparent 1px);background-size:34px 34px;z-index:-1}.ambient{position:absolute;border-radius:50%;filter:blur(70px);z-index:-1;pointer-events:none}.ambient-one{width:370px;height:370px;background:#662abf4d;top:20%;left:37%}.ambient-two{width:250px;height:250px;background:#391b7d44;bottom:3%;right:12%}.focus-toolbar{height:73px;flex-shrink:0;padding:0 max(28px,calc((100vw - 1300px)/2));display:flex;align-items:center;justify-content:space-between}.focus-logo{display:flex;align-items:center;gap:10px;font-weight:850;font-size:20px}.focus-logo img{width:33px;height:33px}.focus-logo small{font-size:11px;color:#9c91b4;font-weight:500;border-left:1px solid #625575;padding-left:10px}.focus-toolbar-right{display:flex;align-items:center;gap:22px;font-size:12px;color:#cbb5ea}.focus-toolbar-right span{display:flex;align-items:center;gap:7px}.toolbar-button,.showcase-open{border:1px solid #69528c;background:#ffffff0c;color:#f6f0ff;padding:9px 14px;border-radius:10px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.toolbar-button:hover,.showcase-open:hover{background:#9b53f72e}.focus-body{display:grid;grid-template-columns:minmax(0,300px) 410px minmax(0,300px);justify-content:center;gap:62px;align-items:center;flex:1;min-height:0;padding:9px 25px 35px}.side-callout{align-self:center}.side-callout .eyebrow{color:#b37afb;font-size:11px;letter-spacing:2px;font-weight:800}.side-callout h2{font-size:clamp(36px,4vw,58px);line-height:1.08;margin:19px 0;letter-spacing:-2px}.side-callout h2 em{font-style:normal;background:linear-gradient(125deg,#b881ff,#7d37ec);background-clip:text;-webkit-background-clip:text;color:transparent}.side-callout p{font-size:15px;line-height:1.8;color:#baafcb;max-width:280px}.side-chip{display:inline-flex;align-items:center;gap:9px;border:1px solid #78529b;background:#8c4de826;padding:10px 12px;border-radius:12px;font-size:12px;color:#d7b5ff;margin-top:13px}.right-callout{display:flex;flex-direction:column;align-items:stretch;gap:17px}.feature-bubble{border:1px solid #534064;background:linear-gradient(145deg,#2e2047e0,#1a152be0);padding:17px 18px;border-radius:18px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 30px #0a051a35}.feature-bubble>span{font-size:25px}.feature-bubble b{display:block;font-size:14px}.feature-bubble small{display:block;margin-top:6px;color:#b6a3ca}.right-callout .side-hint{font-size:12px;line-height:1.6;margin-top:2px}.phone-shell{position:relative;isolation:isolate;display:flex;flex-direction:column;width:410px;height:min(825px,calc(100dvh - 120px));min-height:590px;background:linear-gradient(172deg,#14111f 0%,#0e0c17 37%,#120e20 100%);border:1px solid #8061b1;border-radius:31px;overflow:hidden;box-shadow:0 20px 75px #06030c9c,inset 0 0 30px #b67aff07}.phone-glow{position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 55% 33%,#40225d27,transparent 55%)}.statusbar{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;height:34px;padding:12px 28px 0 31px;font-size:12px;font-weight:750;letter-spacing:.1px}.status-glyphs{display:flex;align-items:center;gap:5px}.screen-view{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#4d3a61 transparent}.screen-view::-webkit-scrollbar{width:4px}.screen-view::-webkit-scrollbar-thumb{background:#503963;border-radius:4px}.page{min-height:100%;padding:20px 17px 32px}.bottom-nav{height:65px;flex-shrink:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px 7px;background:#100d1b;border-top:1px solid #373044;z-index:2}.nav-item{border:0;background:transparent;color:#bfb6d0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;padding:3px 0 0}.nav-item span{font-size:10.5px;white-space:nowrap;letter-spacing:-.3px}.nav-item.active{color:#c374ff}.nav-item.active .ico{filter:drop-shadow(0 0 7px #a64bff55)}
/* common headers */
h1,h2,h3,h4,p{margin-top:0}.brand-header,.simple-head{height:47px;display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;letter-spacing:-.7px;font-weight:800}.brand img{width:31px;height:31px;border-radius:9px;box-shadow:0 3px 12px #8b40fc51}.simple-head h1{font-size:24px;line-height:1.2;margin:0;font-weight:800;letter-spacing:-.65px}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px}.page-title-row h1{font-size:26px;margin:0;letter-spacing:-.8px}.date-navigator{display:flex;align-items:center;gap:6px}.date-navigator>span{font-size:11px;white-space:nowrap;margin-right:6px;color:#e1d9ee}.today-progress{display:flex;gap:17px;align-items:center;padding:5px 11px 13px 8px}.progress-ring{width:92px;height:92px;border-radius:50%;flex-shrink:0;background:conic-gradient(from 0deg,#b87bff 0 var(--progress),#3a3153 var(--progress) 100%);display:grid;place-items:center;position:relative;box-shadow:0 0 19px #984cff25}.progress-ring:before{content:"";position:absolute;inset:9px;background:#181324;border-radius:50%}.progress-ring>div{position:relative;z-index:1}.progress-ring strong{font-size:26px;letter-spacing:-1px}.progress-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.progress-copy strong{font-size:15px;white-space:nowrap}.progress-copy strong button{opacity:.85;vertical-align:middle;color:#d6c6ed}.progress-copy span{font-size:12px;color:#c6bed7}.quick-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 21px}.quick-card{display:flex;align-items:center;gap:8px;text-align:left;padding:12px 9px;background:linear-gradient(145deg,#252137,#1d1a2a);border:1px solid #3d344d;border-radius:12px;min-width:0;min-height:59px}.quick-card:hover,.profile-links>button:hover,.task-row:hover{background-color:#302740}.quick-emoji{font-size:24px;flex-shrink:0;line-height:1}.quick-card strong{font-size:11.5px;line-height:1.3;display:block;white-space:nowrap}.quick-card small{font-size:10px;color:#b9b1cc;display:block;margin-top:5px;white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.section-heading h2,.section-heading h3{font-size:16px;margin:0;font-weight:750}.section-heading h2 span{font-weight:620;color:#dad2e8}
/* tasks */
.task-list{display:flex;flex-direction:column;gap:0}.task-row{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 9px;background:#211d30;border:1px solid #3a3349;margin-bottom:-1px}.task-row:first-child{border-radius:12px 12px 0 0}.task-row:last-child{border-radius:0 0 12px 12px;margin-bottom:0}.task-row:only-child{border-radius:12px}.task-row.compact{background:#211d30b9;min-height:51px}.task-check{width:25px;height:25px;border:2px solid #ded9e7;display:grid;place-items:center;flex-shrink:0;background:transparent;border-radius:7px;color:#fff;padding:0}.task-check.checked{border-color:#a04ff7;background:linear-gradient(160deg,#a860fc,#7f2bd8);box-shadow:0 2px 11px #6e2ac149}.task-body{display:flex;flex-direction:column;justify-content:center;gap:4px;border:0;background:transparent;text-align:left;padding:0;min-width:0;flex:1;min-height:36px}.task-title{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.task-time{font-size:11px;color:#b7afc5;white-space:nowrap}.time-bell{color:#b78cff;margin-left:3px}.task-row.is-done .task-title{text-decoration:line-through;color:#b5adbd}.priority-tag{border-radius:18px;padding:5px 7px;flex-shrink:0;white-space:nowrap;font-weight:750;font-size:10px;line-height:1}.priority-tag.critical{background:#59242f;color:#ff6170}.priority-tag.high{background:#523219;color:#ffad3f}.priority-tag.medium{background:#4a4118;color:#ffe149}.priority-tag.low{background:#1d4b39;color:#64e4a2}.finished-heading{background:transparent;border:0;display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px;font-weight:750;margin:19px 0 9px;padding:2px 0}.finished-list{opacity:.85}.finished-placeholder{border-radius:10px;border:1px dashed #44394f;color:#9e92ad;font-size:11px;padding:18px;text-align:center}.empty-tasks{min-height:160px;border:1px dashed #5f4a76;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;color:#ae80dc;background:#281b3f2b}.empty-tasks b{font-size:13px;color:#f7f0ff}.empty-tasks span{font-size:11px;color:#bfb3ce}.inline-tip{display:flex;align-items:center;justify-content:center;gap:8px;color:#9585ad;font-size:11px;margin-top:21px;padding:12px}
/* Calendar */
.calendar-month{display:flex;align-items:center;justify-content:space-between;margin:11px 0 20px}.calendar-month h2{font-size:18px;font-weight:750;margin:0;letter-spacing:-.3px}.inline-actions{display:flex;gap:8px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;align-items:start}.weekday-name{color:#aea5bc;font-size:11px;text-align:center;margin-bottom:10px}.calendar-day{min-width:0;height:44px;border-radius:11px;border:1px solid transparent;background:none;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;font-size:13px;font-weight:570;position:relative;padding:3px}.calendar-day:hover{background:#2c2340}.calendar-day.outmonth{color:#746d82}.calendar-day.selected{background:linear-gradient(145deg,#a85efa,#7433db);box-shadow:0 5px 15px #812ae269;font-weight:800}.calendar-day.is-today:not(.selected){border-color:#9c67eb}.day-dots{position:absolute;bottom:5px;display:flex;gap:3px}.dot{display:block;width:4px;height:4px;border-radius:50%}.dot.green{background:#5adca3}.dot.purple{background:#aa78ff}.dot.orange{background:#f8c862}.calendar-day.selected .dot{background:white}.calendar-day-card{margin-top:23px;background:#231f33;border:1px solid #3b334b;border-radius:14px;padding:12px 12px 4px}.calendar-selected-head{display:flex;align-items:center;justify-content:space-between;padding:2px 1px 13px}.calendar-selected-head h3{font-size:16px;margin:0 0 5px;font-weight:750}.calendar-selected-head p{font-size:11px;color:#c7bed4;margin:0}.calendar-mini-tasks{border-top:1px solid #3b3449;padding-top:7px}.calendar-mini-tasks .task-row{padding-left:5px;padding-right:2px;background:transparent;border-left:0;border-right:0;border-top:0;border-color:#3b334b;border-radius:0;min-height:52px}.no-day-tasks{padding:28px 0;color:#b5a6c4;text-align:center;font-size:12px}.calendar-footnote{display:flex;align-items:center;gap:8px;color:#9488aa;font-size:11px;margin-top:22px}
/* Stats */
.segmented{display:flex;gap:2px;border:1px solid #383048;background:#201b2b;border-radius:12px;padding:3px;margin:6px 0 18px}.segmented button{border:0;flex:1;min-width:0;background:transparent;font-size:11px;padding:9px 5px;border-radius:9px;white-space:nowrap}.segmented button.selected{background:linear-gradient(165deg,#b060fc,#7934d9);box-shadow:0 2px 12px #a056f34a;font-weight:720}.segmented button:not(.selected):hover{background:#332746}.chart-section{margin-top:2px}.subheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.subheading h3,.breakdown-section h3,.stats-page h3{font-size:14px;font-weight:750;margin:0}.subheading select{appearance:auto;background:#272235;border:1px solid #393247;border-radius:10px;padding:6px 8px;font-size:11px;color:#eae5f3}.bar-chart{height:209px;display:grid;grid-template-columns:34px 1fr;gap:5px;margin-top:8px}.chart-yaxis{display:flex;flex-direction:column;justify-content:space-between;height:180px;padding:0 0 0 0;color:#c5bbd0;font-size:10px}.bars-body{position:relative;height:200px;padding-bottom:20px}.chart-gridlines{height:180px;position:absolute;inset:0 0 20px;display:flex;justify-content:space-between;flex-direction:column}.chart-gridlines i{width:100%;height:1px;background:#50475756}.bars{position:absolute;inset:0 3px 0 0;height:200px;display:flex;align-items:flex-end;gap:10px}.bar-column{height:200px;flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:8px}.bar{width:100%;max-width:28px;background:linear-gradient(to bottom,#ae65f9,#7132d1);border-radius:3px 3px 0 0;min-height:4px;box-shadow:0 0 10px #9b51ec16;transform-origin:bottom}.bar-column small{height:11px;color:#c1b9cc;font-size:10px;white-space:nowrap}.stat-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 22px}.stat-mini{display:flex;align-items:center;justify-content:center;gap:9px;background:#201c30;border:1px solid #322b42;border-radius:12px;min-height:58px;padding:9px}.stat-mini b{font-size:14px;white-space:nowrap;display:block}.stat-mini span{color:#b3a9c3;font-size:10px;white-space:nowrap}.breakdown-section{margin-top:6px}.breakdown-layout{display:flex;gap:18px;align-items:center;margin:15px 0 19px}.donut{width:141px;height:141px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:conic-gradient(#a961f5 0 25%,#ff5c67 25% 50%,#ffae4b 50% 73%,#eddf38 73% 84%,#5adf8e 84% 100%);transform:rotate(-90deg)}.donut>div{width:103px;height:103px;background:#14111e;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.donut strong{font-size:26px;line-height:1.1}.donut small{font-size:11px;color:#b7adc5}.donut-legend{display:flex;flex:1;flex-direction:column;gap:12px}.donut-legend>div{display:flex;align-items:center;gap:8px;font-size:12px}.donut-legend>div span:nth-child(2){flex:1}.donut-legend strong{font-size:12px}.legend-dot{display:inline-block;width:11px;height:11px;border-radius:50%;flex-shrink:0}.legend-dot.critical{background:#fd5a70}.legend-dot.high{background:#ffa348}.legend-dot.medium{background:#e8d12e}.legend-dot.low{background:#58d98d}.badges-heading{margin:22px 0 13px}.badge-line{display:flex;justify-content:space-between;gap:9px}.badge-icon{font-size:24px;width:53px;height:53px;border-radius:11px;background:linear-gradient(145deg,#453456,#251d39);border:1px solid #604879;box-shadow:inset 0 1px 6px #ffffff11}.badge-i-2,.badge-i-3{background:linear-gradient(145deg,#8c641d,#342a26);border-color:#a58236}.badge-i-4{background:linear-gradient(145deg,#6437aa,#29203e)}.section-top-gap{margin:25px 0 15px!important}.history-list{border:1px solid #3d334b;border-radius:14px;overflow:hidden}.history-row{display:flex;align-items:center;gap:11px;background:#211c2f;padding:15px 12px;border-bottom:1px solid #393047;font-size:11px}.history-row:last-child{border-bottom:0}.history-day{min-width:80px}.history-track{height:8px;flex:1;min-width:0;border-radius:10px;background:#463658;overflow:hidden}.history-track i{display:block;height:100%;background:#9951ef;border-radius:10px}.history-row b{min-width:31px}.panel-note{font-size:11px;color:#a99eb8;padding:17px 4px;line-height:1.6}.insight-feature{text-align:center;border:1px solid #6c49a5;border-radius:16px;background:linear-gradient(#40285d,#241b37);padding:23px 19px;margin-bottom:25px}.insight-feature .ico{color:#d7b0ff;margin-bottom:10px}.insight-feature h3{font-size:17px;margin-bottom:9px}.insight-feature p{font-size:12px;color:#c4b7da;line-height:1.65;margin:0}.insight-row{margin-top:17px}.insight-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.insight-row>div:first-child span{color:#c8b4db}.insight-meter{height:9px;border-radius:10px;background:#332942;overflow:hidden}.insight-meter i{display:block;height:100%;border-radius:10px}.insight-meter .critical{background:#f26783}.insight-meter .high{background:#f6ab56}.insight-meter .medium{background:#e5ce45}.insight-meter .low{background:#5acb91}
/* Leaderboard */
.league-banner{border:1px solid #8a692d;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:84px;background:radial-gradient(ellipse at 50% 20%,#513b27c2,#211a23);padding:12px;margin:4px 0 19px}.league-banner>div{text-align:center;min-width:0}.league-banner strong{font-size:17px;display:flex;align-items:center;gap:6px;justify-content:center;white-space:nowrap}.league-banner strong .ico{opacity:.7}.league-banner small{display:block;font-size:10px;color:#c5b5ad;margin-top:9px;white-space:nowrap}.laurel{font-family:Georgia,serif;font-size:43px;color:#dba835;display:block;transform:rotate(22deg)}.laurel.mirror{transform:scaleX(-1) rotate(22deg)}.ranking-table{width:100%}.table-heading,.leader-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:7px;padding-left:10px;padding-right:10px}.table-heading{height:28px;color:#b1a7bd;font-size:10px}.table-heading span:last-child{text-align:right}.leader-row{min-height:49px;font-size:12px;border-radius:11px}.leader-row.me{background:linear-gradient(90deg,#532b85,#35204f);border:1px solid #704395}.rank{font-size:12px;color:#e8def5}.medal{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-weight:900;color:#3d2a0a;background:linear-gradient(#ffe386,#d7961d);border:2px solid #ffda57;box-shadow:0 2px 12px #dca33344}.medal-1{background:linear-gradient(#edf1fb,#a9b0c6);border-color:#d3d6df;color:#4b5368}.medal-2{background:linear-gradient(#f7c897,#bf7844);border-color:#d8a06f;color:#5c311a}.leader-person{display:flex;align-items:center;gap:9px;min-width:0;font-weight:600}.leader-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-row>strong{white-space:nowrap;font-size:12px}.avatar{height:28px;width:28px;display:inline-grid;place-items:center;border-radius:50%;border:2px solid #c8b3df;color:white;font-size:10px;font-weight:750;flex-shrink:0}.avatar-0{background:linear-gradient(145deg,#9ea6f4,#5444bd)}.avatar-1{background:linear-gradient(145deg,#7ab1d9,#213d8a)}.avatar-2{background:linear-gradient(145deg,#e5b184,#944075)}.avatar-3{background:linear-gradient(145deg,#eab1e7,#a15bdd)}.avatar-4{background:linear-gradient(145deg,#ffb49c,#783e91)}.avatar-5{background:linear-gradient(145deg,#c4a2ef,#7e43a0)}.mountain-avatar{position:relative;display:inline-block;overflow:hidden;flex-shrink:0;border-radius:50%;background:linear-gradient(180deg,#e38bc6,#b56ae6 55%,#3e287b);border:2px solid #ac80d0;height:37px;width:37px;box-shadow:inset 0 0 10px #ffffff33}.mountain-avatar:before{content:"";position:absolute;top:34%;right:17%;background:#ffddbd;height:31%;width:30%;border-radius:50%}.mountain-avatar .mountain-back{position:absolute;bottom:7%;left:7%;width:85%;height:54%;background:#ffd0bc;clip-path:polygon(0 100%,45% 0,100% 100%)}.mountain-avatar .mountain-front{position:absolute;bottom:-2%;left:-6%;width:113%;height:48%;background:#473078;clip-path:polygon(0 100%,35% 10%,68% 73%,89% 22%,100% 48%,100% 100%)}.mountain-avatar.tiny{height:29px;width:29px;border-width:1px}.mountain-avatar.large{height:83px;width:83px;border-width:3px}.weekly-card{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:13px 12px;background:linear-gradient(120deg,#3b235b,#261a3e);border:1px solid #574174;border-radius:13px}.weekly-card span{font-size:12px;font-weight:700}.weekly-card small{display:block;font-size:10px;color:#5ae49d;margin-top:6px}.weekly-card strong{font-size:17px}.leagues-list{display:flex;flex-direction:column;gap:8px}.league-list-row{display:flex;align-items:center;gap:13px;border-radius:12px;padding:12px;background:#211d30;border:1px solid #3d324e}.league-list-row.current{background:#3b2857;border-color:#8859ba}.league-list-row>span:first-child{font-size:26px}.league-list-row>div{display:flex;flex-direction:column;gap:4px;flex:1}.league-list-row b{font-size:12px}.league-list-row small{font-size:10px;color:#bcafcb}.you-here{color:#e3b5ff;font-size:10px}
/* Profile */
.identity-row{display:flex;align-items:center;gap:14px;margin:10px 0 21px}.identity-name{font-size:21px;font-weight:820;display:flex;align-items:center;gap:9px}.pro-pill{background:linear-gradient(150deg,#a34df4,#7333df);padding:5px 7px;border-radius:7px;font-size:10px}.identity-row p{font-size:11px;color:#b9acc6;margin:8px 0 0}.level-head{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.level-head b{font-weight:600}.level-head span{color:#c2b6cf}.xp-track{height:11px;background:#463855;border-radius:12px;overflow:hidden}.xp-track i{display:block;width:83%;height:100%;background:linear-gradient(90deg,#a755f4,#9c52fa);border-radius:12px;box-shadow:0 0 12px #a35bff88}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:21px 0 24px}.profile-stats button{display:flex;align-items:center;flex-direction:column;gap:5px;min-height:122px;border:1px solid #3c334c;border-radius:12px;background:linear-gradient(145deg,#292339,#1e1a2b);padding:11px 5px}.profile-stats .big-emoji{font-size:23px}.profile-stats strong{font-size:14px;white-space:nowrap}.profile-stats small{font-size:10px;color:#afa6bd;text-align:center;white-space:nowrap}.subsection-title{font-size:14px;margin-bottom:12px}.best-streaks{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.best-streaks button{border:1px solid #3b304e;background:#251e33;border-radius:12px;min-height:105px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px}.best-streaks button>span{font-size:27px}.best-streaks strong{font-size:13px}.best-streaks small{font-size:10px;color:#b6a8c5}.profile-links{border:1px solid #3a3149;border-radius:14px;overflow:hidden;margin-top:17px}.profile-links>button{background:#201b2c;display:flex;align-items:center;width:100%;gap:11px;text-align:left;padding:13px;border:0;border-bottom:1px solid #342d43;min-height:52px}.profile-links>button:last-child{border-bottom:0}.profile-links>button>span{flex:1;font-size:13px;font-weight:580}.profile-links>button>small{font-size:11px;color:#ada4ba}
/* Desktop gallery: gallery phones and four supporting design panels */
.showcase-wrap{min-height:100vh;padding:20px 19px 23px;background:radial-gradient(ellipse at 30% 6%,#30204a,#171029 55%,#1a112b);isolation:isolate}.showcase-topline{max-width:1700px;margin:0 auto 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.showcase-brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:850}.showcase-brand img{width:29px;height:29px}.showcase-subtitle{border-left:1px solid #534364;margin-left:9px;padding-left:15px;font-size:12px;color:#b7a4c8;font-weight:500}.showcase-actions{display:flex;align-items:center;gap:17px}.demo-chip{color:#c7b1df;display:flex;align-items:center;gap:6px;font-size:11px}.showcase-phones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;max-width:1700px;margin:auto}.showcase-phones .phone-shell{width:100%;height:660px;min-height:0;border-radius:27px;box-shadow:0 8px 20px #08061252;cursor:pointer}.gallery-phone:after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:27px;transition:background .18s}.gallery-phone:hover:after{background:#a24fff08}.gallery-phone .statusbar{height:29px;padding:10px 18px 0 21px;font-size:11px}.gallery-phone .page{padding:13px 12px 15px}.gallery-phone .brand-header,.gallery-phone .simple-head{height:43px}.gallery-phone .brand{font-size:18px;gap:7px}.gallery-phone .brand img{width:25px;height:25px}.gallery-phone .simple-head h1{font-size:22px}.gallery-phone .page-title-row h1{font-size:24px}.gallery-phone .date-navigator{gap:3px}.gallery-phone .date-navigator>span{font-size:9px;margin-right:2px}.gallery-phone .icon-button.tiny{width:23px;min-width:23px;height:23px}.gallery-phone .today-progress{gap:9px;padding:3px 2px 8px}.gallery-phone .progress-ring{height:77px;width:77px}.gallery-phone .progress-ring strong{font-size:22px}.gallery-phone .progress-copy strong{font-size:12px}.gallery-phone .progress-copy span{font-size:10px}.gallery-phone .quick-cards{gap:6px;margin-bottom:15px}.gallery-phone .quick-card{padding:9px 6px;gap:5px;min-height:52px}.gallery-phone .quick-emoji{font-size:17px}.gallery-phone .quick-card strong{font-size:9.4px}.gallery-phone .quick-card small{font-size:8px}.gallery-phone .section-heading h2{font-size:14px}.gallery-phone .task-row{gap:6px;padding:7px 6px;min-height:50px}.gallery-phone .task-check{width:22px;height:22px}.gallery-phone .task-title{font-size:11px}.gallery-phone .task-time{font-size:9.5px}.gallery-phone .priority-tag{font-size:8px;padding:5px 6px}.gallery-phone .finished-heading{font-size:11px;margin-top:13px}.gallery-phone .bottom-nav{height:60px;padding:6px 3px}.gallery-phone .nav-item{gap:4px}.gallery-phone .nav-item span{font-size:8.6px}.gallery-phone .calendar-month{margin-top:4px;margin-bottom:14px}.gallery-phone .calendar-month h2{font-size:15px}.gallery-phone .calendar-grid{gap:2px}.gallery-phone .calendar-day{height:39px;font-size:12px}.gallery-phone .weekday-name{font-size:9px;margin-bottom:5px}.gallery-phone .calendar-day-card{margin-top:16px;padding:10px 8px}.gallery-phone .calendar-selected-head h3{font-size:13px}.gallery-phone .calendar-selected-head p{font-size:9px}.gallery-phone .calendar-mini-tasks .task-row{min-height:45px}.gallery-phone .segmented{margin-bottom:13px}.gallery-phone .segmented button{font-size:9px;padding:8px 2px}.gallery-phone .subheading h3{font-size:12px}.gallery-phone .subheading select{font-size:9px}.gallery-phone .bar-chart{height:175px}.gallery-phone .chart-yaxis{height:148px;font-size:8px}.gallery-phone .bars-body,.gallery-phone .bars{height:167px}.gallery-phone .chart-gridlines{height:148px}.gallery-phone .bars{gap:7px}.gallery-phone .bar-column{height:167px}.gallery-phone .bar-column small{font-size:8px}.gallery-phone .stat-summary{margin:10px 0 17px;gap:6px}.gallery-phone .stat-mini{gap:5px;min-height:52px;padding:6px}.gallery-phone .stat-mini b{font-size:12px}.gallery-phone .stat-mini span{font-size:8px}.gallery-phone .breakdown-section h3{font-size:12px}.gallery-phone .breakdown-layout{gap:9px;margin:12px 0}.gallery-phone .donut{width:110px;height:110px}.gallery-phone .donut>div{height:80px;width:80px}.gallery-phone .donut strong{font-size:20px}.gallery-phone .donut-legend{gap:8px}.gallery-phone .donut-legend>div{font-size:10px;gap:5px}.gallery-phone .donut-legend strong{font-size:10px}.gallery-phone .badge-icon{width:42px;height:42px;font-size:19px}.gallery-phone .league-banner{min-height:70px;padding:8px;margin-bottom:12px}.gallery-phone .league-banner strong{font-size:13px}.gallery-phone .league-banner small{font-size:8px}.gallery-phone .laurel{font-size:27px}.gallery-phone .leader-row{min-height:43px;padding-left:4px;padding-right:4px;font-size:10px;grid-template-columns:25px 1fr auto;gap:4px}.gallery-phone .leader-row>strong{font-size:10px}.gallery-phone .leader-person{gap:5px}.gallery-phone .avatar,.gallery-phone .mountain-avatar.tiny{height:24px;width:24px;font-size:9px}.gallery-phone .table-heading{font-size:8px;padding:0 4px}.gallery-phone .weekly-card{padding:10px 8px;margin-top:12px}.gallery-phone .weekly-card span{font-size:10px}.gallery-phone .weekly-card small{font-size:8px}.gallery-phone .weekly-card strong{font-size:13px}.gallery-phone .identity-row{gap:9px;margin-bottom:15px}.gallery-phone .mountain-avatar.large{width:64px;height:64px}.gallery-phone .identity-name{font-size:17px}.gallery-phone .identity-row p{font-size:9px}.gallery-phone .level-head{font-size:9px}.gallery-phone .profile-stats{gap:5px;margin:16px 0}.gallery-phone .profile-stats button{min-height:108px;padding:9px 2px}.gallery-phone .profile-stats .big-emoji{font-size:19px}.gallery-phone .profile-stats strong{font-size:11px}.gallery-phone .profile-stats small{font-size:8px}.gallery-phone .best-streaks button{min-height:93px}.gallery-phone .best-streaks button>span{font-size:22px}.gallery-phone .best-streaks strong{font-size:10px}.gallery-phone .best-streaks small{font-size:9px}.gallery-phone .profile-links>button{padding:10px;min-height:45px}.gallery-phone .profile-links>button>span{font-size:11px}.gallery-phone .profile-links>button>small{font-size:9px}
.showcase-panels{max-width:1700px;margin:22px auto 0;display:grid;grid-template-columns:.95fr .95fr 1.12fr 1.23fr;gap:18px}.showcase-panel{border:1px solid #795b9b;border-radius:22px;min-width:0;height:330px;padding:16px 16px;color:#fff;background:radial-gradient(ellipse at 45% 25%,#221932,#110f1d 75%);overflow:hidden;cursor:pointer;transition:transform .18s,border-color .18s}.showcase-panel:hover{border-color:#af7cf0;transform:translateY(-2px)}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:14px}.panel-top b{font-size:14px}.preview-save{padding:7px 18px;border-radius:12px;background:linear-gradient(140deg,#a756ff,#762ccf);font-size:11px;font-weight:700}.showcase-panel small{font-size:10px;display:block;color:#eee9f8}.preview-input{background:#211c30;border:1px solid #51405f;border-radius:10px;padding:10px;margin:7px 0 13px;font-size:12px}.preview-priorities{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0 14px}.preview-priorities span{background:#193c31;border-radius:8px;padding:9px 3px;text-align:center;font-size:10px;color:#77f1af}.preview-priorities span:nth-child(2){background:#453c1f;color:#ffde51}.preview-priorities span:nth-child(3){background:#49311b;color:#ffb44f}.preview-priorities span:nth-child(4){background:#4a2035;color:#ff6f8d;border:1px solid #de568a}.preview-setting{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:9px}.preview-setting>span{font-size:11px;min-width:61px}.preview-setting>div{flex:1;display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #50425c;background:#241e33;border-radius:8px;padding:9px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-frequency{display:flex;border:1px solid #433650;background:#201a2e;padding:3px;border-radius:10px;justify-content:space-between;gap:2px;margin-bottom:16px}.preview-frequency span{font-size:9.5px;padding:7px 6px;border-radius:8px}.preview-frequency .on{background:#9d50f4}.preview-days{display:flex;gap:4px;justify-content:space-between;margin:11px 0 18px}.preview-days span{border:1px solid #443b50;background:#292137;border-radius:8px;font-size:9px;padding:8px 6px}.preview-days .on{background:#853adf;border-color:#974fea}.preview-option{display:flex;justify-content:space-between;align-items:center;font-size:11px;border-bottom:1px solid #2d283a;padding:8px 4px}.mini-switch{height:15px;width:28px;border-radius:10px;background:#686079;position:relative;flex-shrink:0}.mini-switch:after{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;background:white;border-radius:50%}.mini-switch.on{background:#8c43e7}.mini-switch.on:after{left:15px}.preview-recap{text-align:center;position:relative;padding:12px 17px}.recap-trophy{font-size:22px;display:block}.preview-recap h3{font-size:14px;margin:6px 0}.recap-num{font-size:34px;font-weight:860;color:#76eba9;line-height:1.08}.preview-recap>strong{font-size:12px;display:block}.preview-recap p{font-size:10px;color:#ddd3ea;margin:5px 0 9px}.recap-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:9px}.recap-grid>div:first-child{background:#221b30;border:1px solid #403449;border-radius:9px;padding:5px 6px}.recap-grid>div:first-child>div{display:flex;align-items:center;gap:4px;margin-bottom:5px;font-size:9px}.recap-grid>div:first-child>div:last-child{margin-bottom:0}.recap-grid .legend-dot{width:8px;height:8px}.recap-grid>div:first-child span:nth-child(2){flex:1;text-align:left}.recap-grid b{font-size:9px}.recap-grid em{font-size:9px;color:#7bebaa;font-style:normal}.recap-grid-side{display:flex;flex-direction:column;gap:6px}.recap-grid-side span{padding:9px 4px;text-align:center;background:#272036;border:1px solid #3a2e4c;border-radius:9px;font-size:9px}.recap-cta{background:linear-gradient(160deg,#a759ee,#7630dd);border-radius:10px;padding:10px;margin-top:10px;font-size:11px;font-weight:720}.preview-upgrade{padding:22px 17px}.preview-upgrade h3{font-size:16px;margin-bottom:29px}.upgrade-flow{display:flex;gap:8px;align-items:center}.upgrade-days{display:flex;gap:5px;flex:1;min-width:0}.upgrade-days>div{min-width:0;flex:1;padding:10px 1px;border:1px solid #59af89;background:#14392f;border-radius:10px;text-align:center}.upgrade-days span{display:block;font-size:10px;white-space:nowrap}.upgrade-days b{display:block;color:#9dfcc8;font-size:15px;margin-top:8px}.upgrade-arrow{font-size:26px;color:#d3b2ff}.upgrade-award{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:95px;border-radius:12px;border:1px solid #a35beb;background:#312145;min-height:115px;padding:7px;box-shadow:0 0 20px #8545d93b}.upgrade-award span{font-size:23px}.upgrade-award b{font-size:11px;text-align:center;margin:5px 0}.upgrade-award small{text-align:center;font-size:10px;line-height:1.5;color:#cdc1db}.preview-upgrade>p{text-align:center;font-size:10px;margin:11px 0 20px}.upgrade-explain{text-align:center;color:#d3c6e4;font-size:11px;line-height:1.65;max-width:290px;margin:auto}.showcase-foot{max-width:1700px;margin:19px auto 0;color:#a89aba;text-align:center;font-size:11px}
/* Modals */
.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#06040cc9;backdrop-filter:blur(8px);padding:16px}.modal-sheet{display:flex;flex-direction:column;width:min(430px,100%);max-height:min(790px,calc(100dvh - 30px));background:linear-gradient(145deg,#181323,#0e0c18);border:1px solid #805caf;border-radius:24px;box-shadow:0 18px 90px #000b;overflow:hidden}.modal-heading{display:grid;grid-template-columns:70px 1fr 70px;align-items:center;gap:5px;min-height:70px;padding:12px 17px 4px}.modal-heading>*:first-child{justify-self:start}.modal-heading>*:last-child{justify-self:end}.modal-heading h2{text-align:center;font-size:17px;letter-spacing:-.2px;margin:0}.modal-scroll{overflow-y:auto;min-height:0;padding:12px 21px 26px;scrollbar-width:thin;scrollbar-color:#5e457a transparent}.form-label{display:block;font-size:12px;color:#dfd6eb;font-weight:570;margin-bottom:9px}.form-input{display:block;border-radius:11px;border:1px solid #4b3d5a;background:#211c2e;color:#fff;padding:13px 11px;width:100%;margin-top:9px;margin-bottom:17px;font-size:13px}.form-input.invalid{border-color:#ff5a78}.form-input::placeholder{color:#8b829a}.priority-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:19px}.priority-choice{border:1px solid transparent;background:#17372c;color:#76e5a6;border-radius:10px;padding:11px 3px;font-size:11px;font-weight:650}.priority-choice.medium{background:#3a341e;color:#efdd57}.priority-choice.high{background:#402b1e;color:#ffb65b}.priority-choice.critical{background:#3e2130;color:#ff6682}.priority-choice.selected{border-color:currentColor;box-shadow:0 0 0 1px currentColor inset}.fieldline{display:flex;align-items:center;gap:10px;min-height:59px;border-top:1px solid #332a41}.fieldline.clickable{cursor:pointer}.fieldline-title{display:flex;align-items:center;gap:10px;font-size:12px;min-width:100px}.fieldline-title .ico{color:#cdb9e6}.fieldline>input[type=date]{margin-left:auto;max-width:155px;background:#221d30;border:1px solid #473956;color:white;border-radius:9px;padding:7px;font-size:11px}.fieldline .field-value{font-size:10px;color:#c4b5d3;text-align:right;margin-left:auto;flex:1;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 12px}.time-inputs label{font-size:10px;color:#cfc1db}.time-inputs input{display:block;margin-top:7px;border-radius:9px;border:1px solid #483956;background:#211b30;color:#fff;padding:10px 8px;width:100%;font-size:12px;color-scheme:dark}.helper-note{font-size:11px;line-height:1.7;color:#a99ab9;margin:18px 0 0}.helper-note.top-note{margin-top:0;margin-bottom:18px}.modal-scroll>.button-danger{margin-top:21px}.switch{position:relative;display:inline-block;width:37px;height:21px;margin-left:auto;flex-shrink:0}.switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}.switch>span{position:absolute;inset:0;border-radius:99px;background:#5d526d;transition:background .2s}.switch>span:after{content:"";width:15px;height:15px;position:absolute;background:#fff;top:3px;left:3px;border-radius:50%;transition:transform .2s}.switch input:checked+span{background:#9244ed}.switch input:checked+span:after{transform:translateX(16px)}.frequency-selector{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;background:#221b30;border:1px solid #3a3048;border-radius:12px;padding:3px}.frequency-selector button{border:0;background:transparent;font-size:11px;padding:10px 2px;border-radius:9px}.frequency-selector button.selected{background:#8b41e7}.top-spaced{margin-top:20px}.repeat-interval{display:flex;align-items:center;gap:9px;font-size:12px}.repeat-interval input{width:65px;background:#231d31;color:#fff;border:1px solid #4a3959;padding:9px;border-radius:9px}.weekday-selector{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday-selector button{background:#252033;color:#d1c5da;border:1px solid #40334c;padding:9px 0;border-radius:9px;font-size:10px;white-space:nowrap}.weekday-selector button.selected{background:#8638df;border-color:#a869ff;color:white}.weekday-selector button.excluded{background:#502532;border-color:#e3627d;color:#ff8fa4}.option-title{font-size:14px;margin:23px 0 12px}.repeat-options{border-top:1px solid #342b41}.repeat-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #332b40;padding:13px 5px;min-height:47px;font-size:12px}.repeat-setting small{color:#b2a2c2}.repeat-options>.form-input{margin:9px 0 12px}.exclude-days{padding:8px 0 16px}.specific-date-editor{display:flex;gap:8px;margin:12px 0}.specific-date-editor>input{flex:1;min-width:0;background:#221b30;border:1px solid #514161;color:white;border-radius:9px;padding:7px}.date-chips{display:flex;flex-wrap:wrap;gap:5px}.date-chip{background:#47315d;border:1px solid #674886;padding:6px;border-radius:8px;font-size:10px}.reminder-option{border:1px solid #393047;background:#211b2f;padding:15px 12px;margin-bottom:7px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.reminder-option span{display:flex;align-items:center;gap:11px}.reminder-option input{accent-color:#9953ef;width:17px;height:17px}.recap-hero{text-align:center}.recap-hero>span{font-size:33px}.recap-hero h3{font-size:19px;margin:10px 0 5px}.recap-hero>strong{color:#74efac;font-size:54px;display:block;line-height:1.1}.recap-hero>b{display:block;font-size:17px;margin-top:3px}.recap-hero p{color:#d1bfdc;font-size:12px}.recap-detail-rows{border:1px solid #40354c;border-radius:12px;background:#1d192b;padding:8px 12px;margin:21px 0 12px}.recap-detail-rows>div{display:flex;align-items:center;gap:11px;min-height:34px;font-size:12px}.recap-detail-rows>div>span:nth-child(2){flex:1}.recap-detail-rows b{font-weight:600}.recap-detail-rows strong{color:#78eeb2}.recap-awards{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:11px;margin-bottom:20px}.recap-awards span{padding:12px;background:#251c33;border:1px solid #483456;border-radius:10px;text-align:center}.streak-hero,.shield-hero,.badge-summary{display:flex;align-items:center;flex-direction:column;text-align:center;gap:11px;background:radial-gradient(ellipse at center,#3c2557,#24182e);border:1px solid #624282;border-radius:16px;padding:21px;font-size:39px}.streak-hero strong,.shield-hero strong{font-size:19px}.streak-hero>span{font-size:12px;color:#c5b6d5}.streak-progress-card,.streak-logic{border:1px solid #3b304c;background:#211b30;padding:17px 15px;border-radius:15px;margin-top:14px}.streak-progress-card h3,.streak-logic h3{font-size:14px;margin:0 0 8px}.streak-progress-card p{color:#bcafcc;font-size:11px;line-height:1.6}.streak-progress-card small{color:#a99db9;line-height:1.5;display:block}.streak-pips,.example-days{display:flex;gap:8px;margin:15px 0}.streak-pips span{flex:1;border:1px solid #58446d;background:#32243f;text-align:center;border-radius:9px;padding:10px 3px;font-size:10px}.streak-pips span.done{background:#214638;border-color:#54ad83;color:#a2efc0}.example-days>div{flex:1;text-align:center;padding:12px 3px;border-radius:9px;background:#1e3c33;border:1px solid #539a77;color:#c3e9d5;font-size:11px}.example-days strong{display:block;margin-top:7px;font-size:16px}.upgrade-description{text-align:center;font-size:11px;line-height:1.9;color:#d7c8e3}.badge-summary{font-size:30px;margin-bottom:20px}.badge-summary strong{font-size:14px}.badge-summary span{font-size:11px;color:#bfadce}.badge-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.badge-tile{display:flex;align-items:center;gap:5px;flex-direction:column;min-height:113px;background:#2a203a;border:1px solid #594175;border-radius:11px;padding:10px 3px}.badge-tile>span{font-size:28px}.badge-tile strong{font-size:11px;text-align:center}.badge-tile small{font-size:10px;color:#8ce6ac}.badge-tile.locked{filter:grayscale(1);opacity:.45}.shield-hero{font-size:44px}.shield-hero p{font-size:12px;line-height:1.6;color:#c8b9d6;margin:0}.shield-note{display:flex;gap:11px;font-size:12px;color:#d2c4dd;line-height:1.6;padding:15px;background:#2b2038;border-radius:10px;margin:16px 0}.notification-item{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #392e47}.notification-item>span{font-size:26px}.notification-item b{display:block;font-size:13px}.notification-item small{display:block;color:#bcabc8;font-size:11px;margin-top:4px}.notification-item+.button-primary{margin-top:20px}.score-weights{border:1px solid #41344c;border-radius:13px;background:#211b2e;overflow:hidden}.score-weights>div{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #393045;font-size:12px}.score-weights>div:last-child{border-bottom:0}.toast{position:fixed;z-index:200;left:50%;bottom:32px;transform:translateX(-50%);border:1px solid #654f7a;border-radius:50px;background:#342247;color:#f1eafa;padding:11px 18px;display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap;box-shadow:0 11px 40px #090313a6;pointer-events:none}
@media (max-width:1390px){.showcase-phones{grid-template-columns:repeat(3,minmax(0,1fr));max-width:960px}.showcase-panels{grid-template-columns:repeat(2,minmax(0,1fr));max-width:960px}.showcase-phones .phone-shell{height:665px}.focus-body{grid-template-columns:210px 410px 210px;gap:28px}.side-callout h2{font-size:38px}}
@media (max-width:1040px){.focus-body{grid-template-columns:minmax(0,1fr) 410px;gap:30px}.right-callout{display:none}.showcase-phones{grid-template-columns:repeat(2,minmax(0,1fr));max-width:680px}.showcase-panels{max-width:680px}}
@media (max-width:700px){.focus-environment{background:var(--bg)}.focus-toolbar,.side-callout{display:none}.focus-body{display:block;padding:0;margin:0}.focus-body>.phone-shell{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}.focus-body .statusbar{padding-top:max(12px,env(safe-area-inset-top));height:calc(33px + env(safe-area-inset-top))}.focus-body .bottom-nav{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:max(8px,env(safe-area-inset-bottom))}.focus-body .page{padding:19px 18px 24px}.modal-backdrop{padding:0;align-items:flex-end}.modal-sheet{max-height:94dvh;width:100%;border-radius:24px 24px 0 0;border-left:0;border-right:0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.showcase-wrap{padding:15px 11px}.showcase-topline{align-items:flex-start}.showcase-subtitle,.demo-chip{display:none}.showcase-phones{grid-template-columns:1fr;max-width:420px}.showcase-panels{grid-template-columns:1fr;max-width:420px}.showcase-phones .phone-shell{height:690px}.showcase-panel{height:335px}.showcase-foot{line-height:1.6}}
@media (max-width:360px){.page{padding:17px 12px 22px!important}.date-navigator>span{display:none}.today-progress{gap:10px}.quick-card strong{font-size:10px}.quick-card small{font-size:9px}.donut{width:120px;height:120px}.donut>div{width:87px;height:87px}.donut-legend{gap:9px}.donut-legend>div{font-size:10px}.priority-tag{font-size:9px}}
@media (max-height:735px) and (min-width:701px){.focus-body{padding-top:0;padding-bottom:12px}.phone-shell{height:calc(100dvh - 87px)}.focus-toolbar{height:59px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.reduce-motion *, .reduce-motion *:before,.reduce-motion *:after{transition:none!important;animation:none!important}
/* PLANLY STUDIO 2.0 — fully responsive device preview, light/dark themes, interactive states */
:root{--studio-text:#f6f1ff;--studio-muted:#a99bba;--studio-outline:#47375c;--studio-glass:#1d162b;--surface:#171323;--surface-raised:#221d30;--surface-soft:#292137;--surface-stroke:#3d334e;--surface-text:#f9f6ff;--surface-muted:#b7a8c7;--device-color:#07070e;--purple-primary:#9a50ed;}
body[data-theme="light"]{--studio-text:#25213f;--studio-muted:#827b94;--studio-outline:#ddd4ee;--studio-glass:#fff;--surface:#faf8fe;--surface-raised:#fff;--surface-soft:#f3effb;--surface-stroke:#e6dff0;--surface-text:#29223e;--surface-muted:#847a93;--device-color:#201c30;--purple-primary:#8745e4;--muted:#80768f;color:var(--surface-text);background:#efecf7;}
body{background:#130e20;color:var(--studio-text)}
.studio{min-height:100dvh;display:grid;grid-template-columns:256px minmax(500px,1fr) 306px;position:relative;background:radial-gradient(ellipse at 56% 34%,#34214e 0%,#171224 55%,#110e1d 100%);overflow:hidden}
.studio:before{content:"";position:absolute;pointer-events:none;inset:0;background-image:linear-gradient(90deg,#ffffff03 1px,transparent 1px),linear-gradient(#ffffff03 1px,transparent 1px);background-size:36px 36px}
.studio-sidebar{height:100dvh;position:sticky;top:0;z-index:2;display:flex;flex-direction:column;border-right:1px solid #ffffff16;background:#150f21dc;backdrop-filter:blur(28px);min-height:630px}
.studio-brand{height:97px;padding:29px 20px 16px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.studio-brand img{width:39px;height:39px;border-radius:12px;box-shadow:0 4px 20px #a563e74f}.studio-brand strong{font-size:21px;font-weight:850;display:flex;gap:9px;align-items:center;white-space:nowrap;letter-spacing:-.7px}.studio-brand small{display:block;font-size:10px;font-weight:520;color:var(--studio-muted);margin-top:3px}.beta-pill{font-size:9px;color:#c5a1f9;padding:4px 6px;border-radius:5px;background:#7945ba29;border:1px solid #7945ba62;letter-spacing:0}
.screen-menu{flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#5e4775 transparent;padding:0 12px 7px}.screen-group{padding:11px 0 9px}.screen-group-title,.studio-mini-label{display:block;color:#877698;letter-spacing:1.5px;font-size:9px;font-weight:800;padding:0 12px;margin-bottom:10px}.screen-link{width:100%;border:1px solid transparent;background:transparent;color:#bdb3d0;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 12px;border-radius:11px;margin:2px 0;font-size:12px;font-weight:590}.screen-link .ico{color:#8e7ea7}.screen-link span{flex:1}.screen-link:hover{background:#ffffff0b;color:#e7dbfa}.screen-link.selected{color:#e4c6ff;border-color:#9959ed59;background:linear-gradient(100deg,#7839b949,#9c56e313);font-weight:700}.screen-link.selected .ico{color:#c69bff}.active-point{height:6px;width:6px;background:#bc7cff;border-radius:50%;box-shadow:0 0 9px #ab61ff}
.studio-bottom{padding:16px 14px 18px;border-top:1px solid #ffffff14}.theme-switcher,.settings-theme{display:grid;grid-template-columns:1fr 1fr;background:#241b34;border:1px solid #483659;border-radius:12px;padding:4px;gap:4px}.theme-switcher button,.settings-theme button{padding:9px 7px;display:flex;gap:8px;align-items:center;justify-content:center;background:transparent;border:0;color:#baaccb;border-radius:9px;font-size:12px;font-weight:650}.theme-switcher button.selected,.settings-theme button.selected{background:linear-gradient(125deg,#9348e8,#7534ca);box-shadow:0 3px 14px #803ed644;color:#fff}.local-pill{font-size:10px;display:flex;align-items:center;gap:8px;color:#9e90b1;padding:15px 6px 0}.local-pill .ico{color:#6edf9f}
.simulator-area{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;position:relative;z-index:1;padding:28px 20px 22px;overflow:visible}.simulator-heading{text-align:center;margin-bottom:21px}.simulator-eyebrow{font-size:9px;font-weight:850;letter-spacing:2.1px;color:#b27be7}.simulator-heading h1{margin:6px 0 5px;font-size:24px;letter-spacing:-.7px}.simulator-heading p{margin:0;font-size:11px;color:#9e90b4}
.phone-case{width:396px;max-width:100%;height:min(805px,calc(100dvh - 170px));min-height:595px;border:4px solid #352e43;border-radius:52px;padding:7px;position:relative;isolation:isolate;background:#09090f;box-shadow:0 0 0 1px #948da0,0 0 0 3px #110e1b,0 25px 75px #000b,0 4px 25px #904dff29,inset 0 0 4px #fff6;flex-shrink:0}
.phone-case:before{content:"";pointer-events:none;position:absolute;inset:2px;border-radius:47px;border:1px solid #ffffff1e;z-index:5}.device-inner{height:100%;border-radius:41px;overflow:hidden;background:var(--surface);position:relative}.device-inner>.phone-shell{width:100%;height:100%;min-height:0;background:linear-gradient(165deg,#13101e,#100e1a 51%,#151021);border:0;border-radius:0;box-shadow:none}.device-island{position:absolute;width:119px;height:27px;background:#050509;z-index:10;top:17px;left:50%;transform:translateX(-50%);border:1px solid #20202b;box-shadow:inset 0 0 0 2px #07070b;border-radius:20px;pointer-events:none}.device-island:after{content:"";position:absolute;right:14px;top:9px;width:7px;height:7px;border-radius:50%;background:#0e1d33;box-shadow:0 0 0 1px #233347}.device-homebar{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);width:105px;height:4px;border-radius:99px;background:#d2cedb;z-index:9;opacity:.8;pointer-events:none}.device-button{position:absolute;z-index:-1;width:4px;border-radius:4px;background:linear-gradient(90deg,#575161,#1b1824);display:block}.device-button.side-left{left:-7px;top:144px;height:60px;box-shadow:0 79px 0 #4d4659}.device-button.side-right{right:-7px;top:186px;height:86px}
.phone-shell .statusbar{height:45px;padding:13px 25px 0;align-items:center;color:var(--surface-text);font-size:11px}.phone-shell .statusbar>span{transform:translateY(1px)}.phone-shell .bottom-nav{height:69px;padding-bottom:13px;background:#15111f}.phone-shell .page{padding:19px 18px 33px}.phone-shell .screen-view{scrollbar-width:none;overscroll-behavior:contain;scroll-behavior:auto}.phone-shell .screen-view::-webkit-scrollbar{display:none}.simulator-foot{color:#8d7da3;margin-top:18px;font-size:11px;display:flex;gap:9px;align-items:center}.simulator-foot>span{height:4px;width:4px;border-radius:50%;background:#655373}
.studio-right{z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;padding:45px 25px 60px 0}.right-tag{letter-spacing:1.6px;color:#c597f1;font-size:10px;font-weight:820;margin-bottom:18px}.studio-right h2{font-size:clamp(33px,3.5vw,49px);line-height:1.15;letter-spacing:-1.7px;margin:0 0 13px}.studio-right h2 em{font-style:normal;background:linear-gradient(125deg,#cfaaff,#8a43f0);-webkit-background-clip:text;background-clip:text;color:transparent}.studio-right>p{font-size:12px;line-height:1.9;color:#aea1bd;max-width:245px}.studio-facts{display:flex;flex-direction:column;width:100%;gap:11px;margin-top:32px}.studio-facts>div{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#2c203d94,#201a3094);border:1px solid #59436f8c;padding:14px 12px;border-radius:15px}.studio-facts b{font-size:12px;display:block}.studio-facts small{font-size:10px;margin-top:5px;display:block;color:#ac9dbc}.right-footnote{margin-top:27px;max-width:225px;font-size:10px;color:#887a99;line-height:1.6;display:flex;gap:8px;align-items:flex-start}
/* Rich vector icon treatments */
.art{display:inline-grid;width:30px;height:30px;flex-shrink:0;place-items:center;vertical-align:middle;border-radius:9px;background:linear-gradient(145deg,#7839a541,#712cc51f);color:#c78aff;filter:drop-shadow(0 2px 6px #6f3dc02c)}.art .ico{stroke-width:2.05}.art-fire{color:#ff796c;background:linear-gradient(135deg,#fc755b36,#ffb35c12)}.art-trophy,.art-crown,.art-award,.art-star,.art-medal{color:#ffcb5d;background:linear-gradient(135deg,#9b703d44,#a75e2217)}.art-calendar,.art-stats,.art-target,.art-mountain{color:#b77afe}.art-check,.art-leaf{color:#78e7b1;background:#5ad7a51b}.art-shield{color:#d3b5ff}.art-diamond{color:#89c8fc}.art-sun{color:#f6ba64}.art-book{color:#97b8ff}.art-spark{color:#d8a9ff}.art-zap{color:#ffcc5e}
.quick-card>.art{width:32px;height:32px;background:transparent}.quick-emoji,.big-emoji{font-size:0!important}.profile-stats .art{width:32px;height:34px;margin-bottom:5px;background:transparent}.best-streaks .art,.badge-icon .art{width:30px;height:30px}.badge-icon{display:flex;align-items:center;justify-content:center}.badge-icon .art{background:none!important}
.streak-hero>.art,.shield-hero>.art,.badge-summary>.art{width:68px;height:68px;border-radius:22px}.streak-hero>.art .ico,.shield-hero>.art .ico,.badge-summary>.art .ico{width:42px;height:42px}.recap-hero>.art{width:57px;height:57px}.recap-hero>.art .ico{width:35px;height:35px}.badge-tile>.art{width:50px;height:50px}.badge-tile>.art .ico{width:27px;height:27px}.badge-tile .art{font-size:0}.notification-item .art{width:39px;height:39px}.league-banner .art{background:none}
/* Dedicated in-phone flow */
.inner-view{display:block!important;background:transparent;min-height:100%;padding:0 0 20px!important}.inner-view .modal-heading{padding:16px 18px 7px;min-height:68px;grid-template-columns:67px minmax(0,1fr) 67px}.inner-view .modal-heading h2{font-size:18px}.inner-view .modal-scroll{overflow:visible;max-height:none;padding:12px 20px 28px}.inner-view .plain-icon{height:33px;width:33px;border-radius:9px;background:#242034}.inner-view .button-primary.small{font-size:12px;padding:9px 16px}.inner-view .form-input{margin-bottom:18px}.inner-view .form-label{color:#dfd6ec}.inner-view .fieldline-title{font-size:12px}.inner-view .helper-note{line-height:1.65}.inner-view .frequency-selector button{font-size:10px}.inner-view .priority-selector{gap:6px}.inner-view .form-input,.inner-view input[type="time"],.inner-view input[type="date"]{color-scheme:dark}
.repeat-none-panel{text-align:center;display:flex;flex-direction:column;align-items:center;gap:13px;margin:30px 0 0;padding:33px 18px;border:1px dashed #58436e;border-radius:16px;background:radial-gradient(ellipse at top,#45235c52,#251b332e)}.repeat-none-panel .art{width:56px;height:56px;border-radius:17px}.repeat-none-panel h3{font-size:17px;margin:0}.repeat-none-panel p{color:#b7a9c6;font-size:12px;line-height:1.7;margin:0}
.recurrence-list{display:flex;flex-direction:column;gap:8px}.recurrence-item{padding:11px 10px;display:flex;align-items:center;gap:9px;border:1px solid var(--surface-stroke);border-radius:13px;background:var(--surface-raised)}.recurrence-icon .art{width:31px;height:31px}.recurrence-description{min-width:0;flex:1}.recurrence-description b{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recurrence-description small{font-size:10px;display:block;color:var(--surface-muted);margin-top:4px;line-height:1.3}.recurrence-edit{display:grid;place-items:center;padding:5px;background:transparent;border:0;color:#b88dec}.recurrence-item .switch{margin-left:0}.repeat-empty{border:1px dashed var(--surface-stroke);border-radius:13px;padding:25px 18px;display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center}.repeat-empty p{font-size:11px;line-height:1.7;color:var(--surface-muted)}.settings-section{margin:27px 0 8px}.settings-section h3{font-size:14px;margin:0}.settings-theme{margin-bottom:20px}.settings-theme button{font-size:12px}.settings-theme button.selected{background:linear-gradient(120deg,#9e60ed,#7d3dcf)}
/* Swipe rows: use translate for smooth drag, confirmation sheet for destructive action */
.task-list{overflow:visible}.swipe-wrap{position:relative;overflow:hidden;border-radius:11px;margin:0 0 5px;touch-action:pan-y}.task-row{position:relative;margin:0!important;border-radius:11px;z-index:1;background:#221d30;transform:translateX(var(--drag-shift,0px));transition:transform .25s cubic-bezier(.2,.85,.25,1),background .24s,border-color .24s,opacity .3s,scale .3s;box-shadow:0 2px 7px #03010820;min-height:60px;padding:9px 9px}.task-row .task-body{align-items:flex-start;max-width:100%}.task-row .task-title{line-height:1.3}.task-repeats{color:#9988ac;display:flex;align-items:center;gap:4px;font-size:9px;margin-top:4px}.swipe-wrap.revealed .task-row{transform:translateX(-89px)}.swipe-delete{position:absolute;z-index:0;inset:0 0 0 auto;width:88px;background:#e64d6b;border:0;color:white;display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;border-radius:0 11px 11px 0;font-size:10px;font-weight:760}.swipe-hint{flex-shrink:0;opacity:.31;color:#a99dbb;align-self:center;margin-left:-5px}.task-row.is-done .task-repeats{opacity:.55}.task-row.completing{background:linear-gradient(95deg,#304739,#282039);border-color:#66c899;animation:completeGlow .53s ease}.task-row.undoing{animation:completeUndo .45s ease}.task-burst{position:absolute;right:29px;top:-6px;color:#9ff0bb;animation:sparkPop .48s ease both;pointer-events:none;z-index:5}.task-row.just-arrived{animation:arriveRow .46s cubic-bezier(.2,.7,.2,1)}.task-row .task-check{transition:transform .28s cubic-bezier(.2,1.5,.5,1),background .22s;border-radius:7px}.task-row.completing .task-check{transform:scale(1.19);background:#9851f1;border-color:#b686ff}.task-row.is-done{opacity:.84}
@keyframes completeGlow{0%{scale:1}35%{scale:1.018;box-shadow:0 0 17px #61dba264}100%{scale:1}}@keyframes completeUndo{0%{opacity:.77}100%{opacity:1}}@keyframes sparkPop{0%{opacity:0;transform:translateY(8px) scale(.25) rotate(-20deg)}50%{opacity:1;transform:translateY(-14px) scale(1.25) rotate(8deg)}100%{opacity:0;transform:translateY(-24px) scale(.8)}}@keyframes arriveRow{0%{transform:translateY(-15px);opacity:0}100%{transform:translateY(0);opacity:1}}
.confirm-backdrop{position:absolute;inset:0;z-index:80;background:#06030c9b;backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:flex-end;padding:16px}.confirm-sheet{background:linear-gradient(160deg,#30213d,#1d172a);border:1px solid #755282;box-shadow:0 15px 45px #0009;border-radius:20px;width:100%;padding:21px;animation:sheetIn .26s ease both;text-align:center}.confirm-sheet>.art{width:48px;height:48px}.confirm-sheet h3{font-size:18px;margin:12px 0 9px}.confirm-sheet p{font-size:12px;color:#c7b5d2;line-height:1.7;margin:0 0 20px}.confirm-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.confirm-buttons button{padding:12px 10px;border-radius:11px;border:1px solid #64536a;display:flex;justify-content:center;align-items:center;gap:7px;font-weight:750;font-size:12px}.confirm-secondary{background:#392d46}.confirm-danger{background:#dc4866;color:white;border-color:#e5677d!important}@keyframes sheetIn{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Chart: genuine 7, 30 and 90 individually rendered daily bars; animated heights */
.chart-period-note{display:flex;justify-content:space-between;font-size:9px;margin:9px 0 2px;color:#ae9fc4}.chart-period-note span{display:flex;align-items:center;gap:1px;font-size:9px}.bar-chart{height:220px}.bar-chart .bars-body{overflow-x:auto;overflow-y:hidden;position:relative;scrollbar-width:thin;scrollbar-color:#73508f transparent}.bar-chart .chart-gridlines{position:absolute;inset:0;pointer-events:none}.bar-chart .bars{min-width:100%;position:relative;z-index:1;align-items:flex-end}.bar-chart .bar-column{min-width:0;flex:1}.bar-chart.range-7 .bars{width:100%}.bar-chart.range-30 .bars{width:790px}.bar-chart.range-90 .bars{width:1750px}.bar-chart.range-30 .bar-column{min-width:25px}.bar-chart.range-90 .bar-column{min-width:18px}.bar-chart .bar{min-height:1px;transition:height .8s cubic-bezier(.2,.8,.2,1);background:linear-gradient(180deg,#b76fff,#7037d6);border-radius:5px 5px 2px 2px;box-shadow:inset 0 1px 2px #ffffff25}.bar-chart .bar-column:last-child .bar{background:linear-gradient(180deg,#d5a2ff,#8947e7);box-shadow:0 0 9px #ac68ff55}.bar-chart .bar-column small{font-size:9px;white-space:nowrap;overflow:visible}.bar-chart.range-30 .bar-column small,.bar-chart.range-90 .bar-column small{font-size:8px}
.ring-bump{animation:ringBump .55s ease}.progress-ring,.mini-ring{transition:background .28s ease}.score-number{font-variant-numeric:tabular-nums}@keyframes ringBump{35%{transform:scale(1.065);filter:drop-shadow(0 0 13px #b781ff5f)}100%{transform:scale(1);filter:none}}
/* Calendar day has a dedicated screen, no inline task panel. */
.calendar-page{min-height:100%}.calendar-page .calendar-month{margin-top:23px}.calendar-info{display:flex;align-items:flex-start;gap:13px;margin-top:30px;border:1px solid #564067;border-radius:15px;padding:18px 13px;background:linear-gradient(125deg,#382346,#211929)}.calendar-info>span{display:block}.calendar-info b{font-size:13px}.calendar-info p{font-size:11px;line-height:1.6;margin:6px 0 0;color:#ad9cbf}.calendar-page .calendar-day{height:47px}.calendar-page .day-dots{min-height:5px}.calendar-page .calendar-day.is-today{border:1px solid #9c5ee7}.calendar-page .calendar-day:hover{background:#9452dd23}
.detail-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.detail-back{background:none;border:0;color:#bf9af8;display:flex;align-items:center;gap:5px;font-size:13px;padding:6px 0}.day-detail-kicker{font-size:10px;letter-spacing:1.6px;color:#b881ff;font-weight:780}.day-detail h1{font-size:32px;margin:8px 0 5px}.day-detail-date{color:#bfb0d0;font-size:12px;margin:0 0 22px}.day-detail-summary{display:flex;align-items:center;gap:17px;background:linear-gradient(145deg,#332347,#21182e);border:1px solid #4e3a63;padding:18px 15px;border-radius:16px;margin-bottom:24px}.day-detail-summary b{display:block;font-size:13px}.day-detail-summary small{display:block;color:#af9fc1;margin-top:6px;font-size:10px;line-height:1.5}.mini-ring{width:78px;height:78px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(from 0deg,#b87bff 0 var(--progress),#443657 var(--progress) 100%);position:relative}.mini-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#2b203a}.mini-ring strong{font-size:21px;z-index:1}
/* Light palette, matches the original dark design hierarchy without opaque hardcoded black panels. */
body[data-theme="light"] .studio{background:radial-gradient(ellipse at 56% 32%,#f9f4ff,#efedf8 55%,#e6e0f2)}
body[data-theme="light"] .studio:before{background-image:linear-gradient(90deg,#4a30640a 1px,transparent 1px),linear-gradient(#4a30640a 1px,transparent 1px)}
body[data-theme="light"] .studio-sidebar{background:#ffffffd9;border-right:1px solid #ded6eb}
body[data-theme="light"] .studio-brand strong,body[data-theme="light"] .simulator-heading h1,body[data-theme="light"] .studio-right h2{color:#2c2440}
body[data-theme="light"] .studio-brand small,body[data-theme="light"] .simulator-heading p,body[data-theme="light"] .screen-group-title,body[data-theme="light"] .studio-mini-label{color:#877e97}
body[data-theme="light"] .screen-link{color:#655c75}body[data-theme="light"] .screen-link .ico{color:#9985ab}body[data-theme="light"] .screen-link.selected{color:#7137b9;background:#f1e6ff;border-color:#dcc1fc}body[data-theme="light"] .screen-link.selected .ico{color:#914be3}body[data-theme="light"] .screen-link:hover{background:#f2eafd}
body[data-theme="light"] .theme-switcher,body[data-theme="light"] .settings-theme{background:#f1ecf7;border-color:#e2d9ef}body[data-theme="light"] .theme-switcher button,body[data-theme="light"] .settings-theme button{color:#72677e}body[data-theme="light"] .theme-switcher button.selected,body[data-theme="light"] .settings-theme button.selected{color:white}body[data-theme="light"] .local-pill{color:#7a7385}
body[data-theme="light"] .studio-right>p,body[data-theme="light"] .right-footnote{color:#857a96}body[data-theme="light"] .studio-facts>div{background:#ffffffbd;border-color:#e3d8ed}body[data-theme="light"] .studio-facts b{color:#37304e}body[data-theme="light"] .studio-facts small{color:#80728d}body[data-theme="light"] .simulator-foot{color:#8a7d98}
body[data-theme="light"] .device-inner>.phone-shell{background:linear-gradient(160deg,#ffffff,#faf9fe 55%,#f8f5ff);color:var(--surface-text)}body[data-theme="light"] .phone-shell .bottom-nav{background:#fff;border-top-color:#e5deec}body[data-theme="light"] .phone-shell .bottom-nav .nav-item{color:#8c8198}body[data-theme="light"] .phone-shell .bottom-nav .nav-item.active{color:#8d43e9}body[data-theme="light"] .phone-shell .statusbar{color:#28213b}
body[data-theme="light"] .phone-shell .page,body[data-theme="light"] .phone-shell .inner-view{color:var(--surface-text)}body[data-theme="light"] .progress-ring:before{background:#fff}body[data-theme="light"] .progress-ring{background:conic-gradient(#ab6afe 0 var(--progress),#e9def4 var(--progress) 100%)}body[data-theme="light"] .today-progress .progress-copy span,body[data-theme="light"] .muted{color:#80758f}
body[data-theme="light"] .quick-card,body[data-theme="light"] .task-row,body[data-theme="light"] .stat-mini,body[data-theme="light"] .calendar-info,body[data-theme="light"] .recurrence-item{background:#fff;border-color:#e5ddec;box-shadow:0 3px 13px #a690c014}body[data-theme="light"] .quick-card strong,body[data-theme="light"] .task-title{color:#2b243b}body[data-theme="light"] .quick-card small,body[data-theme="light"] .task-time,body[data-theme="light"] .task-repeats{color:#84788f}body[data-theme="light"] .swipe-hint{color:#b4a9c1}body[data-theme="light"] .task-check{border-color:#a89cb5}body[data-theme="light"] .task-check.checked{border-color:#a060ed;background:#9851e9;color:#fff}
body[data-theme="light"] .calendar-info b,body[data-theme="light"] .calendar-day{color:#3f3450}body[data-theme="light"] .calendar-info p{color:#897d94}body[data-theme="light"] .calendar-day.outmonth{color:#b5aabd}body[data-theme="light"] .calendar-day.selected,body[data-theme="light"] .calendar-day.is-today{color:#8645d6}
body[data-theme="light"] .icon-button.square,body[data-theme="light"] .inner-view .plain-icon{background:#f1ebf8;border-color:#e0d5ea;color:#6d5589}body[data-theme="light"] .icon-button.ghost,body[data-theme="light"] .plain-icon{color:#514069}body[data-theme="light"] .day-detail-summary{background:#f5eeff;border-color:#e6d4f9}body[data-theme="light"] .day-detail-summary small,body[data-theme="light"] .day-detail-date{color:#85798f}body[data-theme="light"] .mini-ring:before{background:#f9f3ff}
body[data-theme="light"] .form-label,body[data-theme="light"] .inner-view .form-label,body[data-theme="light"] .option-title,body[data-theme="light"] .fieldline-title{color:#3c304d}body[data-theme="light"] .form-input,body[data-theme="light"] .inner-view input[type="time"],body[data-theme="light"] .inner-view input[type="date"],body[data-theme="light"] .repeat-interval input,body[data-theme="light"] .specific-date-editor>input{color:#30243e;background:#fff;border-color:#dfd4e8;color-scheme:light}body[data-theme="light"] .form-input::placeholder{color:#aca2b5}body[data-theme="light"] .fieldline,body[data-theme="light"] .repeat-setting{border-color:#e8dfef}body[data-theme="light"] .fieldline .field-value,body[data-theme="light"] .fieldline-title .ico,body[data-theme="light"] .helper-note,body[data-theme="light"] .repeat-setting small{color:#82768c}body[data-theme="light"] .repeat-options{border-color:#e5dcec}
body[data-theme="light"] .frequency-selector,body[data-theme="light"] .weekday-selector button,body[data-theme="light"] .reminder-option{background:#f5f1fa;border-color:#e4dced;color:#564b64}body[data-theme="light"] .frequency-selector button.selected,body[data-theme="light"] .weekday-selector button.selected{background:#9653e8;color:white}body[data-theme="light"] .repeat-none-panel{background:#f5edfc;border-color:#d9c7ea}body[data-theme="light"] .repeat-none-panel p{color:#80748d}
body[data-theme="light"] .recap-detail-rows,body[data-theme="light"] .recap-awards span,body[data-theme="light"] .shield-note,body[data-theme="light"] .streak-progress-card,body[data-theme="light"] .streak-logic,body[data-theme="light"] .score-weights,body[data-theme="light"] .profile-links,body[data-theme="light"] .badge-tile{background:#fff;border-color:#e2d8ea}body[data-theme="light"] .recap-hero p,body[data-theme="light"] .streak-progress-card p,body[data-theme="light"] .streak-progress-card small,body[data-theme="light"] .streak-hero>span{color:#85778f}body[data-theme="light"] .streak-hero,body[data-theme="light"] .shield-hero,body[data-theme="light"] .badge-summary{background:linear-gradient(135deg,#f7edff,#fff);border-color:#e1d0f0}body[data-theme="light"] .streak-pips span{background:#f5f0fa;border-color:#decdeb;color:#6b577c}body[data-theme="light"] .streak-pips span.done{background:#e5f8ed;border-color:#79c8a2;color:#34825d}body[data-theme="light"] .example-days>div{background:#e8f8ef;color:#41805f;border-color:#8ec9a9}body[data-theme="light"] .upgrade-description{color:#82718f}body[data-theme="light"] .reminder-option{background:#fff}body[data-theme="light"] .notification-item,body[data-theme="light"] .score-weights>div{border-color:#e9e0ee}body[data-theme="light"] .notification-item small{color:#8b7b96}
body[data-theme="light"] .stat-mini b,body[data-theme="light"] .leader-row,body[data-theme="light"] .leader-row strong,body[data-theme="light"] .leader-person,body[data-theme="light"] .ranking-table{color:#352943}body[data-theme="light"] .leader-row.me{background:#f2e9fd!important}body[data-theme="light"] .league-banner{background:#fff8eb;border-color:#e9d5a4;color:#6e501c}body[data-theme="light"] .weekly-card{background:#f6ecff;border-color:#dfc9f6;color:#502d6f}body[data-theme="light"] .profile-links button{background:#fff;color:#392b48;border-color:#e8ddec}body[data-theme="light"] .profile-stats button,body[data-theme="light"] .best-streaks button{background:#fff;border-color:#e7dfed;color:#332b42}body[data-theme="light"] .profile-stats button small,body[data-theme="light"] .best-streaks button small{color:#85768f}body[data-theme="light"] .identity-row p{color:#8d8198}
body[data-theme="light"] .bar-chart .bar{background:linear-gradient(180deg,#b56af3,#8444da)}body[data-theme="light"] .chart-gridlines i{background:#e6dfed}body[data-theme="light"] .chart-yaxis,body[data-theme="light"] .chart-period-note{color:#92859c}body[data-theme="light"] .donut>div{background:#fff;color:#46324e}body[data-theme="light"] .insight-feature,body[data-theme="light"] .panel-note{background:#f8f2ff;border-color:#e6d7f2;color:#766784}
body[data-theme="light"] .confirm-sheet{background:#fff;color:#30263e;border-color:#e5d3f4}body[data-theme="light"] .confirm-sheet p{color:#857890}body[data-theme="light"] .confirm-secondary{background:#f2edf8;color:#503963;border-color:#ddd0e8}body[data-theme="light"] .toast{background:#fff;color:#54366d;border-color:#e0d0ec}
/* Adaptive desktop -> narrow browser -> actual phone display */
@media(max-width:1270px){.studio{grid-template-columns:220px minmax(430px,1fr) 240px}.studio-right{padding-right:12px}.studio-right h2{font-size:36px}.studio-facts>div{padding:12px 9px}.studio-sidebar .studio-brand{padding-left:15px}}
@media(max-width:1050px){.studio{grid-template-columns:226px minmax(425px,1fr)}.studio-right{display:none}}
@media(max-width:720px){.studio{grid-template-columns:1fr;min-height:100dvh}.studio-sidebar{height:auto;min-height:0;position:relative;display:block;padding:10px 10px;border-right:0;border-bottom:1px solid var(--studio-outline)}.studio-brand{height:55px;padding:4px 9px}.studio-brand img{width:31px;height:31px}.studio-brand strong{font-size:17px}.studio-brand small{font-size:9px}.screen-menu{display:flex;overflow-x:auto;gap:7px;padding:0 0 5px;scrollbar-width:none}.screen-group{display:contents}.screen-group-title{display:none}.screen-link{width:auto;min-width:max-content;margin:0;padding:7px 10px;font-size:11px;gap:6px}.screen-link .ico{width:14px;height:14px}.screen-link .active-point{display:none}.studio-bottom{position:absolute;right:10px;top:9px;border-top:0;padding:0}.studio-mini-label,.local-pill{display:none}.theme-switcher{width:133px}.theme-switcher button{font-size:10px;padding:7px 2px;gap:4px}.simulator-area{padding:18px 6px 26px}.simulator-heading{margin:0 0 13px}.simulator-heading h1{font-size:18px}.simulator-heading p{display:none}.simulator-eyebrow{font-size:8px}.phone-case{width:min(396px,calc(100vw - 18px));height:min(755px,calc(100dvh - 200px));min-height:565px}.simulator-foot{margin-top:15px}}
@media(max-width:390px){.phone-shell .page{padding-left:12px;padding-right:12px}.phone-case{height:680px;min-height:565px}.inner-view .modal-scroll{padding-left:15px;padding-right:15px}.phone-shell .date-navigator>span{display:none}}
@media(prefers-reduced-motion:reduce){.task-row,.bar-chart .bar{transition:none!important}.task-row.completing,.task-row.just-arrived,.task-burst,.ring-bump{animation:none!important}}

.task-row.is-done{opacity:1}.task-row.is-done .task-title{opacity:.56}body[data-theme="light"] .date-navigator>span{color:#695b78}body[data-theme="light"] .today-page .section-heading h2 span{color:#9985b0}body[data-theme="light"] .simulator-eyebrow{color:#8f4acb}

.stats-page .donut{animation:donutBloom .85s cubic-bezier(.2,.8,.25,1) both}.stats-page .history-track i,.stats-page .insight-meter i{transition:width .72s cubic-bezier(.2,.8,.2,1)}@keyframes donutBloom{0%{clip-path:circle(5% at center);transform:rotate(-90deg) scale(.88)}100%{clip-path:circle(72% at center);transform:rotate(-90deg) scale(1)}}
@media(max-width:720px){.studio{grid-template-columns:minmax(0,1fr);width:100%;max-width:100vw}.studio-sidebar{width:100%;min-width:0;overflow:hidden}.screen-menu{width:100%;min-width:0;max-width:100vw}.simulator-area{width:100%;min-width:0;max-width:100vw}}

.art-bronze{color:#dd9e65;background:linear-gradient(135deg,#b9673447,#b9792f18)}.art-silver{color:#c9cbe6;background:linear-gradient(135deg,#a6a9d447,#898dac18)}.art-gold{color:#ffd05c;background:linear-gradient(135deg,#bc932f47,#bc882818)}

/* Planly Cloud: new account controls are styled within the ORIGINAL V2 phone shell. */
.auth-page{min-height:100%;display:flex;flex-direction:column;padding:28px 21px 36px;gap:0}
.auth-top{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.6px}
.auth-logo{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:linear-gradient(140deg,#ac76ff,#7134e5);color:white;box-shadow:0 7px 26px #683ada51}
.auth-visual{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;margin:38px auto 16px;background:radial-gradient(circle at 30% 20%,#a564ff5a,transparent 70%),linear-gradient(140deg,#36235f,#17162e);border:1px solid #ad7eff42}
.auth-visual .art{display:grid;place-items:center;width:100%;height:100%}
.auth-page h1{font-size:27px;line-height:1.15;letter-spacing:-.9px;text-align:center;margin:5px 0 11px}
.auth-page>p{font-size:13px;line-height:1.6;text-align:center;color:var(--text-muted,#9b96b0);margin:0 auto 25px;max-width:285px}
.auth-form{display:flex;flex-direction:column;gap:16px}
.auth-form label,.cloud-setting label,.cloud-setting-grid label,.friend-invite label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:12px}
.auth-form input,.cloud-setting input,.cloud-setting select,.cloud-setting-grid input,.friend-input input{width:100%;min-width:0;border:1px solid var(--line,rgba(255,255,255,.1));outline:0;background:var(--field,#211d35);color:var(--text,#fff);padding:12px;border-radius:11px;font:inherit;font-size:13px}
.auth-form input:focus,.cloud-setting input:focus,.cloud-setting select:focus,.cloud-setting-grid input:focus,.friend-input input:focus{border-color:#9e67ff;box-shadow:0 0 0 2px #9e67ff22}
.auth-message{font-size:12px;line-height:1.5;color:#b8f2d4;background:#2d965d24;border-radius:10px;padding:9px 11px;margin:0}
.auth-form .wide{min-height:43px}.auth-form .centered{align-self:center}.auth-form p{text-align:center;font-size:12px;color:var(--text-muted,#a59ebc);margin:0}
.auth-divider{height:1px;background:var(--line,rgba(255,255,255,.1));margin:4px 0}
.cloud-status{justify-content:center;gap:18px;align-items:center;text-align:center}
.cloud-status .auth-top{position:absolute;top:24px;left:22px}.cloud-status h2{font-size:21px;margin:0}.cloud-status p{max-width:275px;color:var(--text-muted,#a59ebc);font-size:12px;line-height:1.6}
.cloud-spinner{width:47px;height:47px;border-radius:50%;border:4px solid #7547d955;border-top-color:#a56eff;animation:spin-cloud .9s linear infinite}
@keyframes spin-cloud{to{transform:rotate(360deg)}}
.cloud-setting{display:flex;align-items:end;gap:8px;margin:12px 0}.cloud-setting label{flex:1}.cloud-setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.cloud-setting-grid button{grid-column:1 / -1}
.setting-action{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--card,rgba(255,255,255,.06));border:1px solid var(--line,rgba(255,255,255,.1));border-radius:11px;padding:12px;color:var(--text,#fff);cursor:pointer;font-size:12px;font-weight:600;margin:10px 0}
.billing-buttons{display:flex;flex-direction:column;gap:8px}.billing-buttons button{margin:0}
.friend-invite{padding:15px 12px;background:var(--card,rgba(255,255,255,.06));border:1px solid var(--line,rgba(255,255,255,.1));border-radius:13px;margin:15px 0}
.friend-input{display:flex;align-items:center;gap:9px;margin-top:7px}.friend-input input{flex:1}.friend-input button{width:39px;height:39px;flex-shrink:0}
.friend-request{display:flex;align-items:center;gap:7px;padding:10px;border-bottom:1px solid var(--line,rgba(255,255,255,.1))}
.friend-request>span{flex:1;display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap;font-size:12px}.friend-request small{color:var(--text-muted,#a59ebc)}
.streak-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.streak-records>span{display:flex;align-items:center;flex-direction:column;gap:6px;padding:10px 4px;background:var(--card,rgba(255,255,255,.06));border-radius:12px;font-size:11px;text-align:center}.streak-records strong{font-size:12px}
.cloud-notification{width:100%;text-align:left;display:flex;align-items:flex-start;gap:9px;cursor:pointer}.cloud-notification .art{flex-shrink:0}.cloud-notification.read{opacity:.62}
[data-theme="light"] .auth-visual{background:linear-gradient(140deg,#e8d6ff,#c0acfc)}
[data-theme="light"] .auth-message{color:#166a3f}
body[data-theme="light"] .auth-form input,body[data-theme="light"] .cloud-setting input,body[data-theme="light"] .cloud-setting select,body[data-theme="light"] .cloud-setting-grid input,body[data-theme="light"] .friend-input input{background:#fff;color:#33243e;border-color:#e5d9ef;color-scheme:light}
body[data-theme="light"] .auth-form label,body[data-theme="light"] .cloud-setting label,body[data-theme="light"] .friend-invite label{color:#342741}
body[data-theme="light"] .setting-action,body[data-theme="light"] .friend-invite,body[data-theme="light"] .streak-records>span{background:#faf7fe;color:#392a4a;border-color:#e5d8ef}
.shield-use-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 8px;border-bottom:1px solid #ffffff16}
.shield-use-row>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}.shield-use-row small{display:block;width:100%;padding-left:27px;color:var(--muted)}

/* --------------------- Planly V3 refinements --------------------- */
/* Phone is a physical-size design preview, independent of the browser height. */
@media (min-width:721px){
  .studio{min-height:985px;overflow:visible;align-items:start}
  .studio-sidebar{min-height:0;height:100dvh;overflow-y:auto}
  .simulator-area{padding-top:28px;padding-bottom:34px}
  .phone-case{width:396px!important;max-width:none!important;height:805px!important;min-height:805px!important;max-height:none!important}
}
/* Generated artwork: individual, transparent illustrations from the reference-design style. */
.art.art-img{width:calc(var(--icon-size,20px) * 1.38);height:calc(var(--icon-size,20px) * 1.38);background:transparent!important;border:0!important;filter:none;overflow:visible;border-radius:0}
.art.art-img img{display:block;object-fit:contain;width:100%;height:100%;filter:drop-shadow(0 2px 4px #16082233);user-select:none;pointer-events:none}
.quick-cards{gap:10px}
.quick-card{min-height:70px;border-radius:15px;padding:10px 9px;gap:7px;position:relative;overflow:hidden;background:linear-gradient(130deg,#2d223b 0%,#211b30 63%,#302340 100%);border:1px solid #59466b;box-shadow:inset 0 1px 0 #ffffff0d,0 5px 17px #0b051526;transition:transform .2s,border-color .2s}
.quick-card:hover{transform:translateY(-2px);border-color:#a174ce}
.quick-card .art-img{flex:none;width:41px;height:41px}
.quick-card strong{font-size:11px;line-height:1.25;letter-spacing:-.2px}
.quick-card small{font-size:9px;color:#b8a8c9;line-height:1.5;margin-top:4px}
.quick-card:nth-child(2){background:linear-gradient(140deg,#322737,#261d30 50%,#373046);border-color:#5a4d68}
.league-banner{position:relative;overflow:hidden;background:linear-gradient(140deg,#332522,#1c1826 70%,#352a2b);box-shadow:inset 0 1px 0 #ffd89b26;border:1px solid #866236;border-radius:14px;min-height:95px}
.league-banner .art-img{width:45px;height:45px}
.league-banner strong{display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px!important;color:#fbe1a8}
.league-banner .laurel .art-img{width:32px;height:32px}
.league-list-row .art-img{width:38px;height:38px}
.badge-icon .art-img{width:39px;height:39px}
.badge-tile .art-img{width:53px;height:53px}
.badge-gallery .badge-tile{min-height:133px;justify-content:center;border-radius:14px;background:linear-gradient(145deg,#29203b,#211a31);border:1px solid #504068}
.badge-summary .art-img,.streak-hero .art-img,.shield-hero .art-img{width:70px;height:70px}
.best-streaks .art-img{width:54px;height:54px}
.profile-stats .art-img{width:39px;height:39px;margin:0 auto 6px}
.streak-records .art-img{width:42px;height:42px}
.recap-hero .art-img{width:55px;height:55px;margin:0 auto}
.leader-person .mountain-avatar{width:31px;height:31px}

/* More careful task-row edges, transparent swipe rail until an actual swipe. */
.swipe-wrap{border-radius:15px;background:transparent;margin:0 0 7px;isolation:isolate}
.swipe-delete{width:90px;opacity:0;visibility:hidden;border-radius:0 15px 15px 0;transition:opacity .16s ease,visibility .16s ease}
.swipe-wrap.revealed .swipe-delete,.swipe-wrap.dragging .swipe-delete{opacity:1;visibility:visible}
.task-row{border:1px solid #443652!important;border-radius:15px!important;min-height:63px;padding:10px 9px!important;background:linear-gradient(110deg,#272135 0%,#211b30 100%);box-shadow:inset 0 1px 0 #ffffff09,0 3px 8px #02000724}
.task-row.is-done{background:#211b2d}
.task-check{flex:none}
.task-row .task-body{min-width:0;overflow:hidden}
.task-row .task-title{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.task-row .priority-tag{flex-shrink:0;font-size:9px;border-radius:8px;padding:5px 7px}
.task-row .task-time{font-size:10px}
.task-row .swipe-hint{margin-left:-7px;opacity:.17}
.task-row.completing{animation:completeGlow .52s cubic-bezier(.17,.8,.25,1);border-color:#77ddad!important}
.task-row.just-arrived{animation:arriveRow .46s cubic-bezier(.17,.8,.25,1)}
.disabled-field{opacity:.48;cursor:not-allowed!important}
.disabled-field .field-value{font-style:italic}
.specific-date-editor{width:100%}
.repeat-none-panel{margin-top:24px;padding:22px 13px;text-align:left;align-items:stretch}
.repeat-none-panel>.art{align-self:center}
.repeat-none-panel h3{text-align:center}
.repeat-none-panel>p{text-align:center}
.repeat-none-panel .date-chips{min-height:25px}
.repeat-none-panel .date-chip{background:#4f316d;border-color:#865ab5}
.go-date-grid{margin:20px 0}
.pfp-button{padding:0;flex-shrink:0;position:relative;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.pfp-button .mountain-avatar{overflow:hidden}
.pfp-button .has-photo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.pfp-edit{position:absolute;bottom:-1px;right:-1px;width:23px;height:23px;background:linear-gradient(130deg,#b571ff,#7638d8);border-radius:50%;color:white;display:grid;place-items:center;border:2px solid var(--surface);box-shadow:0 3px 6px #0003}
.pfp-button:hover .pfp-edit{transform:scale(1.08)}

/* Realistic, simple account screens that fit the phone viewport. */
.auth-refined{display:flex;flex-direction:column;min-height:100%;padding:20px 23px 32px!important;background:radial-gradient(ellipse at 50% 8%,#31224866,transparent 52%)}
.auth-refined .auth-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}
.auth-refined .auth-brand{display:flex;align-items:center;gap:10px}
.auth-brand img{width:33px;height:33px;box-shadow:0 4px 18px #b768ff40;border-radius:11px}
.auth-brand strong{font-size:22px;letter-spacing:-.9px;font-weight:850}
.auth-appearance{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--surface-stroke);background:var(--surface-raised);border-radius:11px;color:var(--surface-text)}
.auth-main{width:100%;flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:10px}
.auth-hero{height:145px;display:grid;place-items:center;position:relative;margin:5px auto 9px;width:100%;isolation:isolate}
.auth-hero:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:155px;height:110px;border-radius:50%;background:#a361f14f;filter:blur(44px);z-index:-1}
.auth-hero-orbit{position:absolute;width:132px;height:132px;border-radius:50%;border:1px solid #b385e440;transform:rotate(25deg) scaleX(1.55);pointer-events:none}
.auth-hero-orbit.orbit-two{width:112px;height:112px;border-color:#f8d6ff26;transform:rotate(-22deg) scaleX(1.42)}
.auth-logo-show{width:78px;height:78px;padding:6px;border-radius:23px;background:linear-gradient(145deg,#bb80f638,#6740a51d);border:1px solid #cb9bfb45;box-shadow:0 17px 43px #3a106b84, inset 0 1px 0 #ffffff25;display:grid;place-items:center;transform:rotate(-7deg)}
.auth-logo-show>img{width:68px;height:68px;border-radius:17px;filter:drop-shadow(0 7px 6px #3a0e5d55)}
.auth-hero-medal{position:absolute;bottom:16px;right:calc(50% - 82px);width:43px;height:43px;border-radius:14px;display:grid;place-items:center;transform:rotate(12deg);background:#261c3b;border:1px solid #7d5b9e;box-shadow:0 6px 15px #08041499}
.auth-hero-medal .art-img{width:36px;height:36px}
.auth-heading{text-align:left;margin-top:0;margin-bottom:19px}
.auth-eyebrow{color:#bd8df8;letter-spacing:1.65px;font-size:8px;font-weight:800}
.auth-heading h1{font-size:26px;line-height:1.17;letter-spacing:-.9px;margin:7px 0 8px;text-align:left}
.auth-heading p{font-size:12px;color:var(--surface-muted);line-height:1.55;margin:0;text-align:left}
.auth-refined .auth-form{display:flex;gap:13px;flex-direction:column}
.auth-refined .auth-form label{color:var(--surface-text);font-size:11px;font-weight:700;gap:6px}
.auth-input-wrap{height:43px;display:flex;align-items:center;gap:9px;background:var(--surface-raised);border:1px solid var(--surface-stroke);border-radius:12px;padding:0 11px;transition:border-color .2s,box-shadow .2s}
.auth-input-wrap:focus-within{border-color:#a167f0;box-shadow:0 0 0 3px #a167f022}
.auth-input-wrap>.ico{color:#9d8db3;flex:none}
.auth-refined .auth-input-wrap input{margin:0;border:0;background:transparent!important;padding:8px 0;font-size:12px;font-weight:500;color:var(--surface-text);width:100%;height:100%;min-width:0;box-shadow:none!important;outline:0}
.auth-input-wrap input::placeholder{color:#9389a4}
.auth-visibility{flex:none;padding:3px;background:transparent;color:var(--surface-muted);border:0;display:grid;place-items:center}
.auth-forgot{font-size:11px;color:#c49aff;align-self:flex-end;margin-top:-5px;padding:0;background:transparent;border:0;font-weight:650}
.auth-submit{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;border-radius:12px;padding:14px 17px;background:linear-gradient(120deg,#a457ed,#7435d9);box-shadow:0 10px 25px #7436d65c;color:#fff;font-weight:800;font-size:13px;margin-top:5px;cursor:pointer}
.auth-submit:hover{filter:brightness(1.08)}.auth-submit:disabled{opacity:.55;cursor:wait}
.auth-switch{font-size:11px;text-align:center;color:var(--surface-muted);margin-top:3px}
.auth-switch-link{padding:3px;border:0;background:transparent;color:#bb8eff;font-weight:750;font-size:11px}
.auth-privacy{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--surface-muted)!important;font-size:10px!important;margin:4px 0 0!important;text-align:center}
.auth-privacy .ico{color:#7dd8ac}
.auth-refined .auth-message{font-size:11px}
.cloud-status .auth-brand{display:flex;align-items:center;gap:9px}
.cloud-status .auth-brand img{width:32px;height:32px}
/* Animated check drawing over Planly logo for successful sign-in. */
.splash-phone .screen-view{overflow:hidden!important}
.planly-splash{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;isolation:isolate;background:radial-gradient(circle at center,#48236a,#130f22 67%);gap:13px}
.splash-halo{position:absolute;width:260px;height:260px;border-radius:50%;background:#8f4bec40;filter:blur(58px);z-index:-1;animation:splashHalo 1.35s ease both}
.splash-logo{position:relative;width:100px;height:100px;animation:splashLogo .7s cubic-bezier(.2,1.5,.35,1) both}
.splash-logo>img{width:100%;height:100%;border-radius:23px;box-shadow:0 17px 65px #8f49ef55}
.splash-logo svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 4px #fff9)}
.splash-logo svg path{stroke:white;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:64;stroke-dashoffset:64;animation:splashTick .43s ease .32s forwards}
.planly-splash strong{font-size:35px;letter-spacing:-1.5px;opacity:0;transform:translateY(9px);animation:splashText .55s ease .55s forwards}
.planly-splash>span{font-size:12px;color:#c4afd8;opacity:0;animation:splashText .5s ease .82s forwards}
@keyframes splashTick{to{stroke-dashoffset:0}}
@keyframes splashLogo{from{opacity:0;transform:scale(.65) rotate(-10deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes splashText{to{opacity:1;transform:translateY(0)}}
@keyframes splashHalo{from{transform:scale(.55);opacity:.2}to{transform:scale(1);opacity:1}}

/* Light-mode contrast corrections for originally dark-only components. */
body[data-theme="light"] .quick-card{background:linear-gradient(130deg,#fff,#f6f0fc 100%);color:#342845;border-color:#e3d8ef;box-shadow:0 5px 15px #7a529b16}
body[data-theme="light"] .quick-card:nth-child(2){background:linear-gradient(140deg,#fffdf7,#faf4ef)}
body[data-theme="light"] .quick-card strong{color:#3b284f}
body[data-theme="light"] .quick-card small{color:#776982}
body[data-theme="light"] .task-row{background:#fff;border-color:#e4dce9!important;color:#2b243a}
body[data-theme="light"] .task-row.is-done{background:#faf8fb}
body[data-theme="light"] .task-row.completing{background:linear-gradient(95deg,#e2f9ed,#f9f7fc)}
body[data-theme="light"] .badge-gallery .badge-tile{background:linear-gradient(145deg,#fff,#f6f0fc);border-color:#e1d4ef}
body[data-theme="light"] .badge-tile strong,body[data-theme="light"] .streak-hero strong,body[data-theme="light"] .shield-hero strong{color:#37294a}
body[data-theme="light"] .auth-refined{background:radial-gradient(ellipse at 50% 8%,#eee1ff,transparent 53%)}
body[data-theme="light"] .auth-input-wrap{background:#fff;border-color:#ddd3e6}
body[data-theme="light"] .auth-input-wrap>.ico{color:#8f7b9e}
body[data-theme="light"] .auth-input-wrap input::placeholder{color:#9b90a4}
body[data-theme="light"] .auth-heading p,body[data-theme="light"] .auth-switch,body[data-theme="light"] .auth-privacy{color:#777083!important}
body[data-theme="light"] .auth-switch-link,body[data-theme="light"] .auth-forgot{color:#8034cf}
body[data-theme="light"] .auth-hero-medal{background:#efe5fa;border-color:#dfcdf0}
body[data-theme="light"] .planly-splash{background:radial-gradient(circle at center,#e9d9ff,#faf9ff 68%)}
body[data-theme="light"] .planly-splash>span{color:#76658a}
body[data-theme="light"] .splash-logo svg path{stroke:#fff}
body[data-theme="light"] .inner-view .plain-icon{background:#f5f0fa;color:#392b4e}
body[data-theme="light"] .inner-view .modal-heading h2{color:#332740}
body[data-theme="light"] .inner-view .frequency-selector button:not(.selected){color:#5a4c69}
body[data-theme="light"] .specific-date-editor>input,body[data-theme="light"] .date-chip{background:#fff;color:#362745;border-color:#ded0e8}
body[data-theme="light"] .repeat-none-panel h3{color:#40314e}
body[data-theme="light"] .profile-links button small,body[data-theme="light"] .profile-links button .ico{color:#806e92}
body[data-theme="light"] .cloud-status h2,body[data-theme="light"] .cloud-status .auth-brand strong{color:#3d2c4c}
body[data-theme="light"] .cloud-status p{color:#817390}
body[data-theme="light"] .league-banner strong{color:#724a19}
body[data-theme="light"] .league-list-row{color:#3d2d4d}
body[data-theme="light"] .recurrence-description b{color:#352641}
body[data-theme="light"] .repeat-setting span,body[data-theme="light"] .reminder-option span{color:#352842}
body[data-theme="light"] .streak-pips span,body[data-theme="light"] .recap-detail-rows>div,body[data-theme="light"] .score-weights>div{color:#372940}
body[data-theme="light"] .week-summary strong,body[data-theme="light"] .chart-section h3{color:#2b2341}
body[data-theme="light"] .form-input,body[data-theme="light"] input[type="date"],body[data-theme="light"] input[type="time"]{color-scheme:light}
body[data-theme="light"] .phone-shell .statusbar{color:#322743}

/* On narrow/mobile browsers Planly IS the browser app: no fake hardware, sidebar, or status icons. */
@media(max-width:720px){
 html,body,#app{width:100%;max-width:100%;height:100%;min-height:0;margin:0;overflow:hidden}
 body{overscroll-behavior:none}
 .studio{display:block!important;height:100dvh;min-height:0!important;max-height:100dvh;width:100vw;overflow:hidden;background:var(--surface)!important}
 .studio-sidebar,.studio-right,.simulator-heading,.simulator-foot,.device-button,.device-island,.device-homebar{display:none!important}
 .simulator-area{position:relative!important;display:block!important;height:100dvh!important;width:100vw!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;overflow:hidden!important}
 .phone-case{width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;max-width:none!important;border:0!important;padding:0!important;border-radius:0!important;background:var(--surface)!important;box-shadow:none!important}
 .phone-case:before{display:none!important}
 .device-inner{width:100%;height:100%;border-radius:0!important;background:var(--surface)}
 .device-inner>.phone-shell{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
 .phone-shell .statusbar{display:none!important}
 .phone-shell .bottom-nav{height:calc(64px + env(safe-area-inset-bottom))!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
 .phone-shell .screen-view{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .phone-shell .page{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
 .auth-refined{padding-top:calc(18px + env(safe-area-inset-top))!important}
}
@media(max-width:360px){.quick-card .art-img{width:32px;height:32px}.auth-refined .auth-hero{height:100px}.auth-logo-show{width:60px;height:60px}.auth-logo-show img{width:51px;height:51px}.auth-refined .auth-heading h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.planly-splash *,.planly-splash *:before,.planly-splash *:after{animation:none!important;opacity:1!important;stroke-dashoffset:0!important}}
