.linkedin-workspace { min-width:0; }
.linkedin-create,.linkedin-saved { padding:20px; min-width:0; }
.linkedin-saved { border-top:1px solid var(--line); }
.linkedin-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.linkedin-heading h2,.linkedin-heading h3 { margin:0; font-family:Chillax,Satoshi,sans-serif; font-size:18px; letter-spacing:0; }
.linkedin-actions,.linkedin-file-tools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.linkedin-new { display:inline-flex; align-items:center; gap:7px; min-height:36px; }
.linkedin-new img { width:18px; height:18px; }
.linkedin-tool { display:inline-grid; place-items:center; width:36px; height:36px; padding:8px; flex:0 0 36px; background:#fff; border-color:var(--line); color:var(--ink); }
.linkedin-tool img,.linkedin-upload img,.linkedin-generate img { width:18px; height:18px; }
.linkedin-tool:hover { border-color:var(--gold); background:#f5f5f5; }
.linkedin-tool:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.linkedin-tool[disabled],.linkedin-generate[disabled] { opacity:.55; cursor:default; }
.linkedin-upload { display:flex; align-items:center; justify-content:center; gap:8px; min-height:66px; width:100%; border:1px dashed var(--gold); background:#fafafa; color:var(--ink); margin-bottom:16px; }
.linkedin-label { display:grid; gap:8px; font-size:14px; font-weight:600; }
.linkedin-label textarea,.linkedin-result > textarea { width:100%; min-width:0; resize:vertical; font-weight:400; line-height:1.6; }
.linkedin-label textarea { min-height:145px; }
.linkedin-generate { display:flex; align-items:center; justify-content:center; gap:9px; min-height:44px; margin-top:14px; background:#161616; color:#fff; border-color:#161616; }
.linkedin-generate img { filter:invert(1); }
.linkedin-result { padding-top:22px; margin-top:22px; border-top:1px solid var(--line); }
.linkedin-result > textarea { min-height:290px; }
.linkedin-result-footer { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-top:12px; }
.linkedin-result-footer .linkedin-label { flex:1; max-width:460px; }
.linkedin-result-footer input { min-width:0; width:100%; }
[data-content-count] { white-space:nowrap; font-size:12px; color:var(--muted); padding-bottom:10px; }
.linkedin-file-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.linkedin-file { border:1px solid var(--line); border-radius:6px; display:grid; grid-template-columns:66px minmax(0,1fr); gap:10px; padding:10px; min-width:0; }
.linkedin-file-visual { width:66px; height:66px; background:#111; display:grid; place-items:center; overflow:hidden; }
.linkedin-file-visual > img { width:100%; height:100%; object-fit:contain; }
.linkedin-file-visual > img[src$="file-text.svg"] { width:28px; height:28px; filter:invert(1); }
.linkedin-file-info a { display:block; font-size:13px; color:var(--ink); text-decoration:underline; overflow-wrap:anywhere; }
.linkedin-file-info small { color:var(--muted); font-size:11px; }
.linkedin-file-info p { margin:5px 0 0; line-height:1.4; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.linkedin-file-tools { grid-column:2; }
.linkedin-file-preview { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:16px 0; margin-bottom:18px; }
.linkedin-pdf-pages { width:100%; height:480px; overflow:auto; padding:12px; border:1px solid var(--line); background:#eee; }
.linkedin-pdf-pages p { font-size:12px; }
.linkedin-pdf-pages canvas { display:block; max-width:100%; height:auto; margin:0 auto 16px; background:#fff; }
.linkedin-file-preview > img { display:block; max-width:100%; max-height:550px; object-fit:contain; }
.linkedin-file-preview pre { max-height:350px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:12px/1.5 monospace; background:#f5f5f5; padding:14px; }
.linkedin-error { color:var(--danger); overflow-wrap:anywhere; }
[data-content-message] p { margin:0 0 14px; font-size:13px; line-height:1.5; }
.linkedin-working,.linkedin-empty { color:var(--muted); font-size:13px; }
.linkedin-saved [type="search"] { max-width:260px; width:100%; }
.linkedin-saved-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:11px 0; border-top:1px solid var(--line); min-width:0; }
.linkedin-post-name { flex:1; min-width:120px; padding:0; border:0; background:transparent; color:var(--ink); text-align:left; overflow-wrap:anywhere; }
.linkedin-saved-row small { font-size:11px; color:var(--muted); }
.linkedin-drafts { margin-top:18px; }
.linkedin-drafts summary { cursor:pointer; font-size:13px; }
.linkedin-user-text { overflow-wrap:anywhere; }
.content-other { padding:24px; }
.content-other h2 { font-size:18px; margin-top:0; }
@media(max-width:900px) { .linkedin-file-list { grid-template-columns:1fr; } }
@media(max-width:600px) {
  .linkedin-create,.linkedin-saved { padding:15px; }
  .linkedin-generate { width:100%; }
  .linkedin-result-footer { flex-wrap:wrap; }
  .linkedin-result-footer .linkedin-label { flex-basis:100%; }
  .linkedin-saved-row .linkedin-post-name { flex-basis:100%; }
  .linkedin-saved-row .linkedin-actions { margin-left:auto; }
  .linkedin-pdf-pages { height:360px; }
}
