/* The hero, composer, sidebar, gallery and responsive header use the studio stylesheets. */
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font:15px -apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body [hidden]{display:none!important}
.ig-studio .acct{display:flex;align-items:center;gap:10px}
.acct .av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700}
.acct a,.acct span{color:#356042}
.cardhist{display:flex;flex-direction:column;gap:4px}
.cardhist .empty{color:#8a9382;font-size:12px;padding:4px 10px}
.school-history-item{display:block;text-align:left;width:100%;padding:6px 10px;background:transparent;border:0;border-radius:8px;color:#52624b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.school-history-item:hover{background:#e2e7dc}
.school-settings,.school-login{width:min(470px,calc(100% - 28px));max-height:90dvh;overflow:auto}
.school-settings label{display:grid;gap:5px;margin:13px 0;font-size:14px}
.school-settings input:not([type=checkbox]),.school-settings select,.school-settings textarea{width:100%;font:inherit;color:inherit;padding:10px 12px;border:1px solid #d0d9cd;background:#fafbf8;border-radius:10px}
.school-settings label.school-check{display:flex;align-items:center;gap:8px}
.school-login #loginIntro,.school-login #maxQuickStatus{margin:14px 0}
.school-login #maxQuickOpen{background:#7045c7;color:white}
.ig-studio-status[data-error=true]{color:#9f423a}

/* The studio stylesheet supplies the same card-building animation as Infographics.
   These base shapes and keyframes normally come from the Infographics chat shell. */
.genskel{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden}
.genskel .ph{position:absolute;border-radius:9px}
.gsk-title{left:12%;right:12%}.gsk-prod{left:17%;right:17%;border-radius:16px}
.gsk-b{width:22%}.gsk-b1{left:9%}.gsk-b2{left:39%}.gsk-b3{left:69%}
.gsk-tag{position:absolute;border:1px solid;border-radius:99px;font-weight:700}
.gsk-shim{position:absolute;inset:0;transform:translateX(-100%);animation:gshim 2.8s ease-in-out infinite}
.genbar{border-radius:99px;overflow:hidden}.genbar i{display:block;width:38%;height:100%;border-radius:99px;animation:gbar 2.6s ease-in-out infinite}
@keyframes gshim{to{transform:translateX(100%)}}
@keyframes gbar{from{margin-left:-40%}to{margin-left:100%}}
.ig-studio.has-conversation .ig-create{display:flex;flex-direction:column;height:calc(100dvh - var(--school-head,145px));min-height:420px}
.ig-studio.has-conversation .ig-studio-thread{flex:1;min-height:96px;overflow:hidden}
.ig-studio.has-conversation .chat{height:100%;min-height:0}
.ig-conversation-bar,.ig-compose-dock{flex-shrink:0}
.ig-studio-thread .msg{display:flex;padding:6px 0}
.ig-studio-thread .msg.user{justify-content:flex-end}
.ig-studio-thread .bubble{white-space:pre-wrap;overflow-wrap:anywhere}
.ig-studio-thread .msg.bot .content{width:100%}
.school-reply{margin:0 0 8px;font-weight:600}
.school-attachment{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;min-height:62px;padding:12px 16px;margin:6px 0;background:#fff;border:1px solid #cddcc5;border-radius:14px;color:#27432d;text-decoration:none}
.school-attachment:hover,.school-attachment:focus-visible{background:#eff5e9;border-color:#829c76}
.school-file-format{padding:7px 8px;border-radius:6px;background:#f9e8df;color:#9a451e;font-weight:700;font-size:11px}
.school-attachment[data-format="docx"] .school-file-format{background:#e5effa;color:#335b8c}
.school-file-name{min-width:0;overflow-wrap:anywhere;font-weight:600}
.school-file-action{font-size:17px;margin-left:auto}
.school-expiry{color:#67735f;font-size:12px}
.school-history-item[aria-current="true"]{background:#e1e8d8}
.school-mode{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:9px 12px;border-top:1px solid #e3e9df;font-size:13px;color:#425444}
.school-mode .ig-quick-select{max-width:100%}
.school-mode .ig-text-link,.school-pro-terms .ig-text-link{font-size:13px;white-space:nowrap}
.school-headline-detail{margin:9px auto 0;color:#354e3d;font-size:clamp(15px,2vw,20px);font-weight:650;line-height:1.32}
.school-use-cases{display:grid;gap:.35em}
.school-upload{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;background:#edf5ed;border:1px solid #cfdfd0;border-radius:13px;padding:7px;margin:0 0 10px;color:#36513a;font-size:13px}
.school-upload-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:7px 12px;border:0;border-radius:9px;background:#2e5b42;color:#fff;font:inherit;font-weight:650;cursor:pointer}
.school-upload-button:hover,.school-upload-button:focus-visible{background:#214831}
.school-upload-button svg{width:18px;height:18px}
#sourceHint{flex:1 1 220px}
.school-selected-source{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;flex-basis:100%;padding:3px 5px 0}
#sourceName{min-width:0;overflow-wrap:anywhere}
.school-pro-terms{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:8px 0;padding:9px 12px;border:1px solid #d4e4d7;border-radius:12px;background:#eef6ef;font-size:13px;color:#294e3a}
.school-pro-terms span{flex:1 1 200px}
.school-gallery{scroll-margin-top:calc(var(--school-head,140px) + 18px)}
.school-gallery .ig-feed-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.school-example-link{display:block;text-decoration:none;border-radius:17px}
.school-example-link:hover .ig-feed-use,.school-example-link:focus-visible .ig-feed-use{opacity:1}
.school-gallery .ig-feed-image{aspect-ratio:1;background:#edf3ec}
.school-gallery .ig-feed-image img{object-fit:contain}
.school-gallery .ig-feed-caption{display:grid;gap:4px}
.school-solution{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:12px 16px;margin-bottom:8px;background:#fff;border:1px solid #cddcc5;border-radius:12px}
@media(max-width:1100px){.school-gallery .ig-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#schoolMain .ig-quick-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}
@media(max-width:600px){
  #schoolMain .ig-quick-options{display:grid;flex:0 0 100%;max-width:none}
  #schoolMain .ig-quick-options .ig-quick-select{padding-inline:10px 24px}
  #schoolMain #topic{min-height:88px}
  #schoolMain .ig-create-intro{margin-bottom:17px}
  .school-upload{padding:7px 8px;font-size:12px}
}
@media(max-width:420px){.school-mode{padding:8px}.school-pro-terms{font-size:12px}}
@media(max-width:600px){.ig-studio.has-conversation .ig-promo-ozonradar{display:none}.ig-studio.has-conversation .ig-studio-head{position:sticky;top:0}.school-attachment{gap:8px;padding:10px}.school-expiry{font-size:11px}}
