:root { color-scheme: light; font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:#fff8f2; color:#20184a; --ink:#20184a; --ink-soft:#5c5579; --violet:#6843c2; --violet-weak:#eee9ff; --cream:#fffaf6; --canvas:#fff8f2; --line:#e9dfd7; --orange:#f08457; --gold:#ffbe74; --sage:#5e8878; --danger:#b42318; }
* { box-sizing:border-box; } html { background:var(--canvas); } body { margin:0; min-height:100vh; background:var(--canvas); } button,input,textarea { font:inherit; } button { cursor:pointer; border:0; } button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #9b82e8; outline-offset:3px; } button:disabled { opacity:.55; cursor:not-allowed; }
.loading-card,.auth-card { min-height:100vh; display:grid; place-content:center; gap:16px; text-align:center; color:var(--ink-soft); padding:28px; }.g-mark { width:54px; height:54px; margin:auto; display:block; border-radius:17px; box-shadow:0 12px 28px rgba(56,37,100,.18); object-fit:cover; }.auth-card { max-width:460px; margin:auto; align-content:center; }.auth-card h1 { margin:0; font:800 2.1rem/1.1 Manrope, sans-serif; color:var(--ink); }.auth-card form { display:grid; gap:14px; text-align:left; background:rgba(255,255,255,.88); padding:24px; border:1px solid var(--line); border-radius:24px; box-shadow:0 16px 44px rgba(72,50,98,.08); }.auth-card input,.composer textarea,.search-input { width:100%; background:#fff; color:var(--ink); border:1px solid #d9cec6; border-radius:14px; padding:13px 14px; }.primary { background:var(--violet); color:#fff; border-radius:14px; padding:12px 16px; font-weight:800; box-shadow:0 8px 16px rgba(104,67,194,.22); }.primary:hover { background:#5433aa; transform:translateY(-1px); }.muted { color:var(--ink-soft); font-size:.92rem; }.bootstrap-error .g-mark { filter:saturate(.5); }

.shell { min-height:100vh; display:grid; grid-template-columns:248px minmax(0,1fr); background:var(--canvas); }.side { z-index:3; padding:22px 14px; background:rgba(255,253,250,.94); border-right:1px solid var(--line); display:flex; flex-direction:column; gap:22px; }.brand { display:flex; align-items:center; gap:11px; padding:0 7px; color:var(--ink); font-weight:800; font-size:1.18rem; }.brand .g-mark { width:42px; height:42px; margin:0; border-radius:13px; }.brand small { display:block; color:var(--ink-soft); font-weight:600; font-size:.7rem; margin-top:2px; }.new { width:100%; padding:13px 14px; background:var(--violet); border-radius:14px; color:#fff; text-align:left; font-weight:800; box-shadow:0 8px 16px rgba(104,67,194,.18); }.new:hover { background:#5433aa; }.nav-list { display:grid; gap:5px; }.nav-button,.side-bottom button { min-height:44px; display:flex; align-items:center; gap:11px; width:100%; padding:10px 11px; color:var(--ink-soft); background:transparent; border-radius:12px; text-align:left; font-weight:700; }.nav-button:hover,.nav-button.active,.side-bottom button:hover { background:var(--violet-weak); color:var(--violet); }.nav-button svg,.side-bottom svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.9; }.section-label { color:#8a819a; letter-spacing:.11em; font-size:.68rem; font-weight:800; margin:5px 9px 7px; }.list { display:grid; gap:3px; max-height:30vh; overflow:auto; padding-right:2px; }.list button { background:transparent; color:var(--ink-soft); padding:10px; border-radius:10px; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.list button.active,.list button:hover { background:#f1ecfa; color:var(--ink); font-weight:700; }.side-bottom { margin-top:auto; display:grid; gap:4px; border-top:1px solid var(--line); padding-top:13px; }

.main { display:flex; flex-direction:column; min-width:0; }.top { position:sticky; top:0; z-index:2; min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px clamp(18px,3vw,42px); background:rgba(255,248,242,.88); backdrop-filter:blur(14px); border-bottom:1px solid rgba(233,223,215,.85); }.top h1 { margin:0; font-size:1.08rem; color:var(--ink); }.top-meta { display:flex; align-items:center; gap:13px; }.status { color:var(--sage); font-size:.8rem; font-weight:800; }.connectivity { color:var(--ink-soft); font-size:.72rem; }.connectivity.offline { color:#a45c1b; }.icon-button { width:44px; height:44px; display:grid; place-items:center; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:14px; }.icon-button:hover { border-color:#b8a9e8; background:var(--violet-weak); }.icon-button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; }.mobile-menu { display:none; }

.view { flex:1; width:min(1184px,100%); margin:0 auto; padding:24px clamp(16px,3vw,42px) 116px; }.home-view { display:grid; gap:28px; }.hero { position:relative; min-height:320px; overflow:hidden; border-radius:28px; display:flex; align-items:center; padding:clamp(26px,5vw,56px); isolation:isolate; background:#e98c62; color:#fff; box-shadow:0 18px 42px rgba(108,62,80,.17); }.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(30,18,63,.54) 0%,rgba(30,18,63,.22) 48%,rgba(30,18,63,.03) 76%); }.hero::after { content:""; position:absolute; inset:0; z-index:-2; background:url("assets/hero-luffy-desktop.jpg") center/cover no-repeat; }.hero-content { width:min(600px,64%); }.eyebrow { display:flex; align-items:center; gap:7px; margin:0 0 12px; font-size:.76rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:#fff0df; }.eyebrow svg { width:17px; height:17px; }.hero h2 { margin:0; font-size:clamp(2.25rem,5vw,4.35rem); letter-spacing:-.055em; line-height:.98; }.hero p:not(.eyebrow) { max-width:390px; margin:15px 0 24px; color:#fff8f1; font-size:clamp(.96rem,1.5vw,1.1rem); line-height:1.55; }.hero-search { max-width:510px; display:flex; align-items:center; gap:10px; padding:7px 8px 7px 16px; background:#fff; border-radius:17px; box-shadow:0 10px 28px rgba(31,17,61,.22); }.hero-search svg { flex:0 0 auto; width:21px; height:21px; color:var(--ink-soft); fill:none; stroke:currentColor; stroke-width:2; }.hero-search input { min-width:0; flex:1; border:0; outline:0; padding:9px 0; color:var(--ink); background:transparent; }.hero-search button { width:40px; height:40px; display:grid; place-items:center; border-radius:13px; background:var(--violet); color:#fff; }.hero-search button svg { color:inherit; width:18px; }

.section-heading { display:flex; justify-content:space-between; align-items:end; gap:16px; }.section-heading h2 { margin:0; color:var(--ink); font-size:1.26rem; letter-spacing:-.03em; }.section-heading p { margin:5px 0 0; color:var(--ink-soft); font-size:.9rem; }.text-button { padding:7px 0; background:transparent; color:var(--violet); font-weight:800; }.topic-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }.topic-card { min-height:150px; display:grid; place-items:center; align-content:center; gap:11px; padding:18px 10px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.8); color:var(--ink); box-shadow:0 8px 20px rgba(82,57,98,.05); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }.topic-card:hover { transform:translateY(-3px); border-color:#cdbff6; box-shadow:0 14px 26px rgba(82,57,98,.1); }.topic-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(145deg,#fff1df,#ede4ff); color:var(--violet); }.topic-icon svg { width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:1.7; }.topic-card span:last-child { text-align:center; font-size:.86rem; font-weight:800; }
.home-lower { display:grid; grid-template-columns:1.22fr .78fr; gap:18px; }.inspiration-card,.tools-card,.progress-card { border:1px solid var(--line); background:rgba(255,255,255,.82); border-radius:22px; box-shadow:0 8px 20px rgba(82,57,98,.045); }.inspiration-card { min-height:214px; position:relative; overflow:hidden; padding:25px; color:#fff; background:linear-gradient(90deg,rgba(31,24,74,.76),rgba(31,24,74,.19)),url("assets/hero-luffy-desktop.jpg") center 65%/cover; }.inspiration-card h3,.tools-card h3,.progress-card h3 { margin:0; font-size:1rem; }.inspiration-card p { max-width:330px; margin:21px 0 12px; font-size:1.15rem; font-weight:700; line-height:1.48; }.inspiration-card small { color:#fff1dd; }.progress-card { padding:23px; }.progress-line { display:flex; align-items:center; gap:15px; padding:16px 0; }.ring { width:64px; height:64px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--violet) 0 72%,#eee8e2 72%); position:relative; font-weight:800; }.ring::before { content:""; position:absolute; inset:8px; border-radius:50%; background:#fff; }.ring span { z-index:1; font-size:.82rem; }.progress-line strong { display:block; }.progress-line small { display:block; color:var(--ink-soft); margin-top:5px; }.week { display:flex; justify-content:space-between; gap:6px; padding-top:12px; border-top:1px solid var(--line); }.week span { display:grid; justify-items:center; gap:5px; color:var(--ink-soft); font-size:.64rem; }.week i { width:8px; height:8px; border-radius:50%; background:#d9d2cc; }.week i.done { background:var(--sage); }.tools-card { padding:23px; }.tool-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-top:18px; }.tool { display:grid; justify-items:center; gap:8px; padding:10px 4px; background:transparent; color:var(--ink); border-radius:13px; font-size:.76rem; font-weight:800; }.tool:hover { background:var(--violet-weak); color:var(--violet); }.tool span:first-child { width:40px; height:40px; display:grid; place-items:center; color:var(--violet); border-radius:50%; background:var(--violet-weak); }.tool svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; }

.chat-view { display:flex; flex-direction:column; min-height:calc(100vh - 72px); padding-bottom:100px; }.chat { flex:1; width:min(790px,100%); margin:0 auto; padding:20px 0 14px; overflow:auto; }.chat-empty { margin:10vh auto 0; max-width:610px; text-align:center; }.chat-empty .g-mark { width:66px; height:66px; border-radius:21px; }.chat-empty h2 { margin:15px 0 8px; font-size:clamp(2rem,5vw,3rem); line-height:1.08; letter-spacing:-.05em; }.chat-empty p { color:var(--ink-soft); line-height:1.55; }.suggestions { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:24px; }.suggestions button { padding:10px 13px; border:1px solid #dcd1f3; border-radius:999px; color:var(--violet); background:#fff; font-size:.84rem; font-weight:700; }.suggestions button:hover { background:var(--violet-weak); }.bubble { padding:16px 18px; border-radius:18px; margin:15px 0; max-width:88%; line-height:1.55; white-space:pre-wrap; box-shadow:0 4px 12px rgba(76,53,93,.04); }.bubble.user { margin-left:auto; color:#fff; background:var(--violet); border-bottom-right-radius:5px; }.bubble.assistant { background:#fff; border:1px solid var(--line); border-bottom-left-radius:5px; }.bubble .answer-title { color:var(--violet); font-size:.8rem; font-weight:900; margin-bottom:7px; }.source { font-size:.8rem; color:var(--ink-soft); margin-top:12px; padding-top:10px; border-top:1px solid var(--line); }.composer { position:fixed; z-index:2; bottom:0; left:248px; right:0; display:flex; align-items:flex-end; gap:10px; width:min(860px,calc(100% - 248px)); margin:auto; padding:14px clamp(16px,3vw,42px) 22px; background:linear-gradient(transparent,rgba(255,248,242,.96) 27%); }.composer-inner { display:flex; align-items:flex-end; gap:10px; width:100%; padding:8px; background:#fff; border:1px solid var(--line); border-radius:19px; box-shadow:0 10px 28px rgba(82,57,98,.1); }.composer textarea { flex:1; min-height:42px; max-height:160px; border:0; resize:vertical; padding:9px 10px; outline:0; }.send { width:43px; height:43px; flex:0 0 auto; display:grid; place-items:center; background:var(--violet); color:#fff; border-radius:13px; }.send:hover { background:#5433aa; }.send svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }.notice { margin:10px auto; width:min(760px,100%); padding:11px 13px; border-radius:12px; border:1px solid #f0c99d; background:#fff1dc; color:#75400f; font-size:.9rem; }.search-panel { width:min(790px,100%); margin:15px auto; padding:18px; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 12px 30px rgba(82,57,98,.07); }.search-panel h2 { margin:0 0 13px; font-size:1.1rem; }.search-result { width:100%; display:block; padding:14px 2px; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); text-align:left; }.search-result:last-child { border-bottom:0; }.search-result small { display:block; margin-top:4px; color:var(--ink-soft); }.empty-search { color:var(--ink-soft); text-align:center; padding:18px; }
.modal { position:fixed; z-index:9; inset:0; background:rgba(27,16,47,.48); display:grid; place-items:center; padding:18px; backdrop-filter:blur(5px); }.modal-card { width:min(520px,100%); background:#fff; border:1px solid var(--line); border-radius:23px; padding:23px; display:grid; gap:13px; box-shadow:0 20px 52px rgba(27,16,47,.22); }.modal-card h2 { margin:0; }.modal-card textarea,.modal-card input { width:100%; background:#fff; color:var(--ink); border:1px solid #d9cec6; border-radius:12px; padding:11px; }.row { display:flex; gap:9px; justify-content:flex-end; }.secondary { background:#f2edf8; color:var(--violet); border-radius:11px; padding:10px 12px; font-weight:800; }

@media (max-width:1100px) { .topic-grid { grid-template-columns:repeat(3,1fr); }.home-lower { grid-template-columns:1fr; }.tools-card { display:block; }.hero { min-height:300px; } }
@media (max-width:720px) { .shell { grid-template-columns:1fr; }.side { display:none; }.top { min-height:64px; padding:10px 16px; }.top h1 { max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.top-meta { max-width:48%; text-align:right; display:block; }.status { font-size:.7rem; }.connectivity { display:none; }.mobile-menu { display:grid; margin-bottom:4px; }.view { padding:16px 16px 112px; }.hero { min-height:374px; align-items:flex-start; padding:28px 21px; border-radius:23px; }.hero::before { background:linear-gradient(180deg,rgba(30,18,63,.55),rgba(30,18,63,.12) 62%,rgba(30,18,63,.48)); }.hero::after { background-image:url("assets/hero-luffy-mobile.jpg"); background-position:center; }.hero-content { width:100%; }.eyebrow { margin-bottom:9px; font-size:.66rem; }.hero h2 { max-width:250px; font-size:2.55rem; }.hero p:not(.eyebrow) { max-width:255px; margin:11px 0 17px; font-size:.91rem; }.hero-search { margin-top:190px; padding-left:13px; }.hero-search input { font-size:.87rem; }.section-heading { align-items:center; }.section-heading p { display:none; }.topic-grid { grid-template-columns:repeat(2,1fr); gap:10px; }.topic-card { min-height:126px; border-radius:18px; }.topic-icon { width:48px; height:48px; }.home-lower { gap:12px; }.inspiration-card { min-height:188px; padding:20px; background-position:63% 68%; }.inspiration-card p { font-size:1rem; max-width:250px; }.progress-card { padding:20px; }.tools-card { padding:20px; }.tool-grid { grid-template-columns:repeat(4,1fr); }.tool { font-size:.68rem; }.chat-view { min-height:calc(100vh - 64px); }.chat { padding-top:8px; }.chat-empty { margin-top:7vh; }.bubble { max-width:96%; }.composer { left:0; width:100%; padding:10px 16px calc(14px + env(safe-area-inset-bottom)); }.search-panel { margin:8px 0; }.bottom-nav { position:fixed; z-index:4; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(4,1fr); gap:2px; padding:7px 8px calc(7px + env(safe-area-inset-bottom)); background:rgba(255,253,250,.94); border-top:1px solid var(--line); backdrop-filter:blur(12px); }.bottom-nav button { display:grid; place-items:center; gap:3px; min-height:47px; background:transparent; color:var(--ink-soft); font-size:.66rem; font-weight:800; }.bottom-nav button.active { color:var(--violet); }.bottom-nav svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; }.home-view { padding-bottom:92px; } }
@media (min-width:721px) { .bottom-nav { display:none; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
