@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
:root{font-family:'Noto Sans JP',sans-serif;color:#333333;background:#f5f5f5;font-synthesis:none;--accent:#1a1a1a;--muted:#777777;--line:#e5e5e5}*{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:focus-visible,a:focus-visible{outline:3px solid #bbbbbb;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--accent)}.topbar{height:79px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fafafa}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:1.2px;font-size:17px}.brand-icon{font-size:34px;line-height:1}.brand-sub{border-left:1px solid #cccccc;padding-left:14px;color:#666666;font-size:10px;letter-spacing:2px;margin-left:6px}.header-right{display:flex;gap:18px;align-items:center;font-size:10px;color:var(--muted)}.local-badge{padding:5px 8px;border:1px solid #dddddd;border-radius:4px;font-size:9px;letter-spacing:1px;color:#666666}.icon-button{background:transparent;border:0;color:#666666;font-size:24px;padding:4px 8px}main{display:grid;grid-template-columns:minmax(390px,43%) 1fr;max-width:1600px;margin:auto;height:calc(100dvh - 79px)}.workspace{padding:38px 48px 20px;overflow:auto;border-right:1px solid var(--line);background:radial-gradient(ellipse at 0% 0%,#eeeeee,transparent 65%)}.eyebrow{font-size:9px;letter-spacing:2.1px;color:#666666;font-weight:600}h1{font-size:38px;line-height:1.45;letter-spacing:2px;font-weight:500;margin:17px 0 13px}.intro p{font-size:12px;line-height:2;color:#666666;margin:0 0 28px}.progress-caption{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#666666}.progress-track{height:3px;background:#e5e5e5;margin:10px 0 22px;border-radius:8px}.progress-track>div{height:100%;width:0;background:#999999;transition:width .3s}nav{display:grid;gap:7px}.step{display:flex;gap:13px;align-items:center;text-align:left;border:1px solid transparent;background:transparent;padding:11px 13px;width:100%;color:#666666;border-radius:9px}.step.active{background:#ffffff;border-color:#dddddd;color:#444444;box-shadow:0 4px 12px #44444410}.step-number{border:1px solid #dddddd;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:10px;flex-shrink:0}.active .step-number{background:var(--accent);border-color:var(--accent);color:white}.done .step-number{background:#e5e5e5;color:#666666;border:0}.step-title{font-size:12px;font-weight:500;flex:1}.step-meta{font-size:9px;color:#666666}.draft-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.2px;color:#666666;margin:30px 0 12px}.draft-status{letter-spacing:0;font-size:9px}.draft-card{background:#ffffff;border:1px solid var(--line);border-radius:10px;padding:22px}.draft-card h3{font-size:15px;margin:0 0 7px}.draft-card>p{font-size:11px;line-height:1.9;color:#666666}.empty-draft{border:1px dashed #dddddd;border-radius:9px;padding:22px;color:#666666;font-size:11px;line-height:1.9}.field{display:block;margin-top:15px;font-size:11px;color:#666666}.field textarea,.field input{display:block;width:100%;margin-top:6px;border:1px solid #e5e5e5;background:#fafafa;border-radius:6px;padding:10px;font-size:12px;color:#444444;resize:vertical;line-height:1.8}.field textarea{min-height:85px}.field:focus-within{color:#555555}input:focus,textarea:focus,select:focus{outline:2px solid #bbbbbb;outline-offset:1px}.workspace-foot{font-size:10px;color:#666666;margin:26px 0 10px;display:flex;align-items:center;gap:8px}.tiny-star{font-size:20px;color:#666666}.chat-panel{display:flex;flex-direction:column;min-width:0;background:#ffffff;overflow:hidden}.chat-header{padding:24px 31px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eeeeee}.interviewer-avatar,.message-avatar{display:grid;place-items:center;color:#eeeeee;background:var(--accent);border-radius:50%;flex-shrink:0}.interviewer-avatar{height:42px;width:42px;font-size:27px}.chat-header h2{font-size:14px;margin:0 0 6px;font-weight:600}.chat-header p{font-size:10px;margin:0;color:#666666}.online-dot{display:inline-block;background:#999999;width:5px;height:5px;border-radius:50%;margin-right:5px}.small-button{border:1px solid #dddddd;border-radius:6px;background:white;color:#666666;padding:8px 10px;font-size:10px}.chat-header>.small-button{margin-left:auto}.demo-note{font-size:9px;color:#666666;background:#fafafa;padding:9px 30px;border-bottom:1px solid #eeeeee}.messages{flex:1;overflow:auto;padding:28px 32px 14px;scroll-behavior:smooth}.chat-date{text-align:center;font-size:9px;letter-spacing:1px;color:#666666;margin-bottom:28px}.message{display:flex;gap:10px;align-items:flex-start;margin-bottom:23px;animation:appear .25s ease}.message-avatar{width:28px;height:28px;font-size:18px}.message-body{max-width:88%}.message-name{font-size:9px;color:#666666;margin-bottom:7px}.bubble{background:#f5f5f5;border-radius:0 12px 12px 12px;padding:17px 19px;font-size:12px;line-height:2;color:#555555;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{justify-content:flex-end}.user .bubble{background:#eeeeee;border-radius:12px 0 12px 12px;color:#555555}.user .message-name{text-align:right}.message-tag{font-size:9px;display:inline-block;margin-top:8px;color:#666666}.composer-area{padding:10px 30px 18px;background:white}.composer{border:1px solid #e5e5e5;background:#ffffff;border-radius:12px;padding:12px 13px}.composer:focus-within{border-color:#bbbbbb;box-shadow:0 0 0 3px #eeeeee}#message{width:100%;border:0;background:transparent;resize:none;font-size:12px;line-height:1.8;min-height:54px;color:#555555;outline:none}#message::placeholder{color:#666666}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.voice-button{font-size:10px;color:#666666;border:0;background:transparent;padding:8px 0;display:flex;align-items:center;gap:7px}.voice-button span{font-size:18px}.voice-button.listening{color:#666666}.send-button{border:0;border-radius:8px;background:var(--accent);color:white;width:34px;height:34px;font-size:23px}.composer-footer{display:flex;justify-content:space-between;align-items:center;margin-top:11px;font-size:8px;color:#666666}.composer-footer button{border:0;background:transparent;font-size:9px;color:#666666}.voice-note{font-size:8px;line-height:1.7;color:#666666;margin:12px 0 0}.context-actions{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.context-actions button{border:1px solid #e5e5e5;background:#fafafa;border-radius:20px;font-size:10px;padding:8px 12px;color:#666666}#voice-status{font-size:10px;color:#666666;margin-bottom:8px;min-height:0}#voice-status:empty{display:none}.primary{border:0;background:var(--accent);color:white;font-size:12px;padding:12px 20px;border-radius:7px}.secondary{border:1px solid #dddddd;background:white;color:var(--accent);font-size:11px;padding:10px 14px;border-radius:7px}.review-block{border-top:1px solid #e5e5e5;padding-top:13px;margin-top:20px}.review-block h4{font-size:12px;margin:0}.consent{font-size:11px;line-height:1.8;display:flex;gap:8px;margin:20px 0}.consent input{flex-shrink:0}.full-width{width:100%;margin-top:8px}.link-item{border:1px solid #e5e5e5;border-radius:6px;padding:10px;margin-top:9px;overflow-wrap:anywhere;font-size:10px}.link-item strong{font-size:10px}.link-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.remove-item{border:0;background:transparent;color:#666666;font-size:10px}.link-item a{display:block;font-size:11px;margin:6px 0}.link-item p{margin:4px 0;color:#666666;line-height:1.7}.link-item select{font-size:10px;max-width:100%;border:1px solid #dddddd;background:#ffffff;padding:5px;border-radius:4px}.success-icon{font-size:32px;color:#666666}.error{color:#666666;font-size:11px}.dialog-heading{display:flex;align-items:center;justify-content:space-between}dialog{border:1px solid #e5e5e5;border-radius:14px;padding:25px;width:min(460px,90vw);color:#444444;box-shadow:0 20px 80px #33333322}dialog::backdrop{background:#33333355;backdrop-filter:blur(4px)}dialog h2{font-size:18px}dialog p{font-size:12px;line-height:1.8}dialog label{display:block;font-size:12px;margin:16px 0}dialog input:not([type="checkbox"]):not([type="radio"]),dialog select{width:100%;border:1px solid #dddddd;border-radius:6px;padding:10px;margin-top:7px;font-size:12px;background:#fafafa}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#444444;color:white;border-radius:8px;padding:12px 20px;font-size:12px;box-shadow:0 5px 20px #00000022;display:none;z-index:10}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1400px){.workspace{padding-left:70px;padding-right:70px}.messages{padding-left:46px;padding-right:46px}.composer-area{padding-left:44px;padding-right:44px}}@media(max-width:800px){.topbar{padding:0 18px;height:64px}.brand{font-size:14px}.brand-sub,#save-state{display:none}.header-right{gap:8px}main{height:auto;display:flex;flex-direction:column}.workspace{padding:24px 20px;border-right:0;overflow:visible}.intro{display:none}.progress-track{margin-bottom:12px}nav{display:flex;overflow-x:auto;padding-bottom:8px}.step{width:auto;min-width:max-content;padding:8px}.step-meta{display:none}.step-title{font-size:10px}.step-number{width:21px;height:21px}.draft-heading{margin-top:16px}#draft{max-height:45vh;overflow:auto}.workspace-foot{display:none}.chat-panel{height:75dvh;min-height:520px;border-top:1px solid var(--line)}.chat-header{padding:18px}.demo-note{padding:8px 18px;font-size:8px}.messages{padding:22px 18px}.composer-area{padding:10px 18px 18px}.bubble{font-size:12px;padding:14px}.composer-footer{font-size:7px}.local-badge{font-size:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Personal page */
[hidden]{display:none!important}.header-nav{border:0;background:none;font-size:11px;color:#666666;padding:10px 4px;white-space:nowrap}.header-nav[aria-current]{color:#555555;border-bottom:2px solid #999999}.mypage{max-width:1160px;margin:0 auto;padding:46px 36px 60px}.mypage-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.mypage-heading h1{font-size:32px;margin:10px 0;letter-spacing:1px}.mypage-heading p{font-size:12px;color:#666666;margin:0}.mypage-actions{display:flex;gap:10px}.account-note{font-size:10px;color:#666666;line-height:1.8;padding:13px 17px;border:1px solid #e5e5e5;background:#f5f5f5;border-radius:8px;margin:25px 0}.mypage-stats{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:16px;margin:25px 0 34px}.mypage-stats button{border:1px solid #e5e5e5;border-radius:10px;background:#ffffff;padding:22px;text-align:left;color:#444444;min-width:0}.mypage-stats button>span{display:block;font-size:10px;color:#666666;letter-spacing:1px;margin-bottom:13px}.mypage-stats strong{font-size:25px;font-weight:500;overflow-wrap:anywhere}.mypage-stats button:first-child strong{font-size:17px}.mypage-stats small{font-size:11px;color:#666666}.mypage-tabs{display:flex;gap:27px;border-bottom:1px solid #dddddd;margin-bottom:28px}.mypage-tabs button{border:0;background:transparent;font-size:12px;color:#666666;padding:0 5px 15px}.mypage-tabs button[aria-current]{border-bottom:2px solid var(--accent);color:var(--accent);font-weight:600}.profile-card{border:1px solid #e5e5e5;border-radius:12px;background:#ffffff;padding:32px}.profile-top{display:flex;align-items:center;gap:20px}.profile-top>div:nth-child(2){min-width:0;flex:1}.profile-avatar{background:#eeeeee;color:#666666;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;font-size:32px;flex-shrink:0}.profile-top h2{font-size:20px;font-weight:500;margin:9px 0;overflow-wrap:anywhere}.profile-top p{font-size:11px;color:#666666;overflow-wrap:anywhere}.profile-section{border-top:1px solid #eeeeee;margin-top:25px;padding-top:21px}.profile-section h3{font-size:12px;margin:0 0 13px;font-weight:500}.profile-section p{font-size:12px;line-height:2;color:#666666;overflow-wrap:anywhere}.preserve-lines{white-space:pre-wrap}.profile-links{display:flex;flex-wrap:wrap;gap:10px}.profile-link{display:flex;gap:30px;justify-content:space-between;border:1px solid #e5e5e5;background:#fafafa;border-radius:7px;padding:12px 15px;text-decoration:none;font-size:11px;overflow-wrap:anywhere;max-width:100%}.muted{color:#666666;font-size:11px;line-height:1.8}.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 24px}.collection-heading h2{font-size:20px;font-weight:500;margin:0 0 8px}.collection-heading p{font-size:11px;color:#666666;margin:0}.event-filter{font-size:10px;color:#666666}.event-filter select{display:block;margin-top:6px;border:1px solid #dddddd;background:#ffffff;border-radius:6px;padding:9px 12px;color:#666666;font-size:11px;max-width:220px}.event-group{border:1px solid #e5e5e5;border-radius:10px;overflow:hidden;margin-bottom:20px}.event-group-title{background:#eeeeee;display:flex;align-items:center;justify-content:space-between;padding:16px 23px}.event-group-title h3{font-size:13px;margin:0}.event-group-title span{font-size:10px;color:#666666}.history-row{display:flex;align-items:center;gap:19px;background:#ffffff;padding:24px;border-top:1px solid #eeeeee}.history-mark{height:42px;width:42px;display:grid;place-items:center;background:#f5f5f5;border-radius:8px;color:#666666;font-size:23px}.history-main{flex:1;min-width:0}.record-status{font-size:9px;color:#666666}.history-main h4{font-size:15px;font-weight:500;margin:7px 0;overflow-wrap:anywhere}.history-main p{font-size:10px;color:#666666;margin:0}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.work-card{border:1px solid #e5e5e5;border-radius:12px;background:#ffffff;overflow:hidden}.work-cover{height:175px;background:radial-gradient(ellipse at 70% 100%,#dddddd,transparent 70%),#eeeeee;position:relative;padding:18px 20px;display:flex;flex-direction:column;justify-content:space-between}.work-card:nth-child(3n+2) .work-cover{background:radial-gradient(ellipse at 70% 100%,#dddddd,transparent 70%),#eeeeee}.work-card:nth-child(3n) .work-cover{background:radial-gradient(ellipse at 70% 100%,#dddddd,transparent 70%),#eeeeee}.work-number{font-size:9px;letter-spacing:1.7px;color:#666666}.work-symbol{position:absolute;right:28px;top:24px;font-size:85px;color:#66666688;line-height:1}.work-category{font-size:10px;color:#666666;z-index:1;max-width:85%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.work-info{padding:22px}.work-info h3{font-size:17px;font-weight:500;margin:10px 0;overflow-wrap:anywhere}.work-info>p{font-size:11px;line-height:1.9;color:#666666;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:62px}.work-open{display:flex;justify-content:space-between;width:100%;background:transparent;border:0;border-top:1px solid #eeeeee;padding:14px 0 0;color:#666666;font-size:11px}.count-label{font-size:10px;color:#666666;letter-spacing:1px}.mypage-empty{text-align:center;padding:56px 20px;background:#ffffff;border:1px dashed #dddddd;border-radius:12px}.mypage-empty>span{font-size:35px;color:#666666}.mypage-empty h3{font-size:17px;font-weight:500;margin:15px 0}.mypage-empty p{font-size:12px;line-height:1.9;color:#666666;margin-bottom:24px}.mypage-footnote{font-size:10px;color:#666666;margin-top:24px}dialog textarea{width:100%;border:1px solid #dddddd;border-radius:6px;padding:10px;margin-top:7px;font-size:12px;line-height:1.8;background:#fafafa;resize:vertical}#entry-detail{width:min(730px,92vw);max-height:85dvh;padding:30px}#entry-detail h2{overflow-wrap:anywhere}#entry-detail h3{font-size:13px;margin-top:25px}.detail-meta{color:#666666;font-size:10px!important}.entry-details>div{padding:16px 0;border-bottom:1px solid #eeeeee}.entry-details dt{font-size:10px;color:#666666;margin-bottom:8px}.entry-details dd{font-size:12px;line-height:1.9;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:800px){.header-right{gap:10px}.header-nav{font-size:10px}.header-right .local-badge{display:none}.mypage{padding:28px 18px}.mypage-heading{align-items:flex-start;flex-direction:column;gap:16px}.mypage-heading h1{font-size:27px}.mypage-stats{gap:8px;grid-template-columns:1fr 1fr}.mypage-stats button{padding:15px}.mypage-stats button:first-child{grid-column:1/-1}.profile-card{padding:20px}.profile-top{flex-wrap:wrap;gap:13px}.profile-avatar{width:55px;height:55px;font-size:25px}.profile-top h2{font-size:16px}.profile-top>.secondary{margin-top:5px}.collection-heading{align-items:flex-start;flex-direction:column}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.work-info{padding:16px}.history-row{flex-wrap:wrap;gap:12px;padding:18px}.history-row .secondary{margin-left:54px}.history-main{flex-basis:65%}.mypage-tabs{gap:20px;overflow:auto}.event-filter select{max-width:100%}}@media(max-width:480px){.works-grid{grid-template-columns:1fr}.brand{gap:6px;font-size:12px}.brand-icon{font-size:26px}.topbar{padding:0 12px}}
#article-editor{width:min(980px,94vw);max-height:92dvh;padding:30px;background:#fafafa}#article-editor h3{font-size:15px;margin:28px 0 12px}.article-editor-heading{display:flex;justify-content:space-between;align-items:center}.article-editor-heading h2{margin:10px 0}.article-explanation{color:#666666;font-size:11px!important}.article-editor-tabs{display:flex;gap:20px;border-bottom:1px solid #e5e5e5;margin:24px 0}.article-editor-tabs button{border:0;background:none;color:#666666;font-size:12px;padding:0 0 12px}.article-editor-tabs button[aria-current]{border-bottom:2px solid #666666;color:#666666}.article-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.article-fields label:nth-child(n+3){grid-column:1/-1}.article-answer{background:white;border:1px solid #e5e5e5;border-radius:8px;padding:15px 18px;margin:14px 0}.article-include,.article-link-choice{display:flex!important;align-items:flex-start;gap:10px;line-height:1.8}.article-include input,.article-link-choice input{width:auto;flex-shrink:0;margin:4px 0}.article-link-choice small{display:block;color:#666666;overflow-wrap:anywhere;font-size:10px}.article-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.article-published{padding:16px;background:#eeeeee;border-radius:8px;font-size:11px;line-height:1.9}.article-published p{font-size:10px}.article-published a{margin-left:15px}.article-preview{border:1px solid #e5e5e5;background:#ffffff;border-radius:10px;overflow:hidden}.article-preview .story-heading{padding:35px}.article-preview .story-heading h1{font-size:30px}#article-status{font-size:12px;line-height:1.8;color:#666666;margin-bottom:15px}.article-restore{border-top:1px solid #e5e5e5;padding-top:16px;margin-top:25px}.story-edit-button{width:100%;margin-top:12px}.public-stories-nav{font-size:11px;text-decoration:none;white-space:nowrap}@media(max-width:700px){#article-editor{padding:20px}.article-fields{grid-template-columns:1fr}.article-preview .story-heading{padding:24px}.article-preview .story-heading h1{font-size:25px}.public-stories-nav{font-size:9px}.header-right{gap:6px}.header-nav{font-size:9px}}
@media(max-width:800px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;gap:8px;padding-top:12px;padding-bottom:12px}.header-right{width:100%;justify-content:space-between}.header-nav,.public-stories-nav{font-size:10px}}
.demo-note{display:flex;align-items:center;justify-content:space-between;gap:12px}.demo-note .small-button{flex-shrink:0;font-size:9px}#ai-request-status{font-size:10px;color:#666666;line-height:1.8;margin:0 0 10px}#ai-request-status:empty{display:none}

.auth-pending > :not(#login-panel):not(#landing-page):not(.auth-recovery-dialog){display:none!important} #login-panel{min-height:100vh;padding:60px 20px;background:#f5f5f5} #login-panel form{max-width:440px;margin:6vh auto;padding:36px;background:#ffffff;border:1px solid #dddddd;border-radius:20px} #login-panel h1{font-size:32px} #login-panel label{display:block;margin:22px 0 10px} #login-panel input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #cccccc;border-radius:8px;font:inherit} #login-panel p{line-height:1.8} #save-error{padding:14px;background:#f5f5f5;color:#444444;position:sticky;top:0;z-index:50} #save-error button{margin:5px;padding:7px} #account-name{font-size:12px} .draft-list{margin:24px 0;padding:20px;background:#f5f5f5;border-radius:12px}.draft-list button{margin:8px} .header-right{flex-wrap:wrap} [hidden]{display:none!important}
@media(max-width:800px){#save-state{display:block;flex-basis:100%;order:10;text-align:right;font-size:11px}}
#about-message{width:100%;border:0;background:transparent;resize:none;font-size:12px;line-height:1.8;min-height:54px;color:#555555;outline:none}#about-message::placeholder{color:#666666}#about-status{font-size:12px;line-height:1.8;color:#666666;margin:0 0 8px}#about-ai-note{white-space:normal;line-height:1.8}#about-draft{margin-top:20px}
@media(max-width:800px){#about-page .chat-panel{order:-1}#about-page .workspace{border-top:1px solid var(--line)}}

/* Neutral native controls and keyboard focus. */
:root{color-scheme:light;accent-color:#1a1a1a}input,textarea,select{accent-color:#1a1a1a}

.profile-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-image-editor{display:flex;align-items:center;gap:18px;margin:20px 0}.profile-image-editor>div:last-child{min-width:0;flex:1}.profile-image-editor .field{margin:0 0 8px}.profile-image-editor input{display:block;width:100%;font-size:11px}.profile-image-editor p,#about-image-status{font-size:11px;color:#666;line-height:1.8}.profile-image-editor input::file-selector-button{border:1px solid #ccc;border-radius:6px;background:#fff;color:#1a1a1a;padding:8px;margin-right:8px;cursor:pointer}

/* Public introduction, before member login. */
#landing-page{min-height:100svh;display:flex;flex-direction:column;background:#fff;color:#1a1a1a}
.landing-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 5vw;border-bottom:1px solid #e5e5e5}
.landing-nav{display:flex;gap:28px;align-items:center}.landing-nav a{font-size:12px;text-decoration:none;color:#444}.landing-nav a:hover{text-decoration:underline}
main.landing-main{display:block;width:100%;max-width:1180px;height:auto;margin:auto;padding:92px 40px 56px}
.landing-kicker{font-size:10px;letter-spacing:2.5px;color:#666}.landing-main h1{font-size:clamp(40px,6.2vw,80px);font-weight:600;letter-spacing:-.035em;line-height:1.35;margin:26px 0}
.landing-description{font-size:15px;line-height:2.1;color:#555;margin:0 0 34px}.landing-entry{display:inline-flex;align-items:center;justify-content:space-between;gap:65px;background:#1a1a1a;color:#fff;padding:20px 26px;border-radius:5px;text-decoration:none;font-size:15px;font-weight:600}.landing-entry:hover{background:#444}.landing-entry span{font-size:22px;line-height:1}
.landing-note{font-size:11px;line-height:1.9;color:#666;margin:15px 0 0}.landing-flow{display:flex;flex-wrap:wrap;gap:28px 50px;list-style:none;margin:68px 0 0;padding:25px 0 0;border-top:1px solid #ddd}.landing-flow li{font-size:12px;color:#444}.landing-flow span{font-size:10px;color:#666;margin-right:10px}
.landing-footer{display:flex;justify-content:space-between;gap:20px;padding:25px 5vw;border-top:1px solid #e5e5e5;color:#666;font-size:10px;letter-spacing:1px}.login-back{display:block;max-width:440px;margin:0 auto;font-size:12px;color:#444;text-decoration:none}
@media(max-width:600px){.landing-header{padding:20px;flex-wrap:wrap;gap:18px}.landing-header .brand{font-size:15px}.landing-nav{gap:24px;width:100%}.landing-nav a{font-size:11px}main.landing-main{padding:60px 22px 40px}.landing-main h1{font-size:clamp(32px,8.9vw,48px);margin:22px 0}.landing-description{font-size:13px}.landing-description br{display:none}.landing-entry{width:100%;font-size:14px}.landing-note{font-size:10px}.landing-flow{margin-top:45px;gap:18px;flex-direction:column}.landing-footer{padding:20px 22px;flex-direction:column;gap:10px}}

.landing-nav{flex-wrap:wrap}.landing-footer a{color:inherit;text-decoration:none}.landing-footer a:hover{text-decoration:underline}

.work-publication{border-top:1px solid #ddd;margin-top:16px;padding-top:8px}.work-public-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:11px}.article-published a{display:inline-block;margin:6px 8px 6px 0}

.entry-event{font-size:12px;line-height:1.8;margin:20px 0}.entry-event a{color:inherit}
.thumbnail-editor{border:1px solid #ddd;border-radius:12px;padding:20px;margin:24px 0;background:#fff}.thumbnail-editor h3{margin-top:0}.thumbnail-editor>img{display:block;width:100%;max-width:640px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:18px}.thumbnail-editor label{display:block;font-size:12px;line-height:1.8}.thumbnail-editor input{max-width:100%;box-sizing:border-box}.thumbnail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:18px}.thumbnail-upload input{display:block;margin-top:8px;font-size:12px}#thumbnail-status{font-size:13px;line-height:1.8;color:#555555}.thumbnail-editor .muted{line-height:1.8}#article-editor .consent{align-items:flex-start;max-width:100%}
#article-editor .consent input[type="checkbox"]{appearance:auto;width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px;align-self:flex-start;margin:3px 0 0;padding:0}

.privacy-login-note{font-size:12px;margin:16px 0}.privacy-login-note a{color:inherit;text-underline-offset:3px}.landing-footer{flex-wrap:wrap;gap:18px}
.entry-share-dialog{box-sizing:border-box;width:min(520px,92vw);max-height:90dvh;overflow:auto;border:1px solid #ddd;border-radius:18px;padding:28px;color:#333;background:#fff}.entry-share-dialog::backdrop{background:#0008}.entry-share-dialog h2{font-size:23px}.entry-share-dialog p{line-height:1.8;font-size:14px;overflow-wrap:anywhere}.entry-share-dialog label{display:block;margin:20px 0 10px}.entry-share-dialog textarea{box-sizing:border-box;width:100%;padding:12px;font:inherit;border:1px solid #bbb;border-radius:8px}.entry-share-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.entry-share-actions a{display:inline-block;text-decoration:none;padding:12px 20px;border-radius:8px}

.material-card{border:1px solid #d7ddd5;margin-bottom:24px;background:#f7faf5}.material-card p,.material-sources span,.material-preview p,.material-preview blockquote{overflow-wrap:anywhere}.material-sources{margin:16px 0}.material-preview{width:min(680px,calc(100% - 32px));max-height:85vh;overflow:auto}.material-preview .material-value,#material-status{white-space:pre-wrap}.material-preview details{font-size:13px}.material-preview blockquote{margin:12px 0;padding-left:12px;border-left:2px solid #aaa}

.chat-file{display:flex;align-items:center;gap:8px;font-size:11px;margin:6px 0}.chat-file span{overflow-wrap:anywhere;min-width:0}.chat-file button{flex-shrink:0;border:0;background:transparent;padding:8px}#chat-attachments{max-height:100px;overflow:auto}#ai-request-status{white-space:pre-wrap}#chat-form .composer-bottom{gap:8px;flex-wrap:wrap}#chat-form .send-button{margin-left:auto}

.chat-drop-hint,.chat-files-heading{font-size:12px;color:#52605b;margin:6px 0}.chat-file{background:#eef4ef;border:1px solid #d5e2d8;border-radius:8px;padding:8px 10px}.file-dragover{outline:3px dashed #35735b;outline-offset:-4px;background:#f0f8f2}

.chat-file span{flex:1}.chat-file .chat-file-delete{display:grid;place-items:center;min-width:36px;min-height:36px;color:#775353;border-radius:6px}.chat-file .chat-file-delete:hover:not(:disabled){background:#f6e4e4;color:#9c2929}

.chat-file .chat-file-open{padding:0;text-decoration:underline;text-underline-offset:3px;color:inherit;text-align:left;overflow-wrap:anywhere}.chat-file [data-chat-read]{font-size:11px;white-space:nowrap}

.attachment-preview{width:min(760px,92vw);max-height:85dvh}.attachment-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 monospace;max-height:60dvh;overflow:auto}

/* Give the conversation the available viewport, with compact supporting controls. */
#entry-page .chat-panel,#about-page .chat-panel{min-height:0}
#entry-page .chat-header,#about-page .chat-header{padding:10px 20px;flex-shrink:0;gap:10px}
#entry-page .interviewer-avatar,#about-page .interviewer-avatar{width:32px;height:32px;font-size:22px}
#entry-page .chat-header h2,#about-page .chat-header h2{margin:0;font-size:13px}
#entry-page .chat-header p,#about-page .chat-header p{display:none}
#entry-page .demo-note,#about-page .demo-note{padding:5px 20px;flex-shrink:0;font-size:9px}
#entry-page .messages,#about-page .messages{min-height:120px;flex:1 1 0;padding:16px 20px}
#entry-page .composer-area,#about-page .composer-area{padding:6px 20px 8px;flex-shrink:0}
#entry-page .composer,#about-page .composer{padding:8px 10px}
#message,#about-message{min-height:38px;max-height:120px}
#entry-page .context-actions{margin:2px 0 4px;gap:5px}
#entry-page .context-actions button{padding:5px 10px}
#entry-page .chat-drop-hint{font-size:10px;margin:3px 0}
#entry-page .chat-files-heading{display:none}
#entry-page .chat-file{margin:3px 0;padding:2px 8px}
#entry-page #chat-attachments{max-height:82px}
#entry-page .chat-file button{padding:5px}
#entry-page .chat-file .chat-file-delete{min-height:30px;min-width:30px}
#entry-page .composer-footer{margin-top:5px}
#entry-page .voice-note,#about-page .voice-note{margin:4px 0 0;font-size:8px}
#ai-request-status,#about-status{font-size:11px;line-height:1.5;max-height:48px;overflow:auto}
#ai-request-status:empty,#about-status:empty{display:none}
@media(min-width:801px){
 .topbar{height:auto;min-height:60px;padding:8px 20px;gap:16px}
 .topbar .brand{flex-shrink:0;font-size:15px;gap:8px}
 .topbar .brand-icon{font-size:28px}
 .topbar .header-right{flex-wrap:wrap;justify-content:flex-end;gap:6px 12px;min-width:0}
 #entry-page,#about-page{height:var(--interview-height,calc(100dvh - 100px));grid-template-columns:minmax(320px,34%) minmax(0,1fr);max-width:none}
 #entry-page .workspace,#about-page .workspace{padding:24px 28px 16px;min-height:0}
 #entry-page .intro h1,#about-page .intro h1{font-size:28px;margin:12px 0}
 #entry-page .intro p,#about-page .intro p{margin-bottom:16px}
 #entry-page .step,#about-page .step{padding:8px 10px}
}
@media(min-width:801px) and (max-width:1450px){.topbar .brand-sub{display:none}.topbar .header-right{gap:4px 9px}}
@media(max-width:800px){
 #entry-page .chat-panel,#about-page .chat-panel{height:85dvh;min-height:620px}
 #entry-page .composer-area,#about-page .composer-area{padding-left:12px;padding-right:12px}
 #entry-page .chat-header,#about-page .chat-header,#entry-page .demo-note,#about-page .demo-note{padding-left:12px;padding-right:12px}
}

.thumbnail-consent .bubble p{font-size:11px;line-height:1.7}.thumbnail-consent-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.chat-thumbnail-preview img{display:block;width:100%;max-height:180px;object-fit:contain;border-radius:8px}

.entry-input-section,.draft-card[id]{scroll-margin-top:24px}.entry-input-section{margin-bottom:24px}#entry-page.registration-complete{grid-template-columns:1fr}#entry-page.registration-complete .chat-panel,#entry-page.registration-complete #steps,#entry-page.registration-complete .progress-caption,#entry-page.registration-complete .progress-track,#entry-page.registration-complete .intro,#entry-page.registration-complete .draft-heading,#entry-page.registration-complete .entry-event{display:none}#entry-page.registration-complete .workspace{width:100%;max-width:850px;margin:auto;border:0}#registration-success:focus{outline:none}

#entry-page.registration-complete{height:auto;min-height:calc(100dvh - 100px)}#entry-page.registration-complete .workspace{overflow:visible;margin:0 auto}#entry-page.registration-complete .draft-card>a.full-width{display:block;width:100%;text-align:center;margin:12px 0;text-decoration:none}

#entry-page #draft{max-height:none;overflow:visible}

/* Profile chat notice and voice input status. */
#about-page .composer-area > .privacy-note, #entry-page .composer-area > .privacy-note{font-size:11px;line-height:1.6;color:#b91c1c;margin:0 0 8px}
#about-voice-status{font-size:10px;color:#666666;margin-bottom:8px}
#about-voice-status:empty{display:none}
