.ioc-hero-entry{--hero-gap:1rem;--hero-ink:#0b1b52;--hero-muted:#526384;--hero-primary:#0066df;--hero-hover:#0056bd;--hero-line:#c3e0f5;--hero-soft:#edf8ff;background:#fff;border:1px solid var(--hero-line);border-radius:24px;padding:clamp(1rem,2vw,1.5rem);box-shadow:0 20px 60px #0b1b520a;text-align:left;color:var(--hero-ink);font-family:inherit}
body.ioc-homepage-v13 #ioc-design-entry>h2{text-align:center;font-size:clamp(1.25rem,2vw,1.65rem)!important;line-height:1.3;margin:0 0 .55rem!important;color:var(--hero-ink)}
.ioc-hero-entry-intro{text-align:center;color:var(--hero-muted);margin:0 0 .75rem!important}
.ioc-hero-field-label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem}
.ioc-hero-compose-box{--hero-target:44px;--hero-control-gap:0px;--hero-editor-icon:24px;--hero-editor-inset:8px;display:flex;flex-direction:column;min-width:0;border:1px solid #6c7e9e;border-radius:16px;background:#fff;position:relative}
.ioc-hero-compose-box:has(textarea:focus-visible){outline:2px solid var(--hero-primary);outline-offset:2px}
.ioc-hero-entry .ioc-hero-compose-box #ioc-hero-description{display:block;width:100%;height:88px;min-height:88px;max-height:88px;overflow-y:auto;resize:none;border:0;border-radius:16px;background:transparent;padding:.75rem 1rem .5rem;color:var(--hero-ink);font:inherit;line-height:1.6;box-sizing:border-box}
.ioc-hero-entry .ioc-hero-compose-box #ioc-hero-description:is(:focus,:focus-visible){outline:none;box-shadow:none}
.ioc-hero-entry [part~=promptActions]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--hero-control-gap,0px);margin:0;padding:0 var(--hero-editor-inset,8px) var(--hero-editor-inset,8px)}
.ioc-hero-entry>form button,.ioc-hero-entry>[part~=examplesRow] button{font:inherit;cursor:pointer;border:1px solid var(--hero-line);background:#fff;color:var(--hero-ink);border-radius:9px;min-height:44px;padding:.65rem .9rem;line-height:1.3;text-decoration:none!important}
.ioc-hero-entry>form button:hover,.ioc-hero-entry>[part~=examplesRow] button:hover{background:var(--hero-soft);text-decoration:none!important}
.ioc-hero-entry>form button:focus-visible,.ioc-hero-entry>[part~=examplesRow] button:focus-visible,.ioc-hero-entry>form a:focus-visible{outline:2px solid var(--hero-primary);outline-offset:3px}
.ioc-hero-entry>form [part~=submitButton]{display:grid;place-items:center;flex:none;width:var(--hero-target,44px);height:var(--hero-target,44px);min-height:var(--hero-target,44px);padding:0;border:0;border-radius:50%;background:var(--hero-primary);color:#fff;line-height:1}
.ioc-hero-entry>form [part~=submitButton] svg{display:block;width:var(--hero-editor-icon,22px);height:var(--hero-editor-icon,22px);margin:0;padding:0;transform:none}
.ioc-hero-entry>form [part~=submitButton][aria-busy=true]{opacity:1}
.ioc-hero-entry>form [part~=submitButton]:hover{background:var(--hero-hover);border-color:var(--hero-hover)}
.ioc-hero-entry>form button:disabled,.ioc-hero-entry>[part~=examplesRow] button:disabled{opacity:.55;cursor:not-allowed}
.ioc-hero-entry [part~=improveButton],.ioc-hero-entry [part~=undoPrompt]{display:inline-flex;align-items:center;gap:.25rem;border-color:transparent;background:transparent;font-size:.875rem;padding:.5rem 0;color:var(--hero-muted)}
.ioc-hero-entry [part~=improveButton]:hover,.ioc-hero-entry [part~=undoPrompt]:hover{background:transparent;color:var(--hero-hover)}
.ioc-hero-entry [part~=improveButton] svg{width:17px;height:17px}
.ioc-hero-entry svg{display:block;flex:none}
.ioc-hero-entry [part~=promptHistory]{position:relative}
.ioc-hero-entry [part~=historyMenu]{position:absolute;inset:auto 0 calc(100% + .5rem) auto;z-index:5;background:#fff;border:1px solid var(--hero-line);border-radius:10px;min-width:220px;padding:.4rem;box-shadow:0 8px 24px #0b1b5220}
.ioc-hero-entry [part~=historyItem]{display:block;width:100%;border:0;text-align:left}
.ioc-hero-entry [part~=examplesRow]{margin-top:calc(var(--hero-gap)/2);position:relative}
.ioc-hero-entry [part~=examples]{display:flex;gap:6px;align-items:center;overflow:visible;min-width:0}
.ioc-hero-entry [part~=exampleLabel]{font-size:.875rem;color:var(--hero-muted);white-space:nowrap;margin-right:.4rem}
.ioc-hero-entry [part~=exampleButton]{font-size:.875rem;white-space:nowrap;padding:.55rem .7rem;flex:none}
.ioc-hero-entry [part~=moreExamples]{display:inline-flex;align-items:center;justify-content:center;gap:.4rem}
.ioc-hero-entry [part~=extraExamples]{margin-top:.65rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem}
.ioc-hero-entry [part~=extraExamples] button{white-space:normal;text-align:left}
.ioc-hero-entry [part~=improveLimit],.ioc-hero-entry [part~=improveStatus],.ioc-hero-entry [part~=improveError],.ioc-hero-entry-status{font-size:.875rem;line-height:1.5;margin:.5rem 0 0!important;color:var(--hero-muted)}
.ioc-hero-entry [part~=improveError]{color:#922424}
.ioc-hero-entry [part~=improveLimit]:empty,.ioc-hero-entry [part~=improveStatus]:empty,.ioc-hero-entry-status:empty{display:none}
.ioc-hero-process{font-size:.875rem;line-height:1.6;color:var(--hero-muted);text-align:center;margin:1rem 0 0!important}

@media(max-width:480px){.ioc-hero-entry{border-radius:18px}.ioc-hero-entry [part~=promptActions]{gap:var(--hero-control-gap,0px)}.ioc-hero-entry [part~=exampleLabel]{display:none}.ioc-hero-entry [part~=improveButton]{font-size:.875rem}.ioc-hero-entry #ioc-hero-description{font-size:16px}.ioc-hero-entry [part~=examples]{flex-wrap:nowrap}}

body.ioc-homepage-v13 .ioc-shared-widget-code{max-width:960px;margin:12px auto 0!important;text-align:left}
body.ioc-hero-entry-in-view #ioc-project-chat .ioc-pc-launch{visibility:hidden;pointer-events:none}
.ioc-hero-reminder{--resume-ink:#0b1b52;--resume-muted:#526384;--resume-blue:#0066df;--resume-hover:#0056bd;--resume-paper:#fff;--resume-soft:#edf8ff;--resume-target:44px;--resume-space-1:4px;--resume-space-2:8px;--resume-space-3:12px;--resume-space-4:20px;--resume-radius:10px;--resume-type-title:16px;--resume-focus:2px;--resume-icon-small:16px;--resume-travel:12px;position:fixed;z-index:900;inset:30vh 20px auto auto;display:grid;grid-template-columns:minmax(0,1fr) var(--resume-target);gap:var(--resume-space-2);width:312px;max-width:calc(100% - 24px);box-sizing:border-box;padding:var(--resume-space-2);background:var(--resume-paper);border-radius:16px;box-shadow:0 8px 32px rgb(11 27 82 / .14);color:var(--resume-ink);font:400 14px/1.5 IOCInter,Inter,sans-serif;animation:ioc-resume-enter 240ms cubic-bezier(0,0,.2,1) both}
.ioc-hero-reminder[hidden]{display:none!important}
.ioc-hero-reminder button{font:inherit;text-decoration:none!important;cursor:pointer}
.ioc-hero-reminder-copy,.ioc-hero-reminder-symbol{display:none}
.ioc-hero-reminder-dismiss{grid-column:2;grid-row:1;align-self:start;display:grid;place-items:center;width:var(--resume-target);height:var(--resume-target);padding:0;border:0;border-radius:var(--resume-radius);background:transparent;color:var(--resume-muted)}
.ioc-hero-reminder-dismiss:hover{background:var(--resume-soft);color:var(--resume-ink)}
.ioc-hero-reminder-actions{--resume-action-inset:16px;grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:var(--resume-space-2);min-width:0;width:100%}
.ioc-hero-reminder-resume{display:flex;align-items:center;justify-content:space-between;gap:var(--resume-space-2);min-height:var(--resume-target);width:100%;box-sizing:border-box;padding:var(--resume-space-2) var(--resume-action-inset);border:0;border-radius:8px;background:transparent;color:var(--resume-blue);font-weight:650!important;text-align:left}
.ioc-hero-reminder-resume>span{min-width:0;overflow-wrap:anywhere}
.ioc-hero-reminder-resume[hidden]{display:none!important}
.ioc-hero-reminder-resume:hover{background:var(--resume-soft);color:var(--resume-hover)}
.ioc-hero-reminder-prototype{background:var(--resume-blue);color:var(--resume-paper)}
.ioc-hero-reminder-prototype:hover{background:var(--resume-hover);color:var(--resume-paper)}
.ioc-hero-reminder svg{display:block;flex:none}
.ioc-hero-reminder button:focus-visible{outline:var(--resume-focus) solid var(--resume-blue);outline-offset:var(--resume-focus)}
@keyframes ioc-resume-enter{from{opacity:0;transform:translateX(var(--resume-space-3))}to{opacity:1;transform:translateX(0)}}
@media(max-width:1599px){.ioc-hero-reminder{inset-block-start:auto;inset-block-end:max(var(--resume-space-4),env(safe-area-inset-bottom))}}
@media(max-width:767px){.ioc-hero-reminder{inset-inline-end:var(--resume-space-3);font-size:13px}.ioc-hero-reminder-resume{gap:var(--resume-space-2)}.ioc-hero-reminder-resume svg{width:var(--resume-type-title);height:var(--resume-type-title)}}
.ioc-hero-reminder[data-repositioned=true]{inset-block-start:var(--resume-adjust-top);inset-block-end:auto}
@media(prefers-reduced-motion:reduce){.ioc-hero-reminder{animation:none}}

@media(max-width:1599px){body.ioc-hero-reminder-visible #ioc-project-chat .ioc-pc-launch{visibility:hidden;pointer-events:none}}

/* The startup field stays stable on focus; conversation sizing is independent. */
.ioc-hero-input-tools{display:flex;flex:none;align-items:center;gap:var(--hero-control-gap,0px);margin:0}
.ioc-hero-entry>form .ioc-hero-input-tools button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;color:var(--hero-ink);background:transparent}
.ioc-hero-entry>form .ioc-hero-input-tools button:hover{background:var(--hero-soft)}
.ioc-hero-input-tools svg{width:var(--hero-editor-icon,24px);height:var(--hero-editor-icon,24px)}
.ioc-hero-chat-dock[hidden]{display:none!important}
.ioc-hero-entry.ioc-hero-active{padding:0}
.ioc-hero-active>h2,.ioc-hero-active>.ioc-hero-entry-intro,.ioc-hero-active>form,.ioc-hero-active>[part~=examplesRow],.ioc-hero-active>.ioc-hero-entry-status{display:none!important}
.ioc-hero-chat-dock{height:var(--hero-chat-height, min(760px,calc(100dvh - 32px)));min-height:0;width:100%;scroll-margin-block:16px}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline{display:block;height:100%;width:100%;min-height:0;position:relative}
#ioc-project-chat.ioc-pc-hero-owned>.ioc-pc-launch{display:none!important}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline #ioc-pc-dialog{position:relative;inset:auto;width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;border-radius:23px;box-shadow:none;animation:none;box-sizing:border-box}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline #ioc-pc-dialog[open]{display:flex;flex-direction:column}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-header{flex:none;padding:10px 16px}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-header h2{font-size:20px!important;line-height:1.3!important}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-reading-shell{flex:1;min-height:0}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-controls{
  flex:none;
  padding:8px 12px;
  --pc-composer-expanded:clamp(var(--pc-target-minimum),calc(var(--hero-chat-height,760px) - 220px),120px);
}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-nav{flex:none}
.ioc-hero-chat-improve,.ioc-hero-chat-improve-feedback{display:none}
#ioc-project-chat .ioc-hero-opening{display:flex;align-items:center;gap:8px;color:var(--pc-muted);font-size:14px;margin:8px 0;padding:0;border:0}
#ioc-project-chat .ioc-hero-chat-improve[hidden],#ioc-project-chat .ioc-hero-chat-improve-feedback[hidden]{display:none!important}
#ioc-project-chat.ioc-pc-hero-owned:not(.ioc-pc-workspace) .ioc-hero-chat-improve{display:flex;align-items:center;justify-content:flex-end;gap:8px}
#ioc-project-chat.ioc-pc-hero-owned:not(.ioc-pc-workspace) .ioc-hero-chat-improve-feedback{display:block}
#ioc-project-chat .ioc-hero-chat-improve [part~=improveButton],#ioc-project-chat .ioc-hero-chat-improve [part~=undoPrompt]{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:4px 6px;font-size:13px;line-height:1.3;font-weight:500;color:var(--pc-muted);border:0;background:transparent;text-decoration:none}
#ioc-project-chat .ioc-hero-chat-improve button:hover:not(:disabled){color:var(--pc-blue)}
#ioc-project-chat .ioc-hero-chat-improve svg{display:block;width:16px;height:16px;flex:none}
#ioc-project-chat .ioc-hero-chat-improve-feedback p{font-size:13px;line-height:1.4;margin:0 0 4px;padding:0}
#ioc-project-chat .ioc-hero-chat-improve-feedback p:empty{display:none}
#ioc-project-chat .ioc-hero-chat-improve [part~=promptHistory]{position:relative}
#ioc-project-chat .ioc-hero-chat-improve [part~=historyMenu]{position:absolute;inset:auto 0 100% auto;z-index:5;min-width:220px;background:#fff;border:1px solid var(--pc-line);border-radius:10px;padding:4px;box-shadow:0 8px 24px #0b1b5220}
#ioc-project-chat .ioc-hero-chat-improve [part~=historyItem]{display:block;width:100%;padding:10px;text-align:left;font-size:13px}
#ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-composer button[part~=submitButton]{padding:0}
@media(max-width:767px){
 .ioc-hero-entry>form [part~=promptActions]{gap:var(--hero-control-gap,0px)}
 .ioc-hero-entry>form [part~=improveButton]{font-size:13px}
 .ioc-hero-entry>form [part~=submitButton]{flex:none;margin:0;padding:0}
 #ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-header h2{font-size:16px!important}
 #ioc-design-entry #ioc-project-chat.ioc-pc-inline .ioc-pc-nav :is(a,button){font-size:12px;padding:6px 4px}
 #ioc-project-chat.ioc-pc-hero-owned .ioc-hero-chat-improve :is([part~=improveButton],[part~=undoPrompt]){min-height:44px}
}
@media(min-width:768px) and (max-height:800px){
 body.ioc-homepage-v13 .ioc-hero h1{font-size:clamp(36px,4.5vw,60px)!important}
 .ioc-hero-entry{padding:16px}
 body.ioc-homepage-v13 #ioc-design-entry>h2{font-size:22px!important;margin-bottom:4px!important}
 .ioc-hero-entry-intro{font-size:16px;line-height:1.5}
 .ioc-hero-entry [part~=exampleLabel]{display:none}
 .ioc-hero-entry .ioc-hero-compose-box #ioc-hero-description{height:72px;min-height:72px;max-height:72px}
}
@media(max-width:767px){
 body.ioc-homepage-v13 .ioc-hero{padding-top:16px!important}
 body.ioc-homepage-v13 #ioc-design-entry>h2{line-height:1.2;margin-bottom:4px!important}
 .ioc-hero-entry-intro{font-size:16px;line-height:1.5;margin-bottom:8px!important}
}

/* Narrow fields retain comfortable targets and expose text labels to assistive technology. */
@media(max-width:600px){
 .ioc-hero-entry>form [part~=improveButton],.ioc-hero-entry>form [part~=undoPrompt]{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0}
 .ioc-hero-entry>form [part~=improveButton]>span,.ioc-hero-entry>form [part~=undoPrompt]>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .ioc-hero-entry>form [part~=promptActions]{flex-wrap:nowrap}
 .ioc-hero-entry [part~=historyMenu]{min-width:180px;max-width:calc(100vw - 48px)}
}
@media(max-width:380px){
 .ioc-hero-entry>form [part~=promptActions]:has([part~=promptHistory]:not([hidden])){flex-wrap:wrap}
 .ioc-hero-entry>form [part~=promptHistory]:not([hidden]){flex-basis:100%}
}
