.instagram-admin-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:24px;margin-top:24px;align-items:start}
.instagram-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.instagram-section-heading h2{margin:0}
.instagram-post-list{display:grid;gap:8px;margin-top:18px;max-height:680px;overflow:auto}
.instagram-list-card{width:100%;display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;text-align:left;align-items:center;background:#f7f4ee;border:1px solid #d8ccba;padding:9px;color:#262523;font:inherit}
.instagram-list-card[aria-current=true]{border-color:#b4623f;box-shadow:inset 3px 0 #b4623f}
.instagram-list-card img,.instagram-list-placeholder{width:72px;height:72px;object-fit:cover;background:#d8ccba;display:grid;place-items:center;font-size:26px}
.instagram-list-card strong,.instagram-list-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.instagram-list-card small{font-size:13px;color:#655e55;margin-top:4px}
.instagram-state{color:#655e55;font-size:14px;margin:0 0 20px}
.instagram-error{color:#8f3529;background:#f9ece6;border-left:3px solid #b4623f;padding:10px 12px;margin:0 0 18px;font-size:14px}
.instagram-hint{display:block;color:#655e55;font-size:13px;margin:7px 0 16px}
#instagram-form{display:grid;gap:14px}
#instagram-form label{display:block}
#instagram-form textarea{display:block;width:100%;min-height:150px}
#instagram-form input[type=datetime-local],#instagram-form input[type=file]{display:block;width:100%;margin-top:6px}
.instagram-file-review:not(:empty){border-left:3px solid #b9844b;background:#fff7e9;color:#5e4b37;padding:10px 12px;font-size:13px;line-height:1.5}
.instagram-actions{display:flex;gap:12px}
.instagram-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:24px}
.instagram-media figure{margin:0;background:#f3efe8;border:1px solid #d8ccba}
.instagram-media img,.instagram-media video{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
.instagram-media figcaption{padding:8px 10px;font-size:13px}
@media(max-width:850px){.instagram-admin-layout{grid-template-columns:1fr}.instagram-post-list{max-height:320px}}
.instagram-connect-state{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border:1px solid #d8ccba;background:#f3efe8}
.instagram-connect-state.is-ready{border-color:#7f8a78;background:#edf0e9}
.instagram-connect-state strong{display:block}
.instagram-connect-state p{margin:4px 0 0;font-size:14px}
.instagram-insight-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}
.instagram-insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}
.instagram-insight-stat{display:grid;gap:10px}.instagram-insight-stat span{color:#655e55}.instagram-insight-stat strong{font-size:clamp(24px,3vw,34px)}
.instagram-insight-section{margin-top:32px}.instagram-insight-section h2{margin-top:0}
.instagram-insight-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:15px}.instagram-insight-heading .eyebrow{margin:0 0 4px}.instagram-insight-heading h2{margin:0;font-size:clamp(25px,3vw,34px)}.instagram-insight-heading>span{color:#655e55;font-size:13px;white-space:nowrap}
.instagram-insight-explain{max-width:72ch;margin:0 0 16px;color:#655e55;line-height:1.55}
.instagram-insight-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.instagram-advice-card{--advice-accent:#9a8d7e;display:flex;flex-direction:column;min-height:238px;border:1px solid #d9d2c9;border-top:5px solid var(--advice-accent);border-radius:10px;background:linear-gradient(150deg,#fff 54%,#f7f4ef 100%);padding:22px;box-shadow:0 10px 28px #2d25120b}
.instagram-advice-card.tone-attention{--advice-accent:#b84d3b;background:linear-gradient(150deg,#fff 50%,#fff2ed 100%)}.instagram-advice-card.tone-watch{--advice-accent:#bd8441;background:linear-gradient(150deg,#fff 50%,#fff7e9 100%)}.instagram-advice-card.tone-good{--advice-accent:#62836b;background:linear-gradient(150deg,#fff 50%,#eef6ee 100%)}
.instagram-advice-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.instagram-advice-index{color:#70675f;font-size:11px;font-weight:700;letter-spacing:.12em}.instagram-advice-badge{border:1px solid currentColor;border-radius:99px;color:var(--advice-accent);font-size:11px;font-weight:700;line-height:1;padding:7px 9px;white-space:nowrap}
.instagram-advice-card h3{margin:0 0 9px;font-size:clamp(18px,2vw,21px);line-height:1.22}.instagram-advice-card p{margin:0;color:#49423b;line-height:1.55}.instagram-advice-preview{margin:0 0 10px!important;color:#75675d!important;font-size:13px;overflow-wrap:anywhere}
.instagram-advice-media{margin:-4px 0 18px;background:#ece8e2;border-radius:6px;overflow:hidden;aspect-ratio:4/3}.instagram-advice-media a{display:block;width:100%;height:100%}.instagram-advice-media img{display:block;width:100%;height:100%;object-fit:cover}
.instagram-advice-action{display:grid;gap:5px;margin-top:auto;padding-top:18px}.instagram-advice-action strong{color:var(--advice-accent);font-size:12px}.instagram-advice-action span{line-height:1.5}.instagram-advice-link{align-self:flex-start;margin-top:14px;color:#9b4a31;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.instagram-insight-scroll{overflow:auto}.instagram-insight-scroll table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.instagram-insight-scroll th,.instagram-insight-scroll td{padding:10px 12px;border-bottom:1px solid #e5ded3}
@media(max-width:680px){.instagram-insight-toolbar{align-items:flex-start;flex-direction:column}.instagram-insight-notes{grid-template-columns:1fr}.instagram-advice-card{min-height:0}}
