@import "dialog.css";:host{--_width:480px}:host([size="lg"]){--_width:640px}:host([placement="start"]){--_width:360px}.dialog{position:fixed;inset:0 0 0 auto;width:min(var(--_width),100vw);height:100dvh;max-height:none;margin:0;border-radius:0}:host([placement="start"]) .dialog{inset:0 auto 0 0}:host(:not([placement])) .dialog[open],:host([placement="end"]) .dialog[open]{animation:tc-drawer-end 200ms ease-out}:host([placement="start"]) .dialog[open]{animation:tc-drawer-start 200ms ease-out}.header{min-height:0;padding:var(--tc-space-20) var(--tc-space-12) var(--tc-space-20) var(--tc-space-24)}.body{padding:var(--tc-space-24)}:host([placement="bottom"]) .dialog{inset:auto 0 0 0;width:min(640px,100vw);height:auto;max-height:85dvh;margin:0 auto;border-radius:var(--tc-radius-md) var(--tc-radius-md) 0 0}:host([placement="bottom"]) .dialog[open]{animation:tc-drawer-bottom 200ms ease-out}:host([placement="bottom"]) .grip{flex:none;display:flex;justify-content:center;height:12px;padding-top:var(--tc-space-8)}.grip::before{content:"";width:36px;height:4px;border-radius:2px;background:var(--tc-border-strong)}:host([placement="bottom"]) .header{padding:var(--tc-space-8) var(--tc-space-12) var(--tc-space-20) var(--tc-space-16)}:host([placement="bottom"]) .body{padding:var(--tc-space-24) var(--tc-space-16)}:host([placement="bottom"]) .footer{padding:var(--tc-space-16)}:host([placement="bottom"]) ::slotted([slot="footer"]){flex:1 1 0}:host([inline]) .dialog{position:static;width:min(var(--_width),100%);height:560px;animation:none}:host([inline][placement="bottom"]) .dialog{width:min(390px,100%);height:auto;margin:0}@keyframes tc-drawer-end{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}@keyframes tc-drawer-start{from{transform:translateX(-24px);opacity:0}to{transform:none;opacity:1}}@keyframes tc-drawer-bottom{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}@media (max-width:599px){.dialog{width:100vw;height:100dvh;border-radius:0}:host([placement="bottom"]) .dialog{height:auto;border-radius:var(--tc-radius-md) var(--tc-radius-md) 0 0}.header{padding-left:var(--tc-space-16)}.body{padding:var(--tc-space-20) var(--tc-space-16)}:host([inline]) .dialog{width:100%;height:560px}}