/* Responsive shell and approved account/support presentation. */
body{height:auto;min-height:100%}
.container{max-width:1120px;min-height:calc(100vh - 58px);min-height:calc(100dvh - 58px);display:block}
.header{position:sticky;top:0;z-index:40;padding:0;background:var(--surface)}
.topbar{max-width:1120px;margin:auto;padding:calc(10px + env(safe-area-inset-top,0px)) 20px 10px;min-height:58px;gap:20px}
.brand img{height:29px}
.desktop-nav{display:none}
.page-heading{padding:22px 20px 0;margin:0 auto 22px}
.greet-title{font-size:24px;line-height:1.25;letter-spacing:-.04em;font-weight:600}
.greet-title:focus{outline:none}
.greet-sub{font-size:14px;line-height:1.55;color:var(--text-2);margin-top:6px}
.main-content{padding:0 20px 98px}
.bottom-nav{max-width:none;z-index:60;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
.nav-item{min-width:0;min-height:50px;color:var(--text-2);padding:5px 2px}
.nav-item.active{background:var(--brand-tint);color:var(--brand-ink)}
.nav-icon{height:19px}.nav-icon svg{width:19px;height:19px}.nav-label{font-size:11px}
.button{font:600 14px/1.4 'Montserrat',system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1px solid var(--hairline);border-radius:10px;background:var(--surface-2);color:var(--text);text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation}
.button.primary{background:var(--ok-fill);border-color:var(--ok-fill);color:white}
.button.text-button{background:transparent;border-color:transparent;color:var(--brand-ink)}
.button.full{width:100%}.button:disabled{opacity:.6;cursor:default}
.button:focus-visible,.nav-item:focus-visible,.faq-q:focus-visible{outline:3px solid var(--brand-ink);outline-offset:3px}
.overview-layout{display:grid;gap:20px}
.overview-live{min-width:0}
.supporting-section{padding:20px 0;border-top:1px solid var(--hairline);align-self:start}
.supporting-section h2{font-size:19px;font-weight:600;line-height:1.35;letter-spacing:-.025em}
.supporting-section h3{font-size:16px;font-weight:600}
.supporting-section p{font-size:13px;color:var(--text-2);line-height:1.6;margin-top:10px}
.supporting-section .text-button{padding-left:0;padding-right:0;justify-content:flex-start;margin-top:8px}
.overview-links{display:grid;align-content:start;gap:24px}
.restart-message{display:grid;gap:14px;align-content:start;font-size:14px;line-height:1.55}
.restart-message h2{font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.025em}
.restart-message p{color:var(--text-2)}
.status-label{display:inline-block;justify-self:start;border-radius:6px;font-size:11px;font-weight:600;padding:4px 8px;background:var(--brand-tint);color:var(--brand-ink)}
.status-label.warning{background:var(--warn-tint);color:var(--warn-ink)}
.history-section .lapsed-recap{background:none;border:0;padding:0;margin-top:12px}
.history-section .lapsed-figure{font-size:30px;letter-spacing:-.035em}
.setup-steps{padding-left:20px;display:grid;gap:12px;font-size:13px;color:var(--text-2);margin:16px 0;line-height:1.6}
.support-layout{display:grid;gap:24px}
.contact-card{align-self:start;display:grid;gap:16px;font-size:14px;line-height:1.55;margin:0}
.contact-identity{display:flex;align-items:center;gap:14px;min-width:0}
.contact-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.contact-card .contact-name{font-size:26px;font-weight:600;letter-spacing:-.035em;line-height:1.3}
.contact-handle{font-size:13px;color:var(--text-2);margin-top:3px}
.contact-card>p{color:var(--text-2)}
.contact-card .contact-note{font-size:12px}
.support-details{padding-top:16px;border-top:1px solid var(--hairline);font-size:12px;display:grid;gap:10px}
.support-details div{display:flex;justify-content:space-between;gap:16px}
.support-details dt{color:var(--text-2)}.support-details dd{margin:0;text-align:right}
.faq-section h2{font-size:19px;font-weight:600;line-height:1.35;letter-spacing:-.025em;margin-bottom:16px}
.faq-section .faq-list{margin:0}
.faq-section .faq-item{border-top:0;border-bottom:1px solid var(--hairline)}
.faq-section .faq-q{padding:16px 2px 16px 0;min-height:54px;font-size:14px;line-height:1.55}
.faq-section .faq-q::after{width:7px;height:7px;transform:rotate(45deg);margin-right:5px}
.faq-section .faq-item.open .faq-q::after{transform:rotate(225deg)}
.faq-section .faq-a{padding:0 10px 18px 0;font-size:13px;line-height:1.6}
.account-error{max-width:560px;margin:0 auto;font-size:14px;line-height:1.6}
.account-error[hidden]{display:none}
.account-error-content{display:grid;gap:18px}
.account-error-content p{color:var(--text-2)}
.account-error-content h2{font-size:20px;font-weight:600;letter-spacing:-.025em}

/* Native dialogs keep closed content out of focus and the accessibility tree. */
dialog.app-dialog{position:fixed;inset:0;margin:auto;width:min(500px,calc(100% - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--hairline);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 20px 80px #0006;transform:none;overflow:auto;transition:none;font-size:14px}
dialog.app-dialog:not([open]){display:none}
dialog.app-dialog[open]{display:flex;flex-direction:column}
dialog.app-dialog::backdrop{background:#080507b8}
.app-dialog .checkout-modal{padding:0;width:100%;max-width:none;max-height:none;overflow:visible;border-radius:0;box-shadow:none}
.app-dialog .checkout-header,.app-dialog .invoice-popup-header,.app-dialog .dialog-header{position:sticky;top:0;z-index:2;background:var(--surface);padding:16px 20px;border-bottom:1px solid var(--hairline);margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.app-dialog .checkout-header h2,.app-dialog .invoice-popup-header h2,.app-dialog .dialog-header h2{font-size:18px;line-height:1.35;font-weight:600;margin:0;letter-spacing:-.025em;min-width:0;overflow-wrap:anywhere}
.app-dialog .ch-close,.app-dialog .invoice-popup-close,.app-dialog .dialog-close{min-width:44px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--surface-2);color:var(--text);cursor:pointer;flex:none}
.app-dialog button svg{width:20px;height:20px}
#checkout-body,#checkout-done,.app-dialog .dialog-body{padding:20px}
.app-dialog .co-line{align-items:flex-start;gap:18px}
.app-dialog .co-value{text-align:right}
.app-dialog .co-btn{min-height:46px;white-space:normal}
.app-dialog .invoice-popup-content{padding:20px;overflow:visible}
.app-dialog .invoice-popup-content:empty{display:none}
.invoice-error{display:grid;gap:14px;text-align:center;padding:8px 0}
.invoice-error h3{font-size:18px;font-weight:600}
.invoice-error p{color:var(--text-2);font-size:13px}
.dialog-loading{padding:30px 0;text-align:center;color:var(--text-2);font-size:14px}
.done-icon svg{width:32px;height:32px;color:var(--ok-ink)}
@media(min-width:760px){
  .topbar{min-height:76px;padding:calc(16px + env(safe-area-inset-top,0px)) 28px 16px}.brand img{height:30px}
  .desktop-nav{display:flex;gap:4px}.desktop-nav .nav-item{flex-direction:row;min-height:44px;padding:8px 16px;gap:8px}
  .desktop-nav .nav-label{font-size:13px}.bottom-nav{display:none}
  .page-heading{padding:32px 28px 0;margin-bottom:26px}.greet-title{font-size:30px}
  .main-content{padding:0 28px 40px}
  .overview-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px}
  .restart-message h2{font-size:24px}
  .support-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:30px}
  .contact-card{position:sticky;top:100px}
}
/* Short viewports (the compact Mini App sheet): tighten the header, but the
   bottom nav stays pinned on phones as it always has. */
@media(max-height:500px){
  .header,.contact-card{position:static}
  .page-heading{padding-top:16px;margin-bottom:16px}
  .topbar{min-height:58px;padding-top:calc(7px + env(safe-area-inset-top,0px));padding-bottom:7px}.brand img{height:26px}
  .greet-title{font-size:24px}.greet-sub{font-size:12px;margin-top:4px}
}
@media(max-height:500px) and (min-width:760px){.main-content{padding-bottom:24px}}


        /* Compact package choices keep the decision and primary action together. */
        #packages-tab .pkg-current{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:0;margin:0 0 12px;background:none;border:0;box-shadow:none;border-radius:0;font-size:12px}
        #packages-tab .pkg-current[hidden]{display:none}
        #packages-tab .pkg-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
        .package-choice{appearance:none;display:grid;grid-template-columns:1fr;align-content:center;gap:5px;min-height:108px;min-width:0;padding:12px 4px;border:1px solid var(--hairline);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;text-align:center;cursor:pointer}
        .package-choice[aria-pressed="true"]{border-color:var(--brand-ink);box-shadow:inset 0 0 0 1px var(--brand-ink);background:var(--brand-tint)}
        .package-choice:hover{border-color:var(--brand-ink)}
        .package-choice-name{font-size:12px;font-weight:600;white-space:nowrap}
        .package-choice-price{font-size:23px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
        .package-choice-price small{display:block;font-size:11px;font-weight:400;color:var(--text-2);margin-top:1px}
        .package-choice-spec{font-size:11px;color:var(--text-2)}
        #packages-tab .pkg-actions{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px;margin-top:12px}
        #packages-tab .pkg-actions button{min-height:46px;padding:10px 8px;font-size:13px;border-radius:10px;white-space:normal;min-width:0;line-height:1.35}
        .package-details{display:grid;gap:20px;margin-top:24px}
        .package-inclusions,.package-guidance{border-top:1px solid var(--hairline);padding-top:18px}
        .package-inclusions h2,.package-guidance h3{font-size:17px;font-weight:600;line-height:1.4}
        .package-check-list{list-style:none;display:grid;gap:11px;margin:16px 0 0}
        .package-check-list li{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--text-2)}
        .package-check-list svg{width:17px;height:17px;flex:none;margin-top:2px;color:var(--brand-ink)}
        .package-guidance p{font-size:13px;color:var(--text-2);margin-top:12px}
        .package-text-button{font:inherit;font-size:13px;font-weight:500;border:0;background:none;color:var(--brand-ink);min-height:44px;text-align:left;cursor:pointer;margin-top:8px}

        #pkg-compare{padding-bottom:135px}
        #pkg-compare .cmp-back{min-height:44px;gap:4px;margin-bottom:8px;font-size:13px}
        #pkg-compare .cmp-back svg{width:20px;height:20px}
        #cmp-grid{display:block;min-width:0}
        .compare-current{font-size:12px;color:var(--text-2);margin-bottom:10px}
        .compare-picker{position:sticky;top:var(--app-header-height,112px);z-index:15;background:var(--bg);padding:8px 0 12px}
        .compare-segments{display:grid;grid-template-columns:repeat(var(--compare-count,3),minmax(0,1fr));gap:4px;padding:4px;background:var(--surface);border:1px solid var(--hairline);border-radius:11px}
        .compare-segments button{min-height:56px;min-width:0;display:grid;gap:2px;align-content:center;font:inherit;font-size:12px;font-weight:600;border:0;border-radius:7px;padding:8px 1px;background:none;color:var(--text);cursor:pointer}
        .compare-segments button small{font-size:11px;font-weight:400;color:var(--text-2)}
        .compare-segments button[aria-pressed="true"]{background:var(--brand-tint);color:var(--brand-ink);box-shadow:inset 0 0 0 1px var(--brand-ink)}
        .compare-spec-list{border-top:1px solid var(--hairline)}
        .compare-spec-list>div{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(72px,1fr);gap:14px;padding:13px 0;border-bottom:1px solid var(--hairline);font-size:13px}
        .compare-spec-list dt{color:var(--text-2)}
        .compare-spec-list dd{margin:0;text-align:right;font-weight:500}
        .compare-included{color:var(--ok-ink)}
        .compare-not-included{color:var(--text-3);font-size:12px}
        .compare-feature-heading{font-size:13px;font-weight:600;padding:23px 0 12px}
        .compare-desktop{display:none}
        #packages-tab .cmp-bar{max-width:none;left:0;right:0;padding:10px 20px 12px;display:grid;gap:8px;text-align:left;bottom:calc(63px + env(safe-area-inset-bottom,0px));background:var(--surface)}
        .compare-bar-summary{font-size:13px;font-weight:400;color:var(--text-2)}
        .compare-bar-summary strong{font-weight:600;color:var(--text)}
        #packages-tab .cmp-bar .btn-brand{min-height:46px;border-radius:10px;font-size:13px;white-space:normal}

        .signup-dialog{margin:auto;padding:0;border:1px solid var(--hairline);border-radius:16px;width:min(500px,calc(100% - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);background:var(--surface);color:var(--text);box-shadow:var(--sh-2);overflow:auto}
        .signup-dialog::backdrop{background:rgba(8,5,7,.7)}
        .signup-dialog-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--hairline);z-index:1}
        .signup-dialog-header h2{font-size:18px;font-weight:600}
        .signup-close{min-height:44px;min-width:44px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--surface-2);color:var(--text);cursor:pointer}
        .signup-close svg{width:20px;height:20px}
        .signup-dialog-body{padding:20px;font-size:14px}
        .signup-plan{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--surface-2);border:1px solid var(--hairline);border-radius:12px;margin-bottom:18px}
        .signup-plan strong{font-size:18px}
        .signup-plan span{font-size:13px}
        .signup-note{color:var(--text-2);font-size:13px;margin-top:12px}
        .signup-actions{display:grid;gap:8px;margin-top:20px}
        .signup-actions button{min-height:46px;min-width:0;border-radius:10px;font-size:13px;white-space:normal}

        @media(max-width:359px){.package-choice{min-height:100px}.package-choice-name{font-size:11px}#packages-tab .pkg-actions button{font-size:12px}.compare-segments button{font-size:11px}.compare-segments button small{font-size:10px}}
        @media(min-width:760px){
            .package-choice{padding:18px 20px;min-height:130px;text-align:left;border-radius:12px}.package-choice-name{font-size:15px}.package-choice-price{font-size:30px}.package-choice-price small{display:inline;font-size:12px;margin-left:4px}.package-choice-spec{font-size:12px}
            #packages-tab .pkg-actions{max-width:580px;grid-template-columns:minmax(0,1fr) 120px}#packages-tab .pkg-actions button{font-size:14px}.package-details{grid-template-columns:1.35fr 1fr;gap:32px}
            #pkg-compare{padding-bottom:0}.compare-mobile{display:none}.compare-desktop{display:block;background:var(--surface);border:1px solid var(--hairline);border-radius:14px;padding:4px 16px 0}.compare-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;table-layout:fixed}.compare-table caption{text-align:left;color:var(--text-2);font-size:13px;padding:12px 0 16px}.compare-table th,.compare-table td{border-bottom:1px solid var(--hairline);padding:16px 12px;text-align:center;vertical-align:middle;overflow-wrap:anywhere}.compare-table th:first-child{width:30%;text-align:left;font-weight:400;color:var(--text-2)}.compare-table thead th{position:sticky;top:var(--app-header-height,132px);z-index:12;background:var(--surface);padding:12px 8px}.compare-table .compare-selected{background:var(--brand-tint)}.compare-column-button{display:grid;gap:3px;width:100%;min-height:68px;align-content:center;padding:8px 2px;background:none;color:var(--text);font:inherit;font-size:15px;font-weight:600;border:0;border-radius:8px;cursor:pointer}.compare-column-button[aria-pressed="true"]{color:var(--brand-ink);box-shadow:inset 0 0 0 1px var(--brand-ink)}.compare-column-button small{font-size:12px;font-weight:400}.compare-table tr:last-child th,.compare-table tr:last-child td{border-bottom:0}
            #packages-tab .cmp-bar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:18px 0;background:var(--bg)}#packages-tab .cmp-bar .btn-brand{flex:0 1 320px;width:auto;min-width:240px}
        }
        @media(max-height:500px){.compare-picker,.compare-table thead th{position:static}#packages-tab .cmp-bar{position:static;margin-top:20px;padding:16px 0;background:var(--bg)}#pkg-compare{padding-bottom:0}}
        @media(min-width:760px) and (max-height:500px){.package-choice{min-height:88px;padding:10px 16px;gap:3px}.package-choice-price{font-size:24px}}


/* Approved Billing receipt cards. Append after the legacy Billing styles. */
#billing-tab .receipt-layout{display:grid;gap:14px}
#billing-tab .receipt-history{min-width:0}
#billing-tab .receipt-grid{display:grid;gap:12px}
#billing-tab .receipt{background:var(--surface);border:1px solid var(--hairline);border-radius:13px;padding:16px 16px 10px;min-width:0}
#billing-tab .receipt-product{display:flex;gap:12px;align-items:center;min-height:61px}
#billing-tab .receipt-product img{width:42px;height:54px;object-fit:contain;flex:none}
#billing-tab .receipt-identity{min-width:0}
#billing-tab .receipt-identity h2{font-size:15px;line-height:1.35;letter-spacing:-.025em;font-weight:600;overflow-wrap:anywhere}
#billing-tab .receipt-meta{font-size:12px;line-height:1.65;color:var(--text-2);display:flex;flex-wrap:wrap;gap:1px 11px;margin-top:6px}
#billing-tab .receipt-reference{font-size:11px;color:var(--text-2);overflow-wrap:anywhere}
#billing-tab .receipt-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid var(--hairline);margin-top:12px;padding-top:7px}
#billing-tab .receipt-payment{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;min-width:0}
#billing-tab .receipt-payment strong{font-size:20px;line-height:1.4;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#billing-tab .receipt-status{font-size:11px;font-weight:500;color:var(--text-2);overflow-wrap:anywhere}
#billing-tab .receipt-status.paid{color:var(--ok-ink)}
#billing-tab .receipt-status.pending{color:var(--warn-ink)}
#billing-tab .receipt-status.expired{color:var(--danger-ink)}
#billing-tab .receipt-invoice{min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center;gap:6px;font:inherit;font-size:12px;font-weight:500;flex:none;padding:8px 0 8px 9px;background:transparent;color:var(--brand-ink);border:0;border-radius:6px;cursor:pointer}
#billing-tab .receipt-invoice svg{width:16px;height:18px;flex:none}
#billing-tab .receipt-invoice:hover{background:var(--brand-tint)}
#billing-tab .receipt-invoice:disabled{color:var(--text-3);cursor:default}
#billing-tab .receipt-help{border-top:1px solid var(--hairline);padding-top:20px;max-width:600px}
#billing-tab .receipt-help h2{font-size:17px;line-height:1.35;font-weight:600;letter-spacing:-.025em}
#billing-tab .receipt-help p{font-size:13px;line-height:1.6;color:var(--text-2);margin:10px 0 6px}
#billing-tab .receipt-support{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;background:transparent;color:var(--brand-ink);border:0;border-radius:6px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-align:left}
#billing-tab .receipt-pagination{border-top:0;padding:20px 0 6px;flex-wrap:wrap;gap:12px}
#billing-tab .receipt-pagination .pagination-info{color:var(--text-2);font-size:12px}
#billing-tab .receipt-pagination .pagination-buttons{display:flex;gap:8px}
#billing-tab .receipt-pagination .pagination-btn{min-height:44px;border-radius:10px;padding:8px 14px;font-size:12px}
#billing-tab .receipt-state{grid-column:1/-1;display:grid;justify-items:center;gap:14px;padding:30px 20px;background:var(--surface);border:1px solid var(--hairline);border-radius:13px;text-align:center;color:var(--text-2);font-size:14px}
#billing-tab .receipt-state h2{color:var(--text);font-size:19px;line-height:1.35;font-weight:600}
#billing-tab .receipt-state p{max-width:440px;line-height:1.6}
#billing-tab .receipt-state .receipt-state-action{min-height:44px;padding:10px 18px;font:inherit;font-size:14px;font-weight:600;border:1px solid var(--hairline);border-radius:10px;background:var(--surface-2);color:var(--text);cursor:pointer}
#billing-tab .receipt-state .receipt-state-action.primary{background:var(--ok-fill);border-color:var(--ok-fill);color:white}
#billing-tab .receipt-state .receipt-state-action:disabled{opacity:.6;cursor:default}
@media(min-width:650px){
    #billing-tab .receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
    #billing-tab .receipt{padding:20px 20px 12px}
    #billing-tab .receipt-product{min-height:70px;gap:14px}
    #billing-tab .receipt-product img{width:48px;height:62px}
    #billing-tab .receipt-identity h2{font-size:16px}
    #billing-tab .receipt-footer{margin-top:18px;padding-top:10px}
    #billing-tab .receipt-payment strong{font-size:23px}
    #billing-tab .receipt-invoice{font-size:13px}
    #billing-tab .receipt-help{margin-top:10px}
}
@media(min-width:1120px){
    #billing-tab .receipt-layout{grid-template-columns:minmax(0,1fr) 244px;gap:32px}
    #billing-tab .receipt-help{margin-top:0;position:sticky;top:100px;align-self:start}
    #billing-tab .receipt{padding:18px 18px 12px}
    #billing-tab .receipt-product{gap:12px}
    #billing-tab .receipt-meta{display:grid;gap:0}
    #billing-tab .receipt-identity h2{font-size:15px}
    #billing-tab .receipt-payment strong{font-size:21px}
}
@media(max-width:359px){
    #billing-tab .receipt{padding:14px 13px 9px}
    #billing-tab .receipt-product{gap:10px}
    #billing-tab .receipt-product img{width:36px;height:48px}
    #billing-tab .receipt-identity h2{font-size:14px}
    #billing-tab .receipt-meta{gap:0 8px;font-size:11px}
    #billing-tab .receipt-payment{gap:2px 7px}
    #billing-tab .receipt-payment strong{font-size:19px}
    #billing-tab .receipt-invoice{font-size:12px;gap:5px;padding-left:3px}
    #billing-tab .receipt-footer{gap:8px}
}
@media(max-height:500px){#billing-tab .receipt-help{position:static}}

[hidden]{display:none!important}

/* Without HTMLDialogElement (iOS before 15.4) the element is a plain box, so
   pin it to the viewport, centre it, and paint the backdrop as a spread shadow.
   The dashboard script sets html.no-dialog when showModal() is missing. */
html.no-dialog dialog{display:block}
html.no-dialog dialog:not([open]){display:none}
html.no-dialog dialog[open]{position:fixed;top:50%;left:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%);z-index:2000;max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 0 0 100vmax rgba(8,5,7,.7)}
