:root{--ink:#223d39;--muted:#6d7f79;--paper:#f6f7f1;--green:#216c55;--lime:#e8efb6;--line:#dde4d9;--white:#fff;--orange:#f0a365}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Noto Sans JP,system-ui,sans-serif;font-size:15px;line-height:1.7}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;font-size:32px;font-weight:800;line-height:1.6}h2{letter-spacing:-.025em;font-size:23px}h3{font-size:17px}.app{max-width:1440px;margin:auto;padding:0 54px}.header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:108px;display:flex}.brand{color:var(--ink);align-items:center;gap:13px;font-size:23px;font-weight:800;display:flex}.brand:hover{text-decoration:none}.brand-icon{background:var(--green);width:46px;height:46px;color:var(--lime);border-radius:15px;place-items:center;font-size:35px;display:grid}.brand small{letter-spacing:.14em;margin-top:-3px;font-size:9px;font-weight:600;display:block}.header-right{align-items:center;gap:22px;display:flex}.mode-label{color:var(--muted);font-size:12px}.text-button{color:var(--green);background:0 0;border:0;padding:8px;font-size:13px;text-decoration:underline}.entry-layout{grid-template-columns:1.1fr 1fr;align-items:center;gap:72px;min-height:720px;padding:58px 35px;display:grid}.eyebrow{letter-spacing:.18em;color:var(--green);margin-bottom:12px;font-size:11px;font-weight:800}.entry-copy h1{font-size:44px}.lead{color:var(--muted);white-space:pre-line;margin-top:14px}.entry-card{border:1px solid var(--line);background:#fff;border-radius:24px;padding:42px;box-shadow:0 14px 45px #243c3810}.entry-card h2{margin:15px 0 10px}.entry-card>p{color:var(--muted);margin-bottom:28px;font-size:14px}.entry-card label{margin-top:24px}.entry-card input{margin:8px 0 24px}.entry-card .entry-foot{text-align:center;margin:20px 0 0;font-size:12px}.step-number{letter-spacing:.12em;color:var(--green);font-size:11px;font-weight:800}.button{text-align:center;border:0;border-radius:12px;justify-content:center;align-items:center;min-height:49px;padding:13px 22px;font-size:14px;font-weight:700;display:inline-flex}.button:hover{filter:brightness(.96);text-decoration:none}.primary{background:var(--green);color:#fff;box-shadow:0 3px #174b3c}.secondary{color:var(--green);background:#edf2e9;border:1px solid #d9e4d1}.full{width:100%}label{font-size:13px;font-weight:600;display:block}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #d6dfd4;border-radius:10px;outline:none;padding:13px 15px;display:block}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #216c5515}textarea{resize:vertical;min-height:180px;line-height:1.9}input::placeholder,textarea::placeholder{color:#8b9791}.idea-art{width:355px;max-width:100%;height:245px;margin-top:35px;position:relative}.art-window{border:2px solid var(--ink);background:#eef1d4;border-radius:14px;position:absolute;inset:12px 35px 10px 0;transform:rotate(-5deg);box-shadow:10px 10px #dce8d6}.window-dots{border-bottom:2px solid var(--ink);letter-spacing:4px;padding:7px 14px;font-size:10px}.art-star{text-align:center;color:var(--green);margin-top:10px;font-size:58px;line-height:1.3;display:block}.art-text{text-align:center;font-size:14px;font-weight:700;display:block}.art-shapes{justify-content:center;gap:12px;margin-top:16px;display:flex}.art-shapes i{background:#c2d4c0;border-radius:3px;width:28px;height:12px}.art-shapes i:nth-child(2){background:var(--orange)}.art-note{border:1px solid var(--ink);background:#f7cc89;border-radius:4px;padding:12px 18px;font-size:12px;position:absolute;bottom:25px;right:-5px;transform:rotate(7deg)}.dashboard-heading{justify-content:space-between;align-items:center;gap:24px;padding:44px 0 32px;display:flex}.dashboard-heading h1{font-size:29px}.sync{white-space:nowrap;color:var(--muted);font-size:11px}.sync small{margin-top:3px;margin-left:14px;display:block}.online-dot,.offline-dot{background:#619c64;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.offline-dot{background:#d18438}.student-grid{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:28px;display:grid}.panel{background:var(--white);border:1px solid var(--line);border-radius:19px;padding:28px}.section-title{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.tiny-label{color:var(--muted);font-size:11px}.composer h2{margin:18px 0 10px}.muted{color:var(--muted)}.composer .muted{margin-bottom:24px;font-size:13px}.composer textarea{background:#fcfdf9;min-height:220px}.textarea-bottom{color:var(--muted);justify-content:space-between;gap:10px;margin:8px 0 24px;font-size:10px;display:flex}.work-card{background:var(--lime);text-align:center;border-radius:19px;padding:28px}.work-card .eyebrow{text-align:left}.work-card h2{margin:8px 0 12px}.work-card p:not(.eyebrow){white-space:pre-line;font-size:13px;line-height:1.9}.work-card .button{background:var(--ink);color:#fff;width:100%;margin:23px 0 10px}.work-card small{color:var(--muted);font-size:10px;display:block}.work-art{color:#6f8c52;background:linear-gradient(140deg,#f7f8e9,#e0e9ac);border:1px solid #bcc987;border-radius:10px;place-items:center;height:140px;font-size:80px;display:grid}.tips{padding:28px 16px}.tips h3{margin-bottom:22px;font-size:15px}.tips ol{counter-reset:steps;margin:0;padding:0;list-style:none}.tips li{counter-increment:steps;margin-bottom:22px;padding-left:42px;position:relative}.tips li:before{content:counter(steps);text-align:center;background:#fff;border:1px solid #d4decf;border-radius:50%;width:27px;height:27px;font-size:12px;line-height:27px;position:absolute;top:2px;left:0}.tips strong{font-size:13px}.tips span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.history{margin-top:34px}.history h2{font-size:20px}.count{background:#e8ede3;border-radius:20px;padding:3px 10px;font-size:12px;font-weight:500}.empty{text-align:center;border:1px dashed #cdd9c8;border-radius:19px;padding:38px 20px}.empty>span{color:var(--green);font-size:28px}.empty h3{margin:12px 0 7px;font-size:15px}.empty p{color:var(--muted);font-size:12px}.request{margin-bottom:16px}.badge{color:#586d64;white-space:nowrap;background:#eef1ee;border-radius:30px;align-items:center;gap:6px;padding:5px 11px;font-size:11px;font-weight:700;display:inline-flex}.badge>span{background:currentColor;border-radius:100%;width:6px;height:6px}.working{color:#946416;background:#fff0d4}.published{color:#367442;background:#dfefde}.needs_info{color:#a34d37;background:#fbe3db}time{color:var(--muted);font-size:11px}.prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 20px;line-height:1.9}.status-help{color:var(--muted);font-size:12px}.reply{background:#f1f5ed;border-radius:10px;margin:16px 0;padding:17px}.reply strong{color:var(--green);font-size:11px}.reply p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-size:13px}.request>.button{margin-top:18px}.notice{color:#994b36;background:#fff0e9;border:1px solid #f0c7b7;border-radius:10px;margin:16px 0;padding:12px 15px;font-size:13px}.success{color:var(--green);background:#eff6e8;border-radius:8px;margin:15px 0;padding:12px;font-size:12px}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:35px;display:grid}.stat{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:15px;justify-content:space-between;align-items:center;padding:18px 25px;display:flex}.stat span{font-size:13px}.stat strong{font-size:30px}.stat.selected{border-color:var(--green);background:#eaf0db}.admin-grid{grid-template-columns:minmax(0,2.3fr) minmax(270px,1fr);gap:28px;display:grid}.admin-grid h2{font-size:20px}.filter-label{white-space:nowrap;align-items:center;gap:10px;font-size:11px;display:flex}.filter-label select{padding:7px 12px;font-size:12px}.admin-request{margin-bottom:20px}.avatar{width:38px;height:38px;color:var(--green);background:#e9efdf;border-radius:12px;flex-shrink:0;place-items:center;font-size:13px;font-weight:800;display:grid}.request-owner{align-items:center;gap:12px;font-size:13px;display:flex}.request-owner time{display:block}.copy{min-height:40px;margin-bottom:22px;padding:8px 13px;font-size:12px}.admin-request form{border-top:1px solid var(--line);padding-top:22px}.admin-fields{grid-template-columns:130px 1fr;gap:14px;margin-bottom:18px;display:grid}.admin-request label input,.admin-request label select,.admin-request label textarea{margin-top:7px;font-size:13px}.admin-request textarea{min-height:95px}.save-row{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.save-row small{color:var(--muted);font-size:11px}.student-list{align-self:start}.student-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:23px 0;font-size:13px;display:flex}.student-row small{color:var(--muted);font-size:11px;display:block}.student-row a{margin-top:5px;font-size:11px;display:block}.small{margin-top:23px;font-size:12px}.loading{text-align:center;padding:120px}footer{border-top:1px solid var(--line);color:var(--muted);gap:20px;margin-top:65px;padding:25px 0 30px;font-size:10px;display:flex}footer a{margin-left:auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1500px){.app{max-width:1300px}}@media (max-width:1000px){.app{padding:0 28px}.entry-layout{gap:30px;padding:45px 0}.entry-copy h1{font-size:34px}.entry-card{padding:28px}.student-grid,.admin-grid{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:20px}.panel{padding:22px}.dashboard-heading h1{font-size:25px}.stats{gap:10px}.stat{padding:15px}.admin-fields{grid-template-columns:1fr}.save-row{flex-direction:column;align-items:stretch}}@media (max-width:720px){.app{padding:0 18px}.header{height:85px}.brand{font-size:20px}.brand-icon{width:39px;height:39px;font-size:28px}.mode-label{display:none}.entry-layout{grid-template-columns:1fr;gap:30px;min-height:auto;padding:38px 0}.entry-copy h1{font-size:33px}.entry-copy .lead{font-size:13px}.idea-art{display:none}.entry-card{padding:26px}.dashboard-heading{flex-direction:column;align-items:flex-start;gap:16px;padding:30px 0 25px}.dashboard-heading h1{font-size:23px}.dashboard-heading .lead{font-size:13px}.sync small{margin-left:10px;display:inline}.student-grid,.admin-grid{grid-template-columns:1fr}.student-grid aside{grid-template-columns:1fr;gap:5px;display:grid}.work-art{height:100px;font-size:65px}.stats{gap:8px}.stat{text-align:center;padding:12px 5px;display:block}.stat span{font-size:11px;display:block}.stat strong{font-size:25px}.tiny-label{font-size:9px}.composer h2{font-size:22px}.textarea-bottom{font-size:9px}.section-title{gap:8px}.admin-grid .section-title h2{font-size:17px}.student-list{order:-1}.student-list .small{display:none}.student-row{padding-bottom:10px}.panel{padding:22px 18px}footer{flex-wrap:wrap;gap:8px 15px;margin-top:45px}footer span:nth-child(2){display:none}.loading{padding:90px 0}}.student-chat-app{flex-direction:column;max-width:1180px;height:100dvh;min-height:480px;padding:0 32px;display:flex}.student-chat-app .header{flex-shrink:0;height:76px}.student-chat-app .brand{font-size:20px}.student-chat-app .brand-icon{border-radius:12px;width:38px;height:38px;font-size:29px}.student-chat-app main{flex-direction:column;flex:1;min-height:0;display:flex}.student-chat-app footer{border:0;flex-shrink:0;margin:0;padding:10px 0}.chat-shell{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.chat-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 12px;display:flex}.chat-identity{align-items:center;gap:12px;min-width:0;display:flex}.chat-avatar{background:var(--green);width:38px;height:38px;color:var(--lime);border-radius:13px;flex-shrink:0;place-items:center;font-size:27px;line-height:1;display:grid}.chat-identity .chat-avatar{border-radius:16px;width:46px;height:46px;font-size:32px}.chat-top h1{letter-spacing:-.02em;font-size:20px}.chat-top p{color:var(--muted);font-size:12px}.chat-work-link{min-height:44px;color:var(--green);white-space:nowrap;background:#fff;border:1px solid #cedcce;border-radius:12px;justify-content:center;align-items:center;padding:9px 16px;font-size:13px;font-weight:700;display:inline-flex}.chat-work-link:hover{background:#edf3e7;text-decoration:none}.chat-feed{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#cbd6c7 transparent;flex:1;min-height:0;overflow-y:auto}.chat-transcript{max-width:800px;margin:0 auto;padding:26px 20px 36px}.chat-day{text-align:center;color:#697d73;letter-spacing:.05em;margin:0 0 30px;font-size:11px}.chat-message{align-items:flex-start;gap:12px;margin:0 0 26px;display:flex}.chat-message-content{min-width:0;max-width:85%}.chat-message-meta{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:7px;display:flex}.chat-sender{color:#577167;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.chat-message-meta .chat-sender{margin:0}.chat-message time{color:#78877e;font-size:10px}.chat-message .chat-avatar{margin-top:25px}.chat-bubble{background:#fff;border:1px solid #e0e7dc;border-radius:3px 20px 20px;padding:18px 22px;box-shadow:0 2px 4px #253f2e03}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.chat-welcome p+p{color:#52685e;margin-top:10px;font-size:14px}.chat-message.user{justify-content:flex-end;padding-left:48px}.chat-message.user .chat-message-meta{justify-content:flex-end}.chat-message.user .chat-bubble{color:#fff;background:#216c55;border-color:#216c55;border-radius:20px 3px 20px 20px}.chat-status{color:#64766b;background:#eaf0e5;border-radius:20px;align-items:center;gap:6px;margin:9px 0 0;padding:4px 10px;font-size:10px;display:inline-flex}.chat-status.working{color:#805916;background:#fff0d4}.chat-status.published{color:#367442;background:#dfefde}.chat-status.needs_info{color:#a34d37;background:#fbe3db}.chat-result{background:#f0f5de;border:1px solid #e0e9c2;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:14px;display:flex}.chat-result>span{font-size:13px;font-weight:700}.chat-result .chat-work-link{background:var(--green);color:#fff;border:0}.chat-compose-wrap{flex-shrink:0;width:100%;max-width:840px;margin:0 auto;padding:16px 20px 2px}.chat-compose{background:#fff;border:1px solid #bdcfb8;border-radius:20px;align-items:flex-end;gap:12px;padding:12px 14px 12px 18px;display:flex;box-shadow:0 4px 22px #193b2110}.chat-compose:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #216c5512}.chat-compose textarea{resize:none;min-height:45px;max-height:160px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:9px 0;font-size:15px;line-height:1.8}.chat-send{background:var(--green);color:#fff;border:0;border-radius:13px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.chat-send:disabled{color:#7b9272;opacity:1;background:#e2e9db}.chat-send svg{width:23px;height:23px}.chat-compose-note{color:var(--muted);justify-content:space-between;gap:12px;margin:9px 8px 0;font-size:10px;display:flex}.chat-keyboard-hint{text-align:center;color:#7b8b80;margin-top:2px;font-size:10px}.chat-alert{color:#994b36;background:#fff0e9;border-radius:10px;margin:8px 0;padding:10px 14px;font-size:12px}.chat-new{color:var(--green);background:#fff;border:1px solid #c4d3be;border-radius:22px;align-self:center;padding:8px 16px;font-size:12px;box-shadow:0 3px 12px #193b2110}@media (max-width:720px){.student-chat-app{min-height:360px;padding:0 14px}.student-chat-app .header{height:64px}.student-chat-app .header-right{gap:8px}.student-chat-app footer{padding:7px 0;font-size:9px}.chat-top{gap:8px;padding:13px 0}.chat-top h1{font-size:17px}.chat-top p{font-size:10px}.chat-identity{gap:8px}.chat-identity .chat-avatar{width:38px;height:38px;font-size:28px}.chat-top>.chat-work-link{padding:8px 11px;font-size:11px}.chat-transcript{padding:20px 0 24px}.chat-day{margin-bottom:22px;font-size:10px}.chat-message{gap:8px;margin-bottom:22px}.chat-message>.chat-avatar{border-radius:10px;width:29px;height:29px;font-size:22px}.chat-message-content{max-width:calc(100% - 37px)}.chat-message.user{padding-left:28px}.chat-message.user .chat-message-content{max-width:100%}.chat-bubble{padding:14px 16px;font-size:14px}.chat-welcome p+p{font-size:13px}.chat-compose-wrap{padding:10px 0 0}.chat-compose{border-radius:17px;gap:8px;padding:8px 9px 8px 13px}.chat-compose textarea{font-size:16px}.chat-compose-note{margin:7px 3px 0;font-size:9px}.chat-keyboard-hint{display:none}}@media (max-height:560px){.student-chat-app .header{height:52px}.chat-top{padding:8px 0}.student-chat-app footer,.chat-keyboard-hint{display:none}.chat-compose-wrap{padding-top:8px}}.student-chat-app,.student-entry-app{--green:#006d65;--lime:#a7edda}.voyagers-brand-logo{object-fit:contain;background:#fff;border-radius:12px;width:48px;height:48px}.student-chat-app .chat-avatar{background:#fff;border:1px solid #d5e6df;overflow:hidden}.chat-avatar img{object-fit:contain;width:100%;height:100%;display:block}.student-chat-app .chat-message.user .chat-bubble{background:#006d65;border-color:#006d65}.ai-thinking{color:#587369;margin:0 0 24px 50px;font-size:13px}.ai-plan{background:#f4fbf6;border:1px solid #add3c8;border-radius:20px;margin:8px 0 24px 50px;padding:25px}.ai-plan-label{color:#006d65;background:#dcefe6;border-radius:20px;margin-bottom:12px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-block}.ai-plan h2{margin-bottom:12px;font-size:20px}.ai-plan p,.ai-plan li{overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px;line-height:1.9}.ai-plan ul{margin:12px 0;padding-left:22px}.ai-plan .ai-plan-note{color:#5b7066;margin:15px 0;font-size:12px}.ai-plan .button{margin-top:4px}@media (max-width:720px){.student-chat-app .brand{font-size:17px}.voyagers-brand-logo{width:40px;height:40px}.ai-plan{margin-left:0;padding:19px}.ai-plan h2{font-size:18px}.ai-plan p,.ai-plan li{font-size:13px}.ai-thinking{margin-left:37px;font-size:12px}.chat-compose-note>span:first-child{max-width:78%}}
