/* Curriculum Vitae: responsive workspace design system. */
:root {
  --bg: #f3f5fb;
  --paper: #fff;
  --ink: #1d2b43;
  --muted: #667289;
  --line: #e2e7f1;
  --purple: #5254d6;
  --purple-dark: #494bcc;
  --lavender: #eeefff;
  --sidebar: #111a30;
  --radius: 20px;
  --shadow: 0 8px 32px #26375b08;
  font-family: "CV Web Sans", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(ellipse at 90% 0, #e8edff 0, transparent 45%), var(--bg);
  color: var(--ink);
}
.icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
}
.btn .icon,
.btn.small .icon {
  font-size: 13px;
}
.icon-btn .icon {
  font-size: 16px;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
}
h1 {
  font-size: clamp(27px, 2.4vw, 38px);
  letter-spacing: -1.2px;
  line-height: 1.16;
}
h2 {
  line-height: 1.3;
}
p {
  line-height: 1.75;
}
.app-shell {
  min-height: 100dvh;
}
.sidebar {
  width: 246px;
  max-height: 100dvh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #3c4968 transparent;
  background:
    radial-gradient(ellipse at 0 0, #29365b 0, transparent 50%), #111a30;
  padding: 30px 17px 22px;
  gap: 0;
  box-shadow: 10px 0 50px #11213a08;
}
.sidebar > * {
  flex-shrink: 0;
}
.brand {
  font-size: 19px;
  line-height: 1.1;
  gap: 12px;
  padding: 0 10px 30px;
  letter-spacing: -0.5px;
  min-width: 0;
}
.brand > span:not(.brand-mark) {
  white-space: normal;
  min-width: 0;
}
.brand small {
  display: block;
  margin: 7px 0 0;
  font-size: 8px;
  color: #9caed2;
  letter-spacing: 1.4px;
}
.brand-mark {
  font-family: "CV Web Sans", sans-serif;
  font-size: 15px;
  letter-spacing: -0.8px;
  font-weight: 800;
  width: 40px;
  height: 42px;
  background: linear-gradient(145deg, #a99aff, #635de8);
  box-shadow: 0 5px 22px #6d5dea45;
  border-radius: 13px;
  flex-shrink: 0;
}
.nav-caption {
  color: #8090b2;
  letter-spacing: 1.8px;
  font-size: 9px;
  margin: 14px 13px;
}
.nav-links {
  gap: 7px;
}
.nav-item {
  min-height: 46px;
  border-radius: 11px;
  padding: 12px 14px;
  color: #aebbd4;
  font-size: 13px;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-item:hover {
  background: #ffffff0a;
  color: white;
}
.nav-item.active {
  background: linear-gradient(110deg, #6664ea35, #8178ff14);
  border-color: #8f89ff26;
  color: #ddd9ff;
  box-shadow: inset 3px 0 #9e90ff;
}
.nav-count {
  background: #ffffff12;
  color: #c2baff;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
}
.sidebar-tip {
  background: linear-gradient(145deg, #ffffff0b, #ffffff04);
  border: 1px solid #ffffff0d;
  border-radius: 17px;
  padding: 20px;
  margin: 8px 4px 22px;
}
.sidebar-tip > span {
  background: #9d8cff26;
  color: #c4b3ff;
  border-radius: 10px;
}
.sidebar-tip h4 {
  font-size: 13px;
  color: #f2efff;
}
.sidebar-tip p {
  font-size: 12px;
  line-height: 1.8;
  color: #a0acc5;
}
.sidebar-tip a {
  font-size: 11px;
  color: #c4c9e8;
}
.user-menu {
  border-top: 1px solid #ffffff10;
  padding: 20px 7px 0;
  margin-top: 16px;
  min-width: 0;
}
.user-meta {
  min-width: 0;
}
.user-meta strong {
  color: #e8edfa;
}
.user-meta span {
  color: #91a0bf;
}
.avatar {
  background: #eeecff;
  color: #6a5cbd;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px #141e3b08;
  font-weight: 700;
}
.sidebar .avatar {
  background: #344369;
  color: #dedcff;
  border-color: #4c5676;
}
.workspace {
  margin-left: 246px;
  width: calc(100% - 246px);
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid #e0e6f1;
  background: #ffffffb8;
  backdrop-filter: blur(18px);
  padding: 0 40px;
}
.breadcrumb {
  font-size: 12px;
  min-width: 0;
  flex-wrap: wrap;
  gap: 12px;
  color: #616c81;
}
.breadcrumb > span:last-child {
  color: #34455f;
  font-weight: 700;
}
.top-actions {
  min-width: 0;
}
.content {
  padding: 35px 40px 76px;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}
.welcome-row {
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.welcome-row h1 {
  font-size: clamp(28px, 2.4vw, 38px);
}
.welcome-row p {
  font-size: 14px;
  color: #5d6779;
}
.btn,
.btn.small {
  border-radius: 11px;
  padding: 11px 16px;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.4;
  box-shadow: 0 2px 3px #1f305005;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px #1e31500c;
}
.btn.primary {
  background: linear-gradient(135deg, #5b53d4, #4e55da);
  border-color: #5d5de0;
  box-shadow: 0 6px 16px #5d5de02b;
}
.btn.primary:hover {
  background: #484dd1;
  box-shadow: 0 8px 22px #5d5de038;
}
.btn.small {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 12px;
}
.btn.text {
  box-shadow: none;
}
.icon-btn {
  border-radius: 10px;
}
.btn:disabled {
  cursor: not-allowed;
  transform: none;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  background:
    radial-gradient(ellipse at 100% 0, #665ed133, transparent 60%),
    linear-gradient(125deg, #1d2c50, #2d3662);
  border: 1px solid #36406e;
  border-radius: 24px;
  min-height: 284px;
  padding: 34px 40px;
  box-shadow: 0 16px 45px #202b5d16;
  overflow: hidden;
  gap: 20px;
}
.hero-copy {
  max-width: 600px;
}
.hero-copy h2 {
  font-size: clamp(28px, 2.7vw, 42px);
  color: #fff;
  line-height: 1.18;
  letter-spacing: -1.4px;
}
.hero-copy .eyebrow {
  color: #a9a8fa;
  font-size: 9px;
  letter-spacing: 2px;
}
.hero-copy > p:not(.eyebrow) {
  color: #b8c2de;
  font-size: 13px;
  max-width: 400px;
  line-height: 1.8;
}
.hero-copy .btn {
  background: #fff;
  color: #3d456c;
  border-color: transparent;
  font-size: 12px;
}
.hero-art {
  position: relative;
  right: auto;
  top: auto;
  width: 310px;
  height: 235px;
  opacity: 1;
  align-self: center;
  transform: rotate(-3deg);
}
.orbit {
  border-color: #ffffff0d;
}
.orbit.two {
  border-color: #ffffff0a;
}
.art-paper {
  top: 20px;
  width: 150px;
  height: 195px;
  padding: 24px 18px;
  box-shadow: 0 18px 42px #0003;
}
.art-paper.behind {
  background: #a8a0f0;
  top: 23px;
}
.art-badge {
  bottom: 7px;
  left: 4px;
  color: #465b63;
  background: #f1fbf8;
  border-color: #d0eee7;
  box-shadow: 0 9px 28px #070c2022;
}
.art-spark {
  color: #ac9bff;
  font-size: 22px;
}
.art-spark .icon {
  font-size: 20px;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  gap: 26px;
}
.dashboard-grid > *,
.dashboard-side > * {
  min-width: 0;
}
.section-heading {
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.section-heading > div {
  min-width: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.section-heading h2 {
  font-size: 20px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
}
.resume-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
  gap: 20px;
}
.resume-card,
.template-card {
  border: 1px solid #e1e6f1;
  border-radius: 18px;
  box-shadow: 0 4px 16px #22345805;
  background: white;
  min-width: 0;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.resume-card:hover,
.template-card:hover {
  box-shadow: 0 16px 34px #22345810;
  transform: translateY(-3px);
}
.card-meta {
  padding: 20px;
}
.card-topline h3 {
  font-size: 16px;
  white-space: normal;
  overflow: visible;
  line-height: 1.4;
}
.card-meta > p {
  font-size: 12px;
  margin-top: 6px;
}
.card-footer {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.card-menu {
  font-size: 12px;
  min-width: 34px;
  flex-shrink: 0;
}
.template-tag {
  border-radius: 7px;
  font-size: 10px;
  padding: 6px 9px;
}
.template-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 22px;
  min-width: 0;
}
.template-card-meta > div {
  min-width: 0;
  flex: 1 1 140px;
}
.template-card-meta h3 {
  font-size: 18px;
}
.template-card-meta p {
  font-size: 12px;
  line-height: 1.6;
}
.template-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 24px;
}
.template-card .thumb,
.resume-card .thumb {
  border-radius: 17px 17px 0 0;
}
.new-resume {
  min-height: 220px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff9, #edf0fc99);
  border: 1px dashed #b8c4e1;
  color: #596889;
}
.new-resume strong {
  font-size: 15px;
}
.new-resume p {
  font-size: 12px;
  max-width: 100%;
  padding: 0 18px;
  line-height: 1.6;
}
.progress-card,
.tip-card,
.info-panel,
.resource-article {
  border-radius: 19px;
  box-shadow: 0 5px 18px #26375b05;
  border: 1px solid var(--line);
}
.progress-card {
  background: white;
  padding: 24px;
}
.progress-card > p,
.check-list li,
.tip-card p {
  font-size: 13px;
}
.progress-top h3 {
  font-size: 16px;
  line-height: 1.5;
}
.progress-ring {
  flex-shrink: 0;
}
.tip-card {
  background: linear-gradient(150deg, #effaf7, #e8f3f5);
  border-color: #d9ebe6;
  padding: 25px;
}
.tip-card h3 {
  font-size: 21px;
  line-height: 1.4;
  color: #244b49;
}
.tip-label {
  color: #3a6f66 !important;
}
.tip-card p {
  color: #4f6f6d;
}
.tip-card a {
  color: #2a716a;
}
.check-list {
  gap: 15px;
}
.resource-card {
  border-radius: 17px;
  padding: 22px;
  min-width: 0;
  gap: 15px;
}
.resource-card > div {
  min-width: 0;
}
.resource-card h3 {
  font-size: 15px;
  line-height: 1.45;
}
.resource-card p {
  font-size: 12px;
  line-height: 1.7;
}
.resource-icon {
  background: linear-gradient(140deg, #eeeaff, #e4e6ff);
  border-radius: 14px;
  color: #6d64c4;
}
.info-panel {
  padding: 26px;
  margin-bottom: 22px;
  background: #fff;
}
.info-panel h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.info-panel > p {
  font-size: 14px;
  color: #657289;
}
.field {
  min-width: 0;
}
.field > span {
  font-size: 12px;
  color: #485a75;
  letter-spacing: 0.1px;
}
.field input,
.field select,
.field textarea {
  background: #fbfcff;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  color: #263852;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 12px 14px;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: #7e7bee;
  box-shadow: 0 0 0 4px #635cf010;
}
.field input[type="checkbox"],
.field input[type="radio"] {
  width: auto;
  flex-shrink: 0;
}
.field small {
  line-height: 1.65;
  color: #5e6b80;
}
.field.checkbox {
  gap: 11px;
  align-items: flex-start;
}
.field.checkbox input {
  margin-top: 4px;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
.form-actions {
  flex-wrap: wrap;
  gap: 10px;
}
.page-intro {
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.page-intro h1 {
  font-size: clamp(28px, 2.4vw, 38px);
}
.page-intro p {
  font-size: 14px;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid #e1e6f0;
  background: white;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  background: #f7f9fd;
  color: #616b81;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 16px;
  text-align: left;
}
td {
  padding: 17px 16px;
  border-bottom: 1px solid #edf0f6;
  color: #465973;
  max-width: 320px;
  overflow-wrap: anywhere;
}
td strong {
  color: #263a57;
}
td small {
  display: block;
  color: #667183;
  font-size: 10px;
  margin-top: 5px;
}
.filter-row,
.collection-tools {
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}
.searchbox {
  min-width: 0;
  max-width: 100%;
  border-radius: 10px;
}
.searchbox input {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.sort-control {
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-row .searchbox {
  flex: 1 1 180px;
}
.filter-row .searchbox input {
  width: 100% !important;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  margin-bottom: 25px;
  border-bottom: 1px solid #dfe4f0;
  padding-bottom: 14px;
}
.admin-tabs button {
  border-radius: 9px;
  min-height: 40px;
  padding: 10px 15px;
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
  border: 1px solid transparent;
}
.admin-tabs button.active {
  background: #eeefff;
  color: #5b5bd4;
  border-color: #e2e2ff;
}
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat-card {
  border-radius: 17px;
  padding: 22px;
  background: white;
  min-width: 0;
  border: 1px solid var(--line);
}
.stat-card strong {
  font-size: 32px;
}
.badge {
  font-size: 10px;
  border-radius: 7px;
  padding: 5px 8px;
  line-height: 1.5;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.empty-state {
  border-radius: 22px;
  border: 1px dashed #cbd5e8;
  background: #ffffffa8;
  padding: 55px 25px;
}
.empty-state h2 {
  font-size: 26px;
}
.empty-state p {
  font-size: 14px;
  margin: 12px auto 20px;
  max-width: 520px;
}
.editor-mode .sidebar {
  width: 82px;
  padding: 25px 10px 20px;
}
.editor-mode .brand {
  padding: 0 0 28px;
  justify-content: center;
}
.editor-mode .sidebar .brand-mark {
  width: 40px;
}
.editor-mode .workspace {
  margin-left: 82px;
  width: calc(100% - 82px);
}
.editor-mode .content {
  padding: 0 0 60px;
  max-width: none;
}
.editor-mode .topbar {
  padding: 0 25px;
  height: 65px;
}
.editor-top {
  padding: 18px 25px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 16px;
  align-items: center;
}
.editor-doc-title {
  flex: 1 1 220px;
  min-width: 0;
}
.editor-doc-title > div {
  min-width: 0;
  flex: 1;
}
.editor-doc-title input {
  font-size: 19px;
  width: 100%;
  max-width: 420px;
  min-width: 0;
}
.editor-top-actions {
  flex: 0 1 auto;
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
}
.editor-top-actions .btn:not(.primary) {
  font-size: 12px;
  gap: 8px;
}
.editor-layout {
  grid-template-columns: 200px minmax(300px, 430px) minmax(0, 1fr);
  align-items: start;
  min-height: calc(100dvh - 155px);
}
.editor-layout > * {
  min-width: 0;
}
.editor-sections {
  height: calc(100dvh - 170px);
  min-height: 0;
  max-height: calc(100dvh - 100px);
  position: sticky;
  top: 15px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 24px 13px;
  border-right: 1px solid var(--line);
  background: #fbfcff;
}
.section-nav {
  white-space: normal;
  min-height: 42px;
  border-radius: 9px;
  line-height: 1.45;
  gap: 9px;
  font-size: 12px;
}
.section-nav .icon {
  font-size: 13px;
}
.section-nav.active {
  background: #eaeefe;
  color: #5459d4;
}
.section-nav .section-count {
  margin-left: auto;
}
.section-nav > span {
  min-width: 0;
}
.editor-form-panel {
  padding: 25px;
  background: #fff;
  min-height: 640px;
}
.editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: -25px -25px 23px;
  padding: 0 17px;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.editor-tabs button {
  font-size: 12px;
  min-height: 50px;
  flex: 1;
  white-space: normal;
  min-width: 60px;
  padding: 10px 7px;
}
.editor-form-panel .form-grid {
  grid-template-columns: minmax(0, 1fr);
}
.editor-section-title h2 {
  font-size: 23px;
}
.editor-form-panel .field input,
.editor-form-panel .field select,
.editor-form-panel .field textarea {
  font-size: 14px;
  padding: 11px 12px;
  border-radius: 9px;
}
.editor-preview {
  padding: 24px;
  position: sticky;
  top: 0;
  background: radial-gradient(ellipse at top, #e7eaf7, #f1f3f9);
  min-height: calc(100dvh - 155px);
  overflow: hidden;
}
.preview-scroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.entry-head {
  gap: 8px;
  flex-wrap: wrap;
}
.entry-head strong {
  min-width: 0;
  flex: 1 1 130px;
  overflow-wrap: anywhere;
}
.entry-tools {
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 4px;
}
.entry-card {
  border-radius: 13px;
  border-color: #e1e6f2;
  padding: 15px;
}
.section-controls {
  gap: 10px;
}
.section-controls .btn {
  min-height: 35px;
  padding: 7px 10px;
  font-size: 11px;
}
.web-manager-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 26px;
}
.web-manager-grid > *,
.web-manager-main > * {
  min-width: 0;
}
.web-manager .page-intro h1 {
  font-size: clamp(28px, 2.8vw, 40px);
  color: #24314a;
}
.web-manager .eyebrow {
  color: #5b63da;
}
.web-manager .info-panel {
  border-radius: 20px;
  border-color: #e0e6f1;
  padding: 27px;
}
.web-panel-heading > span {
  background: #edf0ff;
  color: #5d5cb6;
  border: 1px solid #e2e5ff;
}
.web-panel-heading h2 {
  color: #2d3d5a;
  font-size: 21px;
}
.web-panel-heading p,
.web-fine {
  color: #626e81;
}
.web-manager .field > span {
  color: #465a78;
}
.web-manager .field input,
.web-manager .field select,
.web-manager .field textarea {
  border-color: #dfe5f0;
  color: #283d5c;
  background: #fcfdff;
}
.web-status-panel {
  background: linear-gradient(140deg, #eef2ff, #f2f9fa);
  border: 1px solid #dfe6f4;
  border-radius: 20px;
  padding: 26px;
}
.web-status-head strong {
  color: #3b4f6c;
}
.web-status-panel > p {
  font-size: 13px;
  color: #5d6b83;
}
.web-checks li {
  font-size: 12px;
}
.claimed-address {
  background: #f0f8f6;
  border: 1px solid #dbece5;
  border-radius: 12px;
  min-width: 0;
  gap: 12px;
  flex-wrap: wrap;
}
.claimed-address > div {
  min-width: 0;
  flex: 1 1 160px;
}
.claimed-address strong {
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.web-design-option {
  border-radius: 15px;
  border-color: #dfe6f1;
  min-width: 0;
}
.web-design-option.selected {
  border-color: #7774ee;
  background: #f5f5ff;
  box-shadow: 0 0 0 3px #7774ee0c;
}
.design-option-name {
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.design-option-name > span {
  font-size: 11px;
  line-height: 1.5;
}
.web-design-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.web-manager .btn.primary {
  background: linear-gradient(135deg, #6366ea, #4b58cd);
  border-color: #5660df;
}
.web-section-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 8px;
}
.web-section-choices label {
  min-width: 0;
  align-items: flex-start;
  line-height: 1.5;
}
.web-search-preview {
  background: #f8faff;
  border: 1px solid #e1e7f3;
  border-radius: 13px;
}
.web-search-preview strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.web-search-preview p {
  font-size: 13px;
}
.web-preview-card {
  border-radius: 17px;
  border-color: #dfe6f1;
  min-width: 0;
}
.web-frame-window {
  width: 100%;
  height: auto !important;
  aspect-ratio: 0.7;
  position: relative;
  overflow: hidden;
}
.web-frame-window iframe {
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  inset: 0;
  border: 0;
}
.web-preview-toolbar {
  font-size: 12px;
  padding: 16px;
}
.web-publish-actions {
  flex-wrap: wrap;
  gap: 12px;
}
.username-input {
  min-width: 0;
  border-radius: 10px;
  border-color: #dce4f2;
  background: #fafbff;
}
.username-input > span {
  font-size: 12px;
  color: #656f85;
  min-width: 0;
}
.username-input > input {
  min-width: 90px;
  width: auto;
  flex: 1 1 100px;
}
.web-draft-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5b677e;
  padding: 0 0 18px;
  line-height: 1.6;
}
.web-draft-status.saving {
  color: #6860d4;
}
.web-draft-status.error {
  color: #ad3755;
}
.web-onboarding {
  border-radius: 17px;
}
.web-manager-side {
  min-width: 0;
  align-self: start;
}
.auth-layout {
  min-height: 100dvh;
  background: #fff;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
}
.auth-story {
  background:
    radial-gradient(ellipse at 10% 10%, #394e84, transparent 60%),
    linear-gradient(145deg, #182741, #202c51);
  color: #e9eefc;
  min-width: 0;
  overflow: visible;
  padding: 42px 52px;
  position: relative;
}
.auth-story .brand {
  padding: 0;
  justify-content: flex-start;
  font-size: 22px;
}
.auth-story-copy {
  padding: 75px 0;
  min-width: 0;
}
.auth-story :is(h1, h2) {
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1.12;
  letter-spacing: -2px;
  color: #fff;
}
.auth-story :is(h1, h2) em {
  color: #b8acff;
}
.auth-story-copy > p {
  color: #bdc9e2;
  font-size: 14px;
  line-height: 1.9;
  max-width: 370px;
}
.auth-feature {
  font-size: 13px;
  color: #d9e2f8;
  margin-top: 22px;
  gap: 12px;
}
.auth-feature .icon {
  color: #aaa2ff;
}
.auth-bottom {
  position: static;
  gap: 18px;
  flex-wrap: wrap;
  color: #bdc9e5;
  font-size: 12px;
}
.auth-main {
  padding: 50px;
  min-width: 0;
}
.auth-box {
  max-width: 430px;
  width: 100%;
}
.auth-title {
  font-size: 37px;
  letter-spacing: -1.3px;
}
.auth-box > p {
  font-size: 14px;
}
.auth-box .btn.primary {
  min-height: 49px;
  border-radius: 12px;
}
.auth-switch {
  font-size: 13px;
}
.auth-box .inline-info {
  font-size: 12px;
}
.auth-back {
  font-size: 12px;
}
.auth-main .field input {
  padding: 14px 15px;
}
.form-error {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#modal {
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  border: 1px solid #dbe2ef;
  border-radius: 22px;
  box-shadow: 0 30px 120px #10234030;
  padding: 28px;
  overflow-y: auto;
}
.modal-header {
  gap: 18px;
  align-items: start;
}
.modal-header h2 {
  font-size: 25px;
  line-height: 1.3;
  min-width: 0;
}
.modal-copy {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.connection-status {
  z-index: 110;
}
.footer-note {
  padding-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: #5d6674;
}
.analytics-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px;
  background: linear-gradient(120deg, #eef1ff, #edf9f6);
  border: 1px solid #dfe7f1;
  border-radius: 17px;
  margin-bottom: 22px;
}
.analytics-intro strong {
  font-size: 14px;
}
.analytics-intro p {
  font-size: 12px;
  color: #5e6b80;
  margin-top: 5px;
}
.live-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18a88a;
  box-shadow: 0 0 0 4px #18a88a18;
  margin-right: 10px;
}
.live-indicator.paused {
  background: #e1a245;
}
.analytics-filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 23px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.analytics-filters .field {
  flex: 1 1 130px;
}
.analytics-filters .field:nth-child(3) {
  flex: 2 1 220px;
}
.analytics-filters .form-error {
  flex-basis: 100%;
}
.analytics-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.analytics-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
  min-width: 0;
}
.analytics-stat > span:not(.metric-icon) {
  font-size: 12px;
  color: #667186;
}
.analytics-stat strong {
  font-size: clamp(25px, 2vw, 34px);
  letter-spacing: -1px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.metric-icon {
  background: #eef0ff;
  color: #7065d8;
  border-radius: 11px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.analytics-stat:nth-child(2n) .metric-icon {
  background: #e9f8f3;
  color: #268d76;
}
.analytics-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 24px;
}
.chart-panel {
  min-width: 0;
}
.chart-panel .section-heading > div {
  display: block;
}
.chart-panel p {
  font-size: 12px;
  color: #697183;
}
.chart-container {
  height: 260px;
  position: relative;
  width: 100%;
  margin-top: 20px;
}
.chart-container.doughnut {
  height: 210px;
}
.chart-data summary {
  color: #66759a;
  font-size: 11px;
  cursor: pointer;
  margin-top: 10px;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
  font-size: 11px;
  color: #657085;
}
.chart-legend b {
  color: #3b4c68;
  margin-left: 5px;
}
.analytics-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(110deg, #263452, #344369);
  border-radius: 17px;
  padding: 24px;
  margin-bottom: 24px;
  gap: 20px;
  color: #fff;
}
.analytics-summary-strip strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.analytics-summary-strip span {
  font-size: 11px;
  color: #b0bed9;
  line-height: 1.5;
  display: block;
}
.analytics-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.analytics-breakdown {
  min-width: 0;
}
.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  font-size: 12px;
  margin: 18px 0;
  color: #697c96;
}
.metric-row > span {
  overflow-wrap: anywhere;
}
.metric-row strong {
  color: #324b6a;
}
.metric-row > div {
  grid-column: 1/-1;
  background: #f1f4fa;
  height: 5px;
  border-radius: 8px;
  overflow: hidden;
}
.metric-row i {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #7b74e8, #9f9ae9);
  border-radius: 8px;
  max-width: 100%;
}
.action-metric {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #f0f3f8;
  padding: 12px 0;
  font-size: 12px;
  color: #7a87a0;
}
.action-metric span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.action-metric strong {
  color: #4d5c77;
}
.table-link {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: #635edf;
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.scroll-bar {
  display: inline-block;
  width: 70px;
  max-width: 100%;
  height: 5px;
  background: #eaeefa;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
  overflow: hidden;
}
.scroll-bar > i {
  display: block;
  background: #28b598;
  height: 100%;
}
.analytics-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 19px;
  font-size: 12px;
  color: #616e83;
}
.analytics-pagination > div {
  display: flex;
  gap: 8px;
}
.session-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}
.session-facts > div {
  background: #f6f8fd;
  padding: 15px;
  border-radius: 12px;
  min-width: 0;
}
.session-facts span {
  font-size: 10px;
  color: #8290aa;
  display: block;
  margin-bottom: 6px;
}
.session-facts strong {
  font-size: 12px;
  overflow-wrap: anywhere;
  display: block;
}
.session-facts small {
  font-size: 10px;
  color: #8190a6;
}
@media (min-width: 1600px) {
  .content {
    padding: 42px 52px 80px;
  }
  .hero-panel {
    min-height: 320px;
  }
  .hero-copy h2 {
    font-size: 45px;
  }
  .hero-art {
    transform: scale(1.13) rotate(-3deg);
  }
  .editor-layout {
    grid-template-columns: 220px minmax(370px, 480px) minmax(0, 1fr);
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 220px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
  .brand {
    font-size: 16px;
  }
  .content {
    padding: 28px 27px 75px;
  }
  .topbar {
    padding: 0 27px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
  }
  .progress-card {
    margin: 0;
  }
  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 265px;
    padding: 30px;
  }
  .hero-art {
    transform: scale(0.9);
    transform-origin: center;
  }
  .analytics-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editor-layout {
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .editor-preview {
    grid-column: 1/-1;
    position: static;
    min-height: 500px;
  }
  .editor-sections {
    height: calc(100dvh - 150px);
    min-height: 0;
    position: sticky;
    top: 15px;
  }
  .editor-form-panel {
    min-height: 650px;
  }
  .editor-preview .resume-paper {
    margin: 0 auto;
  }
  .web-manager-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .web-manager-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    position: static;
  }
  .web-small-note {
    grid-column: 1/-1;
  }
  .web-status-panel {
    margin-bottom: 0;
  }
  .web-frame-window {
    aspect-ratio: 0.75;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 701px) and (max-width: 950px) {
  .sidebar {
    width: 78px;
    padding: 25px 10px 20px;
  }
  .sidebar .brand {
    justify-content: center;
    padding: 0 0 30px;
  }
  .sidebar .brand > span:not(.brand-mark),
  .sidebar .brand small,
  .sidebar .nav-caption,
  .sidebar .nav-item > span,
  .sidebar .sidebar-tip,
  .sidebar .user-meta {
    display: none;
  }
  .sidebar .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .sidebar .user-menu {
    flex-direction: column;
    padding: 20px 0 0;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .workspace {
    margin-left: 78px;
    width: calc(100% - 78px);
  }
  .editor-mode .workspace {
    margin-left: 82px;
    width: calc(100% - 82px);
  }
  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 220px;
    padding: 28px;
  }
  .hero-art {
    width: 220px;
    transform: scale(0.8);
    transform-origin: 0 center;
  }
  .hero-copy h2 {
    font-size: 31px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .content {
    padding: 27px 25px 70px;
  }
  .topbar {
    padding: 0 25px;
  }
  .analytics-chart-grid {
    grid-template-columns: 1fr;
  }
  .analytics-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analytics-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 34px 28px;
  }
  .auth-story :is(h1, h2) {
    font-size: 42px;
  }
  .auth-main {
    padding: 35px 27px;
  }
  .web-manager .page-intro h1 {
    font-size: 32px;
  }
  .web-design-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .sidebar,
  .editor-mode .sidebar {
    width: 258px !important;
    max-width: calc(100vw - 40px);
    height: 100dvh;
    max-height: 100dvh;
    padding: 55px 16px 22px;
    overflow-y: auto;
  }
  .sidebar .brand {
    font-size: 19px;
    justify-content: flex-start;
    padding: 0 10px 28px;
  }
  .sidebar .brand > span:not(.brand-mark),
  .sidebar .brand small,
  .sidebar .nav-caption,
  .sidebar .nav-item > span,
  .sidebar .user-meta {
    display: initial;
  }
  .sidebar .brand small {
    display: block;
  }
  .sidebar .nav-item {
    justify-content: flex-start;
    padding: 12px 14px;
  }
  .sidebar .sidebar-tip {
    display: none;
  }
  .sidebar .user-menu {
    flex-direction: row;
  }
  .sidebar-bottom {
    margin-top: auto;
  }
  .workspace,
  .editor-mode .workspace {
    width: 100%;
    margin-left: 0;
  }
  .topbar,
  .editor-mode .topbar {
    height: auto;
    min-height: 68px;
    padding: 14px 18px;
    gap: 12px;
  }
  .breadcrumb {
    gap: 9px;
    font-size: 11px;
  }
  .breadcrumb > .icon:first-of-type,
  .breadcrumb > span:first-of-type {
    display: none;
  }
  .top-actions {
    gap: 8px;
  }
  .top-actions .top-divider {
    display: none;
  }
  .top-actions .avatar {
    width: 30px;
    height: 30px;
  }
  .content {
    padding: 25px 18px 74px;
  }
  .welcome-row {
    align-items: flex-start;
    gap: 18px;
  }
  .welcome-row > .btn {
    width: 100%;
  }
  .welcome-row h1 {
    font-size: 29px;
  }
  .welcome-row p {
    font-size: 13px;
  }
  .hero-panel {
    display: block;
    padding: 27px;
    min-height: auto;
    border-radius: 20px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-copy h2 {
    font-size: 33px;
    max-width: none;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 13px;
    max-width: none;
  }
  .hero-art {
    display: none;
  }
  .hero-copy .btn {
    min-height: 42px;
    font-size: 12px;
  }
  .dashboard-grid {
    gap: 22px;
  }
  .resume-grid,
  .template-grid,
  .dashboard-side,
  .inspiration-grid,
  .analytics-chart-grid,
  .analytics-breakdown-grid,
  .resource-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .resume-card .thumb,
  .template-card .thumb {
    height: 290px;
  }
  .card-meta {
    padding: 20px;
  }
  .card-topline h3 {
    font-size: 16px;
  }
  .card-footer > span:last-child {
    display: inline;
    font-size: 10px;
  }
  .new-resume {
    min-height: 210px;
  }
  .collection-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .collection-tools .searchbox {
    width: 100%;
  }
  .sort-control {
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
  }
  .sort-control select {
    flex: 1;
    max-width: 190px;
  }
  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .progress-card,
  .tip-card,
  .resource-card {
    padding: 23px;
  }
  .check-list li,
  .progress-card > p,
  .tip-card p {
    font-size: 13px;
  }
  .resource-card h3 {
    font-size: 16px;
  }
  .resource-card p {
    font-size: 12px;
  }
  .resource-card > .icon {
    display: none;
  }
  .template-card-meta {
    padding: 21px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid .full {
    grid-column: auto;
  }
  .field input,
  .field select,
  .field textarea,
  .editor-form-panel .field input,
  .editor-form-panel .field select,
  .editor-form-panel .field textarea {
    font-size: 16px;
  }
  .info-panel {
    padding: 22px;
  }
  .page-intro {
    align-items: flex-start;
    gap: 17px;
  }
  .page-intro h1 {
    font-size: 30px;
    line-height: 1.2;
  }
  .page-intro p {
    font-size: 13px;
  }
  .page-intro > .btn {
    width: 100%;
  }
  .section-heading > div {
    max-width: 100%;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .admin-tabs {
    gap: 6px;
  }
  .admin-tabs button {
    flex: 1 1 90px;
    font-size: 12px;
    padding: 9px 10px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card strong {
    font-size: 29px;
  }
  .stat-card span {
    font-size: 11px;
  }
  .editor-top {
    padding: 18px;
    gap: 17px;
  }
  .editor-doc-title {
    width: 100%;
    flex-basis: 100%;
  }
  .editor-top-actions {
    width: 100%;
    gap: 8px;
  }
  .editor-top-actions .btn {
    flex: 1 1 95px;
    min-height: 42px;
    font-size: 11px !important;
    gap: 8px !important;
  }
  .editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-sections {
    display: block;
    position: relative;
    top: auto;
    grid-column: auto;
    max-height: 220px;
    height: auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 17px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .editor-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
  .editor-sections > .eyebrow {
    grid-column: 1/-1;
  }
  .editor-sections .section-nav {
    min-width: 0;
    width: 100%;
    font-size: 11px;
    padding: 10px 9px;
    white-space: normal;
    line-height: 1.4;
  }
  .editor-sections > .eyebrow {
    margin: 0 8px 12px;
  }
  .editor-form-panel {
    padding: 22px;
    min-height: 0;
  }
  .editor-tabs {
    margin: -22px -22px 22px;
    padding: 0 10px;
  }
  .editor-tabs button {
    font-size: 12px;
    min-height: 48px;
  }
  .editor-preview {
    grid-column: auto;
    padding: 22px 16px;
    position: static;
    min-height: 400px;
    max-width: 100%;
  }
  .editor-section-title h2 {
    font-size: 23px;
  }
  .web-manager .page-intro h1 {
    font-size: 31px;
  }
  .web-manager .info-panel {
    padding: 22px;
  }
  .web-manager-grid {
    gap: 20px;
  }
  .web-manager-side {
    display: block;
  }
  .web-status-panel {
    margin-bottom: 20px;
    padding: 24px;
  }
  .web-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .web-section-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .web-panel-heading {
    gap: 12px;
  }
  .web-panel-heading h2 {
    font-size: 20px;
  }
  .username-input {
    display: block;
    padding: 0;
    overflow: visible;
  }
  .username-input > span {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 12px 13px 0;
  }
  .username-input > input {
    width: 100%;
    padding: 8px 13px 12px !important;
    min-width: 0;
  }
  .web-frame-window {
    aspect-ratio: 0.8;
  }
  .web-publish-actions > .btn {
    flex: 1 1 140px;
  }
  .claimed-address {
    padding: 17px;
  }
  .claimed-address strong {
    font-size: 13px;
  }
  .web-design-option {
    padding: 12px;
  }
  .web-design-option .design-swatch {
    height: 100px;
  }
  .web-draft-status {
    font-size: 11px;
  }
  .auth-layout {
    display: block;
  }
  .auth-story {
    padding: 28px 23px;
  }
  .auth-story .brand {
    font-size: 20px;
  }
  .auth-story-copy {
    padding: 30px 0 0;
  }
  .auth-story :is(h1, h2) {
    font-size: 37px;
    letter-spacing: -1.2px;
  }
  .auth-story-copy > p,
  .auth-feature,
  .auth-bottom {
    display: none;
  }
  .auth-main {
    padding: 32px 23px 80px;
  }
  .auth-title {
    font-size: 32px;
  }
  .auth-main .auth-box {
    max-width: 500px;
    margin: 0 auto;
  }
  .auth-back {
    margin-bottom: 25px;
  }
  .analytics-intro {
    flex-wrap: wrap;
    padding: 20px;
  }
  .analytics-filters {
    padding: 18px;
  }
  .analytics-filters > .btn {
    flex: 1 1 110px;
  }
  .analytics-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .analytics-stat {
    padding: 19px;
    gap: 12px;
  }
  .analytics-stat strong {
    font-size: 28px;
  }
  .analytics-stat > span:not(.metric-icon) {
    font-size: 11px;
  }
  .analytics-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 23px;
    gap: 23px;
  }
  .analytics-summary-strip strong {
    font-size: 24px;
  }
  .chart-container {
    height: 240px;
  }
  .session-facts {
    gap: 10px;
  }
  .session-facts > div {
    padding: 13px;
  }
  .analytics-pagination {
    font-size: 11px;
  }
  .analytics-breakdown-grid {
    gap: 0;
  }
  .table-wrap {
    border-radius: 12px;
  }
  #modal {
    padding: 22px;
    border-radius: 18px;
  }
  .modal-header h2 {
    font-size: 23px;
  }
  .modal-copy {
    font-size: 13px;
  }
  .filter-row {
    align-items: stretch;
  }
  .filter-row .filter-btn {
    min-height: 40px;
  }
  .filter-row .searchbox {
    flex-basis: 100%;
  }
  .footer-note {
    padding-top: 24px;
  }
  .settings-side {
    display: block;
  }
}
@media (max-width: 380px) {
  .content {
    padding: 22px 14px 70px;
  }
  .topbar,
  .editor-mode .topbar {
    padding: 12px 14px;
  }
  .top-actions .avatar {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .hero-panel {
    padding: 23px;
  }
  .hero-copy h2 {
    font-size: 30px;
  }
  .editor-top-actions .btn {
    flex-basis: 120px;
  }
  .web-manager .info-panel {
    padding: 19px;
  }
  .web-design-grid {
    gap: 10px;
  }
  .analytics-stat {
    padding: 15px;
  }
  .session-facts {
    grid-template-columns: 1fr;
  }
  .form-actions > .btn {
    flex: 1 1 120px;
  }
}
@media (max-height: 700px) and (min-width: 701px) {
  .sidebar-tip {
    display: none;
  }
  .sidebar {
    padding-top: 22px;
  }
  .brand {
    padding-bottom: 20px;
  }
  .sidebar-bottom {
    padding-top: 15px;
  }
  .sidebar .user-menu {
    margin-top: 12px;
    padding-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.auth-story {
  overflow: hidden;
  isolation: isolate;
}
.auth-story::after {
  z-index: -1;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  border-color: #ffffff0c;
  box-shadow:
    0 0 0 65px #ffffff03,
    0 0 0 130px #ffffff02;
}

.request-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.request-agent-grid > div {
  padding: 20px;
  background: #f5f7fd;
  border: 1px solid #e6ebf6;
  border-radius: 13px;
  min-width: 0;
}
.request-agent-grid strong {
  display: block;
  font-size: 26px;
  color: #5d62d3;
  margin-bottom: 9px;
}
.request-agent-grid span {
  font-size: 11px;
  color: #7f8eaa;
  overflow-wrap: anywhere;
}
/* Full labels and bounded document previews remain usable with long resumes. */
.editor-sections .section-nav > span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.5;
}
.editor-sections .section-nav {
  align-items: flex-start;
}
.editor-sections .section-nav .icon {
  margin-top: 2px;
}
.editor-sections .section-nav small {
  flex-shrink: 0;
  margin-left: auto;
}
.editor-preview {
  max-height: calc(100dvh - 25px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.preview-scroll {
  max-height: calc(100dvh - 145px);
  overflow: auto;
}
.resume-paper li::marker {
  content: "- ";
}
.editor-doc-title input {
  overflow: visible;
}
.icon-btn:disabled {
  cursor: not-allowed;
}
@media (max-width: 700px) {
  .editor-preview {
    max-height: none;
    overflow: visible;
  }
  .preview-scroll {
    max-height: 70dvh;
  }
  .editor-sections .section-nav > span {
    font-size: 11px;
  }
}

/* Bound chart canvases during resize and before the chart library has measured. */
.chart-container canvas {
  max-width: 100%;
  min-width: 0;
}
.resource-article li::marker,
.info-panel li::marker {
  content: "- ";
}

/* Disabled actions remain legible; their neutral surface communicates availability. */
.btn:disabled,
.icon-btn:disabled {
  opacity: 1;
  color: #586579;
  background: #eef1f7;
  border-color: #cbd3e0;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
}

/* Student-first creation and a quieter, coordinated workspace. */
.career-choice {
  border: 1px solid #d5dfd0;
  border-radius: 12px;
  padding: 19px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.career-choice legend {
  padding: 0 7px;
  font-size: 13px;
  font-weight: 700;
  color: #304c36;
}
.career-choice > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d5dfce;
  background: #f6f9f1;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  min-width: 0;
  font-size: 11px;
  color: #4d634a;
  line-height: 1.6;
}
.career-choice input {
  margin-top: 4px;
  accent-color: #224d3e;
  flex-shrink: 0;
}
.career-choice strong {
  display: block;
  font-size: 12px;
  color: #2e4d33;
  margin-bottom: 4px;
}
.career-choice label:has(input:checked) {
  border-color: #456f4c;
  background: #eaf2df;
  box-shadow: 0 0 0 1px #456f4c;
}
.student-editor-tip {
  padding: 19px 22px;
  background: #edf4e2;
  border: 1px solid #d4dfc9;
  border-radius: 10px;
  margin-bottom: 25px;
}
.student-editor-tip > strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #2e5136;
}
.student-editor-tip p {
  font-size: 12px;
  color: #466043;
  line-height: 1.9;
  margin: 11px 0;
}
.student-editor-tip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #285336;
}
.career-layout-picker {
  border: 1px solid #d7e2cf;
  border-radius: 11px;
  background: #f2f6ec;
  padding: 21px;
  margin: 22px 0 27px;
}
.career-layout-picker h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #2d4b32;
}
.career-layout-picker p {
  font-size: 12px;
  color: #4c6348;
  margin: 10px 0 16px;
}
.career-layout-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.career-layout-picker .btn {
  font-size: 11px;
  padding: 10px 12px;
}
.student-start-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #edf3e5;
  border: 1px solid #d8e2cf;
  border-radius: 16px;
  padding: 26px;
  margin: 26px 0 32px;
  min-width: 0;
}
.student-start-card > div {
  min-width: 0;
}
.student-start-card > div:first-of-type {
  flex: 1;
}
.student-start-icon {
  height: 49px;
  width: 49px;
  border-radius: 50%;
  background: #dfebd1;
  color: #345a39;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.student-start-card .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #45633b;
  margin-bottom: 9px;
}
.student-start-card h3,
.student-start-card h2 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #294b30;
}
.student-start-card p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #4b6346;
  margin-top: 9px;
}
.student-start-card > div:last-child:not(:first-of-type) {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.student-start-card .btn {
  font-size: 11px;
  padding: 11px 13px;
}
:root {
  --purple: #255747;
  --purple-dark: #163e2f;
  --lavender: #edf3e6;
  --sidebar: #14251e;
}
body {
  background: #f6f8f3;
}
.sidebar {
  background:
    radial-gradient(ellipse at 0 0, #2a4130 0, transparent 50%), #14251e;
  box-shadow: 10px 0 50px #18341f08;
}
.brand-mark {
  background: #daedbb;
  color: #233e27;
  box-shadow: none;
  border-radius: 12px;
  font-weight: 800;
}
.nav-item.active {
  background: #e2efc314;
  border-color: #a5c58e30;
  color: #f0f7e5;
  box-shadow: inset 3px 0 #c4dfa8;
}
.nav-item.active:before {
  background: #c4dfa8;
}
.nav-item:hover {
  background: #e2efc30b;
  color: #fff;
}
.sidebar .brand small,
.nav-caption {
  color: #b1c0a8;
}
.sidebar .nav-item .icon {
  color: inherit;
}
.sidebar :focus-visible {
  outline-color: #d5edb9;
}
.btn.primary,
.web-manager .btn.primary {
  background: #255747;
  border-color: #255747;
  color: #fff;
  box-shadow: 0 4px 10px #25574712;
}
.btn.primary:hover,
.web-manager .btn.primary:hover {
  background: #163e2f;
  border-color: #163e2f;
  color: #fff;
  box-shadow: 0 6px 14px #25574716;
}
.hero-panel {
  background: #e8efdd;
  border-color: #d4dfc8;
  box-shadow: none;
}
.hero-copy h2 {
  color: #243f2a;
  letter-spacing: -1.6px;
}
.hero-copy .eyebrow {
  color: #44633b;
}
.hero-copy > p:not(.eyebrow) {
  color: #4b6446;
}
.hero-copy .btn {
  color: white;
  background: #255747;
  border-color: #255747;
  box-shadow: none;
}
.hero-copy .btn:hover {
  background: #163e2f;
  color: white;
}
.art-paper.behind {
  background: #c7d9ae;
  border-color: #c7d9ae;
}
.art-badge {
  background: #fff;
  color: #345337;
  border-color: #d6e2c8;
}
.art-badge .check {
  background: #e5f0d8;
  color: #345c37;
}
.art-spark {
  color: #65864c;
}
.orbit,
.orbit.two {
  border-color: #43653712;
}
.topbar {
  background: #ffffffdf;
  border-color: #e1e6d9;
}
.section-nav.active,
.editor-tabs button.active,
.admin-tabs button.active {
  color: #255747;
  background: #edf3e5;
  border-color: #d4e1c9;
}
.editor-tabs button.active {
  box-shadow: inset 0 -2px #255747;
}
.section-nav.active .icon {
  color: #3e6b42;
}
.filter-btn.active,
.segmented button.active {
  background: #e9f1df;
  border-color: #b5caa3;
  color: #2d5735;
}
.avatar {
  background: #e9f1df;
  color: #375b35;
}
.progress-ring {
  --ring: #4e7944;
}
.web-design-option.selected {
  border-color: #54764b;
  background: #f0f6e9;
  box-shadow: 0 0 0 1px #54764b;
}
.auth-story {
  background:
    radial-gradient(ellipse at 10% 10%, #395b3f, transparent 60%),
    linear-gradient(145deg, #173b2a, #1d3427);
}
.auth-story :is(h1, h2) em {
  color: #d5e9b5;
}
.auth-story-copy > p,
.auth-feature,
.auth-bottom {
  color: #d6e5ca;
}
.auth-feature .icon,
.auth-story-copy .eyebrow {
  color: #d2e9b1;
}
.auth-story .brand-mark {
  background: #d8edb8;
  color: #233e27;
}
.auth-back,
.auth-switch a,
.auth-row a {
  color: #2f5637;
}
.brand-mark,
.topbar,
.student-start-card,
.career-choice {
  isolation: isolate;
}
@media (max-width: 1100px) {
  .student-start-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .student-start-card > div:last-child:not(:first-of-type) {
    flex-basis: 100%;
    padding-left: 69px;
  }
  .student-start-card h3 {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .career-choice {
    grid-template-columns: minmax(0, 1fr);
    padding: 15px;
  }
  .student-start-card {
    padding: 21px;
    gap: 14px;
  }
  .student-start-icon {
    width: 38px;
    height: 38px;
  }
  .student-start-card > div:first-of-type {
    flex-basis: calc(100% - 60px);
  }
  .student-start-card > div:last-child:not(:first-of-type) {
    padding-left: 0;
  }
  .student-start-card h3,
  .student-start-card h2 {
    font-size: 17px;
  }
  .student-start-card .btn {
    flex: 1;
  }
  .student-editor-tip {
    padding: 17px;
  }
  .career-layout-picker {
    padding: 18px;
  }
  .career-layout-picker > div > .btn {
    width: 100%;
  }
}

/* Keep the optional keyboard hint readable on the light search field. */
.keycap {
  color: #62616e;
}

/* Profile-first workspace: the saved profile is the source, resumes are selections. */
.profile-flow {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  counter-reset: step;
}
.profile-flow li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f1f2ec;
  border: 1px solid #dfe5da;
  border-radius: 12px;
  font-size: 12px;
  color: #4c5c52;
}
.profile-flow li span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  background: #e0e7dc;
  font-weight: 800;
}
.profile-flow li.active {
  background: #173f35;
  color: #fff;
  border-color: #173f35;
}
.profile-flow li.active span {
  background: #d9efb0;
  color: #173f35;
}
.profile-intro {
  align-items: start;
  gap: 24px;
}
.profile-intro h1 {
  max-width: 640px;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -1.3px;
  line-height: 1.08;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 400px;
}
#profile-save-status {
  width: 100%;
  font-size: 12px;
  color: #4c5c52;
}
#profile-save-status.error {
  color: #a12a40;
}
.profile-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.profile-section-nav {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100dvh - 115px);
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #e1e6de;
  border-radius: 16px;
  scrollbar-width: thin;
}
.profile-section-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-align: left;
  border: 0;
  background: none;
  border-radius: 9px;
  color: #526257;
  min-height: 43px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.profile-section-nav button.active {
  background: #e5eddf;
  color: #173f35;
  font-weight: 800;
}
.profile-section-nav button:hover {
  background: #f1f4ed;
}
.profile-section-nav button span {
  flex: 1;
}
.profile-form-panel {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe5da;
  border-radius: 18px;
}
.profile-form-panel .entry-head h3 {
  margin: 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.profile-form-panel input,
.profile-form-panel textarea,
.profile-form-panel select {
  max-width: 100%;
  min-width: 0;
}
.profile-form-panel .entry-block {
  border: 1px solid #dfe5da;
  border-radius: 12px;
  padding: 20px;
}
.profile-avatar-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 12px;
}
.profile-empty {
  background: #f6f7f1;
  border: 1px dashed #bcc9b7;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #526257;
  line-height: 1.7;
}
.profile-start-panel {
  padding: clamp(25px, 5vw, 65px);
  max-width: 900px;
  background: #e7eedf;
  border: 1px solid #cfddc4;
  border-radius: 24px;
}
.profile-start-panel h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  max-width: 650px;
}
.profile-start-panel p {
  max-width: 600px;
  line-height: 1.8;
  margin: 20px 0;
}
.resume-builder {
  max-width: 1100px;
}
.selection-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin: 25px 0;
}
.selection-heading h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
.selection-heading p {
  color: #536355;
  line-height: 1.7;
  max-width: 650px;
}
.selection-card {
  padding: 24px;
  margin: 16px 0;
  border: 1px solid #dce3d6;
  background: #fff;
  border-radius: 16px;
}
.selection-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}
.selection-option {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #3b4b3f;
  cursor: pointer;
}
.selection-option input,
.selection-section-toggle input,
.selection-entry input {
  accent-color: #173f35;
  width: 17px;
  height: 17px;
  flex: none;
}
.selection-section-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.selection-section-toggle strong {
  font-size: 18px;
}
.selection-section-toggle > span {
  margin-left: auto;
  color: #61715f;
  font-size: 12px;
}
.selection-entry {
  border-top: 1px solid #e4e9df;
  margin-top: 18px;
  padding-top: 16px;
}
.selection-entry summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.selection-entry summary > label {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.selection-entry summary > span {
  flex: none;
  font-size: 11px;
  color: #576854;
}
.selection-entry > .selection-grid {
  padding: 0 27px 10px;
}
.builder-sticky {
  position: sticky;
  bottom: 0;
  background: #fafbf6ed;
  backdrop-filter: blur(16px);
  border-top: 1px solid #dce3d6;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  z-index: 4;
}
.member-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.member-template-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #d9e2d2;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
}
.member-template-option:has(input:checked) {
  border-color: #244f3c;
  box-shadow: 0 0 0 2px #244f3c;
  background: #f3f7ed;
}
.member-template-option > input {
  accent-color: #173f35;
  position: absolute;
  top: 18px;
  right: 18px;
}
.member-template-option strong {
  font-size: 15px;
}
.member-template-option small {
  color: #536355;
  font-size: 12px;
}
.template-paper-mark {
  width: 82px;
  height: 108px;
  border: 1px solid #d5decf;
  background: #fff;
  padding: 16px 12px;
  box-shadow: 2px 4px 0 #e0e8d9;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.template-paper-mark span {
  height: 3px;
  background: #a2b29b;
}
.template-paper-mark span:first-child {
  height: 9px;
  width: 60%;
  background: #234b3c;
}
.template-paper-mark span:last-child {
  width: 70%;
}
.member-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  padding: 42px;
  border-radius: 24px;
  background: #e7eedf;
  border: 1px solid #d8e2cf;
  margin-bottom: 38px;
}
.member-home-hero h1 {
  font-size: clamp(31px, 3.5vw, 49px);
  letter-spacing: -1.7px;
  line-height: 1.08;
  margin: 18px 0;
  color: #173f35;
}
.member-home-hero > div > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: #455b47;
  max-width: 580px;
}
.member-progress-card {
  background: #f8faf3;
  border: 1px solid #d0ddc6;
  border-radius: 18px;
  padding: 22px;
}
.member-progress-card > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #dfe7d6;
  color: #244330;
}
.member-progress-card > a:last-child {
  border: 0;
}
.member-progress-card > a > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #b7c7ae;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex: none;
}
.member-progress-card > a > div {
  flex: 1;
}
.member-progress-card strong,
.member-progress-card small {
  display: block;
}
.member-progress-card strong {
  font-size: 14px;
}
.member-progress-card small {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 4px;
  color: #52674c;
}
.member-resume-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.member-resume-card {
  border: 1px solid #dfe5d8;
  border-radius: 18px;
  padding: 25px;
  background: #fff;
  min-width: 0;
}
.member-resume-card h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 20px 0 8px;
}
.member-resume-card p,
.member-resume-card > small {
  color: #566551;
  font-size: 12px;
}
.member-resume-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.member-empty {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #bdcdb2;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}
.member-empty h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.member-empty p {
  color: #52644c;
  line-height: 1.8;
  max-width: 590px;
  margin: 0 auto 20px;
}
.member-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #dce4d5;
  margin-top: 48px;
  padding: 30px 0;
}
.member-secondary h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}
.member-secondary p {
  color: #576650;
  line-height: 1.7;
  max-width: 600px;
}
.member-secondary > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 380px;
}
.feed-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.feed-heading h1 {
  font-size: clamp(30px, 3vw, 42px);
  max-width: 650px;
  letter-spacing: -1.2px;
  line-height: 1.13;
  margin: 12px 0 18px;
}
.feed-heading p {
  color: #54654e;
  line-height: 1.8;
  max-width: 640px;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}
.feed-card {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #dce5d5;
  border-radius: 18px;
}
.feed-card h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 22px 0 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.feed-card > p {
  font-size: 14px;
  line-height: 1.8;
  color: #4e6148;
}
.feed-meta {
  font-size: 12px;
  color: #576d4e;
  line-height: 1.8;
  margin-top: 15px;
}
.feed-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #e2e8dc;
  padding-top: 20px;
  margin-top: 20px;
}
.feed-card > small {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: #5c6856;
}
.feed-reader {
  color: #33482f;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.feed-reader p {
  margin: 20px 0;
  white-space: normal;
}
.feed-reader .btn {
  margin-top: 16px;
}
@media (max-width: 1150px) {
  .member-home-hero {
    grid-template-columns: minmax(0, 1fr) 250px;
    padding: 28px;
    gap: 24px;
  }
  .member-resume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
  }
  .profile-form-panel {
    padding: 22px;
  }
  .profile-intro {
    flex-direction: column;
  }
  .profile-actions {
    justify-content: flex-start;
    max-width: none;
  }
}
@media (max-width: 850px) {
  .profile-flow {
    gap: 6px;
  }
  .profile-flow li {
    font-size: 10px;
    padding: 10px 8px;
    gap: 7px;
  }
  .profile-flow li span {
    width: 21px;
    height: 21px;
  }
  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-section-nav {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    scrollbar-width: thin;
  }
  .profile-section-nav button {
    flex: none;
    white-space: nowrap;
  }
  .profile-section-nav button span {
    flex: none;
  }
  .member-home-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .member-progress-card {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .member-progress-card > p {
    width: 100%;
  }
  .member-progress-card > a {
    flex: 1;
    border: 0;
    padding: 8px 0;
    min-width: 140px;
  }
  .member-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feed-heading,
  .member-secondary {
    flex-direction: column;
    align-items: start;
  }
  .member-secondary > div:last-child {
    justify-content: flex-start;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .profile-flow {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 22px;
  }
  .profile-flow li {
    flex: auto;
    font-size: 12px;
    padding: 9px 12px;
  }
  .profile-form-panel {
    padding: 18px;
  }
  .profile-form-panel .entry-block {
    padding: 15px;
  }
  .profile-actions {
    width: 100%;
  }
  .profile-actions .btn {
    flex: 1;
  }
  .selection-heading {
    flex-direction: column;
    gap: 12px;
  }
  .selection-card {
    padding: 18px;
  }
  .selection-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .selection-entry summary {
    flex-wrap: wrap;
    gap: 10px;
  }
  .selection-entry summary > label {
    flex: 1;
    min-width: 180px;
  }
  .selection-entry > .selection-grid {
    padding-left: 0;
    padding-right: 0;
  }
  .builder-sticky {
    flex-wrap: wrap;
  }
  .builder-sticky .btn {
    white-space: normal;
  }
  .member-template-grid {
    gap: 12px;
  }
  .member-template-option {
    padding: 16px;
  }
  .member-template-option strong {
    font-size: 13px;
  }
  .member-home-hero {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .member-home-hero h1 {
    letter-spacing: -1px;
  }
  .member-resume-grid,
  .feed-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-card {
    padding: 22px;
  }
  .member-empty {
    padding: 28px 20px;
  }
  .member-secondary {
    margin-top: 30px;
  }
}
.selection-value {
  display: block;
  font-size: 11px;
  color: #617159;
  line-height: 1.6;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.member-resume-card[hidden] {
  display: none;
}
.member-template-preview {
  display: block;
  position: relative;
  height: 220px;
  background: #e8eee1;
  overflow: hidden;
  border: 1px solid #dfe6d7;
  border-radius: 9px;
}
.member-template-preview .resume-paper {
  top: 16px;
  transform: translateX(-50%) scale(0.22);
}
.member-template-option > input {
  z-index: 1;
  box-shadow: 0 0 0 5px #fff;
}
@media (max-width: 560px) {
  .member-template-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .member-template-preview {
    height: 240px;
  }
  .member-template-preview .resume-paper {
    transform: translateX(-50%) scale(0.25);
  }
}
.feed-reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.feed-detail {
  max-width: 900px;
  padding: clamp(24px, 5vw, 55px);
  background: #fff;
  border: 1px solid #dae4d3;
  border-radius: 20px;
}
.feed-detail h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.feed-detail-summary {
  font-size: 18px;
  line-height: 1.7;
  color: #496043;
  margin-bottom: 24px;
}
.feed-detail .feed-reader {
  border-top: 1px solid #e1e9da;
  margin-top: 25px;
  padding-top: 12px;
  font-size: 16px;
}

.keycap {
  white-space: nowrap;
  min-width: 42px;
  line-height: 1.2;
}
.member-home-hero .form-actions {
  justify-content: flex-start;
}
.empty-state p,
.settings-side p {
  color: #53624e;
}
.settings-side h3 {
  color: #26432f;
}
.settings-side .inline-links a {
  color: #315b3f;
}
.sidebar-tip p {
  color: #c1cabc;
}
.user-meta > span {
  color: #c0c9bb;
}
.member-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.member-resume-card > .member-card-top {
  margin-top: 0;
}
.sidebar .mobile-nav-close {
  background: #f2f6ec;
  border: 1px solid #cedbc3;
  color: #173f35;
}
.sidebar .mobile-nav-close .icon {
  color: #173f35;
}

/* The workflow is navigation, with save-before-advance profile actions. */
.profile-flow li {
  padding: 0;
  min-width: 0;
}
.profile-flow li > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.profile-flow li > button:hover {
  background: #dee8d6;
}
.profile-flow li.active > button:hover {
  background: #244e40;
}
.profile-flow button:focus-visible {
  outline: 3px solid #8da66e;
  outline-offset: 3px;
}
.profile-form-panel .form-actions .btn,
.profile-actions .btn {
  white-space: normal;
}
.editor-mode .profile-flow {
  margin-bottom: 20px;
}
.editor-design-active {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
}
.editor-design-active > .editor-sections {
  display: none;
}
.editor-design-active > .editor-form-panel {
  grid-column: 1;
  min-height: 0;
}
.editor-design-active > .editor-preview {
  grid-column: 2;
  position: sticky;
  top: 15px;
  min-height: 0;
}
.editor-design-active .design-templates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.editor-design-active .design-template {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 16px 12px;
  min-height: 82px;
  white-space: normal;
  line-height: 1.4;
}
.design-template strong {
  font-size: 12px;
}
.design-template small {
  font-size: 10px;
  margin-top: 6px;
  line-height: 1.5;
  opacity: 1;
  color: #52654e;
}
.design-template.active small {
  color: inherit;
}
@media (max-width: 1000px) {
  .editor-design-active {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-design-active > .editor-preview {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }
  .editor-design-active > .editor-form-panel {
    grid-row: 2;
  }
  .editor-design-active .preview-scroll {
    max-height: 60dvh;
  }
}
@media (max-width: 850px) {
  .profile-flow li > button {
    padding: 10px 8px;
    gap: 7px;
  }
}
@media (max-width: 560px) {
  .profile-flow li > button {
    padding: 9px 12px;
    font-size: 12px;
  }
  .profile-actions > .btn {
    flex-basis: 42%;
  }
}

/* Actual web designs share one saved choice across resume creation, editor and publisher. */
.page-intro.profile-intro {
  display: block;
}
.profile-intro > div:first-child {
  max-width: 850px;
}
.profile-intro .profile-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  max-width: none;
  width: 100%;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dfe5da;
  border-radius: 14px;
  background: #fff;
}
.profile-action-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.profile-actions #profile-save-status {
  width: auto;
  flex: 1 1 180px;
  line-height: 1.5;
}
.profile-utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.profile-utility-actions .btn {
  min-height: 36px;
  margin: 0;
}
.profile-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 740px;
}
.profile-primary-actions .btn {
  min-height: 46px;
  height: 100%;
  margin: 0;
  justify-content: center;
}
.actual-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0;
}
.actual-template-card {
  padding: 5px;
  min-width: 0;
  border: 2px solid #e2e7dd;
  border-radius: 10px;
  background: #f9faf6;
  color: #29483a;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.actual-template-card:hover {
  border-color: #8ba591;
  background: #f0f5e9;
}
.actual-template-card.selected {
  border-color: #245743;
  background: #e9f0df;
  box-shadow: 0 0 0 1px #245743;
}
.actual-template-card:focus-visible {
  outline: 3px solid #668c66;
  outline-offset: 3px;
}
.web-template-art {
  display: block;
  height: 82px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #eef2e9;
  pointer-events: none;
}
.web-template-art iframe {
  display: block;
  width: 1000px;
  height: 1100px;
  border: 0;
  transform: scale(0.12);
  transform-origin: top left;
}
.actual-template-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 9px 4px 5px;
  font-size: 11px;
  line-height: 1.4;
}
.actual-template-label .icon {
  width: 12px;
  flex: none;
}
.actual-preview {
  min-width: 0;
  border: 1px solid #d8e1d1;
  border-radius: 12px;
  background: #f5f7f0;
  overflow: hidden;
}
.actual-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  color: #365441;
  font-size: 11px;
  background: #edf2e6;
  border-bottom: 1px solid #d8e1d1;
}
.actual-preview-toolbar > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.actual-preview-toolbar .btn {
  min-height: 32px;
  padding: 5px;
  font-size: 11px;
}
.actual-web-frame {
  display: block;
  width: 100%;
  height: 580px;
  border: 0;
  background: #f5f7f0;
}
.actual-preview-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 12px;
  margin: 0;
  font-size: 11px;
  background: #fff;
  border-top: 1px solid #d8e1d1;
}
.preview-format {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.preview-format button {
  border: 1px solid #ccd9c9;
  border-radius: 8px;
  background: #fff;
  color: #365441;
  padding: 9px 12px;
  min-height: 38px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.preview-format button[aria-pressed="true"] {
  color: #fff;
  background: #245743;
  border-color: #245743;
}
.editor-form-panel .actual-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.editor-preview > .actual-preview {
  width: 100%;
}

@media (max-width: 1050px) {
  .profile-actions .profile-action-status {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-actions #profile-save-status {
    flex: none;
  }
}
@media (max-width: 560px) {
  .profile-intro .profile-actions {
    padding: 15px;
  }
  .profile-utility-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .profile-utility-actions .btn:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }
  .profile-primary-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .actual-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.profile-action-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
@media (max-width: 1050px) {
  .profile-actions .profile-action-status {
    grid-template-columns: minmax(0, 1fr);
  }
}

#editor-form .web-draft-status {
  flex-wrap: wrap;
  padding: 8px 0;
}
#editor-form .web-draft-status:not(.error):not(.saving) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Provider sign-in controls */
.provider-buttons { display: grid; gap: 10px; margin: 24px 0 12px; }
.provider-button { width: 100%; justify-content: center; min-height: 46px; }
.provider-button i { font-size: 18px; }
.auth-divider { text-align: center; color: #52617a; font-size: 12px; margin: 14px 0; }
.provider-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid #dce2ec; }
.provider-row > div { min-width: 0; overflow-wrap: anywhere; }
.provider-row small { display: block; margin-top: 4px; }
#oauth-signup-form { display: grid; gap: 18px; }

.auth-box .provider-button { margin-top: 0; }
