:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202b26;background:#f5f7f5;font-size:16px;--green:#15553f;--green-soft:#e7f0ea;--ink:#202b26;--muted:#6a766f;--line:#e1e8e2;--paper:#fff;--red:#a13939;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #80b99b;outline-offset:3px}button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:2.1rem;line-height:1.15;letter-spacing:-1.2px;font-weight:650}h2{font-size:1.15rem;line-height:1.4;font-weight:600}h3{font-size:1rem;font-weight:600}a{color:var(--green)}button{border:0;background:none}input,textarea,select{width:100%;background:#fff;border:1px solid #cbd6ce;border-radius:12px;padding:12px 14px;min-height:46px;color:var(--ink)}textarea{resize:vertical;min-height:94px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23536058' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}label{display:block;font-size:.9rem;font-weight:500}label>input,label>textarea,label>select{margin-top:7px}form>label+label{margin-top:18px}.helper,.subtitle{color:var(--muted);font-size:.9rem;line-height:1.6}.subtitle{margin-top:10px}.helper{margin-top:10px}.eyebrow{font-size:.75rem;font-weight:650;letter-spacing:2px;color:var(--green);margin-bottom:13px}.primary{background:var(--green);color:#fff;padding:13px 20px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;font-weight:550}.secondary{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:11px 16px;min-height:46px}.quiet{color:var(--green);padding:12px 6px;min-height:44px}.danger{color:var(--red)}.full{width:100%}.icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:11px}.icon-button:hover{background:var(--green-soft)}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1380px;margin:auto;min-height:100svh}.sidebar{padding:36px 20px 24px;display:flex;flex-direction:column;border-right:1px solid var(--line);position:sticky;top:0;height:100svh}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green);font-size:1.7rem;font-weight:700;letter-spacing:-1px}.brand img{width:45px;height:45px;border-radius:13px}.brand-note{font-size:.85rem;color:var(--muted);line-height:1.6;margin:18px 10px 32px}.navigation{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;font-size:.95rem;padding:14px 16px;border-radius:13px;color:var(--muted);min-height:48px}.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:600}.sidebar-footer{margin-top:auto;font-size:.8rem;color:var(--muted);padding:20px 10px;line-height:1.8}#screen{padding:52px 44px 50px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:28px}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-heading .subtitle{max-width:460px}.mobile-brand{display:none}.section-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 15px}.section-line small{color:var(--muted);font-size:.85rem}.list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:15px}.list-card{width:100%;padding:21px;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:19px;display:flex;flex-direction:column;gap:17px;min-width:0;transition:transform .15s,border-color .15s}.list-card:hover{border-color:#9ebba8;transform:translateY(-2px)}.card-top{display:flex;align-items:center;gap:12px}.list-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:var(--green-soft);color:var(--green);flex-shrink:0}.card-top .chevron{margin-left:auto;color:#94a198;width:17px}.list-card h2{overflow-wrap:anywhere}.list-card p{font-size:.85rem;color:var(--muted);line-height:1.5}.list-card .count{font-size:.85rem;color:var(--muted)}.card-footer{display:flex;justify-content:space-between;gap:8px;align-items:center}.tag{font-size:.72rem;color:var(--green);border-radius:6px;background:#f0f4ee;padding:4px 7px}.meter{height:4px;border-radius:8px;background:#eaf0eb;overflow:hidden}.meter>span{height:100%;display:block;background:#3d8764;transition:width .2s}.empty{padding:48px 24px;text-align:center;max-width:500px;margin:30px auto}.empty .list-icon{margin:0 auto 20px;width:64px;height:64px;border-radius:21px}.empty h2{font-size:1.3rem}.empty p{margin:12px 0 23px;color:var(--muted);line-height:1.65}.back{display:inline-flex;align-items:center;gap:4px;color:var(--green);margin-bottom:22px;padding:0;min-height:36px;font-size:.9rem}.back .icon{width:18px}.detail-heading{margin-bottom:22px}.detail-header-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.detail-header-top h1{overflow-wrap:anywhere}.detail-header-top .list-icon{margin-bottom:15px}.detail-count{display:flex;justify-content:space-between;gap:10px;margin:20px 0 10px;color:var(--muted);font-size:.85rem}.detail-content{max-width:760px}.toolbar{display:flex;gap:10px;align-items:center;margin:24px 0 14px}.toolbar select{width:auto;flex:1;max-width:220px;font-size:.9rem;min-height:44px;background-color:transparent}.toolbar .secondary{margin-left:auto;font-size:.9rem}.items{border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}.check-row{display:flex;align-items:center;gap:8px;padding:8px 12px;min-height:66px;border-bottom:1px solid var(--line);background:var(--paper)}.check-row:last-child{border-bottom:0}.check-row label{display:flex;align-items:center;gap:13px;flex:1;min-width:0;min-height:46px;cursor:pointer;font-weight:400}.check-row input{appearance:none;width:24px;height:24px;min-height:24px;border:1.5px solid #b8c7bd;border-radius:7px;flex-shrink:0;padding:0;margin:0;background:#fff;cursor:pointer}.check-row input:checked{border-color:var(--green);background-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}.item-copy{min-width:0;overflow-wrap:anywhere;font-size:1rem;line-height:1.45}.item-note{display:block;font-size:.8rem;color:var(--muted);margin-top:3px;white-space:pre-line}.check-row.done .item-title{color:#819087;text-decoration:line-through}.item-edit{color:var(--muted);font-size:1.2rem}.grip{touch-action:none;color:var(--muted);cursor:grab}.grip .icon{stroke-width:3}.check-row.dragging{opacity:.6;background:var(--green-soft)}.move-keys{display:flex;flex-direction:column}.move-keys button{font-size:.7rem;min-height:24px;min-width:28px;color:var(--muted)}.add-row{display:flex;gap:9px;margin-top:16px}.add-row input{background:var(--paper);flex:1;min-width:0}.add-row button{width:49px;padding:0;flex-shrink:0}.detail-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:17px}.detail-footer .helper{margin:0;flex-basis:100%}.menu{position:relative}.menu summary{list-style:none;cursor:pointer;padding:8px 13px;min-width:44px;min-height:44px;text-align:center;font-size:1.3rem}.menu summary::-webkit-details-marker{display:none}.menu-content{position:absolute;right:0;top:45px;z-index:5;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 10px 30px #183a2520;padding:6px;min-width:215px}.menu-content button{display:block;width:100%;text-align:left;padding:12px;font-size:.9rem;border-radius:8px}.menu-content button:hover{background:#f3f6f2}.segments{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.segments button{border-radius:10px;color:var(--muted);padding:10px 16px;min-height:44px}.segments button.active{background:var(--green-soft);color:var(--green);font-weight:550}.notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:30;background:var(--green);color:#fff;box-shadow:0 5px 25px #0002;padding:14px 20px;border-radius:13px;width:max-content;max-width:calc(100% - 32px);font-size:.9rem;line-height:1.45}.notice.error{background:#813636}.loading{color:var(--muted);padding:40px 0}dialog{padding:0;border:1px solid var(--line);border-radius:22px;width:calc(100% - 28px);max-width:470px;max-height:90svh;overflow:auto;color:var(--ink);background:#fff}dialog::backdrop{background:#162d2270;backdrop-filter:blur(3px)}.dialog-inner{padding:24px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.dialog-heading h2{font-size:1.35rem;letter-spacing:-.4px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.dialog-actions .primary{flex:1}.dialog-error{margin-top:14px;color:var(--red);font-size:.9rem;line-height:1.5}.icon-picker{display:flex;gap:4px;flex-wrap:wrap;margin-top:9px}.icon-picker button{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.icon-picker button.active{background:var(--green-soft);color:var(--green);box-shadow:inset 0 0 0 1px #8ab29a}.module-choice{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:1rem;font-weight:400}.module-choice input{accent-color:var(--green);width:22px;height:22px;min-height:22px;margin:0}.module-choice span{flex:1}.module-choice small{color:var(--muted);font-size:.8rem}.base-label{background:var(--green-soft);border-radius:11px;padding:13px;margin:16px 0 5px;font-size:.9rem;color:var(--green)}.account-section{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px;margin-bottom:18px;max-width:760px}.account-section>p{margin:9px 0 16px}.token-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.token-row:last-child{border-bottom:0}.token-row small{display:block;color:var(--muted);font-size:.8rem;margin-top:4px;line-height:1.5}.endpoint{display:block;overflow-wrap:anywhere;background:#f4f7f3;border-radius:9px;padding:12px;font-size:.8rem;margin:9px 0;color:#43604b}.conversation-response{white-space:pre-line;line-height:1.7;background:var(--green-soft);padding:16px;border-radius:13px;margin-bottom:18px;font-size:.95rem}.auth-page{display:grid;min-height:100svh;place-items:center;padding:36px 22px}.auth-box{max-width:390px;width:100%}.auth-logo{width:82px;height:82px;border-radius:24px;margin-bottom:24px}.auth-box h1{font-size:2.3rem;max-width:360px}.auth-box form{margin-top:30px}.auth-box .primary{margin-top:25px}.error-box{background:#f9eaea;color:var(--red);padding:14px;border-radius:12px;margin-top:20px;font-size:.9rem;line-height:1.5}.token-secret{font-family:ui-monospace,monospace;font-size:.85rem;word-break:break-all}.offline-banner{background:#fff2d9;color:#71511c;padding:12px 16px;border-radius:12px;font-size:.85rem;margin-bottom:18px}.source-label{font-size:.8rem;color:var(--muted);margin-top:18px;line-height:1.6}.dialog-copy{line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;display:contents}.brand,.brand-note,.sidebar-footer{display:none}.navigation{position:fixed;z-index:10;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:7px 5px max(9px,env(safe-area-inset-bottom));}.nav-item{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 2px;font-size:.72rem;min-height:54px;border-radius:11px;text-align:center}.nav-item.active{background:transparent;color:var(--green)}.nav-item.active .icon{stroke-width:2.4}.nav-item .icon{width:23px;height:23px}#screen{padding:24px 20px 115px}.mobile-brand{display:flex;align-items:center;gap:8px;margin-bottom:30px;color:var(--green);font-size:1.3rem;font-weight:650;letter-spacing:-.6px}.mobile-brand img{width:34px;height:34px;border-radius:10px}.page-heading{margin-bottom:25px;gap:12px}.page-heading h1{font-size:2rem}.page-heading>.primary{padding:11px 13px;min-height:44px;font-size:.9rem}.page-heading>.primary .icon{width:18px}.list-grid{grid-template-columns:1fr;gap:12px}.list-card{padding:18px;gap:13px;border-radius:17px}.card-top{gap:12px}.list-icon{width:42px;height:42px;border-radius:12px}.card-top h2{font-size:1.05rem}.list-card p{font-size:.8rem}.detail-header-top h1{font-size:1.9rem}.check-row{padding:7px 10px;min-height:64px}.check-row label{gap:11px}.item-copy{font-size:1rem}.item-edit{min-width:34px}.notice{bottom:100px}.toolbar{gap:8px}.toolbar select{max-width:none;font-size:.85rem}.toolbar .secondary{font-size:.85rem;padding:10px 12px}.dialog-inner{padding:20px}.empty{padding:35px 6px}.account-section{padding:18px}.detail-header-top .list-icon{margin-bottom:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
