/* Azubi workspace */
:root {
  --az-ink: #1d2c3b;
  --az-muted: #55536b;
  --az-rule: #dfdeeb;
  --az-violet: #208d81;
  --az-paper: #fff;
}
.az-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(190px, 23vw, 295px);
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3.4rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 130%, #80326a 0, transparent 47%),
    radial-gradient(ellipse at 100% 5%, #373781 0, transparent 58%),
    linear-gradient(120deg, #101329, #1d3248);
  color: white;
  box-shadow: 0 .65rem 2rem #162d451c;
}
.az-hero:not(:has(img)) { padding-inline-end: clamp(105px, 24vw, 255px); }
.az-hero:not(:has(img))::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: clamp(15px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
  width: clamp(74px, 15vw, 164px);
  aspect-ratio: 1;
  border-radius: 24%;
  background: center / cover no-repeat url('campus-512.png');
  box-shadow: 0 12px 30px #07111c6b;
}
.az-hero:has(>img) { grid-template-columns: minmax(0,1fr) auto; gap: 1rem; }
.az-hero img { max-width: clamp(68px, 15vw, 156px); height: auto; border-radius: 22%; }
.az-hero :is(h1,h2) { margin-block: .25rem .5rem; font-size: clamp(1.85rem, 4.6vw, 3.65rem); line-height: 1.04; letter-spacing: -.045em; color: #fff; }
.az-hero p { margin-block: .45rem .7rem; max-width: 53ch; color: #e0f3f1; }
.az-hero :is(.eyebrow,.kicker,small) { color: #9feaf4; }
.az-hero .btn:not(.cta):not(.primary) { color: #233b53; background: #fff; }
.az-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem),1fr)); gap: clamp(.7rem, 2vw, 1.15rem); margin-block: 1rem; }
.az-grid > *, .az-hero > *, .az-tools > *, .az-card > * { min-width: 0; }
.az-card, .az-chat, .az-matrix:not(table) {
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid var(--az-rule);
  border-radius: 17px;
  background: var(--az-paper);
  color: var(--az-ink);
  box-shadow: 0 2px 8px #11243708;
}
.az-card { display: block; text-align: start; text-decoration: none; overflow-wrap: anywhere; }
.az-card :is(h2,h3) { margin: .28rem 0 .4rem; line-height: 1.18; font-size: clamp(1.12rem, 2.4vw, 1.48rem); letter-spacing: -.03em; color: #1d2c3b; }
.az-card :is(p,small) { margin: .45rem 0 .2rem; color: var(--az-muted); }
.az-card > svg, .az-card > .glyph { color: #208d81; }
.az-card > .glyph { background: #ecf8f6; }
.az-card :is(.eyebrow,.tag) { color: #41668c; }
.az-card .tag { background: #eef8f7; }
.az-tools, .az-appnav { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem; }
.az-tools { margin-block: .85rem; }
.az-tools :is(button,a), .az-appnav :is(button,a) { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; }
.az-tools :is(button,a):not(.btn), .az-appnav :is(button,a) {
  padding: .5rem .85rem;
  border: 1px solid var(--az-rule);
  border-radius: 11px;
  background: #fff;
  color: #34475b;
  font-weight: 650;
  line-height: 1.25;
}
.az-tools .btn.primary, .az-card .btn.primary, .az-chat .btn.primary { background: var(--az-violet); color: #fff; border-color: transparent; }
.az-appnav { margin: .35rem 0 1.25rem; padding: .35rem; background: #f0f8f7; border-radius: 15px; }
.az-appnav :is(button,a) { background: transparent; border-color: transparent; }
.az-appnav :is(.active,.selected,[aria-current="page"],[aria-pressed="true"]),
.az-tools :is(.active,.selected,[aria-current="page"],[aria-pressed="true"]) {
  color: #204972;
  background: white;
  border-color: #37d2c0;
  box-shadow: 0 2px 5px #263f5915;
}
.az-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: 100%;
  padding: .23rem .6rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  color: #355f8a;
  background: #ebf8f6;
}
.az-hero .az-pill { color: #e3faff; background: #29335a; }
.az-chat { display: grid; gap: .8rem; overflow-wrap: anywhere; }
.az-chat :is(ol,ul) { display: grid; gap: .6rem; margin: .2rem 0; padding-inline: 0; list-style: none; }
.az-chat :is(li,blockquote) { border-radius: 13px; padding: .7rem .95rem; background: #f3faf9; margin: 0; }
.az-chat :is(textarea,input), .az-tools :is(input,select), .az-card :is(textarea,input,select) { font-size: 1rem; max-width: 100%; }
.az-matrix { overflow-x: auto; max-width: 100%; }
table.az-matrix, .az-matrix table { width: 100%; border-collapse: collapse; color: var(--az-ink); }
.az-matrix :is(th,td) { padding: .65rem .7rem; border-bottom: 1px solid var(--az-rule); text-align: start; vertical-align: top; }
.az-matrix th { background: #eff9f8; font-size: .9rem; }
:is(.az-hero,.az-card,.az-chat,.az-tools,.az-appnav,.az-matrix) :is(a,button,summary,input,select,textarea):focus-visible,
:is(a,button).az-card:focus-visible { outline: 3px solid #477aae; outline-offset: 3px; }
@media (hover: hover) {
  :is(a,button).az-card:hover { border-color: #37d2c0; background: #fafdfd; }
  .az-appnav :is(a,button):hover, .az-tools :is(a,button):not(.primary):hover { border-color: #37d2c0; background: #fafdfd; }
}
@media (max-width: 600px) {
  .az-hero { min-height: 170px; border-radius: 17px; }
  .az-grid { gap: .65rem; }
  .az-tools, .az-appnav { gap: .32rem; }
  .az-appnav { justify-content: flex-start; width: 100%; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; }
  .az-appnav :is(a,button) { flex: 0 0 auto; margin: 0; padding: .44rem .6rem; }
  .az-matrix :is(td,th) { padding: .5rem .35rem; }
}
@media (max-width: 360px) {
  .az-hero:not(:has(img)) { padding-inline-end: 1rem; }
  .az-hero:not(:has(img))::after { display: none; }
}
.az-welcome {margin:1.4rem 0}.az-welcome h1 {margin:.35rem 0;font-size:clamp(1.9rem,5vw,3rem);letter-spacing:-.045em}.az-welcome p{color:var(--az-muted)}
.az-hero button {width:fit-content;margin:.35rem .3rem .1rem 0}.az-hero .btn.primary{background:#fafdfd;color:#244f7b}
.az-tile {display:flex;align-items:center;gap:.75rem;text-align:left}.az-tile small,.az-tile b{display:block}.az-tile small{color:var(--az-muted);margin-top:.25rem}
.brand img{border-radius:10px}.az-grid+.card,details.card{margin-top:.75rem}details.card>summary{cursor:pointer;padding:.6rem 0}
@media(max-width:720px){body:has(.az-primary){padding-bottom:calc(78px + env(safe-area-inset-bottom))}.az-primary{position:fixed;z-index:12;bottom:0;left:0;right:0;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-top:1px solid #dfdeeb;padding:.25rem .25rem calc(.3rem + env(safe-area-inset-bottom));width:100%}.az-primary button{flex-direction:column;justify-content:center;border:0;gap:.18rem;font-size:.72rem;padding:.35rem 0;min-height:44px}.az-primary button.active{color:#208d81;background:#f1faf9;border-radius:.6rem}}
