/* Native integration of the supplied interaction references; attribution in docs/DESIGN_REFERENCES.md. */
.notification-trigger {
  position: relative;
  flex-shrink: 0;
}
.notification-bell {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 0;
}
.notification-bell > span {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--brand);
  border: 2px solid var(--surface, #fff);
  color: white;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.notification-bell > span[hidden] {
  display: none;
}
.notification-panel {
  position: fixed;
  right: 24px;
  top: 76px;
  z-index: 90;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 108px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface, #fff);
  box-shadow: 0 24px 80px #2c2c2d30;
  overflow: auto;
  animation: notification-enter 0.2s ease-out;
}
.notification-panel-head {
  padding: 20px 20px 12px;
}
.notification-panel-head h2 {
  font-size: 19px;
}
.notification-panel-head .btn {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 6px;
  border: 0;
  background: none;
}
.notification-tabs {
  display: flex;
  gap: 4px;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--line);
}
.notification-tabs .btn {
  min-height: 32px;
  font-size: 12px;
  border: 0;
  background: none;
  padding: 6px 12px;
}
.notification-tabs .active {
  background: #f0f0ee;
  color: var(--brand);
}
.notification-items {
  max-height: 370px;
  overflow: auto;
}
.notification-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.notification-item:hover {
  background: var(--bg);
}
.notification-kind {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f0f0ee;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.notification-kind .icon {
  width: 16px;
  height: 16px;
}
.notification-item > div {
  flex: 1;
  min-width: 0;
}
.notification-item h3 {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.notification-item time {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 8px;
}
.notification-item p {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.notification-item-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.notification-item-actions a {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--brand);
  font-size: 11px;
}
.notification-item-actions .icon {
  width: 13px;
  height: 13px;
}
.notification-item-actions .btn {
  font-size: 10px;
  padding: 3px 8px;
  min-height: 26px;
  border: 0;
  background: none;
  color: var(--muted);
}
.notification-item-actions .btn:hover {
  background: #f0f0ee;
  color: var(--brand);
}
.notification-empty {
  display: grid;
  justify-items: center;
  padding: 40px 20px;
  color: var(--muted);
  gap: 12px;
}
.notification-empty h3 {
  font-size: 16px;
  color: var(--text);
}
.notification-empty p {
  font-size: 12px;
}
.notification-settings {
  padding: 20px;
  background: var(--bg);
}
.notification-settings label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.notification-settings input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.notification-settings .row {
  margin-top: 16px;
  gap: 8px;
}
.notification-settings .btn {
  font-size: 11px;
  min-height: 32px;
}
.notification-settings p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}
.studio-notification-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.studio-notification-stats strong {
  font-size: 30px;
  color: var(--brand);
}
.studio-notification-stats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.5;
}
.studio-broadcast-history {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.studio-broadcast-history > span {
  color: var(--brand);
}
.studio-broadcast-history h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.studio-broadcast-history p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.studio-broadcast-history time {
  font-size: 10px;
  color: var(--muted);
}
.studio-members article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.studio-members h3 {
  font-size: 17px;
}
.studio-members p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.studio-members .btn {
  font-size: 11px;
}
.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.profile-heading h1 {
  font-size: 36px;
  letter-spacing: -1px;
  margin: 16px 0 12px;
}
.profile-heading p {
  font-size: 14px;
  color: var(--muted);
}
.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.profile-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}
.profile-avatar {
  display: grid;
  place-items: center;
  background: #f0f0ee;
  color: var(--brand);
  border-radius: 50%;
  overflow: hidden;
  width: 56px;
  height: 56px;
  font-size: 24px;
  font-weight: 650;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.large-avatar {
  width: 112px;
  height: 112px;
  font-size: 48px;
  border: 5px solid var(--surface, #fff);
  box-shadow: 0 0 0 1px var(--line);
}
.profile-summary h2 {
  font-size: 24px;
  margin: 20px 0 8px;
  overflow-wrap: anywhere;
}
.profile-summary > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.avatar-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 20px 0 12px;
  width: 100%;
  font-size: 12px;
}
.avatar-upload input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.profile-goal-summary {
  margin: 28px 0;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  width: 100%;
}
.profile-goal-summary > span {
  font-size: 12px;
  color: var(--muted);
}
.profile-goal-summary strong {
  display: block;
  font-size: 44px;
  color: var(--brand);
  letter-spacing: -1px;
  margin: 12px 0;
}
.profile-goal-summary strong small {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.profile-goal-summary p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.profile-subject-summary {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: left;
}
.profile-subject-summary > span {
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
}
.profile-subject-summary .icon {
  color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.course-pair-control {
  display: flex;
  align-items: end;
  gap: 24px;
  margin-top: 28px;
  max-width: 780px;
}
.course-pair-control label {
  flex: 1;
  max-width: 560px;
  font-size: 12px;
}
.subject-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0;
  margin: 28px 0;
}
.subject-picker-grid > .btn {
  white-space: normal;
  justify-content: flex-start;
  text-align: left;
  padding: 16px;
  font-size: 13px;
  min-height: 76px;
  border-radius: 16px !important;
  gap: 12px;
}
.subject-picker-grid > .btn:first-child {
  min-height: 50px;
  grid-column: 1/-1;
  justify-content: center;
  justify-self: start;
}
.subject-picker-symbol {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f0f0ee;
}
.subject-picker-symbol svg {
  width: 42px;
  height: 42px;
}
.subject-picker-grid > .primary .subject-picker-symbol {
  background: #fff;
}
.lesson-pdf {
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.lesson-pdf > .row {
  padding: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.lesson-pdf h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
}
.lesson-pdf iframe {
  display: block;
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  height: 820px;
  background: #eaedf0;
}
.lesson-pdf > p {
  padding: 16px;
}
.uploaded-pdfs {
  display: grid;
  gap: 12px;
}
.uploaded-pdfs > .row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 16px;
}
.uploaded-pdfs a {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
  font-size: 13px;
  color: var(--brand);
}
.video-fallback {
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0 24px;
}
.video-fallback a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.video-error {
  padding: 16px;
  background: #fff5dc;
  border-radius: 12px;
  color: #79551d;
  line-height: 1.7;
}
.learning-companion {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #f0f0ee;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  margin-bottom: 32px;
  animation: notification-enter 0.3s ease-out;
}
.learning-companion-face {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.learning-companion-face svg {
  width: 100%;
  height: 100%;
}
.learning-companion > div {
  flex: 1;
}
.learning-companion > div > span {
  display: block;
  font-size: 10px;
  color: #707273;
  margin-bottom: 8px;
}
.learning-companion p {
  font-size: 13px;
  line-height: 1.75;
  color: #4a4b4c;
}
.learning-small-target {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--brand);
  font-size: 16px;
  font-weight: 650;
}
.learning-small-target .icon {
  width: 18px;
  height: 18px;
}
.goal-poster {
  min-height: 720px;
  background: var(--brand);
}
.goal-poster .tpf {
  min-height: 720px;
}
.goal-poster .tpf-word span {
  font-weight: 700 !important;
}
.goal-poster .tpf-col h3 {
  font-size: 1.35em;
}
.goal-poster .tpf-big {
  font-size: 2.8em;
}
.review-folder-section {
  margin: 40px 0;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(#bcbdc02e 1px, transparent 1px) 0 0/20px 20px,
    var(--surface, #fff);
}
.review-folder-heading h2 {
  font-size: 30px;
  margin: 16px 0 12px;
  letter-spacing: -0.8px;
}
.review-folder-heading p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
}
.review-folders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: end;
  padding: 40px 0 8px;
}
.review-folder-wrap {
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.review-folder-wrap .gf-root {
  max-width: 100%;
}
.folder-details {
  margin-top: 24px;
  padding: 24px;
}
.folder-details h3 {
  font-size: 21px;
  margin-bottom: 20px;
}
.folder-details article {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.folder-details article.focused {
  background: #f0f0ee;
  border-radius: 12px;
  padding: 20px;
}
.folder-details article p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.folder-details article strong {
  font-size: 14px;
  line-height: 1.6;
}
.folder-details article .btn {
  font-size: 12px;
  flex-shrink: 0;
}
@keyframes notification-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .profile-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .review-folders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-folder-wrap .gf-root {
    transform: scale(0.9);
    transform-origin: center bottom;
  }
  .subject-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .notification-panel {
    right: 12px;
    top: 70px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 150px);
  }
  .notification-item {
    padding: 16px 14px;
  }
  .notification-item .row {
    align-items: start;
    flex-wrap: wrap;
  }
  .notification-item time {
    margin-left: 0;
  }
  .notification-panel-head {
    padding: 16px;
  }
  .profile-layout {
    display: block;
  }
  .profile-summary {
    margin-bottom: 24px;
  }
  .profile-heading h1 {
    font-size: 30px;
  }
  .profile-heading {
    align-items: start;
  }
  .course-pair-control {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .subject-picker-grid {
    gap: 8px;
  }
  .subject-picker-grid > .btn {
    font-size: 11px;
    padding: 12px;
    gap: 8px;
    min-height: 70px;
  }
  .subject-picker-symbol {
    width: 32px;
    height: 36px;
  }
  .subject-picker-symbol svg {
    width: 32px;
    height: 32px;
  }
  .lesson-pdf iframe {
    height: 540px;
  }
  .lesson-pdf > .row {
    padding: 16px;
  }
  .learning-companion {
    padding: 16px;
    gap: 12px;
    align-items: start;
  }
  .learning-companion-face {
    width: 36px;
    height: 36px;
  }
  .learning-companion p {
    font-size: 12px;
  }
  .learning-small-target {
    display: none;
  }
  .studio-members article {
    flex-direction: column;
    align-items: start;
  }
  .review-folders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }
  .review-folder-wrap .gf-root {
    transform: none;
  }
  .review-folder-section {
    padding: 24px 16px;
  }
  .review-folder-heading h2 {
    font-size: 25px;
  }
  .folder-details {
    padding: 16px;
  }
  .folder-details article {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .goal-poster,
  .goal-poster .tpf {
    min-height: 800px;
  }
}
[data-theme="dark"] .learning-companion {
  background: #2a2a2b;
  border-color: #48494a;
}
[data-theme="dark"] .learning-companion p {
  color: #e6e8ec;
}
[data-theme="dark"] .notification-tabs .active,
[data-theme="dark"] .notification-kind,
[data-theme="dark"] .subject-picker-symbol {
  background: #2b2b2c;
  color: #b9bbbd;
}
[data-theme="dark"] .folder-details article.focused {
  background: #2b2b2c;
}
@media (prefers-reduced-motion: reduce) {
  .notification-panel,
  .learning-companion {
    animation: none;
  }
}
.flow-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden !important;
  border-radius: 100px !important;
  padding-inline: 32px !important;
  transition:
    color 0.6s,
    border-radius 0.6s,
    transform 0.3s !important;
}
.flow-btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #2d3037;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    width 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    height 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.5s;
}
.flow-btn:after {
  content: "→";
  font-size: 20px;
  position: absolute;
  left: -24px;
  transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.flow-btn:hover {
  border-radius: 12px !important;
  color: #fff !important;
  transform: translateX(0) !important;
}
.flow-btn:hover:before {
  width: 560px;
  height: 560px;
  opacity: 1;
}
.flow-btn:hover:after {
  left: 12px;
}
.flow-btn:active {
  transform: scale(0.95) !important;
}
.goal-visual > [data-design-island] {
  width: 100%;
  min-height: 360px;
}
.goal-overview:has([data-design-island]) {
  background: #f0f3f6;
}
.goal-overview:has([data-design-island]) > .goal-visual {
  width: 280px;
  flex-shrink: 0;
  max-width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.goal-overview:has([data-design-island]) {
  overflow: visible;
  padding: 28px;
}
.goal-overview:has([data-design-island]) > div:first-child {
  flex: 1;
}
.designer-footer {
  width: 100%;
  background: var(--brand);
  min-height: 650px;
}
.designer-footer .tpf-word span {
  font-weight: 700 !important;
}
.designer-footer .tpf-col a {
  white-space: normal;
}
.designer-footer button {
  font-family: inherit;
}
.designer-footer .tpf {
  min-height: 680px;
}
.subject-tabs .subject-tab {
  transition:
    background 0.3s,
    border-color 0.3s,
    flex 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.subject-tabs .subject-tab.active {
  background: #edf0f3;
  flex: 1.25;
}
.subject-tab.active .subject-tab-icon {
  background: var(--brand);
  color: white;
}
.course-subject-strip .btn {
  transition:
    padding 0.4s,
    background 0.3s;
}
.course-subject-strip .btn.primary {
  padding-inline: 24px;
}
.bottomnav > a {
  transition:
    flex 0.5s,
    background 0.3s;
}
.bottomnav > a.active {
  flex: 1.25;
  background: #f0f0ee;
  border-radius: 12px;
}
.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 24px auto 40px;
}
.pricing-intro h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -1.6px;
  margin: 20px 0;
}
.pricing-intro > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.pricing-period {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: start;
  overflow: hidden;
}
.price-card h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 28px 0 12px;
}
.price-card > p {
  color: var(--muted);
  line-height: 1.6;
  min-height: 52px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  font-size: 58px;
  font-weight: 650;
  letter-spacing: -2.5px;
  margin: 28px 0 12px;
  font-variant-numeric: tabular-nums;
}
.price-amount small {
  font-size: 28px;
  margin-left: 8px;
  letter-spacing: -1px;
}
.price-amount small span {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card > .btn {
  width: 100%;
  margin: 28px 0;
}
.price-card h3 {
  font-size: 14px;
  margin: 8px 0 20px;
}
.price-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.price-card li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.price-card li .icon {
  color: var(--brand);
  flex-shrink: 0;
  background: #f0f0ee;
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.pro-price {
  border: 2px solid var(--brand);
  background: linear-gradient(160deg, #eef1f4 0%, var(--surface, #fff) 55%);
}
.pro-price > .row {
  width: 100%;
}
.pro-tag {
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
}
.payment-guide {
  display: flex;
  gap: 24px;
  max-width: 1040px;
  margin: 24px auto 0;
}
.payment-guide > .iconbox {
  flex-shrink: 0;
}
.payment-guide h2 {
  font-size: 22px;
}
.payment-guide ol {
  padding-left: 20px;
  line-height: 1.8;
  margin: 16px 0;
}
.payment-guide li {
  margin-bottom: 8px;
}
.account-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 24px auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface, #fff);
  min-height: 700px;
}
.account-art {
  background: #34383f;
  color: #fff;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.account-art .eyebrow {
  color: #e6e8ec;
}
.account-art h2 {
  font-size: 38px;
  letter-spacing: -1.6px;
  line-height: 1.2;
  margin: 48px 0 24px;
}
.account-art > p {
  font-size: 16px;
  color: #e6e8ec;
  line-height: 1.7;
}
.account-art-note {
  font-size: 12px;
  color: #e6e8ec;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.account-form {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.account-brand {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.account-brand span {
  color: var(--brand);
}
.account-form h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.account-form > p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.google-button {
  width: 100%;
  background: var(--surface, #fff);
  color: var(--text);
  margin-top: 24px;
  height: 48px;
  border-radius: 12px;
  gap: 12px;
}
.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin: 24px 0;
}
.auth-separator span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.account-form .stack {
  gap: 20px;
}
.password-field {
  position: relative;
}
.password-field > input {
  padding-right: 52px;
}
.password-field > .btn {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 36px;
  width: 36px;
  padding: 6px;
  background: transparent;
  border: 0;
}
.auth-forgot {
  font-size: 12px;
  align-self: flex-end;
  border: 0 !important;
  padding: 0 !important;
  min-height: 20px !important;
  background: none !important;
  color: var(--brand) !important;
}
.auth-switch {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-switch > .btn {
  padding: 0;
  min-height: 24px;
  font-size: 13px;
  color: var(--brand);
  border: 0;
  background: none;
}
.auth-session-note {
  margin: 24px 0 16px;
}
.account-form > .link {
  text-align: center;
}
.account-form output {
  font-size: 13px;
  line-height: 1.7;
  color: var(--brand);
}
.ai-studio {
  max-width: 1000px;
  margin: 0 auto;
}
.ai-studio-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.ai-studio-top h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 16px 0 12px;
}
.ai-studio-top p {
  color: var(--muted);
  font-size: 14px;
}
.ai-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
}
.ai-welcome h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
  margin: 16px 0 12px;
}
.ai-welcome p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}
.bilent-robot {
  width: 132px;
  height: 120px;
  overflow: visible;
}
.robot-eyes {
  transform-origin: 80px 75px;
  animation: robot-blink 6s infinite;
}
.robot-body {
  animation: robot-float 6s ease-in-out infinite;
}
.ai-messages {
  background: none !important;
  border: 0;
  min-height: 0 !important;
  max-height: 480px;
  height: auto !important;
  padding: 0 !important;
  overflow-y: auto;
}
.ai-message {
  margin: 20px 0;
}
.ai-message-author {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 8px;
}
.ai-message.from-user {
  text-align: right;
}
.ai-message .bubble {
  display: inline-block;
  text-align: left;
  max-width: 88%;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.8;
  padding: 16px 20px;
}
.ai-message.from-ai .bubble {
  background: var(--surface, #fff);
  border: 1px solid var(--line);
}
.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}
.ai-suggestions .btn {
  font-size: 12px;
  min-height: 36px;
  background: transparent;
  border-radius: 100px;
}
.mascot-composer {
  position: relative;
  border: 1px solid #e6e8ec;
  border-radius: 24px;
  background: var(--surface, #fff);
  box-shadow: 0 12px 40px #4a4a4b10;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  padding: 20px;
}
.mascot-composer:focus-within {
  border-color: #909193;
  box-shadow:
    0 12px 40px #4a4a4b1c,
    0 0 0 3px color-mix(in srgb, var(--brand) 3.92%, transparent);
}
.mascot-composer textarea {
  border: 0;
  box-shadow: none !important;
  outline: 0 !important;
  min-height: 96px;
  max-height: 300px;
  font-size: 15px;
  resize: vertical;
  background: transparent;
  padding: 4px;
}
.composer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.composer-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.composer-settings > label:first-child {
  max-width: 270px;
  min-width: 0;
}
.composer-settings select {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  padding: 8px 24px 8px 12px;
  min-height: 34px;
  max-width: 100%;
}
.composer-settings > select {
  width: auto;
}
.ai-send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
.ai-send:hover {
  transform: translateY(-3px);
}
.ai-send:active {
  transform: scale(0.92);
}
.ai-send .icon {
  transform: rotate(-90deg);
}
.ai-fineprint {
  gap: 16px;
  margin-top: 16px;
}
.ai-fineprint p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.ai-fineprint .btn {
  font-size: 11px;
  min-height: 30px;
}
.ai-studio:has(.ai-message) .ai-welcome {
  padding: 16px;
  flex-direction: row;
  text-align: left;
  gap: 20px;
}
.ai-studio:has(.ai-message) .ai-welcome h2 {
  font-size: 20px;
}
.ai-studio:has(.ai-message) .bilent-robot {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
@keyframes robot-blink {
  0%,
  43%,
  47%,
  100% {
    transform: scaleY(1);
  }
  45% {
    transform: scaleY(0.12);
  }
}
@keyframes robot-float {
  50% {
    transform: translateY(-5px);
  }
}
@media (max-width: 1100px) {
  .goal-overview:has([data-design-island]) {
    display: flex;
    gap: 16px;
  }
  .goal-overview:has([data-design-island]) > .goal-visual {
    max-width: 45%;
  }
  .account-art {
    padding: 32px;
  }
  .account-art h2 {
    font-size: 30px;
  }
  .account-form {
    padding: 36px 28px;
  }
}
@media (max-width: 760px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 28px;
  }
  .pricing-intro h1 {
    letter-spacing: -1px;
  }
  .payment-guide {
    padding: 24px;
    display: block;
  }
  .payment-guide > .iconbox {
    margin-bottom: 20px;
  }
  .account-screen {
    display: block;
    min-height: 0;
    margin: 0;
  }
  .account-art {
    display: none;
  }
  .account-form {
    padding: 32px 24px;
  }
  .account-form h1 {
    font-size: 28px;
  }
  .account-brand {
    margin-bottom: 24px;
  }
  .ai-studio-top {
    flex-direction: column;
  }
  .ai-studio-top h1 {
    font-size: 28px;
  }
  .ai-welcome h2 {
    font-size: 23px;
  }
  .ai-welcome {
    padding: 20px 8px;
  }
  .composer-settings > label:first-child {
    max-width: 220px;
  }
  .mascot-composer {
    padding: 16px;
  }
  .composer-bottom {
    align-items: flex-end;
  }
  .ai-message .bubble {
    max-width: 96%;
  }
  .goal-overview:has([data-design-island]) {
    display: block;
  }
  .goal-overview:has([data-design-island]) > .goal-visual {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }
  .goal-visual > [data-design-island] {
    min-height: 360px;
    max-width: 340px;
  }
  .designer-footer .tpf {
    min-height: 720px;
  }
  .ai-studio:has(.ai-message) .ai-welcome p {
    display: none;
  }
  .price-amount {
    font-size: 52px;
  }
  .ai-fineprint {
    align-items: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .robot-body,
  .robot-eyes {
    animation: none;
  }
  .flow-btn,
  .flow-btn:before,
  .flow-btn:after,
  .subject-tab,
  .bottomnav > a {
    transition: none !important;
  }
}
[data-theme="dark"] .pro-price {
  background: linear-gradient(160deg, #2b2b2c, var(--surface));
}
[data-theme="dark"] .goal-overview:has([data-design-island]) {
  background: #202021;
}
[data-theme="dark"] .subject-tabs .subject-tab.active {
  background: #2b2b2c;
}
[data-theme="dark"] .bottomnav > a.active {
  background: #2b2b2c;
}

.goal-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  isolation: isolate;
  border: 1px solid #323334;
  border-radius: 28px;
  background: #17191d;
  overflow: hidden;
  min-height: 560px;
  margin-bottom: 24px;
  color: #f4f7fa;
  padding: 40px 36px 36px 44px;
  box-shadow: 0 16px 48px #19191a10;
}
.goal-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  right: -160px;
  bottom: -400px;
  background: var(--brand);
  filter: blur(90px);
  opacity: 0.32;
}
.goal-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 550px;
}
.goal-hero-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: #a5a7aa;
  margin-bottom: 28px;
}
.goal-hero-label > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c3c5c8;
}
.goal-hero-label .icon {
  width: 16px;
  height: 16px;
}
.goal-hero h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 0 0 24px;
}
.goal-hero h2 em {
  font-style: normal;
  color: #bcbec1;
}
.goal-hero-copy > p {
  font-size: 14px;
  line-height: 1.85;
  color: #afb1b3;
  max-width: 420px;
}
.goal-hero-current {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  align-items: center;
  margin: 28px 0;
}
.goal-hero-current > span {
  font-size: 12px;
  color: #a3a4a7;
}
.goal-hero-current strong {
  font-size: 28px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.goal-hero-current strong small {
  font-size: 13px;
  color: #9a9b9e;
}
.goal-hero-current p {
  grid-column: 1/-1;
  font-size: 11px;
  color: #919294;
}
.goal-hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}
.goal-hero-actions > .btn {
  background: #222323;
  border-color: #414243;
  color: #eaecf0;
  font-size: 12px;
}
.goal-hero-actions > .btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.goal-hero-foot {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  font-size: 11px;
  color: #9fa1a3;
  flex-wrap: wrap;
}
.goal-hero-foot > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.goal-hero-foot .icon {
  width: 15px;
  height: 15px;
}
.goal-hero-chart {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.goal-hero-chart > [data-design-island] {
  width: 100%;
  max-width: 520px;
  min-height: 500px;
}
.goal-hero-chart [data-part="caption"] {
  font-weight: 450 !important;
}
.goal-hero-chart [data-part="title"] {
  font-weight: 500 !important;
}
@media (max-width: 1100px) {
  .goal-hero {
    padding: 32px;
    gap: 16px;
    min-height: 500px;
  }
  .goal-hero h2 {
    font-size: 36px;
  }
  .goal-hero-label {
    flex-wrap: wrap;
    gap: 12px;
  }
  .goal-hero-current {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .goal-hero {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 8px;
    gap: 0;
    border-radius: 24px;
  }
  .goal-hero-copy {
    max-width: 100%;
    width: 100%;
  }
  .goal-hero h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .goal-hero-current {
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    margin: 24px 0;
  }
  .goal-hero-current strong {
    font-size: 24px;
  }
  .goal-hero-chart {
    margin-top: 12px;
  }
  .goal-hero-chart > [data-design-island] {
    max-width: 400px;
    min-height: 400px;
  }
  .goal-hero-label {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .goal-hero-foot {
    margin-top: 24px;
  }
  .goal-hero-actions > .btn {
    flex: 1;
    min-width: 180px;
  }
  .goal-hero-copy > p {
    font-size: 13px;
  }
}

.native-select-source {
  display: none !important;
}
.morph-select {
  width: 100%;
  min-width: 0;
}
.morph-select-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface, #fff);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 46px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.morph-select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.morph-select-trigger > .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s;
}
.morph-select-trigger[aria-expanded="true"] {
  border-color: #9e9fa2;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 4.31%, transparent);
}
.morph-select-trigger[aria-expanded="true"] > .icon {
  transform: rotate(180deg);
}
.morph-select-trigger:hover {
  background: var(--bg);
  border-color: #c4c6c9;
}
.morph-select-trigger:focus-visible {
  outline: 3px solid #acaeb0;
  outline-offset: 2px;
}
.morph-select-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
}
.morph-select-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  cursor: default;
}
.morph-select-panel {
  position: fixed;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface, #fff) 94%, transparent);
  backdrop-filter: blur(24px);
  box-shadow:
    0 20px 64px #2e2f2f2b,
    0 2px 6px #2e2f2f0b;
  animation: morph-select-unfold 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--text);
}
.morph-search-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  min-height: 56px;
}
.morph-search-line > .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
  flex-shrink: 0;
}
.morph-search-line input {
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: none !important;
  min-width: 0;
  font-size: 14px;
  height: 32px;
  flex: 1;
  min-height: 32px !important;
}
.morph-escape {
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 9px;
  color: var(--muted);
  background: var(--bg);
  cursor: pointer;
}
.morph-select-panel [role="listbox"] {
  max-height: 280px;
  min-height: 48px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
}
.morph-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  padding: 12px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.morph-option > span:nth-child(2) {
  flex: 1;
}
.morph-option.cursor {
  background: #f0f0ee;
  color: var(--brand);
  transform: translateX(1px);
}
.morph-option-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--surface, #fff);
  color: var(--muted);
}
.morph-option-symbol > .icon,
.morph-chosen > .icon {
  width: 15px;
  height: 15px;
}
.morph-option[aria-selected="true"] .morph-option-symbol {
  color: var(--brand);
  border-color: #e6e8ec;
}
.morph-chosen {
  color: var(--brand);
}
.morph-select-help {
  display: flex;
  gap: 16px;
  padding: 10px 20px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.morph-select-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.composer-settings .morph-select {
  width: auto;
  max-width: 270px;
}
.composer-settings .morph-select-trigger {
  font-size: 11px;
  padding: 8px 12px;
  min-height: 34px;
  border-radius: 100px;
}
.composer-settings label {
  max-width: 100%;
}
.composer-settings .morph-select-trigger > span {
  max-width: 220px;
}
@keyframes morph-select-unfold {
  from {
    opacity: 0;
    clip-path: inset(0 18% 80% 0 round 16px);
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 16px);
    transform: scale(1);
  }
}
@media (max-width: 760px) {
  .morph-select-panel {
    max-width: calc(100vw - 24px);
  }
  .morph-option {
    padding: 14px 12px;
  }
  .morph-select-trigger {
    font-size: 13px;
  }
  .composer-settings .morph-select-trigger > span {
    max-width: 190px;
  }
}
[data-theme="dark"] .morph-option.cursor {
  background: #2b2b2c;
  color: #e6e8ec;
}
[data-theme="dark"] .morph-select-panel {
  border-color: #424344;
}
@media (prefers-reduced-motion: reduce) {
  .morph-select-panel {
    animation: none;
  }
  .morph-option,
  .morph-select-trigger > .icon {
    transition: none;
  }
}

.landing-goal-intro {
  padding-top: 48px !important;
  padding-bottom: 40px !important;
}
.landing-goal-caption {
  margin-bottom: 32px;
}
.landing-goal-caption h1 {
  font:
    600 clamp(32px, 3.5vw, 48px) / 1.15 Manrope,
    sans-serif;
  letter-spacing: -1.6px;
  margin: 16px 0;
}
.landing-goal-caption > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.landing-goal-intro .goal-hero {
  padding: 48px 56px;
  grid-template-columns: 1.1fr 1fr;
  min-height: 620px;
}
.landing-goal-intro .goal-hero h2 {
  font-size: clamp(36px, 3.6vw, 56px);
}
.landing-goal-intro .goal-hero-chart > [data-design-island] {
  max-width: 500px;
}
@media (max-width: 760px) {
  .landing-goal-intro {
    padding: 28px 20px !important;
  }
  .landing-goal-caption h1 {
    font-size: 32px;
  }
  .landing-goal-intro .goal-hero {
    padding: 28px 24px 8px;
    min-height: 0;
  }
  .landing-goal-intro .goal-hero h2 {
    font-size: 34px;
  }
  .landing-goal-caption > p {
    font-size: 14px;
  }
}

body,
input,
textarea,
select,
button {
  font-family: "Noto Sans", system-ui, sans-serif;
}
h1,
h2,
h3,
.brand,
.account-brand,
.price-amount,
.goal-hero-current strong {
  font-family: "Manrope", "Noto Sans", sans-serif;
}
.tpf {
  --tpf-sans: "Manrope", "Noto Sans", sans-serif !important;
}
.tpf-col h3 {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.tpf-col li a {
  font-weight: 550 !important;
}
.tpf-status {
  font-weight: 550 !important;
}
.tpf-word {
  letter-spacing: -0.075em !important;
}
.tpf-mail {
  font-weight: 450 !important;
}
.tpf-flank {
  font-size: 1em !important;
}
.tpf-col .tpf-big {
  font-weight: 550 !important;
  letter-spacing: -0.04em !important;
}
.tpf-logo {
  font-family: Manrope, sans-serif !important;
}
.goal-hero h2 {
  font-weight: 600;
}
.goal-hero-current strong {
  font-weight: 600;
}

.calendar-native-source {
  display: none !important;
}
.bilent-date-field {
  min-width: 0;
  width: 100%;
}
.bilent-date-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface, #fff);
  color: var(--text);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.bilent-date-trigger > span {
  flex: 1;
}
.bilent-date-trigger > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.bilent-date-trigger:hover {
  border-color: #b9bbbe;
  background: var(--bg);
}
.bilent-date-trigger:focus-visible {
  outline: 3px solid #afb1b4;
  outline-offset: 2px;
}
.calendar-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
}
.calendar-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  cursor: default;
}
.bilent-calendar {
  position: fixed;
  background: color-mix(in srgb, var(--surface, #fff) 96%, transparent);
  backdrop-filter: blur(24px);
  border: 1px solid #e6e8ec;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 72px #2b2b2c29;
  animation: calendar-morph 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--text);
}
.calendar-summary {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.calendar-summary > span {
  font-size: 10px;
  color: var(--muted);
}
.calendar-summary > strong {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.calendar-toolbar > div {
  display: flex;
  gap: 4px;
}
.calendar-toolbar button {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border: 0;
  background: none;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
}
.calendar-toolbar button:hover {
  background: var(--bg);
}
.calendar-toolbar .icon {
  width: 16px;
  height: 16px;
}
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 4px;
}
.calendar-weekdays {
  margin-bottom: 12px;
}
.calendar-weekdays > span {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  padding: 4px;
}
.calendar-week button {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition:
    background 0.15s,
    transform 0.15s;
  position: relative;
}
.calendar-week button:hover {
  background: #f0f0ee;
  transform: scale(1.05);
}
.calendar-week button.outside {
  color: #b6b8bb;
}
.calendar-week button.today:after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}
.calendar-week button.selected {
  background: var(--brand);
  color: white;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--brand) 16.86%, transparent);
}
.calendar-week button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.calendar-week button:focus-visible {
  outline: 2px solid #9e9fa2;
  outline-offset: 1px;
}
.calendar-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  min-height: 232px;
  align-content: center;
}
.calendar-choices > button {
  padding: 14px 8px;
  border: 0;
  background: var(--bg);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-transform: capitalize;
}
.calendar-choices > button:hover {
  background: #f0f0ee;
  color: var(--brand);
}
.calendar-choices > button.selected {
  background: var(--brand);
  color: #fff;
}
.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  gap: 12px;
}
.calendar-footer > button {
  padding: 10px 12px;
  border: 0;
  background: var(--bg);
  border-radius: 10px;
  font: inherit;
  font-size: 11px;
  color: var(--text);
  cursor: pointer;
}
.calendar-footer > .calendar-apply {
  background: var(--brand);
  color: #fff;
  padding-inline: 16px;
}
.calendar-footer > button:disabled {
  opacity: 0.4;
}
.calendar-help {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 12px;
}
@keyframes calendar-morph {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    clip-path: inset(0 0 75% 0 round 20px);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0 round 20px);
  }
}
[data-theme="dark"] .bilent-calendar {
  border-color: #48494a;
}
[data-theme="dark"] .calendar-week button:hover {
  background: #2b2b2c;
}
@media (prefers-reduced-motion: reduce) {
  .bilent-calendar {
    animation: none;
  }
  .calendar-week button {
    transition: none;
  }
}

.designer-footer .tpf-logo {
  display: none !important;
}
.designer-footer .tpf-col {
  font-size: clamp(14px, 1.15vw, 20px) !important;
}
.designer-footer .tpf-col h3 {
  font-family: Manrope, sans-serif !important;
  font-size: 0.9em !important;
  font-weight: 500 !important;
  color: #e6e8ec;
}
.designer-footer .tpf-col li a {
  font-weight: 500 !important;
  line-height: 1.65;
}
.designer-footer .tpf-col .tpf-big {
  font-family: Manrope, sans-serif !important;
  font-size: 2.35em !important;
  font-weight: 500 !important;
  letter-spacing: -0.05em !important;
}
.designer-footer .tpf-status {
  font-family: Manrope, sans-serif !important;
  font-size: 1.25em !important;
  letter-spacing: -0.02em;
  font-weight: 550 !important;
}
.designer-footer .tpf-flank {
  font-size: 0.92em !important;
}
.designer-footer .tpf-word {
  font-family: Manrope, sans-serif !important;
  font-weight: 700 !important;
}
.designer-footer .tpf-mail {
  font-family: Manrope, sans-serif !important;
  font-size: 0.9em !important;
}
@media (max-width: 760px) {
  .designer-footer .tpf-col {
    font-size: 13px !important;
  }
  .designer-footer .tpf-status {
    font-size: 1.05em !important;
  }
}

.bilent-how .ib-root {
  --ib-page: #f4f4f2;
  --ib-hatch: #e6e8ec77;
  --ib-paper: #fff;
  --ib-card: #f4f7fb;
  --ib-ink: #232324;
  --ib-muted: #78797b;
  --ib-sans: Manrope, "Noto Sans", sans-serif;
  padding: 48px 24px;
}
.bilent-how .ib-sec {
  border-radius: 20px;
}
.bilent-how .ib-h2 {
  font-weight: 600;
  line-height: 1.2;
}
.bilent-how .ib-h2 .ib-muted {
  color: #8c8e90;
}
.bilent-how .ib-card h3 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
}
.bilent-how .ib-card p {
  font-family: "Noto Sans", sans-serif;
  font-size: 13px;
  line-height: 1.8;
}
.how-action-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.how-action-rail > a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.how-action-rail > a:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.how-action-rail > a > span {
  font-size: 11px;
  color: var(--brand);
}
.how-action-rail strong {
  font:
    600 13px/1.5 Manrope,
    sans-serif;
}
.how-action-rail svg {
  color: var(--brand);
  align-self: flex-end;
}
.bilent-how .ib-root[data-theme="dark"] {
  --ib-page: #171717;
  --ib-paper: #202121;
  --ib-card: #2b2b2c;
  --ib-raise: #303132;
  --ib-ink: #f0f0ee;
  --ib-muted: #a4a5a8;
  --ib-line: #3e3f40;
  --ib-line-strong: #57585a;
}
@media (max-width: 760px) {
  .bilent-how .ib-root {
    padding: 28px 16px;
  }
  .how-action-rail {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 32px;
  }
  .how-action-rail > a {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  .how-action-rail > a > strong {
    flex: 1;
  }
  .how-action-rail svg {
    align-self: center;
  }
}

[data-theme="dark"] {
  --accent: var(--brand);
  --accent2: #353942;
  --accent-soft: #f0f0ee;
}
[data-theme="dark"] body {
  background: #f4f4f2;
}
[data-theme="dark"] .goal-hero {
  background: #17191d;
  border-color: #363941;
}
[data-theme="dark"] .goal-hero:before {
  background: #a9acb2;
  opacity: 0.1;
}
[data-theme="dark"] .goal-hero h2 em {
  color: #d5d7dc;
}
[data-theme="dark"] .goal-hero-copy > p {
  color: #b0b3bc;
}
[data-theme="dark"] .goal-hero-label > span:first-child,
[data-theme="dark"] .goal-hero-label > span,
[data-theme="dark"] .goal-hero-current > span,
[data-theme="dark"] .goal-hero-foot,
[data-theme="dark"] .goal-hero-current p {
  color: #a9adb6;
}
[data-theme="dark"] .goal-hero-actions > .btn {
  background: #30343b;
  border-color: #50545d;
  color: #f1f1ef;
}
[data-theme="dark"] .goal-hero-actions > .btn.primary {
  background: #616670;
  border-color: #747984;
}
[data-theme="dark"] .goal-hero-chart {
  filter: grayscale(1);
}
[data-theme="dark"] .review-folders-grid .gf-root {
  filter: grayscale(1);
}
[data-theme="dark"] .designer-footer {
  background: var(--brand);
}
[data-theme="dark"] .designer-footer .tpf-col h3 {
  color: #e0e1e3;
}
[data-theme="dark"] .bilent-how .ib-root {
  --ib-ink: #252830;
  --ib-page: #f4f4f2;
  --ib-muted: #74777e;
  --ib-hatch: #d9d9d677;
}
[data-theme="dark"] .bilent-how .ib-h2 .ib-muted {
  color: #858890;
}
[data-theme="dark"] .subject-picker-grid > .primary .subject-picker-symbol {
  background: #e8e8e4;
}
[data-theme="dark"] body {
  background: #15171b;
}
[data-theme="dark"] .bilent-how .ib-root {
  --ib-page: #15171b;
  --ib-paper: #1c1f25;
  --ib-card: #272b32;
  --ib-raise: #31353e;
  --ib-ink: #ececea;
  --ib-muted: #a8adb6;
  --ib-line: #3a3e47;
  --ib-line-strong: var(--brand);
}

/* Bilent brand: blue in light mode, graphite in dark mode.
   Polish follows unslop by Damir Sokolovsky (CC BY 4.0). */
:root {
  --brand: #285bff;
  --brand-hover: #204ddd;
  --accent: var(--brand);
  --accent2: #204ddd;
  --accent-soft: #edf2ff;
  --green: var(--brand);
  --bg: #f4f7fb;
  --ink: #17243b;
  --muted: #73839d;
  --soft: #edf2ff;
  --surface: var(--panel);
  --text: var(--ink);
}
body {
  background: var(--bg);
}
.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
:root:not([data-theme="dark"]) .goal-hero {
  background: #071322;
  border-color: #1b304e;
}
:root:not([data-theme="dark"]) .goal-hero h2 em {
  color: #9fc3ff;
}
:root:not([data-theme="dark"]) .goal-hero-copy > p {
  color: #a6b6cf;
}
:root:not([data-theme="dark"]) .goal-hero-label {
  color: #96accd;
}
:root:not([data-theme="dark"]) .goal-hero-label > span:first-child {
  color: #b7d2ff;
}
:root:not([data-theme="dark"]) .goal-hero-actions > .btn:not(.primary) {
  background: #162741;
  border-color: #344967;
}
:root:not([data-theme="dark"]) .bilent-how .ib-root {
  --ib-page: #f4f7fb;
  --ib-ink: #17243b;
  --ib-muted: #73839d;
}
[data-theme="dark"] {
  --brand: #a3a6ac;
  --brand-hover: #c1c4ca;
  --accent: var(--brand);
  --accent2: #c1c4ca;
  --accent-soft: #30343b;
  --green: var(--brand);
  --bg: #15171b;
  --panel: #1c1f25;
  --ink: #ececea;
  --muted: #a8adb6;
  --line: #3a3e47;
  --soft: #30343b;
}
[data-theme="dark"] .goal-hero-actions > .btn.primary {
  background: #616670;
  border-color: #747984;
  color: #fff;
}
[data-theme="dark"] .designer-footer {
  background: #555b66;
}

/* Dark theme text roles: light-theme fixed greys must not leak into dark UI. */
[data-theme="dark"] .sidebar {
  color: #d9dfe8;
}
[data-theme="dark"] .sidebar .navgroup a {
  color: #d9dfe8;
}
[data-theme="dark"] .sidebar .navgroup a:hover,
[data-theme="dark"] .sidebar .navgroup a.active {
  color: #f4f6fa;
  background: #30343b;
}
[data-theme="dark"] .sidebar .navgroup .icon {
  color: inherit;
}
[data-theme="dark"] .navlabel,
[data-theme="dark"] .demo,
[data-theme="dark"] .goal-date,
[data-theme="dark"] .landlinks,
[data-theme="dark"] .hero-context,
[data-theme="dark"] .motion-hero p,
[data-theme="dark"] .hero-footnote,
[data-theme="dark"] .landing-ribbon span,
[data-theme="dark"] .question-topic,
[data-theme="dark"] .subject-tab-icon,
[data-theme="dark"] .option b,
[data-theme="dark"] .library-intro h2 > span,
[data-theme="dark"] .library-illustration,
[data-theme="dark"] .segmented-control button,
[data-theme="dark"] .library-search .icon,
[data-theme="dark"] .note-subject,
[data-theme="dark"] .note-footer > span,
[data-theme="dark"] .curriculum-steps .icon,
[data-theme="dark"] .cms-table td small,
[data-theme="dark"] .studio-dropzone span,
[data-theme="dark"] .learning-companion > div > span {
  color: #b8c2d3;
}
[data-theme="dark"] .sidepromo,
[data-theme="dark"] .library-intro h2,
[data-theme="dark"] .landing-ribbon strong,
[data-theme="dark"] .lesson-card > .row .btn,
[data-theme="dark"] .curriculum-card .note-footer .btn:last-child,
[data-theme="dark"] .learning-companion p {
  color: #e8edf5;
}
[data-theme="dark"] .sidepromo p {
  color: #bcc7d8;
}
[data-theme="dark"] .avatar {
  background: #30343b;
  color: #f4f6fa;
}
[data-theme="dark"] .segmented-control button.active,
[data-theme="dark"] .qnav .answered {
  background: #30343b;
  color: #f4f6fa;
  border-color: #555b66;
}
[data-theme="dark"] .qnav .current,
[data-theme="dark"] .option.selected b {
  color: #15171b;
}
[data-theme="dark"] .calendar-week button.selected,
[data-theme="dark"] .calendar-choices > button.selected,
[data-theme="dark"] .calendar-footer > .calendar-apply {
  color: #15171b;
}

.sidebar .sidepromo {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
}
.sidepromo-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidepromo-heading > strong {
  font:
    600 17px/1.3 Manrope,
    sans-serif;
}
.sidepromo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.sidepromo-mark .icon {
  width: 18px;
  height: 18px;
}
.sidebar .sidepromo > p {
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.sidepromo > ul {
  margin: 0 0 20px;
  padding-left: 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.sidepromo li::marker {
  color: var(--brand);
}
.sidepromo-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.sidepromo-price > strong {
  font:
    600 24px/1.2 Manrope,
    sans-serif;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sidepromo-price > span {
  font-size: 11px;
  color: var(--muted);
}
.sidebar .sidepromo > .btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  font-size: 12px;
  min-height: 44px;
  border-radius: 10px;
}
.sidepromo > .btn .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
[data-theme="dark"] .sidebar .sidepromo {
  background: #23272e;
  border-color: #3a3e47;
}
[data-theme="dark"] .sidebar .sidepromo > .btn {
  color: #15171b;
}
[data-theme="dark"] .profile-avatar {
  background: #30343b;
  color: #f4f6fa;
}

.plan-settings .plan-weekdays {
  border: 0;
  padding: 24px 0 0;
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.plan-weekdays legend {
  font:
    600 17px/1.5 Manrope,
    sans-serif;
  padding: 0;
  float: left;
  width: 100%;
  margin-bottom: 8px;
}
.plan-weekdays-hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  clear: both;
  margin: 0 0 20px;
}
.plan-weekday-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.plan-weekday {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 88px;
  padding: 16px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.plan-weekday > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.plan-weekday-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}
.plan-weekday-top strong {
  font:
    600 19px/1.2 Manrope,
    sans-serif;
  color: var(--ink);
}
.plan-weekday-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
}
.plan-weekday-check .icon {
  width: 12px;
  height: 12px;
}
.plan-weekday-name {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.plan-weekday:hover {
  border-color: var(--brand);
}
.plan-weekday:has(input:checked) {
  background: var(--brand);
  border-color: var(--brand);
}
.plan-weekday:has(input:checked) .plan-weekday-top strong {
  color: white;
}
.plan-weekday:has(input:checked) .plan-weekday-name {
  color: #ffffffde;
}
.plan-weekday:has(input:checked) .plan-weekday-check {
  color: var(--brand);
  background: white;
  border-color: white;
}
.plan-weekday:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.plan-form-actions {
  gap: 12px;
  margin-top: 28px;
}
.plan-form-actions > .btn {
  min-height: 48px;
  padding-inline: 24px;
  font-size: 13px;
}
.plan-settings .plan-explanation {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 24px;
}
[data-theme="dark"] .plan-weekday:has(input:checked) .plan-weekday-top strong {
  color: #15171b;
}
[data-theme="dark"] .plan-weekday:has(input:checked) .plan-weekday-name {
  color: #30343b;
}
[data-theme="dark"] .plan-weekday:has(input:checked) .plan-weekday-check {
  color: #15171b;
  background: #f4f6fa;
  border-color: #f4f6fa;
}
@media (max-width: 1100px) {
  .plan-weekday-name {
    display: none;
  }
  .plan-weekday {
    padding: 12px 10px;
    min-height: 68px;
  }
  .plan-weekday-top {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .plan-weekday-grid {
    gap: 6px;
  }
  .plan-weekday {
    border-radius: 10px;
    padding: 10px 4px;
    min-height: 68px;
  }
  .plan-weekday-top strong {
    font-size: 16px;
  }
  .plan-weekday-check {
    width: 16px;
    height: 16px;
  }
  .plan-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .plan-form-actions > .btn {
    width: 100%;
  }
  .plan-weekdays-hint {
    font-size: 12px;
  }
  .plan-settings .plan-explanation {
    padding: 14px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-weekday {
    transition: none;
  }
}

/* Bilent goal illustration; UI craft informed by unslop, Damir Sokolovsky (CC BY 4.0). */
.account-art:has(.goal-journey) { background: #102340; }
.goal-journey { width: calc(100% + 48px); margin: 8px -24px 32px; }
.goal-journey svg { display: block; width: 100%; overflow: visible; }
.journey-caption { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.6; color: #bed0eb; margin: 8px 24px 0; }
.journey-caption i { width: 5px; height: 5px; border-radius: 50%; background: #ffcb83; flex-shrink: 0; }
 .study-book { animation: study-book-drift 7s ease-in-out infinite; }
.study-sheet { animation: study-sheet-drift 8s ease-in-out infinite; }
.study-pencil { animation: study-pencil-drift 6s ease-in-out infinite; }
.study-check { stroke-dasharray: 32; stroke-dashoffset: 0; animation: study-check-write 8s ease-in-out infinite; }
@keyframes study-book-drift { 50% { transform: translateY(-8px); } }
@keyframes study-sheet-drift { 50% { transform: translate(4px,-12px) rotate(1deg); } }
@keyframes study-pencil-drift { 50% { transform: translate(-4px,7px); } }
@keyframes study-check-write { 0%, 12% { stroke-dashoffset: 32; } 35%, 100% { stroke-dashoffset: 0; } }
html[data-theme="dark"] .account-art:has(.goal-journey) { background: #22262d; }
@media (max-width: 760px) {
  .account-art:has(.goal-journey) { display: grid; grid-template-columns: 1fr 120px; padding: 24px; gap: 8px 12px; align-items: center; }
  .account-art:has(.goal-journey) .eyebrow { grid-column: 1; font-size: 11px; }
  .account-art:has(.goal-journey) h2 { grid-column: 1; font-size: 22px; letter-spacing: -.6px; margin: 0; }
  .account-art:has(.goal-journey) > p, .account-art:has(.goal-journey) .account-art-note, .goal-journey .journey-caption { display: none; }
  .account-art .goal-journey { grid-column: 2; grid-row: 1 / 3; width: 140px; margin: 0 -12px; }
}
@media (prefers-reduced-motion: reduce) {
  .study-book, .study-sheet, .study-pencil, .study-check { animation: none; }
}
