body#m-theme .apmd-download { display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:150px; }
body#m-theme .apmd-download__details { display:grid; gap:4px; min-width:0; text-align:left; }
body#m-theme .apmd-download__name { color:var(--apm-text,#f1f5ff); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
body#m-theme .apmd-download__size { color:var(--apm-muted,#9ba9c2); font-size:11px; font-variant-numeric:tabular-nums; }
body#m-theme .apmd-download .apmd-download-file {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px;
  width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid #90b4ff66;
  border-radius:12px; background:linear-gradient(110deg,#3067cc,#4f88f0); color:#fff;
  box-shadow:inset 0 1px 0 #ffffff33,0 8px 18px -10px #4f88f0;
  line-height:1; text-decoration:none; transition:filter .18s,border-color .18s,box-shadow .18s;
}
body#m-theme .apmd-download .apmd-download-file svg { flex:0 0 18px; width:18px; height:18px; overflow:visible; }
body#m-theme .apmd-download .apmd-download-file__arrow { transition:transform .18s ease; }
body#m-theme .apmd-download a.apmd-download-file:hover { filter:brightness(1.1); border-color:#b8cfff; box-shadow:inset 0 1px 0 #ffffff40,0 10px 22px -10px #6c9dff; }
body#m-theme .apmd-download a.apmd-download-file:hover .apmd-download-file__arrow { transform:translateY(1.5px); }
body#m-theme .apmd-download a.apmd-download-file:active { filter:brightness(.95); }
body#m-theme .apmd-download a.apmd-download-file:focus-visible { outline:2px solid var(--apm-accent,#558cff); outline-offset:3px; }
body#m-theme .apmd-download .apmd-download-file[aria-disabled=true] { background:#142037; color:#7d8ea9; border-color:#30405c; box-shadow:none; filter:none; cursor:not-allowed; }
@media (prefers-reduced-motion:reduce) { body#m-theme .apmd-download .apmd-download-file__arrow { transition:none; } }
@media(max-width:767px) {
  body#m-theme .shop_table_responsive .apmd-download { justify-content:flex-end; min-width:0; gap:12px; }
  body#m-theme .shop_table_responsive .apmd-download__details { text-align:right; }
}

body#m-theme .apmd-secret { display:inline-flex; align-items:center; flex-wrap:wrap; gap:8px 10px; }
body#m-theme .apmd-secret__value { padding:6px 10px; border:1px solid #233a5c; border-radius:6px; background:linear-gradient(180deg,#03080f,#08121f); color:#7cc4ff; font-family:ui-monospace,Consolas,monospace; font-size:12px; letter-spacing:.04em; white-space:nowrap; box-shadow:inset 0 1px 4px #000c; }
body#m-theme .apmd-secret__value.is-masked { color:#6f87ad; }
body#m-theme .apmd-secret__actions { display:inline-flex; gap:6px; }
body#m-theme .apmd-secret__actions button { min-height:32px; padding:5px 12px; border:1px solid #33507a; border-radius:7px; background:#12223a; color:#d6e6ff; font:inherit; font-size:11px; cursor:pointer; }
body#m-theme .apmd-secret__actions button:hover { border-color:#5f8fd4; background:#183056; }
body#m-theme .apmd-secret__actions button:focus-visible { outline:2px solid var(--apm-accent,#558cff); outline-offset:2px; }

body#m-theme .apmd-info { display:inline-grid; place-items:center; width:44px; height:44px; min-width:44px; margin:0; padding:0; border:1px solid #3c5a86; border-radius:12px; background:linear-gradient(180deg,#16294b,#0f1d35); color:#b9d3ff; box-shadow:inset 0 1px 0 #ffffff14; cursor:pointer; transition:background .18s,border-color .18s,color .18s; }
body#m-theme .apmd-info svg { width:18px; height:18px; }
body#m-theme .woocommerce table .download-info { width:94px; text-align:center; }
@media (max-width:768px) { body#m-theme .woocommerce table td.download-info { width:auto; text-align:right; } }
body#m-theme .apmd-info:hover { background:linear-gradient(180deg,#1d3762,#142a4d); border-color:#7aa6e8; color:#fff; }
body#m-theme .apmd-info:focus-visible { outline:2px solid var(--apm-accent,#558cff); outline-offset:3px; }
.apmd-dialog { width:min(620px,calc(100% - 32px)); max-height:calc(100dvh - 40px); padding:0; border:1px solid transparent; border-radius:22px; color:#dce8fb; overflow:hidden;
  background:linear-gradient(155deg,#12243f,#091526 60%,#0d1c34) padding-box,linear-gradient(150deg,#8fb9ff80,#2b4a7466 35%,#1c3152 65%,#5f8fd466) border-box;
  box-shadow:0 40px 120px #000a,0 0 80px -20px #4f8cff55; font-family:inherit; }
.apmd-dialog[open] { display:flex; flex-direction:column; }
.apmd-dialog::backdrop { background:#030914cc; backdrop-filter:blur(5px); }
.apmd-dialog__head { display:flex; flex:none; align-items:center; justify-content:space-between; gap:16px; padding:24px 26px 20px; border-bottom:1px solid #253955; }
.apmd-dialog__heading { display:flex; align-items:center; gap:14px; min-width:0; }
.apmd-dialog__heading>div { min-width:0; }
.apmd-dialog__mark { display:grid; place-items:center; flex:none; width:46px; height:46px; border:1px solid #416499; border-radius:14px; background:linear-gradient(150deg,#23446f,#132842); color:#bdd8ff; }
.apmd-dialog__head h2 { margin:0!important; font-size:19px!important; line-height:1.4!important; color:#f2f7ff!important; letter-spacing:-.02em; }
.apmd-dialog__filename { margin:3px 0 0!important; color:#9cb4d4; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.apmd-dialog__close { display:grid; place-items:center; flex:none; width:40px; height:40px; padding:0; border:1px solid #344c6c; border-radius:12px; background:#14253d; color:#c4d8f3; font-size:24px; line-height:1; cursor:pointer; }
.apmd-dialog__close:hover { background:#203b5f; color:#fff; }
.apmd-dialog__close:focus-visible,.apmd-dialog__ok:focus-visible { outline:2px solid #88b5ff; outline-offset:3px; }
.apmd-dialog__body { min-height:0; padding:24px 26px 6px; font-size:13px; line-height:1.7; color:#b9cbe6; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#3e5b85 transparent; }
.apmd-dialog__body p { margin:0 0 12px; } .apmd-dialog__body a { color:#9cc4ff; text-decoration:underline; text-underline-offset:3px; }
.apmd-dialog__body ul,.apmd-dialog__body ol { list-style:disc outside; padding-left:20px; margin:0 0 16px; }
.apmd-dialog__body ol { list-style-type:decimal; }
.apmd-dialog__body strong { color:#e4edfc; font-weight:600; }
.apmd-dialog__body .apmd-install-title { margin:0 0 5px; font-size:15px; font-weight:600; color:#f0f5ff; }
.apmd-dialog__body ol.apmd-install-files { list-style:none; padding:0; margin:18px 0; display:grid; gap:10px; }
.apmd-install-files li { display:flex; align-items:flex-start; gap:13px; padding:15px 16px; border:1px solid #2c4465; border-radius:13px; background:#11223b; }
.apmd-install-files__number { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:8px; background:#233f67; color:#b6d2fc; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; }
.apmd-install-files li>div { min-width:0; }
.apmd-install-files strong { display:block; overflow-wrap:anywhere; }
.apmd-install-files__detail { display:block; margin-top:3px; color:#9db2cf; font-size:12px; line-height:1.6; }
.apmd-install-note { padding:0 2px; color:#a7bad5; font-size:12px; }
.apmd-install-mac { padding:16px 18px; margin:16px 0 12px; border:1px solid #395d8b; border-radius:13px; background:linear-gradient(120deg,#172f50,#12243d); }
.apmd-install-mac h3 { margin:0 0 7px!important; color:#d8e8ff!important; font-size:13px!important; line-height:1.5!important; font-weight:600; }
.apmd-install-mac p { margin:0; font-size:12px; }
.apmd-dialog__foot { display:flex; flex:none; justify-content:flex-end; align-items:center; gap:14px; padding:16px 26px 20px; }
.apmd-dialog__link { color:#9cc4ff; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.apmd-dialog__ok { min-height:40px; padding:0 22px; border:1px solid #4b6d9c; border-radius:10px; background:#1b3558; color:#dbeaff; font-family:inherit; font-size:13px; font-weight:500; cursor:pointer; }
.apmd-dialog__ok:hover { background:#284c7c; border-color:#82acdf; }
@media (max-width:480px) {
  .apmd-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); border-radius:18px; }
  .apmd-dialog__head { padding:18px 18px 16px; gap:10px; }
  .apmd-dialog__heading { gap:10px; }
  .apmd-dialog__mark { width:38px; height:38px; border-radius:11px; }
  .apmd-dialog__head h2 { font-size:17px!important; }
  .apmd-dialog__body { padding:18px 18px 2px; }
  .apmd-install-files li { padding:13px 12px; gap:10px; }
  .apmd-install-mac { padding:14px; }
  .apmd-dialog__foot { padding:14px 18px 18px; }
}
@media (prefers-reduced-motion:no-preference) { .apmd-dialog[open] { animation:apmd-dialog-in .3s cubic-bezier(.16,1,.3,1) both; } @keyframes apmd-dialog-in { from { opacity:0; transform:translateY(10px) scale(.97); } to { opacity:1; transform:none; } } }

body#m-theme .apmd-account-pages { display:flex; align-items:center; justify-content:center; gap:14px; margin:22px 0 4px; color:#9fb3d1; font-size:13px; }

body#m-theme .apmd-order-downloads + .apmd-order-downloads { margin-top:30px; }
body#m-theme .apmd-order-downloads__head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin:0 0 12px; padding:0 4px; }
body#m-theme .apmd-order-downloads__head h3 { margin:0!important; color:var(--apm-text,#f1f5ff)!important; font-size:15px!important; font-weight:600; line-height:1.4!important; letter-spacing:.01em; }
body#m-theme .apmd-order-downloads__head time { display:block; margin-top:2px; color:var(--apm-muted,#9ba9c2); font-size:12px; line-height:1.5; }
body#m-theme .apmd-order-downloads__head a { color:#9cc4ff; font-size:12px; line-height:1.5; text-decoration:underline; text-underline-offset:3px; }
body#m-theme .apmd-order-downloads__head a:hover { color:#c7dcff; }
body#m-theme .apmd-order-downloads__head a:focus-visible { outline:2px solid var(--apm-accent,#558cff); outline-offset:3px; border-radius:4px; }
body#m-theme .apmd-order-downloads .woocommerce-order-downloads { margin:0; }
