/* Academy dentist portal — clone-only high-contrast glass UI. */
:root{
  --adl-ink:#082f28;
  --adl-ink-soft:#315a50;
  --adl-muted:#6b817a;
  --adl-brand:#08755b;
  --adl-brand-2:#0da27c;
  --adl-brand-dark:#033b31;
  --adl-gold:#d5af61;
  --adl-coral:#e86b63;
  --adl-bg:#e8f3ee;
  --adl-glass:rgba(255,255,255,.82);
  --adl-glass-solid:rgba(255,255,255,.94);
  --adl-line:rgba(8,91,70,.14);
  --adl-shadow:0 22px 58px rgba(4,53,43,.13);
  --adl-shadow-soft:0 12px 30px rgba(4,53,43,.09);
}

.academy-account-page,
.academy-account-page button,
.academy-account-page input,
.academy-account-page select,
.academy-account-page textarea{
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
}

.academy-account-page .page-shell{
  position:relative;
  min-height:100vh;
  background:
    radial-gradient(circle at 7% 12%,rgba(213,175,97,.32),transparent 23%),
    radial-gradient(circle at 91% 13%,rgba(15,171,129,.25),transparent 27%),
    radial-gradient(circle at 74% 88%,rgba(34,133,112,.18),transparent 30%),
    linear-gradient(135deg,#dcece5 0%,#f6f8f5 44%,#e7f2ed 100%);
  isolation:isolate;
}
.academy-account-page .page-shell::before,
.academy-account-page .page-shell::after{
  position:fixed;z-index:-1;width:360px;height:360px;border-radius:50%;filter:blur(70px);opacity:.55;pointer-events:none;content:"";
}
.academy-account-page .page-shell::before{top:110px;right:-120px;background:#38b793}
.academy-account-page .page-shell::after{bottom:-150px;left:-90px;background:#d7b367}
.academy-account-main{position:relative;z-index:1}

.academy-account-main .dentist-panel-layout{
  width:min(1560px,calc(100vw - clamp(20px,3vw,54px)));
  grid-template-columns:clamp(220px,18vw,272px) minmax(0,1fr);
  align-items:start;
  gap:clamp(18px,2vw,30px);
  padding:clamp(24px,3.3vw,48px) 0 72px;
}
.dentist-account-sidebar{display:grid;gap:14px;align-content:start}
.dentist-account-sidebar-disclosure{
  top:88px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.78);
  border-radius:25px;
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(238,248,244,.76));
  box-shadow:var(--adl-shadow);
  backdrop-filter:blur(24px) saturate(150%);
  -webkit-backdrop-filter:blur(24px) saturate(150%);
}
.dentist-account-sidebar-nav{padding:12px}
.dentist-account-sidebar-nav ul{gap:7px}
.dentist-account-sidebar-nav a{
  position:relative;gap:10px;min-height:50px;padding:10px 12px;border-radius:14px;color:#194d40;font-weight:760;
  transition:transform .22s ease,background-color .22s ease,color .22s ease,box-shadow .22s ease;
}
.dentist-account-sidebar-nav a::before{
  display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;background:rgba(8,117,91,.10);color:#08755b;font-size:15px;content:"•";
}
.dentist-account-sidebar-item--panel a::before{content:"⌂"}
.dentist-account-sidebar-item--orders a::before{content:"▤"}
.dentist-account-sidebar-item--active_treatments a::before{content:"◴"}
.dentist-account-sidebar-item--profile a::before{content:"♙"}
.dentist-account-sidebar-item--send_case a::before{content:"＋"}
.dentist-account-sidebar-item--logout a::before{content:"↪"}
.dentist-account-sidebar-nav a:hover{transform:translateX(-3px);background:#fff;box-shadow:0 10px 23px rgba(5,72,55,.09)}
.dentist-account-sidebar-nav a[aria-current="page"]{
  color:#fff!important;border-color:transparent!important;background:linear-gradient(135deg,#0d9875,#05503f)!important;box-shadow:0 14px 28px rgba(6,90,68,.24)!important;
}
.dentist-account-sidebar-nav a[aria-current="page"]::before{background:rgba(255,255,255,.18);color:#fff}

.dentist-panel-main-content .academy-account-shell{max-width:1260px}
.academy-account-heading>span,
.academy-orders-heading>span,
.academy-order-eyebrow{
  border:1px solid rgba(8,117,91,.14)!important;background:rgba(255,255,255,.82)!important;color:#08664f!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
}
.academy-account-card,
.academy-account-dashboard-card,
.academy-dentist-portal .academy-order-card,
.academy-dentist-portal .academy-treatment-card,
.academy-dentist-portal .academy-dentist-timeline,
.academy-dentist-portal .academy-transfer-history,
.academy-dentist-portal .academy-transfer-clinic-card{
  border:1px solid rgba(255,255,255,.82)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(239,248,244,.79))!important;
  box-shadow:var(--adl-shadow-soft)!important;
  backdrop-filter:blur(22px) saturate(148%);
  -webkit-backdrop-filter:blur(22px) saturate(148%);
}

/* Dashboard + generic pages. */
.academy-account-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.academy-account-dashboard-card{position:relative;overflow:hidden;border-radius:22px;transition:transform .25s ease,box-shadow .25s ease}
.academy-account-dashboard-card::after{position:absolute;inset:auto -32px -50px auto;width:130px;height:130px;border-radius:50%;background:rgba(12,133,101,.12);content:""}
.academy-account-dashboard-card:hover{transform:translateY(-5px);box-shadow:var(--adl-shadow)!important}
.academy-account-form input,.academy-account-form select,.academy-account-form textarea,
.academy-dentist-portal input,.academy-dentist-portal select,.academy-dentist-portal textarea{
  border-color:rgba(8,100,76,.23)!important;background:rgba(255,255,255,.96)!important;color:var(--adl-ink)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:border-color .2s ease,box-shadow .2s ease;
}
.academy-account-form input:focus,.academy-account-form select:focus,.academy-account-form textarea:focus,
.academy-dentist-portal input:focus,.academy-dentist-portal select:focus,.academy-dentist-portal textarea:focus{border-color:#15906f!important;box-shadow:0 0 0 4px rgba(21,144,111,.12)!important}
.academy-account-submit,.academy-account-button{border-radius:14px!important;background:linear-gradient(135deg,#0d9975,#05503f)!important;box-shadow:0 12px 26px rgba(7,92,69,.20)!important}
.academy-account-button-secondary{background:rgba(255,255,255,.88)!important;color:#0a644e!important;box-shadow:none!important}

/* Orders list. */
.adl-order-toolbar{
  display:grid;grid-template-columns:minmax(220px,1fr) minmax(190px,.38fr);gap:12px;margin:0 0 20px;padding:13px;border:1px solid rgba(255,255,255,.82);border-radius:19px;background:rgba(255,255,255,.78);box-shadow:var(--adl-shadow-soft);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.adl-order-toolbar label{display:grid;gap:6px;color:#365f54;font-size:11px;font-weight:800}
.adl-order-toolbar input,.adl-order-toolbar select{min-height:46px;padding:9px 12px;border:1px solid rgba(9,102,78,.17);border-radius:13px;background:#fff;color:var(--adl-ink);font:inherit}
.adl-order-toolbar-count{grid-column:1/-1;color:#637a72;font-size:11px}
.academy-dentist-portal .academy-orders-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.academy-dentist-portal .academy-order-card{border-radius:24px!important;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.academy-dentist-portal .academy-order-card:hover{transform:translateY(-5px);box-shadow:var(--adl-shadow)!important}
.academy-dentist-portal .academy-order-card[hidden]{display:none!important}
.academy-dentist-portal .academy-order-card.is-action-required{border-color:rgba(204,137,27,.42)!important;box-shadow:0 18px 42px rgba(164,108,13,.13)!important}

/* Detail hero: intentional, saturated and readable. */
.academy-dentist-portal--detail .academy-account-shell{max-width:1300px}
.academy-dentist-portal--detail .academy-order-hero{
  position:relative;overflow:hidden;margin-bottom:15px;padding:24px 26px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:27px!important;
  background:
    radial-gradient(circle at 8% 10%,rgba(213,175,97,.30),transparent 25%),
    radial-gradient(circle at 94% 4%,rgba(34,199,152,.22),transparent 32%),
    linear-gradient(135deg,#073f34 0%,#075c49 52%,#04362e 100%)!important;
  box-shadow:0 25px 60px rgba(3,54,43,.23)!important;
}
.academy-dentist-portal--detail .academy-order-hero::after{position:absolute;inset:auto -70px -110px auto;width:260px;height:260px;border:1px solid rgba(255,255,255,.13);border-radius:50%;content:""}
.academy-dentist-portal--detail .academy-order-hero-main{position:relative;z-index:1;align-items:center}
.academy-dentist-portal--detail .academy-order-hero-main h1{margin:6px 0!important;color:#fff!important;font-size:clamp(25px,3vw,38px)!important;line-height:1.25!important;letter-spacing:.03em;text-shadow:0 8px 24px rgba(0,0,0,.18)}
.academy-dentist-portal--detail .academy-order-hero p,
.academy-dentist-portal--detail .academy-order-hero span,
.academy-dentist-portal--detail .academy-order-hero dt{color:rgba(235,255,248,.78)!important}
.academy-dentist-portal--detail .academy-order-hero strong,
.academy-dentist-portal--detail .academy-order-hero dd{color:#fff!important}
.academy-dentist-portal--detail .academy-order-hero .academy-order-eyebrow{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.10)!important;color:#e9fff7!important}
.academy-dentist-portal--detail .academy-order-hero-meta{position:relative;z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:17px!important}
.academy-dentist-portal--detail .academy-order-hero-meta>div{padding:10px 13px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:14px;background:rgba(255,255,255,.09)!important;box-shadow:inset 0 1px rgba(255,255,255,.08)}
.academy-dentist-portal--detail .academy-status-badge{min-height:42px;padding:8px 14px;border:1px solid rgba(255,255,255,.20)!important;background:rgba(255,255,255,.12)!important;color:#fff!important;box-shadow:none!important}

/* Four compact, colored information cards. */
.adl-command-grid{display:grid;grid-template-columns:1.08fr 1.42fr .82fr 1.28fr;gap:12px;margin:0 0 18px}
.adl-command-card{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:11px;min-width:0;min-height:112px;padding:15px;border:1px solid rgba(255,255,255,.86);border-radius:20px;background:rgba(255,255,255,.88);box-shadow:var(--adl-shadow-soft);overflow:hidden;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.adl-command-card::after{position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#0aa27b,#d5af61);content:""}
.adl-command-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(8,117,91,.10);color:#08755b;font-size:17px;font-weight:900}
.adl-command-label{display:block;color:#667e76;font-size:10px;font-weight:820}
.adl-command-card strong{display:block;margin-top:5px;color:#073c31;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.adl-command-card small{display:block;margin-top:4px;color:#73877f;font-size:9.5px;line-height:1.6}
.adl-command-card.is-attention{background:linear-gradient(145deg,rgba(255,248,230,.96),rgba(255,255,255,.86));border-color:rgba(213,175,97,.34)}
.adl-command-card.is-attention .adl-command-icon{background:rgba(213,175,97,.18);color:#87621b}
.adl-command-card.is-success{background:linear-gradient(145deg,rgba(232,251,243,.98),rgba(255,255,255,.87))}
.adl-command-card.is-danger{background:linear-gradient(145deg,rgba(255,238,237,.97),rgba(255,255,255,.87));border-color:rgba(232,107,99,.25)}
.adl-command-card.is-danger .adl-command-icon{background:rgba(232,107,99,.12);color:#b34a45}
.adl-command-card.is-time .adl-command-icon{background:rgba(31,115,148,.11);color:#1e708d}
.adl-time-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.adl-time-split div{padding:7px 8px;border-radius:10px;background:rgba(8,117,91,.07)}
.adl-time-split span{display:block;color:#6c817a;font-size:8.5px}.adl-time-split b{display:block;margin-top:2px;color:#164b3e;font-size:11px}

.academy-dentist-portal--detail .academy-order-detail{margin:0 0 16px;padding:17px 19px!important;border:1px solid rgba(255,255,255,.84)!important;border-radius:21px!important;background:rgba(255,255,255,.84)!important;box-shadow:var(--adl-shadow-soft)!important}
.academy-dentist-portal--detail .academy-order-detail>header{display:flex!important;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.academy-dentist-portal--detail .academy-order-detail>header h2{margin:0!important;color:var(--adl-ink)!important;font-size:17px!important}
.academy-dentist-portal--detail .academy-order-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;border-radius:14px!important}
.academy-dentist-portal--detail .academy-order-detail-actions{margin:0 0 18px!important;justify-content:flex-start}

/* Contextual action panel in the right-side dentist sidebar. */
.adl-side-action-panel{
  position:sticky;top:calc(88px + 330px);overflow:hidden;padding:17px;border:1px solid rgba(255,255,255,.84);border-radius:23px;
  background:
    radial-gradient(circle at 100% 0,rgba(213,175,97,.20),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.94),rgba(232,247,241,.86));
  box-shadow:var(--adl-shadow);backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);
}
.adl-side-action-panel::before{position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#0ca17b,#d5af61);content:""}
.adl-side-action-kicker{display:flex;align-items:center;gap:7px;color:#a36c13;font-size:10px;font-weight:900}
.adl-side-action-kicker span{width:9px;height:9px;border-radius:50%;background:#e1a62e;box-shadow:0 0 0 0 rgba(225,166,46,.45);animation:adlPulse 1.8s infinite}
.adl-side-action-panel h2{margin:9px 0 5px;color:#083b31;font-size:17px;line-height:1.6}
.adl-side-action-panel>p{margin:0 0 13px;color:#627a72;font-size:10.5px;line-height:1.75}
.adl-side-action-buttons{display:grid;gap:9px}
.adl-action-button{display:grid;gap:3px;width:100%;padding:12px 13px;border:0;border-radius:15px;text-align:right;background:linear-gradient(135deg,#0d9875,#05503f);color:#fff;cursor:pointer;box-shadow:0 13px 27px rgba(6,91,68,.22);transition:transform .2s ease,box-shadow .2s ease}
.adl-action-button span{font-size:12.5px;font-weight:900;line-height:1.55}.adl-action-button small{color:rgba(255,255,255,.73);font-size:8.7px;line-height:1.55}
.adl-action-button:hover{transform:translateY(-2px);box-shadow:0 17px 34px rgba(6,91,68,.29)}
.adl-action-button.is-evaluation{background:linear-gradient(135deg,#b88726,#795715)}
.adl-action-button.is-correction{background:linear-gradient(135deg,#d86a4e,#a34032)}
.adl-action-button.is-remake{background:linear-gradient(135deg,#b84b51,#7f2831)}

.adl-modal{position:fixed;z-index:99999;inset:0;display:grid;place-items:center;padding:18px;background:rgba(2,29,24,.62);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.adl-modal.is-open{opacity:1;visibility:visible}
.adl-modal-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(980px,100%);max-height:min(92vh,940px);overflow:hidden;border:1px solid rgba(255,255,255,.80);border-radius:27px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(235,247,242,.96));box-shadow:0 38px 110px rgba(0,24,19,.42);transform:translateY(18px) scale(.985);transition:transform .25s ease}
.adl-modal.is-open .adl-modal-dialog{transform:none}
.adl-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid rgba(8,94,72,.13);background:linear-gradient(135deg,#073f34,#08634e)}
.adl-modal-head>div{display:grid;gap:2px}.adl-modal-head small{color:rgba(232,255,247,.68);font-size:9px}.adl-modal-head strong{color:#fff;font-size:17px}
.adl-modal-close{display:grid;place-items:center;width:41px;height:41px;border:1px solid rgba(255,255,255,.20);border-radius:12px;background:rgba(255,255,255,.11);color:#fff;font-size:23px;cursor:pointer}
.adl-modal-body{overflow:auto;padding:20px;overscroll-behavior:contain}
.adl-modal-body>.academy-transfer-clinic-card{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.adl-modal-body>.academy-transfer-clinic-card>header{padding:0 0 14px!important}
body.adl-modal-open{overflow:hidden}

/* Timeline remains the visual centrepiece, one horizontal row. */
.academy-dentist-portal .academy-dentist-timeline{margin:20px 0!important;padding:21px!important;border-radius:26px!important;overflow:hidden!important;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(234,247,242,.84))!important}
.academy-dentist-portal .academy-dentist-timeline-heading{margin-bottom:14px!important}
.academy-dentist-portal .academy-dentist-timeline-treatment{padding:18px!important;border:1px solid rgba(8,117,91,.10)!important;border-radius:20px!important;background:rgba(255,255,255,.78)!important}
.academy-dentist-portal .academy-dentist-timeline-current{grid-template-columns:40px minmax(0,1fr) minmax(240px,.75fr)!important;padding:12px!important}
.academy-dentist-portal .academy-dentist-timeline-progress{margin-bottom:13px!important;padding:9px 12px!important}
.academy-dentist-portal .academy-dentist-timeline-stepper{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;gap:0!important;min-width:max-content;margin-top:16px!important;padding:5px 2px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(9,112,84,.32) transparent}
.academy-dentist-portal .academy-dentist-timeline-stepper>li{position:relative!important;display:block!important;flex:0 0 clamp(145px,16vw,205px)!important;min-width:145px!important;min-height:128px!important;padding:43px 11px 8px!important;text-align:center!important;scroll-snap-align:center}
.academy-dentist-portal .academy-dentist-timeline-stepper>li:not(:last-child)::after{position:absolute!important;z-index:0!important;top:20px!important;right:calc(50% + 18px)!important;bottom:auto!important;left:calc(-50% + 18px)!important;width:auto!important;height:3px!important;border-radius:999px;background:#cddfd8!important;content:""!important}
.academy-dentist-portal .academy-dentist-timeline-step-icon{position:absolute!important;z-index:1!important;top:3px!important;right:50%!important;grid-column:auto!important;grid-row:auto!important;transform:translateX(50%)!important}
.academy-dentist-portal .academy-dentist-timeline-stepper>li>div{grid-column:auto!important;grid-row:auto!important;padding:0!important}
.academy-dentist-portal .academy-dentist-timeline-stepper h4{font-size:12px!important;line-height:1.65!important}
.academy-dentist-portal .academy-dentist-timeline-stepper p{font-size:9px!important;line-height:1.55!important}
.academy-dentist-portal .academy-dentist-timeline-runs{margin-top:14px!important}
.academy-dentist-portal .academy-dentist-timeline-run{border-radius:15px!important;background:rgba(255,255,255,.72)!important}
.academy-dentist-portal .academy-dentist-timeline-run.is-remake{background:linear-gradient(145deg,rgba(255,241,241,.96),rgba(255,255,255,.78))!important}

/* Supporting information. */
.academy-dentist-portal .academy-order-treatment-details{margin-top:18px!important}
.academy-dentist-portal .academy-treatment-card{padding:18px!important;border-radius:20px!important}
.academy-dentist-portal .academy-treatment-card .academy-treatment-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.academy-dentist-portal .academy-transfer-history{margin:18px 0!important;padding:16px!important;border-radius:20px!important}
.adl-history-details{margin-top:16px;padding:0 4px}
.adl-history-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:5px 3px;color:#0b5947;font-size:14px;font-weight:850;cursor:pointer;list-style:none}
.adl-history-details>summary small{color:#70837d;font-size:9px;font-weight:700}
.adl-history-details>summary::-webkit-details-marker{display:none}.adl-history-details>summary::after{font-size:18px;content:"⌄";transition:transform .2s ease}.adl-history-details[open]>summary::after{transform:rotate(180deg)}
.adl-history-details .academy-transfer-history{margin:8px 0 0!important;box-shadow:none!important}
.academy-dentist-portal .academy-transfer-clinic-card.is-complete{padding:15px!important;border-radius:18px!important}

[data-adl-reveal]{opacity:0;transform:translateY(15px);transition:opacity .46s ease,transform .46s cubic-bezier(.22,.8,.32,1)}
[data-adl-reveal].is-visible{opacity:1;transform:none}
@keyframes adlPulse{0%{box-shadow:0 0 0 0 rgba(225,166,46,.42)}70%{box-shadow:0 0 0 9px rgba(225,166,46,0)}100%{box-shadow:0 0 0 0 rgba(225,166,46,0)}}

@media (max-width:1180px){
  .adl-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .academy-account-main .dentist-panel-layout{grid-template-columns:220px minmax(0,1fr)}
  .academy-dentist-portal .academy-orders-list{grid-template-columns:1fr}
}
@media (max-width:960px){
  .academy-account-main .dentist-panel-layout{display:block;width:min(100% - 24px,1180px);padding-top:18px}
  .dentist-account-sidebar{margin-bottom:14px}
  .dentist-account-sidebar-disclosure{position:relative;top:auto;border-radius:18px}
  .dentist-account-sidebar-toggle{display:flex!important;min-height:50px;padding:11px 15px}
  .dentist-account-sidebar-disclosure:not([open]) .dentist-account-sidebar-nav{display:none}
  .dentist-account-sidebar-nav ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dentist-account-sidebar-nav a:hover{transform:none}
  .adl-side-action-panel{position:fixed;z-index:1000;right:12px;bottom:12px;left:12px;top:auto;padding:11px 12px;border-radius:18px}
  .adl-side-action-panel h2,.adl-side-action-panel>p{display:none}.adl-side-action-kicker{margin-bottom:7px}.adl-side-action-buttons{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
}
@media (max-width:760px){
  .academy-account-dashboard-grid{grid-template-columns:1fr}
  .adl-order-toolbar{grid-template-columns:1fr}
  .adl-command-grid{grid-template-columns:1fr 1fr;gap:9px}
  .adl-command-card{min-height:104px;padding:13px}
  .academy-dentist-portal--detail .academy-order-hero-meta{grid-template-columns:1fr 1fr!important}
  .academy-dentist-portal--detail .academy-order-summary{grid-template-columns:1fr 1fr!important}
  .academy-dentist-portal .academy-treatment-card .academy-treatment-facts{grid-template-columns:1fr 1fr!important}
  .academy-dentist-portal .academy-dentist-timeline-current{grid-template-columns:38px minmax(0,1fr)!important}
  .academy-dentist-portal .academy-dentist-timeline-current>dl{grid-column:1/-1!important}
  .adl-modal{padding:8px}.adl-modal-dialog{max-height:96vh;border-radius:20px}.adl-modal-body{padding:13px}
}
@media (max-width:520px){
  .dentist-account-sidebar-nav ul{grid-template-columns:1fr}
  .adl-command-grid{grid-template-columns:1fr}
  .academy-dentist-portal--detail .academy-order-hero-meta,
  .academy-dentist-portal--detail .academy-order-summary,
  .academy-dentist-portal .academy-treatment-card .academy-treatment-facts{grid-template-columns:1fr!important}
  .academy-dentist-portal .academy-dentist-timeline{padding:13px!important}
  .academy-dentist-portal .academy-dentist-timeline-stepper>li{flex-basis:150px!important}
  .adl-side-action-buttons{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  [data-adl-reveal]{opacity:1!important;transform:none!important}
}

/* --------------------------------------------------------------------------
 * 0.15.2 — premium glass tuning + complete desktop timeline visibility.
 * This block intentionally overrides only presentation; workflow markup and
 * form behavior remain untouched.
 * -------------------------------------------------------------------------- */
:root{
  --adl-bg:#dcebe5;
  --adl-glass:rgba(255,255,255,.70);
  --adl-glass-solid:rgba(255,255,255,.89);
  --adl-line:rgba(6,84,65,.15);
  --adl-shadow:0 24px 64px rgba(3,48,39,.16),0 2px 8px rgba(3,48,39,.06);
  --adl-shadow-soft:0 14px 36px rgba(3,48,39,.11),inset 0 1px 0 rgba(255,255,255,.76);
}

.academy-account-page .page-shell{
  background:
    radial-gradient(circle at 4% 8%,rgba(220,174,77,.28),transparent 25%),
    radial-gradient(circle at 94% 12%,rgba(13,160,121,.30),transparent 30%),
    radial-gradient(circle at 78% 92%,rgba(40,117,104,.20),transparent 34%),
    linear-gradient(135deg,#d5e8df 0%,#f1f5f1 43%,#dcece6 100%);
}

.dentist-account-sidebar-disclosure,
.adl-side-action-panel,
.adl-order-toolbar,
.academy-account-card,
.academy-account-dashboard-card,
.academy-dentist-portal .academy-order-card,
.academy-dentist-portal .academy-treatment-card,
.academy-dentist-portal .academy-transfer-history,
.academy-dentist-portal .academy-transfer-clinic-card{
  border-color:rgba(255,255,255,.72)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.78),rgba(233,247,241,.62))!important;
  box-shadow:var(--adl-shadow-soft)!important;
  backdrop-filter:blur(22px) saturate(138%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(138%)!important;
}

.dentist-account-sidebar-disclosure{
  box-shadow:0 25px 64px rgba(3,61,48,.18),inset 0 1px 0 rgba(255,255,255,.76)!important;
}

.dentist-account-sidebar-nav a{
  border:1px solid transparent;
}
.dentist-account-sidebar-nav a:hover{
  border-color:rgba(8,117,91,.09);
  background:rgba(255,255,255,.76);
  box-shadow:0 12px 26px rgba(4,68,53,.10);
}

.academy-dentist-portal--detail .academy-order-hero{
  border-color:rgba(255,255,255,.24)!important;
  background:
    radial-gradient(circle at 8% 8%,rgba(224,184,92,.34),transparent 27%),
    radial-gradient(circle at 94% 6%,rgba(48,213,165,.22),transparent 33%),
    linear-gradient(135deg,#063f34 0%,#07634e 52%,#03352d 100%)!important;
  box-shadow:0 28px 72px rgba(1,45,36,.28),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
.academy-dentist-portal--detail .academy-order-hero-meta>div{
  border-color:rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.115)!important;
  backdrop-filter:blur(13px);
  -webkit-backdrop-filter:blur(13px);
}

.adl-command-grid{gap:14px}
.adl-command-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.82)!important;
  background:
    radial-gradient(circle at 100% 0,rgba(255,255,255,.88),transparent 45%),
    linear-gradient(145deg,rgba(255,255,255,.78),rgba(239,249,245,.61))!important;
  box-shadow:0 15px 38px rgba(3,58,46,.12),inset 0 1px 0 rgba(255,255,255,.90)!important;
  backdrop-filter:blur(21px) saturate(145%);
  -webkit-backdrop-filter:blur(21px) saturate(145%);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.adl-command-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.96)!important;
  box-shadow:0 22px 48px rgba(3,58,46,.16),inset 0 1px 0 #fff!important;
}
.adl-command-card::after{
  position:absolute;inset:auto -34px -48px auto;width:112px;height:112px;border-radius:50%;opacity:.34;content:"";
}
.adl-command-card.is-lab::after{background:#25a77e}
.adl-command-card.is-clinic::after{background:#4c9cb6}
.adl-command-card.is-warning::after{background:#e0a23d}
.adl-command-card.is-danger::after{background:#d75b58}
.adl-command-card.is-time::after{background:#73a7ba}
.adl-command-card .adl-command-icon{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 8px 18px rgba(4,76,59,.10);
}

.academy-dentist-portal .academy-order-detail,
.academy-dentist-portal .academy-order-treatment-details,
.academy-dentist-portal .academy-dentist-timeline{
  border:1px solid rgba(255,255,255,.74)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.77),rgba(235,248,243,.61))!important;
  box-shadow:0 20px 54px rgba(3,55,44,.13),inset 0 1px 0 rgba(255,255,255,.88)!important;
  backdrop-filter:blur(24px) saturate(142%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(142%)!important;
}

.academy-dentist-portal .academy-dentist-timeline{
  overflow:visible!important;
}
.academy-dentist-portal .academy-dentist-timeline-treatment{
  border-color:rgba(9,105,80,.12)!important;
  background:rgba(255,255,255,.64)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 10px 27px rgba(4,61,48,.065)!important;
}
.academy-dentist-portal .academy-dentist-timeline-current,
.academy-dentist-portal .academy-dentist-timeline-progress{
  border-color:rgba(8,104,79,.10)!important;
  background:rgba(237,248,244,.66)!important;
}

/* Every main node—including corrections 1, 2 and 3—fits in one desktop row. */
@media (min-width:981px){
  .academy-dentist-portal .academy-dentist-timeline-stepper{
    display:grid!important;
    grid-template-columns:repeat(var(--adl-step-count,5),minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    padding-inline:0!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li{
    flex:none!important;
    min-width:0!important;
    min-height:132px!important;
    padding-inline:6px!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper h4{
    font-size:clamp(10px,.88vw,12px)!important;
    overflow-wrap:anywhere;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper p{
    font-size:8.5px!important;
  }
}

/* Rich but restrained correction hierarchy. */
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-1>div,
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-2>div,
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-3>div{
  margin-top:-2px;padding:7px 5px!important;border-radius:12px;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-1>div{background:rgba(255,247,213,.56)}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-2>div{background:rgba(255,235,213,.58)}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-3>div{background:rgba(255,226,226,.60)}

.academy-dentist-portal .academy-dentist-timeline-run{
  border:1px solid rgba(255,255,255,.78)!important;
  background:rgba(255,255,255,.63)!important;
  box-shadow:0 13px 32px rgba(4,63,50,.09),inset 0 1px 0 rgba(255,255,255,.88)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.academy-dentist-portal .academy-dentist-timeline-run.is-remake{
  border-color:rgba(190,61,61,.28)!important;
  background:linear-gradient(145deg,rgba(255,236,236,.72),rgba(255,255,255,.67))!important;
  box-shadow:0 15px 36px rgba(142,39,39,.11),inset 0 1px 0 rgba(255,255,255,.9)!important;
}

.adl-history-details{
  border:1px solid rgba(255,255,255,.70);border-radius:19px;padding:0 14px;
  background:rgba(255,255,255,.48);box-shadow:0 10px 28px rgba(3,57,45,.07);
  backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);
}

@media (max-width:980px){
  .academy-dentist-portal .academy-dentist-timeline{overflow:hidden!important}
  .academy-dentist-portal .academy-dentist-timeline-stepper{
    display:flex!important;
    min-width:max-content!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li{
    flex:0 0 150px!important;
    min-width:150px!important;
  }
}

/* --------------------------------------------------------------------------
 * 0.15.3 — aurora glass pass inspired by the public home experience.
 * Presentation only: richer animated background, clearer depth and more
 * transparent glass surfaces. Workflow markup and data remain untouched.
 * -------------------------------------------------------------------------- */
:root{
  --adl-glass-clear:rgba(248,255,252,.48);
  --adl-glass-rich:rgba(244,255,250,.58);
  --adl-glass-deep:rgba(236,250,244,.42);
  --adl-glass-border:rgba(255,255,255,.74);
  --adl-emerald-glow:rgba(9,178,130,.42);
  --adl-aqua-glow:rgba(72,181,190,.30);
  --adl-gold-glow:rgba(225,182,88,.35);
}

.academy-account-page,
.academy-account-page button,
.academy-account-page input,
.academy-account-page select,
.academy-account-page textarea{
  font-family:"Vazirmatn","IRANSansX",Tahoma,"Segoe UI",Arial,sans-serif;
}

.academy-account-page .page-shell{
  overflow:hidden;
  background:
    radial-gradient(circle at 9% 9%,rgba(232,190,98,.36),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(9,187,137,.39),transparent 31%),
    radial-gradient(circle at 82% 76%,rgba(52,159,173,.25),transparent 32%),
    radial-gradient(circle at 18% 86%,rgba(20,116,91,.19),transparent 30%),
    linear-gradient(135deg,#cfe5dc 0%,#edf5f0 38%,#d9ece5 70%,#cce5dd 100%);
  background-attachment:fixed;
}

.academy-account-page .page-shell::before,
.academy-account-page .page-shell::after{
  z-index:0;
  width:clamp(360px,38vw,620px);
  height:clamp(360px,38vw,620px);
  opacity:.74;
  filter:blur(34px);
  will-change:transform;
}
.academy-account-page .page-shell::before{
  top:4vh;
  right:-13vw;
  background:radial-gradient(circle,rgba(10,191,139,.58) 0%,rgba(36,160,133,.22) 43%,transparent 70%);
  animation:adlAuroraEmerald 15s ease-in-out infinite alternate;
}
.academy-account-page .page-shell::after{
  bottom:-20vh;
  left:-11vw;
  background:radial-gradient(circle,rgba(231,188,91,.53) 0%,rgba(196,151,60,.18) 46%,transparent 72%);
  animation:adlAuroraGold 18s ease-in-out -5s infinite alternate;
}
.academy-account-main{z-index:2}

.academy-account-main .dentist-panel-layout{
  position:relative;
}
.academy-account-main .dentist-panel-layout::before{
  position:absolute;
  z-index:-1;
  inset:clamp(8px,1vw,16px) clamp(-8px,-.5vw,-2px) 34px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(233,249,242,.06));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 32px 90px rgba(3,55,43,.08);
  backdrop-filter:blur(8px) saturate(112%);
  -webkit-backdrop-filter:blur(8px) saturate(112%);
  content:"";
}

.academy-account-page .site-header{
  background:linear-gradient(105deg,rgba(2,42,33,.91),rgba(4,68,53,.86),rgba(2,47,38,.92));
  border-bottom-color:rgba(238,210,145,.28);
  box-shadow:0 13px 38px rgba(0,30,23,.23),inset 0 -1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(22px) saturate(136%);
  -webkit-backdrop-filter:blur(22px) saturate(136%);
}

.dentist-account-sidebar-disclosure,
.adl-side-action-panel,
.adl-order-toolbar,
.academy-account-card,
.academy-account-dashboard-card,
.academy-dentist-portal .academy-order-card,
.academy-dentist-portal .academy-treatment-card,
.academy-dentist-portal .academy-transfer-history,
.academy-dentist-portal .academy-transfer-clinic-card,
.academy-dentist-portal .academy-order-detail,
.academy-dentist-portal .academy-order-treatment-details,
.academy-dentist-portal .academy-dentist-timeline{
  border-color:var(--adl-glass-border)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.58),rgba(230,248,241,.34))!important;
  box-shadow:
    0 24px 62px rgba(2,53,41,.14),
    0 4px 14px rgba(3,61,47,.06),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(8,105,80,.035)!important;
  backdrop-filter:blur(30px) saturate(148%) contrast(104%)!important;
  -webkit-backdrop-filter:blur(30px) saturate(148%) contrast(104%)!important;
}

.dentist-account-sidebar-disclosure{
  background:
    radial-gradient(circle at 88% 10%,rgba(40,199,154,.16),transparent 34%),
    linear-gradient(145deg,rgba(250,255,253,.60),rgba(220,244,235,.35))!important;
  box-shadow:0 28px 70px rgba(2,59,45,.18),inset 0 1px 0 rgba(255,255,255,.94)!important;
}
.dentist-account-sidebar-nav a{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.dentist-account-sidebar-nav a:hover{
  background:rgba(255,255,255,.58);
  border-color:rgba(255,255,255,.76);
}
.dentist-account-sidebar-nav a[aria-current="page"]{
  background:
    radial-gradient(circle at 85% 0,rgba(107,238,196,.24),transparent 40%),
    linear-gradient(135deg,#0eaa82,#055342)!important;
  box-shadow:0 17px 36px rgba(4,92,68,.27),inset 0 1px 0 rgba(255,255,255,.18)!important;
}

.academy-dentist-portal--detail .academy-order-hero{
  background:
    radial-gradient(circle at 5% 9%,rgba(235,194,101,.42),transparent 28%),
    radial-gradient(circle at 96% 5%,rgba(64,230,177,.30),transparent 34%),
    radial-gradient(circle at 68% 125%,rgba(22,121,100,.48),transparent 42%),
    linear-gradient(122deg,#033d32 0%,#087159 48%,#023b31 100%)!important;
  background-size:115% 115%;
  box-shadow:0 30px 76px rgba(0,48,38,.30),inset 0 1px 0 rgba(255,255,255,.14)!important;
  animation:adlHeroGradient 12s ease-in-out infinite alternate;
}
.academy-dentist-portal--detail .academy-order-hero::before{
  position:absolute;
  inset:-55% auto auto -14%;
  width:380px;
  height:380px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(247,217,145,.23),transparent 69%);
  filter:blur(10px);
  pointer-events:none;
  content:"";
  animation:adlHeroGlow 8s ease-in-out infinite alternate;
}
.academy-dentist-portal--detail .academy-order-hero::after{
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 0 0 34px rgba(255,255,255,.025),0 0 0 70px rgba(52,222,169,.025);
  animation:adlOrbitBreathe 9s ease-in-out infinite alternate;
}
.academy-dentist-portal--detail .academy-order-hero-meta>div{
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.075))!important;
  border-color:rgba(255,255,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 10px 24px rgba(0,24,19,.08)!important;
  backdrop-filter:blur(16px) saturate(128%);
  -webkit-backdrop-filter:blur(16px) saturate(128%);
}

.adl-command-card{
  min-height:132px;
  border-color:rgba(255,255,255,.79)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.54),rgba(229,247,240,.31))!important;
  box-shadow:0 20px 48px rgba(2,57,44,.13),inset 0 1px 0 rgba(255,255,255,.94)!important;
  backdrop-filter:blur(28px) saturate(152%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(152%)!important;
}
.adl-command-card::before{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(118deg,rgba(255,255,255,.38),transparent 32%,transparent 67%,rgba(255,255,255,.12));
  opacity:.64;
  pointer-events:none;
  content:"";
}
.adl-command-card::after{
  width:142px;height:142px;right:-46px;bottom:-64px;opacity:.30;filter:blur(1px);
}
.adl-command-card.is-brand{
  background:linear-gradient(145deg,rgba(226,250,241,.61),rgba(255,255,255,.38))!important;
}
.adl-command-card.is-attention{
  background:linear-gradient(145deg,rgba(255,242,229,.62),rgba(255,255,255,.39))!important;
}
.adl-command-card.is-success{
  background:linear-gradient(145deg,rgba(224,249,239,.65),rgba(255,255,255,.37))!important;
}
.adl-command-card.is-danger{
  background:linear-gradient(145deg,rgba(255,230,229,.62),rgba(255,255,255,.38))!important;
}
.adl-command-card.is-time{
  background:linear-gradient(145deg,rgba(225,245,251,.61),rgba(255,255,255,.38))!important;
}
.adl-command-card:hover{
  transform:translateY(-5px) scale(1.008);
  box-shadow:0 28px 62px rgba(2,57,44,.17),inset 0 1px 0 #fff!important;
}

.academy-dentist-portal .academy-order-detail .academy-order-summary,
.academy-dentist-portal .academy-treatment-card .academy-treatment-facts,
.academy-dentist-portal .academy-treatment-card .academy-treatment-technical dl{
  border-color:rgba(255,255,255,.62)!important;
  background:rgba(255,255,255,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 10px 28px rgba(3,61,47,.05);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}
.academy-dentist-portal .academy-order-detail .academy-order-summary>div,
.academy-dentist-portal .academy-treatment-card .academy-treatment-facts>div,
.academy-dentist-portal .academy-treatment-card .academy-treatment-technical dl>div{
  background:rgba(248,255,252,.45)!important;
  border-color:rgba(8,105,80,.08)!important;
}

.academy-dentist-portal .academy-dentist-timeline{
  background:
    radial-gradient(circle at 93% 5%,rgba(22,178,132,.12),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.56),rgba(225,246,238,.33))!important;
}
.academy-dentist-portal .academy-dentist-timeline-treatment{
  background:linear-gradient(145deg,rgba(255,255,255,.51),rgba(235,250,244,.29))!important;
  border-color:rgba(255,255,255,.69)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.90),0 15px 36px rgba(2,58,45,.075)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.academy-dentist-portal .academy-dentist-timeline-current,
.academy-dentist-portal .academy-dentist-timeline-progress{
  background:rgba(233,249,243,.48)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-current .academy-dentist-timeline-step-icon{
  animation:adlCurrentStepPulse 2.7s ease-in-out infinite;
}
.academy-dentist-portal .academy-dentist-timeline-run{
  background:rgba(250,255,253,.48)!important;
  backdrop-filter:blur(22px) saturate(140%);
  -webkit-backdrop-filter:blur(22px) saturate(140%);
}
.academy-dentist-portal .academy-dentist-timeline-run.is-remake{
  background:linear-gradient(145deg,rgba(255,231,231,.54),rgba(255,255,255,.41))!important;
}

.adl-history-details{
  border-color:rgba(255,255,255,.67);
  background:rgba(248,255,252,.35);
  box-shadow:0 16px 38px rgba(2,55,43,.075),inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter:blur(22px) saturate(138%);
  -webkit-backdrop-filter:blur(22px) saturate(138%);
}

.adl-side-action-panel{
  background:
    radial-gradient(circle at 100% 0,rgba(236,190,84,.20),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.62),rgba(229,247,240,.38))!important;
  box-shadow:0 26px 64px rgba(3,55,43,.18),inset 0 1px 0 rgba(255,255,255,.93)!important;
}
.adl-action-button{
  position:relative;
  overflow:hidden;
}
.adl-action-button::after{
  position:absolute;
  top:-80%;left:-38%;width:42%;height:260%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:rotate(18deg) translateX(-260%);
  transition:transform .65s ease;
  content:"";
}
.adl-action-button:hover::after{transform:rotate(18deg) translateX(520%)}

[data-adl-reveal]{
  transform:translateY(20px) scale(.992);
  transition:opacity .58s ease,transform .62s cubic-bezier(.2,.78,.2,1);
}

@keyframes adlAuroraEmerald{
  0%{transform:translate3d(0,0,0) scale(.94)}
  55%{transform:translate3d(-7vw,5vh,0) scale(1.08)}
  100%{transform:translate3d(-3vw,13vh,0) scale(1.02)}
}
@keyframes adlAuroraGold{
  0%{transform:translate3d(0,0,0) scale(.96)}
  50%{transform:translate3d(7vw,-9vh,0) scale(1.09)}
  100%{transform:translate3d(2vw,-15vh,0) scale(1.01)}
}
@keyframes adlHeroGradient{
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
}
@keyframes adlHeroGlow{
  0%{transform:translate3d(0,0,0) scale(.92);opacity:.55}
  100%{transform:translate3d(70px,35px,0) scale(1.13);opacity:.94}
}
@keyframes adlOrbitBreathe{
  0%{transform:scale(.96);opacity:.62}
  100%{transform:scale(1.06);opacity:1}
}
@keyframes adlCurrentStepPulse{
  0%,100%{box-shadow:0 0 0 4px rgba(14,145,109,.10),0 8px 20px rgba(6,95,72,.10)}
  50%{box-shadow:0 0 0 9px rgba(14,145,109,0),0 11px 26px rgba(6,95,72,.18)}
}

@media (max-width:960px){
  .academy-account-main .dentist-panel-layout::before{display:none}
  .academy-account-page .page-shell::before,
  .academy-account-page .page-shell::after{opacity:.52}
}

@media (prefers-reduced-motion:reduce){
  .academy-account-page .page-shell::before,
  .academy-account-page .page-shell::after,
  .academy-dentist-portal--detail .academy-order-hero,
  .academy-dentist-portal--detail .academy-order-hero::before,
  .academy-dentist-portal--detail .academy-order-hero::after,
  .academy-dentist-portal .academy-dentist-timeline-stepper>li.is-current .academy-dentist-timeline-step-icon{
    animation:none!important;
  }
}

/* --------------------------------------------------------------------------
 * 0.15.4 — visual polish requested after browser review.
 * Presentation-only overrides: header fit, richer glass, stronger timeline,
 * and compact readable readonly-response summaries. No workflow changes.
 * -------------------------------------------------------------------------- */
:root{
  --adl-glass-panel:rgba(246,255,251,.42);
  --adl-glass-panel-strong:rgba(248,255,252,.56);
  --adl-glass-panel-soft:rgba(232,250,243,.29);
  --adl-glass-stroke:rgba(255,255,255,.78);
  --adl-glass-shadow:0 26px 74px rgba(2,54,42,.16),0 5px 18px rgba(3,70,54,.07),inset 0 1px 0 rgba(255,255,255,.94);
}

/* Header: keep brand and every public-menu item on one desktop row. */
@media (min-width:981px){
  .academy-account-page .site-header .wrap.top{
    width:min(1328px,calc(100% - 28px));
    min-height:94px!important;
    flex-wrap:nowrap!important;
    gap:clamp(8px,1vw,16px)!important;
  }
  .academy-account-page .site-header .brand{
    flex:0 0 clamp(242px,20vw,292px)!important;
    max-width:clamp(242px,20vw,292px)!important;
    gap:10px!important;
  }
  .academy-account-page .site-header .brand-copy strong{
    white-space:nowrap;
    font-size:clamp(17px,1.45vw,20px)!important;
    line-height:1.2!important;
  }
  .academy-account-page .site-header .brand-copy>span{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:10.5px!important;
  }
  .academy-account-page .site-header .primary-navigation{
    flex:1 1 auto!important;
    min-width:0!important;
    margin-inline-start:0!important;
  }
  .academy-account-page .site-header .primary-menu{
    width:100%;
    flex-wrap:nowrap!important;
    justify-content:center!important;
    gap:0!important;
  }
  .academy-account-page .site-header .primary-menu>li{
    flex:0 0 auto;
  }
  .academy-account-page .site-header .primary-menu>li>a{
    min-height:38px!important;
    padding:7px clamp(6px,.66vw,10px)!important;
    white-space:nowrap!important;
    font-size:clamp(11.5px,.91vw,13px)!important;
  }
  .academy-account-page .site-header .header-actions{
    gap:6px!important;
    flex:0 0 auto!important;
  }
  .academy-account-page .site-header .dentist-header-access-link{
    padding-inline:9px!important;
  }
}
@media (min-width:981px) and (max-width:1120px){
  .academy-account-page .site-header .brand{flex-basis:220px!important;max-width:220px!important}
  .academy-account-page .site-header .brand-copy>span{display:none}
  .academy-account-page .site-header .primary-menu>li>a{padding-inline:5px!important;font-size:11px!important}
}

/* More colour behind the glass, without lowering text contrast. */
.academy-account-page .page-shell{
  background:
    radial-gradient(ellipse at 7% 8%,rgba(246,190,70,.48),transparent 27%),
    radial-gradient(ellipse at 92% 7%,rgba(0,211,151,.50),transparent 30%),
    radial-gradient(ellipse at 96% 61%,rgba(47,183,194,.35),transparent 31%),
    radial-gradient(ellipse at 18% 90%,rgba(16,130,99,.27),transparent 30%),
    linear-gradient(138deg,#badbd0 0%,#e7f3ed 35%,#cce9df 69%,#b9ded4 100%)!important;
}
.academy-account-main .dentist-panel-layout::before{
  inset:4px -7px 28px!important;
  border-color:rgba(255,255,255,.46)!important;
  background:
    radial-gradient(circle at 93% 5%,rgba(42,213,161,.12),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(225,249,240,.055))!important;
  box-shadow:0 38px 110px rgba(2,60,46,.10),inset 0 1px 0 rgba(255,255,255,.52)!important;
  backdrop-filter:blur(11px) saturate(124%)!important;
  -webkit-backdrop-filter:blur(11px) saturate(124%)!important;
}

/* Main surfaces: visibly glass, with edge reflection and depth. */
.dentist-account-sidebar-disclosure,
.adl-side-action-panel,
.adl-order-toolbar,
.academy-account-card,
.academy-account-dashboard-card,
.academy-dentist-portal .academy-order-card,
.academy-dentist-portal .academy-treatment-card,
.academy-dentist-portal .academy-transfer-history,
.academy-dentist-portal .academy-transfer-clinic-card,
.academy-dentist-portal .academy-order-detail,
.academy-dentist-portal .academy-order-treatment-details,
.academy-dentist-portal .academy-dentist-timeline{
  border:1px solid var(--adl-glass-stroke)!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.53),rgba(235,251,245,.28) 54%,rgba(255,255,255,.38))!important;
  box-shadow:var(--adl-glass-shadow)!important;
  backdrop-filter:blur(34px) saturate(162%) contrast(105%)!important;
  -webkit-backdrop-filter:blur(34px) saturate(162%) contrast(105%)!important;
}
.academy-dentist-portal .academy-order-detail,
.academy-dentist-portal .academy-order-treatment-details,
.academy-dentist-portal .academy-dentist-timeline{
  position:relative;
  overflow:hidden;
}
.academy-dentist-portal .academy-order-detail::before,
.academy-dentist-portal .academy-order-treatment-details::before,
.academy-dentist-portal .academy-dentist-timeline::before{
  position:absolute;
  z-index:0;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(112deg,rgba(255,255,255,.34),transparent 27%,transparent 70%,rgba(255,255,255,.10));
  pointer-events:none;
  content:"";
}
.academy-dentist-portal .academy-order-detail>*,
.academy-dentist-portal .academy-order-treatment-details>*,
.academy-dentist-portal .academy-dentist-timeline>*{
  position:relative;
  z-index:1;
}

/* Hero remains saturated while becoming more polished and less flat. */
.academy-dentist-portal--detail .academy-order-hero{
  border-color:rgba(255,255,255,.28)!important;
  background:
    radial-gradient(circle at 3% 8%,rgba(244,196,89,.48),transparent 29%),
    radial-gradient(circle at 98% 2%,rgba(71,237,183,.34),transparent 34%),
    radial-gradient(circle at 72% 130%,rgba(13,151,119,.55),transparent 44%),
    linear-gradient(120deg,#023b31 0%,#08775d 49%,#01362d 100%)!important;
  box-shadow:0 34px 90px rgba(0,45,35,.32),inset 0 1px 0 rgba(255,255,255,.18)!important;
}

/* Timeline: stronger graphical rail, luminous nodes and clearer completion flow. */
.academy-dentist-portal .academy-dentist-timeline{
  background:
    radial-gradient(circle at 95% 2%,rgba(16,191,141,.18),transparent 31%),
    radial-gradient(circle at 4% 96%,rgba(230,184,81,.13),transparent 30%),
    linear-gradient(145deg,rgba(250,255,253,.48),rgba(224,248,239,.25))!important;
}
.academy-dentist-portal .academy-dentist-timeline-treatment{
  border:1px solid rgba(255,255,255,.72)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.43),rgba(233,250,244,.23))!important;
  box-shadow:0 18px 46px rgba(2,61,47,.08),inset 0 1px 0 rgba(255,255,255,.90)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper{
  padding-top:9px!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li:not(:last-child)::after{
  top:18px!important;
  right:calc(50% + 17px)!important;
  left:calc(-50% + 17px)!important;
  height:7px!important;
  border:1px solid rgba(255,255,255,.68)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(224,239,234,.92),rgba(176,207,197,.78))!important;
  box-shadow:0 4px 12px rgba(3,74,56,.11),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-done:not(:last-child)::after,
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-sent:not(:last-child)::after{
  background:linear-gradient(90deg,#08745a,#27b88c 55%,#63d2ae)!important;
  box-shadow:0 5px 15px rgba(6,132,98,.22),inset 0 1px 0 rgba(255,255,255,.45)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-1:not(:last-child)::after{
  background:linear-gradient(90deg,#0c8c6b,#d5ab31)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-2:not(:last-child)::after{
  background:linear-gradient(90deg,#d5ab31,#e3822e)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-correction-3:not(:last-child)::after{
  background:linear-gradient(90deg,#e3822e,#cc4545)!important;
}
.academy-dentist-portal .academy-dentist-timeline-step-icon{
  width:39px!important;
  height:39px!important;
  border-width:3px!important;
  background-clip:padding-box!important;
  box-shadow:0 9px 22px rgba(3,76,58,.14),0 0 0 5px rgba(255,255,255,.48)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-done .academy-dentist-timeline-step-icon,
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-sent .academy-dentist-timeline-step-icon{
  background:linear-gradient(145deg,#0da57e,#05614b)!important;
  box-shadow:0 11px 25px rgba(5,112,84,.24),0 0 0 6px rgba(19,160,121,.11)!important;
}
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-active .academy-dentist-timeline-step-icon,
.academy-dentist-portal .academy-dentist-timeline-stepper>li.is-action .academy-dentist-timeline-step-icon{
  box-shadow:0 10px 24px rgba(166,116,26,.18),0 0 0 7px rgba(221,174,66,.14)!important;
}

/* Readonly dentist response: convert raw blocks into compact summary cards. */
.academy-dentist-portal .academy-transfer-unified-card.is-complete{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px!important;
  padding:18px!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(20,181,134,.14),transparent 32%),
    linear-gradient(145deg,rgba(249,255,252,.50),rgba(228,248,240,.27))!important;
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header,
.academy-dentist-portal .academy-transfer-unified-card.is-complete>.academy-transfer-clinic-facts,
.academy-dentist-portal .academy-transfer-unified-card.is-complete>.academy-transfer-overview,
.academy-dentist-portal .academy-transfer-unified-card.is-complete>.academy-transfer-files{
  grid-column:1/-1;
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px 14px!important;
  align-items:center;
  margin:0!important;
  padding:13px 15px!important;
  border:1px solid rgba(255,255,255,.70)!important;
  border-radius:17px!important;
  background:rgba(246,255,251,.39)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 10px 24px rgba(3,72,55,.06)!important;
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header>span{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  margin:0!important;
  border-radius:14px;
  background:linear-gradient(145deg,#14ae84,#07614c);
  color:transparent!important;
  box-shadow:0 10px 22px rgba(7,109,82,.20);
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header>span::after{
  color:#fff;
  font-size:20px;
  font-weight:900;
  content:"✓";
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header h2{
  margin:0!important;
  font-size:17px!important;
}
.academy-dentist-portal .academy-transfer-unified-card.is-complete>header p{
  margin:2px 0 0!important;
  font-size:10px!important;
  line-height:1.7!important;
}
.academy-dentist-portal .academy-transfer-result-list,
.academy-dentist-portal .academy-transfer-review-results,
.academy-dentist-portal .academy-transfer-readonly-evaluations,
.academy-dentist-portal .academy-transfer-readonly-comment,
.academy-dentist-portal .academy-transfer-files{
  min-width:0;
  margin:0!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.68)!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.43),rgba(235,250,244,.23))!important;
  box-shadow:0 12px 30px rgba(3,64,49,.065),inset 0 1px 0 rgba(255,255,255,.86)!important;
  backdrop-filter:blur(20px) saturate(140%);
  -webkit-backdrop-filter:blur(20px) saturate(140%);
}
.academy-dentist-portal .academy-transfer-result-list>h3,
.academy-dentist-portal .academy-transfer-review-results>h3,
.academy-dentist-portal .academy-transfer-readonly-evaluations>h3,
.academy-dentist-portal .academy-transfer-readonly-comment>h3,
.academy-dentist-portal .academy-transfer-files>h3{
  margin:0 0 10px!important;
  color:#426a5f!important;
  font-size:10.5px!important;
  letter-spacing:0!important;
}
.academy-dentist-portal .academy-transfer-result-list article,
.academy-dentist-portal .academy-transfer-review-results article,
.academy-dentist-portal .academy-transfer-readonly-evaluations article{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px 12px;
  margin:0!important;
  padding:11px 12px 11px 40px!important;
  border:1px solid rgba(8,117,91,.08)!important;
  border-radius:13px!important;
  background:rgba(249,255,252,.43)!important;
}
.academy-dentist-portal .academy-transfer-result-list article+article,
.academy-dentist-portal .academy-transfer-review-results article+article,
.academy-dentist-portal .academy-transfer-readonly-evaluations article+article{
  margin-top:8px!important;
}
.academy-dentist-portal .academy-transfer-result-list article::before,
.academy-dentist-portal .academy-transfer-review-results article::before{
  position:absolute;
  left:11px;
  top:50%;
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:8px;
  background:rgba(11,151,113,.12);
  color:#07805f;
  font-size:13px;
  font-weight:900;
  transform:translateY(-50%);
  content:"✓";
}
.academy-dentist-portal .academy-transfer-result-list article h4,
.academy-dentist-portal .academy-transfer-review-results article h4{
  margin:0!important;
  color:#173f35!important;
  font-size:11.5px!important;
  line-height:1.65!important;
}
.academy-dentist-portal .academy-transfer-result-list article strong,
.academy-dentist-portal .academy-transfer-review-results article strong{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(10,142,106,.10);
  color:#087257!important;
  font-size:10.5px!important;
  white-space:nowrap;
}
.academy-dentist-portal .academy-transfer-readonly-evaluations{
  grid-column:1/-1;
}
.academy-dentist-portal .academy-transfer-readonly-evaluations article span{
  color:#bf7d00!important;
  font-size:18px!important;
  letter-spacing:2px;
  direction:ltr;
}
.academy-dentist-portal .academy-transfer-readonly-comment,
.academy-dentist-portal .academy-transfer-files{
  grid-column:1/-1;
}
.academy-dentist-portal .academy-transfer-files:has(.academy-file-empty){display:none!important}
.academy-dentist-portal .academy-transfer-readonly-comment p{margin:0!important;color:#315c50!important;line-height:1.85!important}

@media (max-width:760px){
  .academy-dentist-portal .academy-transfer-unified-card.is-complete{grid-template-columns:1fr}
  .academy-dentist-portal .academy-transfer-unified-card.is-complete>*{grid-column:1!important}
  .academy-dentist-portal .academy-transfer-result-list article,
  .academy-dentist-portal .academy-transfer-review-results article,
  .academy-dentist-portal .academy-transfer-readonly-evaluations article{
    grid-template-columns:1fr;
  }
  .academy-dentist-portal .academy-transfer-result-list article strong,
  .academy-dentist-portal .academy-transfer-review-results article strong{
    justify-self:start;
    white-space:normal;
  }
}

@media (prefers-reduced-motion:reduce){
  .academy-account-page .page-shell,
  .academy-dentist-portal--detail .academy-order-hero{background-attachment:scroll!important}
}


/* --------------------------------------------------------------------------
 * 0.15.5 — stability baseline.
 * Core content remains server-rendered and visible. Desktop timelines fit all
 * nodes without horizontal clipping; tablet/mobile timelines become vertical.
 * -------------------------------------------------------------------------- */

/* Never let the order identity card or primary content disappear. */
.academy-dentist-portal--detail .academy-order-hero,
.academy-dentist-portal--detail .academy-order-detail,
.academy-dentist-portal--detail .academy-dentist-timeline,
.academy-dentist-portal--detail .academy-order-treatment-details{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  opacity:1!important;
  visibility:visible!important;
}
.academy-dentist-portal--detail .academy-order-hero{margin-block:0 18px!important}
.academy-dentist-portal--detail .adl-command-grid{width:100%;max-width:100%}
.academy-dentist-portal--detail .adl-command-ready [hidden]{display:none!important}

/* Public account screens must use a centred, predictable canvas. */
body.academy-account-page--login .dentist-panel-layout,
body.academy-account-page--forgot_password .dentist-panel-layout,
body.academy-account-page--register .dentist-panel-layout,
body.academy-account-page--status .dentist-panel-layout{
  display:block!important;
  width:min(1120px,calc(100vw - 28px))!important;
  max-width:1120px!important;
  margin-inline:auto!important;
  padding:clamp(28px,4vw,58px) 0 64px!important;
}
body.academy-account-page--login .dentist-panel-main-content,
body.academy-account-page--forgot_password .dentist-panel-main-content,
body.academy-account-page--register .dentist-panel-main-content,
body.academy-account-page--status .dentist-panel-main-content{
  width:100%!important;
  max-width:100%!important;
}
body.academy-account-page--login .academy-account-shell,
body.academy-account-page--forgot_password .academy-account-shell{
  width:min(680px,100%)!important;
  max-width:680px!important;
  margin-inline:auto!important;
}
body.academy-account-page--register .academy-account-shell,
body.academy-account-page--status .academy-account-shell{
  width:min(960px,100%)!important;
  max-width:960px!important;
  margin-inline:auto!important;
}
.academy-account-card-narrow{margin-inline:auto!important}

/* Desktop: all timeline nodes share one complete row with no hidden overflow. */
@media (min-width:981px){
  .academy-dentist-portal .academy-dentist-timeline,
  .academy-dentist-portal .academy-dentist-timeline-treatment,
  .academy-dentist-portal .academy-dentist-timeline-run{
    overflow:visible!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(0,1fr)!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-inline:0!important;
    padding:9px 0 12px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:142px!important;
    padding:47px 5px 8px!important;
    overflow:visible!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li>div{
    min-width:0!important;
    padding:7px 4px!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper h4{
    margin-inline:auto!important;
    font-size:clamp(9px,.78vw,11.5px)!important;
    line-height:1.65!important;
    overflow-wrap:anywhere!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper strong,
  .academy-dentist-portal .academy-dentist-timeline-stepper p,
  .academy-dentist-portal .academy-dentist-timeline-stepper dl{
    font-size:8.5px!important;
    line-height:1.55!important;
    overflow-wrap:anywhere!important;
  }
}

/* Tablet and phone: a true vertical timeline; every stage is visible. */
@media (max-width:980px){
  .academy-dentist-portal .academy-dentist-timeline,
  .academy-dentist-portal .academy-dentist-timeline-treatment,
  .academy-dentist-portal .academy-dentist-timeline-run{
    overflow:visible!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-flow:row!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:14px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li{
    position:relative!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:start!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:0!important;
    padding:6px 0 19px!important;
    text-align:right!important;
    scroll-snap-align:none!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-step-icon{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    grid-column:1!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:center!important;
    margin:0!important;
    transform:none!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li>div{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    margin:0!important;
    padding:8px 11px!important;
    border-radius:14px!important;
    text-align:right!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper>li:not(:last-child)::after{
    top:44px!important;
    right:20px!important;
    bottom:-3px!important;
    left:auto!important;
    width:4px!important;
    height:auto!important;
    min-height:24px!important;
    border-width:0!important;
    border-radius:999px!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper h4{
    margin:0 0 4px!important;
    font-size:13px!important;
    line-height:1.65!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper strong{
    display:block!important;
    font-size:10.5px!important;
    line-height:1.65!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper dl{
    margin-top:6px!important;
    font-size:10px!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper dl>div{
    justify-content:flex-start!important;
  }
  .academy-dentist-portal .academy-dentist-timeline-stepper p{
    margin-top:7px!important;
    font-size:10.5px!important;
    line-height:1.75!important;
  }
}

@media (max-width:620px){
  .academy-dentist-portal--detail .academy-order-hero{padding:19px 16px!important;border-radius:21px!important}
  .academy-dentist-portal--detail .academy-order-hero-main h1{font-size:clamp(24px,8vw,32px)!important}
  .academy-dentist-portal--detail .academy-order-hero-meta{grid-template-columns:1fr!important}
  .academy-dentist-portal .academy-dentist-timeline{padding:12px!important;border-radius:20px!important}
  .academy-dentist-portal .academy-dentist-timeline-treatment{padding:13px!important}
  .academy-dentist-portal .academy-dentist-timeline-current{grid-template-columns:36px minmax(0,1fr)!important}
  .academy-dentist-portal .academy-dentist-timeline-current>dl{grid-column:1/-1!important}
  body.academy-account-page--login .dentist-panel-layout,
  body.academy-account-page--forgot_password .dentist-panel-layout,
  body.academy-account-page--register .dentist-panel-layout,
  body.academy-account-page--status .dentist-panel-layout{
    width:min(100vw - 18px,1120px)!important;
    padding-top:18px!important;
  }
}


/* --------------------------------------------------------------------------
 * 0.15.6 — unified dentist portal behavior.
 * Every order keeps the same hero/summary structure. Active clinic forms are
 * opened from a contextual sidebar action instead of interrupting the page.
 * -------------------------------------------------------------------------- */

/* Decorative layers must never block real links or buttons. */
.academy-account-dashboard-card::after,
.adl-command-card::after,
.adl-side-action-panel::before,
.adl-action-button::after{
  pointer-events:none!important;
}
.academy-account-dashboard-card>*{
  position:relative;
  z-index:1;
}
.academy-account-dashboard-card .academy-account-card-link{
  position:relative;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  pointer-events:auto!important;
}

/* Contextual forms belong to the panel action area, not inline above content. */
.academy-dentist-portal--detail .academy-transfer-clinic-card[hidden]{
  display:none!important;
}
.dentist-account-sidebar>.adl-side-action-panel{
  position:sticky!important;
  top:104px!important;
  margin-top:14px!important;
}

/* A predictable four-card summary on every order state. */
.academy-dentist-portal--detail .adl-command-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.academy-dentist-portal--detail .adl-command-card{
  min-width:0!important;
}

@media (max-width:1180px){
  .academy-dentist-portal--detail .adl-command-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:960px){
  .dentist-account-sidebar>.adl-side-action-panel{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
    margin:12px 0 0!important;
    border-radius:20px!important;
  }
  .adl-side-action-panel h2,
  .adl-side-action-panel>p{
    display:block!important;
  }
  .adl-side-action-buttons{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:620px){
  .academy-dentist-portal--detail .adl-command-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .academy-dentist-portal--detail .adl-command-card{
    min-height:0!important;
  }
}


/* --------------------------------------------------------------------------
 * 0.15.7 — clean, duplicate-free order information flow.
 * Command cards are the only location/time summary. Patient and treatment
 * information comes first, the complete timeline follows, and physical
 * transfer history stays available in a compact disclosure below it.
 * -------------------------------------------------------------------------- */

/* Never allow extracted source sections to return through plugin display rules. */
.academy-dentist-portal--detail .adl-source-suppressed,
.academy-dentist-portal--detail .academy-transfer-location.adl-source-suppressed,
.academy-dentist-portal--detail .academy-transfer-duration.adl-source-suppressed{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* A clear content hierarchy immediately after the four summary cards. */
.academy-dentist-portal--detail.adl-order-sequence-ready .academy-order-detail{
  order:initial!important;
  margin:18px 0 0!important;
}
.academy-dentist-portal--detail.adl-order-sequence-ready .academy-order-treatment-details{
  margin:18px 0 0!important;
}
.academy-dentist-portal--detail.adl-order-sequence-ready .academy-dentist-timeline{
  margin:20px 0 0!important;
}
.academy-dentist-portal--detail.adl-order-sequence-ready .academy-order-detail-actions{
  margin:16px 0 0!important;
}

/* Transfer history is useful, but should not dominate the first half of the page. */
.academy-dentist-portal--detail .adl-history-details{
  box-sizing:border-box;
  width:100%;
  margin:16px 0 0!important;
  padding:0!important;
  border:1px solid rgba(9,112,84,.15)!important;
  border-radius:18px!important;
  background:rgba(248,255,252,.62)!important;
  box-shadow:0 10px 28px rgba(3,57,45,.065)!important;
  overflow:hidden;
}
.academy-dentist-portal--detail .adl-history-details>summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:13px 16px!important;
  color:#0b5947;
  cursor:pointer;
  user-select:none;
}
.academy-dentist-portal--detail .adl-history-details>summary span{
  min-width:0;
  font-size:14px;
  font-weight:850;
}
.academy-dentist-portal--detail .adl-history-details>summary small{
  color:#6f817b;
  font-size:10px;
  font-weight:700;
}
.academy-dentist-portal--detail .adl-history-details>summary::after{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  background:rgba(8,116,82,.08);
  color:#087452;
  font-size:17px;
  content:"⌄";
  transition:transform .2s ease,background .2s ease;
}
.academy-dentist-portal--detail .adl-history-details[open]>summary{
  border-bottom:1px solid rgba(9,112,84,.12);
}
.academy-dentist-portal--detail .adl-history-details[open]>summary::after{
  transform:rotate(180deg);
  background:rgba(8,116,82,.13);
}
.academy-dentist-portal--detail .adl-history-details .academy-transfer-history{
  display:block!important;
  margin:0!important;
  padding:16px 18px 18px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

@media (max-width:620px){
  .academy-dentist-portal--detail .adl-history-details>summary{
    grid-template-columns:minmax(0,1fr) auto;
    padding:12px 13px!important;
  }
  .academy-dentist-portal--detail .adl-history-details>summary small{
    display:none;
  }
  .academy-dentist-portal--detail .adl-history-details .academy-transfer-history{
    padding:13px!important;
  }
}


/* 0.15.15 — keep account pages on the identical public desktop header. */
@media (min-width:981px){
  .academy-account-page .site-header,
  .academy-account-page .site-header.is-scrolled{
    background:linear-gradient(108deg,rgba(6,56,47,.96),rgba(10,74,61,.94),rgba(7,61,51,.96))!important;
    border-bottom:1px solid rgba(215,188,121,.30)!important;
    box-shadow:0 10px 28px rgba(2,31,25,.20)!important;color:#fff!important;
  }
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    direction:ltr!important;display:grid!important;
    grid-template-columns:minmax(230px,310px) minmax(0,1fr) minmax(270px,330px)!important;
    grid-template-areas:"actions navigation brand"!important;align-items:center!important;
    width:min(1360px,calc(100% - 30px))!important;max-width:1360px!important;min-height:88px!important;
    gap:clamp(10px,1.2vw,20px)!important;padding:0!important;
  }
  .academy-account-page .site-header.is-scrolled .wrap.top{min-height:78px!important}
}
@media (min-width:981px) and (max-width:1180px){
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    grid-template-columns:minmax(205px,245px) minmax(0,1fr) minmax(220px,265px)!important;gap:8px!important;
  }
}

/* 0.15.17 — make the account pages use the same greener glass header as public pages. */
@media (min-width:981px){
  .academy-account-page .site-header,
  .academy-account-page .site-header.is-scrolled{
    background:transparent!important;
    border-bottom:0!important;
    box-shadow:none!important;
    color:#fff!important;
  }

  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    border:1px solid rgba(239,215,156,.34)!important;
    border-radius:26px!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.16),transparent 42%),
      linear-gradient(145deg,rgba(14,103,81,.58),rgba(4,56,44,.47))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.17),
      inset 0 -1px 0 rgba(255,255,255,.04),
      0 18px 42px rgba(0,34,26,.18)!important;
    backdrop-filter:blur(24px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  }

  .academy-account-page .site-header.is-scrolled .wrap.top{
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.14),transparent 42%),
      linear-gradient(145deg,rgba(12,96,75,.62),rgba(4,54,42,.50))!important;
  }

  .academy-account-page .site-header .brand-copy strong,
  .academy-account-page .site-header .brand-copy>span,
  .academy-account-page .site-header .primary-menu>li>a,
  .academy-account-page .site-header .dentist-header-access-link,
  .academy-account-page .site-header .lang,
  .academy-account-page .site-header .mobile-menu-lang{
    color:#f7fbfa!important;
  }

  .academy-account-page .site-header .primary-menu>li>a:hover,
  .academy-account-page .site-header .primary-menu>li>a:focus-visible,
  .academy-account-page .site-header .primary-menu>.current-menu-item>a,
  .academy-account-page .site-header .primary-menu>.current_page_item>a{
    background:rgba(255,255,255,.08)!important;
  }

  .academy-account-page .site-header .lang{
    background:rgba(215,188,121,.16)!important;
    border-color:rgba(215,188,121,.34)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important;
    backdrop-filter:blur(14px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(140%)!important;
  }

  .academy-account-page .site-header .dentist-header-access-link.is-secondary{
    background:rgba(255,255,255,.08)!important;
    border-color:rgba(255,255,255,.18)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  }

  .academy-account-page .site-header .dentist-header-access-link.is-primary{
    background:linear-gradient(145deg,rgba(20,158,124,.90),rgba(12,134,104,.86))!important;
    border-color:rgba(34,177,138,.72)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px rgba(0,0,0,.08)!important;
  }
}

@media (max-width:640px){
  .academy-account-page .site-header,
  .academy-account-page .site-header.is-scrolled{
    background:transparent!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }

  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    border:1px solid rgba(239,215,156,.34)!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.20),transparent 42%),
      linear-gradient(145deg,rgba(14,103,81,.64),rgba(4,56,44,.52))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -1px 0 rgba(255,255,255,.05),
      0 14px 30px rgba(0,34,26,.20)!important;
    backdrop-filter:blur(24px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  }
}


/* --------------------------------------------------------------------------
 * 0.16.31 — premium dentist interaction surfaces.
 * Presentation-only: clearer patient identity, glass modal forms, large
 * touch-friendly choices, polished upload surface, and mobile-first behavior.
 * -------------------------------------------------------------------------- */

.academy-account-page,
.academy-account-page button,
.academy-account-page input,
.academy-account-page select,
.academy-account-page textarea{
  font-family:"Vazirmatn","Segoe UI",Tahoma,Arial,sans-serif;
}

/* Patient identity is intentionally more prominent than secondary order facts. */
.academy-dentist-portal .academy-order-patient{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  margin:17px 0 0;
  padding:13px 15px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.84);
  border-radius:17px;
  background:
    radial-gradient(circle at 95% 10%,rgba(30,201,148,.18),transparent 35%),
    linear-gradient(135deg,rgba(245,255,251,.82),rgba(225,247,239,.58));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 10px 24px rgba(4,69,53,.07);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.academy-dentist-portal .academy-order-patient::before{
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  border-radius:12px;
  background:linear-gradient(145deg,#0ea47d,#07604c);
  color:#fff;
  box-shadow:0 9px 20px rgba(6,116,87,.19);
  content:"ب";
  font-size:13px;
  font-weight:950;
}
.academy-dentist-portal .academy-order-patient-label{
  display:block;
  color:#5e7971;
  font-size:10px;
  font-weight:800;
  line-height:1.5;
}
.academy-dentist-portal .academy-order-patient strong{
  grid-column:2;
  margin-top:-8px;
  color:#073b31;
  font-size:clamp(14px,1.4vw,17px);
  font-weight:950;
  line-height:1.65;
  overflow-wrap:anywhere;
}

/* Modal shell: strong glass depth without turning content into an opaque white sheet. */
.adl-modal{
  padding:clamp(12px,2vw,24px)!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(14,171,127,.17),transparent 28%),
    radial-gradient(circle at 12% 90%,rgba(222,177,80,.15),transparent 30%),
    rgba(2,26,21,.68)!important;
  backdrop-filter:blur(19px) saturate(132%)!important;
  -webkit-backdrop-filter:blur(19px) saturate(132%)!important;
}
.adl-modal-dialog{
  width:min(920px,100%)!important;
  max-height:min(94svh,940px)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(50,217,166,.16),transparent 30%),
    radial-gradient(circle at 0 100%,rgba(224,181,87,.12),transparent 32%),
    linear-gradient(145deg,rgba(246,255,251,.88),rgba(223,244,236,.72))!important;
  box-shadow:0 42px 130px rgba(0,29,23,.48),inset 0 1px 0 rgba(255,255,255,.88)!important;
  backdrop-filter:blur(38px) saturate(158%)!important;
  -webkit-backdrop-filter:blur(38px) saturate(158%)!important;
}
.adl-modal-head{
  position:relative;
  min-height:76px;
  padding:16px 20px!important;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.15)!important;
  background:
    radial-gradient(circle at 92% 5%,rgba(67,228,179,.29),transparent 34%),
    linear-gradient(120deg,#033b31,#08745a 58%,#044438)!important;
}
.adl-modal-head::after{
  position:absolute;
  inset:auto -32px -72px auto;
  width:180px;
  height:180px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
  box-shadow:0 0 0 26px rgba(255,255,255,.025),0 0 0 54px rgba(255,255,255,.018);
  pointer-events:none;
  content:"";
}
.adl-modal-head>div{position:relative;z-index:1;gap:3px!important}
.adl-modal-head small{color:rgba(225,255,246,.73)!important;font-size:10px!important;font-weight:760;letter-spacing:.02em}
.adl-modal-head strong{color:#fff!important;font-size:clamp(17px,2vw,21px)!important;font-weight:930;line-height:1.55}
.adl-modal-close{
  position:relative;
  z-index:2;
  width:44px!important;
  height:44px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important;
  transition:background .18s ease,transform .18s ease!important;
}
.adl-modal-close:hover{background:rgba(255,255,255,.20)!important;transform:rotate(3deg)}
.adl-modal-body{padding:clamp(16px,2.4vw,27px)!important;scrollbar-width:thin;scrollbar-color:rgba(8,117,91,.32) transparent}
.adl-modal-body>.academy-transfer-clinic-card>header{
  margin:0 0 18px!important;
  padding:0 0 16px!important;
  border-bottom:1px solid rgba(7,94,72,.11)!important;
}
.adl-modal-body>.academy-transfer-clinic-card>header>span{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  margin-bottom:7px;
  padding:4px 10px;
  border:1px solid rgba(9,119,91,.12);
  border-radius:999px;
  background:rgba(231,249,242,.72);
  color:#087058!important;
  font-size:10px!important;
  font-weight:880!important;
}
.adl-modal-body>.academy-transfer-clinic-card>header h2{
  margin:0!important;
  color:#073c32!important;
  font-size:clamp(18px,2.3vw,24px)!important;
  font-weight:950!important;
  line-height:1.55!important;
}
.adl-modal-body>.academy-transfer-clinic-card>header p{
  max-width:72ch;
  margin:7px 0 0!important;
  color:#57756c!important;
  font-size:12px!important;
  line-height:1.9!important;
}

/* Shared form rhythm and field surfaces. */
.adl-modal-body form,
.adl-modal-body .academy-transfer-response-form,
.adl-modal-body .academy-unified-request-response-form,
.adl-modal-body .academy-post-final-correction-form,
.adl-modal-body .academy-full-remake-request-form{
  display:grid!important;
  gap:16px!important;
  min-width:0;
}
.adl-modal-body form>label,
.adl-modal-body .academy-transfer-shared-comment,
.adl-modal-body .academy-unified-request-response-form>label,
.adl-modal-body .academy-post-final-treatment-target,
.adl-modal-body .academy-post-final-correction-form>label{
  display:grid!important;
  gap:8px!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.adl-modal-body form label>span,
.adl-modal-body .academy-post-final-treatment-target>strong,
.adl-modal-body fieldset legend{
  color:#164d40!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.65!important;
}
.adl-modal-body form label>small,
.adl-modal-body form label small,
.adl-modal-body .academy-post-final-treatment-target small{
  color:#6c817a!important;
  font-size:10.5px!important;
  line-height:1.8!important;
}
.adl-modal-body textarea,
.adl-modal-body select,
.adl-modal-body input[type="text"],
.adl-modal-body input[type="number"],
.adl-modal-body input[type="tel"],
.adl-modal-body input[type="email"]{
  width:100%!important;
  max-width:100%!important;
  min-height:52px!important;
  padding:12px 14px!important;
  border:1px solid rgba(7,105,80,.22)!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.78)!important;
  color:#0a4035!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 7px 18px rgba(6,70,55,.045)!important;
  font-size:14px!important;
  line-height:1.8!important;
  outline:0!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.adl-modal-body textarea{
  min-height:132px!important;
  resize:vertical!important;
}
.adl-modal-body textarea::placeholder,
.adl-modal-body input::placeholder{color:#8ca098!important}
.adl-modal-body textarea:focus,
.adl-modal-body select:focus,
.adl-modal-body input:focus{
  border-color:#0b9672!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 0 0 4px rgba(12,151,114,.12),0 12px 30px rgba(4,79,60,.08)!important;
}

/* Choice groups become touch-friendly selectable cards instead of raw controls. */
.adl-modal-body fieldset{
  min-width:0!important;
  margin:0!important;
  padding:15px!important;
  border:1px solid rgba(8,105,80,.15)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.54),rgba(231,248,242,.38))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78)!important;
}
.adl-modal-body fieldset legend{padding-inline:8px!important}
.adl-modal-body :is(.academy-post-final-issues,.academy-full-remake-request-form fieldset,.academy-stage-evaluation,.academy-evaluation-stars,.academy-choice-grid) label{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid rgba(8,101,78,.14)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.70)!important;
  color:#254f44!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
  font-size:12px!important;
  font-weight:760!important;
  line-height:1.7!important;
  cursor:pointer!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.adl-modal-body :is(.academy-post-final-issues,.academy-full-remake-request-form fieldset,.academy-stage-evaluation,.academy-evaluation-stars,.academy-choice-grid) label:hover{
  transform:translateY(-1px);
  border-color:rgba(7,137,101,.30)!important;
  background:rgba(249,255,252,.94)!important;
  box-shadow:0 9px 22px rgba(4,77,59,.07)!important;
}
.adl-modal-body input[type="checkbox"],
.adl-modal-body input[type="radio"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  margin:0!important;
  border:2px solid #87aaa0!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:inset 0 1px 2px rgba(2,50,39,.06)!important;
  cursor:pointer!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.adl-modal-body input[type="checkbox"]{border-radius:8px!important}
.adl-modal-body input[type="radio"]{border-radius:50%!important}
.adl-modal-body input[type="checkbox"]::after{
  width:9px;
  height:5px;
  margin-top:-2px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  opacity:0;
  transform:rotate(-45deg) scale(.7);
  content:"";
  transition:opacity .14s ease,transform .14s ease;
}
.adl-modal-body input[type="radio"]::after{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  opacity:0;
  transform:scale(.5);
  content:"";
  transition:opacity .14s ease,transform .14s ease;
}
.adl-modal-body input[type="checkbox"]:checked,
.adl-modal-body input[type="radio"]:checked{
  border-color:#078967!important;
  background:linear-gradient(145deg,#11a77f,#087058)!important;
  box-shadow:0 6px 15px rgba(7,137,103,.22)!important;
}
.adl-modal-body input[type="checkbox"]:checked::after,
.adl-modal-body input[type="radio"]:checked::after{opacity:1;transform:rotate(-45deg) scale(1)}
.adl-modal-body input[type="radio"]:checked::after{transform:scale(1)}
.adl-modal-body label:has(> input[type="checkbox"]:checked),
.adl-modal-body label:has(> input[type="radio"]:checked){
  border-color:rgba(7,139,103,.34)!important;
  background:linear-gradient(145deg,rgba(226,250,241,.94),rgba(244,255,251,.92))!important;
  color:#075a47!important;
  box-shadow:0 9px 24px rgba(5,119,88,.09),inset 0 1px 0 rgba(255,255,255,.88)!important;
}

/* Request identity is deliberately separated into readable blocks. */
.adl-modal-body .academy-unified-request-list{gap:14px!important}
.adl-modal-body .academy-unified-request-item{
  display:grid!important;
  gap:14px!important;
  padding:16px!important;
  border:1px solid rgba(7,108,81,.16)!important;
  border-radius:19px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(232,248,242,.48))!important;
  box-shadow:0 13px 31px rgba(4,73,56,.06),inset 0 1px 0 rgba(255,255,255,.86)!important;
}
.adl-modal-body .academy-unified-request-item>header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center!important;
  gap:8px 12px!important;
  padding-bottom:11px!important;
  border-bottom:1px solid rgba(7,102,77,.10)!important;
}
.adl-modal-body .academy-unified-request-item>header strong{
  color:#093f34!important;
  font-size:13px!important;
  font-weight:930!important;
  line-height:1.7!important;
}
.adl-modal-body .academy-unified-request-item>header span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:31px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:rgba(8,120,91,.09)!important;
  color:#087158!important;
  font-size:10px!important;
  font-weight:840!important;
  line-height:1.5!important;
}
.adl-modal-body .academy-unified-request-item>p,
.adl-modal-body .academy-transfer-lab-note,
.adl-modal-body .academy-full-remake-lab-message{
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid rgba(208,166,73,.22)!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,rgba(255,249,231,.86),rgba(255,255,255,.62))!important;
  color:#66501c!important;
  font-size:12px!important;
  line-height:1.9!important;
  white-space:pre-wrap!important;
}

/* File picker: the browser's raw Choose Files control is fully covered by the drop zone. */
.adl-modal-body .academy-treatment-files{
  margin:0!important;
  padding:15px!important;
  border:1px solid rgba(7,111,83,.14)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.56),rgba(226,246,238,.40))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84)!important;
}
.adl-modal-body .academy-treatment-files>header h3{margin:0 0 4px!important;color:#10483b!important;font-size:13px!important;font-weight:900!important}
.adl-modal-body .academy-treatment-files>header p{color:#71847e!important;font-size:9.8px!important;line-height:1.75!important}
.adl-modal-body .academy-file-controls{grid-template-columns:minmax(165px,.34fr) minmax(0,1fr)!important;gap:12px!important;margin-top:13px!important}
.adl-modal-body .academy-file-controls>label:first-child{gap:7px!important;color:#28584b!important;font-size:11px!important;font-weight:850!important}
.adl-modal-body .academy-file-dropzone{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:5px!important;
  min-height:132px!important;
  padding:20px 15px!important;
  overflow:hidden!important;
  border:1.5px dashed #65aa96!important;
  border-radius:17px!important;
  background:
    radial-gradient(circle at 50% -18%,rgba(27,185,139,.14),transparent 46%),
    rgba(255,255,255,.61)!important;
  color:#164e41!important;
  text-align:center!important;
  cursor:pointer!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease!important;
}
.adl-modal-body .academy-file-dropzone::before{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:3px;
  border-radius:14px;
  background:linear-gradient(145deg,#12a880,#07614d);
  color:#fff;
  box-shadow:0 10px 24px rgba(6,126,94,.20);
  content:"↑";
  font-size:20px;
  font-weight:900;
}
.adl-modal-body .academy-file-dropzone:hover,
.adl-modal-body .academy-file-dropzone.is-dragging{
  transform:translateY(-1px)!important;
  border-color:#078966!important;
  background:rgba(240,254,248,.90)!important;
}
.adl-modal-body .academy-file-dropzone input[type="file"]{
  position:absolute!important;
  z-index:3!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer!important;
}
.adl-modal-body .academy-file-dropzone strong{color:#0b604c!important;font-size:12px!important;font-weight:900!important;line-height:1.7!important}
.adl-modal-body .academy-file-dropzone span{color:#758982!important;font-size:9.5px!important;line-height:1.7!important}
.adl-modal-body .academy-file-category-help{margin:0!important;padding:9px 11px!important;border-radius:11px!important;background:rgba(227,246,239,.65)!important;color:#527268!important;font-size:9.8px!important;line-height:1.75!important}
.adl-modal-body .academy-file-item{
  border-color:rgba(8,102,78,.14)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.76)!important;
}

/* Primary actions are clear, large and easy to tap. */
.adl-modal-body .academy-account-submit,
.adl-modal-body button[type="submit"]{
  width:100%!important;
  min-height:54px!important;
  margin:2px 0 0!important;
  padding:12px 18px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 85% 0,rgba(80,230,183,.25),transparent 35%),
    linear-gradient(135deg,#0da17b,#05503f)!important;
  color:#fff!important;
  box-shadow:0 14px 31px rgba(5,104,78,.24),inset 0 1px 0 rgba(255,255,255,.22)!important;
  font-size:13px!important;
  font-weight:930!important;
  line-height:1.7!important;
  cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.adl-modal-body .academy-account-submit:hover,
.adl-modal-body button[type="submit"]:hover{transform:translateY(-1px)!important;box-shadow:0 18px 36px rgba(5,104,78,.30)!important;filter:saturate(1.04)}

/* Evaluation stars are broad tap targets and stay legible in Persian RTL. */
.adl-modal-body .academy-evaluation-stars{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  margin:10px 0!important;
}
.adl-modal-body .academy-evaluation-stars label{
  justify-content:center!important;
  min-width:0!important;
  padding-inline:7px!important;
  text-align:center!important;
}

/* Any legacy public table remains clean and horizontally safe on narrow devices. */
.academy-dentist-portal table{
  width:100%;
  max-width:100%;
  border-spacing:0;
  border-collapse:separate;
  border:1px solid rgba(8,101,78,.13);
  border-radius:16px;
  background:rgba(255,255,255,.56);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
.academy-dentist-portal :is(th,td){padding:10px 12px;border-bottom:1px solid rgba(8,101,78,.08);text-align:right;vertical-align:top}
.academy-dentist-portal th{color:#1b5648;font-size:11px;font-weight:900;background:rgba(225,246,238,.55)}
.academy-dentist-portal td{color:#365e54;font-size:11px;line-height:1.75}

@media (max-width:700px){
  .adl-modal{place-items:end center!important;padding:0!important}
  .adl-modal-dialog{
    width:100%!important;
    max-height:94svh!important;
    border-right:0!important;
    border-bottom:0!important;
    border-left:0!important;
    border-radius:26px 26px 0 0!important;
  }
  .adl-modal-head{min-height:70px!important;padding:14px 15px!important}
  .adl-modal-head strong{font-size:17px!important}
  .adl-modal-body{padding:15px 13px max(18px,env(safe-area-inset-bottom))!important}
  .adl-modal-body>.academy-transfer-clinic-card>header{margin-bottom:14px!important;padding-bottom:13px!important}
  .adl-modal-body>.academy-transfer-clinic-card>header h2{font-size:19px!important}
  .adl-modal-body>.academy-transfer-clinic-card>header p{font-size:11px!important}
  .adl-modal-body textarea,
  .adl-modal-body select,
  .adl-modal-body input[type="text"],
  .adl-modal-body input[type="number"],
  .adl-modal-body input[type="tel"],
  .adl-modal-body input[type="email"]{min-height:52px!important;font-size:16px!important}
  .adl-modal-body textarea{min-height:124px!important}
  .adl-modal-body fieldset{padding:12px!important;border-radius:16px!important}
  .adl-modal-body :is(.academy-post-final-issues,.academy-full-remake-request-form fieldset,.academy-stage-evaluation,.academy-evaluation-stars,.academy-choice-grid) label{
    min-height:52px!important;
    padding:11px!important;
    font-size:12px!important;
  }
  .adl-modal-body .academy-unified-request-item{padding:13px!important;border-radius:17px!important}
  .adl-modal-body .academy-unified-request-item>header{grid-template-columns:1fr!important}
  .adl-modal-body .academy-unified-request-item>header span{justify-self:start!important}
  .adl-modal-body .academy-file-controls{grid-template-columns:minmax(0,1fr)!important}
  .adl-modal-body .academy-file-dropzone{min-height:126px!important}
  .adl-modal-body .academy-evaluation-stars{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .adl-modal-body .academy-evaluation-stars label:last-child:nth-child(odd){grid-column:1/-1!important}
  .academy-dentist-portal .academy-order-patient{padding:12px 13px!important}
  .academy-dentist-portal table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

@media (max-width:430px){
  .adl-modal-head{padding-inline:12px!important}
  .adl-modal-close{width:42px!important;height:42px!important}
  .adl-modal-body{padding-inline:10px!important}
  .adl-modal-body fieldset,.adl-modal-body .academy-unified-request-item,.adl-modal-body .academy-treatment-files{padding:11px!important}
  .adl-modal-body input[type="checkbox"],.adl-modal-body input[type="radio"]{width:25px!important;height:25px!important;min-width:25px!important}
  .adl-modal-body .academy-account-submit,.adl-modal-body button[type="submit"]{min-height:56px!important;font-size:13px!important}
  .academy-dentist-portal .academy-order-patient{grid-template-columns:34px minmax(0,1fr);gap:10px}
  .academy-dentist-portal .academy-order-patient::before{width:34px;height:34px;border-radius:11px}
}

@media (prefers-reduced-motion:reduce){
  .adl-modal-close,.adl-modal-body label,.adl-modal-body .academy-account-submit,.adl-modal-body button[type="submit"],.adl-modal-body .academy-file-dropzone{transition:none!important}
}

/* Ensure every binary choice in an interaction modal has the same large card treatment. */
.adl-modal-body label:has(> input[type="checkbox"]),
.adl-modal-body label:has(> input[type="radio"]){
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid rgba(8,101,78,.14)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.70)!important;
  color:#254f44!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
  cursor:pointer!important;
}
.adl-modal-body input[type="checkbox"]:checked{
  background-color:#098368!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:15px 15px!important;
}
.adl-modal-body input[type="radio"]:checked{
  background-color:#098368!important;
  background-image:radial-gradient(circle,#fff 0 34%,transparent 38%)!important;
}
