.osm-page,.osm-home,.osm-access,.osm-account-links { color:var(--os-ink,#17243b); font-family:inherit; line-height:1.9; }
.osm-page *,.osm-home *,.osm-access *,.osm-dialog * { box-sizing:border-box; }
.osm-page [hidden],.osm-home [hidden],.osm-access [hidden],.osm-dialog [hidden] { display:none !important; }
.osm-home { display:grid; grid-template-columns:1.15fr 1fr; gap:24px; padding:24px; margin-block:24px; border:1px solid var(--os-line,#d9e2ef); border-radius:9px; background:var(--os-cream,#f6f8fc); }
.osm-home h2 { margin:5px 0 10px; font-size:22px; line-height:1.7; }
.osm-home p { font-size:13px; margin:0 0 10px; }
.osm-kicker { color:var(--os-green,#2457d6); font-size:12px; font-weight:800; }
.osm-actions { display:flex; flex-wrap:wrap; gap:9px; align-items:center; }
.osm-actions a,.osm-actions button,.osm-button,.osm-verification button,.osm-dialog a,.osm-dialog button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 13px; border:1px solid var(--os-line,#d9e2ef); border-radius:6px; background:var(--os-card,#fff); color:var(--os-green-dark,#1948bb); font-family:inherit; font-size:13px; font-weight:700; line-height:1.7; text-decoration:none; cursor:pointer; }
.osm-actions button:disabled,.osm-dialog button:disabled { opacity:.65; cursor:not-allowed; }
.osm-page a,.osm-home a,.osm-account-links a { color:var(--os-green-dark,#1948bb); text-underline-offset:4px; }
.osm-ref-widget { min-width:0; padding:16px; background:var(--os-card,#fff); border-radius:7px; }
.osm-ref-widget progress { width:100%; height:12px; margin-bottom:12px; accent-color:#2457d6; }
.osm-ref-widget input { width:100%; margin-top:8px; padding:8px; direction:ltr; font-size:12px; }
.osm-access { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 16px; padding:12px 14px; margin-block:14px; border:1px solid var(--os-line,#d9e2ef); border-radius:7px; background:var(--os-card,#fff); }
.osm-access p { margin:0; font-size:13px; }
.osm-access .osm-actions a,.osm-access button { font-size:12px; }
.osm-access .osm-actions .osm-upgrade { gap:5px; padding-inline:20px; background:#2457d6; border-color:#2457d6; color:#fff; font-size:14px; font-weight:800; }
.osm-access .osm-actions .osm-upgrade:hover { background:#1948bb; border-color:#1948bb; color:#fff; }
.osm-access :is(a,button):focus-visible { outline:2px solid #2457d6; outline-offset:3px; }
@media(max-width:600px) {
 .osm-access { min-width:0; }
 .osm-access .osm-actions { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; }
 .osm-access .osm-actions .osm-upgrade { grid-column:1 / -1; min-height:46px; }
 .osm-access .osm-actions a,.osm-access .osm-actions button { white-space:normal; text-align:center; min-width:0; }
}
.osm-plans { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-block:24px; }
.osm-plans section,.osm-ai-list article { padding:22px; border:1px solid var(--os-line,#d9e2ef); border-radius:8px; background:var(--os-card,#fff); }
.osm-plans .osm-plan-premium { border-top:3px solid #2457d6; }
.osm-page h2 { font-size:22px; line-height:1.7; }
.osm-price { color:var(--os-green-dark,#1948bb); font-size:24px; font-weight:800; }
.osm-notice { padding:12px; background:var(--os-cream,#f6f8fc); border-inline-start:3px solid #8493ad; font-size:13px; }
.osm-page ul,.osm-page ol { padding-inline-start:22px; }
.osm-page td,.osm-page th { border-bottom:1px solid var(--os-line,#d9e2ef); padding:10px 6px; text-align:start; font-size:12px; }
.osm-history-wrap { overflow-x:auto; }
.osm-page table { width:100%; border-collapse:collapse; }
.osm-ai-list article { margin-bottom:12px; }
.osm-account-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:20px; }
.osm-account-links a { padding:10px; min-height:44px; }
.osm-dialog { width:min(500px,calc(100% - 28px)); max-height:85vh; overflow:auto; padding:22px; border:1px solid var(--os-line,#d9e2ef); border-radius:9px; background:var(--os-card,#fff); color:var(--os-ink,#17243b); direction:rtl; }
.osm-dialog::backdrop { background:rgba(12,24,42,.45); }
.osm-dialog h2 { font-size:21px; margin:0 0 12px; }
.osm-dialog p { font-size:14px; line-height:1.9; }
.osm-dialog .osm-close { float:left; min-width:44px; font-size:22px; margin-inline-start:8px; }
.osm-dialog .osm-actions { display:grid; grid-template-columns:1fr; }
.osm-invitation { position:relative; margin:14px auto; padding:14px; width:min(900px,calc(100% - 28px)); border:1px solid var(--os-line,#d9e2ef); background:var(--os-card,#fff); border-radius:7px; direction:rtl; }
.osm-invitation p { font-size:13px; }
.osm-ad { margin:40px auto; max-width:100%; overflow:hidden; clear:both; min-height:90px; }
.osm-ad > span { display:block; text-align:center; font-size:10px; color:var(--os-muted,#637187); }
.osm-ad-sidebar { display:none; }
@media(min-width:1600px) { .osm-ad-sidebar { display:block; width:160px; margin:40px auto; } }
.osm-page :is(a,button,input):focus-visible,.osm-home :is(a,button,input):focus-visible,.osm-dialog :is(a,button):focus-visible { outline:2px solid #2457d6; outline-offset:3px; }
@media(max-width:600px) { .osm-home,.osm-plans { grid-template-columns:1fr; gap:14px; } .osm-home { padding:16px; } .osm-home h2,.osm-page h2 { font-size:19px; } .osm-ref-widget { padding:12px; } .osm-access .osm-actions { gap:6px; } .osm-access .osm-actions a { padding-inline:8px; } .osm-page .osm-home { padding:0; border:0; background:none; } }
@media(prefers-reduced-motion:reduce) { .osm-dialog { scroll-behavior:auto; } }
@media print { .osm-access,.osm-home,.osm-account-links,.osm-ad,.osm-dialog,.osm-invitation { display:none !important; } }
