/* P11: scoped clients and financial confirmation; no changes to other forms. */
.mint-clients { color: #192c2b; font: 16px/1.5 Manrope, "Segoe UI", sans-serif; }
.mint-clients [hidden] { display: none !important; }
.mint-clients button, .mint-clients input, .mint-clients select { font: inherit; min-height: 44px; border: 1px solid #c9d8d4; border-radius: 10px; background: #fff; padding: 10px 14px; color: #192c2b; }
.mint-clients button { cursor: pointer; font-size: 14px; font-weight: 700; }
.mint-clients button:hover:not(:disabled) { background: #e9f9f1; }
.mint-clients button:disabled { opacity: .5; cursor: not-allowed; }
.mint-clients :focus-visible { outline: 3px solid #287a61; outline-offset: 3px; }
.mint-clients label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; min-width: 0; }
.mint-clients input, .mint-clients select { width: 100%; max-width: 100%; font-size: 16px; font-weight: 400; }
.mint-clients .mc-primary, .mint-clients .client-history-open { background: #48dfad; border-color: #48dfad; color: #173e31; }
.mint-clients .mc-primary:hover, .mint-clients .client-history-open:hover { background: #3ad09f; }
#view-clients .mc-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
#view-clients h2, #client-adjustment h2 { font: 750 22px/1.3 Manrope,"Segoe UI",sans-serif; margin: 0; letter-spacing: -.4px; }
#view-clients .mc-heading p { margin: 6px 0 0; color: #596c74; font-size: 15px; }
#view-clients .mc-surface { border: 1px solid #dce5e5; border-radius: 16px; background: #fff; overflow: hidden; }
#view-clients .mc-filters { display: grid; grid-template-columns: minmax(180px,1.7fr) minmax(130px,1fr) minmax(160px,1fr) auto; gap: 12px; align-items: end; padding: 22px 24px 12px; }
#client-filter-summary { padding: 0 24px 16px; margin: 0; color: #596c74; font-size: 14px; }
#view-clients .client-list { display: grid; gap: 0; }
#view-clients .client-row { display: grid; grid-template-columns: minmax(220px,1.5fr) minmax(210px,1fr) 180px; gap: 24px; align-items: center; border: 0; border-top: 1px solid #dce5e5; border-radius: 0; box-shadow: none; background: #fff; padding: 20px 24px; overflow: visible; }
#view-clients .client-identity { display: flex; justify-content: flex-start; align-items: flex-start; gap: 12px; min-width: 0; }
#view-clients .client-identity > div { min-width: 0; }
#view-clients .client-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #ecf3f1; color: #42665b; }
#view-clients .client-identity h3 { font: 700 16px/1.45 Manrope,"Segoe UI",sans-serif; text-transform: none; margin: 0; overflow-wrap: anywhere; }
#view-clients .client-identity p { margin: 5px 0 0; color: #596c74; font-size: 14px; }
#view-clients .client-tier-chip { display: block; width: fit-content; background: #e9faf3; color: #276d58; padding: 3px 8px; border: 0; border-radius: 6px; font-size: 14px; }
#view-clients .client-balances { display: grid; grid-template-columns: 1fr; gap: 10px; min-width: 0; }
#view-clients .client-balances span { display: block; color: #596c74; font-size: 14px; }
#view-clients .client-balances strong { display: block; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
#view-clients .client-actions { display: grid; gap: 8px; }
#view-clients .client-actions button { width: 100%; }
#view-clients .client-extra summary { cursor: pointer; min-height: 44px; align-content: center; color: #276d58; font-size: 14px; }
#view-clients .mc-scope { font-size: 14px; color: #596c74; padding: 16px 24px; margin: 0; border-top: 1px solid #dce5e5; background: #fafcfc; }
.mint-clients .mc-empty { text-align: center; padding: 36px 24px; }
.mint-clients .mc-empty h3 { font-size: 18px; margin: 0; }
.mint-clients .mc-empty p { margin: 10px 0 18px; color: #596c74; }
.mint-clients .mc-message { border: 1px solid #e7b0a5; border-radius: 10px; background: #fff3f0; color: #893f30; padding: 16px; margin: 16px; font-size: 14px; overflow-wrap: anywhere; }
.mint-clients .mc-message p { margin: 8px 0 14px; }
html:has(#client-adjustment[open]) { overflow: hidden; }
#client-adjustment { padding: 0; width: min(620px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid #d2dfdc; border-radius: 18px; background: #fff; box-shadow: 0 24px 100px #142c2b35; }
#client-adjustment[open] { display: flex; flex-direction: column; }
#client-adjustment::backdrop { background: #172c3180; backdrop-filter: blur(3px); }
#client-adjustment .mc-dialog-head { display: flex; justify-content: space-between; gap: 18px; padding: 20px; border-bottom: 1px solid #dce5e5; flex: none; }
#client-adjustment .mc-dialog-head p { font-size: 14px; color: #596c74; margin: 0 0 6px; }
#client-adjustment #client-adjust-close { flex: none; padding: 0; width: 44px; height: 44px; font-size: 26px; }
#client-adjustment .mc-dialog-body { overflow: auto; min-height: 0; padding: 20px; overscroll-behavior: contain; }
#client-adjustment .mc-context { background: #f1f8f4; border: 1px solid #c8e0d5; border-radius: 10px; padding: 14px; margin-bottom: 18px; overflow-wrap: anywhere; }
#client-adjustment .mc-context p { margin: 4px 0 0; color: #596c74; font-size: 14px; }
#client-adjust-form { display: grid; gap: 16px; }
#client-adjust-form > p { color: #596c74; font-size: 14px; margin: 0; }
#client-adjustment .mc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#client-adjustment dl { margin: 0 0 18px; }
#client-adjustment dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-bottom: 1px solid #dce5e5; padding: 12px 0; }
#client-adjustment dt { color: #596c74; font-size: 14px; }
#client-adjustment dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
#client-adjustment .mc-warning { background: #fffae8; border: 1px solid #e4d9ac; color: #705b1f; padding: 12px; border-radius: 10px; font-size: 14px; }
#client-adjustment .mc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
#client-adjustment .mc-message { margin: 16px 0; }
#client-adjustment .mc-result { padding: 16px; border: 1px solid #c8e0d5; background: #f1f8f4; border-radius: 10px; font-size: 16px; overflow-wrap: anywhere; }
@media (max-width: 1200px) { #view-clients .mc-filters { grid-template-columns: 1fr 1fr; } #view-clients .mc-filters > label:first-child { grid-column: 1/-1; } #view-clients .client-row { grid-template-columns: minmax(0,1fr) 180px; } #view-clients .client-identity { grid-column: 1/-1; } }
@media (max-width: 760px) { #view-clients .client-row { grid-template-columns: minmax(0,1fr) !important; padding: 20px 16px; } #view-clients .mc-filters { padding: 20px 16px 12px; } #view-clients .client-balances { grid-template-columns: 1fr 1fr; } #view-clients .mc-scope { padding: 16px; } #view-clients .mc-heading { align-items: flex-start; } }
@media (max-width: 480px) { #view-clients .mc-filters, #view-clients .client-balances, #client-adjustment .mc-two, #client-adjustment dl > div { grid-template-columns: minmax(0,1fr); } #view-clients .mc-heading { flex-direction: column; gap: 12px; } #client-adjustment .mc-actions { display: grid; } #client-adjustment dd { text-align: left; } #client-adjustment h2 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .mint-clients *, .mint-clients *::before, .mint-clients *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
