.ml-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);gap:24px;align-items:start}.ml-layout>section,.ml-layout aside>.card{padding:28px!important}.ml-layout aside{display:grid;gap:20px;min-width:0}.ml-layout h2{margin:0 0 8px}.ml-section-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px}.ml-section-head p{color:var(--ds-muted,#5b5b63);margin:0;line-height:1.5}.ml-number{background:#e6f1f0;color:#175c5b;border-radius:12px;min-width:42px;height:42px;display:grid;place-items:center;font-weight:800}.ml-layout .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ml-layout label:has([name=subject]),.ml-layout label:has([name=signature]),.ml-layout label:has([name=greeting]),.ml-layout label:has(textarea){grid-column:1/-1}.ml-layout input,.ml-layout select,.ml-layout textarea{max-width:100%;box-sizing:border-box}.ml-layout textarea{min-height:380px;line-height:1.65!important}.ml-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.ml-toolbar button,.ml-layout button{min-height:44px}.ml-note{background:var(--ds-soft,#f0f5f5);border-radius:12px;padding:16px;line-height:1.6;color:var(--ds-secondary,#42545c);font-size:14px}.ml-clients{max-height:400px;overflow:auto;border:1px solid var(--ds-line,#e4e4e7);border-radius:14px;margin:12px 0 20px;padding:8px}.ml-client{display:flex!important;gap:12px;align-items:center;padding:12px!important;min-height:52px;border-bottom:1px solid var(--ds-line,#e4e4e7);margin:0!important;cursor:pointer}.ml-client:last-child{border-bottom:0}.ml-client>input{width:18px!important;height:18px!important;flex:0 0 18px}.ml-client>span{min-width:0;display:grid;gap:4px}.ml-client small{font-size:12px;overflow-wrap:anywhere;color:var(--ds-muted,#5b5b63)}.ml-client:has(input:disabled){opacity:.65;cursor:default}.ml-recipient-review{padding:0;list-style:none;max-height:320px;overflow:auto}.ml-recipient-review li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--ds-line,#e4e4e7);flex-wrap:wrap;overflow-wrap:anywhere}.ml-mail-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--ds-line,#e4e4e7)}.ml-mail-row>div{min-width:0;overflow-wrap:anywhere}.ml-mail-row p{margin:8px 0}.ml-mail-row small{color:var(--ds-muted,#5b5b63)}.ml-uplift-link{margin-top:24px;padding-top:24px;border-top:1px solid var(--ds-line,#e4e4e7)}.ml-pdf-dialog{width:min(1000px,94vw);max-width:94vw;max-height:94vh;box-sizing:border-box;padding:24px;border:1px solid #e4e4e7;border-radius:18px;background:var(--ds-surface,#fff);color:var(--ds-text,#18181b)}.ml-pdf-dialog::backdrop{background:#10182088}.ml-pdf-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.ml-pdf-dialog header button{width:44px;height:44px}.ml-pdf-dialog h2{margin:0;font-size:22px}
@media(max-width:1000px){.ml-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.ml-layout>section,.ml-layout aside>.card{padding:20px!important}.ml-layout .grid{grid-template-columns:minmax(0,1fr)}.ml-mail-row{align-items:flex-start;flex-direction:column}.ml-toolbar{gap:8px}.ml-toolbar button{flex:1 1 140px}}
html[data-design=review] #app .ml-layout .card,html[data-design=review] #app .ml-layout>section{border-radius:20px!important}html[data-design=review] #app .ml-layout button,html[data-design=review] #app :is(#ml-confirm,#ml-mail-history) button{min-height:44px!important;border-radius:12px!important}html[data-design=review] #app .ml-layout :is(input:not([type=checkbox]),select){min-height:44px!important;border-radius:10px!important}
.ml-products{padding:20px 0;border-top:1px solid var(--ds-line,#e4e4e7);border-bottom:1px solid var(--ds-line,#e4e4e7)}.ml-products>p{color:var(--ds-muted,#5b5b63);line-height:1.6}.ml-products h3{margin:0 0 8px}.ml-product-results{border:1px solid var(--ds-line,#e4e4e7);border-radius:12px;max-height:280px;overflow:auto;margin:8px 0}.ml-product-result{display:block;width:100%;text-align:left!important;white-space:normal!important;padding:12px!important;border:0!important;border-bottom:1px solid var(--ds-line,#e4e4e7)!important;background:var(--ds-surface,#fff)!important}.ml-product-result:focus-visible{outline:2px solid var(--ui-accent-solid,#116c71)!important;outline-offset:-3px}.ml-product-row{border:1px solid var(--ds-line,#e4e4e7);background:var(--ds-soft,#f4f7f7);border-radius:14px;margin-top:14px;padding:16px}.ml-product-row header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ml-product-row header>div{display:grid;gap:4px;min-width:0}.ml-product-row small{color:var(--ds-muted,#5b5b63)}.ml-product-row header button{width:44px;flex:0 0 44px;padding:8px!important}.ml-product-row>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.ml-layout label:has([name=client_id]){grid-column:1/-1}@media(max-width:500px){.ml-product-row>div{grid-template-columns:minmax(0,1fr)}.ml-product-row{padding:14px}.ml-product-result{font-size:13px!important}}
.ml-product-row strong,.ml-product-result{overflow-wrap:anywhere}.ml-price-confirm{max-width:100%;overflow:auto}.ml-price-confirm th:nth-child(n+2),.ml-price-confirm td:nth-child(n+2){text-align:right;white-space:nowrap}
