.create-drawer-shell{position:fixed;z-index:1100;inset:0 0 0 auto;width:min(820px,66vw);max-width:none;height:100dvh;max-height:none;margin:0;padding:0;overflow:hidden;border:0;border-left:1px solid var(--line);background:#f7f9fb;color:var(--ink);box-shadow:-12px 0 38px #122b421a}
.create-drawer-shell[open]{display:block;animation:create-drawer-in .18s ease-out}
.create-drawer-shell::backdrop{background:#11283a35;backdrop-filter:blur(3px)}
@keyframes create-drawer-in{from{transform:translateX(20px);opacity:.8}to{transform:translateX(0);opacity:1}}
.create-drawer-layout{display:flex;height:100%;min-height:0;flex-direction:column}
.create-drawer-header{display:flex;align-items:center;gap:13px;padding:18px 25px 14px;border-bottom:1px solid var(--line);background:#fff}
.create-drawer-header>div{min-width:0;flex:1}
.create-drawer-header h2{margin:0;color:#18344b;font-size:19px;line-height:1.3}
.create-drawer-header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.create-drawer-avatar{display:grid;width:42px;height:42px;flex:none;place-items:center;border-radius:13px;background:#eaf2f8;color:#245c85;font-size:23px;font-weight:500}
.create-drawer-header [data-create-drawer-close]{width:34px;height:34px;padding:0;border:0;background:transparent;color:#63788a;font-size:22px}
.create-drawer-content{display:flex;flex:1;min-height:0;flex-direction:column}
.create-drawer-form{display:flex;flex:1;min-height:0;flex-direction:column;gap:0;overflow:hidden}
.create-drawer-form.card{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.create-drawer-scroll{display:grid;flex:1;min-height:0;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;padding:18px 25px 24px}
.create-drawer-scroll>p{min-width:0;margin:0}
.create-drawer-scroll>p label{display:block;margin-bottom:5px;color:#687c8f;font-size:11px;font-weight:650}
.create-drawer-scroll>p .helptext{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.create-drawer-scroll>.notice,.create-drawer-scroll>.errorlist,.create-drawer-scroll>section,.create-drawer-scroll>fieldset,.create-drawer-scroll>.form-grid,.create-drawer-scroll>.field,.create-drawer-scroll>.order-section{grid-column:1/-1}
.create-drawer-customer-section,.create-drawer-customer-details{grid-column:1/-1;min-width:0;margin:0;padding:14px;border:1px solid #e1e8ee;border-radius:10px;background:#fff}
.create-drawer-customer-section h3{margin:0 0 12px;color:#304a60;font-size:13px}
.create-drawer-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px}
.create-drawer-customer-fields>p{min-width:0;margin:0}
.create-drawer-customer-fields>p label{display:block;margin-bottom:5px;color:#687c8f;font-size:11px;font-weight:650}
.create-drawer-customer-fields>.create-drawer-customer-address{grid-column:1/-1}
.create-drawer-customer-fields textarea[name="tags"],.create-drawer-customer-fields textarea[name="social_identifiers"]{height:84px;min-height:84px}
.create-drawer-customer-details>summary{color:#405970;font-size:12px;font-weight:650;cursor:pointer}
.create-drawer-customer-details[open]>summary{margin-bottom:12px}
.create-drawer-scroll .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.create-drawer-scroll fieldset{min-width:0}
.create-drawer-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 25px;border-top:1px solid var(--line);background:#fff}
.create-drawer-footer [data-create-drawer-close]{margin-right:auto}
.create-drawer-footer button{min-height:38px;padding:6px 16px;font-size:13px;line-height:1.25}
.create-drawer-error{grid-column:1/-1;margin:0;padding:9px 11px;border:1px solid #f0ceca;border-radius:7px;background:#fff5f4;color:#9d4038;font-size:12px}
@media(max-width:1050px){.create-drawer-shell{width:min(760px,75vw)}}
@media(max-width:700px){.create-drawer-shell{inset:0;width:100vw;height:100dvh}.create-drawer-header{gap:9px;padding:15px 14px 12px}.create-drawer-scroll{grid-template-columns:1fr;padding:12px}.create-drawer-scroll .form-grid,.create-drawer-customer-fields{grid-template-columns:1fr}.create-drawer-customer-fields>.create-drawer-customer-address{grid-column:auto}.create-drawer-footer{padding:7px 12px}}
