@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
:root{color-scheme:light;--paper:#f5f4ef;--ink:#1e302b;--green:#275e48;--muted:#626d65;--line:#dedfd5;--accent:#e2edbe}*{box-sizing:border-box}body{margin:0;background:#e5e7df;color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #87a647;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%}[hidden]{display:none!important}.app{max-width:520px;min-height:100dvh;margin:auto;background:var(--paper);padding-bottom:calc(90px + env(safe-area-inset-bottom))}.app-header{display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top)) 20px 14px;background:var(--paper);position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:1px}.brand img{border-radius:12px}.brand span{font-size:10px;letter-spacing:0;font-weight:500;max-width:75px;line-height:1.5;color:var(--muted)}.icon-btn{border:1px solid var(--line);border-radius:50%;width:44px;height:44px;background:transparent;font-size:23px}.activity{display:flex;gap:9px;align-items:center;position:sticky;top:calc(75px + env(safe-area-inset-top));z-index:9;width:100%;border:0;border-bottom:1px solid var(--line);padding:11px 20px;text-align:left;background:#edf0e3;font-size:12px}.activity>span:nth-child(2){flex:1}.status-dot{width:7px;height:7px;background:#6f7d58;border-radius:50%;flex-shrink:0}.activity.working .status-dot{background:#2d8057;box-shadow:0 0 0 4px #d8e5ce}main{padding:0 20px}.view{min-width:0}.intro,.section-title{padding:30px 0 22px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#637745}h1{font-size:30px;line-height:1.3;letter-spacing:-1.3px;margin:10px 0 12px;font-weight:650}h2{font-size:19px;line-height:1.4;margin:7px 0 12px;letter-spacing:-.6px}p{margin:8px 0 12px;color:var(--muted);font-size:14px}.card{padding:21px;background:#fffefa;border:1px solid var(--line);border-radius:22px;margin-bottom:15px;overflow-wrap:anywhere}.next-step{background:#eaf0dc;border-color:#d5dfbd}.primary,.secondary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;border-radius:14px;min-height:48px;padding:13px 17px;font-weight:600}.primary{background:var(--green);color:white}.secondary{background:#eaece2;color:var(--ink)}.primary span{font-size:20px}.chips{display:flex;gap:7px;overflow-x:auto;padding:12px 0;scrollbar-width:none}.chips button{white-space:nowrap;padding:10px 12px;border:1px solid var(--line);border-radius:30px;background:transparent;font-size:12px;min-height:44px}.composer{display:flex;gap:8px;padding:10px;background:#fffefa;border:1px solid #cbd3c1;border-radius:22px;position:sticky;bottom:calc(80px + env(safe-area-inset-bottom));box-shadow:0 4px 22px #273d3010;margin-bottom:10px}.composer textarea{flex:1;width:0;min-width:0;resize:none;border:0;background:transparent;padding:9px 5px;font-size:16px;max-height:140px}.composer button{background:var(--green);border:0;border-radius:15px;width:44px;height:44px;flex-shrink:0;color:#fff;font-size:25px}.message{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px 17px;border-radius:20px;margin:16px 0;background:#fffefa;border:1px solid var(--line)}.message.user{background:#e3ebd4;border:0;margin-left:35px}.message small{display:block;color:var(--green);font-weight:700;margin-bottom:6px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;display:grid;grid-template-columns:repeat(4,1fr);z-index:20;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffefa;border-top:1px solid var(--line)}.bottom-nav button{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;font-size:11px;min-height:55px;color:#758073;gap:2px}.bottom-nav button span{font-size:23px;height:29px}.bottom-nav button[aria-current]{color:var(--green);font-weight:800;background:#eef1e5;border-radius:15px}.subheading{margin-top:28px}.quick-links{display:flex;gap:8px;flex-wrap:wrap}.quick-links a{background:#e8ecde;border-radius:12px;padding:12px;font-size:12px;flex:1;text-align:center}.muted{font-size:12px}.row-link{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}label{display:block;font-size:13px;font-weight:600;margin:16px 0 6px}input,select{width:100%;min-width:0;font-size:16px;border:1px solid #d5d9cb;border-radius:12px;background:white;color:var(--ink);padding:12px 10px;margin-top:7px;min-height:48px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice{background:#f4f0df;border-radius:15px;padding:15px;margin-top:16px}.notice p{font-size:12px}.notice strong{font-size:13px}.install-wide{margin:20px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(92px + env(safe-area-inset-bottom));z-index:100;background:#213c31;color:white;padding:12px 18px;border-radius:15px;max-width:90%;font-size:13px;box-shadow:0 6px 20px #0002}dialog{border:0;border-radius:25px;padding:28px;max-width:min(90vw,400px);color:var(--ink);background:var(--paper)}dialog::backdrop{background:#13261fc0}dialog>.dialog-close:first-child{float:right;background:transparent;border:0;font-size:25px;width:44px;height:44px}progress{width:100%;height:7px;accent-color:var(--green)}.job-meta{font-size:12px;color:var(--muted)}@media(max-width:359px){main{padding:0 14px}.app-header{padding-left:14px;padding-right:14px}h1{font-size:27px}.brand span{display:none}.card{padding:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Native app shell: chrome never scrolls; each tab owns its content viewport. */
body.native-shell{overflow:hidden;overscroll-behavior:none;height:100dvh}
.native-shell .app{height:var(--app-height,100dvh);min-height:0;padding-bottom:0;display:flex;flex-direction:column;overflow:hidden}
.native-shell .app-header{position:relative;top:auto;flex-shrink:0;padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:10px;min-height:64px}
.native-shell .brand{font-size:22px;letter-spacing:1px}.native-shell .brand span{font-size:10px;line-height:1.5}
.native-shell .activity{position:relative;top:auto;flex-shrink:0;min-height:39px}
.native-shell main{min-height:0;flex:1;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:0 18px;scrollbar-width:none}
.native-shell .bottom-nav{position:relative;left:auto;bottom:auto;transform:none;flex-shrink:0;width:100%;padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px #203b2405}
.native-shell .bottom-nav button{min-height:52px;gap:4px}.bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.bottom-nav button span{display:grid;place-items:center}
.native-shell[data-view="chat"] main{overflow:hidden;padding:0}
.native-shell #view-chat{display:flex;flex-direction:column;height:100%;min-height:0}
.chat-feed{min-height:0;flex:1;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:18px 18px 6px;scrollbar-width:none}
.native-shell .composer{position:relative;bottom:auto;flex-shrink:0;margin:8px 12px 12px;border-radius:24px;padding:7px 8px 7px 12px;box-shadow:none}
.native-shell .composer textarea{max-height:120px;line-height:1.5}.native-shell .composer button{border-radius:50%;width:42px;height:42px}
.native-shell .next-step{border-radius:19px;padding:18px;margin-bottom:20px}.native-shell .next-step h2{font-size:18px}.native-shell .next-step p{font-size:13px}.native-shell .next-step .primary{min-height:44px;font-size:13px}
.native-shell .section-title{padding-top:24px}.native-shell .section-title h1{font-size:27px}.native-shell .message{border-radius:19px;font-size:15px;line-height:1.65}.native-shell .message.user{border-bottom-right-radius:5px}.native-shell .message.assistant{border-bottom-left-radius:5px}
.native-shell .view:not(#view-chat){padding-bottom:22px}.native-shell .card{border-radius:18px}.native-shell .keyboard-open .bottom-nav,body.native-shell.keyboard-open .bottom-nav{display:none}
.native-shell #save-settings{position:sticky;bottom:10px;z-index:2;box-shadow:0 4px 14px #1c352725}
@media(min-width:600px){body.native-shell{padding:20px 0}.native-shell .app{height:calc(var(--app-height,100dvh) - 40px);max-width:430px;border-radius:30px;box-shadow:0 12px 55px #18352918;border:1px solid #cdd4c7}.native-shell .bottom-nav{padding-bottom:16px}}
dialog fieldset{border:1px solid #ddd;border-radius:14px;padding:12px;margin:14px 0} #operation-plan p{white-space:pre-line} dialog>button{margin-top:10px}

.wake-card{min-height:58dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:32px 16px}.wake-card[hidden]{display:none}.wake-card h1{font-size:28px;line-height:1.4;margin:0;letter-spacing:-1px}.wake-card p{line-height:1.7;margin:0}.wake-card img{filter:drop-shadow(0 14px 22px #7562cd30)}.wake-card .primary{width:100%;max-width:330px;min-height:56px}.wake-card .wake-note{font-size:12px;color:#625e73}.aria-asleep #chat-form{display:none}

/* Readable app typography and one-screen-at-a-time first setup. */
.native-shell .message{font-size:19px;line-height:1.85;letter-spacing:0;word-break:normal;overflow-wrap:anywhere;padding:20px}.native-shell .message small{font-size:15px}.native-shell .card p,.native-shell label{font-size:17px;line-height:1.7}.native-shell .primary,.native-shell .secondary{font-size:18px;min-height:54px}.native-shell .composer textarea{font-size:18px}.native-shell .chips button{font-size:16px;min-height:48px}
#intro-choices{position:fixed;z-index:100;inset:0;background:var(--paper);overflow-y:auto;overscroll-behavior:contain}.intro-screen{max-width:520px;min-height:100%;margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.intro-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:44px;font-size:17px;color:var(--green)}.intro-top strong{font-size:25px;letter-spacing:1px}.intro-screen h1{font-size:32px;line-height:1.4;font-weight:750;letter-spacing:-1px;margin:0 0 16px}.intro-description{font-size:19px;line-height:1.7;margin:0 0 30px;color:var(--ink)}.intro-options{display:grid;gap:14px}.intro-option{width:100%;min-height:68px;padding:18px 20px;border:1px solid #c9d3bd;background:#fffefa;border-radius:18px;text-align:left;font-size:20px;font-weight:600;line-height:1.5}.intro-option:hover{background:#eaf0dc}.intro-screen input{font-size:20px;min-height:60px;margin:16px 0}.intro-screen .primary{font-size:20px;min-height:58px}.intro-status{font-size:18px;color:#a32929}.intro-footnote{font-size:16px;line-height:1.7;margin:28px 0 0;color:#526151}.intro-active .bottom-nav,.intro-active .app-header,.intro-active #activity,.intro-active #chat-form{visibility:hidden}@media(max-width:359px){.intro-screen{padding-left:20px;padding-right:20px}.intro-screen h1{font-size:29px}.intro-top{margin-bottom:30px}}
.intro-screen h1:focus{outline:none}.intro-footnote{word-break:keep-all}
