body { font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; line-height: 1.6; }
.font-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace !important; }
.font-black, .font-extrabold { font-weight: 700 !important; }
.drop-hover { outline: 2px dashed #10b981; outline-offset: -4px; }
.dark .app-logo { background: #fff; border-radius: 12px; padding: 6px 10px; }
body.locked #app-shell { display: none; }
body:not(.locked) #auth-screen { display: none; }
.pod-ic { color: #6548C7; flex-shrink: 0; }
.dark .pod-ic { color: #AD75F4; }
.text-white .pod-ic, .text-white.pod-ic, .ic-inherit .pod-ic, .text-rose-600 .pod-ic, .text-rose-500 .pod-ic { color: currentColor; }
body.no-money .money { display: none !important; }
body.no-money .money-cell { display: none !important; }
body.no-pmoney .pmoney { display: none !important; }
[data-perm].hidden { display: none !important; }
.rounded-2xl { border-radius: 1.1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.fld { width: 100%; padding: .65rem .8rem; border-radius: .75rem; background: #fff; border: 1px solid #e2e8f0; font-size: .8rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.fld:focus { border-color: #6548C7; box-shadow: 0 0 0 3px rgba(101,72,199,.18); }
.fld::placeholder { color: #a0aec0; }
.dark .fld { background: #1C2340; border-color: #2A3155; color: #f1f5f9; }
.lbl { display: block; font-weight: 700; margin-bottom: .4rem; color: #475569; }
.dark .lbl { color: #cbd5e1; }
.att { display: flex; align-items: center; gap: .4rem; padding: 0 .8rem; border-radius: .75rem; border: 1px solid #e2e8f0; background: #f8fafc; font-weight: 700; cursor: pointer; white-space: nowrap; }
.dark .att { border-color: #2A3155; background: #1C2340; }
#toast-wrap > div { animation: toastIn .25s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cloud-problem { position: fixed; z-index: 180; inset-inline: 16px; bottom: max(16px, env(safe-area-inset-bottom)); margin-inline: auto; max-width: 620px; padding: 18px 20px; background: #fff; color: #131932; border: 1px solid #F2B949; border-radius: 16px; box-shadow: 0 12px 50px #13193230; font-size: 14px; }
.cloud-problem > p:first-child { font-weight: 700; }
.cloud-problem-note { color: #616473; font-size: 12px; margin-block: 6px 12px; }
.cloud-problem-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud-problem-actions button { background: #F3F0FC; color: #553AB0; padding: 10px 14px; border-radius: 9px; font-weight: 600; min-height: 44px; }
.dark .cloud-problem { background: #141A33; color: #f1f5f9; }
.dark .cloud-problem-note { color: #C9C5DA; }
#save-status[data-status="saved"] { color: #07845c; }
#save-status[data-status="error"], #save-status[data-status="conflict"] { color: #b45309; }
