:root{font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;color:#24343d;background:#f6f8fa;--green:#187ba9;--muted:#536672;--line:#cbd8df;--ink:#24343d;--pale:#eaf5fc}*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,textarea,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 16px;border:1px solid #b9cbd6;border-radius:6px;background:white;color:inherit;cursor:pointer}button:hover{background:#e9f4fb}button:disabled{opacity:.55;cursor:wait}.primary{background:#086b9d;color:white;border-color:#086b9d}.primary:hover{background:#07567e}.icon-button{width:44px;height:44px;padding:10px;flex-shrink:0}svg{width:20px;height:20px;flex-shrink:0}input:not([type=checkbox]),textarea,select{width:100%;min-width:0;border:1px solid #b7c9d4;background:#fff;border-radius:4px;padding:11px;color:inherit}textarea{resize:vertical;line-height:1.75}label{display:grid;gap:8px;font-size:15px;font-weight:600}input[type=checkbox]{width:20px;height:20px;accent-color:#0876ad;flex-shrink:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #edab32;outline-offset:3px}[hidden]{display:none!important}.app-header{padding:18px 32px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.app-header strong{display:block;font-size:20px}.app-header span{font-size:13px;color:var(--muted)}.sample-label{white-space:nowrap}main{max-width:1100px;margin:auto;padding:24px 32px 64px}.privacy-note{display:flex;gap:12px;align-items:flex-start;padding:0 0 20px;border-bottom:1px solid var(--line);color:var(--muted)}.privacy-note svg{margin-top:3px}.privacy-note p{font-size:13px;line-height:1.8;margin:0}.section-heading,.workspace-heading{display:flex;align-items:center;gap:12px;margin:26px 0 20px;flex-wrap:wrap}.section-heading{justify-content:space-between}h1{font-size:24px;margin:0;overflow-wrap:anywhere}h2{font-size:20px;margin:0}p{overflow-wrap:anywhere}.workspace-heading h1{flex:1;min-width:160px}.workspace-heading #saved{font-size:12px;color:var(--muted)}.danger{color:#ad3345}.error{padding:14px;border-left:4px solid #b63c3c;background:#fff0f0;color:#8c2626;line-height:1.8}.draft-list{list-style:none;margin:0;padding:0}.draft-list li{border-bottom:1px solid var(--line)}.draft-list button{width:100%;text-align:left;justify-content:space-between;border:0;border-radius:0;background:transparent;padding:20px 8px;min-height:88px;gap:20px}.draft-list button:hover{background:#eaf3f8}.draft-list strong,.draft-list small{display:block;overflow-wrap:anywhere}.draft-list strong{font-size:18px;margin-bottom:6px}.draft-list small{font-size:13px;color:var(--muted)}.identity{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:18px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:26px 0 20px}.tabs button{border:0;border-radius:0;background:transparent;border-bottom:3px solid transparent;min-height:50px}.tabs [aria-selected=true]{border-color:#0876ad;color:#075d89;background:#e8f4fc}.consent{margin-bottom:16px}.consent label{display:flex;align-items:flex-start;gap:9px;line-height:1.7;font-weight:400}.consent p{font-size:13px;color:var(--muted);margin:8px 0}.chat-surface{border:1px solid #c5dce9;background:#edf7ff;border-radius:8px;overflow:hidden}.chat-surface .messages{height:420px;margin:0;padding:24px}.chat-surface #start{margin:16px}.chat-surface #thinking{padding:0 24px;color:#326680;font-size:14px}#chat-form{display:flex;gap:12px;padding:16px;background:#fff;align-items:flex-end;border-top:1px solid #c5dce9}#message{font-size:16px}#send{width:48px;height:48px}.chat-actions{margin:16px 0}.proposal{margin:24px 0;padding:20px 0;border-top:2px solid #b3dced}.proposal h3{font-size:15px;margin:18px 0 8px}.proposal p{white-space:pre-wrap;line-height:1.8;margin:0 0 16px}.actions{display:flex;gap:12px;flex-wrap:wrap}.company-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.description-label{margin-top:28px;font-size:17px}#description{font-size:18px}#preview{min-width:0;margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.object-editor-toolbar{background:white}.object-properties{min-width:0}.object-properties label{min-width:0}.empty-chat{color:#4e6878;font-size:16px;line-height:1.8;margin:0}#loading{color:var(--muted);padding:24px 0}@media(max-width:700px){.app-header{padding:16px}.app-header strong{font-size:18px}main{padding:20px 16px 40px}.identity,.company-fields{grid-template-columns:1fr}.identity{gap:14px}h1{font-size:21px}.section-heading{align-items:flex-start}.workspace-heading{gap:8px}.workspace-heading #saved{order:5;width:100%}.tabs button{flex:1;padding:10px 7px;font-size:14px;gap:6px}.chat-surface .messages{height:390px;padding:16px}#chat-form{padding:12px;gap:8px}.privacy-note p{font-size:12px}.sample-label{display:none}}
:root .chat-surface .messages{display:flex;flex-direction:column;overflow:auto}.chat-surface .messages>*{flex-shrink:0}.chat-surface .primary{background:#086b9d;color:#fff;border-color:#086b9d}
#sample-images{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}#sample-images h2{margin-bottom:16px}#sample-image-dialog{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:8px;padding:24px;color:var(--ink)}#sample-image-dialog::backdrop{background:#14233180}#sample-image-form{display:grid;gap:18px}#sample-image-form p{font-size:13px;line-height:1.8;margin:0}#sample-image-form .image-consent{display:flex;align-items:flex-start;font-weight:400;line-height:1.8}#sample-image-form .actions{justify-content:flex-end}#sample-image-status{color:#ad3345}.generated-image-item .error{font-size:13px}#sample-image-list button:disabled{cursor:default}@media(max-width:700px){.workspace-heading h1{flex-basis:calc(100% - 60px)}.workspace-heading #saved{order:0;width:auto;flex:1}}
#sample-image-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
.company-input-section{padding:24px 0;border-bottom:1px solid var(--line)}.company-input-section:first-child{padding-top:0}.company-input-section h2{margin-bottom:18px}
.sharing-panel{border-block:1px solid var(--line);margin-top:24px;padding:16px 0}.sharing-panel summary{cursor:pointer;font-weight:600;min-height:28px}.sharing-panel p{font-size:13px;line-height:1.8;max-width:850px}.sharing-panel #share-status{color:#794b0a}.sync-status{font-size:13px;line-height:1.8;color:var(--muted);margin-top:14px}
@media(max-width:400px){.tabs button{flex-direction:column;min-width:0;padding:10px 4px;gap:4px}}
#resume-ai-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:8px;color:var(--ink)}
#resume-ai-dialog::backdrop{background:#14233180}
#resume-ai-dialog p{line-height:1.8}
.sample-safety{min-width:0}
.sample-safety.needs-interaction{padding:16px;background:#fff;border-block:1px solid var(--line)}
.sample-safety.needs-interaction p{line-height:1.7;margin:0 0 12px}
.sample-safety.needs-interaction button{margin-top:12px}
.chat-surface #thinking{padding:12px 16px;background:#eaf5fc}
.typing-bubble{display:inline-flex;align-items:center;gap:12px;max-width:100%;padding:12px 16px;border-radius:16px;background:#fff;line-height:1.6;overflow-wrap:anywhere}
.typing-dots{display:inline-flex;gap:4px;flex:0 0 32px;align-items:center;height:16px}
.typing-dots span{width:8px;height:8px;border-radius:50%;background:#326680;animation:sample-typing 1.4s ease-in-out infinite}
.typing-dots span:nth-child(2){animation-delay:.16s}.typing-dots span:nth-child(3){animation-delay:.32s}
@keyframes sample-typing{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.typing-dots span{animation:none}}
