:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",sans-serif;font-size:16px;line-height:1.6;color:#383443;background:#f8f7fa;--ink:#383443;--muted:#777080;--accent:#76638f;--line:#e9e4ed;--serif:"Iowan Old Style","Baskerville","Songti SC","STSong",Georgia,serif}*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#fcfaf7 0%,#f7f5fb 60%,#f4f2f9 100%);min-height:100svh}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:18px;padding:12px 22px;min-height:44px;background:var(--accent);color:#fff;transition:background .2s,transform .2s}button:hover{background:#68567f}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #87749f;outline-offset:4px}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h2{font-size:1.15rem;font-weight:500}h3{font-size:1.15rem;font-weight:500;overflow-wrap:anywhere}main{max-width:1020px;margin:auto;padding:30px 36px 148px;position:relative}.ambient{pointer-events:none;position:fixed;width:70vw;height:70vh;right:-20vw;top:-35vh;background:radial-gradient(ellipse,#e5dcef55,transparent 67%);filter:blur(30px)}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.wordmark{font-family:var(--serif);font-size:1.3rem;letter-spacing:-.04em}.wordmark em{color:var(--accent)}.wordmark span{font-family:system-ui;display:block;font-size:.7rem;letter-spacing:.14em;color:var(--muted);margin-top:2px}.local-label{font-size:.75rem;color:#8d8497}.page{animation:appear .35s ease}.editorial{font-family:var(--serif);font-weight:400;letter-spacing:-.04em;font-size:3.2rem;line-height:1.25;margin-bottom:28px}.editorial span{display:block;font-size:1.5rem;letter-spacing:.01em;color:#8b7b9f;margin-top:16px}.eyebrow{font-size:.7rem;letter-spacing:.22em;color:#92869e;margin-bottom:16px}.muted{color:var(--muted);font-size:.875rem}.secondary{background:#eee9f3;color:#665573}.secondary:hover{background:#e5deed}.text-button{background:none;color:#80718e;padding:0;min-height:32px;border-radius:3px;font-size:.875rem}.text-button:hover{background:none;color:#4e405d}.now-meta{display:flex;justify-content:space-between;gap:20px;font-size:.8rem;color:var(--muted);align-items:center}#now-page{max-width:620px;margin:auto}#now-content{text-align:center}#orb-stage{height:205px;display:grid;place-items:center}.orb{position:relative;display:block;width:180px;height:180px;border-radius:50%;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 25% 18%,#fff 0%,#ffffffa0 17%,transparent 46%),radial-gradient(circle at 75% 74%,#f8dff2 0%,transparent 50%),radial-gradient(circle at 40% 60%,#a8a4e6 0%,#d1c7ed 47%,#f2eef9 75%);box-shadow:inset 3px 5px 12px #fff,inset -6px -5px 15px #fff9,0 12px 40px #b8a2d41f;border:1px solid #ffffffd9;animation:breathe 8s ease-in-out infinite;transition:width .7s,height .7s,opacity .7s}.orb:after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse at 28% 22%,#fff9,transparent 36%);box-shadow:inset 0 0 10px 3px #fffc}.orb i,.orb b{position:absolute;width:78%;height:66%;border-radius:50%;filter:blur(17px);opacity:.8;animation:drift 13s ease-in-out infinite alternate}.orb i{background:#b8b2ef;top:27%;left:6%;transform:rotate(-35deg)}.orb b{background:#f3d9ef;left:40%;top:38%;animation-delay:-6s}.orb[data-state="recommended"]{width:150px;height:150px}.orb[data-state="thinking"] i{animation-duration:2s}.orb[data-state="thinking"] b{animation-duration:2.8s}.orb[data-state="thinking"]{animation-duration:2.6s}#now-heading{font-size:2.5rem;color:#847197;margin-bottom:26px}#now-eyebrow{margin:0 0 12px}#current .task-title{font-size:1.65rem;line-height:1.55;font-weight:500;letter-spacing:-.025em;margin-bottom:10px}#current .task-meta{font-size:.875rem;color:#81738d;margin-bottom:16px}.reason{color:#847e8a;font-size:.875rem;line-height:1.8;max-width:430px;margin:0 auto 28px}.primary-action{min-width:260px;width:72%;max-width:360px;padding:16px;border-radius:20px;font-weight:500;box-shadow:0 6px 16px #75638c10}.intents{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:23px 0 34px}.intent{font-size:.8rem;background:#ffffff91;border:1px solid #eee9f2;color:#81738d;padding:10px 14px;min-height:40px;border-radius:14px}.intent:hover{background:#eee8f3}.composer{display:flex;gap:10px;align-items:center;background:#ffffffc7;border:1px solid #fff;border-radius:26px;padding:10px 12px 10px 20px;box-shadow:0 5px 22px #66567b08;position:sticky;bottom:102px;z-index:3;margin:24px 0 0;backdrop-filter:blur(14px)}.composer input{flex:1;min-width:0;border:0;background:transparent;padding:8px 0;color:#50445e;outline-offset:0;font-size:.9rem}.composer input::placeholder{color:#a396af}.composer button{border-radius:50%;padding:0;width:42px;min-height:42px;font-size:1.3rem;background:#eee8f5;color:#857094}.composer-star{font-size:1.5rem;color:#b3a2c8}.bottom-nav{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 36px));display:flex;align-items:center;background:#fcfbfddd;backdrop-filter:blur(18px);padding:10px 14px;border:1px solid #fff;border-radius:25px;z-index:5;box-shadow:0 8px 30px #7461880c}.bottom-nav a{flex:1;text-align:center;display:grid;gap:2px;font-size:.72rem;color:#9c90a8;border-radius:16px;padding:4px}.bottom-nav a span{font-size:1.3rem;line-height:1.2;font-weight:300}.bottom-nav a[aria-current="page"]{color:#76638f;background:#eee8f4}.page-title,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-heading{margin:32px 0 18px}.section-heading h2,.section-heading p{margin-bottom:0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card{background:#ffffff8c;border:1px solid #fff;border-radius:26px;padding:26px;min-height:195px;display:flex;flex-direction:column;transition:background .2s}.project-card:hover{background:#fff}.project-card h2{font-size:1.3rem;margin:18px 0 9px}.project-card .project-index{font-size:.75rem;color:#b3a1c5;font-family:var(--serif)}.project-card .goal{font-size:.875rem;color:#807687;flex:1}.project-card .meta{font-size:.75rem;color:#8b7a9b}.project-card .template-summary{margin:14px 0 0;padding-top:12px;border-top:1px solid #ece6f0;font-size:.8rem;color:#9786a5}.task-list{border-top:1px solid var(--line)}.task-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:20px 3px;border-bottom:1px solid var(--line)}.task-row .row-content{min-width:0;flex:1}.task-row h3{font-size:1rem;margin:0 0 5px}.task-row p{margin:0}.task-row .actions{justify-content:flex-end;flex-shrink:0}.task-row .actions button{padding:8px 12px;font-size:.8rem;min-height:38px}.actions{display:flex;gap:8px;flex-wrap:wrap}.empty{padding:30px 0;color:#93869d;font-size:.9rem}.back-link{font-size:.9rem;color:#8b7c99}.detail-hero{padding:30px 0 16px}.detail-hero .editorial{font-size:2.5rem}.template-card{background:#fff9;border:1px solid #fff;border-radius:22px;padding:24px;margin:16px 0}.template-card h3{margin-bottom:10px}.template-card .actions{margin-top:18px}.template-card .actions button{font-size:.8rem}.segmented{display:inline-flex;background:#eee9f3;border-radius:16px;padding:5px;gap:5px;margin:4px 0 26px}.segmented button{background:transparent;color:#8a799a;min-width:90px;border-radius:12px;padding:8px 16px;font-size:.875rem}.segmented button[aria-pressed="true"]{background:#fff;color:#6d597d}.review-record{padding:22px 0;border-bottom:1px solid var(--line);display:flex;gap:20px;justify-content:space-between}.review-record h3{margin:0 0 6px;font-size:1rem}.review-record p{margin:0}.review-duration{font-family:var(--serif);font-size:1.7rem;white-space:nowrap;color:#8c779f}.review-footnote{font-family:var(--serif);font-size:1.1rem;color:#a090ad;margin:40px 0}.settings-card{background:#ffffff8c;border:1px solid white;border-radius:24px;padding:28px;display:grid;gap:24px;max-width:660px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:grid;gap:8px;font-size:.875rem;color:#71667c}input,select,textarea{width:100%;min-width:0;padding:12px 14px;border:1px solid #e4dce9;background:#fff9;border-radius:12px;color:var(--ink)}textarea{resize:vertical}fieldset{border:0;padding:0;margin:0}legend{font-size:.875rem;color:#71667c;margin-bottom:12px}.check-options{display:flex;gap:12px;flex-wrap:wrap}.check-options label,.checkbox{display:flex;gap:8px;align-items:center}.check-options input,.checkbox input{width:16px;height:16px;accent-color:var(--accent)}dialog{width:min(520px,calc(100% - 28px));max-height:88svh;overflow:auto;border:1px solid white;border-radius:26px;background:#faf8fc;padding:28px;color:var(--ink);box-shadow:0 20px 80px #4a3b6422}dialog::backdrop{background:#3b2b4944;backdrop-filter:blur(5px)}dialog form{display:grid;gap:18px}dialog h2{font-family:var(--serif);font-size:1.6rem;margin:0 0 4px}dialog .actions{justify-content:flex-end}dialog .muted{margin-bottom:0}#error,.form-error{color:#a14e63;font-size:.875rem}#error{padding:14px;background:#f8e9ed;border-radius:12px}.toast{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:15;font-size:.8rem;background:#fff;box-shadow:0 5px 20px #4a3b6410;padding:8px 16px;border-radius:20px;pointer-events:none}.toast:empty{display:none}.timer{font-variant-numeric:tabular-nums;font-weight:300;font-size:3.5rem;letter-spacing:.04em;margin:28px 0 6px;color:#73627f}.started-at{font-size:.8rem;color:#94889d;margin:0 0 30px}.action-mode #orb-stage{height:55px}.action-mode #orb-stage .orb{opacity:0;width:0;height:0}.action-mode #now-heading{font-size:2rem;margin-top:12px}.action-mode .intents{opacity:.8}.action-mode #current .task-title{font-size:1.8rem}.action-mode .composer{margin-top:40px}#floating-orb{position:fixed;right:max(22px,calc((100vw - 880px)/2));bottom:185px;padding:0;background:transparent;z-index:4;border-radius:50%}#floating-orb .orb{width:52px;height:52px;box-shadow:inset 1px 2px 6px white,0 5px 25px #b8a2d42b}#floating-orb .orb i,#floating-orb .orb b{filter:blur(6px)}.chat-top{display:flex;align-items:center;justify-content:space-between;margin:24px 0;color:#a193ac;font-size:.8rem}.chat-orb{width:90px;height:90px;margin:28px auto}.chat-orb i,.chat-orb b{filter:blur(10px)}#chat-mode .editorial{text-align:center;font-size:2rem;margin:20px 0 10px}.chat-disclaimer{text-align:center;font-size:.75rem}#messages{padding:20px 0;min-height:140px}.message{max-width:86%;padding:14px 18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.8;border-radius:20px;margin-bottom:14px}.message.user{margin-left:auto;background:#eae3f2;color:#705b80;border-bottom-right-radius:5px}.message.assistant{background:#fff9;border:1px solid white;border-bottom-left-radius:5px}.chat-task{display:block;text-align:left;width:100%;background:#fff8;color:#766184;border:1px solid #e9dfef;font-size:.875rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes breathe{50%{transform:translateY(-4px) scale(1.018)}}@keyframes drift{to{transform:translate(-8%,12%) rotate(25deg)}}@keyframes appear{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}@media(min-width:1100px){#now-page{padding-top:8px}.topbar{margin-bottom:28px}#orb-stage{height:205px}}@media(max-width:600px){main{padding:22px 22px 138px}.topbar{margin-bottom:24px}.wordmark{font-size:1.15rem}.local-label{font-size:.7rem}.now-meta{gap:8px;font-size:.75rem}.now-meta button{font-size:.75rem}#orb-stage{height:154px}.orb{width:136px;height:136px}.orb[data-state="recommended"]{width:120px;height:120px}#now-heading{font-size:2rem;margin-bottom:23px}#now-eyebrow{font-size:.62rem}#current .task-title{font-size:1.35rem}#current .task-meta{font-size:.8rem}.reason{font-size:.8rem;margin-bottom:23px}.primary-action{width:90%;min-width:0;padding:15px}.intents{gap:6px;margin:20px -5px 26px}.intent{font-size:.73rem;padding:9px 10px;min-height:38px}.composer{bottom:97px;margin-top:15px;padding:9px 10px 9px 16px}.composer input{font-size:.85rem}.editorial{font-size:2.65rem}.editorial span{font-size:1.25rem}.page-title{align-items:flex-start;flex-wrap:wrap}.page-title button{font-size:.85rem}.project-grid{grid-template-columns:1fr}.project-card{min-height:170px;padding:22px}.section-heading h2{font-size:1.05rem}.section-heading button{font-size:.8rem;padding:10px 12px}.task-row{flex-wrap:wrap;gap:12px}.task-row .row-content{flex-basis:100%}.task-row .actions{justify-content:flex-start}.settings-card{padding:20px}.field-grid{gap:14px}.timer{font-size:3rem}.action-mode #orb-stage{height:50px}#floating-orb{right:18px;bottom:177px}dialog{padding:24px}.detail-hero .editorial{font-size:2rem}.review-duration{font-size:1.4rem}.review-record{gap:10px}.chat-top span{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep conversation content and its next action above the composer. */
#now-page{position:relative}.chat-open .now-meta{display:none}#chat-mode{display:flex;flex-direction:column;height:calc(100svh - 330px);min-height:360px;max-height:670px}#chat-mode .chat-top{margin:0 0 8px;flex-shrink:0}#chat-mode .chat-orb{width:68px;height:68px;min-height:68px;margin:8px auto}#chat-mode .editorial{font-size:1.6rem;margin:8px 0}#chat-mode .chat-disclaimer{margin-bottom:8px}#messages{flex:1;min-height:0;overflow-y:auto;padding:10px 0;scrollbar-width:thin;scrollbar-color:#d8cde3 transparent}#chat-actions{flex-shrink:0;padding-top:8px}#chat-actions button{font-size:.8rem}#floating-orb{position:absolute;right:0;bottom:10px}.action-mode .composer{margin-right:70px}@media(max-width:600px){#chat-mode .editorial{font-size:1.4rem}#chat-mode .chat-disclaimer{font-size:.7rem}.message{font-size:.85rem}.chat-open .composer{margin-top:14px}#floating-orb{right:0;bottom:8px}.action-mode .composer{margin-right:64px}}
.swipe-task{position:relative;overflow:hidden;border-radius:14px;touch-action:pan-y;margin:2px 0}.swipe-surface{position:relative;background:#f8f6fa;transition:transform .2s ease;z-index:1}.swipe-task.is-open .swipe-surface{transform:translateX(-88px)}.swipe-task .task-row{padding-left:12px;padding-right:12px}.swipe-delete{position:absolute;right:0;top:0;bottom:0;width:88px;border-radius:0 14px 14px 0;background:#a45668;color:white;visibility:hidden}.swipe-task.is-open .swipe-delete{visibility:visible}.swipe-delete:hover,.danger-confirm:hover{background:#8c4052}.danger-link{background:transparent;color:#9b5969;font-size:.8rem}.danger-link:hover{background:#f3e7eb;color:#873e50}.danger-confirm{background:#a45668}#delete-description{line-height:1.9;font-size:.95rem}#delete-form .actions{gap:12px}#delete-form .actions button{flex:1;min-width:110px}
#history .review-record{padding:22px 12px}#history .review-record>div{min-width:0}#history .review-record h3{overflow-wrap:anywhere}
.agent-mode{font-size:.72rem;text-align:right;margin-bottom:8px;color:#94839f}.agent-proposal{background:#f2ecf7;border:1px solid #e3d9eb;border-radius:16px;padding:14px;width:100%}.agent-proposal p{font-size:.85rem;margin-bottom:12px;overflow-wrap:anywhere}.agent-proposal button{margin-right:8px}.chat-open #chat-actions{max-height:180px;overflow:auto}

/* Mobile Now experience — pearl light, restrained chrome, and a stateful Orb. */
:root{--ink:#151827;--muted:#74798d;--accent:#6762d8;--line:#e8eaf2}
body{background:radial-gradient(circle at 82% 2%,#dfe5ffb8 0,transparent 28%),radial-gradient(circle at 10% 42%,#f0e6ff8c 0,transparent 32%),linear-gradient(150deg,#fbfcff 0%,#f5f7fc 52%,#f8f7fc 100%);color:var(--ink)}
main{padding-bottom:54px}.ambient{width:80vw;height:65vh;right:-18vw;top:-30vh;background:radial-gradient(ellipse,#cfd8ff80,transparent 64%);filter:blur(46px)}
.topbar{min-height:60px;margin-bottom:42px;border-bottom:1px solid #e8ebf3;padding-bottom:16px}.wordmark{font-family:inherit;font-size:1rem;font-weight:750;letter-spacing:-.02em}.wordmark span{font-size:.58rem;letter-spacing:.18em;margin-top:1px}.top-links{display:flex;align-items:center;gap:8px}.top-links a{padding:8px 12px;border-radius:12px;color:#74798c;font-size:.8rem}.top-links a[aria-current="page"]{color:#171a29;background:#fff9;box-shadow:0 4px 18px #30395b0a}.bottom-nav{display:none}.local-label{display:none}
body[data-route="now"] .topbar{display:none}
#now-page{max-width:620px;min-height:calc(100svh - 64px)}
.now-header{height:62px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.avatar-entry,.profile-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#fefeff,#dce3ff);border:1px solid #fff;box-shadow:0 7px 24px #4f5c8a18,inset 0 0 0 1px #cbd4f84d}
.avatar-fallback{font-size:.62rem;letter-spacing:.12em;font-weight:750;color:#676d89}.avatar-image{width:100%;height:100%;object-fit:cover}
.now-tools{display:flex;gap:12px}.now-tools a{width:52px;display:grid;justify-items:center;gap:3px;color:#71768a;font-size:.62rem}.now-tools a:before{content:"";position:absolute}.now-tools svg{width:38px;height:38px;padding:9px;border-radius:50%;background:#ffffffa6;border:1px solid #fff;stroke:#30354a;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 6px 22px #45527c0d}.now-tools a:hover svg{background:#fff;stroke:#625ed3}.now-tools a[aria-current="page"]{color:#625ed3}
#now-content{text-align:left}.now-intro{position:relative;margin-bottom:2px}.now-intro #now-heading{font-family:inherit;font-size:clamp(2.55rem,7vw,3.65rem);line-height:1.02;font-weight:790;letter-spacing:-.062em;margin:0;color:#121522}.now-intro #now-eyebrow{font-size:1.08rem;color:#7a8095;letter-spacing:-.02em;margin:10px 0 0}.agent-mode{position:absolute;right:0;bottom:1px;margin:0;padding:4px 9px;border:1px solid #e8eaf3;border-radius:20px;background:#ffffff80;color:#9297aa;font-size:.57rem;letter-spacing:.035em;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#orb-stage{height:265px;display:grid;place-items:center;position:relative;isolation:isolate}
.orb{width:210px;height:210px;overflow:visible;background:radial-gradient(circle at 31% 25%,#fff 0 8%,#f9fbffde 15%,transparent 31%),radial-gradient(circle at 70% 73%,#ffebf7 0 9%,transparent 34%),radial-gradient(circle at 30% 76%,#9de3ff 0,transparent 38%),radial-gradient(circle at 70% 25%,#acb2ff 0,transparent 42%),linear-gradient(145deg,#fdfdff 2%,#acb7ee 45%,#d5d3ff 66%,#fff 100%);border:1px solid #ffffffee;box-shadow:inset 10px 8px 26px #fff,inset -10px -12px 30px #8a9ee38c,0 26px 55px #728be42b,0 0 46px #b8dff081;filter:saturate(.88);animation:breathe 7s ease-in-out infinite}
.orb:after{inset:4%;background:radial-gradient(ellipse at 25% 18%,#fff,transparent 34%),linear-gradient(125deg,transparent 42%,#ffffff7d 50%,transparent 57%);box-shadow:inset 0 0 15px 4px #fff9}
.orb i{display:block;width:128%;height:52%;left:-14%;top:24%;border-radius:50%;background:transparent;border:1px solid #fdfdffff;border-top:4px solid #ffffffc7;border-bottom:5px solid #7d82c0a8;box-shadow:0 0 10px #fff,inset 0 0 10px #a9aeec;filter:none;opacity:.9;transform:rotate(-19deg);animation:orbit-drift 10s ease-in-out infinite alternate;z-index:2}
.orb b{display:block;width:66%;height:62%;left:28%;top:20%;border-radius:48% 52% 54% 46%;background:radial-gradient(circle at 35% 30%,#fff9,transparent 32%),linear-gradient(140deg,#c3cbff36,#6f76ba8a,#fff7);filter:blur(8px);opacity:.75;animation:drift 11s ease-in-out infinite alternate;z-index:1}
.orb[data-state="recommended"],.orb[data-state="idle"]{width:200px;height:200px}.orb[data-state="thinking"]{animation:thinking-pulse 1.7s ease-in-out infinite}.orb[data-state="thinking"] i{animation-duration:2.2s}
#current{background:linear-gradient(145deg,#ffffffbd,#f8f9ff9c);border:1px solid #fff;border-radius:27px;padding:22px 22px 20px;box-shadow:0 20px 52px #43517c0d,inset 0 0 0 1px #e9edfa6e;backdrop-filter:blur(18px)}
#current .card-kicker{margin:0 0 7px;color:#7775ba;font-size:.58rem;font-weight:750;letter-spacing:.22em}
#current .task-title{font-family:inherit;font-size:1.46rem;line-height:1.2;font-weight:730;letter-spacing:-.036em;margin:0 0 9px;color:#171a27}
#current .task-meta{font-size:.78rem;color:#757b90;margin:0 0 12px}.reason{max-width:none;margin:0 0 18px;color:#8b90a2;font-size:.76rem;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.primary-action{width:100%;max-width:none;min-width:0;padding:16px 22px;border-radius:20px;background:radial-gradient(circle at 91% 0,#8277ff 0,transparent 18%),linear-gradient(105deg,#282c3d 0%,#171927 45%,#383064 100%);font-weight:650;letter-spacing:-.01em;box-shadow:0 13px 28px #34305729,0 0 22px #7772e823}.primary-action:before{content:"▶";font-size:.75rem;margin-right:10px}.primary-action:hover{background:radial-gradient(circle at 91% 0,#968dff 0,transparent 20%),linear-gradient(105deg,#303448,#1b1d2d 45%,#40386e 100%)}
.intents{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 18px}.intent{font-size:.72rem;white-space:nowrap;background:#ffffffa8;border:1px solid #fff;color:#454b63;padding:9px 7px;min-height:42px;border-radius:17px;box-shadow:0 7px 24px #5661810a}.intent:hover{background:#fff;color:#615bd0}.intent:before{content:"○";margin-right:6px;color:#7772df}.intent:last-child:before{content:"✦"}
.composer{position:sticky;bottom:16px;margin:0;background:#ffffffd9;border:1px solid #fff;border-radius:24px;padding:8px 9px 8px 16px;box-shadow:0 12px 35px #49557817;backdrop-filter:blur(24px)}.composer input{font-size:.82rem}.composer button{background:#e9ebf5;color:#747b9b}.composer-star{color:#716be0}

/* Focus state */
.action-mode{min-height:calc(100svh - 50px);display:flex;flex-direction:column;justify-content:center}.action-mode .now-header,.action-mode .now-intro,.action-mode .composer,.action-mode #floating-orb,.action-mode #quick-intents{display:none!important}.action-mode #now-content{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - 70px)}.action-mode #orb-stage{height:315px}.action-mode #orb-stage:before,.action-mode #orb-stage:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #cbd6ff96;border-radius:50%;animation:focus-ripple 4s ease-out infinite;z-index:-1}.action-mode #orb-stage:after{animation-delay:-2s}.action-mode #orb-stage .orb{opacity:1;width:205px;height:205px;animation:focus-breathe 4s ease-in-out infinite}.action-mode #current{display:flex;flex-direction:column;align-items:center;text-align:center;background:transparent;border:0;box-shadow:none;padding:0}.action-mode #current .timer{order:1;font-family:inherit;font-size:3.75rem;line-height:1;font-weight:710;letter-spacing:-.055em;color:#151827;margin:8px 0 14px}.action-mode #current .task-title{order:2;font-size:1.15rem;margin:0 0 7px}.action-mode #current .task-meta{order:3;margin:0 0 28px}.action-mode #current .started-at,.action-mode #current .reason{display:none}.action-mode #current .primary-action{order:4;width:auto;min-width:176px;background:#ffffffb5;border:1px solid #fff;color:#34394f;box-shadow:0 10px 34px #48547c16}.action-mode #current .primary-action:before{content:"■";color:#6d69c9}.action-mode #current .primary-action:hover{background:#fff}

/* Chat state */
.chat-open{min-height:calc(100svh - 44px)}.chat-open .now-header{display:none}.chat-open #chat-mode{height:calc(100svh - 132px);min-height:420px;max-height:none}.chat-top{height:58px;margin:0 0 12px!important;display:grid!important;grid-template-columns:42px 1fr 42px;align-items:center;border-bottom:1px solid #e8eaf3}.chat-back{width:38px;min-height:38px;padding:0;border-radius:50%;background:#ffffffa8;color:#303548;border:1px solid #fff;font-size:1.15rem}.chat-back:hover{background:#fff}.chat-identity{display:flex;align-items:center;justify-content:center;gap:10px}.chat-identity>span:last-child{display:grid;line-height:1.2}.chat-identity strong{font-size:.8rem;color:#25293a}.chat-identity small{display:block;font-size:.6rem;color:#969bad;margin-top:3px;text-align:left}.chat-orb{width:35px!important;height:35px!important;min-height:35px!important;margin:0!important;box-shadow:inset 3px 3px 8px #fff,inset -3px -3px 8px #8a9ee36e,0 4px 15px #7589d532}.chat-orb i{border-width:1px;border-bottom-width:2px}.chat-orb b{filter:blur(3px)}#messages{padding:10px 0 18px;scroll-padding-bottom:20px}.message{max-width:84%;padding:12px 15px;font-size:.84rem;line-height:1.55;border-radius:18px;margin-bottom:10px}.message.user{background:linear-gradient(145deg,#e8ebff,#dde3fa);color:#3e4668}.message.assistant{background:#ffffffb8;border:1px solid #fff;color:#3e4252}.chat-open #chat-actions{max-height:155px;padding:6px 0;overflow:auto}.chat-open .composer{margin-top:10px;bottom:10px}

.profile-avatar-editor{display:flex;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid var(--line)}.profile-avatar{width:76px;height:76px;flex:0 0 auto}.profile-avatar-editor>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-avatar-editor strong{flex-basis:100%;font-size:.95rem}.profile-avatar-editor small{flex-basis:100%;color:#9499aa;font-size:.7rem}.avatar-upload,.avatar-remove{display:inline-flex;align-items:center;width:auto;min-height:34px;padding:7px 12px;border-radius:11px;background:#ebeaf8;color:#5c58b4;font-size:.75rem;cursor:pointer}.avatar-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.avatar-remove{border:0;background:transparent;color:#8a8fa0}.avatar-remove:hover{background:#f0eff7}

@keyframes orbit-drift{to{transform:rotate(-12deg) scaleX(.96)}}@keyframes thinking-pulse{50%{transform:scale(1.035);filter:saturate(1.12)}}@keyframes focus-breathe{50%{transform:scale(1.045);filter:saturate(1.04) brightness(1.04)}}@keyframes focus-ripple{0%{transform:scale(.78);opacity:0}30%{opacity:.72}100%{transform:scale(1.35);opacity:0}}
@media(max-width:600px){main{padding:16px 18px 34px}.topbar{margin-bottom:28px}.top-links{gap:2px}.top-links a{padding:7px 9px}#now-page{min-height:calc(100svh - 32px)}.now-header{height:54px;margin-bottom:18px}.avatar-entry{width:44px;height:44px}.now-tools{gap:6px}.now-tools a{width:48px}.now-tools svg{width:36px;height:36px}.now-intro #now-heading{font-size:2.65rem}.now-intro #now-eyebrow{font-size:1rem}.agent-mode{font-size:.53rem;max-width:134px}#orb-stage{height:235px}.orb,.orb[data-state="recommended"],.orb[data-state="idle"]{width:178px;height:178px}#current{padding:19px 18px 17px;border-radius:24px}#current .task-title{font-size:1.3rem}.primary-action{width:100%;padding:14px}.intents{margin:12px -1px 14px;gap:6px}.intent{font-size:.66rem;padding:8px 3px;min-height:40px}.composer{padding:7px 8px 7px 14px}.composer input{font-size:.8rem}.action-mode #orb-stage{height:290px}.action-mode #orb-stage .orb{width:190px;height:190px}.action-mode #current .timer{font-size:3.35rem}.chat-open #chat-mode{height:calc(100svh - 100px);min-height:400px}.chat-open .composer{margin-top:8px}.profile-avatar-editor{align-items:flex-start}.settings-card{padding:20px}}
@media(max-width:350px){.now-intro #now-heading{font-size:2.28rem}#orb-stage{height:205px}.orb,.orb[data-state="recommended"],.orb[data-state="idle"]{width:155px;height:155px}.intent{font-size:.6rem}.agent-mode{display:none}#current{padding:16px}.action-mode #orb-stage{height:250px}}
.agent-mode{display:none}.composer{position:relative;bottom:auto}.chat-open .composer{position:sticky;bottom:10px}

/* PWA viewport and iPhone safe areas. */
html{min-height:100%;background:#f7f8fc}body{min-height:100vh;min-height:100dvh;overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}main{padding-top:max(30px,env(safe-area-inset-top));padding-right:max(36px,env(safe-area-inset-right));padding-bottom:max(54px,env(safe-area-inset-bottom));padding-left:max(36px,env(safe-area-inset-left))}
@media(max-width:600px){main{padding-top:max(16px,env(safe-area-inset-top));padding-right:max(18px,env(safe-area-inset-right));padding-bottom:max(34px,env(safe-area-inset-bottom));padding-left:max(18px,env(safe-area-inset-left))}.chat-open .composer{bottom:max(10px,env(safe-area-inset-bottom))}}
@media(display-mode:standalone){body,main{min-height:100dvh}body{background-color:#f7f8fc}}

/* In-place chat and compact profile view. */
.chat-open .now-header{display:flex}.chat-open #now-content{display:block!important;position:relative;min-height:58px}.chat-open .now-intro,.chat-open #current,.chat-open #quick-intents{display:none}.chat-open #orb-stage{position:absolute;top:0;right:0;width:52px;height:52px;display:block;z-index:2}.chat-open #orb-stage .orb{width:48px!important;height:48px!important}.chat-open #chat-mode{display:block;height:auto;min-height:340px;max-height:none;padding-top:8px}.chat-open .chat-top{height:0;margin:0!important;border:0;position:relative;display:block!important}.chat-open .chat-identity,.chat-open .chat-spacer{display:none}.chat-open .chat-back{position:absolute;left:0;top:0;z-index:3}.chat-open #messages{padding:56px 0 18px;max-height:520px;overflow-y:auto}.chat-open #chat-actions{max-height:none;padding-bottom:12px}
.profile-view{max-width:660px;background:#ffffff8c;border:1px solid #fff;border-radius:24px;padding:26px}.profile-view-head{display:flex;align-items:center;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--line)}.profile-view-head h2,.profile-view-head p{margin:0}.profile-view-head h2{font-size:1.15rem}.profile-view-kicker{font-size:.7rem;letter-spacing:.14em;color:#7775ba}.profile-view-head button{margin-left:auto;min-height:38px;padding:8px 14px;font-size:.8rem}.profile-summary{display:grid;gap:18px;margin:22px 0 0}.profile-summary>div{display:grid;gap:4px}.profile-summary dt{font-size:.7rem;color:#8b90a2;letter-spacing:.08em}.profile-summary dd{margin:0;color:#303548;font-size:.92rem;overflow-wrap:anywhere}.profile-form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}

@media(max-width:600px){
 html,body{width:100%;min-height:100%;overflow-x:clip}body{min-height:100dvh}main{min-height:100dvh;padding-top:max(16px,env(safe-area-inset-top));padding-right:max(18px,env(safe-area-inset-right));padding-bottom:calc(104px + env(safe-area-inset-bottom));padding-left:max(18px,env(safe-area-inset-left))}
 body[data-route="now"] #now-page{min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding-bottom:0}body[data-route="now"] .composer{position:fixed;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));margin:0;z-index:20}body[data-route="now"] .composer input{font-size:16px!important;min-height:44px}body[data-route="now"] .composer button{flex:0 0 44px;width:44px;min-height:44px}
 .now-tools{gap:10px}.now-tools a{width:40px;height:40px;display:grid;place-items:center}.now-tools a span{display:none}.now-tools svg{width:40px;height:40px;padding:10px}.now-header{margin-bottom:18px}
 .chat-open #now-content{min-height:52px}.chat-open #orb-stage{right:0;top:0}.chat-open #chat-mode{min-height:calc(100dvh - 190px);padding-bottom:calc(96px + env(safe-area-inset-bottom))}.chat-open #messages{max-height:calc(100dvh - 230px);padding-top:54px}.chat-open #chat-actions{padding-bottom:8px}.chat-open .composer{bottom:max(12px,env(safe-area-inset-bottom))}
 .action-mode{min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.action-mode #now-content{min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-grid label{min-width:0}.field-grid input{min-width:0;max-width:100%;font-size:16px}.profile-view{padding:20px}.profile-view-head{gap:12px}.profile-summary{gap:16px}
}
@media(max-width:360px){.field-grid{grid-template-columns:1fr}.profile-view-head{align-items:flex-start}.profile-view-head button{margin-left:auto}}

/* Now conversation stays in the page flow, directly below the title. */
.chat-open #now-content{min-height:0}.chat-open .now-intro{display:block;margin-bottom:18px}.chat-open #orb-stage{display:none}.chat-open #current,.chat-open #quick-intents{display:none}.chat-open #chat-mode{display:block;min-height:0;height:auto;padding:0 0 96px}.chat-open #messages{padding:0 0 12px;max-height:none;overflow:visible}.chat-open #chat-actions{padding:0 0 12px;max-height:none;overflow:visible}.chat-open #chat-recommendation{display:block;margin:8px 0 16px;background:linear-gradient(145deg,#ffffffbd,#f8f9ff9c);border:1px solid #fff;border-radius:27px;padding:22px 22px 20px;box-shadow:0 20px 52px #43517c0d,inset 0 0 0 1px #e9edfa6e;backdrop-filter:blur(18px)}.chat-open #chat-recommendation[hidden]{display:none}.chat-open #chat-recommendation .card-kicker{margin:0 0 7px;color:#7775ba;font-size:.58rem;font-weight:750;letter-spacing:.22em}.chat-open #chat-recommendation .task-title{font-size:1.35rem;line-height:1.2;margin:0 0 9px}.chat-open #chat-recommendation .task-meta{font-size:.78rem;color:#757b90;margin:0 0 12px}.chat-open #chat-recommendation .reason{margin-bottom:18px}
@media(max-width:600px){.chat-open #chat-mode{min-height:0;padding:0 0 calc(92px + env(safe-area-inset-bottom))}.chat-open #messages{max-height:none;padding:0 0 12px}.chat-open .now-intro #now-heading{font-size:2.25rem}.chat-open .now-intro #now-eyebrow{margin-top:7px;font-size:.9rem}.chat-open #chat-recommendation{padding:19px 18px 17px;border-radius:24px}}

/* Review is a long-term-plan pulse, built from real task executions. */
#review-page{max-width:820px;margin:0 auto}.review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 34px}.review-metric{min-width:0;padding:20px;background:#ffffff9e;border:1px solid #fff;border-radius:22px;box-shadow:0 12px 34px #4e5c8410}.review-metric strong{display:block;font-size:1.7rem;line-height:1.1;letter-spacing:-.04em;color:#202438;font-variant-numeric:tabular-nums}.review-metric span{display:block;margin-top:8px;color:#858b9e;font-size:.72rem}.review-section-label{margin:0 0 14px;color:#7775ba;font-size:.65rem;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.review-chart{margin:0 0 36px;padding:22px 22px 18px;border-radius:26px;background:linear-gradient(150deg,#ffffffa8,#f4f6ff8c);border:1px solid #fff;box-shadow:0 18px 50px #44517d0d;overflow:hidden}.week-chart{height:185px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:10px;padding-top:10px}.week-column{height:150px;display:grid;grid-template-rows:20px 1fr 20px;justify-items:center;align-items:end;min-width:0}.week-column strong{font-size:.66rem;color:#777d93;font-variant-numeric:tabular-nums}.week-column small{font-size:.62rem;color:#9499aa}.week-bar{display:block;width:min(25px,68%);min-height:2px;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#8682ec,#c1c8f5);box-shadow:0 5px 16px #7772df24}.trend-chart svg{display:block;width:100%;height:auto;max-height:185px;overflow:visible}.trend-line{stroke:#7772df;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 5px 8px #7772df35)}.trend-dot{fill:#f8f9ff;stroke:#7772df;stroke-width:3}.trend-labels{display:flex;justify-content:space-between;gap:2px;margin-top:3px}.trend-labels span{font-size:.58rem;color:#979cad;text-align:center;min-width:0}.review-plans{display:grid;gap:10px}.review-plan-card{width:100%;min-height:82px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;color:#262a3e;background:#ffffff9e;border:1px solid #fff;border-radius:22px;box-shadow:0 10px 30px #43517c0d}.review-plan-card:hover{background:#fff}.review-plan-card.achieved{box-shadow:inset 3px 0 0 #8985df,0 10px 30px #43517c0d}.review-plan-copy{display:grid;gap:5px;min-width:0}.review-plan-copy strong{font-size:1rem;overflow-wrap:anywhere}.review-plan-copy small{font-size:.7rem;color:#8b90a2}.review-plan-score{flex:0 0 auto;font-size:1.48rem;font-weight:720;letter-spacing:-.045em;color:#6260bd;font-variant-numeric:tabular-nums}.review-other{margin:28px 0 10px;padding-top:16px;border-top:1px solid #e6e9f1;color:#9297a8;font-size:.72rem}.review-other-button{padding:0;min-height:36px;background:transparent;color:#9297a8;font-size:.72rem;text-align:left}.review-other-button:hover{background:transparent;color:#6260bd}.review-back{margin:4px 0 28px;padding:8px 13px;min-height:38px;font-size:.75rem}.review-detail-project{margin:0 0 7px;color:#7775ba;font-size:.68rem;letter-spacing:.12em}.review-detail-title{font-size:2rem;letter-spacing:-.045em;margin:0 0 8px}.review-detail-meta{color:#777d91;margin:0 0 28px}.review-detail-list{border-top:1px solid #e6e9f1}.review-execution{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 4px;border-bottom:1px solid #e6e9f1}.review-execution strong{font-size:.75rem;color:#7775ba;font-variant-numeric:tabular-nums}.review-execution span{font-size:.88rem;overflow-wrap:anywhere}.review-execution small{color:#8e93a5;font-size:.72rem;white-space:nowrap}
@media(max-width:600px){#review-page .editorial{font-size:2.45rem}.review-summary{gap:8px;margin:18px 0 28px}.review-metric{padding:16px 12px;border-radius:19px}.review-metric strong{font-size:1.35rem}.review-metric span{font-size:.64rem}.review-chart{padding:18px 12px 14px;margin-bottom:28px;border-radius:22px}.week-chart{gap:5px;height:165px}.week-column{height:135px}.week-column small{font-size:.56rem}.review-plan-card{padding:15px 14px;gap:10px}.review-plan-copy small{font-size:.66rem}.review-plan-score{font-size:1.3rem}.review-execution{grid-template-columns:48px minmax(0,1fr);gap:5px 10px}.review-execution small{grid-column:2;white-space:normal}.trend-labels span{font-size:.52rem}}

/* Production PWA stabilization. */
.boot-skeleton{position:relative;overflow:hidden;min-height:132px}.boot-skeleton:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#ffffffa8 48%,transparent 76%);animation:skeleton-shift 1.35s ease-in-out infinite}.logout-button{margin-top:22px;background:transparent;border:1px solid #dfe3ee;color:#777d91}.logout-button:hover{background:#fff;color:#464b61}@keyframes skeleton-shift{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:600px){
 .page{animation:none}
 .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.field-grid>*{min-width:0;max-width:100%;overflow:hidden}.field-grid input[type="time"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:16px;-webkit-appearance:none;appearance:none}.settings-card{width:100%;max-width:100%;min-width:0;overflow:hidden}.logout-button{width:100%}
}
@media(max-width:359px){.field-grid{grid-template-columns:minmax(0,1fr)}}
