﻿/* Generated global compatibility bundle. */
/* === user-avatar-fallback.css === */
.user-initials-avatar{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e9b949,#9a6714);color:#071426;font-size:15px;font-weight:800;letter-spacing:.02em;box-shadow:0 0 0 2px rgba(233,185,73,.2)}.user-initials-avatar.is-brand{font-size:9px;letter-spacing:0}

/* === users-sms-fix.css === */
.modal-layer{z-index:120}.directory-dialog [type="submit"]:disabled{opacity:.6;cursor:wait}

/* === editor-spacing-fix.css === */
/* Shared spacing for every HTML editor and its rendered output. */
.editor-surface,.contract-editor-surface{white-space:normal;overflow-wrap:anywhere}
.editor-surface>p,.editor-surface>div,.contract-editor-surface>p,.contract-editor-surface>div{display:block;min-height:1.65em;margin:.65em 0!important;line-height:1.95}
.editor-surface>p:first-child,.editor-surface>div:first-child,.contract-editor-surface>p:first-child,.contract-editor-surface>div:first-child{margin-top:0!important}
.editor-surface>p:last-child,.editor-surface>div:last-child,.contract-editor-surface>p:last-child,.contract-editor-surface>div:last-child{margin-bottom:0!important}
.editor-surface p:empty,.editor-surface div:empty,.contract-editor-surface p:empty,.contract-editor-surface div:empty,.editor-surface p:has(>br:only-child),.editor-surface div:has(>br:only-child),.contract-editor-surface p:has(>br:only-child),.contract-editor-surface div:has(>br:only-child){display:block;min-height:1.65em}
.editor-surface br,.contract-editor-surface br{content:""}
.rendered-rich-content>p,.rendered-rich-content>div,.contract-preview-body>p,.contract-preview-body>div{display:block;min-height:1.5em;margin:.7em 0;line-height:2}
.rendered-rich-content>p:first-child,.rendered-rich-content>div:first-child,.contract-preview-body>p:first-child,.contract-preview-body>div:first-child{margin-top:0}
.rendered-rich-content>p:last-child,.rendered-rich-content>div:last-child,.contract-preview-body>p:last-child,.contract-preview-body>div:last-child{margin-bottom:0}
.rendered-rich-content p:empty,.rendered-rich-content div:empty,.contract-preview-body p:empty,.contract-preview-body div:empty,.rendered-rich-content p:has(>br:only-child),.rendered-rich-content div:has(>br:only-child),.contract-preview-body p:has(>br:only-child),.contract-preview-body div:has(>br:only-child){display:block;min-height:1.5em}
.editor-surface h1,.contract-editor-surface h1,.rendered-rich-content h1,.contract-preview-body h1{font-size:2em;line-height:1.55}
.editor-surface h2,.contract-editor-surface h2,.rendered-rich-content h2,.contract-preview-body h2{font-size:1.65em;line-height:1.6}
.editor-surface h3,.contract-editor-surface h3,.rendered-rich-content h3,.contract-preview-body h3{font-size:1.4em;line-height:1.65}
.editor-surface h4,.contract-editor-surface h4,.rendered-rich-content h4,.contract-preview-body h4{font-size:1.2em;line-height:1.7}
.editor-surface h5,.contract-editor-surface h5,.rendered-rich-content h5,.contract-preview-body h5{font-size:1.05em;line-height:1.75}
.editor-font-size-9{font-size:9px!important}.editor-font-size-10{font-size:10px!important}.editor-font-size-11{font-size:11px!important}.editor-font-size-12{font-size:12px!important}.editor-font-size-13{font-size:13px!important}.editor-font-size-14{font-size:14px!important}.editor-font-size-15{font-size:15px!important}.editor-font-size-16{font-size:16px!important}.editor-font-size-17{font-size:17px!important}.editor-font-size-18{font-size:18px!important}.editor-font-size-19{font-size:19px!important}.editor-font-size-20{font-size:20px!important}
body .app-shell .editor-sized-text{font-size:var(--editor-font-size)!important}

/* === post-media-viewer-fit.css === */
.post-media-viewer{
    width:100dvw;
    height:100dvh;
    box-sizing:border-box;
    grid-template-rows:minmax(0,1fr);
    overflow:hidden;
    overscroll-behavior:contain;
}
.post-media-stage{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    max-width:calc(100dvw - 24px);
    max-height:calc(100dvh - 86px);
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}
.post-media-stage>img,
.post-media-stage>video{
    display:block;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center;
    margin:auto!important;
}
@media (max-width:480px){
    .post-media-viewer{padding:58px 8px 10px}
    .post-media-stage{max-width:calc(100dvw - 16px);max-height:calc(100dvh - 68px)}
    .post-media-close{top:calc(8px + env(safe-area-inset-top));left:8px}
}
.public-post-back{
    width:max-content;
    min-height:40px;
    margin:0 0 12px auto;
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:7px;
    background:#091a2f;
    color:var(--gold-light);
    display:flex;
    align-items:center;
    gap:7px;
    font-size:13px;
}
.public-post-back svg{width:18px;height:18px}

/* === social-delivery-admin.css === */
.social-status-buttons{display:flex;align-items:center;gap:7px;min-width:max-content;direction:rtl}
.social-status-button{position:relative;width:34px;height:34px;padding:0;border:1px solid currentColor;border-radius:8px;display:grid;place-items:center;cursor:pointer;box-shadow:inset 0 0 12px rgba(255,255,255,.025)}
.social-status-button>b{font:700 12px/1 Vazirmatn,Tahoma,sans-serif;direction:ltr}
.social-status-button.status-sent{color:#50dfa0;background:rgba(25,112,75,.28)}
.social-status-button.status-sending{color:#62b8ff;background:rgba(28,90,145,.3)}
.social-status-button.status-pending{color:#ffbd55;background:rgba(145,88,18,.32)}
.social-status-button.status-retry{color:#cf9cff;background:rgba(97,48,143,.32)}
.social-status-button.status-stopped{color:#ff7676;background:rgba(135,34,44,.32)}
.social-status-button.status-cancelled{color:#9ba9ba;background:rgba(77,89,104,.3)}
.social-status-button.status-none{color:#74859a;background:rgba(55,69,86,.24)}
.social-status-tooltip{position:absolute;z-index:80;right:50%;bottom:calc(100% + 8px);width:max-content;max-width:210px;padding:7px 9px;border:1px solid rgba(233,185,73,.45);border-radius:7px;background:#020b17;color:#dce5ef;font-size:11px;line-height:1.7;text-align:right;white-space:normal;transform:translateX(50%) translateY(5px);opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 10px 28px #000b;transition:.16s}
.social-status-tooltip strong{display:block;color:var(--gold-light);font-size:12px}.social-status-tooltip small{display:block;max-width:190px;color:#ff9999;overflow-wrap:anywhere}.social-status-tooltip.is-open{opacity:1;visibility:visible;transform:translateX(50%) translateY(0)}
.post-visibility{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border-radius:6px;font-size:12px}.post-visibility.is-visible{color:#50dfa0;background:rgba(25,112,75,.24);border:1px solid rgba(80,223,160,.35)}.post-visibility.is-hidden{color:#ffbd55;background:rgba(145,88,18,.25);border:1px solid rgba(255,189,85,.34)}
.post-row-actions form{display:inline-flex;margin:0}.post-row-actions .post-approve-action{color:#50dfa0;border-color:rgba(80,223,160,.48);background:rgba(25,112,75,.24)}.post-row-actions .post-hide-action{color:#ffbd55;border-color:rgba(255,189,85,.45);background:rgba(145,88,18,.24)}
.post-approval-note{min-height:46px;margin:12px 0 0;padding:9px 11px;border:1px solid rgba(233,185,73,.3);border-radius:7px;background:rgba(145,88,18,.12);color:#d8e1ec;display:flex;align-items:center;gap:8px;font-size:13px}.post-approval-note svg{width:19px;color:var(--gold)}
.social-status-buttons{gap:6px}.social-network-item{display:flex;align-items:stretch;gap:0;border:1px solid rgba(148,163,184,.32);border-radius:8px;background:#07172a}.social-network-item form{display:inline-flex;margin:0}.social-network-item .social-status-button{width:auto;min-width:48px;padding:0 8px;border:0;border-radius:7px}.social-status-button>b{font-size:11px;direction:rtl}.social-send-button{width:30px;height:34px;padding:0;border:0;border-right:1px solid rgba(148,163,184,.28);border-radius:7px 0 0 7px;background:rgba(28,90,145,.22);color:#72c1ff;display:grid;place-items:center;cursor:pointer}.social-send-button svg{width:15px;height:15px}.social-send-button:hover{background:rgba(28,90,145,.42);color:#a4d8ff}.social-send-button:disabled{opacity:.38;cursor:not-allowed}
.post-thumb-cell{position:relative;width:46px;height:46px;display:grid;place-items:center}.post-thumb-cell>img{width:46px;height:46px}.post-featured-star{position:absolute;top:-5px;right:-5px;width:18px!important;height:18px!important;padding:3px;border-radius:50%;background:#d99b27;color:#241704;fill:#d99b27;filter:drop-shadow(0 2px 4px #000b)}

/* === wallet-drag.css === */
.wallet-slider,.wallet-slider *{-webkit-user-select:none;user-select:none}.wallet-slider{cursor:grab;touch-action:pan-y;overscroll-behavior-x:contain}.wallet-slider.is-mouse-dragging{cursor:grabbing;scroll-snap-type:none}.wallet-slider.is-mouse-dragging *{pointer-events:none}

/* === unified-form-controls.css === */
/* کنترل یکپارچه دراپ‌داون‌ها؛ برای تمام صفحات فعلی و آینده */
.app-shell select:not([multiple]),.app-shell .ui-select{width:100%;min-width:0;height:48px;min-height:48px;padding:0 14px 0 42px;border:1px solid #29445f;border-radius:9px;background-color:#0a2038;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e9b949' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 13px center;background-size:17px 17px;color:#f5f8fc;color-scheme:dark;font-family:inherit!important;font-size:var(--font-body,15px)!important;font-weight:500;line-height:1.6;text-align:right;appearance:none;-webkit-appearance:none;cursor:pointer;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.app-shell select:not([multiple]):hover,.app-shell .ui-select:hover{border-color:#496984;background-color:#0c243f}.app-shell select:not([multiple]):focus,.app-shell .ui-select:focus{border-color:var(--gold,#e9b949);box-shadow:0 0 0 3px rgba(233,185,73,.13)}.app-shell select:not([multiple]):disabled,.app-shell .ui-select:disabled{opacity:.55;cursor:not-allowed}.app-shell select option,.app-shell select optgroup{background:#0a2038;color:#f5f8fc;font-family:inherit!important;font-size:15px!important;font-weight:500}.app-shell select option:checked{background:#c98a20;color:#151006}.app-shell .select-field-with-icon select{background-image:none}

/* === modal-system.css === */
/* Shared visual contract for close buttons across every modal implementation. */
.app-modal-close{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid #9d3641!important;border-radius:9px!important;background:#4b1821!important;color:#ff7b86!important;display:grid!important;place-items:center!important;box-shadow:0 5px 15px #0005!important;line-height:1!important;transition:background .18s,color .18s,border-color .18s!important}
.app-modal-close>svg{width:21px!important;height:21px!important;pointer-events:none}
.app-modal-close:hover{border-color:#d64b59!important;background:#6b1d29!important;color:#fff!important}
.app-modal-close:focus-visible{outline:2px solid #ff7b86!important;outline-offset:2px}

/* === percent-input.css === */
.percent-input-module{position:relative;display:block;width:100%;min-width:0}
.percent-input-module>input{padding-inline-end:2.35rem!important}
.percent-input-unit{position:absolute;inset-inline-end:.8rem;inset-block:0;display:grid;place-items:center;color:var(--gold,#e7b532);font-weight:900;pointer-events:none}
.participation-project-form-grid>.project-capital-field{grid-column:span 3}
.participation-project-form-grid>.project-percent-field{grid-column:span 2}
.participation-project-form-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.participation-project-form-grid>.project-capital-field>span:first-child{white-space:nowrap}
@media(max-width:430px){.participation-project-form-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.participation-project-form-grid>.project-capital-field{grid-column:span 3}.participation-project-form-grid>.project-percent-field{grid-column:span 2}.participation-project-form-grid>.wide{grid-column:1/-1}}

/* === operation-colors.css === */
.row-actions,.table-actions,.project-row-actions{isolation:isolate}
.row-actions :is(a,button),.table-actions :is(a,button),.project-row-actions :is(a,button){position:relative;display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #36516c;border-radius:7px;background:#0b2038;color:#dce8f4;transition:border-color .18s,background .18s,color .18s,transform .18s}
.row-actions :is(a,button):hover,.table-actions :is(a,button):hover,.project-row-actions :is(a,button):hover{transform:translateY(-1px)}
.row-actions :is(a,button) svg,.table-actions :is(a,button) svg,.project-row-actions :is(a,button) svg{display:block;width:18px;height:18px;stroke:currentColor}
.row-actions .op-edit,.table-actions .op-edit,.project-row-actions .op-edit{color:#69b9ff;border-color:#2878b7;background:#0b3150}
.row-actions .op-update,.table-actions .op-update,.project-row-actions .op-update{color:#c79bff;border-color:#7650a5;background:#2a1e43}
.row-actions .op-status,.table-actions .op-status,.project-row-actions .op-status{color:#ffb75e;border-color:#a9631d;background:#3a2612}
.row-actions .op-view,.table-actions .op-view,.project-row-actions .op-view{color:#66d8e8;border-color:#278493;background:#10343a}
.row-actions .op-message,.table-actions .op-message,.project-row-actions .op-message{color:#e69cff;border-color:#8e4aa5;background:#351b40}
.row-actions .op-approve,.table-actions .op-approve,.project-row-actions .op-approve{color:#55e5a0;border-color:#27885c;background:#103b2a}
.row-actions .op-delete,.table-actions .op-delete,.project-row-actions .op-delete{color:#ff7c88;border-color:#a42e3b;background:#451721}
.row-actions .op-download,.table-actions .op-download,.project-row-actions .op-download{color:#73d3ff;border-color:#297b9e;background:#103147}
.row-actions [data-update-open],.table-actions [data-update-open],.project-row-actions [data-update-open]{color:#c79bff!important;border-color:#7650a5!important;background:#2a1e43!important}.row-actions [data-status-open],.table-actions [data-status-open],.project-row-actions [data-status-open]{color:#ffb75e!important;border-color:#a9631d!important;background:#3a2612!important}.row-actions :is(.danger,[data-user-delete],[data-wallet-delete],[data-unit-delete],[data-role-delete],[data-post-delete]),.table-actions :is(.danger,[data-user-delete],[data-wallet-delete],[data-unit-delete],[data-role-delete],[data-post-delete]),.project-row-actions :is(.danger,[data-user-delete],[data-wallet-delete],[data-unit-delete],[data-role-delete],[data-post-delete]){color:#ff7c88!important;border-color:#a42e3b!important;background:#451721!important}
.global-operation-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(340px,calc(100vw - 24px));padding:8px 11px;border:1px solid #c89225;border-radius:7px;background:#061526;color:#fff;font:600 var(--font-small,12px)/1.7 Vazirmatn,Tahoma,sans-serif;text-align:right;white-space:normal;overflow-wrap:anywhere;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,-6px);transition:opacity .12s,transform .12s;box-shadow:0 8px 24px #000b}
.global-operation-tooltip.is-visible{opacity:1;visibility:visible;transform:translate(-50%,-10px)}
@media(hover:none){.global-operation-tooltip{max-width:calc(100vw - 28px)}}

/* === admin-toolbar-system.css === */
/* Canonical actions shown above management lists. */
.admin-heading .primary-compact:not(.secondary),
.heading-actions .primary-compact,
.admin-actions .primary-compact:not(.secondary){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
 min-width:max-content!important;height:44px!important;padding:0 15px!important;
 border:1px solid #f3cf72!important;border-radius:8px!important;
 background:linear-gradient(135deg,#f4cf68,#c4861d)!important;
 color:#1b1205!important;font-weight:800!important;
 box-shadow:0 7px 17px rgba(185,126,26,.2)!important;
}
.admin-heading .primary-compact:not(.secondary) :is(span,svg),
.heading-actions .primary-compact :is(span,svg),
.admin-actions .primary-compact:not(.secondary) :is(span,svg){color:#1b1205!important;stroke:currentColor!important}
.admin-heading .primary-compact.secondary,
.admin-heading-actions .primary-compact.secondary,
.heading-actions [data-category-open],
.admin-actions .secondary-button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
 min-width:max-content!important;height:44px!important;padding:0 14px!important;
 border:1px solid #c89225!important;border-radius:8px!important;
 background:#0b2137!important;color:#f2c650!important;font-weight:750!important;
 box-shadow:none!important;
}
.admin-heading .primary-compact.secondary :is(span,svg),
.admin-heading-actions .primary-compact.secondary :is(span,svg),
.heading-actions [data-category-open] :is(span,svg),
.admin-actions .secondary-button :is(span,svg){color:#f2c650!important;stroke:currentColor!important}
.admin-heading-actions,.heading-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
@media(max-width:430px){.admin-heading{align-items:flex-start!important;gap:10px!important}.admin-heading-actions,.heading-actions{justify-content:flex-end!important}.admin-heading .primary-compact,.heading-actions>*{height:42px!important;padding-inline:11px!important}}

/* === list-system.css === */
.unified-list-stage{
 display:block!important;width:100%!important;min-width:100%!important;max-width:none!important;
}
.unified-list-stage>.unified-list-table{
 width:100%!important;
}
.table-wrap tbody tr:only-child>td[colspan],
.responsive-table tbody tr:only-child>td[colspan],
.directory-table-wrap tbody tr:only-child>td[colspan],
.finance-table-wrap tbody tr:only-child>td[colspan],
.admin-list-page tbody tr:only-child>td[colspan],
.report-page tbody tr:only-child>td[colspan],
.insurance-page tbody tr:only-child>td[colspan]{
 width:100%!important;height:82px!important;padding:20px!important;text-align:center!important;vertical-align:middle!important;
 color:#aebfd0!important;background:rgba(8,29,50,.55)!important;font-weight:650!important;
 white-space:normal!important;
}
.empty-state{grid-column:1/-1!important;width:100%!important;min-height:82px!important;padding:20px!important;border:1px dashed #31506d!important;border-radius:10px!important;background:rgba(8,29,50,.55)!important;color:#aebfd0!important;text-align:center!important;place-items:center!important;align-content:center!important;justify-content:center!important}
@media(max-width:600px){.table-wrap tbody tr:only-child>td[colspan],.responsive-table tbody tr:only-child>td[colspan],.directory-table-wrap tbody tr:only-child>td[colspan],.finance-table-wrap tbody tr:only-child>td[colspan]{height:72px!important;padding:16px!important}}
.posts-loader{display:flex;align-items:center;justify-content:center;gap:9px;min-height:72px;color:#aebfd0}.posts-loader[hidden]{display:none!important}.posts-loader svg{width:22px;height:22px;color:#e9b949;animation:publicContentSpin .8s linear infinite}@keyframes publicContentSpin{to{transform:rotate(360deg)}}

/* === service-video-upload.css === */
.service-video-preview{width:100%;display:grid;gap:.5rem;min-width:0}
.service-video-preview[hidden]{display:none!important}
.service-video-preview video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;object-fit:contain;background:#020b17;border:1px solid var(--line);border-radius:10px}
.service-video-state{display:block;min-height:1.4em;color:#72dca9;text-align:center}
.service-edit-dialog .upload-progress-layer{position:fixed!important;z-index:2147483647!important;inset:0!important}
.service-edit-dialog .modal-layer{position:fixed!important;z-index:2147483647!important;inset:0!important}

/* === participation-cards.css === */
/* Shared participation counters and project states across home, services and lists. */
.service-catalog-card.has-project-count{position:relative!important;overflow:hidden!important;padding-bottom:31px!important}
.service-catalog-card.has-project-count .service-project-count{position:absolute!important;inset-inline:0!important;inset-block-end:0!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:100%!important;min-height:25px!important;margin:0!important;padding:3px 4px!important;border-top:1px solid rgba(239,187,57,.7)!important;background:linear-gradient(90deg,#5d3d08,#9b6a10,#5d3d08)!important;color:#ffe39b!important;font-size:var(--font-small,.72rem)!important;font-weight:800!important;line-height:1.35!important;white-space:nowrap!important}
.service-catalog-card.has-project-count .service-project-count b{color:#fff2bf!important;font:inherit!important}
.service-catalog-card.has-project-count .service-project-count span{display:inline!important;color:inherit!important;font:inherit!important}
.participation-stats .participation-capital{flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;text-align:center!important}
.participation-stats .participation-capital b{display:block!important;width:100%!important;text-align:center!important;white-space:nowrap!important}
.participation-card{position:relative!important;border-width:1px!important;border-style:solid!important}
.participation-card.is-active{border-color:#35c987!important;background:linear-gradient(180deg,#0a263b 0%,#092337 100%)!important;box-shadow:0 0 0 1px rgba(53,201,135,.28),0 0 15px rgba(32,190,120,.32),inset 0 0 15px rgba(35,134,91,.12)!important}
.participation-card.is-ended{border-color:#d06079!important;background:linear-gradient(180deg,#182337 0%,#152031 100%)!important;box-shadow:0 0 0 1px rgba(208,96,121,.25),0 0 15px rgba(190,61,91,.3),inset 0 0 15px rgba(122,40,65,.13)!important;opacity:.96}
.participation-card .participation-cover{position:relative!important;flex:0 0 112px!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;overflow:hidden!important;background:#061526!important}
.participation-card .participation-cover>img{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
.participation-card .participation-status{position:absolute!important;top:7px!important;left:7px!important;z-index:4!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:25px!important;padding:3px 9px!important;border:1px solid currentColor!important;border-radius:20px!important;font-size:var(--font-small,.72rem)!important;font-weight:800!important;line-height:1.3!important}
.participation-card.is-active .participation-status{background:#125c3f!important;color:#caffdf!important}
.participation-card.is-ended .participation-status{background:#542635!important;color:#ffd8e1!important}
.participation-project-grid .participation-card{display:flex!important;flex-direction:column!important;height:318px!important;min-width:0!important;overflow:hidden!important}
.participation-project-grid .participation-card-body{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important}
.participation-project-grid .participation-card-body>p{display:-webkit-box!important;height:auto!important;max-height:44px!important;overflow:hidden!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.participation-project-grid .participation-progress{margin-top:auto!important}
.participation-view-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-height:31px!important;margin-top:8px!important;border-radius:7px!important;font-size:var(--font-small,.72rem)!important;font-weight:800!important;line-height:1.3!important}
.participation-view-button svg{width:15px!important;height:15px!important}
.participation-card.is-active .participation-view-button{border:1px solid #2d986b!important;background:#133f32!important;color:#d7ffea!important}
.participation-card.is-ended .participation-view-button{border:1px solid #6e4b55!important;background:#30232c!important;color:#f1d8df!important}
.home-participation-rail{display:flex!important;direction:rtl!important;gap:10px!important;width:100%!important;margin-top:8px!important;padding-bottom:5px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;transform:none!important}
.home-participation-rail>.participation-card{direction:rtl!important;flex:0 0 176px!important;width:176px!important;scroll-snap-align:start!important;transform:none}
.home-participation-rail::-webkit-scrollbar{height:3px}.home-participation-rail::-webkit-scrollbar-thumb{background:#e9b94966;border-radius:10px}
.participation-card .participation-progress{display:block!important;flex:0 0 9px!important;width:100%!important;height:9px!important;min-height:9px!important;margin:12px 0 10px!important;border:1px solid #6f5524!important;border-radius:10px!important;background:#020811!important;box-shadow:inset 0 1px 4px #000,0 0 0 1px rgba(233,185,73,.08)!important;overflow:hidden!important}
.participation-card .participation-progress>span{display:block!important;height:100%!important;min-width:3px!important;border-radius:inherit!important;background:linear-gradient(90deg,#d3941f,#ffe184)!important;box-shadow:0 0 9px rgba(255,207,83,.72)!important}
.participation-capacity-help{display:block;margin-top:7px;padding:8px 10px;border:1px solid rgba(233,185,73,.4);border-radius:7px;background:rgba(233,185,73,.08);color:#dce5ef!important;line-height:1.8}.participation-capacity-help b{color:#ffd56b}.participation-capacity-help.is-error{border-color:#ff7676;background:rgba(255,118,118,.1);color:#ffd7d7!important}
.app-shell .identity-unified-form .input-wrap:has(>select){display:flex!important;align-items:center!important;height:56px!important;padding:0!important;overflow:hidden!important}.app-shell .identity-unified-form .input-wrap>select{display:block!important;width:100%!important;height:54px!important;min-height:54px!important;margin:0!important;padding:0 14px 0 42px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important}.app-shell .identity-unified-form .input-wrap>select:hover,.app-shell .identity-unified-form .input-wrap>select:focus{border:0!important;background-color:transparent!important;box-shadow:none!important}

/* === admin-cover-preview.css === */
/* Compact previews for wide 16:9 admin covers; stored image dimensions stay unchanged. */
@media (min-width:700px){
  .post-editor-page .post-cover-module,
  .participation-project-form-grid .project-cover-module{
    width:min(100%,560px)!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    margin-inline:auto!important;
    margin-bottom:18px!important;
  }

  .post-editor-page .post-cover,
  .participation-project-form-grid .project-cover-picker{
    width:100%!important;
    height:100%!important;
    aspect-ratio:16/9!important;
  }

  .participation-project-form-grid .project-image-field>span{
    text-align:center!important;
  }
}

/* === checkbox-system.css === */
input[type="checkbox"]:not([hidden]){
 -webkit-appearance:none!important;appearance:none!important;
 position:relative!important;inset:auto!important;display:inline-block!important;
 flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;
 height:25px!important;min-height:25px!important;max-height:25px!important;
 margin:0!important;padding:0!important;border:1px solid #607287!important;border-radius:999px!important;
 background-color:#42536a!important;
 background-image:radial-gradient(circle at calc(100% - 12px) 50%,#fff 0 8.5px,transparent 9px)!important;
 background-repeat:no-repeat!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.25)!important;
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;cursor:pointer!important;
 vertical-align:middle!important;transition:background-color .2s,border-color .2s,box-shadow .2s!important;
 accent-color:auto!important;
}
input[type="checkbox"]:not([hidden]):checked{
 border-color:#e1a62c!important;background-color:#c89022!important;
 background-image:radial-gradient(circle at 12px 50%,#fff 0 8.5px,transparent 9px)!important;
 box-shadow:inset 0 2px 5px rgba(87,51,0,.25),0 0 0 1px rgba(238,185,63,.13)!important;
}
input[type="checkbox"]:not([hidden]):indeterminate{
 border-color:#e1a62c!important;background-color:#9c7526!important;
 background-image:radial-gradient(circle at 50% 50%,#fff 0 8.5px,transparent 9px)!important;
}
input[type="checkbox"]:not([hidden]):focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(233,185,73,.22)!important}
input[type="checkbox"]:not([hidden]):disabled{opacity:.48!important;cursor:not-allowed!important;filter:saturate(.55)}
.analysis-notify-toggle{grid-template-columns:auto 1fr!important}.analysis-notify-toggle>span{display:none!important}.analysis-notify-toggle>input[type="checkbox"]{grid-row:1/3!important;align-self:center!important}
.toggle-row input[type="checkbox"],.permission-node input[type="checkbox"],.post-featured-option>input[type="checkbox"],.contract-consent input[type="checkbox"],.service-active-toggle input[type="checkbox"]{flex-basis:46px!important;width:46px!important;height:25px!important}

/* Post cover delete is an icon-only destructive action pinned inside the image corner. */
.post-cover-module{position:relative!important}
.post-cover-module>.post-cover-remove{position:absolute!important;z-index:12!important;top:8px!important;left:8px!important;right:auto!important;bottom:auto!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:0!important;border:1px solid #ff6672!important;border-radius:8px!important;background:#721c28!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 5px 14px #0008!important}
.post-cover-module>.post-cover-remove:hover{background:#9b2331!important}
.post-cover-module>.post-cover-remove[hidden]{display:none!important}
.post-cover-module>.post-cover-remove svg{width:19px!important;height:19px!important;color:#fff!important}

/* Keep title posters for image-less posts inside their thumbnail cells even when Vite CSS is stale. */
.post-topic-poster{box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;overflow:hidden!important;background:linear-gradient(145deg,#102d4b,#061526)!important;color:#f3cb64!important;text-align:center!important}
.post-topic-poster>svg{width:25px!important;height:25px!important;flex:0 0 auto!important;color:#e9b949!important}
.post-topic-poster>b{display:-webkit-box!important;max-width:100%!important;margin:0!important;overflow:hidden!important;font-size:11px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important}
.post-thumb-cell{overflow:hidden!important}
.post-thumb-cell>.post-topic-poster.is-compact{width:46px!important;height:46px!important;padding:3px!important;gap:1px!important;border-radius:7px!important}
.post-thumb-cell>.post-topic-poster.is-compact>svg{width:12px!important;height:12px!important}
.post-thumb-cell>.post-topic-poster.is-compact>b{font-size:6px!important;line-height:1.25!important;-webkit-line-clamp:3!important}

/* === list-action-icons.css === */
/* List and table operations are icon-only across the application. */
body .app-shell :is(.row-actions,.project-row-actions,.table-actions,.category-order-inline)>:is(a,button),
body .app-shell :is(a,button).table-view-button{
 display:inline-grid!important;place-items:center!important;flex:0 0 38px!important;
 width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;
 padding:0!important;gap:0!important;font-size:0!important;line-height:0!important;white-space:nowrap!important;
}
body .app-shell :is(.row-actions,.project-row-actions,.table-actions,.category-order-inline)>:is(a,button)>span,
body .app-shell :is(a,button).table-view-button>span{display:none!important}
body .app-shell :is(.row-actions,.project-row-actions,.table-actions,.category-order-inline)>:is(a,button)>svg,
body .app-shell :is(a,button).table-view-button>svg{display:block!important;width:18px!important;height:18px!important;margin:0!important}
body .app-shell :is(.row-actions,.project-row-actions,.table-actions){align-items:center!important;justify-content:center!important;gap:6px!important}

/* === rendered-rich-content.css === */
.rendered-rich-content{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.rendered-rich-content>*{max-width:100%}
.rendered-rich-content p,.rendered-rich-content li,.rendered-rich-content h1,.rendered-rich-content h2,.rendered-rich-content h3,.rendered-rich-content h4,.rendered-rich-content h5,.rendered-rich-content h6,.rendered-rich-content a{overflow-wrap:anywhere}
.rendered-rich-content img,.rendered-rich-content video,.rendered-rich-content audio,.rendered-rich-content iframe{display:block;max-width:100%;height:auto;margin-inline:auto}
.rendered-rich-content iframe{width:100%;aspect-ratio:16/9}
.rendered-rich-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;-webkit-overflow-scrolling:touch}
.rendered-rich-content pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
.rendered-rich-content ul,.rendered-rich-content ol{max-width:100%;padding-inline-start:1.5em}
.rendered-rich-content blockquote{max-width:100%;margin-inline:0}

/* === shared-list-semantics.css === */
body .app-shell .status-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 9px;border:1px solid #315a75;border-radius:999px;background:#102a3e;color:#a9d9ef;font-weight:700;line-height:1.4}
body .app-shell .status-chip.status-success,body .app-shell .status-chip.active{border-color:#27885c!important;background:#103b2a!important;color:#65e7a8!important}
body .app-shell .status-chip.status-pending{border-color:#9a681e!important;background:#3b2a12!important;color:#f2bf59!important}
body .app-shell .status-chip.status-rejected,body .app-shell .status-chip.is-rejected{border-color:#a42e3b!important;background:#451721!important;color:#ff8e99!important}
body .app-shell .status-chip.status-inactive,body .app-shell .status-chip.inactive{border-color:#59697a!important;background:#202b36!important;color:#aebbc8!important}
body .app-shell .status-chip.status-info{border-color:#347493!important;background:#102f43!important;color:#83d0ee!important}
body .app-shell :is(.row-actions,.table-actions,.project-row-actions) .op-view{color:#66d8e8!important;border-color:#278493!important;background:#10343a!important}
body .app-shell :is(.row-actions,.table-actions,.project-row-actions) .op-edit{color:#f2c65d!important;border-color:#9c731e!important;background:#382b12!important}
body .app-shell :is(.row-actions,.table-actions,.project-row-actions) .op-approve{color:#55e5a0!important;border-color:#27885c!important;background:#103b2a!important}
body .app-shell :is(.row-actions,.table-actions,.project-row-actions) .op-delete{color:#ff7c88!important;border-color:#a42e3b!important;background:#451721!important}
body .app-shell :is(.row-actions,.table-actions,.project-row-actions) .op-download{color:#ad9cff!important;border-color:#6758a3!important;background:#292348!important}

