/* Ibnalarabi.com Stage 6: static scholarly editions + optional account pilot.
   Opt-in styles only. Established #005500, ivory and gold remain unchanged. */
.ia6-static-source{min-width:0;max-width:100%;font-size:1em;overflow-wrap:anywhere}
.ia6-static-source :is(.page,div[dir="rtl"]){max-width:100%;width:auto!important;box-sizing:border-box}
.ia6-static-source p{margin-block:0 1em;line-height:2.2;white-space:normal}
.ia6-static-source h1,.ia6-static-source h2,.ia6-static-source h3{line-height:1.85;margin-block:1.15em .65em}
.ia6-static-source h1[style*="blue"],.ia6-static-source h2[style*="blue"]{color:#165335!important}
.ia6-static-source img,.ia6-static-source svg,.ia6-static-source video,.ia6-static-source iframe{max-width:100%;height:auto}
.ia6-static-source img[style*="float:"],.ia6-static-source img[align]{max-width:min(60%,380px)}
.ia6-static-source :is(table,pre){max-width:100%;overflow-x:auto}
.ia6-static-source table{display:block;border-collapse:collapse;margin-block:1.5rem;scrollbar-width:thin}
.ia6-static-source :is(td,th){min-width:0;max-width:100%;padding:7px 10px;overflow-wrap:anywhere}
.ia6-static-source :is(div,table,p)[style*="width:"]{max-width:100%!important}
.ia6-static-source a{color:#16643a;text-underline-offset:3px}
.ia6-static-source a:hover{text-decoration:underline}
.ia6-static-source hr{border:0;border-block-start:1px solid #e1e8d8;max-width:100%;margin:1.5rem 0}
.ia6-static-actions{display:flex;flex-wrap:wrap;gap:9px;padding-bottom:17px;margin-bottom:26px;border-bottom:1px solid #e8eadf}
.ia6-static-actions a{font-size:.84rem!important;font-weight:750;border:1px solid #dce6d6;padding:8px 12px;border-radius:8px;background:#f4f8ef;color:#285939!important}
.ia6-book-note{background:#faf7ed;border-inline-start:3px solid #ba9b5e;margin-block:42px 8px!important;padding:13px 17px;font-size:.85rem;color:#6b603f;line-height:1.9!important}
.ia6-auth-area{min-height:48vh;padding:clamp(20px,5vw,52px) 0 95px;background:linear-gradient(180deg,#f5f8f2,#fffdf8)}
.ia6-auth-card{width:min(680px,100%);margin-inline:auto;border:1px solid #dfe8d9;background:#fffefa;padding:clamp(21px,5vw,39px);box-shadow:0 13px 40px rgba(13,54,28,.08);border-radius:17px}
.ia6-auth-kicker{font-size:.78rem;letter-spacing:.05em;color:#ad8b49;font-weight:800}
.ia6-auth-card h1{font-size:clamp(1.65rem,3.2vw,2.3rem);color:#124c2e;line-height:1.5;margin-block:8px 15px}
.ia6-auth-card>p{color:#607765;line-height:1.9;font-size:.93rem}
.ia6-form{display:grid;gap:15px;margin-block:24px}
.ia6-field{display:grid;gap:6px;min-width:0}
.ia6-field label{font-size:.9rem;font-weight:750;color:#215638}
.ia6-field input,.ia6-field textarea{width:100%;max-width:100%;border:1px solid #cbdcca;background:#fff;min-height:49px;border-radius:9px;padding:11px 14px;color:#1d4330;font:inherit}
.ia6-field textarea{min-height:140px;resize:vertical;line-height:1.8}
.ia6-field input:focus,.ia6-field textarea:focus{outline:3px solid #d7e8c8;outline-offset:2px;border-color:#418458}
.ia6-field small{font-size:.78rem;color:#768775;line-height:1.6}
.ia6-form button,.ia6-button{border:0;border-radius:9px;min-height:47px;padding:11px 22px;background:#005500;color:white;font-weight:850;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;cursor:pointer}
.ia6-form button:hover,.ia6-button:hover{background:#217b44;color:white}
.ia6-form button:disabled{opacity:.5;cursor:not-allowed}
.ia6-quiet-links{display:flex;flex-wrap:wrap;gap:9px 18px;padding-top:18px;margin-top:25px;border-top:1px solid #e1ebde;font-size:.84rem}
.ia6-quiet-links a{color:#126034;text-decoration:underline}
.ia6-auth-msg{border-radius:9px;padding:13px 16px;font-size:.87rem;line-height:1.75;margin-block:12px 20px;background:#eff7eb;border:1px solid #d5e7cd;color:#245333}
.ia6-auth-msg--warn{background:#fff5e5;border-color:#e7d1a6;color:#795b32}
.ia6-auth-alert{border-inline-start:3px solid #aa884d;background:#fbf7eb;color:#705e41;padding:12px 16px;margin-top:15px!important}
.ia6-profile-head{display:flex;align-items:center;gap:23px;flex-wrap:wrap;margin:25px 0}
.ia6-avatar{height:88px;width:88px;border-radius:50%;object-fit:cover;border:3px solid #e4ead9}
.ia6-profile-meta{font-size:.87rem;color:#637565}
.ia6-auth-card .ia6-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;color:#274b35;line-height:1.9}
@media(max-width:600px){.ia6-static-source img[style*="float:"],.ia6-static-source img[align]{float:none!important;display:block;margin-inline:auto!important;max-width:100%}.ia6-static-source table{font-size:.88em}.ia6-static-actions{gap:6px}.ia6-auth-area{padding-block:24px 65px}.ia6-auth-card{border-radius:11px}}
@media print{.ia6-static-actions,.ia6-book-note,.ia6-auth-area{display:none!important}.ia6-static-source{color:black!important}.ia6-static-source table{display:table!important}.ia6-static-source a{text-decoration:none}}
.ia6-comments-list{display:grid;gap:14px;margin-block:22px}
.ia6-comment{padding:18px;border:1px solid #dbe6d5;border-radius:11px;background:#fffefa}
.ia6-comment header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:#205d37;font-size:.86rem;margin-bottom:8px}
.ia6-comment time{font-size:.77rem;color:#8a926e}
.ia6-comment p,.ia6-comments-empty{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;color:#274636;font-size:.95rem}
